Support for Anycubic Photon

I think it would be a cool feature to allow people to implement their own machine settings like the resolution and build area so we can use this with printers like the anycubic photon which lots of people dislike the fact that we cant wirelessly print with it and the process of using mariner is more efficient than using something like nanodlp

I think other printers that use chitubox should actually work with mariner. Maybe a few adjustments here and there would be required, but I think it should largely work.
However, I don't have access to anycubic photon or any other printers other than my Elegoo Mars Pro.
If anyone is willing to help here with testing, code or whatever I'm help to add official support for those printers.

I think other printers that use chitubox should actually work with mariner. Maybe a few adjustments here and there would be required, but I think it should largely work.
However, I don't have access to anycubic photon or any other printers other than my Elegoo Mars Pro.
If anyone is willing to help here with testing, code or whatever I'm help to add official support for those printers.

Oh great I'd be willing to help with testing and feedback i have a anycubic photon zero

Oh great I'd be willing to help with testing and feedback i have a anycubic photon zero

Oh great I'd be willing to help with testing and feedback i have a anycubic photon zero

Oh great I'd be willing to help with testing and feedback i have a anycubic photon zero

@hak-isaiah, if you're willing to test with your anycubic photon zero, then give it a go!
I know that the folks from photonsters have been able to get the Anycubic Photon with network on projects like this one: https://github.com/Photonsters/Universal-Photon-Network-Controller/
From looking at their code, the commands that they send to the printer are very similar (if not exactly the same), so I wouldn't be surprised if this worked as is. The instructions should be fairly similar to the ones I outlined here.
That said, this is uncharted territory so proceed at your own risk :)

@hak-isaiah, if you're willing to test with your anycubic photon zero, then give it a go!
I know that the folks from photonsters have been able to get the Anycubic Photon with network on projects like this one: https://github.com/Photonsters/Universal-Photon-Network-Controller/
From looking at their code, the commands that they send to the printer are very similar (if not exactly the same), so I wouldn't be surprised if this worked as is. The instructions should be fairly similar to the ones I outlined here.
That said, this is uncharted territory so proceed at your own risk :)

@luizribeiro  the interface is great however the issue that stops this is i think the baud rates of the elegoo mars pro and the anycubic photon zero are different so the rpi  cant send commands to the photon yet and it cant read printer status and this doesn't accept .pw0 or .pws file types if there is anything i can do to help with this just message me

@luizribeiro  the interface is great however the issue that stops this is i think the baud rates of the elegoo mars pro and the anycubic photon zero are different so the rpi  cant send commands to the photon yet and it cant read printer status and this doesn't accept .pw0 or .pws file types if there is anything i can do to help with this just message me

I get my phrozen sonic mini 4k on wednesday. Id love to be able to test this out and see what all works as is. looking through the code it seems its all just marlin commands. It would be incredible if this is the start of an octoprint like solution for SLA printers.

I get my phrozen sonic mini 4k on wednesday. Id love to be able to test this out and see what all works as is. looking through the code it seems its all just marlin commands. It would be incredible if this is the start of an octoprint like solution for SLA printers.

We should be able to add support for .pw0 or .pws files. If you have some simple ones (like just a cube or whatever) I'm happy to look into adding support once I have more time. It shouldn't be too hard to do it if anyone is interested on giving it a shot.
About the baud rate, do you know what baud rate your printers are supposed to use? If so, you should be able to change it here:
https://github.com/luizribeiro/mariner/blob/1df5247e7ce5815ab29a57649e4b7ba40ee4b3fb/mariner/mars.py#L32
The support for .pw0 or .pws files isn't strictly necessary to check if communication with the printer works, since the file format support is only used for previewing the files (so you'll likely not get any previews, but if you scp the .pw0 or .pws file you may be able to get it to print).
Let me know what y'all find! 😄

We should be able to add support for .pw0 or .pws files. If you have some simple ones (like just a cube or whatever) I'm happy to look into adding support once I have more time. It shouldn't be too hard to do it if anyone is interested on giving it a shot.
About the baud rate, do you know what baud rate your printers are supposed to use? If so, you should be able to change it here:
https://github.com/luizribeiro/mariner/blob/1df5247e7ce5815ab29a57649e4b7ba40ee4b3fb/mariner/mars.py#L32
The support for .pw0 or .pws files isn't strictly necessary to check if communication with the printer works, since the file format support is only used for previewing the files (so you'll likely not get any previews, but if you scp the .pw0 or .pws file you may be able to get it to print).
Let me know what y'all find! 😄

Schizophrenia scan.zip
it's a pw0 file of a brain scan that was turned into a stl

Schizophrenia scan.zip
it's a pw0 file of a brain scan that was turned into a stl

Traceback (most recent call last):
  File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/server/api.py", line 45, in print_status
    selected_file = elegoo_mars.get_selected_file()
  File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/mars.py", line 102, in get_selected_file
    self._extract_response_with_regex("ok '([^']+)'\r\n", data).group(1)
  File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/mars.py", line 39, in _extract_response_with_regex
    raise UnexpectedPrinterResponse(data)
mariner.exceptions.UnexpectedPrinterResponse

is the result when connecting to my sonic mini 4k. serial port not only was exposed but already had headers on it so connecting was a breeze. Just need to figure out mariner and i can have a remote UI/upload.

Traceback (most recent call last):
  File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/server/api.py", line 45, in print_status
    selected_file = elegoo_mars.get_selected_file()
  File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/mars.py", line 102, in get_selected_file
    self._extract_response_with_regex("ok '([^']+)'\r\n", data).group(1)
  File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/mars.py", line 39, in _extract_response_with_regex
    raise UnexpectedPrinterResponse(data)
mariner.exceptions.UnexpectedPrinterResponse

is the result when connecting to my sonic mini 4k. serial port not only was exposed but already had headers on it so connecting was a breeze. Just need to figure out mariner and i can have a remote UI/upload.

@Shabbypenguin, any chance this is because of #180 or do you consistently get that error when taking any action?
It's possible we need to make small tweaks to the protocol to support the Sonic Mini 4k, but want to first rule out that this isn't because of the existing issue.

@Shabbypenguin, any chance this is because of #180 or do you consistently get that error when taking any action?
It's possible we need to make small tweaks to the protocol to support the Sonic Mini 4k, but want to first rule out that this isn't because of the existing issue.

@Shabbypenguin, any chance this is because of #180 or do you consistently get that error when taking any action?
It's possible we need to make small tweaks to the protocol to support the Sonic Mini 4k, but want to first rule out that this isn't because of the existing issue.

Sadly I've never really delved into hardware hacking previously so this is a new experience for me. How did you go about reading from your serial printer in order to see what commands were used/needed? I see many of them are marlin used gcodes, but some like get selected file uses one I haven't seen before. I have a pi zero hooked up but I'm unsure of how to connect and start debugging to see if its simply a serial speed change, wrong commands, or something else.
for me mariner loads up and on the printer controls screen I get a spinning circle as it tries to load and connect before erroring out with that message. it is worth noting that i can upload ctb's and go to my printer and manually start them. I just cant do any of the core mariner functions/features.

@Shabbypenguin, any chance this is because of #180 or do you consistently get that error when taking any action?
It's possible we need to make small tweaks to the protocol to support the Sonic Mini 4k, but want to first rule out that this isn't because of the existing issue.

Sadly I've never really delved into hardware hacking previously so this is a new experience for me. How did you go about reading from your serial printer in order to see what commands were used/needed? I see many of them are marlin used gcodes, but some like get selected file uses one I haven't seen before. I have a pi zero hooked up but I'm unsure of how to connect and start debugging to see if its simply a serial speed change, wrong commands, or something else.
for me mariner loads up and on the printer controls screen I get a spinning circle as it tries to load and connect before erroring out with that message. it is worth noting that i can upload ctb's and go to my printer and manually start them. I just cant do any of the core mariner functions/features.

@Shabbypenguin, nice. Glad you got the printer to reply to your serial commands. A few questions:

Which baud rate did you have to use?
Are the commands for the Sonic Mini 4K the same as the ones mariner is using? Which commands did you send for that output?
Did any of mariner's features work?

@Shabbypenguin, nice. Glad you got the printer to reply to your serial commands. A few questions:

Which baud rate did you have to use?
Are the commands for the Sonic Mini 4K the same as the ones mariner is using? Which commands did you send for that output?
Did any of mariner's features work?

115200 like yours
im in the middle of a print, but so far I have tested get status, firmware version and z position (M4000, M4002, and M114 respectively) without issue or fail.
just upload and being able to select prints off the pi, that get selected file command loops and causes error after error on the UI.

My print will be going on overnight, so I wont be able to test and see the results of get selected file command until tomorrow.

115200 like yours
im in the middle of a print, but so far I have tested get status, firmware version and z position (M4000, M4002, and M114 respectively) without issue or fail.
just upload and being able to select prints off the pi, that get selected file command loops and causes error after error on the UI.

My print will be going on overnight, so I wont be able to test and see the results of get selected file command until tomorrow.

Got it!
Select the file with M23. M24 tells it to start printing. Looked at the gcode commands from the photon controller app, looks like Phrozen stuck with the mostly standard ones as well. M27 lets me know its percentage done. So if that Ui issue from #180 can get resolved + make a more generic issue commands python with use whatever commands pulled from configs based on what type of printer you pick. I think this would probably get rolling and add at least 2 more printers support.

Got it!
Select the file with M23. M24 tells it to start printing. Looked at the gcode commands from the photon controller app, looks like Phrozen stuck with the mostly standard ones as well. M27 lets me know its percentage done. So if that Ui issue from #180 can get resolved + make a more generic issue commands python with use whatever commands pulled from configs based on what type of printer you pick. I think this would probably get rolling and add at least 2 more printers support.

