kernel: init: allow to jitter boot delay

When a big amount of networked devices  collectively gets switched on,
e.g. by a mains switch, quickly overwhelms a wireless network.
This PR allows to jitter the start-up of the devices.
Cleaned-up the boot banner after the boot delay. At that point in time
is irrelevant.
Signed-off-by: Markus Becker<EMAIL_ADDRESS>

Open issue: How to make sure that the printk() is fllushed before k_msleep()?

When a big amount of networked devices collectively gets switched on,
e.g. by a mains switch, quickly overwhelms a wireless network.

As this mentions networking usecase, adding @jukkar to reviewers. I myself would point that if networking is the usecase, than rather e.g. DHCP client should have a randomized delay support. Handling that with a boot delay seems like a crude approach.

It is mostly a wireless/BT/openThread networking use case, not all of the networking options necessarily require DHCP.
It might be a crude approach, but the implementation is rather straight forward.

rebased on master post 2.3 release.

@jukkar @andyross would you take yet another look at this reworked solution?

I would rather you not modify the core kernel for this use-case.
Have you considered defining a SYS_INIT() in your application (at PRE_KERNEL_1) which just introduces a delay there?

Have not considered this. How would you delay network set-up with SYS_INIT()? Do you have an example?

printk() is calling log_printk() when CONFIG_LOG_PRINTK is on. Then the output would be happening in the logging thread

OK... I get it.  And this is clever, but... no, sorry. :)
Really what you're doing here is exploiting a bug in the logging subsystem.  CONFIG_LOG_PRINTK is supposed to mean that printk() output goes to logging instead, but apparently the feature missed a spot, or put the hook in the wrong place, and it happens that vprintk() doesn't do that and goes to the original output.  But that's wrong.  When you have CONFIG_LOG=y and CONFIG_IMMEDIATE=n, logging is asynchronous.  That's the way it's supposed to work, and it's desired behavior[1].  Subsystems shouldn't be silently working around the intended behavior of other subsystems by using backdoors.
Basically: if the user asked for async logging give them what they want.  If you don't think they should want that, let's deal with that via a patch to the log layer.
[1] By someone (cough, cough, @nordic-krch).   I actually agree that for most development usage asynchronous logging is the devil's work and don't understand why we decided to make it default was a good idea.  But it's the system we have, so let's not hack holes around it.

printk() is calling log_printk() when CONFIG_LOG_PRINTK is on. Then the output would be happening in the logging thread

OK... I get it. And this is clever

Thanks :)

, but... no, sorry. :)

Hmm.

Really what you're doing here is exploiting a bug in the logging subsystem. CONFIG_LOG_PRINTK is supposed to mean that printk() output goes to logging instead, but apparently the feature missed a spot, or put the hook in the wrong place, and it happens that vprintk() doesn't do that and goes to the original output. But that's wrong. When you have CONFIG_LOG=y and CONFIG_LOG_IMMEDIATE=n, logging is asynchronous. That's the way it's supposed to work, and it's desired behavior[1]. Subsystems shouldn't be silently working around the intended behavior of other subsystems by using backdoors.

Will the bug be fixed?

Basically: if the user asked for async logging give them what they want. If you don't think they should want that, let's deal with that via a patch to the log layer.

True, that the user wants to use async logging (or has to because it is pulled in by default). But this tripped me several times, looking at debug on UART and expecting to see something, only to notice several trials later that the device is delaying the boot.
For my information, would be switching the logging backend to RTT make any difference?

[1] By someone (cough, cough, @nordic-krch). I actually agree that for most development usage asynchronous logging is the devil's work and don't understand why we decided to make it default. But it's the system we have, so let's not hack holes around it.

What was the reason to move it to async? Would disabling async logging be possible? What would be the side-effects?

Will the bug be fixed?

Do we have a bug opened on GitHub for this issue? That's the first step.


Block multiple trackers from each source

Replace all matches for a tracker regex so multiple trackers can be blocked.
This is untested as I couldn’t get Mail.app to enable my local build (probably due to lack of notorization?) Let me know if you have any tips on installing the plugin locally.
This implementation assumes that stringByReplacingMatchesInString returns the original string when no changes are made, to allow for an efficient replaced != result comparison rather than isEqualToString.

stringByReplacingMatchesInString returns the original string

This seems to be true, however with this PR, the tracker seems to attribute all my emails as coming from Mailgun.

Actually it seems that stringByReplacingMatchesInString does return a new string instance, as an NSMutableString. I've updated it to use isEqualToString to avoid the false positives. Also:

I added unit tests of the sanitized html
Check the generic tracking pixel regex after the others so that we're not dependent on the non-deterministic NSDictionary iteration order. Previously, if kGenericSpyPixel came up before one of the known trackers, it would remove the img tag completely and we wouldn't match the subsequent regexes.

Thanks, this is great. I'll get around to testing it more this week. Been busy working through the mess of compatibility issues everyone has been bringing up this weekend.
Also, I haven't actually come across a vendor putting put multiple trackers in a single email yet. Does such a case exist?

Also, I haven't actually come across a vendor putting put multiple trackers in a single email yet. Does such a case exist?

I haven't looked for actual cases, but I figure it's at least possible. However, since the kGenericSpyPixelRegex replacement ends up removing any repeats, it's not really necessary for that initial scan to replace all of the matches. I changed that part of the code back to what you had originally for simplicity and efficiency.

Thanks for your submission. Looks great.


Timeout error when it's waiting for selector

[Puppeteer version: 1.12.2]
[Node.js version: 10.15.1]
I'm trying to scrape this website because I need to get the prices of this hotel -> This can be done by clicking on "Reserve now". However, I keep getting a timeout error when waitingforselector. Even, I have used the extension Puppeteer recorder for Google Chrome and still I get this error.
Code:
const puppeteer = require('puppeteer');
void (async () => {
	try {
		const browser = await puppeteer.launch()
		const page = await browser.newPage()
		const navigationPromise = page.waitForNavigation()
		await page.goto('https://www.marriott.com/hotels/travel/reumd-le-meridien-ra-beach-hotel-and-spa/')
		await page.setViewport({ width: 1920, height: 938 })
		await page.waitForSelector('.tile-hws-site-maps > .mi-scroll-nav > .l-drawer-container > .l-navbar-container > .l-navbar-content')
		await page.click('.tile-hws-site-maps > .mi-scroll-nav > .l-drawer-container > .l-navbar-container > .l-navbar-content')
		await page.waitForSelector('.m-hotel-info > .l-container > .l-header-section > .l-m-col-2 > .m-button')
		await page.click('.m-hotel-info > .l-container > .l-header-section > .l-m-col-2 > .m-button')
		await page.waitForSelector('#edit-search-panel > #YSS92XQY_edit-your-search-form-ministores > .m-field-wrap > .l-xs-col-4 > .analytics-click')
		await page.click('#edit-search-panel > #YSS92XQY_edit-your-search-form-ministores > .m-field-wrap > .l-xs-col-4 > .analytics-click')
		await page.waitForSelector('.mfp-wrap > .mfp-container > .mfp-content > .tile-unsuccessful-sell-overlay > .mfp-close')
		await page.click('.mfp-wrap > .mfp-container > .mfp-content > .tile-unsuccessful-sell-overlay > .mfp-close')
		await navigationPromise
		await page.screenshot({
			path: '../screenshots/page1.png'
		})
		await page.pdf({path: '../pdfs/page1.pdf'})
		await browser.close()
	} catch (error) {
		console.log(error)
	}
})()

Error:

What am I doing wrong?
Thank you in advance

Fixed!
Apparently, the extension seems to not generate appropriate code, I have tried to go through the DOM elements until the button and it worked!
Puppeteer recorder needs to be fixed apparently.

Fixed!
Apparently, the extension seems to not generate appropriate code, I have tried to go through the DOM elements until the button and it worked!
Puppeteer recorder needs to be fixed apparently.

How exactly did you fix it? I'm having the same issue, please respond :)

me as well :(

Same here.
I run multiple tests in separate browsers which cause this error to occur even though it doesn't when i run that particular tests alone.


[Loading] Use sentence case in messages

Close #761
Changes

I scanned all instances of "Loading", "loading", "isLoading", "updating", "Updating" and ensured that any associated messaging was using sentence casing.

@meissadia
Does this capture all of the instances of loading messages on the platform?


Spex Switches?

I'm trying to use homebridge-wiz-lan to connect my Spex switches (which claim to be Wiz connected) to Hoobs but I'm getting a "device not supported" warning in my logs.
2022-01-05, 9:10:22 PM Wiz Lan Bridge WizSmarthome WARNING Unknown device ESP11_DIMTRIACS_01, skipping...
I get one error per switch, and this happens even when I manually add the device IPs in config.
FWIW: this is the switch that won't connect ... https://spexlighting.com/collections/smart-devices-accessories-1/products/smart-dimmer-switch

@kpsuperplane Just digging around the code now, it seems current support is only for Wiz bulbs and sockets. Is there any plans to add something similar to this PR, but for switches? https://github.com/kpsuperplane/homebridge-wiz-lan/commit/fa77be5327cc27b0918b3bd5232aae5bae5a0ce3

Hey @bradders, thanks for the submission. Unfortunately I don't have a Spex switch to test on, and it likely has different protocols than that of the bulbs.
Please feel free to submit a PR though if you wanna tinker with it yourself.


DOC: fix stats.pearsonr example that was failing in CI

This came in 4 days ago in gh-14183.

Refguide check is green and this is tripping people up, so merging. @chrisb83 if you meant to use a different x for this example, please comment.


Metadata fields with URLs show code not links

In the visualizations, the license field in the metadata is showing our url code [need to add functionality to recognize and parse URL if a metadatum contains it -AZ]
e.g. see http://data.copticscriptorium.org/texts/to_thieving_nuns/to_thieving_nuns

This one turns out to be quite easy.
https://github.com/CopticScriptorium/cts/commit/9345c57021c0e0fcf34f4fbacb249b344d6e45f6

Hmm.  I'm not seeing links, just flat text:

There should be a link each in the license and Greek_source metadata fields.

mostly fixed.  CSS needs to be adjusted, and then this can be closed. Thanks, Dave!

fixed-yeah!


Not updating accessory in HomeKit app

I installed this 2 days ago and initially it was working fine but have noticed that the temp/humidity on the sonoff web page was not the same and not updating the accessory in the HomeKit App. I would restart homebridge to fix problem but after "x" amount of time it would stop updating and default to around 16degrees and 80% humidity??  Any advice on how to fix this?

nothing in log files either...

Would appreciate some help on this one if you have time @MacWyznawca.  I also noticed it has done it again this morning and that instead of updating every 120s in the console on the sonoff it was doing it every 2s???  Both accessories in the config had 120s and the sonoff logging was set to 120 also.  Again if I stop and start the homebridge server it corrects it self only to stop at some point again from updating the home app.  Do the mac address's in the config for each accessory (temp and humidity) have to be different?  Does the sensor property name need to be the same as well?  I really don't know what else could be causing this.

i've come to the realisation that this plugin only works for a day or so then will stop updating home app with correct temp.  Same goes for the humidity plugin.  I've moved to a hap-nodejs accessory.

Hey, first want to thank @MacWyznawca for this plug in, second can someone help me, in browser I get the right temp displayed but in homekit I get -50 degrees. Thanks in advance

@grimmsq mayby bad name of sensor? What sensor You uese?

DHT22

Well managed to realize that I forgot to put the ip address (idiot me) for mqtt, once again @MacWyznawca thank you for all your work in developing this plug ins!

@grimmsq 🙂 thanks ;-)


