Fix package signatures

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?
Fix input-srpms build break by changing incorrect hashes.
Fixes errors:
WARN[0023] no signature for file (bash-completion-2.11.tar.gz) found. full path is (/build/bash-completion-2.11-1.cm2.src.rpm/SOURCES/bash-completion-2.11.tar.gz)
WARN[0028] no signature for file (Catch2-2.13.8.tar.gz) found. full path is (/build/catch-2.13.8-1.cm2.src.rpm/SOURCES/Catch2-2.13.8.tar.gz)
WARN[0016] no signature for file (chkconfig-1.20.tar.gz) found. full path is (/build/chkconfig-1.20-1.cm2.src.rpm/SOURCES/chkconfig-1.20.tar.gz)
Change Log

Change bash-completion
Change catch
Change chkconfig

Does this affect the toolchain?

NO
Associated issues

#xxxx

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-YYYY-XXXX

Test Methodology

sudo make input-srpms

Merging this as this is blocking the ptest pipline due to bash-completion


Added libngspice and some other usefult python packages

I added some packages that are relevant to my project, maybe someone can benefit too. The most important is recompiling ngspice (this is done twice, maybe this can be fixed) to include libngspice, which is needed to interface with C, python and other programming languages.

Please consider I didnt have time to test this image since I have been working and compiling all day this week. If you prefer, you can reject this pull request and wait untill I can do this.

Merged into next_release branch. Please check the ngspyce operation, it does not seem to work correctly in the Docker, so we might need another change somewhere.


Dragging a layer displays a dashed border moving the image by one pixel

When you click on a layer within the page a dashed border is displayed. This border changes the position of the image by one pixel horizontally and vertically.
I suggest to use outline instead of border.
Sebastian

Nice tip, done, thanks.
Honza


CLOUD-640 periscope  starts without SMTP config entries. Email body logg...

@keyki , @akanto, @doktoric please check it

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/periscope-build-pull-request/13/

LGTM.


Review of flush defaults

This is a review of the current usage of flush timing in vueuse. I think I understand better the reason the previous default for useRefHistory was 'sync' now. If we would have called this composable watchRefHistory, I think it will be easier to see why I pushed for 'pre'. If the name would be computedRefHistory, then 'sync' would be better. I wonder if using "watch" as prefix instead of "use" is not better, but maybe if the documentation is clear this is not a problem.
controlledComputed
controlledComputed is using flush: 'sync' and it is not configurable, I think this is correct because it is the way computed works.
syncRef, bySyncRef
syncRef defaults to 'sync', but in the docs it says the default is 'post'.
Because the name is syncRef, it is kind of hard to not use 'sync' as the default here. I think it also should behave like computed. Also, bySyncRef is not configurable and is using 'sync'
I can send a PR to change the default in the docs to 'sync'
useStorage
useStorage is using 'post' as its default and it is not configurable. Was 'post' used because there was a limitation about making flush configurable for this one?
when
when is using 'sync' as its default, but it looks more like a watcher to me. I think we could change its default to 'pre' to align it to the watch API

Thanks for the review! All looks reasonable, let's go ahead and do it!
about useStorage, I would love to introduce a debouncing option to it, which I can do that later, but free feel to do it if you get interested.
Thanks!

Working on it

when updated. Other than useStorage should be resolved. We will need to refactor a bit about useStorage and I will leave that to another issue. Closing now, thanks a lot for the review.

Pushed the section to the doc @antfu https://github.com/antfu/vueuse/commit/dfc72eca3b2b58607fcef58bf48fc702fa5c1958
But looks like I pushed a merge commit, I do not know if I can rebase it, truly sorry about it :(
I'll do a PR even for adding docs from now on.

No problem. I don't care about merge or rebase as long as the final generated changelogs are meaningful. And yeah PR will better which helps me remember to review.


Is it possible to support function coverage?

The result I got after running is only the row coverage, which is not enough in my work.
Branch coverage is in the roadmap, so is there a similar plan for function coverage?

It's definitely possible, just no ones asked for it before! I guess the big questions would be how would the UX look like for function coverage, especially how would it interact with the current reporting types: coveralls, cobertura, lcov, etc.
I could probably quite trivially map the entire span of a function to a single logical line and then any lines hit in a function would be mapped to the first line of the function. But I'd rather not jump straight into the simplest solution in case it ends up being bad :sweat_smile:.
Do you have any idea how you'd want this to look? And also anymore insights on your use case?

So there is function coverage available via the lcov reports. It'll take a bit of post-processing but I do have the list of function names and number of times they're called so it's work-out-able for those who want to do some manual work.
If someone wants a less-manual reporting of this feel free to comment on this issue and I'll reopen it.


wip: more gonads

Description

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #4338   👈

This comment was auto-generated by Graphite.

Opening for early review while testing this


Prototype Pollution is still possible in the latest version 3.2.4

Hey, seems the fix for prototype pollution only applies to cloneObject() and merge(), but unfortunately miss mergeClone(). As a result, the latest version 3.2.4 is still vulnerable to prototype pollution.
I have reported this vul through huntr.dev at https://www.huntr.dev/bounties/1-npm-mquery
As well as proposed a possible fix with a PR at https://github.com/418sec/mquery/pull/1
Please help to confirm whether this is indeed an issue and also whether the fix you like, thanks!

Fixed by #121


USB audio

Maybe this is too generic for a setting but to enable an external usb audio card (from ebay for a few dollars), create /etc/asound.conf  with the following content:
pcm.!default  {
 type hw card 1
}
ctl.!default {
 type hw card 1
}

See https://learn.adafruit.com/usb-audio-cards-with-a-raspberry-pi/updating-alsa-config.

I'd say: Why not?
Can you suggest any default packages?

I'm now testing it on a raspberrypi-ua-netinst installation;
$ sudo apt-get install mpg123
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libmpg123-0
Suggested packages:
  alsa-utils jackd nas oss-compat oss4-base pulseaudio
The following NEW packages will be installed:
  libmpg123-0 mpg123
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 268 kB of archives.
After this operation, 599 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
....

$ mpg123 http://stream2.friskyradio.com/frisky_mp3_hi

Gives me this error:
$ mpg123 http://stream2.friskyradio.com/frisky_mp3_hi

[module.c:129] error: Failed to open module jack: file not found

[module.c:129] error: Failed to open module portaudio: file not found

[pulse.c:84] error: Failed to open pulse audio output: Connection refused

[module.c:129] error: Failed to open module nas: file not found

[module.c:129] error: Failed to open module openal: file not found

[audio.c:180] error: Unable to find a working output module in this list: alsa,oss,jack,portaudio,pulse,nas,openal

[audio.c:545] error: Failed to open audio output module

[mpg123.c:913] error: Failed to initialize output, goodbye.

So yeah there are some packages required (unfortunately). I'll be using it with Qt in the end but some alsa stuff is probably needed).

After installing:
$ sudo apt-get install jackd oss-compat pulseaudio

things are looking better:
$ mpg123 http://stream2.friskyradio.com/frisky_mp3_hi
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
	version 1.20.1; written and copyright by Michael Hipp and others
	free software (LGPL) without any warranty but with best wishes

Directory: http://stream2.friskyradio.com/
Playing MPEG stream 1 of 1: frisky_mp3_hi ...
ICY-NAME: FRISKY | feelin' frisky?
ICY-URL: http://www.friskyradio.com

MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo

ICY-META: StreamTitle='FRISKY | Allure - February 2017 - Niki Sadeki';

Are thing hearing better, too? ;)

Well, it looks like I (long story coming) plugged it into a USB hub from ebay china that doesn't have enough power (my canon selphy printer also needs to be plugged into the RPi itself, the usb hub is shit) so I haven't heard anything yet, but you're right I'm about to test that next. Just means I have to unscrew quite some..

👍

Apparently using .asoundrc instead of /etc/asound.conf should also work with this content:
pcm.!default {
        type hw
        card 0
}

ctl.!default {
        type hw
        card 0
}

It's crucial to add the user to the audio group. Was trying to figure out why aplay -l returned:
$ aplay -l
aplay: device_list:268: no soundcards found...

Turns out you need to use sudo or add the user to the audio group:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

And USB audio playback's now working fine.
So I'd suggest following for usb audio option @FooDeas:

add user to audio system group
packages: alsa-utils jackd oss-compat pulseaudio
config in /etc/asound.conf:

pcm.!default  {
 type hw card 1
}
ctl.!default {
 type hw card 1
}

All right! Only one thing: Adding user to audio system group will get an separate option.

All right! Only one thing: Adding user to audio system group will get an separate option.

Assuming the additional payload is only added/installed in case that option is used?

@Mausy5043
Of course!

I think, I will do the implementation on the weekend if my own USB audio stick arrives and release on monday.

Tests please!

It worked fine, thanks.


Refactor flow events get to use flags for blocks

Instructions
flow events get uses arguments for blocks and event names, switching to flags for blocks would make it easier to submit more events and would make it possible to have more semantic meaning flags.
Problem
in #315 there was introduced specifying -10 as an argument that would mean fetch latest blocks. However cobra behaves strangely when using - in arguments so you need to terminate the flag processor with --. This is not ideal.
Acceptance Criteria
Suggested flags are:
--start  start block as a int
--end   end block as an int
--last  fetches that last x blocks relative to related height.
As for #319 it could need the following flags
--workers/-w  how many workers to use as default (10, not sure this is the correct default value here?)
--batches/-b  how large a batch of blocks to send to a worker (250) this default should be synced with gateway limit
Context
Just helping out making the CLI a good place to be.

Question:

What should be the default values when not specifying any flags here? Personally I would go with just fetch for the last block, that is --last 1

I took a stab at fixing this in #319

I would personally require either --last flag or combination of --start --end. I'm afraid that running the command without any arguments: flow events get flow.Event would imply you are getting all the arguments, so I prefer being explicit about the values.