Can you summarize what are the differences between the Mars protocol and the Phrozen protocol?
You can tweak https://github.com/luizribeiro/mariner/blob/master/mariner/mars.py to make it work, put up a pull request once you confirm that it is working and I can refactor some of the code so we can have support for multiple printers.
I'm thinking of something along the lines of:

Creating an abstract class for all SLA printers, which ElegooMars will now inherit from
Setting up a separate class for Phrozen printers
Allowing users to pick which printer they are using from a config file

Can you summarize what are the differences between the Mars protocol and the Phrozen protocol?
You can tweak https://github.com/luizribeiro/mariner/blob/master/mariner/mars.py to make it work, put up a pull request once you confirm that it is working and I can refactor some of the code so we can have support for multiple printers.
I'm thinking of something along the lines of:

Creating an abstract class for all SLA printers, which ElegooMars will now inherit from
Setting up a separate class for Phrozen printers
Allowing users to pick which printer they are using from a config file

So far it just seems they use different gcode commands. phrozen opted for

M23 /filename.ctb
M6030 /jeff.ctb ---> this line may not be needed, I have only tested it with this included currently
M24

as the workflow to selecting a file and then printing it. Ill take some time to edit mars.py and hope it works.

So far it just seems they use different gcode commands. phrozen opted for

M23 /filename.ctb
M6030 /jeff.ctb ---> this line may not be needed, I have only tested it with this included currently
M24

as the workflow to selecting a file and then printing it. Ill take some time to edit mars.py and hope it works.

it seems it needed no changes to mars.py. I happened to reboot everything on a clean boot and it didnt give me the get_selected_file() error as mentioned previously. So I was able to select the print via web ui and click print and it started. The ui updates in the background and shows progress. Every now and again I get the error from issue 180 but outside of that it looks like mariner already works well on phrozen printers.

it seems it needed no changes to mars.py. I happened to reboot everything on a clean boot and it didnt give me the get_selected_file() error as mentioned previously. So I was able to select the print via web ui and click print and it started. The ui updates in the background and shows progress. Every now and again I get the error from issue 180 but outside of that it looks like mariner already works well on phrozen printers.

Cool! I'll update the README.md to include the Phrozen Sonic Mini 4K. Thanks @Shabbypenguin!
@hak-isaiah, I'm going to keep this issue open for the Anycubic Photon. Let me know if I can help you with anything there.

Cool! I'll update the README.md to include the Phrozen Sonic Mini 4K. Thanks @Shabbypenguin!
@hak-isaiah, I'm going to keep this issue open for the Anycubic Photon. Let me know if I can help you with anything there.

Hooked Up Anycubic Photon.  After working through a few issues.  The print status said ready.
Mariner doesn't take .photon files but I scp'd them to the directory and started a print from the printers ui.  At that point the UI gave 500 response.
Log:

Sep 30 03:44:04 resin mariner[255]: AssertionError
Sep 30 03:45:04 resin mariner[255]: ERROR:waitress:Exception while serving /api/print_status
Sep 30 03:45:04 resin mariner[255]: Traceback (most recent call last):
Sep 30 03:45:04 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/waitress/channel.py", line 397, in service
Sep 30 03:45:04 resin mariner[255]:     task.service()
Sep 30 03:45:04 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/waitress/task.py", line 168, in service
Sep 30 03:45:04 resin mariner[255]:     self.execute()
Sep 30 03:45:04 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/waitress/task.py", line 434, in execute
Sep 30 03:45:04 resin mariner[255]:     app_iter = self.channel.server.application(environ, start_response)
Sep 30 03:45:04 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 2464, in call
Sep 30 03:45:04 resin mariner[255]:     return self.wsgi_app(environ, start_response)
Sep 30 03:45:04 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/whitenoise/base.py", line 85, in call
Sep 30 03:45:04 resin mariner[255]:     return self.application(environ, start_response)
Sep 30 03:45:04 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 2450, in wsgi_app
Sep 30 03:45:04 resin mariner[255]:     response = self.handle_exception(e)
Sep 30 03:45:04 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1867, in handle_exception
Sep 30 03:45:04 resin mariner[255]:     reraise(exc_type, exc_value, tb)
Sep 30 03:45:04 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
Sep 30 03:45:04 resin mariner[255]:     raise value
Sep 30 03:45:04 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
Sep 30 03:45:04 resin mariner[255]:     response = self.full_dispatch_request()
Sep 30 03:45:04 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
Sep 30 03:45:04 resin mariner[255]:     rv = self.handle_user_exception(e)
Sep 30 03:45:04 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
Sep 30 03:45:04 resin mariner[255]:     reraise(exc_type, exc_value, tb)
Sep 30 03:45:04 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
Sep 30 03:45:04 resin mariner[255]:     raise value
Sep 30 03:45:04 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
Sep 30 03:45:04 resin mariner[255]:     rv = self.dispatch_request()
Sep 30 03:45:04 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
Sep 30 03:45:04 resin mariner[255]:     return self.view_functionsrule.endpoint
Sep 30 03:45:04 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/server/api.py", line 54, in print_status
Sep 30 03:45:04 resin mariner[255]:     FILES_DIRECTORY / selected_file
Sep 30 03:45:04 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask_caching/init.py", line 952, in decorated_function
Sep 30 03:45:04 resin mariner[255]:     rv = f(*args, **kwargs)
Sep 30 03:45:04 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/server/utils.py", line 19, in read_cached_sliced_model_fil
Sep 30 03:45:04 resin mariner[255]:     file_format = get_file_format(filename)
Sep 30 03:45:04 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/file_formats/utils.py", line 22, in get_file_format
Sep 30 03:45:04 resin mariner[255]:     assert file_format is not None
Sep 30 03:45:04 resin mariner[255]: AssertionError
Sep 30 03:46:05 resin mariner[255]: ERROR:waitress:Exception while serving /api/print_status
Sep 30 03:46:05 resin mariner[255]: Traceback (most recent call last):
Sep 30 03:46:05 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/waitress/channel.py", line 397, in service
Sep 30 03:46:05 resin mariner[255]:     task.service()
Sep 30 03:46:05 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/waitress/task.py", line 168, in service
Sep 30 03:46:05 resin mariner[255]:     self.execute()
Sep 30 03:46:05 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/waitress/task.py", line 434, in execute
Sep 30 03:46:05 resin mariner[255]:     app_iter = self.channel.server.application(environ, start_response)
Sep 30 03:46:05 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 2464, in call
Sep 30 03:46:05 resin mariner[255]:     return self.wsgi_app(environ, start_response)
Sep 30 03:46:05 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/whitenoise/base.py", line 85, in call
Sep 30 03:46:05 resin mariner[255]:     return self.application(environ, start_response)
Sep 30 03:46:05 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 2450, in wsgi_app
Sep 30 03:46:05 resin mariner[255]:     response = self.handle_exception(e)
Sep 30 03:46:05 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1867, in handle_exception
Sep 30 03:46:05 resin mariner[255]:     reraise(exc_type, exc_value, tb)
Sep 30 03:46:05 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
Sep 30 03:46:05 resin mariner[255]:     raise value
Sep 30 03:46:05 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
Sep 30 03:46:05 resin mariner[255]:     response = self.full_dispatch_request()
Sep 30 03:46:05 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
Sep 30 03:46:05 resin mariner[255]:     rv = self.handle_user_exception(e)
Sep 30 03:46:05 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
Sep 30 03:46:05 resin mariner[255]:     reraise(exc_type, exc_value, tb)
Sep 30 03:46:05 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
Sep 30 03:46:05 resin mariner[255]:     raise value
Sep 30 03:46:05 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
Sep 30 03:46:05 resin mariner[255]:     rv = self.dispatch_request()
Sep 30 03:46:05 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
Sep 30 03:46:05 resin mariner[255]:     return self.view_functionsrule.endpoint
Sep 30 03:46:05 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/server/api.py", line 54, in print_status
Sep 30 03:46:05 resin mariner[255]:     FILES_DIRECTORY / selected_file
Sep 30 03:46:05 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask_caching/init.py", line 952, in decorated_function
Sep 30 03:46:05 resin mariner[255]:     rv = f(*args, **kwargs)
Sep 30 03:46:05 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/server/utils.py", line 19, in read_cached_sliced_model_fil
Sep 30 03:46:05 resin mariner[255]:     file_format = get_file_format(filename)
Sep 30 03:46:05 resin mariner[255]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/file_formats/utils.py", line 22, in get_file_format
Sep 30 03:46:05 resin mariner[255]:     assert file_format is not None
Sep 30 03:46:05 resin mariner[255]:
AssertionError

Anycubic Mono X  will be add to the list?


Navbar Overflow on Markdown Editor Page(on mobile device)

Has this bug been raised before?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Description
On the Markdown Editor Page, the navigation bar includes an input field and download and search buttons. This addition causes the navigation bar to overflow.
Steps to Reproduce

Navigate to the Markdown Editor page.
Observe the navigation bar
Compare it with the navigation bars on other pages

Screenshots

Do you want to work on this issue?
No
If "yes" to above, please explain how you would technically implement this
No response

Nice

hi can you assign me this, i can pick it ?

hi @Bridgetamana  can you assign me this, ?

Sure


Sometimes cannot get information from some devices.

Hi, Thank you very much for providing us with good library.
But sometimes cannot get information from some devices such as "Android SHARP SHV39  8.0.0".
If the first two times do not get the information and run it again, then success to get information.
Is this error?  I want to your help.

Could you provide more information or the logcat?
I believe it is because of the rate control from the service provider.

Hi, Of course your library is very good.
I usually get needed information. Really sometimes I don't get IP address.
If I try again, then get IP address.
Have you ever been like this?
Now I'am trying more information or the log.
Could you explain about "the rate control from the service provider."?
I want to your kind help.

It is explained here: http://ip-api.com/docs/

Thank you very much.
You are very kind.
I found exactly what caused the problem.


