Started seeing Invalid node type "nothingType" after updating pkl-neovim

To reproduce run nvim t.pkl (empty file).
My pkl-neovim config (using Lazy) is: https://github.com/gibfahn/dot/blob/59a8d941172db69ca23264e6d1512b49ddca7801/dotfiles/.config/nvim/lua/plugins/init.lua#L32-L46
I used bob to test against latest stable and nightly, both show this. If I revert a5bea9ff1ae98b839d4236cfc2ab576dde6bf244 (https://github.com/apple/pkl-neovim/pull/16) the issue goes away.
Maybe the latest treesitter changes haven't made it into neovim yet?
   Error  10:01:01 msg_show.lua_error Error executing vim.schedule lua callback: .../v0.10.2/share/nvim/runtime/lua/vim/treesitter/query.lua:252: Query error at 160:2. Invalid node type "nothingType":
(nothingType) @type.builtin
 ^

stack traceback:
	[C]: in function '_ts_parse_query'
	.../v0.10.2/share/nvim/runtime/lua/vim/treesitter/query.lua:252: in function 'fn'
	...bob/v0.10.2/share/nvim/runtime/lua/vim/func/_memoize.lua:58: in function 'fn'
	...bob/v0.10.2/share/nvim/runtime/lua/vim/func/_memoize.lua:58: in function 'get'
	....2/share/nvim/runtime/lua/vim/treesitter/highlighter.lua:28: in function 'new'
	....2/share/nvim/runtime/lua/vim/treesitter/highlighter.lua:243: in function 'get_query'
	...re/bob/v0.10.2/share/nvim/runtime/lua/vim/treesitter.lua:286: in function 'fn'
	...2/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:491: in function 'for_each_tree'
	...re/bob/v0.10.2/share/nvim/runtime/lua/vim/treesitter.lua:273: in function 'get_captures_at_pos'
	.../lazy/todo-comments.nvim/lua/todo-comments/highlight.lua:61: in function 'is_comment'
	.../lazy/todo-comments.nvim/lua/todo-comments/highlight.lua:172: in function 'highlight'
	.../lazy/todo-comments.nvim/lua/todo-comments/highlight.lua:131: in function ''
	vim/_editor.lua: in function ''
	vim/_editor.lua: in function <vim/_editor.lua:0>

Full set of versions I checked (all show the issue):
❯ bob update --all
Oct 14 10:04:10.143  INFO Fetching latest version
Oct 14 10:04:10.456  INFO Looking for nightly updates
Oct 14 10:04:10.456  WARN There was nothing to update.

❯ bob use stable
Oct 14 10:04:13.691  INFO Fetching latest version
Oct 14 10:04:13.884  INFO v0.10.2 is already installed and used!

❯ nvim t.pkl

❯ nvim --version
NVIM v0.10.2
Build type: Release
LuaJIT 2.1.1713484068
Run "nvim -V1 -v" for more info

❯ bob use nightly
Oct 14 10:04:28.339  INFO Looking for nightly updates
Oct 14 10:04:28.340  INFO You can now use nightly!

❯ nvim t.pkl

❯ nvim --version
NVIM v0.11.0-dev-968+ga6d5e6b10
Build type: RelWithDebInfo
LuaJIT 2.1.1727870382
Run "nvim -V1 -v" for more info

❯ /opt/homebrew/bin/nvim t.pkl

❯ /opt/homebrew/bin/nvim --version
NVIM v0.10.2
Build type: Release
LuaJIT 2.1.1727870382
Run "nvim -V1 -v" for more info

I was able to resolve the problem by reinstalling the Tree Sitter parser manually.

I was able to resolve the problem by reinstalling the Tree Sitter parser manually.

How did you do that? I thought the parser was baked into neovim.

Can you try re-installing the parser?
:TSInstall pkl

Okay yeah that did work.
I had to do it after loading a pkl file and seeing the error, as TreeSitter and this plugin are lazy-loaded.
I guess this is a configuration issue then, happy to close.


Not found how to add a new public upstream source

Hello
We need to add a new public maven upstream for http://jaspersoft.jfrog.io/jaspersoft/ in our ADS
I could not found how to do this. Soon we will have to add some other public artifacts repositories.
It seems it is not easy to add a new maven upstream in Azure Devops Server.
Now we are considering to install Nexus to solve this problem.
Alexey

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 72c152cc-c1d1-abc1-1861-20aab95731bb
Version Independent ID: 0d75b4b4-3297-fae7-9345-d863f67e6fed
Content: Set up upstream sources for your feed - Azure Artifacts
Content Source: docs/artifacts/how-to/set-up-upstream-sources.md
Product: devops
Technology: devops-artifacts
GitHub Login: @ramiMSFT
Microsoft Alias: rabououn

@a1vanov Thanks for your question. It looks like you're working through an issue with your scenario or implementation, rather than an issue with the documentation. Here are a couple of options where you might consider asking your question:

Azure DevOps Services
Azure DevOps Support Bot
Azure DevOps on Stack Overflow


feat(learn): add Implement Binary Search - Coding Interview Prep - Algorithms Challenges

Checklist:

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

Closes #XXXXX
I created a fun binary search algorithm coding challenge. For ease of your solving the challenge, GeekforGeeks iterative JS binary search algorithm can be used with a minor tweak (https://www.geeksforgeeks.org/binary-search/). Or my solution can be used! (https://forum.freecodecamp.org/t/freecodecamp-challenge-guide-implement-binary-search/487618).
I appreciate the opportunity to submit this. Love the site!

Team,
I copy all the requested changes. I greatly appreciate the edits! I also really appreciate you time. I am still relatively new to git and GitHub so please excuse my mistake of working off the main. Lesson learned! I went back through and brought my fork up to date. I am not sure why additionally pull requests were made, but my fork is update and all of the quested changes should be good to go.
Standing by for whatever is needed next. Thanks!

@import-brain, thanks for that! Copy all and updated!

@import-brain, thanks for that! Copy all and updated!

No problem mate, just trying to help! :)

@import-brain, I would love to do that, and definitely had the ambition for this not to devolve into a bunch of commits! I am a bit nervous to do any more harm, and not too sure on how to squash the commits and force push. Would you mind giving me a suggestion on how to do that? Thank you kindly in advance!

There's no need to squash commits in PR. All commits in PR will be squashed into a single one if merged.
If there's multiple change suggestions you can apply multiple changes to one commit using the Files changed tab.
Having said that, there's few wonky changes to files that shouldn't be changed in the PR. Looks like branch rebasing might not go the way it should.

There's no need to squash commits in PR. All commits in PR will be squashed into a single one if merged.
If there's multiple change suggestions you can apply multiple changes to one commit using the Files changed tab.
Having said that, there's few wonky changes to files that shouldn't be changed in the PR. Looks like branch rebasing might not go the way it should.

Good point, I don't use squashing when merging too much, so I forgot about it 😬
@HuskyParty No need to squash, just focus on the wonky changes gikf stated. :)

@gikf , Thanks for that note, any suggestions on how I can get this reconciled? Thanks!

@import-brain, I would love to do that, and definitely had the ambition for this not to devolve into a bunch of commits! I am a bit nervous to do any more harm, and not too sure on how to squash the commits and force push. Would you mind giving me a suggestion on how to do that? Thank you kindly in advance!

No problem! On second thought and based on gikf's post, there is no need to squash and force push, because the maintainers can squash when merging into the main branch. Sorry for the trouble!

@import-brain, I would love to do that, and definitely had the ambition for this not to devolve into a bunch of commits! I am a bit nervous to do any more harm, and not too sure on how to squash the commits and force push. Would you mind giving me a suggestion on how to do that? Thank you kindly in advance!

No problem! On second thought and based on gikf's post, there is no need to squash and force push, because the maintainers can squash when merging into the main branch. Sorry for the trouble!

Understood and thanks!

@HuskyParty if you are up for it can entail using interactive rebasing in git.

@HuskyParty if you are up for it can entail using interactive rebasing in git.

Definitely, I'll get working on it!

@gikf, I am not sure I will be able to accomplish a rebase or merge to correct the issues that have occurred. I have saved the files with all of everyone's edits, are you okay with me accomplishing the following?
-close this pull request
-refork freeCodeCamp (correctly)
-add the changes to add the new coding challenge
-submit pull request again
Thanks in advance for your time.

@gikf, I am not sure I will be able to accomplish a rebase or merge to correct the issues that have occurred. I have saved the files with all of everyone's edits, are you okay with me accomplishing the following?
-close this pull request (or other requested alternative) -refork freeCodeCamp (correctly) -add the changes to add the new coding challenge -submit pull request again
Thanks in advance for your time.

@HuskyParty If you want I can give you more detailed guidelines what needs to be done and how. Alternatively I can do that for you. Let me know.

@gikf, I am not sure I will be able to accomplish a rebase or merge to correct the issues that have occurred. I have saved the files with all of everyone's edits, are you okay with me accomplishing the following?

-close this pull request (or other requested alternative) -refork freeCodeCamp (correctly) -add the changes to add the new coding challenge -submit pull request again

Thanks in advance for your time.

@HuskyParty If you want I can give you more detailed guidelines what needs to be done and how. Alternatively I can make necessary actions for you. Let me know.

@gikf I would appreciate the extra guidance and additional opportunity for me to sort out my PR. If I strike out again though, I would absolutely take the help with the necessary actions though!

