Need recommendation where to buy a 3D printed case

Describe you new feature you'd like
I know you have recommended a few cases. Those assume you have your own 3D printer. Are you aware of anyone actually selling the case for an ESP32 Devkit that could also be added to the "Simple ESPSomfy RTS device" manual for those folks like me who do not have a 3D printer?

Here you go
https://github.com/rstrouse/ESPSomfy-RTS/wiki/Simple-ESPSomfy-RTS-device#3d-printed-cases

None of these are for sale unfortunately. These seem to be free designs for DIY 3D printing.

On 18 Jun 2024, at 15:56, rstrouse @.***> wrote:
Here you go
https://github.com/rstrouse/ESPSomfy-RTS/wiki/Simple-ESPSomfy-RTS-device#3d-printed-cases
—
Reply to this email directly, view it on GitHub https://github.com/rstrouse/ESPSomfy-RTS/issues/403#issuecomment-2176171783, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2QG7QRTBZD4L6WCPRLLQDZIA4CBAVCNFSM6AAAAABJP7YAS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZWGE3TCNZYGM.
You are receiving this because you authored the thread.

Sorry, I didn't understand at first.
I too do not have a 3d printer so I have purchased project boxes from amazon modified them to fit the antenna and usb.
The specs for the box I used in my S3 mini build and how I modified it for use can be found here.
https://github.com/rstrouse/ESPSomfy-RTS/wiki/Mini-ESP32s3-Device-Build
There are also ton of 3d print services that will accept the files in the wiki and print you a single part.  You simply upload the file to their site, they give you a price quote and pay online, then they print and send you the item.  You can even use free software to modify the files to your liking then upload those to these sites.

Ah, that’s a great ideal. Let me give it a try. Thank you!

On 18 Jun 2024, at 16:11, rstrouse @.***> wrote:
Sorry, I didn't understand at first.
I too do not have a 3d printer so I have purchased project boxes from amazon modified them to fit the antenna and usb.
The specs for the box I used in my S3 mini build and how I modified it for use can be found here.
https://github.com/rstrouse/ESPSomfy-RTS/wiki/Mini-ESP32s3-Device-Build
There are also ton of 3d print services that will accept the files in the wiki and print you a single part. You simply upload the file to their site, they give you a price quote and pay online, then they print and send you the item. You can even use free software to modify the files to your liking then upload those to these sites.
—
Reply to this email directly, view it on GitHub https://github.com/rstrouse/ESPSomfy-RTS/issues/403#issuecomment-2176206033, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2QG7QY4QTHGKBKET57HU3ZIA5ZLAVCNFSM6AAAAABJP7YAS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZWGIYDMMBTGM.
You are receiving this because you authored the thread.

I am going to close this for now.  I hope you figured out a case that works for you.

Hi, I have an update for this thread. I printed this case recommended on your website:
ESPSomfy-RTS Case - ESP32 Devkit
Unfortunately, it is by 1cm not deep enough for dupont connectors. This was my first problem.
I solved it by making my dupont connectors half the size and managed to fit it in and close the box. For whatever reason as soon as I pack everything inside the 3D case and only antenna is sticking out its sensitivity to RTS remote control drops. It only picks up signal from my remote control if I stand right next to it. If I go away more than 3 metres it stops registering.
I have a 6 dbi antenna. I have now tried to purchase a 2 dbi antenna to see if it will do a better job of picking up signal from my remote and will let you know. If you have any other suggestions of what could be causing drop of signal as soon as I insert it inside the box I would appreciate it.

That’s very odd.  Are the connectors making good contact when you put it in the box?  Also try to position the esp32 so that the transceiver is not on top of the Wi-Fi antenna.

There is no way to change position of transceiver vs wifi antena because of predisposed position of both boards in the case given its structure. I tried to ensure as much as I could that all connectors are making a good contact, though I cannot be 100% sure nothing was getting worse in the totally cramped box when I was desperately trying to close it. In any case, everything was working as expected 100%, but it just wouldn’t pick up the signals from remote further than 2m. Given all the challenges with 3 different transceivers (RTS, Wifi and Bluetooth) potentially interfering with each other I will try to move to an ethernet based version and see of it makes things better. I just purchased WT32-ETH01. I hope in cases of ethernet connection the firmware does make sure both wifi and bluetooth are off in order to minimise any potential interference?On 10 Jul 2024, at 05:51, rstrouse @.***> wrote:
That’s very odd.  Are the connectors making good contact when you put it in the box?  Also try to position the esp32 so that the transceiver is not on top of the Wi-Fi antenna.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

It is very odd that the box makes a difference.  The only thing that can be making 433mHz receiver interference is potential electrical (not radio) interference from the WiFi chip.  When you had the case made, did you have them make it from metallic materials?
Bear in mind the WT32-ETH01 works beautifully and the network is very responsive.  However, it does require different power options and a USB serial converter to get the firmware flashed originally.  After that you can do it over the network.  If you are having trouble getting it flashed I can get you through it since I have been there done that.

Btw my new favorite device is the Xiao - ESP32S3 but I think you are trying to avoid the soldering iron.

Indeed, I have no soldering tools, so ideally trying to avoid it.
Box is 3D printed of plastic, so it couldn’t be that.
I have a couple of those Xiao - ESP32S3, but under a different name and fully inside a compact enclosure - M5Atom. I use them as presence detection devices in all my rooms. Work surprisingly well.
Anyway, back to my WT32-ETH01, which should arrive tomorrow. What is USB serial converter. Can you point out a sample device on Amazon that I could purchase?

On 11 Jul 2024, at 20:35, rstrouse @.***> wrote:
Btw my new favorite device is the Xiao - ESP32S3 but I think you are trying to avoid the soldering iron.
—
Reply to this email directly, view it on GitHub https://github.com/rstrouse/ESPSomfy-RTS/issues/403#issuecomment-2223635754, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2QG7QKTCGTTQBZQFBTLHLZL3F67AVCNFSM6AAAAABJP7YAS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRTGYZTKNZVGQ.
You are receiving this because you authored the thread.

Search Amazon for cp2102 usb adapter one of these are what you are looking for.

Thanks a lot!
I found this one: https://www.amazon.es/DAOKAI-Convertidor-USB-UART-Adapter-Multifuncional/dp/B0BCKBHQ8Y/ref=sr_1_1?__mk_es_ES=ÅMÅŽÕÑ&crid=2HH6YZKYLILCJ&dd=cu2w0yfbtmGXDHsakz1Evw%2C%2C&dib=eyJ2IjoiMSJ9.lZXgXxX6JKFsRDhXdfEbgw0PA-XwqTIOE6RAV9Wgd5SIZv-fV90YgNNOj_Ut2Z5Zq4n_K4WAYGCcZCZCIRTZvSYYT3BaKH2Vc7l4bJftUX1luKDQ1FtbLBaxdIp8dQY9dZ9LkB1WV91f-iWgfk-5MzPtMA23EsD_6oHIg7bTBuIQqQgLPQuU96xauAt2M9h6E9Gb5Au7D6OiasTVpgSZEOBzqykrapGyMLCHXAwDHd4ZNi_o7ziERvbDoGdX5uMFPzfT02oHpxSyWaq2oN3yCP5FbFg6iUbuq-V0j7QHrQQ.mqQ0mnuLbtoj_am12OYSt8ez98P9gTznfFSWWjTO4SA&dib_tag=se&keywords=cp2102&qid=1720731122&refinements=p_90%3A6820340031&rnid=6820335031&sprefix=cp2102%2Caps%2C198&sr=8-1
It has 2 DIP switches for different modes. Do you know which mode I would need to use in order to set switches correctly?
Where do I find instructions how to flash it the first time?

On 11 Jul 2024, at 22:47, rstrouse @.***> wrote:
Search Amazon for cp2102 usb adapter one of these are what you are looking for.
—
Reply to this email directly, view it on GitHub https://github.com/rstrouse/ESPSomfy-RTS/issues/403#issuecomment-2223912999, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2QG7UNYNC2UFCNOGVLRKDZL3VNZAVCNFSM6AAAAABJP7YAS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRTHEYTEOJZHE.
You are receiving this because you authored the thread.

It has 2 DIP switches for different modes. Do you know which mode I would need to use in order to set switches correctly?

RS232 mode (TTL)

Where do I find instructions how to flash it the first time?

Hook it up like the following then flash the SomfyController.onboard.esp32.bin file from the release.
https://github.com/thryvos/Tasmota-WT32-ETH01
Then after you have successfully flashed it remove the jumper from the IO0 and GND pins then reboot.   After that, connect to the softAP and set up the ethernet adapter.

Thanks a lot, will let you know how it goes. On 12 Jul 2024, at 00:15, rstrouse @.***> wrote:
It has 2 DIP switches for different modes. Do you know which mode I would need to use in order to set switches correctly?
RS232 mode (TTL)
Where do I find instructions how to flash it the first time?
Hook it up like the following then flash the SomfyController.onboard.esp32.bin file from the release.
https://github.com/thryvos/Tasmota-WT32-ETH01
Then after you have successfully flashed it remove the jumper from the IO0 and GND pins then reboot.   After that, connect to the softAP and set up the ethernet adapter.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Hm, I got the WT32-ETH01 v1.4 piece and the only port it has is RJ45. So I assumed it is PoE powered, but it is not switching on when I connect it to PoE switch. So I am lost. How do I turn it on?On 12 Jul 2024, at 00:15, rstrouse @.***> wrote:
It has 2 DIP switches for different modes. Do you know which mode I would need to use in order to set switches correctly?
RS232 mode (TTL)
Where do I find instructions how to flash it the first time?
Hook it up like the following then flash the SomfyController.onboard.esp32.bin file from the release.
https://github.com/thryvos/Tasmota-WT32-ETH01
Then after you have successfully flashed it remove the jumper from the IO0 and GND pins then reboot.   After that, connect to the softAP and set up the ethernet adapter.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

It is not PoE powered it is powered with the adapter mentioned above.

But then that adaptor is not a use once and throw away. I’d need to use it always?On 13 Jul 2024, at 00:07, rstrouse @.***> wrote:
It is not PoE powered it is powered with the adapter mentioned above.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

You can use any 5v power source connected to the 5v and GND pins. It is not really the most user friendly.

Bought myself a usb-c power only socket. Hopefully should connect fine. For now could use USB-serial converter for power, but it is way too bulky to keep using it just for power.
Got everything flashed and working perfectly. Hopefully no more wifi connect/disconnect issues.
Thanks a lot. All your guides have been tremendously helpful.
Couple of notes that may be helpful for someone in future:

USB serial converter had to be set as USB-232. I think that’s what you meant, but I misunderstood it as TTL-232, which I tried first and it didn’t work.
Once I had everything up and running, I was struggling to link my new WT32-ETH01 with Somfy RTS motor. First I thought it was an issue with wiring and so it wasn’t sending the signal properly. But then I realised that my problem could be that my motor has reached max number of remotes and that I first have to unlink my wifi ESP32 device and then try to connect the new one. This turned out to be exactly the reason for my problem. As soon as I removed previous one I could add the new one. I am so glad I didn’t reflash my wifi ESP32 yet, because if I had done that then the process of unlinking it would need to be different, but I have no idea how it should work in that case.

