Lists with inline code elements and nested lists have extra margin.

Description
When creating a list with inline code elements you get uneven spacing if the next element in the list is a list itself.
Steps To Reproduce
Create a list with the following structure in markdown to see the problem.
- `Inline code element`
    - Next element, too much spacing above this.
    - Spacing is fine here.

The resulting HTML looks like:

    Inline code element

Next element, too much spacing

Spacing is fine here.

Expected Behavior
The spacing should've zeroed out the margin-top like it does for normal nested lists.

This CSS does the zeroing:
.content :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)):first-child {
    margin-top: 0px;
}

Actual Behavior

The previous css is excluded, I believe because the ul is no longer the first-child of the containing li, the code tag is getting in the way.
Additional Context
This problem occurs with other elements besides , such as when italicizing an element () or bolding it ()
Environment

Hugo Version: 0.121.1
Browser/OS: Vivaldi, Windows 11
Theme Version: v0.7.0

thanks, will take a look


Mention how to seed PRNG before activating Filevault

For example:
cat > /dev/random
[type random letters for a while and press ctrl-c]

This is not required.

Please do not use /dev/random, use /dev/urandom.
/dev/urandom reseeds itself already.

Also, see this excellent talk by @FiloSottile on entropy and /dev/urandom

@mikeyjck this is OS X, not Linux. Check man random (as per the guide). The /dev/urandom on OS X is just a nod to Linux, it's not the same impl. Both /dev/ randoms are non-blocking and reseeded automatically (as this guide already describes), but (theoretically) there's no guarantee at first boot that enough will have been generated to make a good encryption in FileVault.
I think this issue was asking for elaboration on how you might seed additional entropy at first boot before enabling FileVault (which the guide already suggests you might like to do)

@dnwe You are correct apologies for my mistake.

@dnwe , Imagining FileVault was enabled pretty much right after OSX installation; what practical implications would it have to the encryption?

@asvc I'm merely quoting what already exists in the guide at https://github.com/drduh/OS-X-Security-and-Privacy-Guide/blob/master/README.md#full-disk-encryption where @drduh recommends waiting some time after boot before enabling FileVault.

ping @drduh

I'd be very surprised if the OS X /dev/[u]random was low-entropy at
boot, but if that's the case, it should be a talk at DEF CON, not a
recommendation on a guide.

@FiloSottile again I believe it's specifically first boot after a new OS install. A cache of entropy is stored and restored to disk by the SecurityServer and can be used on subsequent boots.
https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man4/random.4.html

In this issue I'm asking for a more practical advice for users that want to additionally seed the Yarrow PRNG by writing to /dev/random before activating FileVault. FileVault keys are generated from the PRNG and my estimate is that the entropy that went into the PRNG before that is rather low. We did experiments with 1000 fresh install boots and the estimated effective fresh reboot seed entropy is around 320 bits:
prngInitialize()
prngInput(inbuflen = 8)		source: microtime()
prngForceReseed(ticks = 50)	recalculate pool
prngInput(inbuflen = 20)		source: /var/db/SystemEntropyCache (updated every 6h)
prngForceReseed(ticks = 50)
prngInput(inbuflen = 256)	source: mach_absolute_time() (41 * sizeof(mach_timespec_t)) via kdbg_getentropy(), collectEntropy(), and also 1 * current time
prngInput(inbuflen = 72)
prngForceReseed(ticks = 50)

From those seeds, microtime and current time are predictable. SystemEntropyCache is empty.
7 of 8 bytes of mach_timespec_t is also predictable.
In most systems, SystemEntropyCache from the first boot saves the day so we didn't go to DEFCON :) but it's still pretty low.
See https://eprint.iacr.org/2012/374.pdf for more info. This is based on 10.7.

@felixgr , would it be beneficial to disable and enable FileVault in that case? This should lead to the disk being re-encrypted with the new key.

@asvc well, that requires two reboots so entropy would increase. But it's not really practical. I recommend to write to /dev/random.

@felixgr , I've meant situation if the HD was encrypted after the 1st boot.


In IE, Dialog has transparent background

I don't know if this is the correct fix, but by adding "background: white" to the dialog css class, it resolved the issue.
This fix is not needed for Chrome.

Same for Firefox - transparent BG

@gregoryagu @charlespockert ,
Aurelia dialog uses the html5 dialog element, which been dropped from the html5 spec. So your work around would need to be adding base rules for this element in your css.
Chrome currently still uses the dialog element, see caniuse.com for the list of supported browsers.

@PWKad We need to rename our element to ai-dialog so it does not conflict with the native element.


[Testing] Test cases for runtime entry function verification.

We should write test cases for runtime verification of the entry function.
These test cases can be divided into two categories: successful verification and failed verification.
Additionally, multiple test scenarios should be constructed for each category.
Reference the Move test cases at: https://github.com/move-language/move/tree/main/language/move-bytecode-verifier/transactional-tests/tests.
For example:

etnry_function_with_return_value.move
entry_function_invalid_struct.move
entry_function_valid_struct.move
entry_function_invalid_reference.move

In the Rooch project, we can write the test code in this directory: crates/rooch-integration-test-runner/tests/cases.

Can I try with this issue?

Can I try with this issue?

Sorry, this issue is currently assigned to @WGB5445. Are you interested in working on this issue https://github.com/rooch-network/rooch/issues/265?


add client, asp.net core package and an example

First PR for ShenYu dotnet client. It includes Client package, AspNetCore package, and a ASP.NET Core example.
The Client package contains the mechanisms to register uri and metadata through shenyu-admin register APIs.
The AspNetCore depends on Client package, mainly focuses on finding the controllers and actions which is needed to be registered.
The ASP.NET Core example depends on AspNetCore package, which provides an example how to use ShenYu SDK in ASP.NET Core project.

removed .editorconfig file


feat: Filter Feature by variance

definition
Develop a feature selector that excludes features with 0 or near 0 variance.
Need to handle categorical features: the ratio of the frequency of the most common value to the frequency of the second most common value is large.
Reference

Recipes step_zv()
sklearn variance threshold
Recipes step_nzv()

done.


Multiple spans under decorated days.

Is that possible to add multiple spans?  I want something like this

Thanks in advance.

Nevermind. I got that.


Improved streaming support for Apache Kafka

Committing (along with attaching useful information on the commit) makes a lot of sense for batch workloads: run a job or a pipeline on a separate branch, and then commit once the pipeline has completed successfully, recording metadata such as the git hash of the code executed, the versions of frameworks used, and information about the data artifacts generated by the run.
For streaming however, this is currently less clear: There's no obvious point in time to commit, as things never actually "finish successfully".
The recommended pattern would be to ingest from a stream on a separate branch, periodically committing - storing not only the data added since last commit but also capturing the offset read from the stream, for reproducibility.
These commits can then be merged into a main branch given they pass all relevant quality checks and other validations using hooks, exposing consumers to validated, clean data.
In practice, implementing such a workflow is a little challenging. Users need to:

Orchestrate the commits and merge operations.
figure out how to attach the correct offset read from the stream broker
Handle writes coming in while the commit is taking place

Ideally, lakeFS should provide the tools to automate this, with native support for Apache Kafka.

This would also require being able to support commits at a reasonably high-frequency.


How to start JupyterLab in a virtual environment

Could you please tell me how to start JupyterLab in a virtual environment?
I use Windows 10 and have already installed Anaconda 64 bit.
I failed to install tensorflow in the base environment. Therefore, I created a virtual environment where tensorflow was  installed, by writing the following command on Anaconda prompt.
conda create -n tf2 tensorflow python=3.7
With this command, I created the virtual environment succesfully.
Then, I wrote the following command on the activated virtual environment:
(tf2) conda install -c conda-forge jupyter lab
Finally, I wrote this command:
jupyter lab
However, JupyterLab did not start.
Could you please teach me what I should do?

@momohina,
This question is better asked on StackOverflow since it is not a TensorFlow bug or feature request. There is also a larger community that reads questions there. Thanks!

Thank you very much for advice!
I am going to ask the question on StackOverflow.


additions of the Belarusian language. Edit Russian

fixed registry errors

Your branch needs to be rebased on main before merge. I think you created the branch off an older version of main

Your branch needs to be rebased on main before merge. I think you created the branch off an older version of main

Yes

Hey, looks like these don't work as you spelt this file wrong compatbility.json

Hey, looks like these don't work as you spelt this file wrong compatbility.json

fixed

i have only one ask for tx16s why :
touch screen does not work
The "Page<" key does not work
Long key response time (perhaps this is system braking)
Perhaps the RTN button refers to incorrect commands
if you can please answer me i will be really greatful

Wrong repo, I'm sorry @D4RK3R2. This software is only for flashing edgetx, the main repo contains the source for the radio.

yeah i know @freshollie i use russian version of this but i got this problems


parity of image sync with old lxd-image behavior

Hey,
Its possible this is just documentation or misunderstanding of a user (me).
However, previously I would do something like this:
lxd-images import ubuntu --alias wily wily --stream=daily
That did at least these things:

imported a new image

set up that thing to magically keep in sync

added an alias 'wily', such that subsequently this would work
lxc launch wily x1

Now the command for doing something similar is:
lxc launch ubuntu-daily:xenial x1
But what I'm missing is from the previous behavior is:

ability to request sync without launching (or even init a container).
This isn't a huge thing as I assume I can lxc init ubuntu-daily:xenial somename and then lxc delete somename, but that is less direct.

ability to add aliases to the magical up to date image
Essentially I want what this would seem to imply:  lxc image alias create x ubuntu-daily:xenial .  After the 'launch' above, i can list the image, and i could alias to the fingerprint of that image, but I assume the alias would be on the fingerprint then, and not on the more complex and mutable "latest ubuntu-daily:xenial"

You want:
lxc image copy ubuntu-daily:xenial local: --alias xenial --auto-update
and
You can add aliases to the cache entries by looking up their hash in "lxc image list" and adding aliases with "lxc image alias create"
Aliases are moved forward as the image is updated so you won't loose those when we auto-update the image.

image copy is great. thank you.

Aliases are moved forward as the image is updated so you won't loose those when we auto-update the image.

Is there a way to not have aliases moved forward?
This seems a reasonable desire:
   $ lxc image list xenial
   +--------+--------------+--------+--------------------------------------+--------+----------+-----------------------------+
   | ALIAS  | FINGERPRINT  | PUBLIC |             DESCRIPTION              |  ARCH  |   SIZE   |         UPLOAD DATE         |
   +--------+--------------+--------+--------------------------------------+--------+----------+-----------------------------+
   | xenial | 079a91b7443d | no     | Ubuntu 16.04 LTS server (20160308.1) | x86_64 | 139.26MB | Mar 8, 2016 at 7:38pm (UTC) |
   +--------+--------------+--------+--------------------------------------+--------+----------+-----------------------------+

  $ lxc image alias create xenial-20160308.1 079a91b7443d