[feat] UI made responsive for mobile screen

@vault-developer  Why the use of zustand instead of using React Context ?

Hey @raj-kumar-s-dev thank you for the PR 👍
Zustand is mostly used instead of the default use context due to the transient updates feature.
Their subscriber/publisher pattern allows us to receive state updates via useRef without rerendering the component.
It is used in animation mostly, but maybe there is a more straightforward way.
https://github.com/pmndrs/zustand?tab=readme-ov-file#transient-updates-for-often-occurring-state-changes


status command retrieves release status

As described in #27.

@cmeury Hi! Any chance you work on unit tests? 😃

@mumoshu Done & ready to be merged.

@cmeury LGTM. Thank you so much for your efforts 🎉


Ruby 3.0

Original story:
2.7 won't EOL until 2023 (likley, it's not even set yet) but now that 3.0 has been out for a few months and probably doesn't have major bugs we should bump to something that supposedly 3x as fast.

https://www.pivotaltracker.com/story/show/178224013

This PR was already reviewed by @jpalermo


Loud Volume makes it loop itself because listening while speaking.

I searched github hours for a nextjs implementation of realtime api. Thank you!!


HttpClient

Is System.Net.Http.HttpClient supported in this webworker?
I'm using .net 6.0 and am getting this exception when calling SendAsync from HttpClient.
SyncDataException: Data Sync Error
VM8:3  ---> System.Net.Http.HttpRequestException: TypeError: Failed to execute 'fetch' on 'WorkerGlobalScope': Illegal invocation
VM8:3  ---> System.Runtime.InteropServices.JavaScript.JSException: TypeError: Failed to execute 'fetch' on 'WorkerGlobalScope': Illegal invocation
VM8:3    at System.Net.Http.BrowserHttpHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
VM8:3    --- End of inner exception stack trace ---
VM8:3    at System.Net.Http.BrowserHttpHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
VM8:3    at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)

I just created identical .Net 6, .Net 7, and .Net 8 "Blazor WebAssembly Standalone Apps" to test HTTPClient in WebWorkers. In .Net 6 I got the same error you did. It worked correctly in .Net 7 and .Net 8.
I know fetch works in WebWorkers so I'm not sure what is causing the failure at the moment.
Thank you for letting me know about this issue. I will post back after I have a chance to investigate further.

I found the cause of the issue and fixed it. I have uploaded an updated Nuget package, version 2.2.17.
Thank you very much for finding this issue and reporting it.


ModelMapper module pollutes the user model with ColumnSummaryItem nodes.

I attached a screencast demonstrating the issue in XVideoRental:
Aufnahme #40.zip
ApplyModelCore() of DevExpress.ExpressApp.Editors.ColumnWrapperModelSynchronizer creates ColumnSummaryItem for all columns, as soon as a listview is opened. This pollutes the model with useless nodes. The SummaryItems seems to be created by the ModelMapper module.

The DevExpress.XAF repository includes commits that relate to this task:

ModelMapper: Do_Not_Map_Properties_Marked_With_DesignerSerialization_Hidden #516

Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.
If you do not use the Xpand.XAF.Modules directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.
Thanks a lot for your contribution.

Fixed. Thank you!


Not Enough Animations won't apply custom animations to players as latex

No direct incompatibilities, but it is probably how animations are handled for Changed:MC. The mod is client side.

I don't think the crawling animation should apply to legless aquatics.

I should note, nearly most custom animations don't work. Even item rendering (like backpack mods).

I should note, nearly most custom animations don't work. Even custom entity rendering (like backpack mods, or artifacts).

Doesn't surprise me. Latex entities don't inherit the mixin-ed layers that other mods add, nor do they inherit the player's animations.


Sending big message through websocket

When you send a message through Stomp Websocket using stomp.js, if you increase the size of "maxWebSocketFrameSize", to be able to send a big message without spliting, we have a "Connection Lost" if the message is bigger thank 16kb.

