2.12.0: :jmock-imposters is having a dependency on net.bytebuddy:byte-buddy with compile scope instead of test ??

I have a pom with a that has a dependency on a sub-module with scope test:
    <dependency>
      <groupId>au.com.companyX</groupId>
      <artifactId>au.com.companyX.libs.test</artifactId>
      <version>${project.parent.version}</version>
      <type>pom</type>
      <scope>test</scope>
    </dependency>

This sub-module then declares a dependency on org.jmock ( without specifying test scope as it was already declared in the previous pom ):
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <artifactId>au.com.companyX.libs.test</artifactId>
  <packaging>pom</packaging>

  // ... snip ....
    <dependency>
      <groupId>org.jmock</groupId>
      <artifactId>jmock-junit4</artifactId>
      <version>2.12.0</version>
    </dependency>
  // ... snip ....
</project>

When doing a mvn dependency, the net.bytebuddy shows up with a scope of compile:
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ x.x.x.x ---
[INFO] x.x.x.x:jar:3.0.0
[INFO] \- au.com.companyX:au.com.companyX.libs.test:pom:3.0.0:test
[INFO]    \- org.jmock:jmock-junit4:jar:2.12.0:test
[INFO]       \- org.jmock:jmock-imposters:jar:2.12.0:test
[INFO]          \- net.bytebuddy:byte-buddy:jar:1.9.12:compile

This in turn causes the net.bytebuddy artifact to be included in our generated EARs / WARs.

Never mind ... found the issue. Another artifact was having a compile dependency on net.bytebuddy which causes the test scope to change to compile scope for the above.


Run go tidy on examples

Also check in script to make this easier.

I also added a script examples/tidy-examples.sh to automate the tidying. If you don't want that lmk and I'll remove it.

This looks good, thank you, and the script is better than the one liner I did in the past :)


Image is not uploading instead it returns only an alret having  "true" written on it

Hi,
Every one Please guide me how to upload image in editor , I have tried all the options it is not uploading  please guide and help
Thanks

This might help (Tested on windows only):
enable this extension by removing "; " from the php.ini file and restart Xampp
;extension=php_fileinfo.dll   to  extension=php_fileinfo.dll
Screenshot : http://prntscr.com/btnpcg
I have debug the issue and that gave me this info. After enabling it work for me. Hope this help someone.

Thank you for your answer.

It may be the urlManager, just disable urlManger and it'll automatically work as expected.

@tav4u I think you are right, I saw a "301 Moved Permanently" message after uploading. If comment EnablePrettyUr inl urlManager, it works fine.
But, I added your rule , it still can't work.

i also meet this issue :)

I also face the same difficulty. @tav4u where do i find urlManager class ??

i have also same problem, any solution ,plz help
thank


Should be able to hit 'Control+Enter' to complete adding a record to a queue

Is your feature request related to a problem? Please describe.
When I add a queue message, I have to click 'OK' to complete adding it.  I'd like a keyboard shortcut
Describe the solution you'd like
A common shortcut is control+enter to enter and submit the current page in a form!  Today, it just adds a line break, just like how shift+enter.
Describe alternatives you've considered
Any kind of shortcut is good!

Let's consider doing this for dialogs in general.

Also, check if there is a difference in this shortcut for Mac vs Win.


[BUG] Untranslated strings show translation key

Version
Card Wallet 1.0.2 (build 4)
What platform are you using?
Android
OS Version
Oneplus 7T
Android 12
What happened?
Untranslated strings show up as translation keys instead of using English as a fallback. See this example using Dutch:

Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@flipflop97 it is because dutch translation is not finished.
You can contribute here https://hosted.weblate.org/projects/oss-document-scanner/#languages

