Command Prompt goes black when scrolling up

Windows Terminal version
1.14.1962.0
Windows build number
10.0.19044.1889
Other Software
No response
Steps to reproduce
Print a large amount of data to the command prompt (history may need to be 999999 depth).
Scroll up.
Expected Behavior
Should scroll up to view the data
Actual Behavior
Screen goes black. It returns to normal when hitting enter.

Not sure if I should file a separate issue but Windows Terminal also crashes if I try to CLS at this point.

I feel a bit silly, I went to reproduce it to get screenshots and cannot now. I had been encountering this all day. Will update with screenshots when I see it again.

I'll let the bot give you a week to get a consistent repro ☺ Might be helpful to have you share your settings.json with us too, just in case. /?

Well this seems to be related though not the exact issue of it going blank.
This is the original screen after printing out 32765 lines of output:

This is me scrolling up once with the mouse:

As you can see it scrolls up 30000 lines and the prompt now appears at the top of the screen.

There's no scrollbar?! Why is there no scrollbar?
What the heck happened to the invalidation here?  That just looks wrong
Why the heck would a single mouse tick scrollToTop? that's not right, unless the system scroll lines parameter was crazy high
Is the crash pretty consistent? If so, can you try following the steps in this post to set up automatic crash dumps/? (For more info, see this link) If that works, then you should be able to automatically get a .dmp of the terminal when it crashes. Then, can you zip that dump up and send it to us, so we can investigate? Thanks!

My scroll settings are not very high, 3 lines in Windows settings.
Ill get a crash dump as soon as I can.

FYI, this might be related to the crash in #13499. At least some of the comments there are from users who say they have a large scrollback history, and that the terminal ends up crashing (or at least freezing) when they use clear.

Unfortunately what I was doing previously to produce it is no longer possible due to project changes, I was reading a bunch of data from a uart to produce it and that uart is now elsewhere.
Tried to do the same by just printing dummy data to the console but no luck.

Hmm. Without a live repro, I'm inclined to just assume that whatever you were seeing here was one of the other crash/hangs we're tracking, and close this thread out. Let's just hope whatever you were seeing gets fixed when we fix the other bugs here.
/dup  #13499


Interrupted youtube live stream recordings

Checklist

[X] I'm asking a question and not reporting a bug/feature request
[X] I've looked through the README
[X] I've read the guidelines for opening an issue
[X] I've searched the bugtracker for similar questions including closed ones

Question
Recordings of youtube live streams are often interrupted.
yt-dlp is merging the final file, but the live stream is still online.
Is the experimental --live-from-start option the problem or can I add other options to improve the recording of youtube live streams and prevent interruptions?

2: [download] 120.52MiB at 12.68KiB/s (01:14:04) (frag 1541)
2: [download] 120.53MiB at 16.02KiB/s (01:14:04) (frag 1541)
2: [download] 120.53MiB at 16.02KiB/s (01:14:04) (frag 1542)
1: [download] 3.48GiB at  218.87B/s (01:14:04) (frag 1540)
1: [download] 3.48GiB at  656.55B/s (01:14:04) (frag 1540)
1: [download] 3.48GiB at  1.50KiB/s (01:14:04) (frag 1540)
1: [download] 3.48GiB at  3.21KiB/s (01:14:04) (frag 1540)
1: [download] 3.48GiB at  6.59KiB/s (01:14:04) (frag 1540)
1: [download] 3.48GiB at 13.33KiB/s (01:14:04) (frag 1540)
1: [download] 3.48GiB at 26.74KiB/s (01:14:04) (frag 1540)
1: [download] 3.48GiB at 53.29KiB/s (01:14:04) (frag 1540)
1: [download] 3.48GiB at 106.02KiB/s (01:14:04) (frag 1540)
1: [download] 3.48GiB at 210.76KiB/s (01:14:04) (frag 1540)
1: [download] 3.48GiB at 416.46KiB/s (01:14:04) (frag 1540)
1: [download] 3.48GiB at 462.51KiB/s (01:14:04) (frag 1540)
1: [download] 3.48GiB at 462.45KiB/s (01:14:04) (frag 1541)[youtube] 0QtJurULRi0: Downloading webpage
[youtube] 0QtJurULRi0: Downloading android player API JSON
[youtube] 0QtJurULRi0: Downloading MPD manifest
[youtube] 0QtJurULRi0: Downloading MPD manifest
[youtube] 0QtJurULRi0: Downloading webpage
2: [download] 100% of 120.53MiB in 01:14:23[youtube] 0QtJurULRi0: Downloading android player API JSON
[youtube] 0QtJurULRi0: Downloading MPD manifest
[youtube] 0QtJurULRi0: Downloading MPD manifest
1: [download] 100% of 3.48GiB in 01:14:25
[Merger] Merging formats into "./downloads/World Surf League/20220327 Surfest - Day 6 2022-04-02 23_51 (0QtJurULRi0).mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:./downloads/World Surf League/20220327 Surfest - Day 6 2022-04-02 23_51 (0QtJurULRi0).f137.mp4' -i 'file:./downloads/World Surf League/20220327 Surfest - Day 6 2022-04-02 23_51 (0QtJurULRi0).f140.mp4' -c copy -map 0:v:0 -map 1:a:0 -movflags +faststart 'file:./downloads/World Surf League/20220327 Surfest - Day 6 2022-04-02 23_51 (0QtJurULRi0).temp.mp4'
Deleting original file ./downloads/World Surf League/20220327 Surfest - Day 6 2022-04-02 23_51 (0QtJurULRi0).f137.mp4 (pass -k to keep)
Deleting original file ./downloads/World Surf League/20220327 Surfest - Day 6 2022-04-02 23_51 (0QtJurULRi0).f140.mp4 (pass -k to keep)

Verbose log
[debug] Command-line config: ['--ignore-config', '--hls-prefer-native', '--hls-use-mpegts', '-f', 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best', '--retries', '5', '--cookies', 'cookies.txt', '--no-part', '--live-from-start', '-v', '-o', './downloads/World Surf League/20220327 Surfest - Day 6 2022-04-02 23_51 (0QtJurULRi0)', 'https://www.youtube.com/watch?v=0QtJurULRi0']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8 (No ANSI), err utf-8 (No ANSI), pref UTF-8
[debug] yt-dlp version 2<IP_ADDRESS> [c0c2c57d3] (zip)
[debug] Lazy loading extractors is disabled
[debug] Python version 3.10.4 (CPython 64bit) - Linux-4.4.180+-x86_64-with-glibc2.31
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 4.3.3-0, ffprobe 4.3.3-0
[debug] Optional libraries: certifi, Crypto, sqlite
[debug] Proxy map: {}
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=0QtJurULRi0

You didn't provide verbose log, but this is likely https://github.com/yt-dlp/yt-dlp/issues/2137


chore(runtime): use conda-forage as the default conda channels

Description

https://github.com/star-whale/starwhale/issues/742
ref: https://conda-forge.org/

Anaconda Inc. updated their terms of service for anaconda.org channels. Based on the new terms of service you may require a commercial license if you rely on Anaconda’s packaging and distribution. See Anaconda Commercial Edition FAQ for more information. Your use of any Anaconda channels is governed by their terms of service.

Modules

[x] Client

Checklist

[x] run code format and lint check
[ ] add unit test
[ ] add necessary doc

LGTM


Issue-1871: updated maven resources from 3.02 to 3.2.0

This pr fixes strongbox/strongbox#1871.

Hi,
Is there an associated pull request for this in the strongbox project?

Hi!
Thank you for your contribution!
Would you mind signing the ICLA, as described in the Contributing page?
Also, please, feel free to join our chat channel, if you'd like to learn more about the project and/or like to find out what else you could help with.
Kind regards,
Martin

Ping? :)

Unfortunately, I will be closing this, as you have not signed the ICLA, nor gotten back to me in over 20 days. If you would like to sign the ICLA, please feel free to e-mail it to me and to re-open this pull request. Thank you for your efforts! :)


feat: Implement a feature for deleting specific files from the repo

Description
Currently, deleting removes any and all files, we need a way to delete selected files from a repository.

Implemented a way to delete individual files from repos.

Done implementing the fix.


PE-2401: Cost estimate

Relevant changes:

test/uploads/cost_estimate_test.dart
makes synchronous some methods
injects platform and version strings

--- Releases ---
Android release: https://appdistribution.firebase.google.com/testerapps/1:305132849030:android:6cf0cd5ec064fad3ffce07/releases/5qi3icrmtk268
iOS release: https://appdistribution.firebase.google.com/testerapps/1:305132849030:ios:06ea33a95a2e0d42ffce07/releases/4qp37njdkq8d0

At this point it's easier to review the tests altogether in the same branch as this PR un-does changes on the base.
Merging to reduce the changes to review.


fix : issues #3121 & #3354 - adding options for dropdown positionning…

This pull request includes a

[ ] Bug fix
[x] New feature
[ ] Translation

The following changes were made :

