RPI Cannot complete first boot, keeps rebooting after setting locale options

Hello, I have issue when booting the freshly baked SD card (Kingston 16GB) on my RPI Model 3 B+. I tried using both Windows 10 versions 1903[arm64] and 1803[arm64]. Also tried with both WoA Deployer 2.0.0 and 2.1.1. All attempts led to this:

I have used wired LAN connection.
Could it be a WoA Deployer related issue, maybe drivers or something?
Any help would be highly appreciated.
Best regards,
Bozhidar

Okey, after several more attempt I get it working.
What I did was unplugging the LAN cable. Then the installation successfully passed this step.
I plugged it back again when it reached the "Networking" tab in the installer.
Hope this helps someone.


Don't show parent organisation for not-live Courts

See comments on https://www.pivotaltracker.com/n/projects/1261204/stories/92039978

:+1:


WhyWeNeedTypesIntBehavior revrite it

Description
WhyWeNeedTypesIntBehavior must be rewritten in the new solution for the purpose of providing a division example for type float.

It refers to the file TP\ExDataManagement\P02.DataSemantics\DataSemanticsUnitTest\TypeConceptUnitTest.cs
It contributes to

#238
#242


Make http+pow://pow.albion-online-data.com default

Make http+pow://pow.albion-online-data.com for the -i option to resolve people not being able to access the pow url with a port specified.

fixed with https://github.com/ao-data/albiondata-client/pull/37


[BUG] nodemon v2.0.6 not working with npm-run-all --parallel in nodejs 20

Follow up link please https://github.com/mysticatea/npm-run-all/issues/194

Just tested it locally and it works fine. Make a new issue with a minimal reproducible gist or repo.

https://github.com/mysticatea/npm-run-all/issues/25
Please Check This

Upstream seems abandoned, and things have diverted quite a bit over the last few years. If you have a minimal reproducible gist or repo that demonstrates a real bug, I will consider it. Thank you!


Add support for PG 17

Adds support for PG 17
Allows manual triggering of test action

@all-contributors add @ragrag for code and docs


[VC] syncer: drop uws request if cluster is not found

fix: enqueue error status vc
drop uws request if cluster is not found

Signed-off-by: zhuangqh<EMAIL_ADDRESS>

/lgtm
/approve


Server Crash

Forge 2836
Blockcraftery 1.3.1
crash log
https://pastebin.com/MCAD0b6J
full mod list
https://pastebin.com/D2uviWRh

Rolling back to 1.2.0 stops the crash

Update mystical lib.

There is a newer version of MysticalLib than 1.2.1?
The Twitch Launcher doesn't show anything newer.


LMS7002M::EnableChannel disables TX ports if called to disable RX ports only

@guruofquality , We verified using our forked soapy wrapper that calling the function works if disabling TX ports and enabling RX ports (only Radio receive is enabled) but  doesn't work if RX ports need to be disabled but TX ports need to be enabled(only Radio transmit needs to be enabled) , a side effect is that TX ports stop transmitting. TxPLL still there though.

We verified that in the receive only case, the LMS7002 power consumption went down by roughly 500mW. Being compatible with TX ports disabled.
Our implementation: https://github.com/MicrolabFXR/LimeSuite/blob/master/SoapyWTGLMS7/Settings.cpp#L1354
Error seems to be at:
https://github.com/myriadrf/LimeSuite/blob/master/src/lms7002m/LMS7002M.cpp#L236
Please contact @integretek-hsandlar for details.
Regards,
Alejandro.

We believe the issue is specifically at this lines
https://github.com/myriadrf/LimeSuite/blob/master/src/lms7002m/LMS7002M.cpp#L254
https://github.com/myriadrf/LimeSuite/blob/master/src/lms7002m/LMS7002M.cpp#L255
Those are global power control lines and shouldn't be modified based on enable or disable

Hi,
You are correct about those lines. As it is now, it should work when you do disables first and enables later. Looking further, it looks like there are similar issues with A and B channels as well (disabling one channel disables some things that are used by both channels). I will look into this.

Please let us know when you may have a patch we can test.

I have made a fix: af9aff1b.
Also, on previous LMS7 chip revision (older board than LimeSDR v1.4), DAC does not work when ADC is disabled. So if you have older chip, you should keep RX channel enabled or at least manually enable ADC.

Thank you Ignas, right now we are having a very hard time trying to validate the TX output path. We are certain that our RX path works fine, so we can use it for debug.
Can you provide us some guidelines on how to test the TX Path (Registers to tweak or functions to call)

By looping back the RX IQ data internally to the LMS without using the FPGA path (internally routed thru the LMS from Rx to Tx)

Using the TxTSP generator (how the output signal should look like?)

Regards,

To set up digital RX to TX loopback using LimeSuiteGUI: https://discourse.myriadrf.org/t/competition-write-a-simple-limesuite-rxtx-example/1117/13
Without GUI, these parameters can be changed using LMS7002M::Modify_SPI_Reg_bits():
Modify_SPI_Reg_bits(LMS7param(TX_MUX), 2);
Modify_SPI_Reg_bits(LMS7param(TXWRCLK_MUX), 2);

It same as RxTSP, so you can check how that looks in RX using LimeSuiteGUI. Basically, when DC mode is selected IQ values are constant, and when NCO mode is selected IQ values are sin and cos that produces 8 or 4 points in constellation (depends if TSP_clk/8 or TSP_clk/4 is selected).

Hi Ignas,
Right now our main issue is that we had a working Tx Path with rev 7.1.0 but new chips are 7.1.1 and we are not be able to send data properly to the chip. Both TX channels reproduce same signal from baseband and we cannot find any information about the new rev mask. We definitely validated the RX path and looping from RX to TX seems to work fine. Any ideas? we did several tests but we can't make both TX paths stop transmitting same signal. TX calibration also fails to obtain good results and we can see high ripple in passband sometimes.

Hi,
What board are you using? If RX to TX loopback works fine, it suggest that the problem is in transferring samples to the chip.
Also, there has been a fix to stop retransmitting old buffer 3bdc6218da0a5, but this should affect both chip revisions.

Hi Ignas,
We are using a custom board and FPGA solution. We had a rev1 board which included the 7.1.0 chip and was fully functional. We were extremely surprised to find that the same configuration does not work for the 7.1.1 part -- especially since there was no mention from Lime regarding any changes which would impact our design between the two chip revisions.
We did test RX->TX loopback yesterday and saw it working as expected. However, that test is essentially loopback internal to the LMS. During debug with this new chip revision, we've seen that we now need to invert MCLK to get the correct mappings on the LML interface for our capture hardware. We still haven't been able to get the transmit datapath running as expected again, even though it was fully functional in the 7.1.0 part.
After discussing briefly with @guruofquality, it sounds like Lime has made a variety of changes on the LML interface with this new chip revision which does not make it backwards compatible. He specifically noted RX has a swap for I and Q, the RxTSP NCO is sign reversed, and the Rx MCLK is now delayed relative to the samples. He noted that in order to get the 7.1.1 chip working on the LimeSDR he had to empirically sweep the PLL phase and pick the center of the delay region that worked for synchronizing the TX/RX LML interface.
Can you provide any more detail about what Lime has changed in this 7.1.1 revision chip? We haven't seen any updated documentation regarding this change, and obviously it is not backwards compatible. This is costing us substantial time in debug experimenting to try to figure out what changed, and this issue is currently blocking our production shipping.

I have pointed this thread to people that work with hardware and today I got an answer that they are already having an email conversation with you. As your current problems are hardware related I think I can not help you any further, so there is no point to continue the discussion here.
I am closing this as initial problem with channel disables seems to be fixed.

Thank you for the support


refac: When receiving peeks in the application/ebix format we just fe…

…tches the oldest bundle from the DB

Description
References

Codecov Report

Merging #587 (243e144) into main (21978a1) will decrease coverage by 32.11%.
Report is 256 commits behind head on main.
The diff coverage is 23.99%.

@@             Coverage Diff             @@
##             main     #587       +/-   ##
===========================================
- Coverage   83.07%   50.97%   -32.11%
===========================================
  Files         456      326      -130
  Lines       10418     6480     -3938
===========================================
- Hits         8655     3303     -5352
- Misses       1438     3077     +1639
+ Partials      325      100      -225

Files
Coverage Δ

...ivedMessages/ArchivedMessageGetDocumentListener.cs
0.00% <ø> (ø)

source/Api/Common/HttpHeadersExtensions.cs
0.00% <ø> (ø)

...iddleware/Authentication/ActorForAuthentication.cs
0.00% <ø> (ø)

...ntication/Bearer/BearerAuthenticationMiddleware.cs
0.00% <ø> (ø)

...MarketActors/MarketActorAuthenticatorMiddleware.cs
0.00% <ø> (ø)

...ation/Middleware/Correlation/CorrelationContext.cs
66.66% <ø> (ø)

.../Middleware/Correlation/CorrelationIdMiddleware.cs
0.00% <ø> (ø)

...iguration/Middleware/Correlation/UserProperties.cs
0.00% <ø> (ø)

...figuration/Middleware/FunctionContextExtensions.cs
0.00% <ø> (ø)

...rce/Api/Configuration/ServiceBusMessageMetadata.cs
0.00% <ø> (ø)

... and 68 more

... and 431 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Pico OLED 1.3 + Raspberry Pi Pico W - Nothing is displayed

Hi,
I've uploaded the sh1107.py and framebuf2.py module codes to the Raspberry Pi Pico W as instructed and I'm trying to run sh1107 demo v319 spi 128x64.py but nothing is displayed on my OLED (Waveshare Pico OLED 1.3). Basically, the display never turns on.
I've also tried the demo from the waveshare site and it worked, so I know my OLED + Raspberry Pi Pico W are working correctly hardware-wise.
I also don't have a regular Raspberry Pi Pico (non W) to test, only the W version.
Using the latest micropython for RPi Pico W (v1.21.0 (2023-10-05))
Here's Thonny's output when I try to run the demo script:
MPY: soft reboot
starting test
SH1107: framebuf is  extended
dir sh1107:  ['class', 'name', 'const', 'dict', 'file', 'framebuf', 'time', 'version', 'SH1107_SPI', 'SH1107', '_fb_variant', 'repo', 'SH1107_I2C']
version  (name='micropython', version=(1, 21, 0), _machine='Raspberry Pi Pico W with RP2040', _mpy=4358)
Initial free: 149504 allocated: 27776
SPI created: 149376 allocated: 27904
display created: 145328 allocated: 31952
framebuf2 framebuffer extension tests: triangles and circles
bilt test
letter dir ['class', 'blit', 'ellipse', 'fill', 'fill_rect', 'hline', 'line', 'pixel', 'poly', 'rect', 'scroll', 'text', 'vline']
large text test
contrast demo
free memory 125328
scroll test (start line)
free memory 19120
free memory 10896
invert test
large text test 3
large text test 4
large text test 16
array('h', [0, 0, 0, 40, 40, 40])