Okay @HuskyParty!
Assuming your local branch is at the same point as branch in this PR. We are gonna do two things - remove commits that are not part of this PR, and make sure commits change only needed files.
To do that we are gonna rebase onto commit, somewhere just before the troubles in branch appear. Per branch history seems that we could use commit feat(curriculum): add css-penguin practice project, with hash 393aeab
git rebase -i 393aeab

In the opened editor, change pick to drop for any commit that's not making change needed in this PR - all the chore and fix commits, that got pulled to the PR. And also commit making change in language file - 3c09daeb48 Update client/i18n/locales/chinese-traditional/intro.json.
 To do that change the pick to edit for 5692d716ee rewrote tests, making many out of one test func.

After saving file and closing editor, git will start the rebasing. It will go through commits applying them automatically until it encounters something that's need action. In here the first step will be modifying commit, to not change package-lock.json file.
error: could not apply 5692d716ee... rewrote tests, making many out of one test func
Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".
Could not apply 5692d716ee... rewrote tests, making many out of one test func
Auto-merging package-lock.json
CONFLICT (content): Merge conflict in package-lock.json

And after using git status, some more information:
(...)
  (fix conflicts and then run "git rebase --continue")
  (use "git rebase --skip" to skip this patch)
  (use "git rebase --abort" to check out the original branch)

Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
        modified:   curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

Unmerged paths:
  (use "git restore --staged <file>..." to unstage)
  (use "git add <file>..." to mark resolution)
        both modified:   package-lock.json

To revert changes made to package-lock.json, we are going to unstage changes and then discard those changes:
git restore --staged package-lock.json
git restore package-lock.json

After checking git status again, we can see rebase can continue
git rebase --continue

Editor will open with option to change commit message for modified commit, it can be closed without changes.

Rebasing will continue through further commits, removing those that were marked for dropping. As those don't require manual actions, finally there should be success message, something like:
Successfully rebased and updated (...)

At this point local branch can be force pushed git push --force origin main to update the PR. And if I wrote everything correctly now only two files should be changed in the PR.

If you manage to fix all the issues we will be happy to add this challenge to the curriculum, so take your time, and make sure everything works! If you need help you can also reach out to the forum, chat server, or discord.

@gikf it worked!!!!!!!!!!! I can't thank you enough for helping me with that. I admit I had lost hope! How does it look, did we fix it? Thanks!

@HuskyParty yeah, branch is cleaned up. Nice one. :rocket:

@gikf it worked!!!!!!!!!!! I can't thank you enough for helping me with that. I admit I had lost hope! How does it look, did we fix it? Thanks!

Great job!

Couple suggestions that got lost somewhere.
I suggest again defining array for testing in the after-user-code, that way it doesn't need to be repeated with each test.

Sounds good, sorry for the mix up. Just double checking things. When I run this locally now I get this error message on the browser when visiting the challenge:

and this error message when I run: npm run test:curriculum --block='coding-interview-prep'
⠇ TestingAssertion failed: (0), function uv_close, file ../deps/uv/src/unix/core.c, line 178. sh: line 1: 43593 Abort trap: 6           npm test

Couple suggestions that got lost somewhere.
I suggest again defining array for testing in the after-user-code, that way it doesn't need to be repeated with each test.

Sounds good, sorry for the mix up. Just double checking things. When I run this locally now I get this error message on the browser when visiting the challenge:

and this error message when I run: npm run test:curriculum --block='coding-interview-prep' ⠇ TestingAssertion failed: (0), function uv_close, file ../deps/uv/src/unix/core.c, line 178. sh: line 1: 43593 Abort trap: 6 npm test

I'm not sure, that doesn't seem to be related. I'm not getting it when opening challenge. Have you tried to start the npm run develop again?

Couple suggestions that got lost somewhere.
I suggest again defining array for testing in the after-user-code, that way it doesn't need to be repeated with each test.

Sounds good, sorry for the mix up. Just double checking things. When I run this locally now I get this error message on the browser when visiting the challenge:

and this error message when I run: npm run test:curriculum --block='coding-interview-prep' ⠇ TestingAssertion failed: (0), function uv_close, file ../deps/uv/src/unix/core.c, line 178. sh: line 1: 43593 Abort trap: 6 npm test

I'm not sure, that doesn't seem to be related. I'm not getting it when opening challenge. Have you tried to start the npm run develop again?

that makes sense, I had a feeling it was my local set up. Disregard!

This LGTM @HuskyParty :tada: Nice work on this - this is too well done not to add it. Looks like a fun one :+1: Thanks, and congratulations on your first contribution to the freeCodeCamp repo :tada:
Did you create that forum topic for this? nice work...
Note to self: move that post to camperbot
Side note: yes @raisedadead, I recall a discussion that concluded we would still allow new challenges in the coding interview section, so I think we are fine to add this.

Thanks so much!! So excited to be a part of this site! And yes I did thank you! Thanks again🙏

There's plenty of issue if you're interested in trying to tackle any of them 😉

This LGTM @HuskyParty 🎉 Nice work on this - this is too well done not to add it. Looks like a fun one 👍 Thanks, and congratulations on your first contribution to the freeCodeCamp repo 🎉
Did you create that forum topic for this? nice work...
Note to self: move that post to camperbot
Side note: yes @raisedadead, I recall a discussion that concluded we would still allow new challenges in the coding interview section, so I think we are fine to add this.

Thanks so much!! So excited to be a part of this site! And yes I did thank you! Thanks again🙏

Congrats!


Package not available on Ubuntu 18.04 LTS

I'm running Ubuntu 18.04 LTS and getting
E: Unable to locate package crowdsec-firewall-bouncer-iptables
when attempting to install using
apt install crowdsec-firewall-bouncer-iptables
Is there a repo I need to add?

Hi,
Have you tried :
curl -s https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.deb.sh | sudo bash
apt-get update
apt-get install crowdsec

Had the same error, adding the repository fixes it

Yes, you need to add crowdsec repositories to have the package available.


Test data download fails

Hello,
This is what happens when I try to get the test data:
data % make
wget http://www.openmaps.online/eudem_download/N265E425.zip
make: wget: No such file or directory

wget is a file downloading tool preinstalled on most  Linux distros. You can also download the file with a browser and store it in that directory. A new make will then do the next steps.
In the meantime there are smaller test images for running the tests.

My bad, sorry. I misread the error message and thought the file wasn't available. It works once wget is installed.
Another question, you said it'd be good to have an example for using the georaster API with imageops. Just trying to understand how that would work, first: open a big tiff file as GeoTiffReader. Then import into an image::ImageBuffer using one of the from methods?

Yes, that's probably the way to do it. Creating an image::ImageBuffer or similar using the points iterator.

Got it, thanks. I'll create a PR in a couple of days if I can get it to work.


Write a service worker monitoring blockchain via bitcore

We should have an independent module (either as a service worker or just as a module) that is not dependent on the actual GUI, but our app should be able to ask it for blockchain data (check utxos and addresses history, subscribe to tx with certain address).
First it makes sense to write such module for https://test-insight.bitpay.com and later we could write a replacement for any other backend / service / own node.
Important functions to have for such module:
history(addr) <- gets an array of transactions corresponding to address
utxo(addr) <- gets utxo set for address
subscribe(addr, callback) <- subscribes for changes on the address (i.e. when new transaction appears in the mempool or gets into blockchain)
API docs: https://github.com/bitpay/insight-api ( websocket and REST )
API example: https://test-insight.bitpay.com/api/addr/my54ZSCAdRVTHahQkRDLQTQxkjtVtMupfo

partially implemented in https://github.com/arduino-bitcoin/simple_hardware_wallet/pull/31

Done by https://github.com/arduino-bitcoin/simple_hardware_wallet/pull/33


Upgrade Node.js for security fixes #security-nodejs-20160209

Please upgrade Node.js to v0.12.10, v4.3.0, v5.6.0, or newer, to address the security issues listed here:
https://groups.google.com/forum/#!topic/nodejs-sec/G8IA0G4uA88.
Due date for this request is 2016-02-26.
This update addresses the following issues:

CVE-2016-2086 Request Smuggling Vulnerability
CVE-2016-2216 Response Splitting Vulnerability
OpenSSL upgrades and improvements

Please acknowledge that you've received this request and that it makes sense.
If it's not applicable to your repo, let me know so I can fix my list.
Thank you!

Ping?

Done: https://github.com/auth0/auth0-configuration/commit/558bf9c9f2eb3685c575ec50e618cd44b8af6256


Cleanup library dependency file, remove unusued declarations

Task/Issue URL: https://app.asana.com/0/1207701481229686/1207714805957734/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#4708  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @CDRussell and the rest of your teammates on  Graphite


record layout

here it is. Have at it.

Nice work! This is very exciting. The new code correctly handles the very edge case-y struct here https://github.com/Vexu/arocc/issues/178#issuecomment-1022838829 in both gcc and clang modes (size in clang is 1, in gcc is 2). Should we close that issue?


Doesn't Apply to UWP Projects