Yes I know, that translation came from me, I hope to finish it soon 😄
The issue is that the app will never always be fully translated in all languages, so there will always be some strings that are untranslated. Right now these strings show up as placeholders to users, meaning they can't read the text there at all. Pretty much all other apps solve this problem by falling back to the original/English string if a translation isn't found. This way users can still read what is being said, albeit in English (everything is in English anyway if a translation doesn't exist at all).

@flipflop97 OK I understand . will see what I can do and try to add English fallback.

@flipflop97 should now be fixed

Thanks!


fix: qwikVite transforming id's with ?raw

Bug in either vite or how we handle the transform of ?raw. Prevents ?raw imports from being transformed w/ qwikVite

What is it?

[ ] Feature / enhancement
[ ] Bug
[ ] Docs / tests / types / typos
[ ] Infra

Description

Checklist:

[ ] My code follows the developer guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have ran pnpm change and documented my changes
[ ] I have made corresponding changes to the Qwik docs
[ ] Added new tests to cover the fix / functionality

We might want to change/remove the logic that transforms those ?raw in the first place @wmertens

Also this bug might be happening with other import formats such as ?jsx, etc.


RuneLite Crashing - ERROR client-patch - Client error: null

Type
Crash or hang
Operating System
Windows
OS Version
Windows 10 Home Version	10.0.19044 Build 19044
Bug description
RuneLite has been crashing often lately, often once a day or every couple of days. Unfortunately I didn't think to take a screenshot of the crash message but it mentioned Java. I updated to the latest version of Java a few days ago but it is still crashing.
It has crashed twice today, both times within an hour of launching RuneLite (I was in nightmare zone).
Excerpt from end of most recent client.log where things seem to be messing up:
2022-10-01 16:08:52 [RuneLite] INFO  net.runelite.client.RuneLite - Client initialization took 6573ms. Uptime: 8431ms
2022-10-01 16:08:52 [AWT-EventQueue-0] INFO  net.runelite.client.ui.ClientUI - Showing frame net.runelite.client.ui.ContainableFrame[frame0,-8,-8,1936x1066,invalid,layout=java.awt.BorderLayout,title=RuneLite,resizable,maximized,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=javax.swing.JRootPane[,8,36,1920x1022,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
2022-10-01 16:08:52 [Client] INFO  n.r.client.plugins.gpu.GpuPlugin - Using device: NVIDIA GeForce RTX 2060/PCIe/SSE2
2022-10-01 16:08:52 [Client] INFO  n.r.client.plugins.gpu.GpuPlugin - Using driver: 4.6.0 NVIDIA 516.94
2022-10-01 16:38:02 [Client] ERROR client-patch - Client error: null
java.lang.NullPointerException: null
	at ov.fa(ov.java:11)
	at lc.p(lc.java:28)
	at gp.ax(gp.java:1179)
	at gp.um(gp.java)
	at gp.fj(gp.java:9472)
	at cz.hi(cz.java:4459)
	at bl.ju(bl.java:9883)
	at bl.ju(bl.java:9914)
	at ga.jy(ga.java:9772)
	at client.gh(client.java:4313)
	at client.as(client.java:1117)
	at ai.e(ai.java:364)
	at ai.run(ai.java:318)
	at java.base/java.lang.Thread.run(Unknown Source)

Screenshots or videos
No response
RuneLite version
RuneLite version <IP_ADDRESS>
Oldschool revision 208
Launcher version 2.1.3
I also just started testing Runelite in safe mode to see if the problem persists, has not crashed yet in 1.5 hours of playing.
Logs
Most Recent (Two crashes today):
client.log
launcher.log
Other Recent:
jvm_crash_pid_12364.log
client_2022-09-30.0.log
launcher_2022-09-30.0.log

Running RuneLite in safe mode seems to fix the issue. Played the game for about 3 hours earlier without crashes

Hi Adam, I mentioned running RuneLite in safe mode but obviously that isn't a good long-term solution. If you know something that made you decide to close the issue, can you tell me please? The issue is still there. I'm just trying to fix my game. Thanks.

If it works in safe mode, then it means the problem is with a 3rd party plugin you've installed. This is not my problem, and so the issue is closed. If you can show the problem is with core RuneLite, I will gladly reopen.


Remove unneeded torchvision/audio deps

Stack from ghstack (oldest at bottom):

-> #250

Can this PR be landed?

sorry, landing now


AttributeError: 'NoneType' object has no attribute 'start_logit'

In the run_squad2 example notebook, the write_predictions method fails because best_non_null_entry is None
Evaluating: 100%|███████████████████████████| 1529/1529 [05:12<00:00,  4.88it/s]
01/18/2019 21:42:28 - INFO - __main__ -   Writing predictions to: ./models/squad2/predictions.json
01/18/2019 21:42:28 - INFO - __main__ -   Writing nbest to: ./models/squad2/nbest_predictions.json
Traceback (most recent call last):
  File "run_squad2.py", line 1075, in <module>
    main()
  File "run_squad2.py", line 1071, in main
    output_nbest_file, output_null_log_odds_file, args.verbose_logging, True, args.null_score_diff_threshold)
  File "run_squad2.py", line 612, in write_predictions
    score_diff = score_null - best_non_null_entry.start_logit - (
AttributeError: 'NoneType' object has no attribute 'start_logit'

Closing since there is no recent activity. Feel free to re-open if needed.

I ran into the same issue. Any pointers on how I could triage this further?

@thomwolf sorry, was busy with something else. Will post a self-sufficient example and possibly a PR with the fix soon.

=============================================================================================================================================================================
Reinstalling:
subscription-manager-rhsm                          x86_64                          1.20.10-7.el6                          rhel-6-server-rpms                          285 k
Transaction Summary
Reinstall     1 Package(s)
Total size: 285 k
Installed size: 379 k
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 298, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 227, in main
return_code = base.doTransaction()
File "/usr/share/yum-cli/cli.py", line 547, in doTransaction
testcb = RPMTransaction(self, test=True)
File "/usr/lib/python2.6/site-packages/yum/rpmtrans.py", line 198, in init
self._setupOutputLogging(base.conf.rpmverbosity)
File "/usr/lib/python2.6/site-packages/yum/rpmtrans.py", line 225, in _setupOutputLogging
self.base.ts.ts.scriptFd = self._writepipe.fileno()
AttributeError: 'NoneType' object has no attribute 'scriptFd'
Uploading Enabled Repositories Report
Loaded plugins: product-id, rhnplugin, subscription-manager
Loaded plugins: product-id, rhnplugin, subscription-manager
Loaded plugins: product-id, rhnplugin, subscription-manager
Loaded plugins: product-id, rhnplugin, subscription-manager
Loaded plugins: product-id, rhnplugin, subscription-manager

--> Running transaction check
---> Package glibc-headers.x86_64 0:2.12-1.212.el6 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.212.el6.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.212.el6.x86_64
---> Package irqbalance.x86_64 2:1.0.7-9.el6 will be an update
--> Processing Dependency: kernel >= 2.6.32-358.2.1 for package: 2:irqbalance-1.0.7-9.el6.x86_64
--> Finished Dependency Resolution
Error: Package: 2:irqbalance-1.0.7-9.el6.x86_64 (rhel-6-server-rpms)
Requires: kernel >= 2.6.32-358.2.1
Installed: kernel-2.6.32-131.0.15.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201105101844.x86_64/6.1)
kernel = 2.6.32-131.0.15.el6
kernel = 2.6.32-131.0.15.el6
Error: Package: glibc-headers-2.12-1.212.el6.x86_64 (rhel-6-server-rpms)
Requires: kernel-headers >= 2.2.1
Error: Package: glibc-headers-2.12-1.212.el6.x86_64 (rhel-6-server-rpms)
Requires: kernel-headers
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Uploading Enabled Repositories Report


[Feature Request] Better management of saved sets

Was wondering if it would be possible to individually manage the saved sets. Even being able to export a list, manually edit them, and then reimport the list would work. Having it be an all or nothing makes it rough when your thinking/crafting a lot of sets at once, the list can get junked up pretty quickly, especially on mobile which is my primary use case.
A secondary request would be the ability to copy a set from a paste and run calcs against it without saving it, but the first half would solve this issue I think. This would just be a QOL addition to avoid deleting sets after the fact, but if it's easier than the first, I think would also be hugely beneficial in the theorycrafting stage of team building.

Managing sets as in-depth and you're asking would take me a while to get to. There is some support for editing individual sets currently, albeit a bit clunky: if you use "Save Calc Set" and change "My Calc Set" to the set's name, it'll update the old set with whatever changes you've added.

Well, a year and a half later and I've added functionality for this. Just load in a saved set and you should see a button to delete the set by the Export Set button. https://github.com/nerd-of-now/NCP-VGC-Damage-Calculator/commit/29628a016891b1aab07af21eb8bdfd5590296142


Python library

Would be very cool if you could offer this as a Python library, so Midjourney images can be generated inside Python programs.

What's wrong with Golang? Give it a try, you might like it! 😉


Custom Log Field for Setting the Path Type to Linux

Is there a specific field to call out in the JSON for setting the custom log Path Type to Linux?
By default when deploying this it is set to Windows, but would like to avoid manually going in and having to change this after deployment.
It would also benefit to include the "Enable-AzOperationalInsightsLinuxCustomLogCollection -ResourceGroupName $ResourceGroup -WorkspaceName $WorkspaceName" command otherwise the custom log collection wont apply to Linux VMs.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fb75e535-de4f-e730-4dfb-dfc160386f45
Version Independent ID: 6b355634-913c-65e4-62fa-a51cfeff143a
Content: Use PowerShell to Create and Configure a Log Analytics Workspace
Content Source: articles/azure-monitor/platform/powershell-workspace-configuration.md
Service: log-analytics
GitHub Login: @richrundmsft
Microsoft Alias: richrund

@bwren and @MeirMen - can you follow up on this issue?

#label:"TriagedFeb2021"

Cleaning up some old issues. This article has actually been replaced.
#please-close


Documentation on Optionselect is lacking

What are proper ways to implement optionselect? I can't figure out a working manner

Having the same issue and was wanting to try it. I want a likert-scale style selection and just trying to work out if it is possible! 👍

@MLucien Check the Java source file: https://github.com/heinrichreimer/material-singleinputform/blob/master/library/src/main/java/com/heinrichreimersoftware/singleinputform/steps/OptionStep.java
@Leepee Well, you can implement custom step types by extending Step.
SeekBarStep does exactly that: https://github.com/heinrichreimer/material-singleinputform/blob/master/library/src/main/java/com/heinrichreimersoftware/singleinputform/steps/SeekBarStep.java


Zero balance on transfer page

What happened?
The transfer page shows zero balance.
It only happened on https://canary.kodadot.xyz/transfer, while it works well on beta env.
canary env:

beta env:

Please reproduce in steps
open https://canary.kodadot.xyz/transfer
Expected Behavior
show correct balance
What browsers are you seeing the problem on?
No response
At which address did you encounter bug?
canary.kodadot.xyz
Are you logged in?
Yes
Which wallet you are using?
PolkadotJS
At which chain did you encounter bug?
Kusama
Screenshots
x
Relevant log output
No response
Payment link for reward
https://kodadot.xyz/transfer/?target=<My_Kusama_Address_check_https://github.com/kodadot/nft-gallery/blob/main/CONTRIBUTING.md#creating-your-ksm-address>
Code of Conduct

[X] I agree to follow this project's Code of Conduct

It seems works on canary now : )


Enable client side routing

What kind of change does this PR introduce?
Feature
What is the current behaviour?
#15
What is the new behaviour?
Enhance mocked router to catch Router.push and Router.replace calls and update router object according to the target URL of the aforementioned calls.
Wrap render returned page element through a (temporarily named) NavigationOrchestrator which listen to mocked route changes and requests a new page element generation when the case.
Does this PR introduce a breaking change?
Not really. The only change consists of the fact that firing Link click events or calling Router.push/Router.replace methods will cause the page to re-render with the target page corresponding to the target route.
Other information:
Please check if the PR fulfills these requirements:

[X] Tests for the changes have been added
[] Docs have been added / updated

Coverage remained the same at 100.0% when pulling 887921cff44f730dbe799347d9d806e320dcc126 on client-side-routing into 1576c97f55f455dd2e757105448ae11fcf2614e6 on master.


jcef doesn't show in 2023.2 EAP

see youtrack issue
https://youtrack.jetbrains.com/issue/IDEA-324414/jcef-browser-doesnt-show-at-all-on-2023.2-EAP-works-fine-with-2023.1.3

jcef now shows in 2023.2 beta installed , but not in development instance.

fixed by registering schema handler factory after browser created
            var lifeSpanHandler = new CefLifeSpanHandlerAdapter() {
                @Override
                public void onAfterCreated(CefBrowser browser) {
                    registerAppSchemeHandler(project);
                }
            };

            jbCefBrowser.getJBCefClient().addLifeSpanHandler(lifeSpanHandler, jbCefBrowser.getCefBrowser());


Support withdrawal/deposit to/from Bitcoin legacy address

Zetachain currently only support deposit thru Bigcoin SegWit transaction. A a wider range of transaction types need to be supported in future.

@ws4charlie let's make a PR to develop and then we can close this one


Error when uploading config with <IP_ADDRESS> beta

Reported in the discord by user jaelee105. The attached configuration loaded without error in 9.1 but results in an upload error with the new firmware beta:
2021-11-16 오후 7:04:30(468): ExecutionManager.autoConnectTimer_Tick(): No Sim running
2021-11-16 오후 7:04:23(938): Error on Uploading.
2021-11-16 오후 7:04:21(932): Uploading config (Part): 1.53.L1:1.52.R1:1.51.L2:1.50.R2:1.49.L3:1.48.R3:1.47.L4:1.46.R4:1.45.L5:1.44.R5:1.43.L6:1.42.R6:
2021-11-16 오후 7:04:21(901): Reset config: 13

FMC1.zip
This is on a Mega ch340.

This was fixed with https://github.com/MobiFlight/MobiFlight-Connector/issues/568


Add support for CC="gcc --option ..." again

If $rake_root_fiber is used, sh runs command in another Fiber. If
command is ran in another Fiber, "rescue RuntimEerror" can't rescue
exception for system(...) failure.
How to reproduce:
$ CC="gcc -std=gnu99" ./minirake
(in /home/kou/work/ruby/mruby.kou)
CC    mrbgems/mruby-compiler/core/codegen.c -> build/test/mrbgems/mruby-compiler/core/codegen.o
sh: 1: gcc -std=gnu99: not found
rake aborted!
Command Failed: ["gcc -std=gnu99" -g -std=gnu99 ...]

Does this change prevent commands from running in parallel?

@shuujii you are right. I will fix the issue in a different way.

Oh, sorry.


Progress report for the Storage commands (upload and download)

Description
Could we implement progress report for the Storage commands for uploading/downloading single file?
https://github.com/Azure/azure-storage-python/blob/717f616809c82b6cbf3e258f3d94303e6fabe411/azure/storage/file/_upload_chunking.py

Environment summary
Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Answer here:
CLI Version: What version of the CLI and modules are installed? (Use az --version)
Answer here:
OS Version: What OS and version are you using?
Answer here:
Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Answer here:

https://github.com/Azure/azure-cli/issues/4744


Day172

Resolves #358.

Pull Request Test Coverage Report for Build 661

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 668:
0.0%

Covered Lines:
5

Relevant Lines:
5

💛  - Coveralls

Pull Request Test Coverage Report for Build 670

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 668:
0.0%

Covered Lines:
5

Relevant Lines:
5

💛  - Coveralls


npm run serve 报错

0% compiling ERROR  TypeError: Cannot read property 'get' of undefined

fatal: not a git repository (or any of the parent directories): .git
VUE_APP_PREVIEW true
INFO  Starting development server...
0% compiling ERROR  TypeError: Cannot read property 'get' of undefined

使用 git clone https://github.com/vueComponent/ant-design-vue-pro.git 拉代码把

fatal: unable to access 'https://github.com/vueComponent/ant-design-vue-pro.git/': OpenSSL SSL_read: Connection was reset, errno 10054

问题解决了


Backslash is not necessary when multi-line expression is parenthesized.

Thanks for contributing to Wagtail! 🎉
Before submitting, please review the contributor guidelines http://docs.wagtail.io/en/latest/contributing/index.html and check the following:

Do the tests still pass? (http://docs.wagtail.io/en/latest/contributing/developing.html#testing)
Does the code comply with the style guide? (Run make lint from the Wagtail root)
For Python changes: Have you added tests to cover the new/fixed behaviour?
For new features: Has the documentation been updated accordingly?

Thanks @emorozov!


Scoop list doesn't show applications on hold

There was an asterisk * indicating apps on hold and now it is gone.

They are "hidden" in those spaces between version number and bucket name (e.g. adb 30.0.5 and main)

They are "hidden" in those spaces between version number and bucket name (e.g. adb 30.0.5 and main)

Do you mean more than one space between version number and bucket name indicates the app is on hold? That's what I can observe in my list.
Could this status not be made explicit? Like
adb 30.0.5 *hold* [main]

instead of
adb 30.0.5        [main]

@h0lg No, the actual reason is the color of *hold* is the same as your terminal background color, therefore you can't see it. Changing to another color scheme may help.

@chawyehsu I see now. Just copied the output from my PS using the default theme and pasted it into an editor. Maybe the font color choice for this status is not the best then? Also, what a weird coincidence that it uses the exact same syntax as my random an manually typed (!) proposal above.

I believe this should work well for the default PS theme. But it is not.


[IconButton] want tooltipStyle props

Hi all,
I'd like to override styles for tooltip in IconButton component for example width, whiteSpace etc...
Hopefully It will be added tooltipStyle props like iconStyle.
I saw this page http://material-ui.com/#/customization/inline-styles then I found

If you need to override the inline styles of an element nested deep within a component and there is not a style property available to do so, please submit an issue requesting to have one added.

:)
Thank you so much

@fuzzy31u #1010 I added a pull request for you. It will allow you to pass styles to tooltip now, but be careful with some such as passing a background color or size changes because ripple will not change to match modifications...

Thank you I am glad to hear that.
Ok I will try it as you say.
Thanks for your quickly response :)