Add an option for choice the dropdown position on open (above, below or both) (issues #3121)
Add an option for choice what to do when backspace event is produce on multiple select (unselect (delete just the tag), none (do nothing), text (transform the tag to text like today)) (issues #3354)

It seems you are writing dropdownLocation in some parts where it should be dropdownPosition

Thanks Ivanca (I don't have see it !), I have correct this issues in the new pull-request.


Constant Crashes when used together with Trader For PoE

🐞 bug report
Describe the bug
The program constant crashes once I start using it together with Trader For PoE.  If I close Trader for PoE. Everything stays fines. I don't know what happens. Sometimes it just crashes from nothing. I know it will crash cause my mouse lags like crazy.
To Reproduce
Open Trader for PoE and play a little eventualy the program will crash
Expected behavior
Don't know why the program crashes, if it had some log I could check but it's really annoying behavior. also Trader for PoE never stops working or crashed and is fine during all this.
🌍  Your Environment

OS: Windows 10 Pro (fully updated)
PoE: standalone client

With the new version, even without ever starting trader for poe the software just crashes in a few minutes. sometimes it stays hours working fine but when the crashes starts there is nothing I can do about. The mouse lags really hard and then it just crashes.


LwM2M plain CBOR content format support

Just to make clear this content format shouldn't be confused with LwM2M CBOR which is introduced in LwM2M v1.2.  Plain CBOR content format is part of the LwM2M version 1.1.
The content format can be pushed to upstream zephyr once the ZCBOR CBOR library has been upstreamed too.

@SeppoTakalo, @jarlamsa for your information

I'll add a changelog entry once people are happy with the changes otherwise. Saves me some trouble when there is no need to rebase so often.

This is a noup patch because zcbor support is NCS-only.

That's no longer the case, zcbor is now part of the upstream (https://github.com/zephyrproject-rtos/zephyr/commit/22c32cfbb473af2251cbd46396d8223ca404d0c0). Please submit an upstream PR and make those commits [nrf fromlist].

This is a noup patch because zcbor support is NCS-only.

That's no longer the case, zcbor is now part of the upstream (zephyrproject-rtos/zephyr@22c32cf). Please submit an upstream PR and make those commits [nrf fromlist].

Done, please see the PR zephyrproject-rtos/zephyr#44943

@VeijoPesonen Is this PR added Put and get time new API?

Replace with #789.


Race condition in swagger startup

This crash can happen if two operations are done concurrently:

/Users/srl/src/taas-nodejs-client/lib/client.js:227
if(!base.hasOwnProperty(fn[i])) {
^
TypeError: Cannot read property 'hasOwnProperty' of undefined
at onReady (…lib/client.js:227:18)

… such as in the example code in #4 .

fix to just create multiple swagger clients?
fetch the swagger client when the object is first initialized?
use a queue for waiting operations on 'ready'?
fetch the swagger statically?

Will fix the race condition even if multiple fetch queries have to happen (should be idempotent).


"Thank you for feedback" message not dismissing

I'm just messing around with the prompt right now, and I'm seeing a strange issue in the emulator.  The last window "Thank you for feedback" never dismisses, even after going to another activity and back.
The flow I do to reproduce is:
Enjoying the app -> No
Would you like to send feedback -> Sure
"Thank you for feedback" -> Does not dismiss
Alternatively it can be caused as:
Enjoying the app -> Yes
Would you like to rate -> Yes
(come back to the app)
"Thank you for feedback" -> Does not dismiss
Heres my rules for display:
Application.java
Amplify.initSharedInstance(this)                 .setFeedbackEmailAddress(Config.RATING_CONTACT_EMAIL)                 .setAlwaysShow(true);
Is this only happening with .setAlwaysShow() maybe?  Or - could it be because the emulator doesn't have an email client configured?

Hi Jamie,
Thanks for the report!
First thing to check: are you using the latest version of the library (currently v1.3.1)? If not, please update to that version before continuing.
Second thing to check: have you enabled auto-dismissing of the thanks view? It's off by default. To enable it, you should set the prompt_view_thanks_display_time_ms attribute in your prompt view xml, like so:
<com.github.stkent.amplify.prompt.DefaultLayoutPromptView
    android:id="@+id/prompt_view"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    ...
    app:prompt_view_thanks_display_time_ms="2000" />

or, if you are configuring the prompt view in code, call setThanksDisplayTimeMs when configuring your BasePromptViewConfig.Builder instance:
final BasePromptViewConfig basePromptViewConfig
        = new BasePromptViewConfig.Builder()
                // ...
                .setThanksDisplayTimeMs(2000)
                .build();

Let me know if either of those suggestions fixes your issue, and if not, we'll dig deeper :-)

app:prompt_view_thanks_display_time_ms="2000" fixed this for me.  Thanks!!

Awesome, glad to hear it!

Should 2000 ms be the default?  Or is it a common case that people don't want this to auto close?  Just a suggestion.  Thanks again for helping!

In our own apps, the prompt is typically located at the end of some user-driven flow (e.g. when a purchase is completed), so there are few other actions available to keep the user on that screen for very long. Setting a default would also mean a slightly gnarly API: you'd want to be able to change the dismiss time (to e.g. 1000ms) but also to be able to disable dismissing entirely... which could effectively be achieved by setting a dismiss time of MAX_INT ms, but I'm not a huge fan of that!


Evosuite randoop

Codecov Report

Merging #8 (84891fb) into master (3bfd51b) will increase coverage by 7.29%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
@@             Coverage Diff              @@
##             master       #8      +/-   ##
============================================
+ Coverage     71.63%   78.92%   +7.29%
- Complexity     1142     1269     +127
============================================
  Files            63       63
  Lines          3113     3113
  Branches        538      538
============================================
+ Hits           2230     2457     +227
+ Misses          689      461     -228
- Partials        194      195       +1

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


update mirror at quay.io/repository/openshiftlabs/jump

quay.io/mhausenblas/jump:0.2 should be mirrored on https://quay.io/organization/openshiftlabs:

[x] docker pull quay.io/mhausenblas/jump:0.2
[x] docker tag quay.io/mhausenblas/jump:0.2 quay.io/openshiftlabs/jump:0.2
[x] docker push quay.io/openshiftlabs/jump:0.2

done

https://quay.io/repository/openshiftlabs/jump?tab=tags


Lifetime issue with PasswordAuthenticator object

When I try to pass Cassandra username  & Password, compiler complains about lifetime of the two variables (cass_user and cass_password).
let authenticator =  PasswordAuthenticator::new(& cass_user, & cass_password);

let authenticator =  PasswordAuthenticator::new(& cass_user, & cass_password);
^^^^^^^^^ borrowed value does not live long enough
let authenticator =  PasswordAuthenticator::new(& cass_user, & cass_password);
^^^^^^^^^^^^^ borrowed value does not live long enough

Since this code works:
let authenticator =  PasswordAuthenticator::new("cassandra", "cassandra");
I suspect that it is the same issue as #261 (Which was already fixed). Hope to fix this as well.
Thanks.

Sorry, closed it by mistake

@AlexPikalov  Any update on this issue? Thanks

@MaenMax
I've created a new authenticator StaticPasswordAuthenticator that doesn't require static lifetime. It's already in master.
I'm going to publish it on crates.io today and bump the version to 2.1.0


Add instructions for installing from this repo

Currently I'm able to install this using Jupyter-PHP-Installer, but would be nice to be able to install from this repo (to aid in development)

Related with #4 .


Fix missing imports for 321db shim [databricks]

#4938 missed the SQLConf import for the 321db shim files.  This adds those missing imports to fix the build against Databricks 10.4.

build

Weird, CI failed with an unrelated error trying to find py4j.  Kicking the build again to see if this persists.

build


Chapter on customisation

Adding this from a closed issue in music encoding/music-encoding, cf. https://github.com/music-encoding/music-encoding/issues/83

@bwbohl  Resolved with https://music-encoding.org/guidelines/v5/content/introduction.html#meiCustomization ?


Platform miwifi does not generate unique IDs

I have 2 miwifi.
Logger: homeassistant.components.device_tracker
Source: helpers/entity_platform.py:593
Integration: Отслеживание устройств (documentation, issues)
First occurred: 16:41:25 (18 occurrences)
Last logged: 16:41:25
Platform miwifi does not generate unique IDs. ID miwifi-xx:xx:xx:xx:xx:xx is already used by device_tracker.miwifi_xx_xx_xx_xx_xx_xx - ignoring device_tracker.miwifi_xx_xx_xx_xx_xx_xx

This happens and it's not scary, updaters intersect. Still wondering how to get them out of sync.

Found one option. I will test and push)

https://github.com/dmamontov/hass-miwifi/releases/tag/v2.1.3
Thanks)


Kinect camera fps cannot reach 30fps

Describe the bug
I used the code in https://docs.microsoft.com/en-us/azure/kinect-dk/build-first-body-app and I also add deviceConfig.camera_fps = K4A_FRAMES_PER_SECOND_30; in the camera device setup.
However, when I print out the time stamp of each body frame (k4abt_frame_get_device_timestamp_usec(body_frame)) , I see the time difference between each timestamp is 66666 instead of 33333. If the timestamp difference is 66666, it means the Kinect is functioning with 15fps instead of 30fps.
To Reproduce

Go to https://docs.microsoft.com/en-us/azure/kinect-dk/build-first-body-app, copy the Full source code at the bottom of the page to Visual Studio

Add deviceConfig.camera_fps = K4A_FRAMES_PER_SECOND_30; under deviceConfig.color_resolution = K4A_COLOR_RESOLUTION_OFF;

Add printf ("TimeStamp: %zu\n",k4abt_frame_get_device_timestamp_usec(body_frame)) under printf("%zu bodies are detected!\n", num_bodies);

Press F5 to compile and run the pragram

Expected behavior
The difference between the current timestamp and the last timestamp should be 33333 (30fps), but the actual result is 66666 (15fps)
Logs

Screenshots

Desktop (please complete the following information):

OS with Version: 1809.17763.864

SDK Version:
Microsoft.Azure.Kinect.BodyTracking v0.9.4
Microsoft.Azure.Kinect.BodyTracking.Dependencies v0.9.0
Microsoft.Azure.Kinect.BodyTracking.Dependencies.cuDNN v0.9.0
Microsoft.Azure.Kinect.Sensor v1.3.0

Firmware version:

CPU<EMAIL_ADDRESS>

Display Card: NVIDIA GeForce 1050TI

Additional context

The NVIDIA GeForce 1050Ti is not sufficient to execute body tracking at 30 fps. If you want to run body tracking at 30 fps we recommend a GeForce 1070.


compile native_sim error: cannot find -lgcc_s

Describe the bug
recently, I want to try babblesim, however, I met some
compile error with board native_sim
cannot find -lgcc_s
To Reproduce
Steps to reproduce the behavior:

west build -b native_sim ./samples/hello_world/ -p

Expected behavior
compile successfully to get zephyr.exe
Logs and console output
-- west build: making build dir /home/railphone/zephyrproject/upstream/zephyr/build pristine
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: /home/railphone/zephyrproject/upstream/zephyr/samples/hello_world
-- CMake version: 3.23.2
-- Found Python3: /home/railphone/miniconda3/envs/zephyr/bin/python (found suitable version "3.8.13", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /home/railphone/.cache/zephyr
-- Zephyr version: 3.5.99 (/home/railphone/zephyrproject/upstream/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: native_sim
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Found host-tools: zephyr 0.16.3 (/home/railphone/zephyr-sdk-0.16.3)
-- Found toolchain: host (gcc/ld)
-- Found Dtc: /home/railphone/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /home/railphone/zephyrproject/upstream/zephyr/boards/posix/native_sim/native_sim.dts
-- Generated zephyr.dts: /home/railphone/zephyrproject/upstream/zephyr/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /home/railphone/zephyrproject/upstream/zephyr/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /home/railphone/zephyrproject/upstream/zephyr/build/zephyr/dts.cmake
Parsing /home/railphone/zephyrproject/upstream/zephyr/Kconfig
Loaded configuration '/home/railphone/zephyrproject/upstream/zephyr/boards/posix/native_sim/native_sim_defconfig'
Merged configuration '/home/railphone/zephyrproject/upstream/zephyr/samples/hello_world/prj.conf'
Configuration saved to '/home/railphone/zephyrproject/upstream/zephyr/build/zephyr/.config'
Kconfig header saved to '/home/railphone/zephyrproject/upstream/zephyr/build/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /usr/bin/ld.bfd (found version "2.30")
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/gcc
-- Using ccache: /usr/bin/ccache
-- Configuring done
-- Generating done
-- Build files have been written to: /home/railphone/zephyrproject/upstream/zephyr/build
-- west build: building application
[1/81] Preparing syscall dependency handling

[2/81] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/home/railphone/zephyrproject/upstream/zephyr), build: 7fedc81666f3
[79/81] Linking C executable zephyr/zephyr.elf
FAILED: zephyr/zephyr.elf zephyr/zephyr_pre0.map zephyr/zephyr.map zephyr/zephyr.stat /home/railphone/zephyrproject/upstream/zephyr/build/zephyr/zephyr_pre0.map /home/railphone/zephyrproject/upstream/zephyr/build/zephyr/zephyr.map /home/railphone/zephyrproject/upstream/zephyr/build/zephyr/zephyr.stat
: && ccache /usr/bin/gcc  -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr.elf  zephyr/CMakeFiles/offsets.dir/./arch/posix/core/offsets/offsets.c.obj  -fuse-ld=bfd  -T  zephyr/linker_zephyr_pre0.cmd  -Wl,-Map=/home/railphone/zephyrproject/upstream/zephyr/build/zephyr/zephyr_pre0.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/arch/posix/core/libarch__posix__core.a  zephyr/soc/soc/posix/inf_clock/libsoc__posix__inf_clock.a  zephyr/boards/posix/native_sim/libboards__posix__native_sim.a  zephyr/drivers/console/libdrivers__console.a  zephyr/drivers/timer/libdrivers__timer.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  -L/home/railphone/zephyrproject/upstream/zephyr/build/zephyr  -r  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -m32  -Wl,--unresolved-symbols=ignore-all && cd /home/railphone/zephyrproject/upstream/zephyr/build/zephyr && /usr/bin/cmake -E true && cd /home/railphone/zephyrproject/upstream/zephyr/build/zephyr && /usr/bin/cmake -E echo Generating\ files\ from\ /home/railphone/zephyrproject/upstream/zephyr/build/zephyr/zephyr.elf\ for\ board:\ native_sim && /usr/bin/cmake -E copy zephyr_pre0.map zephyr.map && /usr/bin/readelf -e zephyr.elf > zephyr.stat
/usr/bin/ld.bfd: cannot find -lgcc_s
/usr/bin/ld.bfd: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Environment (please complete the following information):

OS: ubuntu1~18.04
Toolchain ：zephyr 0.16.3
Commit ：7fedc81666f34d5948a05adcacc6f644fb85332f

Additional context
1 infomation
1.1 libgcc_s lib I get in my host
libgcc_s.so.1 (libc6,x32) => /usr/libx32/libgcc_s.so.1
libgcc_s.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libgcc_s.so.1
libgcc_s.so.1 (libc6) => /lib/i386-linux-gnu/libgcc_s.so.1
libgcc_s.so.1 (libc6) => /usr/lib32/libgcc_s.so.1

2 analysis
2.1 related to static library link
I found a similar problem(probably same reason) below

https://stackoverflow.com/questions/51998912/when-statically-linking-a-library-getting-linker-error-cannot-find-lgcc-s

I suspect libgcc_s is considered as  a static library, however there is only libgcc_s in shared library format.
Additionally, I mannually touch an empty file called libgcc_s.a in /usr/lib/, the linker can find it eventually
[79/81] Linking C executable zephyr/zephyr.elf
FAILED: zephyr/zephyr.elf zephyr/zephyr_pre0.map zephyr/zephyr.map zephyr/zephyr.stat /home/railphone/zephyrproject/upstream/zephyr/build/zephyr/zephyr_pre0.map /home/railphone/zephyrproject/upstream/zephyr/build/zephyr/zephyr.map /home/railphone/zephyrproject/upstream/zephyr/build/zephyr/zephyr.stat
: && ccache /usr/bin/gcc  -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr.elf  zephyr/CMakeFiles/offsets.dir/./arch/posix/core/offsets/offsets.c.obj  -fuse-ld=bfd  -T  zephyr/linker_zephyr_pre0.cmd  -Wl,-Map=/home/railphone/zephyrproject/upstream/zephyr/build/zephyr/zephyr_pre0.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/arch/posix/core/libarch__posix__core.a  zephyr/soc/soc/posix/inf_clock/libsoc__posix__inf_clock.a  zephyr/boards/posix/native_sim/libboards__posix__native_sim.a  zephyr/drivers/console/libdrivers__console.a  zephyr/drivers/timer/libdrivers__timer.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  -L/home/railphone/zephyrproject/upstream/zephyr/build/zephyr  -r  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -m32  -Wl,--unresolved-symbols=ignore-all && cd /home/railphone/zephyrproject/upstream/zephyr/build/zephyr && /usr/bin/cmake -E true && cd /home/railphone/zephyrproject/upstream/zephyr/build/zephyr && /usr/bin/cmake -E echo Generating\ files\ from\ /home/railphone/zephyrproject/upstream/zephyr/build/zephyr/zephyr.elf\ for\ board:\ native_sim && /usr/bin/cmake -E copy zephyr_pre0.map zephyr.map && /usr/bin/readelf -e zephyr.elf > zephyr.stat
/usr/lib/gcc/x86_64-linux-gnu/7/../../../libgcc_s.a: file not recognized: File truncated
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

@git4Chub From your report it seems you are building on the 18.04 Ubuntu release. That is almost 6 years old now, and out of standard support by Ubuntu. You are also building with gcc 7.5 which is quite old. There has been 2 new Ubuntu LTS releases since then. I would encourage you to upgrade to 22.04 or beyond.
It is difficult for me to guess what is broken there, but I don't think anything in the Zephyr build will add the -lgcc_s option, and it does not seem to be in that gcc invocation that fails. So my immediate guess is that your host toolchain installation is broken to some degree.
So at this point, I don't think it is a good use of resources for the project to dig into this issue, unless others are finding this issue in newer Linux releases.
Prioritizing it as low, as so far it has only been reported in a too old Linux release.

thanks for detailed reply @aescolar.  I'll try newer ubuntu LTS later and check if my host toolchain .

Closing this issue as it seems like a issue with the user environment. If more users report it we can reopen it.


Error of add_image

Hi,
I want to use Google Maps as a basemap. like:
import cartopy.io.img_tiles as cimgt
request = cimgt.OSM()
axs.add_image(request, 10)

But, it report an error.
  File "./plot-sfc-region.py", line 68, in _plot
    f.savefig(_fig_path, bbox_inches='tight')
  File "/home/miniconda3/envs/metenv/lib/python3.7/site-packages/proplot/subplots.py", line 1843, in savefig
    super().savefig(os.path.expanduser(filename), **kwargs)
  File "/home/miniconda3/envs/metenv/lib/python3.7/site-packages/matplotlib/figure.py", line 2180, in savefig
    self.canvas.print_figure(fname, **kwargs)
  File "/home/miniconda3/envs/metenv/lib/python3.7/site-packages/proplot/subplots.py", line 527, in _preprocess
    self.draw()
  File "/home/miniconda3/envs/metenv/lib/python3.7/site-packages/proplot/subplots.py", line 545, in _preprocess
    return getattr(type(self), method)(self, *args, **kwargs)
  File "/home/miniconda3/envs/metenv/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 388, in draw
    self.figure.draw(self.renderer)
  File "/home/miniconda3/envs/metenv/lib/python3.7/site-packages/proplot/subplots.py", line 1777, in draw
    return super().draw(renderer)
  File "/home/miniconda3/envs/metenv/lib/python3.7/site-packages/matplotlib/artist.py", line 38, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File "/home/miniconda3/envs/metenv/lib/python3.7/site-packages/matplotlib/figure.py", line 1709, in draw
    renderer, self, artists, self.suppressComposite)
  File "/home/miniconda3/envs/metenv/lib/python3.7/site-packages/matplotlib/image.py", line 135, in _draw_list_compositing_images
    a.draw(renderer)
  File "/home/miniconda3/envs/metenv/lib/python3.7/site-packages/proplot/axes.py", line 1251, in draw
    super().draw(renderer, *args, **kwargs)
  File "/home/miniconda3/envs/metenv/lib/python3.7/site-packages/matplotlib/artist.py", line 38, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File "/home/miniconda3/envs/metenv/lib/python3.7/site-packages/cartopy/mpl/geoaxes.py", line 384, in draw
    transform=factory.crs, *args[1:], **kwargs)
  File "/home/miniconda3/envs/metenv/lib/python3.7/site-packages/proplot/axes.py", line 96, in _wrapper
    raise RuntimeError(msg.format(func.__name__))
RuntimeError: Invalid plotting method 'imshow' for map projection axes

Is this proplot bug?

@wangrenz Yep it definitely is, sorry about that! Proplot disables methods that (I thought) are only suitable for cartesian x-y axes, including imshow. Usually imshow is used to add pictures comprised of square pixels without coordinate data, but apparently cartopy uses imshow to add geographic features.
There is a new release coming soon, will include a fix in the release.


How about add more Forked VM when run all tests in build

Maven will run all tests in a single forked VM by default. This can be problematic if there are a lot of tests or some very memory-hungry ones. We can fork more test VM by setting <fork>1.5C</fork>.
=====================
If there are any inappropriate modifications in this PR, please give me a reply and I will change them.

This user has been spamming similar MR's across many different projects. Would advise against merging.


lua port of benchmark-ips

Warming up --------------------------------------
                 ffi
    708409 i/100ms

             syscall
    593019 i/100ms

Calculating -------------------------------------
 11385724.4 (±1.9%) i/s -   57381129 in   5.041731s
 10427682.8 (±1.0%) i/s -   52185672 in   5.005021s

It ports awesome https://github.com/evanphx/benchmark-ips to Lua.
The idea is that we have clear benchmarks for some constructs that can show performance difference.
I could see some LuaJIT features like turning off JIT for some functions to see the impact of JIT on performance.
You can see benchmark results in https://github.com/3scale/apicast/pull/714#discussion_r188866775

@davidor yep, but when we get some milage on this.


adding vehicle to simulation and set autopilot

I do not know why in this code

most of the car are around the DReyeVr simulator generated

could you help me ?

Hi, I'm not sure what your question is asking. Could you elaborate?
Also you are definitely spawning a lot of vehicles, since it looks like you are spawning on in every available spawn point as per the line
for i, transform in enumerate(spawn_points): # this loops over all spawn points
  ...
  vehicle = world.try_spawn_actor(vehicle_bp, transform)

Note that spawning many vehicles takes a toll on memory and often demands more parallel CPU usage, so expect better performance by using less AI vehicles.

thank you and also I have another question vehicles do not follow autopilot however I call world.tick()
what should I do? I have read the autopilot issue but just found to add world.tick() which I added!
could you help me?

What do the other vehicles do if they arent following autopilot? Do they instead just run into walls/curves? Or do they not move at all?

They go to walls or move but not in a straight direction something like circle! Therefore I think they do not follow autopilot!

Gotcha. Ok this is a known problem when the server and client framerates desynchronize. It has been discussed in #41. As demonstrated there, you might find some success by setting synchronous mode to true and enabling a fixed deltaT:
settings.synchronous_mode = True # Enables synchronous mode
settings.fixed_delta_seconds = 0.05 # set to the inverse of your desired framerate
traffic_manager.set_synchronous_mode(True)

thank you
I add settings.synchronous_mode but the simulation stuck
therefore I change if vehicle_bp.has_attribute("driver_id"):
With this" if vehicle_bp.has_attribute("driver_id") and "dreyevr" not in bvehicle_bp.id:
and it is again stuck. this is my coad:

could you help me?

You'll also need to run the world.tick() function in a while loop in order to tick all the other vehicles.
See Shiv's comment in #41

thank you. I have done it

but it stuck in the while loop how can I stop simulation?

You should check out existing scripts like this one which uses a  try catch loop to allow you to interrupt the loop without your script crashing.

Hi
I add try and finally but the simulation does not stop and finally line does not execute therefore I close Carla's window and execute lines again. in this time it cannot find simulator as you can see in the picture that I attached.
my main problem is that when the simulator get out of while true loop and execute finally line?

Could you help me?

Hi, not sure what you mean by the the lines not executing. Do you mean you don't see the print \ndestroying %d vehicles? (Also since this is python not C your print should look like print(f"\ndestroying {len(vehicle_list)} vehicles")).
As for the time-out error, this is probably because there is still a lingering instance of the port/socket connected from the simulator in the previous run. So you should make sure to kill it either with ps -ax | grep carla on Unix or with Task Manager -> Details -> CarlaUE4.exe (End Task) on Windows.
You should be able to check that there is nobody else listening/subscribed to that port (2000) before your script runs.

thank you so much


Pull request to discuss mixing types

open to all suggestions ...

keep implicit operators intact as much as possible

be sure no invalid types get into object

be able to mix types when necessary

Serialization should be in extra project, not everyone needs to serialize this data.

Persons, Brands etc I regularly come across these on websites without specifying itemtype, only a string, it's quite valid imho to define Some dude or volvo is Volvo a brand(Brand) or brand(Organization) .....

See this comment for an implementation. Feedback welcome.


FindMKL.cmake

Hi,
I am having an issue with building the Super Build:
CMake Warning at SuperBuild/External_Gadgetron.cmake:53 (find_package):
  By not providing "FindMKL.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "MKL", but
  CMake did not find one.

  Could not find a package configuration file provided by "MKL" with any of
  the following names:

    MKLConfig.cmake
    mkl-config.cmake

  Add the installation prefix of "MKL" to CMAKE_PREFIX_PATH or set "MKL_DIR"
  to a directory containing one of the above files.  If "MKL" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  CMake/ExternalProjectDependency.cmake:593 (include)
  CMake/ExternalProjectDependency.cmake:639 (ExternalProject_Include_Dependencies)
  SuperBuild.cmake:154 (ExternalProject_Include_Dependencies)
  CMakeLists.txt:18 (include)

Is MKL a required or optional dependency of Gadgetron? Should the SuperBuild automatically install MKL (and I am just missing the FindMKL.cmake, perhaps this one https://github.com/gadgetron/gadgetron/blob/master/cmake/FindMKL.cmake), or should I have this installed before running the SuperBuild?
Many thanks,
Ash

MKL is an optional dependency of Gadgetron. We cannot install it as you need to sign-up with Intel to get a license.
However, the error above is saying that Gadgetron couldn't find its own FindMKL.cmake, which is entirely weird. Can you check if it is in whereveryoubuild/sources/Gadgetron/cmake? (should be  about 10 other files there as you can see).
Where are you building? How did you configure your SIRF-SuperBuild? (DEVEL_BUILD by any chance?)

Actually, I apologise. It appears the above is only a warning not an error. After running the ccmake configure step twice, I was still able to generate the Makefile.
But, I do believe that for anyone without Gadgetron already installed, they will get this warning as they won't yet have a FindMKL.cmake.


[progress_reporter] Remove skip for different platforms since we no longer use noarch

Fixes issue noted by https://github.com/omnia-md/conda-recipes/pull/657#issuecomment-270964966

We still need to sort out that appveyor error, but this seems to be working as intended now.


component slots end up as comments

Environment

Operating System: Windows_NT
Node Version:     v16.16.0
Nuxt Version:     3.1.2
Nitro Version:    2.1.1
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      modules, vuestic
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Reproduction

create component as below

Btn.vue
<template>

    <slot name="header"></slot>
    <slot></slot>
    <slot name="slot1"></slot>
    <slot name="slot2"></slot>
    <slot name="footer"></slot>

</template>

build project yarn build
run yarn preview
inspect DOM

Describe the bug
this is resulting html of built project

    im a button

Is it possible to get rid of generated comments in place of empty slots?
Additional context
No response
Logs
No response

This is not from Nuxt, but a feature from Vue. These comments act as placeholders for Vues reactive shadow DOM to easily switch these out with the real DOM content as soon as vue needs them.

Thank for explaining.
Could you elaborate why Vue generates html without those comments, given the same component?
Just want to save some bytes in prod code.

Thank for explaining.
Could you elaborate why Vue generates html without those comments, given the same component?
Just want to save some bytes in prod code.

Not in particular, but if you want my two cents, saving even if you could, saving those few characters of text does not solve/save anything in real life 😄. It's like 0.001% of your code, if even. Try to use a good Dom syntax and as less 3rd party modules as possible if you really want to reduce bundle size.

Thank for explaining. Could you elaborate why Vue generates html without those comments, given the same component?

This is Vue's syntax for fragments (components with no root element but multiple). Because Nuxt uses some wrappers before rendering the page components (or app.vue), it looks like it does 😋.

Just want to save some bytes in prod code.

As @madebyfabian said, it is not worth optimizing this at all. HTML is eventually compressed (Brotli/GZIP), so this will have no significant impact on page speed


Libraries.ttkScrollableNotebook is missing - unable to run on Fedora 41 / Python 3.13

Trying to run this on Linux and I'm hitting a couple of issues.
Firstly I needed to switch up the version of pyzstd as my system was not able to build 0.15.9, but 0.16.x appears to be OK.
After that, I'm hitting this error:
/home/andypiper/Development/third-party/EzRO-gui/main.py:1421: SyntaxWarning: invalid escape sequence '\('
  mna = [s.strip() for s in re.split('\(|\)|\[|\]', path.splitext(name)[0]) if s.strip() != ""]
/home/andypiper/Development/third-party/EzRO-gui/main.py:1431: SyntaxWarning: invalid escape sequence '\,'
  arrayWithComma = [s.strip() for s in re.split('\,|\+', mna[i]) if s.strip() != ""]
Traceback (most recent call last):
  File "/home/andypiper/Development/third-party/EzRO-gui/main.py", line 15, in <module>
    from Libraries.ttkScrollableNotebook.ScrollableNotebook import *
ModuleNotFoundError: No module named 'Libraries'

I don't seem to be able to locate this module. Where is it from? I prefer to build and run for myself rather than a prebuilt PyInstaller version.

Ah - I see that is included in the release zip, but not marked as a dependency in the requirements file. OK! The release zip would only target Windows, I guess - although I've just tried the .EXE under Wine and it starts up, at least.
It might be useful to add more to the README to describe this situation 👍🏻


CrashLoopBackOff

Got a couple of CrashLoopBackOff.
How could I debug this ?
Thanks much.
kubectl get pod --all-namespaces
NAMESPACE     NAME                                    READY     STATUS             RESTARTS   AGE
default       nginx-deployment-67594d6bf6-6b972       1/1       Running            0          3d
default       nginx-deployment-67594d6bf6-lcsrt       1/1       Running            0          3d
default       nginx-deployment-67594d6bf6-z5cgz       1/1       Running            0          3d
kube-system   coredns-78fcdf6894-65mlj                0/1       CrashLoopBackOff   1248       4d
kube-system   coredns-78fcdf6894-l27f8                1/1       Running            1248       4d
kube-system   etcd-podaac-devk8s                      1/1       Running            4          4d
kube-system   kube-apiserver-podaac-devk8s            1/1       Running            5          4d
kube-system   kube-controller-manager-podaac-devk8s   1/1       Running            4          4d
kube-system   kube-flannel-ds-amd64-kq57j             1/1       Running            1          4d
kube-system   kube-flannel-ds-amd64-s84nv             1/1       Running            0          4d
kube-system   kube-flannel-ds-amd64-scxd6             1/1       Running            0          4d
kube-system   kube-proxy-8gs7r                        1/1       Running            4          4d
kube-system   kube-proxy-kbn7p                        1/1       Running            0          4d
kube-system   kube-proxy-xj4dk                        1/1       Running            0          4d
kube-system   kube-scheduler-podaac-devk8s            1/1       Running            4          4d
kube-system   kubernetes-dashboard-6948bdb78-w2mct    0/1       CrashLoopBackOff   6          6m
kubectl logs coredns-78fcdf6894-l27f8 -n kube-system
E0806 15:40:48.680540       1 reflector.go:205] github.com/coredns/coredns/plugin/kubernetes/controller.go:315: Failed to list *v1.Endpoints: Get https://<IP_ADDRESS>:443/api/v1/endpoints?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: connect: no route to host
E0806 15:40:48.680540       1 reflector.go:205] github.com/coredns/coredns/plugin/kubernetes/controller.go:320: Failed to list *v1.Namespace: Get https://<IP_ADDRESS>:443/api/v1/namespaces?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: connect: no route to host
E0806 15:40:49.682517       1 reflector.go:205] github.com/coredns/coredns/plugin/kubernetes/controller.go:313: Failed to list *v1.Service: Get https://<IP_ADDRESS>:443/api/v1/services?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: connect: no route to host
kubectl logs kubernetes-dashboard-6948bdb78-w2mct -n kube-system
2018/08/06 15:39:49 Starting overwatch
2018/08/06 15:39:49 Using in-cluster config to connect to apiserver
2018/08/06 15:39:49 Using service account token for csrf signing
2018/08/06 15:39:49 No request provided. Skipping authorization
2018/08/06 15:39:50 Error while initializing connection to Kubernetes apiserver. This most likely means that the cluster is misconfigured (e.g., it has invalid apiserver certificates or service accounts configuration) or the --apiserver-host param points to a server that does not exist. Reason: Get https://<IP_ADDRESS>:443/version: dial tcp <IP_ADDRESS>:443: getsockopt: no route to host