Would lxc then move my alias 'xenial-20160308.1' forward the next time it syncs ?

Images marked as auto-update will be replaced by their latest version whenever one shows up.
If you want to keep it around, use "lxc image edit" to turn off the auto-update flag at which point lxd will keep the image around.
You can also achieve the same by doing a "lxc image copy" without the --auto-update flag.

Generally, i'm really happy with this. it works really well.
I do still think its odd that above, i aliased a very specific thing (by its fingerprint).  I'd not expect that to magically move.  My use case would be wanting to generally track releases or daily, but have tests in place that manage the alias 'last-good'' or something.  So i could always launch the last tested version, but still have the automagic syncing happening for me.


GM: Revert noisy brake pressed signal

This was causing a few faults that we could have prevented and disengaged, instead of causing a temporary cruise fault. From all the faults here: https://github.com/commaai/openpilot/issues/24223
Total segments with faults: 27, would be able to prevent by disengaging with brake pedal: 6
Reverted PR would have caught: 5  # https://github.com/commaai/openpilot/pull/23712
Master would have caught:      0
New PR would have caught:      6  # https://github.com/commaai/openpilot/pull/24589

Will merge once tests pass

Changing away from a fixed threshold value of 8 is going to be necessary for trucks, possibly other cars.
What if instead of capturing a flawed signal, we used the change in ACC status to trigger a disengagement? This could have the same behavior (unexpected disengagements vs unexpected cruise faults), and keep the brake pressed signal clean.
It looks like we use the cruiseState.enabled for enganging; Does the state change when the "false" brake presses occur?
Are there any public routes I could peek at where this problem was happening?


Clarified that follower_read_timestamp returns timestamp

Fixes https://github.com/cockroachdb/docs/issues/9089.
Fixes https://github.com/cockroachdb/docs/issues/5210.
@rmloveland I think this fixes https://github.com/cockroachdb/docs/issues/5210, but please let me know if you disagree.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/79d6d47d0e49af7463876b13267e5b3dd974957a/
Edited pages:

v20.2/as-of-system-time.md
v20.2/follower-reads.md
v20.2/topology-follower-reads.md
v21.1/as-of-system-time.md
v21.1/follower-reads.md
v21.1/topology-follower-reads.md


dart2js --minify does not minify preamble

This issue was originally filed by @jooadam

dart2js version 1.2.0 seems to ignore the --minify flag, including newline and indentation in the output.

The preamble is minified nowadays


fix:resp.body should be closed

Please provide a description of this PR:
resp.body should be closed

@jiuker: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
e4644193b5506ea7c5f7497e701eeda0788c096d
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


[Bug]: Fix HOP_PLATFORM_RUNTIME=Server in hop-server.bat

Apache Hop version?
2.8.0-SNAPSHOT
Java version?
Java 11
Operating system
Windows
What happened?
Fix HOP_PLATFORM_RUNTIME=Server in hop-server.bat
Issue Priority
Priority: 3
Issue Component
Component: Hop Server

does this actually change anything? I mean code/functionality wise?

I just discovered this error in the BAT by accident, when I was looking for the relevant attributes for OpenTelementry.
I'm not sure, maybe disable double buffering when generating the graph image on a Windows server.
// Do double buffering to prevent flickering on Windows
boolean needsDoubleBuffering = Const.isWindows() && "GUI".equalsIgnoreCase(Const.getHopPlatformRuntime());


Prevent from non existing data yet

Hey there!
Quite nice library!
Just adding a condition to ensure it shows part of the data, even if there are missing days/years from the enedis API.

Btw, if you could bump this lib once it's okay for you, will help :)


ESP8266 - PIC connection issue

Hello
I have managed to compile files and uploaded ESP8266 using Arduino IDE.
I can login into otgw.local. When I click PIC firmware nothing is displayed, and info “ No version found” at the bottom
When I click Device Info I can see data among which “Pic connected = false”
Hence I have uploaded PIC with  getway.hex using  otmonitor connected to OTGW gateway via FDDI/USB.
I have performed TEST#1(diagnoze.hex) with 4 LEDs connected to the PIC and they are flashing. I do not have boiler nor thermostat so can not do more tests,
I can connect from otmonitor to OTGW gateway via FDDI and send a command like AA=70 , I can see response.
However while otmonitor is connected to OTGW gateway via TCP/IP (port 25238), when  send command AA=70, no response.
Seems like ESP8266 is not connected with PIC☹. Any hints on how/what to check would be welcome.
PS. I am able to connect to OTGW monitor via telnet as well but not sure what to debug?

Hi
You have already debugged a lot. It sounds like a connection problem.
What version of the pcb do you have? If it's a version 2.x then you have jumpers you need to set correctly so that the pic and the NodeMCU are connected.
Please let me know your findings,
Robert

The PCB  V2.0. I have changed TxP/RxP jumpers for ESP/LAN as per instruction (so they are closer to ESP8266 Antena). I bought  the gateway in April 2021 and now trying to make it running. I wanted to connect to Renovent Brink HR (Ventilation) which uses Opentherm protocol  (I am in touch with a person who managed to do it). But I have the base issue with connection:-( . PCB looks OK not sure if it might be something on the board? if I can check any pcb connections? Or contact nodo shop for hints?

That's very strange. What do you get when you connect to the NodeMCU via the web interface?

@raf1000 when you goto the debug port (telnet to 23) then you should see live messages being decoded, as well as some debug information like sending MQTT messages.
If you do not see anything there, then I agree with @tjfsteele it strange. The green led blinking from the PIC is what you expect. So if you do not see any commands being parsed, and the serial port OTmonitor port, does not respond either. That's why I suggested to check the jumpers, could you share a picture of how you have setup your jumpers at this point?
On the discord there are more people that could think along with you figuring out what the problem is.
And yes, if nothing else works, you can also just contact Nodoshop. He is always very helpful getting hardware running.

When using FDDI/USB, after clicking Gateway in otmanager, I have the following (green LED flashing):
18:34:24.936547	Command: PR=M
18:34:24.969383	PR: M=M
18:34:29.454368	Command: GW=1
18:34:29.471898	GW: 1
18:34:29.502723	R00000000	Read-Data 	Status (MsgID=0): 00000000 00000000
- CH enable: disabled (0)
- DHW enable: disabled (0)
- Cooling enable: disabled (0)
- OTC active: not active (0)
- CH2 enable: disabled (0)
- Summer/winter mode: winter (0)
- DHW blocking: unblocked (0)
18:34:30.465244	R00000000	Read-Data 	Status (MsgID=0): 00000000 00000000

When using NodeMcu, after clicking Gateway in otmanager, I have the following (green LED flashing):
18:38:32.725177	Command: PR=M
18:38:35.403822	Command: GW=1

When I log in to the otgw.loca, I have the following:
DeveloperRobert van den Breemen
NodeMCU Firmware Version0.8.5+dc3dc14 (01-07-2021)
OTGW PIC Firmware VersionNo version found
Compiled on (date/time)Aug 13 2021 22:12:24
HostNameOTGW
IP address192.XXX.X.XXX
MAC addressE8:DB:84:DD:17:FA
Free Heap Memory (bytes)9472
Max. Free Memory (bytes)7096
Unique Chip IDdd17fa
Arduino Core Version3.0.1
Espressif SDK Version2.2.2-dev(38a443e)
CPU speed (MHz)160
Sketch Size (bytes)522.719
Free Sketch Space (bytes)1524
Flash ID001640D8
Flash Chip Size (MB)4
Real Flash Chip Size (MB)4
LittleFSsize2
Flash Chip Speed (MHz)40
Flash ModeDIO
Board TypeESP8266_NODEMCU
Wifi Network (SSID)
Wifi Receive Power (dB)-73
NTP Enabletrue
NTP TimezoneEurope/Amsterdam
Uptime since boot0(d)-00:02(H:m)
Last Reset ReasonExternal System
Nr. Reboots54
MQTT Connectedfalse
Thermostate connectedfalse
Boiler connectedfalse
Pic connectedfalse

Connected with telnet (I am not using MQTT here):
help
---===[ Debug Help Menu ]===---

Toggle verbose debug logging - OT message parsing
Toggle verbose debug logging - API handeling
Toggle verbose debug logging - MQTT module
q) Force read settings
m) Force MQTT discovery
r) Reconnect wifi, telnet, otgwstream and mqtt

[19:04:51][  11352|  9896] handleDebug (  74): MyDEBUG =true
[19:04:52][  12856| 10544] do5minevent ( 167): Uptime seconds: 677

@raf1000 From the logs you have shared here I can say that there is no OT msg see at all.
Log 1&2 are the same, the status message is a fake decoding I think.
From the NodeMCU dev info I can see that the OTGW PIC does not see the boiler nor thermostat.
You could try to connect the wires again. Just to see if that makes any difference.
As far as I can see it's a "not connected" to the  OT bus, you should see an average of 2 msg per second.

The strange thing is that it seems to work when using the FTDI serial cable.

@tjfsteele it seems he can program the PIC, but I have not seen any data in either log from the boiler or thermostat. So either the jumpers are not connected correctly, or, the wires to the PCB from the boiler and thermostat are not connected correctly.
If both are good, then I am thinking a problem with this PCB all together.
What about you?

In his original post he says

I do not have boiler nor thermostat so can not do more tests

Could be relevant?
Tim

Yes, at the moment I do not have connected boiler nor termostat. However my understanding of the gateway is that it shall resposne on the command I am sending, confirming that gateway received the request.  Hence whileusing serial I have confirmation as follows:
18:34:24.936547 Command: PR=M
18:34:24.969383 PR: M=M
18:34:29.454368 Command: GW=1
18:34:29.471898 GW: 1
And when using NodeMCU there is no confirmation that Gateway received a command:
18:38:32.725177 Command: PR=M
18:38:35.403822 Command: GW=1
Also the information in the OTGW firmware:
OTGW PIC Firmware VersionNo version found
Pic connected false
led me to conclusion that there is no communication between PIC and NodeMcu

The jumpers should look like this:

Yes exacly, for NodeMCU I am changing jumpers as per my photo. When I use serial I need to change them agin

