text:
How to verify authentication state in new tab with session storage

Library

[ ] msal@1.x.x or @azure/msal@1.x.x
[ ] @azure/msal-browser@2.x.x
[ ] @azure/msal-node@1.x.x
[x] @azure/msal-react@1.x.x
[ ] @azure/msal-angular@0.x.x
[ ] @azure/msal-angular@1.x.x
[ ] @azure/msal-angular@2.x.x
[ ] @azure/msal-angularjs@1.x.x

Description

Given that we use  SessionStorage and do NOT want to use LocalStorage to share the login state across multiple tabs,
is there another official way how to silently verify if a user is authenticated or not when the user just opened a new tab?
Since instance.getAllAccounts() will for obvious reasons return nothing when a new tab is opened, I cannot use 'instance.acquireTokenSilent(), as this method call requires an account. I could do instance.loginRedirect()`, yet that is not a silent call as the user would be presented the login mask if he is indeed not authenticated.
I identified a non-documented solution by calling instance.ssoSilent(). According to documentation, calling ssoSilent must be done with either a loginHint or an sid. Since I just loaded the application in a new tab, I do not have either value. Yet, if I pass a single space character ' ' as the sid or the loginHint, it appears to work as well. I would like to understand why that is working, if that is a bug or whether this is actually ok to do so.
We are using Azure AD B2C with Authorization Code Flow with PKCE.
const { instance } = useMsal();

const checkAuthenticationState = () => {
  instance
    .ssoSilent({
      scopes: ['openid'],
      sid: ' ',
      redirectUri: '<someRedirectUri>',
    })
    .then(() => {
      // user is authenticated
    })
    .catch(() => {
      // user is not authenticated
    });
};

useEffect(() => {
 ...
 checkAuthenticationState();
 ...
}, [...]);

Source

[ ] Internal (Microsoft)
[x] Customer request

Hi @mleimer

I identified a non-documented solution by calling instance.ssoSilent(). According to documentation, calling ssoSilent must be done with either a loginHint or an sid. Since I just loaded the application in a new tab, I do not have either value. Yet, if I pass a single space character ' ' as the sid or the loginHint, it appears to work as well. I would like to understand why that is working, if that is a bug or whether this is actually ok to do so.

I would advise against this workaround since it's not the expected functionality and is unlikely to work in the future (I believe it is a bug).

Given that we use SessionStorage and do NOT want to use LocalStorage to share the login state across multiple tabs

Do you mean you don't want to use localStorage at all or just for the MSAL cache? If there's some flexibility there, a valid solution would be for you to manually store the loginHint in localStorage, read it from the new tab and send that to ssoSilent. Using localStorage is what allows MSAL to do silent token acquisition across browser tabs, so if that's not an option, your application would have to fallback to an interactive flow and the user would be prompted again.

authors: hectormmg mleimer


text:
Remove PPE endpoints in samples

Remove PPE endpoints and hardcoded IDs as defaults in samples to encourage customers for registering their own apps and prevent leakage.

Clear all default configs in msal-node samples
Add environments for test, prod to msal-angular-v2, msal-react samples
Refactor msal-browser e2e tests to use a single sample, clear the rest

p.s. apologies for the large PR size, can possibly break it down to 3

Closing this as discussed. Will break it down to smaller PRs -thanks!

source: gharchive/pull-request

license: MIT

license_type: permissive

license_source: github-api


text:
Support for functions?

Are there any plans to add the new functions feature?

Are there any plans to add the new functions feature?

Hello @Wizzel1 👋
Unfortunately, I don't have much spare time so the project development is stopped for now...
Meanwhile, you could check out this really cool package that has - basically - everything almost implemented!
Enjoy 🚀

@Azzeccagarbugli okay thanks for the quick response, all the best

source: gharchive/issue


text:
[doc] fix SciPy intersphinx link

xref:
https://github.com/scipy/scipy/issues/15545,
https://github.com/apache/tvm/pull/10181
Changes
Scipy has changed their doc structure to contain the release tag (there is no latest anymore as it seems).
Checks

[x] updated doc/

thanks for looking into this 🤖

authors: CagtayFabry marscher

repo: BAMWelDX/weldx


text:
Detect .well-known verfiication

Request and download: https://example.com/.well-known/brave-payments-verification.txt (also test www-subdomain if bare domain don’t yield the expected result.) You may need to uncompress the result even when not requesting it with Accept-Encoding because many web servers are misconfigured. Do follow up to ten redirects. HTTPS is required, so no need to test HTTP.
You can then assume it’s a Brave verified publisher if this file is one line (plus optional blank lines) which starts with the exact string brave-ledger-verification=.

I've written a script to do so, but I'm now using an even better way to detect Brave verified publisher :
Using Brave's project API :
https://mercury-proxy.privateinternetaccess.com/v3/publisher/identity?publisher=[publisher_id]
With publisher_id being the website url (without www)

I just need to push the code and update this repository, but using Brave's API is what I am currently using for : https://batgrowth.com/publishers
The script is running right now

That is a way better method. However, you could actually keep the DNS and text-file verification to track the number of websites that have attempted to be verified but have either failed or been rejected!

https://mercury-proxy.privateinternetaccess.com/v3/publisher/identity?publisher=example.com

Do you happen to have a field definition for the return values?

Sure @da2x
{"SLD":"coinmarketcap.com","RLD":"","QLD":"","publisher":"coinmarketcap.com","properties":{"timestamp":"6530659526331334879","verified":true}}
You want to check the value for properties.verified boolean

However, you could actually keep the DNS and text-file verification to track the number of websites that have attempted to be verified but have either failed or been rejected!

True, this is how I discovered that imgur tried to get verified (https://imgur.com/.well-known/brave-payments-verification.txt), but failed/didn't finish the process.
I'll keep the 3 methods within the script in this repository:

DNS lookup
Brave API
Fetching brave-payments-verification.txt

Thanks for the insights

https://github.com/BATgrowth/detect-bat-publishers/commit/7b250abd3c7f8f3677aa6fec2be9bf36222c43fa

repo: BATgrowth/detect-bat-publishers


text:
Beginning is posponed

Hey it is a really nice module !
But everytime my three months look always like your screenshot.
September starts on thursday and so on...
this needs to be fixed. And then its perfect.
Keep it up

I'm not quite sure what you're saying here. Can you send me a screenshot?

I hope u can see my screenshot. Everything is in german but September 9th should be a Wednesday not Friday

it would also be really good if you could insert the calendar week on the left

ok - I see what you're referring to. Not sure if it's a bug with my side or the moment module.
Can I see your config.js and know what country your Pi is set to?
Thanks!

I'm working on it. Having trouble with my own mirror changing languages. Will get back to you soon. I think the problem is within the moment.js, however.

language: "de",
timeformat: 24,
units: "metric",
the other data have not been changed

FYI, I crashed my mirror, and am rebuilding it, and stupid me didn't backup the configs. :(
I'll get to debugging again in a bit.

I believe I have it fixed. It now moves as it should. Please double check and let me know.

go to https://github.com/BKeyport/MMM-Multimonth/issues/4 for progress on your request.

well done !

repo: BKeyport/MMM-Multimonth


text:
IA-913 locationlimit

⚠ Please use this PR https://github.com/BLSQ/bluesquare-components/pull/31

create a LocationLimit component with a local state to handle incorrect values
remove locationLimit filter

https://user-images.githubusercontent.com/12494624/144825276-01aad399-3fbb-4bff-8b32-bf7416cdf12a.mov

The PR on bluesquare-components has been merged, I updated package-lock to bring it up to date

authors: beygorghor quang-le

repo: BLSQ/iaso


text:
ActionView::Template::Error: PG::UndefinedColumn: ERROR:  column "distance" does not exist
LINE 1: ...EEN 0.0 AND 50 AND articles.id != 3200)  ORDER BY distance A...
^
: SELECT "articles"."id",

View details in Rollbar: https://rollbar.com/trystant/BOW/items/758/

PG::UndefinedColumn: ERROR:  column "distance" does not exist
LINE 1: ...EEN 0.0 AND 50 AND articles.id != 3200)  ORDER BY distance A...
                                                             ^

  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/connection_adapters/postgresql_adapter.rb", line 592, in async_exec
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/connection_adapters/postgresql_adapter.rb", line 592, in block in exec_no_cache
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/connection_adapters/abstract_adapter.rb", line 484, in block in log
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activesupport-4.2.9/lib/active_support/notifications/instrumenter.rb", line 20, in instrument
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/connection_adapters/abstract_adapter.rb", line 478, in log
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/connection_adapters/postgresql_adapter.rb", line 592, in exec_no_cache
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/connection_adapters/postgresql_adapter.rb", line 584, in execute_and_clear
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/connection_adapters/postgresql/database_statements.rb", line 160, in exec_query
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/connection_adapters/abstract/database_statements.rb", line 356, in select
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/connection_adapters/abstract/database_statements.rb", line 32, in select_all
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/connection_adapters/abstract/query_cache.rb", line 68, in block in select_all
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/connection_adapters/abstract/query_cache.rb", line 83, in cache_sql
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/connection_adapters/abstract/query_cache.rb", line 68, in select_all
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/relation/calculations.rb", line 186, in pluck
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/newrelic_rpm-4.4.0.336/lib/new_relic/agent/instrumentation/active_record_helper.rb", line 78, in block in pluck
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/newrelic_rpm-4.4.0.336/lib/new_relic/agent/transaction.rb", line 859, in with_database_metric_name
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/newrelic_rpm-4.4.0.336/lib/new_relic/agent.rb", line 587, in with_database_metric_name
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/newrelic_rpm-4.4.0.336/lib/new_relic/agent/instrumentation/active_record_helper.rb", line 77, in pluck
  File "/home/ubuntu/workspace/app/models/article.rb", line 69, in nearby_cases
  File "/home/ubuntu/workspace/app/views/articles/show.html.erb", line 98, in _app_views_articles_show_html_erb__2784125360563935206_69884282217040
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionview-4.2.9/lib/action_view/template.rb", line 145, in block in render
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activesupport-4.2.9/lib/active_support/notifications.rb", line 164, in block in instrument
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activesupport-4.2.9/lib/active_support/notifications/instrumenter.rb", line 20, in instrument
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activesupport-4.2.9/lib/active_support/notifications.rb", line 164, in instrument
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionview-4.2.9/lib/action_view/template.rb", line 333, in instrument
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionview-4.2.9/lib/action_view/template.rb", line 143, in render
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionview-4.2.9/lib/action_view/renderer/template_renderer.rb", line 54, in block (2 levels) in render_template
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionview-4.2.9/lib/action_view/renderer/abstract_renderer.rb", line 39, in block in instrument
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activesupport-4.2.9/lib/active_support/notifications.rb", line 164, in block in instrument
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activesupport-4.2.9/lib/active_support/notifications/instrumenter.rb", line 20, in instrument
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activesupport-4.2.9/lib/active_support/notifications.rb", line 164, in instrument
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionview-4.2.9/lib/action_view/renderer/abstract_renderer.rb", line 39, in instrument
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionview-4.2.9/lib/action_view/renderer/template_renderer.rb", line 53, in block in render_template
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionview-4.2.9/lib/action_view/renderer/template_renderer.rb", line 61, in render_with_layout
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionview-4.2.9/lib/action_view/renderer/template_renderer.rb", line 52, in render_template
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionview-4.2.9/lib/action_view/renderer/template_renderer.rb", line 14, in render
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionview-4.2.9/lib/action_view/renderer/renderer.rb", line 46, in render_template
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionview-4.2.9/lib/action_view/renderer/renderer.rb", line 27, in render
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionview-4.2.9/lib/action_view/rendering.rb", line 100, in _render_template
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionpack-4.2.9/lib/action_controller/metal/streaming.rb", line 217, in _render_template
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionview-4.2.9/lib/action_view/rendering.rb", line 83, in render_to_body
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionpack-4.2.9/lib/action_controller/metal/rendering.rb", line 32, in render_to_body
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionpack-4.2.9/lib/action_controller/metal/renderers.rb", line 37, in render_to_body
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionpack-4.2.9/lib/abstract_controller/rendering.rb", line 25, in render
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionpack-4.2.9/lib/action_controller/metal/rendering.rb", line 16, in render
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/actionpack-4.2.9/lib/action_controller/metal/instrumentation.rb", line 44, in block (2 levels) in render
  File "/usr/local/rvm/gems/ruby-2.4.1@ebwiki/gems/activesup

