[Mobile Android] Profile | Website icon (for personal website) is missing

Device/OS/Browser: OnePlus 7 Pro / OS10 / Chrome
Steps to Reproduce:

Log in as a user on staging.fightpandemics.work
Go to Profile page
Click on edit, and fill out Personal Website field, and click "Save Changes"

Expected Result: User returns to Profile page and sees website icon for personal website
Actual Result: User sees a smiley face for personal website

This is a duplicate from #1043 and has been resolved already. Please check on staging (make sure you are in incognito/private or clean your cache and cookies).


UNTRANSLATED and UIString in interfaces

dlangui puts this in UIStrings which are not translated.
But what if I need to show arbitrary text that comes from other source? UIString in interfaces prevents me from doing this without this "UNTRANSLATED" prefix.
E.g. I want to show OS error in message box, but it uses UIString for message. I can't know all messages that may come from OS and actually they may come already translated (e.g. by libc).
Usage of translations should be optional, not forced.

Ok I got it. If UIString is constructed from char string, this char string considered to be id. If it's constructed from dstring, then it's raw text.
I think constructors with different meaning depending on encoding is bad design. Would be better to have UIString created as raw text from string. For id-based strings UIString can have static method like UIString.fromId or UIString.localized. This also would make it explicit.

Added UIString.fromId() and UIString.fromRaw().
I think deprecating of constructors would be inconvenient.

Deprecating would help to find all usages of constructors in the library code itself.

Also would be useful to have fromRaw overload that takes string, not dstring. Just to be compatible with phobos and other libraries that mostly use char string.
By the way can you explain the reasoning behind storing all gui strings as dstring?

Don't deprecated method calls cause failed build by default?

added fromRaw(string) overload

Deprecation is just a warning unless you use -de flag.

Done. I just hope nothing will break after this change.


Add cli for targets

Replaces #28
We don't use productization for vmbuild.rb so this PR removes productization for vmbuild.rb, thereby deleting the targets.yml, and instead exposes them as CLI options.

ugh, could spend a month in here "fixing it"
@Fryguy is this good enough. ship it?

@kbrock I have a few more things I want to fix, I'll mark it wip and get it cleaned up today/tomorrow.  I want to get it in so @carbonin can write tests.

the only suggestion I have is to use a factor: Build.get_target(name) or Target.find_by_name(name)
Target seems like a simple struct with hardcoded values. With a struct, this all could be done w/ 10 lines of code.

@kbrock @Fryguy Ok, rebased, and used a struct to simplify the Target class a bit.  Should I do a gemspec instead of a gemfile here? Anything else?

It's not a gem, so no on the gemspec.

My only comment is to use eq not eql.  eql maps to Ruby eql? and eq maps to Ruby ==


Add update payload to valid chain conformance tests

Bump to the latest version of cardano-ledger-specs.
Elaborate the constants used to calculate the minimum fee.
Fix delegation-certificate scheduling: we were adding certificates at the front of the list, instead of at the back.
Update updateDelegation to conform to the DELEG rule.
Preserve injectivity constraint when activating a delegation by ignoring the delegation.
Change application versions map on empty votes as well.
Change the constant needed to elaborate maximum blocks sizes. The constant needs to be greater or equal than the one used to elaborate maximum transaction sizes, otherwise the conformance tests won't pass, since valid models will be invalid due to proposals where the maximum (concrete) transaction size is larger than the maximum (concrete) block size.
Add examples scaffolding to aid debugging.
Adapt to vanishing of cfmThd in CLS
Adopt the software version only considering stable and confirmed proposal. We adapted the spec, but didn't adapt the implementation.

Closes #536

bors r+


How do you run the tests?

My team and I have been working on a project using Starscream, and we've had to make some minor modifications for our use case, as well as some bug fixes. We were hoping to submit some of those changes for a pull request. I wanted to run the tests before submitting, but I'm having trouble getting the tests to pass, even before applying the changes we've made. Can you explain how to run the test suite for this project?
I noticed the project is using the Autobahn test suite, so I set that up and ran the AutobahnTest project. However, I'm noticing some failures on test cases, so I'm not sure what I'm doing wrong. There was no information on what mode to run the wstest command provided by the Autobahn test suite, so I tried wstest -m fuzzingserver and it seemed to work: some, but not all, of the test cases pass. Am I doing something wrong? Are there some outstanding issues with getting the library to pass all of the Autobahn test cases?
Thanks!

What test are failing? Running the fuzzing server is correct. Every once and while, some of the test will fail at random. Maybe like one or two, but it is never consistent which ones will fail, if any. Have you looked at AutobahnTest in the examples folder?

@acmacalister I ran the fuzzing server and AutobahnTest twice. The first run, I saw 249 failures out of 519 cases. The second time, I saw 250. They're not the same tests. Is this consistent with what you're seeing on your end? (I'm guessing it's not...)

Ah, this is our fault with the logging in the Autobahn tester app. The results we check are under client reports at http://localhost:8080. The logging on that test app wasn't finished to handle all the cases so it will print failures for tests that aren't implemented (the compression ones of 12 & 13).
TLDR;
check http://localhost:8080 for results instead of this print in the autobahn tester app 😄.


keep alive with upstream

I found chproxy closes each connection with upstream server very soon, like within a second.  With hundreds and thousands of concurrent requests, available ports can be easily run out - since most of them would be at TIME_WAIT state.
Can we import some connection pool sort of ideas to keep a custom number of active connections with upstream servers, or set a custom keep alive time with upstream server for each cluster, or honor the CH keep alive time in the response headers?

Hi @slimtom95 !
Chproxy supports keep-alive from client to proxy, but not from clients to CH. This is because it uses standard golang reverse-proxy implementation which satisfies the HTTP standard. Pls see more here https://golang.org/src/net/http/httputil/reverseproxy.go#L142

Thanks for the clarification. Finally found that my problem could be solved by adding followings(with side-effects):
http.DefaultTransport.(*http.Transport).MaxIdleConns = 500
http.DefaultTransport.(*http.Transport).MaxIdleConnsPerHost = 100

Refered to
link


Uploading bin files

Hello there,
Directions are not very clear on what files to upload...
I'm up to here

but then what bin file(s) I load etc it get very vague...
Even if I want to try the esp32 download tool the documentation points to google drive rather than here

happy to help with clarifying documentation process if needed.
Thanks!