product and product-category bases in wrong language for polylang language switcher links

Can you reproduce this issue on default Wordpress theme (eg Storefront)?
Yes.
Can you reproduce this issue when all other plugins are disabled except WooCommerce, Polylang and Hyyan WooCommerce Polylang Integration?
Yes.
What product versions and settings are you using when this issue occurs?

PHP: 7.1
WordPress: 4.8.1
WooCommerce: 3.1.1
Polylang: [state if using Polylang PRO] No, just the basic free Polylang
Hyyan WooCommerce Polylang Integration: 1.03
Browser: Chrome

Steps to Reproduce

Enable two languages for your site, in my case it's English and French.
Keep permalink settings completely default.
Add a Polylang language switcher to your primary nav menus for both languages.
Create an English test category, then create a French translation for it and associate them together. For example a product category called "Cooking" with the French translation category "Cuisine".
Create a simple product in English and French, associate them together and mark them under the newly created categories. For example we'll say the English product is named "Cutting Board" and the French version "Planche à découper".
View the French product on the site, then hover over the English language switcher link in your nav menu and look at the URL it intends to take you too.

What I Expected
example.com/en/product/cutting-board
What Happened Instead
example.com/en/produit/cutting-board
So the issue is that the default product and product category bases that get translated natively by your plugin are being presented in the destination links for the language switcher, but in the language you're currently viewing the page in, not the language you intend to switch to.

i'm having the same issue. is there a way to fix this issue (other than using .htaccess)?
cheers

Other example would be:
https://www.example.com/en/product-category/my-english-category/
When clicking on the Language switcher (wich works on all other pages, except product + categories), the link looks like this:
https://www.example.com/product-category/my-german-category/
note: german is my primary language, so no /de/ can be found. this is ok.
It rather should be (note produ>k<t instead of 'c')
https://www.example.com/produkt-category/my-german-category/

One temporary measure I'm using for now is replacing the default product category base with something else, for example I changed it to "selection" because luckily the word is spelled the same for the two languages I need, so my urls are example.com/selection/my-category, it's not a fix, but this way it doesn't incorrectly translate the product category base causing 404s.