Ok fine by me.

I think fetching the events from some of the latest blocks makes sense. I would normally run it to fetch events that my last transaction would emit, so using an internal that would exceed normal seal block time would be preferable. What about 10?
Using required flags is as you have stated against your own guidelines. And I think that as long as the docs is clear people would not exect to fetch all events.

I understand, maybe having a smaller interval is more resourceful and covers the majority of the cases. But like you said it needs to be documented. I believe this is quite subjective and I don't feel I have a strong argument for any of them so I can agree with yours.


Generate authorize URL without devise

Is there a way to generate the authorization URL without using devise gem?

@husam212 Did you find the answer? I'm trying to do something similar but no luck so far

I'm trying to do this. Can you help me? Did they find the way?

Hi @AyeRobredo have you followed the general instructions on the wiki?

The auth URL is /auth/:provider, I'm not sure if that helps, I lost the context of this issue.


My tinker branch

I have updated the transactions chart and updated the formatting of sats in the transaction items.

Hey @Maphikza
I squashed the merge conflicts here. Can you make sure everything looks okay?

I'm just gonna merge it. Let me know if you catch anything wrong.


Basic game-play demo needs to be smoother

We could send the players velocity to each peer and update the position every X frames (once per second?).
This would make it look much smoother and not so "blocky" like how it currently is.
Furthermore, this would reduce packages needing to be send over the network.
In case there is a velocity (physics) miss-match, the position package will simply correct for that creating the classic "rubber-banding" problem for the player.

After #15


style(button): Remove generic CTA button style

Call to action button should always tie to a tenant, therefore, remove the generic CTA style to prevent confusion and misuse of CTA without the tenant being set.

It's related to https://github.com/seekinternational/seek-asia-style-guide/issues/342

question, should we add something like
[styles.root_callToAction]: color === 'callToAction' && (isJobStreet || isJobsDB)
https://github.com/seekinternational/seek-asia-style-guide/blob/master/react/Button/Button.js#L56

Can remove isJobsDB and isJobStreet props? Use context instead?

question, should we add something like
[styles.root_callToAction]: color === 'callToAction' && (isJobStreet || isJobsDB)
https://github.com/seekinternational/seek-asia-style-guide/blob/master/react/Button/Button.js#L56

We'll use StyleGuideContext instead. (Thanks @cm-seekasia help me out on that)


Peer._run_decoded_packets of <Peer('<IP_ADDRESS>', 29871) HydraChain/v0.0.1> failed with AssertionError

with 63229e04a461b721c51e2690cedfed1d30ef0dbd, and 3 nodes:
$ hydrachain -d datadir rundummy --num_validators=3 --node_num=0 --seed=42
$ hydrachain -d datadir1 rundummy --num_validators=3 --node_num=1 --seed=42
$ hydrachain -d datadir2 rundummy --num_validators=3 --node_num=2 --seed=42

As soon as the 3rd node connects, the other two crash with the following exception:
INFO:p2p.peermgr	connecting random node=<Node(6299bf5d)>
INFO:p2p.peermgr	missing peers known=1 num_peers=1 min_peers=2
INFO:p2p.peermgr	connecting random node=<Node(6299bf5d)>
INFO:p2p.peermgr	missing peers known=1 num_peers=1 min_peers=2
INFO:p2p.peermgr	connecting random node=<Node(6299bf5d)>
INFO:p2p.peermgr	missing peers known=1 num_peers=1 min_peers=2
INFO:p2p.peermgr	connecting random node=<Node(2f099886)>
INFO:p2p.peer	received hello client_version=HydraChain/v0.0.1/darwin/py2.7.10 version=4 capabilities=[['hdc', 1], ['p2p', 4]]
CRITICAL:hdc.chainservice	setting up alarm
Traceback (most recent call last):
  File "/Users/mids/.virtualenvs/hydrachain/lib/python2.7/site-packages/gevent-1.1b3-py2.7-macosx-10.10-x86_64.egg/gevent/greenlet.py", line 519, in run
    result = self._run(*self.args, **self.kwargs)
  File "/Users/mids/.virtualenvs/hydrachain/lib/python2.7/site-packages/devp2p-0.5.2-py2.7.egg/devp2p/peer.py", line 206, in _run_decoded_packets
    self._handle_packet(self.mux.packet_queue.get())  # get_packet blocks
  File "/Users/mids/.virtualenvs/hydrachain/lib/python2.7/site-packages/devp2p-0.5.2-py2.7.egg/devp2p/peer.py", line 180, in _handle_packet
    protocol.receive_packet(packet)
  File "/Users/mids/.virtualenvs/hydrachain/lib/python2.7/site-packages/devp2p-0.5.2-py2.7.egg/devp2p/protocol.py", line 163, in receive_packet
    cmd(packet)
  File "/Users/mids/.virtualenvs/hydrachain/lib/python2.7/site-packages/devp2p-0.5.2-py2.7.egg/devp2p/protocol.py", line 135, in receive
    instance.receive(proto=self, data=klass.decode_payload(packet.payload))
  File "/Users/mids/.virtualenvs/hydrachain/lib/python2.7/site-packages/devp2p-0.5.2-py2.7.egg/devp2p/protocol.py", line 71, in receive
    cb(proto, **data)
  File "/Users/mids/Projects/ethereum/hydrachain/hydrachain/hdc_service.py", line 319, in on_receive_vote
    self.consensus_manager.process()
  File "/Users/mids/Projects/ethereum/hydrachain/hydrachain/consensus/manager.py", line 338, in process
    self.commit()
  File "/Users/mids/Projects/ethereum/hydrachain/hydrachain/consensus/manager.py", line 360, in commit
    assert success
AssertionError
<Greenlet at 0x107f1ceb0: <bound method Peer._run_decoded_packets of <Peer('<IP_ADDRESS>', 29871) HydraChain/v0.0.1>>> failed with AssertionError

Traceback (most recent call last):
  File "/Users/mids/.virtualenvs/hydrachain/bin/hydrachain", line 9, in <module>
    load_entry_point('hydrachain==0.0.1', 'console_scripts', 'hydrachain')()
  File "/Users/mids/Projects/ethereum/hydrachain/hydrachain/app.py", line 148, in app
    pyethapp_app.app()
  File "/Users/mids/.virtualenvs/hydrachain/lib/python2.7/site-packages/click-5.1-py2.7.egg/click/core.py", line 700, in __call__
    return self.main(*args, **kwargs)
  File "/Users/mids/.virtualenvs/hydrachain/lib/python2.7/site-packages/click-5.1-py2.7.egg/click/core.py", line 680, in main
    rv = self.invoke(ctx)
  File "/Users/mids/.virtualenvs/hydrachain/lib/python2.7/site-packages/click-5.1-py2.7.egg/click/core.py", line 1027, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/mids/.virtualenvs/hydrachain/lib/python2.7/site-packages/click-5.1-py2.7.egg/click/core.py", line 873, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/mids/.virtualenvs/hydrachain/lib/python2.7/site-packages/click-5.1-py2.7.egg/click/core.py", line 508, in invoke
    return callback(*args, **kwargs)
  File "/Users/mids/.virtualenvs/hydrachain/lib/python2.7/site-packages/click-5.1-py2.7.egg/click/decorators.py", line 16, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/Users/mids/Projects/ethereum/hydrachain/hydrachain/app.py", line 141, in rundummy
    evt.wait()
  File "/Users/mids/.virtualenvs/hydrachain/lib/python2.7/site-packages/gevent-1.1b3-py2.7-macosx-10.10-x86_64.egg/gevent/event.py", line 86, in wait
    result = self.hub.switch()
  File "/Users/mids/.virtualenvs/hydrachain/lib/python2.7/site-packages/gevent-1.1b3-py2.7-macosx-10.10-x86_64.egg/gevent/hub.py", line 510, in switch
    return greenlet.switch(self)
AssertionError

mhm, can not reproduce this.
does this also happen with fresh empty datadirs?

The specified datadirs were not existing beforehand

 DEBUG:hdc.consensus<PHONE_NUMBER> <CP A:'2ca7fd47' H:1 R:3 L:None I:0> no quorum for  {'p': <BlockProposal S:'2ca7fd47' H:1 B:30eba15d>}
