Random hang in _io_uring_get_cqe

I have a long running program that periodically connects to remote machine using cohttp-eio and then sleeps for a few seconds using Eio.Time.sleep_until. After about a week of running correctly it hang with the following back trace. Unfortunately I don't know how to reproduce it, as it happened only once so far.
(gdb) bt
#0  0x00005588110b3057 in _io_uring_get_cqe ()
#1  0x00005588110b366e in io_uring_submit_and_wait_timeout ()
#2  0x00005588110b2838 in ocaml_uring_wait_cqe_timeout (v_timeout=<optimized out>, v_uring=<optimized out>)
    at uring_stubs.c:927
#3  <signal handler called>
#4  0x0000558810dcfd63 in camlUring.fun_3586 () at lib/uring/uring.ml:620
#5  0x0000558810dcfb45 in camlUring.fn_on_ring_2714 () at lib/uring/uring.ml:598
#6  0x0000558810dcfcf1 in camlUring.wait_2729 () at lib/uring/uring.ml:620
#7  0x0000558810dbde2c in camlEio_linux__Sched.schedule_1209 () at lib_eio_linux/sched.ml:266
#8  0x0000558811021d1b in camlStdlib__Fun.protect_326 () at fun.ml:34
#9  0x0000558810dbecbb in camlEio_linux__Sched.run_1539 () at lib_eio_linux/sched.ml:492
#10 0x0000558810dbffe5 in camlEio_linux__Sched.with_eventfd_1786 () at lib_eio_linux/sched.ml:536
#11 0x0000558810dc0353 in camlEio_linux__Sched.with_sched_inner_2882 () at lib_eio_linux/sched.ml:570
#12 0x0000558810c7f2f1 in camlDune__exe__Scribe.entry () at scribe/scribe.ml:594
#13 0x0000558810c75857 in caml_program ()
#14 <signal handler called>
#15 0x00005588110ebfed in caml_startup_common (pooling=<optimized out>, argv=0x7ffe4864bef8)
    at runtime/startup_nat.c:132
#16 caml_startup_common (argv=0x7ffe4864bef8, pooling=<optimized out>) at runtime/startup_nat.c:88
#17 0x00005588110ec05b in caml_startup_exn (argv=<optimized out>) at runtime/startup_nat.c:139
#18 caml_startup (argv=<optimized out>) at runtime/startup_nat.c:144
#19 caml_main (argv=<optimized out>) at runtime/startup_nat.c:151
#20 0x0000558810c73dec in main (argc=<optimized out>, argv=<optimized out>) at runtime/main.c:37

(gdb) f 2
#2  0x00005588110b2838 in ocaml_uring_wait_cqe_timeout (v_timeout=<optimized out>, v_uring=<optimized out>) at uring_stubs.c:927
927     uring_stubs.c: No such file or directory.

(gdb) i loc
caml_local_roots_ptr = 0x5588119069d8
caml__frame = 0x0
caml__roots_v_uring = {next = 0x0, ntables = 2, nitems = 1, tables = {0x7ffe4864bcc0, 0x7ffe4864bcc8, 0x7ffe4864bce8, 0x7f5b08e8ef68, 0x7f5b092cd538}}
caml__dummy_v_uring = 0
timeout = <optimized out>
t = {tv_sec = 0, tv_nsec = 999995036}
id = <optimized out>
ring = 0x5588119bf340
cqe = 0x5588110b2aa0 <ocaml_uring_peek_cqe+208>
res = <optimized out>

There isn't anything obviously wrong in that stack trace. It's just waiting for an event from Linux.
You could run your application with tracing to find out what it's waiting for. eio-trace record would work if the problem occurred soon, but running it for a week would likely create a huge trace (depending on how busy your program is). So it might be better to set it tracing to a ring and then dump just the last bit when it hangs. e.g. run your program as:
$ OCAML_RUNTIME_EVENTS_START=1 OCAML_RUNTIME_EVENTS_DIR=/tmp/events/ OCAML_RUNTIME_EVENTS_PRESERVE=1 myprog.exe

You can then dump the ring when it hangs (or earlier) by modifying https://github.com/ocaml-multicore/eio/blob/main/examples/trace/main.ml, removing main and attaching to (Some ("/tmp/events", PID)) rather than None.
(test it first to see if the output would be useful, rather than waiting for the hang)

Closing this, as there's nothing to suggest a bug in uring here. For example, attaching gdb to this program produces a similar stack-trace:
let () =
  Eio_main.run @@ fun _ ->
  Eio.Fiber.await_cancel ()

(gdb) bt
#0  0x000055c52b9b8cd7 in _io_uring_get_cqe ()
#1  0x000055c52b9b92ee in io_uring_submit_and_wait_timeout ()
#2  0x000055c52b9b84b8 in ocaml_uring_wait_cqe_timeout (v_timeout=<optimized out>, v_uring=<optimized out>) at uring_stubs.c:927
#3  <signal handler called>
#4  0x000055c52b8f3cd3 in camlUring.fun_3586 () at lib/uring/uring.ml:620
#5  0x000055c52b8f3ab5 in camlUring.fn_on_ring_2714 () at lib/uring/uring.ml:598
#6  0x000055c52b8f3c61 in camlUring.wait_2729 () at lib/uring/uring.ml:620
#7  0x000055c52b8e12c0 in camlEio_linux__Sched.schedule_1250 () at lib_eio_linux/sched.ml:266
#8  0x000055c52b99677b in camlStdlib__Fun.protect_326 () at fun.ml:34
#9  0x000055c52b8e2134 in camlEio_linux__Sched.run_1569 () at lib_eio_linux/sched.ml:462
#10 0x000055c52b8e3348 in camlEio_linux__Sched.with_eventfd_1810 () at lib_eio_linux/sched.ml:506
#11 0x000055c52b8e3700 in camlEio_linux__Sched.with_sched_inner_2817 () at lib_eio_linux/sched.ml:543
#12 0x000055c52b8d0df4 in camlDune__exe__Main.entry () at examples/hello/main.ml:2
#13 0x000055c52b8ce167 in caml_program ()
#14 <signal handler called>
#15 0x000055c52b9ec9cd in caml_startup_common (pooling=<optimized out>, argv=0x7ffe343fbbe8) at runtime/startup_nat.c:132
#16 caml_startup_common (argv=0x7ffe343fbbe8, pooling=<optimized out>) at runtime/startup_nat.c:88
#17 0x000055c52b9eca3b in caml_startup_exn (argv=<optimized out>) at runtime/startup_nat.c:139
#18 caml_startup (argv=<optimized out>) at runtime/startup_nat.c:144
#19 caml_main (argv=<optimized out>) at runtime/startup_nat.c:151
#20 0x000055c52b8cd79c in main (argc=<optimized out>, argv=<optimized out>) at runtime/main.c:37

Another way to investigate would be to run your program with the posix backend (e.g. with EIO_BACKEND=posix). If you see a hang with that, it would strongly indicate a deadlock in your application logic. e.g. you would see something like this:
(gdb) bt
#0  0x00007fd4369d4278 in __ppoll (fds=fds@entry=0x55a33c840df0, nfds=nfds@entry=4, timeout=<optimized out>, timeout@entry=0x0,
    sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1  0x000055a3246477d8 in caml_iomux_ppoll (v_fds=<optimized out>, v_nfds=<optimized out>, v_timo=<optimized out>,
    v_sigmask=<optimized out>) at iomux_stubs.c:89
#2  <signal handler called>
#3  0x000055a324571d89 in camlIomux__Poll.ppoll_693 () at lib/poll.ml:66
#4  0x000055a324565003 in camlEio_posix__Sched.next_1053 () at lib/poll.ml:70
#5  0x000055a32462877b in camlStdlib__Fun.protect_326 () at fun.ml:34
#6  0x000055a324565da4 in camlEio_posix__Sched.run_1365 () at lib_eio_posix/sched.ml:381
#7  0x000055a324565461 in camlEio_posix__Sched.with_sched_1228 () at lib_eio_posix/sched.ml:258
#8  0x000055a324562df4 in camlDune__exe__Main.entry () at examples/hello/main.ml:2
#9  0x000055a324560167 in caml_program ()


corrupted videos

In the validation set, IjFrO11sQng.mp4 and SaJWnqViSLo.mp4 are corrupted videos. Can you provide these two videos? Thanks

Sorry, raw videos are also not available to me. Maybe you can contact LOVEU organizers for help.


Add Theming (Dark/ Light mode)

Value Description / Statement
As a user
I want to have an option on my DashboardPage where I can choose different themes for my app.
Description
For starters there should be a light and a dark mode, (the light mode in this case could be the spring theme inspired by the cherry-blossom season and the dark one could be the autumn theme inspired by the beloved Halloween season) Later on there could be themes for the 4 seasons, the cherry blossom theme, the Halloween theme, the Christmas theme, the carnival theme... and so on.
Acceptance Criteria

[ ] there should be a button that toggles or a dropdown solution to select light or dark mode on the DashboardPage
[ ] there should be a light theme and a dark theme

Tasks

[ ] create a new branch
[ ] create a component to select the theme
[ ] create  2 themes
[ ] implement theming

Complexity
medium

As a user story, this is perfectly fine - I'm just not sure if you'd implement this feature at this point. This feels rather more like a "bonus feature" once your MVP is completed.


Dynamic height, smooth-scroll and gumshoe

Expanding or collapsing the height of a DIV changes the overall height of the page, for example with an accordion.
This means that if you open an accordion (see the reduced test case) the class active is applied  without taking into account the new height of the page. Now, after any of them are open and you scroll using the mouse/trackpad the indicator (on the right column on the reduced test case) doesn't correspond with the new content height.
Reduced test case: http://inspiredlabs.co.uk/8/reduced-test-case.html
Is there a way to use smooth-scroll and gumshoe and also have content affect the height of the page?