If you have a multimeter or continuity tester I would disconnect the board from power then check there is a path from RX and TX on the NodeMCU to the jumper caps, although I've never heard of this being a problem before.
I assume the NodeMCU does not have anything plugged in to its USB port when you are trying to use it with OTGW.
Tim

I would disconnect the board from power then use a meter to check for continuity between the jumper caps and the vias as shown in the photo.
Also carefully inspect the solder joints around the jumpers and around the level converters at the top of the picture.

"OTGW PIC Firmware VersionNo version found
Pic connected false"
There is room for improvement in UI and software tests.
The firmware "no version" happens with some versions of firmware more often. I have found resetting it multiple times this sometimes resolves it.
The PIC connection false  should be improved based on your feedback. It is used to let Home Assisant know about the status of the OTGW as a whole. So the name is deceptive.
Even when everything is offline you can still talk to the PIC. I think you describe the way to test it.
Using the REST API you can easily test the command sending. It even validates the return commands for you. Just check the wiki on how to use the REST API.
Sorry, for the confusion the UI causes.

When using power supplier I am not connecting to USB.
I have checked RX between green circles and Tx between red circles and both are OK/continuity (0 ohm).
When I check between TxP and Tx on NodeMCu there is 22.8 kohm (probably some change of voltage on smd resistor?)

RxP and TxP are not directly connected to Rx and Tx on the NodeMCU, they go via level converters as the PIC works at 5V and the ESP works at 3.3V.
The photo you posted isn't very clear unfortunately when zoomed it, it's difficult to take a sharp macro photo so I don't blame you at all. As far as I can see there isn't a problem with the level converters which are the two transistors on the left.
I took a picture with my macro camera to show what it should look like. The transistor markings should all be the same.

The above was usuefull. I was checking connection paths of NodeMcu Rx - TxP and NodeMcu Tx - RxP
I can not check transistors but after checking all connections seems there is no connection between  NodeMcu Rx and 10K resistor as on the picture below

I could try to connect via cable but I have never slodered SMD (they are so small..) :-(
I think I shall submit a complaint to nodo shop

Okay, so this has turned out to be a hardware issue.
Please do contact nodoshop. I will close the issue know, as it's not a software related issue 😉
Please let us know when it gets resolved by Nodoshop.

The pads marked in red should be connected together by tracks on the board.
Could the issue be the soldering of the NodeMCU socket?

Bingo. Thank you for indicating RXD! on the PCB. As the RXD -R10 connection is OK, I can wire RXD with Node MCU Rx and it works!
Regarding soldering I might have overhited and  but there is a connection from NodeMCU top of the PCB to  the bottom of PCB (where soldering look ok, nothing strange)
Again thank you for your help!

That's excellent news, thank you for letting me know!

Great news. Thanks @tjfsteele for helping out.

 Yes exacly, for NodeMCU I am changing jumpers as per my photo. When I use serial I need to change them agin

The jumpers set to FTDI have been the problem for my why I got "No version found" and also flashing the firmware didn't work.  Please upgrade the documentation or better add a hint to the UI.

@tjfsteele do you think the documentation needs to be clearified?

@tjfsteele do you think the documentation needs to be clearified?

The problem is that a user like me (bougth the OTGW and the NodeMCU at nodo-shop) has to first find out what the real problem is.
With some searching after I got the packege today I found the wonderful landing page https://github.com/rvdbreemen/OTGW-firmware/wiki/ where all steps are described really well. Only the small step changing the jumpers on the OTGW is not there. And because the NodeMCU just shows "no verison found" I automatically expect, that the firmware on the OTGW is missing and not, that the communication with the OTGW was not working. So I was searching for instructions how to flash the firmware with NodeMCU (and tried the PIC firmware page without success).

@bmaehr that clarifies where additional hints can be added.
I think you just mean that when you get the message “no version found” there should be instructions to check the jumper setting.
Did you use the install pdf from the nodo shop site at all?

I'm wondering if this is a conflict between the v2.3 manual and an older
board?
Hopefully the manuals in the shop will be labelled more clearly soon.
Tim
On Sat, 20 Nov 2021, 08:22 Robert van den Breemen, @.***>
wrote:

@bmaehr https://github.com/bmaehr that clarifies where additional hints
can be added.
I think you just mean that when you get the message “no version found”
there should be instructions to check the jumper setting.
Did you use the install pdf from the nodo shop site at all?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rvdbreemen/OTGW-firmware/issues/65#issuecomment-974614976,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN3CV4EG7GOEIEFWN2SRT7TUM5LFVANCNFSM5CGPDYAA
.

@bmaehr that clarifies where additional hints can be added.
I think you just mean that when you get the message “no version found” there should be instructions to check the jumper setting.

That is my suggestion.

To clarify one more thing: Did you use the install pdf from the nodo shop site at all?

In fact I did look at all documents from them and not one was really helpfull. I didn't need a document how to solder the board (didn't see there something about jumper either), I didn't have a Ethernet and didn't use a USB interface (even don't have a USB interface on the OTGW and didn't bought an Ethernet module) and additionaly the OTGW did look different than the one I got and also the NodeMCU look different and has an other name now (I have, as far as I can see, the versions form the picture above).

When I look at the picture you shared earlier, I think the issue is caused by the fact that we the manual at the nodoshop site is currently for PCB version 2.3. After talking to Tim (hardware designer of the current nodoshop PCB) we decided to publish the hardware manual for the older hardware. The jumpers are in the pre-v2.3 designs of the hardware.
We hope this solves the problem if anyone else encounters this, plus that the manuals stay available that way. Plus we have notificed Remco (owner of Nodoshop) about this. Asked him if he would be so kind to publish older versions of the manual, so people can find it when needed.

When I look at the picture you shared earlier, I think the issue is caused by the fact that we the manual at the nodoshop site is currently for PCB version 2.3. After talking to Tim (hardware designer of the current nodoshop PCB) we decided to publish the hardware manual for the older hardware. The jumpers are in the pre-v2.3 designs of the hardware.
We hope this solves the problem if anyone else encounters this, plus that the manuals stay available that way. Plus we have notificed Remco (owner of Nodoshop) about this. Asked him if he would be so kind to publish older versions of the manual, so people can find it when needed.

Closing issue, as the documentation is now published in Discord #Hardware channel. I am considering adding additional hint in the wiki as well.


Renaming class from RemoateImageModel.java to RemoteImageModel.java and updating gitignore for IDE support

Thanks, Bhaumik Mehta for refining the image model naming convention.
The merge looks clean without conflicts, however, kindly re-test the code from the master after the merge to make sure no issues with the latest version 0.6.2


Godot crashing after converting project to 3.1

I recently opened a 3.06 version of a game into 3.1 stable. It asked to convert the project, to which I allowed it. Now Godot crashes every time I load the project. Here is the log file. I noticed a few FATAL errors at the bottom. Any ideas?
OpenGL ES 3.0 Renderer: GeForce GTX 1060/PCIe/SSE2
ERROR: Error opening file: res://icon.png
At: core/io/imageloader.cpp:56:loadimage() - Error opening file: res://icon.png
ERROR: Non-existing or invalid boot splash at: res://icon.png. Loading default splash.
At: main/main.cpp:1155:setup2() - Non-existing or invalid boot splash at: res://icon.png. Loading default splash.
WARNING: The method setfriction has been deprecated and will be removed in the future, use physics material instead.
At: scene/2d/physicsbody2d.cpp:207:setfriction() - This method has been deprecated and will be removed in the future
ERROR: Condition ' psize < 0 ' is true. returned: ERRINVALIDPARAMETER
At: ./core/cowdata.h:252:resize() - Condition ' psize < 0 ' is true. returned: ERRINVALIDPARAMETER
ERROR: FATAL: Index pindex=-2147483648 out of size (size()=0)
At: ./core/cowdata.h:151:get() - FATAL: Index pindex=-2147483648 out of size (size()=0)

Can you provide a minimal project?
Without it, it can be hard to reproduce crash.

I would love to create a minimal project, but I can't load the above project to begin with.  When trying to open the project, godot crashes.  All I have is the log I provided above.  I was hoping someone to figure it out with the errors I was receiving.

The first error is relatively clear, there's no icon.png file, or it's not valid.
The warning can be ignored for now, that shouldn't prevent running the project.
The last error looks like a variable is overflowing 32bit ints but it's not clear what it refers to.

You can delete several files each time until Godot starts running.
You will then be able to narrow down the number of scripts/scenes to check and create with it minimal project

I'll try that.  Thank you

Ok.  I did try deleting files and see if it would run, but had no luck.  I ended up creating a new 3.1 project, imported all the scenes, sprites and scripts.  I only had to reconnect 2 signals and everything is working fine.  I didn't need to change any code.
Unfortunately, this does not help solve the bug for others who run into this same problem trying to convert..

If you still have the original non-working project, it would be good to compare its engine metadata with that of the new working version.
You should be able to find it in ~/.config/godot/projects/

Metadata for 3.06
"[editor_options]
update_always=false
[script_setup]
last_selected_template=""
last_selected_language="GDScript"
[export_options]
default_filename="Test Game"
[debug_options]
run_file_server=true
run_deploy_remote_debug=true
[recent_files]
scripts=[ "Node2D", "Input", "res://Superman.gd", "res://StartButton.gd", "res://Martian.gd", "res://Main.gd", "res://HUD.gd", "res://global.gd", "res://Food.gd" ]
scenes=[ "res://Main.tscn" ]
[script_text_editor]
syntax_highlighter=0
Metadata at 3.1
[editor_options]
update_always=false
[recent_files]
scenes=[ "res://Superman.tscn", "res://Main.tscn", "res://Martian.tscn", "res://Level.tscn", "res://HUD.tscn", "res://HUD - Copy.tscn", "res://HUD2.tscn", "res://Food.tscn" ]
scripts=[ "res://Superman.gd", "res://StartButton.gd", "res://Martian.gd", "res://Main.gd", "res://lblScore.gd", "res://HUD.gd", "res://global.gd", "res://Food.gd" ]
[script_text_editor]
syntax_highlighter=0
[dialog_bounds]
project_settings=Rect2( 945, 500, 1350, 1050 )
editor_settings=Rect2( 945, 500, 1350, 1050 )

I meant comparing the metadata for the working 3.1 remake and the non-working 3.1 port. But I'm not sure it would tell us much.
If you still have the 3.0.6 or non-working 3.1 version of the project and can share it (possibly privately) I could have a closer look at what might cause the crash, otherwise I think it's unlikely we can debug further. Thankfully I don't recall many similar reports, so it was likely a one-off issue.