@CultureInspired Well this does work for you, but not for me. Since product-category and produkt-kategorie are not identical. :-(

it's just the permalink part that's not translated.
I just set my Product permalinks to be shop or actually "/shop/%product_cat%/" then it is only the word "shop" which is not actually translated, so the site urls for products etc within the shop are like:
mysite.com/**shop/**english-products
mysite.com/**fr/shop/**produits-francais
mysite.com/**es/shop/**productos-espanoles
Also I set my Product category base to be simply "shops" or "cat" rather than having a full product-category or produkt-kategorie etc in every url.
You could also set the permalink bases to "a", "b", "c" etc or possibly remove them: they don't need to be user-meaningful, they exist really to avoid url collision between Product Categories and Product tags with the same name.
Ideas and pull requests for improvements welcome...

Getting the same issue

then you can use the same workarounds as I suggested on 18 Aug above ...
for example go to Settings Permalinks and set the product permalinks to something like:
 /p/%product_cat%/
or, you can propose an implementation - feel free to fork and submit pull request.
The implementation would be quite similar to endpoints.php (see latest commit) with 2 parts:
Register strings
similar to regsiterEndpointsTranslations() in endpoints.php:
first to loop through all the permalinks and call pll_register_string to register them in the strings translation table and make them available for translation, in the
Add translated permalinks
similar to addEndpoints() in latest commit to endpoints.php
need to loop through the permalinks and for each permalink loop through available languages and add_rewrite_endpoint.   this is hooked via pre_update_option_rewrite_rules to ensure the rules are updated whenever permalinks are saved.
(Note it is not called when updating the strings translations, only when saving from the Settings, Permalinks.)

Thanks for the quick repy,
Will give it a try

Just Entered 'product-category' in "Product category base" field in permalink settings , and saved .
It solved the problem

@mohdqasim98 the problem described in this post is that the string 'product-category' is not translated when you switch language.
This means the links would be eg:
english.myshop.com/product-category/my-product/
spanish.myshop.com/product-category/mi-producto/
french.myshop.com/product-category/mon-produit/
chinese.myshop.com/product-category/我的产品
My point was that this doesn't really matter, and that if anyone is worried they can simply shorten the permalink, as it doesn't need to be that meaningful, so if you were worried about someone seeing product-category in english on the url you could just change it to 'p' or whatever you like:
english.myshop.com/p/my-product/
spanish.myshop.com/p/mi-producto/
french.myshop.com/p/mon-produit/
chinese.myshop.com/p/我的产品
My explanation was for how to implement a translation for this slug if necessary (which I don't think it is).
I don't know what problem you fixed but I guess it wasn't that one.

I think this issue can be closed then, as long as something is saved in "Product category base" field in permalink settings there is no problem with the language switcher.


Removal of /api/ in base path leads to 404 error

Hi, I've tested the SDK with two separate Shopware instances and encountered the same error each time.
When I use http://example.com/api as base URL, it seems to strip out the api path and that results in a 404 type error, because the client tries to access http://example.com/version for example, instead of http://example.com/api/version
I'm currently not certain where exactly the error is located. Since this issues is so fundamental (it renders the SDK useless) and was not yet opened, I'm wondering if I did something wrong. However I can't find any problem with my configuration.
Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: GET http://example.com/version resulted in a 404 Not Found
in shopware-sdk/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113

I think the stripping happens in the resolve function of shopware-sdk/vendor/guzzlehttp/psr7/src/UriResolver.php.
It works, when I change the hardcoded URI from shopware-sdk/vendor/leadcommerce/shopware-sdk/src/LeadCommerce/Shopware/SDK/Query/VersionQuery.php getVersion from /version to version.

This error only happened with the version call on 1.0.1.
Or in general with version <IP_ADDRESS>
It seems that I can work with the SDK, if I stick to version 1.0.1 and avoid using the version call.


Fix user messages move from right to left after reloading the room (I think it's because the UserStore values are reset)

I think it's because the UserStore values are reset


🛠 Repo: Overhaul development tooling

This repo's development flow hasn't been worked on in quite a while. It still uses Grunt, doesn't have GitHub issue or PR templates, and no longer has CI running for anything. Not ideal.
Filing this issue on myself to overhaul the development flow. My default behavior is to essentially use the same tooling as the http://github.com/JoshuaKGoldberg/create-typescript-app template. I'll want to confirm with @TechNickAI before doing anything though.

...and I'm in! #89


Add a Carousel Comp & Improve BadgePreview

WIP

[x] Add Carousel stories
[x] Add Carousel comp
[x] Clean BadgePreview
[x] Add fixed sized to the BadgePreview
[x] Add "glare" effect on BadgePreview
[x] Add Steper comp
[x] Add Steper stories
[x] Add .d.ts on each main .scss file

Carousel Preview Example:
Its automatically moving to the next element every 3secs, just for testing. But that is how it looks like
(this video is not up to date, consider it as an example)
https://user-images.githubusercontent.com/21246763/201956626-5e9507e5-4897-4d4b-a576-5c620e5d6723.mov
Steper Preview Example:
https://user-images.githubusercontent.com/21246763/203072336-bacfcecb-d808-4b43-818c-70b3cc0b482f.mov
Badge Sizes Preview:
https://user-images.githubusercontent.com/21246763/203072879-82c7642f-37a6-4e74-8d09-7667c84a07c9.mov

@FedeMadoery nice features, I have 2 things to comment:

what is the advantage of generating all those types for the scss variables?
the component 'Steper' is a typo, it should be named 'Stepper'
I will test everything locally and let you know if I find any trouble

@FedeMadoery nice features, I have 2 things to comment:

what is the advantage of generating all those types for the scss variables?
the component 'Steper' is a typo, it should be named 'Stepper'

I will test everything locally and let you know if I find any trouble

With all of that types, you can create literals for each set of variables, like Colors. So you will be able to restrict the colors that your component would receive as props, with just an string, also this allow us to just recive colors from our own pallete as an string. You can see a very simple example inside the Stepper if I'm not explaining it well.

I did my best explaining the carousel logic, let me know if its not clear and we can have a talk about it.
If you read the comments with this img in mind, everything will be more clear


docs: tutorial monitoring bias and ethics

Description
Include a new tutorial on monitoring bias and ethics using Giskard outputs
Closes #4447
Type of change
(Remember to title the PR according to the type of change)

[ ] Documentation update

How Has This Been Tested
(Please describe the tests that you ran to verify your changes.)

[ ] sphinx-autobuild (read Developer Documentation for more details)

Checklist

[ ] I added relevant documentation
[ ] I followed the style guidelines of this project
[ ] I did a self-review of my code
[ ] I made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I filled out the contributor form (see text above)
[ ] I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

@davidberenstein1957 Hi, David, this is the draft version, let me know what can be improved :)

Hi @sdiazlor , looking great already.
maybe something like this would be better, also because we don't do full RLHF?
👀 Monitoring and SFT LLMs for ethics and bias using Giskard
Could you add an output example of Giskard and Langchain? This helps to understand better what is happening.
Do you think you would be able to replace the reward model part for a DPO fine-tune of Phi2 using Peft?

https://huggingface.co/blog/dpo-trl
https://huggingface.co/microsoft/phi-2/discussions/19
https://github.com/mit1280/fined-tuning/blob/main/phi_2_fine_tune_using_PEFT%2Binference.ipynb

@sdiazlor, before closing I'll also check this with "mps" on mac. We might have some m1 issues though 🥲

Perfect, that would be really useful!


Allow NFS role to copy admin key

If cephx is enabled, then the admin key is necessary to add RGW users.
Add the ability to copy the admin key for the object NFS case.
Signed-off-by: Daniel Gryniewicz<EMAIL_ADDRESS>

@dang bump


Increase octree precision to double to support octrees covering the world.

In order to handle octrees covering the whole earth, another 64 bit encoding needs to be added and bounding boxes need to be in double precision in order to have enough precision when setting the resolution to e.g. 1 mm.

@nnmm @SirVer
FYI

Thanks for all your feedback!

@wally-the-cartographer merge

@wally-the-cartographer merge


microk8s.ctr doesn't list any containers since k8s 1.16

$ microk8s.ctr c ls
CONTAINER    IMAGE    RUNTIME

This command works:
$ microk8s.ctr -n k8s.io containers ls


From distogram to structure?

Disclaimer: I'm not a structural biologist and I'm not working in protein structure prediction. I can't say I've understood all the details here.
I've read the the AlphaFold publication and was so intrigued by it that I wanted to predict the structure a couple of proteins that we typically look at (here in the lab) just out of curiosity.
From the README, I can see that it is possible to recreate the CASP13 results (distograms etc.).
My question: Is it possible to get from input protein sequence to predicted structure using AlphaFold?

Hi,
I recommend taking a look at https://github.com/deepmind/deepmind-research/issues/28 which discusses this topic.
TL;DR: This is unfortunately not possible as we didn't open source the feature generation code. (It's tightly coupled to our internal infrastructure as well as external tools which we cannot open source.)

Hi,
that is really a shame! Anyway, thanks for your answer :)


support blend shapes more than 8

Is your feature request related to a problem? Please describe.
Our company HyprSense is making an avatar animation technology (like iPhone X Animoji). We were looking for rendering engines to showcase 3D characters, and they usually have 40~50 blend shapes rigged in.
With Unity / Unreal Engine / Apple SceneKit, we had no problem because their vertex shader supports that number of blend shapes for a skinned mesh renderer. We are having difficulties with Sceneform, where the number of blend shapes is limited to 8 (or 4 with blending normals).
We want you to ask if you have a plan to implement a feature to support 40+ blend shapes.
Describe the solution you'd like
You might want to store the blend shape vertex and normal deformation information in a data texture, and load from the vertex shader to apply the deformation. There are similar threads discussing about this topic in the three.js repository, and they came up with the approach I have mentioned.
https://github.com/mrdoob/three.js/issues/15556
https://github.com/mrdoob/three.js/issues/14441
OS and backend
All OSes and backends

Thanks for the feature request.
For now, you might want to consider animating the verts on the CPU, which is what we do for ImGui. Also note that Filament allows you to modify the vertex shader (see our point_sprites sample app).
We would be interested in more details regarding Unity / Unreal Engine / Apple SceneKit.
Notes to self:

See "Programmable Vertex Pulling" in OpenGL Insights, although the author only tested his approach on NVIDIA and AMD.
OP's first link has a vertex shader loop with 136 iterations, making a texture lookup in each iteration.

Unreal Engine has a feature to blend vertex morphs and tangent morphs in a computer shader.
https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Shaders/Private/GpuSkinCacheComputeShader.usf
Unity / SceneKit is closed source software, but they might take advantage of compute shaders.
Since Filament is targeting OpenGL ES 3.0 which has no compute shader, there would be a couple of workarounds.

Blend in CPU
This must be very slow, but better have a feature for this than none. If we are going to use filament with WebGL, it would be better to do morph in WebAseembly, not in Javascript side.

Blend in Vertex Shader
You can create a data texture containing vertex morph deltas and tangent morph deltas, and read the corresponding morph data from the each vertex shader call to blend.

You might want to adopt the way ViroCore supports: https://developer.viromedia.com/virocore/reference/com/viro/core/Object3D.MorphMode.html
ViroCore (which is the only renderer on Android, as far as we know, which implements morph targets and skinned mesh renderers good enough to support animated characters) supports both CPU blending / GPU blending for morph target vertices.

Is your feature request related to a problem? Please describe.
Our company HyprSense is making an avatar animation technology (like iPhone X Animoji). We were looking for rendering engines to showcase 3D characters, and they usually have 40~50 blend shapes rigged in.
With Unity / Unreal Engine / Apple SceneKit, we had no problem because their vertex shader supports that number of blend shapes for a skinned mesh renderer. We are having difficulties with Sceneform, where the number of blend shapes is limited to 8 (or 4 with blending normals).
We want you to ask if you have a plan to implement a feature to support 40+ blend shapes.
Describe the solution you'd like
You might want to store the blend shape vertex and normal deformation information in a data texture, and load from the vertex shader to apply the deformation. There are similar threads discussing about this topic in the three.js repository, and they came up with the approach I have mentioned.
mrdoob/three.js#15556
mrdoob/three.js#14441
OS and backend
All OSes and backends

Yes, storing the morph targets in a data texture is a possibility that we will likely pursue (sometimes this is called "programmable vertex pulling").  However we do not have a timeline for the implementation.
One thing that might be helpful would be a real-world example that does this, ideally in the form of a glTF file.  This would allows us to compare performance between CPU-based and GPU-based approaches.

I love it coz it help me with my organizations


Why does the list scroll to the top when I move the element?

Why does the list scroll to the top when I move the element?

Facing the same issue. Any solution?

I figured out my issue. It wasn't with react-sortable-hoc but with react-router-dom.
The problem was I generated routes dynamically on every state change. Apparently this doesn't retain last scroll locations and refreshes on each.

Resolved by #484


ValueError: number of bits must be greater than zero from time to time

I can't always reproduce this error, but it seems to happen from time to time when using get and set in .rive files. This is the last time I got the error message:

Traceback (most recent call last):
File "/Users/arashsaidi/Work/chatbot/bot/python/lib/python3.5/random.py", line 253, in choice
i = self._randbelow(len(seq))
File "/Users/arashsaidi/Work/chatbot/bot/python/lib/python3.5/random.py", line 230, in _randbelow
r = getrandbits(k)          # 0 <= r < 2**k
ValueError: number of bits must be greater than zero
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "run.py", line 14, in
reply = bot.reply("localuser", msg)
File "/Users/arashsaidi/Work/chatbot/bot/python/lib/python3.5/site-packages/rivescript/rivescript.py", line 999, in reply
return self._brain.reply(user, msg, errors_as_replies)
File "/Users/arashsaidi/Work/chatbot/bot/python/lib/python3.5/site-packages/rivescript/brain.py", line 82, in reply
reply = self._getreply(user, msg, ignore_object_errors=errors_as_replies)
File "/Users/arashsaidi/Work/chatbot/bot/python/lib/python3.5/site-packages/rivescript/brain.py", line 387, in _getreply
reply = random.choice(bucket)
File "/Users/arashsaidi/Work/chatbot/bot/python/lib/python3.5/random.py", line 255, in choice
raise IndexError('Cannot choose from an empty sequence')
IndexError: Cannot choose from an empty sequence

ValueError: number of bits must be greater than zero

I didn't even know that was a possible exception Python would throw.

IndexError: Cannot choose from an empty sequence

This part could probably be avoided by making sure there's >1 reply available before calling random.choice (really, every RiveScript trigger should have at least one reply, except ones that just @redirect elsewhere, but RiveScript should still avoid calling random.choice on an empty list).
Are these related? Can you reproduce the error by having a trigger with no replies? (Maybe also an empty {random}{/random} tag could work too).

Python 3
Python 3.5.1 (default, Jul 10 2016, 20:36:01)
[GCC 6.1.1 20160621 (Red Hat 6.1.1-3)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import random
>>> random.choice([])
Traceback (most recent call last):
  File "/usr/lib64/python3.5/random.py", line 253, in choice
    i = self._randbelow(len(seq))
  File "/usr/lib64/python3.5/random.py", line 230, in _randbelow
    r = getrandbits(k)          # 0 <= r < 2**k
ValueError: number of bits must be greater than zero

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.5/random.py", line 255, in choice
    raise IndexError('Cannot choose from an empty sequence')
IndexError: Cannot choose from an empty sequence

Python 2
Python 2.7.12 (default, Jul 18 2016, 10:55:51)
[GCC 6.1.1 20160621 (Red Hat 6.1.1-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import random
>>> random.choice([])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/random.py", line 275, in choice
    return seq[int(self.random() * len(seq))]  # raises IndexError if seq is empty
IndexError: list index out of range

Looks like the root cause was RiveScript trying to do random.choice on an empty list.

This problem should be resolved if you update to v1.14.3.


Create createwritedeletefile.go

Fixes # 151
Addressed  #151
Please delete options that are not relevant.

New feature (non-breaking change which adds functionality)
This change requires a documentation update

Checklist:

My code follows the style guidelines of this project
I have performed a self-review of my own code
I have commented my code, particularly in hard-to-understand areas
Any dependent changes have been merged and published in downstream modules

<< Back

@aprabhat can you please review the PR?


Add push notification tests to Helix

/azp run

Can you elaborate on the status of this PR? Is this ready for code review? Do we have any dependencies to wait for before merging this change?

@danielayala94 - this was just an experiment to try to diagnose the issues that are currently preventing the tests from running int Helix. There's been some additional work done since then on the build pipelines, so I've re-opened a new PR to try to run our tests in Helix. That other PR is also an experiment.


Final config for use with DDEV v1.23.0, replaces #30, replaces #23

@simesy gave me permission to push a replacement PR for his

#23
#30

This is exactly his #23 (before he pushed unrelated commits to his branch), rebased to current. #30 can be closed.
I will test this and make sure it can work at least as is.
Then if we can get it in I will try to make mariadb testing and drush install work.
This can be tested with
ddev get https://github.com/rfay/ddev-drupal-core-dev/tarball/20240501_simesy_restore

Sorry that I disrupted the previous PR.  Just confirming this PR has had a lot of eyeballs and should be pretty straightforward - good to see that sqlite won't be needed but i assume as it currently stands this won't be fully testable?

This is fully testable and has automated tests working. The test instructions are above.

A few days ago the location/value of the sqlite3 packages changed, invalidating our install.

https://github.com/ddev/ddev/pull/6175

However, DDEV v1.23.1 should be out this week, so as a result, rather than chasing this and duplicating effort, I've made this dependent on v1.23.1, so the tests likely won't pass. It can be updated when the new version comes out.


update-command

Update description on TASK_NAME, GROUP_NAME and TAG
Update the error thrown in add command

Codecov Report

Merging #123 (1fb409e) into master (f239e8d) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #123   +/-   ##
=========================================
  Coverage     60.96%   60.96%
  Complexity      546      546
=========================================
  Files           104      104
  Lines          2001     2001
  Branches        232      232
=========================================
  Hits           1220     1220
  Misses          713      713
  Partials         68       68

Impacted Files
Coverage Δ

.../java/seedu/address/logic/commands/AddCommand.java
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


Unable to connect to Google Cloud SQL using Public IP of SQL and credentials

Hi ,
I am trying to add connection for google cloud SQL. Public IP of the MySQL server and credentials are available.
But when i try to add connection,
data_validation.exceptions.DataClientConnectionFailure: COnnection Type "MySQL" could not connect: (pymysql.err.OperationsError) (2003, "Can't connect to MySQL server on  (timeout)")
I am running the command in Google cloud shell.
Please help me to resolve this issue.
Thank You,
Rajendra

Even if you have a public IP, you would need to add the Cloud Shell IP to the list of authorized addresses or address ranges on your CloudSQL instance. I would recommend using the CloudSQL proxy to connect and configure the DVT connection to point to localhost/port 3306

Has this issue been resolved?


Forbid Node v4 common syntax

I've replaced xo linter by eslint itself. Now, destructuring patterns are forbidden until next year because they break compatibility with Node v4 and v5.

Nice. I think there is more ES6 syntax that doesn’t work in node v4, but we can adjust the config gradually 😉.


Camel killer box, support snake case attributes on data structures non-destructively

Which project are you requesting an enhancement for?
kr8s
What do you need?
We use box to make accessing nested data structures more pleasant and pythonic.
Right now we just use the default box settings, which means any data structures that use camel case keys needs to be accessed via camel case attributes.
>>> import box
>>> data = box.Box({"loadBalancer": True})
>>> data.loadBalancer
True

Box supports a camel killer box to make keys like loadBalancer more pythonic by optionally converting them to snake case like load_balancer.
>>> import box
>>> data = box.Box({"loadBalancer": True}, camel_killer_box=True)

You can access the loadBalancer key using either .loadBalancer or .load_balancer. Which is very pleasant.
>>> data.load_balancer
True
>>> data.loadBalancer
True

Unfortunately this operation in box is destructive and modifies the underlying data structure to store data in the snake case form. Which means when converting back to a dictionary you don't get the same structure that you put in.
>>> data.to_dict()
{'load_balancer': True}

Given that kr8s needs to be able to update data back to the Kubernetes API we can't be mangling the data structures like this.
It would be great if we could somehow support this snake case attribute access without modifying the data structure so that we can serialize data back out transparently.

I opened https://github.com/cdgriffith/Box/issues/279 to see if this is something that could be implemented upstream in box.


Wind parameters from .metaversefile

I have change everything commented in previous PR.

I have created new PR with fresh copy of webaverse:
https://github.com/webaverse/app/pull/1893
That is the reason for closing this PR
All requests are addressed there.


Importing py_vollib causes a MySQL import error in a Flask App

Hi everyone, I am trying to use this library to calculate IV and Greeks for an array of option prices and when I was developing on my local windows machine everything went smoothly but on trying to run the code on a Flask application that uses a MySQL connector to read price data, simply importing the py_vollib library causes the application to break with the following error:-
  File "*/.venv2/lib/python3.6/site-packages/MySQLdb/__init__.py", line 18, in <module>
    from . import _mysql
ImportError: /lib64/libstdc++.so.6: cannot allocate memory in static TLS block

Joined by another exception here :-
  File "*/.venv2/lib/python3.6/site-packages/sqlalchemy/dialects/mysql/mysqldb.py", line 167, in dbapi
    return __import__("MySQLdb")
  File "*/.venv2/lib/python3.6/site-packages/MySQLdb/__init__.py", line 24, in <module>
    version_info, _mysql.version_info, _mysql.__file__
NameError: name '_mysql' is not defined

SQLALchemy works fine on my Windows machine but not on this RedHat Linux instance that I am developing on. I would appreciate if you could provide any insight on the C level imports that occur when using this library that is probably causing this issue / conflict. As for me I'm a bit boggled on how to go about debugging it.

There are no SQL dependencies in py_vollib, so the root cause must lie elsewhere.


optax.mask does not play well with flax FrozenParams

The mask must be returned/given as a frozenDict, which is annoying.
I'm not sure this is really an optax bug... but could something be done to alleviate this?
This also shows up in multi_transform, where the fix is less obvious because it internally builds a dict, therefore the only way to make it work is to unfreeze the params before giving it to the optimiser, which is... inconvenient.
>>> import jax.numpy as jnp
>>> import jax
>>> import optax
>>> from flax.core import freeze, unfreeze
>>>
>>> pars = freeze({"Dense": {"kernel": jnp.zeros((2,3)), "bias": jnp.zeros((3))}, "bias":jnp.zeros(2)})
>>> op = optax.masked(optax.sgd(0.1), {"Dense": True, "bias": False})
>>> op.init(pars)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/filippovicentini/Documents/pythonenvs/netket_env/lib64/python3.8/site-packages/optax/_src/wrappers.py", line 311, in init_fn
    flat_params = treedef.flatten_up_to(params)
ValueError: Expected dict, got FrozenDict({
    Dense: {
        kernel: DeviceArray([[0., 0., 0.],
                     [0., 0., 0.]], dtype=float32),
        bias: DeviceArray([0., 0., 0.], dtype=float32),
    },
    bias: DeviceArray([0., 0.], dtype=float32),
}).

This is intended behaviour, and I agree that it is annoying :). There's some discussion (https://github.com/google/flax/issues/1223) about changing Flax to return normal dictionaries instead of Frozen ones. In my own code, I immediately unfreeze parameters after initialising Flax modules.
Does that help? I would prefer not to make a special case here for FrozenDicts, as it would break the mental model of the input label tree being the same structure (which includes type) as the actual params.

