rebranding 🚲 🏠

Is it too late to consider renaming the tool itself? It's named the same as the historical rustup.sh tool, which is still listed as the official installation method even though "everyone" recommends rustup.rs, which continues to cause confusion.

I would prefer to finally ship rustup, so we can just never speak of .sh again.

We would still have to speak of it, i.e. "We've shipped rustup! before installing rustup, please uninstall rust if you previously uninstalled it with rustup."

Can't you change rustup.sh so it installs rustup.rs instead ?
If not, you can probably just change the rustup.sh script so it only display a error/warning message suggesting using rustup.rs.

I wish i could rename this tool as  Prep.  :smile:

Please, do not: rustup is a cool name and very pronounceable.

rust wasn't renamed when 1.0 was released, and it survived it. I think rustup will survive this too.


Issue with ELF / POLY listing

It didn't purchase and crashed with this log:
[ERROR] 2021-09-08 10:00:04,145: Traceback (most recent call last):
  File "C:\py\trading-bot-new-coins-oop\bot\bot.py", line 71, in run_async
    self.process_new_ticker(new_ticker)
  File "C:\py\trading-bot-new-coins-oop\bot\bot.py", line 228, in process_new_ticker
    price = self.broker.get_current_price(new_ticker)
  File "C:\py\trading-bot-new-coins-oop\broker\broker.py", line 166, in get_current_price
    return float(self.futures_mark_price(symbol=ticker.ticker)["markPrice"])
  File "C:\Users\Bawa\AppData\Roaming\Python\Python39\site-packages\binance\client.py", line 5203, in futures_mark_price
    return self._request_futures_api('get', 'premiumIndex', data=params)
  File "C:\Users\Bawa\AppData\Roaming\Python\Python39\site-packages\binance\client.py", line 339, in _request_futures_api
    return self._request(method, uri, signed, True, **kwargs)
  File "C:\Users\Bawa\AppData\Roaming\Python\Python39\site-packages\binance\client.py", line 315, in _request
    return self._handle_response(self.response)
  File "C:\Users\Bawa\AppData\Roaming\Python\Python39\site-packages\binance\client.py", line 324, in _handle_response
    raise BinanceAPIException(response, response.status_code, response.text)
binance.exceptions.BinanceAPIException: APIError(code=-1121): Invalid symbol.

It didn't purchase and crashed with this log:
[ERROR] 2021-09-08 10:00:04,145: Traceback (most recent call last):
  File "C:\py\trading-bot-new-coins-oop\bot\bot.py", line 71, in run_async
    self.process_new_ticker(new_ticker)
  File "C:\py\trading-bot-new-coins-oop\bot\bot.py", line 228, in process_new_ticker
    price = self.broker.get_current_price(new_ticker)
  File "C:\py\trading-bot-new-coins-oop\broker\broker.py", line 166, in get_current_price
    return float(self.futures_mark_price(symbol=ticker.ticker)["markPrice"])
  File "C:\Users\Bawa\AppData\Roaming\Python\Python39\site-packages\binance\client.py", line 5203, in futures_mark_price
    return self._request_futures_api('get', 'premiumIndex', data=params)
  File "C:\Users\Bawa\AppData\Roaming\Python\Python39\site-packages\binance\client.py", line 339, in _request_futures_api
    return self._request(method, uri, signed, True, **kwargs)
  File "C:\Users\Bawa\AppData\Roaming\Python\Python39\site-packages\binance\client.py", line 315, in _request
    return self._handle_response(self.response)
  File "C:\Users\Bawa\AppData\Roaming\Python\Python39\site-packages\binance\client.py", line 324, in _handle_response
    raise BinanceAPIException(response, response.status_code, response.text)
binance.exceptions.BinanceAPIException: APIError(code=-1121): Invalid symbol.

I am also getting the same error.

Sorry for the delay on this.  I unfortunately don't have enough information to replicate the issue (I missed this sale myself) - I'm assuming there's a problem with the ticker format passed to the Binance API.  If anyone has a record of the value of the ticker processed and sent to the API  that would help.
To avoid this issue in the future, I've added a verbose logging file that saves much more information about each attempted transaction.  Please pull this new version and include the relevant information for this new log file for any other issues.  I've also added 'retries' for connection refusals which periodically occur.

Thanks, I think you are right as original repository has very simillar issue reported as well. There is json format mismatch for real trades. I will pull latest changes and keep it running and I will get back to you in case of any findings.

I just reread my code again but still haven't found anything standing out as problematic.  This script is executing quickly, I suppose it's possible the program is requesting a price from Binance before their API is even ready for it... I just added retry's to get_current_price and place_order - if either of these methods fails, they will retry 2 times each with a 3-second delay between each failure.  This should hopefully add enough time to still make the purchase without too much of a delay (if that's indeed the issue).

It looks like there was a new coin on Sept 22, did either of you happen to catch it in your logs @bwasik @easyguyme?  I'm testing a new version with notifications (dev branch) and mistakenly missed it 😔.  The verbose log should have enough information for me to fix whatever this issue is.

I have no logs logged for sept 22 only 19th

I missed two coins today, both with the "binance.exceptions.BinanceAPIException: APIError(code=-1121): Invalid symbol."
Verbose logs were:
[DEBUG] 2021-09-24 06:00:00,384: PROCESSING NEW TICKER:
{"ticker": "YGGUSDT", "base_ticker": "YGG", "quote_ticker": "USDT"}.
[DEBUG] 2021-09-24 06:00:00,384: [BINANCE]      Preparing to buy YGGUSDT.
[DEBUG] 2021-09-24 10:00:00,405: PROCESSING NEW TICKER:
{"ticker": "SYSUSDT", "base_ticker": "SYS", "quote_ticker": "USDT"}.
[DEBUG] 2021-09-24 10:00:00,405: [BINANCE]      Preparing to buy SYSUSDT.

Actual error:
[ERROR] 2021-09-24 10:00:03,912: Traceback (most recent call last):
  File "/root/trading-bot-new-coins/bot/bot.py", line 72, in run_async
    self.process_new_ticker(new_ticker)
  File "/root/trading-bot-new-coins/bot/bot.py", line 240, in process_new_ticker
    price = self.broker.get_current_price(new_ticker)
  File "/usr/local/lib/python3.6/dist-packages/decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
  File "/root/trading-bot-new-coins/util/decorators.py", line 113, in retry_decorator
    logger,
  File "/root/trading-bot-new-coins/util/decorators.py", line 41, in __retry_internal
    return f()
  File "/root/trading-bot-new-coins/broker/broker.py", line 229, in get_current_price
    return float(self.futures_mark_price(symbol=ticker.ticker)["markPrice"])
  File "/usr/local/lib/python3.6/dist-packages/binance/client.py", line 5203, in futures_mark_price
    return self._request_futures_api('get', 'premiumIndex', data=params)
  File "/usr/local/lib/python3.6/dist-packages/binance/client.py", line 339, in _request_futures_api
    return self._request(method, uri, signed, True, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/binance/client.py", line 315, in _request
    return self._handle_response(self.response)
  File "/usr/local/lib/python3.6/dist-packages/binance/client.py", line 324, in _handle_response
    raise BinanceAPIException(response, response.status_code, response.text)
binance.exceptions.BinanceAPIException: APIError(code=-1121): Invalid symbol.

Fixed! Thank you @jarrodjay for posting.
FYI, this new update also now has notifications - details are in the readme.  Right now I have Discord and Telegram set up, but if anyone wants another service open an issue/discussion.

Thank YOU for this fork. It's inspired me to start playing around with Python too.


Only ship the required libs in the gem artifact

This removes the test and development files from the gemspec so that
these files don't have to be installed on every end users system. This
helps to reduce install size for applications that bundle this gem. It
reduces the compressed gem size by 3.5x.
Side note: If this is a change that's ok with you I'd like to make it to your other
projects. We're loving all of them, but we're trying to keep our package sizes
down.
Signed-off-by: Tim Smith<EMAIL_ADDRESS>

Coverage increased (+1.2%) to 98.729% when pulling d30aa7265ebd1762055107c50a4bdd085c1c01ba on tas50:master into 609407e35ddb03839cc88f001c1ee057a315f848 on piotrmurach:master.

Coverage increased (+1.2%) to 98.729% when pulling d30aa7265ebd1762055107c50a4bdd085c1c01ba on tas50:master into 609407e35ddb03839cc88f001c1ee057a315f848 on piotrmurach:master.

@tas50 Would be keen to know your opinion/ideas/thoughts?

The latest release v0.7.3 reduces the compressed size by half from 48KB to 24KB


':agora_rtc_engine:compileDebugKotlin'.

i was using agora_rtc_engine: ^5.1.1 with flutter sdk 2.10.5 stable everything was working correctly and  I was enjoying with it but when install the latest flutter ask which is 3.0.0 i got this error message when i pub get my project
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\agora_rtc_engine-5.1.1\android\src\main\kotlin\io\agora\agora_rtc_engine\AgoraRtcEnginePlugin.kt: (263, 18): Type mismatch: inferred type is String? but String was expected
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\agora_rtc_engine-5.1.1\android\src\main\kotlin\io\agora\agora_rtc_engine\AgoraSurfaceViewFactory.kt: (16, 1): Class 'AgoraSurfaceViewFactory' is not abstract and does not implement abstract base class member public abstract fun create(p0: Context?, p1: Int, p2: Any?): PlatformView defined in io.flutter.plugin.platform.PlatformViewFactory
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\agora_rtc_engine-5.1.1\android\src\main\kotlin\io\agora\agora_rtc_engine\AgoraSurfaceViewFactory.kt: (20, 3): 'create' overrides nothing
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\agora_rtc_engine-5.1.1\android\src\main\kotlin\io\agora\agora_rtc_engine\AgoraTextureViewFactory.kt: (12, 1): Class 'AgoraTextureViewFactory' is not abstract and does not implement abstract base class member public abstract fun create(p0: Context?, p1: Int, p2: Any?): PlatformView defined in io.flutter.plugin.platform.PlatformViewFactory
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\agora_rtc_engine-5.1.1\android\src\main\kotlin\io\agora\agora_rtc_engine\AgoraTextureViewFactory.kt: (17, 3): 'create' overrides nothing

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':agora_rtc_engine:compileDebugKotlin'.
> Compilation error. See log for more details

flutter doctor
[√] Flutter (Channel stable, 3.0.0, on Microsoft Windows [Version 10.0.19044.1706], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[√] Chrome - develop for the web
[!] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.11.14)
    X The current Visual Studio installation is incomplete. Please reinstall Visual Studio.
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.67.1)
[√] Connected device (3 available)
[√] HTTP Host Availability
 Doctor found issues in 1 category.

Note : when i change my flutter sdk to 2.10.5, everything work correctly
any help please ?

Duplicated https://github.com/AgoraIO/Agora-Flutter-SDK/issues/677


[Feature Request] Would you consider adding Null Safety and iOS/iPadOS support?

