discussion: move section 5000 (personal) to a separate js file

the personal section, which is clearly labelled, does not belong in this user.js. It is a great resource that can still be expanded/built upon, and does not have to be lost.
I propose that we create a user-personal.js (or some other name, eg user-other.js or user-misc.js) and move all of this into there with a wee header saying that if anyone wishes to, they can incorporate these into their user-overrides.js (or append them manually). We would keep the numbering, and maybe in the user.js where section 5000 is/was we can reference the other file

I have made a decision - all the naysayers about having "personal" stuff in the user.js (like CHEF-KOCH The Plagiarizer) can go and get f**ked.

It makes more sense to me to keep it all in the one file: easier for end users (lowest common denominators and all that)
section is clearly labelled (although we could change the title) - most of them are about the UI/Workflow
a lot of these are relevant to the people who use this (lets face it, we're into tweaking and shit) and it seems that most/a-lot of the active settings are what most people use (eg annoying warnings, opening source in a new tab allows split screen or multi-monitor, etc) - but we can certainly explore making more of them inactive
^^ i.e this is an extended user.js, these items make sense being in here
we could expand on it - see https://www.reddit.com/r/firefox/wiki/aboutconfig where due to the number of times people asked about things, r/Firefox added this wiki section (see Behaviour and Appearance)
very very very few people have ever complained about the personal section being in here and their main argument would be that 1) it has nothing to do with "hardening" etc (no sh*t sherlock, read the section title) and 2) bitching about bloat (here's some news, it's comprehensive, backwards compatible i.e large deprecated section, and already lengthy even if the section is removed)
almost everyone else besides those few, actually welcome and like these nuggets

So I'll close this and start a new issue for a section 5000 revamp and new additions. We could order things better & expand the, if need be eg earthlng's idea about the tabs settings, adding delay info to full-screen etc

all the naysayers about having "personal" stuff in the user.js [...] can go and get f**ked.

This is not good project management.

(like CHEF-KOCH The Plagiarizer)

Logical fallacy to imply that that person's opinion is relevant either way.
It depends what ghacks-user.js is.  (Your prerogative if it is). Or is it "this will secure and increase the privacy of Firefox, and is intended for public consumption and contribution"?

I'm going to contend that a better approach would be to modularise this (with a "build" script if necessary).
e.g. "build --shouldersurfing --localaccess --tracking-paranoid --hacking-medium --ux"
Then make the project e.g.:
user-shouldersurfing-minimal.js
user-shouldersurfing-medium.js
user-shouldersurfing-paranoid.js
user-tracking-...
etc.
And you can still include a user.js file, that's just the result of 'build --kitchensink' or whatever, so the build script isn't necessary if someone wants to keep the defaults.
The build script can be trivial (so it's easily user-auditable) too.

You make it sound so easy :)
There are too many items with multiple aspects to be able categorize this with any consistency based on type of threat, so it becomes subjective. But items could have multiple threat categories which adds even more complexity. Additional parameters for severity (med-hard-etc) are also subjective. And that's only a 2 dimensional approach of slicing & dicing. You would need to look at handling whether prefs should be active/inactive and I'm guessing all prefs should be set up with the same aim (every pref at active must restrict, for simplicity), and every pref added must be active(?). Now add a fourth parameter, it would need to handle different pref values for different severity modes. Also note that some prefs need to be kept together for a complete picture which adds more complexity (eg referrers). Not to mention deprecated and RFP alternative issues. And handle references to other prefs which may or may not end up in the build. Also consider that users who leave out certain parameters then have an incomplete user.js lacking in comprehensiveness (and some prefs are inactive and in there for info only) - it is no longer a template or single file for reference.
Not saying that this couldn't be done in some elegant way, but it's not easy - a lot of work to set up and maintain. It's hard enough as it is just categorizing as per our sections in a simple txt based file. What you're proposing is not feasible for this project, and even if it were - whatever we do, and however the prefs are dissected, and whatever settings are for some prefs for relaxed-med-hard, not everyone will be happy - in fact I would say almost everyone would NOT be happy.
What you have in front of you is a single simplified file, 3 years in the making, and the cause of lots of discussions (and some bickering) ... if you want to modularize what is a complex, intertwined, multi-faceted, hot-mess of around 600 prefs into some sort of magical subjectively utopian output per user, that handles all possible combinations, then be my guest.

Back on topic...

 Anyone who actually thinks that way clearly has not looked at the user.js.
I have always been subjective. I have actually kept the personal section entries limited - it's not about what I want in there, half them I don't give a damn about. But it is what it is - damn handy information that users have appreciated and suggested. So the question is not about having them, but about what to do with them
There is no right or wrong answer here - some favor a separate file, others don't, and others couldn't care less. The decision has been made. Keep it simple, in the same file.
A new issue has been created to address any concerns: such as making prefs inactive, add/remove items, even renaming the section. There is absolutely no reason why we can't have such a section.
At the end of the day, not everyone will be happy no matter what we do. I'm not dismissive of ideas, I ask for feedback, I consider options. But a decision had been made. Accept it. HOW hard is it for YOU to simply delete the 5000 section - done, solved, your issue is fixed.

Is there anything that ties the personal section to the rest of the file? Is it actually part of the hot mess?

No. None of it is directly concerned with the "mission statement" in the readme.md

The ghacks user.js is a template, which, as provided, aims to provide as much privacy and enhanced security as possible, and to reduce tracking and fingerprinting as much as possible - while minimizing any loss of functionality and breakage (but it will happen).