@PhilipVinc can this issue be closed? It seems like progress on this would come from the Flax side not Optax.

@PhilipVinc  I get this error when using multi_transform. What is the solution? I put unfreeze everywhere but it didn't work.

Flax now uses regular dicts per https://github.com/google/flax/pull/3193. I'll close this issue, but feel free to open a new one if needed.


project.delete deletes in symlinkd directories on Windows 10

If using Cygwin with the environment variable CYGWIN set to “winsymlinks:nativestrict”, symlinks start to work like on Linux. A guess is that this started to work without being priviliged in the version “Creator’s Update”, arriving in September 2017.
Now, deleting a directory with project.delete (where followSymlinks is false by default) on Windows Version 10.0.16299.125, may not work correctly.

if the directory to be deleted contains a symlink to a directory, the directory’s contents (but not the directory) are wiped out prior deleting the symlink itself (SYMLINKD).

project.delete treats symlinks differently comparing Ubuntu to Windows 10 Fall Edition.
Expected Behavior

If the directory to be deleted contains a symlink to a file, the action is correct. The symlink is deleted but the file linked to is kept (SYMLINK). The behaviour is correct.
If the directory to be deleted contains a symlink to a directory, the symlinkd only should be deleted. Works on Ubuntu.
Current Behavior

If the directory to be deleted contains a symlink to a directory, the directory’s contents (but not the directory) are wiped out prior deleting the symlink itself (SYMLINKD). Applies to Gradle versions 3.1 and 4.4.1, at least.
Context

Files that weren't expected to be deleted get deleted. We're trying to delete a part of a project tree that has symlinks to directories and files.
Steps to Reproduce (for bugs)

See https://discuss.gradle.org/t/project-delete-and-windows-10-fall-edition/25251
Your Environment

Build scan URL: https://gradle.com/s/7ub2jipzw2v6e

This should be fixed in 5.3, RC will be coming out soon. Reopen if the RC doesn't fix the issue.


TasksMax=infinity setting should be configurable or dynamically enabled

Cookbook version
2.15.11 and higher
Docker says that the TasksMax=infinity setting is only compatible with a certain version, 226, or higher, of systemd:
https://github.com/moby/moby/blob/v17.04.0-ce/contrib/init/systemd/docker.service#L20-L22
Looking on my RHEL7 box, which is full updated/patched, the latest available to me is 219-30.el7_3.9, so if this setting is on by default via the template in this cookbook, then it may cause an issue.
The specific template I'm looking at is:
https://github.com/chef-cookbooks/docker/blob/v2.15.11/templates/default/systemd/docker.service-override.erb#L35
Perhaps this cookbook could check the version of systemd found on the server and enable TasksMax=infinity if the version supports it.

related: https://github.com/moby/moby/issues/20036

On RHEL7, With the TasksMax line in the /etc/systemd/system/docker.service, I see this error in journalctl after a systemctl daemon-reload:
[/etc/systemd/system/docker.service:17] Unknown lvalue 'TasksMax' in section 'Service'
But the reload succeeds and I'm able to restart docker without issue.

besides the complaint of unknown value, i havent seen this have an adverse effect. when i get time i will look into it more.

closing this for now. please reopen if you find any issues besides the warning about the unknown value in the systemd log.

The error involving TasksMax on RHEL 7.3 and other machines with older systemd versions is not a warning, it's a fatal error that prevents the docker service from starting. To work around this problem, I have to find a way to override the default systemd docker.service template that does not include TasksMax.

Please post some log info that show it is a fatal error causing it to fail
to start. We have tests for centos 7 which throws the warning but continues
fine - along with other distros behaving the same.
On Thu, Aug 10, 2017 at 09:25 morrisjones<EMAIL_ADDRESS>wrote:

The error involving TasksMax on RHEL 7.3 and other machines with older
systemd versions is not a warning, it's a fatal error that prevents the
docker service from starting. To work around this problem, I have to find a
way to override the default systemd docker.service template that does not
include TasksMax.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/chef-cookbooks/docker/issues/871#issuecomment-321602477,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABKpSBwfAi6OTss4FIbJBlYqDgWES--Lks5sWy7lgaJpZM4N56Zs
.

You may be right -- I thought my failure was because of TasksMax, but it might be masked by the docker.socket dependency failure. I have a log, but I have to solve the socket group problem first.

what version of the cookbook are you running? v2.15.21 was released with a fix for docker.socket dependency.

I am running 2.15.21, but needed to add supporting attributes for a local included cookbook to support it. I appear to be running fine now. Sorry for the trouble!


Is the lib supports connection to Android emulator ?