@ondesic Can you (or anyone else) still reproduce this bug in Godot 3.2.2 or any later release?
If yes, please ensure that an up-to-date Minimal Reproduction Project (MRP) is included in this report (a MRP is a zipped Godot project with the minimal elements necessary to reliably trigger the bug). You can upload ZIP files in an issue comment with a drag and drop.

Closing due to lack of response. Please comment if you can still reproduce this bug.
PS: If no minimal reproduction project was included in the original bug report, please upload one as well to ease troubleshooting.


Use internal errors instead of unwrap and unreachable

Fixed in https://github.com/casey/intermodal/pull/390.


Remove reference to GHAE as part of the GDP

Based on a user inquiry Zendesk ticket the docs imply that GHAE is available via the GDP. This is not the case currently and so should be removed to prevent further confusion.
cc: @bdougie

Why:

Closes https://github.com/github/docs-content/issues/3785
What's being changed:

Updating to remove the mention of GHAE via the GitHub Developer Program

Check off the following:

[x] I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[x] For content changes, I have reviewed the localization checklist
[x] For content changes, I have reviewed the Content style guide for GitHub Docs.

Hvala što ste otvorili ovaj zahtjev za povlačenjem! Član tima za GitHub dokumente trebao bi se pojaviti kako bi uskoro dao povratne informacije. U međuvremenu, provjerite upute za doprinos .

  https://p2guides.wordpress.com/

https://drive.google.com/file/d/11ORCJBytpPcgbaohebWzxf8GATjCp6a4/view?usp=drivesdk  https://p2guides.wordpress.com/


GoSublime error: MarGo build failed - disposa.blue/something-borrowed/types errors

| GoSublime error: MarGo build failed
|                > This is possibly a bug or miss-configuration of your environment.
|                > For more help, please file an issue with the following build output
|                > at: https://github.com/DisposaBoy/GoSublime/issues/new
|                > or alternatively, you may send an email to<EMAIL_ADDRESS>|                >
|                >
|                > cmd: ['C:\\dev\\Go\\bin\\go.exe', 'build', '-tags', '', '-v', '-o', 'gosublime.margo_r16.05.07-1_go1.6.2.exe', 'disposa.blue/cmd/margo']
|                > stdout: |                >  |                >
|                > stderr: |                > disposa.blue/margo |                > disposa.blue/something-borrowed/types |                > net |                > disposa.blue/margo/meth/importpaths |                > # disposa.blue/something-borrowed/types |                > ..\..\..\..\GoSublime\src\disposa.blue\something-borrowed\types\api.go:34: undefined: Object |                > ..\..\..\..\GoSublime\src\disposa.blue\something-borrowed\types\api.go:51: undefined: Type |                > ..\..\..\..\GoSublime\src\disposa.blue\something-borrowed\types\api.go:61: undefined: Type |                > ..\..\..\..\GoSublime\src\disposa.blue\something-borrowed\types\api.go:67: undefined: Field |                > ..\..\..\..\GoSublime\src\disposa.blue\something-borrowed\types\api.go:72: undefined: Type |                > ..\..\..\..\GoSublime\src\disposa.blue\something-borrowed\types\api.go:84: undefined: Package |                > ..\..\..\..\GoSublime\src\disposa.blue\something-borrowed\types\api.go:93: undefined: Package |                > ..\..\..\..\GoSublime\src\disposa.blue\something-borrowed\types\api.go:98: undefined: Package |                > ..\..\..\..\GoSublime\src\disposa.blue\something-borrowed\types\check.go:24: undefined: Package |                > ..\..\..\..\GoSublime\src\disposa.blue\something-borrowed\types\check.go:24: too many errors |                > crypto/x509 |                > net/textproto |                > mime/multipart |                > crypto/tls |                > net/http |                > net/http/pprof |                > net/rpc |                > disposa.blue/something-borrowed/gocode |                >
|                > exception: None
|   install state: busy
| sublime.version: 3113
| sublime.channel: dev
|       about.ann: a16.05.07-1
|   about.version: r16.05.07-1
|         version: r16.05.07-1
|        platform: windows-x64
|            ~bin: ~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\windows-x64\bin
|       margo.exe: ~bin\gosublime.margo_r16.05.07-1_go1.6.2.exe (missing)
|          go.exe: C:\dev\Go\bin\go.exe (ok)
|      go.version: go1.6.2
|          GOROOT: C:\dev\Go
|          GOPATH: ~\dev\Go
|           GOBIN: (not set) (should usually be (not set))
|       set.shell: []
|       env.shell:
|       shell.cmd: ['C:\WINDOWS\system32\cmd.exe', '/C', '${CMD}']

Same error on linux-64
| GoSublime error: MarGo build failed
|                > This is possibly a bug or miss-configuration of your environment.
|                > For more help, please file an issue with the following build output
|                > at: https://github.com/DisposaBoy/GoSublime/issues/new
|                > or alternatively, you may send an email to<EMAIL_ADDRESS>|                >
|                >
|                > cmd: ['/usr/local/go/bin/go', 'build', '-tags', 'gosublime', '-v', '-o', 'gosublime.margo_r16.05.07-1_go1.6.2.exe', 'disposa.blue/cmd/margo']
|                > stdout: |                >  |                >
|                > stderr: |                > disposa.blue/margo |                > net |                > disposa.blue/margo/meth/importpaths |                > disposa.blue/something-borrowed/types |                > gosublime |                > # gosublime |                > ../../src/gosublime/gosublime.go:9: undefined: importpaths in importpaths.MakeImportPathsFunc |                > ../../src/gosublime/gosublime.go:13: undefined: importpaths in importpaths.PathFilter |                > ../../src/gosublime/gosublime.go:15: undefined: strings in strings.Contains |                > ../../src/gosublime/gosublime.go:15: undefined: filepath in filepath.Base |                > ../../src/gosublime/gosublime.go:16: undefined: strings in strings.Contains |                > ../../src/gosublime/gosublime.go:16: undefined: filepath in filepath.Base |                > crypto/x509 |                > net/textproto |                > mime/multipart |                > crypto/tls |                > net/http |                > net/http/pprof |                > net/rpc |                > disposa.blue/something-borrowed/gocode |                >
|                > exception: None
|   install state: busy
| sublime.version: 3083
| sublime.channel: stable
|       about.ann: a16.05.07-1
|   about.version: r16.05.07-1
|         version: r16.05.07-1
|        platform: linux-x64
|            ~bin: ~/.config/sublime-text-3/Packages/User/GoSublime/linux-x64/bin
|       margo.exe: ~bin/gosublime.margo_r16.05.07-1_go1.6.2.exe (missing)
|          go.exe: /usr/local/go/bin/go (ok)
|      go.version: go1.6.2
|          GOROOT: /usr/local/go
|          GOPATH: ~/go
|           GOBIN: (not set) (should usually be (not set))
|       set.shell: []
|       env.shell: /bin/bash
|       shell.cmd: ['/bin/bash', '-l', '-c', '${CMD}']

I don't know what could cause that except a broken Go installation.

where I can found ../../src/gosublime/gosublime.go file?

You mean you didn't create that file yourself? It should be at Packages/User/Sublime/src/gosublime/gosublime.go or pressing ctrl+dotctrl+x should open it

My problem(#704) solved. I have errors in gosublime.go file. @BKize try reinstall gosublime

Reinstall fixed the issue. Thanks.
On Wed, Jun 1, 2016 at 3:03 PM, Kirill Zhuharev<EMAIL_ADDRESS>wrote:

My problem(#704 https://github.com/DisposaBoy/GoSublime/issues/704)
solved. I have errors in gosublime.go file. @BKize
https://github.com/BKize try reinstall gosublime
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DisposaBoy/GoSublime/issues/707#issuecomment-223107919,
or mute the thread
https://github.com/notifications/unsubscribe/ACjfzUl-zxwMDmV8bx9oVKqkuT_jNKEtks5qHeV8gaJpZM4Ierx-
.


How to detect accordion is expanded or not?

How to detect accordion is expanded or not? There is no Touchable Opacity or any props to it.
I wrote isExpanded constants but I cannot use them.
<SimpleAccordion
      key={index}
      viewInside={renderFertilizersForMonth(fertilizers)}
      titleStyle={styles.titleStyle}
      title={
        <View style={styles.titleContainer}>
          <Text style={styles.titleTextStyle}>{`${index} .AY`}</Text>
        </View>
      }
      bannerStyle={[
        styles.bannerStyle,
        {
          backgroundColor: bgColor,
          width: isExpanded
            ? Dimensions.get("window").width
            : Dimensions.get("window").width - 40,
          borderBottomLeftRadius: isExpanded ? 0 : 50,
          borderBottomRightRadius: isExpanded ? 0 : 50,
          borderTopLeftRadius: isExpanded ? 50 : 50,
          borderTopRightRadius: isExpanded ? 50 : 50,
        },
      ]}
      viewContainerStyle={[
        styles.viewContainerStyle,
        {
          backgroundColor: bgColor,
          marginTop: isExpanded ? -60 : 10,
          paddingTop: isExpanded ? 70 : 10,
        },
      ]}
    />

Hey! I was just starting to work on updating this library.
Right now it seems like there is no way to know from outside. I'll try to include it in the next release!
I'm leaving this issue open to circle back here if I'm able to get it implemented :)
Thanks!

Hey! Sorry for the delay 😅
I've added a callback to check get the state of the accordion
Now, if you want to know if the accordion is expanded you can have your own variable or use a ref to check the isCollapsed attribute of the component
I also added functions to open, close or toggle programatically 😉
I'd recommend you to check out the npm home page to know more. Version is 2.0.2 now
Thanks! :)

I'll close the issue for now, let me know if it works for you!


how to invalid a user's token in serverside

It seems the token is still valid after changing password

Hi @virusdefender,
There is no easy way to invalidate the token when the user changes his password.
You could add a change password time field to the user model and check if the field is grater than the token issued time.
class JSONWebTokenBackend(object):

    def authenticate(self, request=None, **credentials):
        if request is None:
            return None

        token = get_authorization_header(request)

        if token is not None:
            payload = get_payload(token)
            user = get_user_by_payload(payload)

            if user.password_modified > payload['orig_iat']:
            	raise GraphQLJWTError(_('Invalid token'))

            return user

        return None

    def get_user(self, user_id):
        return get_user_by_natural_key(user_id)