I deleted the "CrashLoopBackOff " dns and it restarted fine.  But it shows "CrashLoopBackOff" later again.
E0807 09:26:56.688530       1 reflector.go:205] github.com/coredns/coredns/plugin/kubernetes/controller.go:313: Failed to list *v1.Service: Get https://<IP_ADDRESS>:443/api/v1/services?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: connect: no route to host
E0807 09:26:58.690515       1 reflector.go:205] github.com/coredns/coredns/plugin/kubernetes/controller.go:313: Failed to list *v1.Service: Get https://<IP_ADDRESS>:443/api/v1/services?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: connect: no route to host
E0807 09:27:00.692627       1 reflector.go:205] github.com/coredns/coredns/plugin/kubernetes/controller.go:313: Failed to list *v1.Service: Get https://<IP_ADDRESS>:443/api/v1/services?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: connect: no route to host
dashboard always started with "Error" then showing "CrashLoopBackOff ".
sudo kubectl logs kubernetes-dashboard-6948bdb78-rtw42  -n kube-system
2018/08/07 09:20:30 Starting overwatch
2018/08/07 09:20:30 Using in-cluster config to connect to apiserver
2018/08/07 09:20:30 Using service account token for csrf signing
2018/08/07 09:20:30 No request provided. Skipping authorization
2018/08/07 09:20:31 Error while initializing connection to Kubernetes apiserver. This most likely means that the cluster is misconfigured (e.g., it has invalid apiserver certificates or service accounts configuration) or the --apiserver-host param points to a server that does not exist. Reason: Get https://<IP_ADDRESS>:443/version: dial tcp <IP_ADDRESS>:443: getsockopt: no route to host
Refer to our FAQ and wiki pages for more information: https://github.com/kubernetes/dashboard/wiki/FAQ