Hello,
Is the lib supports connection to Android emulator ? If it's yes do you have an example please ?
Thx a lot

I don't think so, the emulator brings up an adb-server and we can't compete with that since adbd (the version that runs on the android side) doesn't support multiple adb-servers.


Neovim hangs on Windows

Inexplicably, adding this plugin seems to cause Nvim to hang when opening a python file with nvim-qt. I haven't been able to fully investigate whether this happens with other file types.
nvim version
:version
NVIM v0.5.0-624-g1869f86e3
Steps to reproduce

Add the following

Plug 'tjdevries/luvjob.nvim'
Plug 'tjdevries/express_line.nvim'

Set file type associations: open .py file with nvim-qt.exe
Open foobar.py file

Actual behaviour
nvm-qt hangs.
Expected behaviour
Can open a file with a .py extension

Hey, thanks for the bug report -- It's most likely that I have some issue on windows and it causes the status line to die. I'll take a look soon to fix this.
I might change the requirements to use plenary.nvim instead of luvjob, just as a heads up, since I'm thinking of incorporating luvjob there into my stdlib of neovim stuff. I'll update the readme accordingly when that happens (just install a different plugin basically).

Hey @akiyosi does this still hang on windows? (It's ok if you haven't checked / stopped using. Just interested)

Hi
I enabled the plugin again on my company's Windows machine and found that it did not cause any problems.
Thank you :D

Awesome, very happy to hear it :) Let me know if you have any other questions!!


Bugfix/custom typescript language string not working

Checklist

[x] the [contributor license agreement][] is signed
[x] commit message follows [commit guidelines][]
[ ] tests are included
[ ] screenshots are included showing significant UI changes
[ ] documentation is changed or added

Description of change
This PR aims to fix the problem that custom New UI language strings provided in newui.properties do not get properly used. The apporach is to override values of object languageStrings defined in langstrings.ts.
Another issue we found is although we have overridden languageStrings, some pages still show their default strings. This is because the object referencing their strings is declared in their modules
and instantiated when index.tsx is importing modules which occurs before custom strings are initialised. One example is the Cloud provder page. As a result, we refactored index.tsx so that it will lazy import modules.
And lastly, we moved the core implementation of index.tsx to a new file named App.tsx. I guess this way better follows react file structure rules.

And lastly, we moved the core implementation of index.tsx to a new file named App.tsx. I guess this way better follows react file structure rules.

But also in turn allows for easy initialisation of values (independent of imports) before loading of the full app.

This will also be failing due to #2278 . Looks like maybe we need to merge develop to component/new-search-page.

ApidocsTest seems to have issues in this PR. I will have a look.

ApidocsTest works well locally so I will give another restart for GHA.


Create ci.yaml

@balancap thought I'd add you for interest / in case there's anything useful; comments welcome too, of course


bug fix #351 (remove Title" and "Author" tags)

Check out #353 to help guide you as to how you can further improve the cards. For now, it doesn't look very attractive. Please do check it out @sanduninduwara. :grin: :grin:

fixed by #354


JS error

Well as I assume this will never be answered or fixed as this repo looks kind of dying, il just inform you guys that you don't need to try the package anymore when using typescript, as it seems to error inside the package

which is coming from import { IconPickerItem, IconList } from 'react-fa-icon-picker';
If anyone does have a fix for this let me know, would like to use the package.

@UndercoverNL For yourself or anyone else that is still experiencing this issue:
This issue arises from the styled-components dependency that is used within this library. V5 of styled-components has apparently had a lot of issues with its default export (see here).
I managed to fix this by adding the following to my vite.config.ts:
import { defineConfig } from 'vite';

export default defineConfig(() => {
  return {
    ...
    resolve: {
      alias: {
        'styled-components': 'styled-components/dist/styled-components.js',
      },
    },
  };
});

If you are using webpack, the same can be done using their resolve.alias feature.
I hope this helps


is there a way to automate synth parameters?

forgive my complete ignorance. I see that 303 params can be automated, but nowhere in the documentation (or as far as i can tell in the demo songs) is it mentioned.
rip arguru.

Nope.

ok : )


[suggestion] Support some form of version pinning

Occasionally it's necessary to not use the latest version of a mod, or forge itself:

occasionally a forge update breaks a mod. Need to pin forge to specified release that doesn't break A (until that mod gets fixed).
mod updates sometimes introduce changes undesirable for existing servers.
other unspecified reasons :sweat_smile:

It might suffice to provide the means to blacklist specific mod versions, and/or force a specific version for the mod.
It would also be nice to be able to exclude alpha and/or beta versions of mods (on a per-mod basis, as sometimes mods have only alpha/beta releases when you would otherwise ignore them).

Hi @miiichael!
As of 0.8.0, for any of the entry under "files" in manifest.json, you can add a "locked": true setting to stop mcdex from updating that entry when mod.update.all is run. This is a simple (yet effective) approach to version pinning. :)
Hope that helps!


Define measurements to be made and reported results from the Photometry Service

From the Requirements Doc we have a basic definition of inputs and outputs for the Photometry Service. This issue serves to document these, along with any other additions that are needed, allowing determination of completion of the service.
Overview:
Abstraction of the service to perform low SNR source detection, source measurement and forced photometry at specified locations and return the results to the Controller and the User
Input Parameters:

[x] list of references to the images from Image Service to be measured (required) and either:
[x] (Source detection mode) :
[x] list (or columns) of the per-image uncertainty ellipse regions (required)
[x] SNR threshold (required)
[ ] positional tolerance (required; some sensible default needed to override uncertainty for well determined objects)
[x] (Forced photometry mode):
[x]  RA, Dec position pairs for each image (required)
[ ] aperture radii to measure in (optional TBD if we let this be user configurable or fixed)

Output Parameters:
Either:
(Source detection mode)

[x] source catalog of detected objects and associated parameters that are within the uncertainty region and meet the positional and SNR thresholds
or:
(Forced photometry mode) table of photometry results containing at least:
[x]  X/Y position (original detector coordinates and cutout coordinates)
[x] RA/Dec position
[ ] aperture fluxes and errors in the specified apertures
[x] magnitude and error
[x] flags (for e.g. bad pixel proximity, other objects, incomplete apertures, saturation)
[x] centroiding uncertainty
[x] separation from known source (arcsec and sigma relative to covariance of ephemeris)

@talister I'm not sure what centroiding uncertainty is for the output in forced photometry mode. Is this something like the distance between the peak pixel within a certain radius and the target coordinates (e.g., assuming there's a low S/N source close to the target coordinates)? If so, this would be different from my normal understanding of forced photometry, which is to simply measure the flux within a certain aperture at an exact position, in which case the "centroiding uncertainty" should always be zero? If the intention is for this code to also at least attempt source extraction in the vicinity of specified position, this should be clarified.
Also, "separation from known source" should probably be "separation from closest known source" or "separation from closest detected source", depending on what we want this to be, e.g., separation from the closest known source in the latest LSST static source catalog once one is available, or separation from the closest static source or DIA source found by the LSST pipeline for that specific image. In the latter case, this might depend on the use case, whether one is trying to determine whether a nearby detection might be the targeted object that is farther off its predicted position than expected for some reason (e.g., non-gravs or poor contributing astrometry to the current orbit solution), or if one is trying to determine the likelihood that the forced photometry measurement at a particular position could be contaminated by a nearby source, moving or otherwise. Just wanted to clarify your intention for this parameter...

Hi @hhsieh00 , I think I was thinking of getting in a measure of how well the newly detected source was measured so something like Dave Tholen's semi-empirical HWHM/SNR formula for uncertainty on NEO positions. This feeds into @MarcBuie's comment/requirements that it would be good to know how sigma off the predicted position from the ephemeris the detected source was. It's all part of the post-query check on "is this a valid detection" or a coincidental chance alignment with an unrelated source.

@talister, oh, okay, so the forced photometry is actually looking for a source.  To me is more like low S/N source extraction, rather than forced photometry which I understand as "forcing" photometry at a specific spot, even if it's blank sky, but that could be fine...that's why I wanted clarification...but also just wanted to confirm that this is what we want.
For precovery, I think this makes sense, i.e., if there is a faint source in the uncertainty region that could be the object, that could give you the extra astrometry you want if it's actually the object.  This would also probably be the desired functionality for phase function work (although the photometry will be highly uncertain if S/N is so low that it wasn't already picked up by the pipeline).  In this case then, I think the output should include both the predicted x/y and measured x/y of the detected source.
That said, for outburst detection (e.g., looking for objects that were detected in recent data that should be visible based on simple phase function assumptions at previous pointings where they were not detected, possibly because they were faint at the earlier time, but underwent recent outburst events that pushed them into the detectable range in more recent data), people would probably want to know what the flux is at specific predicted positions (depending on how large the uncertainty region is), regardless of whether there is a source there is not (i.e., to either get photometry of a faint source, if present, or the detection limit if no source is visible at all).  Would it be possible to do both?

I added to two output quantities to better articulate what's desired.  This is consistent with discussion on the call.  Regarding (x,y) location, is having just the original detector coordinates enough?  For the intended use, I would think you also need to know the detector ID.  If you don't (or can't) know the detector, I don't think the absolute coordinates tell you anything unless it's in some sort of absolute focal plane coordinate (which wouldn't be in pixels).
For the "distance" from the ephemeris output, both quantities I put down are useful, but the sigma measure is much, much more useful.
For input quantities, there is an SNR threshold that attempts to pre-filter the output.  That's fine.  But if this is useful, wouldn't it also be useful to have an optional threshold on sigma "distance" from the ephemeris?  As the ellipses flatten out with increasing quality of the fitted orbit, sources in the minor-axis direction will get filtered out much more easily.  This approach isn't a rigorously applied in the community as it should be, but maybe this will help.

I tried to follow up on the solutions that came up in the last meeting.
Currently you can search for a point within a polygon, but finding the intersection of 2 polygons is not implemented yet on the server.
Because of this, there will be no elegant solution to the problem at this time. The best I can do is to split the input dataset into manageable sized chunks and search that way.
Currently in the process of being realized.


loading data on FormSelect

How can I clear all FormSelect options and add new?
If I use browser-default class it works, but if I don't put it it doesn't work
<select name="my_select" id="my_select">
<option value="" disabled></option>
</select>

<script>
....
var results = data.data;

var select = document.getElementById('my_select');
// Clear previous options
var length = select.options.length;
for (i = length-1; i >= 0; i--) {
  select.options[i] = null;
}