You need to install the ES32 download tool (for a Windows system) :
https://www.espressif.com/en/support/download/other-tools
If you connect the T5 board over USB, it should be recognized as a “virtual serial port” in Windows. If not, you need to install the correct driver.
Then, you have to download the “Flash Bin files” : https://github.com/RP6conrad/ESP-GPS-Logger/tree/master/Flash_Bin_files
These flash bin files are only needed the first time the board is flashed.
Then you dowload the bin file with the latest sw, here you need to know which kind of e-paper : B73, BN or B74 : https://github.com/RP6conrad/ESP-GPS-Logger/tree/master
Choose the latest SW version in the Bin_Files_Bxx folder (now SW5.61).
You now have downloaded 4 files, these you needed in your download tool. After choosing these files, and setting the adresses, you can flash the T5 board over usb.
Thats it, normally it should work.
Let me know if you have problems !!
Greetings, Jan.
Verzonden vanuit Mail voor Windows
Van: Rolzzz
Verzonden: vrijdag 9 december 2022 6:16
Aan: RP6conrad/ESP-GPS-Logger
CC: Subscribed
Onderwerp: [RP6conrad/ESP-GPS-Logger] Uploading bin files (Issue #11)
Hello there,
Directions are not very clear on what files to upload...
I'm up to here
but then what bin file(s) I load etc it get very vague...
Even if I want to try the esp32 download tool the documentation points to google drive rather than here
happy to help with clarifying documentation process if needed.
Thanks!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hi Jan,
Thanks for the quick response!
Hopefully last silly question, how do I tell the e-paper differences?
is this what I'm looking for?

I tried it, but I'm not seeing anything on the screen... my finish screen is blue, not green like your documentation

What hardware do you use? It looks like you have a separate screen of 2.66inch?!?
This is what I use (see attached photo). When you receive the unit, it is listed on the bottom.
Simon
Verzonden vanaf mijn Galaxy
-------- Oorspronkelijk bericht --------
Van: Rolzzz @.>
Datum: 09-12-2022 10:03 (GMT+01:00)
Aan: RP6conrad/ESP-GPS-Logger @.>
Cc: Subscribed @.***>
Onderwerp: Re: [RP6conrad/ESP-GPS-Logger] Uploading bin files (Issue #11)
Hi Jan,
Thanks for the quick response!
Hopefully last silly question, how do I tell the e-paper differences?
is this what I'm looking for?
[image]https://user-images.githubusercontent.com/29428938/206661283-4f8a260e-5a28-4735-9943-6a49953bea18.png
I tried it, but I'm not seeing anything on the screen... my finish screen is blue, not green like your documentation
[image]https://user-images.githubusercontent.com/29428938/206664944-ecb2f14b-ed6e-4c57-94a7-c8225304d88b.png
—
Reply to this email directly, view it on GitHubhttps://github.com/RP6conrad/ESP-GPS-Logger/issues/11#issuecomment-1344033120, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXUAXP7RMWUB4FNZEHNOW6LWMLYWRANCNFSM6AAAAAASY5XU2I.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

What hardware do you use? It looks like you have a separate screen of 2.66inch?!? This is what I use (see attached photo). When you receive the unit, it is listed on the bottom. Simon Verzonden vanaf mijn Galaxy
…
-------- Oorspronkelijk bericht -------- Van: Rolzzz @.> Datum: 09-12-2022 10:03 (GMT+01:00) Aan: RP6conrad/ESP-GPS-Logger @.> Cc: Subscribed @.> Onderwerp: Re: [RP6conrad/ESP-GPS-Logger] Uploading bin files (Issue #11) Hi Jan, Thanks for the quick response! Hopefully last silly question, how do I tell the e-paper differences? is this what I'm looking for? [image]https://user-images.githubusercontent.com/29428938/206661283-4f8a260e-5a28-4735-9943-6a49953bea18.png I tried it, but I'm not seeing anything on the screen... my finish screen is blue, not green like your documentation [image]https://user-images.githubusercontent.com/29428938/206664944-ecb2f14b-ed6e-4c57-94a7-c8225304d88b.png — Reply to this email directly, view it on GitHub<#11 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXUAXP7RMWUB4FNZEHNOW6LWMLYWRANCNFSM6AAAAAASY5XU2I. You are receiving this because you are subscribed to this thread.Message ID: @.>

Hi Simon,
I accidentally ordered this one...
https://www.aliexpress.com/item/1005002474854718.html
Tip - do not jump onto aliexpress after too many beers...
So whilst I now wait for the proper one I thought I'd get my head around process...
I had hoped it was all compatible, guess not...
Will have to shelve this one for something else once I get familiar with how the esp32 all work.

On a new T5 screen, it is on the left bottom. If you have a totally different screen, chances are high that the screen will not work. It has to compiled with another library. Can you give me more info about the screen used ? I can see for the library. Verzonden vanuit Mail voor Windows Van: Freezer-SD Verzonden: vrijdag 9 december 2022 10:10 Aan: RP6conrad/ESP-GPS-Logger CC: RP6conrad; Comment Onderwerp: Re: [RP6conrad/ESP-GPS-Logger] Uploading bin files (Issue #11) What hardware do you use? It looks like you have a separate screen of 2.66inch?!? This is what I use (see attached photo). When you receive the unit, it is listed on the bottom. Simon Verzonden vanaf mijn Galaxy
…
-------- Oorspronkelijk bericht -------- Van: Rolzzz @.> Datum: 09-12-2022 10:03 (GMT+01:00) Aan: RP6conrad/ESP-GPS-Logger @.> Cc: Subscribed @.> Onderwerp: Re: [RP6conrad/ESP-GPS-Logger] Uploading bin files (Issue #11) Hi Jan, Thanks for the quick response! Hopefully last silly question, how do I tell the e-paper differences? is this what I'm looking for? [image]https://user-images.githubusercontent.com/29428938/206661283-4f8a260e-5a28-4735-9943-6a49953bea18.png I tried it, but I'm not seeing anything on the screen... my finish screen is blue, not green like your documentation [image]https://user-images.githubusercontent.com/29428938/206664944-ecb2f14b-ed6e-4c57-94a7-c8225304d88b.png — Reply to this email directly, view it on GitHub<#11 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXUAXP7RMWUB4FNZEHNOW6LWMLYWRANCNFSM6AAAAAASY5XU2I. You are receiving this because you are subscribed to this thread.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

this is what it looked like prior to turning it on... and I realised it was the wrong one

I will try to find the correct lib for this board. You can try to flash it with a bin file for another screen, everything should word, except the screen.
In the mean time, I search for the lib.
Verzonden vanuit Mail voor Windows
Van: Rolzzz
Verzonden: vrijdag 9 december 2022 10:25
Aan: RP6conrad/ESP-GPS-Logger
CC: RP6conrad; Comment
Onderwerp: Re: [RP6conrad/ESP-GPS-Logger] Uploading bin files (Issue #11)
On a new T5 screen, it is on the left bottom. If you have a totally different screen, chances are high that the screen will not work. It has to compiled with another library. Can you give me more info about the screen used ? I can see for the library. Verzonden vanuit Mail voor Windows Van: Freezer-SD Verzonden: vrijdag 9 december 2022 10:10 Aan: RP6conrad/ESP-GPS-Logger CC: RP6conrad; Comment Onderwerp: Re: [RP6conrad/ESP-GPS-Logger] Uploading bin files (Issue #11) What hardware do you use? It looks like you have a separate screen of 2.66inch?!? This is what I use (see attached photo). When you receive the unit, it is listed on the bottom. Simon Verzonden vanaf mijn Galaxy
…
-------- Oorspronkelijk bericht -------- Van: Rolzzz @.> Datum: 09-12-2022 10:03 (GMT+01:00) Aan: RP6conrad/ESP-GPS-Logger @.> Cc: Subscribed @.> Onderwerp: Re: [RP6conrad/ESP-GPS-Logger] Uploading bin files (Issue #11) Hi Jan, Thanks for the quick response! Hopefully last silly question, how do I tell the e-paper differences? is this what I'm looking for? [image]https://user-images.githubusercontent.com/29428938/206661283-4f8a260e-5a28-4735-9943-6a49953bea18.png I tried it, but I'm not seeing anything on the screen... my finish screen is blue, not green like your documentation [image]https://user-images.githubusercontent.com/29428938/206664944-ecb2f14b-ed6e-4c57-94a7-c8225304d88b.png — Reply to this email directly, view it on GitHub<#11 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXUAXP7RMWUB4FNZEHNOW6LWMLYWRANCNFSM6AAAAAASY5XU2I. You are receiving this because you are subscribed to this thread.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
this is what it looked like prior to turning it on... and I realised it was the wrong one
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

It is the wrong type. Perhaps it can work with the right screen driver (Jan might find it) but it will not fit the 3D case I see on the picture since it is for the 2.13" screen:
http://www.lilygo.cn/prod_view.aspx?TypeId=50061&Id=1393&FId=t3:50061:3
So depending on your choice forward, either get the right 2.13" epaper screen. I use the GDEM0213B74 display. Or see if you can get this board working, but you need a larger case.
-------- Oorspronkelijk bericht --------
Van: Rolzzz @.>
Datum: 09-12-2022 10:25 (GMT+01:00)
Aan: RP6conrad/ESP-GPS-Logger @.>
Cc: Freezer-SD @.>, Comment @.>
Onderwerp: Re: [RP6conrad/ESP-GPS-Logger] Uploading bin files (Issue #11)
On a new T5 screen, it is on the left bottom. If you have a totally different screen, chances are high that the screen will not work. It has to compiled with another library. Can you give me more info about the screen used ? I can see for the library. Verzonden vanuit Mail voor Windows Van: Freezer-SD Verzonden: vrijdag 9 december 2022 10:10 Aan: RP6conrad/ESP-GPS-Logger CC: RP6conrad; Comment Onderwerp: Re: [RP6conrad/ESP-GPS-Logger] Uploading bin files (Issue #11https://github.com/RP6conrad/ESP-GPS-Logger/issues/11) What hardware do you use? It looks like you have a separate screen of 2.66inch?!? This is what I use (see attached photo). When you receive the unit, it is listed on the bottom. Simon Verzonden vanaf mijn Galaxy
…
-------- Oorspronkelijk bericht -------- Van: Rolzzz @.> Datum: 09-12-2022 10:03 (GMT+01:00) Aan: RP6conrad/ESP-GPS-Logger @.> Cc: Subscribed @.> Onderwerp: Re: [RP6conrad/ESP-GPS-Logger] Uploading bin files (Issue #11https://github.com/RP6conrad/ESP-GPS-Logger/issues/11) Hi Jan, Thanks for the quick response! Hopefully last silly question, how do I tell the e-paper differences? is this what I'm looking for? [image]https://user-images.githubusercontent.com/29428938/206661283-4f8a260e-5a28-4735-9943-6a49953bea18.png I tried it, but I'm not seeing anything on the screen... my finish screen is blue, not green like your documentation [image]https://user-images.githubusercontent.com/29428938/206664944-ecb2f14b-ed6e-4c57-94a7-c8225304d88b.png — Reply to this email directly, view it on GitHub<#11 (comment)https://github.com/RP6conrad/ESP-GPS-Logger/issues/11#issuecomment-1344033120>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXUAXP7RMWUB4FNZEHNOW6LWMLYWRANCNFSM6AAAAAASY5XU2I. You are receiving this because you are subscribed to this thread.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
this is what it looked like prior to turning it on... and I realised it was the wrong one
[image]https://user-images.githubusercontent.com/29428938/206669228-7e6b8a8a-d72f-4946-b15e-0bebfbcf3d20.png
—
Reply to this email directly, view it on GitHubhttps://github.com/RP6conrad/ESP-GPS-Logger/issues/11#issuecomment-1344061426, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXUAXP5WPSV5VGDCLVQLGYLWML3KHANCNFSM6AAAAAASY5XU2I.
You are receiving this because you commented.Message ID: @.***>

Can you try with this bin file ? Compiled with the GxDEPG0266BN library. This should work, although not the complete screen will be used, as everything now has a layout for 244*122 pixels.
Greetings, Jan.
Verzonden vanuit Mail voor Windows
Van: Rolzzz
Verzonden: vrijdag 9 december 2022 10:25
Aan: RP6conrad/ESP-GPS-Logger
CC: RP6conrad; Comment
Onderwerp: Re: [RP6conrad/ESP-GPS-Logger] Uploading bin files (Issue #11)
On a new T5 screen, it is on the left bottom. If you have a totally different screen, chances are high that the screen will not work. It has to compiled with another library. Can you give me more info about the screen used ? I can see for the library. Verzonden vanuit Mail voor Windows Van: Freezer-SD Verzonden: vrijdag 9 december 2022 10:10 Aan: RP6conrad/ESP-GPS-Logger CC: RP6conrad; Comment Onderwerp: Re: [RP6conrad/ESP-GPS-Logger] Uploading bin files (Issue #11) What hardware do you use? It looks like you have a separate screen of 2.66inch?!? This is what I use (see attached photo). When you receive the unit, it is listed on the bottom. Simon Verzonden vanaf mijn Galaxy
…
-------- Oorspronkelijk bericht -------- Van: Rolzzz @.> Datum: 09-12-2022 10:03 (GMT+01:00) Aan: RP6conrad/ESP-GPS-Logger @.> Cc: Subscribed @.> Onderwerp: Re: [RP6conrad/ESP-GPS-Logger] Uploading bin files (Issue #11) Hi Jan, Thanks for the quick response! Hopefully last silly question, how do I tell the e-paper differences? is this what I'm looking for? [image]https://user-images.githubusercontent.com/29428938/206661283-4f8a260e-5a28-4735-9943-6a49953bea18.png I tried it, but I'm not seeing anything on the screen... my finish screen is blue, not green like your documentation [image]https://user-images.githubusercontent.com/29428938/206664944-ecb2f14b-ed6e-4c57-94a7-c8225304d88b.png — Reply to this email directly, view it on GitHub<#11 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXUAXP7RMWUB4FNZEHNOW6LWMLYWRANCNFSM6AAAAAASY5XU2I. You are receiving this because you are subscribed to this thread.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
this is what it looked like prior to turning it on... and I realised it was the wrong one
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

I am just hoping to use this one to familiarise myself with how all things esp32 (arduino?) work... been into Linux and RaspberryPi's for a number of years and thought this would be a great way to learn these units.
I'm so used to having an ssh console with logs or even just screen dumps rolling over so I can understand whats going on...
here it seems I'm just looking at a blinking green light to give me an indication of whats going on... it's all very new to me.
Please don't waste any time on this... I'll just wait for the correct (smaller) version to arrive.

Can you give me your email, then I send you the correct bin file. Dont think this is possible over github....
I couldn't find the bin file u were mentioning :)

rrschmid_at_gmail_dot_com

thanks for sending file @RP6conrad but still no joy...  sadly without access to a console or log file I'm really powerless to know what is going on with these units... is the process even working, am I doing it correctly at all? No idea... 😢

If the ESP32 is booted, you can try to connect to the “Acces Point” : just see to al the Wifi SSID and search for ESP32AP. Connect with password “password” en go with a browser to IP <IP_ADDRESS>
This works for the first 120s after boot, if no config file is present.
Greetings, Jan.
Verzonden vanuit Mail voor Windows
Van: Rolzzz
Verzonden: vrijdag 9 december 2022 12:26
Aan: RP6conrad/ESP-GPS-Logger
CC: RP6conrad; Mention
Onderwerp: Re: [RP6conrad/ESP-GPS-Logger] Uploading bin files (Issue #11)
thanks for sending file @RP6conrad but still no joy... sadly without access to a console or log file I'm really powerless to know what is going on with these units... is the process even working, am I doing it correctly at all? No idea... 😢
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Do you have the T-U2T interface for this board ? This is necessary for connect to your PC !! This is the usb-serial converter !
I guess you have this board :
https://nl.aliexpress.com/item/1005002474854718.html
Greetings, Jan.
Verzonden vanuit Mail voor Windows
Van: Rolzzz
Verzonden: vrijdag 9 december 2022 12:26
Aan: RP6conrad/ESP-GPS-Logger
CC: RP6conrad; Mention
Onderwerp: Re: [RP6conrad/ESP-GPS-Logger] Uploading bin files (Issue #11)
thanks for sending file @RP6conrad but still no joy... sadly without access to a console or log file I'm really powerless to know what is going on with these units... is the process even working, am I doing it correctly at all? No idea... 😢
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Do you have the T-U2T interface for this board ? This is necessary for connect to your PC !! This is the usb-serial converter ! I guess you have this board : https://nl.aliexpress.com/item/1005002474854718.html Greetings, Jan. Verzonden vanuit Mail voor Windows Van: Rolzzz Verzonden: vrijdag 9 december 2022 12:26 Aan: RP6conrad/ESP-GPS-Logger CC: RP6conrad; Mention Onderwerp: Re: [RP6conrad/ESP-GPS-Logger] Uploading bin files (Issue #11) thanks for sending file @RP6conrad but still no joy... sadly without access to a console or log file I'm really powerless to know what is going on with these units... is the process even working, am I doing it correctly at all? No idea... 😢 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Yes I have this board and the usb/serial converter... I can see the ESP32AP wifi AP but cannot connect to it.
Tried off my computer and iphone but no luck... is there anyway to upload the config.txt file? Do I need to use this method?
https://docs.google.com/document/d/1jIxAyi6wQ-Z860W548Xg--x6Ld8MBHJh7SCCWhSgnAs/edit?usp=sharing
I got it up and going but had no idea what files to upload

Hi
You can Upload the config.txt to your SD Card by copy the File on your Computer. Or if you connected to the AP you can enter the IP <IP_ADDRESS> in your connected device in the Browser of your choice and there your able to Change your current config.
greets

yeah tried all that but no luck... closing case and will try again when I get a supported device.


syntax highliting for deleted programs

Run rehash when you delete a program.

@danielshahaf same problem!

Works for me. Please give reproduction instructions starting with zsh -f using no external dependencies and show the output of typeset -p ZSH_VERSION ZSH_PATCHLEVEL ZSH_HIGHLIGHT_REVISION ZSH_HIGHLIGHT_VERSION.

by the way lb is loopback3 CLI for creating apps.
I deleted node and npm and reinstalled with nvm. so all the installed packages and their commands should be gone but I find that lb command still has syntax highlighting.

I still need the information I requested in my last comment:

Reproduction instructions that start by invoking zsh -f, end by demonstrating the bug, and are runnable on my workstation (hence, they should depend on nothing but zsh and standard POSIX commands).
The output of the above command at the point where the bug reproduces.

And for future reference, please do not send screenshots when copy-pasting the contents of the terminal would be better.


Site broken

The tag twitter on line 73 in _posts/2020-01-14-welcome.md is not a recognized Liquid tag.
Getting this error, getting other errors after removing line 73, mostly twitter not working

@FReeshabh  are you using the most up to date version of this repo?  I no longer have a post called 2020-01-14-welcome.md.  This repo is being developed rapidly so it could be this was previously addressed or fixed.
The current version in master is rendering tweetcards correctly.  I'll close this for now, please reopen if you are able to reproduce this from the current version .
🙇  thank you!

P.S. Cool Blog, https://freeshabh.github.io/ BTW!  If you do manage to use this template successfully especially with Jupyter please let me know!

@FReeshabh I just realized you are using fast_template for your blog.  Please keep in mind that fastpages is a separate project and features here may not work with fast_template.  I suggest you fork this repo for your blog instead if you want these additional features.

@hamelsmu I switched back by to fast template. I'm gonna try to use fastapges, maybe I didn't do it correctly earlier. I'll update back

I realize this is closed, but I get essentially the same error with a fresh checkout of the latest version of the fastpages repo, so thought I'd post here:
"Your site is having problems building: The tag twitter on line 73 in _posts/2020-01-14-test-markdown-post.md is not a recognized Liquid tag. For more information, see https://help.github.com/en/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites#unknown-tag-error."
I can open a new Issue if you prefer.
My cloned fastpages repo is https://github.com/drscotthawley/devblog2

Hi @drscotthawley this is your error: https://github.com/drscotthawley/devblog2/runs/449901792?check_suite_focus=true#step:5:901
Something about an embedded picture that is causing problems in your notebook conversion.  I’ll take a look at this sometime next week.

Oh wow, we were working at the exact same time tonight!   The error you mentioned just now is after installing some new posts -- I just opened an issue on that seconds ago!
But when I wrote on this issue above, it was a brand-new check-out of the repository, with no other posts but the original one (which was giving the twitter error.)

Oh in that case, I believe your first error is user error: https://github.com/drscotthawley/devblog2/runs/449804933?check_suite_focus=true#step:8:13
You forgot to set the deploy key?  If so please close this issue

I know why this happens, it is because when you first check out the template, GitHub makes an initial commit to master, this triggers the entire workflow right away, before you have a chance to set anything up.  You get an error initially, but then after you fix everything the error goes away.
I should re-arrange the order of the setup steps so this goes away.  I’m working on a solution right now that will automate all the setup steps and this problem will then go away, hopefully.
We should leave this issue open

Ah, ok!  Thanks.  I have re-added your original markdown post, and confirmed that it builds correctly with the original twitter tag as you have it.
(I temporarily removed the notebook file that was causing other problems.)

I changed the ordering of the setup instructions if anyone wants to go ahead and give it a shot.  The new ordering of steps should avoid confusing error messages.

I'm still getting this error:
1_see-page-build-payload.txt
my cloned repo: https://github.com/DataLovecraft/DataLovecraft.github.io
For step 1, in deploying your ssh, 'Make sure you select Allow write access when adding this key to your GitHub account.'
Do I need a specific name? or can I name it anything, and this is where the public key goes?

https://github.com/fastai/fastpages/pull/69 will close this PR, we are rebuilding the setup process to make it easier to follow.


TitleBarButton foreground  color is incorrect

Describe the bug
Before I put the mouse on it, the titlebar buttons are unclear
To Reproduce
Before I put the mouse on it, the titlebar buttons are unclear
Expected behavior
The color of foreground buttons does not need to change with mouseover
Screenshots

OS version
Windows 11 23H2
.NET version
.net framework 4.7.2
WPF-UI NuGet version
3.0.3
Additional context
No response

looks like it's already fixed (#1017).


Use Runtime.getRuntime.halt() to stop JVM reliably if System.exit() c…

Use Runtime.getRuntime.halt() to stop JVM reliably if System.exit() can't exit timely

Current coverage is 45.66%

Merging #202 into master will not affect coverage as of e11d8ea

@@            master    #202   diff @@
======================================
  Files           44      44
  Stmts         4110    4110
  Branches       379     379
  Methods          0       0
======================================
  Hit           1877    1877
  Partial        120     120
  Missed        2113    2113

Review entire Coverage Diff as of e11d8ea

Powered by Codecov. Updated on successful CI builds.


ctrl-c in terminal

Issue Type: Feature Request
Please make ctrl-c clears text entered in terminal.
e.g. if you accidentally enter (paste) some text you have to delete it using backspace.
VS Code version: Code 1.34.0 (a622c65b2c713c890fcf4fbf07cf34049d5fe758, 2019-05-15T21:59:37.030Z)
OS version: Windows_NT x64 10.0.17134

This looks like an issue with our old terminal backend "winpty", going forward we are focusing our efforts on the new backend "conpty" which is build by the Console team at Microsoft and should fix many issues with the terminal under Windows. You can read more about getting ConPTY here.
/duplicate https://github.com/Microsoft/vscode/issues/45693


treewide/nixos: remove with lib; part 4

Description of changes
part of #208242
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@Stunkymonkey -- unlike part 3, I did review this.

@philiptaron thanks for reviewing. sorry I was ill for a few days.
I still have to improve the commit messages for all commits.
should i split the bigger commits into separate PRs?

These are tough because you can't just review the diff, you have to review the whole file to ensure nothing escaped getting lib. in front. What's your approach to reviewing?
I usually go through these manually but 150 files is a fairly large chunk

Apologies @philiptaron, I realised I neglected to reply here. I'm much slower at reviewing and don't really have several hours to work through it. And in any case, as I left nixpkgs, please don't consider my lack of review as a blocker.

I rebased the pull request since it has been open for quite a while.

Re-basing found one bug.

@Mic92 @Stunkymonkey was the same broken script used as in the PRs before?

I don't know what script was used here.

It looks like the change to nixos/modules/services/networking/cloudflared.nix:276 is wrong. It was changed to lib.filterConfig, but filterConfig is defined on line 268 and is probably what was intended to be used. There are several other changes to lib.filterConfig in that file as well.
Error when evaluating:
</snip>
         at /nix/store/zp7936gnwcnls8vc9das6a9c8307gn74-source/lib/strings.nix:2322:18:

         2321|   */
         2322|   isStringLike = x:
             |                  ^
         2323|     isString x ||

       error: attribute 'filterConfig' missing

       at /nix/store/zp7936gnwcnls8vc9das6a9c8307gn74-source/nixos/modules/services/networking/cloudflared.nix:276:26:

          275|
          276|             fullConfig = lib.filterConfig {
             |                          ^
          277|               tunnel = name;

I diffed the diff with actual lib functions:
% diff /tmp/func /tmp/actual | grep '-'
--- /tmp/func   2024-09-16 20:55:18.978511697 +0200
+++ /tmp/actual 2024-09-16 20:54:46.727947889 +0200
@@ -1,136 +1,445 @@
-anymore."
-attrsets.filterAttrsRecursive
-attrsets.mapAttrsToList
-cli.toGNUCommandLineShell
-escapeStr
-escapeSystemdPath
-escapeUnitName
-filterConfig
-filterForward
-generators.mkKeyValueDefault
-generators.mkValueStringDefault
-generators.toINI
-generators.toKeyValue
-maintainers.bachp
-maintainers.joachifm
-maintainers.markuskowa
-maintainers.phfroidmont
-modules.mkAliasAndWrapDefsWithPriority
-nixosSystem
-systems`
-systems.elaborate
-systems.equals
-systems.examples.aarch64-multiplatform''
-systems.parsedPlatform
-teams.beam.members
-teams.freedesktop.members
-teams.jitsi.members
-teams.pantheon.members
-types.anything
-types.attrs
-types.attrsOf
-types.bool
-types.commas
-types.either
-types.enum
-types.functionTo
-types.int
-types.ints.between
-types.ints.positive
-types.lines
-types.listOf
-types.nonEmptyListOf
-types.nullOr
-types.oneOf
-types.package
-types.path
-types.path.check
-types.pkgs
-types.port
-types.separatedString
-types.str
-types.submodule
-types.unspecified

Looks like those are wrong:
-escapeStr
-escapeSystemdPath
-escapeUnitName
-filterConfig
-filterForward

was already fixed.

Looks like they got fixed except for https://github.com/NixOS/nixpkgs/pull/342370

This is how I computed the diff to prevent this issue in future:
git diff a15394d51a40315f749ee87728a2e5b6461456f3..b4b8ef5bb6f1d8b31aedf33b0962fd31fc2e09a9 | grep -o -E 'lib\.[^ ;)]+' | sed -e 's/lib\.//' | sort -u > /tmp/func
nix eval --json -f . --apply builtins.attrNames lib | jq -r '.[]' | sort -u > /tmp/actual
diff /tmp/func /tmp/actual | grep '-'


Barcode Not Scanning on Lower-end phones

Hi,
I'm having an issue with scanning barcodes on low-end phones. The scanner opens fine and am not having any build issues, the scanner simply does not pick up the barcode.
On higher end phones everything works perfectly. Is there a minimum requirement for the camera quality? My use-case specifically requires that I cater for low-end phones.
I'm using version 1.0.0 of the plugin.
Thanks in advance for any help.

This is a common problem using Huawei P8 and P8-lite, P9 and P9-lite

Hi @campioncino,
Thanks for the feedback. I'm aware of the issue with the Huawei devices you mentioned. However, the problem I'm experiencing occurs on the following devices which I've tested:
Mobicel R1 - https://www.hi-online.co.za/pdp/mobicel-r1-with-protective-cover/_/A-270085AADQ0;jsessionid=lQio8bH_m2Uh6IivP5SScCbhH36x5Z4RZcO2A09R.com03
Nokia 1 - https://www.gsmarena.com/nokia_1-9052.php
It seems the problem that occurs on the phones linked above is different from the problem with the Huawei devices. When testing with a Huawei P9 lite a black screen is displayed (as if the camera is inaccessible) but when testing with the other devices the camera works fine, the barcodes just aren't scanned.
Thanks again for your help.


mariadb stuck in read-only state

t=2016-08-11T17:11:28+0000 lvl=eror msg="error checking replication status" app=mariadb fn=waitForSync sync_name= start_time=2016-08-11T17:10:28+0000 master_log_pos=0-1684278542-159 slave_log_pos=0-1684278542-62 elapsed=1m0.173996396s err="downstream unable to make forward progress"
t=2016-08-11T17:11:28+0000 lvl=info msg="finished waiting for downstream replication" app=mariadb fn=waitForSync sync_name= start_time=2016-08-11T17:10:28+0000
t=2016-08-11T17:15:26+0000 lvl=info msg="discoverd peers" app=mariadb component=peer peers=3
t=2016-08-11T17:15:26+0000 lvl=dbug msg=moving app=mariadb component=peer
t=2016-08-11T17:15:26+0000 lvl=info msg="starting state evaluation" app=mariadb component=peer fn=evalClusterState
t=2016-08-11T17:15:26+0000 lvl=dbug msg="new peer" app=mariadb component=peer fn=evalClusterState async.id=8e276107-3f1d-4015-9af9-f58c0b7a773c async.addr=<IP_ADDRESS>:3306
t=2016-08-11T17:15:26+0000 lvl=info msg="updating list of asyncs" app=mariadb component=peer fn=startUpdateAsyncs
t=2016-08-11T17:15:26+0000 lvl=info msg="starting state evaluation" app=mariadb component=peer fn=evalClusterState
t=2016-08-11T17:15:26+0000 lvl=info msg="reconfiguring database" app=mariadb component=peer fn=applyConfig
t=2016-08-11T17:15:26+0000 lvl=info msg="nothing to do" app=mariadb fn=reconfigure reason="config already applied"
t=2016-08-11T17:15:26+0000 lvl=dbug msg="skipping start, already online" app=mariadb component=peer fn=applyConfig
t=2016-08-11T17:15:26+0000 lvl=info msg="applied database config" app=mariadb component=peer fn=applyConfig
t=2016-08-11T17:15:26+0000 lvl=info msg="skipping config apply, no changes" app=mariadb component=peer fn=applyConfig
t=2016-08-11T17:15:26+0000 lvl=dbug msg="at rest" app=mariadb component=peer fn=rest
t=2016-08-11T17:15:26+0000 lvl=info msg="got discoverd state" app=mariadb component=peer fn=handleDiscoverdState index=611 state=true
t=2016-08-11T17:15:26+0000 lvl=info msg="already have this state" app=mariadb component=peer fn=handleDiscoverdState index=611
t=2016-08-11T17:15:31+0000 lvl=info msg="discoverd peers" app=mariadb component=peer peers=4
t=2016-08-11T17:15:31+0000 lvl=dbug msg=moving app=mariadb component=peer
t=2016-08-11T17:15:31+0000 lvl=info msg="starting state evaluation" app=mariadb component=peer fn=evalClusterState
t=2016-08-11T17:15:31+0000 lvl=dbug msg="new peer" app=mariadb component=peer fn=evalClusterState async.id=9fe1ee0e-fd29-4916-b307-6c2a7cb74c45 async.addr=<IP_ADDRESS>:3306
t=2016-08-11T17:15:31+0000 lvl=info msg="updating list of asyncs" app=mariadb component=peer fn=startUpdateAsyncs
t=2016-08-11T17:15:32+0000 lvl=info msg="reconfiguring database" app=mariadb component=peer fn=applyConfig
t=2016-08-11T17:15:32+0000 lvl=info msg="nothing to do" app=mariadb fn=reconfigure reason="config already applied"
t=2016-08-11T17:15:32+0000 lvl=dbug msg="skipping start, already online" app=mariadb component=peer fn=applyConfig
t=2016-08-11T17:15:32+0000 lvl=info msg="applied database config" app=mariadb component=peer fn=applyConfig
t=2016-08-11T17:15:32+0000 lvl=info msg="starting state evaluation" app=mariadb component=peer fn=evalClusterState
t=2016-08-11T17:15:32+0000 lvl=info msg="skipping config apply, no changes" app=mariadb component=peer fn=applyConfig
t=2016-08-11T17:15:32+0000 lvl=dbug msg="at rest" app=mariadb component=peer fn=rest
t=2016-08-11T17:15:32+0000 lvl=info msg="got discoverd state" app=mariadb component=peer fn=handleDiscoverdState index=614 state=true
t=2016-08-11T17:15:32+0000 lvl=info msg="already have this state" app=mariadb component=peer fn=handleDiscoverdState index=614
2016-08-11 17:15:33<PHONE_NUMBER>21888 [Warning] IP address '<IP_ADDRESS>' could not be resolved: Name or service not known
2016-08-11 17:15:33<PHONE_NUMBER>21888 [Note] Start binlog_dump to slave_server(1684297787), pos(, 4)
2016-08-11 17:15:33<PHONE_NUMBER>21888 [Note] Start semi-sync binlog_dump to slave (server_id:<PHONE_NUMBER>), pos(, 4)
2016-08-11 17:19:40<PHONE_NUMBER>24992 [Warning] IP address '<IP_ADDRESS>' could not be resolved: Name or service not known
t=2016-08-11T18:40:54+0000 lvl=info msg="discoverd peers" app=mariadb component=peer peers=3
t=2016-08-11T18:40:54+0000 lvl=dbug msg=moving app=mariadb component=peer
t=2016-08-11T18:40:54+0000 lvl=info msg="starting state evaluation" app=mariadb component=peer fn=evalClusterState
t=2016-08-11T18:40:54+0000 lvl=dbug msg="peer missing" app=mariadb component=peer fn=evalClusterState async.id=8e276107-3f1d-4015-9af9-f58c0b7a773c async.addr=<IP_ADDRESS>:3306
t=2016-08-11T18:40:54+0000 lvl=info msg="updating list of asyncs" app=mariadb component=peer fn=startUpdateAsyncs
t=2016-08-11T18:40:54+0000 lvl=info msg="reconfiguring database" app=mariadb component=peer fn=applyConfig
t=2016-08-11T18:40:54+0000 lvl=info msg="nothing to do" app=mariadb fn=reconfigure reason="config already applied"
t=2016-08-11T18:40:54+0000 lvl=dbug msg="skipping start, already online" app=mariadb component=peer fn=applyConfig
t=2016-08-11T18:40:54+0000 lvl=info msg="applied database config" app=mariadb component=peer fn=applyConfig
t=2016-08-11T18:40:54+0000 lvl=info msg="skipping config apply, no changes" app=mariadb component=peer fn=applyConfig
t=2016-08-11T18:40:54+0000 lvl=info msg="starting state evaluation" app=mariadb component=peer fn=evalClusterState
t=2016-08-11T18:40:54+0000 lvl=dbug msg="at rest" app=mariadb component=peer fn=rest
t=2016-08-11T18:40:54+0000 lvl=info msg="got discoverd state" app=mariadb component=peer fn=handleDiscoverdState index=617 state=true
t=2016-08-11T18:40:54+0000 lvl=info msg="already have this state" app=mariadb component=peer fn=handleDiscoverdState index=617

https://gist.github.com/titanous/92b236671afa3d9d6f3f213d9e01843f has the logs and cluster state. I have the full debug-info available locally. Killing the leader made the cluster healthy again.
Thanks to @cromulus for reporting this.

@cromulus could you elaborate on what state the cluster was in before you killed the leader?
It's mentioned that the cluster was read-only but was this reflected in the status endpoint or the MariaDB system variable @@read_only or were writes hanging?
I am currently tracking down an upstream issue causing writes to hang here: #3197, if that is the behaviour you observed that is the most likely cause.

@cromulus could you elaborate on what state the cluster was in before you killed the leader?
It's mentioned that the cluster was read-only but was this reflected in the status endpoint or the MariaDB system variable @@read_only or were writes hanging?
I am currently tracking down an upstream issue causing writes to hang here: #3197, if that is the behaviour you observed that is the most likely cause.

The status endpoint showed read-only, and I believe that's a direct read of the @@read_only variable. I believe the cluster got into this state before it was used for anything, but I'm not certain, check the logs for activity.

I believe I've just run into this as well. Nothing out of the ordinary was happening when this triggered.

@michaelyork Please grab the debug-info for the cluster with sudo flynn-host collect-debug-info.

Memory seeming to be an issue exporting them:
root@flynn-1:~# flynn-host collect-debug-info
INFO[08-17|12:50:41] uploading logs and debug information to a private, anonymous gist
INFO[08-17|12:50:41] this may take a while depending on the size of your logs
INFO[08-17|12:50:41] getting flynn-host logs
INFO[08-17|12:50:41] getting scheduler state
INFO[08-17|12:50:41] getting job logs
INFO[08-17|12:53:06] getting system information
EROR[08-17|12:53:06] error capturing output of "ps faux"      err="fork/exec /bin/ps: cannot allocate memory"
EROR[08-17|12:53:06] error capturing output of "ifconfig"     err="fork/exec /sbin/ifconfig: cannot allocate memory"
EROR[08-17|12:53:06] error capturing output of "uname -a"     err="fork/exec /bin/uname: cannot allocate memory"
EROR[08-17|12:53:06] error capturing output of "lsb_release -a" err="fork/exec /usr/bin/lsb_release: cannot allocate memory"
EROR[08-17|12:53:06] error capturing output of "date"         err="fork/exec /bin/date: cannot allocate memory"
EROR[08-17|12:53:06] error capturing output of "free -m"      err="fork/exec /usr/bin/free: cannot allocate memory"
EROR[08-17|12:53:06] error capturing output of "df -h"        err="fork/exec /bin/df: cannot allocate memory"
EROR[08-17|12:53:06] error capturing output of "flynn-host version" err="fork/exec /usr/local/bin/flynn-host: cannot allocate memory"
EROR[08-17|12:53:06] error capturing output of "route -n"     err="fork/exec /sbin/route: cannot allocate memory"
EROR[08-17|12:53:06] error capturing output of "iptables -L -v -n --line-numbers" err="fork/exec /sbin/iptables: cannot allocate memory"

@michaelyork You can also manually collect the logs from /var/log/flynn and email them to<EMAIL_ADDRESS>

Forgot to follow up here, but sent to<EMAIL_ADDRESS>

Closing, as we've fixed a bunch of issues in the MariaDB appliance including several that are related to this one over the past few months.


How does asaar work in Electron for Sharp?

Question about an existing feature
What are you trying to achieve?
I want to understand why the installation docs still have:
Ensure sharp is unpacked from the ASAR archive file using the asarUnpack

option.

{
  "build": {
    "asar": true,
    "asarUnpack": [
      "**/node_modules/sharp/**/*",
      "**/node_modules/@img/**/*"
    ]
  }
}

Meanwhile, the linked Electron doc has:
asar = true [AsarOptions](https://www.electron.build/configuration/configuration.html#AsarOptions) | Boolean | “undefined” - Whether to package the application’s source code into an archive, using [Electron’s archive format](http://electron.atom.io/docs/tutorial/application-packaging/).

Node modules, that must be unpacked, will be detected automatically, you don’t need to explicitly set [asarUnpack](https://www.electron.build/configuration/configuration.html#configuration-asarUnpack) - please file an issue if this doesn’t work.

asarUnpack Array<String> | String | “undefined” - A [glob patterns](https://www.electron.build/file-patterns) relative to the [app directory](https://www.electron.build/configuration/configuration.html#MetadataDirectories-app), which specifies which files to unpack when creating the [asar](http://electron.atom.io/docs/tutorial/application-packaging/) archive.

Context:
I have an Electron app that I want to implement Sharp for, but whenever I package it for production and I use Sharp, the API exposed via contextBridge is not available in the renderer process.
export function bootMainWindow() {
  contextBridge.exposeInMainWorld('schoolserver', getSchoolServerBridge()) // schoolserver is undefined when I use Sharp in the code
}

When you searched for similar issues, what did you find that might be related?
I think that section of the Sharp docs need to be removed or updated to prevent confusion for rookies like me
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this question
N/A
Please provide sample image(s) that help explain this question
N/A
PS: @lovell  can you help or provide paid consultation to teach me how cross-platform deployments work in node? I think I am having an issue related to this in my OSS project and it is saddening that I do not have any clue on how to approach solving it :disappointed:

Yeah @lovell you're spot on that getSchoolServerBridge isn't part of any Sharp logic. I will try again with asarUnpack config. Thank you.
Regarding using pnpm/yarn 3+ for multi/cross platform Node apps with the supportedArchitectures feature, thanks a lot for the advice despite unrelated to Sharp. So, just to be clear, do you mean that I can start tackling the issue I referenced in my repo by switching to pnpm/yarn 3+ and ensuring that all architectures I want to support is listed in supportedArchitectures?

@damms005 Were you able to make any progress with this?

Still working on it. Will definitely update this issue ASAP

Now I think I made some progress, @lovell
After some days in the rabbit hole, I was able to piece together something that may help improve the cross-platform support of Sharp, and hopefully fix the compilation issue I am having.
First, this is my test env:
❯ node --version
v20.12.0

❯ npm --version
10.5.0

Like I mentioned above, the issue I have is with an Electron app. This Electron app is built with Quasar.
When I build the project, I noticed this portion of the output:
 App •  WAIT  • Bundling app with electron-builder...
  • electron-builder  version=24.13.3 os=5.15.0-101-generic
  • writing effective config  file=dist/electron/Packaged/builder-effective-config.yaml
  • rebuilding native dependencies<EMAIL_ADDRESS>platform=linux arch=x64
  • packaging       platform=linux arch=x64 electron=29.1.6 appOutDir=dist/electron/Packaged/linux-unpacked
  • building        target=AppImage arch=x64 file=dist/electron/Packaged/SchoolServer-14.5.61.AppImage
  • application Linux category is set to default "Utility"  reason=linux.category is not set and cannot map from macOS docs=https://www.electron.build/configuration/linux

 App •  DONE  • electron-builder built the app • 15537ms

 Build succeeded

From this output, I was led to believe that electron-builder was only able to "see" sqlite3 as a native dependency package. I have sharp also installed in the same project. So I find it weird that something about sharp makes electron-builder not "see" it as a native dependency and hence did not build it.
To be sure this is not some randomly occurring issue, I then created a new project, looked for some other random native package, included sharp and sqlite3, so that I have 3 native packages in the project.
Interestingly, the 2 other dependencies were built, but sharp was still not built, as shown in the build output, again:
 App •  WAIT  • Bundling app with electron-builder...
  • electron-builder  version=24.13.3 os=5.15.0-101-generic
  • writing effective config  file=dist/electron/Packaged/builder-effective-config.yaml
  • rebuilding native dependencies<EMAIL_ADDRESS><EMAIL_ADDRESS>platform=linux arch=x64
  • install prebuilt binary  name=sqlite3 version=5.1.7 platform=linux arch=x64 napi=
  • install prebuilt binary  name=drivelist version=11.2.2 platform=linux arch=x64 napi=
  • build native dependency from sources  name=drivelist
                                          version=11.2.2
                                          platform=linux
                                          arch=x64
                                          napi=
reason=prebuild-install failed with error (run with env DEBUG=electron-builder to get more information)
                                          error=prebuild-install info begin Prebuild-install version 7.1.2
    prebuild-install warn install prebuilt binaries enforced with --force!
    prebuild-install warn install prebuilt binaries may be out of date!
    prebuild-install info looking for local prebuild @ prebuilds/drivelist-v11.2.2-napi-v8-linux-x64.tar.gz
    prebuild-install info looking for cached prebuild @ /home/damms005/.npm/_prebuilds/cad401-drivelist-v11.2.2-napi-v8-linux-x64.tar.gz
    prebuild-install http request GET https://github.com/balena-io-modules/drivelist/releases/download/v11.2.2/drivelist-v11.2.2-napi-v8-linux-x64.tar.gz
    prebuild-install http 404 https://github.com/balena-io-modules/drivelist/releases/download/v11.2.2/drivelist-v11.2.2-napi-v8-linux-x64.tar.gz
    prebuild-install warn install No prebuilt binaries found (target=8 runtime=napi arch=x64 libc= platform=linux)

  • build native dependency from sources  name=sqlite3
                                          version=5.1.7
                                          platform=linux
                                          arch=x64
                                          napi=
reason=prebuild-install failed with error (run with env DEBUG=electron-builder to get more information)
                                          error=prebuild-install info begin Prebuild-install version 7.1.2
    prebuild-install warn This package does not support N-API version 36
    prebuild-install warn install prebuilt binaries enforced with --force!
    prebuild-install warn install prebuilt binaries may be out of date!
    prebuild-install info looking for local prebuild @ prebuilds/sqlite3-v5.1.7-napi-v36-linux-x64.tar.gz
    prebuild-install info looking for cached prebuild @ /home/damms005/.npm/_prebuilds/c8064a-sqlite3-v5.1.7-napi-v36-linux-x64.tar.gz
    prebuild-install http request GET https://github.com/TryGhost/node-sqlite3/releases/download/v5.1.7/sqlite3-v5.1.7-napi-v36-linux-x64.tar.gz
    prebuild-install http 404 https://github.com/TryGhost/node-sqlite3/releases/download/v5.1.7/sqlite3-v5.1.7-napi-v36-linux-x64.tar.gz
    prebuild-install warn install No prebuilt binaries found (target=36 runtime=napi arch=x64 libc= platform=linux)

  • packaging       platform=linux arch=x64 electron=29.1.6 appOutDir=dist/electron/Packaged/linux-unpacked
  • building        target=AppImage arch=x64 file=dist/electron/Packaged/Sharpie-0.0.1.AppImage
  • application Linux category is set to default "Utility"  reason=linux.category is not set and cannot map from macOS docs=https://www.electron.build/configuration/linux

 App •  DONE  • electron-builder built the app • 68289ms

 Build succeeded

Now, this is where I need your help. I do not have the expertise to debug why sharp is the only native package left out. This is why I have made the reproduction repo for this issue, perhaps if you pull it down and look at it, and compare your approach of this native thing with how those other two (driverslist and sqlite3) do their thing and are able to be successfully picked up by the builder, then perhaps it may help in fixing this issue for a larger audience.
I ensured that the README is descriptive enough to allow you reproduce it locally. Furthermore, I configured GitHub Actions and ensured an action reproduces the issue, to ensure it is not some local issue with my setup.
I hope this provides a little bit more of info to help figure this out.
Please let me know if you have any questions or need any more details.
Thank you.

And yes, I don't have a lot of options with yarn neither. That's why I've got to go through all the troubles of the efforts I made with my previous comment with the repro repo.

Thanks for the updates, I can't find where you've added the asarUnpack configuration to https://github.com/damms005/sharpie - am I missing something?
https://github.com/search?q=repo%3Adamms005%2Fsharpie asarUnpack&type=code
It might be worth asking the quasar maintainers again about yarn support, as the last update was 2 years ago, and in that time yarn v1 has bit-rotted by another 2 years. (An open source library that continues to dogmatically recommend yarn v1 over all other package managers has, rather sadly, become a red flag for me.)

Yeah, you're correct about the red flag. It is now much so in retrospect, but not much so few years ago when I opted to use quasar for the project. Stuck in this hole, sadly.
Also, this should have been a different issue at this stage, because the progress of this thread has steered off the original asarUnpack issue.
Unfortunately, the quasar team don't have builder improvements on their roadmap at the moment. I mean it is even Yarn v4+ already and they are still insisting on v1.
Perhaps I should look for help with the maintainers of the builder package itself at electron-builder?
However, if you can find some time later to look into this, I can create a new issue/discussion titled something like "Appeal for improved cross-platform support" or similar, and move this there.
But I appreciate the time you have given to this thread already and if you are not willing to look into why/how those two other packages are able to work nicely with electron-builder while sharp cannot, I understand and respect that, too.

It just dawned on me that I tried every single other fix going down that rabbit hole except the very instruction about asarUnpack
It now works. Thank you.
However, please how does this asarUnpack option work, compared to the rebuilding approach?
I now understand, buy this rabbit hole, that rebuilding essentially builds the package from source based on the current OS and arch. This ensures that the bundles Electron app's node_modules folder contains the necessary binaries for the native package. Can you spare some sweat and explain how this asarUnpack option works to complement this understanding of mine, please?
PS: This sounds noob and stupid, but I don't know if it has any bearing on getting sharp to build natively with electron-builder: the other packages have their binding.gyp file in the root of the project: (ref 1 and ref 2), while sharp's is nested

Just thought to add that scanning seems to be done one-level deep? as mentioned in this electron-builder comment. The point I made above with nesting binding.gyp?


Add two VkPhysicalDevicePortabilitySubsetFeaturesKHR::borderColorOpaqueBlack* capabilities

Sampler border color opaque black (0.0, 0.0, 0.0, 1.0) appears as transparent red (1.0, 0.0, 0.0, 0.0) for formats R4G4B4A4_UNORM_PACK16 or R5G5B5A1_UNORM_PACK16
This appears to be a Metal limitation or bug.
This affects the following 66 CTS tests:
dEQP-VK.pipeline.sampler.view_type.*.format.b4g4r4a4_unorm_pack16.address_modes.all_mode_clamp_to_border_opaque_black
dEQP-VK.pipeline.sampler.view_type.*.format.r4g4b4a4_unorm_pack16.address_modes.all_mode_clamp_to_border_opaque_black
dEQP-VK.pipeline.sampler.view_type.*.format.r5g5b5a1_unorm_pack16.address_modes.all_mode_clamp_to_border_opaque_black
dEQP-VK.pipeline.sampler.border_swizzle.b4g4r4a4_unorm_pack16.*.opaque_black
dEQP-VK.pipeline.sampler.border_swizzle.r4g4b4a4_unorm_pack16.*.opaque_black
dEQP-VK.pipeline.sampler.border_swizzle.r5g5b5a1_unorm_pack16.*.opaque_black

Recommend adding the following capabilities, and testing for them within CTS on the above tests:
VkPhysicalDevicePortabilitySubsetFeaturesKHR::borderColorOpaqueBlackB4G4R4A4
VkPhysicalDevicePortabilitySubsetFeaturesKHR::borderColorOpaqueBlackR4G4B4A4
VkPhysicalDevicePortabilitySubsetFeaturesKHR::borderColorOpaqueBlackR5G5B5A1

Seems strange. Assuming R4G4B4A4_UNORM_PACK16 translates to https://developer.apple.com/documentation/metal/mtlpixelformat/abgr4unorm, it should work. If it's a driver bug in Metal, we shouldn't have a flag for it in the spec.
I suggest filing a feedback ticket and hearing what they say.

We could use how @alyssarosenzweig worked around the issue in her Honeykrisp implementation for MoltenVK.
Instead of using opaque black, we switch to opaque white, and send a vec4 with the actual border value to the shader. Then in the shader we check if we are out of bounds and if we are multiply the return value from the sample with the vec4 we sent.
I just skimmed through the approach, so if I missed anything please point it out! (the devil is always in the details)

We could use how @alyssarosenzweig worked around the issue in her Honeykrisp implementation for MoltenVK.

True.
However, based on the discussion in https://gitlab.khronos.org/vulkan/vulkan/-/issues/3861, it looks like this is recognized as such an extreme corner case, that it's likely the Vulkan WG wouldn't have a problem granting a CTS waiver.

However, based on the discussion in https://gitlab.khronos.org/vulkan/vulkan/-/issues/3861, it looks like this is recognized as such an extreme corner case, that it's likely the Vulkan WG wouldn't have a problem granting a CTS waiver.

I think you've misunderstood the resolution of that issue - while it is a bit niche, it's a case that's heavily ingrained in and relied upon in common application code. We frequently avoid granting waivers these days - preferring to just update the spec to match the reality of the situation. If we're not making the spec change, it means we've largely ruled out waivers too. If you need a portability bit then you can have one, but it's going to affect basically every app that uses a cubemap.


Create sample project for Color Picker

Adds a sample project that uses the Color Picker extension called "Recolor the Dango".

do you actually need the wait (0.01)? seems to work for me without it

do you actually need the wait (0.01)? seems to work for me without it

When I was testing, the color picker's position wouldn't update the first time I click, which is why I added the delay.

https://github.com/TurboWarp/extensions/assets/106490990/2cee9732-72a1-4861-9965-e6adaedaf4a5

I have removed the delay because #1365 was opened.


Integrate opentelemetry

opentelemetry-rust is not stable yet.

https://github.com/open-telemetry/opentelemetry-rust/issues/1678

https://github.com/OutThereLabs/actix-web-opentelemetry

https://github.com/asaaki/opentelemetry-tide

https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk

https://github.com/open-telemetry/weaver

https://github.com/hinohi/rust-opentelemetry-auto-span

https://github.com/autometrics-dev/autometrics-rs

https://github.com/ttys3/axum-otel-metrics

instrument with axum, sea-orm, sqlx, redis:

https://github.com/launchbadge/sqlx/pull/3313
https://github.com/SeaQL/sea-orm/discussions/372

https://github.com/tokio-rs/tokio-metrics/issues/63

https://github.com/metrics-rs/metrics
https://github.com/autometrics-dev/autometrics-rs


RHBPMS-4514 - Null Pointer exception occurs for Business Process with…

… empty Embedded SubProcess

@mswiderski this also updates the fluent api changes


Update containers.nix

When we create a new container, we want to record the brief name in /etc/hosts for use.  But this records the container's local address in host's /etc/hosts, this IP we can‘t access from host side, so instead of the container's host address.

Can't we get rid of setting networking.extraHosts? Systemd's nss_mymachines provides the same functionality out of the box (see d73025a5fe56e765bcb82c0f3740958debeaf3ce).

Thanks for your answer.
Do you mean that the container's local address be recorded in host's /etc/hosts is required from somewhere?


Weighted_carrier_co2_per_mj broken on BETA?

Query:
TXT_TABLE(  V(
                transport_ship_using_lng_mix,
                transport_freight_train_using_electricity,
                transport_truck_using_hydrogen,
                transport_truck_using_electricity,
                transport_truck_using_lng_mix,
                transport_truck_using_compressed_natural_gas,
                  transport_ship_using_diesel_mix,
                  transport_freight_train_using_diesel_mix,
                  transport_truck_using_diesel_mix,
                  transport_truck_using_gasoline_mix), key, weighted_carrier_co2_per_mj)

BETA:

PRO:

Edit: Same goes for weighted_carrier_cost_per_mj. It seems to occur for nodes with a 'mixed' carrier like diesel mix, network gas etc.

This could be the reason for the change in marginal costs for gas power plants:


Documentation of Thor::Actions#initialize incomplete

https://rubydoc.info/github/wycats/thor/master/Thor%2FActions:initialize says:

The actions default behavior. Can be :invoke or :revoke. It also accepts :force, :skip and :pretend to set the behavior and the respective option.

But there's not a word about what these options do. I can guess what :force and :pretend do with #copy_file, but not so with :skip.

The explanation is here https://github.com/erikhuda/thor/blob/34df888d721ecaa8cf0cea97d51dc6c388002742/lib/thor/actions.rb#L48-L60. Can you open a PR expanding the documentation?

Hi @rafaelfranca, happy to work on this. Could you please point me to the relevant repo? Thanks! cc @paddor


Response Type only working if array

Hello, I encountered following problem.
I have following DTO:
struct GetStudentDTO: Content {
    var id: UUID
    var courseOfStudy: String
    var email: String
}

And following route:
student.get("me", use: getMe)
            .openAPI(
                summary: "[Student] Get me object",
                description: "This route returns general information about the student.",
                response: .type(GetStudentDTO.self),
                auth: .bearer()
            )

But in Swagger I don't see a response type.

But if the response type is an array it does work.
student.get("me", use: getMe)
            .openAPI(
                summary: "[Student] Get me object",
                description: "This route returns general information about the student.",
                response: .type([GetStudentDTO].self),
                auth: .bearer()
            )

Can you please help me with that?
Thanks in advance

@FNG-2002 Hi! I'm not able to reproduce the bug, is your GetStudentDTO exactly like in the description?


Parser: handle remaining edge cases

After parsing thousands of different queries, we aim to parse the log file with 100% accuracy. However, the latest real-world file successfully parsed 1,208,258 of 1,219,226 statements for 99.100413% accuracy.
As the file is analyzed, I'll keep a log of specific types of failing queries until we're back to 100%.

https://github.com/brianbroderick/lantern/issues/30

Need to handle:
DO $$DECLARE var_name1 TEXT;
var_name2 TEXT;
var_name3 TEXT;
END$$;

Parsed 1209827 successfully of 1219226 statements: 99.229101%
I wasn't keeping newlines in queries from the log file. This caused single line comments to break the query (i.e. -- comments)

d3fd92d41c698e602ab97e61d4af8ee43ac21779
This commit enhances SET statements to include session and transaction language.
Parsed 1214535 successfully of 1219226 statements: 99.615248%

b6c7092528f31ee569a2008ff250186aec849b51
Parse rollback tokens
Parsed 1214917 successfully of 1219226 statements: 99.646579%

After improving the PG log parser, it's capturing more statements. New stats:
Parsed 1222075 successfully of 1226631 statements: 99.628576%
This improvement was to combine statements that split the duration into a second log entry.

This issue is related to:
https://github.com/brianbroderick/lantern/issues/48

Add BeginStatement:
Parsed 1222618 successfully of 1226631 statements: 99.672844%

This commit is forbegin and similar to
23e7d5771ed4a387105b1d1607a7cfa7f66b4859
Parsed 1222662 successfully of 1226631 statements: 99.676431%
Slighted better parse percentage.

The edge case of set constraints my_id deferred is now getting parsed. Slight improvement:
Parsed 1222662 successfully of 1226631 statements: 99.676431%


WIP: investigate whats missing to implement a pkcs11 provider

symmetric primitives: key objects, new interfaces operating on key objects (including key-managment)
openssl store: provider support. relevant: https://github.com/openssl/openssl/pull/9389
...

Related: pkcs11 engine PR https://github.com/openssl/openssl/pull/8200

Perhaps involve #8200?

your too fast ;-)  i was just looking for relevant PRs. editing my first post.

here are instructions and test on what #8200 is already done.
I suspended development to understand how to integrate the engine into the new provider concept.
Unfortunately in these months I have not had much time to study the new code, if in the meantime something has been done to write a simple engine in the new environment I would be happy to go back to dealing with it.

if in the meantime something has been done to write a simple engine in the new environment ...

If by that, you mean a simple example provider, maybe my Vignère toy can be of use?

Thanks @opensignature and @levitte those are helpful resources i was not aware of.

If by that, you mean a simple example provider, maybe my Vignère toy can be of use?

Yes thanks.
What is provider-corner?
Will all future OpenSSL provider modules (like a possible pkcs11 provider) go there?

Provider-corner is my "organization" for writing external providers of all sorts. A personal corner on github, say... others are welcome to participate there if they wish.
So far, OpenSSL provider modules will be part of our source code, and will therefore either be included in the main source (this repository), or another OpenSSL repo (which would typically be mirrored within https://github.com/openssl).
In this particular case, we fully intend for a pkcs#11 provider module to be OpenSSL source, so should land in the OpenSSL org, not the provider-corner.
The Vigenère toy, on the other hand, should never be OpenSSL source, but it does serve as a generic small example of how to write a provider module. More examples are of course welcome.
Did it all get clearer?

Yes clear, thanks

A reason I have for writing the Vigenère provider (and others, I have an HSM simulation in mind), is to have proof of concepts that our "promise" with the whole provider design, both broadly and in detail, holds water for external usage.

... I have an HSM simulation in mind

Uau, like SoftHSM ?

SoftHSM uses a PKCS#11 interface, so that would mean building a PKCS#11 provider, which this issue indicates will be an OpenSSL provider module.  It seems a bit unnecessary for me to duplicate that.  So nah, I was thinking something fairly ad-hoc, which can demonstrate two things: 1) is possible outside of OpenSSL source (i.e. can be done by third parties without depending on OpenSSL), and 2) will try to do things differently from PKCS#11 to try and catch corner cases that we might otherwise miss because we've zeroed in on how PKCS#11 works.

Either way, provider-corner discussions should happen there, not here, where it's seriously off-topic

Except to note that it use to be called "engine-corner" :)

Nope. Engine-corner is still around.

When I have something working (at least in the basic functions) I'll do PR, in the meantime if you want to take a look the branch of the pkcs11 provider is here

... or #8200, I assume?

no, https://github.com/openssl/openssl/pull/8200 is the "old" pkcs11 engine, pkcs11-provider is the draft of the new provider

Oh, right

Interesting!
OpenSSL team refuses to accept non-stateless engine. As PKCS#11 cannot be implemented as stateless engine, more then decade all such request were rejected.
Fork functionality is pkcs#11 enemy.

What do you think about this importkey and sign test  ?
Thanks

@opensignature I would prefer to (also?) see tests which work from PKCS#11 URIs. My test cases for OpenConnect also include variants where the public key is absent, and where CKA_PRIVATE is set on the certificate.
http://git.infradead.org/users/dwmw2/openconnect.git/blob/HEAD:/tests/Makefile.am#l193
http://git.infradead.org/users/dwmw2/openconnect.git/blob/HEAD:/tests/auth-pkcs11

yes @dwmw2, i will get there ;)
But I have to understand how to transform, for example, a simple command like openssl dgst -sha256 -engine pkcs11 -keyform engine -sign "pkcs11:object=mykey1" in the provider perspective.
@levitte can you give me some ideas?
Thanks

None of that -engine pkcs11 -keyform engine horridness please.
Let's get to the point where any API or command line that takes a filename for a cert, also silently accepts a RFC7512 PKCS#11 URI, or (yet to be standardised) tpmkey: URIs, PEM files including ----BEGIN TSS2 PRIVATE KEY----- (cf. #7354), etc.
cf. http://david.woodhou.se/draft-woodhouse-cert-best-practice.html

Among all my PRs, there is one that changes all the spots where a key or cert file is accepted to take a URI instead. The -keyform option becomes largely ignored, and with providers, -engine will be meaningless.

Ah, ok @levitte what is this PR, please? I would like to proceed in that direction.
Currently if the key format is not engine the command line apps call bio_open_default https://github.com/openssl/openssl/blob/master/apps/lib/apps.c#L607 should be added an
} else if is_URI(file) {
key = decode_URI(file);
}
?

#7390

Perfect, it seems that it goes in the direction preferred by @dwmw2 (and also mine).
I hope you can have time to finish the development so that we can use it.

I started experimenting with an external / stand-alone pkcs11 provider (outside of openssl/providers/) here:
https://github.com/p-steuer/pkcs11provider

There appear to be several external pkcs11 providers available now
Marking as inactive, to be closed at the end of 3.4 dev barring further input


cosign e2e does not work for mac

Describe what should be investigated or refactored
docker buildx ls does not exist on a mac, refactor this so it works for mac and linux
Links to any relevant code
cosign.e2e.test.ts
Additional context
Add any other context or screenshots about the technical debt here.

This may be because buildx support is different in some Docker Desktop versions.
In addition, seeing that you use docker to set this up,
I think you can try the servbay tool, which is more professional on Mac and supports more than docker.

This may be because buildx support is different in some Docker Desktop versions.
In addition, seeing that you use docker to set this up, I think you can try the servbay tool, which is more professional on Mac and supports more than docker.

Great info! Thanks, we were able to fix it another way. Closing out this issue bc the PR merged yesterday


I can't make postcss work with a vue-cli 3 generated project. I just followed the wizard and chosed to use separated configuration files. After configured the postcss.config.js file it should works. Intead postcss plugins aren't loaded inside my vue single file components using <style lang="postcss" scoped>

I can't make postcss work with a vue-cli 3 generated project. I just followed the wizard and chosed to use separated configuration files. After configured the postcss.config.js file it should works. Intead postcss plugins aren't loaded inside my vue single file components using <style lang="postcss" scoped>
Originally posted by @equinusocio in https://github.com/vuejs/vue-cli/issues/852#issuecomment-448571264

<style lang="postcss" scoped>
</style>

When i define the component's style section like this i obtain the next error:
Syntax Error: Error: No parent could be found


NL: Fix Earth title bug and don't log test queries

This fixes the issue where Earth would show up as the title instead of World.
Also, avoid logging test queries.

Thanks!


Exporting to KMZ leaves lockfile in folder preventing next KMZ export in folder

When I export Range Rings, Ellipses, Circles, or Lines from ArcMap 10.3.1 using MT v3, build 22, I am seeing a lock file persist in the output folder that prevents the next export to KMZ from working correctly. The KMZ file is created for the second attempt, but it is empty of geometry (the first try works fine, the geometry is created, so I think it is this persistent lock file that is messing things up).

Initially reported as a comment in https://github.com/Esri/distance-direction-addin-dotnet/issues/589

I think this could be addressed by cleaning up the .lock file (probably simplest solution) or by varying the name of the tmpShapefile that is used to construct the KMZ.

@csmoore - this should be an easy fix, correct?

Current repo steps:

start up arcmap
create graphic from dd
export graphic as a kmz
open in earth
close earth
close armap
reopen arcmap

result is arcmap normal mxt is curropted and does not open back up.
Symbology is not correct in ArcGIS Earth as well

@BobBooth - there is not much we can do about the schema lock (.sr.lock) files - these only release when the process exits - but we can probably solve this specific issue by making sure the "tmpShapefile.shp" filename is unique and not reused.
@topowright - also wanted to just confirm that the repro steps above involving ArcEarth go with this issue.

@csmoore - about the lock file only releasing when the process exits - is that when ArcMap gets closed? I would think it would be when the KMZ file was finished being written. Maybe there is some object that needs to be deleted/released at the end of the export to KMZ that would trigger the deletion of the sr.lock file?

From the traffic above and the testing today I think this issue needs to be closed based on the work that was done by @CTLocalGovTeam. The sr lock file is removed after ArcMap is closed. @csmoore has added the idea above that this issue will only be addressed by closing ArcMap. Closing this as verified based on those ideas.

This was addressed by Cybertech - the shapefile name is now unique, so KMZ can be made in spite of lock file, which is removed when ArcMap closes.
@lf


Provide assets for 0.47.04-r2

Please, and thank you!

Just download r3
I compared assets for 0.47.04-r1 and0.47.04-r3 with winmerge and noticed that files are identical.

You can close the issue.
You can install mozilla thunderbird to get github notifications faster.


Removes no-longer-used beta features section

Quick PR to remove the beta-features, they're no longer used in the docs.

You may find that testing fails if a parent pom was doing it.

Oh, just saw that last comment, looked like tests were green

LGTM


nav: fix problem with non-existing pages in sidebar

In the old sidebar.json config it was possible to create page with source: false and then user requested such a page, it's first child was rendered instead.
For example then you enter in browser /doc/changelog/ it will show content of /doc/changelog/0.18. As a result we have two pages with the exactly same content on different url. It is bad for SEO and it is bad for search with docsearch because we can have duplicate results (enter changelog in the search for example).
Right now we made a temporal solution:

Top menu always render url of the first article.
Sidebar always render child's url (but now we have two links with the same url in sidebar).
For old pages with source: false we added temporary 307 redirects to the redirects-list.json file.

But it is a bad long-term solution and also requires us to manually check redirects-list.json file every time we want to add page to see if there is a redirect that prevents it. We want to only have permanent 301 redirect in this file.
There is multiple ways how can we fix this problem:

Write missing pages and forbid folders without index.md files (they should throw errors on build).
Make separate middleware for the temporary app redirects and generate it's config at the build time from missing imdex.md files in doc folder. (Possible conflicts between 2 middlewares for redirects)
Create two copies of the same page with the same <link rel="canonical" />.
Something else.

But as result we want to remove temporary redirects from redirects-list.json and make this logic the part of the app.

two pages with the exactly same content on different url. It is bad for SEO and it is bad for search with docsearch...
Top menu always render url of the first article.

OK so these are fixed by "temporary" redirects right? 307 status code for example. (Keeping in mind our docs structure keeps changing so for example the top item in /changelog may go from /0.1 to /0.2, etc.)

requires us to manually check redirects-list.json file every time we want to add page to see if there is a redirect that prevents it. We want to only have permanent 301 redirect in this file.

Yes this would be terrible, but why do we only want 301s there? I'm not sure about that part. Each redirect type serves different purposes, see discussion in https://github.com/iterative/dvc.org/issues/757#issuecomment-549480671

Make separate middleware for the temporary app redirects and generate it's config at the build time from missing imdex.md files in doc folder

I vote for this. And it could use sidebar.json as base instead of browsing the directories.

I vote for this. And it could use sidebar.json as base instead of browsing the directories.

It's done now.

Amazing 🎉


Roll engine 0d83a2ecd1bb..51f23fedf243 (8 commits)

https://github.com/flutter/engine/compare/0d83a2ecd1bb...51f23fedf243
git log 0d83a2ecd1bb78f8e1f0ed9719ff3751cdfdd064..51f23fedf2437f830a00aacfadd84a0808185df7 --no-merges --oneline
51f23fedf [vulkan] Add FUCHSIA external sem/mem extensions
78de8dcb4 Enable lambda like native callbacks in tests and add support for custom entrypoints. (flutter/engine#8299)
2812c7db4 Roll src/third_party/skia 62fd6c411622..d2ca31218bc4 (9 commits) (flutter/engine#8307)
95f9134e9 Roll src/third_party/skia d90004516a63..62fd6c411622 (4 commits) (flutter/engine#8306)
358273bd2 Roll src/third_party/skia 33211b2c7a02..d90004516a63 (1 commits) (flutter/engine#8305)
2804057bf Roll src/third_party/skia 80dd599e91d0..33211b2c7a02 (1 commits) (flutter/engine#8303)
a673bbf6f Roll src/third_party/skia c5ee499f2c59..80dd599e91d0 (5 commits) (flutter/engine#8301)
d88037dc0 Roll src/third_party/dart fa74184b7a..093c2909fe (71 commits)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (bmparr@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/6386580443889664 , https://cirrus-ci.com/task/4979205560336384

Commit queue failed; closing this roll.


Plasmodium OPL terms

As discussed via e-mail please find attached the Plasmodium OPL terms. Definitions are the same as for P. falciparum terms. It would be great if you could deprecate the P. falciparum terms and replace them with Plasmodium terms.
OPL_defintion_Plasmodium.docx

Thank you for providing these terms. We will work on incorporating them.

Hi @uliboehme, Thanks for submitting the new terms. I went through the terms, edited the definitions following OBO Foundry ontology development principles and added the Plasmodium lifecycle specific organism location information. Besides, for adding the terms you request, we need to add the corresponding lifecycle stage terms in the OPL too. So, I made the lifecycle stage terms with definitions. Could you please review whether the term labels, definitions and other information are correct before I add them in the OPL? Especially two terms highlighted in yellow that I have no idea about their difference.
Thanks!
OPL_NTRs.xlsx

Hi @zhengj2007, Thanks for going through the terms and editing the definitions. This looks good to me.  Regarding the two terms highlighted in yellow, if possible I would use the same definition as for sporozoite stage (A sporozoite stage in the Plasmodium lifecycle that occurs in the salivary glands of the mosquito and invades hepatocytes in the vertebrate host). Hope this is ok.

Hi @uliboehme, Thanks for reviewing the terms. For ontology term, we need to have different definitions for different ontology terms. Otherwise, it doesn't make sense to create two terms. I will seek the help in our EuPathDB group and add the terms in OPL as soon as possible.

Hi @uliboehme, I have added the terms you requested in the OPL. The labels and IDs are shown as follow:

ID
Label

OPL_0000264
Plasmodium gamete

OPL_0000265
Plasmodium macrogamete

OPL_0000266
Plasmodium microgamete

OPL_0000267
Plasmodium gametocyte

OPL_0000268
Plasmodium macrogametocyte

OPL_0000269
Plasmodium microgametocyte

OPL_0000270
Plasmodium merozoite

OPL_0000271
Plasmodium erythrocytic merozoite

OPL_0000272
Plasmodium hepatic merozoite

OPL_0000273
Plasmodium oocyst

OPL_0000274
Plasmodium ookinete

OPL_0000275
Plasmodium schizont

OPL_0000276
Plasmodium erythrocytic schizont

OPL_0000277
Plasmodium hepatic schizont

OPL_0000278
Plasmodium sporozoite

OPL_0000279
Plasmodium oocyst-derived sporozoite

OPL_0000280
Plasmodium salivary gland-derived sporozoite

OPL_0000281
Plasmodium trophozoite

OPL_0000282
Plasmodium erythrocytic trophozoite

OPL_0000283
Plasmodium erythrocytic ring trophozoite

OPL_0000284
Plasmodium hepatic trophozoite

OPL_0000285
Plasmodium zygote

Is it all you need? Do you need the new OPL release for you to use OWL file?


encoding/xml: Cannot decode into slice member if member name doesn't match XML element name and is missing xml tag despite XMLName being present on slice type

Go version
go version go1.21.6 linux/amd64
Output of go env in your module/workspace:
GO111MODULE=''
GOARCH='amd64'
GOBIN='/home/daenney/.local/bin'
GOCACHE='/home/daenney/.cache/go-build'
GOENV='/home/daenney/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/daenney/.cache/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/daenney/.cache/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/lib/go'
GOSUMDB='sum.golang.org'
GOTMPDIR='/run/user/1000'
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/lib/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.21.6'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/home/daenney/Development/github.com/daenney/xmldecode/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/run/user/1000/go-build4263511798=/tmp/go-build -gno-record-gcc-switches'

What did you do?
I'm filing this one as a bug since the behaviour took me by surprise and wasn't obvious to me from the documentation on encoding/xml.Unmashal.
I tried to decode a response into a struct where:

The member I'm decoding into is a slice of structs
The member doesn't have an xml tag set
The slice members are structs, which has an XMLName set

<response>
  <info>
    <lastmodified>2024-01-14T10:53:21Z</lastmodified>
  </info>
  <id>1</id>
  <id>2</id>
</response>

type A3 struct {
	XMLName xml.Name `xml:"a"`
	ID      string   `xml:"id"`
}

type Response3 struct {
	XMLName      xml.Name `xml:"response"`
	Data         []A3
	LastModified *time.Time `xml:"info>lastmodified"`
}

I've included the full code in a Gist, because unfortunately go.dev/play continuously returns server errors when using the "Share" button: https://gist.github.com/daenney/07e546e0c9d26e5ba183feadd3ba00c4
What did you see happen?
Whether a single, or multiple  elements are present, .Data remains empty, whereas I expected it to accumulate into .Data given the XMLName is present on the slice member struct.
&{XMLName:{Space: Local:response} Data:[] LastModified:2024-01-14 10:53:21 +0000 UTC}
&{XMLName:{Space: Local:response} Data:[] LastModified:2024-01-14 10:53:21 +0000 UTC}

What did you expect to see?
It feels like the following two things should be equivalent and behave the same:
type A2 struct {
	ID string `xml:"id"`
}

type Response2 struct {
	XMLName      xml.Name   `xml:"response"`
	Data         []A2       `xml:"a"`
	LastModified *time.Time `xml:"info>lastmodified"`
}

type A3 struct {
	XMLName xml.Name `xml:"a"`
	ID      string   `xml:"id"`
}

type Response3 struct {
	XMLName      xml.Name `xml:"response"`
	Data         []A3
	LastModified *time.Time `xml:"info>lastmodified"`
}

Clearly they're not since []A3 doesn't directly have a tag and it seems the implementation doesn't take the XMLName of the slice members into account. It's not obvious from the documentation that in the case of a slice either the member name or the struct tag needs to match the XML element name for the decoding to occur. Even if I create a named type like type Datas []T, I can't attach the right xml tag to it nor give it an XMLName member since it's not a struct.
This isn't typically a problem as you can always write the xml:"a" tag, until we throw generics in the mix. Many APIs have a envelope, like seen here, with stuff like an info or error member in their response and the data elements, where the data elements can be a different type based on the query/endpoint. It would be nice to be able to define something like:
type Response[T Responses] struct {
	XMLName      xml.Name `xml:"response"`
	Data         []T
	LastModified *time.Time `xml:"info>lastmodified"`
}

type Responses interface {
	RespA | RespB
}

type RespA struct{}
type RespB struct{}

There is one, hacky, way to make this work:
type Response4[T Responses4] struct {
	XMLName      xml.Name   `xml:"response"`
	Data         []T        `xml:",any"`
	LastModified *time.Time `xml:"info>lastmodified"`
}

Due to the xml:",any" we now get the intended behaviour. But this is only safe if the wrapping Response type defines all other fields upfront, otherwise different elements could try to accumulate into Response.Data and Unmashal would fail.

CC @rsc, @ianlancetaylor.


Added dockerfile

For running locally.  Because setting up node is annoying.

Thanks for this! Merged.


Additional settings to enable RDP from server OS editions

If attempting to RDP from a hybrid Azure AD joined server such as Windows Server 2016/2019 to a Windows 10 Azure AD joined PC then the authentication will fail unless "Network security: Allow PKU2U authentication requests to this computer to use online identities" security setting is enabled on the RDP client side (hybrid Azure AD joined 2016/2019 server). PKU2U is disabled by default on server SKU unless this setting is configured. This requirement should be listed on the document.

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

ID: 72e1cc18-3fc2-d7fa-7ff3-20fc9a3596d4
Version Independent ID: 8ed24664-ce8c-7c08-654a-d3ef267f274f
Content: Connect to remote Azure Active Directory-joined PC (Windows 10)
Content Source: windows/client-management/connect-to-remote-aadj-pc.md
Product: w10
Technology: windows
GitHub Login: @Dansimp
Microsoft Alias: dansimp

@maweeras-msft
The issue has been noted and the document will be revised in the light of your feedback.
Thank you.

Dear @maweeras-msft ,
could you please have a look at the PR I have created?
Thank you

@MaratMussabekov  this is not enough. I suggest adding a comment that if the RDP client is a server SKU such as Windows Server 2016/2019, then the PKU2U related security option must be enabled.

Dear @maweeras-msft ,
Could you please have a look now?
Thank you

@maweeras-msft The mentioned changes have been applied via the following commit:
[7962234 ] Update connect-to-remote-aadj-pc.md
Thank you for providing feedback and following up.


Script bounties

Suggestions:

[ ] Always sort by [newest/active/hot/commented]
[x] Suppress up/down votes
[x] Print user's originating instance next to name
[ ] Reword make new post dropdown categories to be clearer
[ ] Clean up profile pages

Existing logic to port:

[x] Rename navbar icons to human readable categories
[ ] Move comments textarea to top of thread grid
[ ] Alpha-order subs
[x] Hide thumbnails
[ ] Hide short descriptions
[ ] Hide avatars
[ ] Hide icons
[ ] Hide people/microblogs from navbar
[ ] Hide markdown/language/picture upload/help tooltip in text field

N.B. Try to leave strict CSS theming considerations to userstyles

For existing logic - does this mean there's already scripts that do this? If so, can links be added here?

I set up a parametric logic in kbin-css which toggles almost all of the above, so the elements are clearly delineated, just need to copy them over and stick them in a toggle function as usual.
https://github.com/aclist/kbin-css
Everything below line 577 corresponds to parametric toggles. Ideally, I think several of these should get put into a single mod with a bunch of checkbox fields.


Testing DnsEndpointGroup

DnsEndpointGroup.endpoints() returns empty on unresolved addresses. This is a problem in testing because sometime you want to test code that blocks until DNS resolves. In Zipkin, this prevents a "first request" error users would otherwise see.
Lacking a MockDnsServer, we can only test usage of DnsEndpointGroup usage like this with resolvable hosts. However, in CI or offline laptops, this can lead to flakey tests.
It would be nice to be able to control the resolver of DnsEndpointGroup or have an alternative such as MockDnsServer

@anuraaga PS this might be up your alley. In general it is a missing piece when folks do "mock web servers" as DNS is always punted.

I've used Netty's test DNS server before - https://github.com/netty/netty/blob/4.1/resolver-dns/src/test/java/io/netty/resolver/dns/TestDnsServer.java
It's a lot of code, I'm hoping I can find a way that doesn't require copying all of that in ;)


KAFKA-3365 Add a documentation field for types and update doc generation

Add documentation method to class Type.
Implement it in primitive types and ArraysOf.
Generate docs from list of types and include it in protocol.html

@hachikuji Would you mind reviewing this change?
Thanks

@hachikuji,
thanks for your suggestions. Can you please have another look?


Create an endpoint that returns versions of SMI APIs that the osm-controller supports

Please describe the Improvement and/or Feature Request

This endpoint would enable users to easily tell which version of the SMI APIs their osm-controller is supporting which would aid the creation, validation, and understanding of YAML files representing SMI components .
Scope (please mark with X where applicable)

New Functionality          [ ]
Install                    [ ]
SMI Traffic Access Policy  [X]
SMI Traffic Specs Policy   [X]
SMI Traffic Split Policy   [X]
Permissive Traffic Policy  [ ]
Ingress                    [ ]
Egress                     [ ]
Envoy Control Plane        [ ]
CLI Tool                   [ ]
Metrics                    [ ]
Certificate Management     [ ]
Sidecar Injection          [ ]
Logging                    [X]
Debugging                  [X]
Tests                      [ ]
CI System                  [ ]
Project Release            [ ]

Possible use cases

This functionality would make the process of creating component YAML files more robust since users would not have to specify their apiVersion, nor would they be limited to only using the latest version of the api. Instead, this endpoint would be all you need to determine the supported apiVersion and could be used in projects such as the osm dashboard.

@johnsonshi you worked on something similar, would be good to know what you think about this.

@shashankram // @draychev - Turns out I already implemented this as part of issue #2849 (PR #3193). The /smi/version path of the osm controller's http server already returns the supported smi versions. See https://github.com/openservicemesh/osm/blob/eda8851ab9976083cbe26c7f39448d9bf28eeb69/cmd/osm-controller/osm-controller.go#L246-L247


Have you seen an issue with retrieving a canonical_user_id?

Error: listing S3 Buckets: operation error S3: ListBuckets, https response error StatusCode: 403, RequestID: JCHBR1FX14VY71NC, HostID: lL56Fzb/EjALMeuz8zwc7zC9lMxHSPoGz5GPcMapRXoo8KlSA94SH9yRzqxKvXkDvBlCXOlN+Xc=, api error AccessDenied: Access Denied with module.s3_bucket_for_logs.data.aws_canonical_user_id.this[0], on .terraform/modules/s3_bucket_for_logs/main.tf line 3, in data "aws_canonical_user_id" "this": 3: data "aws_canonical_user_id" "this" { failed to run commands: exit status 1,
Hello,
My install is working fine but I am having an error when a TF module is performing a lookup of the canonical user id - have you seen this? The role which I am using for my launch constraint has all actions allowed  for s3.
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/canonical_user_id
https://registry.terraform.io/modules/terraform-aws-modules/s3-bucket/aws/latest
module "s3_bucket_for_logs" {
source = "terraform-aws-modules/s3-bucket/aws"
bucket = "${local.name}-${local.env}-alb-logs-${random_integer.bucket.result}"
acl    = "log-delivery-write"
force_destroy = true
control_object_ownership = true
object_ownership         = "ObjectWriter"
attach_elb_log_delivery_policy = true # Required for ALB logs
attach_lb_log_delivery_policy  = true # Required for ALB/NLB logs
}
Any idea?

Nevermind, I messed up the launch role by selecting the local role rather then the external role for the account that was provisioned to.