You cannot find the compiler version from the .proj file for UWP. The article in general does not appear to apply for UWP.
[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 5694e62b-c756-1f62-4014-2ceafa54c011
Version Independent ID: 3f01c378-22e4-197c-a862-ab4a924506c7
Content: C# language versioning - C# Guide
Content Source: docs/csharp/language-reference/configure-language-version.md
Product: dotnet-csharp
Technology: csharp-language-reference
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

ping @adegeo
What would you recommend I add here?

That it doesn't apply to UWP. You can't, for example, find the compiler version in the project file. Try it, and it should be clear that the article doesn't describe the UWP situation correctly.

Maybe @hickeys can clarify?

Actually I still haven't figured out how to find the compiler version for UWP - - why I was at this page. I'm experienced in Winforms but quite not UWP. I decided to skip UWP and try WinUI. It's not in that project file either. I am using new projects created in VS 2022 with the latest update.

I don't know that I can be of very much help, but I'll give it a go anyway. @KennethEvans is correct that the compiler version is not included in the .csproj for a new UWP project. I also didn't see anything helpful in the appxmanifest. I believe that, when there is no version specified, it will use the default version. The default varies from machine to machine depending on which versions are installed.

I don't know that this article would be the place to list the UWP C# version. Instead, it would be in the UWP docs, such as https://learn.microsoft.com/windows/uwp/updates-and-versions/choose-a-uwp-version


[SPARK-30184][SQL] Implement a helper method for aliasing functions

What changes were proposed in this pull request?
This PR is to use expressionWithAlias for remaining functions for which alias name can be used. Remaining functions are:
Average, First, Last, ApproximatePercentile, StddevSamp, VarianceSamp
PR https://github.com/apache/spark/pull/26712 introduced expressionWithAlias
Why are the changes needed?
Error message is wrong when alias name is used for above mentioned functions.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Manually
#TODO: Use expressionWithAlias for Average, ApproximatePercentile

cc @cloud-fan

Can one of the admins verify this patch?

Can one of the admins verify this patch?

cc @cloud-fan

ok to test

Test build #115054 has started for PR 26808 at commit 7d5f4be.

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-K8s/19872/
Test PASSed.

Test build #115054 has finished for PR 26808 at commit 7d5f4be.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

btw, why did you include fixes for Average and ApproximatePercentile in this pr?

btw, why did you include fixes for Average and ApproximatePercentile in this pr?

Average and ApproximatePercentile can be called with alias name as well.
https://github.com/apache/spark/blob/be867e8a9ee8fc5e4831521770f51793e9265550/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala#L303-L304

Test build #115081 has started for PR 26808 at commit 759262d.

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-K8s/19896/
Test PASSed.

Test build #115081 has finished for PR 26808 at commit 759262d.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #115082 has started for PR 26808 at commit 5ec101f.

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-K8s/19897/
Test PASSed.

Test build #115082 has finished for PR 26808 at commit 5ec101f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #115106 has started for PR 26808 at commit f210bb9.

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-K8s/19921/
Test PASSed.

Test build #115109 has started for PR 26808 at commit cc234b9.

Test build #115106 has finished for PR 26808 at commit f210bb9.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #115109 has finished for PR 26808 at commit cc234b9.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

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-K8s/19953/
Test PASSed.

Test build #115141 has started for PR 26808 at commit 7617ec3.

Test build #115142 has started for PR 26808 at commit 92e381b.

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-K8s/19954/
Test PASSed.

Test build #115142 has finished for PR 26808 at commit 92e381b.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #115141 has finished for PR 26808 at commit 7617ec3.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

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-K8s/19961/
Test PASSed.

Test build #115150 has started for PR 26808 at commit a2d75de.

Test build #115150 has finished for PR 26808 at commit a2d75de.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please.

Test build #115168 has started for PR 26808 at commit a2d75de.

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-K8s/19979/
Test PASSed.

Test build #115170 has started for PR 26808 at commit 3ef62af.

Test build #115170 has finished for PR 26808 at commit 3ef62af.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

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-K8s/19995/
Test PASSed.

Test build #115187 has started for PR 26808 at commit 87c6ea3.

Test build #115168 has finished for PR 26808 at commit a2d75de.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #115187 has finished for PR 26808 at commit 87c6ea3.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #115189 has started for PR 26808 at commit 9480532.

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-K8s/20000/
Test PASSed.

Other class (First, Last) which takes funcName as arguments, I think we should override flatArguments there also?
Currently, no test cases will fail because of it but in future this may create problem.
cc @cloud-fan

Test build #115189 has finished for PR 26808 at commit 9480532.

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/115189/
Test PASSed.

@amanomer Yea, I think so. Can you address them?

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-K8s/20017/
Test PASSed.

Test build #115207 has started for PR 26808 at commit d780dfc.

Test build #115207 has finished for PR 26808 at commit d780dfc.

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/115207/
Test PASSed.

Test build #115235 has started for PR 26808 at commit 85d9597.

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-K8s/20044/
Test PASSed.

Test build #115235 has finished for PR 26808 at commit 85d9597.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

**Error Message**

java.sql.SQLException: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:18954: java.net.ConnectException: Connection refused (Connection refused)

I think this failure is not related

retest this please

Test build #115247 has started for PR 26808 at commit 85d9597.

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-K8s/20056/
Test PASSed.

Test build #115247 has finished for PR 26808 at commit 85d9597.

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/115247/
Test PASSed.

@cloud-fan @maropu
Do we need to use expressionWithAlias for Average and ApproximatePercentile, too? In this PR?

yes, please

Test build #115304 has started for PR 26808 at commit dd2d85d.

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-K8s/20113/
Test PASSed.

Test build #115304 has finished for PR 26808 at commit dd2d85d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

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-K8s/20140/
Test PASSed.

Test build #115333 has started for PR 26808 at commit c1b3afb.

Test build #115333 has finished for PR 26808 at commit c1b3afb.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #115335 has started for PR 26808 at commit e7a4e90.

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-K8s/20141/
Test PASSed.

Test build #115335 has finished for PR 26808 at commit e7a4e90.

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/115335/
Test PASSed.

Tests have passed. Kindly review
cc @cloud-fan @maropu

Tests have passed. Kindly review.
@cloud-fan

@cloud-fan @maropu kindly review this PR

cc @cloud-fan

Test build #115503 has started for PR 26808 at commit ca886f0.

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-K8s/20306/
Test PASSed.

Test build #115503 has finished for PR 26808 at commit ca886f0.

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/115503/
Test PASSed.

cc @cloud-fan @maropu

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-K8s/20324/
Test PASSed.

Test build #115522 has started for PR 26808 at commit 8b2687a.

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-K8s/20325/
Test PASSed.

Test build #115522 has finished for PR 26808 at commit 8b2687a.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #115523 has started for PR 26808 at commit 5485fcd.

There is duplicate code in expression and expressionWithAlias.

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-K8s/20326/
Test PASSed.

Test build #115523 has finished for PR 26808 at commit 5485fcd.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #115524 has started for PR 26808 at commit 43ce929.

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-K8s/20327/
Test PASSed.

Test build #115524 has finished for PR 26808 at commit 43ce929.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #115526 has started for PR 26808 at commit e25271e.

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-K8s/20329/
Test PASSed.

Test build #115526 has finished for PR 26808 at commit e25271e.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #115528 has started for PR 26808 at commit 5d057c8.

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-K8s/20331/
Test PASSed.

Test build #115528 has finished for PR 26808 at commit 5d057c8.

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/115528/
Test PASSed.

cc @cloud-fan

in general looks good, thanks for updating!

cc @cloud-fan

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-K8s/20359/
Test PASSed.

Test build #115559 has started for PR 26808 at commit 700a84d.

retest this

Test build #115559 has finished for PR 26808 at commit 700a84d.

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/115559/
Test PASSed.

Tests have passed. cc @cloud-fan

thanks, merging to master!


revision vs version

I'm looking at the internal data structure, but I can't see what is the difference between revision and version (in the meta object that lives inside each document). Any tips? @obeliskos @techfort @VladimirTechMan

Moreover, the only line of code in the entire source is https://github.com/techfort/LokiJS/blob/adedff8cb746bb83eb2810f673fd4d3cee4913fb/src/lokijs.js#L3791 and the only thing that it does is initialize version to 0. It's not doing anything else, and I'm not sure if this is supposed to be used in some future version or if this is just garbage of some past code.

@alexandernst i think version is a zombie from the olden days. We can quite definitely eliminate it.

Can we revive this? 😮
This isn't a #wontfix but a didn'tfix.


Incorrect start time in App Insights dependency trace

Package Name: @azure/keyvault-secrets and @azure/identity
Package Version: 4.7.0 and 3.2.3
Operating system: Linux
[X] nodejs

version: 16.14.0

[ ] browser

name/version:

[ ] typescript

version:

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Describe the bug
The start time for the SecretClient.getSecret and ManagedIdentityCredential.getToken methods are not properly captured in the call to App Insights trackDependency. As a result, the time bars are shifted in App Insights so as to appear to begin when they should actually end.
To Reproduce
Steps to reproduce the behavior:

Deploy a Node.JS application using managed identity to access Azure Key Vault following these instructions.
Monitor the app using App Insights following these instructions.
Use the following code to access a secret in Azure Key Vault:

const keyVaultUrl = process.env.KEY_VAULT_URL;
const secretName = process.env.SECRET_NAME;

const client = new SecretClient(keyVaultUrl, new ManagedIdentityCredential());
const secret = await client.getSecret(secretName);

Expected behavior
The bars in the App Insights timeline will begin at the point that the call initiated, and end when the call ended. All child dependencies within the tree will fall between the begin and end point of the parent bar. And the bar will end before the end of the request.
Screenshots
Please see the example below. Notice the two bars that extend to the left beyond the end of the request.

Additional context
I ran into this same issue in my own code. By default, the App Insights client assumes that the trace starts at the time you call trackDependency. Of course, this could not be the case, since you need to pass in the duration and the result. However, you can also pass in the start time. This optional parameter is apparently missing.

@mpodwysocki is this related to our tracing or not?


[React Version] Update Website Favicon and Title

Instructions:

Refer to the hosted version
All the src code would be in the reactjs branch

Hello, I want to work on this issue.What exact changes do I need to make in the website favicon and title?Can you please assign me this issue?

there's no favicon on the current react code so add the same from it. Reference for the favicon is the current branch hosted in main.
Also for every page the  tag should basically display the page name as its header

I want to work on this issue under JWOC

"I want to work on this issue under JWOC"

I want to work on this issue under JWOC

@lavakush07 and @KushalGhosh9899 you have been assigned issues first complete them then you can take this up.

Hi @anushbhatia ! I'd like to work on this issue under JWOC. Pls, assign me this..

@Sanket1308 has one more day after that @sathyapriyaa-sketch can take over

sure!
On Thu, Feb 3, 2022 at 12:46 PM Smaranjit Ghose @.***>
wrote:

@Sanket1308 https://github.com/Sanket1308 has one more day after that
@sathyapriyaa-sketch https://github.com/sathyapriyaa-sketch can take
over
—
Reply to this email directly, view it on GitHub
https://github.com/smaranjitghose/awesome-portfolio-websites/issues/1155#issuecomment-1028673805,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APHTM5XIGM4VFLKOBI7EUPTUZITVZANCNFSM5MDG2EOA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***
com>

@smaranjitghose can I take over now?

so, @anushbhatia where am I supposed to get the favicon and in which file should I include favicon? And a title in the sense, I'm supposed to assign a title for which page?

You can get favicon from current hosted site in assets/images folder. keep the favicon in public folder as of now in reactjs branch. Updating the title tags for all pages is it what he means.

So, I'm done with updation, can you review it?
On Sun, Feb 6, 2022 at 11:00 AM Anush Bhatia @.***>
wrote:

You can get favicon from current hosted site in assets/images folder. keep
the favicon in public folder as of now in reactjs branch. Updating the
title tags for all pages is it what he means.
—
Reply to this email directly, view it on GitHub
https://github.com/smaranjitghose/awesome-portfolio-websites/issues/1155#issuecomment-1030755724,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APHTM5R7C2HBNC6T6TLMK63UZYBQHANCNFSM5MDG2EOA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were assigned.Message ID:
@.***
com>


Fix issue with using fingerprint sensor

First of all, thank you for this wonderful project. Really liked it and trying to use it now in my setup.
Though I found an "issue" that makes fingerprint sensor usage even more awkward then it was with vanilla i3lock. As I can see, you prevent submission of a password with Enter key if there is no characters entered previously. While it makes perfect sense for password login, it causes some issues with fingerprint authentication.
The way pam_fprintd works with i3lock is that it fires up a fingerprint sensor when the password is submitted -> Enter pressed. And as you block this when password has length 0, I have to type in gibberish each time to press Enter and then finally use a fingerprint sensor.
That's, well, inconvenient. Overall I'd love to see some more civil way of triggering fingerprint sensor though I'm not sure it's possible to do without modifying i3lock-color itself.
Any way it can be fixed/improved?
P.S. I can assist you with PKGBUILD if you want, have some experience with them before.

All that should be necessary is changing ignoreempty = Yes to ignoreempty = No in ~/.config/i3lock-next/i3lock-next.ini.
I'm working on a new version written in Rust, so I'd rather avoid making releases of this version.

Thank you for the solution! Looking forward to a new version :)