for (var i = 0; i < results.length; i++) {
  var item = data.data[i];
  var option = document.createElement('option');
  option.text = item.name;
  option.value = item.id;
  select.add(option, i);
}
</script>

Have you tried to Initialize the component after you've put data in ?

Have you tried to Initialize the component after you've put data in ?

@roiLeo yes, no effects

@roiLeo yes, no effects

Could you make a minimum reproduction codepen? Here's a template with materialize already included: https://codepen.io/pen?template=MRNObV

Could you make a minimum reproduction codepen? Here's a template with materialize already included: https://codepen.io/pen?template=MRNObV

@ChildishGiant
Codeopen url: https://codepen.io/danielemontesi/pen/jOVPxmX
It works, but if you remove browser-default class to select_2 it does not works more

@roiLeo yes, no effects

no you don't. Viewing your given codepen, you did initialize before you've put data in.
Every time you add or remove options on the select, you need to "re-initialize" the select after that.

As written in documentation you have to initialize select component each time you change data.
In your case you should put after the 'for' loop:
M.FormSelect.init(select, options);

Thanks to all


Application Hang

VSCode Version: Code 1.5.3 (5be4091987a98e3870d89d630eb87be6d9bafd27, 2016-09-22T08:50:42.185Z)
OS Version: Windows_NT ia32 10.0.10586

I have no exact way to reproduce the hangs. I may have to do with active extensions as well. The only thing I can see that the code highlighting in javascript seems to stutter.
From the event log I get only this
 <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Application Hang" />
  <EventID Qualifiers="0">1002</EventID>
  <Level>2</Level>
  <Task>101</Task>
  <Keywords>0x80000000000000</Keywords>
  <TimeCreated SystemTime="2016-09-26T14:50:18.012063900Z" />
  <EventRecordID>64935</EventRecordID>
  <Channel>Application</Channel>
  <Computer>redacted</Computer>
  <Security />
  </System>
- <EventData>
  <Data>Code.exe</Data>
  <Data><IP_ADDRESS></Data>
  <Data>32e60</Data>
  <Data>01d218052d7bd626</Data>
  <Data>4294967295</Data>
  <Data>C:\Program Files (x86)\Microsoft VS Code\Code.exe</Data>
  <Data>892bc4a3-83f8-11e6-9c4c-5cf3706d09ba</Data>
  <Data />
  <Data />
  <Binary>54006F00700020006C006500760065006C002000770069006E0064006F0077002000690073002000690064006C00650000000000</Binary>
  </EventData>
  </Event>

I'm mostly working with .js files, the frequency of hangs increase if I have linters or codelenses on.

Can you reproduce when disabling all extensions?

Maybe, but since I cannot force it to freeze this could take some time. Is there a way to better log those crashes other then the event viewer of windows?

// @kieferrm since we have discussed serviceability for such scenarios.

Would devtron help to maybe get more info out of vscode?

Just to add this again, "Reopen" doesn't work in this scenario neither.

@con-ssc when it hangs, is the CPU of any process high? if so, can we find out which process goes high?
To find out more about this issue, we need to get at the process that is causing the high load. VS Code creates multiple processes, each with different tasks. Depending on your OS you can get at the full command line of the process and paste it here. On Mac, the Activity Monitor allows to find the PID of the process and from a terminal ps aux | grep <pid> reveals its arguments. On Windows a tool like Process Explorer helps.
Once you have the information please update this issue with it. Thanks!

I actually have a screen of that, here Process Explorer Screenshot but what info do you exactly need? And also, how can I identify the thread that is causing the issue since they all look the same?

@con-ssc best, the full command line of the process that has high CPU to find out if this is an issue with the renderer, extension host or other process. If you hover over the process in the tree with high CPU, I think process explorer would show you

Do you also want a dump file?

@con-ssc lets start first by finding out which of the processes is running with high CPU load when this happens.

I'm monitoring with sysinternals Process Monitor now.

@bpasero is there a way to send the log, I don't want to put it here in public

<EMAIL_ADDRESS>works