Short answer: yes.
Long answer: not the way you have your accordion configured.
Specifically, your use of overflow: hidden is what's causing the issues. The script cannot properly calculate heights and distances.
I would recommend using the following style instead:
.accordion .article {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.accordion input:checked ~ .article.ac-default {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

This maintains the same accessibility you have now... as in, screen readers can access the content whether expanded or collapsed.
Side note: It's worth mentioning that your use of transition on height does not work with either your current or my recommend CSS, as height-based transitions require an absolute height value (ex. 200px) and will not work with auto.
With this new styling in place, you can call gumshoe.setDistances(); after your accordion is opened or closed to recalculate the heights and distances of the content on the page. More on that here: https://github.com/cferdinandi/gumshoe#setdistances.

Thank you for explaining the overflow: hiddenissue. There's some intrusive JS in each accordion header, but I'm sure that can be written more elegantly.
As for your side note, the plan was to improve that programatically once happy with the content.
Thanks again for looking at this, it's such a useful script to have working nicely.

Happy to help!

Is it possible to make gumshoe.setDistances(); more automatic, perhaps before every scroll (rather than just click)? I've noticed that this actually doesn't work as anticipated if you scale the browser window.
Hope I've explained myself well enough.

The latest version of Smooth Scroll (now dual licensed under GPL and Commerical) offers a before callback. You could call gumshoe.setDistances() there. Haven't tried it myself yet, though.


WIP UserDB 2

What type of PR is this?

Which issue does this PR fix:
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Missing from current UserDB code:

Rest API calls for toggling stars/bookmarks on/off

istarred / isbookmarked need to be set in RepoMeta2RepoSummary (for global search, repolist with newest image, bookmarkedrepos, most popular repos)

common test - handle anonymous users

dynamodb - check anonymous user permissions are working as intendend

dynamodb - increment/decrement repostars in repometa when user stars/unstars a repo

dynamodb rollback changes to user starred repos in case increasing the total star count fails (and vice versa)

code coverage


Hosted Providers

Add hosted providers that support the hll extension to this thread.
Initial list:

Amazon RDS and Aurora
DigitalOcean Managed Databases
Google Cloud SQL and AlloyDB
YugabyteDB

Crunchy Bridge


destinationActorID question

When constructing msig transactions, we need to supply destinationActorID as cid.CID. However construction/metadata returns destinationActorID as string. So we need to parse string into cid.CID. I would like to see if we can change the interface to take string instead of cid.CID as destinationActorID. Otherwise, I am exploring the following way to parseString
        destinationActorID, err := cid.Parse(actorMetadata.DestinationActorID)
	if err != nil {
		return nil, errors.Wrap(err,
			fmt.Sprintf(
				"unable to parse destinationActorId to Cid: %s",
				actorMetadata.DestinationActorID,
			),
		)
	}

Is this the right approach? I do see this is a v2 cid.CID. So not sure if this the right way to do it.

@rllola @raynaudoe  is this something we can close?

I think this one was discussed on Slack. We can close this for now.


Proposal to Improve App Organization by Moving Reducers and Actions to the Store Directory

I'm submitting a ...

Adjutment request

Summary
While documenting the app, I identified some changes that could enhance its organization. I recommend moving all reducers and actions into the store directory. When I initially explored src/lib, I found it a bit frustrating due to the many folders like container, data, and options, which only contains reducers and actions are outside store directory. Therefore, I suggest relocating these directories to the store and renaming them to container-slice, data-slice, and options-slice.
Since all the model files contain only types, I suggest renaming them to types.ts.
@hatemhosny

Hi @AhmedElbohoty
Thank you for the suggestion.
I'm not sure the suggested directory structure simplifies the organiztion.

the ticker directory also has actions, reducers and models. Should we also move it inside store? But then, most of the directories will be inside the store directory ending up with almost similar directory structure like now but nested inside the store directory.
some of these directories contain logic that is not related to the store, like options/validate-options.ts and ticker/ticker.ts. This can be confusing.
I wanted the store directory to be simple giving an overview of how everything works, and then the implementation of each slice stays near the related logic.
Honestly, I find un-needed directory nesting to be more difficult to grasp than a simpler flat structure.

These are just personal preferences.
Thank you for understanding.


Increment version

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/73382
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.2 -m "<description of version>" dd1d8ed6157ae60bf9bd274acfd7eff98addb29e
git push origin v0.1.2

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/73738
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.0 -m "<description of version>" 81a97aa60271a7c906e3bae64b8301b6df6b8665
git push origin v0.2.0


.spec file ARCH_ line requires a CR or build for 3rd party boards fail

Basically it turns out if you use a trying to be to smart for its own good editor: it thinks a .spec file is a MS-DOS type file and inserts CRs.  But if you create the PYNQ .spec file using a different method and do not put a CR character at the end of the ARCH_ line, the Makefile errors out very early with:
make: *** No rule to make target '/foo-PYNQ/PYNQ-git/sdbuild/boot/image_arm', needed by '/foo-PYNQ/PYNQ-git/sdbuild/build/foo/image.its'.  Stop.
Status: Build FAILED

Git diff finally made it clear what was going on.  The first revision without CR did not work, the 2nd shown in the diff with the CR does.
diff --git a/foo/foo.spec b/foo/foo.spec
index e34887e..4a53775 100755
--- a/foo/foo.spec
+++ b/foo/foo.spec
@@ -1,4 +1,4 @@
-ARCH_foo := arm
+ARCH_foo := arm^M
 BSP_foo := foo.bsp

The Makefile needs a little tweak if possible to make this behave with or without CR.

Thanks Fred!


Id as a generic type parameter

I think it's nice to provide Id as a generic type parameter (or at least make it to be changed), and provide the current ObjectId (or even Guid) implementation for convenience.
It's currently kind of limiting for people who would want to generate their own Id's.

Thnaks for the suggestioin.
Can you tell me about what you want to use for Id and why?

I use Guids but customize by stripping "-". I use that across all my domains. Others don't even use Mongo store, so I see no reason not to pass that behavior to my identities.

@rm2k when we're using mongodb as a store, ObjectId playing important role (in case of replication and sharding) more than simple identifier.
And it's more mature than GUID (it's holds embedded timespan in itself).
although it's easy to implement, I disagree to have generic Id (specially int).
waiting to hear from @tugberkugurlu maybe I was wrong. :)

@SorenZ sorry if i put it to you that ObjectId is bad and Giud is good. :) .That's not what i suggest. All I'm saying is:

The current type of id is a string and private set.
The current implementation is:  Id = ObjectId.GenerateNewId().ToString()

And my issue is, the library is being harsh to poor minds like me, who would like to do something like this:
Id =  Guid.NewGuid().ToString()
Thats why i say why not make it generic like its done in Identity itself and provide the current ObjectId as a default implementation  or at least allow it to be changed .

@rm2k no no, I didn't think so :)
Just consider it, we can not simply do Id = Guid.NewGuid().ToString() (at least now), Id is string in C# but it's ObjectId in mongoDB.
we should think about mapping too ;)

@SorenZ thanks for the clarification.
It seems it's just me against the world.

I just thought how to implement it (in best way) and eagerly waiting to hear from @tugberkugurlu ...

@rm2k This could be a valid feature request to add, especially for migration cases. However, I still believe MongoDB Id should be the suggested way. So, even if we get this in, we should not make the users choose an id type.
@SorenZ can you elaborate what approach you are thinking about? You can PR it if it's easier than explaining 😄

PR is really easier than explaining (for me) :)))

@SorenZ cool, looking forward to it!

@tugberkugurlu @rm2k I think the solution to this problem is fairly straightforward as in MongoDB _id field can be of any type i.e. ObjectId (default), String, Int, or a JSON Object. So, to fix this problem what needs to be done is when creating Document from the class the _id should be set to the value of the same type as Id field i.e. Suppose Class have String Id then doing new Document("_id", Id)  will store it as a String, similarly if  Integer Id , ObjectId Id or CustomId Id. Hence, anyone can store any type of Id they want. So @rm2k can use his custom string Id as _id in MongoDB. I haven't looked at the code yet but I guess you guys know where exactly changes should be.

The current type of id is a string and private set.
The current implementation is: Id = ObjectId.GenerateNewId().ToString()

I want to clarify something that even if you work with the id as string, it's stored as ObjectId:

This is restrictive but the other approach is to introduce a generic identity user type. Let's see how many 👍  we will get on this and decide based on that.


Adding Persona 5 Royal

any chance this could be added in light of the new port? thank you very much!

I have added the game(s) you requested in the most recent release: https://github.com/hobby-grade/Nintendo-Switch-Discord-Status/releases/tag/v1.1.1
Thank you for checking out the project, reach out if you have any more suggestions!


[bug] can't running echo server

Describe the bug
I can't running code because i got some error, it likes screenshoot
To Reproduce
Steps to reproduce the behavior:

first i install the library
second i install the echo framework
third i copy the code it likes code in folder example/integration/echo
fourth if i running the code i got the error it likes screenshoot

go run main.go

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

OS: [windows]
OS version: [11]
teler Version [v0.5.0]

Additional context
Add any other context about the problem here. Full output log is probably a helpful thing to add here.

Hey @sautmanurung1, to compile teler-waf on Windows, you need to install the dependencies.


Broken links on FinRL Read The Docs:  First Glance

Describe the bug
https://github.com/AI4Finance-Foundation/FinRL/tree/master/tutorials/1-Introduction
To Reproduce
That link does not work.
It is on Page 2 of the FinRL ReadTheDocs at
https://finrl.readthedocs.io/en/latest/start/first_glance.html
Similarly, the Google Colab link fails because of the same 404.
Expected behavior
Links should work.

we have moved all tutorials to https://github.com/AI4Finance-Foundation/FinRL-Tutorials, and in finrl, we only leave several notebooks in finrl-examples.

updated.
it works now


Use Starlight sidebar user-config format for <StarlightPage /> sidebar prop

Description

Closes #2146 and #1683

This PR changes the data accepted by the sidebar prop of the <StarlightPage /> component used by custom routes.
With this change, the sidebar prop can now accept a sidebar configuration identical to the one used by the sidebar Starlight configuration.
A few demo custom pages have been temporarily added to the docs to play around with the changes.
Remaining task

[ ] Remove the demo link in docs/astro.config.mjs
[ ] Remove docs/src/pages/test-1.astro
[ ] Remove docs/src/pages/test-2.astro
[ ] Remove docs/src/pages/test-[index].astro
[ ] Add a changeset

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

en
guides/pages.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Oh boy, the code is so much simpler, not sure why we didn’t think to do it to begin with 😁

Yeah, I had the exact same thought when working on the changes, not sure why either 😅
I've removed the test pages and added a changeset (altho, not super happy with it, tried to use a diff code block but I thought it was not super easy to read, so I went with 2 code blocks instead, but this ends up being a massive changeset).


daldal?

kalena 대주주님 적이 침공했습니다.!!

you know daldali?

뭣들 하느냐! 당장 저자를 끌어내라!

you know daldali?

I don’t know and I don’t want to know

ho, sorry to here that.

daldal was closed by my hands.

음 잘 끌어냈군ㅋㅋㅋㅋㅋ


Version

[X] I'm using version 1.15.1

Known issues

[X] I've checked Known issues

Existing issues

[X] I've checked Existing issues

Advanced Preferences

[X] I've checked Advanced Preferences

What operating system are you using?
Windows
Operating System Version
Windows 10 19045.3930
Reproduction steps

Run Stretchly

Expected Behavior
Run one process
Actual Behavior
Four processes are launched
https://mega.nz/folder/Fs0BGZBR#-_6LsBXoWKSI_SCWtI0qgA
Relevant log output
No response
Preferences
No response
Additional information
No response
Code of Conduct

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

Hi, that is how ElectronJS works, it creates multiple processes: for each windows, some main process etc.


ERROR: ERROR: Could not find a version that matches botocore<1.16.0,==1.13.50,>=1.15.39

I already tried pipenv lock --clear . I can't regenerate the Pipfile.lock file. When I run:

pipenv update --outdated
pipenv install
pip env

I get:
There are incompatible versions in the resolved dependencies.
[pipenv.exceptions.ResolutionFailure]:   File "/home/andrei/.envs/pgcom/lib/python3.8/site-packages/pipenv/utils.py", line 718, in resolve_deps
[pipenv.exceptions.ResolutionFailure]:       resolved_tree, hashes, markers_lookup, resolver = actually_resolve_deps(
[pipenv.exceptions.ResolutionFailure]:   File "/home/andrei/.envs/pgcom/lib/python3.8/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps
[pipenv.exceptions.ResolutionFailure]:       resolved_tree = resolver.resolve()
[pipenv.exceptions.ResolutionFailure]:   File "/home/andrei/.envs/pgcom/lib/python3.8/site-packages/pipenv/utils.py", line 395, in resolve
[pipenv.exceptions.ResolutionFailure]:       raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]:       pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version that matches botocore<1.16.0,==1.13.50,>=1.15.39
[pipenv.exceptions.ResolutionFailure]:       Tried: 0.4.1, 0.4.2, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.6.0, 0.7.0, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.9.0, 0.9.1, 0.9.2, 0.10.0, 0.11.0, 0.12.0, 0.13.0, 0.13.1, 0.14.0, 0.15.0, 0.15.1, 0.16.0, 0.17.0, 0.18.0, 0.19.0, 0.20.0, 0.21.0, 0.22.0, 0.23.0, 0.24.0, 0.25.0, 0.26.0, 0.27.0, 0.28.0, 0.29.0, 0.30.0, 0.31.0, 0.32.0, 0.33.0, 0.34.0, 0.35.0, 0.36.0, 0.37.0, 0.38.0, 0.39.0, 0.40.0, 0.41.0, 0.42.0, 0.43.0, 0.44.0, 0.45.0, 0.46.0, 0.47.0, 0.48.0, 0.49.0, 0.50.0, 0.51.0, 0.52.0, 0.53.0, ...