This is unfortunately true :(

@sirsquall me too,have you solve the problem

@aaronxdd I remember solving this issue in a messaging protocol by enabling the "binary message" option. (although the messages were not binary.. but doesn't matter) I am not sure if this was THE library though.

We decreased the size, if I remember well, but I'm not sure now, @dsnoeck do you remember?

@sirsquall if i want to send data which is bigger than 16kb,how to solve it

Checking at the code, we kept it to 16kb:
this.maxWebSocketFrameSize = 16 * 1024;

Did anybody solve the issue? Increasing maxWebSocketFrameSize on the client and server side didn't solve the problem for me.


Patrick/individual article component

Description of changes in the commit message. Lots of minor changes.

There are conflicts to be solved before merging. Please take a look at them.

Resolved the confict was just a small ojne


Windows platform on lab

How can I help to add windows phone as platform on ionic lab?

Greetings @CKGrafico!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.


Hard-coded image references should be dynamic

While updating the application to remove references to images stored on ImgBB.com, it became clear that simply replacing one set of hard-coded values for image references with another set is not an ideal solution.
I think it's safe to assume that Azure is going to be more reliable than imgbb.com, but this is more about providing flexibility regarding the hosting of static file assets.
I'd like to have a base URI stored in the config so that wherever possible we're just storing the image name and adding it as a suffix to the base URI. That would make it possible to host the images somewhere other than Azure, and to switch hosts more easily if necessary.
The immediate problem of hard-coded refs to imgbb.com has been dealt with now at least.

The only explicit reference to the Azure storage container being used to host the images is in the data seeding JSON file.


symlinks are owned by UID who started the VM, not user in the vm

Some context, using macOS 12.4 (21F79):
stephen@boris-godunov ~ % uname -a
Darwin boris-godunov 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:37 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T6000 arm64
stephen@boris-godunov ~ % krunvm --version
krunvm 0.2.1
stephen@boris-godunov ~ % id
uid=501(stephen) gid=20(staff) groups=20(staff),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),701(com.apple.sharepoint.group.1),33(_appstore),100(_lpoperator),204(_developer),250(_analyticsusers),395(com.apple.access_ftp),398(com.apple.access_screensharing),399(com.apple.access_ssh),400(com.apple.access_remote_ae)

To reproduce:
stephen@boris-godunov ~ % krunvm create --name test ubuntu:latest
microVM created with name: test
stephen@boris-godunov ~ % krunvm start test
root@test:/# mkdir test
root@test:/# cd test
root@test:/test# touch foo
root@test:/test# ls -lh
total 0
-rw-r--r-- 1 root root 0 Aug 10 22:47 foo
root@test:/test# ln -s foo bar
root@test:/test# ls -lh
total 0
lrwxrwxrwx 1  501 dialout 3 Aug 10 22:47 bar -> foo
-rw-r--r-- 1 root root    0 Aug 10 22:47 foo
root@test:/test# stat bar
  File: bar -> foo
  Size: 3         	Blocks: 0          IO Block: 4096   symbolic link
Device: 15h/21d	Inode: 1814521     Links: 1
Access: (0777/lrwxrwxrwx)  Uid: (  501/ UNKNOWN)   Gid: (   20/ dialout)
Access: 2022-08-10 22:47:49.795944806 +0000
Modify: 2022-08-10 22:47:49.795944806 +0000
Change: 2022-08-10 22:47:49.795944806 +0000
 Birth:

Expected: a symlink created with ln -s should have user/group root/root.
Actual: the symlink has uid/gid 501/20, same as the macOS user who started the krunvm vm.

I found where these files live in the macOS host filesystem, and FWIW the xattrs to store container uid/guid seem correct on the symlink:
stephen@boris-godunov test % ls -lh
total 0
lrwxrwxrwx  1 stephen  staff     3B Aug 10 15:45 bar -> foo
-rw-------@ 1 stephen  staff     0B Aug 10 15:45 foo
stephen@boris-godunov test % xattr -p user.containers.override_stat bar
0:0:0100644
stephen@boris-godunov test % xattr -p user.containers.override_stat foo
0:0:0100644

So whatever's wrong, I suspect it's in the "read path", if that makes sense.

Thanks for the report. This will be fixed by https://github.com/containers/libkrun/pull/68

Fixed in libkrun-1.4.1, which is already available in the Homebrew repo.

thanks for the fix. greatly appreciate it


unit: typo: "If the power if the dimension is not zero or one, symbol^power is appended"

if --> of

https://github.com/gonum/gonum/blob/c4a599f7b712a7d52dfd3c2f6f35ba195844d6ac/unit/unittype.go#L335


Erroneous exceptions and variable corruption

i have written a multi-player client server game called Two Weeks it's a clone of fortnight.  The repositorty is https://github.com/rhubarbdog/microbit-two-weeks
sometimes micropython crashes throwing an exception which cannot be true, one is
TypeError: exceptions must derive from BaseException but the line of code is display.show(Image.SAD_FACE)
another reads something like
ValueError: 'int' object can not be indexed but in the line of code refers to a tuple.
when i run a multi player version of Two Weeks the client and server assume each other's id, i'm yet to see the bug it may be hardware.
Pressing up and down on the controller seemed to change the variable player in the client

This function called from a second function
def plot(xxx, yyy, ilume):
    print(xxx, yyy, ilume)
    display.set_pixel(xxx, yyy, ilume)

causes this error
  File "main.py", line 187, in <module>
  File "main.py", line 134, in draw_screen
  File "main.py", line 51, in plot
AttributeError: 'int' object has no attribute 'set_pixel'

line 51 is display.set_pixel the values of xxx, yyy and  ilume are 0,0 and 1
I've discovered the bug in my Two weeks client server game it was programmer-error please ignore the last 3 lines of my previous comment

I'm looking like a bit of an idiot here as ignore my previous post.
i found that error i accidentally declared a variable display
I still stand by my initial post, as here is another weird one
Traceback (most recent call last):
  File "main.py", line 194, in <module>
TypeError: tuple indices must be integers, not MicroBitCompass

the line of code is
display.show(Image.ALL_CLOCKS[compass])

I didn't spot it either, but this error message has a clue! compass == microbit.compass.

As Martin mentions (thanks!), the problem is the clashing of the compass instance created with from microbit import *:
https://github.com/rhubarbdog/microbit-two-weeks/blob/5816fe9fcb3a81eb092a724a873d6c5884328a5e/game.py#L6
And then creating the compass variable:
https://github.com/rhubarbdog/microbit-two-weeks/blob/5816fe9fcb3a81eb092a724a873d6c5884328a5e/game.py#L136
So display.show(Image.ALL_CLOCKS[compass]) is esentially doing the same as this:
import microbit
microbit.display.show(Image.ALL_CLOCKS[microbit.compass])

Yeah thanks for the bug fix.
The problem is I have somany screen variables that I stupidly used pseudonym display
I stopped that microbiology compass non sense by setting compass to None in an initialisation step.
It's kinda cool in python that you can just reuse a variable name like temp and change its type, but it allows you to snooker yourself so easily.  Warnings like 'do you really want to have variable compass when importing from module microbit` wouldn't be that difficult but i didn't write the python language definition.
 I knew I may break micropython and not be able to get a client server game going.  In version 1 my screen was a list of 1 hundred strings each of 100 characters like 40kb but it was showing good promiss I've had to use a byte array now as I was experiencing memory allocation problems.
The issue with the other two messages which I think i've forced out of micropython will be so hard to reproduce because it is very asynchronous sending radio packets of button presses and receiving a new screen back.
Except for @dpgeorge seeing that when micropyton has many modules imported (math, radio, random, music and some of microbit) on a really small system there may be a bit of error corruption and weird crashes that pressing reset may solve but a re-flash always does work, so their may be some corruption on packets that microFS is transferring but the checksum is also damaged, but because it can be like that the checksum of the new data is equal to the corrupted checksum.

The internal MicroPython VM and runtime are very robust, there should not be any corruption or errors no matter how many modules are imported.  In the worst case it will just give a MemoryError if it runs out of resources.

sometimes micropython crashes throwing an exception which cannot be true, one is
TypeError: exceptions must derive from BaseException but the line of code is display.show(Image.SAD_FACE)

This is an interesting error... can you give more context and describe in more detail how it comes about?  Did you press ctrl-C to stop the running program?


macOS 10.13 error: unknown type name 'uint8_t'

Hi,
I encountered this error running the very basic hello world tutorial
cythoning hello.pyx to hello.cpp
building 'hello' extension
creating build
creating build/temp.macosx-10.7-x86_64-3.6
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/haotian/anaconda3/include -arch x86_64 -I/Users/haotian/anaconda3/include -arch x86_64 -I/Users/haotian/anaconda3/include/python3.6m -c hello.cpp -o build/temp.macosx-10.7-x86_64-3.6/hello.o -stdlib=libc++
In file included from hello.cpp:4:
In file included from /Users/haotian/anaconda3/include/python3.6m/Python.h:34:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdlib.h:94:
In file included from /usr/include/stdlib.h:65:
In file included from /usr/include/sys/wait.h:110:
/usr/include/sys/resource.h:196:2: error: unknown type name 'uint8_t'
        uint8_t  ri_uuid[16];
        ^
/usr/include/sys/resource.h:197:2: error: unknown type name 'uint64_t'
        uint64_t ri_user_time;
        ^
/usr/include/sys/resource.h:198:2: error: unknown type name 'uint64_t'
        uint64_t ri_system_time;
        ^
/usr/include/sys/resource.h:199:2: error: unknown type name 'uint64_t'
        uint64_t ri_pkg_idle_wkups;
        ^
/usr/include/sys/resource.h:200:2: error: unknown type name 'uint64_t'
        uint64_t ri_interrupt_wkups;
        ^
/usr/include/sys/resource.h:201:2: error: unknown type name 'uint64_t'
        uint64_t ri_pageins;
        ^
/usr/include/sys/resource.h:202:2: error: unknown type name 'uint64_t'
        uint64_t ri_wired_size;
        ^
/usr/include/sys/resource.h:203:2: error: unknown type name 'uint64_t'
        uint64_t ri_resident_size;
        ^
/usr/include/sys/resource.h:204:2: error: unknown type name 'uint64_t'
        uint64_t ri_phys_footprint;
        ^
/usr/include/sys/resource.h:205:2: error: unknown type name 'uint64_t'
        uint64_t ri_proc_start_abstime;
        ^
/usr/include/sys/resource.h:206:2: error: unknown type name 'uint64_t'
        uint64_t ri_proc_exit_abstime;
        ^
/usr/include/sys/resource.h:210:2: error: unknown type name 'uint8_t'
        uint8_t  ri_uuid[16];
        ^
/usr/include/sys/resource.h:211:2: error: unknown type name 'uint64_t'
        uint64_t ri_user_time;
        ^
/usr/include/sys/resource.h:212:2: error: unknown type name 'uint64_t'
        uint64_t ri_system_time;
        ^
/usr/include/sys/resource.h:213:2: error: unknown type name 'uint64_t'
        uint64_t ri_pkg_idle_wkups;
        ^
/usr/include/sys/resource.h:214:2: error: unknown type name 'uint64_t'
        uint64_t ri_interrupt_wkups;
        ^
/usr/include/sys/resource.h:215:2: error: unknown type name 'uint64_t'
        uint64_t ri_pageins;
        ^
/usr/include/sys/resource.h:216:2: error: unknown type name 'uint64_t'
        uint64_t ri_wired_size;
        ^
/usr/include/sys/resource.h:217:2: error: unknown type name 'uint64_t'
        uint64_t ri_resident_size;
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: command 'gcc' failed with exit status 1

I'm using python 3.6.3, Cython 0.27.3. Any idea why this is happening?

Please use the mailing list or stack overflow for user support.

@lenhsherr have you found a solution? I haven't been able to find any solutions.

No I have not, and weirdly another Mac works with seemingly same configuration.

On Dec 6, 2017, at 7:35 PM, Mathew Kamkar<EMAIL_ADDRESS>wrote:
@lenhsherr have you found a solution? I haven't been able to find any solutions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@lenhsherr I think I figured it out. When I upgraded to Mac OS 10.13, the upgrade messed up my homebrew installation, including a bunch of header files under /usr/local/include directory. I renamed this directory and don't see any more compilation errors. So I'll have to remove this directory and reinstall my brew packages.

Thank you @matkam I just tried reinstalling brew and it solved the problem.

Lol. It fixed another problem with python extensions compilation i struggled with for a week also.
What a wondrous collateral damage))
Thanks for solution, @matkam

Thanks @sljeff 's solution and it works for me.

@sljeff Thanks for the solution, it works

I just removed /usr/local/include and then reinstalled llvm using homebrew. Problem solved.

Thank you for this.

I was able to find a workaround. I went to /usr/local/include and rename the include folder to anything else. Then run the brew command required, e.g. brew install --HEAD libimobiledevice or brew install --HEAD usbmuxd. It'll fail to link, so go back, rename the include folder back to include and then run brew link libimobiledevice. After that it worked and all is well. I'm available to help if you need any further clarification in fixing this error. By the way I'm running MacOS Mojave 10.14.4

I  just renamed /usr/local/include
This seemed to have worked for me as well.
but it bothers me that I don`t fully understand what the problem was. Does anyone have a good understanding?

For me this problem seemed to have started when I changed Mac to one with a newer OS and transferred the old files to the new Mac. Could it be that the new Mac uses a diffente version of gcc and the old /usr/loacl/include/ files were incompatible?

I just removed /usr/local/include and then reinstalled llvm using homebrew. Problem solved.

For me it not worked.
For those to who also not worked (sorry if my English is bad), be sure that you are using the gcc-<version>, and not simply gcc. Try to do a dry run, without any input files, and if you see cmake: ..., you should not use so command.
More information can be found here.


DMN Predefined Strings not saving

Am trying to create a DMN table with input Strings to have predefined values.
The strings are not persisting , am using the latest build

I'm also facing the same issue.

Create a Decision Table
Add a String Input
Click on "string" and type in values under "Add Predefined Values", for example, "abc","def"
Click outside of the popup to go back to the decision table.
Predefined values not shown or present in xml.

Operating System: Windows 10
Modeler Version: 3.1.0

Figured it out... Kind of unintuitive, but it requires the user to click "Enter" after adding one or more values.


added support for pythia 70M model fine-tuning saves model

I believe this adds pythia functionality for our current branch. There were changes to the quickstart files for testing.
Completion and finetuning work on my machine with this model, using chat_gpt as a teacher.

Seems fine to me. Once training fine tuning is validated


URL signing not working

Looks like the URL signing has changed recently. In fact, the Iris library for Swift works instead. However, it cannot be imported "as-is" in an Objective-C project because there is no support for type structures.
Therefore a fix would be really appreciated.

Hmm, URL signing hasn't been changed in our backend lately. Can you provide an example URL and/or code where you're seeing this?

Could the Objective-C library not be calculating the signature correctly? Sorry but I cannot provide a URL due to sensitive data. The involved method is URLWithPath:

There are tests that validate signature generation, and they're still passing. I'll look into this more, but can you tell me whether you've specified any additional options on the instance of IGXClient you're using to generate the URLs?

In fact, below is the URL being tested under the tests, but just like in the case of my images it's returning unauthorized.
https://nothingmagical.imgix.net/sam.jpg?s=6925569b28658d7a7299f06d520a22dd
I didn't set any options either.

Hmm. I'll dig into this soon.

Hey @maxperry, this should be fixed in master. Can you give it a shot and let me know how it works for you?

It works fine now :) Thank you very much for fixing this!

Very cool. No problem!


Refactor the map core to its own module

This moves the hash-agnostic IndexMapCore to its own module, and then cleans up the abstraction boundary in successive commits.