Hi Peter,
I've tried hard rebooting a couple of times but I get the same behavior.
As for the OLED version, I think it's version C, although the exact one is this one https://www.waveshare.com/wiki/Pico-OLED-1.3

Hi @iCach0,
Thanks for the info. I've not tested that display: to use it you would need to edit the code to reflect the pins that the display uses - if not done already.
This line:
spi1 = SPI(1, baudrate=1_000_000, sck=Pin(14), mosi=Pin(15), miso=Pin(12))
I think it would need to be, for example:
spi1 = SPI(1, baudrate=1_000_000, sck=Pin(10), mosi=Pin(11), miso=Pin(14))
miso (data out) doesn't appear on the diagram - so I have suggested a pin the display doesn't seem to use (or it might work if you omit it - not sure without checking).
The constructor line as follows also needs amending, for the chip select, and reset lines etc..
Instead of:
display = sh1107.SH1107_SPI(128, 64, spi1, Pin(21), Pin(20), Pin(13), rotate=0)
you could try, the following:
display = sh1107.SH1107_SPI(width,                              height,                              spi,                              dc=Pin(8),                              res=Pin(12),                              cs=Pin(9),                              rotate=0,                              external_vcc=False,                             delay_ms=100)
Does this help?

To be aware: I have edited the previous comment - not sure if you will get an email notification of that

It works! Although it seems it might be running in 128x128 mode because some things don't seem to fit properly, like the big numbers or the circles, for example (I can only see a half circle)

@iCach0: thanks for the reply.
Excellent news! Glad to hear that got it working.
The demo was written for 128128 displays and is only partially adapted, unfortunately. But the driver should still function fine. (The SH1107 always has a 128128 memory, but for 128*64 (or smaller) displays only some of the memory displays on the panel. ) If I get time one day I might improve the demos.
I'll close the issue then.


Azure Storage Lifecycle - We have a archive process already setup in Central, when will it be available in Central region?

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[x] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

Hello @vassallosm Thank you for your feedback! This channel is for driving improvements towards MS Docs. Was there a specific documentation that you were inquiring about?

@vassallosm
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion. Please use the Feedback or post comment Github buttons on the specific article.


Android app doesn't detect BLE beacons if flags are included, but iOS app does (which is correct)

Background:
Eddystone protocol consists of two parts - "Complete List of Service UUIDs", and "Service Data".
Now, the "Flags" field is not mentioned in this protocol, which could mean it may or may not be a part of the ADV packet (the example frame mentions it though).
As per Bluetooth Core Supplement Spec (CSS) v5, Flags were mandatory, even for beacons, but starting CSS v6, Flags have been made optional for beacons (specifically, non-connectable ADV). Due to this, some devices still adhere to CSSv5 and thus mandatorily transmit flags as part of the packet.
Problem:
When devices transmit flags as part of the Advertisement packet, the Physical Web app on Android does not show such beacons at all. However, the corresponding iOS app shows such beacons (which is the right way to do it).
Third party apps such as Beacon Toy on Android also correctly show such beacons (when flags are present).
So the Physical Web android app needs an update to detect such beacons when flags are present.

Two different points:

the Physical Web app chokes if flags are set.
This is a bug and should be fixed. Thank you! We'll get working on this.

The use of flags
The flags in the Eddystone spec are mentioned, they just aren't used yet. However, any flags set must e part of the Eddystone spec and it appears you are setting your own proprietary flags. We do have a few ideas of what we'd like to use flags for but haven't really pushed them yet as the ecosystem is still forming. However, you proceeding on your own will likely invalidate your beacons once they are added to the spec.

Can you let us know what you're trying to do with these flags, they may line up with what we're considering for the space and hurry that proces along.

I am really sorry for replying late. Somehow I didn't see any notification when you replied, and forgot about this. :(
To answer your question, the silicon vendors enforce the presence of flags just because of the CSS v5 spec (as I mentioned in the problem statement), and so there is nothing really worthwhile happening with those flags. In other words, I am not setting any proprietary flags on my own. For example, I am using Nordic nRF51822 (with SDKv11 and SoftDevice s130) and I cannot disable the flags, as far as I know.
The value of the flags could be one of the following:
0x06 - "General Discoverable mode" bitwise ORed with "BR/EDR not supported" - true for most devices
0x0A - "General Discoverable mode" bitwise ORed with "Simultaneous LE and BR/EDR capable controller" - some devices support this
If we start supporting these flags in Physical web, the problem is solved.
Looking forward to any further questions.

OK, two different issues here
Standard BLE flags
We're doing nothing fancy and the standard flags should just work. If you're using a standard BLE flag and somehow we're not finding it, that's a problem.
Eddystone flags
We have our own flags embedded w/in the Eddystone format. I confused your question and assumed you were using those. The bug I referred to was in this code and it has been found and fixed. However, I'm assuming this has nothing to do with your original issue.
So I guess we're back to what standard BLE flags you're  using that is somehow breaking the Physical Web scanner? It would be helpful if you could run a test with X flag on and off, showing it working with our scanner and then not working with it.

If you're using a standard BLE flag and somehow we're not finding it, that's a problem.

That is exactly what I am talking about.
So there are two test cases:

I used Nordic nRF51822 based Eddystone URL beacon, which has mandatorily enabled BLE flags at the beginning of the packet (byte stream - 02 01 06; same as the Eddystone protocol example). The sniffer screenshot shows the exact packet. This is detected by Beacon Toy app on Android as a valid Eddystone URL packet, but the Physical Web app shows nothing.

I used the Beacon Toy app itself to advertise a Eddystone URL, which is detected by sniffer and also by the Physical Web app.

Case 1 is the bad case (the physical web app should be able to see through the flags). Case 2 is the good case.
If I use an iPhone, the physical web works fine there (case 2).

Sorry, but it would be so much easier to communicate/debug if you could just tell me the official BLE flag you're using that's causing the problem. That way I can reproduce the problem by turning it on here and testing.

The first URL redirects to a non-https website, that's why it's not showing up.
On another note, it's weird that BLE flags are missing from the Android advertisement. What device are you using? If flags are missing and it still works, I guess we could have 3 more bytes for the URL? @scottjenson ?