and
[pipenv.exceptions.ResolutionFailure]:       Skipped pre-versions: 1.0.0a1, 1.0.0a2, 1.0.0a3, 1.0.0b1, 1.0.0b2, 1.0.0b3, 1.0.0rc1, 1.0.0rc1
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again.
 Alternatively, you can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.

I was trying to update the rollbar package when I found this problem.
Any help is much appreciated. Thanks in advance!

$ pipenv --support
Pipenv version: '2018.11.26'
Pipenv location: '/home/andrei/.envs/pgcom/lib/python3.8/site-packages/pipenv'
Python location: '/home/andrei/.envs/pgcom/bin/python'
Python installations found:

3.8.2: /home/andrei/.envs/pgcom/bin/python3.8
2.7.17: /usr/bin/python2

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.8.2',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '5.6.3-arch1-1',
 'platform_system': 'Linux',
 'platform_version': '#1 SMP PREEMPT Wed, 08 Apr 2020 07:47:16 +0000',
 'python_full_version': '3.8.2',
 'python_version': '3.8',
 'sys_platform': 'linux'}

System environment variables:

HOME
JOURNAL_STREAM
XDG_SESSION_ID
npm_config_prefix
VIRTUALENVWRAPPER_WORKON_CD
PAGER
LOGNAME
TERMINAL_EMULATOR
SHLVL
OLDPWD
WINDOWPATH
XDG_SESSION_CLASS
CLOJURE_HOME
LANG
EDITOR
LSCOLORS
TERM
DBUS_SESSION_BUS_ADDRESS
MAIL
VIRTUALENVWRAPPER_HOOK_DIR
PATH
INVOCATION_ID
LESS
VIRTUALENVWRAPPER_PROJECT_FILENAME
P9K_TTY
DISPLAY
PYCHARM_JDK
PWD
WORKON_HOME
XDG_VTNR
ZSH
VIRTUALENVWRAPPER_SCRIPT
XAUTHORITY
ANDROID_HOME
SHELL
XDG_RUNTIME_DIR
I3SOCK
GRADLE_HOME
DESKTOP_STARTUP_ID
USER
XDG_SEAT
LS_COLORS
ZDOTDIR
_
GTK_MODULES
MOZ_PLUGIN_PATH
XDG_SESSION_TYPE
__INTELLIJ_COMMAND_HISTFILE__
P9K_SSH
PS1
VIRTUAL_ENV
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv–specific environment variables:
Debug–specific environment variables:

PATH: /home/andrei/.envs/pgcom/bin:/home/andrei/.node_modules/bin:/home/andrei/bin:/home/andrei/.dotnet/tools:/home/andrei/.node_modules/bin:/home/andrei/bin:/home/andrei/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/andrei/Android/Sdk/emulator:/home/andrei/Android/Sdk/tools:/home/andrei/Android/Sdk/tools/bin:/home/andrei/Android/Sdk/platform-tools:/home/andrei/Android/Sdk/emulator:/home/andrei/Android/Sdk/tools:/home/andrei/Android/Sdk/tools/bin:/home/andrei/Android/Sdk/platform-tools
SHELL: /usr/bin/zsh
EDITOR: vim
LANG: en_US.UTF-8
PWD: /home/andrei/projects/wagtail-cms
VIRTUAL_ENV: /home/andrei/.envs/pgcom

Contents of Pipfile ('/home/andrei/projects/wagtail-cms/Pipfile'):
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
ipdb = "*"
ipython = "*"
flake8 = "*"
black = "==19.3b0"
pep8-naming = "*"
django-cachalot = "<=2.2.0"
# https://github.com/pypa/pipenv/issues/1921

[packages]
wagtail = "<2.6.0"
django-environ = "==0.4.5"
django-storages = "==1.7.1"
python-memcached = "==1.59"
rollbar = "==0.15.0"
wagtailfontawesome = "==1.1.4"
django-meta = "<1.6.0"
six = ">=1.1"
qrcode = ">=5.3"
django-dbbackup = "==3.2.0"
requests = "<2.23.0"
Django = "==2.2.2"
Fabric = "<2.5.0"
Faker = ">=1.0.4"
lxml = "*"
psycopg2-binary = "<2.9.0"
awscli = "<1.17.0"
boto3 = "<2.0.0"
django-extensions = "<=2.2.0"
gunicorn = "==19.9.0"
django-debug-toolbar = "==1.11"
django-anymail = "<6.1.0"
django-modeltranslation = "<0.14.0"
babel = "==2.7.0"
mailchimp3 = "<=3.0.7"
newrelic = "*"
gevent = "==1.4.0"
wand = "==0.5.6"

[requires]
python_version = ">=3.6"

$ pipenv graph
awscli==1.16.230
  - botocore [required: ==1.12.220, installed: 1.12.220]
    - docutils [required: >=0.10,<0.16, installed: 0.15.2]
    - jmespath [required: >=0.7.1,<1.0.0, installed: 0.9.4]
    - python-dateutil [required: >=2.1,<3.0.0, installed: 2.8.0]
      - six [required: >=1.5, installed: 1.12.0]
    - urllib3 [required: >=1.20,<1.26, installed: 1.25.3]
  - colorama [required: >=0.2.5,<=0.3.9, installed: 0.3.9]
  - docutils [required: >=0.10,<0.16, installed: 0.15.2]
  - PyYAML [required: >=3.10,<=5.2, installed: 5.1.2]
  - rsa [required: >=3.1.2,<=3.5.0, installed: 3.4.2]
    - pyasn1 [required: >=0.1.3, installed: 0.4.6]
  - s3transfer [required: >=0.2.0,<0.3.0, installed: 0.2.1]
    - botocore [required: >=1.12.36,<2.0.0, installed: 1.12.220]
      - docutils [required: >=0.10,<0.16, installed: 0.15.2]
      - jmespath [required: >=0.7.1,<1.0.0, installed: 0.9.4]
      - python-dateutil [required: >=2.1,<3.0.0, installed: 2.8.0]
        - six [required: >=1.5, installed: 1.12.0]
      - urllib3 [required: >=1.20,<1.26, installed: 1.25.3]
Babel==2.7.0
  - pytz [required: >=2015.7, installed: 2019.2]
boto3==1.9.220
  - botocore [required: >=1.12.220,<1.13.0, installed: 1.12.220]
    - docutils [required: >=0.10,<0.16, installed: 0.15.2]
    - jmespath [required: >=0.7.1,<1.0.0, installed: 0.9.4]
    - python-dateutil [required: >=2.1,<3.0.0, installed: 2.8.0]
      - six [required: >=1.5, installed: 1.12.0]
    - urllib3 [required: >=1.20,<1.26, installed: 1.25.3]
  - jmespath [required: >=0.7.1,<1.0.0, installed: 0.9.4]
  - s3transfer [required: >=0.2.0,<0.3.0, installed: 0.2.1]
    - botocore [required: >=1.12.36,<2.0.0, installed: 1.12.220]
      - docutils [required: >=0.10,<0.16, installed: 0.15.2]
      - jmespath [required: >=0.7.1,<1.0.0, installed: 0.9.4]
      - python-dateutil [required: >=2.1,<3.0.0, installed: 2.8.0]
        - six [required: >=1.5, installed: 1.12.0]
      - urllib3 [required: >=1.20,<1.26, installed: 1.25.3]
django-anymail==6.0.1
  - django [required: >=1.11, installed: 2.2.2]
    - pytz [required: Any, installed: 2019.2]
    - sqlparse [required: Any, installed: 0.3.0]
  - requests [required: >=2.4.3, installed: 2.22.0]
    - certifi [required: >=2017.4.17, installed: 2019.6.16]
    - chardet [required: >=3.0.2,<3.1.0, installed: 3.0.4]
    - idna [required: >=2.5,<2.9, installed: 2.8]
    - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.3]
  - six [required: Any, installed: 1.12.0]
django-dbbackup==3.2.0
  - Django [required: >=1.5, installed: 2.2.2]
    - pytz [required: Any, installed: 2019.2]
    - sqlparse [required: Any, installed: 0.3.0]
  - pytz [required: Any, installed: 2019.2]
  - six [required: Any, installed: 1.12.0]
django-debug-toolbar==1.11
  - Django [required: >=1.11, installed: 2.2.2]
    - pytz [required: Any, installed: 2019.2]
    - sqlparse [required: Any, installed: 0.3.0]
  - sqlparse [required: >=0.2.0, installed: 0.3.0]
django-environ==0.4.5
django-extensions==2.1.9
  - six [required: >=1.2, installed: 1.12.0]
django-meta==1.5.2
django-modeltranslation==0.13.3
django-storages==1.7.1
  - Django [required: >=1.11, installed: 2.2.2]
    - pytz [required: Any, installed: 2019.2]
    - sqlparse [required: Any, installed: 0.3.0]
fabric==2.4.0
  - cryptography [required: >=1.1, installed: 2.7]
    - asn1crypto [required: >=0.21.0, installed: 0.24.0]
    - cffi [required: >=1.8,!=1.11.3, installed: 1.12.3]
      - pycparser [required: Any, installed: 2.19]
    - six [required: >=1.4.1, installed: 1.12.0]
  - invoke [required: >=1.1,<2.0, installed: 1.3.0]
  - paramiko [required: >=2.4, installed: 2.6.0]
    - bcrypt [required: >=3.1.3, installed: 3.1.7]
      - cffi [required: >=1.1, installed: 1.12.3]
        - pycparser [required: Any, installed: 2.19]
      - six [required: >=1.4.1, installed: 1.12.0]
    - cryptography [required: >=2.5, installed: 2.7]
      - asn1crypto [required: >=0.21.0, installed: 0.24.0]
      - cffi [required: >=1.8,!=1.11.3, installed: 1.12.3]
        - pycparser [required: Any, installed: 2.19]
      - six [required: >=1.4.1, installed: 1.12.0]
    - pynacl [required: >=1.0.1, installed: 1.3.0]
      - cffi [required: >=1.4.1, installed: 1.12.3]
        - pycparser [required: Any, installed: 2.19]
      - six [required: Any, installed: 1.12.0]
Faker==2.0.1
  - python-dateutil [required: >=2.4, installed: 2.8.0]
    - six [required: >=1.5, installed: 1.12.0]
  - six [required: >=1.10, installed: 1.12.0]
  - text-unidecode [required: ==1.2, installed: 1.2]
gevent==1.4.0
  - greenlet [required: >=0.4.14, installed: 0.4.15]
gunicorn==19.9.0
lxml==4.4.1
mailchimp3==3.0.7
  - requests [required: >=2.7.0, installed: 2.22.0]
    - certifi [required: >=2017.4.17, installed: 2019.6.16]
    - chardet [required: >=3.0.2,<3.1.0, installed: 3.0.4]
    - idna [required: >=2.5,<2.9, installed: 2.8]
    - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.3]