I've been playing with using hashbrown's RawTable as the backend for IndexMap, and I already had this kind of refactoring as a result. I'm still not entirely satisfied with that, but I realized that the new organization could be beneficial on its own.

FYI, I pushed hashbrown here: https://github.com/cuviper/indexmap/tree/shredded-potatoes
It will raise the MSRV to 1.32 for hashbrown's sake, unless we go through added effort to make this a conditional feature.

Really cool that it can be done, nice job!!, if the benchmark gains are significant it seems like we should use hashbrown no doubt. It also resolves our old question.. should we use unsafe to speed up indexmap? This way we outsource to a well-known and well tested implementation.

I guess that we unfortunately need clarification on the "experimental"-ness of the RawTable, if we depend on it for indexmap 1.x, even though it doesn't affect our API surface.

Before we get too far on hashbrown, are you OK with the changes in this PR alone?

if the benchmark gains are significant it seems like we should use hashbrown no doubt.

So far it's a mixed bag, better on some, worse on others. It also seems highly sensitive to how codegen-units split, such that a seemingly insignificant tweak can cause big changes, even in the standard HashMap comparision benchmarks -- maybe we should set codegen-units = 1?
On a different metric, I found that the memory use (RSS) while running the benchmarks is consistently lower by quite a bit. However, the base IndexMapCore size will increase, because RawTable has 5 usize/pointers compared to the 3 it's replacing (mask:usize,  indices: Box<[Pos]>).

This way we outsource to a well-known and well tested implementation.

I somewhat inclined to give this a lot of weight, myself, even if some performance is lost.

I guess that we unfortunately need clarification on the "experimental"-ness of the RawTable

@Amanieu, care to comment?

Before we get too far on hashbrown, are you OK with the changes in this PR alone?

Yes, sure. Nothing seems remotely controversial about it, unless I'm missing something (?), so it's just a very nice cleanup.

I'm somewhat inclined to give this a lot of weight, myself, even if some performance is lost.

Of course, as long as we have some tangible gains, like performance, for indexmap users, too.

Nothing seems remotely controversial about it, unless I'm missing something (?), so it's just a very nice cleanup.