Speed Up Numbers

Hi! Thanks for exporting models to ONNX.
Could you please list the speedups you receive on using ONNX and ONNX-fp16 models on GPU? It would be helpful to compare our speedups with the original ones.

Thank you for your suggestion. Actually, I don't have a desktop GPU, so the GPU performance information is based on discussions in the issue tracker. Our team focuses on Android devices, and this repository aims to deploy F5 on Android using ONNX Runtime. However, we found that F5's computation is too heavy to achieve real-time responses, even with Qualcomm NPU acceleration. As a result, we have only released the model export method.
It would be great if you could share some speed test information. We would be happy to include it in the README.md and, of course, reference your name : )

@DakeQQ I have a 4090 and am very keen to see if we can get a speedup of F5 for realtime chat on GPU. I've had some trouble getting inference working correctly on my end - i think due to my own error. I will try again over the next few days and update you.  I would be more than happy for you to use me to get some decent speed tests.

@OrphBean
Thank you for sharing your thoughts and testing the potential of F5 with your 4090 GPU. It's great to see your enthusiasm for improving the speed and performance of real-time chat. Don't worry too much about the initial issues you faced—it happens to all of us when exploring new implementations. Your willingness to retry and share updates is truly appreciated.
Regarding the current 1.5-second lag in the first reply, your suggestion to leverage ONNX and possibly DeepSpeed is very insightful. While Coqui XTTS is indeed a different model, the inspiration from its approach could provide valuable ideas.  Thanks again for your support and collaboration with the open-source community!

I am unable to get this running - it keeps reverting to using CPU - I have tried a number of approaches without success. I am avail to run tests if you have any

If your system is running Windows, you might want to consider using DirectML as it provides the most convenient setup for utilizing GPU resources. To do so, first ensure that you have the latest version of onnxruntime-directml installed by running:
pip install onnxruntime-directml --upgrade

Then, modify your code to use the DirectML execution provider:
ort_session_B = onnxruntime.InferenceSession(onnx_model_B, sess_options=session_opts, providers=['DmlExecutionProvider'])

This should help streamline the process of setting up GPU acceleration on a Windows system.

I recommend checking out FireRedTTS. It delivers a process and performance comparable to F5-TTS while requiring only one-third of the computational resources. In my opinion, it stands out as one of the most promising repositories for achieving real-time, commercially viable voice cloning TTS. However, Qualcomm NPU support is essential for optimal performance.

I recommend checking out FireRedTTS. It delivers a process and performance comparable to F5-TTS while requiring only one-third of the computational resources. In my opinion, it stands out as one of the most promising repositories for achieving real-time, commercially viable voice cloning TTS. However, Qualcomm NPU support is essential for optimal performance.

Thank u! I will give it a try. have you deployed FireRedTTS successfully on qualcomm chip? Using QNN？

I'm still waiting for the repository to update with "human-like speech generation." Otherwise, it would take a lot of time to go through the double export process again.


negative relative humidity?

Hi, maintainer,
I checked with the value range of relative humidity, but found some negitive values.
Are these cases abnormal? Should I filter them out?
In [1]: import xarray as xr

In [2]: ds = xr.open_dataset('/data/weather_bench/relative_humidity/relative_humidity_1979_5.625deg.nc')

In [3]: ds.r.max()
Out[3]:
<xarray.DataArray 'r' ()>
array(195.39139, dtype=float32)

In [4]: ds.r.min()
Out[4]:
<xarray.DataArray 'r' ()>
array(-9.228312, dtype=float32)

These situations are persistent among all the years.

Thanks for spotting this.
I just confirmed this. There seem to be quite a few negative values. At this stage I have no good answer why this is the case. My initial solution for this would be to set negative values to zero.
I have mostly been using specific humidity instead, which should give similar results.
BTW, RH values above 100% are realistic because of super-saturation.

Thanks for the response. We are setting up models by the data, Weather Bench is very helpful.


Blank page inside layout slot (+page.svelte not shown)

Describe the bug
Hi,
Yesterday my project was running fine. I did maybe update some packages :

autoprefixer 10.4.17  => 10.4.18
prettier-plugin-svelte  3.2.1 => 3.2.2
svelte-check 3.6.4 => 3.6.6
typescript 5.3.3 => 5.4.2
vite 5.1.4 => 5.1.5

This morning, I just lauch my project and inside one of my root, I have a layout and a slot inside it.
This works inside +layout.svelte
Test string is showing here in +layout.svelte
<slot />

but this doesn’t in +page.svelte
Test string is not showing here in +page.svelte

I could make it work by just copy/pasting content of +page.svelte, delete it, and recreate a file called +page.svelte and pasting previous content.
But it breaks again when leaving then relaunching npm run dev
I tried reverting packages update but it does the same…
Reproduction
I have no idea how to reproduce. Happens only on the local version of my app.
Logs
No logs

System Info
System:
    OS: Windows 11 10.0.22631
    CPU: (12) x64 12th Gen Intel(R) Core(TM) i7-1265U
    Memory: 4.40 GB / 15.69 GB
  Binaries:
    Node: 18.15.0 - C:\Program Files\nodejs\node.EXE
    npm: 9.5.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (122.0.2365.66)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @sveltejs/adapter-auto: ^3.1.1 => 3.1.1
    @sveltejs/adapter-cloudflare: ^4.1.0 => 4.1.0
    @sveltejs/kit: ^2.5.2 => 2.5.2
    @sveltejs/vite-plugin-svelte: ^3.0.2 => 3.0.2
    svelte: ^4.2.12 => 4.2.12
    vite: ^5.1.4 => 5.1.5

Severity
annoyance
Additional Information
No response

No incognito mode
Finally I created a false page with a +layout.svelte in a random place in
my project and this fixed my issue.
I’ll later if I try to delete this if it does the same. I will try to
disable cache as you suggested.
On Sun, Mar 10, 2024 at 12:27 PM Hyunbin @.***> wrote:

Does it happen in incognito mode?
I've recently experienced layout breaking in vite dev.
Workaround was to disable cache in the dev tools network tab and reload.
—
Reply to this email directly, view it on GitHub
https://github.com/sveltejs/kit/issues/11954#issuecomment-1987192833,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATFKSVZNZS5HX2CBU4LYBNDYXQ7S3AVCNFSM6AAAAABEMU2XA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGE4TEOBTGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hello,
We have the exact same problem on a SvelteKit project with Svelte 5. I have no idea what is causing this, disabling the cache and so on does nothing. Even rebooting the project from scratch. It's also worth noting that this only happens during dev mode, not preview.

npm vite --force


Fix save and load

There were a few issues with save and load:

loading couldn't be done without enabling saving
checkpoint = dict automatically initalizes save_model
extra file was required earlier for saving run numbers
some other fixes

I've only made the changes in the PPO1 file as of now. Will change others if the changes are approved

Maybe I shouldn't reformat code until the last commit, from next time onwards cause it changes all the files and makes it hard to locate changes?

Well reformating comes from the fact that a previous commit was not formatted..


🚨 Sentry Transactions Alert

👀 Purpose

Alert raised in Slack https://mojdt.slack.com/archives/C033QBE511V/p1719382062482329

✅ Definition of Done

[ ] Identified Projects have reduced transaction consumption below the threshold or a quota increase has been discussed with the team

📓 Notes

Usage For Period

🚀 Identified Projects

[x] workforce-allocations-to-delius ~10%

[x] Messaged in Slack
[x] Team Responded
[x] Team Fixed
[x] Reduction Verified - ~80% reduction, so saving around 8% of our monthly quota 🥳

[ ] hmpps-approved-premises-api-k1 ~10%

[x] Messaged in Slack
[x] Team Responded
[ ] Team Fixed
[ ] Reduction Verified

[x] laa-crime-application-store-dev / laa-crime-application-store-uat / laa-crime-application-store-prod ~10% (across all three environments)

[x] Messaged in Slack
[x] Team Responded
[x] Team Fixed
[x] Reduction Verified - pretty much a 100% reduction so we've saved 10% of the quota 🎉 The team is also applying the fix to some of their other projects 🙌

🆙 Update

Two teams have implemented fixes and we have saved ~18% of our total transaction quota 🥳

👀 Remaining Work

Waiting on the hmpps-approved-premises-api-k1 team. They have merged in the changes here - they just need to deploy them here

📝 Notes

🛑 Blocked until changes are resolved

🆙 Update

All three projects have now implemented quota management, saving us ~28% of our overall transaction usage 🥳 Closing ticket ✅

👀 Remaining Work

NA

📝 Notes

NA


Fixed bug when there is no gazebo tag in urdf

In ergocub_gazebo_simulations we always expected some <gazebo> tags at the end of the URDF. This resulted in several bugs when using a URDF with no such tags.
This PR solves these bugs, and makes the library work with and without <gazebo> tags. Plus, they don't need to be at the end of the URDF (they will be written at the end in the output file however).
cc @traversaro

Thanks @GrmanRodriguez !


Configuration is not properly stored

Running WatchYourLAN on Umbrel 1.2.2. The configuration is not preserved after a host reboot or restart. Specifically, the network interfaces and host settings need to be manually modified in my case. After rebooting the Raspberry Pi, these parameters reset to their default values.

To restore config and DB after reboot you need to mount /data/WatchYourLAN somewhere permanent.


Fix #176

This PR adds the docker file as reference of the docker created by GBIF.
This issue should solve #176.

Some basic actions within the GitHub workflows needed to be upgraded (e.g. @master version was removed).
Still, running R CMD checks on macOS is still an issue due to the frictionless dependency: see https://github.com/inbo/camtraptor/actions/runs/3497383896/jobs/5856412426#step:5:4078
@peterdesmet: as we briefly discussed, I would ignore this issue even if it results in a failing red badge.

Looks good to me. The Mac OS build likely fails because some cache it is trying to install<EMAIL_ADDRESS>(archived) rather than<EMAIL_ADDRESS>The package was only published yesterday, I think this will resolve itself in a couple of days.
Merge away!


new Component Render

@guidsen - First off, thanks for the api you've created!
I'm curious if you could shed light on why you're creating the Booklist components as they are with no React.render() method, but simply as constants returning JSX.  Like so:
const BookDetail = ({ dispatch, book }) => {   return (

Book Details

Title: { book.title }

Description: { book.description }

Reader count: { book.count }

       <button onClick={ () => dispatch(push('/')) }>Go back to overview!</button>
   ); };
instead of:
class BookDetail extends React.Component{ 	render(){ 		return(
 				some awesome JSX
 		) 	} }
I'm attempting to use my own components in place of your's extending React.component, but am unable to refresh any components I've routed to without the following stack errors occurring:
ReferenceError: document is not defined    at SomeComponent.render (/src/components/SomeComponent.js:35:28)    at ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext (/react-simple-universal/node_modules/react/lib/ReactCompositeComponent.js:587:34)    at ReactCompositeComponentWrapper._renderValidatedComponent (/react-simple-universal/node_modules/react/lib/ReactCompositeComponent.js:607:32)    at ReactCompositeComponentWrapper.wrapper [as _renderValidatedComponent] (/react-simple-universal/node_modules/react/lib/ReactPerf.js:66:21)    at ReactCompositeComponentWrapper.mountComponent (/react-simple-universal/node_modules/react/lib/ReactCompositeComponent.js:220:30)    at ReactCompositeComponentWrapper.wrapper [as mountComponent] (/react-simple-universal/node_modules/react/lib/ReactPerf.js:66:21)    at Object.mountComponent (/react-simple-universal/node_modules/react/lib/ReactReconciler.js:37:35)    at ReactCompositeComponentWrapper.mountComponent (/react-simple-universal/node_modules/react/lib/ReactCompositeComponent.js:225:34)    at ReactCompositeComponentWrapper.wrapper [as mountComponent] (/react-simple-universal/node_modules/react/lib/ReactPerf.js:66:21)    at Object.mountComponent (/react-simple-universal/node_modules/react/lib/ReactReconciler.js:37:35)

hey boss - before you dig at all into this, it does work fine with:
const SomeComponent = React.createClass({})


mac-4 lost external connection phone device.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
mac-4 lost external connection phone device.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Rebooting machine to restore connection.


Fix shift search to scope on period and community and get rid of huge result limit

Originally created by Tom Smyth at 2018-04-13 12:07, migrated from redmine-#8301

Priority changed from 2 to 3

By Tom Smyth at 2018-04-18 13:37


Common @OnShowRationale method - attempt no. 2

This is another attempt at unifying @OnShowRationale methods. Here, the user will annotate a method without any parameters to receive calls for multiple permission request types.
Change is sort of drastic, touched some more files than before. Did this just for completion's sake, feel free to reject this pull request and close if this is not preferred. I understand the cost of maintenance that adding this might take, so many tests had to be added.

I think there is missing test cases. Multiple NeedsPermission and OnShowRational.
Like this one
@NeedsPermission({Manifest.permission.CAMERA, Manifest.permission.READ_CONTACTS})
void needsPermission() {
}

@OnShowRational({Manifest.permission.CAMERA, Manifest.permission.READ_CONTACTS})
void onShowRational(PermissionRequest request) {
}