newrelic==<IP_ADDRESS>
pipenv==2018.11.26
  - certifi [required: Any, installed: 2019.6.16]
  - pip [required: >=9.0.1, installed: 20.0.2]
  - setuptools [required: >=36.2.1, installed: 46.1.3]
  - virtualenv [required: Any, installed: 20.0.17]
    - appdirs [required: >=1.4.3,<2, installed: 1.4.3]
    - distlib [required: >=0.3.0,<1, installed: 0.3.0]
    - filelock [required: >=3.0.0,<4, installed: 3.0.12]
    - six [required: >=1.9.0,<2, installed: 1.12.0]
  - virtualenv-clone [required: >=0.2.5, installed: 0.5.4]
psycopg2-binary==2.8.3
python-memcached==1.59
  - six [required: >=1.4.0, installed: 1.12.0]
qrcode==6.1
  - six [required: Any, installed: 1.12.0]
rollbar==0.14.7
  - requests [required: >=0.12.1, installed: 2.22.0]
    - certifi [required: >=2017.4.17, installed: 2019.6.16]
    - chardet [required: >=3.0.2,<3.1.0, installed: 3.0.4]
    - idna [required: >=2.5,<2.9, installed: 2.8]
    - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.3]
  - six [required: >=1.9.0, installed: 1.12.0]
wagtailfontawesome==1.1.4
  - Django [required: >=1.7.1, installed: 2.2.2]
    - pytz [required: Any, installed: 2019.2]
    - sqlparse [required: Any, installed: 0.3.0]
  - wagtail [required: >=1.4.0, installed: 2.5.2]
    - beautifulsoup4 [required: >=4.5.1,<4.6.1, installed: 4.6.0]
    - Django [required: >=2.0,<2.3, installed: 2.2.2]
      - pytz [required: Any, installed: 2019.2]
      - sqlparse [required: Any, installed: 0.3.0]
    - django-modelcluster [required: >=4.2,<5.0, installed: 4.4]
      - pytz [required: >=2015.2, installed: 2019.2]
    - django-taggit [required: >=0.23,<1.0, installed: 0.24.0]
      - Django [required: >=1.11, installed: 2.2.2]
        - pytz [required: Any, installed: 2019.2]
        - sqlparse [required: Any, installed: 0.3.0]
    - django-treebeard [required: >=4.2.0,<5.0, installed: 4.3]
      - Django [required: >=1.8, installed: 2.2.2]
        - pytz [required: Any, installed: 2019.2]
        - sqlparse [required: Any, installed: 0.3.0]
    - djangorestframework [required: >=3.7.4,<4.0, installed: 3.10.2]
    - draftjs-exporter [required: >=2.1.5,<3.0, installed: 2.1.6]
    - html5lib [required: >=0.999,<2, installed: 1.0.1]
      - six [required: >=1.9, installed: 1.12.0]
      - webencodings [required: Any, installed: 0.5.1]
    - Pillow [required: >=4.0.0,<6.0, installed: 5.4.1]
    - pytz [required: >=2016.6, installed: 2019.2]
    - requests [required: >=2.11.1,<3.0, installed: 2.22.0]
      - certifi [required: >=2017.4.17, installed: 2019.6.16]
      - chardet [required: >=3.0.2,<3.1.0, installed: 3.0.4]
      - idna [required: >=2.5,<2.9, installed: 2.8]
      - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.3]
    - six [required: >=1.11,<2.0, installed: 1.12.0]
    - Unidecode [required: >=0.04.14,<2.0, installed: 1.1.1]
    - Willow [required: >=1.1,<1.2, installed: 1.1]
Wand==0.5.6

I managed to resolve this. I just needed to update the version for awscli and do pipenv lock.


unable to install according to your instructions

hi there, what version of ubuntu and python is your installation compatible with?

A few things I had to do to get it to run according to the instructions on a fresh copy of Ubuntu 16.04
sudo pip install -U setuptools
sudo apt install libssl-dev
Soled it for me.


stateful iteration

Using Iterators.Stateful, we can rewrite our Sobol sequence interface as
export SobolHypercube

struct SobolHypercube{k} <: Hypercube{k}
    seq :: SobolSeq{k}
    value :: Vector{Float64}
    iter :: Iterators.Stateful{Vector{Float64}, Union{Nothing, Tuple{Float64, Int64}}}

    function SobolHypercube(k::Int)
        seq = SobolSeq(k)
        value = Sobol.next!(seq)
        return new{k}(seq, value, Iterators.Stateful(value))
    end
end

export next!

function next!(ω::SobolHypercube)
    Sobol.next!(ω.seq, ω.value)
    ω.iter.nextvalstate = iterate(ω.value)
    ω.iter.taken = 0
    return ω
end

Base.rand(ω::SobolHypercube) = popfirst!(ω.iter)

@ParadaCarleton @mschauer how does this look?

We can abstract this a little, then Sobol and GoldenSequences should be able to share the same code

Looks good! Don't see any issues.

Am I right to assume we only need ever infinite sequences (which perhaps repeat?). In that case I think we should implement our own version of stateful.

@mschauer I think I know what you mean, but maybe we should introduce some terminology to be safe. For both Sobol and GoldenSequences, the user selects a dimensionality at construction time (well, GS can do some other fancy things, but let's ignore those for now). If we ask for a k-dimensional sequence, let's call those k elements "inner", so "inner traversal" or "inner iteration".
So we generally step through these k elements, and then "step" or "reset" or next! (or whatever) the sequence. This loads the next k elements. Let's call this reloading an "outer" operation.
Ok, so with that I think the inner iteration will generally be finite (I think it has to be?), but the outer iteration will not.


Make state preparation ansatz

A Bogoliubov transformation with parameterized angles. VariationalStudy should also be modified to account for parameters in the state preparation part of the circuit.

@kevinsung can this be closed?

Although we've been rethinking how we want to be implementing variational algorithms, this is still something we'll want. It's implemented in some form in the Hartree-Fock experiment, but let's keep this open until we extract it into a library routine, or decide to do something else.


document integration test cloud vs local

please add some documentation at the top of the files so it's clear why we have them

OK I'll add to .github/workflows/README.md

no need to add a readme, you can add a comment at the top of each workflow yaml file

Done, plz review
https://github.com/ploomber/jupysql/pull/585


ensure local storage is saving and transferring selections from index.html user selections to results.html

Local storage working to save user choices.


Resizing the terminal removes lines

Hello!
I'm using xterm in a new Electron-based IDE we're developing for Tingbot. Thanks for the library, it's proving to be super-useful.
I'm running up against some strange behaviour when resizing the terminal, which occurs more often than most terminals due to our window layout - the terminal is a panel at the bottom of the window that slides up and down

When resizing this panel we see unexpected behaviour from the terminal, when it's getting smaller, it removes lines from the top of the scrollback, and when getting bigger, it adds lines to the bottom - so it moves text off the screen if it's closed/opened.
I've had a look at the source and the problem seems to be around xterm.js:2526 - I think the terminal could just adjust its scroll position, rather than adding/removing rows.
I'd be happy to submit a pull request, if somebody could give me a pointer about how the scroll position is stored - I've seen two variables - this.ydisp and this.ybase - what do these do?

Hi @joerick, thanks for reporting!
Investigating this right now in order to reproduce. Possibly it got introduced after merging this PR: https://github.com/sourcelair/xterm.js/commit/685bc54bf297b094ec9f02b911f4396a56593a40.

Hi @joerick, could you please checkout the latest commit on xterm.js' master branch (cf9d2348a1c315f0c8d46000550e7bc91ac18121) and let me know if this is fixed?
This should not be the case after we merged #101.
Also, remember to resize the back-end pty manually every time you adjust the front-end terminal's dimensions.

Hey @parisk, just tried again. Still having a problem-

However, it's improved by the fact that the lines aren't being removed any more, so the logging data is still in the scrollback. Perhaps the solution is to only add new lines to the bottom of the terminal if the scrollback is too small to fill the screen?

Hi @joerick could you please checkout the latest version of master and try again? After merging #112 this should be fixed.

Confirmed - this is fixed! :)


Ability to adjust margins of labels in preview

From Chinese University of Hong Kong, Shenzhen
iQuest case 06780238

It will be better if customer is able to adjust the margins in the preview interface for each small cell;
There is a print grid which could help on settings but the grid line will be printed on label as well, is that possible to use the grid for settings but not print it?
It's better to be able to adjust the line spacing. This customer has some books with long call number which cannot be printed in the label completely. For now they can only adjust the font size to smaller, which will bring those books having a different type of labels, the librarians don't like it.

Preview/editing labels before printing available in the v1.4.0-beta version. To try the beta, click the "i" (information) icon on the SpineOMatic tile in the "Cloud App Center" in Alma, then click the "Try v1.4.0-beta" link.
Please add feedback/comments to this issue. Thank you.


Netflix (streaming) does not work

System Details

OS: win 11
Thorium Version : 117.0.5938.157 (Offizieller Build) (64-Bit)

Problem
no streaming for netflix
no widewine error? idk
Screenshots

Additional Notes
https://help.netflix.com/en/node/61874

tested in icocnito and normal mode

please see
https://github.com/Alex313031/Thorium-Win/issues/73#issuecomment-1771990676


[Bug] Developer forgot to include changelog in releases

Describe the bug
I've noticed the past several (perhaps more) releases have had no change log available. As this is somewhat of a convention for open software, or really any software that purports to stand for the members of the public that need their services, I respectfully request that change logs be included with all current and future releases.
Users deserve better than "Bug fixes and improvements"
How to Reproduce
Go to releases page and see thee is no change log
Expected behavior
See changes applied.to this release version
Environment
- DDG App Version:5.194.0
- Device:any android
- OS: any

No change:
5.195.0
Latest
What's new in this release?
Bug fixes and other improvements

@anikiki did you mean to close this as completed when it hadn't been addressed, or simply to dismiss my concern?

@s38b35M5 Our GH release notes follow what we publish on the Play Store. We don't have any immediate plans to change that.

Where can users find the actual release notes and changelog? Is it that wild to want to know what is being changed?

@aitorvs @anikiki can you please point me to where you have the changelog and release notes?

As a user of this app, finding a real changelog is important to me. The refusal to include changes or even a link to the changes is one thing, but now the changelog is being abused to include advertisements of premium features, and still no trace of any changes between versions.
@anikiki @aitorvs can you please -- even if you insist that these ads are great, and you need not list actual changes here on GH -- can you PLEASE direct me to the actual changelog and release notes?


Define and Expose a CDS-Based Travel Data Model

Tutorials: https://developers.sap.com/tutorials/abap-environment-data-model.html
Getting the following error "unexpected work root; the key work VIEW was expected" at the following line:
define root view entity ZI_TRAVEL_M_XXX

Hi @alexalmeidabr ,
did you replaced all XXX with your number or initials? Use CTRL + F to search and replace all Xs.
Best regards,
Merve

Thank you for your feedback. We haven't heard from you in a while, so we are closing the issue.
If you still have questions, feel free to reopen the issue.


Laravel  5.8.29 has isuue with helper function  module_path('Blog');