I'm seeing the exact same problem. Have you been able to resolve this?

please  check one more time https://github.com/coredns/deployment/blob/master/kubernetes/coredns.yaml.sed

Thx much.  Very helpful.
On Tuesday, September 25, 2018, 10:11:02 PM PDT, Hareesh Chatarasupalli<EMAIL_ADDRESS>wrote:

please check one more time https://github.com/coredns/deployment/blob/master/kubernetes/coredns.yaml.sed
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

This guide has been updated with CoreDNS include all the right configuration for the kubelet to ensure everything runs correctly.

sorry, but what was the fix for this exactly? CrashLoopBackOff for the coredns pod?

This guide has been updated with CoreDNS include all the right configuration for the kubelet to ensure everything runs correctly.

sorry, but what was the fix for this exactly? CrashLoopBackOff for the coredns pod?

dns pods unable fetch cluster and pod Network due latest version K8s version , for that use cordons latest image.


PROPOSAL: docker readme

I've been thinking about a way to be able to easily, consistency self-document images.
There are various reasons why someone might not be using an automated build, or  the person consuming the image doesn't have access to where the Dockerfiles are kept.
Would it make sense to have docker readme <imagename> which behaves in a similar way to man, but where the maintainer can leave instructions for the people using the image, in the form of a readme.{txt/md} in the root path of the image?

