Trying to run the repository....

i've downloaded all of the python packages needed to run the script, however i am lost.... what does this code mean and what do i have to do so i can see the fully completed project when i run the server? I run "python manage.py" to have it run on my localhost? if not, which python file do i have to run to see this?
this is the code i get when i run "python manage.py" for the flasky-master:
http://pastebin.com/i1dsxEY8

This code is a companion to my book "Flask Web Development" from O'Reilly. Things aren't as simple as "how do I run this script?", really, there is a lot of knowledge that you get by gradually moving from very simple versions of this application (which are hidden in the commit history of this repo) all the way to the final version, which is what you are trying to run. The whole book is what teaches you how to work with this repository.

thanks for the reply

I noticed when i run "git checkout 3b" the code in hello.py does not correspond to the code you refer to on page 31. im referring to the url_for() is not found in the hello.py file. Just wondering if i am doing something wrong because i couldnt find it in 4,a,b,c,d,  either.
Thanks!

@leungvb I'm probably looking at a different version of the book, because in my PDF, page 31 does not have a hello.py example. And the hello.py version 3b does not have any url_for, here is a direct link to it: https://github.com/miguelgrinberg/flasky/blob/44eab84bb9cf79d126ffc1ad3af3fb215535a8b7/hello.py.


Fix updating state in the running kernels table

Reference Issues or PRs
Fixes #68
What does this implement/fix?
Put a x in the boxes that apply

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features not to work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] Other (please describe):

Testing

[x] Did you test the pull request locally?
[ ] Did you add new tests?

bot please update snapshots


cloud shell invalid memory address or nil pointer dereferenc

i am following the migration steps from https://cloud.google.com/istio/docs/istio-on-gke/migrate-to-anthos-service-mesh#zonal-clusters_1 this article
and get an error like this
$ ./convert
2021/07/22 11:40:12 found root namespace: istio-system
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x1342136]

goroutine 1 [running]:
strings.(*Builder).String(...)
        /opt/hostedtoolcache/go/1.14.14/x64/src/strings/builder.go:48
main.(*kubeClient).convert(0xc0004287b0, 0x0, 0x0)
        /home/runner/work/security-policy-migrate/security-policy-migrate/k8s.go:198 +0x1176
main.rootCmd.func1(0xc00022b600, 0x22b1fa8, 0x0, 0x0, 0x0, 0x0)
        /home/runner/work/security-policy-migrate/security-policy-migrate/main.go:48 +0xf7
github.com/spf13/cobra.(*Command).execute(0xc00022b600, 0xc00003c1d0, 0x0, 0x0, 0xc00022b600, 0xc00003c1d0)
        /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:850 +0x453
github.com/spf13/cobra.(*Command).ExecuteC(0xc00022b600, 0x0, 0x0, 0xc00022b600)
        /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:958 +0x349
github.com/spf13/cobra.(*Command).Execute(...)
        /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:895
main.main()
        /home/runner/work/security-policy-migrate/security-policy-migrate/main.go:22 +0xab

since I have no go knowledge I am bringing this issue here
the go version in cloud shell
is
$ go version
go version go1.16.6 linux/amd64

thanks for reporting the issue, this is a non blocking issue and could be ignored as there are actually none beta policies generated in this case.
Fixed the issue in the v0.3 version so that the tool will exit nicely with a message "generated 0 beta policies".


[3.x] Skip rendering of Light2D with zero size texture

Fix  #41756
Using light with not yet set texture cause spam of det==0 error to the console both in editor and in the game. (See issue #41756).
Error is coming from no yet set texture which seems to have size of (0,0) by default.
See explanation here: https://github.com/godotengine/godot/issues/41756#issuecomment-695756032
I tried to find best solution to this and this is the simplest one. I check if Light2D texture have 0 size and if it does then skip rendering this light.
Attached MRP provided by original author of the issue. Issue exist in 3.3.2 and this PR fixed it.
41756_issue_MRP.zip
I didn't noticed any regressions.
This issue doesn't exist in [master]

Please squash the commits together, we don't want to merge fixup commits if we can have the base commit "correct" from the start :)

Thanks!


fix(command): output of --version should end with a new line

closes: #255

Codecov Report

Merging #256 (d362d04) into main (5fc11b8) will decrease coverage by 4.41%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #256      +/-   ##
==========================================
- Coverage   74.79%   70.37%   -4.42%
==========================================
  Files          80       80
  Lines        6252     6252
  Branches     1071     1067       -4
==========================================
- Hits         4676     4400     -276
- Misses       1566     1802     +236
- Partials       10       50      +40

Impacted Files
Coverage Δ

command/command.ts
77.21% <0.00%> (-5.29%)
:arrow_down:

command/completions/complete.ts
40.00% <0.00%> (-40.00%)
:arrow_down:

command/completions/mod.ts
62.06% <0.00%> (-31.04%)
:arrow_down:

command/completions/bash.ts
47.82% <0.00%> (-30.44%)
:arrow_down:

command/completions/zsh.ts
52.17% <0.00%> (-26.09%)
:arrow_down:

command/completions/fish.ts
52.17% <0.00%> (-26.09%)
:arrow_down:

flags/_utils.ts
82.60% <0.00%> (-11.60%)
:arrow_down:

command/help/_help_generator.ts
52.31% <0.00%> (-9.97%)
:arrow_down:

flags/flags.ts
42.07% <0.00%> (-9.80%)
:arrow_down:

flags/validate_flags.ts
55.28% <0.00%> (-9.76%)
:arrow_down:

... and 21 more

Continue to review full report at Codecov.

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


Add auto merge

@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/pyiron_experimental-feedstock#3.


My changes #1

This is my first PR for Costa.

In my build, changes.txt and help.txt shortcuts couldn't launch with a error: Bad command or filename: DOCS\CHANGES.TXT or Bad command or filename: DOCS\HELP.TXT

I will open further pull requests.


Update page  for example page

Thanks for this repo! It's great.
I kept seeing this in my tabs, and I'd get confused:

Now, the page should have a real title. Thanks again 🌟

Thanks :)


error: stream did not contain valid UTF-8

I narrowed this down to having any files in
.hg/store/data that end with .d they appear when I commit a binary of a zip or anything large to my repo
Shouldn't .git and .hg folders be ignored by default? or just not explode on binaries that it thinks is D source maybe

From the help message:
  -e, --exclude <paths>...    Files or directories to exclude (automatically includes '.git')
        --utf8-rule <rule>      Sets the UTF-8 parsing rule (Defaults to 'strict')
                                 [values: ignore lossy strict]

Is this error when using --utf8-rule=ignore?
Also, .git should be ignored by default, .hg is not ignored by default however


Make reruns work again

Testing

Reruns work again as you can see in https://jenkins.mesosphere.com/service/jenkins/blue/organizations/jenkins/frontend%2Fdcos-ui-oss-reruns/detail/PR-3810/8/pipeline/53
The current run is a run without a .only and you can see it also works.
Trade-offs

Dependencies

Screenshots

:tada: This PR is included in version 2.82.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Azure Kinect calibration problem

Thanks for sharing this great work! I have compiled the Azure Kinects brunch and testing for two Azure Kinects. In calibration step, the clients can detect the same mark id 0 (green border around the marker in both clients), but after added mark id 0 in setting, calibrate never worked, as the green border didn't disappear and no calibration file generated. Do I need to add the orientation and translation info? I am really appreciated if you can give some suggestions.

Hi,
Did you compile in Debug or Release? When compiling in Debug mode the calibration can be very slow.
Let me know if changing to Release worked.
Thanks,
Marek

Hi,
Did you compile in Debug or Release? When compiling in Debug mode the calibration can be very slow.
Let me know if changing to Release worked.
Thanks,
Marek

Thanks for your reply. I'm sure it was compiled in Release version. Maybe the calibration is too slow in my computer? the server is i7-8700+GTX1080.

My settings

Hi,
Sorry, forgot to reply to your previous message. The calibration should be very fast in Release, ~1 second. Your config looks good. Some more things to make sure of:

Is the marker you are using the one with 0 in it's name?
Are the depth values for your marker withing the FOV of the depth camera? For now, just to avoid doubt, place the marker directly in front of the Kinect ~1 meter from it.
Is there some white border around the marker? If not, there could potentially be issues.

If you can, send me screenshot from the client, maybe something will look off.
Thanks,
Marek

Amazing!! After adding white border around the marker, the calibration succeeded. However, the average FPS in Show live is under 5, is it normal? as the demo says it could runs at 25 FPS.

That's a bit slow. Can you try disabling filtering in the server settings? Also what is the fps in the client windows (you can see it on the bottom left)?

I will try that. The client ran at 20-30 fps before connected to server, once calibrated, it dropped to about 4 fps. But saving and reading records seemed fine. By the way, could you provide a more specific doc on how to calibrate multiple Kinect with multiple markers? I think we can get better performance with 4 Azure Kinect from different views. I am not sure if it's alright to calculate transfer matrix using extrinsics of RGB camera. Thanks for your update!

Hey @Zetee how good are the azure kinects quality? does the calibration of a person look better than the old kinects? could you upload a picture of how a person looks on your calibration setup as I was interested in purchasing the new kinects, but due to the price, I wanted to know the increase of quality.

Hey @bustky Since I haven't used the old kinects, I can't  tell you the improvement. But you can get high-quality RGB image (up to 4K), and more detailed depth image (1024x1024, 120°x120°) in this new one. Anyway, I am satisfied with it, and Microsoft even added external synchronization. Here is the image I get from 3 azure kinects.

Since the original image is a little large, I convert to jpg format.

@MarekKowalski No memory leak, but CPU usage is above 90%.
For the calibration, a camera can only recognize one marker at the same time, so I'm not fully understand how to calibrate with multiple markers when one marker is not visible to all kinects.

I have some time reserved for looking into this new branch tomorrow, so I'll try to see if I can get a repro of the 90% CPU. Could you also tell me which process does the 90%? Is this the client?
As for multiple markers:

Each Kinect will only use the largest marker it can see.
If the largest marker seen by a Kinect is not specified in the settings menu, it will not calibrate.
Each marker you use has to be specified in the settings menu along with its position and orientation.
The Kinect determines its position relative to the marker, and subsequently uses the marker's position specified in the settings to establish its position in the world coordinate system. This means that if you do not specify the marker's position in settings correctly, it will not calibrate correctly.
One way to calibrate using multiple markers is to attach two markers to two sides of a box. You can the specify the rotation as 180 degrees around Y axis, and their distance would be equivalent to the box thickness in Z axis.

Does that make sense? I'll try to update the manual as I keep working on the Azure Kinect version, but it may take some time.

@Zetee I fixed a memory leak bug today, but unfortunately I was unable to get a repro on the 90% CPU. Could you give me the settings file you are using as well as the exact repro? How many Kinects are you using?
Thanks,
Marek

@MarekKowalski Thanks for your updating. I think the high CPU usage is that I started multiple clients and server at the same computer. The 3D reconstruction is not my focus now, but I am interested in this topic. I am going to using PCL library for uncalibrated registration if not busy.

Hello, may I ask what coordinates are filled in under Bounding box and calibration marekers in calibration mode? In addition, I would like to ask if I can add multiple calibration markers under calibration?

The bounding box values are set in meters from the world origin (read: the marker). Min bound values should be negative, Max bound values positive. Just play around a bit with the values and watch the yellow box in the preview, you'll understand it quickly :)
There's also extensive documentation about the markers available here:
https://github.com/Elite-Volumetric-Capture-Sqad/LiveScan3D/blob/development/docs/User Guide/Calibration.md


fix(command): update message queue bootstrap order

Signed-off-by: Chris Hung<EMAIL_ADDRESS>fix #4194

If your build fails  due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[x] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I am not introducing a new dependency (add notes below if you are)
[ ] I have added unit tests for the new feature or bug fix (if not, why?)
[x] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?)

Testing Instructions

Run core-command from this branch with MESSAGEQUEUE_EXTERNAL_ENABLED=true environment variable
Send command request from external MQTT
Verified there's no error:

level=DEBUG ts=2022-10-12T03:16:28.400503727Z app=core-command source=external.go:88 msg="Received command request from external message queue on topic 'edgex/command/request/Random-Boolean-Device/Bool/get' with 303 bytes"
level=DEBUG ts=2022-10-12T03:16:28.414620847Z app=core-command source=external.go:137 msg="Command request sent to internal MessageBus. Topic: edgex/device/command/request/device-virtual/Random-Boolean-Device/Bool/get, Correlation-id: 14a42ea6-c394-41c3-8bcd-a29b9f5e6835"
level=DEBUG ts=2022-10-12T03:16:28.415261074Z app=core-command source=internal.go:55 msg="Command response received on internal MessageBus. Topic: edgex/device/command/response/device-virtual/Random-Boolean-Device/Bool/get, Correlation-id: 14a42ea6-c394-41c3-8bcd-a29b9f5e6835 "
level=DEBUG ts=2022-10-12T03:16:28.415402117Z app=core-command source=external.go:152 msg="Published response message to external message queue on topic 'edgex/command/response/Random-Boolean-Device/Bool/get' with 900 bytes"

New Dependency Instructions (If applicable)

Codecov Report

Merging #4195 (1ef59ac) into main (8629e80) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #4195      +/-   ##
==========================================
+ Coverage   43.51%   43.52%   +0.01%
==========================================
  Files         126      126
  Lines       11149    11151       +2
==========================================
+ Hits         4852     4854       +2
  Misses       5878     5878
  Partials      419      419

Impacted Files
Coverage Δ

...rnal/core/command/controller/messaging/internal.go
0.00% <ø> (ø)