DEBUG:eth.chain	nonce not set block_hash=<Block(#1 11fa56bc)>

ok, could reproduce. fixed in https://github.com/ethereum/pyethereum/commit/cd9ec82f8183f188873cfa4899765ea1574862ea


Using dynamic image paths

Is it possible to use webpack pathing for the images?
{ itemprop: 'image', content: './../assets/metadata/main.png' }
renders as:
<meta content="./../assets/metadata/main.png" itemprop="image">

I'd love it to link to the image dynamically as I have many pages that will be using dynmaic data to populate the image.

Ok some quick testing it appears
{ itemprop: 'image', content: require('./../assets/metadata/main.png') }
may do the trick.


Nix flake updates

Updates the cargo hashes again
Updated Rust  because matrix-sdk-common 0.7 was refusing to build on 1.67
Used the current git commit hash as the version (appends -dirty if working tree is dirty)
Small cleanups here and there

Thank you!
Maybe we should add an action to build the flake some time.

A GitHub action or some other way to test out building the Nix flake would be good! I've been thinking about trying to set up something on builds.sr.ht that runs after all of the GitHub actions have passed for testing out building on NetBSD and OpenBSD. If I get around to that, they also have NixOS images, so that could also take care of validating that the flake.nix works.


Building problems. Duplicate entries in BuildConfig.class

Dear Sandro,
thank you for putting this together. Unfortunately the build process fails for me for both release v1.1.1 and v1.1.0. I'm building with Studio 2.2.3 and JRE 1.8.0_76-release-b03-amd64 and try to run on

Android 5.1 API 22 or on
Android 7.1 API 25.
However, the *.apk files you released do work for me. So the problem should be on my side. Still I would appreciate and hope to get some help on it.

If I clean and rebuild the app, the building works, but when I try to run the app I get:

Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/local/android-studio/jre/bin/java'' finished with non-zero exit value 2

If I use the option:

   multiDexEnabled true

I get:

Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.
com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/sandro/openalpr/BuildConfig.class

Thank you for any help on this,
k3t0

Dear Sandro,
thank you for your reply.
I'm trying to compile and run an unmodified version of your code. So, I was using buildToolsVersion "23.0.1". I'm now trying to run on a Marshmallow system, but I get the same error.
If I simply build the project, all is well and it logs build successful. Once I try to run/build the apk, however, it exits with the error message shown above.
I understand it's not your job helping me solve my setup issues. Still I'd appreciate any help/idea.
Kind regards,
k3t0

@k3t0 you need to disable instant run. Can you please try it and give feedback?

ya I'm getting the same error...in spite of following your all instruction

I'm getting the same error...in spite of following your all instruction too.

I had a similar issue. My project had a library module and I had the same package name for both app and library. This was creating the conflict. After I change the library name in the AndroidManifest, it compiled.

i am getting same issue my version is 28 how can i solve this i have add already added multidex but still not working


Make archetype predictions at league signup time rather than in an hourly maintenance job

@bakert suggested doing this in a separate process if needed to keep user response times down.

The key time to have the predictions is when the decks are uncategorized and the one hour they are most likely to be uncategorized is the hour after they are inserted. I definitely think we should do this.

It would make sense to put it in add_deck rather than attaching it to league signup in order to get goldfish and tournament decks too.


[NEW CONTENT TYPE REQUEST] Unity level file

What type of file would you like magika to detect?
Unity level file (level[0-9]+)
What software can create/open these files?
Unity Engine, Asset Studio, Asset Ripper.
Where can these files be found?
Any Unity game.
If possible, please provide a specification for this file type.
Additional context

Closing, see #152 for context. Thanks!


SwipeableFlatList bleeding pixel

[x] Review the documentation: https://facebook.github.io/react-native
[x] Search for existing issues: https://github.com/facebook/react-native/issues
[x] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
React Native Environment Info:
System:
OS: Windows 10
CPU: x64 Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz
Memory: 589.87 MB / 5.45 GB
Binaries:
Yarn: 1.9.4 - C:\Users\kasim\AppData\Roaming\npm\yarn.CMD
npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version  <IP_ADDRESS> AI-173.4907809
Description
When you swipe an item, you can see "bleeding" on the right of it. It is noticable on a physical device. I guess, "x" property should be rounded.
Please, wait till gif below is loaded

Thanks for the visual demonstration. Can you include a code sample that we can use to repro this?

https://snack.expo.io/Bk54hV1tQ
You probably won't see it on emulator or a hdpi-device. I use Samsung Galaxy Note II.
On the screenshot below there is a barely noticeable bleeding. Don't let the blurring of icons mislead you. The edges of swipable items should be crisp (and they are, when the horizontal position has an integer value).

Hello there 👋 this issue has been reported for an old version of React Native. Ideally we'd like everyone to be using 0.59 (see the awesome changes it brought) but we know updating can be a pain.
Also, both ListView and SwipeableListView are going to be removed, and your repro uses that.
But please, if it's actually still an issue with 0.59 please comment below and we can reopen it. Even better, please send us a pull request with a fix 😊


SnarkyJS bindings

This PR

pulls in the remaining proof-systems stubs for WASM that aren't currently in develop
refactors the bindings to interact correctly with dune
uses dune to build the bindings
integrates the bindings test with dune runtest
adds a Makefile entry for building the chrome and node bindings (make build_snarkyjs_node build_snarkyjs_chrome)

this uses promotion, so that the outputs of the bindings are in-tree

checks in the bindings
adds a CI job to test that the checked-in bindings match with those generated in CI

This also includes some bugfixes, including the spin-lock behaviour used to workaround the newer non-blocking behaviour in newer Chrome versions.
Tested locally by running the newly-added tests.
Checklist:

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[X] Document code purpose, how to use it
[X] Tests were added for the new behavior
[X] All tests pass (CI will check this if you didn't)
[X] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them

This is very stale, closing.


Generator For freezable Pattern

Hi,
it would be really useful to have an attribute that marks an object as freezable, so there is a freeze method. if the object is frozen properties cant be changed anymore

That's a good idea. How does this API sound to you?
[[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field)]
public sealed class FreezableAttribute : Attribute { }

[Freezable]
public partial class Person
{
	[Freezable]
	private string _name;

	private int _age;
}

// This part is generated
public partial class Person
{
	private bool _isFrozen;

	public string Name
	{
		get => _name;
		set
		{
			if (_isFrozen)
			{
				throw new InvalidOperationException("Person is frozen and cannot be modified.");
			}

			_name = value;
		}
	}

	public void Freeze()
	{
		if (_isFrozen)
		{
			throw new InvalidOperationException("Person is already frozen.");
		}

		_isFrozen = true;
	}

	public bool TryFreeze()
	{
		if (_isFrozen)
		{
			return false;
		}

		return _isFrozen = true;
	}

	public void Unfreeze()
	{
		if (!_isFrozen)
		{
			throw new InvalidOperationException("Person is not frozen.");
		}

		_isFrozen = false;
	}

	public bool TryUnfreeze()
	{
		if (!_isFrozen)
		{
			return false;
		}

		return !(_isFrozen = false);
	}
}

I'll keep this open until I have implemented it.

This is available in v2.2.0.

Maybe add an option to not generate unfreeze functions?

Available in v2.2.1.


[novice question] Not getting values  using hx711_get_value; how should I debug my setup?

I am not getting value using hx711_get_value or any of its variants. This method blocks and waits endlessly. I am using this amplifier for the first time. So it could be an issue with my setup. I want to know how do I make sure that I have connect the right  pins.
I am on Linux host and using CLI to copy files and checking using minicom. I am printing statements and reading via USB.

Hi,
Please describe which pins on the Pico are connected to the HX711 pins, including how you are powering the HX711.
A photo would be ideal.

Pin 19 & 20 are connected to hx711 clock and data respectively. And I am powering hx711 using VSYS of Pico.

Just now I tried to switch to external 5v power supply for hx711 amplifier. Now hx711_get_value methods are returning -1.

Do you have a load cell connected to the left side of the HX711? I can't see from the photo. Another photo of the load cell and how it is connected to the HX711 would be greatly appreciated.
Have you tested this HX711 and load cell with any other board (ie. regular Raspberry Pi, Arduino, etc...) and can confirm it works as expected?
Can you please reply with a full copy of the code you're using.

Thanks for leading me to the right direction. I was doing a mistake. I was powering both sides of hx711 amplifier using different power supplies.  Once I removed the input side power supply, the code has started giving expected values. Thanks for all your work on this library.


Provide design for links that will open in a new tab/window

📌 Request Background
According to WCAG guidelines, users should be clearly informed if a link they are about to click on will open in a new tab/window. Today in nimble, we have no design guidelines on how this should be communicated to a user. A few options could be:

Add text to the link that indicates what will happen (e.g. "Preview in a new tab" or "View in a new window" rather than simply "Preview" or "View")
Add an icon that indicates intent

🎯 Core Requirements
How should a link that will always open in a new tab/window be represented to a user? In nimble, links can be represented in a few different ways, so we should have guidance and/or designs for all possible links:

nimble-anchor
nimble-anchor-button
nimble-anchor-menu-item
nimble-anchor-tree-item
nimble-anchor-tabs

🍆 Non-requirements

🥅 Acceptance Criteria

[ ] Visual Design Spec submitted (link)
[ ] Visual Design Spec reviewed by design team
[ ] Visual Design Spec reviewed by dev team

This issue should be evaluated alongside #1331

From a Figma video I was watching.

@NIbokeefe - Could we get a nimble-icon version of arrow-up-right-from-square?

In our discussion today we briefly debated about showing this icon on other kinds of anchors: anchor buttons and anchor tabs. We decided to start with those being out of scope. It seems likely that opening an anchor tab in a new tab automatically is always a bad idea. And we couldn't think of high priority use cases for automatically opening a new tab when you click an anchor button.

@fredvisser We should review the usage guidelines to make sure all questions are answered before calling this done.

Component assets update
Usage guidelines updated

https://www.figma.com/file/PO9mFOu5BCl8aJvFchEeuN/Nimble_Components?type=design&node-id=1295%3A76706&mode=dev

@NIbokeefe the team reviewed these designs today. Looking good! Here are our questions:

do you have a design for the anchor tree item?
there is usage guidance that clients shouldn't use an icon-only anchor button for links that open in a new tab. That makes sense to us (there wouldn't be a good way to display both the button icon and the external link icon in a small square). Does that guidance also extend to "don't use an icon-only button for links generally (even if the link will open in the same tab)?

@jattasNI Thanks for reviewing that.

I didn't draw a tree item scenario, but will add that.  It will be very similar to the menu execution.
I think that's correct, you wouldn't use an icon only button alone for links or anchor links in general, you would instead use an icon-text button.  However, I have seen Leslie and other UX people draw a link or copy icon-only-button in combination with a text input field.  I can't find the wireframe off hand, but had mapped out an execution like this example:

ution for it previously.


slices: don't modify missed input slice in test

The commit below correctly identified that modifying the test input makes the test flaky due to being dependent on the non-deterministic ordering. However, it missed adding the work-around for the first test, TestUnique.
Fixes: 32543a40b1 (slices: don't modify input slices in test)

/test

CI triage:

ci-aks hit https://github.com/cilium/cilium/issues/31009 in https://github.com/cilium/cilium/actions/runs/8140814195/job/22246778504#step:28:194
ci-ipsec-upgrade hit https://github.com/cilium/cilium/issues/29987
ci-clustermesh upgrade hit https://github.com/cilium/cilium/issues/30964


Tiny type tweaks

Use a tag (not that kind!) instead of instanceof for Reaction/Derived
Eliminate the need for casts in createSignal()

sweet!


Add after_step option for reset command

This option only resets the status for steps after the specified command

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.02% :tada:

Comparison is base (0c6a857) 98.23% compared to head (b9703e4) 98.25%.
Report is 14 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
+ Coverage   98.23%   98.25%   +0.02%
==========================================
  Files          27       27
  Lines        2774     2808      +34
  Branches      462      469       +7
==========================================
+ Hits         2725     2759      +34
  Misses         32       32
  Partials       17       17

Flag
Coverage Δ

unittests
98.25% <100.00%> (+0.02%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

gaps/cli/reset.py
97.67% <100.00%> (+1.52%)
:arrow_up:

gaps/status.py
99.51% <100.00%> (+0.02%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Broken 0.4.0 on Python 3 due to enum34 bug in wheel distribution

Looking into this. I suspect its that the wheel is built using python2, which means that unlike the source distribution the code in setup.py to handle the correct version is not functioning correctly. This didn't appear to be a problem before because part of this release fixed using the correct requirements list.
Doing my best to get a good fix out tonight and bump to 0.4.1 to avoid breaking things on pip.

The fix I am going to implement is a slight sledgehammer, but I think its worth getting rid of this persistent and hard to deal with headache.
I looked into using enum-compat, but it doesn't look very popular, maintained, or has docs so I would shy away from adding another dependency. I also only use Enum in one place transformations.py. I am instead going to create a generic class and "manually" create the enum. This will allow me to delete the enum34 dependencies and dodge the whole problem

Fixed by d87fb36


Duplicate items in elasticsearch but not in PG

Hey, I’m using Elasticsearch::Model and Elasticsearch::Model::Callbacks with Rails 4.1.6. on https://niice.co/.
We’ve been having some issues lately with duplicates finding their way into elasticsearch but they are not present in the PostgreSQL database. I’m wondering if I need to include the ID param in the as_indexed_json response.
# It currently looks like this
def as_indexed_json(options={})
  as_json(only: [:title, :tags, :description, :provider, :provider_full, :image, :url, :created_at], ).merge({
    colours: MultiJson.dump(colours)
  })
end

When I do a resync to ES, i.e. teardown the index, create it from scratch and batch sync everything up, I don’t get any duplicates.
I think the data in ES is being corrupted because the update_document callback for some reason isn’t finding the record and is just updating it again. I’m not 100% sure where this is going wrong, and from reading the source code for update_document I’m still not sure if I need to pass my models ID into the as_indexed_json or not, this is just a suspicion at this stage as to how the dupes are creeping in.
Any help on this would be much appreciated and I can provide more info if you need!

@phawk Is this still an issue for you? Please let me know if I can close this, thanks!

@estolfo I’m not 100% sure, I think it's still an issue, although the version of elasticsearch-rails could well be out of date by now. Worth checking with @colinyoung87 and @chrisarmstrong

Hey @colinyoung87 and @chrisarmstrong, is this issue still relevant? Let me know, thanks!

@estolfo it was so long ago, i'm honestly not sure. Feel free to close it 👍thanks.

thanks @colinyoung87 for getting back to me.


RedirectStandardOutput should be false in silent mode?

https://github.com/AgileArchitect/Cake.Sonar/blob/6de26247b3e067d8f2cd34e4cdc3329dd78a57e8/src/Cake.Sonar/SonarRunner.cs#L38
Shouldn't this be !SilentMode to suppress this info?

Nope. It's a tricky one though. Had to read it a couple of times to figure it out. And of course it works the way it is used now.
https://msdn.microsoft.com/en-us/library/system.diagnostics.processstartinfo.redirectstandardoutput(v=vs.110).aspx
When a Process writes text to its standard stream, that text is typically displayed on the console. By setting RedirectStandardOutput to true to redirect the StandardOutput stream, you can manipulate or suppress the output of a process.


Remove baseUrl, user, password settings

There are few places that baseUrl, user, and password are treated as settings to connect to Symphony API. We need a better way to handle this. Especially, we need to get rid of the user/password settings.

We provided service account token when deploying in k8s. I believe this issue has been fixed. @iwangjintian to evaluate.

We've removed almost all the usage of user/password but the multisite syncing.

Thanks for evaluation. @iwangjintian Given this work is done in major path. I think we could close this issue. @Haishi2016  please feel free to reactivate if you have any concerns.


Integrate app linking with product hunt post url and other bug fixes.

Integrate app linking with product hunt post url (ex: https://www.producthunt.com/posts/some-product-name-here).
Fix authentication related bugs happening with AccountManager API.
Provide pinch to zoom support while viewing media in full screen.

Fixes #11, #26.


WebSocket connection to '' failed: WebSocket is closed before the connection is established

There are continue return "WebSocket connection failed to call." error in debug panel:
websocket.js?a9be:60 WebSocket connection to 'wss://domain.comm/_next/webpack-hmr' failed
it does not happen in localhost

Hey all. I've just simplified the repo to remove auth and payments so you can clone and deploy very easily, only with a Replicate environment variable. Try it out and if you still have any problems, please open a new issue and I will take a look!


github actions: skip changelog_generation on PRs

Description

Adds a conditional to skip running the changelog_generation job when the
push event occurs on a PR reference.
Motivation and Context

Prevents the job from running since it fails.
Types of Changes

[x] Refactoring (improves code quality but has no user-facing effect)

This PR was the test to see if it worked, see https://github.com/marclop/terraform-provider-ec/runs/3496278947 to confirm it was skipped.


Explain root sagas and sagaMiddleware.run better

@lydell has rightfully noticed here that those topics might be confusing.

As of 2018-01-25 the beginner tutorial says:
export default function* rootSaga() {
yield all([
helloSaga(),
watchIncrementAsync()
])
}
As a beginner, I’m going to go with that until I run into problems.
It would be awesome if there was a section in the docs discussing different ways of implementing the root saga, mentioning pros and cons of each. Also mention what multiple calls to sagaMiddleware.run would mean.

I'm interested in working on this. I'll find some time in the next day or two.

That would be great!

I'm wondering about the status of this issue because I saw the a related PR has been merged but it still open
I'm interested in helping out if its still an issue

@Andarist Unless there's more info we want to include, this issue could be closed.


Enable "general" predicate pushdown in Dask-Dataframe

Supersedes #8633
This PR adds an experimental predicate_pushdown function in dask.dataframe.eager_optimize, with logic based on the rough experiment/proposal summarized in this gist.
Note that this PR does not add automatic predicate pushdown in dask.dataframe, but it does provide an experimental function for down-stream libraries (like Dask-sql) to use after applying filters. For example:
import dask.dataframe as dd

ddf = dd.read_parquet(path)
ddf = ddf[((ddf["b"] > 5) & (ddf["b"] < 10)) | (ddf["a"] == 1)]
ddf = dd.eager_optimize.predicate_pushdown(ddf)

# `ddf` will be regenerated with the appropriate filters applied in the IO layer

Small update here:  This PR needs some cleanup, but it is essentially a copy of dask-sql#433.  My current plan is to wait until those changes are merged and tested downstream for awhile before revisiting this PR. Since Dask-SQL will (almost) always want to apply predicate pushdown, it seems like that is the best place to thoroughly "kick the tires" here.


Create mail template for inviting member to list

when any one in the list invite some one to the list he should get a mail with the invitation that will get him to login or create account then redirect him to the list which he is invited to.

Resolved


Error building on full no_std

Hi! I'm trying to make it work on esp32-c3 without std, but got this
   Compiling scopeguard v1.2.0
error[E0463]: can't find crate for `std`
  |
  = note: the `riscv32imc-unknown-none-elf` target may not support the standard library
  = note: `std` is required by `scopeguard` because it does not declare `#![no_std]`
  = help: consider building the standard library from source with `cargo build -Zbuild-std`

How to make it compile for no_std environment? Is it possible?

Hi! I'm trying to make it work on esp32-c3 without std, but got this
   Compiling scopeguard v1.2.0
error[E0463]: can't find crate for `std`
  |
  = note: the `riscv32imc-unknown-none-elf` target may not support the standard library
  = note: `std` is required by `scopeguard` because it does not declare `#![no_std]`
  = help: consider building the standard library from source with `cargo build -Zbuild-std`

How to make it compile for no_std environment? Is it possible?
@sivakov512

I'm so sorry! The repo is setup in such a way, that I don't get email notifications when somebody opens an issue or a PR request, so I've missed yours.
(@kedars - would you adjust the repo settings so that I'm notified on any activities related to issues and PRs? I'll send you my email address over Matrix privately.)
As for the issue - I'll open a PR that fixes it in a few mins.

This PR should take care of the issue.

The PR is now merged, closing.


hooks don't get copied with cordova update 4.1.x

per the docs https://github.com/apache/cordova-lib/blob/master/cordova-lib/templates/hooks-README.md
the hooks folder is now located in the root, and not inside .cordova. Therefore this does not get copied over into the phonegap folder and your hooks won't run.
I have a PR coming soon, I manually fixed this for now.

I've tried implementing this commit using cordova hooks and have been unable to get them working. Have you got them working locally?

Yea I use this daily. This is my dir structure http://cl.ly/image/152h3t2X440o and then this is my js file in there http://cl.ly/image/1s2b242K0T2r


reqwest can not cross build for target x86_64-unknown-linux-musl with tokio library

This a minimal example to reproduce the problem.

Cargo.toml
[package]
name = "reqwest-demo"
version = "0.1.0"
edition = "2021"

[dependencies]
reqwest = { version = "0.11.9", features = ["json", "multipart", "native-tls-vendored"] }
tokio = { version = "1.0", features = [ "full" ] }

main.rs
#[tokio::main]
async fn main() {
    let response = reqwest::Client::new()
        .post("http://www.baidu.com")
        .form(&[("one", "1")])
        .send()
        .await
        .expect("send");
    println!("Response status {}", response.status());
}

Notice that reqwest enables feature native-tls-vendored to let us build tls library source using zig.
To build the example, using command below
cargo-zigbuild zigbuild --target x86_64-unknown-linux-musl

The generated error is here
ld.lld: error: undefined symbol: _$LT$libc..unix..linux_like..linux..musl..sigaction$u20$as$u20$core..clone..Clone$GT$::clone::h5d005990411f7b3b
      >>> referenced by lib.rs:196 (~/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/signal-hook-registry-1.4.0/src/lib.rs:196)
      >>>               signal_hook_registry-bdc7223cbb468750.signal_hook_registry.c6e8fee1-cgu.3.rcgu.o:(_$LT$signal_hook_registry..Prev$u20$as$u20$core..clone..Clone$GT$::clone::h3790061594f1b072)

And line 196 is here

I've updated the problem description, and if we can find the symbol in zig lib, then the problem is caused with the filter flags. Otherwise, it maybe a problem related with zig itself.

@ikey4u Are you using Rust 1.59.0, please try #12.

@messense yes, I use rust 1.59.0, and the build passed using the pr #12

@messense Unfortunately, I test this patch with Rust 1.58.0, it does not work. The error is the same.

That's unfortunate but this project is so young that I'm not aiming for supporting old Rust versions.

its does not matter, but you can specify the minimal supported rust version on homepage.

For future reference, this issue is caused by upstream Rust distributes libc.a in self-contained for musl and wasi since Rust 1.59.0 (I think the code is in 1.58.0 but isn't really used since it requires a libc 0.2.107 and later).


fix: improves the path matching for multi-line and fix minor bugs

While working on the usual monorepo, I discovered that the two regexp we added yesterday don't support the import type and export type multiline variants.
For example:
export type {
  AutomationReferencesArgs,
  AutomationFlowIdFilter,
  AutomationFlowFilter,
  AutomationFlowStatusFilter,
  AutomationFlowsFilter,
  AutomationFlowAutomationIdFilter,
} from './interfaces';

This PR fixes it, adding an optional non-capturing group to handle the type keyword.
Another fix I added is for barrel files imported by '.' and '.. that were erroneously flagged as "modules" and therefore ignored by the fix.
import { populate } from '.';

Finally, the PR also fixes module imports from subpaths
import fs from 'fs/promises'

I wonder when will you import from the same file (import x from '.')

In node.js, it should be unnecessary to fix the import path for type import because they will not be preserved in the final js file.
(Not sure if it's also the case when using deno)

The changes in this pull request is merged and released in<EMAIL_ADDRESS>:rocket:
Thanks for the help :seedling:


Combine GPU power of multiple ring

How i can use multiple gpu rig with bitcrack without separate process.
Like mining pool, any solution.

I am sure brichard19 can do it. He did it with quite well with https://github.com/brichard19/eclambda.


.NET Core + SASL GSSAPI/Kerberos support on Linux

Description
As far what I concluded that Confluent Kafka doesn't support SASL GSSAPI/Kreberos by default because the nuget (Librdkafka.redist) has shared object that were built without sasl gssapi support. Am I correct?
I tried to install librdkafka.devel directly on Centos, and that eliminated the SASL error but introduced a new one when I copied the librdkafka.so (from librdkafka.devel) the application directory: Unable to find an entry point named 'rd_kafka_message_status' in shared library 'librdkafka'.
Any advice on how to proceed on this error?
Do we have to build a new version of librdkafka for each OS when we need SASL GSSAPI?
Also, when we build new SO file, do we replace it only on runtime machine (library.load...) or is there another way?
Tnx
How to reproduce
Checklist
Please provide the following information:

[ ] A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.
[1.1.0 ] Confluent.Kafka nuget version.
[ ] Apache Kafka version.
[ ] Client configuration.
[ Centos 7] Operating system.
[ ] Provide logs (with "debug" : "..." as necessary in configuration).
[ ] Provide broker log excerpts.
[ ] Critical issue.

As far what I concluded that Confluent Kafka doesn't support SASL GSSAPI/Kreberos by default because the nuget (Librdkafka.redist) has shared object that were built without sasl gssapi support. Am I correct?

I can't recall off the top of my head, but I think that's probably the case for all the bundled librdkafka builds.

I tried to install librdkafka.devel directly on Centos, and that eliminated the SASL error but introduced a new one when I copied the librdkafka.so (from librdkafka.devel) the application directory: Unable to find an entry point named 'rd_kafka_message_status' in shared library 'librdkafka'.

That's a relatively new method in librdkafka which suggests you're trying to use an old version of librdkafka.

Do we have to build a new version of librdkafka for each OS when we need SASL GSSAPI?

Not necessarily - the build must just be compatible with the libsasl and libssl dependencies.

Also, when we build new SO file, do we replace it only on runtime machine (library.load...) or is there another way?

Library.Load is the intended way. You could also overwrite the librdkafka builds in the .nuget packages directory. Thinking out loud here (I think this advice is good): if you include the custom build(s) of librdkafka as a resource so it's deployed with your application, and try to load them with Library.Load, it should make deployment acceptable across platforms. If the first librdkafka build isn't compatible with the current platform you're running on, it'll just fail (quickly) and you can try the next librdkafka build etc.

As far what I concluded that Confluent Kafka doesn't support SASL GSSAPI/Kreberos by default because the nuget (Librdkafka.redist) has shared object that were built without sasl gssapi support. Am I correct?

I can't recall off the top of my head, but I think that's probably the case for all the bundled librdkafka builds.

OK Thank you.

I tried to install librdkafka.devel directly on Centos, and that eliminated the SASL error but introduced a new one when I copied the librdkafka.so (from librdkafka.devel) the application directory: Unable to find an entry point named 'rd_kafka_message_status' in shared library 'librdkafka'.

That's a relatively new method in librdkafka which suggests you're trying to use an old version of librdkafka.

As you can see in the image, I installed latest version 0.11.5 of librdkafka-devel package on CENTOS, so this doesn't look "old" to me. I grabbed the librdkafka.so from directory where package was installed. Did you mean some other part? The .net core application users the latest Confluence nuget . Do I have to change something in the .NET project if I replace SO file in the application directory?

Do we have to build a new version of librdkafka for each OS when we need SASL GSSAPI?

Not necessarily - the build must just be compatible with the libsasl and libssl dependencies.

Also, when we build new SO file, do we replace it only on runtime machine (library.load...) or is there another way?

Library.Load is the intended way. You could also overwrite the librdkafka builds in the .nuget packages directory. Thinking out loud here (I think this advice is good): if you include the custom build(s) of librdkafka as a resource so it's deployed with your application, and try to load them with Library.Load, it should make deployment acceptable across platforms. If the first librdkafka build isn't compatible with the current platform you're running on, it'll just fail (quickly) and you can try the next librdkafka build etc.

Ok. That is the last step... because currently I am trying to make it work on bare Linux because there are to many parameters that could go wrong so I am trying it without docker. After this succeeds, I will try to reproduce the same thing inside Alpine docker and then I could try and play with building librdkafka project ( I tried to create a build for CENTOS but the created build doesn't include ssl or SASL even though it says so in config.h - but I assume this is a problem I have to address on librdkafka github project).
ANd, thank you very much for you first quick response! I very appreciate it since we've already lost quite a lot of time trying to make this work :/

0.11.5 is very old - you should build librdkafka from source https://github.com/edenhill/librdkafka#build-from-source. Master branch will work fine in the present case, but in general you should check out the relevant tag (v1.1.0 here) and build that.
you just need to use Library.Load on your librdkafka build(s) as described above before using any other part of the Confluent library. You will definitley need a different build for alpine linux (it doesn't even use glibc, which is standard on other linux variants).

OK, tnx for your help once again!


Clickable links don't work with periods in the url

Ref: https://github.com/Homebrew/homebrew-core/pull/18015/files
 url "https://github.com/mholt/caddy/archive/v0.10.9.tar.gz"

I think it isn't picking up anything after "10." because the whole url isn't in the same element. since you edited part of the url, GitHub adds the 'x' class to it giving it the green background colour to show code addition
The same link is working in the original file here
Here is how the css looks like on original GitHub when you change something in the url

    "
    https://github.com/mholt/caddy/archive/v0.10.
    9
    .tar.gz"

If the Url isn't changed, this is the css that is rendered

    "
    https://caddyserver.com/
    "

This may be related to this and #703.
This is from the screenshot yet if you look at the file here the slash is missing where it changed github.com into a link.

Yeah it’s not about the characters but about the diff. The color change breaks the url in multiple textNodes. #103 already takes this into consideration.

Thinking out loud. Discarding tags while parsing the URLs and preserving them in the output is a pain, especially if they need to be split (e.g. half linked, half not linked)
So here's a possible solution, drawn. This shows the old, full-line parsing, by pushing a flat textContent to linkify-urls, therefore initially discarding all extra elements in the line.
Legend:

  (spaces) are irrelevant characters
- is a URL
# is an element in the URL, like a  for diffs
A is a linked URL, like

Input, text with `span`:
       --####----

Output, text with `a` but not `span`:
       AAAAAAAAAA

How do we merge the two?
Character data has not been changed, so it can somehow zipped together.
The question now is: how do we zip them? Char-by-char comparison to find boundaries and then select+extract the tags with Range?

Related problem: https://github.com/sindresorhus/refined-github/issues/1499

:tada: https://github.com/sindresorhus/refined-github/pull/2066


Fix bot exited when optional env is missing

This request contains the  minimum changes in code to keep the bot running when optional variables like DB_URI, DB_NAME and FORWARD_CONFIG are not given.
Given the db and forward features are not easily called during chat, nil pointer problems are not checked. If the user tries to call it, the bot will exit with the nil pointer. But I don't think it would be a problem if someone deployed it privately.

Thanks for the fix, it looks good to me!


Cannot find package with go build

go build ./... under the Clinical-Trial-Parser path, I go the following error:
src/cmd/cfg/main.go:13:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/common/conf" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/conf (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/conf (from $GOPATH) src/cmd/cfg/main.go:14:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/common/param" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/param (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/param (from $GOPATH) src/cmd/cfg/main.go:15:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/common/util/fio" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/util/fio (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/util/fio (from $GOPATH) src/cmd/cfg/main.go:16:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/common/util/timer" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/util/timer (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/util/timer (from $GOPATH) src/cmd/cfg/main.go:17:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/ct/studies" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/ct/studies (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/ct/studies (from $GOPATH) src/cmd/cfg/main.go:18:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/ct/units" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/ct/units (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/ct/units (from $GOPATH) src/cmd/cfg/main.go:19:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/ct/variables" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/ct/variables (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/ct/variables (from $GOPATH) src/cmd/cfg/main.go:21:2: cannot find package "github.com/golang/glog" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/golang/glog (from $GOROOT) 	/Users/ireneli/.go/src/github.com/golang/glog (from $GOPATH) src/cmd/nel/main.go:14:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/common/col/set" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/col/set (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/col/set (from $GOPATH) src/cmd/nel/main.go:18:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/common/util/slice" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/util/slice (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/util/slice (from $GOPATH) src/cmd/nel/main.go:20:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/vocabularies" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/vocabularies (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/vocabularies (from $GOPATH) src/cmd/nel/main.go:21:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/vocabularies/mesh" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/vocabularies/mesh (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/vocabularies/mesh (from $GOPATH) src/cmd/nel/main.go:22:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/vocabularies/taxonomy" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/vocabularies/taxonomy (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/vocabularies/taxonomy (from $GOPATH) src/cmd/nel/main.go:23:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/vocabularies/umls" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/vocabularies/umls (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/vocabularies/umls (from $GOPATH) src/common/col/tuple/tuple.go:10:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/common/util/intmath" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/util/intmath (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/util/intmath (from $GOPATH) src/common/conf/conf.go:14:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/common/resource" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/resource (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/resource (from $GOPATH) src/common/lsh/minhash.go:13:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/common/col/tuple" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/col/tuple (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/col/tuple (from $GOPATH) src/common/util/text/text.go:13:2: cannot find package "golang.org/x/text/transform" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/golang.org/x/text/transform (from $GOROOT) 	/Users/ireneli/.go/src/golang.org/x/text/transform (from $GOPATH) src/common/util/text/text.go:14:2: cannot find package "golang.org/x/text/unicode/norm" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/golang.org/x/text/unicode/norm (from $GOROOT) 	/Users/ireneli/.go/src/golang.org/x/text/unicode/norm (from $GOPATH) src/ct/criteria/parse_criteria.go:9:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/common/util/text" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/util/text (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/util/text (from $GOPATH) src/ct/criteria/criteria.go:9:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/ct/relation" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/ct/relation (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/ct/relation (from $GOPATH) src/ct/parser/interpreter.go:6:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/ct/parser/production" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/ct/parser/production (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/ct/parser/production (from $GOPATH) src/ct/studies/study.go:11:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/ct/criteria" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/ct/criteria (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/ct/criteria (from $GOPATH) src/ct/studies/study.go:12:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/ct/parser" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/ct/parser (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/ct/parser (from $GOPATH) src/ct/units/units.go:13:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/common/trie" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/trie (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/trie (from $GOPATH) src/vocabularies/taxonomy/node.go:12:2: cannot find package "github.com/facebookresearch/Clinical-Trial-Parser/src/common/lsh" in any of: 	/usr/local/Cellar/go/1.14.2_1/libexec/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/lsh (from $GOROOT) 	/Users/ireneli/.go/src/github.com/facebookresearch/Clinical-Trial-Parser/src/common/lsh (from $GOPATH)
Do I need to change GOPATH?
Thanks.

A likely explanation is that GOPATH and the project workspace don't match. Set GOPATH to a directory where you would like to have the code. Clone the project to $GOPATH/src/github.com/facebookresearch/Clinical-Trial-Parser. More about go workspaces: https://golang.org/doc/gopath_code.html
Within the project, you may need to add dependencies by running the command go get -u ./...
You may also need to run the command go get github.com/stretchr/testify/assert and install Xcode for Mac OS X, if it is not pre-installed.

Resolved.

I also had to ran go mod init and go mod tidy in the root dir. I'm very new to Go, so maybe this is something that's implied in the docs.


[QUESTION] hyperf2.0无法设置 dns 缓存时间。 dns_cache_expire

config/autoload/server.php 配置
'settings' => [
'enable_coroutine' => true,
'worker_num' => swoole_cpu_num(),
'pid_file' => BASE_PATH . '/runtime/hyperf.pid',
'open_tcp_nodelay' => true,
'max_coroutine' => 100000,
'open_http2_protocol' => true,
'max_request' => 100000,
'socket_buffer_size' => 2 * 1024 * 1024,
'buffer_output_size' => 2 * 1024 * 1024,
'dns_cache_expire'=>3600
],
报错信息
PHP Warning:  unsupported option [dns_cache_expire] in @swoole-src/library/core/Server/Helper.php on line 168
Warning: unsupported option [dns_cache_expire] in @swoole-src/library/core/Server/Helper.php on line 168
#0  Swoole\Server\Helper::checkOptions()
#1  Swoole\Server\Port->set()
#2  Swoole\Server->set() called at [/Users/huanbird/Desktop/swoole/ypc/supply_chain_api/vendor/hyperf/server/src/Server.php:103]
#3  Hyperf\Server\Server->initServers() called at [/Users/huanbird/Desktop/swoole/ypc/supply_chain_api/vendor/hyperf/server/src/Server.php:72]
#4  Hyperf\Server\Server->init() called at [/Users/huanbird/Desktop/swoole/ypc/supply_chain_api/vendor/hyperf/server/src/ServerFactory.php:56]
#5  Hyperf\Server\ServerFactory->configure() called at [/Users/huanbird/Desktop/swoole/ypc/supply_chain_api/vendor/hyperf/server/src/Command/StartServer.php:52]
#6  Hyperf\Server\Command\StartServer->execute() called at [/Users/huanbird/Desktop/swoole/ypc/supply_chain_api/vendor/symfony/console/Command/Command.php:256]
#7  Symfony\Component\Console\Command\Command->run() called at [/Users/huanbird/Desktop/swoole/ypc/supply_chain_api/vendor/symfony/console/Application.php:989]
#8  Symfony\Component\Console\Application->doRunCommand() called at [/Users/huanbird/Desktop/swoole/ypc/supply_chain_api/vendor/symfony/console/Application.php:290]
#9  Symfony\Component\Console\Application->doRun() called at [/Users/huanbird/Desktop/s
swoole版本
swoole
Swoole => enabled
Author => Swoole Team<EMAIL_ADDRESS>Version => 4.8.0
Built => Oct 19 2021 12:49:12
coroutine => enabled with boost asm context
kqueue => enabled
rwlock => enabled
openssl => OpenSSL 1.1.1k  25 Mar 2021
dtls => enabled
http2 => enabled
curl-native => enabled
pcre => enabled
zlib => 1.2.11
brotli => E16777225/D16777225
mysqlnd => enabled
async_redis => enabled
Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 262144 => 262144
php版本 7.4

关闭内置的library，使用composer加载 swoole/library:dev-master。
或者使用 master 版本的 swoole。
推荐第一种。


Expose remaining fuel

I don't think this was discussed anywhere yet, but it would be nice to have a method that returns remaining fuel. Right now, it is possible only by consuming 0 fuel like let remaining = consume_fuel(0)?, which is not really intuitive. That's why I implemented remaining_fuel.
The only problem I see here is that it's not super clear/intuitive why when you add_fuel(u64::max) then without executing anything remaining_fuel() == i64::max and not remaining_fuel() == u64::max.

Hey, thanks for looking into this, I added some asserts to existing tests that use fuel_consumed with fuel_remaining, hope that's enough.


Link fixes

Point some outdated links from the template to either the updated template URL or the official eScience site.

Not sure if I'm missing something, but the preview version of the Jupyter Book no longer has sidebar links to schedule and team. Wasn't sure if that was intentional as the code seems to indicate otherwise?

Not sure if I'm missing something, but the preview version of the Jupyter Book no longer has sidebar links to schedule and team. Wasn't sure if that was intentional as the code seems to indicate otherwise?

That is definitely a bug! Let me look into it

That is definitely a bug! Let me look into it

@aaarendt - Great catch and now the links are properly fixed :smiley:

Should we add the link to the CryoHub on the Jupyter Book index page with this PR?


Navigation UI broken on iPhone 6 with safari browser

Describe the bug
A clear and concise description of what the bug is.
The navigation link on room is broken.
To Reproduce
Steps to reproduce the behavior:
It appear everytime I join the room
Expected behavior
A clear and concise description of what you expected to happen.
I think the navigation icon should be visible
Screenshots
If applicable, add screenshots to help explain your problem.

What device are you on?
I’m using iPhone 6, with safari browser
Additional context
Add any other context about the problem here.

this has been fixed with the new design


Throughput since privacypass seems minimal

On production even after an admin 'forgive usage'

Works fine now, perhaps it took some time for the usage forgiveness


[goodgame] Add new extractor

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] Searched the bugtracker for similar pull requests
[x] Read adding new extractor tutorial
[x] Read youtube-dl coding conventions and adjusted the code to meet them
[x] Covered the code with tests (note that PRs without tests will be REJECTED)
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[ ] I am the original author of this code and I am willing to release it under Unlicense
[x] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)
This is a copy of #14398, but his account (and the PR) have been inactive for years, so it's very unlikely to be merged.

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

Description of your pull request and other information
It's a copy of #14398 with some updates:

Removed 2 deleted videos from tests
Added support for alphanumeric IDs because sometimes they match username, I don't know when, but now it works.
Fixed an error in tests where view_count was tested for being integer with regexp. But it's already an integer, so it can't/needn't be tested for this.
Escaped some regular expressions in order to make flake8 happy

Fixed an error in tests where view_count was tested for being integer with regexp. But it's already an integer, so it can't/needn't be tested for this.

No, it's not necessarily int.
Also read coding conventions.

Fixed an error in tests where view_count was tested for being integer with regexp. But it's already an integer, so it can't/needn't be tested for this.

No, it's not necessarily int.
Also read coding conventions.

No, it's not necessarily int.

It's actually int or None, and in the original PR (where it checks for regexp ^\d+) there is an assertion error False is not true : Expected a str object, but got int for field view_count. Should I change it from int_or_none(stream_info.get('viewers')) to stream_info.get('viewers') and test for ^\d+, or what?

No, it's not necessarily int.

It's actually int or None, and in the original PR (where it checks for regexp ^\d+) there is an assertion error False is not true : Expected a str object, but got int for field view_count. Should I change it from int_or_none(stream_info.get('viewers')) to stream_info.get('viewers') and test for ^\d+, or what?

Just test with int keyword.

Just test with int keyword.

@dstftw Any other corrections needed?

@dstftw Any other corrections needed?


geotiff grid centers are incorrect

Pace #17, we have been writing asc and grid file headers incorrectly. @atdyer indicates that the problem exists in geotiff files as well.
I merged #17 to get the fix in, so this ticket is for the geotiff errors only.

Fixed by #19.


Replace tfrecord format support in CVAT with Datumaro

No regressions, identical files.

@zhiltsov-max , could you please merge develop to be sure that the build is OK?


ReferenceError: regeneratorRuntime is not defined

This error can be seen when using async functions in a normal functional component in some circumstances. (Limited to production builds?) It can by ameliorated with import 'regenerator-runtime/runtime';.
It would be worth digging into what is going on and whether we should support this out of the box.
See: https://www.npmjs.com/package/regenerator-runtime
(Thanks to @drrcodebase for bringing this to my attention.)

This problem appears to be limited to production builds.


Add nataliasiitko to codeowners

Changes proposed in this pull request:

Add nataliasitko to CODEOWNERS and OWNERS_ALIASES

Related issue

https://github.com/kyma-project/kyma/issues/16378

 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.


jellyfin{,-web}: 10.7.7 -> 10.8.0

Motivation for this change
Update to latest stable release https://github.com/jellyfin/jellyfin/releases/tag/v10.8.0.
Release blogpost: https://jellyfin.org/posts/jellyfin-10-8-0/
Now jellyfin-web is using npm with a lockfile - so the update-web.sh can use that lockfile and we don't need to patch the unsupported dependency url in postFetch.
Tested by running a 10.7.7 server and upgrading to 10.8.0. The nixos tests also pass.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Nice, thanks for working on this. Changes look good to me.

I believe that before Jellyfin gets updated in nixpkgs, these PRs need to be handled: https://github.com/NixOS/nixpkgs/pull/149715, https://github.com/NixOS/nixpkgs/pull/108224 and perhaps even https://github.com/NixOS/nixpkgs/pull/151617.

I believe that before Jellyfin gets updated in nixpkgs, these PRs need to be handled: #149715, #108224 and perhaps even #151617.

@Kranzes I do not think jellyfin-ffmpeg should block this PR in case 10.8.0 is finalized soon. We have lived long enough without it here, so :)

Then I guess fixing NVENC transcoding is important enough to block this PR.

Rebased and updated to https://github.com/jellyfin/jellyfin/releases/tag/v10.8.0-beta1

Rebased and updated to https://github.com/jellyfin/jellyfin/releases/tag/v10.8.0-beta2

Rebased and updated to https://github.com/jellyfin/jellyfin/releases/tag/v10.8.0-beta3

Rebased and updated to stable release https://github.com/jellyfin/jellyfin/releases/tag/v10.8.0.

Lgtm!

What's blocking this merge ? Maybe there needs a second approval ?

I would like to use the new version on NixOS 22.05 stable channel.
I tried to reference the unstable package in the Jellyfin module but it fails with following error:
[...]
unpacking sources
unpacking source archive /nix/store/95dhgdvzqfbqhzs05nzy061skg4dnqi8-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
applying patch /nix/store/jay0cxwr28rvdr66s654hz01pj0fccri-disable-warnings.patch
patching file jellyfin.ruleset
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
Executing dotnetConfigureHook
  Determining projects to restore...
/build/source/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Run>
/build/source/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.App.>
  Failed to restore /build/source/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj (in 39.35 sec).
/build/source/Jellyfin.Networking/Jellyfin.Networking.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Runtime.linux-arm64. No pac>
/build/source/Jellyfin.Networking/Jellyfin.Networking.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.App.Runtime.linux-arm64. No >
  Failed to restore /build/source/Jellyfin.Networking/Jellyfin.Networking.csproj (in 247 ms).
/build/source/Jellyfin.Drawing.Skia/Jellyfin.Drawing.Skia.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Runtime.linux-arm64. No>
/build/source/Jellyfin.Drawing.Skia/Jellyfin.Drawing.Skia.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.App.Runtime.linux-arm64.>
  Failed to restore /build/source/Jellyfin.Drawing.Skia/Jellyfin.Drawing.Skia.csproj (in 9.36 sec).
/build/source/Jellyfin.Data/Jellyfin.Data.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Runtime.linux-arm64. No packages exist >
/build/source/Jellyfin.Data/Jellyfin.Data.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.App.Runtime.linux-arm64. No packages exi>
  Failed to restore /build/source/Jellyfin.Data/Jellyfin.Data.csproj (in 8.97 sec).
/build/source/Jellyfin.Api/Jellyfin.Api.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Runtime.linux-arm64. No packages exist wi>
/build/source/Jellyfin.Api/Jellyfin.Api.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.App.Runtime.linux-arm64. No packages exist>
  Failed to restore /build/source/Jellyfin.Api/Jellyfin.Api.csproj (in 4.66 sec).
/build/source/Emby.Drawing/Emby.Drawing.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Runtime.linux-arm64. No packages exist wi>
/build/source/Emby.Drawing/Emby.Drawing.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.App.Runtime.linux-arm64. No packages exist>
  Failed to restore /build/source/Emby.Drawing/Emby.Drawing.csproj (in 194 ms).
/build/source/Emby.Dlna/Emby.Dlna.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Runtime.linux-arm64. No packages exist with thi>
/build/source/Emby.Dlna/Emby.Dlna.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.App.Runtime.linux-arm64. No packages exist with >
  Failed to restore /build/source/Emby.Dlna/Emby.Dlna.csproj (in 211 ms).
/build/source/DvdLib/DvdLib.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Runtime.linux-arm64. No packages exist with this id i>
/build/source/DvdLib/DvdLib.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.App.Runtime.linux-arm64. No packages exist with this i>
  Failed to restore /build/source/DvdLib/DvdLib.csproj (in 36 ms).
[...]

@onny Building on arm64 should be fixed with #177902

Is there any status where we can check that this update is in NixOS unstable channel ? I still didn't receive this update.

@onny Building on arm64 should be fixed with #177902

Yep, works for me now, thank you

@AkechiShiro this update is in the NixOS unstable channel, you can look it up on the nixpk.gs pull request tracker here: https://nixpk.gs/pr-tracker.html?pr=144082

Thanks @minijackson I had to reboot and update my kernel to receive the update I'm not sure why


Improve visibility into Model Cache memory issues

What type of PR is this? (check all applicable)

[ ] Refactor
[ ] Feature
[x] Bug Fix
[ ] Optimization
[ ] Documentation Update
[ ] Community Node Submission

Have you discussed this change with the InvokeAI team?

[ ] Yes
[x] No, because:

Have you updated all relevant documentation?

[x] Yes
[ ] No

Description
This PR adds logging to expose issues in self-reported model sizes in the model cache.
I'm going to leave this as a draft for now until we address some of the issues. I'm afraid it would be too noisy right now.
QA Instructions, Screenshots, Recordings

Added/updated tests?

[ ] Yes
[x] No : please replace this line with details on why tests
have not been included

[optional] Are there any post deployment tasks we need to perform?

From your code, there actually seem to be two problems. The first is that the model predicted size, which is calculated by reading the model metadata, doesn't match its size in RAM. How often does this happen, and do you understand the cause?
The second is that the model is changing size in RAM after loading. I don't understand why this should be. Are they growing because of LoRA or Controlnet patches? They are supposed to be unpatched when generation completes, which should free up the memory again.
We could fix the second problem by traversing the RAM cache's contents each time a new model needs to be loaded, and calculating the size of the whole thing. We don't actually need to have each model track how much memory it needs if we don't mind the overhead of traversing the whole data structure each time.
The first problem will need some work to understand why the disk-based prediction is unreliable.

From your code, there actually seem to be two problems. The first is that the model predicted size, which is calculated by reading the model metadata, doesn't match its size in RAM. How often does this happen, and do you understand the cause?

The cause that I've seen is a model that is stored in fp32 on disk and loaded as fp16. In the case of an SDXL UNet, this can cause us to over-report the size by ~5GB.

The second is that the model is changing size in RAM after loading. I don't understand why this should be. Are they growing because of LoRA or Controlnet patches? They are supposed to be unpatched when generation completes, which should free up the memory again.

One cause is a VAE being initially loaded in fp16 and later converted to fp32, doubling its size.
I've also noticed LoRAs growing after initial load, but haven't investigated what's causing that yet.
I haven't tested ControlNets or TIs yet.

We could fix the second problem by traversing the RAM cache's contents each time a new model needs to be loaded, and calculating the size of the whole thing. We don't actually need to have each model track how much memory it needs if we don't mind the overhead of traversing the whole data structure each time.

I like this option if it's not too slow.

@RyanJDick I've pushed in a disk-based stash of model sizes that may help with the size change issues you've identiifed. The logic is as follows:

Before load, the inaccurate disk-based file size estimation runs. (I am working on a fast way to determine whether the model is fp16 or fp32, but this is not implemented yet.)
After load, the precise model size is calculated and written to a stash file.
The cached size is also updated each time the model is requested from memory, handling the case of the model growing or shrinking after use.
The next time the model needs to be loaded from disk, the updated size is read from the stash file, making the predicted size more accurate.

This has been in draft form for a long time. Is it still being worked on?

My apologies, the priority of this dropped after the fixes in https://github.com/invoke-ai/InvokeAI/pull/4784 . I'm going to cancel for now. May re-open if this climbs higher up my priority list.


Added the basic WaveFunction class

This should be complete unless new issues arise.
The WaveFunction class in #4 is not the most updated one.

This is in two places, you are going to have to merge this history..

Yes, we did not intend for the DIiS group to submit our wave function class as part of their PR. They did that by accident.
I will help them remove it from their PR


[Snyk] Fix for 22 vulnerabilities

Snyk has created this PR to fix 22 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):

package.json
yarn.lock

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Incomplete List of Disallowed Inputs SNYK-JS-BABELTRAVERSE-5962462
  786

Regular Expression Denial of Service (ReDoS) SNYK-JS-ANSIREGEX-1583908
  696

Uncontrolled resource consumption SNYK-JS-BRACES-6838727
  696

Regular Expression Denial of Service (ReDoS) SNYK-JS-SEMVER-3247795
  696

Denial of Service (DoS) SNYK-JS-WS-7266574
  696

Prototype Pollution SNYK-JS-MIXINDEEP-450212
  686

Prototype Pollution SNYK-JS-SETVALUE-1540541
  686

Prototype Pollution SNYK-JS-SETVALUE-450213
  686

Prototype Pollution SNYK-JS-TOUGHCOOKIE-5672873
  646

Prototype Pollution SNYK-JS-JSON5-3182856
  641

Prototype Pollution SNYK-JS-LOADERUTILS-3043105
  589

Inefficient Regular Expression Complexity SNYK-JS-MICROMATCH-6838728
  589

Regular Expression Denial of Service (ReDoS) SNYK-JS-PROMPTS-1729737
  586

Denial of Service (DoS) SNYK-JS-NWSAPI-2841516
  524

Prototype Pollution SNYK-JS-MINIMIST-2429795
  506

Regular Expression Denial of Service (ReDoS) SNYK-JS-WORDWRAP-3149973
  506

Command Injection SNYK-JS-NODENOTIFIER-1035794
  494

Regular Expression Denial of Service (ReDoS) SNYK-JS-LOADERUTILS-3042992
  479

Regular Expression Denial of Service (ReDoS) SNYK-JS-LOADERUTILS-3105943
  479

Improper Input Validation SNYK-JS-POSTCSS-5926692
  479

Prototype Pollution npm:mixin-deep:20180215
  476

Reverse Tabnabbing SNYK-JS-ISTANBULREPORTS-2328088
  429

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)
🦉 Prototype Pollution
🦉 Command Injection
🦉 More lessons are available in Snyk Learn

 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.


OC-225 ~ Restores receive timeout for FPLS webservice components.

This pull request makes the build fail.

All is well.

This was just a try-out. Pull request should not be merged.


Building Editor for Android or JavaScript in Github actions throws missing X11 packages in log but compiles

Godot version
3.x branch  af8a02d
System information
ubuntu-20.04
Issue description
For my Godot 3.x custom build I tried building Editor for Android/JavaScript using Github workflows and in the log I see missing package errors but it compiles fine.
NOTE: I only tested this in 3.x branch and I tried using x11=no option but I don't think is available for 3.x branch
JavaScript Editor

Android Editor shows this

Notice even though it says aborting it builds correctly.
I assume is detecting platform as Linux and assumes we are building and X11 application and cannot find the deps and throws errors in log but they are not actually needed so build succeeds.
I manage to fix it by manually installing the required package but then it asks for a different one. In fact it asks for about 5 packages in total before is satisfied and can be fixed by actually adding them.
       - name: Install deps
         run: |
           sudo apt-get install libxcursor-dev libxinerama-dev libxrandr-dev libxi-dev libgl-dev

They look like X11 libraries.
Steps to reproduce
Shows up when building Editor for Android or JavaScript in Github action workflows.
Minimal reproduction project
No project needed since is a build issue.

NOTE: I only tested this in 3.x branch and I tried using x11=no option but I don't think is available for 3.x branch

Indeed, the x11 SCons option is only available in the master branch as it's been implemented as part of the DisplayServer refactor.

This will happen if you're on Linux and you've never built Godot for Linux before.
The flow logic in the build script is flawed. Regardless of the platform option selected, the first thing the build script does is check which platforms you can build. To build Godot for Linux you need to be on Linux and have various packages installed. If you're on Linux and the required packages are not detected it notifies you of this. #52282 updated the message from "x11 disabled" to "Aborting". The word "Aborting" is misleading, because it doesn't abort, it just prevents you from trying to build Godot for Linux.
To fix this would require updating the build script logic to not check whether you can build other platforms if you have selected a platform. This would also allow better reporting on why a selected platform is simply "invalid". For example when trying to build Android or JavaScript.


rule_scala is broken on ci.bazel.io

http://ci.bazel.io/job/rules_scala/158/BAZEL_VERSION=HEAD,PLATFORM_NAME=linux-x86_64/console
Caused by ebaeff68a0e5cd3b7fd12916a2883fb0b98edd64 which is merged in b471dfe1fb4de04c649a97de9853e84ba81c6267
//cc @johnynek @colinmarc Can you help fix this?

Look like the issue is that it's running bazel build //... instead of test_run.sh. There are some build files which we expect to fail in there.

We generally recommend doing integration test that set-up a workspace and call bazel in it so we can actually runs them from Bazel.
ci.bazel.io does build //... and test //..., we can change those pattern if needed.
Also @johnynek if you accept the invite to the bazelbuild org and make the membership public you can trigger the test on ci.bazel.io with "test this please"

@damienmg where can I find that invitation? I have looked several times and see no notification on github for this, and I can't find a good search string:
https://www.dropbox.com/s/n0yu9qsnfqdls9e/Screenshot 2016-06-09 05.40.52.png?dl=0

I just reinvited you, I hope it work this time.
On Thu, Jun 9, 2016 at 5:40 PM P. Oscar Boykin<EMAIL_ADDRESS>wrote:

@damienmg https://github.com/damienmg where can I find that invitation?
I have looked several times and see no notification on github for this, and
I can't find a good search string:
https://www.dropbox.com/s/n0yu9qsnfqdls9e/Screenshot 2016-06-09 05.40.52.png?dl=0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/issues/73#issuecomment-224935717,
or mute the thread
https://github.com/notifications/unsubscribe/ADjHf2bS1uIvRUFPWcq02r13hEAOcOPHks5qKDQGgaJpZM4Ixtv9
.

@damienmg got it.

Ping? What should be done here?

Well. In the short term you could change the test to manually exclude the
failing directories, but as my birthday was Thursday I have taken a few
days off. I can refactor this week to avoid the test script and call Bazel
recursively (I think is your recommendation) so that we set up failing
examples in sh rules I guess?
On Friday, June 10, 2016, Damien Martin-Guillerez<EMAIL_ADDRESS>wrote:

Ping? What should be done here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/issues/73#issuecomment-225162719,
or mute the thread
https://github.com/notifications/unsubscribe/AAEJdiaTh7Rb2nje04e3lhCY7mJIxQ2Eks5qKVAigaJpZM4Ixtv9
.

--
P. Oscar Boykin, Ph.D. | http://twitter.com/posco | http://pobox.com/~boykin

Plan SGTM. Yes having it has a bazel test is better.
We can just mark the breaking test as "noci" then, I'll send a PR for that.

Send #75 for this.


Generate gentropy-based L2G evidence

Some background from @DSuveges here
https://github.com/opentargets/issues/issues/3379#issuecomment-2324772871

Is it going to be part of gentropy or orchestration? I guess this is going to be a dag?

Ticket updated

Hi Irene, #3555 has been completed, so this task should be unblocked.

Thank you @prashantuniyal02. I think I still need a new Gentropy data release to generate L2G results that align with the rest of the datasets.

Regarding the specification:

locus2geneId - Not sure if it is needed, because we can resolve the l2g dataset based on target and locus identifiers.
targetFromSourceId - Yes, we need this because this dataset is picked up as other evidence by the ETL, it doesn't matter if the ids are already validated.
diseaseFromSourceId - we should use diseaseFromSourceMappedId

Specification at the top updated based on discussion with @ireneisdoomed and @DSuveges


Uncaught RangeError: Maximum call stack size exceeded

Reproduction
I don't know what's causing this issue, but I can help you investigate. just message me.
Describe the bug
This is the error in v0.10.0.

I get a similiar error in v0.9.0, just for a different type of code.

Additional context
No response
Logs
No response

Thanks for the report! I think I have found the issue…
Could you please try v0.10.1 and give me a hint if it fixes your issue?

thanks for the quick fix, this fixes the issue!