Maybe I misread this, but could you explain how the developer handles this case?
Expected generate source would be this
private static final String[] PERMISSION_SHOWCAMERA = new String[] {\"android.permission.CAMERA\", \"android.permission.READ_CONTACTS\"};",
...

@Override
public String[] getPermissionNames() {
    return PERMISSION_SHOWCAMERA;
}

If the developer use getPermissionNames(), they get both Manifest.permission.CAMERA, Manifest.permission.READ_CONTACTS, right?

Could you do me a favor?

Use non-master branch
Make commits separately
Append test cases, not add test cases middle of source.java (which is not rule in general but since the file is too big and most cases are similar, it's really hard to check diff.)

Also, another case could be the mismatch of permissions. For example, if the user requests for camera and contacts permission in @NeedsPermission and forgets to include exactly that set of permission in @OnShowRationale, the @OnShowRationale annotated method will be disregarded by the processor. That means it would be as if no @OnShowRationale method is present. But that I think is out of the semantics, purely an error on the user's side and shouldn't be part of the test.
public static final String[] PERMISSIONS = {Manifest.permission.CAMERA, Manifest.permission.READ_CONTACTS};

@NeedsPermission({Manifest.permission.CAMERA, Manifest.permission.READ_CONTACTS})
void needsPermission() {
}
@OnShowRational({Manifest.permission.CAMERA, Manifest.permission.READ_CONTACTS})
void onShowRational(PermissionRequest request) {
  showRationaleDialog(request);
}
void showRationaleDialog(PermissionRequest request) {
  if(Arrays.equals(PERMISSIONS, request.getPermissionNames()) {
    //do stuff
  }
}

That would be in the previous case. But actually it can be done in the following way.
public static final String[] PERMISSIONS_CAMERA = {Manifest.permission.CAMERA};
public static final String[] PERMISSIONS_CONTACT = {Manifest.permission.READ_CONTACTS};

@NeedsPermission({Manifest.permission.CAMERA})
void needsPermissionCamera() {
}
@NeedsPermission({Manifest.permission.READ_CONTACTS})
void needsPermissionContact() {
}
@OnShowRationale
void onShowRationale(PermissionRequest request) {
  showRationaleDialog(request);
}
void showRationaleDialog(PermissionRequest request) {
  if(Arrays.equals(PERMISSIONS_CAMERA, request.getPermissionNames()) {
    //do stuff
  }
 if(Arrays.equals(PERMISSIONS_CONTACT, request.getPermissionNames()) {
    //do other stuff
 }
}

In all honesty, I just realized that Java doesn't allow Array constants to be passed as annotation parameters. Also, the more I do this, the more its worth is getting less.
Yes, certainly, will get what you've told done today.

Sorry, we don't have a plan to support this change.

Yep, understood. Too much to maintain for so much little.


How to get a function object using API

Hi,
I read the API reference but can not figure out how to get a function object using the API, for example, there is piece of js code
function testFunction() {
   //.....
}

I want to know how to get the 'testFunction' from C code using API directly.
Many thanks.

figure out now, below code works fine
	jerry_run ();

	jerry_api_value_t val2;
	jerry_api_value_t val3;
	bool is_ok = jerry_api_get_object_field_value (glob_obj_p, (jerry_api_char_t*)"testFunction2", &val2);

	if (is_ok) {
		jerry_api_call_function(val2.v_object, NULL, &val3, NULL, 0);
		jerry_api_release_object (val2.v_object);
	}

@qdk0901, although, in this particular example, type of value in val2 would always be object, the jerry_api_get_object_field_value could also receive values of another types. So, its better to explicitly check for type of the received values through type field, or to add an assert that type is same as expected.


iOS 11 Music App Style Popup

Note
This is a feature request.
Feature
Introduced in iOS 11 the Music app received this nice style of popup
Example: https://support.apple.com/library/content/dam/edam/applecare/images/en_US/applemusic/iphone7-ios11-apple-music-mini-player-up-next-animation.gif
Example: https://github.com/LeoNatan/LNPopupController

Could probably achieve this with a sheet modal but would be a beautiful addition to f7.

maybe like this:
https://github.com/alexaubry/BulletinBoard

Yeah
On Mon, 1 Apr 2019 at 12:35 pm, boboxiaodd<EMAIL_ADDRESS>wrote:

maybe like this:
https://github.com/alexaubry/BulletinBoard
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/framework7io/framework7/issues/3100#issuecomment-478407237,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMXZVy-MhgAMUff-gaj-ji9brPr3xUQOks5vcWJygaJpZM4cM8I4
.

Yes! This would be absolutely amazing. I have been trying to achieve this in my own apps by modifying the action grid, but needless to say, a native implementation into F7 would be stellar.

@nolimits4web think you could implement this?

Description of the similar (but more complicated) md component 'modal-bottom-sheet':
https://material.io/design/components/sheets-bottom.html#modal-bottom-sheet
It would almost be the sheet-modal but draggable:
https://framework7.io/docs/sheet-modal.html
Behaviour: Shows content/height 1st div and ondrag/click show full content/height. Currently optimistic I'm starting on an implementation myself. If I'll produce something useful I will submit it...(don't get hopes up).

What a legend ❤ !! By the looks of it; this implementation is nicer/more uniform than mine. Many thanks!

Awesome! ❤
On Sat, 11 May 2019 at 10:02 pm, Spoxies<EMAIL_ADDRESS>wrote:

What a legend ❤ !! By the looks of it; this implementation is nicer/more
uniform than mine. Many thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/framework7io/framework7/issues/3100#issuecomment-491505175,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADC5SV2VIQDMVNAGDCNNNMDPU2YUDANCNFSM4HBTYI4A
.


Big Sort python solution added

Solved issue #610
In Language- Python

[x] Updated README Link
[x] Added code with comments

Thanks for contributing!

Readme for this problem is already merged !


Escaping values in migrations

Is your feature request related to a problem? Please describe.
When writing migrations, it is not clear how the queries can be constructed safely. While a migration obviously does not contain user input and escaping might not be strictly necessary, it is arguably good form to do so anyway.
Describe the solution you'd like
Provide a built-in solution to escape values. Ideally the knex instance could be used but it is my understanding that this is not feasible due to its lack of support for MongoDB.
Describe alternatives you've considered
Currently I am using pg-format which works well enough, but that means tying my migrations to a specific database, which is not ideal.
Additional context
I've read this issue which asks a related question.

In Migration class you have access to the AbstractSqlDriver (via this.driver), where you can either use the MikroORM query builder, or get the configured knex instance via this.driver.getConnection().getKnex().

Thanks for the super quick reply.
It is my understanding that the Knex instance can not be used until the next RC (as mentioned here) - is that correct?
When playing around with this this.driver.getConnection threw TypeError: this.driver.getConnection is not a function during runtime, but that's most likely due to me not using the latest RC (my bad). Now I ran into the escaya issue, but I will just hold still until RC5 is out :)
Thanks a lot for your work, looking forward to using it!

It is my understanding that the Knex instance can not be used until the next RC (as mentioned here) - is that correct?

That is only if you want to execute a query, not if you use it to build a query for this.addSql().

How do I do that? As far as I know Knex'  toSQL() or (toSQL().toNative()) returns the statement and its (unescaped) bindings as separate values so it is not a query I can pass to addSql.

You could use toString(), and we could easily allow passing params to addSql() too I guess.

Maybe I just need some more coffee, but I don't think this is how Knex works:
knex
    .insert({
        id: 42,
        foo: 'bar',
    })
    .into('mytable')
    .toSQL()
    .toNative() // or without this, no difference
    .toString()

just returns [object Object]. Apparently there are only pretty ugly workarounds for this (admittedly, an old ticket - couldn't find anything more recent regarding this issue).

knex
    .insert({
        id: 42,
        foo: 'bar',
    })
    .into('mytable')
    .toString()

But we could easily allow to pass the knex qb instance to addSql() too. I feel like the toString() method is more of an approximation - I am using that in the query logging and I know about some differences when it comes to object handling (Dates in particular are printed with lower precision, without timezone, and in sqlite it prints the date string while in fact the query is using int/timestamps under the hood (that is how sqlite3 does things internally afaik).
So I would definitely not suggest to do this. Personally I would just write the SQL myself, it's easier and you have absolute control over everything.

I'm fine with that, if that's the "official" way to do this. Thanks for the feedback!

rc.5 will allow to use knex in both execute and addSql methods, there is also a new shortcut to get knex.

Fantastic!
Do you have an ETA for rc.5 by any chance?


CP-620 Pin karma dependency to known-working version

Issue
wGulp consumers may be getting this error during test runs:
INFO [karma]: Karma v0.12.32 server started at http://localhost:9876/
INFO [launcher]: Starting browser Chrome
INFO [Chrome 42.0.2311 (Mac OS X 10.10.3)]: Connected on socket tke92Pt4nxcrth8XAAAA with id 14994834
ERROR [karma]: Uncaught ReferenceError: jasmineRequire is not defined
at http://localhost:9876/base/node_modules/wGulp/node_modules/karma-jasmine-html-reporter-livereload/src/lib/html.jasmine.reporter.js?fa4cadff90361c3ec47708eb7dced39e8903df19:24

It has been determined that this is not an issue with the previous karma version, 0.12.31. This issue is being tracked here, perhaps a better fix or a new version of karma will come out of it.
Changes
Source:

Change karma dependency to be pinned at 0.12.31.

Tests:

N/A

Areas of Regression

Test runs with wGulp

Testing

A repo such as wSession using a freshly installed wGulp should exhibit the error described above.
Installing this branch of wGulp instead should fix the error.

@trentgrover-wf
@evanweible-wf

+1

+1

@jayudey-wf ready for merge and patch release 0.8.2

go @rmconsole-wf

QA Resource Approval: +10

[ ] Testing instruction
[ ] Dev +1's
[ ] Dev/QA +10 with detail of what was tested
installed branch in wSession and verified that tests were able to be run again
[ ] Unit test created/updated
[ ] All unit tests pass

Merging into master.


How to exclude PREVIEW recommendation form LogAnalytics ?

We are using Azure monitor alerts with query below:
SecurityRecommendation
| where RecommendationState == "Unhealthy" and TimeGenerated > startofmonth(now())

How can we exclude recommendations which are in PREVIEW in query ?
we can't use IDs because need to get alerts where recommendation will be GA

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c0554513-d846-079c-6bfc-d27aab78b442
Version Independent ID: 6c8a971c-fc8b-baca-2ad4-518bf2e75aa5
Content: Security recommendations in Azure Security Center
Content Source: articles/security-center/security-center-recommendations.md
Service: security-center
GitHub Login: @memildin
Microsoft Alias: memildin

wrong branch

wrong branch

@andriikut Hope you have self resolved and hence closed the issue. Thanks for the updated comment.

@andriikut Hope you have self resolved and hence closed the issue. Thanks for the updated comment.


deploy my model using TVM got erro: NameError: name 'GenerateESPConstants' is not defined (AIV-640)

Hi, everyboy:
i try to deploy my model.onnx to esp32s3, using the official common TVM with below:
'python esp_quantize_onnx.py --input_model model_opt.onnx --output_model model_quant.onnx --calibrate_dataset calib_img.npy'
but got an erro:"NameError: name 'GenerateESPConstants' is not defined"
all the operation before this command are normal!
the erro message shows it come from "tvm/python/tvm/relay/op/contrib/esp.py", it seems a esp custorm code in tvm.
does anyone got the same issue with mine? and how to fix it?

i tried again to quantization my model, with esp-dl-release-1.1, there is no tvm tool in folder.
so i infer that my GenerateESPConstants problem was caused by unreleased master branch.
yes, the example.py in esp-dl-release-1.1/tools/quantization_tool/examples is normally worked, but i got an other problem,
that is, cureent esp-dl-release is only support by python 3.7, also the calibrator.pyd, evaluator.py are supported only by python3.7, that result in the env can only support torch 1.13
but my model was trainning by torch 2.0,  such a bad news to me.
hope the esp-dl working with torch2.0 coming ASAP

我也遇到了同样的问题。我开始用的自己的python解释器，报错NameError: name 'GenerateESPConstants' is not defined，发现是有两个函数没定义，就猜测是要用idf中自带的python解释器，且需要版本是3.7或3.8。但是下载时默认5.0时python3.11，我不知道怎么改idf-tools自带的python版本。

Training environment with python3.11 + torch 2.0, then model transformed to onnx. The quantization environment is python3.7. there is no conflict!


module: Make ignoreVendor a glob pattern, add noVendor to imports

I've worked a little with module vendoring lately, and found a couple of issues that should be easy to fix.
There may be several reasons to do vendoring, but one may be that you want to mount a private repo. And in that situation comes a couple of situations:

You may not want/need to vendor all of the modules.
Currently, if you want to do edits in server mode on one of them, you would typically add a replace statement to go.mod and run the server. But if you have vendored your dependencies you must also remember to run with hugo --ignoreVendor. And that would require you to have access to all the remote modules (including the private one).

I suggest that we do two improvements:

Make --ignoreVendor a gob pattern so you can ignore just one/some packages, e.g. --ignoreVendor **/private*, default ** (all).

Add a noVendor flag to the module imports config, meaning nothing would be written to _vendor for that module:

[[imports]]
path = "github.com/bep/myshortcodes"
noVendor=true

/cc @regisphilibert

I've not played with vendoring too much yet. This makes a lot of sense though!


Mime hardsuit

About the PR
Adds a mime hardsuit
Why / Balance
Why does a clown have one and a mime doesn't?
Technical details
None
Media
https://github.com/space-wizards/space-station-14/assets/100093430/da542e3b-8e9f-4c33-999d-e97651c64205

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl:

add: Added mime hardsuit

why only a red and black crayon? shouldn't it also use the white crayon? or even the rare mime crayon?

White crayon can be used, but the EVA itself is white, I decided not to add, about mime crayon  I chose to use it or suspenders, I chose suspenders

Sprite looks kinda weird

I think you should tone down the red to be as dark as the suspenders, and also make the black stripes darker, other than that neat

This is really funny, i was thinking about this like two days ago.

Make like this, or better

I feel like the mime hardsuit needs to look more like the mime's uniform. Like how the clowns suit is very similar to the clown uniform.

A bit too late to the PR but I think an invisible hardsuit with no bonus protection other than basic space would be funny for mimes.

agree with g

I suggest this sprite, for the reason that transparent just doesn't make sense, and is better added as an ability, I can't even think of a craft for it


Some names are present in 2 tabs Expired and In Auction

Context information
application version: pre-release branch 498cda6
browser:  Firefox 121
operating system: MacOS
Steps to reproduce

Open Names list
Check some name for example 77.chain
Name will be present in 2 tabs and statuses: Expired and In Auction

What is expected?
Should be in 1 condition - expired or in auction

Known issue https://github.com/aeternity/aescan/issues/621


Clickhouse and mysterious activity

Hello,
I've inserted some data into clickhouse but recently stopped the stream (and greped for clickhouse client, the only one running was the one with which I'm checking the database).
However when I run top I see:
1687 clickho+  20   0 10.099g 748716  16548 S 240.2  2.3 365:20.17 clickhouse-serv
Clickhouse-server is EATING 1-4 of my cpus. Is this normal activity ? My queries are waaay slower during this process and I can't find its cause.
Edit:
I should mention that iostats is showing the db writes to disk and I can see it modifying the size of a table file (both increases and decreases by ~5%) the table is a MergeTree and this has been going on for about 40 minutes.

Almost certainly this is the merge process. MergeTree table consists of a number of parts that are sorted by the primary key. Each INSERT statement creates at least one new part. Merge process periodically selects several parts and merges them into one bigger part that is also sorted by primary key. Yes, this is normal activity.

You could do SELECT * FROM system.merges to show currently running background merges (also known as "compactions").

Isn't there any way to stop these merging when executing queries ? They appear to be quite greedy with both processor time and I/O. Can't I set a "limit" for how many resources merges can take ? Or even better, set the db up in such a way that merges stop when I run SELECT queries.

Ok, since there was no update, I'm going to phrase the question otherwise:
If I were to modify the code in so I could be able to set a flag using the client in order to stop all background operations whilst running a query, do you think that would break anything important ? Or just slow down the merges ?

You could adjust size of thread pool for background operations.
It could be set in users.xml in background_pool_size in /profiles/default/.
Default value is 16. Lowering the size of this pool allows you to limit maximum CPU and disk usage.
But don't set it too low.
Also you could adjust some fine settings for MergeTree.
They are located in config.xml in <merge_tree> section.
List of available options along with documentation and default values is located in MergeTreeSettings.h file. These settings are intended only for fine tuning.

Hy, I am a coworker of George3d6,
Thank you very much for the response, and this AMAZING piece of software!
I would like to add some more info:
We left click house "digest" those 1B row / 165 colum, about 170GB of data for one night, but activity is still on.
We are running some preliminary test, so hardware spec was "modest" a AMD FX6300 (6 cores) with 32GB ram, we have both SSD and HDD, but the problem of the slowdown is probably connected with some internal mutex.
(Psss ehi! on which hardware do you run clickhouse ? For networking what you suggest, I am planning to wire up in Infiniband 40gbit)
So I digged in the source code, and I fear that even setting very few thread is not the right options...
Simply because inside BackgroundProcessingPool::threadFunction() the Tasks = std::multimap<Poco::Timestamp, TaskHandle>; will fill up.
Certain task are almost instant but other really takes times (and once finished it restart after very few moment), so the benefit will be VERY small.
I will try to collect a list of the type of background job, the only question is
IS possible  / OK that I insert a condition to "sleep" those background thread ?
OR there are certain task that CANNOT be delayed
If certain task can not be delayed, not a big problem, I will only "avoid" the execution of the background Merge job for "a bit", of course if a thread is still running, I will let it finish.
Thank you

There are two types of background actions:

merging of data parts;
fetching of data part from replica.

When you use non-replicated MergeTree, there are only tasks of first type.
And when you use ReplicatedMergeTree, in fact there is single type of tasks, that look at replication queue and then doing either merge or fetch.
Background tasks could be delayed a bit. It doesn't matter if the task will be executed right now or few seconds later.
If you delay merges for long time, you will face a risk of having too much data parts in a table. It leads to increase of SELECT latency, and also, when number of data parts (within single partition) raised up to few hundreds, INSERTs start to be throttled.
If you delay fetching from replica, you will get replication lag.

the problem of the slowdown is probably connected with some internal mutex

You could check this easily.
First check SELECT * FROM system.merges. Do you see high number of running merges?
Run top. You will see high CPU or high disk usage.
If you see high CPU usage, run sudo perf top (requires to install linux-tools-common).
Then you will see top functions that are run by CPU.
To check disk usage, run iotop, iostat -dmx 1 and dstat.


the performance is very low on my own dataset.

Hi, @RenShuhuai-Andy, I think the TimeChat is a great work, but when I test it on my own dataset, the performance is very low, i.e., the mIoU is only 0.076, the question prompt is:  You are given a video from a custom dataset. Please find the visual event described by a sentence in the video, determining its starting and ending times. The format should be: 'The event happens at the start time-end time'. For example, The event 'person turn a light on' happens in the 24.3 - 30.4 seconds. Now I will give you the textual sentence: {}. Please return its start time and end time.".format(sentence), I set the num-beams as 1 and the temperature as  1, and I do not use any Quantization technology, so could you give me some advice about how to improve the performance?

I think the frame numbers of input may affect the performance since most of the Video LLMs only keep 8 frames or 96 frames as visual input, this is ok when the video duration is short, i.e., less than 30 seconds or 60 seconds. But if the video duration is long, such as more than 60 seconds, the frame numbers should be increased.

Hi, thanks for your interest. Please consider providing more information to help analyze the reasons for the low performance, e.g., the duration / domain / complexity etc. of your videos.
As for the number frames, yes I believe that the frame numbers should be increased if the video duration is long. You know that Gemini 1.5 uses 1 fps, which has more than 96 frames if the video is longer than 96 seconds.
If you want to use more frames in TimeChat, you can change max_frame_pos, n_frms, and num_frm from 96 to any number larger than 96, then directly conduct inference. However, this will cause more gpu memory and I‘m not sure about the performance under this situation. We will explore a more strong TimeChat with long-context capbility in the future.

thanks for your responses, the video duration in my dataset is about 120 seconds on average, and my video is not the real world, so maybe there is a domain gap between the training data and my test data? you mentioned the parameters : max_frame_pos, n_frms, and num_fm, could you give some explanations about these parameters? I think they have the same meaning which means the frame numbers of input.

max_frame_pos is use to set the frame position embedding for video q-former (link1 and link2), while n_frms and num_frm specify the number of input frames.
Accordingly, you can just set max_frame_pos >= n_frms = num_frm.

OK, got it, thanks!


Transpile JS to ES5 before building

As discussed in this PR:

Adds babel to the project to convert ES6 to ES5, outputs to lib/ which should be built before publishing to NPM
Moves to lodash to vendor folder
Build project with npm run build

Build works great! Passing all tests. Thanks for PR. I'll merge it to master, increase version in package and publish to npm (if that makes sense)


Destructuring possible null value with --downlevelIteration and any ES --lib ignores errors

TypeScript Version:  3.7.3 and 3.8.0-dev.20191204
Search Terms:
TS2488
TS2548
downlevelIteration lib destructuring error
Code
(data: number[] | null) => {
  const [value] = data;
};

Expected behavior:
Using array destructuring on data should cause TypeScript error.
Actual behavior:
When using compilerOptions downlevelIteration and lib with any es option (es2016, esnext, etc) typescript presents no errors when array destructuring a possibly null variable.
Playground Link:
Due to using lib it has to be on code sandbox
No error due to using downlevelIteration and lib: https://codesandbox.io/s/zen-galois-dguz9
Error as expected: https://codesandbox.io/s/summer-dust-fs4r7
Related Issues:
Couldn't find related issues.

I’ve been playing with this one for a while now—fixing it is pretty easy, but  the fix causes a seemingly unrelated change that isn’t wrong per se but is probably undesirable and definitely breaking. I think I can add a special case to keep that from happening, but it makes me nervous that other things will break unexpectedly. I’ll keep messing with it today but this is probably going to get bumped to 4.1.

@rbuckton, I’d like to get your take on this and https://github.com/microsoft/TypeScript/pull/40350. I could bring it to the design meeting this week, but maybe you have some thoughts first.


Dependency upgrade & nullsafety

Hey, I've done some upgrades to make it work with the new nullsafety feature, I'm using vcr internally and it was blocking the upgrade on my side.
Let me know if everything looks okay :)

@keviinlouis Do you have any comments on the PR? Could it be merged and released please?
This is a useful package inspired by the Ruby world and it's sad to see it abandoned.
If you don't have the time to support it, you could appoint maintainers.

@jibiel I've published the forked package https://pub.dev/packages/vcr2/versions/1.0.0, I'm going to maintain it forward, I need it for my project.


Consider an approach for assigning change events to avoid boiler plate code.

A pattern that is seemingly coming up a lot as I move over from Polymer 3 is
<my-sub-element .property=${this.myInterpretation} @property-changed=${this._myInterpretationChanged}></my-sub-element>
....
_myInterpretationChanged(e) {
this.myInterpretation = e.currentTarget.property;
}

This is all boiler plate that could be done away with if I could do something like this
<my-sub-element @property=${'myInterpretation'}></my-sub-element>

The key difference is that the '@' marker either takes a function (for the old way) or a string - which becomes the name of a local property that is two way databound. (Obviously a different character than @ could be used - it just seemed a way of not adding a whole new type - I have no opinion one way or the other)

lit-html doesn't really do "data binding" in the same sense that polymer does, and the syntax you suggest is not possible to implement in lit-html itself, without using eval-like constructions. Two-way data binding is somewhat out of scope for what lit-html is designed to do, and I don't think there will be builtin support for it.
I personally think two-way data binding is not a good pattern, and I avoid using it in general. However, there is nothing stopping you from creating a bind directive that does more or less what you want, with the following signature:
html`<my-element @property=${ bind(this, 'myInterpretation') }><my-element>`

A directive is fine, but it's not something we'd include in the lit-html package. We want to avoid string-based meta-programming as much as possible. lit-html already has it's share due to property bindings, but we have specific syntax for it and can process it if need be to work correctly with renaming compilers and minifiers.

Going to close this now. We don't have plans for such a directive, but third parties could vend one.


M2M 100 for low resource languages

I'm trying to evaluate M2M 100 for some production tasks, but having issues for certain low resource languages like fr-wo. I'm getting good performance for high-resource pairs like en-zh so I'm just wondering if this is a known issue or if I'm doing something wrong.
For example:
fairseq-generate bin --batch-size 32 --path 1.2B_last_checkpoint.pt --fixed-dictionary model_dict.128k.txt -s fr -t wo --remove-bpe 'sentencepiece' --beam 5 --task translation_multi_simple_epoch --lang-pairs language_pairs_small_models.txt --decoder-langtok --encoder-langtok src --gen-subset test

S-2	__fr__ Maguire a émigré avec sa famille de l'Irlande au Maryland à l'âge de six ans, où il a étudié sous les jésuites au Collège Saint John, et est entré dans la Compagnie de Jésus en 1837.
H-2	-0.842350959777832	Maguire so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee so amee.

S-1	__fr__ SpaceX construit une fusée dans la région reculée de Boca Chica, située dans le comté de Cameron, au Texas, aux États-Unis.
H-1	-2.058246374130249	SpaceX biir rakett bi Boca Chica, biir Boca Chica, Cameron County, Texas, USA

S-3	__fr__ J'aime manger du melon
H-3	-4.000425815582275	Tél. : Tél.

S-0	__fr__ Je navigue sur Facebook tous les jours
H-0	-2.928954601287842	Lu Ma Mi Ju Vi Sa Do

S-4	__fr__ Je suis mongole
H-4	-4.857517719268799	Tembam

I've gotten similar results for these languages: wo uz tn ss sd or ns my ln lg kn kk gu ga ff br ast
ga was particularly interesting because the output tended to be NSFW.
anyways, I wanted to ask if

is this the expected result? (I chose fr-wo because it was specifically mentioned in the paper as having had human evalutation, but maybe those sentences were biased toward longer/more semantically dense input?)
is there any documentation on which translation directions are low resource? There's appendix A figure 13, but it says 100 languages and only displays 34. And this appears to only be the dictionary coverage and not training data.

Unfortunately, we acknowledge that many languages require significant work (see Discussion section). For languages with e.g. WMT/WAT focus, particularly we saw decreases in improvement in Czech, Burmese, and Chinese. There are a large variety of reasons, from language identification systems that require improvement (we used fasttext, which was trained on Wikipedia + Commoncrawl) producing monolingual data that is not in the correct language, to mining challenges (LASER was trained on 93 languages, but some languages have very little data), to low resource languages having poor generalization, and general necessity to improve our understanding of how to model under-resourced languages. Even backtranslation, for example, can be challenging if the original model is not high quality.
Around your specific points - I agree that our fr-wo was quite generous, but given that I do not consider myself fluent in either language, I trusted their judgment. For ga, I will look into the challenges there - we did identify many sources that were not appropriate, but attempted to filter them out for most languages. I would guess there is a challenge in language identification here as well. For low resource languages, we are updating the paper with greater details for an update on arXiv, but essentially we tried to follow WMT20. In WMT20, Tamil and Inuktitut were both low-resource languages. Inuktitut had about 1million training sentences (including monolingual data for BT) and Tamil had 40M (including monolingual data for BT) - we decided to treat monolingual data similar to mined data given that BT and mining are both noisy sources of aligned data. So we considered anything with less than 50M mined training examples to be low resource. However, the languages you are mentioning in your list have far far below this, some even in the low thousands.
Overall, I view this as an important area of progress - in our tables, I wanted to highlight that many important language directions have 0 BLEU (e.g. translating between different African languages) - because it's also relevant to indicate clearly what needs work. I hope that we can improve this, with much careful work, soon.

Thanks for the explanation. I think it might be possible to augment the BT with data from aligned fasttext vectors.
for now I'll stick to the high resource translation pairs.


how to add custom style to codes

I want to know how to add custom style to code blocks , like max-height.
there is closed issue with no content : #328

I would use the renderers prop and pass it an object with { code: MyCustomCodeComponent }. In MyCustomCodeComponent I would apply my styles.

@sayjeyhi If it's not syntax highlighting that you want, plain styles can be added to code blocks easily using css.
The markdown code block should be suffixed with the language. This will add the language- class name to the code block. And then you can use that class name to add styles.
For example,
Write the markdown like this (Please ignore the . at the end.)
```php
$myVar = 123;
```.

Then it the code block will have a class name as language-php.
If you want syntax highlighting, try something like prismjs or code-mirror

@jcousins-ynap  @pupudu, thanks to your comment, actually I want to add overflow-y: auto; to large codes and make them scrollable.

@sayjeyhi So yeah, then you can add a suffix to the code block
```php
$myVar = 123;
```

and use the resultant class name to add the styles.
.language-php {
  overflow-y: auto;
}

Instead of php you can use any string. For example, you could replace it with australia, and then the added class name will be language-australia. It doesn't matter because we don't use it to do syntax highlighting


flutter_inappwebview

How to prevent navigation to other screens in case they accidentally click on those ads

you cant try something like this if you use only one link
onLoadStart: (InAppWebViewController controller, String url) {
if(url != '$YOUR_LINK') {
launch(url);
controller.goBack();
}
},
this will open the link in a separate browser instead of opening within the app.

You can use the shouldOverrideUrlLoading event to prevent navigation returning NavigationActionPolicy.CANCEL for your specific URLs.
You can also use the ContentBlocker feature to block ads.


Migrate COS asset storage

PR includes:

Folder structure change for assets. We are using only mscoco_label_map and frozen_inference_graph.pb. This change also made to keep the model in alignment with the training process.

Dockerfile update

md5sum file update

COS still points to dev. If this update is fine, I will move it to prod