Now everything is working. Fingers crossed no new/different surprises with this new device. Hopefully I will get a 3D printed case for it in a week too and then it can finally be neatly packaged.
Once again, huge thanks for all the guidance.

On 13 Jul 2024, at 06:20, rstrouse @.***> wrote:
You can use any 5v power source connected to the 5v and GND pins. It is not really the most user friendly.
—
Reply to this email directly, view it on GitHub https://github.com/rstrouse/ESPSomfy-RTS/issues/403#issuecomment-2226765973, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2QG7UEY6X4B2SYS25RXQDZMCTKDAVCNFSM6AAAAABJP7YAS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRWG43DKOJXGM.
You are receiving this because you authored the thread.

Awesome I am going to close this as I believe we have all your issues handled.

Indeed, thanks a lot. Everything now works like a charm. With 3D print, none of the designs listed actually worked for me. I had to print once using 3rd party service, then realise the discrepancies, ask same service make some modifications and print again. Final result was near perfect. Rest of imperfections I had to resolve by locally cutting and melting the case. End result is a neatly looking box as on one of your pictures. Just the antenna isn’t sticking out at a perfect angle, but thats a minor. On 26 Jul 2024, at 02:33, rstrouse @.***> wrote:
Awesome I am going to close this as I believe we have all your issues handled.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


Visualize small amount of tokens as black dots

Describe your changes
Visualizing tokens in the graph as black dots for a small number of tokens (4 or less), and as a number for a large number of tokens (5 or more)
I tried my best to center that boy but its not ideal
Checklist before requesting a review

[x] I have performed a self-review of my code

Is there a reason the label is missing here?
Browser metadata
Path:      /editor/193918
Browser:   Chrome <IP_ADDRESS> on Linux x86_64
Viewport:  1580 x 740 @1.600000023841858x
Language:  en-US
Cookies:   Enabled

Open in BrowserStack

Open Deploy Preview · Mark as Resolved


Minimize memory usage when reading large response body

Requires https://github.com/php-http/message/pull/40.

Tagged v1.2.0

When downloading a 50 MiB file, the peak memory usage is reduced from 198 MiB to 2.22 MiB.

When downloading a 50 MiB file, the peak memory usage is reduced from
198 MiB to 2.22 MiB.

wow, massive!

Thanks to @jack-theripper.

Nice job :+1:

What about tagging this also als 1.3.1? Imo this can safely be treated as a bug fix (as well as the other changes done since the release of 1.3.0).

I thought about it. But the change is pretty significant, actually rewritten the entire stream related part. I think that is a sufficient reason to change the minor version.

i agree with that decision, minor versions are ok even when no real new
features are introduced. a minor version means that updating is not
trivial and requires more testing - which is the case here then.


"Unsupported gpu architecture compute_52" error with CUDA 6.5 during build

Even after a341b47cd75a3377eca12b073eae1ab63cfe176d

Building NVCC (Device) object GPUfit/CMakeFiles/GpuFit.dir/RelWithDebInfo/GpuFit_generated_lm_fit_cuda.cu.obj
2>  nvcc fatal   : Unsupported gpu architecture 'compute_52'

See also: https://devtalk.nvidia.com/default/topic/797467/nvcc-fatal-unsupported-gpu-architecture-compute_52-/ and https://developer.nvidia.com/cuda-downloads-geforce-gtx9xx and https://developer.nvidia.com/cuda-toolkit-65
The "production release" of CUDA 6.5 is 6.5.14 but there is something like 6.5.19 available (probably something intermediate).

It seems to be the problem of the FindCUDA script of CMake which doesn't take care of the official Windows release. We therefore rather should point users wanting to use CUDA 6.5 on Windows to the CUDA version offered above. Will do in docs shortly.


Fix test scripts on Windows

This PR fixes the new test script so that it works on Windows / MSYS2 as well.
It also makes the output a little less redundant (each test now produces only one line).

Here are the results of the tests on my Windows machine (on this branch):


Teach the old associated type inference about AsyncSequence.Failure

The new one is smart enough to figure out a type witness for
AsyncSequence.Failure from AsyncSequence.AsyncIterator.Failure, but the
old one doesn't have general logic to handle cases like these. Introduce
a bespoke rule to keep the old/new associated type inference logic in
sync for the newly-introduced Failure type.

@swift-ci please smoke test


DummyDroid does no longer work

I tried it a few weeks ago and then it was possible to register a device and get a GSF ID but that's not possible anymore.
Error shown:
com.akdeniz.googleplaycrawler.GooglePlayException: Error=UNKNOWN_ERR

The chance of dummydroid working is very low
You have to keep trying and it magically works

DummyDroid is currently broken and will remain broken for the foreseable
future till I find the time to rewrite it (see
http://blog.onyxbits.de/raccoon-v3-5-and-dummydroid-no-longer-working-241/ )
Am Montag, den 30.05.2016, 12:21 -0700 schrieb therealssj:

The chance of dummydroid working is very low
You have to keep trying and it magically works
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I realise this is old, but I was able to use DummyDroid successfully yesterday to produce a GSF ID.  Today, it no longer works.  Additionally I was able yesterday to use android-checkin-1.0.jar to produce a GSF ID;  today, that, too, no longer works.  I wonder if that is indicative of Google having changed something overnight?
DummyDroid error output:
com.akdeniz.googleplaycrawler.GooglePlayException: Error=UNKNOWN_ERR
android-checkin-1.0.jar error output:
Fetching auth (google service)...
Error=UNKNOWN_ERR
java.io.IOException: Can't find Auth // HTTP/1.1 404 Not Found
at com.android.checkin.Checkin.postFormFetchValue(Checkin.java:108)
at com.android.checkin.Checkin.fetchAuthGsf(Checkin.java:77)
at com.android.checkin.Checkin.checkin(Checkin.java:54)
at com.android.checkin.Main.main(Main.java:17)

Maybe this would be fixed by this https://github.com/onyxbits/raccoon4/commit/0c2196be000bed01c8c0c8c72e955355aa9bf80d


background script is unresponsive

The background script : background.js is not responding to the user's click on the extension icon.

Yes it does..... I replaced some code and printed it on the console. Indeed it got printed may be their is some error in your function.
chrome.browserAction.onClicked.addListener( function(tab) {
console.log("singh");
});

I'm also learning about chrome extensions. I don't know where I'm going wrong, but can someone please help me out here? @singh1114
When I console log the chrome object (after stringifying it), I couldn't find browserAction at all

http://stackoverflow.com/questions/10081898/how-to-debug-google-chrome-background-script

@singh1114 Oh alright thanks :)
@kshitij10496 The function is being called, but there's an error in your "printBookmarks" function like @singh1114 pointed out

@kshitij10496 Instead of console.log(bookmark.title) and checking, why don't you alert and see it.
I could see the bookmark title that way

@kshitij10496 yes working for me too.

@kshitij10496 The value is also getting stored in the variable. so don't worry and accomplish whatever you wanted to do.

@kshitij10496 It works fine for me also. And you can remove the reference to background.js from test.html.


Ping, nmdc: unknown field before connection: "A"

Related to #38
# dcping ping dchub://thedragons.ddns.net:3800
2019/03/08 00:14:09 unknown field before connection: "A"
{"addr":["dchub://thedragons.ddns.net:3800"],"status":"error"}

Fixed in v0.8.8


The bag register only accepts a primary S3 location

Another part of https://github.com/wellcomecollection/platform/issues/4596; spun out of https://github.com/wellcomecollection/storage-service/pull/653
The reality is that the bag register only deals with bags whose primary copy is in S3, and the pipeline is woefully under-equipped to handle anything else. It makes our life easier if we just accept this, and make it an explicit part of the codebase – if we ever want to register bags in other locations, then we can come back and make it nice and generic, but right now it's easier to be S3 specific.
Plus some other test refactorings.

Why is this easier? Definitely less code here and simpler - but does this enable more change later or is this only because we don't register things in Azure right now. If the latter, it's arguable that this change is not necessary.

It's mostly a cleanup, and recognising that the S3StorageManifestService (the thing we care about) wasn't actually being tested.
It makes things easier because we can assert that yes, the primary location of the bag is an S3ObjectLocation, rather than treating it as a generic BagLocation and writing a bunch of methods around it. In particular, the twiddling around the versioned paths gets awkward when you do it in a generic way.
It'd be nice to come back and make it generic at some point, but for the sake of expediency and finishing off the ObjectLocation disambiguation, it was simpler to become less generic for a bit.


ADAPT-3203 | @mattanglin | campaign hero serif variant

Ready for Review
Summary
Adds Serif font options for Hero title and intro texts to campaign pages
https://stanfordits.atlassian.net/browse/ADAPT-3203
Review By (Date)

August 5th, 2021 @ 4:00pm (PDT) (For sync w/ OOD)

Criticality

1

Review Tasks

Check out this branch
Setup env with Storyblok key for  DEV - OOD Giving
Enable "Hero Title font serifs" field for the test story in dev
Run gatsby locally and navigate to http://localhost:8000/campaign-page
verfiy that hero title text renders with serif font
Uncheck ("Disable") "Hero Title font serifs" field
Refresh GraphQL cache
Verify that hero title text renders without serifs

@mattanglin Works well and code looks good to me! Just a question about whether we stick with the same package cnbuilder for chaining classnames. Please feel free to share your thoughts on that too.

Please feel free to merge if we decide to go with classnames 😄

We went with cnbuilder over classnames because it has the deduping functionality build right into the main method and performs better overall.


Visit JsxExpression node.

Visit JsxExpression node.
I am going to port jsx-curly-spacing rule and find no such node visitor function.

Can you please put the method and case clause in alphabetical order? It should appear right before JsxSelfClosingElement.

Updated! :smile_cat:

thanks @lijunle!


doc(kuma-cp) delete zone

Zone deletion

Closed via https://github.com/kumahq/kuma-website/pull/355

Closed via https://github.com/kumahq/kuma-website/pull/355


Stuck on black screen

So i have a car game that i want to post to itch.io or share to other people, so i wanted to convert it to the web using pygbag. But after trying it out i was stuck on a black screen. Here is my project and please help me:

It looks like you're missing await asyncio.sleep(0) is in the correct places; the sleep needs to go inside each of your game loops (looks like you have several). For example, here: https://github.com/JrFellow/Code-RMR/blob/8022299a1caf5a26cf2023a206101dcd1b0e2476/main.py#L1292. Try adding a await asyncio.sleep(0) at the same indentation level as clock.tick(app.fps), and then do the same for the other loops.

Hi Lars,
I’m excited to publish this game on the web and really appreciate your
excellent help. I’ll give your technique a try and let you know how it goes.
Thanks,
Liam.

Message ID: @.***>

Hi Lars,
I attempted your approach, but I'm encountering an error/warning when
using await
asyncio.sleep(0) at the same indentation level as clock.tick(app.fps).
Please see the attached screenshots for more details.
[image: image.png][image: image.png]
Could you suggest an alternate solution?
Thanks,
Liam
On Sun, Aug 11, 2024 at 8:21 AM Night Squad @.***> wrote:

Hi Lars,
I’m excited to publish this game on the web and really appreciate your
excellent help. I’ll give your technique a try and let you know how it goes.
Thanks,
Liam.

Message ID: @.***>

