"Deploy a Package" section contains link to older content

The "Deploy a Package" section is linking here: https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/administering-dynamics-365/dn647420(v=crm.8) which is for v8, but this article is for v9. I think the right version to link to is this one: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/admin/deploy-packages-using-package-deployer-windows-powershell .

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

ID: e23f37d6-4060-e582-9be9-e50dc3fe8917
Version Independent ID: 439c7dc9-8b94-8abd-45e9-0987fe3cee3b
Content: Create packages for the Dynamics 365 for Customer Engagement Package deployer (Developer Guide for Dynamics 365 for Customer Engagement apps)
Content Source: ce/developer/create-packages-package-deployer.md
Service: crm-online
GitHub Login: @KumarVivek
Microsoft Alias: kvivek

Closing this as it is no longer relevant to me and it doesn't look very much alive. If you feel it should be reopened feel free to do so.


update config.toml for 1.25 release

Updated config.toml for the dev-1.25 branch to prepare for the v1.25 release
Patch versions were updated using on latest patch releases
/cc @reylejano @zacharysarah
/assign @sftim

@zacharysarah Removed! Thanks.

/lgtm
/approve


Replace uHttpSharp

The main reason for this is that the library is targetted to .NET Framework instead of .NET Standard, rendering AuthTokenRetriever incompatible with Xamarin as a result.  I'm going to try forking it and rebuilding as netstandard, so we'll see if that works.

I created a new fork called uhttpsharp.Standard.  It's the same library but ported to .NET Standard 2.0 and with the Console.WriteLine entries removed.
https://github.com/sirkris/uHttpSharp.Standard
https://www.nuget.org/packages/uhttpsharp.Standard
Merged into 1.5.


Disable InApp Tracking on iOS

In the current plugin version (for iOS) when the app starts, all InApp Purchases (InApp tracking) are sent to the Pushwoosh server. Is it possible to add something here to disable this function or trigger manually.
Maybe like this in the config.xml:
<feature name = "PushNotification">
        <param name = "ios-package" value = "PushNotification" />
        <preference name = "enableInAppTracking" value = "false" />
</feature>

You can set "Pushwoosh_NO_TRACK_IAP" to "YES" in Info.plist.  The plugin version will be 3.4.13
See: http://phonegap.com/blog/2014/01/30/customizing-your-android-manifest-and-ios-property-list-on-phonegap-build/

The new version works fine. Thanks for the help.


chore(ci): Reduce CI time

Is it time to use yarn@3 ?

Not sure. I'm doing this mainly because some crates like swc uses way too much time


Expose monospace font-family as UI variable

There is currently a @font-family variable in ui-variables.less for the standard UI font:
@font-family: 'SF UI Text', 'Lucida Grande', 'Segoe UI', Ubuntu, Cantarell, sans-serif;

Exposing the monospaced font-family as @font-family-monospaced or similar and using that in atom-text-editor would enable monospace theming.
@font-family-monospaced: Menlo, Consolas, 'DejaVu Sans Mono', monospace;

+1

A problem is that Less variables can't be overridden from the settings.
If a theme would define @font-family-monospaced. But then a user wants to change the font in the settings:

@font-family-monospaced wouldn't get updated to Fira Mono.

@simurai How does the "Font Family" input work right now? There's a @font-family Less variable that themes can override already.

They are used in separate places. Currently it works like this:

@font-family is only applied outside of the editor. Or if a package uses it.
Inside the editor, some default monospaced fonts are used, unless they get overridden by the user in the settings.

and using that in atom-text-editor would enable monospace theming.

Are you thinking about creating a Syntax theme that has a custom monospaced font?

After the default font changes, I find myself unsure on how the font options work. Previously the UI font was Segoe on Windows, after the change it looks like Times New Roman or Tahoma. Now I'm kinda missing an option to change the font of the whole UI separate from the one the editor window uses...