@con-ssc sorry, I was suggesting the wrong tool. Process Explorer (https://technet.microsoft.com/en-us/sysinternals/processexplorer.aspx) is the one that shows a tree of processes and allows to see the full command line:

CPU usage is kinda low but Memory Usage of those two processes is high.

@con-ssc none of the two look bad to me though, memory can go as high as 1 GB before becoming an issue.

@con-ssc can you maybe have an eye on the CPU while you work with code and when it gets so slow and freezes see if the CPU is high or not?

ok
This Process goes over 30% if I scroll a large js file
https://cloud.githubusercontent.com/assets/8189808/18909160/d67ac90a-8572-11e6-8b4b-831f13d6d8df.png

@con-ssc can you install our insider build (
You can give our preview releases a try from: http://code.visualstudio.com/Download#insiders) and select Help > Accessibility Options to see if accessibility is ON or OFF?

We have some port restrictions so I won't be able to install extensions to force the problem with the insider build

@con-ssc I received the core dump and the procmon trace. Today we do not have a setup where we can easily debug VSCode from coredumps, but we should probably improve this in the future to get a better understanding.
The high CPU during scrolling is suspicious so please try the insiders build. I assume the CPU drops when you stop scrolling?

Closing due to silence.


fix readme

Doesn't have BatchedHTTPLink defined, the correct is HTTPLinkDataloader
#6

Thanks for the PR @samhv 🙌


Add support for querying instance properties in ECSQL

Allow access to instance property from base class.

Do we have tests for the new syntax? I only see some tests in InstanceReaderTest, but nothing for the new $ syntax?

Interesting it did write them and it seems I never pushed that last part to imodel02 branch instead i remember I stashed it to do something else and forgot. I am trying to find that git stash.

Are there any TypeScript changes?
I seem to recall asking before, but I do not see any comment to this effect on this PR: should this new syntax be documented in our public docs? You documented it nicely here, where no one is likely to find it.

Are there any TypeScript changes?
I seem to recall asking before, but I do not see any comment to this effect on this PR: should this new syntax be documented in our public docs? You documented it nicely here, where no one is likely to find it.

There are no typescript changes. It's just changed to ECSQL.
We do not want to advertise this publicly at this moment. Though we would like a few people to review it by using and give us feedback on it.


Gemini multi tool use

Apparently now supported. Needs testing and updating the provider description.

Does not seem to be ready. Waiting until goes out of beta.


.Env.variable doesn't work in a range

Describe the bug
I can use {{.Env.foo}} fine when using it in a simple command section, but when I use it in a Template range it won't render.
How To Reproduce
This works:
$ cat vars.yaml
foo:
  - bar
  - baz

$ cat goss.yaml
command:
  test:
    exec: 'echo {{.Env.TEST}}'

  {{range .Vars.foo}}
  {{.}}:
    exec: 'echo {{.}}'
    # stdout:
    #   - <IP_ADDRESS>
    stderr: []
    exit-status: 0
  {{end}}

$ TEST=test goss --vars vars.yaml render
command:
  bar:
    exec: echo bar
    exit-status: 0
    stdout: []
    stderr: []
    timeout: 0
  baz:
    exec: echo baz
    exit-status: 0
    stdout: []
    stderr: []
    timeout: 0
  test:
    exec: echo test
    exit-status: null
    stdout: []
    stderr: []
    timeout: 0

But when I add {{.Env.TEST}}' inside the {{range .Vars.foo}} it won't render:
$ cat goss.yaml
command:
  test:
    exec: 'echo {{.Env.TEST}}'

  {{range .Vars.foo}}
  {{.}}:
    exec: 'echo {{.}} {{.Env.TEST}}'
    stderr: []
    exit-status: 0
  {{end}}

$ TEST=test goss --vars vars.yaml render
2024/08/06 16:00:24 template: test:7:28: executing "test" at <.Env.TEST>: can't evaluate field Env in type interface {}

Expected Behavior
Env variables should render find, no matter if they are inside a range.
Actual Behavior
$ TEST=test goss --vars vars.yaml render
2024/08/06 16:05:41 template: test:7:28: executing "test" at <.Env.TEST>: can't evaluate field Env in type interface {}

Environment:

goss v. 0.3.20
OS/Distribution version (if applicable): Manjaro Sway edition (rolling)

Ah, found the solution: https://stackoverflow.com/a/72347561

In the range block . refers to the current value in the execution time. Instead of . you can use $ to access to the root data object in the range block instead of declaring top level variables.

So inside the range block I need to specify {{$.Env.TEST}} instead of {{.Env.TEST}} in order to make it work.


Click on popup text, event not catchable

I can do something wrong but. I've tried to create a click event listener on text (span tag) placed in PopUp and unable to catch click event in any browser, sometimes it does works, but most of the time it's not. If I change span to a tag it can start to work but for one popup first in list, and doesn't work for the rest. It's only me having this issue?
It's easy to open popup from my list of popup, but to open this list of popups from map (popup) is not possible currently.
Here is my code to open popup it works:
    $('.pointpopup').click(function(){
        var pointname = this.id;
        map.setView(point[pointname].getLatLng(),15);
        point[pointname].openPopup();
    });

Here is code to open list from popup, does not work, (test code to fire event):
    $('.map_popup').click(function(){
        //alert('Try to open Accordion ')
        console.log('Try to open Accordion' + $(this).attr('href'));
    })

Here's an updated version of http://jsfiddle.net/M5Ntr/46/ using Leaflet 1.0 and JQuery 3.1: https://jsfiddle.net/myjkby8w/

Hello everybody,
I am facing an issue, I have a list of markers, each one populated with a popup. When I try to run a function in the  tag of the popup this one instead of running the function when clicked it runs the function for every marker and after that it doesn't allow to use it any longer.
As you can see here my popup is realized like so:
        function changeStatus(stationId, newStatus) {
            //console.log('ciao',stationId)
            const point = points.find(point => point.name === stationId);

            // If the point is found
            if (point) {
                // Update the status of the point
                point.status = newStatus;

                // Find the marker for the point
                const marker = point.marker;
                //console.log('Before updating icon:', marker.options.icon.options.iconUrl);
                //console.log('changStat',stationId,newStatus)
                // Update the marker's icon based on the new status
                switch (newStatus) {
                    case 0:
                        marker.setIcon(
                            L.icon({
                                iconUrl: greyIcon,
                                iconSize: [18, 18],
                            })
                        );
                        break;
                    case 1:
                        marker.setIcon(
                            L.icon({
                                iconUrl: blackIcon,
                                iconSize: [18, 18],
                            })
                        );
                        break;
                    case 2:
                        marker.setIcon(
                            L.icon({
                                iconUrl: greenIcon,
                                iconSize: [18, 18],
                            })
                        );
                        break;
                    case 3:
                        marker.setIcon(
                            L.icon({
                                iconUrl: redIcon,
                                iconSize: [18, 18],
                            })
                        );
                        break;
                }

                //console.log('After updating icon:', marker.options.icon.options.iconUrl);
                point.marker = marker;

                // Update the popup content based on the new status
                marker.setPopupContent(`
Name: ${point.name}

Latitude: ${point.coordinates[0]}

Longitude: ${point.coordinates[1]}

Status:
    ${newStatus == 3 ? 'Shake detected' : newStatus == 2 ? 'OK' : newStatus == 1 ? 'Error (Data delay)' : 'Error'}

Link:  Web-interface`);//point.link
            } //http://${vm.$root.apiUrl}/admin/ in case you want to redirect to admin page

        }

Why is this happening and not following the click event? many thanks


Game crash when modfiles contain German umlauts

Describe the bug
Game is crashing when there is a modfile in /Documents/Euro Truck Simulator 2/mod with German umlauts ü and ß in filename.
In my case filename is RPIE_VOLVO_FH16_2012_Ver.<IP_ADDRESS>s ohne Müll.scs
When i replace German umlaut ü in u game is starting normal.
However it is curious that only character ü and ß are affected. When filename contains ö and ä there is no issue.
In game.log.txt last line shows following error message:
00:00:04.296 : <ERROR> [fs] Failed to open file 'C:/users/steamuser/Documents/Euro Truck Simulator 2/mod/RPIE_VOLVO_FH16_2012_Ver.<IP_ADDRESS>s ohne MC<ll.scs' in the read_only mode.
There is no problem when starting ETS2 in Steam client - no matter if filename contains umlauts. In game.log.txt filename appears without error message:
00:00:03.747 : [zipfs] RPIE_VOLVO_FH16_2012_Ver.<IP_ADDRESS>s ohne Müll.scs: Created, 1059 entries
Expected behavior
Starting game without crash when there are files in /Documents/Euro Truck Simulator 2/mod folders with German umlauts.
Command
truckersmp-cli --enable-d3d11 --proton --game-options="-nointro" -vv start ets2

Terminal output
Collapsed log
user@debian-sid:~$ truckersmp-cli --enable-d3d11 --proton --game-options="-nointro" -vv start ets2
** DEBUG **  No moddir set, setting to default
** INFO **  Mod directory: /home/user/.local/share/truckersmp-cli/TruckersMP
** INFO **  AppID/GameID: 227300 (ets2)
** INFO **  Game directory: /home/user/.local/share/truckersmp-cli/Euro Truck Simulator 2/data
** INFO **  Prefix: /home/user/.local/share/truckersmp-cli/Euro Truck Simulator 2/prefix
** INFO **  Proton directory: /home/user/.local/share/truckersmp-cli/Proton
** INFO **  Steam Runtime directory: /home/user/.local/share/truckersmp-cli/SteamRuntime
** INFO **  Proton version is (major=6, minor=3)
** INFO **  Using Steam Runtime container
** DEBUG **  Starting game with Proton
** DEBUG **  Steam is running
** INFO **  Steam installation directory: /home/user/.local/share/Steam
** DEBUG **  Creating directory /home/user/.local/share/truckersmp-cli/Euro Truck Simulator 2/prefix if it doesn't exist
** DEBUG **  Shared paths: ['/home/user/.local/share/truckersmp-cli/Euro Truck Simulator 2/data', '/home/user/.local/share/truckersmp-cli/Proton', '/home/user/.local/share/truckersmp-cli/Euro Truck Simulator 2/prefix', '/home/user/.local/share/Steam', '/home/user/.local/share/Steam', '/home/user/.local/lib/python3.9/site-packages/truckersmp_cli']
** DEBUG **  Whether to setup native d3dcompiler_47: False
** INFO **  Running Steam Runtime helper:
  SteamAppId=227300
  SteamGameId=227300
  LD_PRELOAD=/home/user/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
  PROTON_NO_D3D11=0
  PROTON_USE_WINED3D=0
  STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/user/.local/share/Steam
  STEAM_COMPAT_DATA_PATH=/home/user/.local/share/truckersmp-cli/Euro Truck Simulator 2/prefix
  python3
    /home/user/.local/share/truckersmp-cli/Proton/proton
    run
    /home/user/.local/share/truckersmp-cli/Euro Truck Simulator 2/data/bin/win_x64/eurotrucks2.exe
    -nointro
Executables (early): None
Executables: None
Game Arguments: ['python3', '/home/user/.local/share/truckersmp-cli/Proton/proton', 'run', '/home/user/.local/share/truckersmp-cli/Euro Truck Simulator 2/data/bin/win_x64/eurotrucks2.exe', '-nointro']
Waiting time (early): 0
Waiting time: 0
Proton output:
ERROR: ld.so: object '/tmp/pressure-vessel-libs-IFIHB1/${PLATFORM}/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/tmp/pressure-vessel-libs-IFIHB1/${PLATFORM}/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
esync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
Setting breakpad minidump AppID = 227300
Steam_SetMinidumpSteamID:  Caching Steam ID:<PHONE_NUMBER>0862824 [API loaded no]
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
wine: Unhandled page fault on read access to<PHONE_NUMBER>000010 at address<PHONE_NUMBER>15BC45 (thread 0124), starting debugger...
Unhandled exception: page fault on read access to 0x00000010 in 64-bit code (0x000000014015bc45).
Register dump:
 rip:000000014015bc45 rsp:000000000063e120 rbp:0000000000000000 eflags:00010202 (  R- --  I   - - - )
 rax:00000001413f9fb8 rbx:00000000001da190 rcx:0000000000000010 rdx:00000001417a1ff8
 rsi:0000000000000001 rdi:0000000000000010  r8:000000000013f040  r9:000000000000ffa0 r10:00000000001d0020
 r11:000000000000f040 r12:000000000063e428 r13:000000000063e448 r14:0000000000000000 r15:0000000000210dd0
Stack dump:
0x000000000063e120:<PHONE_NUMBER>000048<PHONE_NUMBER>63e1b8
0x000000000063e130:<PHONE_NUMBER>4056a8<PHONE_NUMBER>020000
0x000000000063e140:<PHONE_NUMBER>210dd0<PHONE_NUMBER>17f0cc
0x000000000063e150:<PHONE_NUMBER>000000<PHONE_NUMBER>1da190
0x000000000063e160:<PHONE_NUMBER>000010<PHONE_NUMBER>000000
0x000000000063e170:<PHONE_NUMBER>63e448<PHONE_NUMBER>63e1b8
0x000000000063e180:<PHONE_NUMBER>1da1f8<PHONE_NUMBER>1dcf00
0x000000000063e190:<PHONE_NUMBER>63e448<PHONE_NUMBER>63e2d0
0x000000000063e1a0:<PHONE_NUMBER>3f9fb8<PHONE_NUMBER>63e1b8
0x000000000063e1b0:<PHONE_NUMBER>000000<PHONE_NUMBER>16ff00
0x000000000063e1c0:<PHONE_NUMBER>000048<PHONE_NUMBER>000000
0x000000000063e1d0:<PHONE_NUMBER>1da190<PHONE_NUMBER>405560
Backtrace:
=>0 0x000000014015bc45 EntryPoint+0xfe603935() in eurotrucks2 (0x0000000000000000)
  1 0x000000014017f0cc EntryPoint+0xfe626dbb() in eurotrucks2 (0x0000000000000000)
  2 0x0000000140de7b21 EntryPoint+0xff28f810() in eurotrucks2 (0x000000000063e379)
  3 0x0000000140df4cab EntryPoint+0xff29c99a() in eurotrucks2 (0x000000000063e448)
  4 0x0000000140de5e57 EntryPoint+0xff28db46() in eurotrucks2 (0x000000000063e489)
  5 0x0000000140df250a EntryPoint+0xff29a1f9() in eurotrucks2 (0x0000000000000000)
  6 0x00000001402801d9 EntryPoint+0xfe727ec8() in eurotrucks2 (0x0000000000000000)
  7 0x00000001402784b6 EntryPoint+0xfe7201a5() in eurotrucks2 (0x000000000063e6c0)
  8 0x0000000140274037 EntryPoint+0xfe71bd26() in eurotrucks2 (0x000000000063ec60)
  9 0x00000001402632df EntryPoint+0xfe70afce() in eurotrucks2 (0x000000000063fd80)
  10 0x000000014012f0a3 EntryPoint+0xfe5d6d92() in eurotrucks2 (0x000000000063fd80)
  11 0x00000001401bcba5 EntryPoint+0xfe664894() in eurotrucks2 (0x000000000063fd80)
  12 0x00000001401bdad7 EntryPoint+0xfe6657c6() in eurotrucks2 (0x0000000000000000)
  13 0x00000001411c11da EntryPoint+0xff668ec9() in eurotrucks2 (0x0000000000000000)
  14 0x000000007b62c9a9 EntryPoint+0xffffffffffffffff() in kernel32 (0x0000000000000000)
  15 0x000000007bc5e6a3 EntryPoint+0xffffffffffffffff() in ntdll (0x0000000000000000)
0x000000014015bc45 EntryPoint+0xfe603935 in eurotrucks2: movq	(%rcx),%rdi
Modules:
Module	Address					Debug info	Name (48 modules)
PE	          640000-          7a5000	Deferred        fmodstudio
PE	        107c0000-        1099b000	Deferred        gameoverlayrenderer64
PE	        7b000000-        7b0d5000	Deferred        kernelbase
PE	        7b600000-        7b812000	Export          kernel32
PE	        7bc00000-        7bc9e000	Export          ntdll
PE	       138000000-       1394b5000	Deferred        steamclient64
PE	       13b400000-       13b44b000	Deferred        steam_api64
PE	       140000000-       141b92000	Export          eurotrucks2
PE	       180000000-       180204000	Deferred        fmod
PE	       1c8b40000-       1c8b60000	Deferred        msacm32
PE	       1c8db0000-       1c8e3d000	Deferred        msvcrt
PE	       1d97a0000-       1d97a7000	Deferred        api-ms-win-core-fibers-l1-1-1
PE	       1f51e0000-       1f51ef000	Deferred        hid
PE	       205950000-       205958000	Deferred        api-ms-win-appmodel-runtime-l1-1-2
PE	       21a7e0000-       21a855000	Deferred        setupapi
PE	       226310000-       226317000	Deferred        api-ms-win-core-string-l1-1-0
PE	       231ae0000-       231b62000	Deferred        rpcrt4
PE	       23d820000-       23da48000	Deferred        user32
PE	       26b4c0000-       26b642000	Deferred        gdi32
PE	       2739c0000-       273af6000	Deferred        oleaut32
PE	       28ebe0000-       28ebe8000	Deferred        api-ms-win-core-sysinfo-l1-2-1
PE	       29ea80000-       29ea87000	Deferred        api-ms-win-core-datetime-l1-1-1
PE	       2bb750000-       2bb894000	Deferred        comctl32
PE	       2bc640000-       2bc650000	Deferred        imagehlp
PE	       2e3540000-       2e3591000	Deferred        shlwapi
PE	       2e8f10000-       2e9028000	Deferred        ole32
PE	       2f1fa0000-       2f1fad000	Deferred        version
PE	       2f7230000-       2f725d000	Deferred        uxtheme
PE	       2fa030000-       2fa037000	Deferred        api-ms-win-core-localization-obsolete-l1-2-0
PE	       30c980000-       30c988000	Deferred        api-ms-win-core-synch-l1-2-0
PE	       3126f0000-       312709000	Deferred        shcore
PE	       31f800000-       31f8ff000	Deferred        comdlg32
PE	       327020000-       327072000	Deferred        combase
PE	       32a700000-       32a729000	Deferred        sechost
PE	       32f9a0000-       32f9ab000	Deferred        msimg32
PE	       330260000-       33029f000	Deferred        advapi32
PE	       351680000-       351688000	Deferred        api-ms-win-core-localization-l1-2-1
PE	       3a93b0000-       3a93c0000	Deferred        xinput1_4
PE	       3af670000-       3af728000	Deferred        ucrtbase
PE	       3afd00000-       3afd1a000	Deferred        imm32
PE	       3b8f00000-       3b8fb7000	Deferred        winmm
PE	       3be590000-       3be5f0000	Deferred        dbghelp
PE	    7fe9eb580000-    7fe9eb58b000	Deferred        dinput8
PE	    7fe9ebaf0000-    7fe9ebaf3000	Deferred        lsteamclient
PE	    7fe9ec8e0000-    7fe9ec8e4000	Deferred        winex11
PE	    7fe9ecfd0000-    7fe9ecfdb000	Deferred        winspool
PE	    7fe9ed020000-    7fe9ed024000	Deferred        ws2_32
PE	    7fe9ed2c0000-    7fe9edb97000	Deferred        shell32
Threads:
process  tid      prio (all id:s are in hex)
00000020 steam.exe
	00000024    0
	00000118    0
00000038 services.exe
	0000003c    0
	00000040    0
	0000004c    0
	00000064    0
	00000070    0
	00000080    0
	0000008c    0
	000000a8    0
	000000b8    0
	000000f0    0
	000000f4    0
00000044 svchost.exe
	00000048    0
	00000054    0
	00000058    0
0000005c winedevice.exe
	00000060    0
	00000068    0
	0000006c    0
	00000074    0
00000078 winedevice.exe
	0000007c    0
	00000084    0
	00000088    0
	00000090    0
	00000094    0
	00000098    0
	0000009c    0
	000000cc    0
000000a0 plugplay.exe
	000000a4    0
	000000ac    0
	000000b0    0
	000000b4    0
	000000d0    0
	000000d4    0
	00000170    0
000000bc tabtip.exe
	000000c0    0
	00000110    0
	00000114    0
000000c4 explorer.exe
	000000c8    0
	000000d8    0
	000000dc    0
	000000e0    0
000000e8 rpcss.exe
	000000ec    0
	000000f8    0
	000000fc    0
	00000100    0
	00000104    0
	00000108    0
00000120 (D) Z:\home\user\.local\share\truckersmp-cli\Euro Truck Simulator 2\data\bin\win_x64\eurotrucks2.exe
	00000124    0 <==
	00000128   -1
	0000012c   -1
	00000130   -1
	00000134   -1
	00000138   -1
	0000013c   -1
	00000140   -1
	00000144   -1
	00000148   -1
	0000014c   -1
	00000150   -1
	00000154   -1
	00000158    0
	0000015c    0
	00000160    0
	00000164    2
	00000168   -1
	0000016c    0
	00000174   -1
	00000178    0
	0000017c   -1
	00000180   -1
	00000184    0
	00000190    0
System information:
    Wine build: wine-6.3
    Platform: x86_64
    Version: Windows 10
    Host system: Linux
    Host version: 5.10.0-9-amd64
pid 22659 != 22658, skipping destruction (fork without exec?)

Screenshots
Collapsed screenshots

Information

OS: Debian 11 Bullseye
Proton or Wine version: Proton 6.3-7
truckersmp-cli version: 0.7.2

I can replicate the crash with an umlaut in a mod filename. Unfortunately it's not solved by adding that ISO-locale.
The crash log tells
Exception code: C0000005 ACCESS_VIOLATION
EXE Base address:<PHONE_NUMBER>000000
Fault address:<PHONE_NUMBER>1522C5 0001:001512C5 Z:\mnt\gamehub\native2proton\Euro Truck Simulator 2\bin\win_x64\eurotrucks2.exe

Just tried with start option --without-steam-runtime, but unfortunately game crashed anyway


Helm Operator not deploying helm releases

When running tests using new script to run kraan-controller on workstation against local files (https://github.com/fidelity/kraan/pull/35/files#diff-1818c11d00240758e549449086e232c6) it fails to deploy the helm releases.
From helm operator logs
ts=2020-09-03T10:20:30.907312991Z caller=release.go:85 component=release release=single-test targetNamespace=bootstrap resource=bootstrap:helmrelease/microservice1 helmVersion=v3 error="failed to prepare chart for release: chart unavailable: fatal: bad revision 'owner-refs', full output:\n fatal: bad revision 'owner-refs'\n"

See https://github.com/fidelity/kraan/pull/35/files#diff-439ae7262cbdf5c619a721946100b290 for test data being used.

Fixed this, owner-ref branch was wrong


Make setup.py executable

This makes it slightly easier to use

Coverage remained the same at 94.488% when pulling adab34bda918c2760efc6e9e178d21726b7e75b8 on thomwiggers:executable_setup.py into e5b9237888811449b4e88f2be31b6d9e0852033d on dahlia:master.

Invoking setup.py is not a supported workflow -- please use pip install instead.

I did use pip install, but tried to run setup.py test (which doesn't work either unfortunately). I still thought this might perhaps be useful to those running things like setup.py sdist. Oh well.

Ah yeah, we switched to tox a while back, to run the tests run tox or tox -e py3, etc.
Thanks for the PR nonetheless :)


Update LS_DS_221_assignment.ipynb

PR for the Decision Trees assignment

Add Assignment #2 (Random Forests)

Update with assignment #3

Update with assignment #4 (Classification Metrics)


Search page

Use metastore API for the search page
Acceptance criteria

[x] I can search for any text and get list of packages that matches

Tasks

[x] implement /search router to use metastore api wrapper function
[x] refactor search.html template

FIXED, see https://testing.datahub.io/search?q=co2


Do you have pretrained model weights?

Do you have pretrained model weights for the segmentation model or an ONNX version?

Sorry for the late reply, I'm currently out of office. I will have a look whether I still have the trained model weights next week. However, due to important appointments I have early next week, I will not be able to look for the weights and upload them to a file share, if I still have them, before the end of next week. Also, they will not be ONNX versions but rather PyTorch state_dicts.

Thanks for the swift reply. I understand and appreciate. state_dicts are OK as long as I can load the model definition somehow to run inference on arbitrary images. I can myself quantize and convert to ONNX to profile the latency.

I just created a release here on GitHub and attached the model weights to that release. You can find the release on the right-hand side of the repository's main page.


Sometimes auto import isn't working with custom resolvers

Describe the bug
Hi,
Thanks for creating this amazing unplugin. This is very helpful.
We have created a small utility function dynamicImgImport which let us import the images without importing them in script block. This is just like the require we had in vue 2.
The Problem
The problem I am facing is really weird. Sometimes it imports the dynamicImgImport and renders the image correctly and sometimes it just throws an error like the below:

Error on stackblitz:

Reproduction
https://stackblitz.com/github/jd-solanki/unplugin-auto-import-demo?file=README.md
https://github.com/jd-solanki/unplugin-auto-import-demo
System Info
System:
    OS: macOS 12.5.1
    CPU: (8) arm64 Apple M1
    Memory: 93.19 MB / 8.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.16.0 - ~/.nvm/versions/node/v16.16.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.16.0/bin/yarn
    npm: 8.11.0 - ~/.nvm/versions/node/v16.16.0/bin/npm
  Browsers:
    Chrome: 104.0.5112.101
    Safari: 15.6.1

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Moreover, if you use script version of dynamicImgImport:
<script setup>
const avatar1 =<EMAIL_ADDRESS></script>

<template>
    <img :src="avatar1" alt="avatar">
    <!-- <img :src="dynamicImgImport('@/assets/images/avatars/avatar-1.png')" alt="avatar" /> -->
    <!-- <img :src="dynamicImgImport('@/assets/images/avatars/avatar-2.png')" alt="avatar" /> -->
</template>

it works correctly.

I consider this as a limitation.
The auto-import concept is

parsing source and get all things need to import
generate a dts file (for output of step 1)
for some case you do need to use these imports in vue template, config file contains a vueTemplate: true
→　This will generate  a declare module '@vue/runtime-core' part in dts file (also for output of step 1)

In your use case, you want to use a func only in vue template and skip the script section.
This will cause 1. parsing source and get all things need to import fails.(Currently only scan typescript part so vue template will be out of range)
https://github.com/unjs/unimport/blob/2044d7cfd373bb91fc57f548a5c16d895db15832/src/context.ts#L124
so step3 could not know what is the function you are using.
If you really want to do so.
I think
first keep script like:
<script setup>
const avatar1 =<EMAIL_ADDRESS></script>

run vite -> this will auto genarate dts file contains vue template usable declaration.
and then change config to dts:false
modify the code back to
<script setup>
//const avatar1 =<EMAIL_ADDRESS></script>
<template>
<img :src="dynamicImgImport('@/assets/images/avatars/avatar-1.png')" alt="avatar" />
</template>

it should works


Update the BeaconKit XFAIL issue link to one on bugs.swift.org.

Addresses Mishal's comment here: https://github.com/apple/swift-source-compat-suite/pull/518#discussion_r611820698

Thanks @hborla!