await asyncio.sleep(0) can only be called in an async function ( which should be the main game loop ). Your app design use nested pygame loops and this is generally bad practice better use game states that draw()/render() on a surface , and let main loop blit that surface. See https://github.com/pmp-p/pygame-breakout-wasm/tree/main for an example and https://github.com/pmp-p/pydew-valley-uzh-pygbag/ for a more complex one.


Addressing issue #49 (handle syntax check fails if "hdl:" prepended)

This PR addresses the issue #49  by allowing handles of form "hdl:prefix/suffix" to pass.
However, this may backfire, as the handle server REST API does not accept handles with "hdl:" prepended, as far as I know - so scripts who relied on the syntax check to filter those, will run into trouble.
But I still think we should allow those. Who is with me?
(Alternative: Go back to not accepting, and changing the error msg).

Oh, btw this should merge into devel, not master.

👍


Retrain SSD Mobilenet

Hi,
Really good toturial, even for noob like me!!
I am trying to make my own custom object detector based on a retrained SSD-Mobilenet. I have 401 jpegs with corresponding xmls.
To figure out how to save them, I took some pictures with the camera-capture app with detection setting enabled. And I "reverse engineerd" my dataset into that structure. Off course deleting the images, xml and file names in txt files left by my testing.
How should the files be divided to make it reasonable? Can I just list all file names in all txt files like the camera-capture app does with merge setting enabled?

How should the files be divided to make it reasonable? Can I just list all file names in all txt files like the camera-capture app does with merge setting enabled?

Hi @tbo-bomarin, glad you are enjoying the tutorial!   Yes, in reality, with the limited number of images you have it should be just fine to replicate them all across the train/val/test datasets (like the 'merge' setting does).   You wouldn't want to do this for a production model, as the accuracy reported will include images it is already trained on.  So it's recommended to have some independent test set if possible (normally 80% train, 10% val, 10% test is fine)

Thanks for quick answer @dusty-nv!
I tried that, but I am getting an error still. Not quite sure where to start to find the fault.
Output from terminal:
tore@tore-desktop:~/jetson-inference/python/training/detection/ssd$ python3 train_ssd.py --dataset-type=voc --data=data/salmon --model-dir=models/salmon
2020-08-25 19:25:07 - Using CUDA...
2020-08-25 19:25:07 - Namespace(balance_data=False, base_net=None, base_net_lr=0.001, batch_size=4, checkpoint_folder='models/salmon', dataset_type='voc', datasets=['data/salmon'], debug_steps=10, extra_layers_lr=None, freeze_base_net=False, freeze_net=False, gamma=0.1, lr=0.01, mb2_width_mult=1.0, milestones='80,100', momentum=0.9, net='mb1-ssd', num_epochs=30, num_workers=2, pretrained_ssd='models/mobilenet-v1-ssd-mp-0_675.pth', resume=None, scheduler='cosine', t_max=100, use_cuda=True, validation_epochs=1, weight_decay=0.0005)
2020-08-25 19:25:07 - Prepare training datasets.
2020-08-25 19:25:07 - VOC Labels read from file: ('BACKGROUND', 'salmon')
2020-08-25 19:25:07 - Stored labels into file models/salmon/labels.txt.
2020-08-25 19:25:07 - Train dataset size: 402
2020-08-25 19:25:07 - Prepare Validation datasets.
2020-08-25 19:25:08 - VOC Labels read from file: ('BACKGROUND', 'salmon')
2020-08-25 19:25:08 - Validation dataset size: 402
2020-08-25 19:25:08 - Build network.
2020-08-25 19:25:08 - Init from pretrained ssd models/mobilenet-v1-ssd-mp-0_675.pth
2020-08-25 19:25:08 - Took 0.50 seconds to load the model.
2020-08-25 19:25:27 - Learning rate: 0.01, Base net learning rate: 0.001, Extra Layers learning rate: 0.01.
2020-08-25 19:25:27 - Uses CosineAnnealingLR scheduler.
2020-08-25 19:25:27 - Start training from epoch 0.
/home/tore/.local/lib/python3.6/site-packages/torch/optim/lr_scheduler.py:123: UserWarning: Detected call of lr_scheduler.step() before optimizer.step(). In PyTorch 1.1.0 and later, you should call them in the opposite order: optimizer.step() before lr_scheduler.step().  Failure to do this will result in PyTorch skipping the first value of the learning rate schedule. See more details at https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate
"https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate", UserWarning)
Traceback (most recent call last):
File "train_ssd.py", line 343, in
device=DEVICE, debug_steps=args.debug_steps, epoch=epoch)
File "train_ssd.py", line 113, in train
for i, data in enumerate(loader):
File "/home/tore/.local/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 363, in next
data = self._next_data()
File "/home/tore/.local/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 989, in _next_data
return self._process_data(data)
File "/home/tore/.local/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 1014, in _process_data
data.reraise()
File "/home/tore/.local/lib/python3.6/site-packages/torch/_utils.py", line 395, in reraise
raise self.exc_type(msg)
AttributeError: Caught AttributeError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/tore/.local/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 185, in _worker_loop
data = fetcher.fetch(index)
File "/home/tore/.local/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/tore/.local/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/tore/.local/lib/python3.6/site-packages/torch/utils/data/dataset.py", line 207, in getitem
return self.datasets[dataset_idx][sample_idx]
File "/home/tore/jetson-inference/python/training/detection/ssd/vision/datasets/voc_dataset.py", line 58, in getitem
boxes, labels, is_difficult = self._get_annotation(image_id)
File "/home/tore/jetson-inference/python/training/detection/ssd/vision/datasets/voc_dataset.py", line 131, in _get_annotation
is_difficult_str = object.find('difficult').text
AttributeError: 'NoneType' object has no attribute 'text'

It seems like either you have an image in the dataset that has no <object> defined in it's XML annotation, or it's missing the <difficult>0</difficult>  line inside of it's <object> tag.
Here is an example of what an XML annotation file can look like:
<annotation>
    <filename>20200713-154806.jpg</filename>
    <folder>drinks</folder>
    <source>
        <database>drinks</database>
        <annotation>custom</annotation>
        <image>custom</image>
    </source>
    <size>
        <width>1280</width>
        <height>720</height>
        <depth>3</depth>
    </size>
    <segmented>0</segmented>
    <object>
        <name>Coke</name>
        <pose>unspecified</pose>
        <truncated>0</truncated>
        <difficult>0</difficult>
        <bndbox>
            <xmin>480</xmin>
            <ymin>228</ymin>
            <xmax>707</xmax>
            <ymax>629</ymax>
        </bndbox>
    </object>
</annotation>

Hi,
very nice tutorial ...but
I experienced the same issue, when try transfer learning tutorial and same error message, I checked the annotation and nothing in wront in the Pascal VOC annotation, any other idea?
when I do transfer learning with 1000image net and ONNX this works fine.
Thanks Rom1

Hi @rom1vfr @tbo-bomarin can you share your dataset with me so I can debug?   Thanks.

@dusty-nv. You were right with regards to the xmls on mine. I redid all labels with labelimg and then it worked.
I only trained 1 class and with a very limited and poor dataset. So it recognise salmon with almost 100% confidence. But when I poi t the camera at myself it is 87% sure that I am also a salmon 😂


tox configuration is not compatible with tox 4.0

Informations

Qiskit Experiments version: https://github.com/Qiskit/qiskit-experiments/commit/ae19f41e4965d356bc188caa769e37fca9906f53
Python version: 3.10
Operating system: Linux

What is the current behavior?
Test runs are currently failing for PRs against main. See here for example.
Steps to reproduce the problem
pip install tox==4
tox -elint