thanks, my solution is to add user's password hash as a token field
class UserPwdSigHelper:
    def __init__(self, user):
        self.user = user

    def sha256(self, s):
        return hashlib.sha256(s.encode("utf-8")).hexdigest()

    def make_sig(self):
        return self.sha256(
            self.sha256(self.user.username) + "$" + self.user.password
        )

    def verify(self, sig):
        return constant_time_compare(sig, self.make_sig())

def get_user_by_payload(payload):
    username = payload.get(get_user_model().USERNAME_FIELD)

    if username:
        user = get_user_by_natural_key(username)
        if user and user.is_active and UserPwdSigHelper(user).verify(
            payload.get('pwd_sig', '')
        ):
            return user

Sorry I took so long to answer,
I think adding the datefield field could be a better solution,
https://github.com/GetBlimp/django-rest-framework-jwt/issues/105


Image provide fails ungracefully if no persistence is found

If an image provider is started and no persistence is available it currently fails with the exception below. This is probably due to the recent changes, where a connection throws an exception if it takes too long instead of returning null.
tools.descartes.petsupplystore.registryclient.loadbalancers.LoadBalancerTimeoutException: Timout at endpoint: generatedb, with target service: tools.descartes.petsupplystore.persistence
        at tools.descartes.petsupplystore.registryclient.loadbalancers.ServiceLoadBalancer.loadBalanceRESTOperation(ServiceLoadBalancer.java:204)
        at tools.descartes.petsupplystore.registryclient.loadbalancers.ServiceLoadBalancer.loadBalanceRESTOperation(ServiceLoadBalancer.java:177)
        at tools.descartes.petsupplystore.image.setup.SetupController.waitForPersistence(SetupController.java:120)
        at tools.descartes.petsupplystore.image.setup.SetupController.fetchCategories(SetupController.java:172)
        at tools.descartes.petsupplystore.image.setup.SetupController.generateImages(SetupController.java:218)
        at tools.descartes.petsupplystore.image.setup.SetupController.startup(SetupController.java:542)
        at tools.descartes.petsupplystore.image.setup.ImageProviderStartup$1.callback(ImageProviderStartup.java:57)
        at tools.descartes.petsupplystore.registryclient.RegistryClient$1.run(RegistryClient.java:168)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

Should the Image Provider wait for the persistence or fail gracefully?

Both seems fine, waiting would be neat but not necessary

Image Provider is now waiting for the persistence if a call to generatedb times out.


Error: undefined is not an object (evaluating 'process.versions.node')

I am using react native 0.13.2
when I add the following module into my react native project:
npm install fs path deasync

and add the following code
var deasync = require('deasync');

I got the error:
Error: undefined is not an object (evaluating \'process.versions.node\')

You probably need to define process.versions yourself before requiring deasync. One thing to keep in mind is React Native != Node.


Invoke-DbaQuery returns verbose output when "-Verbose:$false" is specified[Bug]

Before submitting a bug report:
Collect output of following command and paste below:
& {"### PowerShell version:`n$($PSVersionTable | Out-String)"; "`n### dbatools Module version:`n$(gmo dbatools -List | select name, path, version | fl -force | Out-String)"}

[X] Running latest release of dbatools
[X] Verified errors are not related to permissions
[ ] Is this bug with Copy-DbaDatabase? You can replicate it using Backup-DbaDatabase ... | Restore-DbaDatabase ...

NOTE: Copy-DbaDatabase will not work in every environment and every situation. Instead, we try to ensure Backup & Restore work in your environment.

Environmental data

Name                           Value
----                           -----
PSVersion                      5.1.17134.590
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17134.590
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

### dbatools Module version:

Name    : dbatools
Path    : C:\Program Files\WindowsPowerShell\Modules\dbatools\0.9.809\dbatools.psd1
Version : 0.9.809

SQL Server:

Microsoft SQL Server 2016 (SP2) (KB4052908) - 13.0.5026.0 (X64)
                Mar 18 2018 09:11:49
                Copyright (c) Microsoft Corporation
                Developer Edition (64-bit) on Windows Server 2012 R2 Standard 6.3 <X64> (Build 9600: ) (Hypervisor)

Errors Received

<# OUTPUT of $error[0] | select * #>

Steps to Reproduce
/*
    Any T-SQL commands involved or used to produce test objects/data.
*/

Invoke-DbaQuery -SqlInstance <servername> -Query "exec sys.sp_configure 'remote admin connections',1" -verbose:$false

Expected Behavior
No output as when Invoke-DbaQuery -SqlInstance dbalabsql01 -Query "exec sys.sp_configure 'remote admin connections',1" is run
Actual Behavior
Output is:

VERBOSE: Configuration option 'remote admin connections' changed from 1 to 1. Run the RECONFIGURE statement to install.

Not so sure this is a bug. May be by design, will wait for @niphlod to weigh in.

I tested this and had to do some research and the explanation is very long. It's related to PowerShell itself and not this specific command. Basically the issue is with .isPresent and the way the :$false was intended to be used.
This has the explanation:
https://github.com/PowerShell/PowerShell/issues/4143#issuecomment-312279279
Unfortunately it is out of our scope.

Chrissy,
Can you try running this and see that changes anything?  It looks like .ContainsKey will determine if it was explicitly passed in but not if it's true or false.  Either .IsPresent or explicitly pulling the value from $PSBoundParameters will return the expected value.
    [CmdletBinding()]
    param (
        [string]$name
    )

    [bool]$ContainsValue = $PSBoundParameters.ContainsKey('Verbose')
    Write-Output "ContainsKey Says: $ContainsValue"

    [bool]$PresentValue = $PSBoundParameters['Verbose'].IsPresent
    Write-Output "isPresent Says: $PresentValue"

    [bool]$ValueValue = $PSBoundParameters['Verbose']
    Write-Output "Value Says: $PresentValue"
}

write-host "Testing with no parameters" -ForegroundColor Red
test-verbose -Name 'Me'

write-host "Testing with verbose" -ForegroundColor Red
test-verbose -Name 'Me' -Verbose