This occurred while working on #821

repo: BOWiki/BOW

license_source: bigquery


text:
Add support for BizTalk Application Description

Each BizTalk application definition contains Name and Description. The BTSTask.exe allows you to specify both when deploying an application. I believe the BTDF should
have an option to provide the application Description as well rather than using the application name for the description. All this could be easily achieved by either using a new property, let's say ProjectDescription or re-use an existing one like PackageDescription
when calling the BTSTask.exe.

--Vlad
This work item was migrated from CodePlex
CodePlex work item ID: '7555'
Assigned to: 'tfabraham'
Vote count: '3'

[jwstevens@12/7/2010]
We have a specific support requirement to put specific application and contact information in the description.  Monitoring software utilizes this in the case of ports becoming disabled, etc.  With this I would not have to create an extra installation task.

[UnknownUser@1/4/2011]

[UnknownUser@2/7/2011]

[UnknownUser@2/7/2011]
Resolved with changeset 55405.

[UnknownUser@2/21/2013]

[UnknownUser@5/16/2013]

repo: BTDF/DeploymentFramework


text:
Feature: Auto-terminate msg instances on deploy/undeploy

Add a property that can enable auto-termination of existing msg instances during undeploy, deploy and quick deploy.
This work item was migrated from CodePlex
CodePlex work item ID: '10019'
Assigned to: 'tfabraham'
Vote count: '1'

[UnknownUser@4/8/2013]
Resolved with changeset 72446.

[UnknownUser@5/16/2013]


text:
[Bug] 初次加载一直显示加载数据库

Issue Check

[X] 我确认查找过相关的 Issue
[X] 我确认这个问题是影响使用的
[X] 我阅读过提问的艺术

问题描述

当前使用版本
Beta v0.4.0
复现流程
初次下载并启动应用
其他信息
No response

/WIP 今天先把镜像给安了

repo: BTMuli/TeyvatGuide


text:
1.21 Update and Bug Fixes

Updated to 1.21.
Fixed bug where walls wouldn't connect.
Fixed bug where loot tables wouldn't drop loot.
Fixed bug where slabs would only drop one slab even if it was a double slab placement.

Hi!
Thank you so much for this, I really appreciate it!
Sorry I've been so busy this past week but once I've got some time I'll make sure to give this a review :D

authors: BabarKhanDev draklorx

repo: BabarKhanDev/more-terracotta


text:
GUI: Drop shadow blur does not refresh when blur amount reduced

Repro

https://playground.babylonjs.com/#XCPP9Y#8
Roll down the GUI hierarchy in the inspector and select No name [Rectangle]
Change drop shadow blur amount to 60 and hit enter
Note the gradient blur from the drop shadow surrounding the button
Change the drop shadow blur amount back to 0 and hit enter
Expected result: The drop shadow should no longer render since the blur is now 0
Current result: The outsides of the drop shadow still render, but there are some clear spots at the corners of the button that are no longer rendering the dropshadow.

Screenshots
The image below shows the original blurred drop shadow on a rectangle on the top and the result after changing the drop shadow blur back to 0.

I'll check:)

authors: PatrickRyanMS deltakosh


text:
supports Russian speech

Hello and thanks for this wonderful work
Please tell me, before installing I would like to know if this works with Russian voice acting?
PS: sorry for my english

We indeed have not trained our model with Russian data, but algorithms like lipsync generally have strong cross-language generalization capabilities. For instance, while the performance on Japanese may not be as good as on Chinese or English, it can still achieve certain effects, so it's worth giving it a try. And your English is quite good :)

repo: BadToBest/EchoMimic


text:
The problem with the lighting and the monster

There is a problem at the beginning with the lighting inside the complex, but after 2-4 minutes everything becomes normal. And can you remove the appearance of bees on this moon? Somehow unrealistic (just suggested, no more)
Braken passes through the textures of closed doors
With vanilla and Secret_Labs_Dungeon
You can check in the assembly - 018d254e-29f0-00c0-cd9f-e035f4f8412e
After 1:00pm or 2:00pm, the lighting inside the complex is restored

Sometimes there is normal lighting in the morning, there is a lucky generation...

This mod doesn't add the moon, this mod adds a dungeon.

I got the mods mixed up again, I'm sorry


text:
Does not install in ubuntu No such file or directory: '/etc/supergfxd.conf'

Hey, install:
asusctltray$ sudo bash -x ./install.sh
+ ((  EUID != 0  ))
+ cp asusctltray /usr/local/bin
+ chmod a+x /usr/local/bin/asusctltray
+ cp asusctltray.svg /usr/share/pixmaps
+ cp asusctltray.desktop /usr/share/applications

After running I get:
$ asusctltray
Traceback (most recent call last):
  File "/usr/local/bin/asusctltray", line 333, in <module>
    TrayIcon()
  File "/usr/local/bin/asusctltray", line 84, in __init__
    with open(GFX_CONF, "r") as file:
FileNotFoundError: [Errno 2] No such file or directory: '/etc/supergfxd.conf'

Versions
$ asusctl --version

App and daemon versions:
     asusctl v3.5.1
       asusd v3.7.2

Component crate versions:
   rog-anime v1.0.5
    rog-aura v1.1.0
    rog-dbus v3.5.1
rog-profiles v0.1.2
   rog-types v3.2.0

Do you have supergfxctl installed and working correctly?

Ok, I had to install supergfxctl and then to enable it.
and also apt-get install power-profiles-daemon
That solves the issue.

authors: Baldomo guysoft

repo: Baldomo/asusctltray


text:
Could I write an Android edition?

Hi, @BalestraPatrick ,
Your library is so well-designed and amazing!  I am an Android dev and could I write an Android edition? If the answer is positive and the android edition is done, I will express thanks to you in the main page of the lib.
Looking forward to your reply. 😉

Sure, sounds good! Let me know when you have published it 👍

Hi, @BalestraPatrick
I've finished the job. Here it is: https://github.com/TonnyL/WhatsNew . But it is not pretty as yours 😂.

Looks nice, I'll add it to the README! 👍

authors: BalestraPatrick TonnyL

repo: BalestraPatrick/WhatsNew


text:
Railgun movement on events not working as intended

When clicking to move, the event is not processed until another move to click happens.

Events sent to server using RailGun don't appear to get raised past RailServer process commands for packet with events.

The issue was with how mobile party works with movement. A flag (DefaultBehaviorNeedsUpdate) needed to be set for pathfinding to process. Due to the latency, the movement was not changed until after pathfinding was processed.

repo: Bannerlord-Coop-Team/BannerlordCoop


text:
MasterServer?

Hello, i run Cigar on my server. and they have the "MasterServer" which allow you to run multiple GameModes at the time, would this build ever have that?
i run 6 gamemodes on my website, and i had to open 6 consoles to run all them all with this Build.

node.js running on single thread. So, hosting of several servers inside single node.js process will leads to lags and prevent to utilize multi-core cpu advantages.

Cigar runs smooth on my server with 6 gamemodes.

it will run much more smooth if you run it separately

You could spawn a child process for each game instance. I believe that's how Cigar does it, although not sure.

authors: Barbosik ElMay0r Influxx

repo: Barbosik/MultiOgar


text:
🛑 Education Culture and Employment is down