What is the expected behavior?
Successful test run
Suggested solutions
We could restrict tox to less than 4 (#988) or we could fix the problem. I haven't figured out exactly what is happening, but from what I have seen so far tox is not installing qiskit-experiments into the test environment and I don't see an error explaining what it is not.

Closed by #990


RelativeSize performance / caching

As seen in osu!'s options menu, deeply nested trees which all rely on relativesize in one of more axis can get very slow due to upward tree traversal to get a material size.

Addressed with https://github.com/ppy/osu-framework/pull/470


Add remaining data on demographic section

Population by caste
Population by language
Disability
Fix country-level data for population by religion

Spot-checked data for country, province, district and local area. All figures spot-checked match.

@amitness
Thank you. Your latest updates have been deployed to https://beta.nepalmap.org.


The best way to learn something is to build something

Any suggestions on what to build?

It can be anything:

problems you want to solve or which bother you.
something innovative.
something that can be optimized by technology.

How can you find it?

books(science fiction the best choice, but all good except self-help) to expand your mind and make you think better.

Or to simply realize the ultimate goal is to build things. Going through each fundamental in order feels really dull to me. What I think is a better approach, going only partially of skipping the fundamentals is to find interesting problems, scientific papers of people trying to solve this problem, or a part of it, and every time you stumble upon an idea, or a foreign term, you don't grasp, pulling out the roadmap to see what concept is that and find good resources, that fit your learning style, until you can explain it to anyone else.
This way you cover a wider scope of knowledge, with unclear bounds (which is the default if you're out in the wild), exercise your "making sense of it" muscles, and connect a practical relevance to that concept you're learning, i.e. people trying to do what you find is really cool thought that using this concept as a tool, a building block, was essential to solve the problem at hand. Alway keeping in mind they could be wrong, and whole different path was better to do the same thing, but only when you're able to understand why they did what they did you can equip yourself in detail to advocate for a better way, and argument why it would be better.  Then you look to expand your studies by the corners and start over.


Plugin Crash

Got this error after plugin crash. What does this mean?
`Stack trace from the terraform-provider-proxmox_v2.9.10 plugin:
panic: interface conversion: interface {} is nil, not []interface {}
goroutine 55 [running]:
github.com/Telmate/proxmox-api-go/proxmox.(*Client).GetVmRefsByName(0xc3332a, {0xc0005aa510, 0x9})
github.com/Telmate/proxmox-api-go@v0.0.0-20220427175411-e25c3463f0db/proxmox/client.go:197 +0x625
github.com/Telmate/proxmox-api-go/proxmox.(*Client).GetVmRefByName(...)
github.com/Telmate/proxmox-api-go@v0.0.0-20220427175411-e25c3463f0db/proxmox/client.go:187
github.com/Telmate/terraform-provider-proxmox/proxmox.resourceVmQemuCreate(0xc000507100, {0xae93c0, 0xc000165bd0})
github.com/Telmate/terraform-provider-proxmox/proxmox/resource_vm_qemu.go:795 +0x1385
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0xd1df00, {0xd1df00, 0xc0007a89f0}, 0xd, {0xae93c0, 0xc000165bd0})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.14.0/helper/schema/resource.go:695 +0x178
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc0003dc700, {0xd1df00, 0xc0007a89f0}, 0xc0001411e0, 0xc000506f80, {0xae93c0, 0xc000165bd0})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.14.0/helper/schema/resource.go:837 +0xc29
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc000305140, {0xd1de58, 0xc000502680}, 0xc0003143c0)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.14.0/helper/schema/grpc_provider.go:1021 +0xe3c
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0xc00036c3c0, {0xd1df00, 0xc0007a81e0}, 0xc0001c01c0)
github.com/hashicorp/terraform-plugin-go@v0.9.0/tfprotov5/tf5server/server.go:812 +0x56b
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0xbe2c80, 0xc00036c3c0}, {0xd1df00, 0xc0007a81e0}, 0xc00043c1e0, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.9.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:385 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000326700, {0xd2b6c0, 0xc000102d00}, 0xc00057c000, 0xc0003fac30, 0x120cfa0, 0x0)
google.golang.org/grpc@v1.46.0/server.go:1283 +0xcf2
google.golang.org/grpc.(*Server).handleStream(0xc000326700, {0xd2b6c0, 0xc000102d00}, 0xc00057c000, 0x0)
google.golang.org/grpc@v1.46.0/server.go:1620 +0xa2a
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/grpc@v1.46.0/server.go:922 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.46.0/server.go:920 +0x294
Error: The terraform-provider-proxmox_v2.9.10 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
`

I changed APIs, got a new API and it spit out this.
`goroutine 16 [running]:
github.com/Telmate/proxmox-api-go/proxmox.(*Client).GetVmRefsByName(0xc3332a, {0xc0000345d0, 0x9})
github.com/Telmate/proxmox-api-go@v0.0.0-20220427175411-e25c3463f0db/proxmox/client.go:197 +0x625
github.com/Telmate/proxmox-api-go/proxmox.(*Client).GetVmRefByName(...)
github.com/Telmate/proxmox-api-go@v0.0.0-20220427175411-e25c3463f0db/proxmox/client.go:187
github.com/Telmate/terraform-provider-proxmox/proxmox.resourceVmQemuCreate(0xc000317e00, {0xae93c0, 0xc0005b2f00})
github.com/Telmate/terraform-provider-proxmox/proxmox/resource_vm_qemu.go:795 +0x1385
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0xd1df00, {0xd1df00, 0xc0005b0990}, 0xd, {0xae93c0, 0xc0005b2f00})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.14.0/helper/schema/resource.go:695 +0x178
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc0003dc700, {0xd1df00, 0xc0005b0990}, 0xc0000dd040, 0xc000317c80, {0xae93c0, 0xc0005b2f00})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.14.0/helper/schema/resource.go:837 +0xc29
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc000315128, {0xd1de58, 0xc00080e3c0}, 0xc00031a410)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.14.0/helper/schema/grpc_provider.go:1021 +0xe3c
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0xc0003723c0, {0xd1df00, 0xc0005b0000}, 0xc000242000)
github.com/hashicorp/terraform-plugin-go@v0.9.0/tfprotov5/tf5server/server.go:812 +0x56b
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0xbe2c80, 0xc0003723c0}, {0xd1df00, 0xc0005b0000}, 0xc00024c000, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.9.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:385 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc00032c700, {0xd2b6c0, 0xc000001ba0}, 0xc0004990e0, 0xc0003facc0, 0x120cfa0, 0x0)
google.golang.org/grpc@v1.46.0/server.go:1283 +0xcf2
google.golang.org/grpc.(*Server).handleStream(0xc00032c700, {0xd2b6c0, 0xc000001ba0}, 0xc0004990e0, 0x0)
google.golang.org/grpc@v1.46.0/server.go:1620 +0xa2a
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/grpc@v1.46.0/server.go:922 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.46.0/server.go:920 +0x294
Error: The terraform-provider-proxmox_v2.9.10 plugin crashed!
`

Hi,
The reason of this crash is because Terraform tries to get the vmid using the name of the VM.  It expects a singular item. in this case it found multiple VMs or LXC containers with the same name. a quick workaround for this problem would be to give the VMs/LXC containers unique names.

Trust me they have unique names

There are no duplicates if that's what you mean

Now Its this
goroutine 16 [running]:
github.com/Telmate/proxmox-api-go/proxmox.(*Client).GetVmRefsByName(0xc3332a, {0xc0000345d0, 0x9})
github.com/Telmate/proxmox-api-go@v0.0.0-20220427175411-e25c3463f0db/proxmox/client.go:197 +0x625
github.com/Telmate/proxmox-api-go/proxmox.(*Client).GetVmRefByName(...)
github.com/Telmate/proxmox-api-go@v0.0.0-20220427175411-e25c3463f0db/proxmox/client.go:187
github.com/Telmate/terraform-provider-proxmox/proxmox.resourceVmQemuCreate(0xc000317e00, {0xae93c0, 0xc0005b2f00})
github.com/Telmate/terraform-provider-proxmox/proxmox/resource_vm_qemu.go:795 +0x1385
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0xd1df00, {0xd1df00, 0xc0005b0990}, 0xd, {0xae93c0, 0xc0005b2f00})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.14.0/helper/schema/resource.go:695 +0x178
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc0003dc700, {0xd1df00, 0xc0005b0990}, 0xc0000dd040, 0xc000317c80, {0xae93c0, 0xc0005b2f00})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.14.0/helper/schema/resource.go:837 +0xc29
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc000315128, {0xd1de58, 0xc00080e3c0}, 0xc00031a410)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.14.0/helper/schema/grpc_provider.go:1021 +0xe3c
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0xc0003723c0, {0xd1df00, 0xc0005b0000}, 0xc000242000)
github.com/hashicorp/terraform-plugin-go@v0.9.0/tfprotov5/tf5server/server.go:812 +0x56b
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0xbe2c80, 0xc0003723c0}, {0xd1df00, 0xc0005b0000}, 0xc00024c000, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.9.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:385 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc00032c700, {0xd2b6c0, 0xc000001ba0}, 0xc0004990e0, 0xc0003facc0, 0x120cfa0, 0x0)
google.golang.org/grpc@v1.46.0/server.go:1283 +0xcf2
google.golang.org/grpc.(*Server).handleStream(0xc00032c700, {0xd2b6c0, 0xc000001ba0}, 0xc0004990e0, 0x0)
google.golang.org/grpc@v1.46.0/server.go:1620 +0xa2a
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/grpc@v1.46.0/server.go:922 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.46.0/server.go:920 +0x294
Error: The terraform-provider-proxmox_v2.9.10 plugin crashed!

I would go all in with the fact that you're using api keys and checked privilege separation, try with root@pam to be sure. We need a fix for that.
If not, post full terraform code please

goroutine 100 [running]:
github.com/Telmate/proxmox-api-go/proxmox.(*Client).GetVmRefsByName(0xc3332a, {0xc0003e24a0, 0x9})
github.com/Telmate/proxmox-api-go@v0.0.0-20220427175411-e25c3463f0db/proxmox/client.go:197 +0x625
github.com/Telmate/proxmox-api-go/proxmox.(*Client).GetVmRefByName(...)
github.com/Telmate/proxmox-api-go@v0.0.0-20220427175411-e25c3463f0db/proxmox/client.go:187
github.com/Telmate/terraform-provider-proxmox/proxmox.resourceVmQemuCreate(0xc0000cd200, {0xae93c0, 0xc000356b90})
github.com/Telmate/terraform-provider-proxmox/proxmox/resource_vm_qemu.go:795 +0x1385
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0xd1df00, {0xd1df00, 0xc000910840}, 0xd, {0xae93c0, 0xc000356b90})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.14.0/helper/schema/resource.go:695 +0x178
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc0003e6700, {0xd1df00, 0xc000910840}, 0xc0004ae340, 0xc0000cd080, {0xae93c0, 0xc000356b90})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.14.0/helper/schema/resource.go:837 +0xc29
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc00000d170, {0xd1de58, 0xc0000f6380}, 0xc0000c62d0)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.14.0/helper/schema/grpc_provider.go:1021 +0xe3c
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0xc0000fe3c0, {0xd1df00, 0xc000910030}, 0xc0002c4000)
github.com/hashicorp/terraform-plugin-go@v0.9.0/tfprotov5/tf5server/server.go:812 +0x56b
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0xbe2c80, 0xc0000fe3c0}, {0xd1df00, 0xc000910030}, 0xc00048c060, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.9.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:385 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0000e0700, {0xd2b6c0, 0xc000482340}, 0xc000337680, 0xc000248b70, 0x120cfa0, 0x0)
google.golang.org/grpc@v1.46.0/server.go:1283 +0xcf2
google.golang.org/grpc.(*Server).handleStream(0xc0000e0700, {0xd2b6c0, 0xc000482340}, 0xc000337680, 0x0)
google.golang.org/grpc@v1.46.0/server.go:1620 +0xa2a
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/grpc@v1.46.0/server.go:922 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.46.0/server.go:920 +0x294
Error: The terraform-provider-proxmox_v2.9.10 plugin crashed!

`terraform {
required_providers {
proxmox = {
source = "telmate/proxmox"
version = "2.9.10"
}
}
}
provider "proxmox" {
url is the hostname (FQDN if you have one) for the proxmox host you'd like to connect to to issue the commands. my proxmox host is 'prox-1u'. Add /api2/json at the end for the API
pm_api_url = "http://<IP_ADDRESS>:8006/api2/json"
api token id is in the form of: @pam!
pm_api_token_id = "terraform@pam!token"
this is the full secret wrapped in quotes. don't worry, I've already deleted this from my proxmox cluster by the time you read this post
pm_api_token_secret = "xxxxxxxxxxxxxxxxxx"
leave tls_insecure set to true unless you have your proxmox SSL certificate situation fully sorted out (if you do, you will know)
pm_tls_insecure = true
}
resource is formatted to be "[type]" "[entity_name]" so in this case
we are looking to create a proxmox_vm_qemu entity named test_server
resource "proxmox_vm_qemu" "test_server" {
count = 1
just want 1 for now, set to 0 and apply to destroy VM
name = "test-vm-${count.index + 1}"
#count.index starts at 0, so + 1 means this VM will be named test-vm-1 in proxmox
this now reaches out to the vars file. I could've also used this var above in the pm_api_url setting but wanted to spell it out up there. target_node is different than api_url. target_node is which node hosts the template and thus also which node will host the new VM. it can be different than the host you use to communicate with the API. the variable contains the contents "prox-1u"
target_node = var.proxmox_host
another variable with contents "ubuntu-2004-cloudinit-template"
clone = var.template_name
basic VM settings here. agent refers to guest agent
agent = 1
os_type = "cloud-init"
cores = 2
sockets = 1
cpu = "host"
memory = 2048
scsihw = "virtio-scsi-pci"
bootdisk = "scsi0"
disk {
slot = 0
# set disk size here. leave it small for testing because expanding the disk takes time.
size = "10G"
type = "scsi"
storage = "local-lvm"
iothread = 1
}
if you want two NICs, just copy this whole network section and duplicate it
network {
model = "virtio"
bridge = "vmbr0"
}
not sure exactly what this is for. presumably something about MAC addresses and ignore network changes during the life of the VM
lifecycle {
ignore_changes = [
network,
]
}
the ${count.index + 1} thing appends text to the end of the ip address
in this case, since we are only adding a single VM, the IP will
be <IP_ADDRESS> since count.index starts at 0. this is how you can create
multiple VMs and have an IP assigned to each (.91, .92, .93, etc.)
ipconfig0 = "ip=<IP_ADDRESS>${count.index + 1}/24,gw=<IP_ADDRESS>"
sshkeys set using variables. the variable contains the text of the key.
sshkeys = <<EOF
${var.ssh_key}
EOF
}`