No problem :)

Thanks guys - Fixed with #1010


Inference Code

Amazing paper!
The method proposed is absolutely interesting in human 3d mesh reconstruction field (especially for the shape regression).
Could you provide the inference code to see how it performs on in-the-wild images?

Hi, thanks for your interest.
The inference code is released, and image or video input are both supported! Any issues and suggestions are welcome. 😃


AVM - Feature Request: Update Set-AVMModule utility to include local (child) references and link to their corresponding readme's

The cross-module references section ideally not only shows cross-module references outside of the module's scope, but also local child module references and link in either case to their corresponding readme:

This would enable users to understand what properties a linked/referenced module supports (even without User-defined types).
The catch

If we link, we'd need to 'guess' what the to-be module tag for the current module would be. For linked module's it's easier as we already know the explicit reference.

I'd suggest to split in 2 issues and implement in 2 different PRs.

Adding the link to cross referenced modules
Extend the section with child modules (should be designed before being implemented)

That would certainly make #1 'faster' to implement. Can't argue with that @eriqua. I'll update the description accordingly. I think one issue for 2 PRs is still fine


Shorthand hex code is not converted correct

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
It seems there is an issue when using shorthand hex code, e.g. #F00 and saving the value using toHEXA() where the value becomes #F00F00. Maybe it is also an issue with the other functions toCMYK(), toHSLA(), toHSVA(), toRGBA.
It doesn't seem to be an issue with shorthand hex codes like #000 or #333.
If the current behavior is a bug, please provide the steps to reproduce and create a JSFiddle.
Check the linked JSFiddle and see the console log when clicking save button.
What is the expected behavior?
When using the shorthand code I would expect e.g. that #F00 is converted to #FF0000.
https://www.colorhexa.com/ff0000
Off topic: Should defaultRepresentation the value HEXA as the color picker shows? It could accept both HEXA and the existing value HEX (or is it a typo in the docs?) https://github.com/Simonwep/pickr#options
The interaction however has a hex (not hexa) property.
Your environment:
Version (see Pickr.version): 1.0.0
Used bundle (es5 or normal one): normal
Used theme (default is classic): classic
Browser-version: Google Chrome Version 75.0.3770.90
Operating-system: Windows 10

Woah thanks, fixed in a5234f48b10e0441a4e31022daea57fbe15e466d... damn - the affected code is like ~30 versions old :suspect:
Regarding defaultRepresentation, yes this is by purpose. There where some backwards compatibility issues where an a if missing get's automatically autocompleted... see #83 - there was another issue but I cannot find it anymore where the change from HEX to HEXA (since it was indeed hex with alpha) caused issues :/
If the alpha value is FF it won't be displayed since most software got full opacity as default (I hope)


Error 'token used before issued'

I cannot seem to reproduce this all the time, but here's what happened.

Create $TOKEN
Start daemon converge server --rpc-addr <IP_ADDRESS>:4774 --rpc-token $TOKEN
From the client run converge plan --rpc-token XXX --rpc-addr <IP_ADDRESS>:4774 /usr/local/converge/source/os.hcl

timestamp="2017-06-08T12:35:12+01:00" level="WARN" msg="skipping module verification" component="client"
timestamp="2017-06-08T12:35:12+01:00" level="FATAL" msg="could not get responses" component="client" error="error getting status response: rpc error: code = 2desc = Token used before issued" file="/usr/local/converge/source/os.hcl"

Restarting the daemon or changing the token didn't help. Didn't work for good part of the day and suddenly started working again without any changes. Strange indeed.
PS: There is no documentation about config file. Not sure if there is something else needed.

Thanks for submitting this.  We've run into this before and it looks like it might be a regression or only partially resolved heisenbug.

@rebeccaskinner Is there a temporary solution for this? It's a random blocker 🤕


Web - Chat - If you navigate the emoji list with arrow key, error appears in the console

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to https://staging.new.expensify.com/
Login with any account
Go to any chat
Click on the emoji picker button
Navigate the emoji list with arrow key on the right column

Expected Result:
Nothing should happen.
Actual Result:
When the last emoji is reached, an error appears in the console.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Web / Chrome

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/210022122-223cc69e-14c5-4b0a-a751-36451d0faecf.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Unable to repro on Chrome staging. Neither on Firefox or in desktop app.
@kbecciv are you on a mac or PC?
Anything else I might be doing wrong?  The end of my emoji list is flags.

I can't reproduce this either so I will close this.

Tester was using Windows/Chrome

Trying to find a BZ who has access to windows https://expensify.slack.com/archives/C01SKUP7QR0/p1673462066278179


option -f and --from-code= do not seem to work

Hello idigdoug,
I have started using wargs for batch conversions on Windows 10 64 bits (along with voidtools everything to do list of files).
It works fine for me (thanks) except the encoding option (required for accentuated characters):
>wargs -f utf8 wargs: error : Unrecognized short argument 'f' in '-f' wargs: error : Invalid command-line. Use 'wargs --help' for more information.
Same for --from-code.
As a workaround, I use wconv -f utf8 | wargs  which works fine.
No big deal but I thought I would let you know.
Thanks for your software
Philippe

Fixed with release v1.0.2.


Update faster_rcnn.py

Add 'import torch' in example

Codecov Report

Merging #979 into master will increase coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #979      +/-   ##
==========================================
+ Coverage    61.1%   61.16%   +0.05%
==========================================
  Files          65       65
  Lines        5091     5091
  Branches      764      764
==========================================
+ Hits         3111     3114       +3
+ Misses       1769     1767       -2
+ Partials      211      210       -1

Impacted Files
Coverage Δ

torchvision/models/detection/faster_rcnn.py
74.39% <ø> (ø)
:arrow_up:

torchvision/transforms/transforms.py
82.54% <0%> (+0.64%)
:arrow_up:

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 47db963...cc92c0b. Read the comment docs.


Resolve issues with unit endpoint duplication

🛠 Changelog

Fixes issues with some unit endpoint filters resulting in duplicate units

🧪 Test plan

Automated tests

🚧 Dependencies

None

🎫 Tickets

TILA-3431

/fast-forward


Node-red project support

I was trying to get this working in project mode. It seems this currently doesn't support project (from the error logs).
Can we get support for projects?

That's right, projects are not supported. It would be much more difficult to adapt and maintain and I can't afford it at this time, sorry. As an alternative consider raising the request with the Node-RED team (this would solve the long-term maintenance problem).

Hmmm unfortunately, I see what you mean 😓 I thought that applying to the projects feature would just be tracking from a different directory, but it looks like it's quite intertwined in their built in storage module.
It's such a shame considering HOW much the projects feature would benefit from this storage module. Like I don't get why the projects feature exists without this (*screams into void*)


@WeaveInto

Functional Changes:
Added @WeaveInto annotation to generify BladeWeaver.
Instead of it looking specifically for [ClassName]_Helper classes, now it will look for @WeaveInto annotations and weave them instead.
@WeaveInto has a target field which is the intoClass that BladeWeaver will weave the class into.
This allows for multiple classes to be 'woven' into the same class.
Blade modules have been adjusted to accommodate the change and their tests updated also.
The HelperClassBuilder now adds this annotation so works as it did before.
Resolved Issue(s):
There was one issue which I noticed while developing my side library that uses BladeWeaver where the ordering of the weaving mattered due to the hierarchy of the classes. (Only on older devices, was noticed on Android versions 5.1.1 and 6.0)
To resolve this issue the BladeWeaver orders the weaved classes by their intoClass superclass count so that when super calls are generated they are always calling the correct function.
There was another issue I noticed while running the tests on Windows where the getName call on the JavaFileObject was returning incorrect separators. I have added a line so that tests will run successfully on Windows.  (JavaFile.groovy - .replace("/", "."))

I'll look into it. I hope it can be done inside the plugin without the need for an additional annotation.


Video_player: Bad state: Future already completed

I player a video with same Url. it can play in android but I get error in iPhone with below stack trace.
Please help me resolve it.
thanks
Bad state: Future already completed
------- STACK TRACE -------
_AsyncCompleter.complete (dart:async/future_impl.dart:39:31)
VideoPlayerController.initialize.eventListener (package:video_player/video_player.dart:239:33)
_rootRunUnary (dart:async/zone.dart:1132:38)
_CustomZone.runUnary (dart:async/zone.dart:1029:19)
_CustomZone.runUnaryGuarded (dart:async/zone.dart:931:7)
_BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11)
_DelayedData.perform (dart:async/stream_impl.dart:591:14)
_StreamImplEvents.handleNext (dart:async/stream_impl.dart:707:11)
_PendingEvents.schedule. (dart:async/stream_impl.dart:667:7)
_rootRun (dart:async/zone.dart:1120:38)
_CustomZone.run (dart:async/zone.dart:1021:19)
_CustomZone.runGuarded (dart:async/zone.dart:923:7)
_CustomZone.bindCallbackGuarded. (dart:async/zone.dart:963:23)
_rootRun (dart:async/zone.dart:1124:13)
_CustomZone.run (dart:async/zone.dart:1021:19)
_CustomZone.runGuarded (dart:async/zone.dart:923:7)
_CustomZone.bindCallbackGuarded. (dart:async/zone.dart:963:23)
_microtaskLoop (dart:async/schedule_microtask.dart:41:21)
_startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)

Hi @manhnt79 , we don't really have enough information here to help you. Please include the output of flutter doctor -v, the version of the video player plugin you are using, and if possible a small sample that reproduces the issue.