In a45e34b, Education Culture and Employment (https://www.ece.gov.nt.ca) was down:

HTTP code: 403
Response time: 316 ms

Resolved: Education Culture and Employment is back up in 658e940.

repo: Barctic/gnwt-monitor


text:
🛑 Infrastructure is down

In 0334c0e, Infrastructure (https://www.inf.gov.nt.ca) was down:

HTTP code: 403
Response time: 289 ms

Resolved: Infrastructure is back up in 74263a9.


text:
🛑 Education Culture and Employment is down

In aaaeebc, Education Culture and Employment (https://www.ece.gov.nt.ca) was down:

HTTP code: 504
Response time: 318 ms

Resolved: Education Culture and Employment is back up in ffa8806 after 7 minutes.


text:
🛑 Industry, Tourism and Investment is down

In 4e24641, Industry, Tourism and Investment (https://www.iti.gov.nt.ca) was down:

HTTP code: 504
Response time: 299 ms

Resolved: Industry, Tourism and Investment is back up in 310d691 after 7 minutes.


text:
Fix vmcs check control issues

This patch fixes the following issues found with the
vmcs control checks:
Issue #168
Issue #170
Issue #183
Issue #185

Coverage remained the same at 100.0% when pulling 2e3805f5349e75efc10b0726581ba74195ceafd4 on connojd:master into 3a060e2825eb7ad610758405801149e70eedfd01 on Bareflank:master.

LGTM +1

authors: connojd coveralls rianquinn

repo: Bareflank/hypervisor

license: mit


text:
🛑 Adventure is down

In 3125ffb, Adventure (https://demo-adventure-v1.builtforyou.com/ping.html) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adventure is back up in 679f87a.

repo: BarkleyREI-ArchiTECH/ArchiTECH-upptime


text:
🛑 QBitTorrent webUI is down

In 950b390, QBitTorrent webUI (https://qbittorrent.local.jonthan.xyz) was down:

HTTP code: 404
Response time: 503 ms

Resolved: QBitTorrent webUI is back up in aec0e2a after 6 minutes.

repo: Baronhez/upptime


text:
🛑 QBitTorrent webUI is down

In caaaa27, QBitTorrent webUI (https://qbittorrent.jonthan.xyz) was down:

HTTP code: 404
Response time: 460 ms

Resolved: QBitTorrent webUI is back up in 9cd7435 after 6 minutes.


text:
🛑 QBitTorrent webUI is down

In a00f3fa, QBitTorrent webUI (https://qbittorrent.local.jonthan.xyz) was down:

HTTP code: 404
Response time: 615 ms

Resolved: QBitTorrent webUI is back up in fa694c0 after 6 minutes.


text:
Allow falling back to global options when per-route option is not provided

Is your feature request related to a problem? Please describe.

Nuxt Security requires providing a security object in defineRouteRules. I suggest that it should be allowed to omit it, and fallback to global options such as the one defined in nuxt.config.ts if per-route option is not provided.

Additional context

Versions
> pnpm dlx nuxi info
------------------------------
- Operating System: Darwin
- Node Version:     v18.18.2
- Nuxt Version:     3.8.1
- CLI Version:      3.10.0
- Nitro Version:    2.7.2
- Package Manager:  pnpm@8.10.2
- Builder:          -
- User Config:      css, devtools, modules, imports, pinia, postcss, gtm, security, runtimeConfig, sitemap, experimental
- Runtime Modules:  @nuxtjs/tailwindcss@6.9.4, @pinia/nuxt@0.5.1, @nuxt/image@1.0.0-rc.1, @vueuse/nuxt@10.6.1, nuxt-lodash@2.5.3, nuxt-security@0.14.4, @zadigetvoltaire/nuxt-gtm@0.0.13, @nuxt/content@2.9.0, @vueuse/nuxt@10.6.1, nuxt-simple-sitemap@4.1.6
- Build Modules:    -
------------------------------

Hey @toto6038
Thanks for reporting this suggestion. Could you please try if the same issue appears on the RC version? :)

@Baroshem Yes, I can verify that the problem still appears on v1.0.0-rc.4. TypeScript raises the same error.

@Baroshem I think it will disappear in rc5 because security in NitroRouteConfig is now typed as optional:
declare module 'nitropack' {
  interface NitroRouteConfig {
    security?: Partial<NuxtSecurityRouteRules>;
  }
}

Not 100% sure though because I did not check it separately with experimental.inlineRouteRules, but would sound logical

authors: Baroshem toto6038 vejja

repo: Baroshem/nuxt-security


text:
QR code: put the secret in URL hash

In the normal use case, the QR code is scanned by the Cool Maze app, which knows to not share the secret part with the server.
However, when scanning a QR text like cmaz.io/a/9ODjz7GT1PHORE with a standard QR code reader and opening the link, the whole URL is sent to the server, including the secret part (even if it won't be used).
If we put the secret in the hash part of the URL e.g. cmaz.io/#a/9ODjz7GT1PHORE (like they do in Excalidraw), then it won't be sent to the server.
For this we'd need to update the mobile apps with a decode function that accepts both the old format and the new format, then wait for most users to have upgraded, then update the frontend with the # in the QR code.

The mobile apps don't need to be updated, they work fine with the extra #.

repo: Bartalog/cool-maze


text:
feat: Adds netstandard2.0 and .NET Framework support

Description

Adds netstandard2.0 and .NET Framework support

Closing in favor of #226 which removes some legacy test components not compatible with windows runners

repo: Basis-Theory/basistheory-dotnet


text:
Custom styles

Is it possible to customize the font family, text & background colors, etc?
Thanks for the awesome library!

Hi, it is currently not possible to customize the font family, text & background colors with the default toast views. You could make your own ToastView. Contributions are always welcome.

authors: BastiaanJansen nandorojo

repo: BastiaanJansen/toast-swift


text:
Rundeck failing execution of ansible commands/playbooks

I have ansible playbook that restore aws MySQL RDS from snapshot.  If run, manually from command-line, the playbook runs well and do the tasks. But when run through the web interface of rundeck, following error is encountered,,
fatal: [localhost]: UNREACHABLE! => {"changed": false, "msg": "Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the remote directory. Consider changing the remote temp path in ansible.cfg to a path rooted in \"/tmp\". Failed command was: ( umask 77 && mkdir -p \"` echo $HOME/.ansible/tmp/ansible-tmp-1491191666.95-112916390087992 `\" && echo ansible-tmp-1491191666.95-112916390087992=\"` echo $HOME/.ansible/tmp/ansible-tmp-1491191666.95-112916390087992 `\" ), exited with result 1", "unreachable": true}

My Rundeck server on the same Ansible server.
I added the lines below in ansible.cfg
remote_tmp = $HOME/.ansible/tmp
local_tmp = $HOME/.ansible/tmp

I set privilege 1777 for $HOME/.ansible/tmp also but it didn't solve my problem. Could you please help? Thanks!!!

This error is not about file permissions, but about authentication to a remote server.  Make sure you have passed the appropriate directories into the key vault, or have configured the username and password in the inventory file.
Closing due to inactivity.

authors: DerekTBrown hung-pham

repo: Batix/rundeck-ansible-plugin


text:
🛑 blog.bawantha.me is down

In 19f092f, blog.bawantha.me (https://blog.bawantha.me/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: blog.bawantha.me is back up in 2d35e39 after 22 minutes.

repo: Bawanthathilan/mysite-uptime


text:
README needs a screenshot

As requested :)
The readme should have your 30 second elevator pitch at the beginning that describes the repo and the code in it. If it's graphical, have a screenshot or animated gif/png/svg to demo how it looks. That little bit of effort goes a long way in helping people understand what your repo is for and whether it's for them.

Completed


text:
Dev

I am adding Dev Gupta to before I die with images and text

Hi @the-dg04,
Please kindly explain why you closed your pull request. Thank you!

repo: BeforeIDieCode/BeforeIDieAchievements


text:
Set up configuration process

Currently, the simulation is configured in the config.rs file.
Ideally, it should be configured from a file and we can then use this pattern https://www.philipdaniels.com/blog/2019/rust-configuration-example/ to pass the constant variables around.
The blog post mentions configuring from the CLI but this could be extended to configuring from the main menu in the future.

Should use once_cell as it seems to have more features than lazy_static.


text:
Update install steps in readme for ionic 4.

The install steps need to be updated for ionic 4: npm install @ionic-native/last-cam@beta.
I spent way too long figuring out why the test app wasn't compiling...

#4 has all of the steps needed to update this (current version) to v4.

repo: Bengejd/cordova-plugin-last-cam


text:
support bigdecimal

eg:
["9999999999999999999.999999999999", ",0.*", "9,999,999,999,999,999,999.999999999999"]

Test:

any chances this will be merged?

any chances this will be merged?
I don't know :sweat_smile:

This branch cannot be rebased due to conflicts

The first step would be to make it mergeable :smile:

@jinhuiWong any plans to fix the conflicts?

authors: BenjaminVanRyseghem alumni jinhuiWong wongjinhui

repo: BenjaminVanRyseghem/numbro


text:
fix: remove the second github icon from index.html

I removed the second icon of github in the index.html
#296

Great however it looks like you used an auto formatter and that usually causes a lot of merge conflicts


text:
Start using Sonarcloud

Sonarcloud offers free static analysis for open-source projects. There is a setup tutorial for CMake/make based projects that runs with GitHub Actions. It certainly is worthwhile looking into.

I think that sonarcloud needs to be setup by the repository owner or a an explicitly added contributor iirc.

Closing this, as it was implemented!

authors: Benzammour marcluque

repo: Benzammour/cretro


text:
Add DBX valoration validation

The valoration of DBX teams should be inside a specific range.
Add a warning if the valoration is out of this range.

Added with a Spring validator.

repo: Bernardo-MG/dreadball-toolkit-webpage


text:
PlugY stashes are lost when converting S7 to S8

Hey,
It seems like all stash pages but the first one are lost when converting this save: Vadmin.zip. It's got plenty of items on the 2nd and 3rd stash pages if you open it in the S7, but only the 1st stash page is available in the converted save.

Oh dang. That was working earlier this season. I used it to convert all my s7 open wounds items and had 3 pages of them in a character's stash which transferred over fine. It seems one of the later updates broke it for d2x files. Anyway, it's working again in the most recent update. Tried it with your files and was able to see multiple stash pages of items.

Thanks a lot!

authors: BetweenWalls zaslavskyv


text:
🛑 Portfolio is down

In 192b07e, Portfolio (https://beyzacevik.be/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Portfolio is back up in 0398acc after 10 minutes.


text:
Revert "Introduce yourself to the world"

Reverts Bharadwaj-GLN/markdown-portfolio#3

deleted branches and made changes in main branch !

repo: Bharadwaj-GLN/markdown-portfolio


text:
Add a new blog post re "Running bio image analysis workflows on your …

This blog post has been written with a collaborator in mind who wants to apply workflows documented in a jupyter notebook with his data on his machine.

Awesome, thanks Stefan! I'll check if it builds in the blog web page and may send a follow-up PR. I suspect that not all links will be working. Let's see...

Ok, the links all work. 👍 Thanks again Stefan and happy holidays!

authors: haesleinhuepf stefanhahmann

repo: BiAPoL/blog


text:
plane 约200行代码应该改为

_this.data.lineList.push({                             from: from,                             to: to                         })

感谢使用，已修改

repo: BiaoChengLiu/easy-flow


text:
Loot Survivor | Enable adventurers to discover existing beasts

When a beast is discovered, it is minted/saved to the blockchain. If the beast kills an adventurer, it receives XP the same as adventurers. Currently however there is no way to encounter these on-chain beasts which limits the fun.
We should update our Adventurer explore() function to have a small chance to find an existing beast. The chance should increase with the number of beasts on-chain (ones that have slain adventurers) but should never exceed 20% chance.

I believe we still have an issue on this in regards to computational complexity or storage, something I don't think Cairo 1 will be able to solve either.
Two of the only approaches I can see will be costly in gas. Both of these come after the chance to discover an existing beast has been calculated:
First approach is to store an array of the beast IDs that have defeated an adventurer, then use rng to pick one between the size of the list. The problem is that the storage costs could be large and theoretically infinite, even if the beats are removed from this array when killed.
Second approach would be to generate a random number between the total number of beasts and check whether it's alive (slain an adventurer). If the outcome is negative, we would increment this number in a loop, until a beast which is alive is found. Although there is no added storage costs, the computation required to loop through the beats is large, and if none are alive, then it's large computation for a pointless outcome.
Interested to see if anyone has another potential solution?

authors: loothero starknetdev

repo: BibliothecaDAO/realms-contracts


text:
Return methods (action creators) instead of dispatch

Is your feature request related to a problem? Please describe.
Having to define a lot of callbacks from the dispatch method can be tedious:
const [
  { restaurant },
  dispatch,
] = useEpic(restaurantFilterEpic);

const handleRegionChange = useCallback(e => dispatch(['SELECT_REGION', e.target.value])), dispatch);
const handleCityChange =  useCallback(e => dispatch(['SELECT_CITY', e.target.value]));
const handleRestaurantChange =  useCallback(e => dispatch(['SELECT_RESTAURANT', target.value]));

return <RestaurantSelector
  restaurant={restaurant}
  onRegionChange={handleRegionChange}
  onCityChange={handleCityChange}
  onRestaurantChange={handleRestaurantChange}
/>

Describe the solution you'd like
I'd like an option, to receive action creator style methods instead of the dispatch, perhaps something like:
const [
  { restaurant },
  { handleRegionChange, handleCityChange, handleRestaurantChange },
] = useEpic(restaurantFilterEpic, {
    actions: {
      handleRegionChange: e => e.target.value,
      handleCityChange: e => e.target.value,
      handleRestaurantChange: e => e.target.value,
    }
  });

return <RestaurantSelector
  restaurant={restaurant}
  onRegionChange={handleRegionChange}
  onCityChange={handleCityChange}
  onRestaurantChange={handleRestaurantChange}
/>

The actions option should memoize the callbacks, but in a more efficient way than useCallback
Describe alternatives you've considered
After writing the examples I have to question: Is it worth it, the amount of code written is pretty close, maybe this isn't the best idea?

Maybe a better approach would be to allow the Epic function define the action creators?
const restaurantFilterEpic(actions$, state$) {/*...*/}
restaurantFilterEpic.actions = {
      handleRegionChange: ['SELECT_REGION', (e) => e.target.value],
      handleCityChange: ['SELECT_CITY', (e) => e.target.value],
      handleRestaurantChange: ['SELECT_REGION', ([e) => e.target.value],
}

In retrospect, in my last comment, the e => e.target.value does not belong there

repo: BigAB/use-epic


text:
user story

Building out our use cases

Completed

repo: BinaryBitBytes/AirWorthy


text:
Client not usable by default?

I've read the docs, but I must be missing something because I pip install binstar (v0.10.0) but I can't do anything, binstar --help, binstar upload or binstar login all yield this same error:
(binstar)craig@daedalus:~ $ binstar login
Traceback (most recent call last):
  File "/Users/craig/.virtualenvs/binstar/bin/binstar", line 9, in <module>
    load_entry_point('binstar==0.10.0', 'console_scripts', 'binstar')()
  File "/Users/craig/.virtualenvs/binstar/lib/python2.7/site-packages/binstar_client/scripts/cli.py", line 94, in main
    description=__doc__, version=version)
  File "/Users/craig/.virtualenvs/binstar/lib/python2.7/site-packages/binstar_client/scripts/cli.py", line 60, in binstar_main
    add_subparser_modules(parser, sub_command_module)
  File "/Users/craig/.virtualenvs/binstar/lib/python2.7/site-packages/clyent/__init__.py", line 115, in add_subparser_modules
    for command_module in get_sub_commands(module):
  File "/Users/craig/.virtualenvs/binstar/lib/python2.7/site-packages/clyent/__init__.py", line 105, in get_sub_commands
    this_module = __import__(module.__package__ or module.__name__, fromlist=names)
  File "/Users/craig/.virtualenvs/binstar/lib/python2.7/site-packages/binstar_client/commands/remove.py", line 12, in <module>
    from binstar_client import NotFound
ImportError: cannot import name NotFound

Am I missing something obvious?

@craigbruce sorry for the inconvenience, this error has been fixed in version 0.10.1

Excellent! That is working now, thanks for the quick resolution.

authors: craigbruce srossross

repo: Binstar/binstar


text:
Couldn't find record start within last 5 lines

Hi @thackl,
As the proovread paper suggests, I first download the long reads of Ecoli from
http://files.pacb.com/datasets/secondary-analysis/e-coli-k12-resequencing/1.3.0/e-coli-k12-resequencing-1.3.0.tgz
Then I choose /e-coli-k12-resequencing-1.3.0/data/filtered_subreads.fastq as the LR of Ecoli.
When running proovread using the following command
proovread -l ecoli-pb-001.fq -s ecoli-illumina.fq --pre pb-001
(ecoli-pb-001.fq is the chunked long read file of filtered_subreads.fastq)
A problem occured:
[Tue Oct 27 11:08:59 2015] Running proovread-2.13.10
[Tue Oct 27 11:08:59 2015] Reading core config
[Tue Oct 27 11:08:59 2015] Reading command line options
[Tue Oct 27 11:08:59 2015] Logging parameter to pb-001/pb-001.parameter.log
[Tue Oct 27 11:08:59 2015] Checking short read files
ecoli-illumina.fq
Detected FASTQ format
Estimated short read length: 200 +-0
Etimated short read quality offset: 33
Estimating approximate number of short reads: 14.2M
[Tue Oct 27 11:08:59 2015] Checking required binaries
[ok] samtools-1.1    /homec/liweilong/app/samtools
[ok] bwa-proovread   /homec/liweilong/proovread/bin/../util/bwa
[ok] blastn-2.2.31   /homec/liweilong/app/blast/bin
[Tue Oct 27 11:08:59 2015] Running mode: mr
[Tue Oct 27 11:08:59 2015] Preparing long reads
Fastq::Parser::next_seq: ecoli-pb-001.fq, line 10, Couldn't find record start within last 5 lines, possibly corrupted file or wrong format at /homec/liweilong/proovread/bin/../lib//Fastq/Parser.pm line 316, <$fh> line 10.
However, I checked  ecoli-pb-001.fq, which is correct and complete in format:
head ecoli-pb-001.fq
@m120131_103014_sidney_c100278822550000001523007907041295_s1_p0/9/10724_13548
CTTGTGGTGATCTTTAACAAAGGGGCATTGTTCTGAGCTTTACGCTTGTA
CTGTGTGATCTACATGCTGTTCGGCAGCCATTGTTCCGAGAGAAACTATA
GAAAGAGTAAGCCGAGATCTTCTCGCAAAGTCCGCGGGCATGCGACAGCC
GACCATTTCGCTCCTTGGCGACGGCATGCGTGGCACTGATTGTTGATGCT
CCGCCTGCAGGCGATAAACCCGCGAACACGGTATGGCGAACCCGCCGCCT
GATAGTAAAAGGTACAATATGACCGGTATGACGGAAGTTAACAAGCTGGC
CAGCGAGCCGTCAGGTCAGGAATTTCTGGTAATTTACCCTTGGTGATGAA
ATACGGTATTGATACCTGAAAGTGCAGGAATCCGTGGCTAACATCAGGTA
CACACGGATTGCGAACACGTCACAGCCGTTTATCAGCGCACGAATCTGCG
Is the long read fq file of Ecoli correct?
How can I solve the problem this problem?
Best
Weilong

Your FASTQ file seems to use multiple lines per sequence (multiline FASTQ). This format is not recommend, it will break most FASTQ based tools including proovread. Proper FASTQ only uses 4 lines per entry, a single line for the sequence info..

You can use the filtered_subreads.fasta file instead of the filtered_subreads.fastq which is also part of the data package.

I used seqtk to solve this problem successfully, thanks:)

authors: csuliweilong greatfireball thackl

repo: BioInf-Wuerzburg/proovread


text:
Revert latest fade transition

Is your feature request related to a problem? Please describe.
Perhaps, if being dissatisfied by the addition of the fade transition in the settings pages counts
Describe the solution you'd like

Revert the addition of the fade animation in the settings pages
Use case

The latest animation makes the experience of using the app less snappy and, in fact, somewhat slow even. There is too long a delay between clicking on anything in the settings page  (and also the settings icon) and having the necessary information be displayed on the screen. The old animation, in my personal opinion, was perfect and did not need changing.
Describe alternatives you've considered

N/A
Additional context

N/A

@privacyfreak84
No need to worry about this.
In the next version I plan to add a setting to enable this animation and this setting will be disabled by default 😉

Thanks 🙏

repo: BlackyHawky/Clock


text:
边框不一致的问题

忘记修改了，下次发布会修改，谢谢~

我想问下，大佬，是不是学习过Vue修炼之路（实现一套UI框架),可以交流下吗？

authors: 1391020381 BlameDeng JerichoDing

repo: BlameDeng/xue-ui


text:
[#1029] Test case for updateCollection with inline CTE

Test case for #1029

Moved over to https://github.com/Blazebit/blaze-persistence/pull/1031

repo: Blazebit/blaze-persistence


text:
Read only mode

Is there a way to make diagrams read only (so you cant drag nodes around and such)?
Couldn't find anything about it on the docs.

Hi, there is a Locked property for that.
https://blazor-diagrams.zhaytam.com/demos/locked
https://github.com/Blazor-Diagrams/Blazor.Diagrams/blob/master/samples/SharedDemo/Demos/Locked.razor.cs

I'll close this since there was no response.

authors: 314159265meow DarkEyeDragon zHaytam


text:
Maximum call stack size exceeded

Hi, I've been trying to create a stops-dissolved-buffer geojson out of 395000 stops.
The config file looks like this:
{
"agencies": [
{
"agency_key": "allstops1",
"path": "/home/tafflin/Documents/gtfs-to-geojson/stops1.zip",
"exclude": [
"stop_times",
"trips",
"shapes"
]
}
],
"bufferSizeMeters": 800,
"coordinatePrecision": 5,
"outputType": "agency",
"outputFormat": "stops-dissolved",
"zipOutput": false
}
The gtfs contains only a stops.txt file with necessary fields and agency.txt file with 1 test agency.
When I try to create a multi polygon geojson with stops buffer I get an error of "Maximum call stack size exceeded".
What is the maximum number of stops that can be processed and how can I increase this number if possible?
Smaller files with ~12000 stops have no issues and are generated in ~10 sec.

That is a lot of stops - I have not figured out what the max number is.
The --max-old-space-size= flag won't be used correctly when running gtfs-to-geojson as a globally installed npm package.
Instead, you could clone the repo, then from the root directory
node --max-old-space-size=30000 ./bin/gtfs-to-geojson to see if that helps.
Can you share your stops.txt file with me and I'll test it out to see where things can be optimized?

Look like this command before starting the utility solved the issue with "out of memory" problem I had before I encountered "maximum call stack":
export NODE_OPTIONS="--max-old-space-size=30000"
Here is my gtfs file with the same problem with 347k stops.
stops.zip

Thanks for the notes.
I think you may need to process a smaller number of  stops as non-dissolved stops geojson, then merge the resulting geojson files together and create a dissolved buffer using a tool like QGIS.

Should I leave the issue open?
By any chance do you know if QGIS can be used as CLI and which command should be used to create a dissolved stops geojson? I intended to use gtfs-to-geojson in a data-processing pipeline

I pushed an updated version that solves this issue:
https://github.com/BlinkTagInc/gtfs-to-geojson/releases/tag/3.2.0
It replaces the polygon-clipping library which was throwing that error with the @turf/union library.
The @turf/union function only takes two shapes at a time to compute a union, so it ends up being pretty slow with 400,000 stops, but it doesn't run out of memory.
Check it out and let me know what you think.

If you are interested, you can see the code that manages the dissolve of buffered stops here: https://github.com/BlinkTagInc/gtfs-to-geojson/blob/master/lib/geojson-utils.js#L98-L110

authors: brendannee tafflin

repo: BlinkTagInc/gtfs-to-geojson


text:
No upcoming arrivals for all requests

Hi,
great widget and simple idea that can work for almost all cases.
I'm trying to get it to work - having two urls at the same server and trying to find departures, but no matter which route+direction+stop I choose, i get: No upcoming arrivals
How to debug it? Console says 200 OK for all answers, and provides a response with a long alphanumeric value.
All requests seem to go to tripupdates url with suffix ?cacheBust=1629829331976 etc.
Please advise how to proceed.

Can you share with me your config.json file so I can see the data sources you are using?

@brendannee hi, thanks for responding. shared the config over through slack as the url's used are beta

authors: brendannee wkulesza

repo: BlinkTagInc/transit-arrivals-widget


text:
Fix xmpp plugin message sending

Contribution Type: bug fix
Primary Area: plugins
Link to Bug: #828
Description of solution: Changed xmpp plugin config and message files directory to build directory.

Thanks. This pull request has been integrated manually.

Why a lot of PR are merged manually?? :confused:

the solution for "cannot read /.sendxmpprc:" is put the .sendxmpprc file in /
give this permissions to the file
chmod 600 .sendxmpprc
This works for Google Apps (G Suite) accounts
Greetings!

authors: cabajuan elboletaire tvbeek zviryatko


text:
Add --shrink-pdf option, using ghostscript to shrink the PDF file

This change is

Is there any way we could pipe the output of the original pdfmaker into the input of the ghostscript one and never have to create the huge PDF file? This might actually make it faster to generate a shrunk PDF than a big one, instead of slower, as well as reducing the chance of running out of disk space. (This would thus be an alternative to JohnH's idea of having a separate process for shrinking...no point in that if a pipe makes it FASTER to shrink immediately.)

Review status: 0 of 4 files reviewed at latest revision, 3 unresolved discussions.

Comments from Reviewable

Reviewed 4 of 4 files at r1.
Review status: all files reviewed at latest revision, 6 unresolved discussions.

src/ConversionOrder.cs, line 73 at r1 (raw file):

-shrink-pdf

I don't see a change to use this. Are we going to default to setting it always? Otherwise, how do we determine when?

src/ConversionProgress.cs, line 26 at r1 (raw file):

			InitializeComponent();
			_progressBar.Maximum = 100;
			_progressBar.Style = ProgressBarStyle.Continuous;

I'm confused about this change. Doesn't this make it just move across without regard to setting the percentage? Yet I see other parts which are setting the percentage. Or is this a different progress bar?

src/GeckofxHtmlToPDFComponent.cs, line 586 at r1 (raw file):

17

Is this a magic number? Or a holdover from testing a specific book? Same for the 9 below.

Comments from Reviewable

The original process is using the mozilla code, which is going to a file.   (We're highjacking the "print" processing of the browser to get the pdf file.)  There's no option that I see for sending the output to stdout instead of a file.  I also don't know if ghostscript can take input from stdin, although that may be likelier.

Review status: all files reviewed at latest revision, 6 unresolved discussions.

src/ConversionOrder.cs, line 73 at r1 (raw file):
Previously, andrew-polk wrote…

-shrink-pdf

I don't see a change to use this. Are we going to default to setting it always? Otherwise, how do we determine when?

This is only the auxiliary program implementation.  Bloom changes remain to be done.

src/ConversionProgress.cs, line 26 at r1 (raw file):
Previously, andrew-polk wrote…
I'm confused about this change. Doesn't this make it just move across without regard to setting the percentage? Yet I see other parts which are setting the percentage. Or is this a different progress bar?

The style changes the bar to move smoothly, reacting to each progress setting rather than in big blocks that don't change as often.  The default on Windows seems to be Continuous, but not on Linux.

src/GeckofxHtmlToPDFComponent.cs, line 547 at r1 (raw file):
Previously, hatton (John Hatton) wrote…
Can you change this allow us to ship the necessary GS files with Bloom, rather than as a separate install?

See my comment in BL-3271 as to why I don't think it's feasible to ship GS with Bloom.  It's mostly (but not entirely) a licensing issue.

src/GeckofxHtmlToPDFComponent.cs, line 574 at r1 (raw file):
Previously, hatton (John Hatton) wrote…
How long does this take? If it's not, like, instant, then this feature would be better as a separate process, probably called from Bloom. I say that because we could just not do it until you ask Bloom to Save the PDF.  Same goes for CMYK conversion.

It's certainly not instant if you have a large file with a lot of jpeg images.  But it's faster than creating the file to begin with.
To test this, I've rewritten the code to exist inside Bloom and be triggered at Save PDF.  For a book with 50 JPEG photos (each on a separate page), creating the book on my desktop Linux machine took about 64 seconds.  It then took about 17 seconds to display the PDF file.  (timed with second hand on wristwatch)  Shrinking the file on save took about 13 seconds.
original PDF file = 686,218,495 bytes, compressed PDF file = 27,159,318 bytes
If I used this code in the BloomPdfMaker program, then creating and shrinking the file took about 76 seconds (roughly the sum of the times given above), but displaying the program took only 1-2 seconds.  So the user could see the PDF displayed just as soon or a even a couple of seconds sooner if we shrink in the process of creating the file.
My conclusion is that we should do the shrinking in the BloomPdfMaker program.

Comments from Reviewable

Review status: all files reviewed at latest revision, 6 unresolved discussions.

src/ConversionOrder.cs, line 73 at r1 (raw file):
Previously, StephenMcConnel (Steve McConnel) wrote…
This is only the auxiliary program implementation.  Bloom changes remain to be done.

Wow. Somehow I failed to realize this was in geckofxHtmlToPdf

src/ConversionProgress.cs, line 26 at r1 (raw file):
Previously, StephenMcConnel (Steve McConnel) wrote…
The style changes the bar to move smoothly, reacting to each progress setting rather than in big blocks that don't change as often.  The default on Windows seems to be Continuous, but not on Linux.

Ah. Thanks for clarifying.

Comments from Reviewable

Review status: all files reviewed at latest revision, 4 unresolved discussions.

src/GeckofxHtmlToPDFComponent.cs, line 586 at r1 (raw file):
Previously, andrew-polk wrote…

17

Is this a magic number? Or a holdover from testing a specific book? Same for the 9 below.

It's the length of one of the matched strings.  I'll do something to clarify it.

Comments from Reviewable

Review status: all files reviewed at latest revision, 4 unresolved discussions.

src/GeckofxHtmlToPDFComponent.cs, line 586 at r1 (raw file):
Previously, StephenMcConnel (Steve McConnel) wrote…
It's the length of one of the matched strings.  I'll do something to clarify it.

Ah. I got confused thinking it was a page index rather than a string index. Obviously I didn't look at the algorithm in detail. : )

Comments from Reviewable

Review status: all files reviewed at latest revision, 4 unresolved discussions.

src/GeckofxHtmlToPDFComponent.cs, line 574 at r1 (raw file):

27,159,318
I would say that in some ways it would be better to have the CMYK output available for viewing in the PDF immediately so that the user can check that the colors look generally okay.

Comments from Reviewable

Regardless of whether this code is executed immediately after creating the original PDF file or delayed until saving the PDF, I think it works better as part of Bloom itself.  So I'm closing this PR.  The code has largely been copied and modified according to the feedback here already.

authors: JohnThomson StephenMcConnel andrew-polk

repo: BloomBooks/geckofxHtmlToPdf


text:
[MECHANIC]: Yarn Ball Camera Focus

Description of what will be added or updated
Allow the player to focus on yarn balls that are in the level instead of just rotating around center of the level. This can allow the player to more easily line up the yarn ball shots.
Some constraints:

Player should be able to swap focus between yarn balls with a single button.
Camera should not phase into the yarn ball regardless of size.
Camera may or may not move with the yarn ball, but it must always have yarn ball in focus (i.e., camera can be stationary but should still track the yarn ball's movement)
Rotation should not be affected by switching.
When yarn ball disappears (such as getting it to the cat) it should bring focus to something (either cat, another yarn ball, or back to center of level).

Additional Information
Look at Prototype Yarn Camera scene (Assets/Scenes/TEST - Editor Only/Light with Blocks/PrototypeSingleYarnCamera.unity) for example of what could be done. This prototype was not pursued originally due to being confusing to players, but may be useful for allowing players to switch between balls for the puzzle version.

Scrapping in favor of #94

authors: KallenXCC SurajSSingh

repo: Blue-Square-Legion/Keito-Yarn-Game


text:
plugin no save data.

After the Plugin update save data, but... the restart data is lost. How to save the plugin data?

What do you mean with plugin data? The plugin installation field in the settings or the configuration of a dedicated plugin.

authors: BlueAndi Tokyo-Lei

repo: BlueAndi/esp-rgb-led-matrix


text:
mod2c translated mod files with BEFORE/AFTER need a declaration.

Description
Fixes #746
Related to neuronsimulator/nrn#1581 and neuronsimulator/testcorenrn#8
** TODO **

[x] Merge https://github.com/BlueBrain/nmodl/pull/799 and update submodule

Use certain branches for the SimulationStack CI
CI_BRANCHES:NEURON_BRANCH=hines/before-after,

I wonder, since this PR just adds a missing declaration, if it can be unlinked from the NEURON hines/before-after branch and merged to master (assuming it passes CI). Turns out I want to start another CoreNEURON branch that fixes a POINTER limitation.
I.e. presently POINTER has to point to a node voltage. I am working on a model where it must point to a POINT_PROCESS range variable.

Seems reasonable to me. I just addressed the TODO in the PR description by updating the NMODL submodule commit to include https://github.com/BlueBrain/nmodl/pull/799.

Codecov Report

Merging #748 (cb9a856) into master (3fb0b8c) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head cb9a856 differs from pull request most recent head f24bc90. Consider uploading reports for the commit f24bc90 to get more accurate results

@@           Coverage Diff           @@
##           master     #748   +/-   ##
=======================================
  Coverage   56.00%   56.00%
=======================================
  Files         108      108
  Lines        8994     8994
=======================================
  Hits         5037     5037
  Misses       3957     3957

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3fb0b8c...f24bc90. Read the comment docs.

Re-triggering with NEURON_BRANCH=master.

authors: codecov-commenter nrnhines olupton

repo: BlueBrain/CoreNeuron


text:
monkey patch in a fetch_resource to the nexus-sdk wrapper

Calls this: https://bluebrainnexus.io/docs/delta/api/resolvers-api.html#fetch-resource-using-resolvers

Looks ok to me. What is this used for?

Looks ok to me. What is this used for?

using resource, it only looks in the current bucket, using a resolver is like cross_bucket in forge.

authors: joni-herttuainen mgeplf

repo: BlueBrain/bluepyentity


text:
🛑 hosted-PalmettoGBA is down

In 6e69688, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in e911a66.


text:
🛑 hosted-PalmettoGBA is down

In 068cb4c, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 95b261d.


text:
🛑 DRMedRemote is down

In 36b4eb7, DRMedRemote (https://drmedremote.bcbssc.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DRMedRemote is back up in 5929535.


text:
🛑 hosted-PalmettoGBA is down

In 68d35bb, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 538709e after 9 minutes.


text:
🛑 hosted-PalmettoGBA is down

In b4ca768, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 4dd826e after 9 minutes.


text:
change RetryMiddleware param to TransferException

Hi,
when an ConnectException occures the RetryMiddleware throws an invalid argument exception.
This PR should fix this issue.
Stack trace:
#0 /var/www/html/vendor/guzzlehttp/guzzle/src/RetryMiddleware.php(99): BlueFeather\EloquentFileMaker\Services\FileMakerConnection->BlueFeather\EloquentFileMaker\Services\{closure}()
#1 /var/www/html/vendor/guzzlehttp/promises/src/RejectedPromise.php(42): GuzzleHttp\RetryMiddleware->GuzzleHttp\{closure}()
#2 /var/www/html/vendor/guzzlehttp/promises/src/TaskQueue.php(48): GuzzleHttp\Promise\RejectedPromise::GuzzleHttp\Promise\{closure}()
#3 /var/www/html/vendor/guzzlehttp/promises/src/Promise.php(248): GuzzleHttp\Promise\TaskQueue->run()
#4 /var/www/html/vendor/guzzlehttp/promises/src/Promise.php(224): GuzzleHttp\Promise\Promise->invokeWaitFn()
#5 /var/www/html/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending()
#6 /var/www/html/vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList()
#7 /var/www/html/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#8 /var/www/html/vendor/guzzlehttp/guzzle/src/Client.php(187): GuzzleHttp\Promise\Promise->wait()
#9 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php(962): GuzzleHttp\Client->request()
#10 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php(823): Illuminate\Http\Client\PendingRequest->sendRequest()
#11 /var/www/html/vendor/laravel/framework/src/Illuminate/Support/helpers.php(247): Illuminate\Http\Client\PendingRequest->Illuminate\Http\Client\{closure}()
#12 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php(863): retry()
#13 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php(728): Illuminate\Http\Client\PendingRequest->send()
#14 /var/www/html/vendor/bluefeather/eloquent-filemaker/src/Services/FileMakerConnection.php(644): Illuminate\Http\Client\PendingRequest->post()
#15 /var/www/html/vendor/bluefeather/eloquent-filemaker/src/Services/FileMakerConnection.php(236): BlueFeather\EloquentFileMaker\Services\FileMakerConnection->makeRequest()
#16 /var/www/html/vendor/bluefeather/eloquent-filemaker/src/Database/Query/FMBaseBuilder.php(429): BlueFeather\EloquentFileMaker\Services\FileMakerConnection->performFind()
#17 /var/www/html/vendor/bluefeather/eloquent-filemaker/src/Database/Query/FMBaseBuilder.php(413): BlueFeather\EloquentFileMaker\Database\Query\FMBaseBuilder->getData()
#18 /var/www/html/vendor/bluefeather/eloquent-filemaker/src/Database/Eloquent/FMEloquentBuilder.php(25): BlueFeather\EloquentFileMaker\Database\Query\FMBaseBuilder->get()
#19 /var/www/html/modules/FMSync/Jobs/SyncFmRecords.php(64): BlueFeather\EloquentFileMaker\Database\Eloquent\FMEloquentBuilder->get()
#20 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Modules\FMSync\Jobs\SyncFmRecords->handle()
#21 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#22 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#23 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod()
#24 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php(661): Illuminate\Container\BoundMethod::call()
#25 /var/www/html/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(128): Illuminate\Container\Container->call()
#26 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
#27 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#28 /var/www/html/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
#29 /var/www/html/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(124): Illuminate\Bus\Dispatcher->dispatchNow()
#30 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue\{closure}()
#31 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#32 /var/www/html/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(126): Illuminate\Pipeline\Pipeline->then()
#33 /var/www/html/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(70): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware()
#34 /var/www/html/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\Queue\CallQueuedHandler->call()
#35 /var/www/html/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(425): Illuminate\Queue\Jobs\Job->fire()
#36 /var/www/html/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(375): Illuminate\Queue\Worker->process()
#37 /var/www/html/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(173): Illuminate\Queue\Worker->runJob()
#38 /var/www/html/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(147): Illuminate\Queue\Worker->daemon()
#39 /var/www/html/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(130): Illuminate\Queue\Console\WorkCommand->runWorker()
#40 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\Queue\Console\WorkCommand->handle()
#41 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#42 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#43 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod()
#44 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php(661): Illuminate\Container\BoundMethod::call()
#45 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php(183): Illuminate\Container\Container->call()
#46 /var/www/html/vendor/symfony/console/Command/Command.php(312): Illuminate\Console\Command->execute()
#47 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php(153): Symfony\Component\Console\Command\Command->run()
#48 /var/www/html/vendor/symfony/console/Application.php(1022): Illuminate\Console\Command->run()
#49 /var/www/html/vendor/symfony/console/Application.php(314): Symfony\Component\Console\Application->doRunCommand()
#50 /var/www/html/vendor/symfony/console/Application.php(168): Symfony\Component\Console\Application->doRun()
#51 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Application.php(102): Symfony\Component\Console\Application->run()
#52 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(155): Illuminate\Console\Application->run()
#53 /var/www/html/artisan(37): Illuminate\Foundation\Console\Kernel->handle()
#54 {main}```

Perfect! I just ran into this myself the other day and was going to do this. Thanks!

authors: Smef patrickweh

repo: BlueFeatherGroup/eloquent-filemaker


text:
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

When I'm trying to convert a big markdown file with 25000+ strings I got the following error:
<--- Last few GCs --->
75[34888:0000025ED6D7FEF0]    15894 ms: Mark-sweep (reduce) 4097.7 (4107.0) -> 4094.7 (4104.0) MB, 3.6 / 0.0 ms  (+ 4.1 ms in 1 steps since start of marking, biggest step 4.1 ms, walltime since start of marking 10 ms) (average mu = 0.501, current mu = 0.424[34888:0000025ED6D7FEF0]    15906 ms: Mark-sweep (reduce) 4098.2 (4107.5) -> 4098.2 (4107.5) MB, 8.9 / 0.0 ms  (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 10 ms) (average mu = 0.417, current mu = 0.308
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
1: 00007FF66E951ADF node_api_throw_syntax_error+203775
2: 00007FF66E8D14B6 SSL_get_quiet_shutdown+63558
3: 00007FF66E8D2822 SSL_get_quiet_shutdown+68530
4: 00007FF66F372F34 v8::Isolate::ReportExternalAllocationLimitReached+116
5: 00007FF66F35E2A2 v8::Isolate::Exit+674
6: 00007FF66F1E02FC v8::internal::EmbedderStackStateScope::ExplicitScopeForTesting+124
7: 00007FF66F1DD51B v8::internal::Heap::CollectGarbage+3963
8: 00007FF66F1F3753 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath+2099
9: 00007FF66F1F3FFD v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath+93
10: 00007FF66F203833 v8::internal::Factory::NewFillerObject+851
11: 00007FF66EEF4F65 v8::internal::DateCache::Weekday+1349
12: 00007FF66F4105C1 v8::internal::SetupIsolateDelegate::SetupHeap+558193
13: 00007FF66F42BB13 v8::internal::SetupIsolateDelegate::SetupHeap+670147
14: 00007FF5EF5E14E2

Hi @korostylov thanks for raising this. I'm afraid it's a resource constraint issue. The stack trace you're seeing is from nodejs + v8. If there's no way to split up the file, you'll need to look at increasing the resources assigned to nodejs. This thread on stack overflow explains how to do this: https://stackoverflow.com/questions/74927384/nodejs-reached-heap-limit-allocation-failed-javascript-heap-out-of-memory.
We probably could handle this a little more elegantly by checking the size of the file you're providing, but mdpdf can't actually do anything to resolve the resource limit issue itself, it's something you will need to do as the user.

Thanks for the answer. I thought that fixing this would be easy as 'Markdown PDF' extension in VSCode can do this.
After adding the 'NODE_OPTIONS' to environment variables it failed with timeout :-) (30000ms)
After I increased this timeout to 100s, rendering without any options was successful.
Rendering with options like CSS styles was not successful even with 400s timeout :-)

authors: BlueHatbRit korostylov

repo: BlueHatbRit/mdpdf


text:
Add dutch translation

added the dutch translation

Great! Thanks a lot for your help!

You are welcome

repo: Bluegrams/Vividl


text:
Issues upgrading to 3.x

I followed the instructions about manually updated my config files after the git pull, but I'm getting the following error now when I try to load the page.
2017/12/02 19:29:10 [error] 1525#1525: *27187 FastCGI sent in stderr: "PHP message: Exception 1/1 'ParseError' with message 'syntax error, unexpected end of file' in /home/filebin/www/filebin/application/config/config-local.php:25
Backtrace:
#0 /home/filebin/www/filebin/system/core/Common.php(249): require()
#1 /home/filebin/www/filebin/system/core/Common.php(300): get_config()
#2 /home/filebin/www/filebin/system/core/CodeIgniter.php(168): config_item('composer_autoload')
#3 /home/filebin/www/filebin/public_html/index.php(372): require_once('/home/filebin/www/filebin/system/core/CodeIgniter.php')
#4 /home/filebin/www/filebin/index.php(10): include('/home/filebin/www/filebin/public_html/index.php')" while reading response header from upstream, client: 64.39.95.17, server: www.filebin.pw, request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/run/php/filebin-fpm.sock:", host: "filebin.pw"

Turned out to just be a missing semi colon in my config-local.php. Thanks anyways.

repo: Bluewind/filebin


text:
Add support for ASCII chars

ASCII characters are encoded as a single byte in UTF-8, so there is an opportunity to optimize the interface for them.
NOTE: names subject to bikeshedding.

Add (|>@) and (@<|) to concatenate single ASCII characters.
Add prependAsciiChars and appendAsciiChars for multiple characters.
Add justifyLeftAscii, justifyRightAscii and centerAscii for padding.
Move low-level MArray manipulation to their own module Data.Text.Builder.Linear.Array.
Add corresponding tests & benchmarks.

See also #14, which propose a similar interface for padding.
Note that it adds a dependency on linear-base to use move and Ur.

Rebased.

@Bodigrim there is an unrelated error while compiling linear-base wih GHC 9.8.

@Bodigrim there is an unrelated error while compiling linear-base wih GHC 9.8.

I would not say it's unrelated - that's precisely why this package historically does not depend on linear-base, and I'm not really keen to introduce such dependency.

@Bodigrim is there another way to deal with this? We just need move feature. I think we would like to avoid unsafeCoerce.

Note that this PR would allow to build a bytestring with whatever encoding (not even text one):
import Data.Text.Builder.Linear.Core
import Data.Text.Encoding qualified as T
import Data.Text.IO qualified as T

T.putStrLn (T.decodeUtf16BE (runBufferBS \b -> b |>@ 0x27 |>@ 0x28))
-- ✨

While this PR is primarily about ASCII chars, I think is worth to consider other use cases it enables. Maybe this API should be better exposed under some Data.ByteString prefix.

Rebased, dependency to linear-base removed by adapting the tiny part we need. I left their copyright, but the code is so tiny that I wonder if we could just apply our default copyright.

Note that this PR would allow to build a bytestring with whatever encoding (not even text one):

I'm torn whether this is a bug or a feature ;)
In general, I'm conscious about keeping API size manageable. Unless there is a convincing use case to write binary data, I'd rather avoid a special API for ASCII.

I'm torn whether this is a bug or a feature ;)

😉 as this package is about UTF-8-encoded text, this is clearly a hack. That’s why I wrote it would rather belong to Data.ByteString namespace. I think there could be a bytestring-linear-builder package.
I do have a use case for UTF-16 encoding though. But I will not further digress.
We could disallow non-ASCII by masking the input with 0x7f.

In general, I'm conscious about keeping API size manageable. Unless there is a convincing use case to write binary data, I'd rather avoid a special API for ASCII.

I understand your concert. The ASCII API would be about performance. It can be much faster.

The ASCII API would be about performance. It can be much faster.

Why would it be much faster? I'd expect the existing Char-based API  to be only marginally slower, because you can always check that a character is ASCII and jump to a fast route.

Rebased.

Why would it be much faster? I'd expect the existing Char-based API to be only marginally slower, because you can always check that a character is ASCII and jump to a fast route.

Always good to provide some proof for discussion:

Benchmark (baseline is Char)
All
  ASCII Char
    Single
      1
        Data.Text.Lazy.Builder:   OK
          74.2 ns ± 3.2 ns, 543 B  allocated,   0 B  copied, 8.0 MB peak memory, 21% less than baseline
        Data.ByteString.Builder:  OK
          358  ns ±  20 ns, 4.8 KB allocated,   0 B  copied,  15 MB peak memory, 4.82x,       same as baseline
        Data.Text.Builder.Linear: OK
          35.5 ns ± 2.0 ns, 135 B  allocated,   0 B  copied,  15 MB peak memory, 0.48x, 32% less than baseline
      10
        Data.Text.Lazy.Builder:   OK
          385  ns ± 7.7 ns, 1.9 KB allocated,   0 B  copied,  15 MB peak memory, 11% less than baseline
        Data.ByteString.Builder:  OK
          688  ns ±  24 ns, 6.8 KB allocated,   0 B  copied,  15 MB peak memory, 1.78x, 11% less than baseline
        Data.Text.Builder.Linear: OK
          82.4 ns ± 2.7 ns, 262 B  allocated,   0 B  copied,  15 MB peak memory, 0.21x, 49% less than baseline
      100
        Data.Text.Lazy.Builder:   OK
          3.01 μs ±  33 ns,  17 KB allocated,  10 B  copied,  15 MB peak memory, 22% less than baseline
        Data.ByteString.Builder:  OK
          3.66 μs ±  41 ns,  27 KB allocated,  21 B  copied,  15 MB peak memory, 1.22x, 25% less than baseline
        Data.Text.Builder.Linear: OK
          301  ns ±  11 ns, 1.1 KB allocated,   0 B  copied,  15 MB peak memory, 0.10x, 73% less than baseline
    Multiple
      1
        Data.Text.Lazy.Builder:   OK
          162  ns ± 5.4 ns, 845 B  allocated,   0 B  copied,  15 MB peak memory, 10% less than baseline
        Data.ByteString.Builder:  OK
          388  ns ± 9.0 ns, 4.8 KB allocated,   0 B  copied,  15 MB peak memory, 2.39x
        Data.Text.Builder.Linear: OK
          38.2 ns ± 1.3 ns, 175 B  allocated,   0 B  copied,  15 MB peak memory, 0.24x, 40% less than baseline
      10
        Data.Text.Lazy.Builder:   OK
          939  ns ±  29 ns, 4.3 KB allocated,   0 B  copied,  15 MB peak memory,  9% less than baseline
        Data.ByteString.Builder:  OK
          1.12 μs ±  52 ns, 7.3 KB allocated,   1 B  copied,  15 MB peak memory, 1.19x
        Data.Text.Builder.Linear: OK
          210  ns ± 5.6 ns, 877 B  allocated,   0 B  copied,  15 MB peak memory, 0.22x, 43% less than baseline
      100
        Data.Text.Lazy.Builder:   OK
          8.73 μs ± 427 ns,  43 KB allocated,  34 B  copied,  15 MB peak memory, 17% less than baseline
        Data.ByteString.Builder:  OK
          8.16 μs ± 446 ns,  32 KB allocated,  36 B  copied,  15 MB peak memory, 0.94x
        Data.Text.Builder.Linear: OK
          1.50 μs ±  90 ns, 7.3 KB allocated,   1 B  copied,  15 MB peak memory, 0.17x, 46% less than baseline
    Padding
      1
        Data.Text.Lazy.Builder:   OK
          233  ns ± 9.8 ns, 1.1 KB allocated,   0 B  copied,  15 MB peak memory,       same as baseline
        Data.Text.Builder.Linear: OK
          92.7 ns ± 3.7 ns, 326 B  allocated,   0 B  copied,  15 MB peak memory, 0.40x, 13% less than baseline
      10
        Data.Text.Lazy.Builder:   OK
          2.57 μs ± 132 ns,  10 KB allocated,   1 B  copied,  15 MB peak memory,       same as baseline
        Data.Text.Builder.Linear: OK
          792  ns ±  27 ns, 2.8 KB allocated,   0 B  copied,  15 MB peak memory, 0.31x, 13% less than baseline
      100
        Data.Text.Lazy.Builder:   OK
          35.6 μs ± 2.0 μs, 151 KB allocated,  36 B  copied,  15 MB peak memory,  5% less than baseline
        Data.Text.Builder.Linear: OK
          17.8 μs ± 609 ns,  27 KB allocated,   5 B  copied,  15 MB peak memory, 0.50x,  5% less than baseline

While “Single” and “Multiple” benchmarks demonstrate sizeable gains,  I agree that the “Padding” benchmark only shows marginal gains that do not justify an alternative implementation (at least with the current one).

I just tested a safe version, where the Word8 is guarded by (.&. 0x7f):
Benchmark results
All
  ASCII Char
    Single
      1
        Data.Text.Lazy.Builder:   OK
          72.2 ns ± 1.4 ns, 543 B  allocated,   0 B  copied, 8.0 MB peak memory, 23% less than baseline
        Data.ByteString.Builder:  OK
          319  ns ±  11 ns, 4.8 KB allocated,   0 B  copied,  15 MB peak memory, 4.42x,  9% less than baseline
        Data.Text.Builder.Linear: OK
          42.9 ns ± 1.1 ns, 135 B  allocated,   0 B  copied,  15 MB peak memory, 0.59x, 17% less than baseline
      10
        Data.Text.Lazy.Builder:   OK
          440  ns ±  18 ns, 1.9 KB allocated,   0 B  copied,  15 MB peak memory,       same as baseline
        Data.ByteString.Builder:  OK
          630  ns ±  11 ns, 6.8 KB allocated,   0 B  copied,  15 MB peak memory, 1.43x, 18% less than baseline
        Data.Text.Builder.Linear: OK
          93.1 ns ± 1.9 ns, 263 B  allocated,   0 B  copied,  15 MB peak memory, 0.21x, 43% less than baseline
      100
        Data.Text.Lazy.Builder:   OK
          3.26 μs ± 183 ns,  17 KB allocated,  10 B  copied,  15 MB peak memory, 15% less than baseline
        Data.ByteString.Builder:  OK
          3.82 μs ± 113 ns,  27 KB allocated,  20 B  copied,  15 MB peak memory, 1.17x, 21% less than baseline
        Data.Text.Builder.Linear: OK
          417  ns ±  13 ns, 1.1 KB allocated,   0 B  copied,  15 MB peak memory, 0.13x, 63% less than baseline
    Multiple
      1
        Data.Text.Lazy.Builder:   OK
          166  ns ± 4.7 ns, 847 B  allocated,   0 B  copied,  15 MB peak memory,  8% less than baseline
        Data.ByteString.Builder:  OK
          376  ns ±  18 ns, 4.8 KB allocated,   0 B  copied,  15 MB peak memory, 2.26x
        Data.Text.Builder.Linear: OK
          44.2 ns ± 1.7 ns, 175 B  allocated,   0 B  copied,  15 MB peak memory, 0.27x, 31% less than baseline
      10
        Data.Text.Lazy.Builder:   OK
          1.01 μs ±  50 ns, 4.3 KB allocated,   0 B  copied,  15 MB peak memory,       same as baseline
        Data.ByteString.Builder:  OK
          1.17 μs ±  53 ns, 7.3 KB allocated,   1 B  copied,  15 MB peak memory, 1.16x
        Data.Text.Builder.Linear: OK
          228  ns ± 8.3 ns, 877 B  allocated,   0 B  copied,  15 MB peak memory, 0.23x, 39% less than baseline
      100
        Data.Text.Lazy.Builder:   OK
          9.57 μs ± 381 ns,  43 KB allocated,  33 B  copied,  15 MB peak memory,  9% less than baseline
        Data.ByteString.Builder:  OK
          8.51 μs ± 204 ns,  32 KB allocated,  35 B  copied,  15 MB peak memory, 0.89x
        Data.Text.Builder.Linear: OK
          1.57 μs ±  73 ns, 7.3 KB allocated,   1 B  copied,  15 MB peak memory, 0.16x, 43% less than baseline

That could be a good compromise.

This is very puzzling. Let's start with {pre,ap}pendAsciiChars. How comes (if I interpret your benchmark numbers right) that it's 30% faster than {pre,ap}pendChars?  For an ASCII Char both should boil down to unsafeReplicate, why so much performance difference?

@Bodigrim at first glance it seems due to inlining:

(|>@) and (@<|) are explicitly inlined.
prependAsciiChars and appendAsciiChars seem to be small enough to be inlined.

Indeed forcing {-# INLINE #-} looks good in synthetic benchmarks, but in real life it causes insane amount of Core, long compilation times and bloated executables. Everything in this package is compiled with -fexpose-all-unfoldings, so if GHC is not doing good job to decide what's worth inlining and what's not, perhaps it should be improved on GHC's side.
My experience is that "small enough to be inlined" changes from release to release, and introducing a bunch of new functions just because they happen to inline well right now does not sound a robust strategy.
The API itself, with Word8, looks extremely low-level and error-prone for end users. I'd be more at ease about it if we had a use case for binary builder, but OTOH binary builders lead to complications with Text.
I hate to say no to your work, because it's top quality as always, but TBH at the moment I'm far from convinced. It seems possible, however, to put this into a separate package, it relies only on the public interface, right?

@Bodigrim I agree with your comment. The experiment is not conclusive, but I appreciate a lot that you take time to assess it and share your thoughts. Hopefully I am getting a bit better at each PR 😉, especially about the inlining topic.

It seems possible, however, to put this into a separate package, it relies only on the public interface, right?

Yes, now that I changed the code.

authors: Bodigrim wismill

repo: Bodigrim/linear-builder


text:
unable to start program

close this

1.Describe the bug 描述你遇到的问题 A clear and concise description of what the bug is. 简洁有效的说明。
2.To Reproduce 如何重现问题 Steps to reproduce the behavior:
3.Screenshots 如有必要，可以截图说明 If applicable, add screenshots to help explain your problem.

What is a proprietary driver? I can't solve that mystery.


text:
Conversão .net

Alguém tem esse código convertido para .net Funcionando ???
E um tutorial de como implementa-lo

@Marlonwg como assim convertido para .NET ?

Para Visual Studio .net pois ele esta montado em C#

@Marlonwg Mas o C# é tecnologia .NET e funciona no Visual Studio. Só precisa usar uma versão mais atualizada do Visual Studio, por exemplo 2017 ou 2019.

Aonde fica o Tutorial de como implementa-lo ao código para gerar o boleto e para criar o arquivo de remessa e Retorno.
Estava usando o boleto Cloud https://boleto.cloud/ , Mas tenho que criar boleto via codigo e criar os cnabs

@Marlonwg Nao conheco o boleto.cloud, no BoletoNet existe um exemplo nos projetos de testes. Mas estao todos em C#.

Manda o link do exemplo pra gerar o boleto eo Carne mesmo que for em C# da de converter.
Eu posso montar em vb.net se usar a dll e fazer a chamada acho que nao teria diferença a linguagem de chamada

@Marlonwg https://github.com/BoletoNet/boleto2net/tree/master/Boleto2.Net.Testes

Blz vou tentar implementa-lo uma duvida nessa dll a conexão com o banco e feito de maneira autônoma consegue buscar o remessa retorno ou e necessário enviar ao banco e baixar o CNAB ?

@Marlonwg A DLL nao trata conexao com banco.

Ola carlos tem o código para ler arquivo CNAB400.REM e para Gerar o Retorno para o banco o Formato ?
Procurei aqui nos exemplos nao consegui.

@Marlonwg Cada Banco gera no seu formado CNAB, vc precisa configurar.  @rafd75  você tem algum exemplo de geracao de remessa ?

@Marlonwg, bom dia.
No projeto de teste, tem rotinas para criar a remessa - exemplo Itaú.
https://github.com/BoletoNet/boleto2net/blob/bd563eaa4d4d83ee2b03885224a4616b08fc1791/Boleto2.Net.Testes/BancoItauCarteira109Tests.cs#L31
Para ler o arquivo retorno, não existe teste, pois necessitaria de um arquivo exemplo... Os que tenho aqui, são de clientes.
--- outra coisa:
Não existe opção para "ler arquivo .REM" ... o arquivo .REM (remessa) é gerado a partir de uma coleção de boletos previamente preenchida pela sua aplicação no componente.
E não existe gerar .RET... acho que na sua pergunta, vc inverteu os termos...

E no caso e Gerar o Arquivo Remessas e preciso ler o retorno.

Este exemplo que tenho no BoletoNet funciona já no Boletonet2 nao.

@Marlonwg , não vou conseguir te ajudar com isso... estou atolado aqui.
Mas esse método de teste do Itau, cria a instância do componente, preenche com 9 títulos, gera o arquivo remessa... gera o arquivo PDF com  os boletos...
tem tudo que você precisa aqui:
https://github.com/BoletoNet/boleto2net/blob/bd563eaa4d4d83ee2b03885224a4616b08fc1791/Boleto2.Net.Testes/BancoItauCarteira109Tests.cs#L11

authors: Marlonwg carloscds rafd75


text:
"Toggle Details" should have a setting to be enabled/disabled/toggled

Describe the feature you'd like
I would like to not have to click "Toggle Details" in order to show snippets of text; I would prefer that these snippets are always shown. Others may prefer that snippets are always off, or that they be toggle-able. Therefore, I am proposing that a new setting be added so that the following can be done on a user and/or instance level:

Always show snippets
Always hide snippets
Show a toggle button; default to open
Show a toggle button; default to closed

Describe the benefits this feature would bring to BookStack users
Not having to click "Toggle Details" on every single page load. Providing more context by default and with less work. Better representing the preferences of users.
Additional context

As of v0.26 the "Toggle Details" button will remember it's state so will therefore close this.

authors: ssddanbrown trwnh

repo: BookStackApp/BookStack


text:
Implemented own Julian date due to ambiguity and corrected time tests

Description
The tests have been corrected, as there was a mismatch in the types.
There is an ambiguity in the precision of the Julian date of ptime, so I have implemented Julian date of my own.
By running locally, I could see a huge accuracy by doing so.
References
I have referred the page number 33/240 of the book - Practical Astronomy with your Calculator or Spreadsheet, 4th edition

https://github.com/BoostGSoC19/astronomy/blob/ee45db603d258ec4e7b49d591b616bf506a7f169/include/boost/astronomy/time/time_conversions.hpp#L8-L20
Can you remove the iostream header as well? Cause we do not have any dependency with iostream.
Also please encapsulate the entire file into namespace boost::astronomy::time namespace for the above file in particular and remove the using namespace directives to prevent polluting the namespace  ( Make sure to explicitly qualify each of the entities)
namespace boost{ namespace astronomy{namespace time

// All the existing code here

}}}

@lpranam Sir the PR  looks good . Kindly merge it ( Checks failing are not an issue, they are being caused due to a header file missing in FITS module. I will submit up PR as soon as this one is merged in


text:
🛑 bestway is down

In 3a74eca, bestway (https://bestway.botslovers.com) was down:

HTTP code: 404
Response time: 364 ms

Resolved: bestway is back up in f5c782f after 10 minutes.

repo: Botslovers-SL/uptime


text:
🛑 catalogocanarias is down

In 8b0dc6c, catalogocanarias (https://catalogocanarias.botslovers.com) was down:

HTTP code: 503
Response time: 275 ms

Resolved: catalogocanarias is back up in 3f7232e after 8 minutes.


text:
Logo und Hintergrund von Blaufrog hinzufügen

Beschreibung

[ ] Logo
[ ] Hintergund

Blaufrog.zip

.meine-aufgabe

.meine-aufgabe

repo: BoundfoxStudios/fairy-tale-defender


text:
xcode library not found for -lBranch-SDK

i have react native v0.49. After installing react-native-branch I try to run with xcode and I get the error

ld: library not found for -lBranch-SDK
in addition,when I run react-native-link I get

react-native-branch ERR! Failed to add file to project

+1

+1

Is this still an issue after upgrading to the latest version of RN library ?   If you are still on RN 0.49 , can you please check if all  the modules are installed and path defined correctly as we were not able to replicate the issue at our end.

Hope this is ok now. We are closing it, please re-open if you are facing any issue.

authors: adirzoari kollner perrosnk sequoiaat


text:
BI-1710 - Add support for searching by externalReference to /search/trials endpoint in BreedBase

Description
Implemented the ability to specify externalReferenceId(s) and externalReferenceSource(s) for the GET /trials and POST /search/trials endpoints.
Testing

Create a new trial with external references

make a call to the GET /trials endpoint, and specify externalReferenceId as a query param

Verify that only the trial with that externalReferenceId is returned

Create a new trial with external references

make a call to the POST /search/trials endpoint, and specify externalReferenceIds as a parameter in the body

make a call to the GET /search/trials/{searchId} endpoint

Verify that only the trial with that externalReferenceId is in the result set

Checklist

[ ] Refactoring only
[ ] Documentation only
[ ] Fixture update only
[ ] Bug fix

[ ] The relevant issue has been closed.
[ ] Further work is required.

[x] New feature

[ ] Relevant tests have been created and run.
[ ] Data was added to the fixture

[ ] Data was added via a patch in /t/data/fixture/patches/.

[ ] User-Facing Change

[ ] The user manual in /docs has been updated.

[ ] Any new Perl has been documented using perldoc.
[ ] Any new JavaScript has been documented using JSDoc.
[ ] Any new legacy JavaScript has been moved from /js to /js/source/legacy.

Passed Developer test

authors: davedrp timparsons

repo: Breeding-Insight/sgn


text:
🛑 KS Aile Saati is down

In 59192ed, KS Aile Saati (https://ailesaati.kocsistem.com.tr/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KS Aile Saati is back up in 1e5ef18 after 19 minutes.

repo: BrewInteractive/upptime


text:
Most examples broke in recent update

Redid a few drawing functions, a lot simpler now because i removed some functionality. I found that extending them wasn't worthit and just made code look worse.
This did break most drawing examples.

11-intersections fixed

examples 1-shapes,  2-text, 3-images, 7-3dDrawing, 8_modifyTexture, 9_repl and 10_clipboard reviewed and fixed.
only missing examples 4 through 6

all examples are now fixed from this specific issue, shaders and arcgame still don't work

repo: Brian-ED/rayed-bqn


text:
Add IFC reference

See the example file for what this looks like. All attribute/etc names are up for debate
Relationship is brick:IFCRepresentation, mirroring brick:BACnetRepresentation. The object itself has two mandatory properties, ifc:globalID (for the entity) and ifc:projectID (for the project defining the entity) ; and two optional properties ifc:name a human-readable label of the entity in the IFC project, and ifc:fileLocation which points to the location of the IFC file.

Do we want to try to pull in some of the buildingSMART classes here? I think I've got this right, looking at https://www.mdpi.com/2076-3417/10/24/8794/pdf (also these: https://www.researchgate.net/publication/355425860_SHACL_is_for_LBD_what_mvdXML_is_for_IFC  and https://standards.buildingsmart.org/IFC/DEV/IFC4_1/OWL/index.html )
@prefix ifc: <https://standards.buildingsmart.org/IFC/something-version-not-sure-which>
ex:blg1 a ifc:IfcBuilding
ex:blg1 ifc:globalId_IfcRoot ex:guid123

ex:guid123 a ifc:IfcGloballyUniqueId
ex:guid123 express:hasString "guid123"

I don't know that I'd want to say that ex:blg1 is also a brick:building, so I think it's safer to keep the brick:hasIFCRepresentation and maybe point it at ex:guid123?
I'm also fine with having our own shorter version and I don't want to add unnecessary complexity. To go between the two systems one side is going to have to know a bit about the other :) - also I think we'll want something similar for SVG, so keeping the hasRepresentation family of properties seems fine.

I like the idea of keeping the representation objects in Brick fairly uniform in their construction, but if there are small things we can do to increase interop then I am all for that. One complication with using the IFC namespaces defined under standards.buildingsmart.org is that there are different namespaces for different IFC versions. It feels better to have a single unified definition of the base concepts for the linkage (globalID, projectID, etc) and then dip into the version-specific namespaces for the actual alignment of concepts (so ifc:Ifcbuilding would be from a particular IFC namespace defined by BuildingSmart but the Brick linkage to its global ID in another file would be in our IFC alignment namespace?)

OK. I don't want to bikeshed this too much - what you've got now is certainly enough to get us going so let's go with that for 1.3.0 and let's add more when we see a clear need for it.

authors: epaulson gtfierro

repo: BrickSchema/Brick


text:
Allow a custom message to be displayed under the main text.

Fixes #44

Closing due to age of this PR.

repo: BrightspaceUI/file-uploader


text:
How to change sws config for Jest runner?

I want to set dynamicImport to true.
I tried using the .swcrc file in the root, but that did not work.
Any clues?
Thanks!

// jest.config.js
{
  transform: { '^.+\\.(t|j)sx?$': ['@swc-node/jest', { dynamicImport: true }] }
}

All options: https://github.com/Brooooooklyn/swc-node/blob/master/packages/core/index.ts#L6

Thanks! :)

Hm, interestingly I am getting the following error:

A dynamic import callback was not specified

While it works fine with ts-jest.

Could you please provide a minimal example which caused the compile error?

authors: Brooooooklyn moltar

repo: Brooooooklyn/swc-node


text:
Support integrating backend-specific Autoscoper executable & enable CUDA backend

Build-system updates:

Removed support for setting Autoscoper_RENDERING_BACKEND option.
Introduced an explicit AutoscoperM-OpenCL external project.
Associated Autoscoper "_DIR" variables with the label "Autoscoper_DIRS" allowing to update install and fix-up rules based on the different Autoscoper builds.
Updated external project variables depending on the project name to use ${proj}_ prefix instead of the hard-coded Autoscoper_ one.

AutoscoperM module updates:

Updated AutoscoperM module to include a combobox for selecting the rendering backend. The combobox is dynamically populated based on the available Autoscoper executables found in the environment (e.g., autoscoper-CUDA or autoscoper-OpenCL).

Note: The distribution of the CUDA variant of Autoscoper ("autoscoper-CUDA") will be integrated in subsequent commits.
List of Autoscoper updates:
$ git shortlog d476e2cbb..644473784 --no-merges
Jean-Christophe Fillion-Robin (2):
      COMP: Update cutil headers to fix build against SDK without cufft library
      COMP: Ensure Autoscoper inner-build is built with expected CUDA toolkit

Locally building on the windows factory completes without issue.
Once a clean build & upload of package has been tested manually, this PR will be merged :rocket:

After running .\SlicerWithSlicerAutoscoperM.exe from the build tree:

The support for running Autoscoper from a build tree on Windows is expected to be fixed though these pull requests:

https://github.com/BrownBiomechanics/SlicerAutoscoperM/pull/74

itself depending on https://github.com/Slicer/Slicer/pull/7485

Local testing confirmed that locally packaging the extension on Window and installing it allows to select either the CUDA or OpenCL backend before starting Autoscoper.

Considering that local testing confirmed that Autoscoper built on Windows with either with the CUDA or OpenCL rendering backend could be executed from an installed SlicerAutoscoperM extension,  I am moving forward with the integration :rocket: :white_check_mark:
cc: @amymmorton @bpaniagua @NicerNewerCar

repo: BrownBiomechanics/SlicerAutoscoperM


text:
Browser Compatibility: FireFox

It appears the major issue is related to text, but this issue is to make sure everything looks as good under FF as in any other Browser

Selection Currently Failing.  See "Interactive linked state charts" on wiki.  Selection works 1st time only.

The selection failing was actually a text issue also -- it starts doing the selection, draws one text items and then dies. On investigation FF apparently straight up does not support getting bounding boxes of text spans, instead replacing the method with one that throws an error. Checking in a  change that works around that issue.

authors: danrope grahamwills

repo: Brunel-Visualization/Brunel


text:
Wrapper width show part of the second option in Edge

Hello guys, thank you for you work.
If you open the demo fiddle of yours on microsoft edge: https://jsfiddle.net/djibe89/vL87w0j8/ and go to the "Checked by default, secondary color when toggled, grey when idle." part, click on the bootstrap-swicth with the magenta "ON". You will see a small magenta border on the right.
Remember to check it out with Microsoft Edge.

I've made a workaround in "value: function _width() {", I think that you could do better.
{
      key: '_width',
      value: function _width() {
        var _this2 = this;

        var $handles = this.$on.add(this.$off).add(this.$label).css('width', '');
        var handleWidth = this.options.handleWidth === 'auto' ? Math.round(Math.max(this.$on.width(), this.$off.width())) : this.options.handleWidth;
        $handles.width(handleWidth);
        this.$label.width(function (index, width) {
          if (_this2.options.labelWidth !== 'auto') {
            return _this2.options.labelWidth;
          }
          if (width < handleWidth) {
            return handleWidth;
          }
          return width;
        });
        this._handleWidth = this.$on.outerWidth();
        this._labelWidth = this.$label.outerWidth();
        this.$container.width(this._handleWidth * 2 + this._labelWidth);
        return this.$wrapper.width((this._handleWidth + this._labelWidth)-2); //just stripe two pixels
      }
    }

This can be seen in Chrome, too.

authors: FleaFieldy john-larson

repo: Bttstrp/bootstrap-switch