Ctrl-d twice?

While looking at other issues, I kinda stumbled on this one:
$ openssl dgst -rmd160
hahaha
^D^D
(stdin)= 0ffd3c2d34431d8b8923a15200e3bd1815765f0a

The strangeness here is having to press ^D (i.e. signal EOF) twice.

@levitte it looks like Ctrl+D is an EOF signal and only works in two ways based on this stackoverflow answer. I think it's safe to close this as not a bug based on that? Up to the maintainers of course.

Thanks for the link @rudolfolah. Looks like it works as designed. :-) Following your hint, I found another excellent explanation  on unix.stackexchange.com.

Those links explain absolutely nothing relevant.
The key sequence after starting the program was:
h a h a h a RET C-d C-d
One C-d should have been enough to tell the application that I was ending the stream. I suspect a corner case in our BIO implementation.

@levitte good point. thought I'd take a look at mentions of EOF in the code base and there's quite a few mentions. If it's a real issue, looks like the easiest thing is stepping through gdb or some other debugger. Sorry I couldn't be more helpful here!

Those links explain absolutely nothing relevant.

For me it was relevant, because I always thought that a CTRL-D has no effect if you're not at the beginning of the line. (In fact, bash behaves this way, I can press CTRL-D as often as I like and nothing happens if the cursor is not at the beginning of the line. So it seems like bash does something special to prevent the terminal from sending it an EOF.)

The key sequence after starting the program was:
h a h a h a RET C-d C-d

Ok, the RET changes everything. Unfortunately it was easy to overlook it in your initial description.

Ok, the RET changes everything. Unfortunately it was easy to overlook it in your initial description.

Cool, I'm glad we found a common point.

Reproduced with 1.1.1c (debian buster)

Without RET it took me to press Ctrl+D trice.

As Rudolf  ( @rudolfolah ) point is normal to press once or two time ^D. In the link you could see sample with cat command. Once is at begining of line.
May be issue is that openssl input requires one more?

P.S. "cat" samples:

<Ctrl+D>
<Ctrl+D><Ctrl+D>

P.S. "cat" samples:

[h][a][h][a][Enter][Ctrl+D]
[h][a][h][a][Ctrl+D][Ctrl+D]

IIUC, 1. and 2. are documented behaviour, but OpenSSL deviates from that behaviour:

[h][a][h][a][Enter][Ctrl+D][Ctrl+D]

That's the issue @levitte is talking about.

@levitte how about changing the issue title to something like
openssl dgst requires one extra Ctrl+D keystroke

and make the description a little bit more clear to prevent further questions?

I doubt it's just dgst. Feel free to try a cipher

beldmit@manul$ openssl enc -base64
asdf[RET ^D ^D]
YXNkZgo=
beldmit@manul$ openssl enc -base64
asdf[^D ^D ^D]YXNkZg==