terraform {
required_providers {
proxmox = {
source = "telmate/proxmox"
version = "2.9.10"
}
}
}
provider "proxmox" {
url is the hostname (FQDN if you have one) for the proxmox host you'd like to connect to to issue the commands. my proxmox host is 'prox-1u'. Add /api2/json at the end for the API
pm_api_url = "http://<IP_ADDRESS>:8006/api2/json"
api token id is in the form of: @pam!
pm_api_token_id = "terraform@pam!token"
this is the full secret wrapped in quotes. don't worry, I've already deleted this from my proxmox cluster by the time you read this post
pm_api_token_secret = "xxxxxxxxxxxxxxxxxx"
leave tls_insecure set to true unless you have your proxmox SSL certificate situation fully sorted out (if you do, you will know)
pm_tls_insecure = true
}
resource is formatted to be "[type]" "[entity_name]" so in this case
we are looking to create a proxmox_vm_qemu entity named test_server
resource "proxmox_vm_qemu" "test_server" {
count = 1
just want 1 for now, set to 0 and apply to destroy VM
name = "test-vm-${count.index + 1}"
#count.index starts at 0, so + 1 means this VM will be named test-vm-1 in proxmox
this now reaches out to the vars file. I could've also used this var above in the pm_api_url setting but wanted to spell it out up there. target_node is different than api_url. target_node is which node hosts the template and thus also which node will host the new VM. it can be different than the host you use to communicate with the API. the variable contains the contents "prox-1u"
target_node = var.proxmox_host
another variable with contents "ubuntu-2004-cloudinit-template"
clone = var.template_name
basic VM settings here. agent refers to guest agent
agent = 1
os_type = "cloud-init"
cores = 2
sockets = 1
cpu = "host"
memory = 2048
scsihw = "virtio-scsi-pci"
bootdisk = "scsi0"
disk {
slot = 0
# set disk size here. leave it small for testing because expanding the disk takes time.
size = "10G"
type = "scsi"
storage = "local-lvm"
iothread = 1
}
if you want two NICs, just copy this whole network section and duplicate it
network {
model = "virtio"
bridge = "vmbr0"
}
not sure exactly what this is for. presumably something about MAC addresses and ignore network changes during the life of the VM
lifecycle {
ignore_changes = [
network,
]
}
the ${count.index + 1} thing appends text to the end of the ip address
in this case, since we are only adding a single VM, the IP will
be <IP_ADDRESS> since count.index starts at 0. this is how you can create
multiple VMs and have an IP assigned to each (.91, .92, .93, etc.)
ipconfig0 = "ip=<IP_ADDRESS>${count.index + 1}/24,gw=<IP_ADDRESS>"
sshkeys set using variables. the variable contains the text of the key.
sshkeys = <<EOF
${var.ssh_key}
EOF
}

Pve api URL should be https, ignore_lifecycle it's not required.

It doesn't work with https. Don't understand why since my SSLs are in place

What does this mean now?
Stack trace from the terraform-provider-proxmox_v2.9.10 plugin:

panic: interface conversion: interface {} is nil, not []interface {}

goroutine 71 [running]:
github.com/Telmate/proxmox-api-go/proxmox.(*Client).GetVmRefsByName(0xc3332a, {0xc0003aa450, 0x7})
        github.com/Telmate/proxmox-api-go@v0.0.0-20220427175411-e25c3463f0db/proxmox/client.go:197 +0x625
github.com/Telmate/proxmox-api-go/proxmox.(*Client).GetVmRefByName(...)
        github.com/Telmate/proxmox-api-go@v0.0.0-20220427175411-e25c3463f0db/proxmox/client.go:187
github.com/Telmate/terraform-provider-proxmox/proxmox.resourceVmQemuCreate(0xc000169480, {0xae93c0, 0xc000442a50})
        github.com/Telmate/terraform-provider-proxmox/proxmox/resource_vm_qemu.go:795 +0x1385
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0xd1df00, {0xd1df00, 0xc0005828a0}, 0xd, {0xae93c0, 0xc000442a50})
        github.com/hashicorp/terraform-plugin-sdk/v2@v2.14.0/helper/schema/resource.go:695 +0x178
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc0001ace00, {0xd1df00, 0xc0005828a0}, 0xc00057b450, 0xc000169300, {0xae93c0, 0xc000442a50})
        github.com/hashicorp/terraform-plugin-sdk/v2@v2.14.0/helper/schema/resource.go:837 +0xc29
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc0003e64b0, {0xd1de58, 0xc00023cd00}, 0xc00020c230)
        github.com/hashicorp/terraform-plugin-sdk/v2@v2.14.0/helper/schema/grpc_provider.go:1021 +0xe3c
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0xc000217e00, {0xd1df00, 0xc000582090}, 0xc000150000)
        github.com/hashicorp/terraform-plugin-go@v0.9.0/tfprotov5/tf5server/server.go:812 +0x56b
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0xbe2c80, 0xc000217e00}, {0xd1df00, 0xc000582090}, 0xc00057e000, 0x0)
        github.com/hashicorp/terraform-plugin-go@v0.9.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:385 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0002ec8c0, {0xd2b6c0, 0xc000316680}, 0xc00028c360, 0xc0003f0f30, 0x120cfa0, 0x0)
        google.golang.org/grpc@v1.46.0/server.go:1283 +0xcf2
google.golang.org/grpc.(*Server).handleStream(0xc0002ec8c0, {0xd2b6c0, 0xc000316680}, 0xc00028c360, 0x0)
        google.golang.org/grpc@v1.46.0/server.go:1620 +0xa2a
google.golang.org/grpc.(*Server).serveStreams.func1.2()
        google.golang.org/grpc@v1.46.0/server.go:922 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
        google.golang.org/grpc@v1.46.0/server.go:920 +0x294

Error: The terraform-provider-proxmox_v2.9.10 plugin crashed!