I don't think you're missing anything. :slightly_smiling_face:
It will probably conflict with #126, but I can yield and rebase if you want to merge that first.
(The hashbrown change will probably make that one moot, but we'll deal with that later.)

The RawTable API is experimental in the sense that it may experience significant API changes and it could even be removed in the future if all its functionality becomes available directly on HashMap. However any such changes will be subject to a major version bump of the hashbrown crate so you don't need to worry about minor version bumps breaking the build.

OK, rebase is green, let's go!


SWRevealViewController Menu not showing after segue back to certain page

Met this problem and don't know how to solve it
http://stackoverflow.com/questions/30951296/self-revealviewcontroller-becomes-nil-after-segueing-from-another-controller-to

nvm I was being dumb


Change SkinData to use a custom ProfileProperty

It's often useful to be able to set an arbitrary signed
skin payload for a Humanoid:

Plugins may want to use a skin that is not currently set on any
player
The Mojang skin API has notoriously strict IP-based rate-limiting.
Servers, especially those that are part of a larger network, may
wish to implement their own caching system.

This commit allows plugins to set use valid skin ProfileProperty
with SkinData, rather than being constrained to use a skin currently
in use by a specific player.

Does this allow setting it on skull items? If so, hella keen :tada:

Add ability to modify skin parts

@XakepSDK: That should go in a different PR.

My corresponding SpongeCommon PR makes SkinData applicable to players, as well as humans. Both the player themself and other players on the server will see the updated skin.
Thanks to @McLive for showing how this could be done in their SkinsRestorerX plugin

@gabizou @kashike I've made the javadoc changes you requested.

Pinging @SpongePowered/developers and @XakepSDK for final review.
If no one else wants any other changes, I'm planning to merge this in a few days.

Forgive my ignorance but will this change allow for updating skins for a subset of players? There are use cases where it is beneficial or even required where a group of players sees a specific skin for a human whereas a different group sees a different skin.
Another example would be where a player sees his/her own skin differently as what other players would see him/her (for example when designating teams via skins).

@initramfs: Unforuntately, no. This will probably need to wait until @kashike's Contextual Data system is ready.

Merged in https://github.com/SpongePowered/SpongeAPI/commit/a3431307f06996321489b69664b16202e8806042.


BHT-002GBLW Series 3/16A- Device did not appear with the intermediate firmware

BHT-002 GB - Device did not appear with the intermediate firmware. Pressed Temp down 8 Seconds. The device went in the config mode. But it it not working.
smarthack-wifi.log
smarthack-psk.log
Already flash successfully Gosund SP1 with this raspberry.
tuya-convert v2.4.4
raspberrypi 2
root@raspberrypi:/home/pi/tuya-convert# ./start_flash.sh
tuya-convert v2.4.4
Checking for network interface wlan0... Found.
Checking UDP port 53... Available.
Checking UDP port 67... Available.
Checking TCP port 80... Available.
Checking TCP port 443... Available.
Checking UDP port 6666... Available.
Checking UDP port 6667... Available.
Checking TCP port 1883... Available.
Checking TCP port 8886... Available.
Starting AP in a screen
Starting web server in a screen
Starting Mosquitto in a screen
Starting PSK frontend in a screen
Starting Tuya Discovery in a screen
======================================================
IMPORTANT

Connect any other device (a smartphone or something) to the WIFI vtrust-flash
This step is IMPORTANT otherwise the smartconfig may not work!
Put your IoT device in autoconfig/smartconfig/pairing mode (LED will blink fast). This is usually done by pressing and holding the primary button of the device
Make sure nothing else is plugged into your IoT device while attempting to flash.
Press ENTER to continue

======================================================
Starting smart config pairing procedure
Waiting for the device to install the intermediate firmware
.Put device in EZ config mode (blinking fast)
Sending SSID                  vtrust-flash
Sending wifiPassword
Sending token                 00000000
Sending secret                0101
................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
................
SmartConfig complete.
Resending SmartConfig Packets
................
SmartConfig complete.
Resending SmartConfig Packets
................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
................
SmartConfig complete.
Resending SmartConfig Packets
...............
Device did not appear with the intermediate firmware
Check the *.log files in the scripts folder
Do you want to try flashing another device? [y/N] N

I'm not the maintainer or related to this repo but you're probably affected by https://github.com/ct-Open-Source/tuya-convert/wiki/Collaboration-document-for-PSK-Identity-02 - of which there is no solution yet except for hardware level flashing.

@devzwf is correct, in this case the firmware is unfortunately unsupported due to a patch by Tuya. Follow #483 to be notified of any news on this front.


Notebook progress eats text

VSCode Version: Version: 1.48.0-insider
OS Version: OSX

Steps to Reproduce:

Open a Jupyter Notebook with the new VSCode based notebook editor (insider only)
Execute !conda install -c conda-forge tensorflow
Watch how the install progress spinner 'eats' the preceding text.

Does this issue occur when all extensions are disabled?: No, I believe this also needs Python extension to open Jupyter notebooks.

/extPython


Add FakeSherbrooke backend

Summary
This commit adds a new fake backend, FakeSherbrooke, which is a BackendV2 based fake backend with the stored property snapshots for the ibm_sherbrooke backend.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

12 of 12 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 84.61%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
63997

Relevant Lines:
75638

💛  - Coveralls


Incorrect socks5 handshake buf size?

cmd/shadowsocks-local/local.go  line 51:
buf := make([]byte, 258)
--
According to socks5 protocol, the initial client greeting message follows a structure shown as below:
               +----+----------+----------+
               |VER | NMETHODS | METHODS  |
               +----+----------+----------+
               | 1  |    1     | 1 to 255 |
               +----+----------+----------+

The 1 byte NMETHODS field results in max 255 METHODS, thus max length of the initial greeting message will be 257 (1+1+255) bytes.
Not sure am I missing anything that's 1 byte?

maybe nothing special... just one more byte... LOL
that's a good question


Fix for DRILL-3869

Fixes a minor bug in the web UI whereby a query submitted with a
trailing ';' would cause an exception to be thrown.

This isn't a complete solution, you can put a semi-colon in a string literal (and maybe a column name in backticks?), so this might end up chopping queries in half. I think this is the real reason why this bug wasn't fixed earlier, because it needs to be handled at the parser level. Its possible that calciate handles this and we are not making use of it.

a quick hack would be to just check if the very last character of the query is a semi-colon and remove it from the query. I think this would solve 90% of the cases where this could happen

I think we can check how SqlLine is trimming the ; at the end and follow the same procedure.

@adeneche agreed, this is a good solution for now. If someone submits multiple queries I think it would be fine if they get back a parsing error that mentions semi-colon, which is already happening today, just too aggressively.

One small improvement, I would make sure we run a trim() on the string and then check the last character, just to cover the case of a semi-colon followed by whitespace.

Addressed above comments by trimming whitespace from the query string prior to trimming any trailing ';' character.

The change looks good, but thinking about this a little more it might make sense to fix this a little higher up the chain. If we fix this where queries are actually accepted by the Drill server, then this same fix would also apply to the JDBC and C++ interfaces. I believe the only reason this happens to work with sqlline is because it is stripping it off on the client before sending the query. As long as we're making a change on the server, I think we should put it as close to actual execution as possible.

I just saw that the conversation fragmented on JIRA, Jacques point makes sense to me +1


whole-system-search: add last_updated to LOGICAL_RESOURCES

To optimize whole-system-search, the last_updated field needs to be added to the system-level LOGICAL_RESOURCES table. This allows all system-level searches to be evaluated without having to join against the resource-specific <resourceType>_LOGICAL_RESOURCES.
In addition, a unique index should be defined as (last_updated, logical_resource_id). This will support simple scanning of changes which have occurred from a known point.
~Consider also including the current IS_DELETED status.~
This flag was added under #1958, but work remains to actually use it.

stretch goal for 4.6.0

Related issue #2011 was fixed by https://github.com/IBM/FHIR/pull/2013/files but I don't think we've added that column to the cross-resource LOGICAL_RESOURCES table yet.  Does it make sense to try to squeeze it in for 4.6.0, or we feel good about adding this later?

last_updated field in logical_resource table is not populated on ingestion. Closing issue


[Docs] Change about dolphinscheduler faq.md

Signed-off-by: kodalien<EMAIL_ADDRESS>

Will review today later

Hi @Kodalien, it seem this PR have conflict

Could your rebase to master, solve conflict and force push to Github?

ping @Kodalien are you still working on this PR now

ping @Kodalien你现在还在做这个 PR

of course @zhongjiajie

ping @Kodalien你现在还在做这个 PR

of course @zhongjiajie

Looking forward your contribution

Hi @Kodalien since we migrate our docs into apache/dolphinscheduler in PR https://github.com/apache/dolphinscheduler/pull/9291, you should change this file in https://github.com/apache/dolphinscheduler/tree/dev/docs instead of apache/dolphinscheduler-website. Do you have time to migrate it to apache/dolphinscheduler? If you need some help, feel free to ping me.

Hi @Kodalien since we migrate our docs into apache/dolphinscheduler in PR apache/dolphinscheduler#9291, you should change this file in https://github.com/apache/dolphinscheduler/tree/dev/docs instead of apache/dolphinscheduler-website. Do you have time to migrate it to apache/dolphinscheduler? If you need some help, feel free to ping me.

Hi,borther ! Thanks, can assign my new PR！！easy to migrate DS document  @zhongjiajie

Hi @Kodalien , you could submit a PR to apache/dolphinscheduler directly, and I will review the docs PR


Move some release repos to ros-gbp

Not sure why I originally created these in fetchrobotics-gbp, since the source repos are personal repos.

Good point on the tracks, thanks for mentioning that!


Added Christa McAuliffe Academy School of Arts and Sciences

Contact Information:
503.226.7374
866.920.1619 (fax)
<EMAIL_ADDRESS>5200 SW Meadows Rd. Ste. 150
Lake Oswego, OR 97035

@ozammor First stage of verification passed, official domain is cmasas.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@ozammor Pull request merged. Thank you.


Sigs for grml missing?

When booting to grml, checkings sigs fails, as they seem to be missing from the server.

Hopefully this will fix it:
https://github.com/antonym/netboot.xyz-sigs/commit/a7d4aae9115ae87e5c22140e6a0046738527cd02
They used to be in the utility menu, so forgot to adapt them for the new menu.


Feature/optimize perimeter

This PR tries to implement perimeter optimization similar in concept to what mrehorst suggested in   #73. I implemented this initially for the polar machine before I even saw Mark’s issue. Specifically, this PR tries to:

Eliminates unnecessary perimeter moves. This reduces the number of moves considerably in some cases, and when you increase the size or number of loops outside of permitted boundaries, the total distance no longer increases indefinitely, instead hitting a local maximum.
If ‘minimizeMoves’ is enabled, tries to reduce the total number of perimeter moves by walking “perimeter segments” efficiently. I added this as a toggle-able option instead of an automatic improvement, because it changes the path (not always as symmetrically pleasing to the eye) and sometimes it does not actually reduce the total distance. That said, more often than not, it looks pleasing and reduces the distance considerably. For example, try Clover, small circle radius = 1.85, number of loops = 17 as example. Toggle ‘minimize perimeter moves’ and use the slider to see the difference.
Moves limit enforcement and end point logic into machine classes. I was pleased at how much of the overall logic could be abstracted into a superclass and applied to both rectangular and polar movement.

Performance considerations: This PR does introduce some additional calculations with each redraw. I did not time them to see the difference. On my machine (high-end), the additional calculation load did not affect the responsiveness of the UI even when sliding. That said, if you feel this impacts performance there may be ways to offload some of the calculations to a background worker or throttle differently, etc.

Example I am running on my table now: with PR changes, distance of 66k; without 150k

I merged in master. I didn't do it with a rebase, or even a --no-ff.

I am totally fine with this though. It passes the bar for me. I will wait to merge, until I get a thumbs up from you. In case you disagree with my changes.

I am totally fine with this though. It passes the bar for me. I will wait to merge, until I get a thumbs up from you. In case you disagree with my changes.

The changes look good. I think when you merged in the latest changes from master, however, we somehow ended up with double commits. I created a new PR #124 to clean this up, so please merge that one instead.

Those extra commits came in because I did a git merge, and I didn't do a git merge --no-ff. So they were able to just be fast forwarded in. They wouldn't have made a difference to the code, but rebasing is cleaner. Thanks.


[build] add support for EFR32 devices on Thread 1.3

This adds support for building efr32 images for Thread 1.3
It also refactors the make-firmware.bash and make-reference-release.bash scripts to allow other platforms to be easily added.

Main changes

Add ot-efr32 to build script
Add ot-efr32 submodule
Skip Silabs apps in ot-efr32
Limit efr32 to only brd4166a.
Refactor ./script/make-firmware.bash

If no platform is specified, the script will build all platforms.
If a platform is specified as an argument, the script will build
only that platform

Other changes

Allow relative paths for OUTPUT_ROOT when running make-firmware.bash directly
Add support for downloading nrfutil on MacOS
Use wildcard to simplify .gitignore

@jwhui - Could you add @romacdon and @suveshpratapa as reviewers?

CC: @edmont

@jwhui can you answer @lmnotran's question above?  Also, we'd appreciate it if you or someone from your team could review the changes as well.  Thanks

@jwhui can you answer @lmnotran's question above? Also, we'd appreciate it if you or someone from your team could review the changes as well. Thanks

@romacdon , you should be able to assign reviewers now. I have also assigned a couple of additional reviewers. Thanks.

Thanks for reviewing @superwhd @simonlingoogle !
@jwhui - I just addressed the nits. Should be good to go!


insiders build won't start due to sudden newer GLIBC requirement

VSCode Version: code-insiders-1.22.0-1521639327.el7.x86_64
OS Version: CentOS Linux release 7.4.1708 (Core)

Does this issue occur when all extensions are disabled?: Yes
I usually update my code-insiders build every morning and as of a few days ago I can no longer open it. Running code-insiders never gives me a UI or an error. Some processes hang in the background and no windows appear.
When I run code-insiders -s I get:
> code-insiders -s
{ errorCode: 'load',
  moduleId: 'spdlog',
  neededBy: [ 'vs/platform/log/node/spdlogService' ],
  detail:
   Error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/share/code-insiders/resources/app/node_modules.asar.unpacked/spdlog/build/Release/spdlog.node)
       at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
       at Object.Module._extensions..node (module.js:598:18)
       at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:187:18)
       at Module.load (module.js:488:32)
       at tryModuleLoad (module.js:447:12)
       at Function.Module._load (module.js:439:3)
       at Module.require (module.js:498:17)
       at n (/usr/share/code-insiders/resources/app/out/vs/loader.js:15:513)
       at bindings (/usr/share/code-insiders/resources/app/node_modules.asar/bindings/bindings.js:81:44)
       at Object.<anonymous> (/usr/share/code-insiders/resources/app/node_modules.asar/spdlog/index.js:3:35)
       at Object.<anonymous> (/usr/share/code-insiders/resources/app/node_modules.asar/spdlog/index.js:21:3)
       at Module.i._compile (/usr/share/code-insiders/resources/app/out/vs/loader.js:15:731)
       at Object.Module._extensions..js (module.js:580:10)
       at Module.load (module.js:488:32)
       at tryModuleLoad (module.js:447:12)
       at Function.Module._load (module.js:439:3)
       at Module.require (module.js:498:17)
       at require (internal/module.js:20:19)
       at t.load (/usr/share/code-insiders/resources/app/out/vs/loader.js:16:56)
       at e.load (/usr/share/code-insiders/resources/app/out/vs/loader.js:13:587)
       at i (/usr/share/code-insiders/resources/app/out/vs/loader.js:27:777)
       at Object.errorback (/usr/share/code-insiders/resources/app/out/vs/loader.js:27:898)
       at e.triggerErrorback (/usr/share/code-insiders/resources/app/out/vs/loader.js:13:952)
       at /usr/share/code-insiders/resources/app/out/vs/loader.js:13:657
       at ReadFileContext.callback (/usr/share/code-insiders/resources/app/out/vs/loader.js:16:267)
       at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:359:13) }

Has the glibc version indeed changed recently? Is the newer version absolutely necessary?
Latest non-insiders/stable build (code-1.21.1-1521039056.el7.x86_64) works just fine. :/
If it helps:
> strings /usr/lib/libstdc++.so.6 | grep GLIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBC_2.3
GLIBC_2.0
GLIBC_2.4
GLIBC_2.1
GLIBC_2.1.3
GLIBC_2.3.2
GLIBC_2.2
GLIBCXX_DEBUG_MESSAGE_LENGTH

Strings from current insiders build:
> strings /usr/share/code-insiders/resources/app/node_modules.asar.unpacked/spdlog/build/Release/spdlog.node | grep -E "^GLIBCXX_"
GLIBCXX_3.4.18
GLIBCXX_3.4.14
GLIBCXX_3.4.19
GLIBCXX_3.4.21
GLIBCXX_3.4.11
GLIBCXX_3.4.20
GLIBCXX_3.4

vs strings from current stable build:
> strings /usr/share/code/resources/app/node_modules.asar.unpacked/spdlog/build/Release/spdlog.node | grep -E "^GLIBCXX_"
GLIBCXX_3.4.18
GLIBCXX_3.4.14
GLIBCXX_3.4.19
GLIBCXX_3.4.11
GLIBCXX_3.4