https://github.com/flutter/plugins/pull/1174 contains a fix for this

Here are more information for my issue.
macs-MacBook-Air:addins mac$ flutter doctor -v
[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.13.6 17G65, locale en-US)
• Flutter version 1.2.1 at /Users/mac/Downloads/flutter
• Framework revision 8661d8aecd (6 weeks ago), 2019-02-14 19:19:53 -0800
• Engine revision 3757390fa4
• Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/mac/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 1.9.4
• CocoaPods version 1.7.0.beta.1
[✓] Android Studio (version 3.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 33.3.1
• Dart plugin version 182.5215
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
[✓] VS Code (version 1.32.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.21.1
[✓] Connected device (2 available)
• Android SDK built for x86 64 • emulator-5554                            • android-x64 •
Android 9 (API 28) (emulator)
• iPhone của Tomo              • 074eed5de8d693db88b1bd34ab795a970c322df5 • ios         • iOS
12.1.2

I have the same problem, it looks like the video controller gets the initialized event 2 times, and tries to complete the initializingCompleter a second time

I have the same problem. I am trying to show multiple videos in a list view. I am only getting this error on iOS.

Duplicate of https://github.com/flutter/flutter/issues/19197

This should be addressed in version: 0.10.0+8 by this PR: https://github.com/flutter/plugins/pull/1552/ please re-open this if it's still an issue. Thanks!


added --pure-lockfile option to yarn

bosco morning runs yarn and this may update some dependency, generating a new yarn.lock.
Next time bosco morning won't pull any change because there are unstaged changes (the lockfile).
This proposed change avoids creating lockfile from bosco.
As an alternative we could run it "--production" instead.
@tomruttle please chime in

Coverage remained the same at 21.46% when pulling e3256f255c345788cb88e971c3a73e8697618e53 on yarn-no-lockfile into 898c08f017069700f24c2af7970e1bcb2e57ebc0 on master.


Figure out why write speed degrades when writing increasingly large datasets

See also https://support.hdfgroup.org/HDF5/faq/perfissues.html

Repro case: write a dataset for many items (different_shape::property).


Correction for raw affiliation INRA, UMR LISAH INRA – IRD – SupAgro, 2 place Viala, 34060 Montpellier Cedex 1, France

Correction needed for raw affiliation INRA, UMR LISAH INRA – IRD – SupAgro, 2 place Viala, 34060 Montpellier Cedex 1, France
raw_affiliation_name: INRA, UMR LISAH INRA – IRD – SupAgro, 2 place Viala, 34060 Montpellier Cedex 1, France
new_rors: 03rnk6m14;05q3vnk25;05deqk823
previous_rors: 03rnk6m14;05q3vnk25
works_examples: W2038425563
contact: 9cc7832f10fb21ad2f43be876cc95313:0fa01d738bf450373dbb7915aa442ba6479b @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-18. The new affiliations should be visible within the next 7 days.


Should be we asking about ptf/def or "Bryce or Bob" for who pays what?

On the screens themselves, we mention the names of people, but on the review screen, if someone switches the sides of the case, we then have to ask the two other questions so everything aligns. It might make more sense to just fully decouple everything, but I'm not sure.

Depending on how much of a nightmare if would be to decouple everything, you could just keep it simple and not give the user the option to change their party. Or, give them the opportunity to change it early on, but once they confirm that they made the correct choice, they are stuck with it.
I think Emily did something like that on the motion tool.


Add capability of removing an injection

Maybe there are some use case where the users would like to remove an injection to replace it with another instance.
Since when we call MilkContext#inject() twice for same injectable class it throw an exception, maybe we can create something like MilkContext#remove(Class<?>); to remove the injectable before adding a new instance.
For instance:
class Foo{
}

Foo foo1 = new Foo();
Foo foo2 = new Foo();

MilkContext context = new MilkContext();
context.inject(foo1, Foo.class);

// context.inject(foo2, Foo.class); will throw an exception, because we cannot inject twice.

context.remove(Foo.class);
context.inject(foo2, Foo.class);

resolved by #2


Temp files being left over

Hi,
I'm noticing some temp files being left over when running copier
Typically under windows under the C:\Users\username\AppData\Local\Temp directory
such as copier.vcs.clone.sxn86nzf
I'm running copier using a template that's located on the disk as a directory
But I'm noticing it only happens for templates / directories that are setup as a git repo.
If there's no .git sub-directory inside the template directory then no temp directory is created (I'm guessing since it doesn't have to check the git tags)
Is this expected behaviour? or should copier be cleaning up it's temp dirs after running?
Environment

OS: Windows
Copier version: 6.1.0
Python version: 3.9.13
Installation method: pipx+pypi,

We've seen issues with temporary directories on Windows before.

https://github.com/copier-org/copier/issues/345
https://github.com/copier-org/copier/blob/8ab7bd0845b06a0259549d6c4c2e61b8c632746a/copier/tools.py#L153

Maybe some other places in the code need to use the custom TemporaryDirectory class.

It happens on Linux too.

Hey @yajo, I'm wondering how this could be resolved. I've checked the code and it seems we should try to remove the worker.template.local_abspath once the copy or update is done. Should we simply do that in the run_update and run_copy functions in in main.py? Or should transform the worker into a context manager?
    with Worker(dst_path=Path(dst_path), **kwargs) as worker:
        worker.run_update()

Then the worker class can have an __exit__ method that takes care of cleaning everything up?


Error message every time I open a file with an installed language server

nvim --version:
NVIM v0.5.0-dev+nightly
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/bin/clang -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNDEBUG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/tmp/neovim-20201210-50061-7it2db/build/config -I/tmp/neovim-20201210-50061-7it2db/src -I/usr/local/include -I/tmp/neovim-20201210-50061-7it2db/deps-build/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include -I/usr/local/opt/gettext/include -I/tmp/neovim-20201210-50061-7it2db/build/src/nvim/auto -I/tmp/neovim-20201210-50061-7it2db/build/include

nvim-lsp version(commit hash):
Not sure how to generate this but I did a :PlugUpdate 2020-01-24 and the error is still occurring.

What language server (If the problem is related to a specific language server):
(seems to happen with all of them)
Configured servers: clangd, rnix, texlab, bashls, vimls, fortls, r_language_server, jedi_language_server

Can you reproduce this behavior on other language server clients (vscode, languageclient-neovim, coc.nvim, etc.):
No

Can you reproduce this behavior on other language servers offered in the nvim-lspconfig repo? (pyls -> pyright):
Yes, all LSs seem to be effected.

Is the problem isolated to a particular language server:
No.

Operating system/version:
macOS Big Sur 11.1

How to reproduce the problem from neovim startup
Open any file that has an installed LS in Neovim. An error message appears in the status line at the bottom.
Actual behaviour
Error message when the file is of a type with an installed LS is the following:
Error detected while processing BufEnter Autocommands for "<buffer=1>":
E5108: Error executing lua [string ":lua"]:44: attempt to call field 'nvim_multiline_command' (a nil value)
Expected behaviour
For there not to be an error message.
Minimal init.vim or init.lua and code sample

Health check

Checkhealth result

NOTE: If opening a python file in a conda environment with Jedi installed I get this...
health#lspconfig#check
========================================================================
## Checking language server protocol configuration
  - INFO: clangd: configuration checked.
  - INFO: rnix: configuration checked.
  - INFO: texlab: configuration checked.
  - INFO: bashls: configuration checked.
  - INFO: vimls: configuration checked.
  - INFO: fortls: configuration checked.
  - INFO: r_language_server: configuration checked.
  - INFO: jedi_language_server: configuration checked.
NOTE: If opening a non-python file not in the conda environment with Jedi installed I get...
health#lspconfig#check
Checking language server protocol configuration

INFO: clangd: configuration checked.
INFO: rnix: configuration checked.
INFO: texlab: configuration checked.
INFO: bashls: configuration checked.
INFO: vimls: configuration checked.
INFO: fortls: configuration checked.
INFO: r_language_server: configuration checked.
ERROR: jedi_language_server: The given command "jedi-language-server" is not executable.

LSP log

Log file

That won't generate a log in that location...

nvim_multiline_command was removed from nvim-lspconfig. So it must be used in your config or in another plugin.

nvim_multiline_command was removed from nvim-lspconfig. So it must be used in your config or in another plugin.

use vim.api.nvim_exec instead:
vim.api.nvim_exec([[
      hi LspReferenceRead cterm=bold ctermbg=red guibg=LightYellow
      hi LspReferenceText cterm=bold ctermbg=red guibg=LightYellow
      hi LspReferenceWrite cterm=bold ctermbg=red guibg=LightYellow
      augroup lsp_document_highlight
        autocmd!
        autocmd CursorHold <buffer> lua vim.lsp.buf.document_highlight()
        autocmd CursorMoved <buffer> lua vim.lsp.buf.clear_references()
      augroup END
    ]], false)

use vim.api.nvim_exec instead:
vim.api.nvim_exec([[
      hi LspReferenceRead cterm=bold ctermbg=red guibg=LightYellow
      hi LspReferenceText cterm=bold ctermbg=red guibg=LightYellow
      hi LspReferenceWrite cterm=bold ctermbg=red guibg=LightYellow
      augroup lsp_document_highlight
        autocmd!
        autocmd CursorHold <buffer> lua vim.lsp.buf.document_highlight()
        autocmd CursorMoved <buffer> lua vim.lsp.buf.clear_references()
      augroup END
    ]], false)

Also please follow the issue template in the future, I don't have your init.vim (or a minimal one thereof) otherwise I could more easily identify where the call would be (plugin or otherwise)

Also please follow the issue template in the future, I don't have your init.vim (or a minimal one thereof) otherwise I could more easily identify where the call would be (plugin or otherwise)

Yes vim.api.nvim_exec fixed it. Thank you!
Oh I see. I tried running the minimal_init from the curl command but it didn't work. I forgot to paste my own. My bad.
Thanks for the quick help!

Yes vim.api.nvim_exec fixed it. Thank you!
Oh I see. I tried running the minimal_init from the curl command but it didn't work. I forgot to paste my own. My bad.
Thanks for the quick help!

No worries, it just makes my life easier 😆
Glad we could resolve the issue quickly!

No worries, it just makes my life easier 😆
Glad we could resolve the issue quickly!


Universal/Isomorphic React Usage

I am confused which client I should be using for an Universal/Isomorphic React application. I understand I should hook up the raven-node client to express, but have a feeling I should be using the raven-js client for everything inside React. Does anyone have any insight/experience with this?

You'd definitely have to use raven-js (this repo) for browser behaviors, and raven-node for server side. We don't  have a single client that will work on both. The environments are pretty drastically different for our cases.


update wis2box-auth to utilize Keycloak

The current wis2box authentication and authorization workflow uses wis2box-auth to manage and authorize dataset access if specified by the wis2box administrator.  wis2box command-line utilities provide token management interfacing with wis2box-auth.  API and UI requests on authorized data are sub-requested in nginx against wis2box-auth.
Driven by #479, we decide to add a Keycloak for enhanced authentication workflow/options, and update of wis2box-auth to interface with keycloak for authorization management.  API and UI users would, then, enter username/password information, which would result in a cookie utiliized as part of the browser session (in addition to direct API access/workflow via CLI or JavaScript, for example).

Consideration for a workaround: update wis2box-auth to lock down /processes/PROCESS_ID/execution to require token/auth workflow.

@tomkralidis to setup catch-up discussion for @isedwards on past / future PR

2024-01-17:

need to resolve issues w/ hostname address
use envsubst in entrypoint.sh to substitute accordingly

2024-02-06: @maaikelimper to help on completing integration with the rest of the wis2box stack.

2024-02-13: @maaikelimper to continue following priority integrations in this sprint.


Nitweb: api for code highlighter and nitpicker

Only the low-level JSON-REST API  is provided. Someone should have to do the rendering.
ping @Morriar

+1
What kind of frontend do you want?

reroll this old PR. try to pass tests

test this please

test this please


ETA for ASP.NET Core 2.0 support?

Hi,
Do you guys have an ETA for ASP.NET Core 2.0 support?
I've been able to get some of the Steeltoe components to work, but it seems 2.0 has introduced a few breaking changes...
Thanks,
René

Hi,
Yes, you are correct on 2.0 ... we have begun working on 2.0.  If you explore the Dev NuGet feed for Steeltoe you will find packages that should work with ASP.NET Core 2.0 ...
Keep in mind that this NuGet feed is our development feed and things might change over time.
If you run into any problems using those bits we certainly would like to hear from you as they will eventually become our 2.0 final release.
We have not yet determined when the final release date will be ...
https://myget.org/gallery/steeltoedev
Dave


Need room capacity for reservations

Currently, the room reservation system only shows when which room is booked, not how many people fit in it.
Ideally, each room should show how many it can seat. Or at least what it's called (e.g. "Team room" or "Pair Programming room").

Currently in progress (#599), bumping this @kiernan-a and @ellieekimm
(Closing since duplicate of #599)


How could I receive text/plain type api request body?

I'm trying to set bodyPasers type in api.service.js, but it's not working, the req.body always be a empty object,  I need help, thanks a lot!
{
   path: "/api",
   bodyParsers: {
      json: false,
      raw: {
         type: "text/plain;charset=UTF-8"
       }
    }
}

async onBeforeCall(ctx, route, req, res) {
    console.log('******HEADER', req.headers); // I can get this
    console.log('***************REQ.BODY', req.body); // But the body is empty {}
}

@LiamShao How did you resolve this?

@LiamShao How did you resolve this?

Just like this:
{
   path: "/api",
   bodyParsers: {
      json: false,
      text: {
        type: "*/*"
      }
   },
}

this method also receive other type


CT quality check

Is there a CT quality assessment subroutine before segmentation? This might help avoid possible segmentation failure?

No, so far this is not included.


Syntax highlighting for PHP 7 does not work well

the grammar repo used for PHP (https://github.com/brandonblack/php.tmbundle) is not the source repo of the grammar, but a fork of https://github.com/textmate/php.tmbundle
The fork is behind the source repo by 8 commits. And some of these commits are about adding support for PHP 7 features.
Could you switch to the source repo for the PHP grammar instead ?

note that PHP 7 syntax highlighting is still not perfect in the source repo (there are some bugs reported on it), but it is better than in the fork (the bug annoying me most is not yet fixed though 😢)

/cc @brandonblack

@pchaigno thanks for flagging. I am no longer helping maintain linguist, but I think @lildude should be familiar with this problem and might be able to help.

@stof I can't think of any reason why we can't or shouldn't revert to using the upstream grammar.  Wanna open a PR for the switch?

@lildude done


Only use the short hostname when making "host" queries to Nova

What does this PR do?
Removes the use of short name when comparing the Hypervisor_hostname fields.
This only applies when using the split_hostname_... flag set to true.
Motivation
In environments where the short hostname is required to filter on calls made to Nova, the hypervisor hostname will still be the FQDN.
Before this PR, the Nova call to get all servers for a hypervisor properly is filtered (when using this endpoint <Nova_endpoint>/servers/detail, but the call to get stats and match on a specific "hypervisor_hostname" from <Nova_endpoint>/os-hypervisors
Review checklist

[ ] PR has a meaningful title or PR has the no-changelog label attached
[ ] Feature or bugfix has tests
[ ] Git history is clean
[ ] If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo

Additional Notes

Can we make split_hostname_on_first_period an optional parameter to get_my_hostname with a default value of False just to keep things clean?

I think since the config option is already released it would be better to keep the name the same for now. Though I think making it an optional param is a good idea!


routes partials in common

I'm using mustache with consolidate.
I have multiple routes using the same partials.
I wanna avoid having duplicate code, so I'm using a var containing the partials paths:
var commonPartials = {
  head: 'partials/header',
  footer: 'partials/footer'
}

router.get('/hello', function (req, res) {
  res.render('hello', {
    partials: commonPartials,
    title: 'Hello',
    pid: process.pid
  })
})

router.get('/world', function (req, res) {
  res.render('world', {
    partials: commonPartials,
    title: 'World',
    pid: process.pid
  })
})

The issue is that on the second call of a route, the obj are populated with the whole partial file giving an error like this:
Error: ENOENT: no such file or directory, open '/home/user/Desktop/REPOS/HelloWorld/views/

      ...

What's the best way to handle this issue and sharing partials to avoid duplicated code?

Hi!
This is really a consolidate issue, as reading partials from a file is not something supported by the mustache.js package. That said, I've had a look at what might causing what you're seeing.
The me, the first thing that comes to mind when something works as expected the first time, but suddenly behaves differently the second time, is some code somwehere has changed (mutated) the object you pass around to other parts of your or 3rd party functions.
In this particular case, I had a close look at everything that reads or writes to the partials object you provide. And here's the parts inside consolidate that I suspect the most: https://github.com/tj/consolidate.js/blob/master/lib/consolidate.js#L124
To the interesting part, what can you do to avoid this happening? Not sharing the partials object (commonPartials), but creating a new partials object every time would probably work:
// option 1
function commonPartials() {
  return {
    head: 'partials/header',
    footer: 'partials/footer'
  }
}

router.get('/hello', function (req, res) {
  res.render('hello', {
    partials: commonPartials(),
    title: 'Hello',
    pid: process.pid
  })
})

// option 2
function withPartials(viewData) {
  return Object.assign({
    partials: {
      head: 'partials/header',
      footer: 'partials/footer'
    }
  }, viewData)
}

router.get('/hello', function (req, res) {
  res.render('hello', withPartials({
    title: 'Hello',
    pid: process.pid
  })
})

Hopefully that makes sense?

@phillipj Yeah i came with the same solution. Consolidate allows netsted partials that's why that variabiles are populated on the 2th call I guess.

Good to hear you found a solution 👍


Resolves #246 Fix bug in tagging feature

Sorry I didn't catch this earlier! Once I added the validation on the arguments tags started coming through as a list of a list.

Just a poke here to make sure it’s remembered, and this should probably be merged before issue #248 is resolved

Thanks for the PR and follow up. I'll get this in for the PyPi release.


connont send any notifcation

I'm following this code https://github.com/argon/node-apn/issues
and i have problem on terminal

and my code

Error code 8 indicates that the token you are using is incorrect.

i'm sure i get the correct token

Ensure your certificates are correct and for the correct App ID.
You appear to be generating the device token correctly but it must also match the environment (production true/false) and certificates. If they do not match you will get error 8

thanks it's works


feat: add grand exchange trade notifier

Closes #272

Current rules:

Transaction must exceed min value
Cancellation is not notified unless enabled in config
Partial progress is not notified unless spacing minutes have passed

Required feedback:

Are the above rules reasonable
Do the rich embed fields need any changes
Does more real-world testing reveal any edge cases

Sample:
{
  "type": "GRAND_EXCHANGE",
  "playerName": "dankgg",
  "accountType": "NORMAL",
  "extra": {
    "slot": 1,
    "status": "BOUGHT",
    "item": {
      "id": 314,
      "quantity": 2,
      "priceEach": 3,
      "name": "Feather"
    },
    "marketPrice": 2,
    "targetQuantity": 2
  },
  "embeds": [
    {
      "title": "Grand Exchange",
      "description": "dankgg bought 2 x [Feather](https://oldschool.runescape.wiki/w/Special:Search?search=Feather) (6) on the GE",
      "author": {
        "name": "dankgg",
        "url": "https://secure.runescape.com/m=hiscore_oldschool/hiscorepersonal?user1=dankgg"
      },
      "color": 15990936,
      "image": {
        "url": "attachment://grandExchange.png"
      },
      "thumbnail": {
        "url": "https://oldschool.runescape.wiki/images/Grand_Exchange_icon.png"
      },
      "fields": [
        {
          "name": "Status",
          "value": "```\nCompleted\n```",
          "inline": true
        },
        {
          "name": "Market Unit Price",
          "value": "```ldif\n2 gp\n```",
          "inline": true
        }
      ],
      "footer": {
        "text": "Powered by Dink",
        "icon_url": "https://github.com/pajlads/DinkPlugin/raw/master/icon.png"
      },
      "timestamp": "2023-07-06T06:21:28.672174400Z"
    }
  ]
}

Is slot the spot in the GE in which the item was sold from? I see that the feathers in your example are "slot": 1, but are in what I expect to be slot 2.

It's zero indexed; could prolly document that in readme

Known shortcoming: the notifier only triggers on GE events that occur after login has completed (i.e., if a transaction completes while offline, when the player logs in, no notification will be fired). This is to avoid duplicate notifications on subsequent logins without collecting the offer proceeds. In a future PR, we can use the saved config data from the GE plugin to check whether offer completions are new or old.


⚠ Bofrost.fr has degraded performance

In c324102, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 824 ms

Resolved: Bofrost.fr performance has improved in 947d786.


Based on Modbus acquisition.Prod data cannot be stored in the database

Network debugging tools simulate Modbus communication, equipment can achieve, Modbus acquisition channel can obtain and parse data, command channel can send instructions.If the TD channel log is empty, device data cannot be displayed because data has not been imported into the database

Modbus acquisition channel Get device data analysis error, unable to save to TDengine，Please confirm whether the object model is configured correctly


Fixed deadlock issue for non-reported segments.

Issue #, if available: https://github.com/aws/aws-xray-sdk-go/issues/222
Description of changes:
A recent introduction if the Dummy property caused a function on Segment to return before the lock had been released.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@bhautikpip is there a timeline for this fix to be released at all via point release? We've had this creep into our stack in the last two days causing production outages.

Hi JesseObrien,
We're expediting this fix, we'll be posting a new version very shortly.

@awssandra very much appreciated!! Thanks!

Hi ,
I recently released v1.0.1 which includes this fix. That should resolve most issues. Thanks for the patience!


Add compressionLevel option, preserve symbolic link when building on macOS

This PR fixes copying of a symbolic link (in usr/bin) on macOS - should use cp -R instead of cp -r on this platform.
Also added the compressionLevel option, default is 2, but I was able to reduce the size of my package from 51MB to 37MB just by specifying level 9.

Nice, thank you!

@gch1p Published v0.3.1 with your changes.


AttributeError: module 'openai' has no attribute 'ChatCompletion' on all notebooks using OpenAI API

At 07/Nov/2023 all OpenAI Notebooks are broken due some changes in the API. And all notebooks are getting the error:
AttributeError: module 'openai' has no attribute 'ChatCompletion'
I will fix it in few hours.
The old code:
response = openai.ChatCompletion.create(
model="gpt-3.5-turbo",
messages=newcontext,
temperature=0,
)
return (response.choices[0].message["content"])
The new One:
response = openai.chat.completions.create(
model="gpt-3.5-turbo",
messages=messages,
temperature=0,
)
return (response.choices[0].message.content)
If you prefer you can update the !pip install openai to:
pip install "openai<1.0.0"
Thanks for your patience!

Solved all issues in all notebooks.


Update to go 1.17 / 1.18

Update to 1.17 as 1.16 is deprecated. bump testing from 1.17 up to 1.18
Signed-off-by: Luke Hinds<EMAIL_ADDRESS>
Summary

Ticket Link

Fixes
Release Note

@lukehinds you need to run go mod tidy

Sorry I merged some dependabot ones first by accident and got you a merge conflict :(

i will rebase and push it :)

@dlorenc ready to merge


Support drag handlers within web view

right now dragging an SDFG file to an SDFG viewer does nothing, but should open the viewer on the dragged SDFG.

Isn't this a duplicate of #36?


Improve ui of main stream post

UI priview:

BTW, I also used js object to perform the dummy post, since the backend will provide JSON object type.


User-entered data functionality

Capture user-entered data in the Streamlit app and export the data (eg, as CSV).

@thisdaria what fields do we want to include?


Feat/write perf log

For now, I have to reject the PR.

To add proper write functionality, the demo has to be rewritten. We plan to do so in the near future in the new repos at the Eclipse Foundation.
And we discourage the use of lombok in our projects.


Fix type error that causes failed search queries

Module: 12
Lab/Demo: 22
Search queries using the Flask web app were failing with the error message:
"Opps! An error occurred. '>=' not supported between instances of 'NoneType'
and 'float'."
This is the result of comparing null instances of the sentiment score and the
float 0.5. The code is updated to avoid this.
Fixes issue #96

Just to add that this fix makes search queries succeed even when the sentiment score has some null instances (tested). But there should be no null sentiment scores in the first place. So a corruption that was introduced somewhere when indexing the documents probably resulted in some null sentiment scores and caused issue #96.
I recreated the search solution, had no null sentiment scores, and was able to run the web app fine without the suggested update. So the suggested update isn't needed and I am closing this pull request.


Make size “controlled” when onSizeChanged is present

Currently, there seems to be no way to react to the size change. In Redux DevTools, we want to persist the last chosen size, so it's important to essentially treat this component as a controlled one—all user changes should trigger onSizeChanged and if, and only if the size prop has been updated by the parent, the changes should apply.
Does this make sense?
(Nitpick: onSizeChange would be a better name given React's convention, but that wouldn't match an existing onVisibleChanged event. Perhaps both could be given *Change name though.)

Yeah, I'm not great at naming things :)
I also think isResizing and isWindowResizing might be confusing (if we renaming something, it's better to rename all at once).
As for onSizeChange - makes sense indeed. I suppose we should add defaultSize prop and treat Dock with size prop as a controlled component, just like <input>. Same with defaultPosition / position.

@gaearon check out v0.2.0

Awesome, it works now.


Updated teams sdk to v2 with relevant api call changes

Updated teams sdk version to v2 with relevant api call changes for below samples

Personal tab quick-start
Personal tab with SSO quick-start

Suggestion - Can we also upgrade the manifest files to v1.13 that should automatically make the tab's work across multiple hubs. The rest of the SDK code changes look good for both teams and other hubs.

@Wajeed-msft  @sbtron  - Updated the code for latest GA 2.0 version


unknown guild  error 10004

Hi,
I have checked the other github post with this error, however I can't resolve this
{"message": "Unknown Guild", "code": 10004}
I have checked the Globals.py file and made sure that the IDs are correct and Tokens are correct.
So just to be clear
I can do /mj_imagine cyberpunk tokyo
Then it loads
Then it says
Request has failed; please try later
In terminal I see {"message": "Unknown Guild", "code": 10004}
How do I fix this?
Thank you!

I have now resolved this. please update your main repo so that salai.py has this
"guild_id":Globals.SERVER_ID,
"channel_id":Globals.CHANNEL_ID,
as previously it uses hardcoded values (this is causing the above error)

Thank you!!

Sorry, I did that temporarly (hence a TODO comment if you noticed) but forgot to fix it. Thank you!

I am getting this error now, although the code should be corrected


Removes unnecessary recursion

Within onSelectionChange the function findSelecteds calls itself to parse the current nodes children; This is not necessary because the method is parsing the original data which contains all data points in a flat structure. Removing this line stop the onSelectionChange event from returning duplicate rows.
Description
Fixes a bug that returns duplicate rows are reported by onSelectionChange when using tree based data.
Impacted Areas in Application
MaterialTable.onSelectionChange event

Thank you @hodg9 !


Idea: Add a preset for addins/modules that will allow updating Cake references only for major versions

Something along the lines of
{
  "description": "Update Cake references only for major updates.",
  "matchPackageNames": ["Cake.Core", "Cake.Common"],
  "matchUpdateTypes": ["minor", "patch"],
  "enabled": false
}

@pascalberger what do you think?

@nils-a What's the difference to default presets?

Ah. Right. I didn't check that. 🤦♂


Add files via upload

What does this PR do?
this finds the solutions of linear equation using the matrix - gauss Jordan algorithm.
Test Plan
i have tested this algo with 4 digits - will frequently post for larger variables
Related PRs and Issues
Closes #551
Have you read the Contributing Guidelines?
yes

@anfaas1618 keep me updated for any further updates on this

@anfaas1618 keep me updated for any further updates on this

sure


integration to llamaindex and langchain

can this service be part of data loaders or document index modules in llamaindex or langchain?

Yes it's pretty straightforward - I'll add a demo notebook soon.

Great, thank you! +1 for LlamaIndex!

Added llama-index support with v0.5.6.
If someone provides a langchain PR, I'll look into it but I think this library is much better used with llama-index.


[loc][Query][VSCode] Please clarify context for "node.protocol.auto.description"

Hi, we have a question from our translator. Can you help please? Thanks!
Source:
try to detect the best protocol automatically
File Name:
package.nls.resx
Resource ID:
".resx", 0; "node.protocol.auto.description"
Query:
Context required. Does "try" refer to a program/process/etc. or to the user? Thanks!

"Try" refers to the VS Code program, not the user.
This description refers to an configuration option that the user can use to
"make VS Code try to detect the best protocol automatically"

Thanks!


5.5.0 WIP Integration Branch

(Currently) A PR to track the changes of 5.5.0-wip against master.
Changesets committed directly to the WIP branch that need review:

https://github.com/cleandart/react-dart/pull/265/files/cf43b36..066c138
https://github.com/cleandart/react-dart/pull/265/files/9714657..75d6611

(Click on "Changes from X commits..." to see commit messages for more context)

Public API Changes
Recommendation: :bangbang: Major version bump (fyi @Workiva/semver-audit-group )
@@ line 6: package:react/src/prop_validator.dart @@
-  typedef PropValidator<T> = Error Function(T props, PropValidatorInfo info)
+  typedef PropValidator<TProps> = Error Function(TProps props, PropValidatorInfo info)
// `type` of `props` has changed.
// Changing a parameter signature is a major change.

@@ line 104: package:react/src/context.dart @@
-  Context createContext<TValue>([TValue defaultValue, int Function(TValue, TValue) calculateChangedBits])
+  Context<TValue> createContext<TValue>([TValue defaultValue, int Function(TValue, TValue) calculateChangedBits])
// `return_type` of `createContext` has changed from `Context` to `Context<TValue>`.
// Changing a top-level function is a major change.

@@ line 503: package:react/react.dart @@
abstract class Component2 implements Component
-     Context get contextType
+     Context<dynamic> get contextType
//    `type` of `contextType` has changed from `Context` to `Context<dynamic>`.
//    Changing a class field is a major change.

@@ line 839: package:react/react_client.dart @@
class ReactDomComponentFactoryProxy extends ReactComponentFactoryProxy
-     ReactDomComponentFactoryProxy ReactDomComponentFactoryProxy(dynamic name)
+     ReactDomComponentFactoryProxy ReactDomComponentFactoryProxy(String name)
//    `type` of `name` has changed.
//    Changing a parameter signature is a major change.

@@ line 125: package:react/react_client/react_interop.dart @@
-  ReactJsComponentFactoryProxy forwardRef(dynamic Function(Map<dynamic, dynamic>, Ref<dynamic>) wrapperFunction)
+  ReactJsComponentFactoryProxy forwardRef(dynamic Function(Map<dynamic, dynamic>, Ref<dynamic>) wrapperFunction, {String displayName = 'Anonymous'})
// `displayName` was added.
// Adding an optional parameter is a minor change.

Click to see 30 more API Changes

@@ line 2742: package:react/react.dart @@
-  void setReactConfiguration(dynamic domCreator, dynamic customRegisterComponent, {ReactDartComponentFactoryProxy2<Component2> Function(Component2 Function(), {Component2Bridge Function(Component2) bridgeFactory, Iterable<String> skipMethods}) customRegisterComponent2})
+  void setReactConfiguration(dynamic domCreator, dynamic customRegisterComponent, {ReactDartComponentFactoryProxy2<Component2> Function(Component2 Function(), {Component2Bridge Function(Component2) bridgeFactory, Iterable<String> skipMethods}) customRegisterComponent2, ReactDartFunctionComponentFactoryProxy Function(dynamic Function(JsBackedMap), {String displayName}) customRegisterFunctionComponent})
// `customRegisterFunctionComponent` was added.
// Adding an optional parameter is a minor change.

@@ line 125: package:react/react_client/react_interop.dart @@
-  ReactJsComponentFactoryProxy forwardRef(dynamic Function(Map<dynamic, dynamic>, Ref<dynamic>) wrapperFunction)
+  ReactJsComponentFactoryProxy forwardRef(dynamic Function(Map<dynamic, dynamic>, Ref<dynamic>) wrapperFunction, {String displayName = 'Anonymous'})
// `displayName` was added.
// Adding an optional parameter is a minor change.

@@ line 1968: package:react/react.dart @@
+  ReactDartFunctionComponentFactoryProxy Function(dynamic Function(JsBackedMap), {String displayName}) registerFunctionComponent
// Adding a top-level variable is a minor change.

@@ line 670: package:react/react_client/react_interop.dart @@
+  dynamic get jsNull
// Adding a top-level variable is a minor change.

@@ line 395: package:react/hooks.dart @@
+  Ref<T> useRef<T>([T initialValue])
// Adding a top-level function is a minor change.

@@ line 293: package:react/react_client/react_interop.dart @@
+  ReactJsComponentFactoryProxy memo(ReactDartFunctionComponentFactoryProxy factory, {bool Function(Map<dynamic, dynamic>, Map<dynamic, dynamic>) areEqual})
// Adding a top-level function is a minor change.

@@ line 293: package:react/react_client/react_interop.dart @@
+  ReactJsComponentFactoryProxy memo(ReactDartFunctionComponentFactoryProxy factory, {bool Function(Map<dynamic, dynamic>, Map<dynamic, dynamic>) areEqual})
// Adding a top-level function is a minor change.

@@ line 143: package:react/hooks.dart @@
+  void useEffect(dynamic Function() sideEffect, [List<Object> dependencies])
// Adding a top-level function is a minor change.

@@ line 330: package:react/hooks.dart @@
+  T useCallback<T extends Function>(T callback, List<dynamic> dependencies)
// Adding a top-level function is a minor change.

@@ line 428: package:react/hooks.dart @@
+  T useMemo<T>(T Function() createFunction, [List<dynamic> dependencies])
// Adding a top-level function is a minor change.

@@ line 33: package:react/react.dart @@
+  typedef DartFunctionComponent = dynamic Function(JsBackedMap props)
// Adding a typedef is a minor change.

@@ line 80: package:react/hooks.dart @@
+  StateHook<T> useState<T>(T initialValue)
// Adding a top-level function is a minor change.

+ react/react_client/zone.dart

// Adding an entry point is a minor change.

@@ line 62: package:react/react_client/component_factory.dart @@
+  Map<dynamic, dynamic> unconvertJsProps(dynamic instance)
// Adding a top-level function is a minor change.

+ react/react_client/component_factory.dart

// Adding an entry point is a minor change.

@@ line 47: package:react/react_client/component_factory.dart @@
+  Function unconvertJsEventHandler(Function jsConvertedEventHandler)
// Adding a top-level function is a minor change.

+ react/hooks.dart

// Adding an entry point is a minor change.

@@ line 240: package:react/hooks.dart @@
+  ReducerHook<TState, TAction, TInit> useReducer<TState, TAction, TInit>(TState Function(TState, TAction) reducer, TState initialState)
// Adding a top-level function is a minor change.

@@ line 675: package:react/react_client/react_interop.dart @@
+  dynamic get jsUndefined
// Adding a top-level variable is a minor change.

@@ line 532: package:react/hooks.dart @@
+  void useImperativeHandle(Ref<dynamic> ref, dynamic Function() createHandle, [List<dynamic> dependencies])
// Adding a top-level function is a minor change.

@@ line 294: package:react/hooks.dart @@
+  ReducerHook<TState, TAction, TInit> useReducerLazy<TState, TAction, TInit>(TState Function(TState, TAction) reducer, TInit initialArg, TState Function(TInit) init)
// Adding a top-level function is a minor change.

@@ line 16: package:react/src/typedefs.dart @@
+  typedef JsFunctionComponent = dynamic Function(JsMap props, [JsMap legacyContext])
// Adding a typedef is a minor change.

@@ line 27: package:react/react_client/component_factory.dart @@
+  dynamic listifyChildren(dynamic children)
// Adding a top-level function is a minor change.

@@ line 46: package:react/react.dart @@
+  typedef FunctionComponentRegistrar = ReactDartFunctionComponentFactoryProxy Function(dynamic Function(JsBackedMap) componentFactory, {String displayName})
// Adding a typedef is a minor change.

@@ line 95: package:react/react_client/js_interop_helpers.dart @@
+  Expando<bool> get isRawJsFunctionFromProps
// Adding a top-level variable is a minor change.

@@ line 606: package:react/hooks.dart @@
+  dynamic useDebugValue<T>(T value, [dynamic Function(T) format])
// Adding a top-level function is a minor change.

@@ line 103: package:react/hooks.dart @@
+  StateHook<T> useStateLazy<T>(T Function() init)
// Adding a top-level function is a minor change.

@@ line 359: package:react/hooks.dart @@
+  T useContext<T>(Context<T> context)
// Adding a top-level function is a minor change.

@@ line 464: package:react/hooks.dart @@
+  void useLayoutEffect(dynamic Function() sideEffect, [List<Object> dependencies])
// Adding a top-level function is a minor change.

@@ line 90: package:react/react_client/component_factory.dart @@
+  mixin JsBackedMapComponentFactoryMixin on ReactComponentFactoryProxy
// Adding a class is a minor change.

+     static JsMap generateExtendedJsProps(Map<dynamic, dynamic> props)
//    Adding a method is a minor change.

+     ReactElement build(Map<dynamic, dynamic> props, [List<dynamic> childrenArgs = const []])
//    Adding a method is a minor change.

      From package:react/react.dart
+     dynamic call(Map<dynamic, dynamic> props, [dynamic c1 = _notSpecified, dynamic c2 = _notSpecified, dynamic c3 = _notSpecified, dynamic c4 = _notSpecified, dynamic c5 = _notSpecified, dynamic c6 = _notSpecified, dynamic c7 = _notSpecified, dynamic c8 = _notSpecified, dynamic c9 = _notSpecified, dynamic c10 = _notSpecified, dynamic c11 = _notSpecified, dynamic c12 = _notSpecified, dynamic c13 = _notSpecified, dynamic c14 = _notSpecified, dynamic c15 = _notSpecified, dynamic c16 = _notSpecified, dynamic c17 = _notSpecified, dynamic c18 = _notSpecified, dynamic c19 = _notSpecified, dynamic c20 = _notSpecified, dynamic c21 = _notSpecified, dynamic c22 = _notSpecified, dynamic c23 = _notSpecified, dynamic c24 = _notSpecified, dynamic c25 = _notSpecified, dynamic c26 = _notSpecified, dynamic c27 = _notSpecified, dynamic c28 = _notSpecified, dynamic c29 = _notSpecified, dynamic c30 = _notSpecified, dynamic c31 = _notSpecified, dynamic c32 = _notSpecified, dynamic c33 = _notSpecified, dynamic c34 = _notSpecified, dynamic c35 = _notSpecified, dynamic c36 = _notSpecified, dynamic c37 = _notSpecified, dynamic c38 = _notSpecified, dynamic c39 = _notSpecified, dynamic c40 = _notSpecified])
//    Adding a method is a minor change.
+     dynamic get type
//    Adding a field is a minor change.

15 more changes could not be displayed on this comment. Click here to view all changes.
Showing results for 066c13863c6b54809a2947696e8746091c26251a

Powered by semver-audit-service. Please report any problems by filing an issue.
Reported by the dart semver audit client 2.2.0
Browse public API.

Semver changes look good to me, and should not actually be considered major. Specifically

Passing any other type into ReactDomComponentFactoryProxy  would have resulted in a runtime error,
Previously returning Context<dynamic> from createContext is considered a bug, and changing it shouldn't cause issues

+1 to https://github.com/cleandart/react-dart/pull/265/files/cf43b36..066c138 and https://github.com/cleandart/react-dart/pull/265/files/9714657..75d6611


stopped working because of outdated version dependency of i2c-bus

The install of this module fails with modern versions of Node.js, because of a dependency on an outdated version of i2c-bus. It can be solved easily by editing the package.json file and changing "i2c-bus": "^1.2.0" into "i2c-bus": "^5.1.0"
I hope this will get fixed.

This affect also to the node-red node based on this node. @skylarstein do you accept a PR for this version bump?
Thanks,

This affect also to the node-red node based on this node. @skylarstein do you accept a PR for this version bump?
Thanks,

Yes I would, thank you. I'll also try to test today.

Since I have seen no activity, I have done the version bump and created a PR.

Resolved by https://github.com/skylarstein/bme280-sensor/pull/9 thanks to @nrbrt. Released as v0.1.7

You forgot to update npm


Travis Builds

In case there's interest
https://travis-ci.com/stephengroat/google-calendar-crx/jobs/182272974

I waited to review because the Travis build was failing, but looks like it’s still failing?

@manastungare sorry about that. fixed with a pin to node v7 https://travis-ci.com/stephengroat/google-calendar-crx/jobs/184307283


Getting stubs onto remote machine

On my desktop I have my Yubikey plugged in and I can use it as expected.
I also regularly SSH into my laptop (on which I've previously used my Yubikey directly). I have my GPG agent forwarded (forwarding S.gpg-agent.extra) and can use the key this way, and I can see the fingerprints of the subkeys when listing my secret keys. I can also use my key on this machine, again as expected.
Now I'm setting up forwarding to another machine (to which my Yubikey has never been directly connected) and I'm running into some issues. I can import my public key just fine (either through keyservers or through export/import), but it doesn't know about any of my private keys, and subsequently doesn't let me use any of them.
I've done a bit of digging and figured out that my working machines have stubs for the private keys, which tell GPG that these keys exist and what smartcard to find them on. Without those stubs GPG has no idea that your smartcard has keys that can be used for anything, let alone what keys those are. Okay, so far so good. I've also found that running gpg --card-status will automatically create stubs for the connected cards (which is probably how my working machines got these stubs).
However, you cannot perform this command over the extra socket, so I cannot use this method to get the stubs onto my new machine. I figured I'd export the secret keys on one of my working machines (gpg --armor --output private-stubs.asc --export-secret-keys ID) and import them on the new machine (gpg --import private-stubs.asc). This successfully imports my public key but doesn't seem to actually import the secret keys, even though the output suggests it has.
gpg: sec  rsa4096/28094744BA81C6A9 2021-03-24  Michon van Dooren<EMAIL_ADDRESS>gpg: key 28094744BA81C6A9: "Michon van Dooren<EMAIL_ADDRESS>not changed
gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status
gpg: key 28094744BA81C6A9: secret key imported
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1

Running the above command with enough verbosity will also list the secret subkeys (with gnu-divert-to-card as expected) confirming that they are in the export, but listing the secret keys afterwards shows that they were not actually imported.
And that's where I get stuck. Sure, I could probably fix it by forwarding the regular socket once to run the card-status command, but I feel that shouldn't be required. I also don't quite get why the export/import flow doesn't seem to work.
Any ideas for how to resolve this issue? Did I miss something in the guide? If not, is this perhaps something to address in the guide?
(As an aside, do these stubs even contain anything sensitive? They are called secret keys but from my understanding they really just contain information about the fingerprint of the secret key (which isn't useful by itself AFAIK, though it might not normally be public) and the serial number of the Yubikey (which is also not normally public but also seems like useless information without the device itself). Would it (assuming they can be imported) be fine for me to store these stubs with my dotfiles for easy setup or would this be a bad idea?)

Working with my keys is a once in a year or two endeavor so am a little rusty until the brain reboots and haven't attempted to forward to multiple machines in a chain for a long time... so this might not be accurate or help with the forwarding challenge.
Have you looked at using --export-secret-subkeys instead of --export-secret-keys then when you import the stub it'll indicate sec# in place of the Master Certification Key
sec#  ed25519/6
ssb>  ed25519/C
ssb>  cv25519/C
ssb>  ed25519/A

@MaienM Did the suggested command help fix you up?

It did not, unfortunately. Both --export-secret-keys and --export-secret-subkeys seem to result in the exact same file.
@codemonkee mentioned multiple machines in a chain. Just to clarify, this is not what I'm trying to do, I am connecting from my desktop (which has the yubikey plugged in) to the new machine (which I am trying to get these stubs into). My laptop was just an example of a remote machine that does work (since I've had the key plugged into it directly), but it is not part of a forwarding chain. (I don't think it would make much of a difference wrt the issue I'm having, but still.)

Closing to inactivity. Please reopen or suggest changes in a PR if you figure this out.


Debugging of Matlab code

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Debugging of Matlab codes
Introduction:
Just as human being, softwares too are prone to errors. This could be caused by writing a code that the software don't understand or a mistyping by the user. When you run your software with these errors, it's either the program will not run or give unexpected results. It is not running because it doesn't understand the code and it gives unexpected results due to misinterpretation of the code. These errors are called a bug. The process of analysing your code to remove these errors is called debugging.
Debugging of a code at some points may be hectic since it involves locating the error. Also, Matlab's error statement may sometimes be difficult to understand. In this article, we are going to look at how to locate the error in a code and how to correct them. Besides that, Matlab has an inbuilt debugger that helps in debugging of codes. We will also look at this tool and how to use it
Key takeaways:

Matlab's possible causes of errors
How to use a debugger.
How to correct the possible errors.

References:
Please list links to any published content/research that you intend to use to support/guide this article.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

@jumapaul
Sounds like a helpful topic - lets please be sure it add value beyond what is in the official docs and what is covered in other blog sites.
Please be sure to double check that it does not overlap with any existing EngEd articles or incoming topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved

.

Closed #2709 via #2998.


signalbackup-tools: 20230305 -> 20230307-1

Description of changes
Update to latest version. No changes that effect build (diff: https://github.com/bepaald/signalbackup-tools/compare/20230305...20230307-1).
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.


docs: added J5 with Firebase Realtime POC

Description
Added new POC for IOT Category: Proof of Concept - how to use Firebase Realtime Database with Johnny-five
Related Issue

N/A
Motivation and Context

N/A
How Has This Been Tested?

N/A
Screenshots (if appropriate):
Screenshots added in the POC Readme
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

The linter is not passing (as expected)


Improve failing the WebSocket connection.

Mainly:

Attach the reason why the connection was closed to ConnectionClosed exceptions
Better mirror the specification in the implementation and improve compliance slightly in some edge cases

Unsure why test coverage isn't 100% on CircleCI. It is 100% locally.

After rebasing on top of #402, I could bring test coverage back to 100%.


[Request] Get name of widget

Is there a way to get the widget name? - e.g. If I select "Recently Added Movies" I'd like to retrieve that label.

Actually, I forgot it should already be doing this! The skin string should be screensaver.arctic.mirage.name 😄

Ah I tried screensaver.arctic.mirage.label and screensaver.arctic.mirage.widgetname but didn't think to just try name!
Maybe it would be good to have an option to edit the label though. I just added a screensaver widget from TMDBHelper and the label is "TheMovieDB Helper - Trending This Week" which is pretty long. It would be good to edit it down to just "Trending Movies" or something like that.

Should be doable 👍 I'll have to look into it in the next few days.
Where are you showing the widget title in the screensaver?

I just pushed 1.1 to the repo, which has a setting to change the label :+1:

Should be doable 👍 I'll have to look into it in the next few days.
Where are you showing the widget title in the screensaver?
EDIT: I just looked at AH and saw... top-left?

Yeah top left. I just disabled it for the time being because the really long label was a bit intrusive. I'll re-enable it now! Thanks 😁


Invert Order

Is there any way to append new messages at the bottom vs the top

This feature implemented in version 0.0.9

Thank you so much for adding this!


⚠ ClamAV has degraded performance

In 80c1a01, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 431 ms

Resolved: ClamAV performance has improved in 0a3e735.


Results documentation

Several points to make:

Contains a single quantum chemistry execution (energy/gradient/Hessian/property)

Not a finite-difference gradient or geometry optimization (see procedures)

Uniquely define by (program, molecule_id, driver, method, basis, options).

("psi4", "molecule_id", "energy", "b3lyp", "6-31g", "default")

Default execution engine is qcengine.compute.
Run completely on-node.

Is this closed by PR #420?

Weakly, but yes.


DjangoCon Europe 2016

https://2016.djangocon.eu/

The videos are available on https://opbeat.com/events/djangocon-eu-2016/. I will drop them (opbeat as well as the conference organisers) an email and ask if they mind that we add them to the index.

Sweet! thx.

Got the OK, will now proceed to create the files manually. Sadly, we can't embed the videos as they are using a custom player.

It's somehow hidden, but it have a embed option
(Icon square with an arrow, have volume icon at the left) Share => Embed
Example:
The Front-End Revolution by Claudina Sarahe
http://opbeat.com/community/posts/the-front-end-revolution-by-claudina-sarahe/
<iframe
    class="wistia_embed"
    name="wistia_embed"
    src="//fast.wistia.net/embed/iframe/xt9yzwcy6l"
    allowtransparency="true"
    frameborder="0"
    scrolling="no"
    width="480"
    height="270">
</iframe>

Tried http://fast.wistia.net/embed/iframe/xt9yzwcy6l and seems to work.


[bug]: Password is plaintext after first 16 characters when making backup.

Prerequisites

[X] I have searched for existing issues that already report this problem, without success.

EmbassyOS Version
0.3.1
Device
Laptop/Desktop
Device OS
MacOS
Device OS Version
12.4
Browser
Firefox
Browser Version
101.0.1
Current Behavior

Expected Behavior
Should all be obscured as first 16 characters are.
Steps to Reproduce
Make a backup and enter a password over 16 characters in length.
Anything else?
No response

If you toggle the eyeball on and off, the plaintext characters get erased also.


Friends please help. Move controller does not stop properly, constantly disappears, does not stop constantly

Friends please help. Move controller does not stop properly, constantly disappears, does not stop constantly
video down
https://www.youtube.com/watch?v=1rStz36mWnU&t=3s

You're going to have to post a question on the PSMoveSteamVRBridge page or create a video that uses the config tool only and also give lots of logs and other details.


Doesn't show button outline on some devices

Example
https://github.com/1nikolas/play-integrity-checker-app/issues/6#issue-1329067922

Example #6 (comment)

I have cropped the image

Example #6 (comment)

I have cropped the image

Talking about the button outline

If you have dark mode enable see it without outline but if close it for only this app is see it again

Should be a bug of the material library. I'll look into this

Should be a bug of the material library. I'll look into this

On Android 10 Under Display - Dark mode - is this and can deselect a app if not work good with dark mode like your not see the button outline

Should be a bug of the material library. I'll look into this

On Android 10 Under Display - Dark mode - is this and can deselect a app if not work good with dark mode like your not see the button outline

Oh so it's just miui shit

Should be a bug of the material library. I'll look into this

On Android 10 Under Display - Dark mode - is this and can deselect a app if not work good with dark mode like your not see the button outline

Oh so it's just miui shit

Yeah exactly 😂 you the only can do is warning the user who download your about don't worry and deselect your app from inside Display - Dark mode - Personalized applications. And that's is


Group consecutive days of time off into one event?

Should multiple days off in a row be converted into a single event spanning multiple days?
Pros:

When on leave you won't receive an event notification every day you're missing a shift
Gives a better view of your time off (e.g. Day 2/3)

Cons:

Potentially lose some information such as what times the shift would have been
NOTE: We can only get starting time from workjam, as time off events are 24-hour blocks with the shift start time
Synchronisation: What IDs do we use? How will concatenation of two groupings work? How will splitting work? How will updating in general work? Will events just be deleted and re-created every time without stable IDs? Will groupings be aggressively re-used and modified?

Currently planing on removing what work I have done on this to simplify the process.