closing as duplicate of https://github.com/docker/docker/issues/6805


⚠ Slack has degraded performance

In 35cc3d2, Slack (https://status.slack.com/api/v2.0.0/current) experienced degraded performance:

HTTP code: 200
Response time: 43 ms

Resolved: Slack performance has improved in d4182b1.


Typo Bug in React docs/react-dom.html#render

This Brackets typo can be confusing in understanding the rendering function.

This is not a bug. We are changing the format on the new site. Thanks 😄 .


HTML markup for Django admin fields no longer works

E.g. in the ticket admin page we see the HTML  and not the rendered version.
See https://stackoverflow.com/questions/42316686/django-how-does-allow-tags-and-short-description-works for details.
Apparently the .allow_tags attribute was removed in Django 1.11.

I've tried the approach of adding the decorator @mark_safe according to this and it seems to have done it: https://stackoverflow.com/questions/47953705/how-do-i-use-allow-tags-in-django-2-0-admin
Just  from django.utils.safestring import mark_safe in these files: p3/admin.py, conference/admin.py and assopy/admin.py and above each function that uses "allow_tags", add the @mark_safe
No idea if it makes sense.

Sounds good. We need to fix all such methods in p3/admin.py, assopy/admin.py and conference/admin.py


[IT] dev(add-work-project):

add Xcode project to workflow.

adding the Xcode to workflow project for testing.


"compatibility" with xclip

Hey,
First of all, great tool. Just installed and it works perfectly.
I had a request. I completely understand if it's too specific for my use case, but I thought it's worth asking:
When using the tool directly, there's no problem whatsoever, and I can create my own aliases to point to shcopy. However, for apps and tools relying on the underlying binaries, there will be issues.
For example, I'm using lazygit SUPER extensively, and to make its copy functionality work, I've symlinked xclip (which is used by atotto/clipboard to do the copying) to a script I have.
And my script basically "ignores" the flags passed to xclip (in the case of copying, it's something like xclip -in -selection clipboard
I was wondering if there's the possiblity of doing that in your tool so that I can get rid of my custom script for good and start using shcopy everywhere.
As I said, I totally understand if you think the use case is too specific

Hi @farzadmf
Afaik, since this is related to lazygit, I don't think there is much shcopy can do. You could try opening a new lazygit issue to support ANSI OSC52 using go-osc52 perhaps.

Hey @aymanbagabas , thank you for your reply. What you said makes sense.
Just wondering, does go-osc52 also work with terminals that don't support it? I guess that would be very rare nowadays for a terminal not to support them, but just in case that happens.
Also, the "issue" I mentioned is not necessarily lazygit-specfic, but every Go app that uses the atotto/clipboard package to do the copying.


0.9.5 breaks CI on ubuntu trusty due to ruby <2

FYI, the 0.9.5 requirement of ruby >=2 has broken the openstack beaker CI due to the ruby 2 requirement.

2016-04-14 20:59:11.033 |
2016-04-14 20:59:11.033 | Gem::InstallError: google-api-client requires Ruby version ~> 2.0.
2016-04-14 20:59:11.451 | Installing puppetlabs_spec_helper 1.1.1
2016-04-14 20:59:11.527 | An error occurred while installing google-api-client (0.9.5), and Bundler cannot
2016-04-14 20:59:11.527 | continue.
2016-04-14 20:59:11.528 | Make sure that `gem install google-api-client -v '0.9.5'` succeeds before
2016-04-14 20:59:11.528 | bundling.
2016-04-14 20:59:11.634 | Build step 'Execute shell' marked build as failure```

The 0.9.x version of the client dropped 1.9.x awhile back, but yes, the enforcement via gemspec is new in 0.9.5.
While I'm game to relax it, I think it points to a problem with openstack pulling in too many dependencies that are actually be used. The client uses 2.0 language features and simply won't work on 1.9.x. It should be failing on 1.9.x, it just fails fast now rather than at runtime.

Actually this is a dependency of the puppetlabs beaker module which is how we go it. We don't even use this module so it just broke things. Things like breaking backwards compatibility should have been a version bump so if any of the 0.9.x was supported under 1.9 then they should all be.

@sqrrrl OpenStack is actually not pulling google-api-ruby-client directly, we pull puppetlabs/beaker so we can run the functional tests.
See https://github.com/puppetlabs/beaker/blob/master/beaker.gemspec#L53
Probably the best option is to ask Puppetlabs to pin google-api-ruby-client to 0.9.4 until we officially support Ruby 2.0 everywhere (note that current Ubuntu LTS - Trusty does not deploy Ruby 2.0, which is the root cause of why we're not deploying Ruby 2.0).

@EmilienM you should probably figure out a way to install ruby 2.3. Ubuntu LTS goes on till 2019, but the Ruby community stopped support of 1.9 last year (https://www.ruby-lang.org/en/news/2015/02/23/support-for-ruby-1-9-3-has-ended/) and 2.0 and 2.1 support ends soonish: https://www.ruby-lang.org/en/news/2016/02/24/support-plan-of-ruby-2-0-0-and-2-1/

Guys you're missing the point. It's about backwards compatibility. No one is saying you can't make the restriction to ruby 2+, but when you do you need to do a major version bump.  This new 0.9.5 version basically broke any current CI/deployments using trusty and all the historical ones as well for people installing from source.  Just because the community doesn't support 1.9 anymore, doesn't mean a vendor does not. Even if the code was incompatible with 1.9 for some time, that switch should have been part of a 1.x release and not a continuation of 0.9.x.  Unless 0.9.x was completely incompatible then this was a major oversight for some time...

Yes, the 0.9.x has always been incompatible with 1.9.x.
1.9.x supported ended when the library when from 0.8.x to 0.9.x. There was no version of 0.9.x that worked on 1.9.x. The change in 0.9.5 was moving the error from run to install time.
There's a whole separate debate about the 0.8 -> 0.9 change not being backwards compatible. Technically, #4 in semver.org permits breaking changes when major version == 0. Understandably, not everyone locks their version dependencies as tightly as they should. In either case. that ship sailed a long time ago. I'd like to bump the version to 1.0 soon (last big thing is removing Hurley as a dependency and those changes are available in a separate branch) so there is stable API in place that folks can rely on (err, at least as stable as the underlying REST APIs :)


[Feature request] 1st derivative of case count

It would be very useful to be able to switch scatter plots between aggregate mode (current option) with cases per day. The 'per day' metric is what we reference when we describe "flattening the curve" and is also an important metric informing day-to-day policy decisions.

link lantai6 di tempat yang pasti aja. tempat gua deposit lancar, withdraw lancar, CS 24 jam. vendor terpercaya bersertifikat kelas dunia. terbukti gak ada kecurangan, gak ada trik, gak ada kunci atau pola. semua tergantung hoki. selamat bermain dan jaga kesehatan.


So called "secure" sandbox isn't secure at all

compileCode('return function(){}.constructor("alert(this)")()')({})

FWIW you can do something like Function.prototype.constructor = null but then you would really  need to really make Function.prototype.constructor a getter and check if it's being called from the sandbox which I'm not sure is even possible. It's definitely a rabbit hole I wouldn't want to be responsible for though.

You can potentially detect synchronous calls from sandbox, but you can't detect asynchronous calls - setTimeout, Promise#then, setInterval, requestAnimationFrame, fetch and thousands other ways to escape sandbox remain.

Hi,
this is already fixed and tested in the next unreleased version, but I am waiting for more feedback before releasing it.
My solution to this:
I made a compiler.secure() function that iterates every literal type ('', 0, true, {}, [], () => {}) and freezes their prototype and constructor with Object.freeze(). This is optional as it provides more security but requires more attention for polyfilling these objects for example.
About async functions:
They just work. Async functions are still defined inside the with block. Meaning they will have a closure inside the with. Try and reach anything global from an async function, it won't work. This is also tested in the next version.
Final note:
This is part of an alpha project. I am sure there are more security holes, and I plan to fix them all. If you find anything else or you think that I am missing something important please share (:
Thx for the feedback!

This is also susceptible to simple string manipulation.  For example, this will run outside the sandbox:
var func = nx.compiler.compileCode('} alert(window.location);{');
func({})

because it closes the with statement.

@bd0
var allow = function(code) {
  try {
    eval('(function() {' + code + '})');
    return true;
  } catch (e) {
    return false;
  }
}

@kolodny That would suffer from the same problem, would it not?
allow('}); alert(window.location);({')
Shows the alert and evaluates to true.

Hi,
the string manipulation seems like a big problem. I am thinking about moving the with statement outside of new Function somehow. Something like with (sandbox) { eval(src) }, but this also has several problems.

@ kolodny
I am not sure I understand that.

@bd0
Another solution would be checking the string before passing it to new Function(), like:
let depth = 0
for (let char of src) {
  if (char === '{') depth++
  else if (char === '}') {
    if (depth === 0) throw new SyntaxError()
    else depth--
  }
}

@solkimicreb A depth check might help, but it's not foolproof.  For example:
compileCode('/*{*/ } alert(window.location);{ /*}*/');
I don't know that there's a perfect solution.  You could look into evaluating the code inside a sandboxed iframe, but that seems like a very heavy solution and is not without it's own problems.
http://www.html5rocks.com/en/tutorials/security/sandboxed-iframes/

Yeah, thanks for the example. It seems like the best option would be to leave only the src as the argument: new Function(src), and move the rest (with) outside to the hard coded part.
Another thing I thought of is only allowing single expressions like: 'with (sandbox) { return' + src + ' }'.  This way early closing would just return, but it would really limit the library.

I will try to move the with outside of the string and post the new code here.

Btw, for an src like console.log(this); , which would normally have this === global object, it will help to prepend src with " 'use strict;' "
P.S. I mentioned it briefly in the post, but just to not forget, var a = /1/;  is a RegExp literal and will give access to its constructor and prototype.

return eval(with (sandbox) { (function () { ${src} }) }).bind(sandbox, sandbox)
I figured out to use this return eval('with (sandbox) { (function () { ${src} }) }').bind(sandbox, sandbox) instead of new Function ('with (sandbox) { ${src} }').bind(sandbox, sandbox).
This solves two issues: first is the string manipulation mentioned by @bd0, secondly: the ability to use strict mode inside passed code mentioned by @IKoshelev. What are your opinions, do you think I am missing something?
P.S. Thank for the warning about the regexp literal. I will try to look for a solution that doesn't modify (freeze) global stuff if I can in the long term.

@solkimicreb At first glance it seems like it would suffer from the same problem, but I'd have to see it in context with the rest of the library. Something like:
compileCode('});} alert(window.location); {({')
and you'll end up with
eval('with (sandbox) { (function () { });} alert(window.location); {({ }) }').bind(sandbox, sandbox)

You may be able to do something like
new Function('src', `return function(sandbox) { with (sandbox) { return eval(src) }}`)(src);

But you may want to make eval a local function that nulls itself after it's first invocation, since there's no way to hide that in the executing scope

@solkimicreb  I've found something that seems to work, and is similar to @kolodny's suggestion.  It's not perfect.  The src has to be evaluated every time and I'm sure there are other issues I haven't thought of, but you don't have to worry about string manipulation.
function has(target, key) {
	// Only let eval execute once!
	if (key === 'eval' && 0 === this.evaled++) {
		return false;
	}
	return true;
}

function get(target, key, receiver) {
	if (key === Symbol.unscopables) {
		return undefined;
	}
	return Reflect.get(target, key, receiver)
}

function compileCode(src) {

	// Return a function that wraps the given data
	// in a proxy and executes the src.
	return (function (dataObj) {
		var dataProxy = new Proxy(dataObj, {
			has,
			get,
			// Track # of times eval() has been called.
			evaled: 0
		});

		// Set the src property on the proxy so it
		// is accessible inside the with scope.
		dataProxy.src = src;

		// Evaluate the src inside the scope.
		with(dataProxy) {
			return eval(src);
		}
	});
}

var data = {
	a: 1,
	b: 2
};

var code = compileCode('"a is " + a + ", location is " + location;');

// Should print "a is 1, location is undefined"
console.log(code(data));

// Test for eval escalation.  Can't allow eval to execute
// because it will gain access to the global scope.
var code2 = compileCode('eval.call(this, "window.location")');

try {
	// Should throw an exception.
	code2({});
}
catch(te) {
	console.log(te);
}

Hi!
This is a proposal for nx-compile 2.0. I used all your amazing feedback to fix and test things.
https://github.com/RisingStack/nx-compile/pull/3
The biggest changes:

security is now optional: it starts as unsecure and can be switched to secure mode by nx.secure()
fixed and tested every security issue raised here and on different forums so far

Thanks @bd0 , @kolodny ,@IKoshelev !

Clearly there are many security issues with the NX sandbox. However, I believe that I've created a perfectly secure sandbox execution environment. You can look at it here:
https://github.com/JoshuaWise/expression-sandbox
I challenge anyone who thinks they can break it to try.

@solkimicreb Yeah, eval is weird.  Another quirk I found was that assigning eval to another variable, e.g. var evalIsEvil = eval; evalIsEvil(src); causes it to execute in the global scope rather than local scope, which is what necessitated having it called directly.  I'm glad you found a solution though.

You don't need to use eval to protect against string manipulation. You can just check if the given code is valid by itself, before compiling it into your special function:
// Tests for syntax errors without running the code
new Function('"use strict"; return ' + src);
// If the above operation didn't throw a syntax error, the operation below is safe
var code = new Function('sandbox', 'with (sandbox) {return (function () {"use strict"; return ' + src + '}).call(this)}');

Using this method has three advantages:

It catches syntax errors when the code is compiled, instead of when it is executed
The source code is only evaluated once, providing much much better performance
You can use "use strict"; at the top of your module.

Yeah, it seems like a nice solution, I will think about using it thanks (:
I don't use eval, I use new Function in both v1 and v2 and I 'use strict' in v2.
My only argument against your above code is that it compiles the code twice which performs a bit worse. (It is also suspicious to me, I know it only compiles the code, but is there surely no way to reach and modify something inside it?)

Yes, in cases where each compiled code is only executed once, its performance will suffer. It's certainly more optimized for code that will be executed many times.
As for your second concern, I've only ever seen two forms of string manipulation attacks:

Closing the previous code blocks, to execute unsandboxed code

Example: }).call(this); nonStrictModeCode(); (function () {. These types of attacks are not valid JavaScript on their own. They rely on the code that comes before and after to pass syntax checks. Therefore, if we test them in isolation, we can stop them in their tracks

Using escape sequences to bypass blacklist checks.

For example, if you scan the source code for the word eval to prevent people from using eval in their compiled code, people can easily bypass this by doing things like this: e\u0076al("this")

Luckily, the second type of string manipulation is a non-issue for us, since we're not using string matching to check for dangerous code.

@JoshuaWise After all the feedback and tests I think your pre-compiling solution is the way to go. Thanks for the idea!

@JoshuaWise @kolodny @bd0 @IKoshelev  I would like to add you to the contributors list. Let me know if you would like to be not included in it.
Thx for all the feedback and ideas so far!

I am going to close this now as all the issues mentioned here are fixed in the merged v2.0.0 of nx-compile.


[PT Run] System plugin: Setting for separate "Empty Recycle Bin" result

Summary of the Pull Request
This PR adds a default off setting to show two separate results for recycle bin instead of one with a context menu.
Setting off (default):

One result: Open Recycle Bin

Context menu: Empty Recycle Bin (Shift+Del)

Setting on:

First result: Open Recycle Bin
Second result: Empty Recycle Bin

PR Checklist

[x] Closes: #23796
[x] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[x] Tests: Added/updated and all pass
[x] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed
Local build and test of behavior.

@jaimecbernardo, @crutkas
We should merge this for the 0.68.0 release. It restores a feature we lost because of a change in the last release.

Definitely @htcfreek ,
I plan on doing another PR backlog push soon.
Thanks for the fix 😄


Homepage

this PR adds landing page, new signup flow
moves authentication to new signup page with form
persists user name + surname on login

closing until routes are established


FailureApp overwrites redirect status with Devise.responder.error_status

Hi, I use the devise FailureApp to redirect to a multifactor authentication page if the user has set up their account with MFA. The following code works as expected in 4.8:
In the strategy
fail! :multifactor_required
throw :warden, recall: 'Devise::Multifactor#redirect'

In Devise::MultifactorController
def redirect
  redirect_to multifactor_path(resource_name)
end

Environment

Ruby 3.0
Rails 7.0
Devise 4.9.0

Current behavior
The 4.9.0 version of the failure app overwrites the response code from the recall with Devise.responder.error_status:
self.response = recall_app(warden_options[:recall]).call(request.env).tap { |response|
  response[0] = Rack::Utils.status_code(Devise.responder.error_status)
}

Expected behavior
If the response code is a redirect, don't overwrite the status or use Devise.responder.redirect_status. It could be that I am misunderstanding or misusing the Failure app, but it seems to me that a redirect status from the recall app should never be overwritten with a client error status.

That's interesting, I guess we never considered recall being used like that.
There was someone else who stumbled upon this change due to another usage with redirect here: https://github.com/heartcombo/devise/issues/5561, they were actually redirecting from the controller (rather than explicitly recalling like you did) and expecting recall to honor it. I guess we could possibly set the response to one or the other configured status, depending on what the recall app gives us back. (e.g. if it's a 3xx we use the configured redirect_status, otherwise error_status.)
Is the Devise::Multifactor goal only to call that redirect? (i.e. it's a separate custom app to do it?) Is there more custom code to it, like do you need a flash message or something to show up? Because if not, I wonder if you could use the redirect! code from Warden directly. I have never used it myself, but in theory if you call it and then throw :warden, it should work if all you need is a redirect from within the custom strategy.

If the response code is a redirect, don't overwrite the status or use Devise.responder.redirect_status.

Yeah this is inline with what I mentioned above, I could see a change like this happening possibly.

it seems to me that a redirect status from the recall app should never be overwritten with a client error status.

It needs to, in order to be fully compatible with Turbo (ensuring a compatible response, I mean). I tried explaining a little bit about the reasoning in that other issue: https://github.com/heartcombo/devise/issues/5561#issuecomment-1436891271, but the overall idea of recalling was to simulate re-rendering the form with the authentication failure, thus responding with an error status like any other Rails controller would do.

We use fail! :multifactor_required to trigger a flash message with the redirect. I've looked into the warden redirect when I was implementing is but I couldn't quickly figure out how to use the named routes from warden so recall was the easiest option.
I could set up a PR which uses either redirect_status or error_status depending on the recall status if you think that's the way to go.

@devdicated I see, yeah I'm not sure off the top of my head how to make flash + warden redirect work, there's probably some incantation, I'll give it some thought, but what you explained makes sense.

I could set up a PR which uses either redirect_status or error_status depending on the recall status if you think that's the way to go.

Sorry I missed your message previously, I was working on making that change here: https://github.com/heartcombo/devise/pull/5573. Hopefully that's all we need to have redirects when recalling the app / action working, making this less of a "breaking" change. Let me know what you think. (or if you have an opportunity to test it) Thanks!

we're also facing to the same problem.
we do redirect in failure app.

Yeah, your fix works well.

Thanks for confirming. I'll get that merged & release a new version soon.


Confirmable notification

Hi,
I am new to leshan, but I wonder if it is possible to configure the notification as confirmable as described in RFC 7641. Moreover, once a notification is configured as confirmable, there should be some kind of callback that can should handle the possible acknowledgement.
Thanks in advance,
/JZ

Hi,
Currently there is no way to do that.
Simon
Le 11/10/2016 à 14:26, JingchengZhang a écrit :

Hi,
I am new to leshan, but I wonder if it is possible to configure the
notification as confirmable as described in RFC 7641. Moreover, once a
notification is configured as confirmable, there should be some kind
of callback that can should handle the possible acknowledgement.
Thanks in advance,
/JZ
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/eclipse/leshan/issues/188, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAzSZnjSrOLm1SHIPZIJQwdUrsPn9RThks5qy4BwgaJpZM4KTkaE.

Alright, thank you for the reply.
/JZ


Updated more resources for django

NOTE:

Please fill out the template below

Did you read the instructions in the README?

Y

Have you read the instructions in CONTRIBUTING?

Y

Have you written this article by yourself? Have you taken inspiration from anywhere and then written it in your words?

[Yes. did course from the given resource]

The whole purpose of free open-source and HacktoberFest in extension is to keep stuff free for everyone. No paid courses or software. Closing this PR 😄


Remove Comparable requirement from Range bound

Last time we discussed we agreed that this PR was going in the right direction but concluded that there were two concepts we should eventually specify. One is a range with the usual mathematical interpretation, that is an interval between two bounds that may or may not be included. The other is a pair of positions in a collection denoting a range of values in that collection, which we tentatively called PositionRange.
The bounds of PositionRange do not have to model Comparable (in fact, it will be common that they don't) but those of a traditional Range do.
Given this approach, I think this PR is actually proposing PropositionRange and if so I would suggest that it is modified accordingly (or closed in favor of another another PR).

Agreed.  Let's just hold it open as a way to preserve that conclusion until the necessary PR is submitted.


setup env for extension and serverless

@phuctm97
I already solved the problems for desktop and web.
But I have some problems to setup env for extension and serverless.
In terms of extension, I already passed step 3 of setup the project. Now I am trying to get .env.

Where can I get the website_url, aws_region, user_pool_id, and user_pool_client_id?

@phuctm97
In terms of serverless, I already setup the project as the guide you wrote.
But there's no "start" command.

can you please let me know what I have to run?

@phuctm97
I have some questions while I am working.
I run the extension, web, desktop projects on my local and I created the account of notion from the dev env on my local.
But I can't find the created workspace id from AWS dynamoDB (it is production DB).
Is there a dev or staging DB?
I am waiting for your reply. Please let me know the answer asap.
Thank you.

There's no way to run serverless repo locally, the repo when run with AWS admin credentials will deploy directly to AWS. So I recommend you to create a dev AWS account, then deploy there to test. To deploy you'll need to install correct AWS credentials locally. Checkout CDK docs for more info.

After you deploy the serverless repo, you'll see output of the deployed resource IDS, these include USER_POOL_ID, USER_POOL_CLIENT_ID that you'll set as environment variables in other repos. AWS_REGION is which AWS region you deployed serverless to, WEBSITE_URL is URL to web server, which is either localhost:3000 for local dev or queue.so for production.

@phuctm97 I am running web project and it is running on localhost:3001.
I follow https://queue-so.notion.site/Use-Queue-with-Notion-on-Chrome-c9669a3cad72450ba0dbe01ed424b75b.
When I click "duplicate", I am getting the error. and I found the reason because it is running localhost and redirect_url should be include localhost.
Now I am getting the error when I run "gerVersion", I am getting 500 error.

If I update notion_client_id and notion_client_secret, should I update NOTION_INTERNAL_VERSION_DATABASE_ID too?


[zh-tw] Unsupervised learning

I've finished the unsupervised learning translation work and update CONTRIBUTOR accordingly. Thanks!

Thanks for your work @kevingo! Now, let's start the review process.


NullReferenceException when stopping

A NullReferenceException is being thrown in WorkerPoolFeeder when stopping the framework. This is because we're not awaiting for the background task to stop after cancelling the token.
System.NullReferenceException: Object reference not set to an instance of an object.
   at KafkaFlow.Consumers.ConsumerWorkerPool.EnqueueAsync(ConsumeResult`2 message, CancellationToken stopCancellationToken)
   at KafkaFlow.Consumers.WorkerPoolFeeder.<>c__DisplayClass6_0.<<Start>b__0>d.MoveNext()

Hello. Same issue in our applications:
   at KafkaFlow.Consumers.ConsumerWorkerPool.<EnqueueAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at KafkaFlow.Consumers.WorkerPoolFeeder.<>c__DisplayClass6_0.<<Start>b__0>d.MoveNext()


Loading bar for market cache loading

It's fast, but not so fast we don't need a loading bar.

Added in e5fe4c836f2c15df8028634512009c11a203f2e0.


add .md files to resorce in export

Godot version:
3.1
OS/device including version:
Linux Mint 19 Cinnamon x64
kernel 4.15.0-47-generic
AMD Ryzen 5 2600 Six-Core Processor × 6
NVIDIA Corporation GP106 [GeForce GTX 1060 3GB] not graphic related, though
Google Chrome Version 73.0.3683.103 (Official Version) 64 bits
Issue description:
I needed to add a .md file to my exports in a game, with the purpose of fulfilling some license agreement and presenting at the game's credits.
since I saw in the docs and in for that un add ".json" at the, which I already used and works just fine, then a tried to add ".md" file, but it doesn't work, also tried to put the entire path to the file, relative and absolute, no success.
I'm not sure if it's a bug or if it's how it was supposed to be...
Steps to reproduce:

Create a new project, add a directory of your choice, add a .md file
Make a quick to read this file's content and fill the label (or a RichTextLabel), like

var file: File = File.new()
file.open("res://LICENSES/License_Notes.md", file.READ)
var read = file.get_as_text()
file.close()
get_node("RichTextLabel").text = read

Go to the export menu, at "Resources" tab in "Files to export ...", add *.md
Export, run the game, and see if the file was found and the label got filled

Works fine for me

Tested on Windows 10 x64
Are you sure you specified files in correct field? Does the file work when playing from editor?

Make sure the path's casing matches the actual path on the filesystem (case insensitivity can cause issues to appear).

@davincif Can you still reproduce this in Godot 3.2.1 or 3.2.2beta3?

@Calinou I'll try it out again as soon as I can.

It also works for me, so I'll assume it was a user error.


Revamp the FAQ page.

The FAQ page now has categories to make the page more scalable.

Removed the FAQ pages that were added a little while ago and integrate
their content into the main site FAQ page.

Stop computing sitemap.xml since there's a Jekyll plugin that does that
for us.

Staging site: https://geeknoid.github.io/istio.github.io/faq/

very nice
is there a way to make it use anchors, so we could link directly to a section and even better to unfold an answer
(for instance like http://quidscor.sourceforge.net/FAQ.html#proxy )

rake test error (try to run rake test locally before PRs)

./_site/faq/index.html

internally linking to sidecar-injection.html#automatic-sidecar-injection, which does not exist (line 2)
prerequisites
trying to find hash of sidecar-injection.html#automatic-sidecar-injection, but /home/circleci/repo/_site/faq/index.html/sidecar-injection.html does not exist (line 2)
prerequisites

./_site/troubleshooting/index.html

internally linking to /docs/tasks/telemetry/faq.html#how-do-i-see-all-of-the-configuration-for-mixer-, which does not exist (line 50)
Telemetry FAQ
trying to find hash of /docs/tasks/telemetry/faq.html#how-do-i-see-all-of-the-configuration-for-mixer-, but /home/circleci/repo/_site/docs/tasks/telemetry/faq.html does not exist (line 50)
Telemetry FAQ

You can already link (for example: https://geeknoid.github.io/istio.github.io/faq/index.html#what-is-istio). It doesn't unfold though, I don't know how to do such a thing. I can research this separately.
That google file in the root was just necessary to authenticate myself as being able to put content on the web site. Now that it's done, Google knows about me by user id and doesn't need this file anymore.

Bad links have been fixed, but Circle CI is still unhappy but only because of sily timeouts:

./_site/blog/istio-service-mesh-for-microservices.html

External link https://www.weave.works/blog/istio-weave-cloud failed: got a time out (response code 301)

./_site/docs/setup/kubernetes/quick-start.html

External link https://kubernetes.io/docs/tasks/tools/install-kubectl failed: got a time out (response code 301)


真机无法热更

Broadcasting to en2.10:<IP_ADDRESS> to locate InjectionIII host...
Broadcasting to en0.14:<IP_ADDRESS> to locate InjectionIII host...
💉 Connecting to <IP_ADDRESS> (<IP_ADDRESS>)...
💉 InjectionIII connected /Volumes/公司固态/Documents/h4test/h4test.xcworkspace
💉 Watching files under the directory /Volumes/公司固态/Documents/h4test
💉 💉 ⚠ Your project file seems to be in the Desktop or Documents folder and may prevent InjectionIII working as it has special permissions.
💉 Compiling /Volumes/公司固态/Documents/h4test/h4test/Controllers/ViewController.swift
💉 Loading .dylib ...
💉 ⚠ dlopen() error: dlopen(/private/var/mobile/Containers/Data/Application/304DE21E-9FE6-40A9-BAD5-4F5E798631F1/tmp/eval101.dylib, 0x0002): tried: '/usr/lib/system/introspection/eval101.dylib' (no such file), '/private/var/mobile/Containers/Data/Application/304DE21E-9FE6-40A9-BAD5-4F5E798631F1/tmp/eval101.dylib' (mach-o file (/private/var/mobile/Containers/Data/Application/304DE21E-9FE6-40A9-BAD5-4F5E798631F1/tmp/eval101.dylib), but incompatible platform (have (iOS-sim), need (iOS)))
💉 ⚠ Clean build folder when switching platform
💉 ⚠ Injection error: Error Domain=SwiftEval Code=-1 "dlopen() error: dlopen(/private/var/mobile/Containers/Data/Application/304DE21E-9FE6-40A9-BAD5-4F5E798631F1/tmp/eval101.dylib, 0x0002): tried: '/usr/lib/system/introspection/eval101.dylib' (no such file), '/private/var/mobile/Containers/Data/Application/304DE21E-9FE6-40A9-BAD5-4F5E798631F1/tmp/eval101.dylib' (mach-o file (/private/var/mobile/Containers/Data/Application/304DE21E-9FE6-40A9-BAD5-4F5E798631F1/tmp/eval101.dylib), but incompatible platform (have (iOS-sim), need (iOS)))
💉 ⚠ Clean build folder when switching platform" UserInfo={NSLocalizedDescription=dlopen() error: dlopen(/private/var/mobile/Containers/Data/Application/304DE21E-9FE6-40A9-BAD5-4F5E798631F1/tmp/eval101.dylib, 0x0002): tried: '/usr/lib/system/introspection/eval101.dylib' (no such file), '/private/var/mobile/Containers/Data/Application/304DE21E-9FE6-40A9-BAD5-4F5E798631F1/tmp/eval101.dylib' (mach-o file (/private/var/mobile/Containers/Data/Application/304DE21E-9FE6-40A9-BAD5-4F5E798631F1/tmp/eval101.dylib), but incompatible platform (have (iOS-sim), need (iOS)))
💉 ⚠ Clean build folder when switching platform}
💉 Compiling /Volumes/公司固态/Documents/h4test/h4test/Controllers/ViewController.swift
💉 Loading .dylib ...
💉 ⚠ dlopen() error: dlopen(/private/var/mobile/Containers/Data/Application/304DE21E-9FE6-40A9-BAD5-4F5E798631F1/tmp/eval102.dylib, 0x0002): tried: '/usr/lib/system/introspection/eval102.dylib' (no such file), '/private/var/mobile/Containers/Data/Application/304DE21E-9FE6-40A9-BAD5-4F5E798631F1/tmp/eval102.dylib' (mach-o file (/private/var/mobile/Containers/Data/Application/304DE21E-9FE6-40A9-BAD5-4F5E798631F1/tmp/eval102.dylib), but incompatible platform (have (iOS-sim), need (iOS)))
💉 ⚠ Clean build folder when switching platform
💉 ⚠ Injection error: Error Domain=SwiftEval Code=-1 "dlopen() error: dlopen(/private/var/mobile/Containers/Data/Application/304DE21E-9FE6-40A9-BAD5-4F5E798631F1/tmp/eval102.dylib, 0x0002): tried: '/usr/lib/system/introspection/eval102.dylib' (no such file), '/private/var/mobile/Containers/Data/Application/304DE21E-9FE6-40A9-BAD5-4F5E798631F1/tmp/eval102.dylib' (mach-o file (/private/var/mobile/Containers/Data/Application/304DE21E-9FE6-40A9-BAD5-4F5E798631F1/tmp/eval102.dylib), but incompatible platform (have (iOS-sim), need (iOS)))
💉 ⚠ Clean build folder when switching platform" UserInfo={NSLocalizedDescription=dlopen() error: dlopen(/private/var/mobile/Containers/Data/Application/304DE21E-9FE6-40A9-BAD5-4F5E798631F1/tmp/eval102.dylib, 0x0002): tried: '/usr/lib/system/introspection/eval102.dylib' (no such file), '/private/var/mobile/Containers/Data/Application/304DE21E-9FE6-40A9-BAD5-4F5E798631F1/tmp/eval102.dylib' (mach-o file (/private/var/mobile/Containers/Data/Application/304DE21E-9FE6-40A9-BAD5-4F5E798631F1/tmp/eval102.dylib), but incompatible platform (have (iOS-sim), need (iOS)))
💉 ⚠ Clean build folder when switching platform}

Hi, this happens when you switch from build for a simulator to building
for a real device. Close your project to clear the logs then re-open it
and build it for the device and it should choose the correct logs.

Clean Build Folder 然后第一次真机运行时  Command PhaseScriptExecution emitted errors but did not return a nonzero exit code to indicate failure
poll: hangup
第二次将没有错误

刷新功能好使了


Refine unwrap

unwrap was included while we were drafting the repo structure as an example - I got to:

add more tests - test for values, edge cases
have another look at the code
refine the playground example

I think it's important for this one to is the way we want the code to look lile since this is the first piece of code and others who PR would look at it for guidance how to structure their stuff (maybe?)

Hi, guys correct me if I wrong :)
But I think it would be more understandable for Optional isEmpty to be
    public func isEmpty() -> Bool {
        return self == nil
    }