write-host "Testing with verbose false" -ForegroundColor Red
test-verbose -Name 'Me' -Verbose:$false```

Here's the output for me:

> Testing with no parameters
> ContainsKey Says: False
> isPresent Says: False
> Value Says: False
> Testing with verbose
> ContainsKey Says: True
> isPresent Says: True
> Value Says: True
> Testing with verbose false
> ContainsKey Says: True
> isPresent Says: False
> Value Says: False

I just realized this may not be noticed without a mention because it's closed so...  Yoohoo, @potatoqualitee .  :-)

i can run it but im not sure where im supposed to go with it. do you believe this is an issue with dbatools? if so, do you have a proposal for how to resolve it? If it is an issue with dbatools, we may have to ping Fred to take a look at Write-Message.

This is coming from the internal command that handles the message event handler from SQL Server. This is because SQL Server and your procedure you are running implement PRINT statements. Maniulating verbose functionality from PowerShell will not change this as it is part of SMO.
You can try setting $VerbosePreference to something that makes it quiet but overall it is not causing any harm, unless you can show how it is?

Either way though both Invoke-DbaQuery and Invoke-DbaAsync (internal) are both validating whether Verbose parameter was passed in so there is no change required.
Use of -Verbose:$false as well is not the way to handle turning off verbose messages. You should utilize $VerbosePreference which is a built-in varable that controls verbose output for the session.

Thanks for pointing out that I wan't actually output verbose output in my test function.  When I added that I didn't get output when I passed in -verbose:$false.  Setting $VerbosePreference would be a pain in my scenario and require switching it back and forth to only return verbose output from the parent script.
I think there's an issue in how test-bound is pulling the bound value.  I have a meeting so I can do some more testing in a bit.  Do we have a list of functions that depend on test-bound?  I don't want to test just Invoke-DbaQuery for verbose output and assume all else is okay.

We manipulate the streams in PowerShell from our module if you want more control over what is output I would recommend checking the configuration for our message system to see if that meets your needs. But again -Verbose:$false is not the right usage. There are 1,052 references being made to Test-Bound in the module, this has nothing to do with that function.
Get-DbatoolsConfig -Module message

I'm not so sure about that.  If someone explicitly passes in -Force:$false what should the behavior be?  My assumption is that you would want it to behave the same as if the parameter wasn't passed in at all but that isn't what actually happens.
Enable-DbaAgHadr -SqlInstance <servername> -Force:$false -WhatIf
What if: Performing the operation "Changing Hadr from False to 1 for dbalabsql01" on target "dbalabsql01".
What if: Performing the operation "Force provided, restarting Engine and Agent service for dbalabsql01 on dbalabsql01" on target "dbalabsql01".

The issue may not be with Test-Bound but it appears that there are several places where the fact that a switch is bound is being treated the same as if it's true.  In Enable-DbaAgHadr:
            if (Test-Bound -ParameterName Force) {
                if ($PSCmdlet.ShouldProcess($instance, "Force provided, restarting Engine and Agent service for $instance on $computerFullName")) {
                    try {
                        $null = Stop-DbaService -ComputerName $computerFullName -InstanceName $instanceName -Type Agent, Engine
                        $null = Start-DbaService -ComputerName $computerFullName -InstanceName $instanceName -Type Agent, Engine
                    } catch {
                        Stop-Function -Message "Issue restarting $instance" -Target $instance -Continue
                    }
                }
            }

Backup-DbaDatabase has a check that fuctions the same way.  If -CreateFolder:$false is passed in it triggers the check:
if ((Test-Bound 'AzureBaseUrl') -and (Test-Bound 'CreateFolder')) {
    Stop-Function -Message 'CreateFolder cannot be specified with an Azure Backup, the container must exist and be referenced by the URL'
    return
}

I tested changing the Test-Bound check from $BoundParameters.ContainsKey($name) to $BoundParameters[$name] and it appears to properly check both switch and non-switch parameters.
Backup-DbaDatabase -SqlInstance <servername> -AzureBaseUrl "http://fakeaddress" -CreateFolder -WhatIf

That triggers the check but not passing in AzureBaseURL or CreateFolder:$false doesn't.
The alternative is to leave Test-Bound alone and check all references to it that use a switch to make sure they're checking the value afterwards.  Theoretically that's the safer bet but only if there's someplace that differentiates between the switch not being passed in and it being passed in as $false.  If this is something that we think needs to be fixed I can check the references to them.  Doing a search in VSCode on the development branch turns up 1,039 references instead of the 1,052 that Shawn found so I may not be seeing them all though.

You shouldn't be passing in -verbose:$false to begin with... As I've already stated that is not the proper use case for it, as such not something we are going to address.

That is at it pertains to the verbose parameter.
If you for the internal command causes issue with other use defined parameters then you can open a new issue with your finding.

Code shows you the references it finds using CodeLens.
If you see the internal command has an issue then open a new issue for it with your findings and it can be reviewed. We will have the author of that command chime in before making any changes to it.


bump to latest webdriverio version

The test passes on my local copy with webdriverio version 3.0.3.

We need to rewrite the plugin a bit instead of just bumping the WebdriverIO version. Since we've got a testrunner with v3 we don't need most of the stuff in that task anymore. The next version basically just takes the path of the wdio config file and executes the runner.


Cw master

In the past days I reviewed cmake configuration (sitl in particular) in order to understand how to debug a simulation (needed because it core dumps for me at start up).
These are the commits that I made so far, with in mind public use by others; it involves some cleanup, minor bug fixes and in the end a commit that allows a developer to specify which targets (executables and/or modules) he or she wants to suppress compiler optimization for.

Great! Generally we merge cmake files as much as possible, so your changes are much appreciated.

Merging the targets in the Makefile is a good idea. One drawback I see is that it's not easy to see which targets exist. I think it's time to add a make help (I can take care of that). For the replay cmake file: this is for our old logger, which is in the process of being replaced, together with a new replay method.
CI fails because of an overflown flash, which indicates that some flags got changed/dropped. Can you look into that?
A minor thing: we use a rebase workflow, so instead of merging master into a feature branch, we rebase the branch onto master.
find . -wholename '*/CMakeFiles/*.dir/flags.make' | xargs dirname | xargs basename -a | sort -u | sed -e 's/.dir$//' does not work if ninja is used
Can you add documentation for the optimization flags to http://dev.px4.io/simulation-debugging.html?
just an fyi: most of the modules add a -Os flag, which is unnecessary, and I plan to remove these

@CarloWood, @bkueng
Merging targets: We will need the completely enumerated targets list a list form - without abbreviations
With Target specific optimization we should also consider configurable stack sizing based on a target.
@bkueng Per module optimization is nice to have when debugging - so let's not lose that ability

@davids5 Why do we need a complete list?
I wasn't going to remve the per-module optimization ability, just the currently repeated flag that is set already in the base config.

@bkueng Please see this https://github.com/PX4/Firmware/issues/5298

Wrong button!

@bkueng wrote:

Merging the targets in the Makefile is a good idea. One drawback I see is that it's not easy to see which targets exist. I think it's time to add a make help (I can take care of that). For the replay cmake file: this is for our old logger, which is in the process of being replaced, together with a new replay method.

I think a list of all viewers, models and debuggers in the main Makefile would be good,
which then should be propagated down to other (cmake) files that need them, in order to avoid duplicated maintenance.

CI fails because of an overflown flash, which indicates that some flags got changed/dropped. Can you look into that?

My last commit fixes this - I forgot that now calls to add_executable and add_library that were not replaced with px4_add_executable / px4_add_library now lost their optimization flags %-)

A minor thing: we use a rebase workflow, so instead of merging master into a feature branch, we rebase the branch onto master.

What does this mean for me? Do I have to resubmit this pull request?
I'm used to use git as it was intended :p not as a glorified svn </religious_war>

find . -wholename '/CMakeFiles/.dir/flags.make' | xargs dirname | xargs basename -a | sort -u | sed -e 's/.dir$//' does not work if ninja is used

Hence a make target that prints them would be nice...

Can you add documentation for the optimization flags to http://dev.px4.io/simulation-debugging.html?
just an fyi: most of the modules add a -Os flag, which is unnecessary, and I plan to remove these

Yes, I noticed that - they are completely unnecessary - but I was already changing so much that I didn't want to rock the boat in too many ways :p. I'm glad you already realize it too.
I will have a look at that url and come up with some documentation.

@davids5 wrote

With Target specific optimization we should also consider configurable stack sizing based on a target.

Yes, I also realized this. Especially since the optimization suppression is only really useful during simulation, in which case we're not really limited in available memory. Overflows occurring during simulation while suppressing optimization should be a non-issue and still just work.

Hi @CarloWood
In addition to all that you have here, there are  a few areas that can use improvement as well. Things that should only be driven by the makefile or only have one instance of data. Take for instance, the Submodule list lives in a script in tools - there are more things like this too.

I wrote some docs, what about this:
https://github.com/CarloWood/Devguide/blob/d8c8bd418e6fcef71432a5511a5416e264f5c1f9/simulation-debugging.md

I am going to rename my branch from cw_master to PR5432 and then push again... lets see if github likes that for a branch that already has a pull-request ;).

Renaming caused this pull request not to be synced anymore.. so I renamed it back.

I'm closing this pull request because I did a rebase onto master for a branch with a better name.

New pull request is now here: https://github.com/PX4/Firmware/pull/5443


Feat(eos_designs): Add l2ls default node type key and template

Change Summary
Add default node type key and default template to support L2LS design type.
Related Issue(s)
Fixes Issue #28
Component(s) name
arista.avd.eos_designs
Proposed changes
Add default node-type-key for L2LS Design:
  "l2ls":
    spine:
      type: spine
      connected_endpoints: true
      mlag_support: true
      network_services:
        l2: true
        l3: true
      uplink_type: p2p
      underlay_router: true
    leaf:
      type: leaf
      connected_endpoints: true
      mlag_support: true
      network_services:
        l2: true
      underlay_router: false
      uplink_type: port-channel

and also add a matching default template for L2LS design type.
How to test
molecule converge -s eos_design_unit_tests
Checklist
User Checklist

N/A

Repository Checklist

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation and documentation have been updated accordingly.
[ ] I have updated molecule CI testing accordingly. (check the box if not applicable)

Now that PR #1955 has been merged, this branch can be merged as well.  I did a local test and the fix resolves the loopback0 interface description erroring if the variable is not set.  Please proceed with merging.


fix https://cloudorc.github.io/SolidUI-Website/

What is the purpose of the change
Related issues/PRs
fix https://cloudorc.github.io/SolidUI-Website/
Brief change log
Checklist

[x] I have read the Contributing Guidelines on pull requests.
[ ] I have explained the need for this PR and the problem it solves
[ ] I have explained the changes or the new features added to this PR
[ ] I have added tests corresponding to this change
[ ] I have updated the documentation to reflect this change
[ ] I have verified that this change is backward compatible
[ ] If this is a code change: I have written unit tests to fully verify the new behavior.

LGTM


Functions To Function Proxying Results in Different Path With Netlify Dev vs Netlify Cloud

- Do you want to request a feature or report a bug?
bug
- What is the current behavior?
Netlify Dev and Netlify Production deployments handle the _redirects proxying differently.
- If the current behavior is a bug, please provide the steps to reproduce.
I have a _redirects file with the below route which makes my Netlify Functions available at /api/{function_name}.
/api/* /.netlify/functions/:splat 200

I also have a function setup (code below) which returns its calling path (event.path).
exports.handler = async function(event, context) {
  return {
    statusCode: 200,
    body: event.path
  };
};

If I access /api/test on my deployment (running in the Netlify cloud) I get the response /api/test which is what I would expect. Whether when using Netlify Dev I get the response /.netlify/functions/test.
- What is the expected behavior?
Netlify Dev should act the same as the Netlify cloud and parse the same url. This means Netlify Dev should result in the event.path being set to /api/test when /api/test is requested.
- Local Environment Information
Paste the results of netlify status --verbose here
I don't see relevance but if it is required I can add it.

nice catch!

Was this ever fixed? I'm calling a function from another function and have an ugly workaround in place for local dev / deployment.


IПСО ЗА 2 ГРИВНI

Version
11
Platform
1
Steps to reproduce
1
Details
slava Rossii
Checklist

[X] I have looked through existing issues to make sure that this bug has not been reported before
[X] I have provided a descriptive title for this issue
[X] I have made sure that this bug is reproducible on the latest version of the application
[X] I have provided all the information needed to reproduce this bug as efficiently as possible
[X] I have sponsored this project
[X] I have not read any of the above and just checked all the boxes to submit the issue

Salo uronili?

Exactly

автор сидит и дрочит на то как он запретил россиянам пользоваться его приложением

но он не учёл что страну можно сменить и есть денацифицированная версия

https://github.com/reawoken/YoutubeDownloaderRU?tab=readme-ov-file


fix: remove floats, std dev, added microreports by agg getter

removed use of floats from bridge powerdiff
removed use of floats, completely removed LegacyAggregate migration
removed std dev calculation from weighted_median.go
added getter for microreports by aggregate
updated tests

just pushed a change completely removing standard_deviation


NodeUtils methods are not publicly accessible.

The NodeUtils class has many utility methods that could be very useful to custom compiler passes, but most of them are not marked public, restricting their use. Could you make these accessible?

I agree. Feel free to send a pull request for the methods that you would like to be public.

Pull Request: https://github.com/google/closure-compiler/pull/1634


Allow to open context menus using touch gesture

VSCode Version: 1.13.1
OS Version: Windows 10
System: Surface Pro 4

Steps to Reproduce:

Click and hold with your finger on a file in the explorer pane
A square box appears under your finger but no menu is created.

Press and hold with your finger should be the same as a right click with a mouse.

Reproduces without extensions: Yes

@joaomoreno is there any reason the tree/list widget is not listening to Touch.EventType.Contextmenu to forward this to the onShowContextMenu handlers?
It seems both widgets receive this event via the Gesture helper (here and here).

VSCode Version: 1.20.1
OS Version: Windows 10
System: Dell Inspiron
Is this still on ? I'm actually getting the context menu when I press & hold on a file
Reproduces without extensions: Yes

VSCode Version: 1.21.1
OS Version: Windows 10
System: ASUS VivoBook Flip
I'm getting the context menu too.
Reproduces without extensions: Yes


Leetcode Question Number 263

Leetcode Question Number 263 soultion needs to be added in the repo .
The link for the question is this.
Accepted Languages C++ / JAVA .
You Only need to add the  class Solution in the file.
Make Sure you have read the contributions guidelines before creating an PR.

Please assign me this issue. I'm interested in solving it.


luci-mod-dashboard: wireless data statistics overflow when it exceeds 2GB

Steps to reproduce:
Download something larger than 2GB.
Actual behavior:
The tx data statistics becomes a negative number when it exceeds 2GB. Once it exceeds 2GB again, it will back to 0.

Additional Information:
MT7620 is a 32-bit processor. I guess it should be related to this. Since I am not familiar with js, I cannot provide more information.
OpenWrt version information from system /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='SNAPSHOTS'
DISTRIB_REVISION='Custom build based on master branch 2023/01/22'
DISTRIB_TARGET='ramips/mt7620'
DISTRIB_ARCH='mipsel'

Actual
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r22135-530f5c2fda'
DISTRIB_TARGET='ipq807x/generic'
DISTRIB_ARCH='aarch64_cortex-a53'
DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r22135-530f5c2fda'
DISTRIB_TAINTS=''

These patches should fix it:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-May/041056.html
https://lists.openwrt.org/pipermail/openwrt-devel/2023-May/041096.html

Fixed by https://github.com/openwrt/openwrt/commit/a226153067766db6d733aa3e330742c9da40c4f6 and https://github.com/openwrt/openwrt/commit/2486841c1bc7c3267e409b510e142e04cc5f0a5b


Display LP positions

Note: It is not yet enabled, so no user impact.
This PR adds a section on the swap page that displays the LP positions (aka limit orders) that a user currently has open or closed. Gives them the ability to close/withdraw the position.

Given the emphasis on minifront minimalism and interest in building limit orders in other frontends, going to close this. Will open an issue in the core repo about updates to LiquidityPositionsResponse to make it easier to create LP-related UI's.


Lokalise: Translations update

This pull request was initiated by Lokalise (user Peter Murray) at 2022-06-07 23:27:12

yarn run v1.22.18
$ eslint .
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


Fix .cabal files

Add source repos
Remove -threaded for library (in accordance with
cabal check recommendation)
Copy LICENSE to test package (Fix cabal check error)
Add proper other-modules to test executables (Fixes #88)

Maybe have a look at the iridium tool that i published today on hackage. It runs certain tests for package validity and i have included a check for the kind of failure behind #88.
If you wish, i can add the corresponding configs (iridium.yaml) to the PR (i made slight modifications to the generated defaults for both packages).

What's cabal check's justification for removing -threaded?

It is without effect for libraries.

Huh, i thought 7.4.2 was not supposed to be supported. Should i remove the line from .travis.yaml?

I suspect that failure is spurious (it isn't due to any compilation or language issue).

Oh, indeed. Yeah that module takes some time to compile locally as well. Regardless, i'd vote to either officially support 7.4.2 or drop the automatic testing for it.

This should probably use the https URL to the repository instead of the SSH URI.

Good point.

I can't say what @coreyoconnor plans for 7.4.2 support, but I don't think the failing build is an indication that support for it is broken (yet).  The memory issue is almost certainly due to the impoverished travis-ci build environment.  @coreyoconnor - thoughts?

Sure, i was just judging by tested-with: GHC >= 7.6.2.

Oh, I would never put any stock in those declarations. :)

Thanks for your additional changes/comments!


Removed unneeded brackets

:trollface:

Closing due to #1867

k :P

Is there some fixer to remove unneded brackes? I recall I saw it somewhere, but could not find it here.
-(echo  "hi");
+echo  "hi";

I think you are looking for no_unneeded_control_parentheses (for the echo case)

Thanks for the guide. I actually need it for:
 function test()
 {
-    (yield 5);
+    yield 5;
 }

I tried the PhpCsFixer\Fixer\ControlStructure\NoUnneededControlParenthesesFixer but it doesn't cover this.

Sadly, we do not have such rule.
I see value of it as well, could you propose a PR ?

I actually resolved it in the place of origin: https://github.com/rectorphp/rector/pull/421/files


chore: update samesite config documentation

SUMMARY
According to https://github.com/pallets/werkzeug/blob/ef545f0d0bf28cbad02066b4cb7471bea50a93ee/src/werkzeug/http.py#L1248-L1252
This value can be None to specify the browser default value, or one of the 3 supported strings for cookie options
TEST PLAN
CI
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

to: @john-bodley @graceguo-supercat @craig-rueda @dpgaspar

Codecov Report

Merging #10720 into master will decrease coverage by 4.75%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master   #10720      +/-   ##
==========================================
- Coverage   65.00%   60.24%   -4.76%
==========================================
  Files         789      789
  Lines       37128    37115      -13
  Branches     3555     3555
==========================================
- Hits        24134    22360    -1774
- Misses      12887    14568    +1681
- Partials      107      187      +80

Flag
Coverage Δ

#cypress
?

#javascript
61.35% <ø> (ø)

#python
59.58% <100.00%> (-0.74%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

superset/config.py
90.42% <100.00%> (ø)

superset-frontend/src/SqlLab/App.jsx
0.00% <0.00%> (-100.00%)
:arrow_down:

superset-frontend/src/explore/App.jsx
0.00% <0.00%> (-100.00%)
:arrow_down:

superset-frontend/src/dashboard/App.jsx
0.00% <0.00%> (-100.00%)
:arrow_down:

superset-frontend/src/explore/index.jsx
0.00% <0.00%> (-100.00%)
:arrow_down:

superset-frontend/src/dashboard/index.jsx
0.00% <0.00%> (-100.00%)
:arrow_down:

superset-frontend/src/setup/setupColors.js
0.00% <0.00%> (-100.00%)
:arrow_down:

superset-frontend/src/chart/ChartContainer.jsx
0.00% <0.00%> (-100.00%)
:arrow_down:

superset-frontend/src/setup/setupFormatters.js
0.00% <0.00%> (-100.00%)
:arrow_down:

superset-frontend/src/explore/reducers/index.js
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 173 more

Continue to review full report at Codecov.

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


WebApp:Flight Centre Travel Group - Failure on az webapp up - node react storybook web application - connection refused

Hi there, and thank you for reading this report.
This problem is blocking a development test deployment of a new application at Flight Centre Travel Group.
I have also tried launching this application with the VSCode App Service extension which fails with timeouts at the yarn package install stage.
Any help would be appreciated.
Cheers
Mike Thomas
Team Leader - Approvals
Corporate Technology
<EMAIL_ADDRESS>This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az webapp up
Errors:
The command failed with an unexpected error. Here is the traceback:
HTTPSConnectionPool(host='fcm-approvals-ui-0.scm.azurewebsites.net', port=443): Max retries exceeded with url: /api/deployments/latest (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x06288838>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))
Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connection.py", line 169, in _new_conn
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/util/connection.py", line 96, in create_connection
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/util/connection.py", line 86, in create_connection
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 699, in urlopen
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 382, in _make_request
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 1010, in _validate_conn
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connection.py", line 353, in connect
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connection.py", line 181, in _new_conn
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x06288838>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/adapters.py", line 439, in send
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 755, in urlopen
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/util/retry.py", line 574, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='fcm-approvals-ui-0.scm.azurewebsites.net', port=443): Max retries exceeded with url: /api/deployments/latest (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x06288838>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 657, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 712, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/commands.py", line 37, in _ex_handler
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 691, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 328, in __call__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 3864, in webapp_up
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 441, in enable_zip_deploy
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 3223, in _check_zip_deployment_status
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/api.py", line 76, in get
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/api.py", line 61, in request
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/sessions.py", line 542, in request
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/sessions.py", line 655, in send
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/adapters.py", line 516, in send
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='fcm-approvals-ui-0.scm.azurewebsites.net', port=443): Max retries exceeded with url: /api/deployments/latest (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x06288838>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az webapp up --name {} --logs --launch-browser

Expected Behavior
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.8.9
Installer: MSI

azure-cli 2.27.0

Additional Context

route to service team

unable to repro in the latest version of CLI 2.28.1. please try in latest version.

closing due to lack of response. Please file a new issue if this is still a problem.


URL Signing Pathparams with Sig Anchor not working in Safari Native Player

When testing url signing in Safari we noticed issues with the signature anchor handling.
HLS Test Video - Non-Signed Service, this works in Safari Native Player
http://edge.origin-test-vod.cdn.kabletown.net/origintest/static/dir1/hls/USP2_video_name_1080p.m3u8
Same HLS Video Through Signed Service, gets manifest but the Safari native player mangles the child manifest urls by dropping everything from the semi-colon to the start of the child manifest filename
http://edge.sg-demo-vod.cdn.kabletown.net/origintest/static/dir1;urlsig=O0U9MjAwODc3NTQ3MztBPTE7Sz0wO1A9MDEwO1M9ZmVlMzk5MDI3MTBkN2Q4YWU2N2I0ZmEyOWY5OTllNTZkN2ZiYzY0Zg/hls/USP2_video_name_1080p.m3u8
Child Manifest Call from Native Player Results in 403, because signature is dropped by native player.  This is how the child urls are interpreted by the player:
http://edge.sg-demo-vod.cdn.kabletown.net/origintest/static/USP2_video_name_1080p_2208325644_m3u8_video_960x540_1200000_primary_audio_4_I-Frame_x6e8d921a39d044528b9914923e2e0ffd.m3u8

I think Safari is breaking the spec.

In looking closer at what is happening it seems like Safari is chopping out the directory path with the sig anchor.  I am wondering if this has something to do with the special characters used  like ";" and "=".

@ryandurfey Based on what @PSUdaemon is saying, this issue is out of Apache Traffic Control's scope. Mind if we close this Issue and discuss the Safari-specific problems somewhere else?


arduino/setup-protoc@v1 is not allowed to be used in apache/arrow-rs

Describe the bug

https://github.com/apache/arrow-rs/actions/runs/2781430582
To Reproduce

Expected behavior

Additional context

I believe this came in via https://github.com/apache/arrow-rs/pull/2268 from @carols10cents

I previously had to deal with the 'prost stopped bundling protoc' with linux -- and I added our own action https://github.com/apache/arrow-rs/tree/master/.github/actions/setup-builder to do so.

In this case, since it is for the mac and windows job, I recommend either:

Copy the contents of the setup-protoc action from arduino to this repository (which is ok under policy as then we control its contents)
Stop testing arrow-flight on on mac and windows

For option 2 I was thinking we might be able to claim that the arrow-flight usecase is not sufficiently important to warrant figuring out the CI actions to run them
However, as I write this I realize that at least ensuring arrow-flight builds is important on mac and linux, and checking the build does require getting protoc running.
@tustvold  I am happy to try and get this working, if you don't have the time

I'll take a crack at this one

I think this is also stopping format jobs from running

That is also likely . I am plodding along getting the windows builder running again. If I can't get it working in the next hour or two I'll get a PR up that at least fixes mac / formating

I am very close 🤞

PR to fix everything other than windows

I fixed fmt and mac jobs: https://github.com/apache/arrow-rs/pull/2287
I am still working on coverage and windows (I hate protoc)

In finally have a fix: https://github.com/apache/arrow-rs/pull/2280 😅  -- lots of putzing with windows

Whoops! Sorry about that-- thank you for handling it @alamb 🙏🏻


Disabling vanilla items

I'm not sure how Iguana Tinker Tweaks did it, but it makes it so vanilla tools and weapons have a durability of 1 so they break on the first use.
Would be a great idea to apply that mechanic to the iron/diamond tools, swords, and armor. That way they're available for other mods that need them for crafting, but forces players to use MF stuff in gameplay. Unless they want to use gold items/armor, which is not sustainable so I wouldn't suggest you configure gold stuff. Wood and Stone tools can be left alone since they're needed to get to copper.

1 use seems silly, but I believe it to be possible

I don't think you can make a "zero use" tool, so Iguana's Tinker Tweaks made the items have just 1 point of durability. Tiny bit silly, but keeps mod compatibility.

Nah, id just make them maybe half as durable, you CAN use them... but its a waste


Vickel: Watch geo[\W_]+coordinates[\W_]+recovery[\W_]*+hacker

Vickel requests the watch of the watch_keyword geo[\W_]*+coordinates[\W_]*+recovery[\W_]*+hacker. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

geo[\W_]*+coordinates[\W_]*+recovery[\W_]*+hacker has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


keydown event listener never gets removed

In SimpleMDE.prototype.render, it calls document.addEventListener("keydown", function(e) {...}. In an angular app where the page is never refreshed, these event listeners never go away and a new one is added each time a new simple mde editor is created. In our app, we create new editor instances each time the user navigates to a new "item", so after a while, typing becomes very laggy since there are so many listeners handling the keydown event. (As an aside, this can be alleviated by creating simplemde so that it runs outside angular's zone).
You can see the event listeners accumulate by typing getEventListeners(document) in Chrome's console.
A possible fix would be to remove the listener in toTextArea().

This seems resolved.


Update subproc_vec_env.py

Allow worker to be defined externally. If SubprocVecEnv is subclassed new attributes in the subclass can now be accessed if defined in the worker.

@oeclint could you provide an example of that? I am not sure I understand the use case for it.

closing due to age


Zenodo release for v2.10.0 contains wrong version number and publication date

See https://zenodo.org/records/10408909
This is probably a result of using cffconvert to convert the CITATION.cff file to .zenodo.json (this copied the information to the .zenodo.json file where it shouldn't be) and then forgetting to update .zenodo.json because it was not expected that we have the version number there.

@valeriupredoi Any progress on getting us access to the Zenodo record as a team?

hey @bouweandela - massive progress - but it's still classified for now, my security clearance does not allow me to reveal it just yet :grin:


JSON Patch: Support real extension scenarios without copying heaps of code

Microsoft.AspNetCore.JsonPatch is an important library in my projects.  To be useful, however, I must tweak its ApplyTo behavior as described at #2432.  Judging from others' issues I've read, what I'm doing isn't unusual.  It seems to be a common need.  I'm thankful that at least some extension point exists, but the current extensibility mechanism is cumbersome.  The API should be improved.
I slightly diverge from the spec in my scenario, but the extensibility improvement would provide benefit beyond my use case..  One may need to patch objects of types not specifically supported by the library.  While the patch document adheres to the spec, one may need to apply it to object types that the library couldn't anticipate.  Those target object types could belong to a proprietary database engine, for example.
IObjectAdapter was created to facilitate customization from outside the library.  This intent is apparent since (1) it's in the public API, and (2) it's not used internally within the library.  Judging by the large amount of code duplication necessary to use it, however, it seems it wasn't tested with a real-world customization like #2432.  To customize a few lines of code, I had to copy nine files.  (They were ClosedGenericMatcher.cs, ConversionResultProvider.cs, ErrorReporter.cs, IAdapter.cs, ListAdapter.cs, ObjectAdapter.cs, ObjectVisitor.cs, PocoAdapter.cs, and Resources.Designer.cs.)  This duplication poses the danger that (1) the copies become out-of-date with their original versions, and (2) the customized patch behavior overly diverges from the JSON Patch spec.
Rather than let the existing API stagnate and this problem fester, I propose the following.  Solicit additional real-world extension scenarios from the community.  Then take all scenarios into consideration and replace or augment the IObjectAdapter extension point with an API that allows us to cleanly extend JsonPatchDocument.
As for what specific API change to make, I offer the following initial suggestion.  Replace the IObjectAdapter extension point with a public interface IAdapterFactory.  It defines a single method with the signature IAdapter Create( object target, JsonContract jsonContract ).  Use IAdapterFactory in ObjectVisitor's private SelectAdapater method.

I made the following edit above.  To my suggested IAdapterFactory interface's Create method, I added the parameters string currentSegment and string nextSegment.  This information can help choose the correct adapter.  The nextSegment  is particularly important since the spec delimits an array's index into the next segment.  Thus, the next segment contains information that can help determine the current segment's type, and which adapter to choose for it.

I just deleted my previous comment about considering the path when choosing the adapter.  In fact, the path should not factor into that decision.  The path and its segments should only affect individual operations performed on the chosen adapter.

As an alternative to above IAdapterFactory idea, consider making JSON Patch's adapters like Asp.Net's formatters.  Like an output formatter has a CanWriteType( Type ) method, add a CanAdaptType( Type ) method to IAdapter.  It would indicate the targets for which the adapter is relevant.  Like the formatters lists can be modified in Startup's services.AddMvc call, the adapters list could be modified as an option to JsonPatchDocument's ApplyTo call.

Thanks for contacting us, @HappyNomad.
Unfortunately we have no plans to change this in the upcoming future.


In a self-host-Runner environment, error retrieving approvers: error parsing exclude-workflow-initiator-as-approver flag: strconv.ParseBool: parsing "": invalid syntax  An error will occur

The following error occurs.
error retrieving approvers: error parsing exclude-workflow-initiator-as-approver flag: strconv.ParseBool: parsing "": invalid syntax
my workflow step:
          - uses: trstringer/manual-approval@v1
             with:
                 secret: ${{ github.TOKEN }}
                 approvers: jieey1140
                 minimum-approvals: 1
                 issue-title: 'Deploying Production'

self-host-runner ENV:
OS: Ubuntu 22.04
Docker: Installed.
I need your help!

The same error occurs when you add these
parameters. Problem only occurs with self-host-runner! I have attached a picture. :)
(The mention repository above is a private repository.)
Thank you.

Same for me, but different issue on a self-hosted runner (amd64). Private repo. Using GitHub runners works fine:
Get "https://api.github.com/orgs/XXX/teams/gaspo53/members": dial tcp: i/o timeout Creating issue in repo songfinch/rails-app with the following content: Title: Manual approval required for workflow run<PHONE_NUMBER>: Deploying INF-40-eks-cluster-should-have-git-hub-runners-deployed to sngfnch-dev by gaspo53 Approvers: [gaspo53] Body: Workflow is pending manual review. URL: https://github.com/XXX/XXX/actions/runs/99999999999 Required approvers: [gaspo53] Respond "approved", "approve", "lgtm", "yes" to continue workflow or "denied", "deny", "no" to cancel. error creating issue: Post "https://api.github.com/repos/XXX/XXX/issues": dial tcp: i/o timeout


Added Stock Return Calculator

I have added Stock Return Calculator to this utility tools.

I have added 1 folder and 4 files.
1 folder named as stock-return-calculator in finance tools.
4 files in stock-return-calculator folder.
stockreturn.html
stockreturn.css
stockreturn.js
stock-return-calculator.png
For contribution:
Github:https://github.com/Salonii02

@Salonii02  Awesome work on the PR 🎉


Added 4 URLs

Added: nitro-generator-site.glitch.me, fifamatchcreator.com, dqsoft.com, gohack.pl

also added changes of https://github.com/nikolaischunk/discord-phishing-links/commit/165984b948582bd6a7568f59d9ff5aabee7a9f50


grammar bugfixes

Fixes #135 (or at least, that's the idea). I have a minimal example of the bug currently afflicting set.mm master:
  $c = class wff setvar -> ( ) |- + [ ] $.
  $( $j syntax 'setvar' 'class' 'wff'; syntax '|-' as 'wff'; $)
  $v x A B ph ps $.
  vx $f setvar x $.
  wph $f wff ph $.
  wps $f wff ps $.
  cA $f class A $.
  cB $f class B $.
  cv $a class x $.
  wn $a wff [ A ] $.
  wceq $a wff A = B $.
  wi $a wff ( ph -> ps ) $.
  cdif $a class ( A + B ) $.
  ax1 $a |- [ x ] $.
  ax2 $a |- ( x = x -> ph ) $.

The PR currently fixes the ax1 bug, but the ax2 bug is still not fixed. (Note the cdif axiom, which is not used but seems to muck up the grammar somehow.)
I have to say, I am really considering doing the parser again from first principles. There are way too many hacks in the current implementation and I feel like I'm just piling more on here, but I want to get set.mm green again before considering more complicated refactors.
cc: @tirix

The PR currently fixes the ax1 bug, but the ax2 bug is still not fixed. (Note the cdif axiom, which is not used but seems to muck up the grammar somehow.)

In my opinion, the ax1 is not an issue: the type_conversion was simply missing in the database (see #138 ). What is your fix?

I have to say, I am really considering doing the parser again from first principles. There are way too many hacks in the current implementation and I feel like I'm just piling more on here, but I want to get set.mm green again before considering more complicated refactors.

The parser was one of my very first attempts at Rust and I was both learning Rust and Metamath parsing when I wrote it. On the other hand I'm proud I "somehow" managed and got a solution with no backtracking whatsoever.

There are lots of changes to review. I'll need a bit more time to review and understand what is functionality change and code improvement.

There are lots of changes to review. I'll need a bit more time to review and understand what is functionality change and code improvement.

The changes are summarized as follows:

moved a comment from FormulaBuilder impl to type, added Debug impl
added support for parsing syntax FOO BAR BAZ; as equivalent to syntax FOO; syntax BAR; syntax BAZ;
moved all parsing for syntax to initialize() instead of duplicating it between initialize and handle_commands
main logical change: previously the self.type_conversions field was completely ignored except at the very end of the formula (via the symbol_enum.peek().is_none() check). Now if other methods fail it tries a random type conversion and loops. That way you can get paths like reduce -> type mismatch -> reduce type conversion -> type match -> shift where previously the type mismatch would cause an overall failure.
The symbol_enum.peek().is_none() statement becomes superfluous with this change, so it is commented out (pending verification that this is the correct approach).