Seems like an issue related to requiring spdylog:
 neededBy: [ 'vs/platform/log/node/spdlogService' ],

/duplicate #46193


Deprecate Modifier.onExternalDrag and move DragData into ui.draganddrop

Modifier.onExternalDrag and all related APIs are now deprecated.
The only surviving API, DragData has been moved into the ui.draganddrop package. Note that this is an API change.
Fixes https://youtrack.jetbrains.com/issue/CMP-5977
Testing
No testing necessary
Release Notes
Breaking changes - Desktop
Modifier.onExternalDrag has been deprecated in favor of the new Modifier.dragAndDropTarget.

Please provide a usage example. I am unable to find a way to access dragdata.

https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-drag-drop.html


Url Routing

Good Day
First I would like to thank you for this project and the dedication to keep supporting it.
I have a problem that might be caused by lack of knowledge from my side because it seems like no one else have this issue. So I do apologize before hand if its something obvious that I have overlooked or not aware of.
Basically what it comes down to is let say I have a controller with with a action and the route is the following.
[Route("api/google/{**rest}
public Task TestProxy(string rest)
{
      var queryString = this.Request.QueryString.Value;
      return this.HttpProxyAsync($"https://www.google.com/{rest}{queryString}"
}
If I go to this route initially it is working as expected I get the following url
"https://localhost:5001/api/google/"
The logo of google does not display but what I will be pointing out next will be the reason for that.
If I then type in the web page of google test and select to search it immediately tries and send the request directly to "https://localhost:5001/search?source" and not "https://localhost:5001/api/google/search?source" where my action route is. This is the same reason why the image of google is not showing.
As a workaround I have made an action with a catchall route to redirect back to the proxy action. This then does work and even the google page is showing correctly. But I believe it is not intended to work this way.
The main reason I am using this is to access local copier devices on the local network with their web  interfaces but you need to authenticate with the web interface witch makes use of "cgi" and using the workaround that I mentioned when trying to log in it just doesn't do anything and the browser is waiting for a reply.
Your feedback will be much appreciated.

Hi @Gertjv20,
Thanks for filing the issue and for the interest! :)
This is actually a scenario I have run into before.  Unfortunately, this scenario is not really what this library is designed for.  This library is more designed to "reverse" proxy a server, or something like that.  And, in that vein, it is meant to proxy just one request coming from a client.
The problem that you are running into (using the google example), is that a request to https://localhost:5001/api/google/ will forward, as you have instructed, to https://www.google.com/.  However, the local google page does not know about your proxy, so it has a bunch of references to things like /search or /favicon.ico.  As far as the browser is concerned, a reference to /favicon.ico is a reference to https://localhost:5001/, since it doesn't really know about the proxy magic that you are doing.
However, there is a possible solution (though I have not tried it).  You could set a base in all HTML (see: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base).  Basically, you would do something like this.
private HttpProxyOptions _httpOptions = HttpProxyOptionsBuilder.Instance
        .WithAfterReceive(async (c, hrm) =>
        {
            // Alter the content in  some way before sending back to client.
            var content = await hrm.Content.ReadAsStringAsync();

            // Do something here that (1) detects whether or not this response is HTML, and (2) injects a base tag into the HTML at the proper location.

            hrm.Content = new StringContent(content);
        }).Build();

[Route("api/google/{**rest}
public Task TestProxy(string rest)
{
    var queryString = this.Request.QueryString.Value;
    return this.HttpProxyAsync($"https://www.google.com/{rest}{queryString}");
}

Hi Twitchax
Thank you for your response. I do understand what you are saying and I will definitely try your suggested solution. From what you are describing is definitely the reason of the workaround I have done which did not work but I am eager to try what you suggested. Unfortunately I will only be able to test it on Monday once I am back at work to see if it will work with the copier web interface that is on that network.
I am actually planning on trying something bazaar. This is only one piece of the puzzle of the project. Just for interest sake I will elaborate what I have in mind. I have never seen this and I was not able to get any example of what I am trying to accomplish.
What I have is a asp net core server and I have a winform/wpf combined application to let it work as a tray app. This client communicates with the copier devices to get their meter readings and then after a set poll time communicates with the Asp server sending that information. I have implemented SignalR to be able to send different poll times to the client db witch helps in not waiting for the next poll time of the client before it sees the change on the server.
So what I have described above I already have in place. What I would like to achieve next is for the server to have a route that sends the copier local IP of the URL I would like to retrieve on the network of the client so that the client would do the web request and send it back to the server in order to view that web response as the web page on the server route. And of course I would like to interact with that web page on the server side that forward those requests again to the server.
I have not seen anything like it before but I am sure there must be a way to achieve this.
So my thought process was I must at least be able to get the server to forward a request and return to view it as a web page. Thus the reason I discovered your project.
For what I am trying to accomplish this might not even be the correct approach.
Thank you for the kind response.

Hi Twitchax
Just for feedback I have tried your suggested solution. It unfortunately did not work in a way that would have benefited me.
I did inject the base tag with the href as my server route and I could see if I look at the source code of the page that it indeed showed it as the new content but still it would not return the remaining requests of the page back to the route specified as base. When I changed the base href to google then it worked and the page showed correctly but then selecting any element on the page would take me to the URL directly which I would expect because of the base href.
Anyways I decided not to implement the feature in my project because on second thought clients might have a problem if we access web interfaces on their local network remotely.
Thank you for your time and effort it is much appreciated.

Ok, sounds good.


Improve on the website design

The current website design is pretty minimal but boring. Here are some things you can work on:

Main page
Contact page
About page

Since this is a small but good issue to work on, you can design and develop all the above-mentioned pages and send them as one single PR. We can discuss here more about what colors, designs, and typography to use. Once all these are decided, you can start working on the issue. Plus, you can add some information to the above-mentioned pages but has to be appropriate to the project.

please assign this to me

Yea sure :)

Sorry I don't think I'm the right fit to work on this issue

It's totally fine. Thanks for letting me know.


Add engineering permission set

This is an example engineering permission set, demonstrating expiration for access rules, policy statements, and managed policy attachments.

iambic apply


Serve no longer seems to offer a different port

This looks new:

In the past serve was able to intelligently run on a different port by itself instead crashing if the port is busy. It would be great to restore that old behavior.
Thanks!

Haha, yeah this was my favorite feature and now with the url rewriting I have to find another package to use 😂


Add files via upload

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

Changes

N/A

Flags

N/A

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

little changes


Fix typo in _run_validation_chain documentation

Not sure why coveralls is broken. Only corrected a single documentation line.

thanks @crast!


nix-build -A pkgsMusl.coreutils fails (syntax error in configure)

Describe the bug
On current master (31eeb468edc92bf78f42ec3c1dcbe934daf76f54) I get:
~/build/nixpkgs $ nix-build -A pkgsMusl.coreutils
these derivations will be built:
  /nix/store/q1152gqax5c39gx8yb53spaiwmh4di0y-coreutils-8.32.drv
building '/nix/store/q1152gqax5c39gx8yb53spaiwmh4di0y-coreutils-8.32.drv'...
unpacking sources
unpacking source archive /nix/store/3gyxcm7gqmqk90363iiwi2xwpfvh5x7l-coreutils-8.32.tar.xz
source root is coreutils-8.32
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file coreutils-8.32/doc/coreutils.info
patching sources
autoreconfPhase
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: running: autopoint --force
Copying file build-aux/config.rpath
Copying file m4/extern-inline.m4
Copying file m4/glibc2.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intmax.m4
Copying file m4/printf-posix.m4
Copying file m4/uintmax_t.m4
Copying file po/Makefile.in.in
Copying file po/Makevars.template
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /nix/store/8ji5gb80lcjjbpjv9kf7nfamy2k83ix8-autoconf-2.70/bin/autoconf --force
configure.ac:55: warning: The macro `AC_PROG_CC_STDC' is obsolete.
configure.ac:55: You should run autoupdate.
m4/std-gnu11.m4:476: AC_PROG_CC_STDC is expanded from...
configure.ac:55: the top level
configure.ac:61: warning: The macro `AC_GNU_SOURCE' is obsolete.
configure.ac:61: You should run autoupdate.
./lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from...
m4/gnulib-comp.m4:34: gl_EARLY is expanded from...
configure.ac:61: the top level
configure.ac:61: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:61: You should run autoupdate.
./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from...
m4/threadlib.m4:384: gl_THREADLIB_EARLY_BODY is expanded from...
m4/threadlib.m4:377: gl_THREADLIB_EARLY is expanded from...
m4/gnulib-comp.m4:34: gl_EARLY is expanded from...
configure.ac:61: the top level
configure.ac:63: warning: AC_CHECK_HEADERS(openssl/$ALG_header): you should use literals
./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from...
m4/gl-openssl.m4:13: gl_CRYPTO_CHECK is expanded from...
m4/md5.m4:7: gl_MD5 is expanded from...
m4/gnulib-comp.m4:896: gl_INIT is expanded from...
configure.ac:63: the top level
configure.ac:63: warning: AC_CHECK_HEADERS(openssl/$ALG_header): you should use literals
./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from...
m4/gl-openssl.m4:13: gl_CRYPTO_CHECK is expanded from...
m4/sha1.m4:7: gl_SHA1 is expanded from...
m4/gnulib-comp.m4:896: gl_INIT is expanded from...
configure.ac:63: the top level
configure.ac:63: warning: AC_CHECK_HEADERS(openssl/$ALG_header): you should use literals
./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from...
m4/gl-openssl.m4:13: gl_CRYPTO_CHECK is expanded from...
m4/sha256.m4:7: gl_SHA256 is expanded from...
m4/gnulib-comp.m4:896: gl_INIT is expanded from...
configure.ac:63: the top level
configure.ac:63: warning: AC_CHECK_HEADERS(openssl/$ALG_header): you should use literals
./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from...
m4/gl-openssl.m4:13: gl_CRYPTO_CHECK is expanded from...
m4/sha512.m4:7: gl_SHA512 is expanded from...
m4/gnulib-comp.m4:896: gl_INIT is expanded from...
configure.ac:63: the top level
configure.ac:63: warning: The macro `_AC_COMPUTE_INT' is obsolete.
configure.ac:63: You should run autoupdate.
./lib/autoconf/general.m4:3365: _AC_COMPUTE_INT is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2248: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2269: AC_CACHE_CHECK is expanded from...
m4/gethostname.m4:47: gl_PREREQ_HOST_NAME_MAX is expanded from...
m4/gethostname.m4:10: gl_FUNC_GETHOSTNAME is expanded from...
m4/gnulib-comp.m4:896: gl_INIT is expanded from...
configure.ac:63: the top level
configure.ac:63: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:63: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
m4/malloc.m4:9: _AC_FUNC_MALLOC_IF is expanded from...
m4/malloc.m4:55: gl_FUNC_MALLOC_GNU is expanded from...
m4/gnulib-comp.m4:896: gl_INIT is expanded from...
configure.ac:63: the top level
configure.ac:63: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:63: You should run autoupdate.
./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from...
m4/gnulib-comp.m4:896: gl_INIT is expanded from...
configure.ac:63: the top level
configure.ac:63: warning: $as_echo_n is obsolete; use AS_ECHO_N(["message"]) instead
m4/gnulib-common.m4:453: gl_CACHE_VAL_SILENT is expanded from...
m4/stdarg.m4:10: gl_STDARG_H is expanded from...
m4/gnulib-comp.m4:896: gl_INIT is expanded from...
configure.ac:63: the top level
configure.ac:63: warning: The macro `AC_DECL_SYS_SIGLIST' is obsolete.
configure.ac:63: You should run autoupdate.
./lib/autoconf/specific.m4:40: AC_DECL_SYS_SIGLIST is expanded from...
m4/strsignal.m4:55: gl_PREREQ_STRSIGNAL is expanded from...
m4/gnulib-comp.m4:896: gl_INIT is expanded from...
configure.ac:63: the top level
configure.ac:64: warning: The macro `AC_ISC_POSIX' is obsolete.
configure.ac:64: You should run autoupdate.
./lib/autoconf/specific.m4:544: AC_ISC_POSIX is expanded from...
m4/jm-macros.m4:22: coreutils_MACROS is expanded from...
configure.ac:64: the top level
configure.ac:64: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.ac:64: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
m4/check-decl.m4:14: gl_CHECK_DECLS is expanded from...
m4/jm-macros.m4:22: coreutils_MACROS is expanded from...
configure.ac:64: the top level
configure.ac:64: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:64: You should run autoupdate.
./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from...
m4/xattr.m4:11: gl_FUNC_XATTR is expanded from...
m4/prereq.m4:28: gl_PREREQ is expanded from...
m4/jm-macros.m4:22: coreutils_MACROS is expanded from...
configure.ac:64: the top level
configure.ac:64: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:64: You should run autoupdate.
./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from...
m4/jm-macros.m4:22: coreutils_MACROS is expanded from...
configure.ac:64: the top level
configure.ac:64: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:64: You should run autoupdate.
./lib/autoconf/general.m4:2919: AC_TRY_LINK is expanded from...
m4/jm-macros.m4:22: coreutils_MACROS is expanded from...
configure.ac:64: the top level
configure.ac:64: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:64: You should run autoupdate.
./lib/autoconf/general.m4:2919: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2893: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2910: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2919: AC_TRY_LINK is expanded from...
m4/jm-macros.m4:22: coreutils_MACROS is expanded from...
configure.ac:64: the top level
autoreconf: running: /nix/store/8ji5gb80lcjjbpjv9kf7nfamy2k83ix8-autoconf-2.70/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory '.'
updateAutotoolsGnuConfigScriptsPhase
Updating Autotools / GNU config script to a newer upstream version: ./build-aux/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./build-aux/config.guess
configuring
configure flags: --disable-dependency-tracking --prefix=/nix/store/q0wn26fcbrf495qh2wz0vwsn02550zpv-coreutils-8.32 --bindir=/nix/store/q0wn26fcbrf495qh2wz0vwsn02550zpv-coreutils-8.32/bin --sbindir=/nix/store/q0wn26fcbrf495qh2wz0vwsn02550zpv-coreutils-8.32/sbin --includedir=/nix/store/q0wn26fcbrf495qh2wz0vwsn02550zpv-coreutils-8.32/include --oldincludedir=/nix/store/q0wn26fcbrf495qh2wz0vwsn02550zpv-coreutils-8.32/include --mandir=/nix/store/q0wn26fcbrf495qh2wz0vwsn02550zpv-coreutils-8.32/share/man --infodir=/nix/store/rf5yb5092vfgycgaa3jnnkjclfk9id23-coreutils-8.32-info/share/info --docdir=/nix/store/q0wn26fcbrf495qh2wz0vwsn02550zpv-coreutils-8.32/share/doc/coreutils --libdir=/nix/store/q0wn26fcbrf495qh2wz0vwsn02550zpv-coreutils-8.32/lib --libexecdir=/nix/store/q0wn26fcbrf495qh2wz0vwsn02550zpv-coreutils-8.32/libexec --localedir=/nix/store/q0wn26fcbrf495qh2wz0vwsn02550zpv-coreutils-8.32/share/locale --with-packager=https://NixOS.org --enable-single-binary=symlinks
checking for a BSD-compatible install... /nix/store/5b7a4ynm23gm375q1fzbsh4sqc806864-bootstrap-tools/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /nix/store/5b7a4ynm23gm375q1fzbsh4sqc806864-bootstrap-tools/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
./configure: line 6425: syntax error near unexpected token `ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89'
./configure: line 6425: `                      ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89'
builder for '/nix/store/q1152gqax5c39gx8yb53spaiwmh4di0y-coreutils-8.32.drv' failed with exit code 2
error: build of '/nix/store/q1152gqax5c39gx8yb53spaiwmh4di0y-coreutils-8.32.drv' failed

Pinging @matthewbauer @tobim  @nh2 who seems to have dealt with coreutils and musl recently.

Git bisect points to 3f42dfe7d9b0e2cc1485cede6e82b59b09d60838 by @alyssais as the offending commit;

Git bisect points to 3f42dfe7d9b0e2cc1485cede6e82b59b09d60838 by @alyssais as the offending commit;

Its unclear what patch is meant here:
    ++ optionals stdenv.hostPlatform.isMusl [ autoreconfHook bison ];   # due to patch

Maybe that line can be dropped?

Its unclear what patch is meant here:
    ++ optionals stdenv.hostPlatform.isMusl [ autoreconfHook bison ];   # due to patch

Maybe that line can be dropped?

Indeed, with
diff --git a/pkgs/tools/misc/coreutils/default.nix b/pkgs/tools/misc/coreutils/default.nix
index d0e032b7c10..1a0c9b2e10c 100644
--- a/pkgs/tools/misc/coreutils/default.nix
+++ b/pkgs/tools/misc/coreutils/default.nix
@@ -76,8 +76,7 @@ stdenv.mkDerivation (rec {
   outputs = [ "out" "info" ];

   nativeBuildInputs = [ perl xz.bin ]
-    ++ optionals stdenv.hostPlatform.isCygwin [ autoreconfHook texinfo ]   # due to patch
-    ++ optionals stdenv.hostPlatform.isMusl [ autoreconfHook bison ];   # due to patch
+    ++ optionals stdenv.hostPlatform.isCygwin [ autoreconfHook texinfo ];  # due to patch
   configureFlags = [ "--with-packager=https://NixOS.org" ]
     ++ optional (singleBinary != false)
       ("--enable-single-binary" + optionalString (isString singleBinary) "=${singleBinary}")

builds. I have no idea if that is a good thing, or just hiding problems, though :-)

Indeed, with
diff --git a/pkgs/tools/misc/coreutils/default.nix b/pkgs/tools/misc/coreutils/default.nix
index d0e032b7c10..1a0c9b2e10c 100644
--- a/pkgs/tools/misc/coreutils/default.nix
+++ b/pkgs/tools/misc/coreutils/default.nix
@@ -76,8 +76,7 @@ stdenv.mkDerivation (rec {
   outputs = [ "out" "info" ];

   nativeBuildInputs = [ perl xz.bin ]
-    ++ optionals stdenv.hostPlatform.isCygwin [ autoreconfHook texinfo ]   # due to patch
-    ++ optionals stdenv.hostPlatform.isMusl [ autoreconfHook bison ];   # due to patch
+    ++ optionals stdenv.hostPlatform.isCygwin [ autoreconfHook texinfo ];  # due to patch
   configureFlags = [ "--with-packager=https://NixOS.org" ]
     ++ optional (singleBinary != false)
       ("--enable-single-binary" + optionalString (isString singleBinary) "=${singleBinary}")

builds. I have no idea if that is a good thing, or just hiding problems, though :-)

Created a PR of this at https://github.com/NixOS/nixpkgs/pull/108685, but really, I don’t know what I am doing here. @tobim, shall I un-draft that?

Created a PR of this at https://github.com/NixOS/nixpkgs/pull/108685, but really, I don’t know what I am doing here. @tobim, shall I un-draft that?

Should be fine, it might still be an issue on Cygwin though.

Should be fine, it might still be an issue on Cygwin though.


Monica/download json to file

Changes:

Refactored Network.swift and searchForRoutes() in RouteOptionsViewController.swift to be more readable
Created JsonFileManager to log route and delay jsons, search parameters (starting location name, ending location name, search time type, search time, etc), and request urls
Disable 5 second looping delay request when move to RouteDetailViewController and enable when move back to RouteOptionsViewController

Gonna do last 2 PR comments tomorrow

Merged into #122