rather then
    public func isEmpty() -> Bool {
        return !(flatMap({_ in true})?.boolValue == true)
    }

@sergdort have you tried if the code you're proposing works?

@icanzilb the tests are passing on my machine :)

ok I'll give it a try 👍

@sergdort thanks for the suggestion - I made the update to the code already 👍


MudRipple: Show ripple effect based on click position (#157)

Description
This solution uses JavaScript to calculate an offset based on the click position. The offset is then applied to the ripple pseudo-element using css variables.
I've tried to make the ripple look the same as before. Because I had to double the size of the pseudo-element transform: scale(10,10) -> transform: scale(20,20) a minor visual difference may be noticeable. This could possibly be mitigated by calculating a scaling factor based on the distance between the click position and the center of the clicked element:
/* --mud-ripple-scale would need to be calculated in js */
transform: scale(calc(10 * var(--mud-ripple-scale)), calc(10 * var(--mud-ripple-scale)));

I'm not sure if the added complexity is worth it but I'd be happy to implement that as well if wanted.
Note: This does not have the same issue as the reverted ripple.js implementation, the ripple "stays with the button when it moves", see: https://github.com/MudBlazor/MudBlazor/issues/157#issuecomment-980543275
resolves #157
How Has This Been Tested?

visually
Types of changes

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

Before
https://github.com/MudBlazor/MudBlazor/assets/22305878/740381d1-322f-4fe9-9cfc-278ccbb1d710
After
https://github.com/MudBlazor/MudBlazor/assets/22305878/8d78320b-0c48-478b-be78-995351a71ad0
Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[ ] I've added relevant tests.

Ohhh, finally, I love it! Thanks a lot!

Btw, is this still on mouse up, which has always been wrong in my eyes?

Yes, it's still triggered after the click. That's a limitation of the way the :active css selector is being used.
Disclaimer: I don't fully understand how this works.
I think the :active state (when the button is being pressed) is used to "prime" the animation. Only when the button is no longer considered active can the animation begin.

It looks so much better now, thanks!


nixos/doc: Actually fix partitioning instructions.

The previous tentative to the fix got the order mixed up a bit. This
new fix has been re-verified to get them in the good order as per the
instructions in the following chapters.

First of all: sorry. Next: it's hard trying to write something like that when you automatically fix the wrong inputs in your head! I was not seeing "/dev/sda1", but "the root partition".
The issue was pointed out to me in private by a friend trying NixOS and following the instructions.
This'll need to be backported.

The instructions are verified on qemu with a 100GiB disk.
Now, take a moment and check where the guide wants to create the root filesystem and swap:

# mkfs.ext4 -L nixos /dev/sda1
# mkswap -L swap /dev/sda2

I am verifying that in the next output the vda1 and vda2 partitions are sized as expected.
MBR
[root@nixos:~]# parted /dev/vda -- mklabel msdos
Information: You may need to update /etc/fstab.

[root@nixos:~]# parted /dev/vda -- mkpart primary 1MiB -8GiB
Information: You may need to update /etc/fstab.

[root@nixos:~]# parted /dev/vda -- mkpart primary linux-swap -8GiB -1s
Information: You may need to update /etc/fstab.

[root@nixos:~]# fdisk -l /dev/vda
Disk /dev/vda: 100 GiB,<PHONE_NUMBER>00 bytes, 209715200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0cadb97f

Device     Boot     Start       End   Sectors Size Id Type
/dev/vda1            2048 192937983 192935936  92G 83 Linux
/dev/vda2       192937984 209715199  16777216   8G 82 Linux swap / Solaris

GPT
[root@nixos:~]# parted /dev/vda -- mklabel gpt
Information: You may need to update /etc/fstab.

[root@nixos:~]# parted /dev/vda -- mkpart primary 512MiB -8GiB
Information: You may need to update /etc/fstab.

[root@nixos:~]# parted /dev/vda -- mkpart primary linux-swap -8GiB -1MiB
Information: You may need to update /etc/fstab.

[root@nixos:~]# parted /dev/vda -- mkpart ESP fat32 1MiB 512MiB
Information: You may need to update /etc/fstab.

[root@nixos:~]# parted /dev/vda -- set 3 boot on
Information: You may need to update /etc/fstab.

[root@nixos:~]# fdisk -l /dev/vda
Disk /dev/vda: 100 GiB,<PHONE_NUMBER>00 bytes, 209715200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 5860F00D-3FE1-4945-8FB4-0C76A1DB23B3

Device         Start       End   Sectors  Size Type
/dev/vda1    1048576 192937983 191889408 91.5G Linux filesystem
/dev/vda2  192937984 209713151  16775168    8G Linux swap
/dev/vda3       2048   1048575   1046528  511M EFI System

Partition table entries are not in disk order.

What was done

✔ make format on the installing.xml file
✔ building the documentation
✔ Rendered here

Right now, this causes parted to emit a warning that the partition is not aligned for proper performance. Not sure we can easily (or should try to) fix that here.

Tested, they work great.

Yeah, 100% fits the bill much better!


rule for detecting format error in gettext translations

import gettext
_ = gettext.NullTranslations().gettext
var = 'baz'
_('foo %s bar' % var)
_('foo {} bar'.format(var))
_(f'foo {var} bar')

those 3 cases should be detected in a new rule.

Is the error that you're supposed to leave the parameters unfilled?

(Seems like a reasonable rule, I'm just not familiar with the API.)

The error is that you're supposed to use constant strings, not dynamic ones as that passed string is used as a key during the lookup in message catalog.
I think that ideally this should support not just the most basic gettext call accepting a single argument but also calls to gettext, ngettext, and so on:
https://docs.python.org/3/library/gettext.html

thanks for the feedback, I clarified the initial description.

Thank you!


press "Delete" key,  the caret position will auto jump to the end of the input!!!!

found a bug?
when validate on a input type="text", input some text, press "home" or use mouse click move the caret to the input begining position,
then press "Delete" key,  the caret position will auto jump to the end of the input!!!!

      key: 'manageElement',
      value: function manageElement(el) {
        var _this = this;

        var _ = exports$1.Vue.util;

        var scope = this._getScope();
        var model = attr(el, 'v-model');
        if (model) {
          el.value = scope.$get(model) || '';
          this._unwatch = scope.$watch(model, _.bind(function (val, old) {
            if (val !== old) {
              //el.value = val; // press "delete" key in a <input type="text /> will cause the caret jump to the end
              _this.handleValidate(el);
            }
          }, this));
        }
      }

          this._unwatch = scope.$watch(model, _.bind(function (val, old) {
            if (val !== old) {
              //el.value = val; // el.value is already equal to val, why this code doing? thanks!
              _this.handleValidate(el);
            }
          }, this));
        }
      }