@pmatra  I think we have the same issue here... (https://github.com/Telmate/terraform-provider-proxmox/issues/552)
Does anyone have plan for fix this bug ?

@pmatra could you run terraform with debug enabled and send over all lines containing [DEBUG][GetJsonRetryable]?
To enable the debug log set this environment variable
export TF_LOG=DEBUG

@Tinyblargon you're being fooled by the GetVmRefsByName function because it's the first to be called and to fail due to bad provider configuration(and bad error handling of course)
we have a lot of issues there with the same problem, main reasons are

wrong proxmox api url like @pmatra
wrong user + token configuration like @UmanGarbag (and maybe @pmatra  too)

It doesn't work with https. Don't understand why since my SSLs are in place

@pmatra proxmox has no http endpoint, the url must be https, posting the same error won't help you fixing the problem, you have to use a https endpoint and a correct configured api token
@UmanGarbag you dint post what I've asked
via ssh, on the proxmox node, post output of these commands
pveum  user token list terraform-prov@pve
pveum  user token permission terraform-prov@pve **tokenname from previous command
(@pmatra  this should help you too)

@mleone87 Here the output of the first command :

Second command :

Update :
I retry creating a virtual machine by replace authentication metho (replace   pm_api_token_id   &
pm_api_token_secret) by  pm_user and pm_password using the terraform-prov@pve user and it's works !

@UmanGarbag nice! the other way is to DO NOT USE privilege separation, like in the first image!

@mleone87 I uncheck the privilege separation and the vm creation still working. Thanks for you help

Priv Separation was my problem too. That solved it. Thanks!


Programming exercises: sticky scrolling cannot be disabled in the online editor

Describe the bug
In the new online editor for student submission (https://github.com/ls1intum/Artemis/pull/8130), for instructors editing repos (https://github.com/ls1intum/Artemis/pull/8389) and tutors to assess submissions (https://github.com/ls1intum/Artemis/pull/8437) there is a "sticky scrolling". This means that the headers of upper structure elements (e.g., methods, classes) stick on top of the editor as long as you are in this element.
This disturbs some users. One reason is that the other lines sometimes "jump" a bit up and down while the sticky lines appears / disappears. Another problem is on smaller screens, where the space consume is a problem.

Monaco seems to have options for this: IEditorStickyScrollOptions
I do not know if there is also an option to gave users access to these settings.
To Reproduce

Open the online editor somewhere in Artemis
Open a file with a longer class to be able to scroll down
Scroll down until the class header get out of the view
"Sticky scrolling" take action and cannot be removed

Expected behavior
I am able to remove the sticky scrolling. This decision should be saved (e.g. for the user or in the session).
In VSCodium for example I can use the Popup-Menu on the "sticky scrolling" to remove it or a command from the "Command Pallet" (F1)
Screenshots

Which version of Artemis are you seeing the problem on?
7.0.2
What browsers are you seeing the problem on?
Firefox
Additional context
No response
Relevant log output
No response

Interestingly, this toggle seems to be (partially) implemented in the Monaco editor. Unfortunately, it also seems broken at the moment, as can be reproduced in the Monaco playground.
https://github.com/ls1intum/Artemis/assets/38403547/5fdf8816-1f37-4b09-a1f0-9535462aa3fc

I have opened the issue https://github.com/microsoft/monaco-editor/issues/4488 in the Monaco editor repository. I suggest we wait until that issue is resolved before addressing this one.

Since sticky scrolling is now disabled by default, the main reason for this issue i resolved, so I think we can close this.


Fixed color swatch issue #3980

BUGS:
Link: https://github.com/bagisto/bagisto/issues/3980

fixed


Unable to install Xcode (DecodingError)

Describe the bug
I've Installed Xcodes from homebrew, signed in with my appleID, trying to install any version gives:
Unable to install Xcode: Error.dataCorrupted, Swift.DecodingError
(I've tried restarting the app)
To Reproduce

Install Xcodes from homebrew
Sign in
install any version

Expected behavior
Xcode will be installed
Screenshots

Version

OS: 12.5.1
Xcodes: 1.7.0 (15)

Having the same issue. Doesn't matter which Xcode I'm trying to download.

Related: https://github.com/RobotsAndPencils/XcodesApp/issues/190
@oronbz @BarMalka Sorry for the troubles. In the linked ticket about, we believed it may have something to do with your language setting? We thought we had fixed that issue but perhaps not.
For completeness do any of your Mac's have a non english language or keyboard?
Secondly another thing to try is go to the downloads page: https://developer.apple.com/download/all/ and make sure that there is nothing wrong with your account.
Let me know

This should be fixed now with v1.8 that doesn't require any Apple accounts to download Xcode


Reset has been renamed to logout in the upcoming 1.9.0 release

Just to make sure you don't miss it, in the upcoming release 1.9.0 reset is now logout.
Ref: https://github.com/Dashlane/dashlane-cli/commit/96cb501b730b35a75526cd90efedc6db0f5b49e0
Your code:
https://github.com/BenjaminOddou/alfred-dashlane/blob/1422cc2907d834170c85d80d20956325fd4831df/src/reset.py#L13

Nice ! I'll make the update for the next release 😄


HEY YEAH

Week 2: Your first repository

[x] 1. Install GitHub desktop and connect it to your GitHub account
[x] 2. Create a public repository and add a readme file
[x] 3. Publish the repository to GitHub
[x] 4. Add a new file in your local repository, commit the file addition, and push it to the remote repository on GitHub
[x] 5. Modify the new file (or the Readme file), commit the change, and push it to the remote repository on GitHub
[x] 6. Comment on this issue with a link to your repository

Week 4: Rmarkdown

[x] 1. Create a new public repository on GitHub Desktop and add a readme file.
[x] 2. Publish the repository to GitHub
[x] 3. Open RStudio and create a new project in an existing directory (the directory of your repository)
[x] 4. Download the file "R_Rstudio_Rmarkdown.Rmd" from the week 4 "Practical: R markdown" section on MyAberdeen and save it in your project
[x] 5. Work through the Rmarkdown file, remembering to commit and push your changes to the remote repository on GitHub
[x] 6. Optional: if you have questions you'd like to discuss with your group members, create issues on GitHub and let them know
[x] 7. Comment on this issue with a link to your new repository

Week 5: Practical: reading data in R

[ ] 1. Create a new public repository on GitHub Desktop and add a readme file. This will be the main repository for the R material from this course, so give it a good name :smiley:
[ ] 2. Publish the repository to GitHub
[ ] 3. Open RStudio and create a new project in an existing directory (the directory of your repository)
[ ] 4. Create an appropriate folder structure according to the good coding practices discussed in week 5
[ ] 5. Download the data files and Rmarkdown file from the week 5 "Practical: reading data in R" section on MyAberdeen and save them in the appropriate folders in your project
[ ] 6. Work through the Rmarkdown file, remembering to commit and push your changes to the remote repository on GitHub
[ ] 7. Optional: if you have questions you'd like to discuss with your collaborators, create issues on GitHub and let them know
[ ] 8. Comment on this issue with a link to your new repository

Week 6-10: Your project
Now that you have become familiar with GitHub, you can start using it to prepare your report, and get help and feedback from your group members.

[ ] Comment on this issue with a link to your report repository

https://github.com/AbdnCHDS/Intro2HDS_2024/issues/18#issue-2563886892

https://github.com/XIAOJUANGU/XIAOJUAN-GU

https://github.com/XIAOJUANGU/RS-Praperation.git

https://github.com/XIAOJUANGU/RS-Praperation.git

week 5

@XIAOJUANGU please make sure your repository is public 😃

Hey, Dr Dimitra Blana
Here, it's my practice, all of these steps I've finished. Please check it,  thanks! https://github.com/XIAOJUANGU/RS-Praperation.git

Hi @XIAOJUANGU, now you're moving into week 5 (and beyond), there are a lot of files in your repository. Try to put your files in folders according to the good coding practices discussed in the course material. Don't ty to do this on GitHub itself, do it locally on your computer, then commit and "push" your changes to GitHub.


Support assembly correctly for Go 1.22

We need to specify the package path now otherwise it  doesn't find the symbols correctly later

Yeah it'd be nice if this stuff was better documented - the release notes rarely cover much about how you interact with these tools. I guess it's not an 'officially supported API' but we're not the only ones doing this...


Search Namespaces Deprecated?

The Search Namespaces is not in the Docs anymore (https://docs.gitlab.com/ee/api/namespaces.html) and should maybe get deprecated
https://github.com/xanzy/go-gitlab/blob/5f216031d9ef0581f96286a5ec48d086c1833868/namespaces.go#L80

Its in the Docs from Version 13.12
https://docs.gitlab.com/13.12/ee/api/geo_nodes.html
I added Tests for all of the Functions in the Namespaces in the #1206 Pull Request

I would say leave it as it for now. Thanks 👍🏻


mousemove event listener is being attached in setup_preload even if I am not using data-sveltekit-preload-[x]="hover"

Describe the bug
It can be seen here that the listener is attached inconditionally whenever the setup_preload function is called https://github.com/sveltejs/kit/blob/873ec2b4d559adb969148113fe883696cf00fa0a/packages/kit/src/runtime/client/client.js#L1500-L1512
The functions is always called unless  navigator.connection.saveData is true
While the annoyance is minor, its effects are perceptible as I found it because moving the mouse on sveltekit sites induce static noise in my loudspeakers and in my wired headphones, a sound I already relate with a cry for help from the event loop as it is also induced by other common but bad JS practices that clog the event loop with very short but periodic tasks like driving (usually clunky) animations by using setTimeout(fn, 10).
This is a devtool recording of ~3s of moving my mouse over the website. There is no JS activity on that page other than that generated by the mousemove event listener.

While I don't think this is the most important thing in the world to change I don't think inconditionally attaching an event listener that serves no purpose if you don't use the feature it is meant for and causes subtle but visible audible side-effects on a page whose only JS is the routing/preloading code is the right thing to do, specially on a framework using Svelte, which is usually picked because it has the "you don't pay for what you don't use" philosophy of most compilers.
Personally I would like a way to opt-out of this behavior by being able to specify which ways of preloading can be used within the app and defaulting to all of them.
Another option for those who want to preload on hover but do not want to attach a global mousemove event would be being able to choose different strategies at compile time for data-sveltekit-preload-[x]="hover". An alternative stategy would be attaching listeners to the elements with the data-sveltekit-preload-[x]="hover" attribute themselves. Maybe using requestIdleCallback() (unsupported by Safari) can be helpful with performance so that other JS is not slowned down if there are lots of element to attach to. This way you can even use self-removing mouseenter listeners if the data-sveltekit-preload-[x]="hover" is on the link itself.
Reproduction
https://kit.svelte.dev (happens on any svelte-kit website unless csr is disabled)
Logs
No response
System Info
Not important

Severity
annoyance
Additional Information
No response

Just hit this issue while debugging the performance of my project.
The problem, as already described by OP, is that SvelteKit attaches a mousemove event on the body to make the preload functionality work.
The thing is that, even if you don't use preloading options (my use case), this event will still be attached and fired.
I am doing a desktop app with Tauri. I have no use for server operations or preloading.
The only way to truly disable this as of right now is to either game the connection.saveData object, or to intercept the addEventListener with prototype overrides. I don't need to say that both of these options are terrible.
There isn't a huge performance penalty, but just moving your mouse on a blank page spams the Event Loop and makes the Main Thread use 50% Javascript and 50% Paint. Even if the page has nothing:
https://github.com/user-attachments/assets/a22d50f1-b77b-47a8-98ed-25ff86cdf850
It's not possible to change navigator.connection with Chrome, but you can with Safari (since it isn't implemented there).
Since I use a Macbook, the Safari hack works in my use case. Overriding saveData in app.html:
<script>
	if (!navigator.connection) navigator.connection = {};
	navigator.connection.saveData = true;
</script>

Fixes this issue. With this, we can see that moving the mouse now only fires Paint events:
https://github.com/user-attachments/assets/ffd61f9f-e754-423a-8066-9388e7812adb
This saves about 2% CPU usage.
Adding an option to disable preloading entirely, without having to game saveData, would already help.


How to solve getGherkinRows() is undefined for the type DataTable

DataTable table;
for(DataTableRow row : table.getGherkinRows()) - Compiler error :getGherkinRows() is undefined for the type DataTable
dependency : cucumbe-java 1.2.2
@aslakhellesoy
https://github.com/aslakhellesoy

What has this to do with REST Assured?
On Sat, Sep 8, 2018 at 5:16 AM Sanjay Kumar<EMAIL_ADDRESS>wrote:

DataTable table;
for(DataTableRow row : table.getGherkinRows()) - Compiler error
:getGherkinRows() is undefined for the type DataTable
dependency : cucumbe-java 1.2.2
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rest-assured/rest-assured/issues/1062, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AALalfYkNs-eQYhwoESHJDesSvGklHzKks5uYzZ1gaJpZM4WfscR
.

Yes, it is with Cucumber+ Rest assured, And project type is a maven. Here I m trying to read data from feature using datatable but getting above error.
Please suggest me how to solve it

I am also facing the same issue. I am using cucumber + rest assured with maven


Labeling of data in multiple components distributions

Current behavior
When predicting a continuous question using multiple distribution components it can be complex to fine-tune the cumulative prediction. One problem is the lack of information regarding individual components.

Expected/desired behavior
Here are a few suggestions on how to improve the system:

Allow forecasters to label individual components: when working with multiple components, especially on questions with longer time frames, it is easy to forget what each represents. A small textbox that allows writing a small comment to identify the accompanying distribution might solve the issue.
Display the value of weight assigned to each component: visualizing what weight between 0 and 1 is assigned to each component would allow forecasters to better fine-tune their predictions.
Allow on/off toggling of individual components: I use data in the "My Prediction" section to adjust for individual components. To do so, I have to move the weight of all the other components to 0 and then manually move it back up later. Since individual components and weights are not labeled, this is time-consuming and error-prone. The possibility of turning components on/off without changing their values and weights would help.
Display (at least) the center value of each component: same rationale as above. When working with multiple components it is too easy to lose track of what each represents.

@aseckin thoughts on using the new binary slider designs?

The numbers in the big sliders are in the question's scale.

I love this, the problem I can see is that the slider doesn't actually correspond to any quartiles, so people will be extra confused thinking that the value on the center slider is their median while the chart below disagrees...

Also, there would be a spacing issue for date questions.

this was much less an issue when you could see the dotted lines of each component curve.  at the moment, i don't want to forecast on any continuous question that requires multiple components (which is 80% of them)


Inline execution does not detach visualization if the execution failed

Reported by @farmaazon that when submitting multiple executionContext/executeExpression that fail, it seems that it starts sending visualizationFailed updates from previous executions.
That can happen if the visualization attached during the executionContext/executeExpression is not properly detached after the execution.

When I test 12.7 nightly, I still see many responses for executeExpression:

I was not able to reproduce this issue on the develop.
However I can reproduce the #8431

Start with the default template

from Standard.Base import all
from Standard.Table import all
from Standard.Database import all
from Standard.AWS import all
import Standard.Visualization

main =
    operator1 = "Press ENTER key to create a new node"

create a node with an error

from Standard.Base import all
from Standard.Table import all
from Standard.Database import all
from Standard.AWS import all
import Standard.Visualization

main =
    operator1 = "Press ENTER key to create a new node"
    operator10439 = operator1.foo

Now when you open the component browser, you'll get the error responses to executeExpression requests:

{
   "jsonrpc":"2.0",
   "method":"executionContext/visualizationEvaluationFailed",
   "params":{
      "contextId":"9477ba7c-69ce-4a69-953e-a0feabec8ab7",
      "visualizationId":"4ee38432-f045-4e4d-a236-aa2517fd4b1a",
      "expressionId":"50a7dcb9-4f53-4ea5-8e22-accafbfbad49",
      "message":"Compiler Internal Error: ID 3 defined in multiple scopes.",
      "diagnostic":null
   }

I have a fix for Compiler Internal Error: ID 3 defined in multiple scopes.
--- a/engine/runtime-compiler/src/main/scala/org/enso/compiler/pass/analyse/AliasAnalysis.scala
+++ b/engine/runtime-compiler/src/main/scala/org/enso/compiler/pass/analyse/AliasAnalysis.scala
@@ -996,7 +996,7 @@ case object AliasAnalysis extends IRPass {
       *
       * @return a unique identifier for this graph
       */
-    def nextId(): Graph.Id = {
+    def nextId(): Graph.Id = this.synchronized {
       val nextId = nextIdCounter
       nextIdCounter += 1
       nextId

But this means that the inline execution started by EvalNode  can run in parallel with some other compilation process. https://github.com/enso-org/enso/blob/b89d1b692a80afecf8981a17e0c3428df5f16771/engine/runtime/src/main/java/org/enso/interpreter/node/expression/debug/EvalNode.java#L76
This can potentially cause other issues because the compiler is not designed for concurrent access.
The proper fix would be to ensure the sequential access to the compiler.


Move autocomplete files to contrib/

Since recent versions of vndr are going to remove the autocomplete
scripts from the urfave vendored content, we will just move them into
contrib/ and reference them in the documentation from that location.
See #3759 for background
Signed-off-by: Phil Estes<EMAIL_ADDRESS>

Codecov Report

Merging #3766 into master will decrease coverage by 4.88%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3766      +/-   ##
==========================================
- Coverage   41.97%   37.08%   -4.89%
==========================================
  Files         131       89      -42
  Lines       14536    12172    -2364
==========================================
- Hits         6101     4514    -1587
+ Misses       7526     7036     -490
+ Partials      909      622     -287

Flag
Coverage Δ

#linux
?

#windows
37.08% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

archive/tar_opts.go
11.76% <0%> (-47.06%)
:arrow_down:

cio/io.go
1.4% <0%> (-45.08%)
:arrow_down:

snapshots/native/native.go
1.73% <0%> (-40.7%)
:arrow_down:

archive/tar.go
18.95% <0%> (-29.24%)
:arrow_down:

metadata/snapshot.go
23.9% <0%> (-23.91%)
:arrow_down:

oci/spec_opts.go
28.53% <0%> (-2.27%)
:arrow_down:

gc/scheduler/scheduler.go
66.34% <0%> (-0.97%)
:arrow_down:

content/local/writer.go
57.69% <0%> (-0.97%)
:arrow_down:

mount/temp_unix.go

sys/reaper_linux.go

... and 40 more

Continue to review full report at Codecov.

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


Error thrown because of missing onTabReplaced

There is a handler for tabReplaced in the component, but there is no method for it in the controller.
It causes an error to be thrown any time the tabReplaced event occurs.  Unfortunately this means our company can't use it because the lightning errors being thrown are too disruptive.
<aura:handler event="lightning:tabReplaced" action="{! c.onTabReplaced }"/>
Stack trace: [LCE: consoleLayout2#processReplaceSubtabPage() - Failed to process request: jobLibrary - Job: processReplaceSubtabPage, Stage: tasks, Job failed. An error occurred while processing. LCE: workspace#updateTab() - Failed to update tab. tabId = ctab0_2 , Error: Unable to find action 'onTabReplaced' on the controller of CaseTimer19:serviceConsoleCaseTimerWrapper]
Object.()@https://static.lightning.force.com/cs34/auraCmpDef?aura.app=markup://one:one&_au=OYRNHg5YKSBSlNx_oA2NGg&_ff=DESKTOP&_l=true&_l10n=en_US&_c=false&_style=1620666853&_cssvar=true&_density=VIEW_TWO&force=closeRecord,listViewManagerDisplayDependencyConfiguration,listViewManagerDisplayDependencyItem,scopedActionModal,scopedModal,templateWorkspaceRendered&lightning=tabClosed,tabCreated,tabRefreshed,tabReplaced,unsavedChanges&objectManager=objectManagerLibrary&one=addWorkspaceTab,appNavEvent,appNavMenu,appNavMenuPanel,beforeTabFocusChange,closeWorkspace,consoleAccessibilityUtil,consoleAppCustomizationDefault,consoleAppCustomizationSetup,consoleEventBroker,consoleInlinePanel,consoleLayoutContainer2,consoleLi,consoleLogAction,consoleNav,consoleObjectHome,consoleObjectHomeFocus,consoleOverflowItem,consolePersistenceForceLogoutPlugin,consolePersistenceManager,consoleTab,consoleTabContainer,consoleTabContainerEvent,consoleTabDnD,consoleTabEvent,consoleTabItem,consoleTabNavigate,consoleTabScrollManager,consoleTabset,controlClickLibrary,getPanelManagerScopedContainerInfo,globalNav,isLeftContent,jobLibrary,lastWorkspaceClosed,leftContentWrapper,navItemDropdown,navItemDropdownMenuItem,navItemDropdownMenuItemSeparator,panelManagerScoped,refreshWorkspace,registerConsolePersistenceExtension,replaceWorkspaceTab,tabNavigationChange,toggleEditPage,updateWorkspaceTab,workspace,workspace2,workspaceCollection,workspaceTabEvent,workspaceTabWrapper&onesetup=breadcrumbChange,setupSearchInputDataProvider,setupSearchInputDesktop,setupSearchRequest&reports=editReportEvent&salesforceIdentity=appLauncherHeader&_uid=396928768:563:6

Hi @kenthompsonaustin, have you check that you are accessing component using any service console application?
Try opening same page into any console application.

Hi @kenthompsonaustin,
I recently came across this package. and yes that are some prerequistics that we need to follow in order to use this app.
Go through theur manual once. --> https://quip.com/kcHiAgqLWdg1
Also on your issue I can say that -- try opening record page (for which you have added this component) in any service console application you have.

Thanks for following up.  I ended up corresponding with Anika and she was able to fix the code and create version 1.8 of the package at the end of January.


Expand-the-VMware-Integration

Customizing Windows Guest and Customize Linux Guest.
Signed-off-by: Mihail-Cristian Tusa<EMAIL_ADDRESS>

The review on this was already made by our colleague Remus which is the OO Content owner on VMware integration and it was an extensive one.

everything looks good

@remusgolgot  Thank you very much for your time and (sharp) observations!

We will wait on merging/release to Maven Central until our QA team takes an extensive validation scenarios.

https://github.com/CloudSlang/cloud-slang-content/issues/590 and https://github.com/CloudSlang/cloud-slang-content/issues/594

@Bonczidai  Now (after an extensive QA validation process) I think we should release it to MC. WDYT?

:+1: ok from my side
just be sure to validate by propagating locally to the CLI

Let's merge guys, really need this content

:ok_hand:


Dependency of generated code to FastDDS

I was under impression that the generated code with Fast-DDS-Get would depend on FastCDR only (thereotically it could be used to serialize/deserialize data independently from using DDS).
However,  TypesHeader.std adds #include <fastrtps/utils/fixed_size_string.hpp> to the generated code. This file is only supplied via FastDDS.
Is this dependency intended? The generated code is compilable and functional with the FastCDR lib and this single additional file only.

Thanks a lot for addressing this issue!


Switch to static provisioning for ClamAV EFS.

Turns out the dynamic provisioning as implemented by Amazon's EFS CSI driver solves a different problem than the one we have: it creates a unique directory an EFS access point for each PVC, whereas we just want to have a bunch of pods mount the same NFS volume.
Our use case is ideally suited for static provisioning, given that we're  using NFS. So all we need do is define the PersistentVolume statically in Terraform and refer to it from a PVC defined in Helm.
Our statically-defined PV refers to the EFS volume via an EFS access point, which lets us configure Amazon to set an initial directory with our desired permissions etc.
Bear in mind that the PV is essentially just a representation of a mount_nfs command line in our use case. That is, it's just the place where we configure the hostname to connect to and the mount options to use. The EFS access point (i.e. the settings we're telling Amazon to use when we connect to the NFS server) is specified as just another mount option.
This removes the need for the EFS CSI controller while still solving the problems of uid mapping and creating an initial directory in the remote filesystem with appropriate permissions etc.
The DNS name of the EFS filesystem resolves automatically to the endpoint in the same AZ as the caller so we should still have regional availability for this storage.
We also move these resources into the govuk-publishing-infrastructure module as they're app-specific and GOV.UK-specific, rather than base cluster services.

Closing this since it turns out that it's not feasible to mount an EFS volume via an access point without using the EFS CSI plugin — and that's a disproportionate amount of complexity for the problem we're trying to solve here, i.e. just having a bunch of pods mount the same (long-lived, statically-provisioned) NFS export.
It'll be way simpler not to use access points and just use Volume and VolumeMount within the pod spec. We can solve the bootstrap problem (which we don't even have yet because we can use the existing asset-manager EFS) by running a Job as uid 0 in the cluster-services namespace to do a mkdir -p and chown. That's super simple and low maintenance compared to managing a controller, storageclass, daemonset, pv/pvcs, EFS access point etc. etc.


flexirest: #after_request handler takes a response object

The after_request handler should take a response object instead of a request object.
refs:

https://github.com/flexirest/flexirest/blob/master/docs/using-callbacks.md

/merge


Make SpeceBetweenAlphabeticalWord support allow not space between latin words in Japanese or Chiese

Ref: https://github.com/continuous-manual-writing/book-source/blob/master/js/space_with_latin_word.js

PR sent, please review.


Use webpack for building

Howdy -
I've been hunting for a nice typeahead for react for a while.  I use SystemJS to load modules, generally by downloading their minified source from the /dist folder & checking that into our source control.  This works fine for all the 3rd party stuff we use that's packaged up with webpack.  I cannot get this module to load via SystemJS.  Browserify is doing some funkiness with _process and require('react') - both of which throw errors for me.  Would you be interested in me forking this & changing the build process to generate a distribution bundle with webpack instead of browserify?  That library seems to generate distribution bundles that are more easily consumed with client-side module loading.

Absolutely. I will stir up something tonight and get back to you.

@brianc,
Is it possible to checkout the webpack branch seen in #3, and verify the library's usability? Thanks! :rocket:


Introduction isn't simple enough

I am a bit embarrassed to write this, but the introduction isn't simple enough for me.
In particular, I can't seem to pick all the 'theme selector' stuff out of it. My quick attempts at hacks seem to just make a mess in various different ways.
A simple minimal example would be much appreciated.

@ChrisJefferson No need to be embarrassed, I think you're right on this.  Currently the introduction deck included in the download and the introduction deck on the project page are the same, not only in content but in function.  Both let you play with the themes to see what they look like.  But the introduction deck in the download is overwhelmingly used as a skeleton.  The theme selectors don't need to be there.  If people want to play with the themes they can go to the project page, or swap the CSS out at the top like (which will need to do anyway).
It should be noted that /core/deck.core.html contains a true stripped down skeleton to work with, but I think removing the theme selectors from the master intro deck would be a good thing.


Revise and re-release

If at all possible.

Indeed, a zef install MIME::Types currently fails, and is a dependency on https://github.com/Raku/examples/issues/75
I am happy to assist if you can provide guidance

El sáb., 29 ago. 2020 a las 5:00, Cam Stuart<EMAIL_ADDRESS>escribió:

Indeed, a zef install MIME::Types currently fails, and is a dependency on
Raku/examples#75 https://github.com/Raku/examples/issues/75
I am happy to assist if you can provide guidance

Well, it needs a pretty extensive overhaul. I've added a few issues to
start... Thanks.

I've done an overhaul earlier today.  Please let me know if more needs to be done.


Document every public item in bevy_ecs

Objective
Title.

Thank you for the review. I've addressed your suggestions.


New Type Inference doesn't accept string that is part of @enum {string}

Using new type inference, a string that is a member of an @enum {string} is not recognized as a valid type, when {string} should be one of the accepted types.
src/lab/app/SimRunner.js:105: WARNING - Could not instantiate type Array<goog.events.EventId<EVENTOBJ>>|Array<string>|goog.events.EventId<EVENTOBJ>|null|string with goog.events.EventType.
  this.onUnloadKey_ = goog.events.listen(window, goog.events.EventType.BEFOREUNLOAD,
                                                 ^

Here is the definition of EventType:
/**
 * Constants for event names.
 * @enum {string}
 */
goog.events.EventType = {
  // Mouse events
  CLICK: 'click',
  RIGHTCLICK: 'rightclick',
  DBLCLICK: 'dblclick',
  MOUSEDOWN: 'mousedown',
  ...
  BEFOREUNLOAD: 'beforeunload',

The parameter of goog.events.listen is:
 * @param {string|Array<string>|
 *     !goog.events.EventId<EVENTOBJ>|!Array<!goog.events.EventId<EVENTOBJ>>}
 *     type Event type or array of event types.

Compiler version
Closure Compiler (http://github.com/google/closure-compiler)
Version: v20150126-82-g85da5b6
Built on: 2015/02/11 20:55

Fixed: https://github.com/google/closure-compiler/commit/d536a7df9842ec6f109e6c523f89fbe1e2477332

confirmed fixed in Version: v20150505-58-g39bb337


Lighthouse operator should monitor deployment, configmap and service

Lighthouse operator should monitor deployment, configmap and service that it creates for submariner-lighthouse-coredns is always in the expected state.

Or try to use the dns in-cluster name instead of the service ip (if that works fine for coredns..)


Scaffold for new inductive compiler

I don't need to merge regularly while working on the compiler itself, but it would be great for this PR to merge soon so I don't need to keep rebasing the changes to the CMakeLists and init_modules.


Malware in the New Tab Redirect folder

AdwCleaner constantly finds malware in the New Tab Redirect folder. Is this intentional? The extension is broken in the process.
I will attach a log to this message.
-AdwCleaner v4.111 - Logfile created 19/02/2015 at 03:46:04
-Updated 18/02/2015 by Xplode
-Database : 2015-02-18.3 [Server]
-Operating system : Windows 8.1  (x64)
-Username :
-Running from : C:\Users\User\Documents\adwcleaner_4.111.exe
-Option : Cleaning
***** [ Services ] *****
***** [ Files / Folders ] *****
Folder Deleted : C:\Users\User\AppData\Local\Google\Chrome\User Data\Default\Extensions\icpgjfneehieebagbmdbhnlpiopdcmna
File Deleted : C:\Users\User\AppData\Local\Google\Chrome\User Data\Default\Local Storage\hxxps_static.olark.com_0.localstorage-journal
File Deleted : C:\Users\User\AppData\Local\Google\Chrome\User Data\Default\Local Storage\hxxps_static.olark.com_0.localstorage

How do I disable styles?!

Thanks for reporting this. The extension doesn't contain any malware, so I'm not sure why adw would delete the extension folder.  I googled the file hxxps_static.olark.com_0.localstorage and it  appears to be some virus that adds this file to Local Storage folders under Chrome's directory.
Unfortunately, there's nothing I can do about this. The extension doesn't have permissions to read or write to directories on your machine. The permissions the extension has don't allow for external processes to perform any sort of remote code execution through the extension. The only way for unwanted files like this to get into the extension directory is for some process outside of Chrome to add them.
If you don't have antivirus software, I'd suggest running a free program (I think AVG is still active and free). If you do have antivirus, check that the virus definitions are up to date.
As for how that file can be considered a virus, I'm not entirely sure. Google search showed a lot of valid applications and extensions being removed or flagged by AdwCleaner because of the same file. The only thing I could think of is if an extension blindly iterates over keys in localStorage looking for a URL or something and navigating to an infected site, there may be a possible security concern there. I'm not familiar enough with the browser's implementation of localStorage to comment anymore than speculation. I only use localStorage through google's chrome.storage API, so I would expect any vulnerabilities in HTML localStorage to be invalid in the extension.  I don't many extensions use the newer storage API though.
I will reach out to Adw and see if I can get information about the specific rule on that file so I can understand what they're blocking.
If your second part is asking about the post's formatting, you can put triple ticks (`) before and after your block of text to maintain the original formatting without special styles applied.

I have Bitdefender Total Security 2015. Active protection is on. I have blocked both Java and Flash in my browsers. I always scan the files I download and I use WOT to measure if a website is safe to use.
I don't understand how malware always gets to my browser folder.

Malware is nasty. I don't really have to deal with it because I use Mac... I'm not invincible, it's just that most of the jerks that make malware do so for Windows (90%+ of users).
When I did use Windows, I ran SpyBot. That app has an advanced feature to modify your hosts file (a Unix-based DNS resolution file) to reroute known malicious sites back to your own machine. For insurance,  somebadsite.com would have the IP defined as <IP_ADDRESS>. This is a special IP which would direct the request to your own computer, causing a page not found or loading a locally running web site if you have a Web server running.
I looked for the contact information for AdwCleaner last night and, to be honest I would personally be afraid to install that application. There are a lot of articles about fake versions of the app designed specifically to distribute malware. Without a dedicated website for the app, I cont really say what the intended "official" installer is. I did find the change log for the most recent version, and I plan to email the contact in a bit.

I know Spybot but is this review competent?
http://www.pcmag.com/article2/0,2817,2412372,00.asp

to be honest I would personally be afraid to install that application.

I know I'm being technical here, but it doesn't really "install" - it's a scanner that scans when you run it, and doesn't if you don't.

Some of the files I found were .msi installers. My point was that there's no official site, so I didn't know what application to download.  I really only trust things I can get through a reputable store or app delivery service.
The PC Magazine article looks good, there's one thing in it that annoys me though. Malware is a really loaded term, it's like referring to Chrome Extensions or phone apps all as "Software". I don't think SpyBot and PC use the term "malware" interchangeably. Spyware/Malware scanners are one set of tools and Antivirus scanners are another set of tools. That article seems to knock the free version of SpyBot for not finding viruses.
Anyway, it's been a while since I've used Windows on my personal machine. Even when I did run Windows, Ubuntu Linux was my main operating system. My advice on Windows antivirus software is in no way up-to-date, so you've done the right thing by doing some research. When I ran Windows, I used a combination of SpyBot's hosts file protection, AVG, and whatever Microsoft's protection was called. I don't think you can use just one suite of software and assume you're safe. There are literally hundreds of new viruses every day, even if you ran 3 antivirus suites you can only remain protected as often as your virus definitions are updated.  Some software runs known heuristics and common security exploit checks, but virus authors find new attack vectors all the time. I have Kaspersky on my machine at work and I assume it works, but I've never received warnings about viruses and I wouldn't know a virus existed unless it interfered with something I do regularly.
To make things even worse-- and I think it's wrong for companies to do this-- places like Google will notify others (usually competitors) of security holes which, if not fixed within a certain amount of time, get released publicly. https://code.google.com/p/google-security-research/issues/list
I did email the author of AdwCleaner, but I haven't received a response.

This happened again. A third time. The log identical and the extension was broken again.
I understand that this probably isn't your fault.
This is probably a false positive. I installed New Tab Redirect instantly after "malware" removal and AdwCleaner still reports an issue in the extension folder.

Thanks for the follow up. I still haven't received a reply from the developer of AdwCleaner. I asked him to explain why it's a false positive and if there is anything I can do to prevent New Tab Redirect from creating this false positive. I also asked to have New Tab Redirect removed from the list of threats.
Have you tried running any other virus scanners or manually deleting the two files:
File Deleted : C:\Users\User\AppData\Local\Google\Chrome\User Data\Default\Local Storage\hxxps_static.olark.com_0.localstorage-journal
File Deleted : C:\Users\User\AppData\Local\Google\Chrome\User Data\Default\Local Storage\hxxps_static.olark.com_0.localstorage

I have Bitdefender Total Security active.

Sorry, I don't know what else to say. If Bitdefender Total Security doesn't complain about whatever is triggering the problem in AdwCleaner, it's obviously an issue with AdwCleaner. There's no way for the extension to read or write to your hard drive, so there's no reason that I know of for AdwCleaner to complain about a Google Chrome extension.

I might add that AdwCleaner is absolutely filled with false positives. Take a look at this: https://imgur.com/a/gnsmJ
I changed all of these settings myself. AdwCleaner wants to reset everything to defaults.


Add special_route example

This commit adds an example of the special_route format. This format isn't rendered but rendering apps do need to handle it now that content-store will fall through to the first prefix route that it finds
if a specific content item is not found.
e.g. /government/i-dont-exist will return the /government special_route item.
Having this example will allow us to test for this and handle it properly.

Is this example an exact replica of https://www.gov.uk/api/content/government?

Yes


New-FileCatalog -Whatif creates 0-byte .cat file

Using -Whatif with new-filecatalog creates a 0-byte .CAT file.
Expected Behavior
Expected behavior is that -Whatif should have no impact on the system, so that removing -Whatif and replaying the command will succeed.
Current Behavior
Current behavior prevents replaying the command without -Whatif because the 0-byte .Cat file is present.
That file cannot be over-written without adding .Force, so replaying the command fails.
Possible Solution
No .Cat file should be created if -Whatif is specified.
Your Environment

$PSVersionTable
Name                           Value

PSVersion                      5.1.14393.693
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.693
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Get-Command new-filecatalog
Cmdlet: New-FileCatalog        <IP_ADDRESS>
Microsoft.PowerShell.Security

@JKeithB New-FileCatalog cmdlet is part of PS/PS repo. Please move this issue to PS/PS repo.


[Quick Start Guide] Link should be corrected to direct to twitter page

Description:
See below, the link given is direct the user to "https://ballerina.io/" page currently.
It should be corrected to direct to twitter page (https://apps.twitter.com/)

Affected Versions:
0.970.0

Duplicate #8325


Feat: create redirects for logo files

Closes #168
/logo-dark goes to the logo with dark text
/logo-light goes to the logo with light text

Preview:
https://deploy-preview-235--compilerla.netlify.app/logo-dark
https://deploy-preview-235--compilerla.netlify.app/logo-light


Misc doc changes

Besides other documentation changes, this commit ensures the generated
HTML doc for HexDocs.pm will become the source of truth for this Elixir
library and leverage on latest features of ExDoc.
Screenshot:

@thalesmg Should I resolve the sourceleve-bot issue and resubmit the PR again?

@kianmeng I recommend asking @nirev , the new maintainer. :slightly_smiling_face:

@thalesmg Noted, and thanks.

hey, @kianmeng
I just had a look at this. would you mind fixing the source level warnings and resubmitting?
thank you!


server side pagination?

Hi I've been searching for a while, and don't see any example on configurating streamlit-aggrid to use server side data source.
https://www.ag-grid.com/react-data-grid/server-side-model/
Is it possible at the moment?

I don't think it is possible at the moment, as it requires setting up backend, and it is not that simple with streamlit model


Use -- delimeter for a modifier by Harry Roberts

Changes from PR #47 back here.

For some reason levels/pages/building/building.jade still exists in the repo. Did you remove the link only?

I dont clear remember. prob I removed links and remove building from build step

lgtm

/cc @getbem/getbem-com

:+1:

btw, should we have a note about standard notation?

Can update tomorrow

I think we can merge it now, and add note about standart notation tomorrow