We can easily fix that by adding something like "We also have collection of other handy prefs for your info (section 5000)", if pedantically minded people really feel the need - I say pedantic, but I guess it should be said (I'm not an outsider looking in, so I have blind spots)

As per the prev. comment the separate files could be pre-combined into a default user.js for continued "get and forget" use.

This is OT (modularizing), but you said -kitchensink. Also, the problem still arises about providing what as active/inactive if everything is to be included - a switch for severity would be mandatory IMO.

The file pretty much requires the user knows what they're doing

Even modularizing it does not solve this. WHAT does solve this is having a relaxed branch or a relaxed-user.js for appending or even as a list of items in a sticky topic - so users can apply 90% of what we have with zero/tiny breakage. This has always been on the cards to do.

,,,
If I were to script something like that I think I would add tags to every item instead of putting them in separate files. The script could then decide what to ditch and what to keep based on those tags and user preference.
It would be far from trivial, though. I'm not known for writing audit-friendly code. @earthlng knows this first-hand.
Well, actually, I'm not really known for anything at all.
...
Just ignore this comment.

Yep, hyperbole for effect. I wouldn't go so far as to call it "disgusting" ;)

No. None of it is directly concerned with the "mission statement" in the readme.md

OK, what it comes down to for me is, if a project has a clear focus, and defined intentions/goals, which are applied reasonably consistently, then it makes contributing to the project appealing.
OTOH, if it looks like there are things like a lack of focus, inconsistent adherence to stated project mission/scope, or dictatorial decision-making, contribution becomes less appealing.
To be clear, it's entirely up to a project owner how they want to run their project and I mean that sincerely - you don't owe anything to anyone and have obviously already contributed a great deal to Firefox users with this.
The difference that different approaches to managing things make to how much outside contribution may also be negligible and/or not matter for you, which is also fine. But it's worth being aware of it at least.
I'd look at it as, "how can we make a secure and privacy-respecting browsing experience as easy and robust as possible", and "how can the community desire for this be organised/focused to push Mozilla to prioritise this goal upstream".
A consistent, focused, well-managed project would have a lot more weight in trying to get upstream to make useful changes to compliment (or obsolete) this work.


net: tcp: Fixes for issues found with loopback operation

This PR brings a set of improvements/fixes for TCP operation over loopback interface (and not only loopback for some commits):

When cloning packet at loopback driver, use a proper packet pool
Match loopback MTU with IPv4 MTU to prevent fragmentation
React on zero-window sent by peer
Improve TCP stack performance when loopback is used
Fix a bug, where TCP stack accepted unlimited data from the application in retransmit mode

Fixes #44012
Fixes #44018

@ssharks Please give it a shot.

@jukkar Thanks, I've updated the commit descriptions.

The socket in the testcase is blocking. Nevertheless the send command returns without having the complete amount of data transferred. This is resolved by calling send calls until all the data has been transferred. Is this in line with the POSIX definition of send calls?
From: https://man7.org/linux/man-pages/man2/send.2.html
When the message does not fit into the send buffer of the socket,  send() normally blocks, unless the socket has been placed in  nonblocking I/O mode.  In nonblocking mode it would fail with the error EAGAIN or EWOULDBLOCK in this case.  The [select(2)](https://man7.org/linux/man-pages/man2/select.2.html) call may be used to determine when it is possible to send more data.

The socket in the testcase is blocking. Nevertheless the send command returns without having the complete amount of data transferred. This is resolved by calling send calls until all the data has been transferred. Is this in line with the POSIX definition of send calls?
From: https://man7.org/linux/man-pages/man2/send.2.html When the message does not fit into the send buffer of the socket, send() normally blocks, unless the socket has been placed in nonblocking I/O mode. In nonblocking mode it would fail with the error EAGAIN or EWOULDBLOCK in this case. The [select(2)](https://man7.org/linux/man-pages/man2/select.2.html) call may be used to determine when it is possible to send more data.

Yes, for STREAM socket it's ok to send fewer bytes than requested. It's not explicitly stated in the man page you quote, but it says that send() is equivalent of write(), which makes makes it clear:

Note that a successful write() may transfer fewer than count bytes.

@rlubos Thanks for your explanation on the expected behavior of send.
I applied your changes on top of NRF Connect SDK 1.9.1 and validated that your changes work on my embedded system.


Update and trim, fix #82

It would be nice if this PR was reviewed and merged. That could fix projects that won't pass because of tools like Snyk :-)

@dodo Any news?

should we drop node 0.8 support now?


Handy backup tool

Feature request (for dumb normal users)
Can we have a simple button in LNbits interface, that make a full image backup of the docker repository/folder and database?
Users need simple tools for backup / restore, no complicated command lines and digging up into how to find the data to be restored etc.

But if they don't know to do the backup how will they restore it?
It could be done in a foolproof way, but I think it will be very hard and likely to introduce too much complexity. Let's think about it. Maybe it's better to post the database to Telegram or something.

Thats something for the admin extension I thinks. When Admin extension universe? 🤷

Something that can be implemented in the forecoming Admin extension... @arcbtc noted!


[BUILD] Close stale PRs

Closes #18522
Closes #17722
Closes #18879
Closes #18891
Closes #18806
Closes #18948
Closes #18949
Closes #19070
Closes #19039
Closes #19142
Closes #18515
Closes #19154
Closes #19162
Closes #19187

Test build #81675 has started for PR 19203 at commit 6386e0c.

@srowen, it looks 19091 is missed. The rest of mine is a subset of the current list.

Test build #81675 has finished for PR 19203 at commit 6386e0c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/81675/
Test PASSed.


[debugger] "Step into" does not re-enter generators on a .next() calls

Type: Bug
Debug this Node.js code using the built-in debugger:
function* fn() {
  let a = yield "this is a";
  console.log("a is", a);
  let b = yield "this is b";
}

let it = fn();
let value;
debugger;
({ value } = it.next(value));
console.log("The value is", value);
({ value } = it.next(value));
console.log("The value is", value);
console.log("DONE");

with the following steps:

(debugger paused on line 9) step into
(debugger paused on line 10) step into
(debugger paused on line 2) step out
(debugger paused on line 11) step into
(debugger paused on line 12) step into

I would expect the last "step into" to bring me to line 3, but it executed the program to the end.
If I use Chrome's inspector by running my script with node --inspect-brk, hitting "step into" wihle at line 11 brings me to the console.log implementation. If I then hit "step out" it brings me back to line 12, and there "step into" brings me to line 3 as expected.
 The location of the log file on your disk will be written to the Debug Console. Share that with us.
⚠ This log file will not contain source code, but will contain file paths. You can drop it into https://microsoft.github.io/vscode-pwa-analyzer/index.html to see what it contains. If you'd rather not share the log publicly, you can email it to<EMAIL_ADDRESS>

A log will confirm, but this is likely to be a behavior of V8 in whatever version of Node you have. Recent versions of Node tend to behave better.

I tested this in Node.js 20.6.1 (latest version). I'll record the log 👍

I investigated a bit more, and this seems to not happen if I remove <node_internals>/** from skipFiles (which is included by default). It happens both with launch.json and with the JS debug terminal.
In addition to that... it does not happen if I use trace: true 😅
I'm attaching a screen recording of what I see, because I was very surprised that tracing what happens changes the behavior.
https://github.com/microsoft/vscode/assets/7000710/2e6c74a0-125b-4d09-b7d0-639f399777c7

Two upstream issues: https://github.com/nodejs/node/issues/50058 (minor but would be better performance) and https://github.com/nodejs/node/issues/50059 is the issue you're actually hitting.

Thank you!


Setup continuous integration

After we have some automated tests (#71) and use npm5 (#88) it might be a good idea to setup continuous integration on travis-ci or circle-ci (for instance).

We now have automated deployment using gh-deployer.

So it's closed, @tulir 👍


Question: How to handle parent -> grandchild relationships?

I have three primary tables setup, along with two join tables, creating a parent table -> child table -> grandchild table scenario.
Example:
Lessons <---> lesson_notes <---> Notes <---> notes_files <---> Files
The relations between each of the three main Models works well. When I query the lessons, I can easily get all of the notes for that lesson.  If I query notes I can get all of the files for the notes.
What I'm investigating is can a relationship be setup on Lessons to easily get all files for a lesson... basically a many-to-many relationship that needs to go through two join tables instead of just one.
Lessons <---> lesson_notes <---> notes_files <---> Files
That way I could easily query Lessons.withGraphFetched('files').
Is that feasible?

I've found that the easiest way to achieve this is to create an intermediate view to simulate a new join table (eg lesson_files).

@jeff3yan Yeah, that's how I've approached in the past. I was curious if objectionjs offered some "built-in" alternative to handle that setup. Sounds like the view may be the best way at this time.

I've found that the easiest way to achieve this is to create an intermediate view to simulate a new join table (eg lesson_files).

Do you mean you manually created a view in the DB?

@JeongJuhyeon that's right, I think it's reasonable to setup some useful views if you want some specific relation querying via an ORM anyway.
You could maybe dynamically generate a temp view at runtime, if creating views isn't an option.

The question appears to have been answered, closing.


"scripts/release" throws error

When i try to do a npm run release i get:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'run', 'release' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prerelease', 'release', 'postrelease' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 silly lifecycle<EMAIL_ADDRESS>no script for prerelease, continuing
7 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>8 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
9 verbose lifecycle<EMAIL_ADDRESS>PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/jan/marzi$
10 verbose lifecycle<EMAIL_ADDRESS>CWD: /home/jan/marzipano
11 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 'scripts/release' ]
12 info lifecycle<EMAIL_ADDRESS>Failed to exec release script
13 verbose stack Error<EMAIL_ADDRESS>release: `scripts/release`
13 verbose stack spawn ENOENT
13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:33:16)
13 verbose stack     at emitTwo (events.js:106:13)
13 verbose stack     at ChildProcess.emit (events.js:191:7)
13 verbose stack     at maybeClose (internal/child_process.js:886:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd /home/jan/marzipano
16 error Linux 4.4.0-77-generic
17 error argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "release"
18 error node v6.10.3
19 error npm  v3.10.10
20 error file sh
21 error code ELIFECYCLE
22 error errno ENOENT
23 error syscall spawn
24 error<EMAIL_ADDRESS>release: `scripts/release`
24 error spawn ENOENT
25 error Failed at the<EMAIL_ADDRESS>release script 'scripts/release'.
25 error Make sure you have the latest version of node.js and npm installed.
25 error If you do, this is most likely a problem with the marzipano package,
25 error not with npm itself.
25 error Tell the author that this fails on your system:
25 error     scripts/release
25 error You can get information on how to open an issue for this project with:
25 error     npm bugs marzipano
25 error Or if that isn't available, you can get their info via:
25 error     npm owner ls marzipano
25 error There is likely additional logging output above.
26 verbose exit [ 1, true ]

(trying this on Ubutuntu 16.04 i386)
What could be wrong here?

Did you run npm install?

Yes i did. Everything was ok - except two warnings.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"ia32"})

I think that's ok. Chokidar relies on different libraries depending on the platform it runs on.

i want to make 360 images like marzipano in offline on localhost, is it possible.


Add option to compiler to Preprocessing step.

Add an option to --compile-to which allows stopping the compilation after preprocessing.
Usage : iree-compiler --compile-to=preprocessing.

(lol github 500 while approving leading to two approvals...)


Add rfc for clojure tools buildpack

Readable

Looks good to me.

Hey @eddumelendez, thanks for another great contribution! FYI I think the "Readable" link in your comment is pointing to an old draft of the RFC.

@ekcasey thanks! I have accepted your suggestion and also the link in the PR description is updated.

As previously discussed with @dmikusa-pivotal , I have added the site to scrap the latest version for clojure tools and a note about using the real version <IP_ADDRESS>3 but getting an error when using the buildpack.

I tested with the two sample apps that were provided. Both worked for me.
I'm 👍 for this.


reproduce the result on Mnist N-body

Thank you so much for releasing the code. I was wondering if I need to make changes to the default config in scripts/cuboid_transformer/nbody/ cfg.yaml to reproduce the results in the paper. Currently, I'm getting sub-optimal values of
Test metric             DataLoader 0
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
test_mae_epoch          48.53514099121094
test_mse_epoch          19.73045539855957
test_ssim_epoch        0.9322687387466431

I saw that for the ENSO dataset, you'd earlier recommended someone to use a batch size of 64 instead.

Thanks for pointing it out.
You could change the arg rescale_01 to be False in N-body MNIST dataloaders, i.e. to use value range [0, 255] instead of [0, 1], to reproduce the results reported in our paper.
We keep the config rescale_01 = True here to be consistent with all other datasets, which rescale the data to [0, 1].

Thanks for the reply, I'm running the exp with new values. I also noticed that the number of global vectors, again for nbody, are set to 0
  num_global_vectors: 0
  use_dec_self_global: false
  dec_self_update_global: true
  use_dec_cross_global: false
  use_global_vector_ffn: false
  use_global_self_attn: false
  separate_global_qkv: false
  global_dim_ratio: 1

Is that correct?

Also, setting rescale_01=False seems to give very high values. Is there some normalization needed on these values. SSIM seems to have improved, although still lower than the one reported in the paper.
   Test metric             DataLoader 0

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
test_mae_epoch          10840.2353515625
test_mse_epoch             1068347.125
test_ssim_epoch        0.9438273906707764

Thanks for the reply, I'm running the exp with new values. I also noticed that the number of global vectors, again for nbody, are set to 0
  num_global_vectors: 0
  use_dec_self_global: false
  dec_self_update_global: true
  use_dec_cross_global: false
  use_global_vector_ffn: false
  use_global_self_attn: false
  separate_global_qkv: false
  global_dim_ratio: 1

Is that correct?

You may expect performance gain as you set the configs of global vectors the same as those in other experiments, e.g. in SEVIR.

Also, setting rescale_01=False seems to give very high values. Is there some normalization needed on these values. SSIM seems to have improved, although still lower than the one reported in the paper.
   Test metric             DataLoader 0

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── test_mae_epoch 10840.2353515625 test_mse_epoch 1068347.125 test_ssim_epoch 0.9438273906707764

If you have checked the validation score, you will find that the training hasn't got to optimal until the end. You need to set the max_epoch to be 200 or even larger to see the performance saturation.
As for the MSE and MAE, you need to divide them by 255^2 and 255 since the original data is rescaled from [0, 1] to [0, 255].

thanks for the help

Sorry, I checked my checkpoints, it seems like early stopping stopped the model at just the 82nd epoch, i.e. the best performance was noted at the 62nd epoch only. The default seed of 0 is used only, and no global attention is used.
test_mae_epoch          10840.2353515625 (~42.51)
test_mse_epoch             1068347.125  (~ 16.43)
test_ssim_epoch        0.9438273906707764
In the paper, the reported value seems slightly lower, mse = 15.89, mae = 41.38 for w/o global attention cases

Sorry, I checked my checkpoints, it seems like early stopping stopped the model at just the 82nd epoch, i.e. the best performance was noted at the 62nd epoch only. The default seed of 0 is used only, and no global attention is used. test_mae_epoch 10840.2353515625 (~42.51) test_mse_epoch 1068347.125 (~16.43) test_ssim_epoch 0.9438273906707764
In the paper, the reported value seems slightly lower, mse = 15.89, mae = 41.38 for w/o global attention cases

Since we have applied cosine learning rate scheduler, increasing the max_epoch is not simply equivalent to training longer. Larger max_epoch also implies longer warm-up and slower learning rate decay.

@lakshya-4gp Do you still have the issue?

Unfortunately, i couldn't already resources to make extra runs of experiments at the moment. I believe it's fair to close this at the moment. Thanks for your help


mobile ui submits form on file select

when used mobility this system submits the form it is attached to after it finishes loading the previews for the files.

Please provide a MVCE example that can reproduce your issue.

Yeah I realize now that I forgot to leave any big report info.
I'll try to get you some on Monday.

Closing it now for inactive. Please feel free to reopen or comment.


Missing FORMAT entry from the report-stahtd stanza in default/transforms.conf

I'm seeing an error in my logs about the report-stahtd stanza missing a FORMAT entry.
The fix would appear to be to add the following line to the [report-stahtd] stanza in the default/transforms.conf
FORMAT = json::$1
Note that I've called the extracted field json because that's the name of the SOURCE_KEY used by the report-stahtd-kv stanza to parse the JSON blob.
The issue is present in v1.3.6 of the add-on.

Fixed this, thanks for submitting!


Drop nonexistent 'to_utc_time' Date method

Motivation

Non-existent stdlib Date/DateTime method
https://ruby-doc.org/3.2.2/exts/date/Date.html
https://ruby-doc.org/3.2.2/exts/date/DateTime.html
Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_Oo5veYMllUSRlO
→ https://go/builds/bui_Oo5vctNjmr5x3O
→ https://go/builds/bui_Oo5wvICJyCrRJz


Added Update URL tag

Currently auto updating rewrites an update url to undefined

I tried it and it doesn't seem to work?

It wont work until it's merged because it's looking at the script file in the master of this repo which doesn't have the tag.

In the script I lowered the version so it should see that the github has a higher version right?

pls merge this!


Workflow doesn't work with certain URLs

Hi - I'd like to use https://kat.rip/ instead of the default, but all the results return as 404 - is there a step I'm missing here?

getting the same result as you here. will check. thanks.

the issue happens when scrapping the site. for whatever reason kat.rip doesn't use the same CSS classes than the default site.
Alfred KAT gets the rows from the .frontPageWidget tr table. that table uses different CSS selectors on kat.rip. so it's a bit of a mess. not sure what's the best way to make KAT works on all sites if they don't follow the same structure.

ok so it's even worse with kat.rip.
you end up on a page that dynamically loads the stuff later. so you can't scrap it. this is the HTML received by the parser:

  <title>Just a moment...</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge">
  <meta name="robots" content="noindex,nofollow">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <link href="/cdn-cgi/styles/challenges.css" rel="stylesheet">
  <meta http-equiv="refresh" content="35">

        Enable JavaScript and cookies to continue

    <form id="challenge-form" action="/search/fi?__cf_chl_f_tk=iPfHMW7cMAPN6Lk0OU_712BHqug72vZcm8Yvry5l7ZA-1687622635-0-gaNycGzNCRA" method="POST" enctype="application/x-www-form-urlencoded">
     <input type="hidden" name="md" value="tMKgME7bdedN0s7pWXM1wSAgwQnfdPHc.DxMHvN359o-1687622635-0-ARpPIxAH-M5MOKqkPBY2iAAtyiV-Wf9VO0hUJuiPkI9h4LbLHCrgLJgtP5C_6eqzsJbTQwV-ofirjwLJPhxyEac-Fe7cJEN17C7S1Fgr5Egbt8kspmsD4_daPJACF5LpjDsIaEKpZihIcbrzLnSZoUyZxWGzJxWStDkC-tKIzgYxlCGBUS7F4Y100iLBW8E8Yo-BTTfjVEJktW7xa_QcoyOmj75R-b7md7Ueq3DjK8MxhobFxWJAoSpCsSH0sVJ8v7fIwLN4PloLRkpkgX-iL0lLW_Z6G22H5QvOX5WzuUC2Dm7-m8hqYyxTFL8KZfR8Gg_08TOqGO-zRz7pkB84nnBRFLcffHTyXY__MAxo4rZ6_blOqLUBxJ32I_MrGkyGqzspaI64cW66LgI5r1OjHvdS6Qd0fzFLMZPZHhKKfdSlTLbBhpCO3XaPkdIRwfhE8D0erUQb16gAZ_bUAX4p_vUmCjjNqflRlz0Navu2qmvdXL36emwZsJmQ5uQc1Zr7mAyZ6RAuan62zNa26y4gkmbC3WpKR0KSEgeeKhoBpvf_eTQmvzjbekViC-DSCGzh--z9K650ejJK1bBrSJUeNwjtj3EcGb0ZGQq1iABLX-RP9Jsf_YxlOxU6ZGvx2ts6moUhuONGQagTJeE5Fbb2DmpCMY4DTa3eeCcMNl-ElO0zy03mJcXhsvSK4biFqVaQCiLcvykrubxpv3OmddvIx3YqOlT00LzDh8ccFgZ2N85sw62SAC1J4-0uzJFgNwI23vHr2jCs4_uakRXWkG6MZjmefLX0IuE9a1pYZHZQ4yfCPGeFUgpKXBETQxSbm97YDu-3JKe70lGU9TrNCp8mSvUCH6moD7Y9LRtlv1jNuZDleBWRIpV9vofW2vkmr8gKJGkrSpKe-2f41yG371ow4flMH7phQ4S53rnaBE7Uv4EnNVwi9cB1u04hM3tDmmHbE00oyKrS7ULeHQVBSWPOFlPWLkNwp-NcBlDM-qLol-6ftpHxKaq992BwtqKggELf5gFZZx1JesOmD9TxggK-xHYlKob4m6UtuNM4lTWFQkMqwQWfXl1Sq_4ymhjZNdm2qmjF09tLqMT6gd7O8TZtA1ENxgPzhURiu5AIeV6COGTkRqGqlmvC74rwehGjwlcZ_jrmK4I5Ly92m8G5-zAEaICGOpNfZLCN3zRNA5rk_AnXu4O9-62uh_-alISp2tD2PGMhJI1hxHvP2YLRefrd9w7bRvtYIhG0SB47T0P5tNo7VpIXTOZadGOIFAFOfSsUuaBeAHtXLuPdOJ9fyjgGfiLeM9dvWLk6_cfOv-yW7euw_BqwTs3G1YKEWWRzi4xf_VFTQU0YNODdztCexPSuEE-vB1Qf3u-rhyQkGRkwFD47lsE3dW4Re7ZJp97zJHNvP_YOblaPf1qnE8HRuYfy-QbNeOk3bcrr814qvn9jovCi-T4IueT9UHarm_x69hMqI6IyxH5LwvSoeujAeVjWafQGDHMyV8E3iUlkB6meG_xgU8EknXb9L-9c-QUnz0UyxIC6nh0HVleK1Cm_8vE6Hzf0AYpEDACQLRFXyIF2zN7JUnKh_ET3asxMDXiUr1cf2hMEnlZaSE1vz38MeGZssY29Syo68Tb9Ld3RMWDag-rypAhKOdd6c5EsYIbOEfy8ca4lsvwtdMJDsQUpHDom1DvmeGk2FdwenlBY439ahvogMcx6evz5NhBHhKlJIxFfPW_7zm87a8Yxx7ETMiu3MxprsezC_5vXB1JyyLUYeJRSU_9tuICH0850IEX19wnbqZhnEFxmbkychvcAe9rlT7E4UP03isfG7NdmiagnP6ViFsWslSW5FP3NLZfo3cC7gqyBXg7m40ZCn7q0oJ-u4jcV0Fu5r67UgYDMKlf19dbuI-Z6NfyIOMHylEzLlU3bzjMJe8ZlLTTOYzVOTwcReS3heB87fa-IzURM7nAFVX6EtQYGF_6_HISdmVV2bITe_BPHO0gCuHw4gEqKAOkCP9Tj9fsopfgFEsDyqao9PpvL2aiSMoXYjx55lVbgG563nRIf-Ra6qLDOfJqup0H6V7nowIr-jWRHh4I4mW-Boa83-s53UW6O9mTbpQUvuNRQGhRC8XMW_heQ2vP6h2gxgib68pmBIWaz0e08FYdoh2jzwKgVqA9yD80BdkeCRdFsdQil57zlOjGbBf6Rr0nSScIk5s5uscR78yFtbVbup2Myy33e28btSl_vLgvlJnmOUijTfFL1EDyhbmfwZ6ibaRw">
    </form>

then some JS is doing the bullshit of loading the real page. not worth working on that sorry.

Ah I see - fair enough, thanks for looking into it!
Do you have a list of known working sites somewhere?

Do you have a list of known working sites somewhere?

honestly no. i've built that variable for myself at first, coz sometimes the official KAT site was getting raped. so i wanted to be able to switch the URL fast. but yeah, hit and miss. i haven't had to change it for ages tho. any reason why you don't wanna use the original URL?

I travel a fair bit and the default URL is sometimes blocked - I can VPN through and take all those steps but it'd be easier to just switch it out for the duration of the stay.
Additionally, I get more results on kat.rip - by some significant margin, and more trackers too it seems? that last part is strange to me, but there are more results that's for sure.

I travel a fair bit and the default URL is sometimes blocked - I can VPN through and take all those steps but it'd be easier to just switch it out for the duration of the stay.

hmm. fair. although i have another Workflow to connect to a Brook VPN through Alfred 😂

Additionally, I get more results on kat.rip - by some significant margin, and more trackers too it seems? that last part is strange to me, but there are more results that's for sure.

oh. strange. i would have expected the mirrors to have the same data. i've mostly always been able to find what i was looking for on the original. but yeah, i surely can't do anything easily with kat.rip. not sure if there's a way to get scrappers to grabbed some kind of final render of the HTML. that'd require me to dig deep into how that works. which i'm def. not gonna do for now coz i'm busy with more important stuff, sorry!

not sure if there's a way to get scrappers to grabbed some kind of final render of the HTML

surely there is, but it's above what I can understand - I smell a custom search to just get that results URL a bit quicker.

which i'm def. not gonna do for now coz i'm busy with more important stuff, sorry!

no worries - thanks for looking into it as much as you did!

surely there is, but it's above what I can understand - I smell a custom search to just get that results URL a bit quicker.

yeah? like i'd be surprised. their shits are being rendered dynamically. or at least after some maybe Cloudflare bs or whatever. anyways haven't been digging too much, but it's enough for me to know that's gonna be a headache and i don't have the current knowledge needed to think of a solution quickly 😂

no worries - thanks for looking into it as much as you did!

sure.


fail to start container

OS : debian bullseyes raspberry 4
Docker version 20,2,20
i tried to run fireguard ui with docker but it fails to start.
docker-compose.yml :
version: "3"

services:
  wg:
    #build: .
    image: ngoduykhanh/wireguard-ui:latest
    container_name: wgui
    cap_add:
      - NET_ADMIN
    network_mode: host
    environment:
      - SENDGRID_API_KEY
      - EMAIL_FROM_ADDRESS
      - EMAIL_FROM_NAME
      - SESSION_SECRET
      - WGUI_USERNAME=user
      - WGUI_PASSWORD=mypassword
      - WG_CONF_TEMPLATE
      - WGUI_MANAGE_START=false
      - WGUI_MANAGE_RESTART=false
    logging:
      driver: json-file
      options:
        max-size: 50m
    volumes:
      - ./db:/app/db
      - /home/pi/docker/wireguard/config:/etc/wireguard

Error logs:
exec ./init.sh: exec format error
exec ./init.sh: exec format error
exec ./init.sh: exec format error

same here

OS : debian bullseyes raspberry 4 Docker version 20,2,20
i tried to run fireguard ui with docker but it fails to start.
docker-compose.yml :
version: "3"

services:
  wg:
    #build: .
    image: ngoduykhanh/wireguard-ui:latest
    container_name: wgui
    cap_add:
      - NET_ADMIN
    network_mode: host
    environment:
      - SENDGRID_API_KEY
      - EMAIL_FROM_ADDRESS
      - EMAIL_FROM_NAME
      - SESSION_SECRET
      - WGUI_USERNAME=user
      - WGUI_PASSWORD=mypassword
      - WG_CONF_TEMPLATE
      - WGUI_MANAGE_START=false
      - WGUI_MANAGE_RESTART=false
    logging:
      driver: json-file
      options:
        max-size: 50m
    volumes:
      - ./db:/app/db
      - /home/pi/docker/wireguard/config:/etc/wireguard

Error logs:
exec ./init.sh: exec format error
exec ./init.sh: exec format error
exec ./init.sh: exec format error

is this already solved? which kernel/hardware architecture are you using?


Update RoseGold Circuit value in mixer from #3

... as TrulyNo noted in discord this is currently an oversight, as it currently conflicts with Tumbaga, which also is on circuit #3.

Fixed in next version


Heroku Error on Push

when i do the last push command (git push heroku master) i get this:
"No default language could be detected for this app."
I tried and set the build pack to php... but get an error like this:
heroku buildpacks:set heroku/php
then when i try to push i get this:
Counting objects: 3, done.
Writing objects: 100% (3/3), 217 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Failed to detect set buildpack https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/php.tgz
remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !	Push rejected to s3-file-browser.
remote:

no where in the instructions mentioned this but this seemed to help me:
To switch from SSH Git to HTTP Git, run heroku git:remote in the directory holding your local Git repository. The CLI will override the heroku Git remote to use the HTTP protocol.

Good to know. So this issue is resolved?


Demo on website shows errors

Hi, @skinkie thanks for reporting this. We are aware of these issues. They are due to the tolerance and the simplification algo we are using. One of the big things in our v0.6.0 release (which was released yesterday) is the ability to turn off simplification on a per layer basis. We are working to update the demo site with the new version. We are looking at changing out the simplification algo in a near future release.

This is fixed now.


proposal: encoding/json:  fix omitempty tag behavior once and for all

Presently, the omitempty tag is documented in the json library as:
// The "omitempty" option specifies that the field should be omitted
// from the encoding if the field has an empty value, defined as
// false, 0, a nil pointer, a nil interface value, and any empty array,
// slice, map, or string.

The problem with this behavior is that default value of a map, slice and array are not empty values but nil.
Since null is a valid json value, this was not enforced because of some go-centric design and this decision caused actually empty values to be discarded and with it a viable information. For example, when client sends PATCH request, there is a difference between no value present - at all, null and [] or {}. All of these situations are perfectly valid cases and when omitempty drops all values, it forces the server to treat them like no value present, which is blatantly wrong behavior. I think this might be related to google's days of go development and google's strong tie to grpc and protocol buffers, which nowadays forces use of field mask to detect value not present, nil or empty. But json is not grpc nor protocol buffers so this sohuldn't have been here in the first place.
Obviously I have no way of knowing how the decision to force this behavior came to be but I think it is time to fix this "discardation" of actual tangible, useful, and most importantly purposeful, information.
PS: NULL has been invented specifically to signal that something exists(a field in an object, a column in a database) but has no value. Hence, empty map, slice, array simply CANNOT be under any circumstances treated the same way as NULL. It's just plain wrong. There's no discussion to be had, this is wrong from the get go.

Duplicate of #44023

The original issue has this one quote: "I think the behavior you observe is correct, as per the docs"
That's really not how to handle a BUG. It's like government investigating itself ,telling people it found no wrongdoing.

Remember that omitempty only applies to marshaling, not unmarshaling.

changing that is a serious breaking change, not a bug fix
The go standard library is generally designed not to distinguish between zero and nil slices, that extends here as well.


Add privacy manifest

Recently Apple started requiring Privacy manifest to be included in apps submitted to the App Store. Additionally all third party SDK included in app should also have their own privacy manifest (with some exemption).
Given what Clarity iOS SDK does I assume it may actually require such privacy manifest as per Apple requirements: https://developer.apple.com/support/third-party-SDK-requirements/.
Docs on adding privacy manifest: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/adding_a_privacy_manifest_to_your_app_or_third-party_sdk#4336762
I have not yet encountered app rejection due to missing Privacy manifest, nevertheless it would be handy to have such for Clarity.

Thank you @TomaszLizer. We will consider to add a privacy manifest to our iOS SDKs.

Will be part of our next release.


Abnormal Android audio recording

Gdodt Editor Version : 3.2.1 Stable
Windows Version : Win10
Android Version : 10
Phone Model : Huawei ELE-AL00
Project settings--Audio--Mix Rate : (8000、16000、or other)
default_bus_layout--Record--Format : 8-Bit
Recording parameters are normal in Windows
But the parameters are abnormal after recording on Android
Mix_Rate : always 44100
**When using Android recording！
Project settings--Audio--Mix Rate : (8000、16000、or other)
This parameter does not take effect on Android when setting！
It is recommended to add "Mix Rate" property setting in "Audioeffectrecord"**

If this is the code in AudioDriverOpenSL::capture_init_device, Godot only seems to support 44.1khz 16bit on Android.


How can I get response status in Tomcat Plugin

I have try to do followings:
[Tomcat Plugin] StandardHostValveInvokeInterceptor#after()
HttpServletResponse response = (HttpServletResponse) args[1];
But I can not invoke getStatus(), because HttpServletResponse not support. Now I want to know wether the request is success, so How can I get response status ?

@ganpengyu
Please refer to the code below.
https://github.com/naver/pinpoint/blob/992ae5f6a1a84645c78df44623859ae6adec68f3/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/interceptor/StandardHostValveInvokeInterceptor.java#L114


We need to stress the fundamental advantages to standardization in our SHR story

From<EMAIL_ADDRESS><EMAIL_ADDRESS>On Behalf Of Sleeper, Harry A.
Sent: Sunday, June 12, 2016 12:19 PM
To: hdi-10x-list Health Data Interoperability 10X Initiative<EMAIL_ADDRESS>Subject: FW: MITRE as a Standards Development Organization (SDO)
We need to stress more of the fundamental advantages to standardization in our SHR story.....H

From: Harry Sleeper<EMAIL_ADDRESS>Sent: Sunday, June 12, 2016 12:08:27 PM
To: Sleeper, Harry A.
Subject: Re: MITRE as a Standards Development Organization (SDO)
From Wikipedia:
https://en.wikipedia.org/wiki/Standardization
Standardization...is the process of implementing and developing technical standards.
Standardization can help to maximize compatibility, interoperability, safety, repeatability, [and/]or quality.
It can also facilitate commoditization of formerly custom processes.
In social sciences, including economics, the idea of standardization is close to the solution for a coordination problem,
a situation in which all parties can realize mutual gains, but only by making mutually consistent decisions.
This view includes the case of "spontaneous standardization processes", to produce de facto standards.
Also see:
http://www.digistan.org/mission
http://www.standardsportal.org/usa_en/resources/sdo.aspx
https://en.wikipedia.org/wiki/Standards_organization
https://en.wikipedia.org/wiki/American_National_Standards_Institute
http://www.shapeamerica.org/standards/health/
http://www.cdc.gov/healthyschools/sher/standards/1.htm
http://alistapart.com/article/stopping-the-infighting-about-digital-standards
https://mail.google.com/mail/u/0/#drafts/155416be570c2df5?compose=155417d789b4900b%2C15541800524e47c8
On Sat, Jun 11, 2016 at 3:38 PM, Harry Sleeper<EMAIL_ADDRESS>wrote:
Please put a strategic case together on why MITRE should become a Standards Development Organization (SDO).
Then, put a case together that MITRE should adopt the Standard Health Record (SHR) as our first official MITRE standard developed as a SDO.
Thanks....H

Patient safety (reducing harm from medical care to individual patients) is awash in conversations about standardization. It is a core principle and speaks to physicians and their leaders. We can connect to them with this concept.

On 18 Jul 2016, at 9:25 AM, markkramerus<EMAIL_ADDRESS>wrote:
From<EMAIL_ADDRESS><EMAIL_ADDRESS>On Behalf Of Sleeper, Harry A.
Sent: Sunday, June 12, 2016 12:19 PM
To: hdi-10x-list Health Data Interoperability 10X Initiative<EMAIL_ADDRESS>Subject: FW: MITRE as a Standards Development Organization (SDO)
We need to stress more of the fundamental advantages to standardization in our SHR story.....H
From: Harry Sleeper<EMAIL_ADDRESS>Sent: Sunday, June 12, 2016 12:08:27 PM
To: Sleeper, Harry A.
Subject: Re: MITRE as a Standards Development Organization (SDO)
From Wikipedia:
https://en.wikipedia.org/wiki/Standardization
Standardization...is the process of implementing and developing technical standards.
Standardization can help to maximize compatibility, interoperability, safety, repeatability, [and/]or quality.
It can also facilitate commoditization of formerly custom processes.
In social sciences, including economics, the idea of standardization is close to the solution for a coordination problem,
a situation in which all parties can realize mutual gains, but only by making mutually consistent decisions.
This view includes the case of "spontaneous standardization processes", to produce de facto standards.
Also see:
http://www.digistan.org/mission
http://www.standardsportal.org/usa_en/resources/sdo.aspx
https://en.wikipedia.org/wiki/Standards_organization
https://en.wikipedia.org/wiki/American_National_Standards_Institute
http://www.shapeamerica.org/standards/health/
http://www.cdc.gov/healthyschools/sher/standards/1.htm
http://alistapart.com/article/stopping-the-infighting-about-digital-standards
https://mail.google.com/mail/u/0/#drafts/155416be570c2df5?compose=155417d789b4900b%2C15541800524e47c8
On Sat, Jun 11, 2016 at 3:38 PM, Harry Sleeper<EMAIL_ADDRESS>wrote:
Please put a strategic case together on why MITRE should become a Standards Development Organization (SDO).
Then, put a case together that MITRE should adopt the Standard Health Record (SHR) as our first official MITRE standard developed as a SDO.
Thanks....H
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Support widgets

Our idea is to have widgets for tables, graphs (likely via Vega-lite) and so on.

@josevalim I'd love to work on this issue. Can you elaborate more on this issue?

Hi @AceTheCreator! This is a very big issue that will touch different parts of Livebook, so @jonatanklosko and I plan to tackle it. That’s why we have been light on the details. Thanks for checking though!

No problem @josevalim I'd check out other issues then : )


Question: HTTPS support?

Hi there.
Thanks for a useful tool. I can't however find any information about HTTPS support? As of Android API level 28, HTTP (clear text) is disabled by default and it's of course not a good idea to send any information off a device in clear text. ACRA itself supports HTTPS - is this supported by Acrarium or are there plans to support it?
Thanks in advance

Https support is not an application level problem.
If your web server supports https, Acrarium will too.
Most web servers support https, including tomcat, which is bundled in the docker image.


doc: Add stale read design doc

What problem does this PR solve?
Issue Number: ref #4483
Problem Summary:
Add stale read design doc
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[x] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/merge

/run-unit-test

/run-unit-test


Add meta reader helper

Since broadcaster has a ring buffer, we can take advantage of this property to read the meta data for video/audio without losing any data.

As it requires polling to detect prop update, some frames between source prop update and next polling timing will be handled with old prop.
I guess WebRTC implementation in browsers immediately reflect source prop change to encoding setting. (not very sure)

As it requires polling to detect prop update, some frames between source prop update and next polling timing will be handled with old prop.
I guess WebRTC implementation in browsers immediately reflect source prop change to encoding setting. (not very sure)

I was planning to use these helpers to initialize the encoders only. In the future, I think our encoders should have a way to update the parameters on the fly. When we have this, we'll wrap the reader with video.DetectChanges, which will always inform us whenever any of the required parameters change, and we'll simply use the encoder's API to update its parameters.


Fix for v0.55 collections diffing

Reverted to a diffing that returns all changes necessary to move from state A to state B.
The main reason we did what we did before is that Xamarin.Forms needs we change ObservableCollection step by step, which was making the "old indices" really hard to calculate (on insert, all indices after are shifted by +1; on delete, shifted by -1).
So instead a new function is responsible to compensate for that, it's easier to understand what's going on.

I think we can make the key attribute for collections mandatory. Something like items:(ViewElement*string) list. That will give some pain on update, but will let us have more proper collection diff.

A Map<string, ViewElement> instead could be more efficient.

@vshapenko Yeah, maybe. Today, I think it wouldn't make sense API-wise though.
There would be 2 ways to declare keys and it would make no sense from the developer's point of view.
View.CollectionView([
    "Item1", View.Label(key = "Item2") // What's supposed to happen here?
])

Also I'm not a fan of having "dangling" values in the middle of controls.
I find it harder to understand. It feels loosely coupled in my opinion.
For example ListViewGrouped, without knowing the actual signature it's hard to understand what is the purpose of the different parts.
View.ListViewGrouped([
    "A", View.TextCell("A"), [
        View.TextCell("Alphabet")
    ]
])

As far as I know React doesn't require a key for collections, but strongly encourage it.
SwiftUI took a different approach by requiring the collection of data to have some kind of identifiable part, either by having the data type to implement a Identifiable protocol, or passing a lambda to the key as part of the List signature.
List(landmarkData, id: \.id) { landmark in  //\.id here means fun data -> data.id
    LandmarkRow(landmark: landmark)
}

Which could be translated to
let items = [ { Id = 1; SomeData = "Hello" }; { Id = 2; SomeData = "World" } ]

View.CollectionView(
    itemsSource = items,
    itemId = (fun item -> item.Id),
    itemTemplate = (fun item ->
        View.Label(item.SomeData)
    )
)

Maybe it can be something we add to the new architecture as part of #738?

I think yes. FYI, we have our own implementations of collection views. PM
me if you need details.
пн, 13 июл. 2020 г., 12:52 Timothé Larivière<EMAIL_ADDRESS>
@vshapenko https://github.com/vshapenko Yeah, maybe. Today, I think it
wouldn't make sense API-wise though.
There would be 2 ways to declare keys and it would make no sense from the
developer's point of view.
View.CollectionView([
"Item1", View.Label(key = "Item2") // What's supposed to happen here?])
Also I'm not a fan of having "dangling" values in the middle of controls.
I find it harder to understand. It feels loosely coupled in my opinion.
For example ListViewGrouped, without knowing the actual signature it's
hard to understand what is the purpose of the different parts.
View.ListViewGrouped([
"A", View.TextCell("A"), [
View.TextCell("Alphabet")
]])
As far as I know React doesn't require a key for collections, but strongly
encourage it.
SwiftUI took a different approach by requiring the collection of data to
have some kind of identifiable part, either by having the data type to
implement a Identifiable protocol, or passing a lambda to the key as part
of the List signature.
List(landmarkData, id: .id) { landmark in  //.id here means fun data -> data.id    LandmarkRow(landmark: landmark)
}
Which could be translated to
let items = [ { Id = 1; SomeData = "Hello" }; { Id = 2; SomeData = "World" } ]
View.CollectionView(
itemsSource = items,
itemId = (fun item -> item.Id),
itemTemplate = (fun item ->
View.Label(item.SomeData)
)
)
Maybe it can be something we add to the new architecture as part of #738
https://github.com/fsprojects/Fabulous/issues/738?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Fabulous/pull/775#issuecomment-657455175,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEKNDOVMKT6SRAFDHWSWKCLR3LKOZANCNFSM4OWRQUWQ
.

I added a new constraint to prevent reuse in some conditions.
A previous element with a key that is not found in the new list won't be reused by a new element.
Even though nothing prevents us to reuse the abandoned keyed element, on some platforms, an animation might play on some properties when changed.
This is the case for iOS Button. When the text changes, it plays a fade-in/fade-out animation (#308).
Same with Android Button. When clicked, a ripple animation plays.
But due to Fabulous reusing those controls "aggressively" without the developer being able to say anything, it resulted in undesired animations playing.
Now, by default Fabulous will reuse an unkeyed control, but if the developer notices an undesired animation due to control reuse, it can disable it by setting a key.

@TimLariviere , looks like we badly need your help


Code editor can't handle large files

When trying to open particularly large files in the code editor the entire editor will lock up. e.g. when importing https://github.com/utopia-test/react-three-flex-examples and trying to open https://github.com/utopia-test/react-three-flex-examples/blob/master/public/draco-gltf/draco_wasm_wrapper.js the file will open but the editor will very quickly grind to a halt

Fixed by #551


[TRACKER] GraphNode/GraphEdit issues

Just want to list out issues about the shader graph editor, I would also want to mention some issues about the VS editor but I am not sure whether shader editor and VS editor should be consider the same or not as they may share common problems.
General

[x] #41538

Shader graph editor

[x] #11001
[x] #10989
[x] #9618

VS editor

[ ] #18200
[x] #6381
[x] #16220
[x] #16488

Only one issue remains, so closing this.


[Bug] mim install mmdet

Prerequisite

[X] I have searched Issues and Discussions but cannot get the expected help.
[X] I have read the FAQ documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version (master) or latest version (3.x).

Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
master branch https://github.com/open-mmlab/mmdetection
Environment
python3.9
Reproduces the problem - code sample
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-rxd88cxj/mmcv-full_671a87edfa0a481c85ed9289e3261c9d/setup.py", line 20, in
from torch.utils.cpp_extension import BuildExtension
File "/home/xzt/miniconda3/envs/mmdet/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 19, in
from .hipify import hipify_python
File "/home/xzt/miniconda3/envs/mmdet/lib/python3.9/site-packages/torch/utils/hipify/hipify_python.py", line 34, in
from .cuda_to_hip_mappings import CUDA_TO_HIP_MAPPINGS
File "/home/xzt/miniconda3/envs/mmdet/lib/python3.9/site-packages/torch/utils/hipify/cuda_to_hip_mappings.py", line 34, in
rocm_path = subprocess.check_output(["hipconfig", "--rocmpath"]).decode("utf-8")
File "/home/xzt/miniconda3/envs/mmdet/lib/python3.9/subprocess.py", line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/home/xzt/miniconda3/envs/mmdet/lib/python3.9/subprocess.py", line 505, in run
with Popen(*popenargs, **kwargs) as process:
File "/home/xzt/miniconda3/envs/mmdet/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/xzt/miniconda3/envs/mmdet/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
NotADirectoryError: [Errno 20] Not a directory: 'hipconfig'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
Reproduces the problem - command or script
mim install mmdet
Reproduces the problem - error message
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-rxd88cxj/mmcv-full_671a87edfa0a481c85ed9289e3261c9d/setup.py", line 20, in
from torch.utils.cpp_extension import BuildExtension
File "/home/xzt/miniconda3/envs/mmdet/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 19, in
from .hipify import hipify_python
File "/home/xzt/miniconda3/envs/mmdet/lib/python3.9/site-packages/torch/utils/hipify/hipify_python.py", line 34, in
from .cuda_to_hip_mappings import CUDA_TO_HIP_MAPPINGS
File "/home/xzt/miniconda3/envs/mmdet/lib/python3.9/site-packages/torch/utils/hipify/cuda_to_hip_mappings.py", line 34, in
rocm_path = subprocess.check_output(["hipconfig", "--rocmpath"]).decode("utf-8")
File "/home/xzt/miniconda3/envs/mmdet/lib/python3.9/subprocess.py", line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/home/xzt/miniconda3/envs/mmdet/lib/python3.9/subprocess.py", line 505, in run
with Popen(*popenargs, **kwargs) as process:
File "/home/xzt/miniconda3/envs/mmdet/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/xzt/miniconda3/envs/mmdet/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
NotADirectoryError: [Errno 20] Not a directory: 'hipconfig'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
Additional information
No response

Instead of using the ssh server, run commands directly on the server

I also encountered this problem. Please fix this bug.

I have the same problem! it works well previously not sure why.

I had the same issue. This hack solved the problem for me. But same as him, I don't know why it works-
https://github.com/IDEA-Research/Grounded-Segment-Anything/issues/130#issuecomment-1628591076


What is the state of skylark support?

I've tried importing a small scala project (built with skylark of course) and it seems it's not supported. The source code appears greyed out and labeled (unsynced).
Interested in learning what's the state of skylark support and what are the thoughts?
This is an area I'm very interested in and if applicable I'd be happy to contribute in a few weeks time once I make some progress on other parts of our bazel setup.
project I tried to import for reference.

There isn't any general Skylark support, we have to separately support each language. You can open a feature request for Scala specifically (unless you have already done so). We are currently unclear when/if we'd support that. Thanks!


fix(mobile): touchDB is needed in early calls that might hit db

updateThread was being called before db existed sometimes

Confirmed working on iOS and Android.


[Events] Querying EventsByModule does not give events from module that fired event

Steps to Reproduce Issue
RPC call “events by module” returns not the event module but the frontend one (eg entry fun).
For example:
call capy_admin::batch_breed_and_list(
  -> capy::batch() -> CapyBorn
  -> capy_market::list() -> CapyListed
)

I really expected RPC to give me events (CapyBorn and CapyListed) in requests: eventsByModule(capy) and eventsByModule(capy_market). But in this case events are queried by “capy_admin”.
Can we change it? That makes it impossible to track all capys ever bred if someone builds a breeding house. Or if someone wraps capy marketplace logic in their marketplace
If we query actual module that fired event, that would solve my issue.
The problem here is if you have
module M1 {
  public entry fun f() {
    M2::g()
  }
}

module M2 {
  struct Event { ... }

  public fun g() {
    event::emit(Event {... })
  }
}

and query by events emitted for M2, you get nothing. If you query events by M1, you will see M2::Event's.
The expected behavior is the opposite: querying M2 for its events should show M2::Event's, and querying M1 for events should show nothing. I think this is just a bug. (edited)
Expected Result
Specify what outcome you expected should have resulted, but didn't.
e.g.
Expected  to return 42.
Actual Result
Specify what the actual unexpected outcome was.
e.g.
 returned 41.
System Information

OS:
Compiler:

/cc @damirka @sblackshear

Hey @velvia @patrickkuo. Any chance we could prioritize this for this / next week? It would save a lot of time writing event synchronization logic in capys.

@damirka will have a quick look...

@damirka I think you should be able to get what you want today using the new EventQuery API, using this type of query:
    | { "MoveEvent": string }

The equiv Rust definition with example of the input format:
    /// Return events with the given move event struct name
    MoveEvent(
        /// the event struct name type, e.g. `0x2::devnet_nft::MintNFTEvent` or `0x2::SUI::test_foo<address, vector<u8>>` with type params
        String,
    ),

So instead of using query by module (which is the module where the event was fired from) if you query by MoveEvent with the format above for your copy event, then you will get all such events regardless of where they are emitted.  Try that and see if that solves this issue!

More followup from @damirka .... he is already indeed already using EventName API?  and want to return just move events, but from multiple events defined in the module.
This would look like an "MoveEventModule" query which is is "MoveEvent" but matches just the first two components
(ie 0x2::devnet_nft instead of the entire 0x2::devnet_nft::MintNFTEvent)

This should be fixed now in main.


MRG, BUG: Fix handling of aspect

Closes #6359.
@jjnurminen can you confirm it fixes your problem?

This indeed fixes the problem. Thanks @larsoner


Swap java8-multiarch into java8 image tag

Enhancement Type
Improve an existing feature
Describe the enhancement
Keep java8-multiarch image tag but also tag it as java8 to avoid the stale version of java 8 that the alpine upstream supplies.

Another problem with the java8 image it appears to fail to download the ftbinstaller and just skips to try deploying it which then fails.
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwsrwx 1 0 2000 42 Mar 21 23:33 /data'
[init] Resolved version given LATEST into 1.18.2 and major version 1.18
[init] Resolving type given FTBA
[init] Installing modpack ID 80, version ID 2112
/start-deployFTBA: line 47: /data/ftb-installer: No such file or directory

Another problem with the java8 image it appears to fail to download the ftbinstaller and just skips to try deploying it which then fails.
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwsrwx 1 0 2000 42 Mar 21 23:33 /data'
[init] Resolved version given LATEST into 1.18.2 and major version 1.18
[init] Resolving type given FTBA
[init] Installing modpack ID 80, version ID 2112
/start-deployFTBA: line 47: /data/ftb-installer: No such file or directory

Same problem for me


volume candle  in lightweight chart

Hi , I can see we can create plugins , can we create volume candle where each bar in price scale has different width , is it possible ? I read somewhere all width must be same...

The distance between the centers of data points must remain constant. You can only partially create volume candles by varying the widths of the candles. However, narrower candles will have larger whitespace around them. It is not possible to have different widths without altering the gaps between the candles.
Hopefully this explanation makes sense.

Yea I can understand , Even with custom plugins I wont be able to create ? Like how tradingview original achieved

Yes, you won't be able to achieve the same appearance that is possible on tradingview.com with LWC at the moment.
It has been discussed internally, and we are considering including it in a future release but it won't be part of the next major v5 but could be part of a v5.1 release for next year. Up to this point there hasn't been much demand for this feature.

HI , ok please consider for 5.1 , variable bar width + plugin creation will give us more flexibilty.


send error packet on invalid packet

resolves #11

the build fails on macOS for whatever reason but not on win/linux, do you have any idea why?


Hilach/dropout

Thanks for the useful resource @lucidrains!
I saw this part from the paper:
Dropout, when used, is applied after every dense layer except for the the qkv-projections and directly after adding positional- to patch embeddings.
So 3 things regarding the dropouts you added:

I think there's a dropout missing right after adding the positional to the embedding.
I don't see why there should be a dropout after the dot product in the attention- line 57 (it's not a dense layer and it's not mentioned in the above description).
considering they refer to the qkv-projections as dense layers, I think they mean that all linear layers are dense layers, so I added dropouts after each linear layer.

Kindly let me know if you have any comments/ disagreements.

@hilach70 yes, you are right! i've modified it accordingly in the latest commit!

@lucidrains @hila-chefer I spent some time pondering these dropouts as well, my first training without dropout overfit early despite heavy image augs...  I've been training since yesterday with dropouts closer to what was just added here.
However, I didn't add the post pos/cls_token embedding dropout yet because the language in the paper was ambiguous even though BERT models do typically have that dropout layer.
The paper read to me as  'is applied after every dense layer EXECPT for 1) the the qkv-projections AND 2) directly after adding positional- to patch embeddings.' ... but it could also be  'applied after every dense layer except for the the qkv-projections, and also applied directly after adding positional- to patch embeddings.'
If either of you are training I'd be curious to know how it works out. I'll share training results/hparams when I get something working well.

@rwightman that's a VERY good point about the positional embedding, it's really ambiguous and you managed to convince me that your interpretation may be the correct one!
I'm actually currently training on imagenet and the model doesn't overfit at all, but on the other hand it's a huge dataset.
which are you using?

@hila-chefer also training on ImageNet, which I don't think is that huge for these models. At 200 of 300 epochs with cosine decay it was pretty much done, validation loss was rising, I was training a smaller than base model with less layers and smaller MLP (roughly 50M params, instead of the base of 87M).

@rwightman  I see, I agree it's not big for this model, they use JFT-300M so obviously it's small in comparison, thought you may have tried a small dataset to get started... I think that epoch 300 sounds reasonable since this is the number of epochs they report in their paper for imagenet.

@lucidrains @rwightman
Turns out my training gets saturated at around 50% accuracy on validation, can any of you share your hyperparametets choice and results after 200-300 epochs?
Thanks!

I've got a training run that's going pretty well right now. Command line with hparams at issue linked below. It's a model that's smaller than the paper 'base' to ease training times on my 2x GPU setup.
https://github.com/rwightman/pytorch-image-models/issues/252

@rwightman Thanks! :)


Why shouldn't we use this in production?

Wondering why the disclaimer not to use this in production. I'll be working on a small Akka project that's not really high traffic. Since I already have an rdbms that will be serving the view part, I want to avoid putting up a separate cassandra instance.

Hi,
The project has been created by me as a study project / necessity. I needed a plugin that is more stable than the default LevelDB plugin, and I could only use a JDBC database on the project I was working on then, with no chance of introducing Riak / akka-persistence-riak or Apache Cassandra /  akka-persistence-cassandra. In the beginning the plugin had some blocking issues but as of now works nicely, but still I want to put a disclaimer up so users are informed about the following:

The project does not have a whole lot of users. The stability of a product is directly proportional to the user base and the bugs they find and report and hopefully a lot of pull request that fixes them. Granted, a lot of critical bugs already have been found and fixed but you never know what kind of bugs are still in there...
Akka scales very well and can easily overwhelm a JDBC data store (yup been there). To overcome the overload, you need the same traits in the datastore that you find in Akka (scalable/non-blocking). My advice on a good, stable and scalable solution use Apache Cassandra with the akka-persistence-cassandra plugin, IMHO the most stable and best plugin out there and only use this plug-in for study projects and proof of concepts, or if you really know what you are doing, you can use it.
Maybe less relevant, but I am an average Scala programmer at best and am still learning to use the Typesafe stack correctly, so maybe the plugin can perform better here and there.

Of course, you are free to use the plugin but please note these points when using it in production.
Best Regards,
Dennis

I use it in production in several applications for the last 9 months.
Each is only a small cluster(3 nodes), and only via akka cluster sharding(for better or worse cluster sharding requires the use of akka persistence) for a relatively small number of entries/entities.
So far, after an issue in cluster sharding was resolved (while we were still in development), it hasn't been a problem.


Streaming UI doesn't work in Colab

Repro: use demo/chat.py in colab:
import random
import time

import mesop as me
import mesop.labs as mel

me.colab_run()

@me.page(
  security_policy=me.SecurityPolicy(
    allowed_iframe_parents=["https://google.github.io"]
  ),
  path="/chat",
  title="Mesop Demo Chat",
)
def page():
  mel.chat(transform, title="Mesop Demo Chat", bot_user="Mesop Bot")

def transform(input: str, history: list[mel.ChatMessage]):
  for line in random.sample(LINES, random.randint(3, len(LINES) - 1)):
    time.sleep(0.3)
    yield line + " "

LINES = [
  "Mesop is a Python-based UI framework designed to simplify web UI development for engineers without frontend experience.",
  "It leverages the power of the Angular web framework and Angular Material components, allowing rapid construction of web demos and internal tools.",
  "With Mesop, developers can enjoy a fast build-edit-refresh loop thanks to its hot reload feature, making UI tweaks and component integration seamless.",
  "Deployment is straightforward, utilizing standard HTTP technologies.",
  "Mesop's component library aims for comprehensive Angular Material component coverage, enhancing UI flexibility and composability.",
  "It supports custom components for specific use cases, ensuring developers can extend its capabilities to fit their unique requirements.",
  "Mesop's roadmap includes expanding its component library and simplifying the onboarding processs.",
]

me.colab_show(path="/chat")

However, streaming UI does work properly outside of Colab (e.g. locally, Cloud Run) so there must be something unusual happening when Colab is executing the code.

This Colab Run on Google machine So if you request from outside Colab you need to do tunning for access this you can use ngrok for tunning


Export ICache memory

Feature request: export ICache SRAM connections, similar to the work that was done to export ICCM/DCCM in #144.

Fixed in #264


Think hard about QuadTrees

Dan said:
little silos, intent is subdivided and not everyone groks the same aspects to the same degree
and the knowledge is lost over time
net effect is that the QTBox winds up behaving like a quandrant grab bag, and total ordering just isn't necessary on its members, they just need to be 2-axis comparable
so from that POV I agree with you that some-other-set is just as fine
and removing the total ordering req is not counter the current implementation
but it probably does run counter the original intent, if I'm looking carefully
:shrug:
6 or half dozen, yanno? which is more useful?
just, damn, so many better ways to do this using a treeset
(in terms of Quad stuff)
like, using TreeSet.Before() using a special element, b/c everything is organized internally as NW before NE before SW before SE. So you can easily extract whole quadrants using treeset ops without needing to fully iterate
stuff like that
fix-scope-creep!

(UI issue, apologize)


SwaggerUI - Configure default client_id and scopes for OpenIdConnect authentication

Is there a way to set a default client_id and scopes for the OpenIdConnect authentication in the UI?
I.e like you can in Swashbuckle using:
app.UseSwaggerUI(options =>
{
    options.SwaggerEndpoint("/swagger/v1/swagger.json", "My API V1");
    options.OAuthClientId("demo_api_swagger");
});

@ianc1 Thanks for the issue!
You can set up by following this doc.
In addition to that, this #223 might help you configure your OpenApiSecurity(...) decorator.

@justinyoo Thank you for the docs.
I have been configuring the scopes by defining them in OpenApiOAuthFlow.Scopes as described in the doc but the issue I'm having is that I want to be able to enable the scopes by default in the SwaggerUI Auth dialog rather than rely on the user doing it. I've also tried duplicating the scopes in the OpenApiSecurity attribute but that didnt result in the scopes being enabled in the auth dialog. I have to manually tick/check each scope.
I also want to be able to do the same with the client_id. I.e I want to pre-populate the client_id field in the SwaggerUI auth dialog with my id by defaut so that the user does not need to enter it each time.
Thanks for your help!
    public class AzureADAuth : OpenApiOAuthSecurityFlows
    {
        public AzureADAuth()
        {
            this.Implicit = new OpenApiOAuthFlow()
            {
                AuthorizationUrl = new Uri("https://login.microsoftonline.com/mytenant/oauth2/v2.0/authorize"),
                Scopes = { { "profile", "read your profile information" }, { "email", "read your email address" } },
            };
        }
    }

[OpenApiSecurity(nameof(AzureADAuth), SecuritySchemeType.OAuth2, Flows = typeof(AzureADAuth), OpenIdConnectScopes = "profile,email")]

@ianc1 From the Swagger UI perspective, it's just a test harness and it doesn't show up your client ID and pre-ticked scopes by default.
If you want to provide a pre-populated client ID, then you can try the approach referred from this doc to embed a custom JavaScript file, and it will give you some hints.


The procedures 'sp_serveroption' and 'sp_droplinkedsrvlogin' cannot be executed within a transaction

Which version and edition of Flyway are you using?
flyway-maven-plugin:5.2.4
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
maven
Which database are you using (type & version)?
SQLServer
Which operating system are you using?
Ubuntu
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
Executing SP_SERVEROPTION or SP_DROPLINKEDSRVLOGIN
Fix:-
Add |(EXEC .*SP_SERVEROPTION) |(EXEC .*SP_DROPLINKEDSRVLOGIN) to the NON_TRANSACTIONAL_STATEMENT_REGEX in SQLServerSqlStatementBuilder.java
What did you expect to see?
[INFO] Executing SQL callback: beforeMigrate [non-transactional]
and BUILD SUCCESS
What did you see instead?
SQL State : S1000
Error Code : 15002
Messsage : The procedure 'sys.sp_serveroption' cannot  be executed within a transaction.
and
Message : The procedure 'sys.sp_droplinkedsrvlogin' cannot be executed within a transaction.

Thanks for reporting and analyzing! Fixed.


Build error for ghc-8.2.1

When doing make build-all it fails with the following error
    Configuring haskell-src-exts-1.19.1...
    Cabal-simple_mPHDZzAJ_<IP_ADDRESS>_ghc-8.2.1: The program 'happy' version >=1.19 is
    required but it could not be found.

Seems to be a build-tool resolution problem in stack. stack install happy solved the problem.


Create a Bower Package

Hey @tefra,
Thanks for submitting this plugin to the git repository. This was very helpful me to implement sidebar navigation without any issue. This is kind request you to submit this plugin to Bower Package list. If you  can do so it is really help for us to use it.
And if you never mind I can do that change for you!. Hopping your feedback.

+1 must

@nithinM  Try run
bower install navgoco

It will work. Someone already published it in bower app dir. Enjoy :)

Hi @codeyash
I just check in Bower repo http://bower.io/search/?q=navgoco but it not showing any result it. Yes your correct. But I think that bower.json file not according to the bower.json specification, and also it not properly register with bower repo. I already pull request. Thank you for information!!

Done

@tefra Thank you!!


BUG: Remove doxygen syntax markup for cmake lists

The DOXYGEN_INPUT variable had inconsistent mark up for elements. This
PR removes the mark up for DOXYGEN_INPUT and DOXYGE_TEST_DIRS, to
consistently allow the Doxygen CMake modules to handle the rendering
of list of string.

PR Checklist

[ ] No API changes were made (or the changes have been approved)
[ ] No major design changes were made (or the changes have been approved)
[ ] Added test (or behavior not changed)
[ ] Updated API documentation (or API not changed)
[ ] Added license to new files (if any)
[ ] Added Python wrapping to new files (if any) as described in ITK Software Guide Section 9.5
[ ] Added ITK examples for all new major features (if any)

Refer to the ITK Software Guide for
further development details if necessary.

Additionally the syntax generated by the CMake module is not compatible with Doxygen 1.8 and requires 1.9. I'm still going to merge this patch, as is makes the syntax of the produced Doxygen configuration file consistent.
https://github.com/InsightSoftwareConsortium/ITKDoxygen was updated to 1.9 and the Doxygen build is working again.


Notes can be tagged with more than 10 tags.

Notes can be tagged with more than 10 tags, despite the hard limit on tags being 10.

huehue i need to see ur code first

I think my code is finalized ba - any updates?

this is fixed


no-unused-state with GDSFP and airbnb plugin causes "Cannot read properties of undefined (reading 'variables')"

I have come across this error after a recent upgrade, and it looks like it may be related to https://github.com/yannickcr/eslint-plugin-react/commit/9b227aa8c8d2ffacd508ff2b281f4d7852409464. This only happens with the airbnb plugin enabled, which my company is using. If you comment that line out from the .eslintrc.js file, it works fine.
Apologies if this is not the appropriate place for this, I can take it to Airbnb if it's a better fit.
Minimal .eslintrc.js:
module.exports = {
  parser: '@babel/eslint-parser',
  extends: 'airbnb',
  parserOptions: {
    requireConfigFile: false,
  },
};

Minimal test.js:
class Thing extends Component {
  static getDerivedStateFromProps = (nextProps, prevState) => {
  };
};

# ./node_modules/eslint/bin/eslint.js test.js
Oops! Something went wrong! :(

ESLint: 7.32.0

TypeError: Cannot read properties of undefined (reading 'variables')
Occurred while linting /root/test.js:2
    at PropertyDefinition, ClassProperty (/root/node_modules/eslint-plugin-react/lib/rules/no-unused-state.js:373:20)
    at /app/frontend/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/app/frontend/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/app/frontend/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/app/frontend/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/app/frontend/node_modules/eslint/lib/linter/node-event-generator.js:336:14)
    at CodePathAnalyzer.enterNode (/app/frontend/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23)
    at /app/frontend/node_modules/eslint/lib/linter/linter.js:960:32
    at Array.forEach (<anonymous>)

Duplicate of #3236, fixed in the next release.

Thanks! Sorry, I must have missed the other issue.

No worries; I’ll try to cut a release tomorrow.

Still encountered the issue in 7.29.4
The error in #3236 is about node.value.params is undefined. And this issue is caused by scope is undefined in the line below. (reading variables)
https://github.com/yannickcr/eslint-plugin-react/blob/5bc571db4743527d368167738f359dc6168f9b02/lib/rules/no-unused-state.js#L374

@cbedwinotalvaro the commit that fixed this issue is in v7.29.4. https://github.com/yannickcr/eslint-plugin-react/commit/4876d549158df538520026170df3b8c933fa3603, however, was only merged 2 weeks ago and has not yet been released.
There's no timeline for the next release (as always). I hope I'll have time soon.


⚠ ClamAV has degraded performance

In fb8fdf4, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 245 ms

Resolved: ClamAV performance has improved in b71ad3c after 12 minutes.


Change default queue name for ems operations to generic.

As per https://github.com/ManageIQ/manageiq/pull/19616#issuecomment-564169104, let's change the default queue name for ems operations to "generic".
Fixes https://github.com/ManageIQ/manageiq/pull/19616
Ultimately part of Part of #19543

@miq-bot add_reviewer @agrare


apps: canutils: libcanutils: move error.h from NuttX

Summary
This file is used by the libcanutils and can be isolated in apps
Impact
LICENSE
Testing
Compile tested

please ignore the nxstyle errors


Add links to Stl.Fusion and Stl.Fusion.Samples

This is a new version of https://github.com/AdrienTorris/awesome-blazor/pull/364/ - I pulled updates to my fork and it messed up everything there, so I had to re-create the pull request.

It looks like projects in every section are sorted by GitHub star count, so I placed Stl.Fusion & Stl.Fusion samples accordingly this time.

@AdrienTorris thanks a lot!


Dashboard shows duplicate task icons

SQL Operations Studio Version: 0.27.0

@anthonydresser could you please take a look?  This will block the March release.

I think you have settings causing this.

@anthonydresser clearing my old dashboard settings makes the duplicates go away. Did the format of the dashboard settings change from last version to this version in a way that would cause this?

a customer reported this on Gitter and I have the same issue.  We need to make sure this isn't going to be a broadly impactful issue for users upgrading to the March release.  Asking them to clear their settings isn't really a great option.

Yes, clearing the old dashboard settings the duplicates go away. But I think is not the solution. In attachment my dashboard settings maybe can help.
dashboard.txt


require sm at /home/dan/zs/cuda118/bmf/bmf/hml/src/core/stream.cpp:130, Stream on device type 1 is not supported

Python Stack ignored
Stack trace (most recent call last):
#5    Object "/usr/bin/python3.8", at 0x5d6065, in _PyObject_MakeTpCall
#4    Object "/usr/bin/python3.8", at 0x5d5498, in PyCFunction_Call
#3    Object "/home/dan/zs/cuda118/bmf/output/bmf/lib/_hmp.cpython-38-x86_64-linux-gnu.so", at 0x7fe59311d0f4, in PyInit__hmp
#2    Object "/home/dan/zs/cuda118/bmf/output/bmf/lib/hmp.cpython-38-x86_64-linux-gnu.so", at 0x7fe593113266, in
#1    Object "/home/dan/zs/cuda118/bmf/output/bmf/lib/libhmp.so.1", at 0x7fe592ef2948, in hmp::current_stream(hmp::Device::Type)
#0    Object "/home/dan/zs/cuda118/bmf/output/bmf/lib/libhmp.so.1", at 0x7fe592eec1b9, in hmp::logging::dump_stack_trace(int)
Traceback (most recent call last):
File "detect_trt_sample.py", line 41, in
main()
File "detect_trt_sample.py", line 13, in main
trt_face_detect = bmf.create_module(
File "/home/dan/zs/cuda118/bmf/output/bmf/builder/bmf.py", line 28, in create_module
return engine.Module(module_info, json.dumps(option), "", "", "")
File "/home/dan/zs/cuda118/bmf/output/demo/face_detect/trt_face_detect.py", line 90, in init
self.stream = mp.current_stream(mp.kCUDA)
RuntimeError: require sm at /home/dan/zs/cuda118/bmf/bmf/hml/src/core/stream.cpp:130, Stream on device type 1 is not supported

Could you provide the demo code?


How to save vector index and keyword index in the same file[Question]:

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
How to save vector index and keyword index in the same file? And how to load it all at once ？

How do I specify an index_id when saving an index?


Non-root Singularity tests (SOFTWARE-3911)

And some bonus whitespace fixups

https://opensciencegrid.atlassian.net/browse/SOFTWARE-3911


Update README

Update and simplify README to reflect latest features.

Thanks for the review! Let's keep the first sentence as is for now because the other suggestions are more confusing. If in the future we figure out something else, we can always change. I think there are other priorities to fix 👍🏽


Recommendation Engine

Develop recommendations to add to deep crawl list based on results of web crawl.

@wmburke, I am unable to move this one to "What we think we can do"

fix it Wayne!!!

It didn't want to move for me either -but then BOOM! It was over there. Weird.


[TRTLLM] [in-progress] Add chatglm3, baichuan2, and qwen sample notebooks

Don't forget to add these new notebooks to the index http://docs.djl.ai/docs/demos/aws/sagemaker/large-model-inference/index.html

Don't forget to add these new notebooks to the index http://docs.djl.ai/docs/demos/aws/sagemaker/large-model-inference/index.html

Done


Surface more info - like namespaces where the problematic image is present

Optionally: list the namespaces where there is at least one problem Pod / pod template.
from @sftim https://kubernetes.slack.com/archives/CCK68P2Q2/p1677504435388339?thread_ts=1677416006.142059&cid=CCK68P2Q2

Raised a PR for addressing this ^^

Fixed in #26


Uptake latest litter-api

A breaking change in the upstream authentication scheme resulted in a breaking change for the litter-api to accommodate it. The litter-exporter needs to uptake the breaking API change to continue functioning.
Ref: https://github.com/tlkamp/litter-api/issues/9

:tada: This issue has been resolved in version 3.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[API] $.security.crypto methods should return a JS ArrayBuffer

Currently, the crypto API returns Java byte[] into the JS world. As stated in the docs (https://help.sap.com/doc/3de842783af24336b6305a3c0223a369/2.0.03/en-US/$.security.crypto.html), it should return a JS ArrayBuffer.

This issue is closed as the project is no longer maintained


rke2 cluster creation through rancher ui fails

rke cluster is succesful through ui but rke2 cluster cluster creation fails with below error

error message
[Waiting] configuring bootstrap node(s) custom-18ca8d596ea7: error applying plan -- check rancher-system-agent.service logs on node for more information, waiting for agent to check in and apply initial plan

As mentioned in https://github.com/rancher/dashboard/issues/9109#issuecomment-1590648262 this is not a question. Further advise was given there on how to find support to resolve your issue.


New API changes broke the Parser

Because the main source has changed (yet again) of API in how they hydrate the website, the scraper should change the way it gather the data.
At the moment, the events name gatherer works fine but the parser for tournament should point to a new target which will send JSON objects already wel formatted.

Partially resolved by commit adc79af68a00bea68e71306475afb5ab11d3dbc0

7c10430 end the issue


Add a --suffix option to uv tool install

As mentioned in https://github.com/astral-sh/uv/issues/3560#issue-2293694566, it'd be useful for uv tool install to have a --suffix similar to pipx's so users can install multiple versions of the same tool, or install a tool with different versions of Python.

The following is a bit confusing:

This suffix allows tools with conflicting versions to be used across different scopes

But we later say:

uv does not allow installation of multiple tools in the same scope with the same key. If installation of multiple versions of a tool is desired, a suffix must be used.

This is because the RFC talks about allowing installs at different scopes:

Tools can be installed into a user or system namespace, though the system namespace is more difficult to manage and should be considered a secondary objective during implementation.

We do not yet support system-level installs, so there's always one scope. We also do not currently add an alias for name@<version>.


React support?

I think this is a really neat way to do things for workers. Would have an example do the same with react-ssr?

@subhendukundu Thanks for your interest! I'm currently thinking of ways to integrate it with React and its router. I think I know a way to do it but need to test it first and see if it works, so it might take a while 😅

I would love that. Also, contribute in to anyway I can. So please let me know where to connect.

@subhendukundu I just added experimental support for React 🎉
Have a look at the examples directory. Could you please play with it or make your own project? Feedback is very welcome since I'm not sure if DX and all of that is good for React devs.

Oh yes, I just had a quick look! Looks amazing. I have had a comment too on the PR.
and yes, I am gonna play with this using Cloudflare :)


After upgrading to 0.9.2, All my old and newly created Apps are Stuck in main.dart execution

Upgraded My SDK from 0.5.8 to 0.9.2 today and did a system restart but
all my old and newly created Flutter apps are stuck befroe executing main.dart file.
Console Message:

Built build\app\outputs\apk\debug\app-debug.apk.
Error -32601 received from application: Method not found
Application finished.

If i force stop the application and try again start debugging it runs the Default Counter app,
if i disconnected my mobile and open the debugging app,then i works well but not opening when connected with laptop

Please add the output of flutter doctor -v.
Have you tried flutter clean?

not only for me i asked 2 devs they also said the same,on 0.8.2 thers no issues

Please add the requested information.

ill upgrade again tmrw then ill add the output as soon as possible

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


fix: add missing import in Button of unistyles template

Description

add missing import in Button of unistyles template

Related Issue

Motivation and Context

I tried to scaffold a project with create-expo-app and unistyles, then found the button component has missing import

How Has This Been Tested?

Screenshots (if appropriate):

Duplicate of https://github.com/danstepanov/create-expo-stack/pull/261


[Impeller] Documentation on frame capture with renderdoc is outdated.

The guidance is to enable Impeller playground via the GN flag. This is no longer the case as playground are a runtime flag that must be enabled via the --enable_playground to impeller_unittests.

Spotted by @matanlurey.


Clarify that clip() behavior is undefined when min or max is outside the bounds of x

As discussed in today's consortium meeting.
See the discussion at numpy/numpy#24976.

@asmeurer You opened this PR, but, based on your comments in https://github.com/numpy/numpy/issues/24976#issuecomment-2201078537, it is not clear whether you still support making this change. Are you okay with this PR moving forward, assuming that the current standardized behavior remains the same (i.e., no type promotion)?

Yes, I think this text is especially important given that there is no promotion. If there were promotion this text would serve no purpose, because x would just promote to the common data type and there would be no "out-of-bounds" values.

Separately, there might be a few other issues   with clip.

In the parameter doc of min and max, x1 should be x if I read correctly.

Similar in spirit to the second Note, what if x is float32, min and max are float64, min < max, but min and max are so close together that they are between two adjacent float32 numbers? (i.e. there exists no float32 number between min and max)

The additional Note proposed by this PR addresses the case where x has an integral type. But the param doc of x above says x should have a real-valued data type. Which one should prevail?

These ambiguities seem to root from the fact that what exactly is the “clip” operation? Is it supposed to be equivalent to a shorthand for maximum(minimum(…))? Or is it supposed to be some sort of “saturation” that retains the input type? This seems not clear.

The more general issue with a min/max float64 is that rounding might work against you when downcasting to float32. This does not require min and max to be near each other, but rather just near x. See https://github.com/numpy/numpy/issues/24976#issuecomment-2195598454. (this is why I personally believe the non-promoting rule in clip was a bad idea. This sort of thing is exactly why type promotion behavior exists)

”If min and max have the same data type as x and min <= max, then clip(x, min, max) is equivalent to maximum(minimum(x, max), min). Otherwise, the behavior is implementation defined.”

Only defining clip for the case where x, min, and max have the same data type would be a significant change from the existing text, and probably not what people would want.

The referenced numpy issue is an interesting one. It shows that Array API conformant semantics cannot be implemented by promotion followed by downcasting.
A general definition of clip that is consistent with the currently proposed semantics could be the following:

Let T be the data type of x. If there exists a value in T that is greater than or equal to min and less than or equal to max, then clip(x, min, max) returns (1) the smallest element in T that is greater than or equal to min if x < min, (2) the largest element in T that is less than or equal to max if x > max, or (3) x.

This definition consistently accounts for any mixture of data type. It is certainly implementable, but since some implementations already impose a stricter requirement on the input types, it may not be suitable for a standard. That’s why I proposed two more restrictive versions in the previous comment, one assuming min and max are representable in T, and one assuming min and max have the type T.

this is why I personally believe the non-promoting rule in clip was a bad idea. This sort of thing is exactly why type promotion behavior exists

As a general principle, yes, but clip doesn't fall neatly into the same category as, e.g., add, mul, etc, where type promotion makes more intuitive sense.
If we wanted to allow type promotion wiggle room for some libraries while also allowing other libraries to make the reasonable choice of raising an exception, we could limit portable clip behavior to only the scenario in which x, min, and max all have the same data type. We'd need to tweak the language of the spec a bit to open the door for implementing libraries to implement non-portable behavior without running afoul of the standard.
Were we to circumscribe portable behavior, this would require downstream libraries building on the Array API to be explicit about what behavior they want (e.g., by wrapping x in astype or min and max in astype). E.g., if they always want type promotion semantics, then use result_type to determine the desired output array dtype. If they want min and max to always be downcasted, then use astype on x. Et cetera.


Refactor to use ByteString Builder.

Duffer.Loose.Objects has concats and appends everywhere. This probably isn't good for performance and we should refactor this to use ByteString.Builder. We can roughly measure the difference using stack test --profile.

We now use Data.ByteString.Builder. Not sure if performance is any better though, stack test --profile isn't cooperating with me :frowning:.