Thanks for your reporting ...
Oh ... :scream:
Sorry.
I'll try to fix.

release v2.0.0-alpha.16 :arrow_up:
https://github.com/vuejs/vue-validator/releases/tag/v2.0.0-alpha.16
please try it. :smiley_cat:


Docs: Binding multiple types to the same interface

It would be nice to have documentation in the readme about what happens when you bind two types to the same interface without the multibinding annotation (@BindType(contributesTo = BindType.Collection.SET)) and without qualifiers:
interface ImageLoader

@BindType
class PicassoImageLoader @Inject constructor(): ImageLoader

@BindType
class GlideImageLoader @Inject constructor(): ImageLoader

It's been a while since I've used dagger, but I would expect that not to work since the instance resolution becomes ambiguous.

You are correct in your assumption, since in that case Dagger graph would contain two versions of the same type.
Using HiltBinder assumes that a user has some experience working with Dagger, including the fact that two or more identical types cannot be present in the graph at the same time.


We need to press "back" twice to get to the previous page

When navigating folders, we need to press the back button twice to get to the previous page.
We most likely call history.push twice, this may be caused by incorrect or duplicate use of useLocation

This seem to have been caused by mixing the use of href and location.route in links. Should be fixed in 1.5.1


google-cloud-speech pip install not working