@Sunbreak hi there, since you have worked on the desktop release as well as MacOS I wanted to know whether you will continue your work on completing the package to support both null safety and add support for iOS?

Would you be able to update the Ffi to 1.0.0 please? I was going to test this on latest Flutter Linux desktop but has an error for the getter 'addressOf' isn't defined for the class Utf8.  Thank you.

Would you be able to update the Ffi to 1.0.0 please? I was going to test this on latest Flutter Linux desktop but has an error for the getter 'addressOf' isn't defined for the class Utf8. Thank you.

Could you post another issue for null-safety?

Would you be able to update the Ffi to 1.0.0 please? I was going to test this on latest Flutter Linux desktop but has an error for the getter 'addressOf' isn't defined for the class Utf8. Thank you.

Could you try https://github.com/woodemi/quick_usb/pull/13?

Yes sure - will give this a go; brilliant thank you.

Could you try #17 ?

Closed for null-safety is supported. File iOS support for another issue please


Remove few info from public repo

Due to InfoSec best practices removing few info from public repo
Signed-off-by: Priti Kumari<EMAIL_ADDRESS>

/retest


[Questasim] Simulation error:  Failed to find design unit

Hello,
With Questasim, I'm having the following simulation problem. Does anyone know how to fix this?
Error:
vsim -c -do "run -a; quit -f" "+designfile" -f /users3/shailesh.kavar/riscv-ibex/ibex/dv/uvm/core_ibex/out/build/tb/top.list "+signature_addr=8ffffffc" "+test_timeout_s=1800" "+disable_cosim=1" -sv_seed 1 -suppress 8323 2247 "+UVM_TESTNAME=core_ibex_csr_test" "+UVM_VERBOSITY=UVM_LOW" "+bin=/users3/shailesh.kavar/riscv-ibex/ibex/dv/uvm/core_ibex/out/run/tests/riscv_csr_test.1/test.bin" "+ibex_tracer_file_base=/users3/shailesh.kavar/riscv-ibex/ibex/dv/uvm/core_ibex/out/run/tests/riscv_csr_test.1/trace_core" -l /users3/shailesh.kavar/riscv-ibex/ibex/dv/uvm/core_ibex/out/run/tests/riscv_csr_test.1/sim.log -g/core_ibex_tb_top/PMPNumRegions=4 -g/core_ibex_tb_top/ICache=0 -g/core_ibex_tb_top/BranchTargetALU=0 -g/core_ibex_tb_top/SecureIbex=0 -g/core_ibex_tb_top/PMPGranularity=0 -g/core_ibex_tb_top/WritebackStage=0 -g/core_ibex_tb_top/ICacheECC=0 -g/core_ibex_tb_top/MHPMCounterWidth=40 -g/core_ibex_tb_top/MHPMCounterNum=0 -g/core_ibex_tb_top/BranchPredictor=0 -g/core_ibex_tb_top/DbgTriggerEn=0 -g/core_ibex_tb_top/PMPEnable=0 -g/core_ibex_tb_top/ICacheScramble=0 -g/core_ibex_tb_top/RV32E=0
Start time: 17:14:31 on Nov 29,2022
Loading<EMAIL_ADDRESS>** Note: (vsim-3812) Design is being optimized...
** Error: (vopt-13130) Failed to find design unit 2247.
Searched libraries:
work
Optimization failed
Error loading design
End time: 17:14:34 on Nov 29,2022, Elapsed time: 0:00:03
Errors: 1, Warnings: 0, Suppressed Errors: 1
Run Command:
make ITERATIONS=1 SEED=1 TEST=riscv_csr_test VERBOSE=1 SIMULATOR=questa IBEX_CONFIG=small
--
BR,
Shailesh

Where is your vlog/vopt section ? Also which version of questa sim is this?

The issue is not present with the most recent releases. Thanks!

The issue is not present with the most recent releases. Thanks!


fix: deleting props from object which is in the array should save pat…

I've found another question, see the code sample below.
   let base = [1,2, {name:"jim"}];
   let changes = []

   let fork = produce(
       base,
       draft => {
           delete draft[2].name;
       },
       (patches, inversePatches) => {
           changes.push(...patches)
       }
   )
   console.log(changes) //[]   deleting props from object should save the patches

Coverage decreased (-0.2%) to 92.919% when pulling 80574296c69d2a36241e117929ab98a33479d1c9 on luruozhou:fix/delete-props-from-object-which-is-inner-array into 211f5cf4a8cb9cc1d91a6564d4b04f071edecb6b on mweststrate:master.

Closing this PR as it makes the ES5 implementation unnecessary slower, since it diffs now the keyset of arrays. But will add the delete trap as discussed, nice catch!


Add more tests

Codecov Report

Merging #16 into master will increase coverage by 3.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
+ Coverage   36.19%   39.25%   +3.05%
==========================================
  Files          18       18
  Lines        1210     1210
==========================================
+ Hits          438      475      +37
+ Misses        754      717      -37
  Partials       18       18

Impacted Files
Coverage Δ

db.go
42.25% <0%> (+17.37%)
:arrow_up:

Continue to review full report at Codecov.

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


command 'type' already exists

After installation, when i pressed either the keyboard shortcut or used the command, it says command 'type' already exists
Command 'Jump-Select: Jump forward to next occurrence' resulted in an error (command 'type' already exists)
Could you help me to fix this issue?

Unfortunately, this issue cannot be fixed.  It means you have another extension that also uses the type command - vim and neovim and others do so.  And only the last extension to register type  that gets loaded when the extension host starts up can use it.
See Multiple extensions registering the 'type' command

We added registerCommand("type") especially to enable vim mode to be implemented from an extension. We didn't want to bake vim mode in the core, and there can be only one handler. We never considered typing being something collaborative (in this case between vscode-jumpy and VSCodeVim). Today, the last one wins.

hi! how can i know which other extension is using that type command? i have installed several of vim-like extensions, but i have disabled all of them; so...

I'm trying to figure this same thing. I already uninstalled the ones mentioned.

You can try the command Help: Start Extension Bisect and report the results.
The command will walk through bisecting your installed extensions where you should test this extension's keybindings at each step to see if the problem still exists.  Hopefully, you get to another extension that is also registering the type command.
But if you still have the problem after disabling ALL your extensions then the bisect might do no good.
I note the issue I mentioned above is still open since 2016...