...rnal/core/command/controller/messaging/external.go
86.58% <100.00%> (+0.33%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


pcap mode failed on Android App while hex mode works fine

Describe the bug
pcap mode failed on capture Android App traffic while hex mode works fine
To Reproduce

install coolapk app
try in defferent mode

Expected behavior
pcap mode should see the clear text in the save.pcapng file but not found
hex mode works fine find all clear text
Screenshots

save.pcapng.zip
Linux Server/Android (please complete the following information):

Env: [run make env to get the environment variables]
OS: latest android 14
Arch: Pixel 6 oriole
Kernel Version: 5.10.177-android13-4-00003
Version: ga7208022a7ea-ab10815828

Additional context
Add any other context about the problem here.

I used the Android Studio emulator, and it seems to be running fine.
emu64a:/data/local/tmp # ./ecapture tls -p 6310 -m pcap -w 111.pcapng
2024/04/14 03:39:17 Your environment is like a container. We won't be able to detect the BTF configuration.
tls_2024/04/14 03:39:17 ECAPTURE :: ecapture Version : androidgki_aarch64:0.7.6-20240330-f1930dc:[CORE]
tls_2024/04/14 03:39:17 ECAPTURE :: Pid Info : 19764
tls_2024/04/14 03:39:17 ECAPTURE :: Kernel Info : 5.15.41
tls_2024/04/14 03:39:17 EBPFProbeOPENSSL	module initialization
tls_2024/04/14 03:39:17 ECAPTURE ::	Module.Run()
tls_2024/04/14 03:39:17 EBPFProbeOPENSSL	Pcapng MODEL
tls_2024/04/14 03:39:17 EBPFProbeOPENSSL	OpenSSL/BoringSSL version found, ro.build.version.release=13
tls_2024/04/14 03:39:17 EBPFProbeOPENSSL	HOOK type: 2, binrayPath: /apex/com.android.conscrypt/lib64/libssl.so
tls_2024/04/14 03:39:17 EBPFProbeOPENSSL	PcapFilter:
tls_2024/04/14 03:39:17 EBPFProbeOPENSSL	Ifname: wlan0, Ifindex: 16
tls_2024/04/14 03:39:17 EBPFProbeOPENSSL	Hook masterKey function: [SSL_in_init]
tls_2024/04/14 03:39:17 EBPFProbeOPENSSL	target PID:6310
tls_2024/04/14 03:39:17 EBPFProbeOPENSSL	target all users.
tls_2024/04/14 03:39:17 EBPFProbeOPENSSL	BPF bytecode filename:user/bytecode/boringssl_a_13_kern.o
tls_2024/04/14 03:39:17 EBPFProbeOPENSSL	saving pcapng file: /data/local/tmp/111.pcapng
tls_2024/04/14 03:39:17 EBPFProbeOPENSSL	perfEventReader created. mapSize:4 MB
tls_2024/04/14 03:39:17 EBPFProbeOPENSSL	perfEventReader created. mapSize:4 MB
tls_2024/04/14 03:39:17 EBPFProbeOPENSSL	module started successfully.
tls_2024/04/14 03:39:17 ECAPTURE :: 	start 1 modules
tls_2024/04/14 03:39:19 EBPFProbeOPENSSL	save pcapng success, count:1401
tls_2024/04/14 03:39:21 EBPFProbeOPENSSL	TLS1_2_VERSION: save CLIENT_RANDOM 1b10c325e39102d4f61cdce3fc53d72f0edac451653678ec7bdead64c3d7c391 to file success, 176 bytes
tls_2024/04/14 03:39:21 EBPFProbeOPENSSL	TLS1_2_VERSION: save CLIENT_RANDOM aada68773b012ddaba702e1fdfc61e099b1a18df0aaae71da286503143af41a3 to file success, 176 bytes
tls_2024/04/14 03:39:23 EBPFProbeOPENSSL	save pcapng success, count:415
tls_2024/04/14 03:39:25 EBPFProbeOPENSSL	save pcapng success, count:4
tls_2024/04/14 03:39:43 EBPFProbeOPENSSL	save pcapng success, count:1
tls_2024/04/14 03:39:45 EBPFProbeOPENSSL	save pcapng success, count:1
^Ctls_2024/04/14 03:39:55 EBPFProbeOPENSSL	close.
tls_2024/04/14 03:39:55 EBPFProbeOPENSSL	 save 1822 packets into pcapng file.
tls_2024/04/14 03:39:55 EBPFProbeOPENSSL	close
emu64a:/data/local/tmp # ps -ef|grep coolapk
u0_a172       6310   372 13 06:06:12 ?    00:43:49 com.coolapk.market
u0_a172       6336  6310 1 06:06:12 ?     00:02:44 com.coolapk.market
u0_a172       7055   372 0 06:06:23 ?     00:01:27 com.coolapk.market:xg_vip_service
u0_a172       7081  7055 0 06:06:23 ?     00:01:16 com.coolapk.market:xg_vip_service
root         19807  7708 3 11:40:00 pts/0 00:00:00 grep coolapk
emu64a:/data/local/tmp #

There is a possibility that the TLS handshake and key exchange are completed before eCapture runs, so eCapture cannot capture the key.


ENH: optimize.minimize: add bound constraints to COBYLA

Reference issue
Closes gh-4532
What does this implement/fix?
gh-4532 asked for scipy.optimize.minimize method='cobyla' to support bound constraints. This is relatively easy, since COBYLA already supports inequality constraints, so this PR adds support for bounds.
Additional information
This does not add bounds to fmin_cobyla because that is considered to be a legacy function.

Failure seems unrelated.
FAILED ..\..\sparse\linalg\tests\test_expm_multiply.py::test_expm_multiply_dtype[True-float32-float32]
= 1 failed, 38059 passed, 2280 skipped, 140 xfailed, 9 xpassed in 733.81s (0:12:13)


Remove testing data.

the testing_data/ folder is to be replaced by an external package (#346). Since it's pretty large but won't be used anymore, we should remove it from the repo entirely.
In principle this is easy: just deleting some files.
In practice, it is hard, because git makes erasing history hard (on purpose).
The best way to do this is https://github.com/newren/git-filter-repo. I believe the commands would be
git checkout master
git filter-repo --invert-paths --path testing_data/

To verify the files are gone, use:
git log -- testing_data

When convinced, use
git push -f --all

But then there's a whole third step where everyone involved in the project needs to sync up. The easiest way to sync is for everyone to delete and reclone the repo. If you have PRs in progress this command will edit them to remove testing_data/ from their branch, which means you will not be able to git push to them (and, if you try to git push -f, you might inadvertently reintroduce the large testing_data/ files), but it should save your actual work.
I am unsure how git filter-repo interacts with tags or previous releases; we should probably be careful to check it doesn't break them.
If we can work towards a window with few open PRs, that would make this easiest.
Originally posted by @lrouhier in https://github.com/ivadomed/ivadomed/pull/385#issuecomment-668788207

Okay, @kousu talked me into trying it and see how much a hassle this will be instead of just lazily close it as I was originally hoping. I will try not to nuke the repo accidentally and run a few more trials before roping other's in.


KeyboardAwareMixin won't register keyboard events callback

I see from the docs that one should be able to register callbacks passing onKeyboardWillShow, for example. But that doesn't seem to be actually happening. Am I missing something?
I expected a code like:
componentDidMount: function () {
  // current code here
  // Similar (maybe cleverer) code for each supported event
  if (this.props.onKeyboardWillShow) {
    this.keyboardShowCallbackEvent = Keyboard.addListener('keyboardWillShow', this.props.onKeyboardWillShow);
  }
},

componentWillUnmount: function () {
  // current code here
  // Similar (maybe cleverer) code for each supported event
  this.keyboardShowCallbackEvent && this.keyboardShowCallbackEvent.remove();
},

On KeyboardAwareMixin

You are right, onKeyboardWillShow prop isn't handled yet.
@alvaromb I see that you are rewriting the component, could you handle it in the new implementation?

Hi @leonardocarvalho!
Can you send us a PR? :)

So are the docs incorrect; onKeyboardWillShow is ignored?
I am having the same issue.


Relocate savegame and game install files

Ideally I want to be able to specify where the game files are downloaded but I -must- be able set where the savefiles go on the general system. I keep this stuff very organized on my server and not sure how I can tell it where to store these files. In my case the proper directory OUTSIDE of the container is /home/username/Enshrouded/ and savegame or serverfiles respectively.
I'm not sure how to accomplish this with this particular docker file, I was using another but experienced serious issues of game warping so decided to try this one on reccomendation.

In the container, the savegame data is at /home/steam/enshrouded/savegame you can bind mount a volume here. You can either have Docker/Podman provision a volume and manage that, or, you can create a directory somewhere and specify that to bind mount.  I don't typically persist the server data since that isn't important to me. You can try also bind mounting a directory to /home/steam/enshrouded for that.


[Accessibility] Table contrast and focus issues

The contrast on the icons in the right of the table is really poor. When I hover over these with my mouse, I can see that they become much darker, but this does not occur when using the keyboard only. Please make sure that as keyboard focus goes there, they become much darker the same way they do with the mouse hover. Otherwise, it’s impossible to see them.

Fixed by deeb00a


Informing @Byron about an the reverting of a change

Hello @Byron, it looks like your commit at https://github.com/KSXGitHub/parallel-disk-usage/commit/c8493b927ba78c0707a9169f065955529db05107 causes the benchmark to fail. When I run gdu locally, the error was: unknown flag: --count-links. I haven't update gdu version at all, so I'm not sure what's going on. But I'll be removing this flag.

Thanks for letting me know.
Since it worked at some point, maybe gdu was updated automatically somewhere, somehow, and changed flags.
The version I have locally would still work like that, but that doesn't help you. It's probably best to just remove it for now.

❯ gdu --version
du (GNU coreutils) 9.4
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Torbjörn Granlund, David MacKenzie, Paul Eggert,
and Jim Meyering.

gitoxide ( dirwalk) [$⇕⇡2⇣2]
❯ gdu --help
Usage: gdu [OPTION]... [FILE]...
  or:  gdu [OPTION]... --files0-from=F
Summarize device usage of the set of FILEs, recursively for directories.

Mandatory arguments to long options are mandatory for short options too.
  -0, --null            end each output line with NUL, not newline
  -a, --all             write counts for all files, not just directories
      --apparent-size   print apparent sizes rather than device usage; although
                          the apparent size is usually smaller, it may be
                          larger due to holes in ('sparse') files, internal
                          fragmentation, indirect blocks, and the like
  -B, --block-size=SIZE  scale sizes by SIZE before printing them; e.g.,
                           '-BM' prints sizes in units of 1,048,576 bytes;
                           see SIZE format below
  -b, --bytes           equivalent to '--apparent-size --block-size=1'
  -c, --total           produce a grand total
  -D, --dereference-args  dereference only symlinks that are listed on the
                          command line
  -d, --max-depth=N     print the total for a directory (or file, with --all)
                          only if it is N or fewer levels below the command
                          line argument;  --max-depth=0 is the same as
                          --summarize
      --files0-from=F   summarize device usage of the
                          NUL-terminated file names specified in file F;
                          if F is -, then read names from standard input
  -H                    equivalent to --dereference-args (-D)
  -h, --human-readable  print sizes in human readable format (e.g., 1K 234M 2G)
      --inodes          list inode usage information instead of block usage
  -k                    like --block-size=1K
  -L, --dereference     dereference all symbolic links
  -l, --count-links     count sizes many times if hard linked
  -m                    like --block-size=1M
  -P, --no-dereference  don't follow any symbolic links (this is the default)
  -S, --separate-dirs   for directories do not include size of subdirectories
      --si              like -h, but use powers of 1000 not 1024
  -s, --summarize       display only a total for each argument
  -t, --threshold=SIZE  exclude entries smaller than SIZE if positive,
                          or entries greater than SIZE if negative
      --time            show time of the last modification of any file in the
                          directory, or any of its subdirectories
      --time=WORD       show time as WORD instead of modification time:
                          atime, access, use, ctime or status
      --time-style=STYLE  show times using STYLE, which can be:
                            full-iso, long-iso, iso, or +FORMAT;
                            FORMAT is interpreted like in 'date'
  -X, --exclude-from=FILE  exclude files that match any pattern in FILE
      --exclude=PATTERN    exclude files that match PATTERN
  -x, --one-file-system    skip directories on different file systems
      --help        display this help and exit
      --version     output version information and exit

Display values are in units of the first available SIZE from --block-size,
and the DU_BLOCK_SIZE, BLOCK_SIZE and BLOCKSIZE environment variables.
Otherwise, units default to 1024 bytes (or 512 if POSIXLY_CORRECT is set).

The SIZE argument is an integer and optional unit (example: 10K is 10*1024).
Units are K,M,G,T,P,E,Z,Y,R,Q (powers of 1024) or KB,MB,... (powers of 1000).
Binary prefixes can be used, too: KiB=K, MiB=M, and so on.

GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
Full documentation <https://www.gnu.org/software/coreutils/du>
or available locally via: info '(coreutils) du invocation'

@Byron Is your gdu just an alias to du or something? Also, the benchmark is using this gdu (MIT license, written in Go).

Apparently - maybe it was always like that, it seems to be the work of homebrew: /opt/homebrew/bin/gdu.


Mono YAML file so small dataset

Depends and basing on #167
If we read YAML with com.github.vkorobkov.jfixtures.util.YmlUtil#load then we can just pass the output map into #167
For medium sized datasets(a few small tables) it may be the most valuable option to put the data into a single YAML file, so no need to think about directory structure:
# users table
users:
  homer:
    name: Homer
    age: 40
  bart:
    name: Bart
    age: 12

# admin.roles table
# beware the dots in table name should be escaped
"admin.roles":
  admin:
    reads: true
    writes: true
  user:
    reads: true
    writes: false

PR https://github.com/vkorobkov/jfixtures/pull/202/files


🐛 BUG: @astrojs/language-server v2.7.6 not honouring Vue defineExpose in test files

Describe the Bug
After upgrading to @astrojs/language-server v2.7.6, astro check fails in my test files (e.g. Mycomponent.spec.ts) when using @vue/test-utils and defineExpose
Steps to Reproduce

npm init astro using template
set up using Vue integration
add a defineExpose to a vue file
try to use said expose (e.g. wrapper.vm.myExposedThing)
IDE typescript picks up the expose
run astro check
type check errors

@namespace/package-name:typecheck: > astro check --tsconfig tsconfig.check.json
@namespace/package-name:typecheck: 15:02:41 [check] Getting diagnostics for Astro files in
@namespace/package-name:typecheck:
@namespace/package-name:typecheck: src/components/ComponentName/__tests__/ComponentName.unit.test.ts:58:23 - error ts(2339): Property 'active' does not exist on type 'ComponentPublicInstance<ComponentNameProps, Omit<{ items: string[]; }, keyof ComponentNameProps>>'.
@namespace/package-name:typecheck:
@namespace/package-name:typecheck: 58     expect(wrapper.vm.active.title).toBe('test');

Locked in at v2.7.5 for now as this is working

Just following up – Is it likely this will be triaged at any time soon?


IE8 Issue

What is use of  flashcanvas.swf here and i am getting error in IE8 that "  Object doesn't support this property or method" .?

Sir! I am currently working with your Electronic Signatures.....
I have a link of my work using your code, Everything is perfect in
Firefox and Google Chrome but it is not taking signatures in IE.....!
I have searched about that on google but i had found nothing helpful!
Here is the link Please check it:
http://taracs.webatu.com/Form3/signUnder19.php

And one more thing that the same code that i have uploaded to the server is running perfect on IE with my localhost!!!
It's really weird.......

@shani622 What version of IE is the problem in?

In all versions.........
I have checked in 8th and 11th!
On Mon, Sep 14, 2015 at 6:59 AM, Thomas J Bradley<EMAIL_ADDRESS>wrote:

@shani622 https://github.com/shani622 What version of IE is the problem
in?
—
Reply to this email directly or view it on GitHub
https://github.com/thomasjbradley/signature-pad/issues/113#issuecomment-139939614
.

I can't seem to figure out exactly what the problem is... my only thought is that there is some HTML missing that's needed. Try copying and pasting the example HTML into place and see if that fixes it.

I have checked it again and it is now working in IE 11,
And still not working in IE 8
I have just replaced two files flashcanvas.js and flashcanvas.swf
On Tue, Sep 15, 2015 at 1:50 AM, Thomas J Bradley<EMAIL_ADDRESS>wrote:

I can't seem to figure out exactly what the problem is... my only thought
is that there is some HTML missing that's needed. Try copying and pasting
the example HTML into place and see if that fixes it.
—
Reply to this email directly or view it on GitHub
https://github.com/thomasjbradley/signature-pad/issues/113#issuecomment-140202249
.


Adding swagger json and examples for Compute Diagnostic Resource

Provider - preview
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[x] new service onboarding
[x] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
[ ] Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
Adding a new service

[x] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[x] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

As discussed offline, please implement below APIs
POST /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/diagnostics/diskInspection/run
GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/diagnostics/diskInspection
{
id: xxx,
name: diskInspection,
properties: {
supportedResourceTypes: [ "VMs"]
}
}
GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/diagnostics
{
value: [
{
id: xxx,
name: diskInspection,
properties: {
supportedResourceTypes: [ "VMs"]
}
}
]
}

/azp run

Closing this as created a new PR with changes

Hi, @ansahdev. The PR has be closed for a long time and it's related branch still exist. Please tell me if you still need this branch or i will delete it in 14 days.


Azure Web App Deployment Task throws warning if you deploy the same build more than once

If you deploy (or release) the same build more than once you get this warning:
Cannot update deployment status for MyWebsiteName - {"Message":"Deployment with id '07c581c9514a73d37408d8ec3f09c9eba424927e' exists"}
This is because it's using the commit hash from the build as the Deployment Id.  Which won't be unique if you deploy the same build multiple times to the same web app.

This warning can be ignored for now. Refer https://social.msdn.microsoft.com/Forums/en-US/5deaf697-1e83-43b6-9e03-cd08a2657165/azure-website-deployment-task-my-release-passed-with-some-warning?forum=visualstudiogeneral. The root cause is same.

I can think of at least 3 scenarios where this is a problem.  2 of them were fixed by PR #1312.

Running multiple builds for the same source version - this was fixed by changing the deployment ID to use BuildUri instead of SourceVersion.
Running multiple Releases for the same Build - this was fixed by updating the logic to properly use ReleaseUri instead of SourceVersion
Re-deploying a Release (without creating a new Release) - this could happen if a Release has a multi-step deployment, and one of the steps after the Web Deploy failed.  The user may choose to re-deploy within the same Release.  Which would result in the same ReleaseUri being used for DeploymentId and causing this warning to appear that didn't happen in the first deploy.

I don't have a good suggestion for fixing the 3rd scenario, but I think by fixing the first two we've already eliminated alot of the scenarios where this warning might happen.

Thanks Dylan!

Hey guys, scenario #3 from my previous comment is still an issue that wasn't resolve by that PR.

"Re-deploying a Release (without creating a new Release) - this could happen if a Release has a multi-step deployment, and one of the steps after the Web Deploy failed. The user may choose to re-deploy within the same Release. Which would result in the same ReleaseUri being used for DeploymentId and causing this warning to appear that didn't happen in the first deploy"
We shouldn't consider warning as "bad".
I think it's doing what it supposed to do, we update status at the very end when every thing went fine, if for some reason user tries to redeploy same release, well, I think it's as expected.


Multiple nightly test faillures with GEOSgcm

With the merge of the new physics, et al, from @wmputman in GEOSgcm, the nightly tests are throwing multiple failures:

MOM6 runs fail due to THIM in History. → I know @sdrabenh removed THIM from History in the AGCM. The question is: does the OGCM need it? If not, we remove it from coupled history, if so... 🤷🏼 . Will consult @sanAkel → Draft PR: https://github.com/GEOS-ESM/GEOSgcm_App/pull/424
OpsL181 runs fail in Extdata → I'll try and debug this more, but I'll need to talk with @bena-nasa I'm sure
SCM runs fail → Probably something obvious, though I might lean on @narnold1
GNU no longer passes regression → I thought we solved this with https://github.com/GEOS-ESM/MAPL/issues/1923 and this GCM definitely has that fix...
GNU MAPL3 Debug does not run → GNU debug and GNU MAPL develop run so...hmm

Update on MOM6. It is not just THIM. If I remove THIM from the HISTORY.rc, we now get:
pe=00003 FAIL at line=04893    MAPL_HistoryGridComp.F90                 <Field DDU2gDT not found>
pe=00003 FAIL at line=04893    MAPL_HistoryGridComp.F90                 <Field DSS2gDT not found>
pe=00003 FAIL at line=04893    MAPL_HistoryGridComp.F90                 <Field DOC2gDT not found>
pe=00003 FAIL at line=04893    MAPL_HistoryGridComp.F90                 <Field DBC2gDT not found>
pe=00003 FAIL at line=04893    MAPL_HistoryGridComp.F90                 <Field DSU2gDT not found>
pe=00003 FAIL at line=04893    MAPL_HistoryGridComp.F90                 <Field DNI2gDT not found>
pe=00003 FAIL at line=04893    MAPL_HistoryGridComp.F90                 <Field DBRC2gDT not found>

These fields were commented out in the AGCM history in https://github.com/GEOS-ESM/GEOSgcm_App/commit/708ec459853766cd755d583f3772ba8223d4948e by @wmputman
We could comment them out. If we do so, we should also do so in every file that has these active:

GCMPROG.rc.tmpl
HISTORY_MERRA2.rc.tmpl
HISTORY.AOGCM-MOM5.rc.tmpl
HISTORY_GEOSIT.rc.tmpl
HISTORY.BENCHMARK.rc.tmpl
HISTORY_S2S.rc.tmpl
HISTORY_MERRA2-DD.rc.tmpl
HISTORY.AOGCM.rc.tmpl

THIM is also on in:

HISTORY.AOGCM-MOM5.rc.tmpl
HISTORY.BENCHMARK.rc.tmpl
HISTORY_S2S.rc.tmpl
HISTORY_MERRA2-DD.rc.tmpl
HISTORY.AOGCM.rc.tmpl

The ExtData issue can be solved by https://github.com/GEOS-ESM/GEOSgcm_App/pull/425


Core.asar missing even with Zere's fork?

I'm not even sure what's wrong anymore, I've tried both the regular and Bandaged version, I still get this error.
EDIT: Never mind, apparently my Discord version was just outdated. Please close this issue thanks ^^

How about you close this yourself?


automate a common build process to check for "use strict" safe code

Adds a test to the CI pipeline that builds a "typical" consolidated
Highlight.js package from the full NPM source and then checks that
that build actually executes without errors

Related: #2247
@egor-rogov If you have thoughts on naming or a better approach here I'm all ears.  We could build the executable in tmp or something instead?


Dicrectory Preview shows only filepath

Hi,
When performing preview on directory it is just showing the path of json file. Following are the links of snapshots of configuration of directory stage.
[https://drive.google.com/open?id=1Vr49NgsLQ0vaTB7Nxxo4Nv8oCV1Zy9Ya](Snapshot 1)
[https://drive.google.com/open?id=1zKKLzvSBSdP_1dC2vxCoMf0UkWiMqGLm](Snapshot 2)
[https://drive.google.com/open?id=1Qvjj3-pwxMFAPxaCROGObMmaYDGduiXd](Snapshot 3)

Hi @Abhishekqwerty - it looks like your pipeline is just generating the new-file event record, but not reading any of the actual data. Check that you have edited the city lots JSON file to delete everything before the first opening square bracket ‘[‘ at the top of the file, and everything after the last closing square bracket ‘]’ at the end of the file as described at https://github.com/streamsets/tutorials/blob/master/tutorial-3/readme.md#download-the-source-json-data

Closing, since there's been no activity here for months


Create GitHub Action + let Dependabot update the action

Changes:

Create GitHub Action that makes a build and runs the tests on each pull request.
Let Dependabot check for GitHub Action updates.

Context:
As discussed in #39, you wanted a GitHub Action that only runs on pulls.
It uses the same test matrix as what you use with Travis CI.
https://github.com/Kilian/electron-to-chromium/blob/92587071ac118441bbf731dbf468113f6d3a1051/.travis.yml#L2-L5
Closes #39

Well I did something wrong here...
I'm investigating why the GitHub Action is not picking up pull requests to run the tests on.
Will open a pull request to fix this once I figure out why it's not working.


Ingest/Enrich to have a synchronous response option in addition to async

Currently the Ingest and Enrich pattern provide an asynchronous pattern for sending patient data to/through them.
Create an alternative pattern that will wait until the data is successfully through the pipeline or fails, at which time the interface would respond

Fixed: https://github.com/Alvearie/health-patterns/commit/ad24db33d228f592488811f460906e6b835d6e32


Wheels licensing

The Pypi wheels (in particular the manylinux ones) contain prebuilts libraries for openblas (bsd) and libgfortran.... (gpl with runtime exception?)  but no information about their licenses and where to get the corresponding sources. It would be great to have some clarity in this domain.
The same issue exists with numpy https://github.com/numpy/numpy/issues/8689

Where were you looking for that information or would you expect to find it?

I found that in the Linux wheels in the .lib directory. For instance: libgfortran-ed201abd.so.3.0.0 and libopenblasp-r0-39a31c03.2.18.so
I would have expected to have found somewhere in the wheel some documentation about the licenses and versions of these .so and where I could get the sources (in particular for libgfortran). Ideally I guess these source may be could also be released on Pypi, as a side sdist? Just an idea.
Wheels have unfortunately limited ways to add extra data unless this is package data, so that would likely need to be some package data of sorts I guess?

I would have expected to have found somewhere in the wheel some documentation about the licenses

That is feasible. Inside the license file, adding info about all vendored code and bundled binary libs would be useful.

Ideally I guess these source may be could also be released on Pypi, as a side sdist? Just an idea.

No, that would be completely impractical. We are not going to redistribute source code of other projects. Such an idea would get even more impractical if you go higher up the stack - would an application using numpy and scipy then redistribute numpy/scipy source code?

Wheels have unfortunately limited ways to add extra data unless this is package data, so that would likely need to be some package data of sorts I guess?

Don't think there's a good place in the .dist-info directory. In LICENSE.txt is the way to go I think.

@rgommers you wrote

No, that would be completely impractical. We are not going to redistribute source code of other projects. Such an idea would get even more impractical if you go higher up the stack - would an application using numpy and scipy then redistribute numpy/scipy source code?

I agreed it may not be super practical but that would likely be need to be squeaky clean on the compliance side at least for libgfortran.

Don't think there's a good place in the .dist-info directory. In LICENSE.txt is the way to go I think.

For licenses, there is one special place in wheels that lands in dist-info (for a single file see https://bitbucket.org/pypa/wheel/issues/138/include-more-than-one-license-file-or ) which is enabled with this setup.cfg snippet:
[metadata]
license_file = LICENSE.txt

I agree it may not be super practical but that would likely be needed to be squeaky clean on the compliance side at least for libgfortran.... which requires source code redistribution and is vendored as a binary

do you have any examples of projects doing that? a link should suffice I'd think.

For licenses, there is one special place in wheels that lands in dist-info

Thanks, didn't know about that. Wouldn't it just duplicate what we already have in scipy/LICENSE.txt though? So adding more info to that LICENSE.txt file is still the way to go?

@rgommers you wrote:

do you have any examples of projects doing that? a link should suffice I'd think.

I am doing this: For any thrid-party binaries that I vendor in https://github.com/nexB/scancode-toolkit I release the exact corresponding source code and notes here: https://github.com/nexB/scancode-thirdparty-src

Thanks, didn't know about that. Wouldn't it just duplicate what we already have in scipy/LICENSE.txt though?
This is weird and less documented feature. Eventually license documentation is a tad messy ;)  and I would like to fix it https://github.com/pombredanne/spdx-pypi-pep/

So adding more info to that LICENSE.txt file is still the way to go?
This sure is.  That or a separate file for third-parties is commonly done too. I will be glad to help in any way I can there.

I agree it may not be super practical but that would likely be needed to be squeaky clean on the compliance side at least for libgfortran.... which requires source code redistribution and is vendored as a binary.

As usual there is lots of conflicting information to be found, but https://www.gnu.org/licenses/gcc-exception-3.1.en.html says nothing about redistribution. It's not clear not me that a link to the source code is not enough and actual redistribution is needed. Do you have an authoritative source?

This exception is just that: an exception to the GPL. It does not remove the obligations of source code redistribution for libgfortran itself. The exception just weakens the GPL copyleft to something that is actually gentler that an LGPL such the copyleft does not flow to the calling code (here scipy).

The authoritative source is the GPL text here. And I guess some would consider me an authority in this domain too.

@pombredanne: I disagree with your interpretation. The runtime exception states: "You have permission to propagate a work of Target Code formed by combining the Runtime Library with Independent Modules, even if such propagation would otherwise violate the terms of GPLv3". Our wheel is a combination of the Runtime Library (libgfortran) with Independent Modules (scipy), and that sentence pretty clearly states that the GPL text does not apply.

It does not remove the obligations of source code redistribution for libgfortran itself.

Independent of whether the GPL applies, what is the definition of redistribution:

a link to the source (which is a one-liner in LICENSE.txt to the version we used)
a separate repo with source code on GitHub (like in your example)
a separate sdist on PyPI (which is what you suggested)
...?

I always understood it as allowing anyone who asked access to the source code, which means a link is fine.

@rgommers: you can't really talk about this independent of the GPL, because it's the GPL text that (if it applies) imposes the requirement of "redistributing source", and defines what that means. Specifically it looks like the details are in section 6 of the GPLv3 (that page doesn't seem to let me link to the section directly, unfortunately).

@njsmith You need to consider both the exception and the gpl section7: https://www.gnu.org/licenses/gpl-3.0.html#section7

@rgommers

I always understood it as allowing anyone who asked access to the source code, which means a link is fine.

It is fine with the GPL 3 as long as this is something you control IMHO. e.g. you could not just link to the GCC official downloads and to comply with obligations easily it should be available at the same time or place that you get the binaries from, e.g. possibly in the description that ends up on Pypi.
There are other ways but they they would be more burdensome IMHO

@pombredanne: From a quick look at section 7 I don't see how it changes anything. Can you be more specific about how you think it applies?
On further examination, I'm actually more concerned that the definition of "Target Code" might not stretch as far as I assumed in my comment above. The runtime exception certainly allows statically linking against libgfortran and redistributing without worrying about source code, but for dynamic linking and then shipping the .so I'm not as sure. We probably need an Actual Lawyer to help us out here...

@njsmith the way I see most everyone interpret this is that redistributing the runtime and your own code under any license does not violate the GPL but the GPL still applies to the runtime itself and its provisions should still be honored. You can take a more relaxed way to read this, but your downstream users may not agree with you, hence why I would recommend to make it easier and cleaner for them by:

redistributing the corresponding sources
including the license and exceptions and documenting this.

to comply with obligations easily it should be available at the same time or place that you get the binaries from, e.g. possibly in the description that ends up on Pypi.

Well, the requirement is to comply, not comply "easily". Polluting PyPI with extra files for many projects no one will ever use is not the answer. What may be easier is for example adding it to a multibuild or manylinux repo, which is then effort spent once and will satisty source code availability for many projects.

@rgommers: if the GPL applies, then it looks like the requirement is that if the binaries are on PyPI, then we have to keep a link on PyPI ("clear directions next to the object code") saying where to download the source, and make sure that that link remains working in perpetuity. Also anyone who wants to redistribute the wheels has to commit to doing the same.
@matthew-brett: do you happen to know how difficult it would be to arrange to statically link libgfortran in manylinux builds? That would avoid this whole mess...

(actually I said manylinux above, but really it's all platforms...)

It might make sense to email<EMAIL_ADDRESS>to ask their opinion too.

Okay, have looked at this again. Updated the SciPy license file in gh-7844 for all libraries that are bundled in this repo and in source releases.
Adding license info for OpenBLAS/gfortran unconditionally to that license file is incorrect, because source releases don't include OpenBLAS/gfortran. The correct place should be https://github.com/MacPython/scipy-wheels. I plan to add a LICENSE_LINKED_LIBS or similarly named file to that repo, that can then be appended to LICENSE.txt when a wheel is built. This should ensure that each source/binary distribution we have on PyPI and Github has the correct info in it.

then it looks like the requirement is that if the binaries are on PyPI, then we have to keep a link on PyPI ("clear directions next to the object code") saying where to download the source, and make sure that that link remains working in perpetuity. Also anyone who wants to redistribute the wheels has to commit to doing the same.

I looked at this again, and the gfortran build in https://github.com/MacPython/gfortran-install/ came originally from https://gcc.gnu.org/wiki/GFortranBinaries. That is a gnu.org site, and it itself doesn't even have clear directions or direct links to sources corresponding to the binaries. If they themselves even can't get this right, I honestly don't see the point of spending more effort on something that may or may not be necessary legally (still unclear), but is definitely not helping anyone in any practical sense.
The correct link is probably https://gcc.gnu.org/viewcvs/gcc/, that'll live long enough to be "in perpetuity".
Once the wheel license appending has been done, I'll remove the 1.0.0 milestone.

Here is the PR by @pv that appends the correct license info to the license file for wheels builds: https://github.com/MacPython/scipy-wheels/pull/5

That PR includes a link, so closes this issue:
Name: GCC runtime library
Files: extra-dll\*.dll
Description: statically linked, in DLL files compiled with gfortran only
Availability: https://gcc.gnu.org/viewcvs/gcc/
License: GPLv3 + runtime exception
  Copyright (C) 2002-2017 Free Software Foundation, Inc.

  ... <license text>

https://github.com/MacPython/scipy-wheels/pull/5 is merged, so this will be all OK for the 1.0 release. Thanks for the contributions all!


schematic opto-couplers

Hi, thank you for this project. In the project description (README) you mention opto-couplers for the rx/tx comm lines, but looking at your schematic I don't see those being used. Is there a newer version of it?

Hi. This is error in the description. My original project had those optocouplers (and external power source). Here however RPi and optocouplers would be effectively powered from the same SMPS, so introducing octo-couplers doesn't provide much of a benefit.


⚠ Bofrost.lu has degraded performance

In e168cab, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1020 ms

Resolved: Bofrost.lu performance has improved in 1003c38 after 21 minutes.


Change how pledge historical information is stored

With https://github.com/opencollective/opencollective-frontend/pull/2760 we now rely on isPledged to know if the collective is currently pledged. With the current system, there's a risk that we show the pledge page if a collective that has been pledged in the past is archived (because we check isPledged && !isActive).
This PR:

Sets the isPledged flag to false when claiming the collective
Sets a new flag instead: data.hasBeenPledged so that we keep this information
Limits the number of allowed fields when creating a collective for a pledge (because the creator of the collective is not an admin in this case, we want to be more restrictive)

As reported by @znarf, we need to make some changes to ensure that we don't delete all the pledges in cron/daily/clean-orders.js when the collective is claimed.

Added https://github.com/opencollective/opencollective-api/pull/2685/commits/e033ba46c6c36bf1178f819cc68845dfdfa3f086 to make sure we don't delete pledges in the new system with clean-orders.

@znarf this is now ready for review


Problems with lr scheduler

https://github.com/ziqi-jin/finetune-anything/blob/1e5640d7796b078248b1c24a18ca34c6d834f025/extend_sam/__init__.py#L34C5-L34C18
The default args are not passed into get_scheduler in train.py
        max_epoch=1,
        n_epochs_init=50,
        n_epochs_decay=50,

As a result, cosine and linear scheduler does not work properly. cosine will oscillate rapidly between 1 and 0 and linear will decrease the lr to negative values, causing the loss to explode

Have you solved this problem? I have the same problem

Have you solved this problem? I have the same problem

a temporary fix is to remove this line and add your own lr scheduler


Bugs with duplicate tasks/boards

If you add two tasks with the same name, they check/uncheck each other when you click them. If you add two boards with the same name, the UI bugs out completely.
Btw, the ability to edit tasks would be nice.

Thanks for taking your time to check it out! I've just fixed bug with same name for item/board and I'm releasing v1.0.1 right now. Newly added tickets/board shouldn't be affected by this issue. Regarding editing task - sure, I'll add it later on, this week perhaps. I'll leave this ticket open to not forget about it :)

fixed in v1.1.0 release


accuracy problem about darknet2caffe.py

yolo2caffe.tar.gz
void normalize_cpu(float x, float mean, float variance, int batch, int filters, int spatial)
{
int b, f, i;
for(b = 0; b < batch; ++b){
for(f = 0; f < filters; ++f){
for(i = 0; i < spatial; ++i){
int index = bfiltersspatial + fspatial + i;
x[index] = (x[index] - mean[f])/(sqrt(variance[f]) + 1e-5);
}
}
}
}
darknet detector  test face.data tinny-yolo-face.cfg tinny-yolo-face.backup 1.jpg
[236] face: 0.910748
[238] face: 0.819936
[241] face: 0.728282
[243] face: 0.706010
python test_yolo_v2.py
231 0.774435505004
371 0.744088620368
271 0.663471586181
216 0.497933280317
281 0.270810039193
336 0.241233347961
my problem is :why the diff so big

caffe and darknet both latest

Can you check the output before region layer between darknet and caffe?

i have figure out the problem:
original image will be paded by letterbox_image function in darknet


Mixed java and sql callbacks executed out of order

Which version and edition of Flyway are you using?
6.3.2
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Gradle
Which database are you using (type & version)?
Oracle 19
Which operating system are you using?
Windows 10
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
I have 3 afterMigrate callbacks: 2 sql ones and 1 java. When I extract the jar file I have the following in the db/migration folder:
afterMigrate__1-drop-Create_DB_Link.sql
afterMigrate__2-recompile-objects.sql
afterMigrate__3CheckForInvalidObjectsCallback.class
When I run the migration I see them executed in the logs in this order:
afterMigrate__3CheckForInvalidObjectsCallback.handle() called
Executing SQL callback: afterMigrate - 1-drop-Create DB Link
Executing SQL callback: afterMigrate - 2-recompile-objects
What did you expect to see?
I would have expected them to be executed in alphabetic order as they are in the same directory and that seems to be the convention for the other scripts
What did you see instead?
For some reason the java callback is called first.

The current behaviour is:

Java callbacks, in the order specified in the config file
SQL callbacks, in alphabetic order of description

There are a couple of issues with changing this:

it's potentially a breaking change for some people who rely on the above: having both types of callback and where the ordering is significant
Java callbacks aren't bound by a {eventName}__{description}.class naming convention - indeed, they can't be because one class can handle multiple event types.

Are your callbacks significant in terms of ordering (and therefore you can't do what you want) or is it just that the behaviour was a surprise?

Yes - if that's the order then that's fine - documentation around java callbacks is fairly sparse. e.g. It took a while to find out that I needed to specify the callback names in the config file - documented in the file but it would have been good if there had been a pointer in the main docs to look in the config file. An example of a plain java callback handling multiple events would be very useful.
Is there a reason why you need to specify the callback names in the config file? Couldn't you just run all the classes found in the jar using a naming convention to specify the order they are run in?

I suspect two reasons:

lack of demand for change, as Java callbacks do not appear to be widely used
the risks around introducing breaking changes.

It's not difficult to use reflection to identify callbacks and interleave them with SQL ones as we already do that for migrations. I'll add it as a feature request for v7.

Being able to interleave the java and sql callbacks would certainly be useful for us


Backlog

web

magic links for login to sync favorites / recsys across mobile and web
need some algo to parse out buzzwords that are low frequency, maybe just frequency counting
implement buzzwords on web

mobile

track link clicks and use that + upvotes as a sorting metric for the for you page
should do historic recommendations too, so much old content that could be resurfaced depending on what a user’s interests are
update description on testflight
dark mode init bug on download

Redis to store blogs on the backend and avoid querying supabase to check for existence. Can use AOF for persistence, need to see if it exceeds memory constraints though.


Improve README

imho adding additional description for lib's modules is useful only for the ones, who want to contribute to the code itself
regarding public API, for now it is documented (cargo linter guards that), so that we don't need to describe it outside code


Extension is not working for jupyter lab 0.33.11

Hey guys, any hints on how I can make it work with JupyterLab 0.33.11?
My setup is:
jupyter      --version
4.4.0
jupyter lab --version
0.33.11
jupyterhub --version
0.9.2
BTW, thanks heaps for providing this extension!
Cheers

I just updated my jupyterlab  to 0.33, and I will look into it to see I can solve this problem.

+1

Partially fixed now, installation is OK, but some notebook cell related functions are not working, and the toolbar appearance also needs to be fixed.

Thanks, @zzhangjii

I'm on jupyterlab 0.34.9, and it doesn't seem to work on that one either. Any chance you could also publish/tag a release, so that I could try the extension without going through the development install story?
Thanks!

Bump :) Same story now with jupyterlab 0.35.

Bump as it would be really great to use it on Jupyter Lab

Bump, any hope? It would be really great if this just worked on jupyterlab...

Bump again. I'm just trying the recommended version based off jupyter/minimal-notebook and it fails on the build.

Hey Guys,
I'm also working on getting this back working...made some progress to actually get the build working and showing up in Jupyterlab. It seems like .JSON files are able to be opened, but .CSV is not currently working due to it trying to be parsed as .JSON.
Next Steps are to get .CSV working.
Note: I haven't tested out any of other functionalities like export, etc so this is all just exploration on the fly.

@playermanny2 - Do you have a separate repo for these upgrades? Is it shareable to demonstrate what those differences are? perhaps a P.R to this repo?

@playermanny2 - Do you have a separate repo for these upgrades? Is it shareable to demonstrate what those differences are? perhaps a P.R to this repo?

@jredding PR #64


i edited README.md

expand README.md a little more

you don't do this for long time so I close comment


NIFI-4128 - Added "All" MessageAttributeNames to GetSQS processor ReceiveMessageRequest

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

@kwydler, good catch on the message attribute handling, and thank you for contributing this fix.  It looks good and works good, I will merge shortly.


-j0: zero cores

It looks like -j0 using MIT/Rust Parallel literally means use 0 cores [1], while -j0 in GNU Parallel means use as many cores/jobs as possible [2]. This makes scripts that use -j0 stall indefinitely upon calling MIT/Rust parallel with the -j0 flag

https://github.com/mmstick/parallel/blob/17fe2681c7be0990000ef0e605e2b57ae5e38fba/src/arguments/jobs.rs#L15
https://www.gnu.org/software/parallel/man.html

Seems silly to write -j0 when it basically means choose the default setting. Nonetheless, I'll fix this shortly.

I agree, unfortunately to be compatible as a replacement for GNU Parallel this seems to be used.

This should fix the problem.


what local formats are avalible

what local files can be played MP4 MP3 AVI etc what formats please can you tell us thanks

There are no local formats.
This framework is only for embedding content from streaming services such as Youtube.

If you search a player for local video or audio files which looks better than the native HTML5  or  then take a look at MediaElement.js
https://www.mediaelementjs.com/


Minor changes to readme.

Added badges for downloads and for conda build status.
Added installation instructions for conda.
Once the new version is released, I am planning to update the conda-forge feedstock.

I have found a minor issue (unrelated to this pull request) yesterday while reviewing your code changes. We have switched all functions to use the C API instead of the C++ API for performance reasons. However when the primesieve C API is used we need to check errno after each call into libprimesieve to know whether an error has occured. We correctly do this for primesieve.primes(n) and primesieve.n_primes(n). However for all other functions we don't do it. This means that in case an error occurs for e.g. primesieve.count_prime(n) that function will silently return an incorrect result.
The reason for this issue is that C does not support C++ exceptions. When an error occurs inside libprimesieve an exception (which contains a message of what went wrong) is thrown. However in the libprimesieve C API all exceptions are caught (inside libprimesieve) and errno is set instead.

Along these lines, based on some quick testing, it seems the C interface is noticeably faster than the C++ interface. To test, I created another submodule based on the array submodule, and modified it to include the C++ interface rather than C. The performance matched very closely with the base module, with the array submodule based on the C interface performing much better.

Is my understand right that you only measured a speed up when using the C API for primesieve.primes(n) and primesieve.n_primes(n). If so I suggest that we switch back all other functions to the C++ API because there error handling works out of the box.

If so I suggest that we switch back all other functions to the C++ API because there error handling works out of the box.

No problem, will do.  Great catch, thanks. Sorry for the oversight.

Is my understand right that you only measured a speed up when using the C API for primesieve.primes(n) and primesieve.n_primes(n).

Based on some quick testing it looks like the C version is around 3x faster than the C++ version.  I will start adding the proper error checking to the C version unless you say otherwise.

What I wanted is to keep using the C API for primesieve.primes(n) and primesieve.n_primes(n) but use the C++ API for all other functions (e.g. the count, print, get & set functions).

Based on some quick testing it looks like the C version is around 3x faster than the C++ version. I will start adding the proper error checking to the C version unless you say otherwise.

I guess your benchmark results are for primesieve.primes(n) and primesieve.n_primes(n), is that correct? I also guess that for the other functions there will not be any performance improvement when using the C API...

I guess your benchmark results are for primesieve.primes(n) and primesieve.n_primes(n), is that correct? I also guess that for the other functions there will not be any performance improvement when using the C API...

Running count_primes and count_twins I am getting 3x faster completion with the C version than with the C++ version.

The code changes in this pull request have been merged by https://github.com/hickford/primesieve-python/pull/32.


added a program that implements recyclerview in android

added a program that implements recyclerview in android

added a program that implements recyclerview in android


Chapter-2 error while getting the Housing datasets,

Hi, Can you please help getting error for below code
import os
import tarfile
from six.moves import urllib
DOWNLOAD_ROOT = "https://raw.githubusercontent.com/ageron/handson-ml/master"
HOUSING_PATH = "datasets/housing"
HOUSING_URL = DOWNLOAD_ROOT + HOUSING_PATH + "/housing.tgz"

def fetch_housing_data(housing_url=HOUSING_URL, housing_path=HOUSING_PATH):
    if not os.path.isdir(housing_path):
        os.makedirs(housing_path)
    tgz_path=os.path.join(housing_path,"housing.tgz")
    urllib.request.urlretrieve(housing_url,tgz_path)
    housing_tgz=tarfile.open(tgz_path)
    housing_tgz.extractall(path=housing_path)
    housing_tgz.close()

fetch_housing_data()

---------------------------------------------------------------------------
HTTPError                                 Traceback (most recent call last)
<ipython-input-37-bd66b1fe6daf> in <module>
----> 1 fetch_housing_data()

<ipython-input-36-108fe88897be> in fetch_housing_data(housing_url, housing_path)
      3         os.makedirs(housing_path)
      4     tgz_path=os.path.join(housing_path,"housing.tgz")
----> 5     urllib.request.urlretrieve(housing_url,tgz_path)
      6     housing_tgz=tarfile.open(tgz_path)
      7     housing_tgz.extractall(path=housing_path)

~\Anaconda3\lib\urllib\request.py in urlretrieve(url, filename, reporthook, data)
    245     url_type, path = splittype(url)
    246
--> 247     with contextlib.closing(urlopen(url, data)) as fp:
    248         headers = fp.info()
    249

~\Anaconda3\lib\urllib\request.py in urlopen(url, data, timeout, cafile, capath, cadefault, context)
    220     else:
    221         opener = _opener
--> 222     return opener.open(url, data, timeout)
    223
    224 def install_opener(opener):

~\Anaconda3\lib\urllib\request.py in open(self, fullurl, data, timeout)
    529         for processor in self.process_response.get(protocol, []):
    530             meth = getattr(processor, meth_name)
--> 531             response = meth(req, response)
    532
    533         return response

~\Anaconda3\lib\urllib\request.py in http_response(self, request, response)
    639         if not (200 <= code < 300):
    640             response = self.parent.error(
--> 641                 'http', request, response, code, msg, hdrs)
    642
    643         return response

~\Anaconda3\lib\urllib\request.py in error(self, proto, *args)
    567         if http_err:
    568             args = (dict, 'default', 'http_error_default') + orig_args
--> 569             return self._call_chain(*args)
    570
    571 # XXX probably also want an abstract factory that knows when it makes

~\Anaconda3\lib\urllib\request.py in _call_chain(self, chain, kind, meth_name, *args)
    501         for handler in handlers:
    502             func = getattr(handler, meth_name)
--> 503             result = func(*args)
    504             if result is not None:
    505                 return result

~\Anaconda3\lib\urllib\request.py in http_error_default(self, req, fp, code, msg, hdrs)
    647 class HTTPDefaultErrorHandler(BaseHandler):
    648     def http_error_default(self, req, fp, code, msg, hdrs):
--> 649         raise HTTPError(req.full_url, code, msg, hdrs, fp)
    650
    651 class HTTPRedirectHandler(BaseHandler):

HTTPError: HTTP Error 404: Not Found

Hi @Abhishek689 ,
There's a slash / missing at the end of the DOWNLOAD_ROOT string:
DOWNLOAD_ROOT = "https://raw.githubusercontent.com/ageron/handson-ml/master/"

Hey Ageron, It worked..

Hi, using the new 2nd edition book and code
import os
import tarfile
import urllib
DOWNLOAD_ROOT = "https://raw.githubusercontent.com/ageron/handson-ml2/master/"
HOUSING_PATH = os.path.join("datasets","housing")
HOUSING_URL = DOWNLOAD_ROOT + "datasets/housing/housing.tgz"
def fetch_housing_data(housing_url=HOUSING_URL, housing_path=HOUSING_PATH):
os.makedirs(housing_path, exist_ok=True)
tgz_path = os.path.join(housing_path, "housing.tgz")
urllib.request.urlretrieve(housing_url, tgz_path)
housing_tgz = tarfile.open(tgz_path)
housing_tgz.extractall(path=housing_path)
housing_tgz.close()
fetch_housing_data()
=====
SSLCertVerificationError                  Traceback (most recent call last)
=========
I did check and it seems the certificate is in the certifi site package in teh Python 3.7 on my Mac.  Any ideas?

Hi @VikingHenk,
Thanks for your question. Generally, when people have SSL issues when using Python 3.6+ on MacOSX, it's due to a missing step when installing Python. Check out this step in the installation instructions:
https://github.com/ageron/handson-ml2/blob/master/INSTALL.md#python--required-libraries
You mention that you checked the certifi package, but did you run this installation step?
/Applications/Python\ 3.7/Install\ Certificates.command

Cheers,
Aurélien

I am very new to python
Can someboody help me in debugging the below.
I am getting this while getting the Housing datasets
**req = meth(req)
File "C:\Users\HP\Anaconda3\envs\tf1\lib\urllib\request.py", line 1249, in do_request_
raise TypeError(msg)
TypeError: POST data should be bytes, an iterable of bytes, or a file object. It cannot be of type str.**


"Index was outside the bounds of the array" errors

Seeing A LOT of the following errors being reported while watching the log stream from my ASP.NET 5 (RC1) app running in an Azure Website.
2016-01-08T00:25:20      Error occurred, type: error, text: Index was outside the bounds of the array., stackTrace:    at Kudu.Core.Infrastructure.ProcessExtensions.EnvToDictionary(Byte[] env)
   at Kudu.Core.Infrastructure.ProcessExtensions.GetEnvironmentVariablesCore(IntPtr hProcess)
   at Kudu.Core.Infrastructure.ProcessExtensions.GetEnvironmentVariables(Process process)
   at Kudu.Services.Performance.ProcessController.SafeGetValue[T](Func`1 func, T defaultValue)

Let me know what additional info needed to debug etc.

Strange, we should investigate. But note that stream doesn't work out of the box for aspnet 5. Or do you have anything special to make it work?

Haven't done anything particularly special other than add Console and Debug logging via LoggerFactory at various points in the app - am seeing my own logging messages in my local log streams and in Azure too! :)

What bitness is your ASP.NET 5 app running? is it different from that of w3wp.exe by any change?

Haven't set any specific bitness. Have dnx451 and dnxcode50 enabled in the project. Having said that, seeing oddities locally - have to run in Kestrel as IISExpress termintes the process immediately after startup completes (no errors reported anywhere!)

Hi
Kudu will continue to run in Azure App Service. However, this repo will no longer be maintained.
If the problem persists and is related to running on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


Peripheral is being disconnected on signal completion.

In RBTCentralManager.m in method connectPeripheral:options: a following disposable is being returned:
return [RACDisposable disposableWithBlock:^{
			[connectedDisposable dispose];
			[failedDisposable dispose];
			[self.CBScheduler schedule:^{
				[self.manager cancelPeripheralConnection:peripheral];
			}];
		}];

This means that upon completion of the signal the peripheral will be automatically disconnected. Is that really something that we want? How is one supposed to interact with the peripheral?
The signal sends our connected peripheral and completes afterwards which means that the peripheral is immediately being disconnected.
Or am I missing something here?

In the implementation of -connectPeripheral:options:, you'll notice that the signal never completes on its own. A subscription to the signal represents a connection to the peripheral. The connection is only disconnected when you manually dispose of the disposable for your subscription. That means you should keep the disposable around for as long as you want the connection to be active and dispose of it when you're done with the connection.

:sweat_smile: Right. Thanks.

Well, I kind of still think that it makes it harder to work with the connected peripheral. Sometimes you need to keep that peripheral around long after the signal finishes.
I would rather have another method for disconnecting (actually that's what I have).
Another point is that you never check if the peripheral was disconnected properly. Disconnecting involves delegate methods so I think it's a good candidate to make it a separate signal from it.

The peripheral will be kept around as long as you don't dispose of the disposable that was returned from the subscription. You have a point that the disconnection status isn't checked properly, though. If you can open a separate issue to track that I can look into it.


proj: disable problematic tests on darwin

Motivation for this change
ZHF: #144627
@NixOS/nixos-release-managers
See also #142875 for some backstory on this problem. In short - we think these tests fail on hydra but not other machines. After this is merged we should check the results are binary near-identical with non-hydra-builds to check it's just the tests malfunctioning and not an actual subtly broken build.
Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested basic functionality 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

[ ] Fits CONTRIBUTING.md.

Ok I'm going to close this for now but it'll still be here if we need it.


info div isn't always displayed next to the selected item

On chromium (and I think Mariana and I also saw it on Safari) I'm seeing this behaviour where the view in the svg always moves into the upper left corner after clicking an item.
Desired behaviour would be, that the infobox opens roughly next to the item and the svg view doesn't pan.
https://user-images.githubusercontent.com/11532355/179508950-aee2823a-4ae5-4fe4-bd7b-e40580cbbb13.mp4

It seems to be solved for me, at least on Safari.


pullEvent filters ignored

Calling os.pullEvent with a filter will return upon the first event received, whether the filter matches or not. When a coroutine yields, it returns the pullEvent filter, which can be captured like so:
local function test()
  os.pullEvent("test_filter")
end

local c = coroutine.create(test)
local ok, filter = coroutine.resume(c)
print(filter)

In this example, "test_filter" should be printed. prcomgr.distribute should be modified to respect event filters, only resuming coroutines if the appropriate event is caught.

Woops, turns out I completely forgot to implement filters at all. I'm surprised so many programs worked so far though :P.

Solved as of 3ac741960d6372d85984210b842c745bd0404ad5.


fix(@angular-devkit/build-angular): ensure to use content hash as filenames hashing mechanism

Previously we used hash which resulted in a unique hash generated for every build even when the contents of the files didn't differ.
More info: https://webpack.js.org/guides/caching/#output-filenames
NB: I did try to add a unit test, but it non trivial.

I think this conflicted with another PR, I'd fix it in GitHub, but I think that will create a merge commit. Probably easier for you to fix when you get a chance @alan-agius4.

Merged to patch in https://github.com/angular/angular-cli/pull/22623, so retargeting this PR to major.


MNT/MAINT upgrading isort to 5.12.0

Closes #293

Thanks for providing a fix so quickly.
Before going ahead, could you please describe how I could replicate the initial problem? I tried creating a fresh environment as described in CONTRIBUTING.rst (except I used conda instead of mamba) and it worked without your fix. Is it something that only surfaces when using poetry? From the commit you linked, it's not clear to me why that would break pre-commit.
Independent of that, I think we can still merge it, I just want to better understand the issue.

@BenjaminBossan Thanks for your feedback! Interesting... These are the reproduction steps:

Create a conda environment via PyCharm with python 3.10
python -m pip install -e ".[tests,docs]"
conda install pre-commit
pre-commit install

Maybe I should have followed CONTRIBUTING.rst more strictly, but as you already said. It's safer to merge and make skops up-to-date with its dependencies.

Create a conda environment via PyCharm with python 3.10

Interesting, this seems to be the only step that differs. Do you have an idea what PyCharm could be doing differently here that would cause the issue? I have conda 23.1.0 but I don't think the conda version should be the cause.

From the error log I understood that an older version of isort is being installed based on isort's recent pyproject.yaml. I also couldn't find any different behavior while creating a conda environment by PyCharm so far. So I freshly cloned the repo and exactly followed the contributing guidelines this time and still getting the same error :open_mouth:.

Heh, strange. Still, I merged since it shouldn't hurt and there may be other PyCharm users out there who run into the same issue (note that it seems like they backported the fix to 5.11 too: https://github.com/PyCQA/isort/releases/tag/5.11.5).
For the @skops-dev/maintainers and others who work on the repo, please make sure to update pre-commit, not sure if it does so automatically.


chore(package): update @kronos-integration/service to version 6.1.22

Codecov Report

Merging #652 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #652   +/-   ##
=======================================
  Coverage   58.42%   58.42%
=======================================
  Files           2        2
  Lines          89       89
  Branches       11       11
=======================================
  Hits           52       52
  Misses         37       37

Continue to review full report at Codecov.

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


Persistent file size oversize

While reading persistent files, based on RAW data size + 2 bytes for CRC16, why trying to read 4 bytes more?
CO_storageLinux.c lines 218 and 228

try using either "+2" or sizeof(uint16_t)

It is better as you suggest, fixed.


Restricted H(curl)/rotational symmetry

Hello Everyone,
I am solving a Maxwell eigenvalue problem $$\nabla \times \nabla \times \mathbf{E} = \lambda \mathbf{E}$$
on a domain that is a body of revolution. The eigenfunctions (in cylindrical basis) have the form of $\mathbf{E}(r, \phi, z) = \mathbf{E}_m(r, z) e^{im\phi}$. I'd like to be able to solve for a single given $m$ by discretizing the 2D problem for $\mathbf{E}_m$. I am guessing this is related to the reduced Nedelec spaces from example 31, but it is not clear to me what exactly is meant by "reduced". Is it just solving the problems assuming $\partial_z \equiv 0$ for all components of the fields?

In the axisymmetric case, there are additional coefficients in the two bilinear forms above to account for the restriction from 3D to a meridian plane.
I believe @mlstowell already has some code for that, see this comment.
@dylan-copeland also has experience with axisymmetric Maxwell problems and may be able to provide additional advice.


Create Dev Container

Create Dev Container
Ticket: 36
branch: create-dev-container
Overview
What was done

[X] Create devcontainer.json file and add basic functionality
[X] Create Dockerfile file and add basic functionality
[X] Create postCreateCommand file to run after building devcontainer
[X] Add Flutter stable 3.16.9  to Dockerfile
[X] Investigate and add Android SDK to Dockerfile
[X] Investigate and add Java to Dockerfile
[ ] Code cleanup
[X] Added .markdownlint.json (Markdownlink Configure)

What needs to be done

[ ] When trying to run java --version, it still fails and returns

qemu-arm: Could not open '/lib/ld-linux-armhf.so.3': No such file or directory

as an error.

Adoptium Java Binaries Repository
Steps to Install Openjdk 17 ubuntu Linux such as 22.04 or 20.04

[ ] Investigate and find out how to add Google Chrome or something similar
in the devcontainer
[ ] Investigate if it is possible to build Dockerfile before running the
devcontainer which effectively enables the docker image not to be destroyed
when the devcontainer is closed.
In the .devcontainer file:

{
...
"image": "multichoice:androidsdk",
OR
"build": {
    "dockerfile": "Dockerfile"
},
...
}

Resourses and References

Dev Containers Json
Docker Docs
VS Code: User and Workspace Settings
VS Code: Terminal Shell Integration
Using Images, Dockerfiles, and Docker Compose
VS Code: Create a Dev Container
Docker CMD
Supporting tools and services

[ ] Add Firebase CLI to the devcontainer. Use this command: curl -sL https://firebase.tools | bash


Game crashes on render distance greater than 32 chunks with Nvidium

Is it a mod compatibility issue?
No
If it's a mod compatibility issue, please provide the link(s) to the incompatible mod(s)
No response
Minecraft version
1.20.1
Describe the issue
When paired with a render distance greater than 32 chunks (easily achieved when using Nvidium), the game crashes with an error message stating: java.lang.IllegalArgumentException: chunk loader radius cannot be larger than 32.

https://github.com/iPortalTeam/ImmersivePortalsMod/issues/1359

Does any rendering issue occur when render distance is not larger than 32?

Yes, particles and certain entities are in fact visible through blocks. With shaders, it sometimes leads to entities glowing when they're not supposed to.

The effects vary depending on the postion of the camera

Some blocks get extremely zoomed in and might appear to come out of the portal itself. Depends on how far or close you are to the portal.
1.20.1
16(vanilla) + 64(nvidium) render distance (16 simulation distance)


Regularise the test suite

Currently, every test entry does entirely different things with the arguments. I should probably say ! prefixed arguments are special and go to the args,  $ prefixed is for obj, and unprefixed ones are phony requests.

General thoughts about how to move forward:

Move to shakenCwd everywhere
Remove the non-cwd branches
Remove the obj argument (always set to id)
Make the want implicit, only pass on special arguments via --test (perhaps retrieved via an oracle, use withTest?)

There is now a single interface.


Allow heartbeat only for GET method

@pkieltyka What do you think?

sure, .. just wondering, how come though?
On Wednesday, May 6, 2015 at 12:23 PM, Vojtech Vitek wrote:

@pkieltyka (https://github.com/pkieltyka) What do you think?
—
Reply to this email directly or view it on GitHub (https://github.com/pressly/gohttpware/pull/2#issuecomment-99528486).

I was testing QMD/next ASYNC callbacks against QMD itself and I was wondering why the handlers responded with HTTP 200 for POST method. (I have heartbeat for / as well for now..)


Support "Editor" & "Explore Files" on dat:// sites

Problem
I cannot use the "Editor"... sidebar(?), nor "Explore Files" on (so-called) legacy dat sites.
Solution I'd Like
Supporting the "Editor" on dat sites should be easy enough, since it would be the same as for http(s) sites (read-only), except through a different protocol. (Actually, view-source: doesn't work on dat sites either...)
Being able to Explore Files shouldn't be too hard either, after all Beaker Browser used to only support dat protocol (how hard could it be too re-add support? ;)
Alternatives I've Considered
Opening the archives in Firefox w/ Dat Fox addon and muck about with DatArchive API in console to list folders/files... yea, i'd rather use a GUI :p
Additional Context
I am sorry for being a little annoying in my phrasing of this issue, I was using Beaker Browser as (essentially) a visual version control for a few websites, so needless to say when I accidentally (for real) upgraded to beta version and found dat archives are considered legacy... well, I should've known better, ah well.
 Thanks.

Yeah, I'm sorry about the pain of the conversion process. I really don't think we can hit this -- we're already slammed getting hyper-based features delivered.
I'm hopeful that we'll soon have all the features that dat:// had (DNS, http mirrors) and converting to hyper:// will be painless.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/589 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target.git

Docs Build status updates of commit 18b7a3d:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-BackendEngineExceptionError] An exception occurred during the build process. Please check the raw log and retry building your content again. If the issue persists, please open a ticket in https://SiteHelp and include the URL of publishing report as well as below information: One or more errors occurred..

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


chore: update docstring + typing for PR curve

Description

What does the PR do? Include a concise description of the PR contents.
modernize wandb.plot.pr_curve

[x] I updated CHANGELOG.md, or it's not applicable

Testing
How was this PR tested?

just need to fix these two tests:
`FAILED tests/unit_tests/test_plot.py::test_pr[no_wandb_core] - AssertionError: assert 'Precision-Recall Curve' == 'Precision v. Recall'

Precision v. Recall

Precision-Recall Curve
FAILED tests/unit_tests/test_plot.py::test_pr[wandb_core] - AssertionError: assert 'Precision-Recall Curve' == 'Precision v. Recall'

Precision v. Recall

Precision-Recall Curve`