pip is unable to find google-cloud-speech
$ pip install --upgrade google-cloud-speech
Collecting google-cloud-speech
Could not find a version that satisfies the requirement google-cloud-speech (from versions: )
No matching distribution found for google-cloud-speech
Same is true when I try to install google-cloud
$ python -c "from google.cloud import speech"
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name speech

@puneith We have not yet released a version of speech yet nor is it yet included in the umbrella google-cloud package (notice it is not listed on https://pypi.python.org/pypi/google-cloud/0.20.0). @daspecster may have more to say there?

@puneith I've been working on adding the stream_recognize() method and implementing GRPC support for sync_recognize() and async_recognize() before it's fully released.
You could play with speech by installing the library from source. If you have any questions just let me know!
Thanks @dhermes!

@dhermes In the docs there is a Speech API section which does say you can use:
>>> from google.cloud import speech
>>> client = speech.Client()

However I get the same error as puneith.  @daspecster do you know how soon Speech will be implemented in google-cloud-python? Thanks :-)

@gw00207 It's alread (partially) "implemented in google-cloud-python". You can install from source and play with the current implementation:
$ git clone https://github.com/GoogleCloudPlatform/google-cloud-python
$ cd google-cloud-python/speech
$ python setup.py install

@gw00207, we have a list of things to do for speech before we release. You can follow along on #2522.

Can we please remove this from the docs until #2522 is done or put a loud note to this effect? I just spent time:

trying to figure out why the import in the docs was failing
realizing that I needed to install a special package
learning that that package was failing to install
finding my way here after googling.

A simple notice would have prevented all this.

@dhermes I'm trying to run the speech API inside a GCE VM, can I run those commands from the Cloud Shell? Thanks.


move bottle_drop to examples

I think anything included in src/modules should have a corresponding configuration (general startup or specific airframe) that allows it to actually be used.


Fix issue delete orders

Probably caused when an order is canceled in the same batch as they are created:

Data:
* Block: 9587311
* Order: 0xb210d9afde9cda1b8af0d260ad8602f5134f6cac-30
* Tx: https://etherscan.io/tx/0xd762279c75fa6f7261e89c6e47aa7d9f959631d8a7d548e23010213adf95f4de#eventlog

fixed in #68


fix: cleanup

Fix #135 (and other PR/issues).

A much needed cleanup, thank you!
Should this be a semver patch, fix, or major release based on all the changes in this PR?

Also that issue description is immaculate, detailed and easy to digest. Rarely see that unless it's a bot 😂

Hmmm, I would say a minor update (patch < minor < major), since the only code changes (in index.js) were done by ESLint, but the single dependency of this package (@babel/helper-module-imports) has received a minor update.
Maybe I have some OCDs when it comes to not messing up other people's work, true! Feel free to change amend whatever seems wrong to you.

Actually, you upgraded ESLint from v4.19.0 to v6.8.0, but you didn't run it to fix issues. Running it would also have resulted in transformation of Object.assign() and dot prop accessor to object spread/destructuring. Then I upgraded it to v7.7.0 in this PR. I'm not sure if it matters, since there's no engine.node defined in package.json, but to be strict with semver, then this should be a major update.