Yes, please create a new issue for the ( bug.


Show when a user last logged in

User Management
I'd love to have the ability to at least see when a user last logged in. The purpose of this would be to remove the user and keep things clean in terms of user management. Though, if possible, I'd like the user's name to still show for page author, etc.
Maybe when the user has been deleted, their name simply shows as " (Removed)" or something like that.

@Shackelford-Arden Thanks for your suggestions.I agree that being able to see the last login time would be really helpful.
In regards to the deletion, Maybe a long-term solution for this would be to add functionality to allow admins to disable user accounts which would prevent logins but would keep references to created items? Would that suit your requirement?
I'll update the issue title to be focused on viewing last login, Let me know on the above and I'll open a new issue specifically for disabling if that solution suits.

@ssddanbrown Disabling is an awesome way to do that! I like that. I would wonder if there'd be a way to have views or at least filtering so you can keep the user list clean but still have the option of seeing the disabled users if needed.
Thanks! One of these days I'll figure out enough Laraval/VueJS to add something other than requests lol...

From what I can tell, The original request here was the ability to easily identify inactive users, although the intended method to do so was via visibility of last login.
Using last login alone is a bit complicated, Since the different authentication methods and different session timeouts can result in a questionable figure.
For the next release (v0.31) I have implemented the following:

The user list will have a "latest activity" sortable column so you can identify likely inactive users.
Also within the update the tracked activity, which can affect this "Latest Activity" figure is much more extensive and includes admin operations & logins. If you need to specifically look for login events you could still then do this manually via the audit log or database.
Since I believe this solution covers the original ability intent, I'll close this off.

This looks fantastic, thanks Dan!


Support for file locks

We might need it to support file based sessions using UV / EIO. If those do not support it, we have to go with blocking standard library operations.

@bwoebi @trowski Is that something we want? Should be in a 1.0 in that case, as it requires changes to the interface.

UV doesn't support this, so we can't support it in the interface.

Closing, as we have FileMutex in amphp/sync.

This is not quite the same thing. the FileMutex does not lock files, it creates a temporary lock file instead.

Yes, read why it does that. It doesn't matter whether you lock a file directly or a file nearby.


Yarn support

Current ruby runtime still doesn't have Yarn support.
The topic seems to have been discussed before at https://groups.google.com/forum/#!topic/google-appengine/33xXJ1UZaiQ which refers to the fact that GCP team was working on it. What's the latest status, when could we hope to avoid using custom runtime just for Yarn support?

Yarn should be present—although it is available at build time only (not at runtime). So for example it can be used during asset precompilation, but you cannot call out to it from a Rails controller. Can you provide more specifics about what you are trying to accomplish and what problems you are having?

Thanks for the response @dazuma, I'll review the CircleCI Workflow to see if our mishap may be in fact caused over a race condition. I suspect we might have an exclusive precompile trigger.

We were able to leverage build tools during the container build and it did run as hinted. Closing the topic.


strings applet proposal

Hi, you may be interested in this:
https://lists.busybox.net/pipermail/busybox/2023-July/090396.html
following the thread there are also performance tests under different usage conditions.

It said it's gplv2? Toybox can't use gplv2 code.
The attachment's header says the old busybox version took 1.8 seconds to run on the busybox binary. With the debian preinstalled version (1.31 from 2019) I get:
$ time busybox strings $(which busybox) >/dev/null
real	0m0.016s
user	0m0.013s
sys	0m0.004s
What system are you running it on to get 1.8 seconds... Later in the thread you said a Core i5. Taking 1.8 seconds to run strings on a ~1 megabyte binary. Did it have to spin up a disk maybe?
I read down the thread with tito a bit and I don't understand the motivation for this rewrite? I very vaguely recall the binutils strings is parsing ELF sections rather than just searching for nul or newline terminated ascii in the binary, so the output being different isn't hugely surprising. (The brute force approach tends to produce false positives.) I was unaware of this tool being performance critical for anybody...?

Hi Rob, do not worry about the license because I am the author of the whole file and I can re-licensing it at my own will. I know that toybox is not under GPLv2. About strings, with Tito in the busybox m-list we concluded that there is no any need of another implementation of strings. I am closing this issue and thanks for your attention. Best regards, R-


Update changelog and Cargo.toml to version 0.2.2

Note: I had previously published version 0.3.0, but given that there are no breaking changes here, and that the previously published version was somewhat broken, I'm retracting that and only bumping the minor version here instead.

I'm merging this without review as it's been discussed and there aren't any functional changes


Password encryption

@rbheemana everything written in this blog is working fine for me. however is there a way to
hide or make a password alias in the following command.
hadoop jar Cobolserde.jar {hostid:port} {username} {password}{mf_file} {location}. I am using this command in shell script.(hadoop jar CobolSerde.jar mf_host:21 atul96 main123 'acx.fds.fd(0)' /atul/mf     So now how do I hide my password 'main123'. I want to run this in production environment.

u can implement jceks file or file path for password similar to SQOOP by altering the code.

Closing this defect as it can be handled outside this project.


Fatal error: can't write 37 bytes to section .text too many sections

linked dll with big size, it take 16MB in mingw, and 2M in vs2019, only with demo

-Wa,-mbig-obj


Write post

About pull request

To get more insight, please check the related issue #XXX.

What's changed to accomplish [problem / feature] described in issue

Coding rule check is done [yes / no]

@yeonuk44 Hi, I think you are trying to create a PR for the wrong repository.


License is weird

At the bottom of the README, in the license block, is the text: "the underlying source code used to format and display that content is licensed under the MIT license."
That doesn't make sense, though, given that there's only two files in the repo and one branch. PR?

Well I considered the https://github.com/najela/discount-for-student-dev/blob/master/README.md as code

I wouldn't. But OK.
In that case, what exactly is CC? The HTML output...?

@strugee Content and source code are different to me.
Okay do you consider HTML as code?
Content = CC
Code used to format content (Markdown) = MIT
I don't know if that makes sense to you?

Content and source code are different to me, too.
That makes sense to me, but I was thinking about it very differently from you. The way I was looking at it was the Markdown and HTML being the same (content), and there being no code at all. To me, the HTML and the Markdown aren't different. They're the same thing in a different form.
I define content as "stuff for humans", so e.g. prose, images, etc. Content is abstract so it has to be encapsulated in some format, like HTML, Markdown, ODT, etc. Whereas code is Ruby or Python or C or whatever.
That's the way I see it. You may still disagree, in which case you might consider clarifying.

@strugee Okay man, I'll keep this PR open while I think about restructuring the liscense

@najela I mean, it's your project, so you're free to license it however you want. I'm just letting you know that your wording is confusing to some of us :)

Just use something like https://github.com/sindresorhus/awesome#license but replace the name ;)

Fixed by https://github.com/najela/discount-for-student-dev/commit/41d2eea3f9f563c68c8dde81a311312e8ec51155 Thanks @arthurvr


304

There were the following issues with your Pull Request

Commit: f4dcb0c7fa56362eeb4b1333f041c9de99a049ad
Your commit message does not contain a body

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com

There were the following issues with your Pull Request

Commit: c19b6309fd163117663e4f7fda44eb82c57602d8
Your commit message does not contain a body

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com


build: add PR stats to github workflow

In this PR, we introduce a new Github work flow tool that should help us keep better track fo reviewer load across the proejct. Ideally this can also be used as a tool to help new PRs find a reviewer, and also for us to better balance out review load, and keep track of how long it takes to do PR turnaround.

Still failing with:
 - Resource not accessible by integration

For some reason it seems to have the wrong env when it tries to run:
GITHUB_TOKEN Permissions
  Metadata: read
  PullRequests: read

From the docs I'm not 100% sure where the stats will be shown. Will there be a comment on each new PR?

Yes afaict, either our bot account (ll-deploy) or the account making the PR would make the comment. There's also an option to put it into the PR description, which maybe would let us get around the current failure?


Where did you download your video inference dataset.

excuse me， Where did you download your inference video dataset. Can you give me a link?

It is in the references at the bottom of the Readme:
DrivingStereo dataset: https://drivingstereo-dataset.github.io/


Figure out what to do with type hint suffixes

As we will probably remove them...

Closing since we removed type hint suffices in 2.0.0.


xplat: runtests.py improvements

Add error handling

Python multiprocessing parallel processes do not print anything if an
unhandled exception occurs. This causes the script to "hang" silently.
Added 2 levels of try/except so that the script no longer hangs on
exception. Script exceptions and backtraces will be reported and logged.

Switch to python3 bytes for output/baseline diff

This has no effect on python 2, but enables the script on python 3.
Capture output as bytes (subprocess communicate() returned type), load
baseline files in mode 'rb' and diff bytes type directly. This avoids
issues caused by encoding/end-of-line conversions.

Refactor, notably move 'folder' data to an attribute of test so that
we don't need to pass folder around.

Add a tag "xplatslow" to 2 tests and excluded on xplat by default.

On my box with "-test" build:
Before: test run takes 2.5 to 3 minutes, and VM non-responsive.
With xplatslow excluded: ~19 seconds. (-debug run ~50 seconds.)

...This avoids issues caused by encoding/end-of-line conversions.

Can you please elaborate how this actually works? IMO, binary mode doesn't make a difference in terms of utf-16 BOM / endiannes. For end-of-line left a comment in place.

Can you please elaborate how this actually works? IMO, binary mode doesn't make a difference in terms of utf-16 BOM / endiannes. For end-of-line left a comment in place.

I mean diffing bytes rather than diffing decoded Unicode strings. I sent and closed a PR last week in which I decode('utf-8') and then diff the strings. That didn't work as some corner cases were not in utf-8.

I mean diffing bytes rather than diffing decoded Unicode strings.

load baseline files in mode 'rb' and diff bytes type directly.

@jianchun , I must be missing that part somehow. Could you please point me out where actually you do that?
And eventually how it's going to help with saved baseline files ? Especially, considering the fact utf-16 BOM defines the order there. (let's forget about utf-8 BOM)

@jianchun , I must be missing that part somehow. Could you please point me out where actually you do that?

All the added b.

And eventually how it's going to help with saved baseline files ? Especially, considering the fact utf-16 BOM defines the order there. (let's forget about utf-8 BOM)

It does not help with the problem of baseline files in different encodings. Existing ch output and baseline files are not in certain encoding. We could fix that in future and then we can decode here; but currently decoding (ch output) runs into errors.

:shipit:

@dotnet-bot test this please


docs: quickstart fuel wallet integration

resolves #85
This approach uses the "useFuel" and "useIsConencted" hooks from the fuel-wallet/sdk documentation and adds a third custom hook named "useWallet" the last one being added by me.
The implementation (and the quickstart) can be cleaner by optimizing the hooks and adding them directly into the sdk.
However that's out of this PR's scope.

As this is, a quickstart application is good to reduce the number of files the user needs to create. It would be great to maybe create this as an advanced example, maybe something under.

Hello there!
Thanks for the feedback.
I think the same way as you, however App component gets really complex without the hooks.
It might be better to add the hooks inside the npm package.


Scrollbar in tree view doesn't appear if nodes are expanded

I have only a few items in the list, but when I expand functions and proxies, it falls off the page with no scrollbar. See screenshot.

@Tuesdaysgreen yes, it's is now fixed! Closing issue.


[SOOP] Playback glitch due to mismatched resolutions

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Singapore
Provide a description that is worded well enough to be understood
yt-dlp concatenates m3u8 videos for SOOP video URLs, which usually works.
However, I just found that videos of different resolutions are also concatenated; as a result, the output video starts to stutter at the first intersection, progressing frame by frame.
Clicking or seeking forward does make the video play, but the audio is out of sync.
The glitch occurs on mpv, iina, and VLC. I've found two video URLs with this situation.
Could we add another requirement/condition, namely having the same resolution, for video files to be concatenable?
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-F', '--no-download-archive', '--simulate', '--print', 'filename', '-vU', 'https://vod.sooplive.co.kr/player/146436779']
[debug] User config "/home/lochips/.config/yt-dlp/config": ['-f', 'bv[protocol!*=dash]+ba/b', '-o', '千伊珠_천이주_ks940714_%(upload_date>%Y-%m-%d)s_%(title)s [%(webpage_url_basename)s].mp4', '--downloader', 'm3u8:ffmpeg', '--downloader-args', 'ffmpeg:-v error', '--download-archive', 'config/archive.txt', '--progress', '--progress-template', '%(info.id)s-%(progress.eta)s', '--netrc', '--netrc-location', 'config/.netrc', '--print', 'after_move:filename', '--print', 'playlist:filename', '--no-simulate']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-master-builds [0b6b7742c] (zip)
[debug] Python 3.11.11 (CPython x86_64 64bit) - Linux-6.6.62-gentoo-whatbox-x86_64-AMD_EPYC_7702P_64-Core_Processor-with-glibc2.40 (OpenSSL 3.3.2 3 Sep 2024, glibc 2.40)
[debug] exe versions: ffmpeg 6.1.2 (setts), ffprobe 6.1.2
[debug] Optional libraries: certifi-3024.7.22, pycrypto-3.21.0, requests-2.32.3, sqlite3-3.46.1, urllib3-2.2.3
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests
[debug] Loaded 1837 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-master-builds/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-master-builds
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp-master-builds)
[debug] [soop] Using netrc for afreecatv authentication
[soop] Logging in
[soop] Extracting URL: https://vod.sooplive.co.kr/player/146436779
[soop] 146436779: Downloading API JSON
[soop] 146436779: Downloading part 1 m3u8 information
[soop] 146436779: Downloading part 2 m3u8 information
[soop] 146436779: Downloading part 3 m3u8 information
[soop] 146436779: Downloading part 4 m3u8 information
[soop] 146436779: Downloading part 5 m3u8 information
[download] Downloading multi_video: [이노레이블] 별수호 주옥ㄴㅏ개쩐ㄷㅏ
[soop] Playlist [이노레이블] 별수호 주옥ㄴㅏ개쩐ㄷㅏ: Downloading 5 items of 5
[debug] The information of all playlist entries will be held in memory
[download] Downloading item 1 of 5
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec, channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for 20241228_4C57269A_279936926_1:
ID           EXT RESOLUTION │   FILESIZE   TBR PROTO │ VCODEC      ACODEC
────────────────────────────────────────────────────────────────────────────
hls-hd       mp4 960x540    │ ~ 28.61MiB 1000k m3u8  │ avc1.640020 mp4a.40.2
hls-hd4k     mp4 1280x720   │ ~114.44MiB 4000k m3u8  │ avc1.640020 mp4a.40.2
hls-original mp4 1920x1080  │ ~228.88MiB 8000k m3u8  │ avc1.64002A mp4a.40.2
[info] 20241228_4C57269A_279936926_1: Downloading 1 format(s): hls-original
千伊珠_천이주_ks940714_2024-12-28_[이노레이블] 별수호 주옥ㄴㅏ개쩐ㄷㅏ (part 1) [146436779].mp4
[download] Downloading item 2 of 5
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec, channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for 20241228_2AA5D83E_279936926_2:
ID           EXT RESOLUTION │  FILESIZE   TBR PROTO │ VCODEC      ACODEC
───────────────────────────────────────────────────────────────────────────
hls-hd       mp4 960x540    │ ~11.09MiB 1000k m3u8  │ avc1.64001F mp4a.40.2
hls-original mp4 1280x720   │ ~44.35MiB 4000k m3u8  │ avc1.64001F mp4a.40.2
[info] 20241228_2AA5D83E_279936926_2: Downloading 1 format(s): hls-original
千伊珠_천이주_ks940714_2024-12-28_[이노레이블] 별수호 주옥ㄴㅏ개쩐ㄷㅏ (part 2) [146436779].mp4
[download] Downloading item 3 of 5
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec, channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for 146436779_1735325282_3:
ID           EXT RESOLUTION │  FILESIZE   TBR PROTO │ VCODEC      ACODEC
───────────────────────────────────────────────────────────────────────────
hls-hd       mp4 960x540    │ ~22.17MiB 1000k m3u8  │ avc1.64001F mp4a.40.2
hls-original mp4 1280x720   │ ~88.69MiB 4000k m3u8  │ avc1.64001F mp4a.40.2
[info] 146436779_1735325282_3: Downloading 1 format(s): hls-original
千伊珠_천이주_ks940714_2024-12-28_[이노레이블] 별수호 주옥ㄴㅏ개쩐ㄷㅏ (part 3) [146436779].mp4
[download] Downloading item 4 of 5
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec, channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for 146436779_1735325282_4:
ID           EXT RESOLUTION │   FILESIZE   TBR PROTO │ VCODEC      ACODEC
────────────────────────────────────────────────────────────────────────────
hls-hd       mp4 960x540    │ ~ 72.96MiB 1000k m3u8  │ avc1.64001F mp4a.40.2
hls-original mp4 1280x720   │ ~291.82MiB 4000k m3u8  │ avc1.64001F mp4a.40.2
[info] 146436779_1735325282_4: Downloading 1 format(s): hls-original
千伊珠_천이주_ks940714_2024-12-28_[이노레이블] 별수호 주옥ㄴㅏ개쩐ㄷㅏ (part 4) [146436779].mp4
[download] Downloading item 5 of 5
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec, channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for 146436779_1735323854_5:
ID           EXT RESOLUTION │   FILESIZE   TBR PROTO │ VCODEC      ACODEC
────────────────────────────────────────────────────────────────────────────
hls-hd       mp4 960x540    │ ~149.61MiB 1000k m3u8  │ avc1.64001F mp4a.40.2
hls-original mp4 1280x720   │ ~598.43MiB 4000k m3u8  │ avc1.64001F mp4a.40.2
[info] 146436779_1735323854_5: Downloading 1 format(s): hls-original
千伊珠_천이주_ks940714_2024-12-28_[이노레이블] 별수호 주옥ㄴㅏ개쩐ㄷㅏ (part 5) [146436779].mp4
千伊珠_천이주_ks940714_2024-12-28_[이노레이블] 별수호 주옥ㄴㅏ개쩐ㄷㅏ [146436779].mp4
[download] Finished downloading playlist: [이노레이블] 별수호 주옥ㄴㅏ개쩐ㄷㅏ