@scottjenson I am using the official BLE flag value of 0x06. The first three bytes in my payload are -
02 (length of the Advertisement field)
01 (advertisement field type - Flags are indicated by 01)
06 (the value of the flags)
@adriancretu I used Moto G (can't tell you right now which generation; will have to check). In general I realized that when we use Android phones to advertise beacons (non-connectable advertisement), there is no presence of BLE flags. I used Android 6.0.

If flags are missing and it still works, I guess we could have 3 more bytes for the URL?
I agree, although I believe we should have the flags supported for backward compatibility.

@adriancretu brings up a good way to test this:

Beacon using 'standard' flags with https URL -> this should show up
EXACT same beacon w/ new flags

We need to make sure there isn't something unrelated to the flags that are the issue: e.g. you have a 'bad' URL. This is why we always recommend verify.physical-web.org be used before you test any beacon.

I tried sending an https URL, and it works! Thank you. Is this a fundamental requirement for the physical web to detect the URL?
Side note: I tried this on 4 different phones (Xiaomi MI 4, Lenovo K4 Note, Google Nexus 5, Moto G 3), and the Physical Web app on all but the MI4 detect the beacon.
On the MI4, Chrome is able to detect the beacon (via Settings->Privacy->Physical Web) but the Physical Web app itself doesn't detect it. Not sure why this would happen. Maybe some settings are wrong? Maybe there is a defect? I don't know. I have given all the permissions to the app though.

Eddystone beacons can broadcast any URL. The Google scanner only shows HTTPS as the Chrome team is very security concious and wants to prevent man in the middle attacks. This is why we always suggest you user verify.physical-web.org for any URL that you put into a beacon.
As to the MI4 there a range of things to try:

First just refresh the page in the physical web app
how often are you broadcasting, we recommend 700ms if you are much longer, it's harder to detect
What version of Android are you using?
Can you use a BLE scanner app like Nordic nRF Beacon to see if you can detect the raw beacon?
If you can't, it's likely there is a problem with that phone

For the MI4, I tried all the above. I am broadcasting every 100 ms. Android version is 6.0.1 (MMB29M). Other apps detect the beacon. Even chrome app shows it in the physical web section! It's just the physical web app which doesn't detect the beacon.
The physical web app showed this beacon once to me (when I tried it the first time after changing to HTTPS; that's when I got really excited), but then it never showed up again.

OK I just killed the app, cleared the app data from settings, and started it again. And it works now! I guess we can close this now, unless you want to probe further.


Upgrade to Rails 7.1

Rails 7.1 is out and we should upgrade. This PR does that.

Closing in favor of #171


spawn point history

I am trying to find a way to view a spawn point history to look for patterns.  The only way I have figured out how to do it is to go to full stats and go through every pokemon and write down spawn types and times.  Is there any easier way to do this?  It seems like all of the data is in the program there is just no way to efficiently get the data out ... unless I am missing something.

I concur.  It would be great to filter, view, and export to Excel.

I am thinking the same. It would be nice if it produced a log of everything that appears. Or is there some way to access the database where I suspect all this stuff is stored?

use sqlite to read the database stored at %appdata%\pokemon-go-map

would that be appdata roaming or local

its roaming, put %appdata%\pokemon-go-map in run or in the explorer address will take you to the folder, however spawn points changed again today so isn't much use in the data


Status macros

Bring open source repo up to date with the latest Google code.

Actually I'll withdraw this PR because I'm not excited about one of the new status macros we're exporting. Will make a new one after that's removed.


extract more section as json  in data_files

as openai can support json output now, if  i can give it the json output format, then i can easily build a website use screwfast in 10 minutes
like What Our Customers Say,faq.hero

Hey @wanghaisheng, can you elaborate?

i find 3 json in https://github.com/mearashadowfax/ScrewFast/tree/main/src/data_files
what i meant is to convert more section or template section like this way , layout and data separated

Thanks for the clarification, @wanghaisheng. I agree, that's a great way to manage and scale the project. I’ve done this in other projects too. However, I’ve kept it flexible here so developers can choose the method that works best for them, whether it's JSON, a CMS, or hardcoding.


Why we cannot tranfer adata along with functions?

Hello all,
For these 2 functions,
sc.pp.filter_cells(adata, min_genes=200)
sc.pp.filter_genes(adata, min_cells=3)
the authors make inplace=True as default.
Because I want to tranfer the output into an variable, I change these functions to
a=sc.pp.filter_cells(adata, min_genes=200, inplace=False)
sc.pp.filter_genes(a, min_cells=3, inplace=False),
but it creates errors and the output of a is NoType:
aceback (most recent call last):
File “C:\Users\Yuanjian\AppData\Local\Programs\Python\Python36\lib\site-packages\IPython\core\interactiveshell.py”, line 3343, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File “”, line 2, in
sc.pp.filter_genes(a, min_cells=3, inplace=False) # exclude genes only expressed in <3 cells
File “C:\Users\Yuanjian\AppData\Local\Programs\Python\Python36\lib\site-packages\scanpy\preprocessing_simple.py”, line 259, in filter_genes
X if min_cells is None and max_cells is None else X > 0, axis=0
Does anybody know why inplace=False doesn’t work?
Thanks!
Best,
YJ

I would agree the results of sc.pp.filter_genes(..., inplace=False) are not the most intuitive.  Instead of returning a filtered anndata, it returns which cells would have been filtered and the stats which were used to make this decision. This is documented under the Returns section for these functions.
What you might want is
mask, _ = sc.pp.filter_cells(adata, min_genes=200, inplace=False)
a = adata[mask].copy()


nfc_in_flutter in ios

hello every one,
I don't have much experience with nfc at all
I encountered a problem while using this plugin in ios , which is the process of executing the function inside read tag or write tag not execute it until  I clicked the cancel button in NFC-core dialog in ios 14
can any one help me

I have an issue in reading NFC in ios too the function runs one time only if I want to show dialog between each time must wait 5 seconds.

@adham-ashraf77 , See my Issue request (86) on MultiScaning on IOS. I found I needed to remove readerSession(_:didDetect:) to get the multiscan to work, then I can scan quickly. But it still times out every 60 seconds and needs 4 seconds to restart.. but I think that is just IOS.
https://github.com/semlette/nfc_in_flutter/issues/86

@ZippyRainbow  can you provide a pull request for this fix please with null safety.

@ZippyRainbow  i really need that fix for ios please

@adham-ashraf77 I am a bit of a novice with GitHub, I tried to create a pull request but couldn't work out how to add one, it seemed like the option was greyed out for my access. Maybe I need a paid Github account?

@ZippyRainbow  can you provide me what code you change or send me the file changes at<EMAIL_ADDRESS>and you can use your own fork form this repo and upload your commit and changes.

@adham-ashraf77  I assume you have read my Issue #86 I just removed the readerSession(_:didDetect:) subroutine from the nfc_in_flutter/ios/Classes/NfcInFlutterPlugin.m file, lines 470 to 507.
Starting from.
(void)readerSession:(NFCNDEFReaderSession *)session        didDetectTags:(NSArray<__kindof id<NFCNDEFTag>> *)tags API_AVAILABLE(ios(13.0)) {

This will force the NDEF Tag detect to activate for MultiScan:
(void)readerSession:(nonnull NFCNDEFReaderSession *)session didDetectNDEFs:(nonnull NSArray *)messages API_AVAILABLE(ios(11.0)) {
where do I add this code?

Hey @adham-ashraf77
Nothing needs adding. Just need to remove out lines 470 to 507 in nfc_in_flutter/ios/Classes/NfcInFlutterPlugin.m file.
Once there is no "didDetectTags" function it will use the "didDetectNDEFs" function on IOS Multiscan instead. This is the problem. with "didDetectTags" in the code, this is firing instead of "didDetectNDEFs".
Details of this is on the apple development page.
https://developer.apple.com/documentation/corenfc/nfcndefreadersessiondelegate/2875568-readersession

i tried to remove it and no multiscan

But it still times out every 60 seconds and needs 4 seconds to restart.. but I think that is just IOS.
it shows it open after 60 seconds and still a problem there is an app called popl handle the NFC error.

@adham-ashraf77
Are you using the code something like this in flutter? With once: false?
 _stream = NFC
          .readNDEF(alertMessage: "Scan your Card to record your time.", readerMode: NFCDispatchReaderMode(), throwOnUserCancel: false, **once: false**)
          .listen((NDEFMessage message) {
        if (message.isEmpty) {
          print("Read empty NDEF message");

But it still times out every 60 seconds and needs 4 seconds to restart.. but I think that is just IOS.
it shows it open after 60 seconds and still a problem there is an app called popl handle the NFC error.

Yeap, that is as good as I can get it to work with IOS. The IOS still times out after 60 seconds.

@adham-ashraf77
Are you using the code something like this in flutter? With once: false?
 _stream = NFC
          .readNDEF(alertMessage: "Scan your Card to record your time.", readerMode: NFCDispatchReaderMode(), throwOnUserCancel: false, once: false)
          .listen((NDEFMessage message) {
        if (message.isEmpty) {
          print("Read empty NDEF message");

once true i use
NDEFMessage message = await NFC.readNDEF(once: true).first;

@adham-ashraf77
Are you using the code something like this in flutter? With once: false?
 _stream = NFC
          .readNDEF(alertMessage: "Scan your Card to record your time.", readerMode: NFCDispatchReaderMode(), throwOnUserCancel: false, once: false)
          .listen((NDEFMessage message) {
        if (message.isEmpty) {
          print("Read empty NDEF message");

once true i use
NDEFMessage message = await NFC.readNDEF(once: true).first;

If you want to scan quickly, you need to use multiscan, else you can only scan once every 4 seconds.. I am pretty sure it is an Apple (iOS) thing.. as it needs to close and reopen the NFC Core.

and how to use multiscan?

Once: false

https://drive.google.com/file/d/1GWuKj57LggIZkdEGhRcXBh0krU1vH_PD/view?usp=sharing
here is a video from popl app it handles the cancellation.

@adham-ashraf77 if you are not getting the ios "Ready to Scan" at all you might need look at the sample code again to see what you are missing.

@adham-ashraf77 if you are not getting the ios "Ready to Scan" at all you might need to look at the sample code again to see what you are missing.
I assume your application is the one on the left in the video you posted.

get it the first time but if I click again without wait 4 seconds it will not appear again until we restart the app.

@ZippyRainbow  i just wanna to be like popl

@ZippyRainbow I figure out something that will not appear in app I turn NFC scan from IOS system is open from the app  the scan NFC restarts the NFC app.

@ZippyRainbow i just wanna to be like popl

Yeap, would be good. I don't know that much about the ios nfc to bug test much as I don't own a mac


Refactor show specific requirement view page

It is very raw, its necessary to improve it.

Done with modals


Cannot start new hyperapp

Showing just a blank page:
Manifest: Line: 1, column: 1, Syntax error.
package.json:
{
"name": "my-hyperapp",
"version": "0.0.0",
"private": true,
"dependencies": {
"hyperapp": "^2.0.4"
},
"devDependencies": {
"hyperapp-scripts": "^0.3.0"
},
"scripts": {
"start": "hyperapp-scripts start",
"build": "hyperapp-scripts build",
"test": "hyperapp-scripts test"
},
"eslintConfig": {
"extends": "react-app",
"rules": {
"react/react-in-jsx-scope": "off",
"no-unused-vars": [
"warn",
{
"varsIgnorePattern": "^h$"
}
]
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}

I believe the template needs to be updated for Hyperapp 2.

Try again with the new version.

Updated again today and should be working again with latest Hyperapp.


Add Serbian language translations

Add Serbian language translations

Coverage remained the same at 98.951% when pulling 0724dd2b2052ca518df2271d7ffc7a77a2b9e693 on petarjs:feature/add-serbian-language into 18dcd7ad28663b3289cbe79a16543a7cb6f8a2f1 on charliekassel:master.

Closing this one, I saw there is already an open pull request for adding Serbian language.


GH-2993 Introduced JMH Benchmarks for main parsers

Signed-off-by: Tomas Kovachev<EMAIL_ADDRESS>GitHub issue resolved: #2993
Briefly describe the changes proposed in this PR:
Introduced JMH Benchmarks for main parsers as well as a synthetic dataset generator and black hole rdf handler.

With the benchmarks introduced from the second PR, here is the comparison for NQuads parser with 1m statements:
BEFORE:
Benchmark                                  Mode  Cnt  Score   Error  Units
NQuadsParserBenchmark.parseBufferedReader  avgt    3  3.824 ± 0.128   s/op
NQuadsParserBenchmark.parseStream          avgt    3  6.423 ± 0.200   s/op

AFTER (same test twice as new implementation uses buffered reader anyway):
Benchmark                                  Mode  Cnt  Score   Error  Units
NQuadsParserBenchmark.parseBufferedReader  avgt    3  2.149 ± 0.333   s/op
NQuadsParserBenchmark.parseStream          avgt    3  2.241 ± 0.254   s/op

That's seconds per op. So quite significant!

Indeed, after resolving the issues I will run the same test again but with 5m statements.

Just want to test this branch out locally and if everything works we should be good to merge.


TimeAgo: support OffsetDateTime

Would be nice if timeAgo also had an option to stop saying "... ago" after a certain period.
For example, after a year, it's kind of pointless to see "more than 1 year ago". Here displaying the actual date might be more interesting.

@fcorneli I'll see if it can easily be done without having to change the original library. Also it should support conversion in that case. I don't want to reinvent the wheel there.

@jepsar Seems like there is a cutoff option.
https://github.com/rmm5t/jquery-timeago#settings

@fcorneli You can set the cutoff setting using JavaScript. I don't think this is a per instance setting, so it would not make sense to create an attribute for it.


E2E test case for searching LDAP user when adding a member to project.

To cover the feature in
https://github.com/vmware/harbor/issues/3284

Pending on ldap refactor to merge PR, move to sprint 23


Bootstrap logger

Adds bootstrap logger that can be statically accessed for access to logging infrastructure before service container is built. It supports "upgrades" as infrastructure is loaded, primarily via call to update it with IConfiguration and after container is constructed ILoggerFactory. Any existing loggers spawned from it are seamlessly upgraded. Refactored config server to take advantage of this implementation if explicit LoggerFactory is not specified.
@hananiel you should probably look at this one as it touches stuff you recently worked on

/azp run Steeltoe.All


Changelog: Fix date, add missing PR

https://github.com/tigerbeetle/tigerbeetle/pull/2154 was merged after the changelog was generated, but before the release was merged.

TOCTOU!


Publish GetConn type

Pool::get_conn returns a GetConn, but that type is not public, and so it's impossible to write a function that takes whatever Pool::get_conn returns.

Hi!
Sorry for late response.
This issue was introduced by accident so thank you for pointing that out.
Fix published in v0.15.1


{RDBMS} az postgres flexible-server create: Support Case-Insensitive Input for --public-access

Related command

az postgres flexible-server create
Description

Adding case-insensitive support for --public-access parameter
Testing Guide

History Notes

{RDBMS} az postgres flexible-server create: Support Case-Insensitive Input for --public-access

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Thank you for your contribution! We will review the pull request and get back to you soon.


in my machine,  is only a little issue,

thread '' panicked at 'cannot access stderr during shutdown', /checkout/src/libcore/option.rs:891:4
then, the server is disconnect this client, ??

have resolved.


Content format

Xcf format is fine in case of providing additional meta informations, but the content area itself is very limited. Base64 causes ca +33% of the original size. We may should prefer some more binary format.

Also we need to read the entire file for base64 -> byte so we could not take advantage of a stream. For example a 40mb wav file gets into memory instead of streaming the file.

https://github.com/ThuCommix/Sharpex2D/commit/dc7366fd9fe8c7c19368a02b40deded886529145


Exception: Can only search on text columns. Failed to setup search for "<mongoengine.fields.ReferenceField object at 0x7f093478e090>

How to add field in
column_searchable_list
which is referencefield ?

edit:
I have added allowed_search_types but I have to Type the exact ID for some models to find the result.
allowed_search_types = (
    StringField,
    URLField,
    EmailField,
    ReferenceField
)


CloudFormation wrapper panics are reported as failures (closes #172)

Issue #172
If a CloudFormation custom resource function panics, we send a FAILED status to cfn. Panics are not recovered, as this would cause the stacktrace to be lost before being handled here: https://github.com/aws/aws-lambda-go/blob/02a038f1708ade8d5fd6a28ee309c388008fe770/lambda/function.go#L26-L34
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #174 into master will increase coverage by 0.3%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master     #174     +/-   ##
=========================================
+ Coverage   70.02%   70.33%   +0.3%
=========================================
  Files          18       18
  Lines         684      691      +7
=========================================
+ Hits          479      486      +7
  Misses        165      165
  Partials       40       40

Impacted Files
Coverage Δ

cfn/wrap.go
92.59% <100%> (+2.59%)
:arrow_up:

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 ec2fec7...7f5322c. Read the comment docs.


feat: Sort query string keys

To avoid SEO issues from duplicate content this PR adds sorting of the query parameters based on their keys. That way the URL should be more predictable and canonicals won't be needed as often.
I went with using the native sort method on the URLSearchParams class to align it with existing standards.
As long as no user has depended on the order of the query string this PR shouldn't be breaking.

Thanks! Could you rebase it on top of the v2/release branch, and change the PR target branch to that please?

Also, as an FYI, this change may be unexpected for most people: https://x.com/fortysevenfx/status/1835384141808021801
I'll play with this PR once it's ready, and we'll see if it makes sense to merge it as-is or to provide some other kind of API to sort the keys in a one-shot way, or to provide this behaviour as an option.

Also, as an FYI, this change may be unexpected for most people: https://x.com/fortysevenfx/status/1835384141808021801
I'll play with this PR once it's ready, and we'll see if it makes sense to merge it as-is or to provide some other kind of API to sort the keys in a one-shot way, or to provide this behaviour as an option.

I've

Also, as an FYI, this change may be unexpected for most people: https://x.com/fortysevenfx/status/1835384141808021801
I'll play with this PR once it's ready, and we'll see if it makes sense to merge it as-is or to provide some other kind of API to sort the keys in a one-shot way, or to provide this behaviour as an option.

A rough first version is ready now. It's one of my first time contributing to an OSS-project so sorry if I'm missing something. Let me know and I'll fix it 😄
I understand this change might be considered somewhat controversial, especially regarding backward compatibility. Like you're saying, it might be good to have an option to enable/disable it.
However, I believe the default behavior should remain sorted. While it may not align with everyone’s expectations, it provides significant SEO benefits, which would likely be valuable to a majority of users. Similar to how this library has some handy defaults (replace, reset on null etc.), I believe sorting should be the default as it’s what would be the most practical.


Kali-Linux WSL2 is unable to connect to Internet

Windows Version
Microsoft Windows [Version 10.0.19045.4529]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
No response
Distro Version
Kali Linux
Other Software
No response
Repro Steps
In Kali Terminal:
sudo apt update - expect connection to repos. Does not.
[sudo] password for kali:
0% [Working]```

**ping <IP_ADDRESS>** - expect ping of Google DNS - Does not work
```PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
From <IP_ADDRESS> icmp_seq=1 Destination Host Unreachable
From <IP_ADDRESS> icmp_seq=2 Destination Host Unreachable
From <IP_ADDRESS> icmp_seq=3 Destination Host Unreachable
^C
--- <IP_ADDRESS> ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4149ms
pipe 4```

**ping <IP_ADDRESS>** - ping of localhost works
```ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=0.158 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=0.076 ms
^C
--- <IP_ADDRESS> ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1024ms
rtt min/avg/max/mdev = 0.076/0.117/0.158/0.041 ms```

```ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:15:5d:60:81:3b brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/20 brd <IP_ADDRESS> scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::215:5dff:fe60:813b/64 scope link
       valid_lft forever preferred_lft forever```

 **ip r**
```default via <IP_ADDRESS> dev eth0 proto kernel
<IP_ADDRESS>/20 dev eth0 proto kernel scope link src <IP_ADDRESS>```

**cat /etc/resolv.conf**
```# This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:
# [network]
# generateResolvConf = false
# nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>```

**cat /etc/hosts**
```# This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:
# [network]
# generateHosts = false
<IP_ADDRESS>       localhost
<IP_ADDRESS>       DESKTOP-FOM8I03.        DESKTOP-FOM8I03

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters```

**cat /etc/wsl.conf**
```[boot]
systemd=true

[network]
generateResolvConf = false
generateHosts = false``` <-- I turned these off to modify my /etc/resolv.conf and /etc/hosts during my own failed troubleshooting

### on Powershell side:
**ipconfig /all** - look at  vEthernet (WSL) connection

```Ethernet adapter vEthernet (WSL):

   Connection-specific DNS Suffix  .

### Actual Behavior

Does not connect to DNS. Does not connect to network besides its own localhost. I cannot figure out any configurations that will allow me to connect it to the internet my host  computer has access to. I think it has to do with the APIPA address and lack of default Gateway on the Windows side of the vEthernet connector, but I have been unable to modify it to make anything happen, and it doesn't look like anyone else out there has ever had this same error.

### Diagnostic Logs

Troubleshooting results are above.

WslLogs-2024-07-04_11-53-58.zip

Same issue, this is a major bug! Unable to develop at all due to it. I hired a networking guy to check network ip configurations were correct, and he said all looked good and couldn't figure out why theres an issue.

/dupe 8365

Had the same issue. Here is how to fix it:
Go to Windows Terminal run "ipconfig", find your Default Gateway.
Then go to WSL Kali and do
Do : sudo nano /etc/resolv.conf
Edit the "nameserver" address to the Default Gateway
Ctrl+S, Ctrl+X
sudo apt-update
should work, hope that helped.


feat:adds blueprints for log-export with sinks for Cloud Log Buckets

Two new blueprints for export logs to Cloud Log Buckets

@bharathkkb - can you review please?

@bharathkkb - ping


how to auto active global-writeroom-mode when Emacs runs

thanks

It should be enough to put (global-writeroom-mode) in your init.el.

It should be enough to put (global-writeroom-mode) in your init.el.


Update gardener-controlplane to v1.95.1 (main)

This PR contains the following updates:

Package
Update
Change

gardener-controlplane
patch
1.95.0 -> 1.95.1

gardenlet
patch
1.95.0 -> 1.95.1

Release Notes

gardener-community/gardener-charts (gardener-controlplane)
v1.95.1
Compare Source
[gardener/gardener]
🏃 Others

[OPERATOR] gardenlet: An issue causing the blackbox-exporter Deployment to be created and to be unhealthy in the Shoot control plane for Shoots with .spec.purpose=testing is now fixed. by @ialidzhikov [#9798]

Docker Images

admission-controller: europe-docker.pkg.dev/gardener-project/releases/gardener/admission-controller:v1.95.1
apiserver: europe-docker.pkg.dev/gardener-project/releases/gardener/apiserver:v1.95.1
controller-manager: europe-docker.pkg.dev/gardener-project/releases/gardener/controller-manager:v1.95.1
gardenlet: europe-docker.pkg.dev/gardener-project/releases/gardener/gardenlet:v1.95.1
node-agent: europe-docker.pkg.dev/gardener-project/releases/gardener/node-agent:v1.95.1
operator: europe-docker.pkg.dev/gardener-project/releases/gardener/operator:v1.95.1
resource-manager: europe-docker.pkg.dev/gardener-project/releases/gardener/resource-manager:v1.95.1
scheduler: europe-docker.pkg.dev/gardener-project/releases/gardener/scheduler:v1.95.1

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


Rename props: is* eliminates all is prefix in the form-control package

Description
Change and unify the names of props.
Removing all is prefix from is*
Problem Statement/Justification
For example, isOpen becomes open and isDisabled becomes disabled.
Proposed Solution or API
props to be changed are marked @deprecated in v1
Alternatives
No response
Are you willing to participate in implementing this feature and create a pull request include the implementation?
None
Additional Information
No response

When do you plan to work on this task? Since form-control is used in several components, I think it would be best to complete it quickly. @kurakke


Use _ (underscore) instead of space char in oc command output filenames

Fixes BZ #1828714
Signed-off-by: Ashish Singh<EMAIL_ADDRESS>

This looks like more than just replacing Space with Underscore.
(Change in for loop, removal of logging to BASE_COLLECTION_PATH/gather-debug.lob)
If these changes are done for some specific reason, please explain that in the commit message.
If not, restrict the changes to replacing with Underscore only.

@umangachapagain I was not able to implement the logic for replacing Space with Underscore, using the exiting loop for command in "${commands[@]}"; do and hence the loop was changed.

/ok-to-test

@crombus the failed ci jobs don't look relevant to the patch, I guess.

/approve

/test ocs-operator-e2e-aws

/test ocs-operator-e2e-aws

/override ci/prow/ocs-operator-e2e-aws


[13.0.x] ISPN-13887 add title context

https://issues.redhat.com/browse/ISPN-13887

merged! thanks @oraNod !

thank you @pruivo ! :coffee:


HACS install not working

Maybe a typo (MAINFEST instead of MANIFEST)?

Please provide more information.
Did you try to install 1.5.0 ? Or the BETA ?
I just setup a fresh HA and tried the 1.5.0 installation via HACS without any problems


[WIP] New market type: bounties!

Here's a market for this: https://manifold.markets/MarketManagerBot/how-many-days-after-september-1st-w-03dce7f8a017


Add Docker support (#13)

🐳

@chrishelgert Yes, copying the single .next directory would be great! But it's hard, see https://github.com/moby/moby/issues/15858

@danielbayerlein mh ok if it is so complicated, then we should make stick to .dockerignore in the first step and keep the other solution in mind - maybe there will be a fix for it


Change: Local 3rd party libs

I know you disliked my idea, but this fixes #537. I just really dislike CDNs, esp. when selfhosting services.
I tested it as good as i can & everything seems to work just fine.

stubborn Machinaris users 👍


iof-av:adaptedFrom should be URL not literal

You define iof-av:adaptedFrom thusly:
iof-av:adaptedFrom  rdf:type  owl:AnnotationProperty ;
        rdfs:subPropertyOf  dcterms:source ;

dct:source is merely rdf:Property but there's a skos:note "This term is intended to be used with non-literal values": that's really the difference between dct:source and dc:source
So iof-av:adaptedFrom should also point to a resource.
But then you use it as a string:
iof-core:roleOf  rdf:type   owl:ObjectProperty ;
        iof-av:adaptedFrom  "http://purl.obolibrary.org/obo/RO_0000081" ;

Please change this to a URL <http://purl.obolibrary.org/obo/RO_0000081>.
Which will have the added benefit that many tools will show it as a clickable link.

In other cases you use a literal with URI datatype:
iof-core:isOutputOf  rdf:type  owl:ObjectProperty ;
        iof-av:adaptedFrom  "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/ExtendedRelationOntology"^^xsd:anyURI ;

That's a bit better, but I've asked before what's the benefit of such literal compared to a real URL.
I found only one benefit so far: if the URL is invalid, a repository will reject the URL but will happily accept the xsd:anyURI.
Which is not the case here!


More functions to be parallelized

dip::ProjectionScan (source), which is used by all projection statistics functions such as dip::Mean and dip::Percentile, needs to be parallelized by adding an OpenMP pragma to the loop. This is not very hard, but not trivial either.
dip::SelectionFilter (source) can also be easily parallelized, following dip::Framework::Full.
dip::ChordLength, dip::PairCorrelation, etc. can all be parallelized quite simply, I think.

The internal function ProjectionScan parallelized in 4afd8acbfbc549eeff61af5ae2fcc1cabc3a0f62 (and renamed dip::Framework::Projection and made public).


Cannot launch any distribution after modifying WindowsApps permission

Version
Microsoft Windows [Version 10.0.22000.675]
WSL Version

[X] WSL 2
[X] WSL 1

Kernel Version
5.10.16
Distro Version
Ubuntu 22.04, Ubuntu, openSUSE
Other Software
No response
Repro Steps

Enable everyone to access WindowsApps permission, and then
Restore WindowsApps permissionss to TrustedInstaller

Expected Behavior
I can launch every WSL distro.
Actual Behavior

Ubuntu failed to start or install
WslRegisterDistribution failed with error: 0x8007041d
Error: 0x8007041d The service did not respond to the start or control request in a timely fashion.

openSUSE failed to install
Installing, this may take a few minutes...
Installation Failed!
Error: 0x8007041d
Press any key to continue...

Diagnostic Logs
WslLogs-2022-05-27_17-37-56.zip

I don't know if it is related, but DNS client failed to start lately.
In event viewer, I got "The DNS Client service hung on starting.". Killing it or rebooting doesn't help.


Fix adding kits to actors

Broke by https://github.com/foundryvtt/pf2e/pull/11742

I have zero idea if this is where it should be fixed but it fixes it for me so thought I'd share @stwlam

Place it at the creature level


Allow envdir to expand existing shell values

In bash, you can do things like: export PATH=$PATH:/some/new/path
It would be nice if envdir supported similar expansion.
The original envdir.c doesn't support this, so you may be reluctant.  However, in trying to do 12-factor apps, I've found it useful to have, for example, resource prefixes so that you can have jenkins builds like so:
DATABASE_URL=postgresql://localhost/db_$JOB_NAME
Thoughts?

this is not part of the standard behavior, i think a separate command name with substitution support could be used, of course failing on recursion

I don't actually need this anymore, so you can ignore my original +1. /unsubs

The original envdir.c doesn't support this, so you may be reluctant.

But you should not be as this would be a very nice feature to have :)
Btw, another problem with using environment variables in the context of envdir is explained at http://thedjbway.b0llix.net/daemontools/envdir.html and starts with

At the risk of redundancy, we would like to note one of the potential "gotchas" in using envdir with run scripts.

Can you limit it to only expanding itself? For now.
export PATH=local/bin:$PATH is a common usage of custom env.

I'm searching for a tool similar to envdir that fits my use case. I figured I'd describe my use case here (full shell expansion) so that either someone may direct me too a tool better suited for me, or weigh in on how difficult it would be to create a fork (and/or PR) of this project to add support for it.
I have some values stored on disk in files (just how envdir expects them), but I'd like to define shell expressions inside the env files that compute the environment variable value. I'd like to do this because I don't want to store secrets on disk. Most of my environment variables don't store secrets, but because this is for a 12 Factor app some secrets will need to available via environment variables. Additionally, there are different places secrets need to be pulled from, OS keychain, password manager CLI, etc... For example, I might want to pull something from 1Password:
$ tree
envs
└── SUBMARINE_HATCH_PASSCODE

0 directories, 1 file

$ cat envs/SUBMARINE_HATCH_PASSCODE

$(op item get --vault top-secret 'submarine hatch' --fields code)

Any suggestions on how to achieve this with envdir? Or is there another program I should look at? Thanks!


added greetings action

This PR Contains
Added Greetings action
Move Write good.yml action to main .github folder

cc @nehagup


Hover SDK Implemented

Screenshots

Description

[x] Run the unit tests with ./gradlew check to make sure you didn't break anything

[ ] If you have multiple commits please combine them into one commit by squashing them.

The APK link for testing it on any Android device with an MTN Uganda Mobile SIM services.
https://drive.google.com/drive/folders/1tyqNSKRk1A2BNqZyxuubimhp_meT31xX?usp=sharing

@edcable You can test the app from here.


Make sure IApplicationLifetime gets added even if startup throws.

#434 @davidfowl @HaoK

Add a test

Updated

Updated.

Why is travis failing?

IHttpContextFactory due to the lack of a recent coherence build.

@muratg

:shipit:


Normalize phpstan config

See the 2 commits inside.
Related to #84 but phpstan's %rootDir% does not work when installed by Phive

It turns out Phive is OKAY: https://github.com/phpstan/phpstan/issues/2286

Tests may be very special.
phpstan-tests.neon
# Start: tools/phpstan analyse -c phpstan-tests.neon
parameters:
    inferPrivatePropertyTypeFromConstructor: true
    level: 2
    paths:
        - %rootDir%/../src/Core/Migration/Test
        - %rootDir%/../src/Core/Checkout/Test
        - %rootDir%/../src/Core/Framework/Test
        - %rootDir%/../src/Core/Content/Test
        - %rootDir%/../src/Core/System/Test
        - %rootDir%/../src/Elasticsearch/Test
        - %rootDir%/../src/Storefront/Test
    autoload_directories:
        - %rootDir%/../src/Core/Framework/Test/Plugin/_fixture/plugins/SwagTest/src/
        - %rootDir%/../src/Core/System/Test/SystemConfig/_fixtures/SwagExampleTest/
        - %rootDir%/../src/Core/System/Test/SystemConfig/_fixtures/SwagInvalidTest/
    autoload_files:
        - %rootDir%/../src/Core/Framework/Test/FeatureFlag/_fixture/feature_nextfix101.php
        - %rootDir%/../src/Core/Framework/Test/FeatureFlag/_fixture/feature_nextfix102.php
        # CallableClass is in
        - %rootDir%/../src/Core/Framework/Test/DataAbstractionLayer/EntityRepositoryTest.php
    ignoreErrors:
        # TODO Add reason
        - '#^(Used function|Function) Flag\\\S+ not found\.$#'
        # For BC with Symfony 4
        - '#^Method Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface::dispatch\(\) invoked with 2 parameters, 1 required\.$#'

@pweyck Could you please look at this?

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-4118
Please use this issue to track the state of your pull request.

hey @szepeviktor
thanks for your PR. I'm currently working on rebuilding our CI pipeline. I have taken some of your changes into my PR. It will be merged soon


File upload to Storage fails silently

Hello, I'm trying to upload a file to Storage from a Compute instance.
Following the example in the docs:
from gcloud import storage
client = storage.Client()
bucket = client.get_bucket('my-bucket-name')
blob = bucket.blob('my-test-file.txt')
blob.upload_from_string('this is test content!')

Nothing happens. No error message, no file created/uploaded in the bucket, blob.exists() returns False.
I don't think it's an access control/permissions thing as the bucket has default settings and I'm able to modify existing blobs.
Any leads on how to debug this?
Also, I think it would make sense to throw an exception or give some sort of indication/explanation that it failed.

It should fail with an exception if the upload failed. The blob.exists() being False may be due to eventual consistency.

Thanks for the report!  I'm guessing that bucket.exists() returns False:  if so, then you need to call bucket.create() before blob.upload_from_string().  I was able to reproduce your report that way:  the error is that the 404 from the back-end (due to the non-existent bucket) is being dropped on the floor.

> /home/tseaver/projects/agendaless/Google/src/gcloud-python/gcloud/streaming/http_wrapper.py(355)_make_api_request_no_retry()
-> if info is None:
(Pdb) pp info
{'alt-svc': 'quic=":443"; ma=2592000; v="32,31,30,29,28,27,26,25"',
 'alternate-protocol': '443:quic',
 'content-length': '165',
 'content-type': 'application/json; charset=UTF-8',
 'date': 'Mon, 11 Apr 2016 18:55:56 GMT',
 'server': 'UploadServer',
 'status': '404',
 'vary': 'Origin, X-Origin',
 'x-guploader-uploadid': 'AEnB2UqUUnsXbGr_B5UC4iut3KXc-TKQUbER1ffezwzKXKatM5ZRBetpJfJM90_-9p7yVZNK747V9Nm0ypPTIdy9U83mh8BUfg'}
(Pdb) pp content
'{\n "error": {\n  "errors": [\n   {\n    "domain": "global",\n    "reason": "notFound",\n    "message": "Not Found"\n   }\n  ],\n  "code": 404,\n  "message": "Not Found"\n }\n}\n'

Thanks for the quick reply!
@dhermes file doesn't show up ever, checked on the web viewer as well.
@tseaver  bucket.exists() returns True.
On an existing file in the same bucket, everything works as expected (make_public, delete, etc...)

We do have a bug that the upload code drops 40x errors (other than 429 "Too Many Requests") on the floor.

Blerg! Thanks for finding that @tseaver. @craigcitro Any idea why that snippet exists? @tseaver Link to bug?

This is that bug. )

Ha gotcha.

@craigcitro the issue goes back to the original apitools codebase.  I don't know why 40x response codes would be skipped.

@thobrla for the error question -- Travis, do you remember this offhand? (If not, I'll take a look soon.)

I think the default CheckResponse function in http_wrapper only intends to process retryable errors.  Non-retryable errors like 400, 403, 404, etc. are returned to the client who can interpret them depending on the application logic.

Thanks @thobrla!

Just guessing:  is there a notion that a 404 is a "retriable" error in a general case?  I can see how it would be for some cases (e.g., DELETE on a resource 404s due to eventual consistency), but that can't be a good overall rule.  In general, 40x errors are "user errors", and should just be raised.

400 Bad Request (raise)
401 Unauthorized (raise)
403 Forbidden (raise)
404 Not Found (raise unless app policy says retry after backoff)
405 Method Not Allowed (raise)
406 Not Acceptable (raise)
408 Request Timeout (retriable after backoff?)
409 Conflict (maybe retriable after backoff?)
410 Gone (raise)
411 Length Required (raise)
412 Precondition Failed (raise)
413 Request Entity Too Large (raise)
414 Request-URI Too Long (raise)
415 Unsupported Media Type (raise)
416 Requested Range Not Satisfiable (raise unless app policy says retry after backoff)
417 Expectation Failed (raise)

The 50x "Server Error" codes are also a mixed bag:

500 Internal Server Error (maybe retriable after backoff?)
501 Not Implemented (raise)
502 Bad Gateway (retriable after backoff)
503 Service Unavailable (retriable after backoff)
504 Gateway Timeout (retriable after backoff)
505 HTTP Version Not Supported (raise)

@tseaver Just to confirm -- apitools does not retry the 4xx requests, but we do retry the 5xx ones. The only exception should be 429, basically because some services use that as a retryable code.
Are you seeing something different?

Outside of 429, all of the 400's would only be retriable in very application-specific scenarios.  So I think sending the response to the client is appropriate.
500 is retriable after backoff.
I agree that 501/505 are unlikely to succeed with retries.  Right we aren't bitten by that because the services simply don't return those error codes (and we're using supported HTTP versions).

@craigcitro nope:  somehow the knowledge of that didn't transfer, and so we were dropping the errors on the floor.  #1717 adds code to the caller of our (forked) apitools to handle error responses.

@tseaver Have you been able to verify that this fixes the issue here? I tried it and can't get the original snippet to fail (get_bucket() would fail if the bucket didn't exist, and the upload would never occur).

@dhermes I was never able to reproduce with an already-existing bucket.  I did verify that the code now raises a NotFound:
>>> from gcloud.storage import Client
>>> client = Client()
>>> bucket = client.bucket('1712-tseaver-no-such-bucket')
>>> bucket.exists()
False
>>> blob = bucket.blob('my-blob-name')
>>> blob.upload_from_string('this is test content!')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "gcloud/storage/blob.py", line 548, in upload_from_string
    client=client)
  File "gcloud/storage/blob.py", line 469, in upload_from_file
    self._check_response_error(request, http_response)
  File "gcloud/storage/blob.py", line 359, in _check_response_error
    error_info=request.url)
gcloud.exceptions.NotFound: 404 Not Found (https://www.googleapis.com/upload/storage/v1/b/1712-tseaver-no-such-bucket/o?uploadType=media&name=my-blob-name)

I confirmed as well. Thanks for the snippet.


Change User

It's more of a feature request
Bug reports:
Steps you follow to reproduce the error:
On AWS EKS with Kubernetes 1.13 I diabled the default PodSecurityPolicy that allows every pod to run as root.
After that I couldn't start the alertmanager-sns-forwarder as this container runs with the default user (0)
kubectl get po
alertmanager-sns-forwarder-7f4554567d-jw94v       0/1     CreateContainerConfigError   0          10m

kubectl describe po alertmanager-sns-forwarder-7f4554567d-jw94v

 Warning  Failed     6s (x7 over 78s)  kubelet, ip-172-16-248-158.eu-west-1.compute.internal  Error: container has runAsNonRoot and image will run as root

What did you expect to happen instead:
A running container
What's your theory on why it isn't working:
The container should run as non root.
The fix is simple, if you're interested I'd be happy to provide a PR.

Thanks, good find, there is no reason to run as root. Please check out if changes in pull request #21 would be enough to resolve this.


Reintroduce the Landscapes Extension

Closing this ticket for now as there is no near or medium term plan to reintroduce this older extension.


ArNovel doesn't work

Source information
ArNovel
Steps to reproduce
Open the source and entering any novel display it like this

Expected behavior
Novel opens with its chapters
Actual behavior
No chapters with no cover or any novel info

LNReader version
1.1.19
Android version
14
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 1.1.12.
[X] I have updated all installed extensions.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

بعده ميشتغل عندي، اشتغل عندك؟


fix: improve translation and formatting consistency

Improved overall translation to give it a more natural feel to spanish speakers. Also edited the formatting (mainly titles) to be more loyal to the source material. Properties names haven been left untranslated to avoid confusing the students.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


Error when installing deepface in raspberry pi 4b

I encountered these errors when trying to install the deepface in rpi 4b, using pip3 install deepface
THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them. tensorflow>=1.9.0 from https://www.piwheels.org/simple/tensorflow/tensorflow-1.14.0-cp37-none-linux_armv7l.whl#sha256=d4b1c2eda7a46e00e5091c077958c1bc116fc2be6c5ecb870a613edac2a95e74 (from deepface): Expected sha256 d4b1c2eda7a46e00e5091c077958c1bc116fc2be6c5ecb870a613edac2a95e74 Got 8b79336f924bd84282dbf7ca844798c04891bb438d05610b04f95e7496e57443 pandas>=0.23.4 from https://www.piwheels.org/simple/pandas/pandas-1.3.5-cp37-cp37m-linux_armv7l.whl#sha256=cdded484770c28b9290c428fb6c0927104a97299fb614fc9eb1beca1bff55df0 (from deepface): Expected sha256 cdded484770c28b9290c428fb6c0927104a97299fb614fc9eb1beca1bff55df0 Got 60cc77fb87b782132db52b2003a03eb4473a7f6019cfa773b454cbf74558b914

try to install tf to your raspberry pi first. this is not deepface related error.


Make ServiceProvider class public

I am writing an extension to the DI system to support Sub-ServiceProviders that are accessible through a Sub-ServiceManager by a specified key (or name).
However, to be able to do that I need to implement a SubServiceProvider class which ideally should work exactly like the normal ServiceProvider, just with the default fallback to ask the root level provider to realize the server if the Sub-ServiceProvider cannot do it.
However, since the ServiceProvider class is internal I cannot derive from it and thus not easily share and extend the feature of the standard DI Provider.
Having the ability for such a nested DI-container could be very beneficial. And although I realize that there are other DI frameworks that support this, I'd really love to build this for the MS DI-system.
If there are big issues with making the ServiceProvider a public class, I am willing to submit a complete PR with support for a Sub-ServiceProvider (and a respective Builder and Manager class) here in this repo.

We don't have plans to add child container support. There's another long thread on that.

However, since the ServiceProvider class is internal I cannot derive from it and thus not easily share and extend the feature of the standard DI Provider.

Can you show what exactly you plan to do if the ServiceProvider was public? I don't quite understand it from the description.

Example for a use case of a SubServiceProvider:
public class Startup {
    public void ConfigureServices(IServiceCollection services) {
        services.AddSubServiceManager((ISubServicesManagerBuilder<string> subServiceManager) => {
            subServiceManager.AddSubServices("subServicesName", (IServiceCollection subServices) => {
                subServices.AddSingleton(new MyMagicService());
            });
        });
    }
    public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) {
        var serviceProvider = app.ApplicationServices;
        var subServiceManager = serviceProvider.GetRequiredService<ISubServiceManager<string>>();
        IServiceProvider subServiceProvider = subServiceManager.GetServiceProvider("subServicesName");
        var myMagicServiceInstance = subServiceProvider.GetRequiredService<MyMagicService>();
    }
}

This way, you could make branches in the DI-container structure, and separate each branch from each other... This makes the following possible:

Having multiple Database Providers in a DI container
Having DbContexts with different sources (as in migration applications that move data from one DB to another)
This would also allow for hosting Web Applications with small modules within the same application scope, where each module could be its own independant application

But regardless of what I personally think could be done by extending the default service provider, I think it is generally a good idea to allow people to extend this class, especially since DI has become essential to ASP.NET Core applications.

@davidfowl And regarding the child container support: I am implementing that feature for my own use right now anyways, but it depends on the Default Service Provider being a public class so I can derive from it. And if you like am very happy to make a PR implementing Child Container support.
But I am not planning on writing my own DI container system just to have child containers. Not when I get a perfectly sound and easy to use DI system here already.

@couven92 Can you show the code that overrides the DefaultServiceProvider

@davidfowl https://github.com/couven92/aspnet-DependencyInjection/commit/133697648934d42ae44d501b212fa805174e8a46 shows the commit that implements a SubServicesServiceProvider.
Specifically, the DefaultServiceProvider is overridden here: https://github.com/couven92/aspnet-DependencyInjection/blob/133697648934d42ae44d501b212fa805174e8a46/src/Microsoft.Extensions.DependencyInjection.SubServices/SubServicesServiceProvider.cs

@davidfowl when we talked you said there might be a simpler way to achieve this - can you share?

@couven92 Since you're using functionality that is public, why not just make another class that derived from IServiceProvider and use BuildServiceProvider to make the "child container"?
public class SubServicesServiceProvider : IServiceProvider
{
    private readonly IServiceProvider rootServiceProvider;
    private readonly IServiceProvider subServiceProvider;

    public SubServicesServiceProvider(IServiceProvider rootServiceProvider, IServiceCollection subServiceCollection, bool validateScopes)
    {
        this.rootServiceProvider = rootServiceProvider;
        this.subServiceProvider = subServiceCollection.BuildServiceProvider(validateScopes);
    }

    public object GetService(Type serviceType) => subServiceProvider.GetService(serviceType) ?? rootServiceProvider?.GetService(serviceType);
}

Initially, I thought so as well, but then it is not possible to make the child container inherit the root container.
With the model I am proposing, it will be possible to have a child service that requires services from the root provider.
@davidfowl in the example you show, child services will be realized only by the created child service provider. In my example service realization will propagate upwards through to the root provider.
The override of the GetServices method enables us to make an actual connection between the child and the root provider

With the model I am proposing, it will be possible to have a child service that requires services from the root provider.

I don't really understand how that would work with your code. Can you show a concrete example? I don't see what functionality you're using in the derived container to enable that. The container itself doesn't call GetService so there's no chaining that will happen.

Consider the following:
I have one class, the RootService which will be added to the root service provider:
public class RootService {}

Now we have another class, SubService, where the ctor gets a RootService instance as argument.
public class SubService {
    private readonly RootService rootServiceInstance;

    public SubService(RootService rootServiceInstance) {
        this.rootServiceInstance = rootServiceInstance;
    }
}

Now those are added to DI as services (for example in a WebApp):
public class Startup {
    public void ConfigureServices(IServiceCollection services) {
        services.AddSingleton<RootService>();
        services.AddSubServicesManager(subServiceManager => {
            subServiceManager.AddSubServices("subServicesName1", subServices => subServices.AddSingleton<SubService>());
            subServiceManager.AddSubServices("subServicesName2", subServices => subServices.AddSingleton<SubService>());
         });
     }
     public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) {
        var serviceProvider = app.ApplicationServices;

        var subServiceManager = serviceProvider.GetRequiredService<SubServicesManager>();
        IServiceProvider subServiceProvider1 = subServiceManager.GetServiceProvider("subServicesName1");
        IServiceProvider subServiceProvider2 = subServiceManager.GetServiceProvider("subServicesName2");

        var subServiceInstance1 = subServiceProvider1.GetRequiredService<SubService>();
        var subServiceInstance2 = subServiceProvider2.GetRequiredService<SubService>();
    }
}

Now @davidfowl, in the code you suggested, the RootService instance can only be realized from the rootServiceProvider. This will lead to an exception when your subServiceProvider attempts to realize the SubService instance.
With the override of GetServices as I suggest, a non realizable service in the child container will automatically propagate to the root container. That is because the ServiceProvider internally will call the GetService method to fill in the argument for the SubService constructor

That is because the ServiceProvider internally will call the GetService method to fill in the argument for the SubService constructor

Are you sure about this? The service provider doesn't call GetService internally at all AFAIK.
Here's my sample that shows it doesn't work, you can tell me what pieces of the code are broken:
https://github.com/aspnet/DependencyInjection/commit/0444a5d7fc176e04da78977e4ba4f3e1f4352e9b
Let me know what I missed.

Ping @couven92

Sorry, I had to deal with a lot of University stuff this week...
I looked at the error of the test @davidfowl referred to and it turns out that I was wrong, the ServiceProvider class does not call GetService when realizing the constructor parameters.
Sadly this means that a nested Child ServiceProvider will be a little bit more difficult do implement. Since the nested service provider was my motivation to make the default service provider public, we could now close this issue (and perhaps open it again later). I still believe that making the class public could be interesting in other scenarios as well, but I have no concrete examples where that would be useful. In case we ever decide to make it public, PR #477 is ready to be merged with these changes.
However, I am still interested in implementing a nested Child Service Container and integrating it into DI, so I will open a new issue and prepare a PR for that. I will reference this issue there.

We're not going to make it public as there isn't any interesting scenarios as of right now. Also we're not adding support for child containers (we've discussed it at length on another issue) so I'd suggest forking or using another container like autofac which already has this feature.
Closing his isssue out.


Add AUC Aeronautic technology from Curse

Picked a version number at random. I don't know why my CKAN-meta keeps showing all these catch-up commits when my NetKAN repo doesn't do the same.

Successfully tested locally.

Picked a version number at random.

Let's instead use the version number from http://forum.kerbalspaceprogram.com/index.php?/topic/130683-wip-105-auc-aeronautic-mods-001/ (which is 0.0.1)

Now, I just knew there was somewhere I could get a version number! Thanks.

Jenkins can't test this due to #969, but it passes local. Merging with my thanks.


Request references from referees when application is submitted

Context
If we manually send reference requests, we need to note their status somehow, either with a manual tracker spreadsheet or with a reference status.
Now we have the Referee emailer from #499, we can send the emails automatically.
Changes proposed in this pull request

Automatically send reference request emails when an application is submitted
Add test coverage for all emails being sent

https://trello.com/c/6zDP7N8t/1262-allow-support-to-send-an-email-to-request-references

Holding off merging this until https://github.com/DFE-Digital/apply-for-postgraduate-teacher-training/pull/509 is ready. This PR is dependent on the ability to complete referee details in the candidate form so that candiate_submitting_application_spec can be updated.


Implemented byte decoder for onion addresses. Corrected onion bit size.

@jbenet @ianopolous strictly speaking the port number is NOT a TCP port as Tor is a stream transport... and currently it does in fact support UNIX domain sockets for onion service applications... meaning that if you wanted to sandbox a tor onion service application you could remove it's access to the tcp/ip stack and only allow to use a particular UNIX domain socket to receive it's incoming onion service connections.

likewise when clients talk to the tor onion service they do not have to utilize a TCP/IP stack at all... and can instead utilize a UNIX domain socket to make the SOCKS connection to tor.

therefore the dialing client needs a tor control port endpoint (either tcp/ip or unix domain socket file) and 96 bits of addressing information (onion address 80 + port number 16).
the listening server needs the tor control port endpoint AND a 1024 bit RSA private key.
the current go-libp2p API suggests that we should put all this information in the onion multiaddr.

it is correct that the onion address and port be located in the same layer of multiaddr specification. what does NOT make sense is to have a TCP port on a onion service! where's the TCP? Tor is a stream transport not a TCP transport.
please either merge this code or the other PR ;-p
https://github.com/multiformats/go-multiaddr/pull/29

Hey @ianopolous and @david415 thanks for hashing this out. this looks good to me. I'm going to merge this one because it has the error thing, fixes the protocols.csv too, and is more exact on the slices.
@ianopolous can you rebase? it's no longer mergeable cleanly, sorry for the delay...

@ianopolous also change the multiaddr csv in https://github.com/multiformats/multiaddr

Sure, no problem. I'm away until Monday though, so will be after then.

@jbenet rebase done

can we please get this merged soon?

Merged, thank you!

Thank you for all the hard work on this-- and for your patience! :heart: :tada:


fix Runtime APIs: "Called .text() on an HTTP body" detection false-positives

Hello, I fix https://github.com/cloudflare/workerd/issues/528 .
I think that if the mimeType meets any of the following conditions, it is a text content.

mime-type  type is text
mime-type subtype is one of json , javascript, xml
mime-type has charset param

If the mime-type parser failed, we don't log warn.

I have read the CLA Document and I hereby sign the CLA

Thank you!


Create lyrics_generator.md

📝 Description
Add a brief description.
💣 Is this a breaking change (Yes/No):

[ ] Yes
[x] No

🚧 How to migrate?
Don't need.
📝 Additional Information
lol

Dear @ABHIJJJNA , we found you called the variable {{song name}} in your prompt but didn't define it. And we don't support to add space to the variable name. Here is an example:


A large amount of data causes the browser to crash

Please answer these questions before submitting your issue.

Why do you submit this issue?
[x] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
在某个接口中有大量链路，点击该接口会导致浏览器卡死。请问一下，怎么限制链路的深度呢？

Bug

Which version of SkyWalking, OS and JRE?
skywalking 7.0.0

Which company or project?

What happened?
If possible, provide a way to reproduce the error. e.g. demo application, component version.
如图所示，现在该接口链路跨度2万多，导致点击该接口时页面卡死，浏览器崩溃。请问一下，该问题怎么有什么好的解决办法呢？

Requirement or improvement

Please describe your requirements or improvement suggestions.

Please keep using English on the GitHub. Could you explain first why do you have so many spans in one traceid? Is it a scheduled task or something?

请继续在GitHub上使用英语。您能先解释一下为什么一个traceid中有这么多跨度吗？是预定任务还是其他？

Please keep using English on the GitHub. Could you explain first why do you have so many spans in one traceid? Is it a scheduled task or something?
I am not sure why there are so many traceids in other departments，Is there any good solution?

First, please make sure this is really a reasonable trace, because in some cases, bugs of plugins could cause this. Link several requests with one dirty trace id.

First, please make sure this is really a reasonable trace, because in some cases, bugs of plugins could cause this. Link several requests with one dirty trace id.

Some connection timeouts will cause these errors，There is no way to restrict him，Don't show so much traceid

I still can't follow. timeout has no relationship with the traceid.

I still can't follow. timeout has no relationship with the traceid.
Sorry, I just reply to you now，There is a lot of this kind of data causes the browser to crash。

These things seem not collected by SkyWalking in default, do you change or set up something?

These things seem not collected by SkyWalking in default, do you change or set up something?

We modified agent.config logging.max_history_files=${SW_LOGGING_MAX_HISTORY_FILES:1} and  plugin.mysql.trace_sql_parameters=${SW_MYSQL_TRACE_SQL_PARAMETERS:true} 。 oap application.yml only add es  configuration and ui changed

I have a feeling you are adding Spring annotation or custom tracing plugins.

I have a feeling you are adding Spring annotation or custom tracing plugins.

yes ，we also modified a little code。can you give us some suggestions  solved by other means?

Other 10k's span, I think either you don't trace so much, so we have to try browser-side optimization.

尝试

thanks

Other 10k's span, I think either you don't trace so much, so we have to try browser-side optimization.

thankes ~


Synchronize document state after restarting the agent

Steps to reproduce:

Open some files
Restart the agent (somehow)
Ensure that all open files are synchronized with the new agent process

@olafurpg turns out that there is nothing to do there after migrating to your web view branch.


dropzone target fails if scrollable

If the dropzone is within a scrollable container, the scroll-offset is not respected.
For example, if you have a list of 5 dropzones within a container that displays the first 3 on one screen.
If you now drag something into the 5th. dropzone, it will end in the 3rd dropzone, as the offset value is wrong.
This was first recognized in version 1.7.1_beta1, but it has not been fixed until 1.9.0

Please assign this issue to me


No loader is shown until the request completes

Right now an empty list is returned as soon as you start typing and then the full list of results is produced when the request is completed.
This was apparently implemented in the past but it has since been reverted. As far as I can tell, there is no way we can customize it to show an ActivityIndicator while the request completes. The result is that it's quite jarring for the user, while they have no visual indication that anything is happening.

Hey.
I just spent some time digging into this. I don't have an any list displayed when there are no results.
I agree that there can be a better way to indicate that something is loading.
Feel free to put in a PR.

relates to #711

@bell-steven
@bill-pairaktaridis
Just created a PR that handles this #720

hello
any update here..??


Add disable_scripts non-global option

This option got removed in https://github.com/bitcrowd/chromic_pdf/pull/168, my PR brings it back and makes it possible to use both ways.
I personally have a use case for disabling scripts not globally, but for particular pages. Puppeteer and others also have this option. Would love to see it in this (best-in-class) Elixir library
Closes #267

Hey @osbre,
besides the added note in the docs @MaeIsBad already suggested, could you add tests for setting up both global and local options at the same time, so that we have cases where the local option will override the global one.
I think then it is good to go for my point of view.
Cheers
Andi

Thanks, @andreasknoepfle and @MaeIsBad, I've added the requested changes.

@andreasknoepfle the "Lint" workflow fails with the message that one file wasn't formatted. I'm thinking - is it because I used the latest Elixir version to run mix format? Perhaps updating .tool-versions can fix this issue?

@osbre The lint workflow is run on our debian-bullseye image which contains Elixir 1.14 (see here and here). Proper fix IMO would be to instead run this workflow on a stock ubuntu-latest github actions profile with the "normal" setup-elixir way of installing Elixir, ideally adhering to the .tool-versions file as you mention. Quick fix would be for you to install Elixir as set in.tool-versions and run mix format there.

Hi @osbre
Sorry for arriving so late to bring up the following issues. Was away for a few weeks and only yesterday thought about it a bit more.

With the way how the global options are merged into the job args here, the conditional in Navigate  will be executed on every run, even if only the global option is given. Which may be ok, but perhaps the code in SpawnSession should be removed then.
We must re-enable scripts in ResetTarget after use of this option, as otherwise the disabled scripts will leak into subsequent runs.

That said, I also wonder if the current solution is a good idea at all, as it breaks the current global vs. non-global option setup. The original idea was to perform as much work as possible in the session initialization, aiming at lower "redundant" work per print job and hence improving performance. Not sure whether the performance benefit is measureable at all, but at least that has been the basic reasoning behind which options are global and which are per-job and this PR puts an end to this "practice", yet only for one of the relevant options - offline, set_user_agent, ignore_certificate_errors would be other candidates for the same, which I'm sure would follow suit at some point.
At the same time, users already can have spawn multiple (named) ChromicPDF supervisor instances which allows them to, for example, have separate MyApp.ChromicPDF.Default and MyApp.ChromicPDF.NoScripts interfaces.
This makes me wonder, whether we should rather invest in this area, e.g. by improving documentation of ChromicPDF.Supervisor to point users in this direction?

@osbre Had an idea and implemented a poc: #273 -> Would this solve your use-case?

@osbre thanks again for your work :purple_heart:
After some thought and more work on #273 I believe it is the better approach. Leaving the options to be either "session options" (run at initialization, so only once) or "pdf options", evaluated per print job.


Refine installation guide to fix issue by user.

fixes #2539

Coverage remained the same at 53.943% when pulling 2fc3cbec454eb3cbff0b98661f30b110d8502a72 on reasonerjt:project-scan-all into 3820c91ef1c0b43cf1b0c09d08e0f3eb39f5176c on vmware:master.


Added PR and Issue templates

This PR fixes #22 .
Should I make any changes with the templates ?

PS : I have made some changes in readme , nox.txt to standardise it


[test] Require asserts for pullback_generation_nested_addelement_adjoints.swift

It looks like --debug-only requires an asserts build

@hamishknight would you have any suggestions on how I could avoid these mistakes? I'm not sure why these were not caught during the swift-ci tests.

Unfortunately we don't run non-asserts builds in PR testing, so it's hard to catch these until they hit the non-asserts bots


[Enhancement] Parameter to halt testing upon the first failure

When tests are performed serially as they are in Kyverno's case, no tests should fail. For any test to fail indicates a problem somewhere. Continuing to test other tests may often be undesirable as it wastes time and processing in order for a user/contributor to know what may be broken and requires remediation.
Add a parameter to a TestCase file to allow the user to indicate that testing should not proceed upon the first test failure.

@chipzoller  I got a little confused over this.
In a TestSuite there would be multiple TestCase and
In a TestCase there are multiple Steps.
If I am right you are referring to the failure of the steps right?

Failure of a step triggers failure of the test case. With this enhancement, a new field can indicate that failure of a test case halts any further testing.

Yes got it. Other TestCase should still run right

No, that's what I just said. When the parameter enabled, a failure of one test case causes no further test cases to run.

Now I got it.


Sort message codes

Please sort the CS#### codes at the beginning of the article. It will make finding a specific code much easier.

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

ID: 812f0144-80de-6b49-dded-97eeb7bc373d
Version Independent ID: df58b52a-2532-8241-72cd-f40e9096037d
Content: Resolve nullable warnings
Content Source: docs/csharp/language-reference/compiler-messages/nullable-warnings.md
Product: dotnet-csharp
Technology: csharp-diagnostics
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

That's a good idea @Akaitatsu
I've added this to our backlog, and added the "help wanted" label in case anyone wants to submit a PR before we get to this update.

Alright, let me sort them.


Error happened when created 180 rules

Environment:

eKuiper version (1.1.2): 1.12
Hardware configuration (): RISC-V
OS (e.g. cat /etc/os-release):Linux

What happened and what you expected to happen:
After created over about 600 rules in my application, I got below errors:
time="2021-08-30 11:42:52" level=warning msg="sink node rest_0 instance 0 publish { "deviceId": "D59eGSxy_f000b8" ,"mid": "7" } error: rest sink fails to send out the data: Put "http://<IP_ADDRESS>:50108/api/v1/device/name/res_temperature_f000b8_ABFFFFFFFFFFFFFF/addresponse\": dial tcp <IP_ADDRESS>:50108: socket: too many open files" file="nodes/sink_node.go:285" rule=restRule_adddevice_res_temperature_f000b8_ABFFFFFFFFFFFFFF
2021/08/30 11:42:52 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:42:53 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:42:54 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:42:55 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:42:56 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:42:57 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:42:58 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:42:59 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:43:00 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:43:01 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:43:02 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:43:09 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
time="2021-08-30 11:43:08" level=warning msg="sink node rest_0 instance 0 publish { "deviceId": "D59eGSxy_f000b8" ,"mid": "7" } error: rest sink fails to send out the data: Put "http://<IP_ADDRESS>:50108/api/v1/device/name/res_temperature_f000b8_ABFFFFFFFFFFFFFF/addresponse\": dial tcp <IP_ADDRESS>:50108: socket: too many open files" file="nodes/sink_node.go:285" rule=restRule_adddevice_res_temperature_f000b8_ABFFFFFFFFFFFFFF
2021/08/30 11:43:10 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:43:11 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:43:12 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:43:13 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:43:14 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
time="2021-08-30 11:43:14" level=warning msg="sink node rest_0 instance 0 publish { "deviceId": "D59eGSxy_f000b8" ,"mid": "7" } error: rest sink fails to send out the data: Put "http://<IP_ADDRESS>:50108/api/v1/device/name/res_temperature_f000b8_ABFFFFFFFFFFFFFF/addresponse\": dial tcp <IP_ADDRESS>:50108: socket: too many open files" file="nodes/sink_node.go:285" rule=restRule_adddevice_res_temperature_f000b8_ABFFFFFFFFFFFFFF
2021/08/30 11:43:15 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:43:16 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:43:17 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:43:18 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:43:19 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:43:20 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:43:21 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:43:22 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:43:23 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:43:24 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
2021/08/30 11:43:25 http: Accept error: accept tcp [::]:20498: accept4: too many open files; retrying in 1s
In that time, I try to show all the ruls with ./kuiper show rules,  It freezd in "Connecting to <IP_ADDRESS>:20498"
root@exaleapsemi-r2:~/semi_edgex/ekuiper-1.1.2/_build/kuiper--linux-riscv64/bin# ./kuiper show rules
Connecting to <IP_ADDRESS>:20498...
Is it  a known issue? What's the reason and how to fix it?

Hi @wallace-hu .
I tried to reproduce this issue but no luck, please try 1.3.1 that will release in two days.
If the problem stil exist, please give us feedback