Usually  read from file stream is in loop like:
while not eof of file
read and process data
In reported case, for instance dgst , in method do_fp is used loop:
for (;;) {
i = BIO_read(bp, (char *)buf, BUFSIZE);
Checking for eof should resolve issue, i.e. s/for (;;) {/while (!BIO_eof(bp))/ .

Usually read from file stream is in loop like:
while not eof of file
read and process data
In reported case, for instance dgst , in method do_fp is used loop:
for (;;) {
i = BIO_read(bp, (char *)buf, BUFSIZE);
Checking for eof should resolve issue, i.e. s/for (;;) {/while (!BIO_eof(bp))/ .

For anyone looking for this in the code base:
https://github.com/openssl/openssl/blob/f3448f5481a8d1f6fbf5fd05caaca229af0b87f7/apps/dgst.c#L464-L473
Here's an example of BIO_eof being used:
https://github.com/openssl/openssl/blob/4e7991b497b65145ec5d570485020e1658208866/test/params_conversion_test.c#L308-L318

Well, fread(3) calls read(2) in loop; when read(2) returns 0, fread(3) sets the eof-bit in FILE-structure, but it still returns the already collected bytes, and if the caller doesn't check for feof(3), the next fread(3) will continue reading.
A possible correction for crypto/bio/bss_file.c:
--- bss_file.b	2019-05-28 15:12:21.000000000 +0200
+++ bss_file.c	2019-07-18 18:05:47.350770045 +0200
@@ -145,7 +145,8 @@
         if (b->flags & BIO_FLAGS_UPLINK)
             ret = UP_fread(out, 1, (int)outl, b->ptr);
         else
-            ret = fread(out, 1, (int)outl, (FILE *)b->ptr);
+            if (! feof((FILE *)b->ptr) && ! ferror((FILE *)b->ptr))
+                ret = fread(out, 1, (int)outl, (FILE *)b->ptr);
         if (ret == 0
             && (b->flags & BIO_FLAGS_UPLINK) ? UP_ferror((FILE *)b->ptr) :
                                                ferror((FILE *)b->ptr)) {

Don’t you want to earn the merits for your investigation yourself? Pull request welcome! :-)

Lőrinczy, Zsigmond wrote:

 -            ret = fread(out, 1, (int)outl, (FILE *)b->ptr);
 +            if (! feof((FILE *)b->ptr) && ! ferror((FILE *)b->ptr))
 +                ret = fread(out, 1, (int)outl, (FILE *)b->ptr);

else  block ?
Perhaps BIO documentation could be reviewed as well.
Roumen

Just a quick note: the application is in error if it doesn't check BIO_eof() value.  It's basically the same with fread(), if you do that call after EOF has been reached, you will get the same effect, i.e. have to press ^D again, because terminal driver...
The only reason I didn't have to press ^D indefinitely is that the second time around, fread() sets the error flag, so ferror() returns 1, and finally the application will get the -1 indicating that error.
Correct the application, don't "correct" the library to mitigate for application authoring mistakes.  Doing the latter often create corner cases that can become messy.

@levitte I don't think ferror is affected in this context; in your example the first fread(3) calls read(2) twice; the second fread(3) calls read(2) once:
'fread' 1 is called
'read' 1 returns 'Hahaha\n' len=7
'read' 1 returns '' len= 0 (beacuse of first ^D)
'fread' 1 sets feof-flag then returns 'Hahaha\n' len=7
'fread' 2 is called
'read' 3 returns '' len= 0 (beacuse of second^D)
'fread' 2 sets feof-flag (again) then returns '' len=0
caller detects eof

Lőrinczy, Zsigmond wrote:

@levitte I don't think ferror is affected in this context; in your example the first fread(3) calls read(2) twice; the second fread(3) calls read(2) once:
 'fread' 1 is called
 'read' 1 returns 'Hahaha\n' len=7
 'read' 1 returns '' len= 0 (beacuse of first ^D)
 'fread' 1 sets feof-flag then returns 'Hahaha\n' len=7
 'fread' 2 is called
 'read' 3 returns '' len= 0 (beacuse of second^D)
 'fread' 2 sets feof-flag (again) then returns '' len=0
 caller detects eof

If I understand properly Richard's remark correction must be in apps/*.c
code not in crypto/.... .

Edit: Now I think this should be fixed in dgst.c, something like this:

Yes


Methods on exported classes need "extra" 'Function' annotation if implemented as arrow functions

I'm guessing the below behavior (error on Foo2.bar2)  is a consequence of annotations being required at module boundaries, and the arrow type annotation syntax not quite counting because bar2 is technically a class property. This is a bit unfortunate, though, since the arrow syntax seems to be the recommendation for bound methods on ES6 React classes
// @flow

export class Foo {
  bar(): this {
    return this;
  };
}

export class Foo2 {
  // test.js:11
  //  11:   bar2 = (): this => {
  //        ^ class property `bar2`. Missing annotation
  //
  //
  // Found 1 error
  bar2 = (): this => {
    return this;
  };
}

export class Foo3 {
  bar3: Function = (): this => {
    return this;
  };
}

ping?

It also doesn't really make sense that the Function annotation satisfies the type annotations at module boundaries requirement while providing no additional type information. If anything, what should be enforced are the type annotations on the arrow function itself, i.e. foo = (bar: string): number => {. The current alternative is to use the double arrow syntax which is redundant and not very readable.
I understand why the current behavior is the case since, as was pointed out, it's technically a class property and is treated like any other class property rather than like a method, and an exception would need to be made for that syntax. But since React's documentation promotes the arrow syntax for binding methods, perhaps it's worth making the exception to have Flow treat them as methods.

Was it fixed in b73fed6d6ec929a31f37aa10b1aeb76eb83e3462?

@pvolok Nice, haven't tried it but looks that way. I guess that will be released in 0.28.


Can't run react native app from existing ios app

I tried to run my react native app using RCTRootView but keep throwing this error
2019-09-27 16:28:42.163 [info][tid:com.facebook.react.JavaScript] 'Failed to print error: ', 'Requiring module "node_modules/react-native/Libraries/Utilities/Platform.ios.js", which threw an exception: Invariant Violation: TurboModuleRegistry.getEnforcing(...): \'PlatformConstants\' could not be found. Verify that a module by this name is registered in the native binary.'
2019-09-27 16:28:42.171 [fatal][tid:main] Unhandled JS Exception: TurboModuleRegistry.getEnforcing(...): 'PlatformConstants' could not be found. Verify that a module by this name is registered in the native binary.

React Native version:
React 16.9.0
React-Native 0.61.1
pod config
pod 'React', :path => 'react/node_modules/react-native/'
  pod 'React-Core', :path => 'react/node_modules/react-native/'
  # pod 'React-DevSupport', :path => 'react/node_modules/react-native/React'
  # pod 'React-fishhook', :path => 'react/node_modules/react-native/Libraries/fishhook'
  pod 'React-RCTActionSheet', :path => 'react/node_modules/react-native/Libraries/ActionSheetIOS'
  pod 'React-RCTAnimation', :path => 'react/node_modules/react-native/Libraries/NativeAnimation'
  pod 'React-RCTBlob', :path => 'react/node_modules/react-native/Libraries/Blob'
  pod 'React-RCTImage', :path => 'react/node_modules/react-native/Libraries/Image'
  pod 'React-RCTLinking', :path => 'react/node_modules/react-native/Libraries/LinkingIOS'
  pod 'React-RCTNetwork', :path => 'react/node_modules/react-native/Libraries/Network'
  pod 'React-RCTSettings', :path => 'react/node_modules/react-native/Libraries/Settings'
  pod 'React-RCTText', :path => 'react/node_modules/react-native/Libraries/Text'
  pod 'React-RCTVibration', :path => 'react/node_modules/react-native/Libraries/Vibration'
  # pod 'React-RCTWebSocket', :path => 'react/node_modules/react-native/Libraries/WebSocket'

  pod 'React-cxxreact', :path => 'react/node_modules/react-native/ReactCommon/cxxreact'
  pod 'React-jsi', :path => 'react/node_modules/react-native/ReactCommon/jsi'
  pod 'React-jsiexecutor', :path => 'react/node_modules/react-native/ReactCommon/jsiexecutor'
  pod 'React-jsinspector', :path => 'react/node_modules/react-native/ReactCommon/jsinspector'
  pod 'Yoga', :path => 'react/node_modules/react-native/ReactCommon/yoga'

  pod 'DoubleConversion', :podspec => 'react/node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => 'react/node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => 'react/node_modules/react-native/third-party-podspecs/Folly.podspec'

Steps To Reproduce

create react app
configure xcode follow pod file
http://$host:$port/index.bundle?platform=ios

Describe what you expected to happen:
run seemlessly
Snack, code example, screenshot, or link to a repository:
Running Code in XCode
NSURL *jsCodeLocation = [NSURL URLWithString:@"http://<IP_ADDRESS>:19000/index.bundle?platform=ios"];
    _rctBridge = [[RCTBridge alloc] initWithBundleURL:jsCodeLocation moduleProvider:nil launchOptions:nil];
    _rootView = [[RCTRootView alloc] initWithBridge:_rctBridge moduleName:@"AppHome" initialProperties:@{@"appId":self.marketApp.appId}];

I have the same error upgrading to 61.1 from an existing react-native (recent) application

I was on 0.60.5 then went to 0.61.1. Then I ran into this issue and downgraded back to 0.60.6 and now it is working for me.

@AustP downgraded too and working too here 👍

I am also seeing this problem, but need 0.61 for CocoaPods support. Is there any more information?

I was able to fix this problem by adding the following podspecs:

React-CoreModules
ReactCommon/turbomodule/core
FBLazyVector
FBReactNativeSpec
RCTRequired
RCTTypeSafety

I used this commit for guidance.

@BrianBatchelder currently working on this same issue. I've included all of those podspecs. Did you end up fixing it for RN 0.61, 0.61.1 or another version?

@BrianBatchelder
I already added those podspecs in my Podfile but still ran into this issue.
Did I miss something?
I used upgrade-helper(https://react-native-community.github.io/upgrade-helper/?from=0.60.5&to=0.61.1) for guidance.

I tried again without running react-native upgrade, just follow the upgrade-helper diff to update my project and the error is gone.

I was able to fix this problem by adding the following podspecs:

React-CoreModules
ReactCommon/turbomodule/core
FBLazyVector
FBReactNativeSpec
RCTRequired
RCTTypeSafety

I used this commit for guidance.

This worked for me.
Thanks

@sanjaynegi I followed your podspecs however I'm getting an issue with FBLazyVector and RCTRequired stating that
AccessibilityPrimitives.h file not found
Do you know why?

@BrianBatchelder I followed your podspecs however I'm getting an issue with FBLazyVector and RCTRequired stating that
AccessibilityPrimitives.h file not found
Do you know why?

Getting the same error as OP on v0.61.2, when adding RN to an existing iOS project following the guide:
https://facebook.github.io/react-native/docs/integration-with-existing-apps
The Podfile required quite a few changes compared to the Podfile in the tutorial, I think the tutorial might be outdated. After getting around that problem, getting the same error OP mentioned:
[fatal][tid:main] Unhandled JS Exception: TurboModuleRegistry.getEnforcing(...): 'PlatformConstants' could not be found. Verify that a module by this name is registered in the native binary.

Getting same error and tried all above solution, but can't success...

Help?

@sanjaynegi's Solution worked like a charm

I was able to fix this problem by adding the following podspecs:

React-CoreModules
ReactCommon/turbomodule/core
FBLazyVector
FBReactNativeSpec
RCTRequired
RCTTypeSafety

I used this commit for guidance.

This worked like a charm for me

Following @BrianBatchelder comment, however I'm getting an issue with FBLazyVector and RCTRequired stating that
AccessibilityPrimitives.h file not found
This is how my Podfile looks like:
...
# React Native pods
pod 'React-Core', :path => '../../node_modules/react-native'
pod 'React-CoreModules', :path => '../../node_modules/react-native/React/CoreModules'
#pod 'React-Core/DevSupport', :path => '../../node_modules/react-native/'
pod 'React-RCTActionSheet', :path => '../../node_modules/react-native/Libraries/ActionSheetIOS'
pod 'React-RCTAnimation', :path => '../../node_modules/react-native/Libraries/NativeAnimation'
pod 'React-RCTBlob', :path => '../../node_modules/react-native/Libraries/Blob'
pod 'React-RCTImage', :path => '../../node_modules/react-native/Libraries/Image'
pod 'React-RCTLinking', :path => '../../node_modules/react-native/Libraries/LinkingIOS'
pod 'React-RCTNetwork', :path => '../../node_modules/react-native/Libraries/Network'
pod 'React-RCTSettings', :path => '../../node_modules/react-native/Libraries/Settings'
pod 'React-RCTText', :path => '../../node_modules/react-native/Libraries/Text'
#pod 'React-Core/RCTWebSocket', :path => '../../node_modules/react-native/'

#pod 'ReactCommon/jscallinvoker', :path => "../../node_modules/react-native/ReactCommon"
#pod 'ReactCommon/turbomodule/core', :path => "../../node_modules/react-native/ReactCommon"
pod 'React-cxxreact', :path => '../../node_modules/react-native/ReactCommon/cxxreact'
pod 'React-jsi', :path => '../../node_modules/react-native/ReactCommon/jsi'
pod 'React-jsiexecutor', :path => '../../node_modules/react-native/ReactCommon/jsiexecutor'
pod 'React-jsinspector', :path => '../../node_modules/react-native/ReactCommon/jsinspector'
pod 'Yoga', :path => '../../node_modules/react-native/ReactCommon/yoga'

#pod 'React-CoreModules', :podspec => '../../node_modules/react-native/React/CoreModules/React-CoreModules.podspec'
pod 'ReactCommon', :path => '../../node_modules/react-native/ReactCommon'
pod 'FBLazyVector', :podspec => '../../node_modules/react-native/Libraries/FBLazyVector/FBLazyVector.podspec'
pod 'FBReactNativeSpec', :podspec => '../../node_modules/react-native/Libraries/FBReactNativeSpec/FBReactNativeSpec.podspec'
pod 'RCTRequired', :podspec => '../../node_modules/react-native/Libraries/RCTRequired/RCTRequired.podspec'
pod 'RCTTypeSafety', :podspec => '../../node_modules/react-native/Libraries/TypeSafety/RCTTypeSafety.podspec'
pod 'DoubleConversion', :podspec => '../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => '../../node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => '../../node_modules/react-native/third-party-podspecs/Folly.podspec'
...

I'm using RN 0.61.2 with an existing iOS project.
i have the same issue. do you have any solution?

@bockc @zhonglaoban I searched on Finder for: RCTRequired and looked at the path for the podspec, then included it into the podfile. But I don't think that's the solution, as it shows up other errors, so I'm currently working on a new project (from scratch) and see if I can manage to get the result I want. If so, I'll let you know what I did.

Use Upgrade helper to solue this issue  https://react-native-community.github.io/upgrade-helper/?from=0.60.4&to=0.61.2

@qyhongfan I followed https://react-native-community.github.io/upgrade-helper/?from=0.59.10&to=0.61.2, I'm currently at my 5th try.
So this is definitely not gonna help anyone here as this issue could come from react-native itself as much as a dependency.
The thing is, compilation errors do not give enough informations for us to precisely know which dependancy could be causing the error, and we can't afford spending a week testing them out one by one.

I solved all of my problems by doing the following (dirty way but only one who worked after hours of trying):
$ react-native init tmpapp
$ cp tmpapp/ios/Podfile myapp/ios/
$ rm myapp/ios/Podfile.lock
$ react-native run-ios

Hope this helps anyone.

I solved my problems by updating from 0.59.10 to 0.60.4 and then to 0.61.2.
Now my issue is that just like in 0.60, fetch returns a blob everytime...

I was able to fix this problem by adding the following podspecs:

React-CoreModules
ReactCommon/turbomodule/core
FBLazyVector
FBReactNativeSpec
RCTRequired
RCTTypeSafety

I used this commit for guidance.

This works for me! Thank you!

I was able to fix this problem by adding the following podspecs:

React-CoreModules
ReactCommon/turbomodule/core
FBLazyVector
FBReactNativeSpec
RCTRequired
RCTTypeSafety

I used this commit for guidance.

This did not fix it for me...

Any updates here?

I was able to fix this problem by adding the following podspecs:

React-CoreModules
ReactCommon/turbomodule/core
FBLazyVector
FBReactNativeSpec
RCTRequired
RCTTypeSafety

I used this commit for guidance.

It doesn't work for me. RN 0.61.4. Any updates here?

still having this issue, tried everything said here but nothing. getting
Terminating app due to uncaught exception 'RCTFatalException: Unhandled JS Exception: Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'DevSettings' could not be found. Verify that a module by this name is registered in the native binary.'

on release scheme

@netgfx same error, I have an issue in the CodePush repo --> https://github.com/microsoft/react-native-code-push/issues/1704
At this point I've given up on CP in iOS and I'm just hoping this do their new re-write release sometime in the not too distant future.

Finally after hours of struggle I was able to get it working, I manually run
react-native bundle --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios' --assets-dest='./ios'
and add the /assets folder in XCode
This way I was able to get it working for release.
@ahartzog

I was able to fix this problem by adding the following podspecs:

React-CoreModules
ReactCommon/turbomodule/core
FBLazyVector
FBReactNativeSpec
RCTRequired
RCTTypeSafety

I used this commit for guidance.

This worked like a charm for me

i got  Unable to find a specification for `ReactCommon/turbomodule/core ..where you find turbomodule???

Podspec changes in ios/Podfile : https://react-native-community.github.io/upgrade-helper/?from=0.60.6&to=0.61.4

I have same issue:
Invariant Violation: TurboModuleRegistry.getEnforcing(...): \'PlatformConstants\' could not be found
Have anyone solved?


seems to be broken atm

doesn't seem to be doing anything anymore atm. or is it just me?
just does this:
Target URL : https://twitter.com/account/media?lang=en
[@sashawonderr] Tweet range : <unspecified> (unknown) - <unspecified> (unknown)
Image : on  /  GIF : on  /  Video : on  /  No media : off  /  include RTs : off
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
[Complete]  -   ( Tweet: 0 / Media: 0 )

Based on console (using Firefox Developer Edition)
https://twitter.com/i/profiles/show/<username>/media_timeline error 400 Bad Request

It seems working now.
Probably this is not the issue, i assume it's the backend issue (Twitter API issues)
Please close if verified on your end

Twitter has changed a bit the way it loads tweets on the web site. Currently, this addon uses old api for that, but it could be that in some day twitter will drop it, like with the new UI.

Twitter has changed a bit the way it loads tweets on the web site. Currently, this addon uses old api for that, but it could be that in some day twitter will drop it, like it happened with the old UI.

I see. I noticed some changes


Remove type piracy

Following #12, remove the type piracy on StatsBase.kldivergence/Distributions types

I think it would be better to move the code to Distributions :shrug: StatsBase defines kldivergence, and Distributions already has a fallback definition of it for univariate distributions.

I'll still merge this :) And make a contribution to Distributions.jl later


Create Video for IPFS API Tutorial

Problem Description
Video of tutorial here
Purpose
Describe what need this projectr is filling, or what problem is sovling, and who the intended audience or end user is
Proposed Solution
What features, user stories, or product/ content you would like as an output
Where Can we find out more about this topic?
Additional context
Add any other context or screenshots about the feature request here.
Milestones
1) Milstone Name Text
2) Milstone Name Text
Acceptance Criteria
Describe the out put and criteria for this output for considering this task completed

The video is here: https://drive.google.com/file/d/1oMC3weZ0eKD-RV-zPJt1nB-7YeniYe8E/view?usp=sharing
The transcription: https://docs.google.com/document/d/1-oFHJyz0Q_KC6RZcWVAukkFZrMXnWnjPOWdH0b2xsbc/edit?usp=sharing
@walkerlj0

Started putting it on the page/ shoring up written with video here: https://github.com/protocol/launchpad/pull/257
Added script to notion: https://www.notion.so/protocollabs/Script-IPFS-API-Tutorial-b3c5b939a57b4b2d8349d64f6909a6ac

Only a few small changes
There's one additional thing I have asked to show in the video, and I think this need title videos for each subsection/ function.
I have added yellow highlighted feedback in the script: https://www.notion.so/protocollabs/Script-IPFS-API-Tutorial-b3c5b939a57b4b2d8349d64f6909a6ac
I also added a few updates with more clear directions, and (mathcing) titles for each section in the written tutorial: https://github.com/protocol/launchpad/pull/257

I've created this new version:
https://drive.google.com/file/d/1xlxfAFa1LaTUB35ykM3fJQ-AN516Wej7/view?usp=sharing

@enolal826 looks ready to ship/ merge to me! Added the video in & a more descriptive subtitle


menu is stuck

https://media.discordapp.net/attachments/937420218672771115/948429337688961104/unknown.png?width=1201&height=675
it's stuck and I can not move it
things I've tried: changing resolution, re and un injecting, and changing to windowed and back to fullscreen.


Correct property type in docs

The current GitHub page lists the offset property as a Boolean, however this is a Number, as shown in the docs.
This PR addresses this small issue by correcting the property type.

Thanks for spotting that!


Running application on Nvidia Jetson TX2 / Xavier

I've tried running this application on Nvidia Jetson TX2 and Nvidia Xavier.
I've faced difficulty running the run.sh file in perception server as 'nvidia-docker' is not supported on arm64 architecture. Is there any work around that?
Also will the deepstream 3.0 be supported on these two devices?

@Shrunoti ，you should install jetson4.2.1  on your tx2, that includes nvidia-docker

@mengzhangjian is it out already? I can't seem to find it

I set tegra-docker with GPU support on Jetson Xavier. Next I have run container with deviceQuery application. I see that GPU is supported:
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 10.0, CUDA Runtime Version = 10.0, NumDevs = 1
Result = PASS
But when I try to run deepstream_360d:3.0-18.11 container I see the following:
standard_init_linux.go:211: exec user process caused "exec format error"
failed to resize tty, using default size
I think that means that the conteiner is for x86 architecture.
Is there deepstream_360d container for arm64v8 architecture?


Sdk 158 sns v3

:tada: This PR is included in version 1.116.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[smoke test] fix test_full_node_basic_flow

Ensure the client reset the seq num before minting to avoid flaky test, the mint would fail if the seq num is old.

@bors-libra r+

:pushpin: Commit 7fbaacc has been approved by davidiw

:hourglass: Testing commit 7fbaacc108813158f9b69f0aa17dd272cba1d447 with merge 6f37435efa89c6a18c35c27b61074b17544629da...

:broken_heart: Test failed - checks-circle_commit_workflow

@bors-libra r=davidiw

:pushpin: Commit 71b7bc6 has been approved by davidiw

:hourglass: Testing commit 71b7bc619e84bf6f8c42acb197768710e79e2957 with merge 3c003e6fe449b1a4693399481fc4043ff3a81b97...

:broken_heart: Test failed - checks-circle_commit_workflow

@bors-libra r=davidiw

:pushpin: Commit 44f4e20 has been approved by davidiw

:hourglass: Testing commit 44f4e2090241f48e058af23615f278fb321ef38e with merge 7a6e7220d03e8ac54fa6877762e57ec7a4ec46b7...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: davidiw
Pushing 7a6e7220d03e8ac54fa6877762e57ec7a4ec46b7 to master...


Add support for json query validation + tests

Tests are failing on CI, before merge, please make sure they work


Token scopes should be used within the k3s_release utility to stay update with Github

The k3s_release release utility relies on legacy GitHub tokens with global scopes. We could improve this by making use of the new token scopes to limit that permissions users supply to k3s_release and by extension, opdom in the future.

I was able to use a new fine-grained personal access token (I think only modify-k3s subcommand uses it).

@brooksn yeah looks like we just need to set the right permissions to the PAT, I tested with the right permissions and was able to create a normal pull request with the created client https://github.com/galal-hussein/k3s/pull/29


Copy nested rules to multiple child

With this PR you can extend a component that is extending another component, in current version you only get the rules from the direct parent.
const Parent = styled.div`color: red;`
const Child = Parent.extendWith('span')`font-size: 10px;`
const ChildChild = Child.extendWith('span')`background-color: pink;`

ChildChild will have both Parent and Child rules.

I think this wasn't up-to-date with v2, since it still contains extendsWith, but @brunolemos fixed it here: https://github.com/styled-components/styled-components/pull/871
Thanks a lot for the PR anyway! :) :+1:


Dice Selection Interface

Description
Create a dice selection system with three distinct dice styles.
Requirements

[ ] Make sure to update the gamestate context provider of you implementation
[ ] Implement three dice options:

Golden Dice
Retro Dice
Unique Dice

[ ] Add 3D rotation preview on hover using ThreeJS with the glTF 3D model if there no 3D model provided you can use a 3D react library component

Can I take care of this issue?

Hi, please can I be assigned this please? I would love to be the given the opportunity to solve this issue please. I have experience in html, css, JavaScript, TypeScript and cairo.
To solve this issue, I’ll take the following steps:
1. I’ll install necessary dependencies such as three, @react-three/fiber, @react-three/drei, and glTFLoader. I’ll store .glTF models for Golden Dice, Retro Dice, and Unique Dice in public/assets/dice/
2. I’ll use Canvas from @react-three/fiber to render 3D models, load .glTF files with useGLTF and enable rotation preview using OrbitControls with autoRotate. I’ll map dice options into interactive UI cards, include DicePreview for each option and use onClick to update the selected dice state.
3. I’ll integrate a GameStateContext provider. I’ll define selectedDice and setSelectedDice in the global context and also I’ll update state on dice selection.
4. I’ll add hover effects to trigger 3D rotation using OrbitControls and implement responsive styling for hover previews.
5. I’ll test to verify model rendering and interactivity, validate state updates on selection an test responsiveness and hover behaviors across devices.
Kindly assign me please, I’m ready to work.

Hello, I’d love to work on this issue as I have strong experience with front-end development. Please assign this to me, and I’ll deliver an efficient and secure PR within 12-24 hours.

Ihey sir i would love to work on this issue
i'm a blockchain dev and i would love to handle this issue
assign me and i'll get to work
ETA: 72hrs

May I handle this issue?

I am new to open source.
To address this issue, I would implement a dice selection system with three styles: Golden Dice, Retro Dice, and Unique Dice. Implement a 3D rotation preview on hover using ThreeJS or a React 3D library component, and allow for the use of glTF 3D models. Update the gamestate context provider to reflect the selected dice style for proper state management.

I'd love to give this a go.

I would like to work on this issue

May I be assigned to this? I'll implement a dice selection system with three unique styles using ThreeJS for 3D rotation previews, integrating with the gamestate context. Having experience with ThreeJS and React state management, I'll create smooth 3D dice previews and proper selection handling.

Can I take this issue?

Can I attempt this issue?

Can I start working on this?


Fix windspeed convertion error in ukmetoffice weather provider

Fix windspeed convertion error from mph to m/s in ukmetoffice weather provider (#2189)

Travis failed. Please run npm run lint:prettier.


[BUG] completion doesn't work

helix-editor version
24.7
helix-gpt version
0.34.1
Describe the bug

helix-gpt.log

Helix logs are empty

Surprisingly, I work with Vue and autocomplete works in the template tag, but not in the script tag. It doesn't work in js or html files either.

Hi,
Not working too...
tail -f .cache/helix/helix.log
2024-10-03T21:44:52.339 helix_lsp::transport [ERROR] gpt err <- "\n"
2024-10-03T21:44:52.339 helix_lsp::transport [ERROR] gpt err <- "Bun v1.1.18 (Linux x64 baseline)\n"
2024-10-03T21:44:52.342 helix_lsp::transport [ERROR] gpt err: <- StreamClosed
2024-10-03T21:44:52.342 helix_lsp [ERROR] failed to initialize language server: server closed the stream
2024-10-03T21:50:43.066 helix_lsp::transport [ERROR] err: <- Other(failed to send a message to server

Caused by:
    channel closed)
2024-10-03T21:50:43.066 helix_lsp::transport [ERROR] typescript-language-server err: <- StreamClosed
2024-10-03T21:52:12.347 helix_lsp [ERROR] failed to initialize language server: request 0 timed out
2024-10-03T21:54:51.365 helix_lsp::client [WARN] language server failed to terminate gracefully - server closed the stream

2024-10-03T21:55:27.138 helix_lsp [ERROR] failed to initialize language server: request 0 timed out
2024-10-03T21:55:51.369 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(4)), original request likely timed out

Any idea?
Rgds,


Traffic Portal fails to perform a CDN snapshot

I'm submitting a ...

[X] bug report
[ ] new feature / enhancement request
[ ] improvement request (usability, performance, tech debt, etc.)
[ ] other

Traffic Control components affected ...

[ ] CDN in a Box
[ ] Documentation
[ ] Grove
[ ] Traffic Control Client
[ ] Traffic Monitor
[ ] Traffic Ops
[ ] Traffic Ops ORT
[X] Traffic Portal
[ ] Traffic Router
[ ] Traffic Stats
[ ] Traffic Vault
[ ] unknown

Current behavior:

In Traffic Portal when clicking the Perform Snapshot button in the/cdns/{id}/config/changes page, there is an alert message shown:

Expected / new behavior:

Should display the alert message Snapshot performed
Minimal reproduction of the problem with instructions:

Anything else:

This is due to the query parameters not being correctly passed into the request:
https://github.com/apache/trafficcontrol/blob/c0af35f0c82d3cb22e168a63372d3730e2af1670/traffic_portal/app/src/common/api/CDNService.js#L179

That looks correct to me... can you see in the "Network" tab of the dev tools what was passed in the request?

In the Request Payload I see:

I think I see the problem


Shortcut guide disable inconsistancy

PT 0.19

Might be considered a personal opinion, but I do not think these simple labels (that belong to other controls) need to be disabled/greyed. Only controls that have some interaction need this. Windows Settings also leaves the labels as they are.

@jay-o-way, we're disabling an entire section, that means everything else inside that should be shown disabled.
For settings, honestly, I think they have a bug in settings IMO.

@laviusmotileng-ms is this done?

Works in v0.20.0

Just want to verify there isn't some item we aren't seeing as part of this work item. He did the entire settings app for consistency

fixed in 0.20


Attribute conflict with other libraries (srcCompat).

Would you consider prefixing custom attributes so they don't conflict with other dependencies? I'm noticing  srcCompat is being used in this library and a few others without any prefixing and could cause attribute already defined errors.

I've the same pb. Impossible to use your solution

+1, If it were not for this issue, this library would be my first choice.

Could you accept the pull request https://github.com/ozodrukh/RippleDrawable/pull/23, please ?

After adding the repository and dependency to my gradle files, im still getting this srcCompat error.

This is looking good to me on version 2.0.1. I'm not seeing the error anymore.
    compileSdkVersion 'Google Inc.:Google APIs:23'
    buildToolsVersion '24.0.0 rc2'


After latest CrOS update, multiple tries required to enter chroot, and other instabilities

Crouton seems to be very unstable since the most recent CrOS update. Not only are the usual fixes to enable loading the VirtualBox kernel modules failing again, but it's taking multiple tries to successfully enter the chroot at all! That is, following the normal procedure, it appears that the process begins, then boom, you're back at the CrOS boot screen. So far it's been possible to get back into the chroot after two or three additional tries like this in sequence. A bit perturbing. I updated the chroot of course -- no visible effect.

Seems to me loading the virtualbox modules could be the problem. Did you try disabling the loading in /etc/rc.local or just do $ sudo mv /etc/rc.local /etc/rc.local.disabled ? See if starting the choot then works normal, so we can pin point the problem.

On 04/22 23:02, Maurice van Kruchten wrote:

Seems to me loading the virtualbox modules could be the problem. Did you try disabling the loading in /etc/rc.local or just do $ sudo mv /etc/rc.local /etc/rc.local.disabled ? See if starting the choot then works normal, so we can pin point the problem.

In fact, I checked this late last night by commenting out the driver load
code in rc.local. That indeed did appear to restore chroot startup stability.
--Lauren--
Lauren Weinstein (lauren@vortex.com): http://www.vortex.com/lauren
Founder:

Network Neutrality Squad: http://www.nnsquad.org
PRIVACY Forum: http://www.vortex.com/privacy-info
Co-Founder: People For Internet Responsibility: http://www.pfir.org/pfir-info
Member: ACM Committee on Computers and Public Policy
Lauren's Blog: http://lauren.vortex.com
Google+: http://google.com/+LaurenWeinstein
Twitter: http://twitter.com/laurenweinstein
Tel: +1<PHONE_NUMBER> / Skype: vortex.com
I have consulted to Google, but I am not currently
doing so -- my opinions expressed here are mine alone.

Has anyone looked into the current problems with virtualbox drivers no longer loading? Thanks.

@laurenweinstein1 I am aware of it. I probably need to update the headers once again, but currently I have not enough time. Next week or maybe over the upcoming weekend.

Thanks.

@laurenweinstein1
I updated the kernel headers again and tested. They should work now.
Steps to follow:

Be sure you have disabled the loading of the kernel modules in /etc/rc.local, so it doesn't reboot when you enter the chroot.
$ sudo enter-chroot -n <chrootname> to enter the chroot. Replace  with your chroot name for example "trusty"
$ sudo apt-get update && sudo apt-get upgrade to update the kernel headers. If you get scary warnings about the kernel leave the options at there default, just press enter.
$ sudo /etc/init.d/vboxdrv setup To recompile the modules.
Edit the rc.local to revert the changes of disabling loading the kernel modules.
$ exit To leave the chroot.
Start your chroot normally and try virtualbox.

Please close this issue, if you have problems we can discuss this at https://github.com/divx118/crouton-packages/issues/35 , so we don't pollute the crouton issues here.
Thanks


chore(StakeVault.spec): add rule to verify account and vault balance

Checklist
Ensure you completed all of the steps below before submitting your pull request:

[ ] Added natspec comments?
[ ] Ran forge snapshot?
[x] Ran pnpm lint?
[ ] Ran forge test?
[x] Ran pnpm verify?

This did not trigger all CI jobs. I believe this is because I had to change the base branch of this PR.
I triggered CI manually. Here's the job (it's green): https://github.com/logos-co/staking/actions/runs/8193056837/job/22405953219
Going to merge this.


Additional comments on the book provided by Nicolai to be addressed

Description:
needed now

[x]  I also reviewed Chapter 02, 03, quickly. Seems similar ot the notebook with some exceptions in chapter 03.
We need to at least avoid the repetition there. (note by @amal-ghamdi , done in #47)

[x] Also pre-running these notebooks would be  tremendeously useful I think. (note by @amal-ghamdi, I believe everything now is executed)

[x] Rendering of equations need to be fixed (#72)

[x] printing sampling progress needs to be fixed (this should be fixed after using the new samplers #54 #55 , tqdm will be used)

[x] printing all samples in Samples object need to re-considered. Takes up too much space. (comment by @amal-ghamdi , can fix now by suppressing output, e.g. storing samples in a variable) (seems to be issue for only one case, toward the end of Gibbs notebook , fixed in #72, by storing the samples in a variable)

[x] Some references to "the uqcourse" need to be at least clarified if one reads the book outside that scope (comment by @amal-ghamdi , removed as part of #47 and #72)

[x] installation and running sections updated (comment by @amal-ghamdi , done in #47 and in #72)

[x] ### How to run the code and solve the coding exercises in this mini-book? This section (and below) needs an update. (comment by @amal-ghamdi , done in #47 and #72)

[x] short intro for the simplest BIP added (comment by @amal-ghamdi added for the short version )

[x] Some learning objectives should be updated after this reorganizing (yes, chapter 1 learning objectives and distribution notebook learning objectives were updated #47 #72)

easy
could wait (moved to #73)

~Perhaps this is personal preferance, but I was thinking perhaps the convolution forward model should be explained first rather than the heat equation.~

delegated to other issues

In my review the Gibbs notebook needs a serious update. The rest look like they are in a good state. #55
links to sections in notebooks should be fixed. At least I can't get them to work. (comment by @amal-ghamdi , I could not find a solution for this issue yet #67, only navigation menu on the right works )

DoD:

[ ] The comments from @nabriis above in the description are addressed
[ ] The updates are reviewed and merged

Notes:
This is the issue content before processing (no need to look at this section, it is processed and rewritten above)
Copied comments from @nabriis from #52
Context of review. Chapter 1 + Chapters A+B.

I like the structure established. Happy to update any notebook needed for the training.

In my review the Gibbs notebook needs a serious update. The rest look like they are in a good state.

I also reviewed Chapter 02, 03, quickly. Seems similar ot the notebook with some exceptions in chapter 03.
We need to at least avoid the repetition there.

Comments
I added some comments on some sections that need update. We need to update either in this PR or create
issue to deal with it. Perhaps this is personal preferance, but I was thinking perhaps the convolution forward
model should be explained first rather than the heat equation. Also pre-running these notebooks would be
tremendeously useful I think.

Additional comments from @nabriis
1) Rendering of equations need to be fixed
2) printing sampling progress needs to be fixed
3) printing all samples in Samples object need to re-considered. Takes up too much space.
4) Some learning objectives should be updated after this reorganizing
5) Some references to "the uqcourse" need to be at least clarified if one reads the book outside that scope
6) links to sections in notebooks should be fixed. At least I can't  get them to work.

@jakobsj, would you please review the DoD, I organized the comments from @nabriis into three groups. The top group I would like to address today along with #53 in one PR. Also feel free to suggest moving the comments along the sections (needed now, easy, can wait)
Thank you.

@amal-ghamdi approved.

@jakobsj , DoD updated in the sense that remaining issues were moved to #73, as per our discussion this morning


multiple string length issues in custom resources

Describe the bug
There are multiple issues with string length in the custom resources for provisioning addons and the core cluster. There are similar issues in the tagging as well.
e.g. The code here: https://github.com/aws-quickstart/cdk-eks-blueprints/blame/6ba0edae08f13d99c6f596edc9e4fd6c72cb9d9d/lib/utils/vpc-utils.ts#L61-L81
Doesn't truncate tag keys to 128 characters which will cause the custom resource to fail and will cause stacks to fail if their name is too long. This happens most often when using the blueprints pipelines.
Expected Behavior
Ideally, these kinds of failures would be detected at build time (e.g. synth) rather than deploying and failing because the custom resources aren't truncating or dealing with string length issues.
Current Behavior
The stack will synth without error but will fail to deploy.
Reproduction Steps
import 'source-map-support/register';
import * as cdk from 'aws-cdk-lib';
import * as blueprints from '@aws-quickstart/eks-blueprints';

const app = new cdk.App();

const addOns: Array<blueprints.ClusterAddOn> = [
  new blueprints.addons.MetricsServerAddOn(),
  new blueprints.addons.ClusterAutoScalerAddOn(),
  new blueprints.addons.VpcCniAddOn(),
];

blueprints.EksBlueprint.builder()
    .addOns(...addOns)
    .build(app, 'eks-blueprint-with-an-extra-kind-of-very-long-name-that-is-definitely-not-going-to-work');

CREATE_FAILED        | AWS::EKS::Nodegroup                   | eks-blueprint-with...oing-to-work-ng-ng
Resource handler returned message: "nodeGroupName can't be longer than 63 characters! (Service: Eks, Status Code: 400, Request ID: c31c5853-f46c-4e32-9f23-8

Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.25.0 (build ae1cb4b)
EKS Blueprints Version
1.0.1
Node.js Version
v18.2.0
Environment details (OS name and version, etc.)
mac
Other information
Other failure stacktraces:
1 validation error detected: Value 'k8s.io/cluster-autoscaler/twitter-for-pets-eks-blueprint-pipeline/twitter-for-pets-blueprints-prod/twitter-for-pets-blueprints-prod-blueprint/clusterName' at 'tags.2.member.key' failed to satisfy constraint: Member must have length less than or equal to 128 (Service: AmazonIdentityManagement; Status Code: 400; Error Code: ValidationError; Request ID: 83441c5c-d23d-48b3-ad8f-597f7425df51; Proxy: null)

@ranman this was fixed (based on our testing) in #424 and release with 1.1.0. If you get a chance, could you verify from your end and close if everything works as expected.

If you observe anything that can be fixed, please let us know. Fixed with #424


Implement new DTR validation API (for submodel request)

Implement the new DTR validation API with following logic:

Validate, if incoming request is allowed to call the submodel endpoint.
1.1. Load access rules based on BPN
1.2. Load submodel-descriptor and validate -> result of request: 200 OK or 403 forbidden (TBD)

https://github.com/eclipse-tractusx/sig-release/issues/417


Separate base tests from eventuals test target

Currently, if we change anything in tests/concurrent - bazel will rebuild all of the base eventuals tests. This PR addresses this issue.

@FolMing is the Linux build failing due to this change?

@FolMing is the Linux build failing due to this change?

Yes, this definitely shouldn't happen, there must be a bug/inconsistency in how we build curl, I'll look into that.


I'd like to deal with the checkbox in detail.

I want to make sure that the parent's check box is not checked together when checking the child check box.
How to do that?

I upgraded the package.
Install later version 1.2.6.
Use props autoSelectParents={false}


Nothing is rendered

I just installed the extension on chrome and tried my local app as well as the sandbox. It seems that nothing is rendered to the extension.
When the blank screen appears, I opened the devtools inspector and I see this error many times:

Could this be the cause of the problem?

I'm not getting anything rendered either. It was working for me before, but stopped working. I don't get the above errors in the inspector when I inspect the xstate dev tools window though.

I took another look and it seems to be working now. I'm unsure why it wasn't showing up before. Possibly try right-clicking on the xstate pane in the dev tools and choosing "Reload Frame" as I needed to do that for some reason to get it to refresh properly.

Nothing is rendered for me too. When I check the console.log, I can see Error in event handler: TypeError: Cannot read property 'type' of null.
Unfortunately, the source maps don't seem to be working. It points me to this line:

https://github.com/amitnovick/xstate-devtools/issues/23#issue-584240814
Same here

The same issue happened once in React DevTools.
https://github.com/bvaughn/react-devtools-experimental/issues/292
I just worked around it by enabling third party cookies.
https://github.com/bvaughn/react-devtools-experimental/issues/292#issuecomment-586484104
Is localStorage crucial to xstate-devtools?

I was having the same issues, until i figured out that the machine needs to be serialised (think, JSON.stringify removes functions). That's to say that all the actions, guards, services and activities need to be included in the options argument .
Once I started referring to the options object (using a string, instead of inline functions) then it started rendering as expected.

Once I started referring to the options object (using a string, instead of inline functions) then it started rendering as expected.

This fixed it for me also!
Would it be possible to show an error message if this is the cause?

My xstate dev tools display white page even on your codesandbox example

Like above we're seeing nothing render for the demo, we get the following error:
XState DevTools: 0.5.3
TypeError: Cannot read property '__widget' of null
at HTMLDivElement.Element.appendChild (dom_extension.js:1)
at rn._updateMetrics (elements.js:300)
at rn. (elements.js:300)
at async Promise.all (://devtools/bundled/index 0)


Restrict google-api-core

Fixes #22454.
google-cloud-spanner==1.x implicitly require google-api-core <2.8.2. Most likely, this is because since google-api-core==2.8.2 drops support for grpcio-gcp: https://github.com/googleapis/python-api-core/pull/401, which is used by google-cloud-spanner.
Also, regenerated container dependencies.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Python 3.7 PostCommit

R: @BjornPrime cc: @parthea

Noting that postcommit passed: https://ci-beam.apache.org/job/beam_PostCommit_Python37_PR/384/

also R: @kileys (next release manager) - I think you would need this change and the change updating container requirements on the release branch.

Docker precommit also passed, https://ci-beam.apache.org/job/beam_PreCommit_PythonDocker_Commit/12107. all other test suites passed on previous commit and are not affected by requirements change (second commit). merging.


feature request: exporting LLaMA-2 70B model with less RAM

I have 64GB RAM macbook pro with 2TB SSD, and still cannot export 70B model. It looks export_meta_llama_bin.py is loading full model to RAM and then exports it. Consider "streaming"  or "chunked" exporter instead (if possible with pytorch).

Just FYI, even if you exported LLaMA-2 70B model, it is not currently supported for inference.

@nikolaydubina during the development of the Distributed Llama project (that bases on llama2.c), I modified the converter, and it now allows the conversion of Llama 2 70B on my MacBook Pro with 16GB RAM. I believe the output should be compatible with llama2.c: https://github.com/b4rtaz/distributed-llama/blob/main/converter/converter.py

nice. @b4rtaz did you submit this to llama2.c as well?
(normally this family of forks trying to keep in sync with llama2.c, albeit this fork is a little behind 😅)


byron-spec-ledger: "duplicate instance declaration" error for "Hashable (Set a)" with hashable-<IP_ADDRESS>

https://github.com/input-output-hk/cardano-ledger/blob/62ee15ed1d710395a765ceafabe4a2583342dcd1/eras/byron/ledger/executable-spec/src/Byron/Spec/Ledger/Update.hs#L235-L237 defines an orphan Hashable instance. This instance was introduced in <IP_ADDRESS> of hashable, thus requiring that we put a constraint of < <IP_ADDRESS> on the hashable package at https://github.com/input-output-hk/cardano-ledger/blob/62ee15ed1d710395a765ceafabe4a2583342dcd1/eras/byron/ledger/executable-spec/byron-spec-ledger.cabal#L55

fixed by #2570
https://github.com/input-output-hk/cardano-ledger/pull/2570/files#diff-606a4950aff787440d647129526afc5c4b4ab27652fef400b3526f8f9b6c01e6R236-R238


imgbox ripper is broken

Ripme version: 1.5.15
Java version: 1.8.0_131
Operating system: Ubuntu 16.04
Exact URL you were trying to rip when the problem occurred: https://imgbox.com/g/FJPF7t26FD
Please include any additional information about how to reproduce the problem:

Expected Behavior
The ripper should download all the images
Actual Behavior
The ripper 404s on all the images

Same here, and same behavior with FF's plugin "Imagehost grabber".  SO far I'm leaning towards Imgbox secured their stuff to prevent scraping because accessing the pics one by one (normally) works.

Still doesnt work with 1.6.2  most galleries are 404 on all images
"Non-retriable status code 404 "
Try with this one https://imgbox.com/g/jiAIZVYLWw

^ Yeah and I found the culprit: you don't have everything on thumbs and images subdomains, but there are numbered subdomains like thumbs2 and images2 like in the case of that album, so it's RegEx time again:
Detecting the thumbs in HTML code (I recognize the RegEx might need improving):
"https?://thumbs([0-9]*)\.imgbox\.com/[a-z0-9/]+?/[^"\.]{8}_b\.[^"]+"

From the whole match replace thumbs and _b like before. All done.
SFW functional examples the RegEx worked on:

thumb: https://thumbs2.imgbox.com/c3/df/dlzKHNuk_b.jpeg
full: https://images2.imgbox.com/c3/df/dlzKHNuk_o.jpeg

@rautamiekka Couldn't I just change the replace on line 51 to change out "thumbs" with "images" and avoid having to use a regex?

^ How will you match the link if the thumbnail subdomain contains numbers, or Heaven forbid, something else in addition to 'thumbs' ? Otherwise it's a sound idea.

How will you match the link if the thumbnail subdomain contains numbers

Using jsoup. The thumbnails are all still at the same spot css wise

Heaven forbid, something else in addition to 'thumbs'

That'll mess it right up, but I can't find any albums that use anything besides thumbs[1-9]

Fixed in PR #133. I merge it and make a new release later

Still broken I fear.  Galleries are downloading thumbnails and not the full size pics.
Try with this one: https://imgbox.com/g/ePw8A1LMGd


Making it work on Ubuntu

Just installed Lydm on my workstation, it has Ubuntu installed on it and I can't install Arch because reasons. I don't like GDM, however, ly has a strange bug: It seems to work pretty well at first, I can log into any of my WMs. But, when I try to log out, I get stuck. Seems like it really "quits", but I can still see my wallpaper, taskbar and I can still open any program with my mouse (Even though hotkeys stop working). Anyone ever ran into that problem?

@AlberoneRamos What versin of Ubuntu are you using?

20.04


IIS 401 & Visual Studio Now Also 401 on Known Working Bot

Bot Info

Bot handle: Test3333333
App ID: 13749234-2e88-4824-8f7b-1c0d5621872c
SDK Platform: :Net
SDK Version: Runtime: v4.0.30319 Version:<IP_ADDRESS>
Active Channels: Skype
Deployment Environment: IIS, Ngrok, Windows 10, Windows Server 2012

Issue Description
401 Error constantly
Code Example
Using any form of communication is working fine on my dev pc but replicating on the server install is not functioning, it will work locally without credentials between emulator and iis.
Reproduction Steps
I am also having a similar issue as described #3461 , I could not get my published bot to run correctly so started testing with running via visual studio on my cloud server.
I am running the same code via visual studio on my local dev pc (win10) and on a cloud server (win server 2012) also started by visual studio.
If i use ngrok command line and run via visual studio f5 (run) button things work fine on my dev pc, messages from both sides.
If i mimic the same setup on the server and also update the botframework website with different ngrok endpoint information I just get 401 all the time.
I have looked in the ngrok web interface and the packets look close enough that you could fairly say there were the same when using a diff tool. Slight differences in timestamps and the bearer token was partially different but most likely I assumed that would be normal due to different devices?
To me it seems to be something strange when deployed on the server 2012 machine, no idea why it wont work...
It is very strange to recieve 401 from everywhere even the bot framework test chat cannot post one way even though the endpoint is available from many devices and firewall disabled etc..
The fun thing is it is complaining about the credentials but they are stored in the web.config and retrieved via svn checkout so almost certainly are the same as well.
Expected Behavior
Bot to not give 401 error like on my dev machine
Actual Results
Constant 401 errors

Does your server have a valid certificate?
The Bot Framework works with bots deployed on any cloud hosting service, as long as you have an internet-accessible endpoint and a valid SSL certificate.
The Bot Framework requires that the x.509v3 certificate exposed by your endpoint be current and valid. Most of the checks for "current and valid" are standard checks for server SSL certificates: the Certificate Name must match the hostname, it must not be expired, it must not be listed in a CRL, it must have the correct set of EKUs, etc.
Most importantly, your SSL certificate must chain to a root certificate authority trusted by Microsoft. The latest list of these CAs is available here: http://social.technet.microsoft.com/wiki/contents/articles/31634.microsoft-trusted-root-certificate-program-participants-v-2016-april.aspx

Is the certificate needed even when using ngrok, this is not needed on my dev pc as things work as expected but when using the same setup on windows server things do not work the same as windows 10. Is the ssl mandatory or can it work via ngrok?

As a general rule with bot framework, if it's not deployed on Azure you need a valid certificate.  I have not tried ngrok on a server 2012 machine myself so I'm not 100% sure, but it does seem like this is your issue.

closing as it was related to the time not being set within the threshold based on the timezone that the server was configured to run in. eg
it was set to pacific time - which according to google was 10:32pm
but the server time was way off eg:
05:32am
Setting the server to 10:32pm made things work immediately


Add Cluster Performance TestSuite -- oap-perf-suite to OAP

What changes were proposed in this pull request?
( add oap-perf-suite codes to src/test/ , and modify pom.xml)
How was this patch tested?
(Passed all the unit tests, integration tests, manual tests)

@HongW2019
OAP is a code Repo. Please remove those xxx.jar ...
Thanks.

Have removed the jars from the repo, thanks a lot for your reminder.

Have removed the jars from the repo, thanks a lot for your reminder.

Have removed the jars from the repo, thanks a lot for your reminder.@zhixingheyi-tian


can't resolve the newest plugin

ERROR: Failed to resolve: cn.hikyson.godeye:godeye-monitor:2.7.3
Show in Project Structure dialog
ERROR: Failed to resolve: cn.hikyson.godeye:godeye-core:2.7.3
Show in Project Structure dialog
ERROR: Failed to resolve: cn.hikyson.godeye:godeye-toolbox:2.7.3
Show in Project Structure dialog
ERROR: Failed to resolve: cn.hikyson.godeye:godeye-monitor-no-op:2.7.3
Show in Project Structure dialog

@DysaniazzZ 2.7.3 Build failed. please use 2.7.2, i will fix it soon.

@Kyson ok, I will try, thx.


own training dataset

Hi,
I want to train this network on my own dataset. I want to use this to generate depth map for aerial imagery. Could anyone guide me what all data I need to have and the format of the data to train the model ?
Thanks,
Amardeep

Hi,
For using your own dataset, you basically need three different set of images - Left image, Right image and the ground truth disparity map.
Left and right images can be in  one of these formats- '.jpg', '.JPG', '.jpeg', '.JPEG', '.png', '.PNG', '.ppm', '.PPM', '.bmp', '.BMP' while the disparity map should be in '.pfm' format.
For training your model, you can use main.py as it is.
You need to do some changes in the PSMNet/dataloader/listflowfile.py. Basically, you are supposed to define the correct path for the above three image folders. Also, edit the https://github.com/JiaRenChang/PSMNet/blob/c445a93277b3c99bbfb9879445e3da226e083b40/dataloader/SecenFlowLoader.py#L70
according to the size of your input images.

Thanks Shivam.

Hi,
One more help needed as i want to train this network on aerial stereo dataset. I have digital surface model for corrosponding stereo pairs as ground truth. Can somebody guide how can i retrieve/convert disparity map from DIgital surface Model (DSM) in required .pfm and .png format?

@amardeepjaiman
By the equation: depth = fB/d
You may need to know the focal length (f) of your camera.
And B is the distance between two cameras.
You can compute disparity (d) while you know the ground truth depth.

Thanks @JiaRenChang ,
i understand  your point here, But I have the depth information in form of  Digtial surface model for the aerial stereo and not sure how to convert that into disparity map.
do you have any reference for any aerial stereo dataset, so that i have an idea how people are creating aerial stereo dataset, from the sources like digital surface model .?

@amardeepjaiman
We have no experiences to do that, sorry.
In our project, we tried to create simulation data by AirSim.

Hi,
I want to train this network on my own dataset. I want to use this to generate depth map for aerial imagery. Could anyone guide me what all data I need to have and the format of the data to train the model ?
Thanks,
Amardeep

can you provide your aerial imagery，my<EMAIL_ADDRESS>

Hello, I'd like to ask if you have successfully generated the PFM file.


Calculation of SSIM

Hi. Thanks for sharing your nice works.
I am trying to reproduce results in the paper, but i can't find the function to calculate SSIM. Do you use skimage.measure.compare_ssim or other implementation?
Thanks in advance.

Yes, for simplicity.

@RyanXingQL  Thanks for your reply.
Actually, I've tried using skimage.measure.compare_ssim to compute ΔSSIM as follow:
ssim_ori += compare_ssim(Y[ite_frame], raw, data_range=255)
ssim_enh += compare_ssim(Y_enhanced[ite_frame]*255.0, raw, data_range=255)
But the result does not match that in the paper (0.0161 in compare_ssim vs. 0.0096 in paper for sequence 'BasketballPass'). So I am wondering if I got something wrong here?
Thanks a lot!

@RyanXingQL  Thank you for the reply.
Actually, I've tried using skimage.measure.compare_ssim to compute ΔSSIM as follow:
ssim_ori += compare_ssim(Y[ite_frame], raw, data_range=255)
ssim_enh += compare_ssim(Y_enhanced[ite_frame]*255.0, raw, data_range=255
But the result does not match that in the paper (0.0161 in compare_ssim versus 0.0096 in paper). So I'm wondering if I got something wrong here?
Thanks a lot!

@hoolyshit Thany you for your reply.
You are right, there is a mistake in our reported results. We will correct it in our later version.
Thank you again~


Fix typo in source code

django/test/client.py

Replace "seeked" with "sought" in class docstring

django/contrib/gis/db/backends/postgis/operations.py

Replace the variable name "tranform_func" with "transform_func"

I don't think changing seeked to sought is correct. While seeked might be a non-standard word, the sentence seems more confusing with the change.

Thank you for comment, Tim.
And I agree with the opinion that there's no meaning associated with Python's "seek" method when using the new word "sought". So the word "sought" was returned to "seeked".
(or 'seek'ed is better?)
Please check again.

I went through the same thought process. I think seeked whilst a bit strange sounding is fine in the programming context. (That a non-programmer's dictionary corrects it to sought is NOT here compelling.) Let's leave it.
Thanks for the input @candypoplatte!


feat: add MultiPassKawaseBlur pass

Related issue: https://github.com/pmndrs/postprocessing/issues/580
Description
Adds a MultiPassKawaseBlur pass,
Adds the aforementioned pass to the blur demo, comparing it against the GaussianBlur pass,
Adds associated tests.
Notes
@vanruesc I've allowed the Kawase Blur pass to be applied at a custom number of levels, as I thought this may be more flexible than the default dual pass approach. There might be tradeoffs to this I'm not aware of however, and so have made these changes in a commit I can easily revert if it's preferred to do so.
I've also left the previously existing KawaseBlurMaterial, as the Tilt Shift effect relies on it, and I wanted to get this in first.
I've left some TODO comments in the two areas I'm a little unsure about.

I'm a bit short on time right now - I'll take a look when I'm free.

This Dual Kawase implementation looks very similar to the existing MipmapBlurPass. The sampling pattern is different, but there's not much else that distinguishes the two passes.
It seems like this implementation introduces aliasing and shimmering when the scale is set to anything other than 1.0. Scaling the kernel is tricky since it affects the stability of the blur. There might also be something wrong with the sampling pattern since it seems to produce diamond shaped artifacts.
The existing MipmapBlurPass produces stable blurs when the radius is set to 1.0 and seems better overall. I kind of expected the Dual Kawase algorithm to be more complex, but if it's basically another mipmap blur, we can probably bin it.
I'm not completely sure about that though - I'll need to take a closer look at the reference materials at some point.

FYI: I've added support for fullResolutionUpsampling to MipmapBlurPass in beta.3 which allows the blur to blend with the full resolution input image via the radius setting. I've also updated the blur demo to compare mipmap with gaussian blur.

I'll need to take a closer look at the reference materials at some point.

Haven't gotten to that yet :upside_down_face:

I've looked into this now and judging by https://www.froyok.fr/blog/2021-09-ue4-custom-lens-flare/#step_11_blur_function, the current MipmapBlurPass in v7 is indeed effectively an improved version of the dual Kawase technique.
I'm closing this since there's no need to add dual Kawase at this point. Thanks for your patience!

Hi @vanruesc, apologies for not responding, but thanks for both your review and your investigation! This was super interesting to attempt! :)


VCI-2: Connect to HA Vault

VCI-2: Connect to HA Vault
VP-6712: Update init-platform image and scripts

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: omnidark:white_check_mark: Woland2k:x: vc-civc-ci seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Review task https://virtocommerce.atlassian.net/browse/VP-7044 has been created


disabling cauases a problem

When I disable and re-enable the plugin it adds an extra '>' for every time I have disabled it. Now my tags end in >>>>> and it keeps growing. I tried uninstalling it and it didnt do anything.

Welp, this explains my issue. Damn.


Fixes incorrect use of async.queue

As explained in https://github.com/caolan/async#queue the worker function of the queue must call its callback. If it is not called, the next task gets not processed.
This bug appears if overwriting is deactivated (default case) and the thumbnail already exists. The concerned worker function stops, since no callback is received.

Let me investigate. I think we're using a fairly outdated version of async. I should upgrade all dependencies to their latest versions.


Add semicolon to end of console.log();

Checklist:

[x ] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Thank you for opening this pull request.
This is a standard message notifying you that we've reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding.

Hello,
Is there a reason why this was closed and not merged?

You have not added any content with this PR

Hello, sorry I am new to this. But I did add a semicolon in the code snippet that was needed.


[shape_poly, call_tf] Add support for call_tf in a shape polymorphic program

The use case for call_tf with shape polymorphism is when we have a JAX program that calls into TF function, and we want to serialize the JAX program with some shapes unknown. Today this use case does not work, except in the special case when the output shape of the called TF function returns statically known shapes.
The idea is that we allow the user of call_tf to specify the output shape. This can be done even in presence of shape polymorphism, by writing the output shape as an expression in terms of the input shapes. This is what other JAX primitives do, e.g., concat, so we are simply enabling call_tf to get the same behavior.
This change should be enough for old-style jax2tf, but will require more work for native serialization.
We also removed some old code that was trying to workaround some limitations in shape inference in TF. I think that those workarounds are ugly, and I am prepared to give error messages rather than keep that code. So far no tests fail.
Still to do:

more testing
check that the TF function returns values of the declared shapes
documentation
CHANGELOG

@rxsang @maxwillzq


Istio - When editing sidecar auto-injection, workloads should be redeployed

rancher/rancher:master 1c18dda3 6/6
When editing a namespace to enable/disable sidecar auto-injection, the workloads in the namespace should be redeployed to add/remove sidecars as expected.
Current:

Without auto-injection enabled, create a workload
Enable auto-injection
Workload does not redeploy with sidecar

Expected:

All workloads in the namespace should be redeployed.

This is an Istio feature. Istio has a controller for auto-injection.
We don't want to change Istio's behaviour due to the following reason.

We should bring the original istio user experience
Istio is doing this by design
3  We would like to have Rancher and Istio code decoupled. So we don't want to add other controller for it.

Injection occurs at pod creation time. Kill the running pod and verify a new pod is created with the injected sidecar. The original pod has 1/1 READY containers and the pod with injected sidecar has 2/2 READY containers.
https://istio.io/docs/setup/kubernetes/additional-setup/sidecar-injection/#automatic-sidecar-injection
Can we provide a warning message for it?
Once users editing it, we should show the warning says you need to re-create the pod manually for it.

Per @ibuildthecloud, this behavior is expected and we will add in warnings that workloads will need to be redeployed.

#20836 for the related warning


Add ES modules, classes.

I modeled this after our earlier work on Delaunator, but I’m happy to make any changes if you’d prefer a different approach.

Thanks! Published as v2.0.0.


User View

Create a view to see all uploads by a user. This also means that the hover dropdown must link to this page.

Closed by 57c48894


Power Tools

Idea from @johndjameson to !important all tool classes.

Super clever title notwithstanding, I'd shy away from this. A tool not working is a pretty good indication of cleanup needed elsewhere.

That's my general viewpoint as well, but figured the idea at least warranted a more formal discussion.

You'd be reckless not opening an issue with that title.

We don't reach for !important on tools very often, but some modules can't be reasonably refactored. Our approach right now is to create a unique structure or a modifier of a modifier, and then author the styles under that namespace. Doing this works, but creates otherwise reusable styles that could work in other contexts.
We intend tools to act authoritatively, and bolstering their specificity does the trick and doesn't seem to have any real downsides.
Using !important elsewhere:

https://github.com/suitcss/utils-text/blob/master/lib/text.css
https://github.com/inuitcss/trumps.spacing/blob/master/_trumps.spacing.scss
https://speakerdeck.com/dafed/managing-css-projects-with-itcss?slide=62

I honestly could argue it either way, and I don't have strong enough opinions not to do it. I don't encounter the problem often, but sometimes having !important on the tool class would be easier than creating an all-new modifier for a one-off instance.

@dangodev You're a fan of implementing this?

@drewbarontini absolutely not. I just enjoyed Nick’s comment.

Seems like we aren't in agreement on this, so we'll close it for now and bring it up for discussion later, should the need arise again.


feat(auth): add continuation polling

Changes proposed in this pull request

Adds polling to authorization server
Enforces the wait value in grants during grant continuation

Context

Closes #2193.
Checklist

[x] Related issues linked using fixes #number
[x] Tests added/updated
[ ] Documentation added
[x] Make sure that all checks pass
[ ] Postman collection updated

Editor's note: I need to update how wait is handled during polling so that it is treated like an interval between attempts, rather than just being anchored to the creation time.

looks good, should we wait for https://github.com/interledger/rafiki/pull/2337?

#2337 should be good to go now. Awaiting final approval.

Were you able to test this via postman requests after merging in local (and making this change)? I'm unable to call Continue grant (after not providing finish method in the original grant request + not passing in interact_ref)

I'll look into it before merging in.

For some reason, adding this snippet causes the test to fail with this error:
  ● Test suite failed to run

    DataCloneError: Symbol(jest.asymmetricMatcher) could not be cloned.

Nobody seems to have this problem on Google/Stack Overflow as far as I've searched, and it seems pretty arbitrary since the other uses of jest.useFakeTimers don't cause this to happen...

Re-requesting reviews as I made some pretty big changes to how finishing interaction is handled while addressing some issues that were highlighted in https://github.com/interledger/rafiki/pull/2285#issuecomment-1906852181.


Comparison with bucklescript-tea

The readme mentions targeting bucklescript, and there is an existing vdom implementation for bucklescript: https://github.com/OvermindDL1/bucklescript-tea. As its readme states, it tries to remain close to the Elm api to allow easily transferring concepts from Elm tutorials and converting code from Elm to Ocaml. Not sure if you are aware of that library, but it would be interesting to compare the two libraries with regard to the vdom api design, performance, etc.

Mine was a minimum viable code necessary to fulfill the elm API to ease porting to identify, a proper implementation could definitely do it better!  I'd imagine this would be such an implementation.

To be clear, ocaml-vdom currently doesn't work with Bucklescript (and we have no immediate plan to work on it), but it goes through gen_js_api for binding with JS, and I believe someone familiar with Bucklescript should be able to tweak gen_js_api to produce Bucklescript-compatible glue code quite easily, thus enabling ocaml-vdom to work with Bucklescript indeed.
Also, ocaml-vdom takes inspiration from Elm, but doesn't try to remain as close as possible from its API.  Its definitely targeted more to the typical OCaml programmer and doesn't try to help porting existing Elm code, nor to explicitly attract JS or Elm developers.

Thanks for the info! I'm experimenting with jsoo, and was going to try porting bucklescript-tea over to it, until I stumbled upon your library, so I'm trying to figure out where to put my efforts.
Have you done any performance testing of the library as well? I think @OvermindDL1 tested his and found it fared well against elm and react, but not sure if that's a repeatable test. Maybe I can try to set up a similar test. I'm curious to find out whether there is a difference in performance between bucklescript and jsoo's js output for an application like this, or if either library has insights for the other that could improve it.

We use the library in an industrial setting, with rather complex UIs (but not really "huge"), and never worried about performance, but no performance testing per-se has been carried.
See also https://github.com/LexiFi/ocaml-vdom/issues/12

In general a functional VDom that assumes immutable updates will be faster than anything react or so can possible do unless it's made exceptionally poorly, I doubt performance would be an issue at all in other words with this.


online demo

create a gh-pages

I couldn't get maximize working, so I made a webapp to do the same thing. Hopefully someone finds it useful 😃
https://srcbrowse.com/

Thank you, @Daniel15! I've used this a few times now.

@pamblam I'm glad you find it useful!

I get a weird error. In the website (https://srcbrowse.com/) I see a single file and directory ./ when I save the zip only the file is shown. The directory is missing.

@asdf23 Please open an issue here: https://github.com/Daniel15/SrcBrowse


[Bug]: [Canvas Layout] Remove redundant scroll area at the bottom of the MainContainer.

Objective:

Main canvas height should not extend beyond the necessary size to render all children.
Remove excess white space at the bottom.

This seems to be already fixed

No Redundant scroll area seen at the bottom of the main container, working fine in the PR #20836 . Moving to done.


Refine Setup Scripts

Description
Refine the setup script so that a user can simply setup the necessary environment variables as well as Postgres, Virtualenv, and Setuptools installed by running a setup script.
Additional Details
Script will have to warn users that the above mentioned dependencies will be installed and that root privileges will be required.

#151


Updating samples to use 1705 nuget packages

@jasonsandlin,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Remove empty catch blocks to stop swallowing exceptions. #498

Removed empty catch blocks to enable the caller to handle possible exceptions.
Unit tests run like before, gitblit manager also.
Regards and thanks for sharing gitblit,
Martin

Looks good, thanks.


Add roof:shape field to building presets?

I've been getting into 3D mapping, and I see that roof color and material are fields you can add in the building preset, but not roof shape. I would be willing to take this on if this is something people would be okay with!

This is already part of https://github.com/openstreetmap/iD/issues/1829, which is also part of https://github.com/openstreetmap/iD/issues/2550#issuecomment-78273632 .


Symlink is not cretated on windows (under non admin user)

Hi,
I faced an issue trying to run this plugin in Windows environment:

Gulpfile.js:
var gulp = require('gulp');
var symlink = require('gulp-symlink');

gulp.task('link-project', function () {
    return gulp.src('../statics')
        .pipe(symlink('bundles/project'))
});

Spawned error is complaining about lacking permissions. This issue is solvable, and stable work-around could be fount in Bower utils https://github.com/bower/bower/blob/master/lib/util/createLink.js.

Just to note that this module is superfluous once symlinks land in gulp 4. I'm not sure when that will be, though. (https://github.com/ben-eb/gulp-symlink/issues/19)
A pull request for this would be appreciated & would need testing via something like appveyor.

Here you go #31 :)

Released as 2.1.1. Thanks again for your contribution. :smile:

I tried to re-run tests on my virtual Windows machine, and they're still failing... It's because symlinks on windows work only with absolute paths:
gulp.task('link-project', function () {
    return gulp.src('../some/path')
        .pipe(symlink.absolute('bundles/project'))
});

Which means that with right configuration, module will work on Windows (thanks to recent fixes), but tests should be changed. You will need to check OS and run different tests, and most importantly - README should have info about those Windows specifics.
Seems like this Windows CI environment is not reliable, and not only because of symlinks. In my project I noticed that CI Windows has more stuff installed out-of-the box like libs for C++ compiling, which usually regular Windows user doesn't have.
Personally, I would do absolute links by default, just because they are working cross-platform.

I made relative symlinks the default behaviour as some builds are done in dev environments, then migrated to production; so it is possible that the directory structure changes. I don't think it is practical to change the default behaviour to be different depending on the operating system, so I think the best solution I can see is to have a note in the README about this limitation. What do you think?
At this point I don't want to invest a lot of time into reworking this module when I know gulp 4 is around the corner.


Does it support linux/386?

Hi, i am new here. And I am wondering if this support linux/386 OS? My RRD is running on CentOS 6 386 OS. It would be highly appreciated if you can provide linux/386 release.
Thank you.

I followed the instruction on a CentOS 6.5/386 OS. , but got below error:
[root@grafana-rrd ~]# go get github.com/doublemarket/grafana-rrd-server
github.com/ziutek/rrd
/tmp/go-build291067257/b039/_x003.o: In function rrdInfo': go/src/github.com/ziutek/rrd/rrdfunc.c:39: undefined reference to rrd_info_r'
collect2: ld returned 1 exit status
github.com/ziutek/rrd
rrdfunc.c: In function 鈥榬rdError鈥
                                 rrdfunc.c:11: warning: incompatible implicit declaration of built-in function 鈥榮trdup鈥

rrdfunc.c: In function 鈥榬rdInfo鈥
                                       rrdfunc.c:39: warning: assignment makes pointer from integer without a cast

[root@grafana-rrd ~]#

Finally, i am able to build it on 386 OS. It was because the RRDTool is below than 1.4. After re-install RRD, the issue disappear. Thank you .


get_metadata('author') behavior (alias vs. name)

I have installed the library via pip with python2.7 on ubuntu 14.04.
I was wondering if this kind of author behavior to be expected for some titles:
>>> from gutenberg.query import get_etexts
INFO:rdflib:RDFLib Version: 4.2.1
>>> from gutenberg.query import get_metadata
>>> print(get_metadata('title', 1))
frozenset([u'The Declaration of Independence of the United States of America'])
>>> print(get_metadata('author', 1))
frozenset([u'United States President (1801-1809)'])

This seems like the relevant parts of the RDF from the dump I downloaded:
    <dcterms:creator>
      <pgterms:agent rdf:about="2009/agents/1638">
        <pgterms:webpage rdf:resource="http://en.wikipedia.org/wiki/Thomas_Jefferson"/>
        <pgterms:birthdate rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1743</pgterms:birthdate>
        <pgterms:name>Jefferson, Thomas</pgterms:name>
        <pgterms:deathdate rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1826</pgterms:deathdate>
        <pgterms:alias>United States President (1801-1809)</pgterms:alias>
      </pgterms:agent>
    </dcterms:creator>

I think it'd make more sense to change the extractor to prefer DCTERMS.creator / PGTERMS.name over DCTERMS.creator / PGTERMS.alias which would make getting the author more inline with what you'd see if you went to the Gutenberg site.

@keithohara: Thanks for reporting this. I finally got some time to work on this project again so this issue is now fixed in the latest master.


Is it possible to connect 2-3 Nodemcu and controll with PC?

Your project is wonderful! Everything works fine, but can I connect a few Nodemcu and control them all? I do not much work with Python, but if there is such an opportunity, then I will try to do it! Thx 😊

The easiest way is probably to direct broadcast the data on your subnet. This may be a little problematic though due to the many data packets that spam every devices connection.

I had the same problem and tried the same route - I would not recommend
this, broadcasts over WLAN really mess up your network performance.  I
modified the Arduino code to accept packets of any length (up to a maximum
to prevent memory corruption) and wrote a GTK-perl script to accept data
from audio-reactive-led-strip and distribute them to my various LED strips.
For each strip one can decide whether to display the audio data or a fixed
colour (configurable with sliders) so that not all the strips in the room
flash all the time.  The code is not really clean (work in progress), but it
works.  Maybe it helps.
I had the same problem and tried the same route - I would not recommend
this, broadcasts over WLAN really mess up your network performance.  I
modified the Arduino code to accept packets of any length (up to a maximum
to prevent memory corruption) and wrote a GTK-perl script to accept data
from audio-reactive-led-strip and distribute them to my various LED strips.
For each strip one can decide whether to display the audio data or a fixed
colour (configurable with sliders) so that not all the strips in the room
flash all the time.  The code is not really clean (work in progress), but it
works.  Maybe it helps.

gtk2-udp.pl.txt

Wow that is a good Idea! Maybe I try to implement this into my setup :D

@VladlenKaveev This is similar to #272 and a number of people have asked for multi-client support. I'm mostly on here for support and troubleshooting and I don't really have the python knowledge to add these features but if anyone's willing to submit a PR I'd definitely consider.

@joeybab3 Hey! I can connect 2 device, but i need to run 2 .py programs. Now, i try to add many devices,  but i too don't have the python knowledge. Now I'm at the stage of the second graph and 2 Nodemcu is working, but i cant change a frequency to each device. If I don’t succeed, then I will have to use several windows :(

@joeybab3 For simultaneous work, you need to create a schedule for each device. But in the code the author use pygraph and idn how can edit it to pyqt5 gui to add a tabs with device 1, 2 and etc

@gaijinsr If i run 5 windows .py program, and use 5 Nodemcu my network is down? I try to edit code and add 5 device in 1 windows, but its so hard for me :(

@VladlenKaveev try the changes in #201 I haven't been able to test them myself but intuitively it seems like it might work

@joeybab3 https://cloud.vspace.one/s/TTazm83FFjrR83m is not work(

@joeybab3 I need to change frequency in Device 1 to 0-200 and  Device 2 400-600 for example.

@VladlenKaveev Adding devices is easy, see attachment. Sending data to a couple of devices is no problem, but multicasting the data to every device on the network (which we are not doing) is not a good idea on a WLAN.
@joeybab3 The multi-IP change looks good, but for my use case (showing up at parties with a couple of lengths of LED strips) my solution is more flexible because I can change IP addresses on the fly, even while the visualisation is running. I can also do things like keeping the lights above the buffet at a fixed colour while people are eating and use them for effects later in the evening...
gtk2-udp.pl-6dev.txt

@gaijinsr I'm sure there are lots of better ways to do this but not many that don't require rewriting the core

@gaijinsr Hey! I run a Systematic LEDs today, on Mac I had a lot of mistakes, but still managed to run. How many device you try to connect on one wi fi network? Now i have only 2, but i need to connect 5-6 devices. What do you think about it?

Regarding multiple devices, LedFx is made specifically for this! No
multicast, connect as many devices as you like. It's originally based on
this project, but has been taken much further now. Loads of effects, nice
UI, so on.
https://github.com/ahodges9/LedFx
If you're having trouble installing (dependencies are a pain), feel free to
ask for help on the discord server. Usually someone's around to lend a hand.
https://discord.com/invite/wJ755dY
On Fri, 3 Jul 2020, 22:05 VladlenKaveev<EMAIL_ADDRESS>wrote:

@gaijinsr https://github.com/gaijinsr Hey! I run a Systematic LEDs
today, on Mac I had a lot of mistakes, but still managed to run. How many
device you try to connect on one wi fi network? Now i have only 2, but i
need to connect 5-6 devices. What do you think about it?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/scottlawsonbc/audio-reactive-led-strip/issues/278#issuecomment-653677076,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHXFVTFCB6DGQMKA7EV6MG3RZZBYFANCNFSM4OIZIY2A
.

@VladlenKaveev I have been running 6 devices are no problem at all. Also, you could lower the FPS to 30.
@not-matt I tried LedFx, but - as you wrote - installation is a PITA. In a way it is great that you can assign different effects to all the LED strips, but for me this was overkill: I just want all my strips to show the same animation.

@not-matt I tried ledfx, but it seemed to me that switching effects is very slow. I'm doing a light party project in Russia and I want to use 5-6 devices and quickly change effects through a PC. It seemed to me that the Systematic Leds interface is faster and easier to understand to add own buttons and effects. I think that ledfx more convenient for home use. Thanks for the answer, be sure to join in discord.
@gaijinsr But Systematic Leds it makes it possible to launch different effects with different frequencies on different devices and its works well.


Cherry-pick of Reset all Ready and Ready AdmissionChecks on Eviction as Pending (#3323)

What type of PR is this?
/kind bug
What this PR does / why we need it:
Manually cherry-pick of https://github.com/kubernetes-sigs/kueue/pull/3323.
The below are conflict points:

pkg/workload/workload.go: The commit conflicts with ResourceTransformation MaxExecTime codes.
pkg/scheduler/scheduler.go: The commit conflicts with ResourceTransfomation / codes and fake clock.
test/e2e/singlecluster/e2e_test.go: The commit conflicts with gomega.Gomega propagation and test case semantic changes related to these bug fixes.

Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Workload is requeued with all AdmissionChecks set to Pending if there was an AdmissionCheck in Retry state.

Before we merge this PR, we need to cherry-pick https://github.com/kubernetes-sigs/kueue/pull/3354.

/hold

/assign mimowo

/lgtm
/approve
Thank you for taking this!


Remove a kingsafety bonus.

@GediminasMasaitis pointed out that the third kingsafety bonus is actually negative, so at best it serves as normalizing constant.
We can probably just simplify it away. The PST will cover the difference between being castled and being able to castle anyway.
Note this "failed" at -1.6 Elo, but we should take it anyway:

It's -5 bytes so the Elo/byte for removing is good.
It makes no sense.
Removing E1 from the mask so it becomes a pure castling bonus leads to a negligible eval term (S(-4, 0) note again it's negative!), which reinforces this doesn't really do anything sensible.

STC
ELO   | -1.62 +- 1.84 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=64MB
LLR   | -2.96 (-2.94, 2.94) [-3.00, 1.00]
GAMES | N: 78752 W: 22548 L: 22915 D: 33289

Thanks.


Insert query skip NOT NULL constraint

Mysql Version: 5.5.62 and 5.6.10
lib version: 2.18.1
CREATE TABLE IF NOT EXISTS temp_user (
  email	        varchar(255),
  name          varchar(255)  NOT NULL,
  surname  	varchar(255)  NOT NULL,
  PRIMARY KEY (email)
) ENGINE=InnoDB;

When I insert a new user with a wrong query:
insert into temp_user (email) VALUES ('email@example.com');

If I execute in Mysql IDE (DBeaver) it throw an error: Errore SQL [1364] [HY000]: Field 'name' doesn't have a default value
But the node library insert the record with null in name and surname.
await pool.query(`insert into temp_user (email) VALUES ('email@example.com')`);

email
name
surname

<EMAIL_ADDRESS>

That error is caused when you have the STRICT_TRANS_TABLES sql mode enabled. It sounds like that mode is not enabled on your server by default and your IDE is enabling the setting for your session. You can either just enable STRICT_TRANS_TABLES sql mode on your server so all connections will be that way by default or run a query to change the sql mode with this module's connection prior to running your insert query (which is what your IDE is doing under the covers).

That error is caused when you have the STRICT_TRANS_TABLES sql mode enabled. It sounds like that mode is not enabled on your server by default and your IDE is enabling the setting for your session. You can either just enable STRICT_TRANS_TABLES sql mode on your server so all connections will be that way by default or run a query to change the sql mode with this module's connection prior to running your insert query (which is what your IDE is doing under the covers).

Grazie della risposta.
Ci sono delle impostazioni da configurare nel createPool/createConnenction per ottenere lo stesso risultato di IDE o CLI?

Grazie della risposta.
Ci sono delle impostazioni da configurare nel createPool/createConnenction per ottenere lo stesso risultato di IDE o CLI?

You can add a listener to the pool connection event and run your query in the event handler.

You can add a listener to the pool connection event and run your query in the event handler.


Cluster Overview - Apply a filter when clicking in the different gauges Deployment types.

Rancher master-head (07/23/2020) fd3e37bec k8s HA install.
dashboard-index -> latest

Deploy any cluster type
Navigate to Dashboard landing in the Cluster Overview page.
Click Deployments for example

This will list all other types of deployments including Stateful Sets, Daemon Sets, Tasks, etc.
The same applies if you click on Stateful Sets and the other Cluster Overview Gauges.
We should also make sure to apply All Namespaces filter because the Overview Page is a total of all cluster resources.
If we don't filter this properly it's hard to count the Deployment list page with all the different deployment types manually.

With the changes to the cluster explorer navigation, this seems to be working now.

@deniseschannon just to confirm the expected behavior for this.
the Cluster Overview page shows All Namespaces data in the gauges. If I click in each gauge to navigate to those resources right now I think the default is showing User Namespaces.
Example:
Let's say the Ingress Gauge has 1 Ingress (HA setup) shown in the Overview page and I click on that gauge card then the Ingress list won't show any Ingress unless I manually set All Namespaces in the Global Nav Bar combobox then it will show the expected number of rows in that resource list matching with what's reported on the Overview page.
If the behavior is expected in the example then we're good to close.

That is the currently defined behavior.  The overview page shows totals for the whole cluster (or whatever portion you're authorized to).  Clicking the boxes is the same as picking the type in the left, and those pages list the subset that match the namespace filter.
The Deployments list showing other kinds of workloads was a bug that has been fixed. They were all acting like the Workload list.

Rancher version master-head (08/06/2020) 74853f3bf HA k8s
dashboard-index -> latest
Looks good to me and the behavior is expected. Closing.


Incorrect value of RLongAdder.sum() and DoubleAddder.sum() methods in case of multiple Adder instances for the same Redisson object

Fixed


Remove JedisPoolAbstract and related changes

JedisPoolAbstract itself was doing nothing except acting as access point of Pool<Jedis> from redis.clients.jedis package. Using Pool<Jedis> directly seems better.

@sazzad16 there are some merge conflicts in here though

@marcosnils @gkorland ping


Fixed circleci's compiler issue with const initializer with other con…

…stants.

I think we should install more up-to-date gcc version in the docker instead

I am no C expert but I don't think any gcc will support this. I think we should discuss this further irl, due to my limited knowledge.

@mat-hek Updating to gcc 9 did fix the issue.


Create lerna init command

Resolves #47
This will simplify a lot of things that I want to do soon like lerna.json, then once lerna.json is in we won't have to use the cwd anymore and we can recursively look up the tree to find a lerna.json or package.json with a lerna field.
This also improves the experience of --independent, see the warning in lib/init.js.
`VERSION` does not exist, have you run `lerna init`? Or maybe you meant to run this with `--independent` or `-i`?

Ok :+1:


Meta Description and Meta Keywords Not Being Applied

I can't seem to get the SEO meta_description and meta_keywords to use the correct ones for the pages as entered, (page meta_title works fine).
At first glance I believe this extensions using the old spree setup for overriding the meta description and keywords per page.
Can anyone help with this issue?

Issue sorted in a pull request.


changes to the dashboard layout

Description
Dashboard layout to include custom sections for colors and collapsed state

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Client Allocation Request for: denchance

Client Allocation Questions
Core Information

Name: denchance
Website / Social Media: https://github.com/denchance
Region: Greater China
DataCap Requested: 5TiB
Addresses to be Notarized: f13vxumwujwwu3xpcrv2xrwjx5ni2thcv4jn7ruma
Notary Requested: swatchliu

@denchance Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Closed


Add hair fade category?

Hello, is there a way to add the hair fade category? my hair fades are mixed in with the hair styles and messing some of them up. Thank you

Sorry i just saw the gitbook common issue.