This is a general problem with multi_video playlists. I don't think there is a real solution aside from not using multi_video playlists for this site (and all sites?)
As a workaround you can pass --concat never

This is a general problem with multi_video playlists. I don't think there is a real solution aside from not using multi_video playlists for this site (and all sites?)
As a workaround you can pass --concat never

I fully understand they are multi_video playlists in effect; but I still think these m3u8 videos together represent one video, ideally and practically, as they are in one VOD URL (https://vod.sooplive.co.kr/player/), and presented as chapters of one video in the web player.
I know I can choose not to concatenate the video parts, which is how I've fixed it; but that's only if I find they have different resolutions while they mostly don't.  This means I need to check the video or list formats every time before downloading and make adjustments accordingly, which is time-consuming.
Maybe I'll add [height=1080] in -f, see if there is any error in the output, and make adjustments with a script.


Documentation build is broken

The documentation build is broken since https://github.com/ESMValGroup/ESMValCore/pull/2448 was merged, e.g.:
/home/docs/checkouts/readthedocs.org/user_builds/esmvaltool/checkouts/3760/esmvaltool/diag_scripts/monitor/compute_eofs.py:docstring of esmvaltool.diag_scripts.monitor.compute_eofs:24: WARNING: undefined label: 'esmvalcore:user configuration file' [ref.ref]
/home/docs/checkouts/readthedocs.org/user_builds/esmvaltool/checkouts/3760/esmvaltool/diag_scripts/monitor/monitor.py:docstring of esmvaltool.diag_scripts.monitor.monitor:50: WARNING: undefined label: 'esmvalcore:user configuration file' [ref.ref]
/home/docs/checkouts/readthedocs.org/user_builds/esmvaltool/checkouts/3760/esmvaltool/diag_scripts/monitor/multi_datasets.py:docstring of esmvaltool.diag_scripts.monitor.multi_datasets:98: WARNING: undefined label: 'esmvalcore:user configuration file' [ref.ref]
/home/docs/checkouts/readthedocs.org/user_builds/esmvaltool/checkouts/3760/doc/sphinx/source/community/diagnostic.rst:134: WARNING: undefined label: 'esmvalcore:user configuration file' [ref.ref]
/home/docs/checkouts/readthedocs.org/user_builds/esmvaltool/checkouts/3760/doc/sphinx/source/input.rst:495: WARNING: undefined label: 'esmvalcore:user configuration file' [ref.ref]
/home/docs/checkouts/readthedocs.org/user_builds/esmvaltool/checkouts/3760/doc/sphinx/source/quickstart/configuration.rst:7: WARNING: undefined label: 'esmvalcore:user configuration file' [ref.ref]
/home/docs/checkouts/readthedocs.org/user_builds/esmvaltool/checkouts/3760/doc/sphinx/source/recipes/recipe_kcs.rst:33: WARNING: undefined label: 'config-user-rootpath' [ref.ref]
/home/docs/checkouts/readthedocs.org/user_builds/esmvaltool/checkouts/3760/doc/sphinx/source/recipes/recipe_model_evaluation.rst:37: WARNING: undefined label: 'esmvalcore:user configuration file' [ref.ref]
/home/docs/checkouts/readthedocs.org/user_builds/esmvaltool/checkouts/3760/doc/sphinx/source/recipes/recipe_monitor.rst:38: WARNING: undefined label: 'esmvalcore:user configuration file' [ref.ref]

@schlunma I know this is really caused by https://github.com/ESMValGroup/ESMValTool/issues/3490, but I'm not sure how to solve that. Could we just restore the missing label in the ESMValCore documentation so it still points somewhere reasonably relevant?

think Manu is folding the new docs changes in https://github.com/ESMValGroup/ESMValTool/pull/3761

note that if we still want to plug in https://github.com/ESMValGroup/ESMValTool/pull/3646 (and we should!), #3761 merged will get us some really fat conflicts :grin:

I guess we fix those when we get there. Indeed https://github.com/ESMValGroup/ESMValTool/pull/3646 would be nice, but someone will need to find some time to do it properly. I would be willing to do that, I just don't know when yet.

https://github.com/ESMValGroup/ESMValTool/pull/3761 is now ready for review


ENH: Add Valgrind suppression file for Ubuntu 18.04 LTS

Suppressing valgrind defects from the system libraries.

PR Checklist

[ ] Makes breaking changes
[ ] Makes design changes
[ ] Adds the License notice to new files.
[ ] Adds Python wrapping.
[ ] Adds tests and baseline comparison (quantitative).
[ ] Adds test data.
[ ] Adds Examples to ITKExamples
[ ] Adds Documentation.

Refer to the ITK Software Guide for
further development details if necessary.

Is there a reason for putting this in CMake folder instead of Maintenance?

Status quo.
The old "InsightValgrind-RHEL6.supp" file and the build suppressions are in "CTestCustom.cmake.in". And I configure the nightly valgrind with the following line:
  set(CTEST_MEMORYCHECK_SUPPRESSIONS_FILE ${CTEST_SOURCE_DIRECTORY}/CMake/InsightValgrind-Ubuntu1804.supp)

Thanks @blowekamp !
CC: @fbudin69500


Refactoring: centralize db commits, move it to models

Follows #219

@mrsimpson Commit after each DB-Interaction... Personally, I had thought of coding the COMMIT WORKs ins the Data access class.
@sbcgua pushing commits to model is not that bad idea here - all db updates seems atomic: repo synced - update and commit, create package - commit, etc ...
@larshp good arguments, lets do it, push it down :smile: it should be possible to limit COMMIT WORK to some of the methods in LCL_PERSISTENCE_DB. Guess ROLLBACK WORK will not be needed anywhere.

Note that it has to be COMMIT WORK AND WAIT when moving the commits down. To make sure the update task releases the lock before next code in abapGit is executed, it sometimes needs the lock for the same object right away.

how should we deal with implicit commits? HTTP communication will do this!

implement small framework for buffering changes in memory, much like BOPF

Maybe object services transactions could also help? (IF_OS_TRANSACTION, CL_OS_SYSTEM=>GET_TRANSACTION_MANAGER, ...)

never tried it, looks like it is used in connection with persistent classes? We just need something that works on 702

The object services transaction concept was made for persistent classes but I just use it without them (works fine with opensql). The main advantages are you can rollback parts of a LUW, you can use update tasks without creating update function modules and you have an OO transaction API (which is nice for dependency injection).
I do not know about the implicit commits though. In non compatibility mode it might just throw a runtime error (external commit not allowed).
An internal table with outstanding changes that can be persisted at any time will probably be easier (which I assume is your idea of a buffer).

interesting, is there any documentation somewhere on how to use it? Perhaps you can write a blog post about it?

Documentation is here. I might write a blog about it when I have some time (focusing on usage without persistent classes).

lets close this? doesnt seem like its been a topic since 2017


Fix/wgpu/max pool2d backward

This should help with getting max_pool1d to work on wgpu: https://github.com/burn-rs/burn/pull/602


fix: simplify tsup config

This will break a config such as:
createTsupConfig()

And it will only work for:
createTsupConfig({ });

or, and similar to:
createTsupConfig({ format: ['esm'] });

No it won't I tested it.


Question - Different headers

Apologies if this is not the best place to ask.
Using react-native.
My App needs a variation on headers...

Most screens needs a logo and title
A few screens need a title and a back button
A few screens require the header to be hidden, with a custom back button implemented

I can't see how you would go about having various header styles.
Thanks,
Lee

Each screen can define it's own header :
class ProfileScreen extends React.Component {
  static navigationOptions = ({ navigation, screenProps }) => ({
    title: navigation.state.params.name + "'s Profile!",
    headerRight: <Button color={screenProps.tintColor} {...} />,
  });

One of the options is "header", which hides the header if it is set to null

Thanks for the response..
I didn't explain my question as well as i should have.
The header will have two different designs:
Style 1:-
Top Bar (Logo left, Button Right)
Second Bar (Title Middle)
Style 2:-
Top Bar  (Button Left, Title Middle)
Using  a pre-done header component or setting the header into a mode, to render either variation would be the ideal way.


[LOOP-2358] Make pump sim error states affect insulin delivery

https://tidepool.atlassian.net/browse/LOOP-2358
mock pump error states now affect insulin delivery

Just re-request a review when you've had a chance to consider these questions and respond. Thanks!


Facility "Display Name" beta fix

Critical Changes
Changes
Issues Closed
New Metadata
Deleted Metadata
Testing Notes

@Safiyab This is the PR I mentioned.


cross icon on selected items

Is there any option to show cross icon on selected item to remove them directly?
And option to set the width property of "Select" button?

Do you want to from the dropdown be able to remove options completely from the list of options?

If I select 3 item and that are visible as button name then there should cross icon on the right top corner of every selected item. Now if i click on cross of an individual item it should get un selected from selected list

and how can I set width of button ?

:host /deep/ ss-multiselect-dropdown button.dropdown-toggle {
width: 200px;
}

I think I understand now. You want the main button to work as a tag token field like this? https://camo.githubusercontent.com/1b4f9be25a1684c0dc5e10922afe06b81ec9d8df/687474703a2f2f692e696d6775722e636f6d2f4454314f6b62422e706e67

yes!

can dynamicTitleMaxItems adjust according to the width of drop-down button ?

The feature you request will not be implemented at this moment. It feels too much away from the basic usage. It cannot both be a dropdown component and a tag token field.


Segmentation classes correspondence

What is the color-coding for the ground truth segmentation provided by MINOS?  Where can the correspondence between the colors and NYV2 classes be found?
Thanks!

Hi @OlgaBarinova , thank you for trying out MINOS.  The encoding of the object category segmentation mask images is specified by a linear index of all SUNCG object types (see the details in https://github.com/minosworld/minos/blob/master/FAQ.md#getting-semantic-segmentation-masks)


Add root_path flag to install-bundle

There is no way of setting the default root path if you manually install a bundle, so expose that as a flag in the cli

Codecov Report

Merging #28 (024ca81) into main (0288fb1) will not change coverage.
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           @@
##             main      #28   +/-   ##
=======================================
  Coverage   58.38%   58.38%
=======================================
  Files          46       46
  Lines        5178     5178
=======================================
  Hits         3023     3023
  Misses       1898     1898
  Partials      257      257

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


feature(core): add address book to send screen

What kind of PR is this?:

/kind feature
What this PR does / why we need it:

To allow quick select of saved address with customizable label

Which issue(s) does this PR fixes?:

Fixes #2240
Additional comments?:
Developer Checklist:

[x] Read your code changes at least once
[x] Tested on iOS/Android device (e.g, No crashes, library supported etc.)
[x] No console errors on web
[x] Tested on Light mode and Dark mode*
[ ] Your UI implementation visually matched the rendered design*
[ ] Unit tests*
[ ] Added e2e tests*
[x] Added translations*

Known issues:

Add address flow works fine on web, manually, but not reproducible when running in cypress. Hence that e2e is commented out https://github.com/DeFiCh/wallet/blob/3909fd8d0e4dd8b9460988b88c25f9cd9c773e68/mobile-app/cypress/integration/functional/wallet/balances/send.spec.ts#L449
Passcode screen occasionally closing on its own on iOS debug mode


Fixed continuous embeddings data generation

Background
Link to issue
https://biomage.atlassian.net/browse/BIOMAGE-806
Link to staging deployment URL
Links to any Pull Requests related to this
Anything else the reviewers should know about the changes here
Changes
Code changes
Using filter when all data is selected makes the indices of the resulting data consecutive by removing the empty values (which is what vega expects).
Definition of DONE
Your changes will be ready for merging after each of the steps below have been completed:
Testing

[x] Unit tests written
[ ] Tested locally with Inframock
[ ] Deployed to staging

To set up easy local testing with inframock, follow the instructions here: https://github.com/biomage-ltd/inframock
To deploy to the staging environment, follow the instructions here: https://github.com/biomage-ltd/biomage-utils
Documentation updates
Is all relevant documentation updated to reflect the proposed changes in this PR?

[x] Relevant Github READMEs updated
[x] Relevant wiki pages created/updated

Approvers

[ ] Approved by a member of the core engineering team
[ ] (UX changes) Approved by vickymorrison (this is her username, tag her if you need approval)

Just before merging:

[ ] After the PR is approved, the unstage script in here: https://github.com/biomage-ltd/biomage-utils is executed. This script cleans up your deployment to staging

Optional

[x] Photo of a cute animal attached to this PR

Probably the most famous shrike ever. Painted by the greatest samurai ever Miyamoto Musashi.

@xverges most time-consuming one-line fix ever haha. But at least I learned much. Thanks for the help


Adjusting label coding/order when exporting project

Exporting a project in COCO format (haven't tested for others) assigns label IDs to labels in alphabetical order, instead of the order defined in the project settings.
E.g., for a document layout task my labels are - in the order that I wish them to be - Text, Title, List, Table, Figure. When I export the project in COCO format, I get
"categories": [
    {
      "id": 0,
      "name": "Figure"
    },
    {
      "id": 1,
      "name": "List"
    },
    {
      "id": 2,
      "name": "Table"
    },
    {
      "id": 3,
      "name": "Text"
    },
    {
      "id": 4,
      "name": "Title"
    }
  ],

I would like however for the order to stay the same:
"categories": [
    {
      "id": 0,
      "name": "Text"
    },
    {
      "id": 1,
      "name": "Title"
    },
    {
      "id": 2,
      "name": "List"
    },
    {
      "id": 3,
      "name": "Table"
    },
    {
      "id": 4,
      "name": "Figure"
    }
  ],

Is this possible to do within LabelStudio, or do I need to modify the resulting JSON manually?

Found the answer in the documentation, at the very bottom of the export page: https://labelstud.io/guide/export.html#Question-3-How-to-modify-order-of-categories-for-COCO-and-YOLO-exports

Tried to export my annotations in YOLO format after changing the settings according to above hint. The change had no effect and the category property is not documented: https://labelstud.io/tags/label
Has there been a change I missed?

EDIT: Correction. Only the exported classes.txt file lists the labels in any order and not according to the category property. The class index in the actual YOLO label files is correct.

Is it enough to solve your problem?

Docs fix: https://github.com/HumanSignal/label-studio/pull/5710/

@makseq Thank you for extending the docs. I guess the order of classes in classes.txt is of less interest as long as the notes.json contains the correct class IDs. Great tool btw.


OpenCL for AMD / Intel GPUs?

Is it possible to use OpenCL with AMD or Intel GPUs?
What about some of these AI accellerators found on ARM SoCs?

For anyone digging, here is the ctranslate2 issue for such support: https://github.com/OpenNMT/CTranslate2/issues/1072


repo.skype.com has been shutdown by microsoft

downloading https://repo.skype.com/latest/skypeforlinux-64.deb fails as it returns 503 - service unavailable.

Well, it works for me. Maybe it was a transient problem?
% wget https://repo.skype.com/latest/skypeforlinux-64.deb
--2024-10-25 09:22:12--  https://repo.skype.com/latest/skypeforlinux-64.deb
Resolving repo.skype.com (repo.skype.com)... <IP_ADDRESS>, 2a02:26f0:f700:4b9::1263, 2a02:26f0:f700:4b4::1263
Connecting to repo.skype.com (repo.skype.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 122062452 (116M) [application/x-debian-package]
Saving to: ‘skypeforlinux-64.deb’

skypeforlinux-64.deb    100%[===============================>] 116.41M  49.4MB/s    in 2.4s

2024-10-25 09:22:15 (49.4 MB/s) - ‘skypeforlinux-64.deb’ saved [122062452/122062452]

wao, could this be some geographical restriction?

Well, I don't know. I guess, that is the question for Skype/Microsoft, not me.

thanks buddy! for quick response :)


icons_and_splashscreens.js no longer needed with new "ionic resources" CLI feature?

The icons_and_splashscreens.js was an awesome addition to the project, however, now with ionics new resources feature in the Ionic CLI, there is no need for this.
The Ionic CLI requires a single icon.png and splash.png in the resources directory.  Running "ionic resources" will generate all the icons and splash screens for every platform installed and place them in a folder structure within the resources directory.
Using the CLI feature while also having the hook, will mean that you will have duplicate icons and splash screen images in the resources folder.

I agree that this is no longer needed if you're using the ionic-cli. With that said, the current state of this project assumes that you're not using the ionic cli in favor of the grunt. Seems like this would be a good item to put into the ionic 1.0.0 backlog that is being considered here


Install failure Status 503 Egress is over the account limit.

Started getting this today on CI (CircleCI):
sharp@npm:0.28.3 STDOUT sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.10.6/libvips-8.10.6-linux-arm64v8.tar.br
sharp@npm:0.28.3 STDERR sharp: Installation error: Status 503 Egress is over the account limit.
sharp@npm:0.28.3 STDOUT sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies

I think the binaries should be hosted somewhere other than github.

Some recent discussion about this error here: https://github.com/github/feedback/discussions/8535

Oh, I see this is already tracked at: https://github.com/lovell/sharp-libvips/issues/121#issuecomment-988653321
Feel free to close.


Support for custom routers

Currently, rest_framework_swagger.urlparser.UrlParser uses a hardcoded value to determine if an endpoint is a router.
This is done by comparing the view's __module__ to rest_framework.routers.
This will return false if the user has replaced the router with a subclass.
Simply checking the __name__ against APIRoot works, but feels less than ideal. Depending on how acceptable the overhead is, it may be worth doing a check on the __mro__ to see if rest_framework.routers.DefaultRouter.get_api_root_view().APIRoot is in there, but as it's dynamically generated, that will still involve string comparisons.

This is now supported in DRF 3.4


Mobs

In rencently update blocklauncher, I can't hit in a mob ;( .

It doesn't happen for me - please try the latest release/beta

Now yes, but before the new latest beta , hit on the mobs , doesnt work...


Feature/team member 3

What does this PR do?
This PR is raised to implement the following features: 👍 :

Created a Game class in a separate .rb file.

Created an Author class with an association to the Item class (in a separate .rb file).

All Game class properties visible in the diagram were implemented set up in the constructor method.

All Author class properties visible in the diagram were defined and set up in the constructor method.

Implemented methods:
      1. add_item method in the Author class
      2. can_be_archived?() in the Game class

Description of the task to be completed ↓↓

Create a console app

How to run
Clone the repository
git clone https://github.com/SamTush/catalog-of-my-things.git

Navigate to the folder
cd catalog-of-my-things

Checkout the branch
git checkout feature/team-member-one

How to run

run this command:

    ruby main.rb

How to start the tests

run this command:

    rspec

Thanks for reviewing my PR 😊

Hi Lengushuru,
Your task is complete! There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights
Descriptive pull request ✔
All functionalities working ✔
Good use of Kanban Board ✔


reqwest 0.12.6 breaks reqwest-middleware

It seems the  0.12.6 minor version release today can break dependencies. The latest reqwest-middleware package fails building with:
error[E0284]: type annotations needed
   --> /Users/makro/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-middleware-0.3.3/src/client.rs:284:24
    |
284 |             self.inner.poll_ready(cx).map_err(crate::Error::Reqwest)
    |                        ^^^^^^^^^^
    |
    = note: cannot satisfy `<Client as Service<_>>::Error == reqwest::Error`
help: try using a fully qualified path to specify the expected types
    |
284 |             <Client as Service<Request>>::poll_ready(&mut self.inner, cx).map_err(crate::Error::Reqwest)
    |             +++++++++++++++++++++++++++++++++++++++++++++           ~

Minimal repro to get this error:
cargo init
cargo add reqwest
cargo add request-middleware
cargo build

I think the primary issue is that it breaks SemVer.

I think the primary issue is that it breaks SemVer.

Hm, no, that's not it. Nothing added is a semver change.
It looks like the addition of a second impl Service for Client is causing type inference to no longer be able to tell which impl to use. reqwest-middleware can be more specific, like the error suggests.

So, to be clear, this still wasn't considered a "sem ver breakage" (it's always allowed to implement a trait for a type, otherwise we could never add anything.)
Still, I started to doubt the value added in the new implementation, and so to at least pause the inference errors, I've pushed v0.12.7 with the change reverted. Note that after discussing the new implementation more, we may decide to add it back in.

Thanks for explaining! Sorry for the misconception on my part.


Feature: Add selected text to IPFS

When you've selected some text, right clicking on it should bring up the same "add to ipfs" option as for images, except without the "keep filname" option.

This just landed in Beta !
https://github.com/ipfs-shipyard/ipfs-companion/releases/tag/v<IP_ADDRESS>50


Reactide in browser

Hi, I use Cloud9 for my development environment, and I'm wondering if there's a way to run Reactide in browser, so I don't have to use Electron?  I tried but it just took me to a black screen.

@chriswingler do you think Cloud9 is good for react development?

@Altiano development on ubuntu is 10x better than on any other platform.


Some animations work locally but not on web

Title is self explanatory. I've added animations on my local environment that work perfectly, but when I push those out to a live URL, some animations are not playing at all.
At this URL - http://guidedtours.devmoore.com/

Care Team > Section 3 / Section 4
Patient > Section 5

Thank you very much for any help you can give.

http://guidedtours.devmoore.com/bodymovin/p01s03/data.json
http://guidedtours.devmoore.com/bodymovin/p01s04/01/data.json
seem to be missing

Strange! The file was definitely present. It looks like the file didn't have the proper "read" permissions, for whatever reason. After adjusting that it seems to work fine.
Thanks!


More fields

This pr adds __get__ signatures for even more fields which are used in our codebase.

DecimalField should subclass Field and not IntegerField, so i changed it.

Unsure how to proceed with the lack of Psychopg stubs, we probably want stubs for the following two files at least: https://github.com/psycopg/psycopg2/blob/master/lib/extras.py and https://github.com/psycopg/psycopg2/blob/master/lib/_range.py, but unsure as to how this would be integrated.

Shouldn't psycopg2 stubs be added in their own psycopg2-stubs package in pypi?

Probably, yes. I didn't really want to be maintaining a separate repo for stubs that I'd only consume through django-stubs, though.

Can it be fixed with # type: ignore on the psycopg2 import line? I don't want to add psycopg2 stubs in this repo, they really do not belong here.

@mkurnikov updated with type: ignore for now.

Thanks!


feat: initial items for cookbookbat

Get those items started.
Also can we just sort modifiers.txt alphabetically? And maybe autosort it? And same for the other files? I want to just add stuff at the end and run a script or something.

By alphabetically, I assume you mean case-insensitive.
Exactly which files (in addition to modifiers) do you want to be alphabetical that are not currently alphabetical?
Regarding modifiers.txt

I find it useful to be able to manually look at "hats that grant Adventures", say.
The maximizer will display ONE hat which does that, but if a multi is thinking about buying something affordable, having the Admiral's hat suggested is not helpful.
Speaking of which:

# Admiral's hat: +50 Skeleton Anger
Item	Admiral's hat	Adventures: +5, Moxie Percent: +30, Familiar Effect: "atk"

We include non-modifier enchantments as comments. I've noticed that some people don't bother to put thos into modifiers.txt. I've have to go add them in later.
Or consider this:
# Item survival knife: Aids in desert exploration
Item	survival knife	Muscle: +5, Mysticality: +5, Moxie: +5, Lasts Until Rollover

I actually don't like the "Item" in front. I understand that registering a new item includes it. To make it easier to uncomment it if it becomes a modifier, I guess, but that's not really useful; we would make the modifier keyword/expression different.
The point being, any automated "sorting" would have to be smart.
Regarding other data files:

things with ids - effects, items, familiars - typically already get "added at the end".
coinmasters, npcstores - should be grouped within stores. I don't much care what order the shops are in.
concoctions? Here I agree. They were originally grouped by hola using ... some ... logic.

# Burritos, pizza and statue lime pies.  These are a class all their own
# because of their popularity.  Other really popular items, like spectral
# pickles, are also included.

I could see things grouped my mixing method:
MIX
MIX_FANCY
ACOCK
SCOCK
for example.

Yeah, modifiers.txt is the main one. When I'm trying to put things in the right place I search "Item" and sometimes it jumps off to a whole other section.
Any sorting thing would have to have some level of intelligence to be able to deal with the comments at the top. I would like it if, rather than everything starting "Item", it could start "Hat", "Pants", etc -- corresponding to the section. It would make finding lines easier.
The comments not starting with the item type would hurt automation slightly, but it'd be manageable I think.


Port JSHint to ESLint

ESLint is much better maintained and is more modern with a bunch of really configurable options. I suggest that we port from JSHint to ESLint.
Willing to put in a PR if this idea is ok :)
@isuttle
@cheruvian
@pdehaan

Sounds reasonable, I'm happy to look over any PR you submit.


How to generate mouse click on element?

Without Spectator it was:

spyOn(component.hideSection, 'emit');
const button = debugElement.query(By.css('.btn-link'));
button.nativeElement.click();
expect(component.hideSection.emit).toHaveBeenCalledTimes(1);

Now, with Spectator It not working anymore:

 spyOn(spectator.component.hideSection, 'emit');
 const button = spectator.query('.btn-link');
 button.[WHAT IS HERE?].click();
 expect(spectator.component.hideSection.emit).toHaveBeenCalledTimes(1);

Try spectator('.btn-link').click() or spectator(button).click().
Please can you read the documentation before opening an issue? It includes a lot of examples.

@benelliott I did. Try to enter "spectator.click" in the search and you will see nothing. The documentation is really unfriendly to newcomers.

Sorry to hear that, although it does come up when you search for "click". Suggestions for improving the docs are welcomed.


In the Popover Content component, problems with children's styles with the group property

Current Behavior
When applying the group property to a Popover Content descendant, the style breaks.
Expected Behavior
The style shouldn't break, everything looks the same without the group
Tamagui Version
1.110.1

Platform (Web, iOS, Android)
Web

Reproduction
https://codesandbox.io/p/devbox/muddy-dust-pl3wkz

System Info
No response

Try adding containerType="normal"


Extended Isolation Forest (eif)

Hi, should be very nice to add Extendend Isolation Forest algorithm to pyod.
A better version of Isolation Forest, Extended Isolation Forest (EIF) resolves issues with assignment of anomaly score to given data points.
original paper:
https://arxiv.org/pdf/1811.02141.pdf
Python implementation:
https://github.com/sahandha/eif (Pure python implementation == version 1.0.2 (pip install eif==1.0.2), version 2.0.2 is in C++)

Yes. I was aware of this algorithm. However, we need to think about whether this can be quickly included due to dependency. Would like to keep requirements file slim. In the ideal world, we may port all the code. Need some thoughts anyway. Thanks for bringing this up.

I've got a "numpy-only" implementation of eif (by 'Matias Carrasco Kind & Sahand Hariri') if your interested.

""" Extended Isolation forest functions
This is the implementation of the Extended Isolation Forest anomaly detection algorithm. This extension, improves the consistency and reliability of the anomaly score produced by standard Isolation Forest represented by Liu et al.
Our method allows for the slicing of the data to be done using hyperplanes with random slopes which results in improved score maps. The consistency and reliability of the algorithm is much improved using this extension.
"""
author = 'Matias Carrasco Kind & Sahand Hariri'
import numpy as np
import random as rn
import os
import warnings
from version import version
def c_factor(n) :
"""
Average path length of unsuccesful search in a binary search tree given n points
Parameters
----------
n : int
    Number of data points for the BST.

Returns
-------
float
    Average path length of unsuccesful search in a BST

"""
return 2.0*(np.log(n-1)+0.5772156649) - (2.0*(n-1.)/(n*1.0))

class iForest(object):
"""
Creates an iForest object. This object holds the data as well as the trained trees (iTree objects).
Attributes
----------
X : list
    Data used for training. It is a list of list of floats.
nobjs: int
    Size of the dataset.
sample: int
    Size of the sample to be used for tree creation.
Trees: list
    A list of tree objects.
limit: int
    Maximum depth a tree can have.
exlevel: int
    Exention level to be used in the creating splitting critera.
c: float
    Multiplicative factor used in computing the anomaly scores.

Methods
-------
CheckExtensionLevel()
    Chaeck the validity of extension level provided by user based on the data
compute_paths(X_in)
    Computes the anomaly score for data X_in
"""
def __init__(self, X, ntrees,  sample_size, limit=None, ExtensionLevel=0):
    """
    iForest(X, ntrees,  sample_size, limit=None, ExtensionLevel=0)
    Initialize a forest by passing in training data, number of trees to be used and the subsample size.

    Parameters
    ----------
    X : list of list of floats
        Training data. List of [x1,x2,...,xn] coordinate points.
    ntrees : int
        Number of trees to be used.
    sample_size : int
        The size of the subsample to be used in creation of each tree. Must be smaller than |X|
    limit : int
        The maximum allowed tree depth. This is by default set to average length of unsucessful search in a binary tree.
    ExtensionLevel : int
        Specifies degree of freedom in choosing the hyperplanes for dividing up data. Must be smaller than the dimension n of the dataset.
    """

    self.ntrees = ntrees
    self.X = X
    self.nobjs = len(X)
    self.sample = sample_size
    self.Trees = []
    self.limit = limit
    self.exlevel = ExtensionLevel
    self.CheckExtensionLevel()                                              # Extension Level check. See def for explanation.
    if limit is None:
        self.limit = int(np.ceil(np.log2(self.sample)))                     # Set limit to the default as specified by the paper (average depth of unsuccesful search through a binary tree).
    self.c = c_factor(self.sample)
    for i in range(self.ntrees):                                            # This loop builds an ensemble of iTrees (the forest).
        ix = rn.sample(range(self.nobjs), self.sample)
        X_p = X[ix]
        self.Trees.append(iTree(X_p, 0, self.limit, exlevel=self.exlevel))

def CheckExtensionLevel(self):
    """
    This function makes sure the extension level provided by the user does not exceed the dimension of the data. An exception will be raised in the case of a violation.
    """
    dim = self.X.shape[1]
    if self.exlevel < 0:
        raise Exception("Extension level has to be an integer between 0 and "+ str(dim-1)+".")
    if self.exlevel > dim-1:
        raise Exception("Your data has "+ str(dim) + " dimensions. Extension level can't be higher than " + str(dim-1) + ".")

def compute_paths(self, X_in = None):
    """
    compute_paths(X_in = None)
    Compute anomaly scores for all data points in a dataset X_in

    Parameters
    ----------
    X_in : list of list of floats
            Data to be scored. iForest.Trees are used for computing the depth reached in each tree by each data point.

    Returns
    -------
    float
        Anomaly score for a given data point.
    """
    if X_in is None:
        X_in = self.X
    S = np.zeros(len(X_in))
    for i in  range(len(X_in)):
        h_temp = 0
        for j in range(self.ntrees):
            h_temp += PathFactor(X_in[i],self.Trees[j]).path*1.0            # Compute path length for each point
        Eh = h_temp/self.ntrees                                             # Average of path length travelled by the point in all trees.
        S[i] = 2.0**(-Eh/self.c)                                            # Anomaly Score
    return S

class Node(object):
"""
A single node from each tree (each iTree object). Nodes containe information on hyperplanes used for data division, date to be passed to left and right nodes, whether they are external or internal nodes.
Attributes
----------
e: int
    Depth of the tree to which the node belongs.
size: int
    Size of the dataset present at the node.
X: list
    Data at the node.
n: list
    Normal vector used to build the hyperplane that splits the data in the node.
p: list
    Intercept point through which the hyperplane passes.
lef: Node object
    Left child node.
right: Node object
    Right child node.
ntype: str
    The type of the node: 'exNode', 'inNode'.
"""
def __init__(self, X, n, p, e, left, right, node_type = '' ):
    """
    Node(X, n, p, e, left, right, node_type = '' )
    Create a node in a given tree (iTree objectg)

    Parameters
    ----------
    X : list of list of floats
        Training data available to each node. List of [x1,x2,...,xn] coordinate points.
    n : list of floats
        Normal vector for the hyperplane used for splitting data.
    p : list of floats
        Intercept point for the hyperplane used for splitting data.
    left : Node object
        Left child node.
    right : Node object
        Right child node.
    node_type : str
        Specifies if the node is external or internal. Takes two values: 'exNode', 'inNode'.
    """
    self.e = e
    self.size = len(X)
    self.X = X # to be removed
    self.n = n
    self.p = p
    self.left = left
    self.right = right
    self.ntype = node_type

class iTree(object):
"""
A single tree in the forest that is build using a unique subsample.

Attributes
----------
exlevel: int
    Extension level used in the splitting criteria.
e: int
    Depth of tree
X: list
    Data present at the root node of this tree.
size: int
    Size of the dataset.
dim: int
    Dimension of the dataset.
Q: list
    List of ordered integers smaller than dim.
l: int
    Maxium depth a tree can reach before its creation is terminated.
n: list
    Normal vector at the root of this tree, which is used in creating hyperplanes for splitting critera
p: list
    Intercept point at the root of this tree through which the splitting hyperplane passes.
exnodes: int
    The number of external nodes this tree has.
root: Node object
    At each node create a new tree.

Methods
-------
make_tree(X, e, l)
    Builds the tree recursively from a given node. Returns a Node object.
"""

def __init__(self,X,e,l, exlevel=0):
    """
    iTree(X, e, l, exlevel=0)
    Create a tree

    Parameters
    ----------
    X : list of list of floats
        Subsample of training data. |X| = iForest.sample_size. List of [x1,x2,...,xn] coordinate points
    e : int
        Depth of the tree as it is being traversed down. e <= l.
    l : int
        The maximum depth the tree can reach before its creation is terminated.
    exlevel : int
        Specifies degree of freedom in choosing the hyperplanes for dividing up data. Must be smaller than the dimension n of the dataset.
    """
    self.exlevel = exlevel
    self.e = e
    self.X = X                                                              #save data for now. Not really necessary.
    self.size = len(X)
    self.dim = self.X.shape[1]
    self.Q = np.arange(np.shape(X)[1], dtype='int')                         # n dimensions
    self.l = l
    self.p = None                                                           # Intercept for the hyperplane for splitting data at a given node.
    self.n = None                                                           # Normal vector for the hyperplane for splitting data at a given node.
    self.exnodes = 0
    self.root = self.make_tree(X,e,l)                                       # At each node create a new tree, starting with root node.

def make_tree(self,X,e,l):
    """
    make_tree(X,e,l)
    Builds the tree recursively from a given node. Returns a Node object.

    Parameters
    ----------
    X: list of list of floats
        Subsample of training data. |X| = iForest.sample_size. List of [x1,x2,...,xn] coordinate point.
    e : int
        Depth of the tree as it is being traversed down. Integer. e <= l.
    l : int
        The maximum depth the tree can reach before its creation is terminated. Integer.

    Returns
    -------
    Node object
    """
    self.e = e
    if e >= l or len(X) <= 1:                                               # A point is isolated in traning data, or the depth limit has been reached.
        left = None
        right = None
        self.exnodes += 1
        return Node(X, self.n, self.p, e, left, right, node_type = 'exNode')
    else:                                                                   # Building the tree continues. All these nodes are internal.
        mins = X.min(axis=0)
        maxs = X.max(axis=0)
        idxs = np.random.choice(range(self.dim), self.dim-self.exlevel-1, replace=False)  # Pick the indices for which the normal vector elements should be set to zero acccording to the extension level.
        self.n = np.random.normal(0,1,self.dim)                             # A random normal vector picked form a uniform n-sphere. Note that in order to pick uniformly from n-sphere, we need to pick a random normal for each component of this vector.
        self.n[idxs] = 0
        self.p = np.random.uniform(mins,maxs)                               # Picking a random intercept point for the hyperplane splitting data.
        w = (X-self.p).dot(self.n) < 0                                      # Criteria that determines if a data point should go to the left or right child node.
        return Node(X, self.n, self.p, e,\
        left=self.make_tree(X[w],e+1,l),\
        right=self.make_tree(X[~w],e+1,l),\
        node_type = 'inNode' )

class PathFactor(object):
"""
Given a single tree (iTree objext) and a data point x = [x1,x2,...,xn], compute the legth of the path traversed by the point on the tree when it reaches an external node.
Attributes
----------
path_list: list
    A list of strings 'L' or 'R' which traces the path a data point travels down a tree.
x: list
    A single data point, which is represented as a list of floats.
e: int
    The depth of a given node in the tree.

Methods
-------
find_path(T)
    Given a tree, it finds the path a single data points takes.

"""
def __init__(self,x,itree):
    """
    PathFactor(x, itree)
    Given a single tree (iTree objext) and a data point x = [x1,x2,...,xn], compute the legth of the path traversed by the point on the tree when it reaches an external node.

    Parameters
    ----------
    x : list of floats
        A data point x = [x1, x2, ..., xn].
    itree : iTree object
        A single tree.
    """
    self.path_list=[]
    self.x = x
    self.e = 0
    self.path  = self.find_path(itree.root)

def find_path(self,T):
    """
    find_path(T)
    Given a tree, find the path for a single data point based on the splitting criteria stored at each node.

    Parameters
    ----------
    T : iTree object

    Returns
    -------
    int
        The depth reached by the data point.
    """
    if T.ntype == 'exNode':
        if T.size <= 1: return self.e
        else:
            self.e = self.e + c_factor(T.size)
            return self.e
    else:
        p = T.p                                                             # Intercept for the hyperplane for splitting data at a given node.
        n = T.n                                                             # Normal vector for the hyperplane for splitting data at a given node.

        self.e += 1

        if (self.x-p).dot(n) < 0:
            self.path_list.append('L')
            return self.find_path(T.left)
        else:
            self.path_list.append('R')
            return self.find_path(T.right)

def all_branches(node, current=[], branches = None):
"""
Utility function used in generating a graph visualization. It returns all the branches of a given tree so they can be visualized.
Parameters
----------
node: Node object

Returns
-------
list
    list of branches that were reached.
"""
current = current[:node.e]
if branches is None: branches = []
if node.ntype == 'inNode':
    current.append('L')
    all_branches(node.left, current=current, branches=branches)
    current = current[:-1]
    current.append('R')
    all_branches(node.right, current=current, branches=branches)
else:
    branches.append(current)
return branches


updated sample, removed swagger, bumped to neutron v1beta2

Minimum Java version: 1.8
Removed JDBC @gangtao I'm not quite sure how JDBC works right now. Let's sync during the standup. Maybe we should not remove it?
Removed swagger client. Used http request directly

https://github.com/timeplus-io/neutron/issues/1238

(Jove Github Bot) assuming it is not done, deferred this ticket to the next sprint.

(Jove Github Bot) moved this ticket out of the GitHub project(up to 1200 tickets for one project).


One of the setGitDir or setWorkTree must be called

How to resolve this error as i have downloaded the zip and added as module

We fully rely on git when it comes to versions management. To solve the problem, clone the repository instead of using zip.


feat: add debug mode

This allows to print the parse tree when doing cargo r -- -f script.sh -d

This is amazing. Makes debugging much easier! :)

Example output:
 FILE
 └─ complete_command
    └─ list
       └─ and_or
          └─ pipeline
             └─ pipe_sequence
                └─ command
                   └─ simple_command
                      ├─ cmd_name
                      │  └─ UNQUOTED_PENDING_WORD
                      │     ├─ UNQUOTED_CHAR "e"
                      │     ├─ UNQUOTED_CHAR "c"
                      │     ├─ UNQUOTED_CHAR "h"
                      │     └─ UNQUOTED_CHAR "o"
                      └─ cmd_suffix
                         └─ UNQUOTED_PENDING_WORD
                            └─ QUOTED_WORD
                               └─ DOUBLE_QUOTED
                                  └─ QUOTED_PENDING_WORD
                                     ├─ QUOTED_CHAR "H"
                                     ├─ QUOTED_CHAR "e"
                                     ├─ QUOTED_CHAR "l"
                                     ├─ QUOTED_CHAR "l"
                                     ├─ QUOTED_CHAR "o"
                                     ├─ QUOTED_CHAR ""
                                     ├─ QUOTED_CHAR "W"
                                     ├─ QUOTED_CHAR "o"
                                     ├─ QUOTED_CHAR "r"
                                     ├─ QUOTED_CHAR "l"
                                     ├─ QUOTED_CHAR "d"
                                     └─ QUOTED_CHAR "!"


Lint and format without saving the file / based on selected language

Check for existing issues

[X] Completed

Describe the feature
Usually I only use zed for quick prototyping code snippets or copy & pasting things around.
It's really annoying that I have to save the file somewhere and give it a name just to format the code and lint it.
So my feature request is pretty simple:
Open a new file -> select a language -> paste code.
Should be able to lint and format
If applicable, add mockups / screenshots to help present your vision of the feature
No response

I concur, having CMD+SHIFT+P option to Lint/Format with given pane syntax (bottom right) selected would definitely help. TBH: CMD+SHIFT+P syntax selection (Select Language) would help as well - currently syntax can only be selected with mouse click.


Severe frame drop whenever JEI support is enabled

The modpack I am using is Better MC Fabric BMC2. Whenever the magnifying glass is clicked on, the interface goes at 1 frame per second.

JEI does not have a magnifiying glass, are you using EMI?
EMI craftables mode (magnifiying glass button) does have severe frame drop issues with a lot of items.

Most likely

JEI does not have a magnifiying glass, are you using EMI? EMI craftables mode (magnifiying glass button) does have severe frame drop issues with a lot of items.

It more so happens whenever it is enabled in the first place


[Bug] IPC failed to decode big partial response

Component
provider, pubsub, rpc
What version of Alloy are you on?
v0.1.1
Operating System
macOS (Apple Silicon)
Describe the bug

OS
IPC
Crash?

Linux
geth
N

Linux
reth
N

macOS
reth
Y

To reproduce:
cast code 0xe9ff7ca11280553af56d04ecb8be6b8c4468dcb2 -r /tmp/reth.ipc

I don't have a geth on mac, so I cannot test. But I think it should be due to the different OS IPC implementations
Related: #605

right this check is bad and will terminate the stream if the response exceeds the default buffer capacity:
https://github.com/alloy-rs/alloy/blob/5eadbf18c468d6b77aa0f3210b80245aa431f3f4/crates/transport-ipc/src/lib.rs#L158-L162
it should be removed, or increased to something more reasonable.
trace responses can exceed ~120 so we should select a more appropriate limit, since IPC is local we could also remove this entirely.

do you want to take this @publicqi ?

Sure. I'll made a PR.


Generator version is nowhere to be seen

So, you generally want to know which version the code was generated with, so everyone on the team can use the same version to regenerate, producing small, meaningful diffs instead of changing each of the 30 generated files in 100 places.
Unfortunately, the generator doesn't leave any trace of its version, neither in the generated code's comments:
// GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

nor even in its own binary (that I've built from a tagged release downloaded from here):
$ tg
NAME:
   golang service 't'ransport 'g'enerator (tg) - make Go-Kit API easy

USAGE:
   tg [global options] command [command options] [arguments...]

VERSION:
   local.dev
...

Stop it! Get some help. What command-line utility doesn't report its own version, ffs? At least put the commit hash there somewhere

Append tg version constant in v2.2.15

tg --version
golang service 't'ransport 'g'enerator (tg) version v2.3.21
version.go in transport package
Stop it! Look carefully.


[Bug] CKEditor 5 upload image + compatibility

Bug report
What I did
There are two problems:

Try to upload an image using CKEditor or aka field 'wysiwyg'

It is not possible to see server folders has old versions and select and image.

In old version you can see this button to select image from server. Old version use elfinder.

What I expected to happen
Somehow be able to upload an image to the server.
What happened
Image not showing in the editor.
What I've already tried to fix it
After research i found:
The console show error: filerepository-no-upload-adapter

You need to enable an upload adapter in order to be able to upload files. But no adapter is configured by defauld.
The parameter filebrowserBrowseUrl use in old version is not present in v5
https://ckeditor.com/docs/ckeditor5/latest/updating/ckeditor4/ckeditor4-configuration-compatibility.html
First column V4 second colum equivalent v5

Is it a bug in the latest version of Backpack?
Yes
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version the output is:

Hey @promatik, Need your help here.
It seems like our build is missing the adapter for file handling
and CKEditor doc has outdated instructions for file manager integration.
Error guide:
https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-filerepository-no-upload-adapter
A simple upload adapter is available here Simple upload adapter plugin.

Heads-up - might be same issue as https://github.com/Laravel-Backpack/community-forum/issues/641

Heads-up - might be same issue as Laravel-Backpack/community-forum#641

True, it's the same 👌 let's move the conversation there.


Use markdown instead of html escape chars

This is a Bug Report

Problem:
The code in https://github.com/kubernetes/website/blob/master/content/en/docs/contribute/style/write-new-topic.md uses escaped HTML chars to display. The following
{{< codenew file="<RELPATH>/my-example-yaml>" >}}
is displayed using
<pre>{{< codenew file="<RELPATH>/my-example-yaml>" >}}</pre>
The code can be much better than the existing escaped HTML by using markdown properly which will help in easier maintenance and reference.
Found this issue while working on https://github.com/kubernetes/website/pull/18245
Proposed Solution:
Use markdown instead of escaped chars.
Page to Update:
https://kubernetes.io/docs/contribute/style/write-new-topic/#including-code-from-another-file

This appears to be fixed in PR #18858


The input image size is constrained to be smaller, what is the loss if a larger image is used

Is it necessary for the overlap between the two input images to be larger than a certain range to ensure the success rate? If img1 only accounts for a small part of img2, is it easy to fail?

Is it necessary for the overlap between the two input images to be larger than a certain range to ensure the success rate? If img1 only accounts for a small part of img2, is it easy to fail?

Hello Guanfang,
I want to know you try detect in case img1 is a small part of img2 yet ?
if you have solution, can you give me contact for asking some problem ?
Thank you


Dev

- Summary

- Test plan

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

👷 Deploy Preview for theentrepreneurialhour processing.

Name
Link

🔨 Latest commit
5ee83510a6f5dcd5889009eafd9ecf1b30c55173

🔍 Latest deploy log
https://app.netlify.com/sites/theentrepreneurialhour/deploys/64fd4b1f5cfc1b00087874e3


Overlay not working after recent RL update

Hello!
I noticed recently that this plugin doesn't seem to work anymore.
For context, I'm launching RuneLite via the Jagex launcher. The magic birdhouses I'm using are either showing "unbuilt" or "unseeded" regardless of the state. I'm not sure if the plugin needs to be patched to work with the updated client or not.

Hi folks, thanks for bringing this to our attention. @hong-niu and I haven't played RS in a while and we're both a little busy with other obligations, so we might not be able to get around to this for a bit (maybe not until next week at the earliest). Y'all are welcome to submit a PR for a fix since the code isn't terribly complicated. Thanks and appreciate you all for using this plugin!

@li-cody would you consider using blue instead of green for the indicator? I know this is off topic for the thread but this this is imporatnant

because of colonblind

@edl13 You can change the color of the overlay in the settings.


Fix NodePath property assignments when reparenting nodes

Fixes #80589
The skeleton path is updated with a new relative path before node reparenting completes so MeshInstance3D tries to find the skeleton before moving to the expected position. Base on my observation, the skeleton path will be resolved after MeshInstance3D enters the tree again after the node reparenting.

While this does silence the error I think a superior solution is to ensure the issue doesn't happen in the first place, the issue is caused by the incorrect order of actions during reparenting, the path is not cleared before reparenting, and then set to the new value
But I think this is a good solution in the meantime

I think there is one issue to be solved. If we ensure node reparenting completes before updating properties like the skeleton path, MeshInstance3D will try to find the skeleton once it enters the tree and trigger the error as the skeleton path is not updated. If we ensure properties are updated before it enters the tree, it will also fail to find the skeleton as the node is not in the expected path. So it seems that we need to find out the right timing to call the _resolve_skeleton_path function and ensure the skeleton is always up to date but I found it hard.

On second thought I don't think this is a correct solution, the error here matters, this will mean that you won't get any errors if you assign an invalid path
I think the correct approach is to ensure the reparenting works correctly instead

This seems to correctly fix the linked issue, but I can't say that I fully understand what it does. I did some basic tests and there are no regressions.
Needs rebase, because it doesn't compile on master.

I just opened an issue that looks related: #83936
This PR doesn't fix it however. Maybe it could be handled with some minimal changes? (although it's ok if it's fixed in another PR)


Not "easy 2 clicks install"

First of all thats not just copy files - youre done.
Just pasting files in directory havent helped, i saw 404 on manage/install.
So you have to modify /etc/nginx/sites-available/default and add the rewrite rules in your Host's locations ( 80,443 ) and # the default / location like done below.
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST';
add_header 'Access-Control-Allow-Headers' 'origin, x-requested-with, content-type';
    #Re-write Rule
    location /
    {
            rewrite ^/callback/?$ /callback.php last;
    }

    location /manage
    {
            if ($uri !~ "assets")
            {
                    set $rule_0 1$rule_0;
            }

            if ($rule_0 = "1")
            {
                    rewrite ^/(.*)$ /manage/index.php;
            }
    }
    #Rule end
    #location / {
            # First attempt to serve request as file, then
            # as directory, then fall back to displaying a 404.
    #       try_files $uri $uri/ =404;
    #}

Then i saw this : *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function curl_init() in /var/www/html/manage/src/Component.php:61
So, we should install php-curl ( that wasnt done on clean system )
sudo apt-get install php-curl

Hi,
What is the question?

no questions:)just wrote tips that helped me in installing on clean system, maybe they should be added in tips?05.09.2018, 16:26, "elyesa" notifications@github.com:Hi,
What is the question?
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.

Still can't it to work on a clean system. A Cleaner detailed installation would be helpful @ssl @ultras5631 .


in libs/langchain/langchain/text_splitter.py comments before class/function will be splitter from class/function itself

Feature request
Hello
The best practice is using comments inside the class/function,
however, comments/TODOs have been placed before in many cases,
Splitting it from the class/function hides some free text that can help understand the purpose and intention of class/function and may cause misinterpreted code blocks before attaching text unrelated to this block.
more visual:
import module

#TODO fix bug described in JIRA-WL313, wrong calculation in corner case
class1():
    pass

#TODO make classes great again,by adding better parsing
class2():
    pass

chunks would be
chunk1
import module

#TODO fix bug

chunk2
def class1():
    pass

#TODO make class great again one day

chunk3
def class2():
    pass

I suggest making the split aware of such a possibility.
Best regards
Ilya
Motivation
enrich code chunks by attaching relevant information to right chunks even if someone not follow best practice
Your contribution
i would be happy to submit PR in case you guys think it will improve langchain which I absolutely love

@dosu-bot it mean you believe it would be good to submit such PR?


feat: update bin/sam-translate.py

Add additional commands
Update parameters to be consistent with SAM CLI
Add additional parameters
Improve logging
Fixes

Codecov Report

Merging #873 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #873   +/-   ##
========================================
  Coverage    94.66%   94.66%
========================================
  Files           69       69
  Lines         2978     2978
  Branches       547      547
========================================
  Hits          2819     2819
  Misses          84       84
  Partials        75       75

Continue to review full report at Codecov.

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


buildImage: detect architecture

Fix #34
Tested on my Raspberry Pi 4. Result here Unfortunately, Github does not provide aarch64 runners or allow binfmt so I cannot write tests.

Nice, thank you!