The error is :
Call to a member function getPath() on null
at C:\wamp64\www\nfp\vendor\nwidart\laravel-modules\src\helpers.php:8
4|    function module_path($name)
5|     {
6|         $module = app('modules')->find($name);
7|
8|         return $module->getPath();
9|     }
10| }
11|
12| if (! function_exists('config_path')) {

That seems strange, is the service provider from laravel-modules registered?

I'll close this as there hasn't been a reply in a while, feel free to comment if needed.

@nWidart just a quick update to this issue.
This error happens when you are moving your packages into separate composer packages and push them to eg. github.
When you try loading the module and don't have "type": "laravel-module" set in your composer.json and have not installed the package joshbrw/laravel-module-installer you'll get the error from above. This error is caused by the Service Provider autoloading somehow that loads module stuff too early or something like that.
If you do everything like described in the Publishing modules section, you'll be able to successfully install all the modules without the error from above.

Weird, I don't use that package in asgardcms and it works.
What you say makes me think of something different though, you could try to require the laravel/support or wherever the laravel service provider setup is, as well as checking where the app() function is defined.


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

When I input command:
bash stega_llff.sh fern cvpr_logo.png 0

Specifically, the command in stega_llff.sh goes wrong:
python opt.py -t ckpt_svox2_low  ../data/llff/fern --gpuid 0 -c configs/llff_low.json
I want to know why this problem happens, and how to deal with it.

I meat the same problem, I would appreciate it if you can tell me how to deal with it.

Now, I have solved this problem with the help of https://github.com/sxyu/svox2/issues/49. We need to compile the svox2 file before running this project.

https://blog.csdn.net/weixin_40678496/article/details/124348438
This blog may be helpful. Now both Plenoxels and StegaNeRF projects can run on my PC, partly. Because I've only got 8GB for the CUDA. :)
Anyway, thanks for discussing with me and wish that you will get some "magic" in your researching path, so as deep learning.

Please refer to https://github.com/sxyu/svox2/issues/49. You need to use cmake to compile the svox2 file before running this project. Thanks!

Hello, Did anyone find any solution to this problem? Even I am facing this problem.


Compiler does not generate the sass built-in function correctly

Hi,
When i used the sass:math module, and used one of the math.div function, compiler version 5.1.0 does not generate the css for the property and also generates an error css file.
File containing the built in

generated CSS:

Please use the scss files in the attached zip file.
shinobi.zip
Also setting Show Output Window On: Debug is not working.

Duplicate of #125


Unable to upload base64 encoded files

Hi,
I'm a fairly new user to pocketbase and I'm having trouble creating records with image files that are base64 encoded fom a typescript app.
I have my image stored in a string that looks like this:
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAIAAAB7GkOtAAAAaGVY....
The image is correct as I use the same string in an  tag and it shows nicely.
I found the following base64 to Blob conversion function online (https://stackoverflow.com/a/61321728) but I am unable to make it work.
Here is a copy of my code:
  function DataURIToBlob(dataURI: string) {
        const splitDataURI = dataURI.split(',')
        const byteString = Buffer.from(splitDataURI[1], 'base64').toString();
        const mimeString = splitDataURI[0].split(':')[1].split(';')[0];

        console.log(mimeString) // "image/png"

        const ia = new Uint8Array(byteString.length)
        for (let i = 0; i < byteString.length; i++)
            ia[i] = byteString.charCodeAt(i)

        return new Blob([ia] ,{ type: mimeString })
      }

  async function save() {
    const formData = new FormData();
    formData.append("text", text);
    formData.append("owner", currentUser.model.id);

    let blob = DataURIToBlob(cover);

    formData.append("cover", blob);
    await pb.collection('stories').create(formData);
  }

The cover field is not mandatory, if I comment out formData.append("cover", blob);, then the record gets properly created.
But if I leave it in I get the following error message:
code : "validation_invalid_mime_type"

message : "The following mime types are only allowed: image/jpg,image/jpeg,image/png,image/svg+xml,image/gif."

I tried modifying the DataURIToBlob function to remove the mimetype, adding a filename to formData.append("cover", blob, "cover.png"). But the outcome is always the same.
I also set the debug flag when starting  pocketbase executable but the logs shown are basically the same as what is shown in the web browser logs.

Are you using the native browser FormData or a polyfill?
You can also try instead of Blob to append a File instance created from it, eg.:
formData.append("cover", new File([blob], "originalFilename.png", { type: "image/png" }));

(note: the frontend submitted mimetype doesn't really matter; we validate the mimetype server-side based on the first couple bytes)

Thanks for the help, turns out my issue was in the base 64 to Blob conversion function. Somewhere in the process some chars where converted to values way above the max value of 255 for a unit8.
Here is a modified version that works just fine for my use case:
function base64StringToBlob(dataURI: string): Blob {
        const splitDataURI: string[] = dataURI.split(','); // splits prefix "data:image/png;base64,"
        const buf: Buffer = Buffer.from(splitDataURI[1], 'base64');
        return new Blob([buf]);
      }

  async function save() {
    const formData = new FormData();
    formData.append("text", text);
    formData.append("owner", currentUser.model.id');

    let blob = base64StringToBlob(cover);

    formData.append("cover", blob, 'cover.png');
    await pb.collection('stories').create(formData);
  }


bug: SiblingSubgraph::create_simple_replacement compares signatures incorrectly

The function compares the signatures of the subgraph and replacement for equality:
https://github.com/CQCL/hugr/blob/4c1c6ee4c7d657c4bdb6b37c2237ae3f06b8d0be/hugr-core/src/hugr/views/sibling_subgraph.rs#L384-L385
However if the replacement had any disconnected outputs or multi-connected outputs this would fail because the current signature is calculated by iterating of the subgraph edges.
Suggestion that this check is disabled as a temporary workaround and replaced with a correct signature computation for the current graph as a fix.

See failing test: 2be11475028fe4c59f6a4094cb0c7404b2dc0286


Performance regression on large tables

Problem:
I was playing around with Sortable a few months ago and it was working great for large (~500 rows) tables aside from some strange ghosting issues that only appeared in Chrome on Windows when using Windows built in DPI scaling. The version I was using back then was 1.10.0-rc3
I updated my project to use the latest release of Sortable so I could check if the ghosting issue is still present. Sadly, it is. Additionally there is now a large pause before the tr leaves one tbody and enters into the other tbody.
JSBin/JSFiddle demonstrating the problem:
https://jsbin.com/bisucakeze/1/edit?html,js,output is 1.10.0-rc3
https://jsbin.com/pusiboxaji/1/edit?html,js,output is latest

I have similar but strange issue. Performance is amazingly bad when I try to sort element which has hidden elements inside.

Is there any update on this?
I was running into performance issues using version 1.14.0 (Latest) when I had are 150 sortable instances. I tried commenting out the events, but still had lots of lagging making my app non-usable. I tried setting all the instances to forceFallback: true and animation: 0, but that still didn't help.
To fix this the only thing that I found to work was reverting back to version 1.9.0.

I believe the issues #1418 #1108 #1109 all are related to this issue.

Any update on this?  this is major blocking issue for my project.   and digging through suggested solutions hasn't yielded anything yet.  not sure if this code is maintained anymore...

I had this problem in Chrome and Safari (Firefox performance was always perfect) when using lots of lists (more than 700) for making a calendar. Each day of each month was a list where you could put various elements and drag from one lists to another. When I loaded just one year (12 months, around 360 lists), performance was OK, but with two years or more, performance went down de toilet. Adding this properties to the config object fixed it:
animation: 0,
forceFallback: true,

Here was my complete config for SortableJS:
const MAX_ELEMENTS_PER_LIST = Infinity;
export const configSortable = {
    group: {
        name: 'calendar',
        // Impede adding more elements to the list if it already has MAX_ELEMENTS_PER_LIST elements.
        put: function (to) {
            return to.el.children.length < MAX_ELEMENTS_PER_LIST;
        }
    },
    ghostClass: fantasma,

    // NEW: Mandatory for a good performance when using hundreds of shared lists.
    animation: 0,
    forceFallback: true,
};


Package does not install through npm.

Hello.
I'm trying to install the package but I got error.
I test the two method of installation.

Hello, you need to install Git to install this package.

install git
open git bash
retry to install the package

@Androz2091 did  as you said but I still got the same error.

That's weird. Can you try to run git --version?
Also, it was to fix the error with  npm istall github:dilame/instagram-private-api, not the error with npm install instagram-private-api.

@Androz2091 I solved the problem. it was my npm command.


Basic Fixes to the documentation

Reorders the documentation, and updates the instillation guide.
Please ensure your pull request adheres to the following guidelines:

[ ] Tests for new functionality/models or Tests to reproduce the bug-fix in code.
[ ] Updated documentation of features that add new functionality.
[ ] Update CHANGELOG.md with major/minor changes.

I don't understand the cfg changes, but I trust those are correct (or it will quickly become evident that they're not). All off this looks good, and I only caught two typos on my readthrough, duplicates of the same one. Do a ctrl+F for "glitter", which should be "gitter", and there's a missing "us" in the same sentence.
I'll just fix that now and then merge.

Merging without letting tests run because the last commit was just typo fixes to README.


Added tests for productPath.ts & condaInstaller.ts

For #9231

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[ ] Has a news entry file (remember to thank yourself!)
[ ] Appropriate comments and documentation strings in the code
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[x] Unit tests & system/integration tests are added/updated
[ ] Test plan is updated as appropriate
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed)
[ ] The wiki is updated with any design decisions/details.

Codecov Report

Merging #9291 into master will decrease coverage by 0.27%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #9291      +/-   ##
==========================================
- Coverage   58.65%   58.38%   -0.28%
==========================================
  Files         537      537
  Lines       28391    28060     -331
  Branches     4303     4308       +5
==========================================
- Hits        16654    16384     -270
+ Misses      10798    10736      -62
- Partials      939      940       +1

Impacted Files
Coverage Δ

src/client/common/installer/condaInstaller.ts
97.56% <100%> (+9.75%)
:arrow_up:

src/client/common/installer/productPath.ts
100% <100%> (+12.06%)
:arrow_up:

...nt/datascience/jupyter/invalidNotebookFileError.ts
0% <0%> (-60%)
:arrow_down:

...jupyter/kernels/jupyterKernelPromiseFailedError.ts
0% <0%> (-33.34%)
:arrow_down:

src/client/formatters/serviceRegistry.ts
50% <0%> (-25%)
:arrow_down:

.../client/datascience/jupyter/jupyterConnectError.ts
50% <0%> (-25%)
:arrow_down:

src/client/language/characters.ts
14.7% <0%> (-19.58%)
:arrow_down:

...cience/jupyter/jupyterDebuggerNotInstalledError.ts
33.33% <0%> (-16.67%)
:arrow_down:

src/client/common/utils/platform.ts
64.7% <0%> (-11.77%)
:arrow_down:

...ience/jupyter/jupyterDebuggerRemoteNotSupported.ts
50% <0%> (-10%)
:arrow_down:

... and 34 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 9c698f7...34a7c79. Read the comment docs.


Buffer list

shows how to union a list of buffers with individual distances

@john0005 can you please review?


[Refactor] popupCategoryDesc component

File Name
components/popup/popupCategoryDesc.tsx
Reason for Refactoring the Code

I will optimize and refactor everything in the component and remove the following warnings.

Checklist

[X] I have checked the existing issues.
[X] I have read the Contributing Guidelines.
[X] The changes don't break the code and don't introduce new functionality.
[X] I am willing to work on this issue (optional).
[X] I am a GSSoC23 contributor.

Already handled


sbi_remote_sfence_vma and co.: what does it mean for start_address or size to be invalid?

Currently, the documentation around the various rfence functions states that they're able to return SBI_ERR_INVALID_ADDRESS whenever start_address or size is "invalid", however its not clear how those values would be considered invalid. OpenSBI doesn't seem to check for any kind of invalid values:
https://github.com/riscv-software-src/opensbi/blob/013ba4ef3d94de67d040376535131012134ed54f/lib/sbi/sbi_tlb.c#L79-L98
void sbi_tlb_local_sfence_vma(struct sbi_tlb_info *tinfo)
{
	unsigned long start = tinfo->start;
	unsigned long size  = tinfo->size;
	unsigned long i;

	sbi_pmu_ctr_incr_fw(SBI_PMU_FW_SFENCE_VMA_RCVD);

	if ((start == 0 && size == 0) || (size == SBI_TLB_FLUSH_ALL)) {
		tlb_flush_all();
		return;
	}

	for (i = 0; i < size; i += PAGE_SIZE) {
		__asm__ __volatile__("sfence.vma %0"
				     :
				     : "r"(start + i)
				     : "memory");
	}
}

size seems to be the size of the region in bytes to SFENCE.VMA (which I think could be made more clear as well, as in my opinion its easy to confuse size to mean either a byte size or a page count, even though the latter doesn't make sense) and OpenSBI does nothing except check for some sentinel values for some specific behaviors. Meanwhile, SFENCE.VMA can't trigger an exception as per the spec:

If the value held in rs1 is not a valid virtual address, then the SFENCE.VMA instruction has no effect. No exception is raised in this case.

And I doubt that any implementation is going to attempt to walk page tables to determine if the address is valid w.r.t virtual memory mappings.
The only error case I can think of is passing a size that's not a multiple of 4 KiB, but I'm not sure if there's sufficient reason to actually do so other than being somewhat paranoid about parameter correctness.

IMO, there should be no errors, by definition; the range flushed should be [round_down(addr, 4096), round_up(addr + size, 4096) - 1].  This follows the definition of the sfence.vma instruction itself, which explicitly permits invalid address arguments.

The SBI_ERR_INVALID_ADDRESS was mainly for alignment and sanity checks.
Existing SBI implementations (e.g. OpenSBI, KVM, Xvisor, etc) generally don't return this error.
Regards,
Anup

Closing this issue. Please reopen if it is not resolved.


Fix QualifyRedirectURL explanation text

Text was copied from the line above, should have been changed

Thanks, fixed in http://svn.apache.org/r1734835.


Adding current block height in rescan page

May helpful showing the current blockchain height in the rescan page.

@sanada08 could you please more specific on this requirement

This issue has been fixed.


Wiki doc sometimes fails to load

To reproduce:

browse to a doc
browse to dashboard
press Back button to return to doc

Expect: doc to load
Actual: displays "..loading.." message.

Turns out this was because we had loading: true in getInitialState, and because the doc was already in the store when we return to it, the expected lifecycle functions weren't being triggered to take us out of loading state.

I think we now have a side effect: i'm not able to create new docs anymore.

Search for a non-existing id "foobar123"
Displays "..loading (foobar123).."

Proposed fix on #47


Update CI workflow for Linux

GH actions issues this warning:

Annotations
1 warning
Insert package (drat) : .github#L1
The ubuntu-16.04 environment is deprecated and will be removed on September 20, 2021. Migrate to ubuntu-latest instead. For more details see https://github.com/actions/virtual-environments/issues/3287

We should update CI workflow in hySpc repos. There are some specifics in the main hyperSpec repo, so a separate issue will be opened there too.

Fixed by https://github.com/r-hyperspec/pkg-skeleton/commit/6f48374315c4f64739a07016b25d234160b6a90a (here, and all other packages; note that there seems to be a GHA configuration problem for R-release, they seem to be missing stringi)


[ARI] Add app-autoscaler-ci-bot to ARI WG bots

:key: The App Autoscaler CI uses this bot's credentials to interact with the App Autoscaler GitHub repos.
:-1: The bot currently gets its access from the the cf-autoscaler team, which will likely be deleted when #262 is implemented.
:arrow_right: Bring the bot account into the fold as a working group bot.

@Gerg Could you please review this? Thanks!

I'm not sure what the process is for approving bot accounts. I went ahead and added the TOC as approvers. Let me know if that is not necessary.


Move from unix to syscall package for SIG* signals

To support cross compilation for SIG* signals perfer the syscall package over
the unix package.
Signed-off-by: Justin Terry (VM<EMAIL_ADDRESS>

/lgtm
Will merge after test passes.


Lib_Python: Update dependencies

@osisoft/product-readiness-guild This PR is higher priority as it updates the dependency on requests (and changes the requirement to >= instead of ==). Until this PR is merged, all the other Python PRs that use ocs_sample_library_preview will fail.


Fetch blank string from remote config

After upgrading to Remote Config 6+, the stringValue fetch is blank. The same code was working for earlier versions. Please suggest.
This is the response I am getting after the upgrade.
`po remoteConfig[FORCE_UPDATE_REDIRECTION_URL]
<FIRRemoteConfigValue: 0x60000277a260, Boolean: 0, String: , Number: 0, JSON:(null), Data: <>, Source: 2>`

Can you share a minimal project that reproduces this?

This is the value on my Remote config console.

Then what I am doing is:
`func setupConfig() {
remoteConfig = RemoteConfig.remoteConfig()
let settings = RemoteConfigSettings()
remoteConfig.configSettings = settings
var dict = String: NSObject
dict[VERSION_NUMBER] = fetchVersionNumber()
dict[BUILD_NUMBER] = fetchBuildNumber()
remoteConfig.setDefaults(dict)
}
func fetchConfig() {
    let expirationDuration = 0
    remoteConfig.fetch(withExpirationDuration: TimeInterval(expirationDuration)) { [weak self] (status, error) -> Void in
        if status == .success {
            self?.remoteConfig.activate(completionHandler: { (error) in
                if error != nil {
                   print("Config not activated. Error: \(error?.localizedDescription ?? "No error available.")")
                } else {
                    self?.activateUpdateAlert()
                }
            })
        } else {
            print("Config not fetched. Error: \(error?.localizedDescription ?? "No error available.")")
        }
    }
}

func activateUpdateAlert() {
let remoteConfigVersion = remoteConfig.configValue(forKey: VERSION_NUMBER)
let remoteConfigBuild = remoteConfig.configValue(forKey: BUILD_NUMBER)
let isForceUpdateRequired = remoteConfig.configValue(forKey: IS_FORCE_UPDATE_REQUIRED)
let forceUpdateRedirectionUrl = remoteConfig.configValue(forKey: FORCE_UPDATE_REDIRECTION_URL).stringValue
}`
And since I am not able to fetch value over here, my force update functionality breaks.
I have a major dependency over remote config variables for other functionalities too.

Is there any error printed to console?

Hey, it looks like your code never calls activate after you've successfully downloaded the new set of values from Remote Config. Think that might be it? Check out step 5 here: https://firebase.google.com/docs/remote-config/use-config-ios

(Comment deleted because I can't read.)

No. There is no error on console.

This sounds like a bug in Remote Config. I'll try to take a look sometime next week to reproduce it. In the meantime you can try copy-pasting your config values and running the quickstart app to see if the issue is reproducible.

@Samiksha-Toshniwal were you able to repro this issue with the sample app?


Memory leak possibly??

I have only just started testing this sever so maybe I am doing something stupid but it would be good to know what if I am! I am running the Dev branch of the server dll and using the demo project WebDAVSharp.FileExample in a simple console application mode. I have tested both in debug and release mode outside of VS and find that the memory utilization is ramping up to 6GB so far after transferring 66,000 files into the server. Once it gets much higher the application hangs. Am I doing something stupid? Is there some in memory database keeping track of stuff or is it a real leak?
Any thoughts would be appreciated.

I just noticed the same thing. I first thought it's because of the internal cache, but after disabling the cache, it becomes even worse. After enumerating 20,000 file infos the GC became busy and did not stop after serveral minutes.
I wonder if the cache has been implemented for more speed or to "save" memory due to memory leaks.

Can you give some instructions on how to reliably replicate this?


Gather and report on test machine usage and shortages

We need to look at where we are either short on machines (where queue is long, or we don't get through the nightly testing before the next nightly is kicked off) and request machines, and where we are under-utilizing machines to return them if not needed, so we have the right set in the farm.
Audit [openjdktest|systemtest|externaltest|perftest|functionaltest] jobs average queue times and average executionTimes, per platform with goal to create a prioritized list of platforms most in need, and to identify any anomalies (super slow machines).

platform     online      offline
windows     1              2
aarch64      1
s390x         1
mac            2
ppc64le     2
xlinux         5
aarch32                      1  (borrowed build machine)
aix                               1  (borrowed build machine)

We expect new test mac and windows machines before the July release.  That leaves only s390x where we will be in short supply.  Closing this now, can open a new issue should we need to revisit.


envopen compile check in some function

Proposed changes
Issue Number: close #xxx

run buildall

run buildall

run buildall


[Enhancement] Merge Beta Branch into Main

Description
This pull request aims to merge the beta branch into the main branch, incorporating several new features and improvements into the codebase. Here's an overview of the changes included:
Features and Enhancements:

Sidebar formatting:

Added a helper function to help format tables with > quote and *** separators.

Header Tables:

Added Discord table.
Added team record table.

Sidebar Tables:

Added division standings table.
Added custom URL (socia/media/etc) tables.

Minor Fixes:

Added section data into parameters for custom URL table support.
Reworked some of the parameter names to be easier to support.
Updates package version and dependency package verions.
Updated entrypoint (src/index.mjs) with correctly ordered output.
Fixes minor syntax/linting issues.
Fixes timezone default values.

LGTM! 🚀


Change networks to goerli, OP goerli

Current dependencies on/for this PR:

main

PR #17   👈

PR #9

This comment was auto-generated by Graphite.


[bug]: the "tlsencryptkey" parameter avoids starting a new instance (without seeds saved)

Background
The tls.cert file is not created on a new LND node instance due to having the tlsencryptkey=true parameter on the lnd.conf
https://github.com/lightningnetwork/lnd/blob/master/sample-lnd.conf#L74-L75
when you exec lncli to create the wallet and import or generate new seeds, the prompt shows you the next error output:
[lncli] could not load global options: could not load TLS cert file: open /home/lnd/.lnd/tls.cert: no such file or directory

I think the tls.cert needed to use lncli is not created, due to tls.key is not created, because there are no existing seeds for encryption yet
Your environment

version of lnd: v17.0
which operating system: Ubuntu Server 22.04.3 LTS
version of bitcoind: Bitcoin Core v25.1

Steps to reproduce
On a new LND node (without seeds saved)

Set tlsencryptkey=true on the lnd.conf file
Start LND
Exec lncli create
...the previously mentioned error appears...

Expected behaviour
the startup routine should be changed and the tls.key file should be encrypted with node seeds automatically only after the wallet has been created or the existing wallet opened, and the seed's storage
Actual behaviour
[lncli] could not load global options: could not load TLS cert file: open /home/lnd/.lnd/tls.cert: no such file or directory

Additional conclusion
The manual fix:
If you delete or comment the tlsencryptkey=true parameter of the lnd.conf file, you can start LND without issues and then create the wallet. Finally include again or uncomment the tlsencryptkey=true and restart LND, the parameter takes effect and the tls.key file is encrypted, but I think that it shouldn't be necessary to do manually, and LND should include the necessary logic on the startup routine to prevent your startup from not working in the first instance (without seeds) due to having that parameter enabled.

I think the tls.cert needed to use lncli is not created, due to tls.key is not created, because there are no existing seeds for encryption yet

There's a tls.cert.tmp that's created in your .lnd folder which you should be able to use for wallet creation.

Ok, I solved this by adding the --tlscertpath flag with the path of the tls.cert.tmp file to the lncli create command
eg. lncli --tlscertpath /.lnd/tls.cert.tmp create
Is there any provision for this logic to be included in the LND code without having to use this command in the first instance?
If not, you can close that issue as solved.


Clicking on drop info to show ship in navy-album

Requires at least<EMAIL_ADDRESS>to work
Triggers only when Navy Album is openned or is running in background
Bold font when the message is clickable

seems not enough pretty to hardcode another plugin's name and check if it is open aside from ipc. It would be better to unregister ipc with window's unload event, and I'll add ipc service list to redux store to avoid checking it during render


add German license plate prefixes

It's a static node module that contains a JSON file.

bump.

the "BBL" entry has a couple of mistakes (I guess its value should be "Brandenburg Landesregierung und Landtag")

The file doesn't contain this anymore at master. Also, the data is often wrong upstream, which is imho not a reason to exclude the repo from this list.

ping (:


Remove null coalescing in LINQ

Summary
Remove null coalescing in LINQ
Fixes #27831
✔ Preview: Perform left outer joins
Hey @BillWagner, I'm curious about how you feel about not including a .csproj in this case? If we do, the code will break as it's actually not valid C# and won't compile as is. It's not a valid top-level statement app. Here is the error.

@IEvangelist
My first impression is to modify the organization of the code such that it can compile (even if that means using snippet tags to extract only some of it for the article).
If that's not a major time investment, we should keep slowing improving.


Did the graphics/UI for the timeline change, or am I going crazy?

This seems like a totally nuts question, but ever since 5.4 I swear my timeline looks different, like the color of the text and the  countdown seem to use a different style font and color. I have a pretty serious vision disability and it seems way, way harder to read since the last update. Am I going nuts, or maybe something is borked on my ACT, but it got way harder to read suddenly. If it did change, is there any way to change it back? I don't know if this is even the right place to ask, but cactbot doesn't seem to have a discord so I had no idea where to go.

Apologies, I'm adding pictures for reference.


support for email detection

Since we are covering URL and #hastags then adding email support could be a good idea

Nice idea! I'll check!

@Bhupesh-V I've checked and couldn't find a good way to check for email's word by word. there are lots of regexes for checking if email is valid but failed to find a regex for checking word by word inside a sentence. I'd love to have see if you have any suggestions regarding this


Bidi class optimization

bidi_class_for as it stands now is very slow. A linear search and the multiple parseInt calls per character are to blame.
I ended up fixing the generated file directly for my own application. I've created a pull request with that file to show the changes that would ultimately have to happen when generating the javascript files.
The bidi_classes object is now a sorted array of ranges, and the bidi_class_for method performs a binary search to find the correct range.

Thanks for figuring this one out, @edkimmel!
As you noted yourself, this file is in fact generated. The original CoffeeScript code can be found over here with the data generated in Ruby over here. Do you think you could apply your changes to the original implementation so we can regenerate all JS files from it?

Thanks, yes, the file is generated. @KL-7 Thanks for CoffeeScript code.

@edkimmel @montanamendy Any progress getting this added to the Coffeescript?

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Edward Kimmel seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


VALI-5458 :: Add Client Scripts Python Packages

Requested Python packages added.

Commits

101a9f8 Requested Python packages added

More details about this issue at VALI-5458 — Jira

For reference these are the added libs:


Content updates to Getting Started

Problem statement
The accepted data types and conditions section of the Getting started page should be updated to include additional conditions via request from Mo to promote more current status of conditions than the initial page draft.
What you need to know

Page to update
content ticket

Acceptance criteria
Under accepted data types and conditions

[ ] "More coming soon" updated to "Flu"
[ ] "We are currently piloting flu data and have plans to expand to more reportable conditions soon." Updated to "We are currently adding support for RSV and HIV, and building support for all reportable conditions."

@chris-kuryak


[#113436157] Add 'Admin home' breadcrumb link to pages without it

This pull request fixes a bug whereby a couple of pages didn't have breadcrumb links back to the Admin home page.
Spent a while thinking about a smarter way to do this, but couldn't figure it out without adding a bunch of logic to a "breadcrumb-building" template or some other form of indirection likely to age badly.  So copy+pasted it in.
>> Story on Pivotal

:+1:


add script for deleting a register

Context
Make it easier to delete data from non-beta registers
Changes proposed in this pull request
Add a script to delete data from non-beta registers
Guidance to review
Should work as per documentation (hard to test end-to-end though without actually deleting a register!)

I've run the script and it has performed as expected


Show livestreams in Wild West

Still to do: All Done:

[x] Handle when no livestreams (most likely due to error)
[x] Scroll livestreams view out/up with table view (probably make it a header)
[x] Indicate that it's livestreams view

Changes made in latest push:

Put livestreamsCollectionView as claimListView.tableHeaderView such that it scrolls along with the claim list. Create the livestreams view programatically to avoid having to create a XIB.
Set livestream item background color when highlight/unhighlight (touched).
Revert reload offset to -300, works now that the entire view scrolls so there's enough vertical space.
Add label above livestreams collection with text "Livestreams", similar to mobile web UI.

Diff link: https://github.com/ktprograms/odysee-ios/compare/1a8fc24..0a9a818
Video demonstration:
https://user-images.githubusercontent.com/71804605/165898013-17d23776-019b-4b8d-a5b9-32976120ccda.mp4

Changes made in latest push:

Remove orderBy parameter in claim search call, since I can't find what the "correct"/equal to website sort order is.
Remove TODO about whether to cache infos from Odysee Livestream API call, since the fetch is small enough that it's probably worth it compared to missing new data. I'm open to opinions to change this, though.
Fix conflicting leading constraint between "Livestreams" title label and stack view.
Check if infos from Odysee Livestream API call is empty, and if so hide the livestreamsCollectionView and change the title label to "No livestreams to display at this time. Please try again later.".

Diff link: https://github.com/ktprograms/odysee-ios/compare/0a9a818..9f74309

I think both of these would be achievable at the same time, by using channel_ids or not_channel_ids, but that should probably be in a separate pull request to keep this one simple.

@tzarebczan The codebase already has a ContentSources file that uses the v1 endpoint, is that okay or is using the v2 endpoint necessary?

For now this is fine, but wanna move to v2 shortly after.

@ktprograms Please fix the conflicts so that I can merge. Thanks.


Product Dashboard - Unable to get Commit and Build stage info

I browsed through the documentation and went through multiple Product Dashboard related issues (after reading through documentation), but could not find any answer to my current issue of Hygieia Product Dashboard. Now I am trying to analyze source code but taking more time than expected to resolve this issue.
Appreciate any hints / suggestion / solution ....

My setup (as applicable for current issue)==>

DevOps Tools - Jenkins, Github
Hygieia collectors - Jenkins Plugin, Jenkins Build Collector, Github collector ...

Find enclosed screenshots from Team Dashboard (Widget and Pipeline) + Product Dashboard

No commit/build data indicators in most of the stages of Product Dashboard. In fact, it appears to be due to backend not sharing any data as part of response(except for Prod Env),

Check also  Jenkins pipeline commands + Screenshot from DB for Pipeline .

What is expected in DB? Is COMMIT and BUILD Stage data also expected?
Why are no indicators in any stages? I want visualization like https://hygieia.github.io/Hygieia/product_dashboard_intro.html, How was this achieved?

Any hint on what might be wrong in my setup?? How to debug the cause of failure?
Thanks in advance
My Hygieia Team and Dashboard

Product Dashboard

Jenkins pipeline commands  and DB Screenshot =>
      hygieiaBuildPublishStep buildStatus: 'Success'
      hygieiaArtifactPublishStep artifactDirectory: 'target', artifactGroup: 'coin.sarvaTech', artifactName: '*.war', artifactVersion: ''

        hygieiaDeployPublishStep applicationName: 'myBank', artifactDirectory: 'target', artifactGroup: 'coin.sarvaTech', artifactName: '*.war', buildStatus: 'Success', environmentName: 'DEV'
        hygieiaDeployPublishStep applicationName: 'myBank', artifactDirectory: 'target', artifactGroup: 'coin.sarvaTech', artifactName: '*.war', buildStatus: 'Success', environmentName: 'QA'
        hygieiaDeployPublishStep applicationName: 'myBank', artifactDirectory: 'target', artifactGroup: 'coin.sarvaTech', artifactName: '*.war', buildStatus: 'Success', environmentName: 'PROD'

Some progress, but just wondering whether one needs a Feature collector to get a Taskboard kind of view of commit progress (which I find in product documentation).

I think resolved the issue after few changes to Core. Check #293


Pyomo ?

Pyomo has quite a lot of models.
My guess is that Nevergrad could be competitive on the kind of models they are considering.
We might implemented a function which takes as input a Pyomo model, and then

builds a Nevergrad instrumentation corresponding to this Pyomo model
builds a ExperimentFunction corresponding to this Pyomo model

Hi, I am Paco.
I would like to help. I may have figured out how to set the evaluation function and made a pull request. However, I would like to know if the goal is to support all model components in Pyomo [1].
[1] https://pyomo.readthedocs.io/en/stable/pyomo_modeling_components/index.html

Hello! Imho even a minimal support of simple cases would be great! Possibly with an error if something does not fit.
If it works on at least one of the examples on the pyomo page it's very cool :-)

Mostlly solved! We might still add stuff, e.g. concrete models in experiments.py.

Congrats @pacowong for solving this :-)


Flight::request()->data is empty

When doing this:
$request = Flight::request();
$data = $request->data;

$data become an empty object, should it not be an array containing all the POST data?
Doing $data = $request->data->$key does work, however.

@pcfutures $data is not an array, it's an object of type \flight\util\Collection which has it's internal data object as a private attribute.
Since \flight\util\Collection extends the PHP internal \Iterator class, you can use the example found here to iterate through the collection: http://php.net/manual/en/class.iterator.php#96691
Alternatively, to get the value of a single index within the private data array stored inside of \flight\util\Collection, you can use $object::getData($index) or simple $object->{$index} though in my opinion the getData() method is a more elegant access method. If $index isn't set, it will return null, see \flight\util\Collection::__get($key) for more information.

If you want to get the internal array, you need to do $data = $request->data->getData();.


Updating MTC heuristic and documentation

@ielis Could we merge this so I can share the documentation? 😄


Can you guide me how to setup server?

Hi, I'm learning your code. I have built a website on my server. Can you guide me to set up the server so that I can receive emails?

Hi @Lyra1337 , I setup server completed, it's working now. So, how to setup multiple domain for this project?

Hi @thangtm0212,
in the current state the server does not support multiple domains.
Thank you for pointing out that there is no setup guide. I'll add one when I got some spare time.


Value/reasoning of #1820

Hi,
I saw suddenly I had in powercalc new discovered devices for Nous A1T based on https://github.com/bramstroker/homeassistant-powercalc/pull/1820.
Tasmota offers out of the box sensor entities for Energy on kWh so I'm not sure what addition can offer this pull request for this (or any other device that offers proper calculated energy entities).
Regards!

Please see last question of FAQ. https://homeassistant-powercalc.readthedocs.io/en/latest/troubleshooting/faq.html

Thank you, fair and valid answer!


[FEATURE] Harvester node driver to support multi-nics and multi-disks

Describe the bug
When a cluster is provisioned with Rancher through Harvester node driver with multi nic. Only 1 nic is present on the VM.
Harvester Template
kind: VirtualMachineTemplateVersion
metadata:
  annotations:
    template-version.harvesterhci.io/customName: 7E0LP6IQ1U
  creationTimestamp: "2022-06-27T18:17:17Z"
  generateName: raw-image-base-template-
  generation: 2
  labels:
    template.harvesterhci.io/templateID: raw-image-base-template
  name: raw-image-base-template-pwdxh
  namespace: harvester-public
  ownerReferences:
  - apiVersion: harvesterhci.io/v1beta1
    blockOwnerDeletion: true
    controller: true
    kind: VirtualMachineTemplate
    name: raw-image-base-template
    uid: 6f09f440-0fe9-4526-bd89-6e4ab3f4b395
  resourceVersion: "5208595"
  uid: 52e1a42b-549d-47dc-b172-a1fcd1882c49
spec:
  templateId: harvester-public/raw-image-base-template
  vm:
    metadata:
      annotations:
        harvesterhci.io/volumeClaimTemplates: '[{"metadata":{"name":"pvc-rootdisk"},"spec":{"accessModes":["ReadWriteMany"],"resources":{"requests":{"storage":"10Gi"}},"volumeMode":"Block"}}]'
      creationTimestamp: null
      labels:
        harvesterhci.io/os: linux
    spec:
      runStrategy: RerunOnFailure
      template:
        metadata:
          annotations:
            harvesterhci.io/sshNames: '[]'
          creationTimestamp: null
          labels:
            harvesterhci.io/vmName: ""
        spec:
          domain:
            cpu:
              cores: 1
            devices:
              disks:
              - bootOrder: 1
                disk:
                  bus: virtio
                name: rootdisk
              interfaces:
              - masquerade: {}
                name: default
              - bridge: {}
                model: virtio
                name: nic-1
            features:
              acpi:
                enabled: true
            machine:
              type: ""
            resources:
              limits:
                cpu: "1"
                memory: 2Gi
          evictionStrategy: LiveMigrate
          networks:
          - name: default
            pod: {}
          - multus:
              networkName: default/vlan2-87
            name: nic-1
          volumes:
          - name: rootdisk
            persistentVolumeClaim:
              claimName: pvc-rootdisk

cloud-init-output.log
cloud-init.log
To Reproduce
Steps to reproduce the behavior:

Go to Harvester Create template with multi Nics
Go to Rancher use Harvester Node Driver use the following settings for

Network:
version: 1
config:
 - type: physical
  name: enp1s0 # name is varies upon OS image
  subnets:
   - type: dhcp
 - type: physical
  name: enp2s0
  subnets:
   - type: DHCP
 - type: physical
  name: enp3s0
  subnets:
   - type: DHCP

Choose multus calico CNI provision cluster
VM is provisioned with 1 NIC.

Expected behavior
VM to multi Nics from template.
Environment

Harvester ISO version: 1.0.2
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Civo Baremetal

Hi @naeemarsalan, may I know how you used Rancher with the Harvester template to create RKE2? On the Rancher dashboard, I can't find the option.

In harvester, I can use the Harvester template which has multi-nic to provision a VM. My network data is
network:
  version: 1
  config:
  - type: physical
    name: enp1s0
    subnets:
      - type: dhcp
  - type: physical
    name: enp2s0
    subnets:
      - type: dhcp
  - type: physical
    name: enp3s0
    subnets:
      - type: dhcp

Test Plan

Guest cluster support: RKE1, RKE2
Rancher version: v2.7.0
Harvester version: latest master

Major check point:

Provision guest cluster (RKE1/RKE2)
Edit guest cluster, can support add multiple nics and multiple volumes

Comparability Matrix

UI
node driver
Config

new UI
new node driver
new config

new UI
new node driver
old config

old UI
new node driver
old config

Verification Steps

Use existing UI and Node driver to provision RKE1 and RKE2 guest cluster
Update node driver to v0.6.0
Edit guest cluster, check the multi-nics and multi-disks
Update RKE1/RKE2 UI (through ui-dashboard, ui-index)
Change ui-offline-preferred to Remote
Edit guest cluster, check the multi-nics and multi-disks
Create another new RKE1 and RKE2 guest cluster
Edit guest cluster, check the multi-nics and multi-disks

RKE1 Test Result

UI
node driver
Config
Result

new UI
new node driver
new config
PASS

new UI
new node driver
old config
PASS

old UI
new node driver
old config
PASS

Use existing UI and Node driver to provision RKE1 and RKE2 guest cluster (K8s version: v1.24.8)

Update node driver to v0.6.0

Edit RKE1 node template with new value

Create a new RKE1 cluster with updated node driver v0.6.0 on updated RKE1 template

Check can provision RKE1 cluster correctly

Update RKE1/RKE2 UI (through ui-dashboard, ui-index)

Change ui-offline-preferred to Remote

Edit existing RKE1 node template

Add new volume

Add new network

Add network data for multiple-nics

network:
  version: 1
  config:
   - type: physical
     name: enp1s0
     subnets:
     - type: dhcp
   - type: physical
     name: enp2s0
     subnets:
     - type: dhcp

Check RKE1 guest cluster network and volume config

Check can provision RKE1 guest cluster correctly with multi-nics and multi-volumes

Create a new RKE1 node template, adding multi-nics and multi-volumes

Create another new RKE1 guest cluster

Check RKE1 guest cluster network and volume config

Check can provision RKE1 guest cluster correctly with multi-nics and multi-volumes

RKE2 Test Result: FAILED

UI
node driver
Config
Result

new UI
new node driver
new config
FAILED

new UI
new node driver
old config
FAILED

old UI
new node driver
old config

We found when updating existing config of the RKE2 guest cluster in the following cases:

New node driver with new UI config
New node driver with old UI config

The previous guest VM will stuck in deleting state, can't complete finish the update process

Verification Steps

Use existing UI and Node driver to provision RKE2 guest cluster (K8s version: v1.24.8)

Update node driver to v0.6.0

Update RKE1/RKE2 UI (through ui-dashboard, ui-index)

Change ui-offline-preferred to Remote

Edit existing RKE2 cluster config

Add new volume

Add new network

Add network data for multiple-nics

network:
  version: 1
  config:
   - type: physical
     name: enp1s0
     subnets:
     - type: dhcp
   - type: physical
     name: enp2s0
     subnets:
     - type: dhcp

Check RKE2 guest cluster network and volume config after updating finish

But failed to update RKE2 guest cluster correctly with multi-nics and multi-volumes,

Unable to delete the previous VM

Re-verified with updated node driver https://github.com/futuretea/docker-machine-driver-harvester/releases/download/v0.0.0-f8f2ef2/docker-machine-driver-harvester-amd64.tar.gz
After we updated RKE2 cluster config, adding multi-nics and multi-disks.
The previous guest cluster vm can be correctly removed after 15 minutes around.

UI
node driver
Config
Result

new UI
new node driver
new config

new UI
new node driver
old config
PASS

old UI
new node driver
old config

Move to implement and plan to verify after related PR merged.

@TachunLin released v0.6.1
Download URL: https://releases.rancher.com/harvester-node-driver/v0.6.0/docker-machine-driver-harvester-amd64.tar.gz
checksum: 54a8b29f93c3234329c424fbed127327d1041707a307a728f53c14e7bcbd5628

RKE2 Test Result:

UI
node driver
Config
Result

new UI
new node driver
new config

new UI
new node driver
old config
PASS

old UI
new node driver
old config
PASS

Verification Steps

Use existing UI and Node driver to provision RKE2 guest cluster (K8s version: v1.24.8)

Update node driver to v0.6.1

Edit guest cluster config, change cpu and memory settings

Check can update the guest cluster with new node driver

Check can correctly delete the previous guest cluster

Update RKE1/RKE2 UI (through ui-dashboard, ui-index)
Change ui-offline-preferred to Remote
Edit existing RKE2 cluster config
Add new volume
Add new network
Add network data for multiple-nics

network:
  version: 1
  config:
   - type: physical
     name: enp1s0
     subnets:
     - type: dhcp
   - type: physical
     name: enp2s0
     subnets:
     - type: dhcp

Check RKE2 guest cluster network and volume config after updating finish

Check can update RKE2 guest cluster correctly with multi-nics and multi-volumes,

Check can delete the previous guest cluster VM

Verified fixed on master-14bbee2c-head (1/18). Close this issue.
Result
Verified with node driver v0.6.1 can pass the following test scenarios:

Can update existing RKE2 guest cluster using new node driver
Can add multi-nics and multi-disks of old RKE2 guest cluster using new node driver and ui config
Can create new RKE2 guest cluster with multi-nics and multi-disks correctly
Can delete RKE2 guest cluster correctly

Verified with node driver v0.6.0 can pass the following test scenarios:

With new node driver only, can update existing RKE1 node template to create RKE1 cluster correctly
With new node driver and ui config, can add multi-nics and multi-disks to node template and create RKE1 culster correctly
With new node driver and ui config, can create new node template with multi-nics and multi-disks and create RKE1 cluster correctly

Test Information

Test Environment: 1 node harvester on local kvm machine
Harvester version: master-14bbee2c-head
Rancher version: v2.7.0
Node driver version: v0.6.1
ui-index: https://harvester-dev.oss-cn-hangzhou.aliyuncs.com/ui/latest2/index.html
ui-dashboard-index: https://harvester-dev.oss-cn-hangzhou.aliyuncs.com/dashboard/support-multi-nic/index.html
ui-offline-preferred: Remote

Verify Steps
RKE1: https://github.com/harvester/harvester/issues/2426#issuecomment-1384951843
RKE2: https://github.com/harvester/harvester/issues/2426#issuecomment-1386572469

Hi @futuretea @WuJun2016 @TachunLin, just following up on any issue with a require/doc label for the 1.2.0 release. Does this issue require any of the following?

[ ] New documentation/KB
[ ] Updated documentation/KB
[ ] Release note
[ ] None of the above

If it does, may you please open a PR or share details on what needs to be created or updated?
Thanks!


[Bug] Displays 'loading valid interfaces...' even after loading is complete

When I do not generate a tutorial pipeline (this is a fresh custom one starting with empty interfaces)
The following appears even though all the interfaces are already loaded when I press the button

Not a huge deal, not a high priority - just leaving here as a note

Fixed with https://github.com/NeurodataWithoutBorders/nwb-guide/commit/f7ce052d7f1517ce4eb9c75c04cf84bc50002de5


Manage info request

Summary
This pull request propagates the ELASTIC_APM_DATA_FORWARDER_TIMEOUT_SECONDS parameter to the configuration of the reverse proxy tasked with serving APM Server info requests. A error handler is also defined to enable backoff upon transaction failure. Associated tests have also been written in main_test.
With this PR, backoff should be enabled after all failed attempts to communicate with the APM Server.
Changes
How to test

:broken_heart: Build Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-04-14T10:15:30.015+0000

Duration: 4 min 48 sec

Steps errors
Expand to view the steps failures

lint-run

Took 1 min 43 sec . View more details here
Description: make lint

:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)


dialog: fix rtags of forking INVITE with 100rel

See https://github.com/baresip/baresip/issues/2114.

I had to remove the new test for retest as I was not able to write a test that would properly simulate a forked INVITE. Instead, I tested it with a SIPP scenario and the PRACKs now have the correct tags.
Other than that the behavior of re stays the same regarding forked INVITES. I.e. only the first 2XX response is ACKed, subsequent ones are ignored.


CVE-2022-23812: YOUR CODE IS INFECTED WITH MALICIOUS DEPENDENCY - node-ipc

Newest version of node-ipc delete all users's files from device. You should not use this dependency anymore!
You can learn more here: https://gist.github.com/MidSpike/f7ae3457420af78a54b38a31cc0c809c
Check possible solution that already applied in vue.js: https://github.com/vuejs/vue-cli/issues/7054#issuecomment-1068677029
also check more here: https://snyk.io/blog/peacenotwar-malicious-npm-node-ipc-package-vulnerability/

Alright thanks for the notice, I will mark this as closed.