Got reminded of this by @joefitzgerald.
An option would be to inline the font-family config from the editor + a fallback stack (in case it's not set), like:
atom.config.get('editor.fontFamily') + 'Menlo, Consolas, "DejaVu Sans Mono", monospace'

The fallback stack might get changed in core one day, but at least it would match if a user sets a custom font.
We could also look into using CSS variables, now that they're available in Chromium/Electron. Colors would be more tricky in case you want to manipulate them, like darken/lighten. But font-family would be fine. Then it can be updated from the settings and be used in style sheets.

🤖 Stale Bot is so timely. https://github.com/atom/atom/pull/16731 got merged yesterday!
From Atom 1.26 you'll be able to use the --editor-font-family custom property that matches the editor font family. Use like:
.myClass {
  font-family: var(--editor-font-family);
}


App crashes when updating

App crashes when clicking on update now.
Sometimes it does not update automatically.

What version are you using and can you give me the crash log.

What is the status of the crash? Have you attempt an update yet?

Here is one the crash reports, I got the others if you need them.
Basically when I notice it's not automatically updating, I click on Update now.
The command greys out saying updating.. but then crashes.
Process:               MAL Updater OS X [278]
Path:                  /Applications/MAL Updater OS X.app/Contents/MacOS/MAL Updater OS X
Identifier:            com.chikorita157.MAL-Updater-OS-X
Responsible:           MAL Updater OS X [278]
5   MAL Updater OS X                    0x0000000109d01cff -[EasyNSURLConnection encodeArraywithDictionaries:] + 375
6   MAL Updater OS X                    0x0000000109d0188a -[EasyNSURLConnection startFormRequest] + 266
7   MAL Updater OS X                    0x0000000109cfd1ca -[MyAnimeList updatetitle:confirming:] + 1010
8   MAL Updater OS X                    0x0000000109cfa0eb -[MyAnimeList scrobble] + 1995
9   MAL Updater OS X                    0x0000000109cf4327 __41-[MAL_Updater_OS_XAppDelegate firetimer:]_block_invoke + 379
0x109cf0000 -        0x109d1bfff +com.chikorita157.MAL-Updater-OS-X (2.2.1 - 2.2.1) <06C3E93E-9797-3843-ABCC-BF95B8C8C1C3> /Applications/MAL Updater OS X.app/Contents/MacOS/MAL Updater OS X
0x109d4b000 -        0x109d68ff7 +moe.ateliershiori.anitomy-osx (1.0 - 1) <1A8405C1-8518-3D2B-BC16-C097A506B08F> /Applications/MAL Updater OS X.app/Contents/Frameworks/anitomy-osx.framework/Versions/A/anitomy-osx
0x109d81000 -        0x109e06ff7 +isao.sonobe.OgreKit (2.1.4) <035D39AB-19B7-3811-A8B3-1BBEF344EEEA> /Applications/MAL Updater OS X.app/Contents/Frameworks/OgreKit.framework/Versions/A/OgreKit
0x109e23000 -        0x109e51ff7 +org.andymatuschak.Sparkle (1.8.0 - 0b186dc) <3E8C44BB-5A29-3577-AC71-89DFAB4ECD19> /Applications/MAL Updater OS X.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle

Can you also provide the output from the console.app. You can do this by going into console app and typing MAL Updater OS X in the filter. Also, provide what file name you are trying to update.

CRASH REPORT
Process:               MAL Updater OS X [279]
Path:                  /Applications/MAL Updater OS
X.app/Contents/MacOS/MAL Updater OS X
Identifier:            com.chikorita157.MAL-Updater-OS-X
Responsible:           MAL Updater OS X [279]
5   MAL Updater OS X                    0x000000010a2c0cff
-[EasyNSURLConnection encodeArraywithDictionaries:] + 375
6   MAL Updater OS X                    0x000000010a2c088a
-[EasyNSURLConnection startFormRequest] + 266
7   MAL Updater OS X                    0x000000010a2bc1ca -[MyAnimeList
updatetitle:confirming:] + 1010
8   MAL Updater OS X                    0x000000010a2b90eb -[MyAnimeList
scrobble] + 1995
9   MAL Updater OS X                    0x000000010a2b3327
__41-[MAL_Updater_OS_XAppDelegate firetimer:]_block_invoke + 379
0x10a2af000 -        0x10a2dafff +com.chikorita157.MAL-Updater-OS-X
(2.2.1 - 2.2.1) <06C3E93E-9797-3843-ABCC-BF95B8C8C1C3> /Applications/MAL
Updater OS X.app/Contents/MacOS/MAL Updater OS X
0x10a307000 -        0x10a324ff7 +moe.ateliershiori.anitomy-osx (1.0

<1A8405C1-8518-3D2B-BC16-C097A506B08F> /Applications/MAL Updater OS
X.app/Contents/Frameworks/anitomy-osx.framework/Versions/A/anitomy-osx
0x10a338000 -        0x10a3bdff7 +isao.sonobe.OgreKit (2.1.4)
<035D39AB-19B7-3811-A8B3-1BBEF344EEEA> /Applications/MAL Updater OS
X.app/Contents/Frameworks/OgreKit.framework/Versions/A/OgreKit
0x10a3db000 -        0x10a409ff7 +org.andymatuschak.Sparkle (1.8.0 -
0b186dc) <3E8C44BB-5A29-3577-AC71-89DFAB4ECD19> /Applications/MAL Updater
OS X.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle

On Thu, Feb 5, 2015 at 5:01 PM, James<EMAIL_ADDRESS>wrote:

Can you also provide the output from the console.app. You can do this by
going into console app and typing MAL Updater OS X in the filter. Also,
provide what file name you are trying to update.
—
Reply to this email directly or view it on GitHub
https://github.com/chikorita157/malupdaterosx-cocoa/issues/5#issuecomment-73139068
.

2/5/15 5:15:13.401 PM ReportCrash[878]: com.apple.message.domain:
com.apple.crashreporter.writereport.crash
com.apple.message.signature: MAL Updater OS X
com.apple.message.signature2: com.chikorita157.MAL-Updater-OS-X ||| 2.2.1
(2.2.1)
com.apple.message.signature3: DFE3E6FDF2EA8557DB03D4F57B8CAC9F
com.apple.message.result: NO
com.apple.message.summarize: YES
SenderMachUUID: 8C15E826-C574-3656-8CA9-235A0AC8C3BB
FILE NAME : [HorribleSubs] Cross Ange - 06 [1080p].mkv
On Thu, Feb 5, 2015 at 5:15 PM, Kevan Lucchini<EMAIL_ADDRESS>wrote:

CRASH REPORT
Process:               MAL Updater OS X [279]
Path:                  /Applications/MAL Updater OS
X.app/Contents/MacOS/MAL Updater OS X
Identifier:            com.chikorita157.MAL-Updater-OS-X
Responsible:           MAL Updater OS X [279]
5   MAL Updater OS X                    0x000000010a2c0cff
-[EasyNSURLConnection encodeArraywithDictionaries:] + 375
6   MAL Updater OS X                    0x000000010a2c088a
-[EasyNSURLConnection startFormRequest] + 266
7   MAL Updater OS X                    0x000000010a2bc1ca -[MyAnimeList
updatetitle:confirming:] + 1010
8   MAL Updater OS X                    0x000000010a2b90eb -[MyAnimeList
scrobble] + 1995
9   MAL Updater OS X                    0x000000010a2b3327
__41-[MAL_Updater_OS_XAppDelegate firetimer:]_block_invoke + 379
0x10a2af000 -        0x10a2dafff +com.chikorita157.MAL-Updater-OS-X
(2.2.1 - 2.2.1) <06C3E93E-9797-3843-ABCC-BF95B8C8C1C3> /Applications/MAL
Updater OS X.app/Contents/MacOS/MAL Updater OS X
0x10a307000 -        0x10a324ff7 +moe.ateliershiori.anitomy-osx
(1.0 - 1) <1A8405C1-8518-3D2B-BC16-C097A506B08F> /Applications/MAL Updater
OS X.app/Contents/Frameworks/anitomy-osx.framework/Versions/A/anitomy-osx
0x10a338000 -        0x10a3bdff7 +isao.sonobe.OgreKit (2.1.4)
<035D39AB-19B7-3811-A8B3-1BBEF344EEEA> /Applications/MAL Updater OS
X.app/Contents/Frameworks/OgreKit.framework/Versions/A/OgreKit
0x10a3db000 -        0x10a409ff7 +org.andymatuschak.Sparkle (1.8.0

0b186dc) <3E8C44BB-5A29-3577-AC71-89DFAB4ECD19> /Applications/MAL Updater
OS X.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle

On Thu, Feb 5, 2015 at 5:01 PM, James<EMAIL_ADDRESS>wrote:

Can you also provide the output from the console.app. You can do this by
going into console app and typing MAL Updater OS X in the filter. Also,
provide what file name you are trying to update.
—
Reply to this email directly or view it on GitHub
https://github.com/chikorita157/malupdaterosx-cocoa/issues/5#issuecomment-73139068
.

It may have to do with the GCD causing a deadlock with the async dispatch during the timer being fired (I have it like that so that the program won't freeze during the update process). I will look into it.

Try this version to see if you have the same issue:
http://skitch.chikorita157.com/malupdaterosx-2.2.2b1-test.zip
There was one UI updating method in the async queue that is not in the main thread, so this might fix the issue you are having.

still crashing. Uninstalled everything including deleteing the crashes and
.plist
thanks though
On Thu, Feb 5, 2015 at 5:49 PM, James<EMAIL_ADDRESS>wrote:

Try this version to see if you have the same issue:
http://skitch.chikorita157.com/malupdaterosx-2.2.2b1-test.zip
There was one UI updating method in the async queue that is not in the
main thread, so this might fix the issue you are having.
—
Reply to this email directly or view it on GitHub
https://github.com/chikorita157/malupdaterosx-cocoa/issues/5#issuecomment-73147075
.

Sorry to hear that, but at least you tried as I don't know what the problem is (The program works perfectly on my computers and virtual machines). I will be closing this issue, but if you want another try, feel free to reopen the issue.

I figured out the issue. It seems that NSMutableArray used for the HTTP request class is not thread which might be causing the problem judging from the crash report. Will be fixed in 2.2.3.

Fixed with https://github.com/chikorita157/malupdaterosx-cocoa/commit/d07271c44bf18556fd24c26f420ca46091f3a87a

Hey thanks I'll check if it does alright now
On Feb 8, 2015 12:40 PM, "James"<EMAIL_ADDRESS>wrote:

I figured out the issue. It seems that NSMutableArray used for the HTTP
request class is not thread which might be causing the problem judging from
the crash report. Will be fixed in 2.2.3.
—
Reply to this email directly or view it on GitHub
https://github.com/chikorita157/malupdaterosx-cocoa/issues/5#issuecomment-73421599
.

I haven't released it since it's for build 2.2.3... I will be releasing it after testing it.

Here is the test build:
http://skitch.chikorita157.com/malupdaterosx-2.2.3-test.zip
I want you to unzip it, right click on the MAL Updater OS X and click Show Package Contents, open Contents > MacOS. Then click MAL Updater OS X. The terminal should show up. Attempt an update and then copy all the contents in the terminal window and put it in this issue.

This is what showed up:
Last login: Mon Feb  9 16:04:51 on console
-bash-3.2$ /Users/Heizenbrg/Downloads/MAL\ Updater\ OS
X.app/Contents/MacOS/MAL\ Updater\ OS\ X ; exit;
2015-02-09 21:13:55.837 MAL Updater OS X[1534:27125] INFO -- Moving myself
to the Applications folder
2015-02-09 21:13:55.841 MAL Updater OS X[1534:27125] INFO -- Switching to
an already running version
logout
[Process completed]
On Mon, Feb 9, 2015 at 11:51 AM, James<EMAIL_ADDRESS>wrote:

Here is the test build:
http://skitch.chikorita157.com/malupdaterosx-2.2.3-test.zip
I want you to unzip it, right click on the MAL Updater OS X and click Show
Package Contents, open Contents > MacOS. Then click MAL Updater OS X. The
terminal should show up. Attempt an update and then copy all the contents
in the terminal window and put it in this issue.
—
Reply to this email directly or view it on GitHub
https://github.com/chikorita157/malupdaterosx-cocoa/issues/5#issuecomment-73543907
.

It seems that it moved to the applications folder in the users folder. Open the Applications folder in the Home Folder and Applications folder. Do the same (Right click on MAL Updater OS X > View Package Contents > Contents> MacOS and then click MAL Updater OS X). If the move dialog appears again, say don't move. Then attempt an update and then copy the terminal contents.


[BEAM-22] Remove improper Fn cloning

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

The ParDoInProcessEvaluator is provided clones of a DoFn when
appropriate, and should not serialize them.

The ThreadLocal-cloning Fn Factories were added in https://github.com/apache/incubator-beam/commit/483a5a4ffebe668e1eda3dd5ac60434d24b48b42 but cloning was not removed (as appropriate) in that CR.
R: @kennknowles @bjchambers

The test failures are because TestDoFn does not permit itself to be reused (specifically, if startBundle is called after any other DoFn method is called, including finishBundle, it will fail an assertion).
There are two potential fixes. My preference would be to modify TestDoFn to be reusable, so long as the call sequence is correct (e.g. startBundle resets the state if state is FINISHED). The other is to use the ThreadLocal only when startBundle and finishBundle are the defaults (i.e. the declaring class is org.apache.beam.sdk.transforms.DoFn
This may be a discussion suitable for the mailing list. Thoughts?

Have the tests been updated now? Should this be passing now? Also, we should state that this isn't improper cloning, but excessive cloning. It is still valid according to the model to clone these.

Updated the commit message; The RunnableOnService tests all pass, but a future-change that replaces the DirectRunner in its entirety does not, due to the implementation of Write

LGTM but I will wait until tomorrow to merge, in case there is any last-minute feedback on BEAM-38.

Based on the dev list discussion, it looks like DoFn reuse might already be prevalent, so there's no downside here. Merging.


stuff not nil

When I add mattress to my project with alamofire and objectmapper this method in mattress says "stuff not nil"
func diskPathForRequest(request: NSURLRequest) -> NSURL? {
        var url: NSURL?
        if let
            hash = hashForRequest(request),
            baseURL = diskPath()
        {
            NSLog("stuff not nil")
            url = NSURL(string: hash, relativeToURL: baseURL)
        }
        return url
    }

Is there something I have to configure?

Sorry, this was a debugging log statement accidentally left in. It means it's working as intended. Removing this now. :)


HADOOP-17319. Update the checkstyle config to ban some guava functions.

JIRA: https://issues.apache.org/jira/browse/HADOOP-17319

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 31s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
30m 10s

trunk passed

+1 :green_heart:
compile
0m 23s

trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
compile
0m 23s

trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
mvnsite
0m 22s

trunk passed

+1 :green_heart:
shadedclient
46m 16s

branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 26s

trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
0m 23s

trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 14s

the patch passed

+1 :green_heart:
compile
0m 13s

the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javac
0m 13s

the patch passed

+1 :green_heart:
compile
0m 14s

the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
javac
0m 14s

the patch passed

+1 :green_heart:
mvnsite
0m 13s

the patch passed

+1 :green_heart:
whitespace
0m  0s

The patch has no whitespace issues.

+1 :green_heart:
xml
0m  2s

The patch has no ill-formed XML file.

+1 :green_heart:
shadedclient
14m 36s

patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 18s

the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
0m 20s

the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

_ Other Tests _

+1 :green_heart:
unit
0m 20s

hadoop-build-tools in the patch passed.

+1 :green_heart:
asflicense
0m 34s

The patch does not generate ASF License warnings.

67m 37s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2400/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2400

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml

uname
Linux 0df38743b41f 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 7435604a91a

Default Java
Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2400/1/testReport/

Max. process+thread count
421 (vs. ulimit of 5500)

modules
C: hadoop-build-tools U: hadoop-build-tools

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2400/1/console

versions
git=2.17.1 maven=3.6.0

Powered by
Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Thank you @ayushtkn


Ability for extensions to extend language Intellisense

A project my team is working on involves working with Javascript files that are loaded inside an application during its runtime. The application injects global functions in the Javascript's scope at runtime dynamically. I'd like to write an extension that provides Intellisense about the dynamically injected functions.
A workaround is to put /// <reference path="path/to/types.d.ts" /> at the top of the Javascript file. This isn't ideal since we aren't using a package.json that could install those definitions in the project easily. So instead, we need to ensure everyone has them installed at a pre-determined location on the development machine.
Being able to wrap up this functionality, plus a few other project specific editor features inside of an extension would be a great productivity boost for us.

This is a good use case for a TypeScript server plugin: https://github.com/Microsoft/TypeScript/wiki/Writing-a-Language-Service-Plugin
These plugins can augment JS and TS language support. They can also be contributed by VS Code extensions through the typescriptServerPlugins contribution point


Fixes classnames in inline documentation

I'll merge once verifying all the commands work as expected.

Looks like a few updates will be necessary :)

@lesv I'm concerned that moving to mvn exec:exec is adding a lot of complexity to the sample. To translate 1 of the 3 command line runners (the simple one) to exec:exec has added 100 lines of XML and required careful revision to the run arguments because it does not support passing a complete ARGV to the main Java class and instead requires each individual parameter be passed as variables to mvn exec.
For this PR, I'll be skipping translating the other samples for IoT to this pattern as it will be too much code for a sensible PR.

@gguuss I wasn't expecting you to do all of them.  I understood it was annoying and difficult.  #1524 was opened for this process.

#1524 was opened for this process.

SGTM, I'll start keeping some notes :) I understand a few advantages of exec:exec it's just a little more verbose.


Minor spelling mistake

Just an open parenthesis never closed, nothing special

Might as well also fix this

Mouse sensitivty adjustment (MGS3).

done
man I feel silly

This is a bit too trivial for a PR.


Thoughts on being able to change the battery ceiling to a non-80% value?

Some people like to use their MacBooks as desktops, and for those types of people an option to further decrease the limit to 50-60% might not be a bad idea. Others frequently keep it plugged in but also travel a lot with it, so for those types a 70% limit may make more sense. Thoughts on implementing the aforementioned functionality? (As it stands, battery can only set the limit to 80%)

This tool already has that functionality, but the docs state:

Also automatically installs the battery command line tool. If you want a custom charging percentage, the CLI is the only way to do that.

You can do it like this: battery maintain 50


Clicking the opened tab doesn't focus on the corresponding container after refreshing the tree view

Storage Explorer Version: 1.17.0
Build Number: 20201222.4
Branch: main
Platform/OS: ia32/x64
Architecture: Windows 10/ Linux Ubuntu 16.04/ MacOS Catalina
Regression From: Not a regression
Steps to Reproduce

Select and expand one storage account.
Select one blob container and open it.
Refresh the tree view -> Expand the storage account selected in step1 -> Blob Containers.
Click the opened container tab and check whether the container on the tree view is focused or not.

Expected Experience
The container on the tree view is focused.
Actual Experience
The container on the tree view is not focused.

Expected (for now)/won't fix. If you refresh the tree, associations between nodes and tabs are lost.

Expected (for now)/won't fix. If you refresh the tree, associations between nodes and tabs are lost.


Switch to NetAnalyzers from FxCop

Description
Switch to NetAnalyzers from FxCop
Todo: add list and reason for suppressed rules.
Related issues
Addresses [issue #].
Testing
Describe how this change was tested.
FHIR Team Checklist

[ ] Update the title of the PR to be succinct and less than 50 characters
[ ] Add a milestone to the PR for the sprint that it is merged (i.e. add S47)
[ ] Tag the PR with the type of update: Bug, Dependencies, Enhancement, or New-Feature
[ ] Tag the PR with Azure API for FHIR if this will release to the managed service
Review squash-merge requirements

Semver Change (docs)
Patch|Skip|Feature|Breaking (reason)

/azp run


performance analyzer add  ratio roundtrips

Add in report ratio roundtrips: (roundtrips with pnl > 0) ÷ roundtrips

Loving this!


Fix common race condition in RefreshingAWSCredentials

Again, this PR is to start a discussion. To fix the race conditions that occur when using the async APIs, I have made some tweaks.
This does not completely fix this code, there really needs some mechanism to provide single access to stuff in the async paths, for example use of SemaphoreSlim, however this adds questions around does it need to be disposed (and I think the answer is no, maybe) and this class doesn't implement IDisposable.
Description

Changed ShouldUpdate property to CredentialsEmptyOrExpired() method, for readability.
Changed Task.Run to Task.FromResult to reduce thread wastage.
Introduced double checked locking, so that concurrent requests don't do unneeded work.
Optimise for the case where the method returns synchronously, which should be the case where the GenerateNewCredentialsAsync method is not overridden (most cases).

Motivation and Context

Testing

Screenshots (if appropriate)
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] 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
[ ] My change requires a change to the documentation
[ ] I have updated the documentation accordingly
[x] I have read the README document
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed

License

[x] I confirm that this pull request can be released under the Apache 2 license

It looks like most of this is now redundant due to the fixes here: https://github.com/aws/aws-sdk-net/commit/66fd44997b51e4ca63b086d9569da5dd4b80d5ac
Closing


Add Progress Indicator for Schema Migrations

Hello Beanie Team,
While migrating large datasets using Beanie we face challenges in monitoring the migration progress. A real-time progress indicator would be extremely helpful for better time and workflow management.
Feature Request:

Real-Time Progress Updates: A progress indicator or percentage display showing the current status of the migration.
Data Metrics: Total number of records to be migrated, migrated so far, and remaining.
Error and Success Logging: For efficient troubleshooting and confirmation of successful migrations.

Originally posted by @aakrem in https://github.com/roman-right/beanie/discussions/858

Thank you for the FEature request!


Feat/256 update national forecast header

Pull Request
Description
Updates the National forecast header.
The branch to view is feat/256-update-national-forecast-header.
The ClockIcon that I added doesn't completely align with the time in the header as shown in the design suggestion below, so I'd like to know if it looks ok.
In changing the design, I removed the previous PVNumber variable and replaced it with ForecastWithActualPV and NextForecast.
Previous:

Design suggestion:

Updated:

Fixes #256
How Has This Been Tested?
This was visually tested by running the code locally.
Checklist:

[x] My code follows OCF's coding style guidelines
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked my code and corrected any misspellings

Thanks @rachel-labri-tipton for this work. When you merge, could add this issue #256 to #253


curses flag

Add a --curses flag or a --foreground flag to start a vm in the foreground so that an end user can monitor and see what is happening.

Fix in #4


resizing the terminal crashes and/or corrupts memory

Actually, the commit<PHONE_NUMBER>60645b986664f2975c82c9344a8720 might actually be the fix.
Seems stable now...

This really does seem to work now.
Although another issue can now be spotted; while resizing the window (narrower), garbage may remain in the left edge of the screen. Creating a new issue for it #3.


[UNBOUND_SQL_PARAMETER] Error when querying Databricks warehouse using parameterized queries

Version list
Golang - 1.21
github.com/databricks/databricks-sql-go - v1.5.3
Code
Secrets truncated. Example taken from https://github.com/databricks/databricks-sql-go/blob/main/examples/parameters/main.go
package databricks

import (
	"banking/logger"
	"context"
	"database/sql"

	dbsql "github.com/databricks/databricks-sql-go"
)

func QueryDatabricks() {
	connector, err := dbsql.NewConnector(
		dbsql.WithServerHostname(""),
		dbsql.WithHTTPPath(""),
		dbsql.WithPort(443),
		dbsql.WithAccessToken(""),
	)
	if err != nil {
		logger.Errorf("ERR_CREATING_DATABRICKS_CONNECTOR: %+v", err)
		return
	}

	sqlDB := sql.OpenDB(connector)
	if err := sqlDB.Ping(); err != nil {
		logger.Errorf("ERR_PINGING_DATABRICKS: %+v", err)
		return
	}

	ctx := context.Background()
	var p_bool bool
	var p_int int
	var p_double float64
	var p_float float32
	var p_date string
	err = sqlDB.QueryRowContext(ctx, `SELECT
	:p_bool AS col_bool,
	:p_int AS col_int,
	:p_double AS col_double,
	:p_float AS col_float,
	:p_date AS col_date`,
		dbsql.Parameter{Name: "p_bool", Value: true},
		dbsql.Parameter{Name: "p_int", Value: int(1234)},
		dbsql.Parameter{Name: "p_double", Type: dbsql.SqlDouble, Value: "3.14"},
		dbsql.Parameter{Name: "p_float", Type: dbsql.SqlFloat, Value: "3.14"},
		dbsql.Parameter{Name: "p_date", Type: dbsql.SqlDate, Value: "2017-07-23 00:00:00"}).Scan(&p_bool, &p_int, &p_double, &p_float, &p_date)

	if err != nil {
		logger.Errorf("ERR_QUERYING_DATABRICKS: %+v", err)
		return
	}
}

Error
{"level":"error","connId":"7a450800-ad5e-439c-8ddf-1e5dee4ad409","corrId":"","queryId":"a7fc96f8-7401-4649-9a26-b191ee1c7382","time":"2024-03-21T12:14:56+05:30","message":"[UNBOUND_SQL_PARAMETER] Found the unbound parameter: p_bool. Please, fix `args` and provide a mapping of the parameter to a SQL literal.; line 2 pos 1"}
{"level":"error","connId":"7a450800-ad5e-439c-8ddf-1e5dee4ad409","corrId":"","queryId":"a7fc96f8-7401-4649-9a26-b191ee1c7382","error":"unexpected operation state ERROR_STATE: [UNBOUND_SQL_PARAMETER] Found the unbound parameter: p_bool. Please, fix `args` and provide a mapping of the parameter to a SQL literal.; line 2 pos 1","time":"2024-03-21T12:14:56+05:30","message":"databricks: failed to run query"}```

If you are running against your own cluster, please check dbr version >= 13.3

@yunbodeng-db I'm running it via SQL warehouse. Is it still applicable there?

If you are running against your own cluster, please check dbr version >= 13.3

I got a report internally too. I think it is the same issue. The endpoint is sql/protocolv1/o/123456789/xxxx-xxxxxx-xxxxxxby. I did query info of this cluster and it's indeed 13.3.x-scala2.12.
I am checking with others to see why this would not work for you.
BTW, I ran the same code against our own staging environment and it worked. It is an AWS workspace though.

This issue is resolved - apparently the connection values were pointing to the cluster instead of warehouse.
@yunbodeng-db A follow up question -
Is there a way to use the "IN" operator with parameterized queries? Something like "SELECT * FROM table WHERE Id IN :ids" where ids is an array of strings

Complex data types like array currently are not supported.


[Bug]: permission denied erros if ran without sudo, no config found if ran with sudo

Steps for reproducing the issue

download the releases
create a config file in ~/.config/wluma/config.toml
try to launch the built artifact without sudo and then with sudo.

What is the buggy behavior?
behavior when ran without sudo:
vega@dart ~/s/w/t/release [1]> ./wluma
[2022-01-27T19:56:04Z WARN  wluma] Skipping 'eDP-1' as it might be disconnected: Permission denied (os error 13)
[2022-01-27T19:56:04Z INFO  wluma] Continue adjusting brightness and wluma will learn your preference over time.

behavior when ran with sudo:
 vega@dart ~/s/w/t/release [SIGINT]> sudo ./wluma
[2022-01-27T19:53:16Z WARN  wluma] Skipping 'keyboard-dell' as it might be disconnected: No such file or directory (os error 2)
[2022-01-27T19:53:16Z INFO  wluma] Continue adjusting brightness and wluma will learn your preference over time.
thread 'als' panicked at 'Unable to initialize ALS IIO sensor: "No iio device found"', src/main.rs:116:26
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

here's a link to a file with RUST_BACKTRACE=full when running with sudo:
https://paste.centos.org/view/33b45dcf
What is the expected behavior?
I think the issue there is that when it's ran with sudo it thinks the user is root and looks for config file in /root/.config/wluma/config.toml
Logs
https://paste.centos.org/view/2df8ad43

Version
version 4.1.0, from the built artifact in releases folder
Environment
default command doesn't work, so here's information from neofetch, I guess.

             .',;::::;,'.                vega@dart
         .';:cccccccccccc:;,.            ---------
      .;cccccccccccccccccccccc;.         OS: Fedora Linux 35.20220125.0 (Silverblue) x86_64
    .:cccccccccccccccccccccccccc:.       Host: Notebook NS50MU
  .;ccccccccccccc;.:dddl:.;ccccccc;.     Kernel: 5.15.16-200.fc35.x86_64
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.    Uptime: 1 day, 7 hours, 3 mins
.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:.   Packages: 1432 (rpm), 101 (flatpak)
,cccccccccccccc;MMM.;cc;;WW:;cccccccc,   Shell: fish 3.3.1
:cccccccccccccc;MMM.;cccccccccccccccc:   Resolution: 1920x1080
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:   DE: GNOME 41.3 (Wayland)
cccccc;0MMKxdd:;MMMkddc.;cccccccccccc;   Theme: Adwaita-dark [GTK2/3]
ccccc;XM0';cccc;MMM.;cccccccccccccccc'   Icons: Adwaita [GTK2/3]
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;    Terminal: gnome-terminal
ccccc;0MNc.ccc.xMMd;ccccccccccccccc;     CPU: 11th Gen Intel i7-1165G7 (8) @ 4.700GHz
cccccc;dNMWXXXWM0:;cccccccccccccc:,      GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics]
cccccccc;.:odl:.;cccccccccccccc:,.       Memory: 6620MiB / 31889MiB
:cccccccccccccccccccccccccccc:'.
.:cccccccccccccccccccccc:;,..
  '::cccccccccccccc::;,.

It's probably caused by this, but you are right we can try to be better at explaining what needs to be done...
https://github.com/maximbaz/wluma#permissions

And I've realized that we don't have udev rules documented anywhere! This is actually how it's solved in Arch package, by installing this file in the proper location, so that adding yourself to video group actually works!
https://github.com/maximbaz/wluma/blob/3901acc75a25f9db8aae41512ca26a74fec2b5b2/Makefile#L42

$(LIB_DIR)

I don't seem to have these variables defined on my system?
I figured LIB_DIR is supposed to point to /etc or something, so I did
sudo install -Dm644 -t /etc/udev/rules.d/ 90-wluma-backlight.rules

and then did the usual dance around config files to add myself to video group (silverblue has it a bit broken)
cat /usr/lib/group | grep video
echo video:x:39:$USER | sudo tee -a /etc/group
sudo usermod -a -G video $USER

and I can confirm I am in video group:
vega@dart ~/s/wluma> groups
vega wheel kvm video qemu libvirt

BUT, it still doesn't appear to have permissions to control the screen:
vega@dart ~/s/wluma> ./target/release/wluma
[2022-01-29T14:16:02Z WARN  wluma] Skipping 'eDP-1' as it might be disconnected: Permission denied (os error 13)
[2022-01-29T14:16:02Z INFO  wluma] Continue adjusting brightness and wluma will learn your preference over time.
^C⏎

I don't seem to have these variables defined on my system?

https://github.com/maximbaz/wluma/blob/3901acc75a25f9db8aae41512ca26a74fec2b5b2/Makefile#L4-L5
It's part of make ecosystem, DESTDIR is empty for you, so LIB_DIR becomes /usr/lib

and I can confirm I am in video group:

Great, final thing is to confirm that udev rule was applied successfully (you can look inside what it does, it just changes group owner of a file), it should look like this (if not, reboot, or maybe you installed udev rule in a wrong location, or maybe just do it by hand)
$ ls -al /sys/class/backlight/intel_backlight/brightness
.rw-rw-r-- 4.1k root video 27 Jan 11:42 /sys/class/backlight/intel_backlight/brightness
                       ^

Great, final thing is to confirm that udev rule was applied successfully

It was!
vega@dart ~> ls -al /sys/class/backlight/intel_backlight/brightness
-rw-rw-r--. 1 root video 4096 Jan 29 16:04 /sys/class/backlight/intel_backlight/brightness

However after a quick reboot I am now facing another crash XD
vega@dart ~/s/wluma> ./target/release/wluma
[2022-01-30T13:30:02Z INFO  wluma] Continue adjusting brightness and wluma will learn your preference over time.
thread 'predictor-eDP-1' panicked at 'Unable to init export_dmabuf_manager: Missing', src/frame/capturer/wlroots.rs:80:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

the backtrace can be found here: https://paste.centos.org/view/fbfd811d

Great! This is because you are using Gnome, you must change capturer to none in the config; screen contents capturing is currently only implemented for wlroots-based compositors, #5 is tracking support for more.

And please dont close the issue yet after you get it to work, there is clearly several things that must be documented better, I will use this as a reference to improve it 👍

you must change capturer to none in the config;

looks like it did the trick. Can it still adjust my brightness based on time of day? I only really need it to get a bit dimmer during the day and a bit brighter during the night.

actually no scratch that, I tested how annoying webcam simulation is, and it doesn't seem to affect anything aside from my webcam light blinking :D
It doesn't appear to change my brightness though, is there a way to make it output logs, something along the lines of "hmm, looks like light amount is X now so I will change brightness to Y"?

Can it still adjust my brightness based on time of day?

Yes, that will still work 👍
Make sure to use als.time:
https://github.com/maximbaz/wluma/blob/3901acc75a25f9db8aae41512ca26a74fec2b5b2/config.toml#L9-L10
The keys are hours, values are arbitrary, so you can do like:
thresholds = { 0 = "night", 7 = "day", 20 = "night" }
And this would give you two states, night during 20:00-07:00 and day during 07:00-20:00

It doesn't appear to change my brightness though

You need to train it after setting the config :) So suppose you use time based config above, during the day set brightness to 90% and then at night set it to 30%, and then wluma will keep setting it for you to 90% and 30% as the hour changes

hmm yes, it appears to work now. I'm going to add it as a user systemd service and let it run for a couple of days, will check in back later to report how well it turned out

wluma has done something weird to my webcam. Now if I run wluma webcam light comes on and stays on, instead of blinking like it did yesterday. RUST_LOG=trace says wluma thinks it's always bright af, even if I cover the camera with my finger. All other apps just receive a black screen from it.

Could you please create a separate ticket for this? Let's see what we can improve with regards to webcam...
Also please include whether you can consistently reproduce (and if yes, some repro steps would be welcome), whether stopping wluma turns off the webcam light or it keeps shining even after exiting the app, whether running wluma without als.webcam turns the light off, whether you have some other apps running that might be using webcam.
If it worked but then stopped, I imagine it's some sort of conflict with another app, webcam is a single shared resource that can only be used by one app, so if you e.g. have a video call, wluma will not be able to use webcam.

Could you please create a separate ticket for this?

created #41

Documented the need for installing udev rule when using video group, otherwise this particular topic looks solved - thanks again, closing.


Runtime errors today

We are getting a lot of runtime errors today when searching AmiGO2.

It looks like production has been fluttering as bit. Hopefully it has stabilized; it seems to work now anyways. We're trying to get things ticking over here so we can move the systems over.

Well...it may be that we are production at the moment.
@stuartmiyasato Just to check here, it looks like amigo.geneontology.org is now resolving to nakama at Berkeley. Is this a temporary measure for the fluttering or should we be treating it as something more permanent?

@kltm I would like it to be more permanent, but you know...  :)  When it does this, it basically means the production web servers need to be restarted.  I'm doing that now.  But as you're noticing, I'm spending a lot less time monitoring these systems now -- I have my hands full with other tasks and unfortunately GO is dropping near the bottom of that list now...

  Back a year or two ago when Stanford had a data-center wide power shutdown, we set up DNS for amigo.geneontology.org to have a failover entry.  When a healthcheck to the Stanford load balanced address failed, DNS dynamically changed to point amigo.geneontology.org to nakama.  After the power maintenance was completed, I just kept that DNS configuration in place in case the Stanford servers ever stopped responding, like what happened earlier today.

Ooo, nice! I hadn't realized it was an automatic failover. That's good to know in case something like this happens again in the next few weeks. We had a bit of a scramble earlier when we realized we were "live" over here, trying to figure out if this was our world now :)

Remainder from a different world.


Move away from Travis for new builds

Travis is no longer as trusted as GitHub actions so the C.I. pipeline will need to be remade.

Fixed in 6034dd5 and 54e9d5a


koordlet: remove deprecated executor package

Ⅰ. Describe what this PR does

Ⅱ. Does this pull request fix one issue?
fix: #971

Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist

[ ] I have written necessary docs and comments
[ ] I have added necessary unit tests and integration tests
[x] All checks passed in make test

/lgtm

/lgtm

/approve


Enable Documentation site to have multiple pages

It appears that to have more than a single page site you have to make a tweak to the theme.
Would love it if someone would be willing to follow the steps here to get it up and going for us.
https://phuston.github.io/patrickandfrantonarethebestninjas/howto

looks like I was wrong, it already supports multiple pages
https://thewebtech.github.io/CrankShaft/Framework-Settings
It could use some work though. The fact the whole header is the same as the homepage is probably not good.


Add involvement section

Adding Involvement section to the homepage:

Can you add the SFC, please?

I added only entities that we are a direct member of or sponsoring. I am not aware that we are a member of the SFC. I can change the wording from Involvement to Affiliations if that makes it more clear.


Write a Ruby program to check digit

Description
Write a Ruby program to check digit
Check wether given character is a digit (0-9).
Input  : 1
Output : Digit

How to contribute

Save the solution in program/CheckDigit.rb file
Add CheckDigit.rb file in check-digit folder

I would like to contribute to this project!

Hey @suryapoojary0
You can comment !assign on any good first issue you want to contribute to, to be auto-assigned
!assign


Consider using the emcee package

Many of the functions in mcmc.py could be replaced by using the widely-used emcee package.
https://emcee.readthedocs.io/en/stable/
Submitted as part of JOSE Review.
openjournals/jose-reviews#261

emcee is a very good package for MCMC but not suitable for teaching students what is happening under the hood. Of course, it is very good for them to be aware of such package that they can use later for better data analysis. I will extend the corresponding notebook mentioning several packages, such as emcee, PolyChord and sbi.


@babel/polyfill is deprecated since 7.4.0

https://github.com/GrosSacASac/DOM99/blob/bd2bf3d0be6d6a9a8e4138c2ec987419f5a682f9/package.json#L44
Problem: Using deprecated package. More info https://babeljs.io/docs/en/babel-polyfill
Proposed solution: Replace all usage of @babel/polyfill in the repo with:
core-js/stable and regenerator-runtime/runtime.

It is only used in the examples. I will change it eventually.


[Diagnostics] Add environment variable for controlling top-level printing and fix issue with pretty printing/parsing roundtrip.

Fix some parsing issues from NMS and add top-level environment variables. cc @electriclilies @mbrookhart @jwfromm @tkonolige

Thanks @jroesch @tkonolige !


Added new resource

Added image for devdocs website , please merge so i can add img to main database under website section, thankyou

can I know @jayk-gupta how to add image , I have committed also but it doesn't get added to main website folder.

Please make PR on dev branch and not main


Json error due to Note

Describe your bug here.
Mind you, if you are modding, please try testing your bug in a clean version of the engine instead, this ensures the bug is actually caused by the engine itself.
I wanted to make optimized ports in a mod but the json has problems playing it and this error appears:
Command Prompt/Terminal logs (if existing)
objects/Note.hx (line 443)
states/PlayState.hx (line 2153)
flixel/group/FlxGroup.hx (line 769)
states/PlayState.hx (line 2147)
flixel/FlxState.hx (line 203)
flixel/FlxGame.hx (line 752)
flixel/FlxGame.hx (line 682)
flixel/FlxGame.hx (line 556)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)

Uncaught Error: Null Object Reference
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

> Crash Handler written by: sqirra-rng

Are you modding a build from source or with Lua?
Lua
Which branch of the engine are you using?
Latest (main)
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No, edit nothing

What version of the engine are you using? The lines aren't matching with your error.

Oops, sorry, I forgot to use 0.7
But try to run with the json in the most recent version which is version 0.7.1h but it still shows this error
(now you can help me with this error but with 0.7.1h)
objects/Note.hx (line 464)
states/PlayState.hx (line 1764)
flixel/group/FlxGroup.hx (line 787)
states/PlayState.hx (line 1758)
flixel/FlxState.hx (line 222)
flixel/FlxGame.hx (line 752)
flixel/FlxGame.hx (line 682)
flixel/FlxGame.hx (line 556)
openfl/events/EventDispatcher.hx (line 444)
openfl/display/DisplayObject.hx (line 1400)

Uncaught Error: Null Object Reference
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

> Crash Handler written by: sqirra-rng

What version of the engine are you using? The lines aren't matching with your error.

Oops, sorry, I forgot to use 0.7
But try to run with the json in the most recent version which is version 0.7.1h but it still shows this error
(now you can help me with this error but with 0.7.1h)
objects/Note.hx (line 464)
states/PlayState.hx (line 1764)
flixel/group/FlxGroup.hx (line 787)
states/PlayState.hx (line 1758)
flixel/FlxState.hx (line 222)
flixel/FlxGame.hx (line 752)
flixel/FlxGame.hx (line 682)
flixel/FlxGame.hx (line 556)
openfl/events/EventDispatcher.hx (line 444)
openfl/display/DisplayObject.hx (line 1400)

Uncaught Error: Null Object Reference
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

> Crash Handler written by: sqirra-rng

Did you edit the note's noteData or deleted a strum note? It seems to be trying to get properties from its parent strum note but can't.

Did you edit the note's noteData or deleted a strum note? It seems to be trying to get properties from its parent strum note but can't.

I think so, you can review the JSON DATA so you can see, because it detects it and everything, but when you play, that error appears
Here is the JSON DATA:
https://pastebin.com/raw/03WDkYHw

I think I found the error:
I eliminated all the events that the JSON had there, it could be played, but it still detected in the game but it crashed due to having those events, thank you very much ShadowMario anyway.
Thanks ShadowMario


Use embedded glslang for runtime glsl-to-spirv

Depends on https://github.com/cart/glsl-to-spirv/pull/1
Dependent of https://github.com/bevyengine/bevy/issues/86
This commit adds runtime glsl-to-spriv support to Bevy without needing to setup anything beyond normal Android NDK environment variables.

Special thanks to @enfipy for assisting in debugging linker issues.

Looking now / testing on as many platforms as I can.

Tested on Android 8 with MiUi - it works well.
But I think @PrototypeNM1 forgot to add an update for glsl-to-spirv (or it should be merged to bevy-glsl-to-spirv first).


Splash not rendering this JavaScript page

Could anybody please help understand why Splash would not render this https://www.flipkart.com/apple-iphone-6s-space-grey-64-gb/p/itmebysg5kgxugfk?pid=MOBEBY3VTD7ZHZQA at all?
Below is our sample spider. All I am trying to do is crawl a product url and print its product title.
Note: The issue is there with all the product pages from this site and not in particular with the above mentioned page. However, Splash is able to render the full html of the below category page from the same site.
Category page link [which splash is able to render fine] - https://www.flipkart.com/mobiles/apple~brand/pr?sid=tyy,4io&otracker=product_breadCrumbs_Apple+Mobiles
## **Spider Code:**
import scrapy
import re
import os.path
#from flip.items import AppleItem
#from apple.commonfunctions import format_review_count
from scrapy.linkextractors import LinkExtractor
from scrapy.linkextractors.sgml import SgmlLinkExtractor
from scrapy.spiders import CrawlSpider, Rule
from urlparse import urljoin
from scrapy.loader import ItemLoader
from scrapy_splash import SplashRequest

class FlipSpider(CrawlSpider):
    name = "flip"
    allowed_domains = []
    start_urls = [
	"https://www.flipkart.com/apple-iphone-6s-space-grey-64-gb/p/itmebysg5kgxugfk?pid=MOBEBY3VTD7ZHZQA"
    ]

    def __init__(self, timeStamp='', outputFolder='', *args, **kwargs):

        super(FlipSpider, self).__init__(*args, **kwargs)

    def start_requests(self):
        for url in self.start_urls:
            #yield SplashRequest(url, self.parse_start_url, endpoint = 'render.html', args = {'wait': 0.5} )
            yield scrapy.Request(url, self.parse_start_url, meta={'splash':{'endpoint':'render.html','args':{'wait': 0.5,}}})

    def parse_start_url(self, response):
		print "inside parse_detail_page"
		print "Product Title = " + response.xpath('//h1[contains(@class,"_3eAQiD")]/text()').extract()

**## Splash related settings that I have in my settings.py is below.**

DOWNLOADER_MIDDLEWARES = {
    'scrapy_splash.SplashCookiesMiddleware': 723,
    'scrapy_splash.SplashMiddleware': 725,
    'scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware': 810,
}

SPIDER_MIDDLEWARES = {
    'scrapy_splash.SplashDeduplicateArgsMiddleware': 100,
}

SPLASH_URL = 'http://localhost:8050/'

DUPEFILTER_CLASS = 'scrapy_splash.SplashAwareDupeFilter'
HTTPCACHE_STORAGE = 'scrapy_splash.SplashAwareFSCacheStorage'

Any help will be greatly appreciated.

It renders fine for me with a larger wait time (5s); screenshot is correct with a larger viewport (1280x1024). It seems the problem is that the website needs some time to render. I'm not sure there is a Splash bug here.


UPDATE dynamic query.

I have the following query that I am planning to port to jet, but I am not sure how to go about it.
UPDATE users
SET name       = COALESCE($2, name),
    email      = COALESCE($3, email),
    role       = COALESCE($4, role),
    updated_at =
        CASE
            WHEN (COALESCE($2, name) <> name OR
                  COALESCE($3, email) <> email OR
                  COALESCE($4, role) <> role)
                THEN NOW()
            ELSE updated_at
            END
WHERE id = $1
RETURNING id, name, email, role, updated_at;

The arguments in this case can be NULL. The affect is that a new value is set only if the provided argument is NOT NULL, else the old value is used. The field itself cannot be NULL. The updated_at field is only updated when there is a change in the field value.
I am not too sure how this can be done in jet. For example, how do we get existing values within a single query and how can we use nullable values (e.g. does a postgres.NullString exist?)

One way to do it would be to translate your query as is to jet query:
func StringOrNull(s *StringOrNull) StringExpression {
	if s == nil {
		return StringExp(NULL)
	}

	return StringOrNull(*s)
}

.........

var name *StringOrNull ...
var email *StringOrNull ...
var role *StringOrNull ...

stmt := Users.UPDATE().
	SET(
		Users.Name.SET(StringExp(COALESCE(Users.Name, StringOrNull(name)))),
		Users.Email.SET(StringExp(COALESCE(Users.Email, StringOrNull(email)))),
		Users.Role.SET(StringExp(COALESCE(Users.Role, StringOrNull(role)))),
		Users.LastUpdate.SET(TimestampExp(
			CASE().WHEN(
				OR(
					StringExp(COALESCE(Users.Name, StringOrNull(name))).NOT_EQ(Users.Name),
					StringExp(COALESCE(Users.Email, StringOrNull(email))).NOT_EQ(Users.Email),
					StringExp(COALESCE(Users.Role, StringOrNull(role))).NOT_EQ(Users.Role),
				),
			).THEN(NOW()).
				ELSE(Users.LastUpdate),
		)),
	).WHERE(
	Users.UsersID.EQ(Int(1)),
).RETURNING(
	Users.AllColumns,
)

But, this IMO wouldn't be a recommended approach. Query is complex, you are constantly overriding unchanged data, and if there are no data to update you are still going to ping a database.
The recommended approach would be to move procedural code out of SQL:
var columnsToUpdate ColumnList
var modelToUpdate model.Users

if name != nil {
	columnsToUpdate = append(columnsToUpdate, Users.Name)
	modelToUpdate.Name = *name
}
if email != nil {
	columnsToUpdate = append(columnsToUpdate, Users.Email)
	modelToUpdate.Email = *email
}
.....

if len(columnsToUpdate) == 0 {
	return
}

stmt2 := Users.UPDATE(columnsToUpdate).
	MODEL(modelToUpdate).
	WHERE(Users.ID.EQ(Int(1))).
	RETURNING(columnsToUpdate) // or Users.AllColumns()

thanks for the example! the recommended approach was exactly what i was after. looks like theres a bunch of stuff i have still yet to find out from jet like ColumnList and StringExp... will be some time before i get hang of this. thanks!


Mutating web hook for identifying arch / platform supported by container images of pod

Description
What problem are you trying to solve?
Easily run pods on the architectures / platforms supported by the images of its containers.
Many applications support running on amd64 and arm64, but  not all. So if you want to support several architectures / platforms in your cluster you need decide how to handle this.
For example you could configure Karpenter to add taint to arm64 nodes that then would be added to tolerations in the pods supporting it or to add node affinities for amd64 to pods that doesn't support arm64. In any case there is manual work involved.
This could be solved by implementing a mutating admission web hook that looks up what architectures / platforms supported by the images for the containers in the pod and then modify tolerations and / or affinity accordingly.
The reason this functionality would fit in Karpenter is that configuration needed for such a web hook already is known by Karpenter: taints and labels for the node that the pod should run on. So configuration could be as easy as enabling the functionality in the helm chart. According to the principle of least surprise I suspect this isn't something that should be enabled by the default.
How important is this feature to you?

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Hey sorry for the delay. I'm not sure if this is something we want to orchestrate in Karpenter. I can imagine the only case where this should really come up is in a NodePool that's flexible to multiple architectures. It's a very common pattern to prescribe the arch in your pod node requirements and match that to the architecture that's spun up when a nodeclaim is created. This will automatically partition the pods to only run on the nodeclaims with the matching architecture. If your application is multi-arch, then you likely don't care which NodeClaim it runs on either, which means that having a taint/toleration setup would require more of you to add in tolerations to get the default flexible behavior.

So if you want to support several architectures / platforms in your cluster you need decide how to handle this.

I'd like to understand how orchestrating tolerations on your pods is a easier to reason about than using node selectors? You can even use node selectors on a nodepool that might be specific to one arch, knowing that it's only compatible with that one NodePool.

control min non-spot replicas of one deployment

Node affinity weight is still available for that kind of control.

@njtran The goal of this issue is to relive the developers/admins/whatever having to care about tolerations or node selectors with regard to architecture when declaring your workload.

/remove-lifecycle stale


Izhuer

Commit for the RSoC
What I have done

Rewrite CSE
Build Raw Memory SSA generation

However, because I have changed the algorithm for Memory SSA generation this week, it build failed for the lifetime, I will fix this tomorrow at lateset.
Sorry for delay and gap in the first month, because of many competitions and my laziness, I will pick the progress this month。
What's the next step

Value Set Analysis
Type Interface Analysis

Now, the memory ssa is only raw memory ssa, which is lack of the type information, my next step will move on it, and maybe finish it at the end of Aug.

Hey @ZhangZhuoSJTU , please make changes mentioned in #65 before confirming failure of tests due to your changes.

@chinmaydd  Ok, I will do it tomorrow, for it's 12 o'clock now, hah.

@chinmaydd  Actually, I cannot finger out the reason why builds fail. seems weird. Do you know why?

I faced a similar issue with my original PR as well. I can't seem to figure out why those specific tests are overclocking. Specifically, bin_ls_x86_idioms and bin_ls_grep_replace are timing out.  I'll try to look into it as well.

grep_and_replace is the key point, I am going deep in src/analysis/matcher/gmatch.rs.


runtimeCaching option

Hi there, I'm using the runtimeCaching option with workbox because my images are from a different domain.
I can see that workbox extra options are not supported for this module, could I use this module and still cache images from different domain ?

Hi @desaintflorent , what would you need as configuration to achieve your goal ? Would you have a piece of code of the resulting worker file you want to have it working ?

That is what I'm using right now with the official nuxt pwa module :
workbox: {
		suffix: "v1",
		runtimeCaching: [
			{
				urlPattern: "http://admin.avisdegourmets.test/api/.*",
				handler: "networkFirst",
				method: "GET",
				strategyOptions: {
					cacheName: "api",
					cacheableResponse: { statuses: [0, 200] },
				},
			},
			{
				urlPattern: "https://files.avisdegourmets.com/.*",
				handler: "staleWhileRevalidate",
				strategyOptions: {
					cacheName: "images",
					cacheExpiration: {
						maxEntries: 30,
						maxAgeSeconds: 300, //60 * 60// 1h
					},
					cacheableResponse: { statuses: [0, 200] },
				},
			},
		],
	},

Great, I'll work on this. Do you need the suffix option too ? I'm not sure what it does but I can anyway check official Nuxt 2 PWAmodule code.

@desaintflorent I'm gonna add support for custom workbox template in which you'll be able to fully customize your runtime caching.
We may add module options later on but I want first to provide a way to fully customize the worker with own template first.

Ok great ! keep me updated 🙌


rayon

Many thanks for the library!
Unfortunately, library does not work along with the rayon. What am I doing wrong?
use hashbrown::HashMap;
use rayon::prelude::*;

fn main() {
    let mut test = HashMap::new();
    test.insert("1", 1);
    test.insert("2", 2);
    test.insert("3", 3);
    let vec: Vec<usize> = test.par_iter().map(|(_, val)| *val).collect();
    println!("len: {}", vec.len());
}

error[E0599]: no method named `par_iter` found for type `hashbrown::map::HashMap<&str, {integer}>` in the current scope
  --> src\main.rs:10:32
   |
10 |     let vec: Vec<usize> = test.par_iter().map(|(_, val)| *val).collect();
   |                                ^^^^^^^^
   |
   = note: the method `par_iter` exists but the following trait bounds were not satisfied:
           `hashbrown::map::HashMap<&str, {integer}> : rayon::iter::IntoParallelRefIterator`

error: aborting due to previous error

Cargo.toml
[dependencies]
hashbrown = "0.1.8"
rayon = "1.0.3"

cargo 1.34.0-nightly (5c6aa46e6 2019-02-22)

You need to enable the rayon feature in Cargo.toml:
hashbrown = { version = "0.1.8", features = ["rayon"] }

Excellent! It works. Thanks for the help.
Maybe it is worth adding this to the documentation?

Feel free to open a PR with documentation updates!

I don't really understand this (github workflow) :) Thanks again!

You can do it from the website, just go to README.md and click on the button to edit the file.

Is done. Sorry for any errors, English is not native to me.

You stil need to open a Pull Request for the changes. There should be a button or something for creating a Pull Request here: https://github.com/vchugreev/hashbrown/tree/patch-1

CryZe, thanks!


Mavlink command sender race condition

While working with camera trigger via mavlink I noticed that there is a race condition occurring between mavlink instances.
When a command from PX4 needs to be sent out each mavlink instance sends the command to it's destination and then tries to add an item into the queue of the "MavlinkCommandSender".
Even though multiple instances try to insert the command into the queue, it will only be inserted once as the logic checks if the timestamp already exists.
A command item is removed from the queue as soon as the corresponding command is acknowledged by the target system which communicates through one of the mavlink instances.

The race condition takes place if an acknowledge messages is received before all other mavlink instance tried to put the corresponding command into the sending queue (via MavlinkCommandSender). In that case the same command will be put into the queue again. That itself is not a problem, however, if the command is not acknowledged on those instances then the command will be re-sent after the timeout has passed to ALL other instances (including the one which already got the ack).
I have reproduced the problem as follows:
Enable camera triggering via mavlink:
TRIG_MODE 2 -> time based triggering
TRIG_INTERVAL 2000 -> send trigger every 2000ms
TRIG_INTERFACE 3 -> send trigger message via mavlink
Enable Telem2:
MAV_1_MODE -> telem2
Power the vehicle via usb or make sure that there is a mavlink instance running via usb.
This is important because we need at least two mavlink instances which send camera trigger messages.
Make sure that there is something connected to telem2 which acknowledges the camera trigger commands.
Make sure that there is nothing connected to the usb mavlink instance which acknowledges the camera trigger commands.
You will notice that the trigger messages received on TELEM2 do not come in regular intervals.

Could we fix that race condition with some sort of lock?


Add "undo" for section removal

Alternatively, ask for confirmation before removal

Section removal on reaction.html and reaction removal on dataset.html


Japottatweet

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/modify
Operating System: iOS
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

What are the issues you're having @japottatwee? Can you please provide details?


Upgrade Closure to v20150609

OpenNTF » JavascriptAggregator #729 SUCCESS
This pull request looks good
(what's this?)

OpenNTF » JavascriptAggregator #730 SUCCESS
This pull request looks good
(what's this?)


bug: I cannot able to update ionic 2 .

Type: bug
Ionic Version: 2.x
Platform: desktop browser
i am using windows 7 32 bit OS. i already installed ionic v1.
now i try to update ionic 2 but ionic 1 also gone now. :(
for update process i refereed this url https://ionicframework.com/docs/v2/intro/installation/
but in command prompt finally says log in folder please submit..
here i unable to submit attach files so i added the log.
please give me solution:
133947 warn In<EMAIL_ADDRESS>replacing bundled version of ionic-app-lib with<EMAIL_ADDRESS>133948 verbose If you need help, you may report this error at:
133948 verbose     https://github.com/npm/npm/issues
133949 verbose stack Error: ENOENT: no such file or directory, rename 'C:\Users\Kumar\AppData\Roaming\npm\node_modules.staging\abbrev-976d3b8c' -> 'C:\Users\Kumar\AppData\Roaming\npm\node_modules\cordova\node_modules\npm\node_modules\abbrev'
133949 verbose stack     at destStatted (C:\Program Files\nodejs\node_modules\npm\lib\install\action\finalize.js:25:7)
133949 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:264:29
133949 verbose stack     at FSReqWrap.oncomplete (fs.js:123:15)
133949 verbose stack
133949 verbose stack Error: ENOENT: no such file or directory, rename 'C:\Users\Kumar\AppData\Roaming\npm\node_modules.staging\abbrev-976d3b8c' -> 'C:\Users\Kumar\AppData\Roaming\npm\node_modules\cordova\node_modules\npm\node_modules\abbrev'
133949 verbose stack     at Error (native)
133950 verbose cwd C:\Users\Kumar
133951 error Windows_NT 6.2.9200
133952 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "ionic" "cordova"
133953 error node v6.9.2
133954 error npm  v3.10.9
133955 error path C:\Users\Kumar\AppData\Roaming\npm\node_modules.staging\abbrev-976d3b8c
133956 error code ENOENT
133957 error errno -4058
133958 error syscall rename
133959 error enoent ENOENT: no such file or directory, rename 'C:\Users\Kumar\AppData\Roaming\npm\node_modules.staging\abbrev-976d3b8c' -> 'C:\Users\Kumar\AppData\Roaming\npm\node_modules\cordova\node_modules\npm\node_modules\abbrev'
133960 error enoent ENOENT: no such file or directory, rename 'C:\Users\Kumar\AppData\Roaming\npm\node_modules.staging\abbrev-976d3b8c' -> 'C:\Users\Kumar\AppData\Roaming\npm\node_modules\cordova\node_modules\npm\node_modules\abbrev'
133960 error enoent This is most likely not a problem with npm itself
133960 error enoent and is related to npm not being able to find a file.
133961 verbose exit [ -4058, true ]

133960 error enoent This is most likely not a problem with npm itself 133960 error enoent and is related to npm not being able to find a file.
This is most likely a file and/or directory permissions issue with your npm installation. Have you made sure you have read/write/execute access to C:\Users\Kumar\AppData\Roaming\npm? This doesn't seem like an ionic problem.

yes i gave all permissions

Atleast older version need to back for doing my old task.. so it is ionic problem. ionic need to handle upgrade in safe way.

Yes it is a nom issue !!!!
I had this issue  :( it took me some time to figure out the issue.
What solved my day :
npm uninstall -g cordova
npm uninstall -g ionic
npm install -g<EMAIL_ADDRESS>(don't take the latest)
npm install -g ionic
It should work

Hello! Thanks for opening an issue with us! As this seems like more of a support question i will urge that you ask this question on our forum or on our slack channel. Thanks for using Ionic!


Parse JWT in UI with AWS SDK

https://docs.aws.amazon.com/cognito/latest/developerguide/userinfo-endpoint.html


Need reg /add sample with /d hex value syntax and explanation between decimal and hex, e g /d 0x00000001

Need reg /add sample with /d hex value syntax and explanation between decimal and hex, e g /d 0x00000001
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/reg-add

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


32 bit debian build error during snapshot generation

Description
I'm trying to build the 32 bits .deb package.
And I get an error during the snapshot generation using Electron.
(1260)Error: /home/ghost/Temp/atom/out/app/node_modules/rimraf/node_modules/glob/glob.js
Cannot replace with lazy function because the supplied node does not belong to an assignment
Here is the output of the build/script
Packaging app for platform linux ia32 using electron v1.3.14
Changing permissions for node files in /home/ghost/Temp/atom/out/atom-1.18.0-dev-f4a83b2-i386
Copying non-ASAR resources to /home/ghost/Temp/atom/out/atom-1.18.0-dev-f4a83b2-i386/resources
Writing LICENSE.md to /home/ghost/Temp/atom/out/atom-1.18.0-dev-f4a83b2-i386/resources
Application bundle created at /home/ghost/Temp/atom/out/atom-1.18.0-dev-f4a83b2-i386
Generating snapshot script at "/home/ghost/Temp/atom/out/startup.js" (1260)Error: /home/ghost/Temp/atom/out/app/node_modules/rimraf/node_modules/glob/glob.js
Cannot replace with lazy function because the supplied node does not belong to an assignment expression or a variable declaration!
  at FileRequireTransform.replaceAssignmentOrDeclarationWithLazyFunction (/home/ghost/Temp/atom/script/node_modules/electron-link/lib/file-require-transform.js:180:11)
  at Context.visitIdentifier (/home/ghost/Temp/atom/script/node_modules/electron-link/lib/file-require-transform.js:72:18)
  at Context.invokeVisitorMethod (/home/ghost/Temp/atom/script/node_modules/ast-types/lib/path-visitor.js:344:49)
  at Visitor.PVp.visitWithoutReset (/home/ghost/Temp/atom/script/node_modules/ast-types/lib/path-visitor.js:196:32)
  at NodePath.each (/home/ghost/Temp/atom/script/node_modules/ast-types/lib/path.js:101:26)
  at visitChildren (/home/ghost/Temp/atom/script/node_modules/ast-types/lib/path-visitor.js:219:18)
  at Visitor.PVp.visitWithoutReset (/home/ghost/Temp/atom/script/node_modules/ast-types/lib/path-visitor.js:204:20)
  at visitChildren (/home/ghost/Temp/atom/script/node_modules/ast-types/lib/path-visitor.js:246:25)
  at Visitor.PVp.visitWithoutReset (/home/ghost/Temp/atom/script/node_modules/ast-types/lib/path-visitor.js:204:20)
  at visitChildren (/home/ghost/Temp/atom/script/node_modules/ast-types/lib/path-visitor.js:246:25)
  at Visitor.PVp.visitWithoutReset (/home/ghost/Temp/atom/script/node_modules/ast-types/lib/path-visitor.js:204:20)
  at NodePath.each (/home/ghost/Temp/atom/script/node_modules/ast-types/lib/path.js:101:26)
  at visitChildren (/home/ghost/Temp/atom/script/node_modules/ast-types/lib/path-visitor.js:219:18)
  at Visitor.PVp.visitWithoutReset (/home/ghost/Temp/atom/script/node_modules/ast-types/lib/path-visitor.js:204:20)
  at visitChildren (/home/ghost/Temp/atom/script/node_modules/ast-types/lib/path-visitor.js:246:25)
  at Visitor.PVp.visitWithoutReset (/home/ghost/Temp/atom/script/node_modules/ast-types/lib/path-visitor.js:204:20)
  at visitChildren (/home/ghost/Temp/atom/script/node_modules/ast-types/lib/path-visitor.js:246:25)
  at Visitor.PVp.visitWithoutReset (/home/ghost/Temp/atom/script/node_modules/ast-types/lib/path-visitor.js:204:20)
  at Visitor.PVp.visit (/home/ghost/Temp/atom/script/node_modules/ast-types/lib/path-visitor.js:133:29)
  at Object.visit (/home/ghost/Temp/atom/script/node_modules/ast-types/lib/path-visitor.js:101:55)
  at FileRequireTransform.replaceDeferredRequiresWithLazyFunctions (/home/ghost/Temp/atom/script/node_modules/electron-link/lib/file-require-transform.js:68:20)
  at FileRequireTransform.apply (/home/ghost/Temp/atom/script/node_modules/electron-link/lib/file-require-transform.js:25:10)
  at /home/ghost/Temp/atom/script/node_modules/electron-link/lib/generate-snapshot-script.js:54:54
  at undefined.next (native)
  at step (/home/ghost/Temp/atom/script/node_modules/electron-link/lib/generate-snapshot-script.js:3:191)
  at /home/ghost/Temp/atom/script/node_modules/electron-link/lib/generate-snapshot-script.js:3:361

Steps to Reproduce
Expected behavior: generating the snapshot, then the .deb package
Actual behavior: Error when generating snapshot
Reproduces how often: Everytime !
Versions
atom : v1.18.0
node : v6.10.2
npm: v4.5.0
node-gyp: v3.6.0
Additional Information
Yes, I'm trying to build the 32bit package.
I still have an old eeePC that works under debian and, while it's not a race computer, I'still using it to write some code...

Hey, @RequiemGhost,
What's the out put of node --version and npm --version from the shell where you're trying to build?

node : 6.10.2
npm : 4.5.0

Hm, @as-cii do you think this may have to do with some difference in the way modules are being flattened?

Yeah, it is possible. @RequiemGhost: have you tried running script/clean first and then run again script/build again?

Yes.
I tried script/clean  then script/build, but the result is the same.
I tried completely emptying the directory and getting the sources again from  GIT before building.
Also tried on a different distro (latest 32 bits debian and latest 32 bits ubuntu), but always get the same error...

Having the same issue building on 64-bit Windows as well.
python: 2.7.13 (using PYTHON environment variable)
node: 6.11.1
npm: 3.10.10
error output:
Generating snapshot script at "F:\Workspace\atom\out\startup.js" (8)Error: F:\Workspace\atom\out\app\node_modules\rimraf\node_modules\glob\glob.js
Cannot replace with lazy function because the supplied node does not belong to an assignment expression or a variable declaration!
  at FileRequireTransform.replaceAssignmentOrDeclarationWithLazyFunction (F:\Workspace\atom\script\node_modules\electron-link\lib\file-require-transform.js:180:11)
  at Context.visitIdentifier (F:\Workspace\atom\script\node_modules\electron-link\lib\file-require-transform.js:72:18)
  at Context.invokeVisitorMethod (F:\Workspace\atom\script\node_modules\ast-types\lib\path-visitor.js:344:49)
  at Visitor.PVp.visitWithoutReset (F:\Workspace\atom\script\node_modules\ast-types\lib\path-visitor.js:196:32)
  at NodePath.each (F:\Workspace\atom\script\node_modules\ast-types\lib\path.js:101:26)
  at visitChildren (F:\Workspace\atom\script\node_modules\ast-types\lib\path-visitor.js:219:18)
  at Visitor.PVp.visitWithoutReset (F:\Workspace\atom\script\node_modules\ast-types\lib\path-visitor.js:204:20)
  at visitChildren (F:\Workspace\atom\script\node_modules\ast-types\lib\path-visitor.js:246:25)
  at Visitor.PVp.visitWithoutReset (F:\Workspace\atom\script\node_modules\ast-types\lib\path-visitor.js:204:20)
  at visitChildren (F:\Workspace\atom\script\node_modules\ast-types\lib\path-visitor.js:246:25)
  at Visitor.PVp.visitWithoutReset (F:\Workspace\atom\script\node_modules\ast-types\lib\path-visitor.js:204:20)
  at NodePath.each (F:\Workspace\atom\script\node_modules\ast-types\lib\path.js:101:26)
  at visitChildren (F:\Workspace\atom\script\node_modules\ast-types\lib\path-visitor.js:219:18)
  at Visitor.PVp.visitWithoutReset (F:\Workspace\atom\script\node_modules\ast-types\lib\path-visitor.js:204:20)
  at visitChildren (F:\Workspace\atom\script\node_modules\ast-types\lib\path-visitor.js:246:25)
  at Visitor.PVp.visitWithoutReset (F:\Workspace\atom\script\node_modules\ast-types\lib\path-visitor.js:204:20)
  at visitChildren (F:\Workspace\atom\script\node_modules\ast-types\lib\path-visitor.js:246:25)
  at Visitor.PVp.visitWithoutReset (F:\Workspace\atom\script\node_modules\ast-types\lib\path-visitor.js:204:20)
  at Visitor.PVp.visit (F:\Workspace\atom\script\node_modules\ast-types\lib\path-visitor.js:133:29)
  at Object.visit (F:\Workspace\atom\script\node_modules\ast-types\lib\path-visitor.js:101:55)
  at FileRequireTransform.replaceDeferredRequiresWithLazyFunctions (F:\Workspace\atom\script\node_modules\electron-link\lib\file-require-transform.js:68:20)
  at FileRequireTransform.apply (F:\Workspace\atom\script\node_modules\electron-link\lib\file-require-transform.js:25:10)
  at F:\Workspace\atom\script\node_modules\electron-link\lib\generate-snapshot-script.js:52:54
  at undefined.next (native)
  at step (F:\Workspace\atom\script\node_modules\electron-link\lib\generate-snapshot-script.js:3:191)
  at F:\Workspace\atom\script\node_modules\electron-link\lib\generate-snapshot-script.js:3:361

@tbrockman have you spotted the exact commit by any chance ? I still have the same issue when using :
node: 6.11.3
npm: 5.4.1
python : 2.7.6
Best, Arturo

@tbrockman just found the fix. Change the npm version here :
diff --git a/script/package.json b/script/package.json
index e5c09c286..350fc2b0e 100644
--- a/script/package.json
+++ b/script/package.json
@@ -22,7 +22,7 @@
     "minidump": "0.9.0",
     "mkdirp": "0.5.1",
     "normalize-package-data": "2.3.5",
-    "npm": "3.10.5",
+    "npm": "5.3.0",
     "passwd-user": "2.1.0",
     "pegjs": "0.9.0",
     "runas": "3.1.1",

and then launch the build with :
CC=clang CXX=clang++ ./script/build --create-debian-package
and you're done. Tested with atom v1.19.7
Best, Arturo.

Also encountered with this.

Also encountered with this.
apm  2.1.7
npm  6.2.0
node 8.9.3 x64
atom 1.36.1
python 2.7.16

@bosspan please open a new issue, thanks.


fixup(infra.ci): update environment variable with correct path for java

for pod agents amd64 and arm64
the java path is set within the packer-image process : https://github.com/jenkins-infra/packer-images/blob/1b0f119e8458058cf7dc1dde0c2ef667fe892b77/provisioning/ubuntu-provision.sh#L312C27-L312C38

closed


https://dutchycorp.ovh

Domain
https://dutchycorp.ovh
Link
https://dutchycorp.ovh/sl/DmtIL8Om
Version
0.0.0
What browsers are you seeing the problem on?
Brave
What OS are you seeing the problem on?
Windows
(Optional) Anything else?
https://dutchycorp.space/sl/MOnhlcs1
https://dutchycorp.space/sh/1WYEdTE8
https://dutchycorp.space/sh/MhrePrz
https://dutchycorp.ovh/sh/8WqnnHG6
Code of Conduct

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

Done, sort of the second link in the chain need crowd bypass
domainBypass("dutchycorp.space", () => {
    ensureDomLoaded(() => {
        ifElement("div#cl1", d => {
		safelyNavigate(d.getElementsByTagName("a")[0].href)
    })
})
})

Fixed, thanks for the report


h-raylib: Raylib bindings for Haskell

Project description
This library includes Haskell bindings to the Raylib library. It supports Windows, Mac, Linux, and BSD.
Metadata

homepage URL: https://hackage.haskell.org/package/h-raylib
source URL: https://github.com/Anut-py/h-raylib
license: Apache-2.0
platforms: Windows, Mac, Linux, and BSD

A package description for this package was automatically generated a few days ago and is present in master as haskellPackages.h-raylib. However it is marked as broken, since the build actually failed and I lacked the time debugging the problem at the time.
The generated package definition looks like this:
  "h-raylib" = callPackage
    ({ mkDerivation, base, c, libGL, libX11 }:
     mkDerivation {
       pname = "h-raylib";
       version = "<IP_ADDRESS>";
       sha256 = "1bb0g8gn08pp2s763d0ic7hj46whpb6xdq0hvpar26srxlkxnzjl";
       libraryHaskellDepends = [ base ];
       librarySystemDepends = [ c libGL libX11 ];
       description = "Raylib bindings for Haskell";
       license = lib.licenses.asl20;
       hydraPlatforms = lib.platforms.none;
       broken = true;
     }) {c = null; inherit (pkgs) libGL; inherit (pkgs.xorg) libX11;};

Looking at the build log and the package description, it seems to me that the upstream cabal file neglected to declare a dependency on libXcursor which is missing as a result.
I think the best way to resolve this issue would be to propose a change upstream adding Xcursor in extra-libraries and asking them to release a new version to Hackage. As soon as that propagates to our package set, we can simply drop the broken flag.
Maybe you could try getting that change upstreamed? You can always test what package expression would be generated by running cabal2nix path/to/h-raylib-source. Also happy to answer any questions you may have.
(Currently, there is a way to get it to work by using a expression like with haskell.lib.compose; addBuildDepend xorg.libXcursor (markUnbroken haskellPackages.h-raylib). I'd prefer not to maintain such an override if we can fix the metadata upstream.)

Just an update to say I'm doing my best to try and test things out as per @sternenseemann 's comment, however with me still being a beginner I have to start from scratch knowledge wise. If someone wants to beat me to it then I'd be grateful, but if not I'm going to (slowly) work towards becoming comfortable with diving into this.

@sternenseemann sorry for the double-ping, but the cabal file has been changed upstream in <IP_ADDRESS>. Is there any way to retrigger a build?
Thank you for your help earlier I'm still going to use this as an opportunity to try and learn a little more so I can be more independent.

@Ashe The easiest thing would be to wait for the haskell-updates branch to re-generate all the Haskell packages from the latest hackage versions, then h-raylib will likely be bumped to <IP_ADDRESS>.
That will generally happen once every week or two weeks or so.

Indeed, you can check for PRs from the haskell-updates branch. Currently there is no PR since we are taking a bit of a break until the openssl security update is done, since CI build time will be required for more important tasks during this time.
You can use cabal2nix to generate a nix expression for the version:
> cabal2nix cabal://h-raylib-<IP_ADDRESS>
{ mkDerivation, base, c, lib, libGL, libX11, libXcursor, libXi
, libXinerama, libXrandr
}:
mkDerivation {
  pname = "h-raylib";
  version = "<IP_ADDRESS>";
  sha256 = "112dbb53ff8433ead7559d52d3ed8fcb9610c0e7c33fa423ac423a11bcc8b27b";
  libraryHaskellDepends = [ base ];
  librarySystemDepends = [
    c libGL libX11 libXcursor libXi libXinerama libXrandr
  ];
  description = "Raylib bindings for Haskell";
  license = lib.licenses.asl20;
}

Contrary to hackage2nix which generates the package set in nixpkgs it can't resolve the (system) libraries outside of haskellPackages (since they need to be passed at the outer, calling level), but the names that are generated seem to check out.

From my testing this seems to work fine after applying #199423. However there are some warnings left:
[5 of 5] Compiling Raylib           ( src/Raylib.hs, dist/build/Raylib.p_o )

In file included from raylib/src/rglfw.c:87:0: error:
raylib/src/external/glfw/src/posix_poll.c: In function ‘_glfwPollPOSIX’:

raylib/src/external/glfw/src/posix_poll.c:49:32: error:
     warning: implicit declaration of function ‘ppoll’; did you mean ‘poll’? [-Wimplicit-function-declaration]
       49 |             const int result = ppoll(fds, count, &ts, NULL);
          |                                ^~~~~
          |                                poll
   |
49 |             const int result = ppoll(fds, count, &ts, NULL);
   |                                ^

In file included from raylib/src/rglfw.c:87:0: error:
raylib/src/external/glfw/src/posix_poll.c: In function ‘_glfwPollPOSIX’:

raylib/src/external/glfw/src/posix_poll.c:49:32: error:
     warning: implicit declaration of function ‘ppoll’; did you mean ‘poll’? [-Wimplicit-function-declaration]
       49 |             const int result = ppoll(fds, count, &ts, NULL);
          |                                ^~~~~
          |                                poll
   |
49 |             const int result = ppoll(fds, count, &ts, NULL);
   |                                ^

In file included from raylib/src/rglfw.c:87:0: error:
raylib/src/external/glfw/src/posix_poll.c: In function ‘_glfwPollPOSIX’:

raylib/src/external/glfw/src/posix_poll.c:49:32: error:
     warning: implicit declaration of function ‘ppoll’; did you mean ‘poll’? [-Wimplicit-function-declaration]
       49 |             const int result = ppoll(fds, count, &ts, NULL);
          |                                ^~~~~
          |                                poll
   |
49 |             const int result = ppoll(fds, count, &ts, NULL);
   |                                ^

Xext was just added to extra-libraries in h-raylib version <IP_ADDRESS>

Hm, that would also work, but I don't think it is the correct fix. You don't depend on Xext directly, do you, @Anut-py? It seems to me that it is only pulled in via the XInput2.h header.
The warnings seem to be fixable (with glibc at least) by passing -D_GNU_SOURCE to the C compiler.

Xext was required as an extra library due to an unrelated issue. I thought it might be relevant here.

I assume you are referring to this? This header is only included via the xinput2 header and not directly from what I could tell, hence my comment.

Ah, I see. #199423 has been merged, does that mean it is ok to remove Xext from the cabal extra-libraries?

It's going to take a bit of time before this change is propagated to downstream users, see the PR tracker.

Should work in #200740.

It is definitely correctly propagated in nixpkgs (and h-raylib is working correctly), so I would assume it is an haskell.nix issue. Maybe it is ignoring the specified nixpkgs revision or preventing propagation somehow?


Cleanup unused param

Please provide a description of this PR:
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Ambient
[ ] Configuration Infrastructure
[ ] Docs
[ ] Dual Stack
[x] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Please check any characteristics that apply to this pull request.

[x] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

@hanxiaop: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
abe880bacaa93453b1f8184b4fc370015ec1ef95
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test release-notes

@hanxiaop: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry-mc_istio
abe880bacaa93453b1f8184b4fc370015ec1ef95
link
true
/test integ-telemetry-mc

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-telemetry-mc

@zirain Is this a new test flake? https://prow.istio.io/view/gs/istio-prow/pr-logs/pull/istio_istio/48220/integ-telemetry-mc_istio/1732642912618942464

cc @howardjohn


Strange syntactic restrictions on predicate arguments

These work:
type t1 (t:Type) = t
type t2 (a:Type) ('p:a->Type) = a

But this doesn't work:
type t2' (a:Type) (p:a->Type) = a

it doesn't even pass parsing:
../../bin/fstar.exe --fstar_home ../.. bug181.fst
ERROR: Syntax error near line 8, character 24 in file bug181.fst

Why?

The same problem appears with quantifiers over predicates.

The binding rules for parsing ticked type variables is evidently a bit different than parsing non-ticked ones.
You should write:
type t2' (a:Type) (p:(a->Type)) = a

I will change it so that the convention for ticked variables is the same.

This syntax below is no longer supported. Ticked variables cannot be explicitly bound or ascribed kinds. Use unticked variables for that.
type t2 (a:Type) ('p:a->Type) = a //syntax error on 'p


Use a database for groups instead of pickling them (possibly TinyDB)

The current implementation of groups as dataclasses works (though we might consider pydantic, see #102 ); but the persistence as pickles is not really good. This should be re-written to use an actual database.
SQLite seems to work OK for the manuscripts etc., but I'm not sure a relational database is really the right structure for this kind of one-to-many relationship we have in the groups. Of course it works, but it seems clumsy to me, compared to a NoSQL database.
In terms of NoSQL databases, TinyDB seems to be the equivalent of SQLite in the python world: It also works of a file or in-memory, and it doesn't need a database-server but can be used directly in code.
Like "real" NoSQL databases (MongoDB, etc.), it stores documents as JSON-like structures, so a one-to-many relationship can just be a Document containing an Array (i.e. in this case a Group having a list of IDs).
@kraus-s what do you think, should we give it a shot?
And if it works great, we should benchmark our Person and Text junction tables in SQLite against this one too...

I see your point and I agree, that TinyDB could provide an elegant solution. I would like to keep it simple for now and prefer to first try and implement it in SQLite. This shouldn't even be to hard: We can even store a JSON like array in SQLite, i.e. like this:
ID | GroupName | GroupContents
0 | A | {PPL: 'ArnAlf001", "ArnAlf002"}
This is perfectly fine from an SQL point of view, because it does not constitute a many-to-many relationship. It is a single, stored object.
This way we could also later on mix MSs, Txts and Ppl in one group and display their relationships as a network graph ;)

I was hoping to get rid of SQL... ;)
But you're right. probably we should keep it simple for now.
But as I stated in my comment on #105 I'd probably like to keep this a separate database, as it will be our only writeable DB.


is there any way to disable and enable  lock button of react flow controls plugin using react state variable

Please describe the feature that you want to propose
Is there any way to disable and enable  lock button of react flow controls plugin based on react state variable.

i want to disable interaction on the flows for normal users.

@kumarnishu
But i think you can find what you are looking for over here.
I think you can achieve this by making nodes non-dragable, non-connectable and non-selectable like what is happening in Controls component.
  const onToggleInteractivity = () => {
    store.setState({
      nodesDraggable: !isInteractive,
      nodesConnectable: !isInteractive,
      elementsSelectable: !isInteractive,
    });

    onInteractiveChange?.(!isInteractive);
  };

You can also do this by ignoring all of the changes that are firing via onNodesChange and onEdgesChange props.
I hope this helps, I'm not a project maintainer nor developer so feel free to wait for an official answer. Have a nice day!

i understand

@kumarnishu I think you can find what you are looking for over here. You can achieve this by making nodes non-dragable, non-connectable and non-selectable like what is happening in Controls component.
  const onToggleInteractivity = () => {
    store.setState({
      nodesDraggable: !isInteractive,
      nodesConnectable: !isInteractive,
      elementsSelectable: !isInteractive,
    });

    onInteractiveChange?.(!isInteractive);
  };

You can also do this by ignoring all of the changes that are firing via onNodesChange and onEdgesChange props.
I hope this helps, I'm not a project maintainer nor developer so feel free to wait for an official answer. Have a nice day!

i got it , think i should remove lock btn from default controls panel, and implement custom lock button for my self.

i understand

@kumarnishu I think you can find what you are looking for over here. You can achieve this by making nodes non-dragable, non-connectable and non-selectable like what is happening in Controls component.
  const onToggleInteractivity = () => {
    store.setState({
      nodesDraggable: !isInteractive,
      nodesConnectable: !isInteractive,
      elementsSelectable: !isInteractive,
    });

    onInteractiveChange?.(!isInteractive);
  };

You can also do this by ignoring all of the changes that are firing via onNodesChange and onEdgesChange props.
I hope this helps, I'm not a project maintainer nor developer so feel free to wait for an official answer. Have a nice day!

i got it , think i should remove lock btn from default controls panel, and implement custom lock button for my self. thanks sir.

this is the best way ,i want to hide the lock icon for the normal users, and it is working.

You can also change state of the control button itself, you can change isInteractive property in the store(it will also trigger the toggle). But writing your own controls is the best approach.


NL: Add an SV focussed validation tool

Run it against a slightly optimized local NL server.
Takes about 20-25 mins to run through the 16.5K queries.  The encode + semantic_search on medium_ft is ~73ms.  on small it is 47ms each.

Thanks! I am not sure the current output will suffice when building an automated fine-tuning but we can iterate. Provided some specifics in comments

Thanks for the changes!  Made the fine-tuning pair change...


upgrade to bullseye

why hasnt anybody done this? stretch has long been eol...

i forgor

will upgrade docker soon:tm: