Any reason list-all versions can't be obtained from 'github.com/golang/go' or 'go.googlesource.com/go/+refs'?

I was originally looking at this because asdf latest golang (which uses list-all internally) is noticeably slower than some of my other asdf plugins. Looking at some hyperfine benchmarks, I see it takes around 5s to complete compared to nodejs (0.5s) and python/ruby (60ms).
I assume part of that is the extra processing for truncated data + XML handling.
I was wondering if asdf-golang could just access tags from one of golang's repos.
Looking at how some alternative version managers do this:

gvm - logic using git ls-remote -t  https://github.com/golang/go,

https://github.com/moovweb/gvm/blob/19365a6ab8ac4920234b2612c529eed2373299db/scripts/listall#L35
this implementation uses git and awk (both extra dependencies). awk can usually be replaced with other tools. git would depend on whether golang exposes data via GitHub API (curl-able)
logic is much simpler, which should also mean easier maintenance.
A basic variant of above combined with existing asdf-golang logic runs on my system in ~0.5sgit ls-remote --tags https://github.com/golang/go "go*" \
  | awk -F/go '{ print $2 }' \
  | uniq \
  | sort -t. -k 1,1 -k 2,2n -k 3,3n -k 4,4n -k 5,5n \
  | tr '\n' ' '

EDIT: Another variant using GitHub API thru curl, grep, sed runs in ~0.25s.  A couple asdf plugins that use GitHub API usually add logic for optionally using GITHUB_API_TOKEN probably to increase GitHub rate limits.curl --silent --location "https://api.github.com/repos/golang/go/git/refs/tags" \
    | grep '"ref".*go' \
    | mysed 's/.*go([0-9].*)",/\1/' \
    | uniq \
    | sort -t. -k 1,1 -k 2,2n -k 3,3n -k 4,4n -k 5,5n \
    | tr '\n' ' '

g - logic using curl --silent --location "https://go.googlesource.com/go/+refs"

https://github.com/stefanmaric/g/blob/1a9a135d07975c2ba804ddfae9a4089c9773ffe4/bin/g#L348
this implementation uses curl and grep/tr (same dependencies).
logic is again much simpler
A variant using the defined mysed runs on my system in ~0.4s.curl --silent --location "https://go.googlesource.com/go/+refs" \
  | grep -E -o '"/go/\+/refs/tags/go.+?"' \
  | mysed 's/.*go([0-9].*)"$/\1/' \
  | uniq \
  | sort -t. -k 1,1 -k 2,2n -k 3,3n -k 4,4n -k 5,5n \
  | tr '\n' ' '

Comparing the output, it looks like the above options include some older versions of go from v1 up to v1.2.1.

:thinking:  The reason for working from the bucket to begin with so we could be sure it's available to download from dl.google.com. What are your thoughts on how we would avoid listing tagged versions that aren't available?

I think the main issue is old versions (I previously saw v1 up to v1.2.1, which I don't think are available to download).
I don't know how often newer tags have issues.
May need to see if the bucket and git repos are updated in-sync.

Currently, using the bucket does have its own quirks.
For example, it is showing some versions that probably shouldn't be accessed:
.dmitshur_apr1_v0/go1.15.11
.dmitshur_apr1_v0/go1.16.3
1.15.12_amedee_v1/go1

Also, some of the currently listed versions may not be installable depending on hardware/architecture.
For example, the oldest listed version 1.2.2 probably cannot be accessed on Mac via asdf-golang:

I think it will try non-existent: https://dl.google.com/go/go1.2.2.darwin-arm64.tar.gz
Instead need to access: https://dl.google.com/go/go1.2.2.darwin-amd64-osx10.8.tar.gz
(with some tedious logic like GVM, which is probably broken with Big Sur [11.x] release: https://github.com/moovweb/gvm/blob/master/scripts/install#L159-L163)

I think the simplicity/maintainability/speed of the git repo tags outweighs the demerits of listing some very old, non-installable versions (which could possibly be filtered out).
Though, this is my opinion, so will let others comment further.

How about introducing a very basic form of caching? Writing the already processed data to something like ~/.cache and loading it when the checksum of the downloaded non-processed data matches a key stored next to the cached data.
Though I don't know if its the processing of the XML that takes the most time and if pickling the processed data within Bash can be easily done


Fixed typographical error, changed accomodate to accommodate in README.

scala, I've corrected a typographical error in the documentation of the scala-abide project. You should be able to merge this pull request automatically. However, if this was intentional or you enjoy living in linguistic squalor please let me know and create an issue on my home repository.

thank you!


Create stable branch

@olivier-stasse @destogl @Karsten1987 please let me know to create it

We could have a first stable branch once most of the README.md has migrate to the doc directory.
This way it will consistent with ros2_control.

obsolete for now and duplicate to the restructuring effort


Made shell scripts conform to posix shell syntax.

Because why not.

I skipped through this PR and I have following starting observations:

I can see some good ideas I would agree with and others I would not recommend. Probably some changeset splitting of the ideas would also help the review.
"for arg; do" : this seems buggy and needs to be fixed (and tested).
you are changing (removing and sometimes adding) the curly brackets variable references. both of them are POSIX conform, so out of scope for this PR (or should be splitted in an own changeset). I also recommend to be consistent (always with or always without).
There is one "find" command (replacing the "rm") with many -name options before the -exec. I didn't deeply check, but it rings me a bell: do we need some brackets?

Why? Everybody has bash installed -- even if its not their preferred shell.

@edmondo

Splitting the commit is probably a good idea.
for arg; do is a shorthand for for arg in "$@"; do
I omitted the braces only at the and of the string and before spaces, everywhere else I made sure t hey are there. I could add them to every variable if you think that's better.
No that command should work. Even the -as aren't strictly necessary, as they are added implicitly if missing.

@Joshua-Ashton
Maybe someone doesn't want bash installed?
Idk, I don't like bash-specific scripts.

Maybe someone doesn't want bash installed?
Maybe they don't want to use 50% of Linux scripts 🤷♂

@doitsujin I have not tested it. I do not even know what the scripts do tbh.
But shellcheck approves, so it's probably fine, right?

Okay I split the commit and added curly braces to all variable references.

@openglfreak Thanks

for arg; do is a shorthand for for arg in "$@"; do

You are right.

No that command should work. Even the -as aren't strictly necessary, as they are added implicitly if missing.

Yes, it should be OK. Anyways I would make sure we just remove regular files not starting with . and not ending with .dll and probably write it like this:
find "${DXVK_BUILD_DIR}/x$1" -type f ! \( -name '.*' -o -name '*.dll' \) -exec rm {} \;
On a more personal note I actually prefer a bash script to use /bin/bash. It's getting a bit theoretical now, but I'm not sure if it's somewhere defined that /bin/sh must be a POSIX conform shell, so maybe it's just easier to let it be a bash script.
And yes, please test both scripts.

I still don't see the point -- it's not like anyone doesn't have bash (pretty much every script requires it) and it just makes the code harder to read and more convoluted which overall seems less maintainable and more annoying imo.

This is still open?
Wow, I completely forgot about this pr.

I still don't see the point -- it's not like anyone doesn't have bash (pretty much every script requires it)

There are a lot of great reasons to avoid bash including infinite loops that are treated as "Won't fix" because the example scripts are disagreeable...

it just makes the code harder to read and more convoluted which overall seems less maintainable and more annoying imo.

I won't deny this PR has issues and still required work, but its its very possible to write portable and readable shell. If there is interest I could be convinced to redo this PR.


Production CSID doesn't cover simplified document

Hi All,
When we do reporting for the simplified document we are usually getting this error.
"Production CSID doesn't cover simplified document"
are we doing some thing wrong or it is from Zatca?

https://github.com/wes4m/zatca-xml-js/issues/34


Backspace, Delete, Arrow Keys, Ctrl/Shift, etc. stop working sometimes

Issue Type: Bug
Sometimes all special keys stop working. Alphanumeric keys still work.
Focussing another window (browser, outlook, etc.) and going back to VSCode fixes the problem temporarily.
It appeared since I installed MS PowerToys and using of FancyZones. Let me now if you need more Information.
Here is the PowerToys Report as well
PowerToysReport_2022-03-09-08-33-37.zip
VS Code version: Code 1.65.0 (b5205cc8eb4fbaa726835538cd82372cc0222d43, 2022-03-02T11:12:08.962Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz (8 x 2304)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.78GB (17.29GB free)

Process Argv
--crash-reporter-id c8d0f82e-df45-4237-8bb0-dc72b670fdc8

Screen Reader
no

VM
0%

Extensions (21)

Extension
Author (truncated)
Version

openscad
Ant
1.1.1

doxdocgen
csc
1.4.0

todo-tree
Gru
0.0.215

plantuml
jeb
2.17.2

better-cpp-syntax
jef
1.15.13

svg
joc
1.4.17

vscode-language-pack-de
MS-
1.65.2

python
ms-
2022.2.1924087327

vscode-pylance
ms-
2022.3.0

jupyter
ms-
2022.2.1030672458

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.6

remote-containers
ms-
0.224.2

remote-ssh
ms-
0.76.1

remote-wsl
ms-
0.64.2

cmake-tools
ms-
1.9.2

cpptools
ms-
1.8.4

cpptools-extension-pack
ms-
1.1.0

autodocstring
njp
0.6.1

cmake
twx
0.0.17

vscode-arduino
vsc
0.4.11

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vstes627:30244334
pythonvspyl392:30443607
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstartedc:30433508
vsclayoutctrt:30448491
dsvsc008:30440022
pythonvsnew555cf:30442237
vsbas813:30436447
vscscmwlcmt:30438805
vscgsvid2:30447481
helix:30440343
vscaat:30438848

/needsMoreInfo
Please follow steps in https://github.com/microsoft/vscode/wiki/Keybinding-Issues to see if VS Code receives this keys at all and what actions are resolved when problem appears.

Pressing 'F1' to run the command already resolves the issue temporarily

The Problem is definitely related to the use of MS PowerToys!
I worked two days without PowerToys enabled and haven't seen the issue. Enabling PowerToys again and issue appeared after 2-3 hours.

When the problem reproduces, could you please try the following:

Run the command Developer: Toggle Keyboard Shortcuts Troubleshooting
This will activate logging of dispatched keyboard shortcuts and will open an output panel with the corresponding log file.
Press exactly the keybinding you desire.
check what VS Code detects and what command is invoked.


Crash under X11 instead of error message

It should print something like: This is a wayland bar. It can't run under X11.
Currently:
 ~ >>> waybar

(waybar:3047): Gdk-CRITICAL **: 20:29:59.862: gdk_wayland_display_get_wl_display: assertion 'GDK_IS_WAYLAND_DISPLAY (display)' failed
Exception: waybar killed by signal segmentation fault (core dumped)
[tty], line 1: waybar
 ~ >>>

Should be fixed on master


Only run CodeQL on pushes, not pulls

I find that this is often the slowest test in my CI chain and I'm tired of waiting for it to pass before merging. I'd like to delay it until further downstream so it doesn't slow down the merging of PRs -- especially a sequence of multiple small, manageable PRs, which is exactly the good behaviour we don't want to penalize. I'm not sure I've ever seen this test fail, so I'd like to run it later and less often.
On the other hand, this is a security issue. We run CodeQL as a cron job weekly anyhow, and IMO a brief window of vulnerability between the push going through and rolling back any PR that winds up failing this test is probably not an existential threat given the nature of our codebase.
I've been super cavalier pushing to this repo, but this is something I'd appreciate a quick but sober second opinion on.

@jan-janssen had the good idea to rather do this as a label instead, so that it doesn't cause red X's on main, and also doesn't eat CPU hours because it only gets run once per PR.
Related (I'll make a separate issue/PR later), he suggested coverage should be extracted to only happen on pulls and not on push to main, because we don't want that red X on the main branch just because coverage went down a bit. I already thought to pull coverage+integration+benchmark tests out from unittests anyhow, so there may be some combination there.


Stream::__toString() must not thrown an exception

From @shaneiseminger

Method Http\Client\Socket\Stream::__toString() must not throw an exception
When using this library with happyr/linkedin-api-client, I'm getting the above fatal error. Just needs a try/catch block in __toString(). Happy to submit a pull request.

(Originally posted here: https://github.com/php-http/documentation/issues/135)

Thanks!


What to do for multiple commands

Hi Team,
Below is the situation I am facing:
I want to build a cli tool with picocli. I want to bundle it in a fat jar and give it to the users so that they can use it as a cli tool.
The tool is going to have multiple commands. Below is the format:
java commandone -a somevalue
java commandtwo -b someothervalue
For these, i can write classes for each individual commands with the help of @Command annotation.
e.g:
@Command(name="commandcone")
public class CommandOne implements Runnable { ... }
But the problem is, all the example given in the wiki demand to have public static void main() in the class and manually call CommandLine.run( ... ) in order to get the commands executed.
In the case of a tool having multiple commands (not subcommands), what do I do? I can not write main method to each class that i create for a command, right?
Do i manually write the routing for different commands? or is there a mechanism available already in picocli and I am unable to find it properly?
Please help. (btw other features are cool and you guys rock :) )

Hi @NagendraHegde , please take a look at this example:
https://github.com/remkop/picocli/blob/master/picocli-examples/src/main/java/picocli/examples/subcommands/ParentCommandDemo.java
It demonstrates how to code a top-level command with a single subcommand.
You can add more subcommands by adding them in the @Command(subcommands = {Aaa.class, Bbb.class, Ccc.class, ...}) list.
It is a good idea to make all your commands implement Runnable or Callable (either one is fine), then in your main method you can simply say:
CommandLine.run(new RunnableTopCommand(), args);

// or, if the top-level command implements Callable:
// CommandLine.call(new CallableTopCommand(), args);

Picocli will execute the most specific subcommand that the user specified. So, for example, if you have a command hierarchy like this:
top
  |
  +- sub
  |    |
  |    +- subsub
  |
  +- sub2
       |
       +- sub2sub

Then, when the user invokes top --option sub subsub --otheroption,
picocli will call run (or call) on the subsub subcommand (the most specific subcommand that the user specified.)

@NagendraHegde Did this answer your question?

@NagendraHegde Were you able to make progress or do you have follow-up questions?

@NagendraHegde Can this ticket be closed?

In the case of a tool having multiple commands (not subcommands), what do I do? I can not write main method to each class that i create for a command, right?

Since you are talking about top-level commands (not subcommands), every top-level command will need a separate class with its own main method to run it.

If your application has multiple top-level commands, each of these will need its own main method so it can be called from the commandline like this:
java -cp myjar.jar com.package.CommandOneClass -a somevalue
java -cp myjar.jar com.package.CommandTwoClass -b someothervalue

Your jar can only have one Main-Class in its manifest, and that will be the command when users invoke the jar as an application, like this:
java -jar myjar.jar -x somevalue

If you have multiple top-level commands, what people often do is provide multiple script files (shell script or batch scripts) that the end user can invoke. For example, for Windows:
# commandone.bat
java -cp myjar.jar com.package.CommandOneClass %*

This allows end users to call the command with its script name.
Build tools like gradle offer plugins that can generate these scripts for you.

Closing this ticket. Feel free to reopen if you want further clarification

I have the same problem and I find the last comment more as a workaround than a real solution.
This jar will receive args[] so it has all what it needs to have in order to interprete parameters. I don't see why we should require some bash or batch scripts here.
Isn't there a better solution which could work with picocli without having to use a script ?

@sebastienvermeille, would you mind creating a new ticket to explain your use case?

@sebastienvermeille The OP never replied after multiple comments so it’s hard to say whether I understood their problem. I’m happy to help but it would be good if you could explain in your own words what it is you’re trying to achieve.

@remkop sure if can help somehow I will :)
I create one right now with the more details I can give

@NagendraHegde I feel that I didn’t explain things very well in response to your question.
Please take a look at #641: perhaps my answer there is more clear and hopefully the discussion on that ticket is useful to you as well.


Set up closure compile for chrome app scripts.

The background window in the chrome app should have it's own closure compiled file, as it doesn't need all of the sources that app window does.

Closing due to age.


Reentrancy Crash on start in iOS with install method

Hello,
We have been using react-native-mmkv for almost two years with a very good experience, using it coupled with redux-persist.
While switching from unimodules to new expo integration, introducing more JSI cool architecture stuff, we end up having our app crash on start on iOS.
package.json
    "expo": "48.0.20",
    "react-native-mmkv": "2.10.1",

Error
Looking at the issue and based on analog discussion found here, our understanding is that in the MMKVModule, it seems that it's a thread issue linked to the use of RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD for the install method, that React-Native does not recommend.
We tried to come up with simple workarounds but changing the method to make not synchronous and potentially solve the thread issue but failed due to the lack of deep understanding of the library on our part.
Screenshot

Is this issue reproductible on your side or do you have a workaround? Do not hesitate if you need more precision!
Thanks for the library, have a good day!

Hey! Glad to hear you've been using my library for over 2 years without any problems 😄
I don't know where that Expo issue is coming from, I'm just guessing that they changed the threading and/or order of execution in synchronous methods, but I am not using Expo in any of my apps at the moment so I don't experience the same bug.
If you find a solution don't hesitate to send a PR and I'll gladly review/merge.
If you don't, we're happy to make this work for you through my agency, Margelo :)

Did you ever figure this out @judastheo ?

Hey - I think this has been fixed in V3 beta.


Add specified HTTP method validation.

I Added a function to check if a method in the input string list is a valid method supported by HTTP when specifying a method using "route".
Sometimes I entered this value incorrectly and suffered incorrect behavior.
Checklist:
[x] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
[x] Add or update relevant docs, in the docs folder and in code.
[x] Add an entry in CHANGES.rst summarizing the change and linking to the issue.
[x]  Add .. versionchanged:: entries in any relevant code docs.
[x] Run pre-commit hooks and fix any issues.
[x] Run pytest and tox, no tests failed.

I think this has come up before, but can't find the discussion. Any value is technically ok, for example there are methods used by webdav, which you've added, but there may be others as well.
This would be good as a linting plugin, but I don't think it should be an error.

Thanks for reviewing my code!


Logtail config server

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: Takuka0311:x: yemo.xkjyemo.xkj seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Introduction to programming loops in stata.

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Proposed title of article
Your title should be descriptive of the article/tutorial. Be Specific. Use keyword research to gain your article higher ranking.
Introduction paragraph (2-3 paragraphs):
Please write the Introductory paragraph(s), that would be included in your article. We will use this writing snippet to help us assess overall quality before approval. We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Take your time and write the content as you would intend to get it published.
Key takeaways:
What are the 3-5 most important things the reader should understand or be able to do after reading this article? Use this area to get your ideas down on the bulk of your article or tutorial.
References:
Please list links to any published content/research that you intend to use to support/guide this article.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

@pelmak
Good afternoon and thank you for submitting your topic suggestion.
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

@Pelmak
There is not information here for us to review/approve the topic other that the title??

@Pelmak, it's been some time since this topic suggestion has been opened and unfortunately since you have not filled in the topic suggestion form, we are unable to review your topic for consideration.
To make room in the queue, we are closing this but feel free to reopen once you've filled in the above form.

Ok, thank you. I will work on it.


Roll engine 0d83a2ecd1bb..95f9134e9aff (5 commits)

https://github.com/flutter/engine/compare/0d83a2ecd1bb...95f9134e9aff
git log 0d83a2ecd1bb78f8e1f0ed9719ff3751cdfdd064..95f9134e9affdebff024f651cb8107fd3bb47e26 --no-merges --oneline
95f9134e9 Roll src/third_party/skia d90004516a63..62fd6c411622 (4 commits) (flutter/engine#8306)
358273bd2 Roll src/third_party/skia 33211b2c7a02..d90004516a63 (1 commits) (flutter/engine#8305)
2804057bf Roll src/third_party/skia 80dd599e91d0..33211b2c7a02 (1 commits) (flutter/engine#8303)
a673bbf6f Roll src/third_party/skia c5ee499f2c59..80dd599e91d0 (5 commits) (flutter/engine#8301)
d88037dc0 Roll src/third_party/dart fa74184b7a..093c2909fe (71 commits)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (bmparr@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5310829414055936 , https://cirrus-ci.com/task/5029354437345280

Commit queue failed; closing this roll.


Prevent inputs to spin slider while popup is visible

Fixes #66909. Once we decide to enter focus on the popup, we can ignore any further input events until the popup is closed. This seems to prevent the bug where a stray mouse button pressed event causes the mouse to get stuck in captured mode.
I am a noob! If a GUI or editor expert could review this I would really appreciate it. There may be smarter or more elegant ways to fix this, but this is nice and simple and at least for me, it fixes #66909.

With the switch from Popup to Control in #67397, it would probably best to recheck, if this is still needed and works as expected.

The linked issue is fixed, so this is probably not needed anymore.


secretless

Added

Azure CLI Token credential (didn't have it before)

Changed

Secretless build, using federated service principal.

Fixed

Codecov Report
Attention: Patch coverage is 8.00000% with 23 lines in your changes are missing coverage. Please review.

Project coverage is 58.46%. Comparing base (d112a99) to head (03cada7).
Report is 1 commits behind head on master.

Files
Patch %
Lines

...t/azure/kusto/data/auth/AzureCliTokenProvider.java
0.00%
14 Missing :warning:

...azure/kusto/data/auth/ConnectionStringBuilder.java
22.22%
7 Missing :warning:

...ft/azure/kusto/data/auth/TokenProviderFactory.java
0.00%
1 Missing and 1 partial :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #360      +/-   ##
============================================
- Coverage     58.72%   58.46%   -0.26%
- Complexity      838      839       +1
============================================
  Files           111      112       +1
  Lines          4068     4098      +30
  Branches        428      431       +3
============================================
+ Hits           2389     2396       +7
- Misses         1484     1506      +22
- Partials        195      196       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Issue with codeblocks rendering

I think this is an issue with the latest update. If I enter a triple-backtick to close a codeblock the trailing content's rendering gets messed up in strange ways. Closing  the note and reopening it fixes the rendering.
Screencast from 2024-04-27 14-31-40.webm

Good bug. This is definitely something that's been an issue in the past.

I've not been able to repro this locally. Can you share this file?

I think this has gotten fixed. After the latest update I can no longer reproduce this.

Thank you, once again 🙂

I'm glad you no longer have this this issue, but I have made no changes in this space! Feel free to reopen this issue if it crops up again :)


Separate stack configuration from k8s-cluster-stack repo

Separate the stack configuration from k8s-cluster-stack repo.
Stuff to separate:
deployment of default stack apps
Maybe another repository is required here (e.g. k8s-stack-config).
Info:
There has been done some brainstorming with @SebastianBezold @carslen @hzierer  and @FaGru3n  . Current state has not been pushed to any repository but exists in a local folder structure on Sebastians Notebook
I've started once again, based on kustomize. Maybe we're going to use chart and kustomize.

Hi is this not allready done?

we will close the ticket for now and start recreating this ticket when we have time or feel the pressure again


Error: Error while compiling statement: FAILED: SemanticException Line 1:27 Table or database name may not contain dot(.) character 'dw_test.ods_user_user_douyin' (state=42000,code=40000)

*For better global communication, please give priority to using English description, thx! *
Please review https://dolphinscheduler.apache.org/en-us/docs/development/issue.html when describe an issue.
Describe the question
A clear and concise description of what the question is.
海豚调度使用sqoop导数据到hive3，因为hive3不支持'库名.表名',character 'dw_test.ods_user_user_douyin'，导致报错，
建议生成sqoop脚本的时候，把库名和表明分开
Which version of DolphinScheduler:
DolphinScheduler2.3.2

who can fix it?

I will fix it


Adding initial sig and first meeting notes

Signed-off-by: Diogo Monica<EMAIL_ADDRESS>

/cc @riyazdf @aaronlehmann @cyli

At the risk of bikeshedding something that isn't even code, checking meeting notes into the swarmkit repo feels a little strange do me. Do other Docker projects do this? Is the swarmkit repo the right place, given that the Orchestration Security SIG probably has a broader scope than just swarmkit code (if I understand correctly)?
It's not really a big deal and this might be the right approach, but I was surprised enough that I thought I should ask.

@aaronlehmann we do the same in linuxkit for its security SIG:

general info page here
meeting notes here

It's really great to check the notes into the repo so they are discoverable.
You raise a good point that this is a broader scope beyond swarmkit, though this feels like the best home for now.

@diogomonica: Can you please address the comments?

As this SIG no longer meets, closing this PR.


Add JNSQ-RealDate and GreenKerbs

Two mods on SD yadda yadda... One suit pack and one calendar display config.
https://spacedock.info/mod/2757/Greenkerbs V1
https://spacedock.info/mod/2755/JNSQ Real Date
https://forum.kerbalspaceprogram.com/index.php?/topic/202434-111x-jnsq-real-date-10/

ckan compat add 1.8

Asked a clarification question for JNSQ-RealDate having to do with Kronometer, which is indexed but which JNSQ also bundles.
May be a reason to make some changes to JNSQ.


Warning on startup 'lexical variable'

In the latest version of DOOM/emacs, I get the following warning on startup:
Warning (bytecomp): Unused lexical variable ‘faces’
Warning (bytecomp): Unused lexical variable ‘active’
Also, the modeline on the dashboard doesn't have the same color as it did before reinstalling DOOM/emacs.  However, the make doctor tool doesn't show errors.

I believe this has been addressed on the develop branch. I'll be merging this into master over the weekend.


Edit your literate code document (*.ipynb or *.Rmd) so that it’s sole job is to narrate your analysis, display your analysis artifacts (i.e., figures and tables), and nicely format the report.

Working on making the code literate (.rmd)


Add default limit to multi-stage query engine

Pinot is not able to stream data from brokers to servers. This means that queries that return a large amount of data need keep at least copy in the broker (and depending on the case, another in some server). This may end up producing OOM errors in Pinot components.
On of the protections included in single-query engine is to add a default limit to queries that not include it. For example, a query like select  * from Table is transformed into select * from Table limit 10.
This is an unexpected behavior and that is why Multi-stage query does not apply this technique. But there have been some discussion to apply this in multi-stage as well.
Ideally, we should have the ability to turn this behavior off so users can choose to follow standard SQL semantics (no default limit) or this mode where limits are added.
Notice that this is not enough to guarantee there will be no OOM errors.

Duplicates https://github.com/apache/pinot/issues/12304?


⚠ Bofrost.fr has degraded performance

In 9ae6001, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1469 ms

Resolved: Bofrost.fr performance has improved in db96f79.


Unable to pass newlines as a parameter

I was trying to use JUnitParams to help me parameterize a test for various types of line breaks. The tests were failing and upon further inspection, I came to realize that of the standard line breaks the parameter was an empty string.
Digging through the JUnitParams source, I believe the problem lies in Utils.splitAtCommaOrPipe(). However, I'm not entirely sure what the correct behavior should be. Whitespace should be trimmed in most cases, but it's feasible that you'd want whitespace to be passed as a parameter.
It seems that the workaround is simply to use a method or provider class to supply the values, so this may be intended behavior.

I think that making whitespace characters available in parameters annotation can make code for parsing it too complicated. Besides, it will be more readable and explicit to provide them with method like you proposed.
Thanks for rising this.

I'm using a source class and it still does not work for me


unknown .bin version

I have tried your parser for the .bin file in chunks and keyframe, it gives a error unknown .bin version,
any idea?
is it not using for .bin file in chunks and keyframe?

Don't know what chunks or keyframes you are talking about. Can you upload the file?
Also the error is pretty clear, the version of the file you are using is not yet supported.

bin.zip
File uplaoded.
So it can use for what kind of  bin file?

It was built to be used with ,bin files that are packed inside .wad or present inside champions folder. Don't know what those files you send me are, they don't follow the structure expected for this parser.

So, this parser is not for replay files? whats the output data then?
Im new to study lol data...
thanks for your time~

Not as far as I am aware. .bin is a generic extension and can be used for any file.
Haven't had a look at the replays format yet, will reopen this let you know if I decide to implement them.


Enable users to submit new connectors via the UI

Migrated from GitLab: https://gitlab.com/meltano/hub/-/issues/97
Originally created by @tayloramurphy on 2021-07-02 18:16:46

Following from https://gitlab.com/meltano/hub/-/issues/5 there should be a way to submit new connectors via the UI even if it's making an MR on the backend.

View 2 previous comments from the original issue on GitLab


How to automatically reset to default layout for a tag once it is empty?

Hi Arie,
I have searched on internet and find this post: https://www.reddit.com/r/suckless/comments/s2ch3f/dwm_how_to_reset_to_tiled_layout_when_all_windows/
diff --git a/dwm.c b/dwm.c
index a96f33c..787cd2a 100644
--- a/dwm.c
+++ b/dwm.c
@@ -189,6 +189,7 @@ static void pop(Client *);
 static void propertynotify(XEvent *e);
 static void quit(const Arg *arg);
 static Monitor *recttomon(int x, int y, int w, int h);
+static void resetlayout(const Arg *arg);
 static void resize(Client *c, int x, int y, int w, int h, int interact);
 static void resizeclient(Client *c, int x, int y, int w, int h);
 static void resizemouse(const Arg *arg);
@@ -1269,6 +1270,16 @@ recttomon(int x, int y, int w, int h)
    return r;
 }

+void
+resetlayout(const Arg *arg)
+{
+   Arg default_layout = {.v = &layouts[0]};
+   Arg default_mfact = {.f = mfact + 1};
+
+   setlayout(&default_layout);
+   setmfact(&default_mfact);
+}
+
 void
 resize(Client *c, int x, int y, int w, int h, int interact)
 {
@@ -1788,6 +1799,8 @@ unmanage(Client *c, int destroyed)
    focus(NULL);
    updateclientlist();
    arrange(m);
+   if (!(nexttiled(m->clients)))
+       resetlayout(NULL);
 }

 void

Thanks for your instruction! But I think it seems not a good way. Beacuse It will check all clients in a monitor instead of a specific tag. And this might be dangerous, beacuse we have focus(NULL); updateclientlist(); arrange(m); in the above of resetlayout(), the current focus tag might be already changed. Then it calls resetlayout(), the setlayout() subfunction (in resetlayout()) calls arrange() if the selmon->sel is not empty. So it might cause potential duplicate arrange() call.
So I wonder if there has a safe way to achieve the goal? Thanks ! :-)

Thank you for your Issue regarding the function resetlayout.
I have had a closer look and found out that this implementation I made is not correct, I did not encounter any problems with it yet. The resetlayout function affects the active monitor. The Client which is unmanaged does not need to be on the active monitor. So, this means that when the last Client of a tag is unmanaged on a different monitor the resetlayout function will be called on the active monitor which is not meant to happen.
The nexttiled(m->clients) does look for a next Client that is visible (exuding floating Clients). So, if no Client is visible it will call the resetlayout function. This does indeed need to change to Clients on a specific tag if the pertag patch is in use.
The resetlayout function calls setmfact. This function calls arrange(), there you have already a duplicate.
I have unfortunate not yet a solution to this issue. My first thought is to make a separate function which resets the layout, and the mfact on the correct monitor. With the pertag patch also the correct tag. I will look for a solution, If you also have a suggestion please let me know.


Flickering when scrolling to bottom of page.

This issue only happens once in a while, but does seem to occur in all browsers. When scrolling to the bottom of the page, the fixed sidebar will sometimes flicker rapidly.
Here is a screencap of the issue. The sidebar actually flickers a lot faster than in that video, but I guess video couldn't capture it the speed.
I am using this plugin in conjunction with ResizeSensor.
It seems to be easier to recreate while dev tools/inspector is open. The issue is occurring on this site.
Any help on this would be much appreciated, thanks

This is also happening to me, I'm using it on a Wordpress installation with very few plugins, it happens in every browser when the page doesn't have too much content and is a short one.

I'm also getting this when the content of the sidebar changes height:

Manually scrolling will stop the jitters.

I'm sure there's margin bottom in the last item that inside .sidebar__inner, try to remove margin bottom or  add clearfix on .sidebar__inner.

Removing the margin bottom and adding the clearfix seems to have fixed it for me. Thanks!

Adding the clearfix fixed things for me.

Thank you @abouolia , for me it was margin-top the culprit.

This issue must be in FAQ.


Unable to change the logo and banner images

Unable to change the logo and banner images

Looks like problem in cezerin2-client, api.theme.upload method upload images to cezerin2/theme/assets/images folder, but this folder not available from url in browser http://localhost:3001/theme/assets/images
In the docker installation you don't have  this problems because there is nginbx config resolve this problems with folders.
But if you installing from the source code, problem available with logo uploading, slider images uploading.
Maybe we can find the way how to make this work on any installation for cezerin, must work by default at any instlall (docker or source code).

Fixed


update to browserify-istanbul

https://github.com/fdecampredon/istanbulify/pull/4
for now we can use my fork on https://github.com/peter-mouland/istanbulify

istanbulify is not being developed any more due to devongovett/browserify-istanbul.
we should get this better supported plugin working instead

fixes #58


Install link on home page is broken with GitHub pages 404 error

This link on the main page of dt.plumbing (https://dt.plumbing/user-guide/tutorial/install.html) is broken. It worked yesterday. Now you get a 404 error from GitHub pages.

Yipes!
I changed it intentionally, but didn't preserve the URL. Thanks for reporting. Install instructions are here:
https://dt.plumbing/user-guide/install.html

https://github.com/so-dang-cool/dt.plumbing/commit/814b0ef5558300e8314efb314273e04bdab91fe5


Reducing "default" log verbosity

Avoid having each successful post being logged by default.
(INFO is the JUL default level).

Ping @kmadel & @reviewbybees Thanks

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

Look for some feedback from slack users regarding log level

Honestly, I don't have the energy do ask the community about that on the users list.
Imo it just does make sense: I noticed it working on some customer production logs where there were like 10th of successful posts logged in the global logs.
As the default log level of Jenkins is INFO it makes actually important messages like errors far less visible.
WDYT @jenkinsci/code-reviewers (easy one)?
Thanks

👍 from me. INFO log level is the default one for system logs, and it is not recommended to pollute by success-path info from build execution.
Maybe FINE, not FINEST

@kmadel feedback provided by @oleg-nenashev
Just resolved conflict to enable merging. Could you please consider it again? As Oleg says, IMO it's just a matter of not filling the main server logs with success logs, making it harder to look for actually important messages. Thanks again

@batmat - will merge as soon as Jenkins finishes.

Great, thanks.
2016-10-31 13:54 GMT+01:00 Kurt Madel<EMAIL_ADDRESS>
@batmat https://github.com/batmat - will merge as soon as Jenkins
finishes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jenkinsci/slack-plugin/pull/252#issuecomment-257286326,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANqbUNNEfCGIe-Bba9DlCLsx-ijUxotks5q5eUQgaJpZM4KFDFh
.


Change css naming in assets

Currently (after v5 kickoff update), the final compiled CSS file is named after the project, rather than as kickoff.css.
I would prefer it stayed the same across projects, especially as this can produce weirder results on ocassion – like when the project name is lengthy.
Know this is a bit of an opinion/preference thing, but would it be ok to change this back to the standard kickoff.css as default – allowing people to then change the name in the config?
Thoughts @mrmartineau ?

If you like, but I thought it made sense to name it after the project name..


Better SEO ?

Not sure how you can do that, but whenever I want to find this addon from google it takes me some effort.. searching for "ember bootstrap" doesn't show up at all (not even in the 5th page).

Good point, thanks for pointing this out. I get the link from npmjs.com on second place though...
Might need some link juice, feel free to post about it! ;)


Implementation of OIDC Authentication in sample-project-aws-container

Describe the Issue
We want to show deployment architecture examples that use the Github OpenID Connect authentication with AWS.
For that we want to implement sample config in the sample apps.
There will be one issue per app, this ticket is focused on the container sample app.
Additional Context

Repository
No longer blocked by the implementation of the OIDC module

Acceptance Criteria

work should be done on a separate repo
The terraform state has been configured on S3
The terraform lock has been configured on DynamoDB
The sample App is deployed on ECF Forge through OIDC using github action workflows

All the PR has been merged and deployed


Fix code scanning alert no. 5: Unsigned difference expression compared to zero

Fixes https://github.com/apache/tsfile/security/code-scanning/5
To fix the problem, we need to ensure that the comparison correctly reflects the intended logic without relying on the properties of unsigned integers. Since the intention seems to be to check if there are remaining bytes to process, we can replace the relational comparison with an equality check. This avoids the potential pitfalls of unsigned arithmetic.

Change the comparison filter_data_bytes_len - word_idx * 8 > 0 to filter_data_bytes_len > word_idx * 8.
This change ensures that we are directly comparing the two unsigned values without performing a subtraction that could lead to confusion or errors.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

Codecov Report
Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 63.63%. Comparing base (6c4f911) to head (6dd5bfd).

Files with missing lines
Patch %
Lines

cpp/src/reader/bloom_filter.cc
0.00%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #288   +/-   ##
========================================
  Coverage    63.63%   63.63%
========================================
  Files          501      501
  Lines        31787    31787
  Branches      4110     4110
========================================
  Hits         20228    20228
  Misses       11082    11082
  Partials       477      477

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


thisiswin11: folder in .zip fix

Closes #XXXX

Relates to #XXXX

[ ] I have read the Contributing Guide.

/verify


Auto allocation

I want the allocation ID to be automatic when creating a server. But I don't understand how to do it

Duplicate of #66


Confusing behavior when more than one browser window

The behavior is something like:

open a theia window on browser A
open a theia window on browser B
open terminal from browser A and use theia-edit, it will open on browser B

This is confusing because user interacts with terminal in browser A and the editor basically opens in another window so it looks "not working" from browser A.
The relevant code is how the server side uses a client property
https://github.com/perrinjerome/theia-open/blob/e3ab5e4196e1b3e54289dceacef97db138dadeee/theia-open/src/node/open-editor-backend-module.ts#L30 to communicate with the browser window (and tell browser window to open editors). It might be possible to keep track of all currently connected clients ( if we can notice a disconnection ) and maybe the client side can adopt a better behavior when there is more than one connected client, for example having the cli print a warning on console, or prompt the user in which window to open.

a workaround for the scenario above is to reload the browser window from browser A


feat: add to cart button on PDP

This takes care of the UI portion fo the ticket. The data portion needs some more GraphQL work to be done before it can be done (#95).
Adds Add to Cart button, with quantity chooser, to the PDP.
Uses uiStore to read data pertaining to the currently selected variant / option.
TESTING

Uncomment the appropriate code in the handleOnClick function in ProductDetailAddToCart.js
Navigate to a product page
Use the quantity chooser to choose a quantity of item
Press the "add to cart" button
In your console, see that the correct amount of items was "added/logged"

@aldeed @willopez mobx changes have been pulled in, and my code has been updated accordingly.

@kieckhafer There is an issue, which I think is due to data type. In handleQuantityInputChange, the value is a string so you get weird behavior. It might be enough to do { addToCartQuantity: Number(value) }, or maybe { addToCartQuantity: Math.floor(Number(value)) } to ensure integer.

Also, I think the minimum should be 1. Clicking down should not drop it to 0 because why would you ever add 0?

In terms of the colors -- It's going to be a lot easier/better if we can create our set of variables so that we can just be like @cool-grey or whatever. It seems that the sooner we do that the easier as I also overheard another discussion about color yesterday.  Can we implement these color variables?
https://zpl.io/aBO3D8A

@rymorgan I'll add all these to the stylesheet

@willopez @aldeed updated


Introduce environment variable GRIPHOME for greater customizability of instance_path

I would like to declutter my home directory and put grip's config file settings.py in ~/.config/grip/settings.py (per XDG Base Directory Specification) for easier versioning, but this is currently impossible, unless I missed something.
In this PR, I use the environment variable GRIPHOME as instance_path if set, and fall
back to the default ~/.grip otherwise. This way I can set GRIPHOME to ~/.config/grip to my liking, and others could set it to something else that they prefer.

Looks good! There's no way to do this right now, so this looks like a good addition.
Thanks, @zmwangx!

Thanks for the lightening fast response!


Invalid version for

Type: Bug

Behaviour
Expected vs. Actual
I am using VSCode for developing with OSGeo4W and it has worked until the lateast update. When starting the OSGeo4W Environment and opening a python-file, on the output-pane apears an error: Invalid version for , and in the lower left corner the version number of the python interpreter does not appear.
Steps to reproduce:

Start the OSGeo4W environment
Open VSCode
Open a python-file

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda):
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Unknown
Value of the python.languageServer setting: Default

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

2023-12-01 07:45:16.272 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\\OSGeo4W\\bin\\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","detailedDisplayName":"Python"}

User Settings

languageServer: "Pylance"

Extension version: 2023.21.13342142
VS Code version: Code 1.84.2 (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e, 2023-11-09T10:51:52.184Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (16 x 2904)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.78GB (16.22GB free)

Process Argv

Screen Reader
no

VM
0%

Meanwhile, can you provide the complete debug logs which increases the chances for triaging this issue quickly:

Run Developer: Set log level command
Select Trace
Run Developer: Reload Window command
Provide the output:

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

Here are your requestes Infos:
2023-12-05 06:35:11.379 [info] Default formatter is set to null for workspace d:\Entwicklung\Python\giprueckexport_py3
2023-12-05 06:35:11.379 [info] Test server listening.
2023-12-05 06:35:11.379 [info] Python interpreter path: C:\OSGeo4W\bin\python.exe
2023-12-05 06:35:11.397 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\OSGeo4W\bin\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\OSGEO4W\BIN\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:35:11.399 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\OSGeo4W\bin\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\OSGEO4W\BIN\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:35:13.643 [info] Starting Pylance language server.
2023-12-05 06:35:13.649 [error] Active interpreter type is detected as Unknown {"id":"C:\OSGEO4W\BIN\PYTHON.EXE","sysPrefix":"","envType":"Unknown","envName":"","envPath":"","path":"C:\OSGeo4W\bin\python.exe","architecture":1,"version":{"raw":"","major":-1,"minor":-1,"patch":-1,"build":[],"prerelease":["final"]},"displayName":"Python","detailedDisplayName":"Python"}
2023-12-05 06:35:13.680 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\OSGeo4W\bin\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\OSGEO4W\BIN\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:35:13.684 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\OSGeo4W\bin\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\OSGEO4W\BIN\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:36:02.485 [info] Default formatter is set to null for workspace d:\Entwicklung\Python\giprueckexport_py3
2023-12-05 06:36:02.519 [info] Test server listening.
2023-12-05 06:36:02.546 [info] Python interpreter path: C:\OSGeo4W\bin\python.exe
2023-12-05 06:36:02.851 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\OSGeo4W\bin\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\OSGEO4W\BIN\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:36:02.852 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\OSGeo4W\bin\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\OSGEO4W\BIN\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:36:04.554 [info] Starting Pylance language server.
2023-12-05 06:36:04.557 [error] Active interpreter type is detected as Unknown {"id":"C:\OSGEO4W\BIN\PYTHON.EXE","sysPrefix":"","envType":"Unknown","envName":"","envPath":"","path":"C:\OSGeo4W\bin\python.exe","architecture":1,"version":{"raw":"","major":-1,"minor":-1,"patch":-1,"build":[],"prerelease":["final"]},"displayName":"Python","detailedDisplayName":"Python"}
2023-12-05 06:36:04.595 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\OSGeo4W\bin\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\OSGEO4W\BIN\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:36:04.600 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\OSGeo4W\bin\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\OSGEO4W\BIN\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:36:39.215 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\OSGeo4W\bin\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\OSGEO4W\BIN\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:36:39.216 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\OSGeo4W\bin\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\OSGEO4W\BIN\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:37:52.345 [debug] Getting roots
2023-12-05 06:37:52.345 [debug] Getting roots
2023-12-05 06:37:52.345 [debug] Found roots
2023-12-05 06:37:52.345 [debug] Start watching file for changes C:\Users\BKOR.conda\environments.txt
2023-12-05 06:37:52.345 [debug] Start watching: C:\Users\BKOR.conda with pattern environments.txt using VSCode API
2023-12-05 06:37:52.345 [debug] Found roots
2023-12-05 06:37:52.345 [debug] Start watching root d:\Entwicklung\Python\giprueckexport_py3 for globs ["python.exe","/python.exe","/Scripts/python.exe"]
2023-12-05 06:37:52.345 [debug] Start watching: d:\Entwicklung\Python\giprueckexport_py3 with pattern python.exe using VSCode API
2023-12-05 06:37:52.345 [debug] Start watching: d:\Entwicklung\Python\giprueckexport_py3 with pattern */python.exe using VSCode API
2023-12-05 06:37:52.345 [debug] Start watching: d:\Entwicklung\Python\giprueckexport_py3 with pattern */Scripts/python.exe using VSCode API
2023-12-05 06:37:52.414 [info] Default formatter is set to null for workspace d:\Entwicklung\Python\giprueckexport_py3
2023-12-05 06:37:52.419 [debug] Waiting for test server to start...
2023-12-05 06:37:52.496 [info] Test server listening.
2023-12-05 06:37:52.496 [debug] Test server started.
2023-12-05 06:37:52.496 [debug] Testing: Setting up watcher for d:\Entwicklung\Python\giprueckexport_py3
2023-12-05 06:37:52.497 [debug] Needed to validate C:\OSGeo4W\bin\python.exe with latest info
2023-12-05 06:37:52.497 [info] Python interpreter path: C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:52.497 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:52.779 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:52.779 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\OSGeo4W\bin\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\OSGEO4W\BIN\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:37:52.781 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:52.781 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\OSGeo4W\bin\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\OSGEO4W\BIN\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:37:52.788 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:52.788 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:53.363 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:37:53.394 [debug] Extension ms-python.isort accessed onDidChangeActiveEnvironmentPath with args: undefined
2023-12-05 06:37:53.399 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"C:\OSGEO4W\BIN\PYTHON.EXE","path":"C:\OSGeo4W\bin\python.exe"}
2023-12-05 06:37:53.400 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2023-12-05 06:37:53.401 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2023-12-05 06:37:53.401 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"C:\OSGEO4W\BIN\PYTHON.EXE","path":"C:\OSGeo4W\bin\python.exe"}
2023-12-05 06:37:53.898 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:37:53.921 [debug] Extension ms-python.vscode-pylance accessed onDidChangeActiveEnvironmentPath with args: undefined
2023-12-05 06:37:53.923 [debug] Extension ms-python.vscode-pylance accessed onDidEnvironmentVariablesChange with args: undefined
2023-12-05 06:37:53.957 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:37:54.108 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:37:54.406 [debug] Delay Trigger[Test Configuration Change]: triggered=1, called=1
2023-12-05 06:37:55.029 [info] Starting Pylance language server.
2023-12-05 06:37:55.030 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:55.031 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:55.033 [debug] Terminal shell path 'C:\Windows\System32\cmd.exe' identified as shell 'commandPrompt'
2023-12-05 06:37:55.033 [debug] Shell identified as commandPrompt
2023-12-05 06:37:55.033 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:55.034 [error] Active interpreter type is detected as Unknown {"id":"C:\OSGEO4W\BIN\PYTHON.EXE","sysPrefix":"","envType":"Unknown","envName":"","envPath":"","path":"C:\OSGeo4W\bin\python.exe","architecture":1,"version":{"raw":"","major":-1,"minor":-1,"patch":-1,"build":[],"prerelease":["final"]},"displayName":"Python","detailedDisplayName":"Python"}
2023-12-05 06:37:55.067 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:55.067 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\OSGeo4W\bin\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\OSGEO4W\BIN\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:37:55.072 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:55.072 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\OSGeo4W\bin\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\OSGEO4W\BIN\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:37:55.079 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2023-12-05 06:37:55.081 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"C:\OSGEO4W\BIN\PYTHON.EXE","path":"C:\OSGeo4W\bin\python.exe"}
2023-12-05 06:37:55.083 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
2023-12-05 06:37:55.086 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"C:\OSGEO4W\BIN\PYTHON.EXE","path":"C:\OSGeo4W\bin\python.exe"}
2023-12-05 06:37:55.087 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2023-12-05 06:37:57.655 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:38:54.527 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:38:54.607 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:38:54.667 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:38:54.729 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:38:54.789 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:38:54.852 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:38:54.915 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py

I also noticed that the .gitignore-File is no longer taken into account, so a lot of files would be added to the repository with the next commit

Apologies for the delayed response. If you still notice the issue, try using Python: Clear cache and reload window command, and please provide the complete Python logs if the issue still happens.

It turns out that the reason for this was the Oracle SQL Extension "Oracle Developer Tools for VS Code". No idea how this can interfere with the git-modul and the python interpreter. So you can close the issue. And maybe if others encounter the same problem: in my case the ORACLE-Extension was the course (allthough it happend after an VS Code-Update, and not after an update of the extension, there must have been some changes in VS Code).

LL )
x. Chic p flu lv
?0
On Mon, 12 Feb 2024 at 6:45 pm, dpalmetzvbg @.***>
wrote:😅🇬🇭

It turns out that the reason for this was the Oracle SQL Extension "Oracle
Developer Tools for VS Code". No idea how this can interfere with the
git-modul and the python interpreter. So you can close the issue. And maybe
if others encounter the same problem: in my case the ORACLE-Extension was
the course (allthough it happend after an VS Code-Update, and not after an
update of the extension, there must have been some change in VS Code).
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-python/issues/22579#issuecomment-1938247051,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAAGA5XOYLGVH4JIM2TQXX3YTHJDRAVCNFSM6AAAAABACM2YTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZYGI2DOMBVGE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


[loc][Query] Context needed for placeholders

For string below community member is asking about context for placeholders? Can you please help? Thanks!
Original comments
BG ISSUE - I think {0} is either Log Point or Breakpoint (is it?), but what is {1}?
by lyubomirv, 7 hours ago
Context
src/vs/workbench/parts/debug/electron-browser/debugEditorContribution:English (en):plaintext:breakpointHasCondition
Resource
vs_workbench_parts_debug
String Hash
8a082bd6cf474d84b79f63930a837ce8
String text
This {0} has a valuable {1} that will get lost on remove. Consider disabling the {0} instead.

{0} is either "Log Point" or "Breakpoint".
{1} is either "message" or "condition"


Shape.rxvisobj wrongly referenced in Arrow/DoubleArrow

Reported by otter on 23 Jul 2010 11:36 UTC
Modelica.Mechanics.MultiBody.Visualizers.Advanced.Arrow/DoubleArrow references the Shape variables:
rvisobj, rxvisobj

although these variables are not part of the tool-independent interface defined in
Modelica.Utilities.Internal.PartialModelicaServices.Animation.PartialShape
These two variables are only present in the Dymola specific implementation of Shape.
rvisobj, rxvisobj must be separately computed in Arrow and DoubleArrow without reference to the Shape object.

Migrated-From: https://trac.modelica.org/Modelica/ticket/389

Comment by otter on 25 Jul 2010 11:43 UTC
Fixed in a27de4bab69c093ba55aaeb12feb9b0675f93748:
In the Shape object variables "e_x" and "e_y" are additionally provided as output variables (this required a change in ModelicaServices).
The rvisobj and rxvisobj that depend on "e_x", are now computed in Arrow/DoubleArrow and are no longer accessed from the Shape object.

Modified by dietmarw on 26 Jul 2010 09:05 UTC


[FEATURE] Enrich alert notification message with context. from individual documents' fields in bucket level monitors

Is your feature request related to a problem?
Bucket level monitors contain only the information of the buckets that are created based on aggregation queries. there is no data from individual documents avaialble.
When alerts are generated and user wants to send out notifications, they don't have enough information to enrich the notification message because search response doesn't return the docs and returns only the aggregated data.
For ex. consider a bucket level monitor configured to monitor CPU of 100 hosts crossing 80% in last 1 hr. Say, each doc in index has fields - cpu, hostname, timestamp, eventid, jvm, If CPU>80 for a certain host they would like to fire alert. They can bucket on hostName and condition cpu >80. If condition matches they will get alert for cpu>80 and they will have information about which hosts are causing alert. But they wouldn't have access to other fields of such document
Possible solution
If alerts are generated i.e. monitor trigger condition is satisfied AND notifications are configured, Alerting plugin should support a post-trigger search request to collect data to enrich notification message.
That way users have additional context to access  document's other fields based on bucket values

Alternatively explore adding an exemplar or a sample document in every bucket level monitor by making size = 10  to get atleast some sample data

Related issue https://github.com/opensearch-project/alerting/issues/1396


FPRControl example is broken

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-2-c7e6de9d1302> in <module>
      3 Dim = (10,10); N = 30;
      4 categ = rng.choice(3, N, replace = True)
----> 5 X = pr.groupX(categ);
      6 C = np.array([1,-1,0]);
      7 B = 100

AttributeError: module 'pyrft' has no attribute 'groupX'

Actually the same error comes in about all examples.

You mean in the functions starting ex_ in the function_examples folder?
Yes I hadn't updated them recently - I will fix those today and update them to ensure that pep8 is followed by them.
e.g. groupX has been renamed group_design

What we do for these cases is to rerun the examples daily, using circleci. It requires some configuration tweaks, but it's doable.
Also, you may want to reduce the number of examples to ease the maintenance burden.

I see. Thanks I will look into that.


Feature - Add Migration message in the status API response

When we migrate the file system for git, we need to inform the user.

@infinitetrooper Can you share the message copy we should use for this?

Yes this is done. Lets close this.


Base functions able to process ndarray of SPD matrices

This PR improves base functions to process ndarray of SPD matrices, and completes tests.
This modification will allow to remove many for-loops from code,
providing simpler and faster (using numpy broadcasting) functions (WIP).

can you time? and since we use here check_finite=False
it suggests numpy as what we want?

Message ID: @.***>

Comparison on 10 sets of 100 matrices, repeated 50 times.

Thx for this good idea!

thx @qbarthelemy !


Exception on new installation with "php artisan migrate"

Just started installation from composer with latest version
Exception on new installation with
php artisan migrate

H:\xampp\htdocs\bagisto\bagisto>php artisan migrate

   Illuminate\Database\QueryException  : SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'json null, `created_at` timestamp null, `updated_at` timestamp null) default cha' at line 1 (SQL: create table `roles` (`id` int unsigned not null auto_increment primary key, `name` varchar(191) not null, `description` varchar(191) null, `permission_type` varchar(191) not null, `permissions` json null, `created_at` timestamp null, `updated_at` timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci' engine = InnoDB ROW_FORMAT=DYNAMIC)

  at H:\xampp\htdocs\bagisto\bagisto\vendor\laravel\framework\src\Illuminate\Database\Connection.php:664
    660|         // If an exception occurs when attempting to run a query, we'll format the error
    661|         // message to include the bindings with SQL, which will make this exception a
    662|         // lot more helpful to the developer instead of just the database's errors.
    663|         catch (Exception $e) {
  > 664|             throw new QueryException(
    665|                 $query, $this->prepareBindings($bindings), $e
    666|             );
    667|         }
    668|

  Exception trace:

  1   Doctrine\DBAL\Driver\PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'json null, `created_at` timestamp null, `updated_at` timestamp null) default cha' at line 1")
      H:\xampp\htdocs\bagisto\bagisto\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:63

  2   PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'json null, `created_at` timestamp null, `updated_at` timestamp null) default cha' at line 1")
      H:\xampp\htdocs\bagisto\bagisto\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:61

  Please use the argument -v to see more details.

The thing is, we are using JSON column type in our project and MariaDB does not support JSON column that's why you are getting this exception.
We will remove JSON type in the next release so that project can work with MariaDB.

@jitendra-webkul thanks for the update.
I was using MariaDB 10.1 which does not support json table, so I updated to latets MD v10.3 which does.
By following step by step guide for my XAMPP installation on windows.
https://stackoverflow.com/questions/44027926/update-xampp-from-maria-db-10-1-to-10-2
And everything work like charm.!
At least all migration executed successfully.
Now I'll test the working of application and revert back here.


cmake fails, missing data_writer.cpp

CMake Error at CMakeLists.txt:60 (add_library):
  Cannot find source file:

    /home/jhurliman/Code/depthai-core/shared/depthai-shared/src/general/data_writer.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
  .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .ispc

CMake Error at CMakeLists.txt:60 (add_library):
  No SOURCES given to target: depthai-core

Hi @jhurliman
Have you made sure to initialize submodules using?
git submodule update --init --recursive

And make sure you are using the right branch (gen2 is on gen2 and gen2_develop for cutting edge)

Hi @jhurliman
Have you made sure to initialize submodules using?
git submodule update --init --recursive

And make sure you are using the right branch (gen2 is on gen2 and gen2_develop for cutting edge)

I'm trying to build an Arch Linux AUR package for this so I am building from the tar balls, which means the above solution does not work for me.  Do you have a suggestion for how to fix this issue when building from tar balls?

I'm trying to build an Arch Linux AUR package for this so I am building from the tar balls, which means the above solution does not work for me.  Do you have a suggestion for how to fix this issue when building from tar balls?

@sfmajors373 Unfortunately as far as I'm aware, Github does not serve tarballs which include submodules.
One option would be to download the tarballs of the references submodules separatelly and extract them into required directory.
We'll most likely add a download to a complete tarball (with submodules) on releases.

@sfmajors373 Unfortunately as far as I'm aware, Github does not serve tarballs which include submodules.
One option would be to download the tarballs of the references submodules separatelly and extract them into required directory.
We'll most likely add a download to a complete tarball (with submodules) on releases.

@jhurliman Error was presented with a more user friendly message in f8d034785aea920c1ff047dd8b43785fdb6eff52.
Note that the repository still requires to be cloned to get the needed submodules.
Final complete source tar/zips are going to be created for releases

Thanks!

@sfmajors373 and @jhurliman
As mentioned, releases now contain both .zip and .tar.gz which includes the submodules as well.
https://github.com/luxonis/depthai-core/releases/tag/v2.0.0
Hope this enables your usecases better :)


global: setup automatic updates and releases

Since this repository uses the lists from https://github.com/atmire/COUNTER-Robots/, syncing should be done in an automatic fashion (e.g. on Travis) and be released in regular intervals (e.g. each month).

@sakshamarora1 be aware of GH CI actions suspended after 2 months, workaround implemented here


hiddenClients still defaults curl even when it is supposed be disabled

What happens?
as mentioned here: https://github.com/scalar/scalar/issues/1250
I have setted:
hiddenClients: { php: true, python: true, c: true, node: true, javascript: true, go: true, java: true, ruby: true, shell: true, clojure: true, csharp: true, kotlin: true, objc: true, swift: true, r: true, powershell: true, ocaml: true, curl: true, },
It still makes curl default:

and upon clicking there is only http

thank you guys!
What did you expect to happen?
show correct clients that is set in hiddenClients
How can we reproduce the issue?

Set hiddenClients curl
Curl is still present

OpenAPI Document
No response

🙏 We’ll fix that


fix s3 tests

i am not sure why the s3 tests fail on master, but I blame the caches

Codecov Report

Merging #349 (7e1e403) into master (94eff8b) will decrease coverage by 1.50%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #349      +/-   ##
==========================================
- Coverage   85.11%   83.61%   -1.51%
==========================================
  Files          66       66
  Lines        5047     5048       +1
==========================================
- Hits         4296     4221      -75
- Misses        751      827      +76

Impacted Files
Coverage Δ

quetz/pkgstores.py
45.45% <0.00%> (-16.53%)
:arrow_down:

quetz/database.py
78.94% <0.00%> (-21.06%)
:arrow_down:

...s/versions/53f81aba78ce_use_biginteger_for_size.py
56.25% <0.00%> (-18.75%)
:arrow_down:

...ns/versions/30241b33d849_add_task_pending_state.py
80.00% <0.00%> (-13.34%)
:arrow_down:

...ons/a3ffa287d074_case_insensitive_channel_names.py
68.75% <0.00%> (-6.25%)
:arrow_down:

...ions/versions/8dfb7c4bfbd7_new_package_versions.py
82.35% <0.00%> (-5.89%)
:arrow_down:

...s/versions/8d1e9a9e0b1f_adding_download_metrics.py
72.22% <0.00%> (-5.56%)
:arrow_down:

quetz/database_extensions.py
56.36% <0.00%> (-3.64%)
:arrow_down:

quetz/dao.py
87.69% <0.00%> (-2.42%)
:arrow_down:

... and 1 more

Continue to review full report at Codecov.

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


Confirmation mail

sending confirmation mails now. Whenever an entry is created in firestore consisting of atleast 'name' and 'email', a confirmation mail is sent to that email ID.

👍 It would be great if we'd remove all the debugging console.log statements before we merge. :)


Update Docs

Can you update docs to support v2?

WideColumnar is called WideColumn in examples
KeyValue shows v1 examples.
I also think WideColumnar should have more examples as it seems a bit confusing to understand

@USERSATOSHI

Can you update docs to support v2?

WideColumnar is called WideColumn in examples
KeyValue shows v1 examples.
I also think WideColumnar should have more examples as it seems a bit confusing to understand

I think u meant Readme
Cause docs are updated

But yes I will update them

Thank you ❤ can you also give an example on .set/.get for WideColumnar?

@darkshadow0666 docs have been updated some time ago
https://akaruidevelopment.github.io/aoi.db/classes/WideColumnar.html#set
you can do
  <WideColumnar>.set("tablename", { name : "columnname like xp", value: 10 } , { name: "primary column like id", value: "some id here" })


1.8 Support?

Searched for a ticket for MC1.8 Support because Ender Zoo already have it but not EnderIO.
It will be glad to here if there are some betas ore testing alphas available.

The RF API did not get ported to 1.8 until now, so I don't think there will be a 1.8 version of EnderIO in the near future.

AFAIK, there is no work being done on an EnderIO port for 1.8.9. There simply are not enough devs/time. Work currently is done to get out a stable 2.3 release for 1.7.10.

Good to know and thanks for the fast response.
So my Modpack will definitly be on/at 1.7.10 :)
Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm_campaign=sent-from-mailbird]
Am 14.01.2016 13:50:30 schrieb Wilhelm Schuster<EMAIL_ADDRESS>AFAIK, there is no work being done on an EnderIO port for 1.8.9. There simply are not enough devs/time. Work currently is done to get out a stable 2.3 release for 1.7.10.
—
Reply to this email directly or view it on GitHub [https://github.com/SleepyTrousers/EnderIO/issues/3130#issuecomment-171635901].

as wlhlm said, we're short on manpower.


libember can segfault or abort when receiving random erroneous bytes

Receiving some random erroneous bytes can segfault or abort the decoding side.
The location is in libember::dom::AsyncDomReader::containerReady, where decodeNode return value is not checked againts null pointer before use.

Fixed by commit 0659f96e39fdf3b6f7d4bb5e1507a962d3be5462


Data Unit Tests

Fixes #341 -
As a J40 developer, I want to write Unit Tests for the ETL files, so that tests are run on each commit

Added Load tests just now using tmp_path_factory as my final push! - we may want to switch over to using pyfakefs at some point as it seems overall easier, but I couldn't quite get this to work.
Looks like there's a conflict with main still but this should be straightforward - happy to pair on this if/when we can find a time!

I will resolve the conflicts and merge!


Slim down documentation from Programme Managers

Review documentations that we created previously and slim them down

@SallyMcGrath , can you please add the link here?

https://codeyourfuture.openclass.ai/invite?code=jkGncH1gZ7ZReg
is the thing I think they used most
https://www.youtube.com/watch?v=MBQf-aeuElc&list=PLozA7cloMbPi484EXauIUmITQ4VCgeYPO
https://www.youtube.com/watch?v=4rT46AWYgYA&list=PLozA7cloMbPgeWP7RI9p9HO2-mCFPxiWA
https://www.youtube.com/watch?v=Hbtfil-G0h0&list=PLozA7cloMbPiOvZnMvPGwdQCAeEAroGfR
then we have docs in places like...
https://docs.codeyourfuture.io/
https://docs.google.com/spreadsheets/d/10IizX4sqj04FsfaQMMTIjoxuGkrlEqQqnZvIYCAXjlI/edit?usp=sharing
https://app.gitbook.com/o/-LcSabThbCRVBSHYbXg4/s/-M02BLFbbjegko8GLsDp/
https://docs.google.com/document/d/1vwKuyAslQwWH4DOtfqa20baFili0cupor3LRES6XPgI/edit?usp=sharing
https://drive.google.com/drive/folders/0AL50DhcwkL9rUk9PVA

@SallyMcGrath
Open AI Fundamentals Tracker: I don't think I have admin access, but could you archive this? We don't have Fundamentals anymore, and we (hopefully) will be tracking it all on the Dashboard. If needed we can create a new video again once we know how to do this.
Setting up google class room: I also dont' have admin access to our youtube. This should be archived.
Github training

Coursework planner: still ok
Adding team to GitHub repo: this is ok, but we might have to change how we expect these groups to be set-up, since they are no longer cohort, but batches. Let's discuss on Thursday.
Join your GitHub team: same as above, valid, but might need tweaks
- Cohort on GitHub: same as above.
Mentors, join your team: probably still valid, if you are keeping this role.

CYF Docs

I will go through it, but will be a separate ticket since there is a lot that must be updated or changed.
Teach Training CYF: doesn't work anymore, opens in GitBook rather than the website.

Drive
Will also make a separate ticket for this.

I've archived those two google classroom videos. I think @Dedekind561 deleted the teacher training site. Nobody ever used it.


missing donwload.sh

Where can we find download.sh written in https://github.com/SpeechColab/GigaSpeech#steps?
Or should we just run the following command shown in https://github.com/SpeechColab/GigaSpeech/blob/main/toolkits/kaldi/run_gigaspeech.sh#L16-L28?
utils/setup_oss_for_downloading.sh
utils/download_meta.sh
utils/download_audio.sh

When I executed utils/download_meta.sh, I encountered the following error:
$ utils/download_meta.sh
Error: copy files between local file system is not allowed in ossutil, if you want to upload to oss, please make sure dest_url starts with "oss://",dest_url:/GigaSpeech.json

I followed https://github.com/SpeechColab/GigaSpeech#steps, but probably I misunderstood some instructions.
It would be great if you give me some suggestions of how to fix it.

Ah sorry we forgot to update the README. I'll update it.
For now you can use the following script:
#!/usr/bin/env bash

. ./env_vars.sh

sh utils/setup_oss_for_downloading.sh

sh utils/download_meta.sh

# this currently download entire dataset, we may improve to support subset downloading
sh utils/download_audio.sh

Or you can also look into the first few stages of toolkits/kaldi/run_gigaspeech.sh
Let me know if you still have issues!

Many thanks!
Now it's working
$ utils/download_meta.sh
Total num: 1, size: 3,766,838,768. Dealed num: 0, OK size: 47,085,485, Progress: 1.250%, Speed: 8824.22KB/s

Great!


05/16/2018 03:24 : Create Pull Request for branch master -> prTesting1_2018051603

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Append missing

np.append is missing from jagged arrays:
ja1 = awkward.JaggedArray.fromiter([[1,2,3],[4,5]])
ja2 = awkward.JaggedArray.fromiter([[7,8],[9,10,11],[12]])

These are not available but would be numpy like:
ja12 = ja1.append(ja2)
ja12 = awkward.append(ja1, ja2)

What is the correct way to do this?

I started implementing a concat function, first on jagged-arrays. I'm not sure it's a good idea. These are Rays have wildly different structures and while it might make sense to think about a pending them, it's unclear what should happen in memory.
Maybe the appropriate thing to do is to use a ChunkedArray. This doesn't actually copy memory the way numpy does, he just strings together a bunch of little arrays into a big logical array.
If you want append, rather than extend semantics, maybe we should develop a jagged version of AppendableArray. This is a special case of ChunkedArray to efficiently append by allocated one chunk at a time and logically filling it. It's a more efficient version of Numpy's append. It's currently limited to logically flat arrays because I couldn't implement it in full generality, but one step deeper of appendable jagged arrays would not be hard.
There's scant documentation of all these different types in the wiki.

Actually, now that I think about it, implementing appendable arrays one level of jaggedness deep automatically gives you all levels of jaggedness, but only jaggedness.
There would have to be two kinds of append: one appends at the top level, and the other appends at the next level down. Maybe that's a new parameter to the append method.

Currently, I'm interested in the simple case, where you load x files, join all the events in the files (including jagged arrays), then save to a new file. Currently, I build a list of the other data structures arrays, then concatenate the list at the end, then save. To add jagged arrays, I would need to be able to do something similar with those.
I'm thinking of something that basically does this:
ja12 = awkward.JaggedArray(
        np.concatenate([ja1.starts, ja2.starts+len(ja1.content)]),
        np.concatenate([ja1.stops, ja2.stops+len(ja1.content)]),
        np.concatenate([ja1.content, ja2.content]))

With jagged arrays, concatenating is simpler than ND concatenation in Numpy, since the "inner" (jagged) length(s) are not important. Joining along the jagged part is a somewhat different thing - would that even make sense as part of the same function? Or would it have a different name?

Okay, so you really do need them to be contiguous, at least on disk, where they'll eventually end up. Assuming that one fully concatenated array fits in memory, you can make them contiguous in memory first.
There are some high-level methods that can help avoid wrong answers in some corner cases.
def concatenate(jaggedarrays):
    contents = np.concatenate([j.flatten() for j in jaggedarrays])
    counts = np.concatenate([j.counts for j in jaggedarrays])
    return awkward.JaggedArray.fromcounts(counts, contents)

Unlike offsets, starts, or stops, counts are position-independent. (There's an np.cumsum in there, but hidden, and we have alternate algorithms that can be faster on GPUs.)
Using flatten() instead of content avoids a corner case: the content can be bigger or in a different order than the actual content of the jagged array. There's an unwritten (needs to be documented) policy of what makes an awkward array valid, but generally "contained" things can include unreachable elements. This is so that writing processes don't have to write to more than one array atomically with locks or something— they can write to the content first, then atomically write to the index array, revealing those contents. Even without concurrency, a writing process can die after writing the content and before writing the index and the awkward array is still in a valid (though old) state.
For jagged arrays specifically, the starts and stops are separate so that the content doesn't even have to be in order (to make it possible to sort high-priority data into fewer disk pages). In that case, flatten() corrects the order (or if it doesn't, then it's a bug; maybe I should write some sort of protocol document before finishing the documentation so that at least we can say what everything should do). In the much more common case where content is identical to flatten(), it's just a check for this case and returns the content.
When you're concatenating and writing these arrays, note that the awkward.save and awkward.hdf5 methods can be called separately for each array, so you can drop one from memory before starting the next one.
Also, yes, it would be meaningful to concatenate in the second axis, though that should probably have a different name from the first-axis concatenation. Numpy's concept of axis=N isn't a good match to jagged arrays because there's no symmetry among them as there is for rectangular arrays. Very early on, someone had a use-case where they needed to add one element to the beginning of every subarray in a jagged array. I gave him a hacky solution, but this is the sort of thing that needs to have a good solution.

I'm trying to clean up issues. It looks like this one doesn't represent work to do, right?


Allow specific location for blockchain

Hi,
It would be a good idea to allow the user to set the storage location of the blockchain.
This would be very handy for users with a (small) SSD and have a separate HDD.
Thanks for your time.

@thomasvt1 you can do exactly that with the --datadir flag already ;]
for instance, say you want it in a folder called E:\vergedata
verge-qt.exe --datadir=E:\vergedata\

Ah neat, didn't know that. Thanks!

@thomasvt1 no problem!  i will add it to the README so people are more aware of it. =]


Add scripts for benchmarking and profiling workflows

Same as title - this PR is going to add scripts for quick benchmarking and profiling for custom kernels.

One Nsight Compute bug has to be reported.


[ECS] Doctrine Annotation fixer can't parse the 'AttributeOverride.column' attribute

The 'DoctrineAnnotationNewlineInNestedAnnotationFixer' from Easy Coding Standard can't parse the following Doctrine annotation:
 * @ORM\AttributeOverrides(
 *     @ORM\AttributeOverride(name="id", column=@ORM\Column(type="integer"))
 * )

Running vendor/bin/ecs check results in the following error:
In FixerFileProcessor.php line 185:
  Fixing of "src/Entity/Faq/FaqQuestion.php" file by "Symplify\CodingStandard\Fixer\Annotation\DoctrineAnnotationNewlineInNestedAnnotationFixer" failed:
   Implementation is missing for "=" in "Symplify\CodingStandard\TokenRunner\Analyzer\FixerAnalyzer\BlockFinder::getBlockTypeByContent". Just add it to
  "$contentToBlockType" property with proper block type in file vendor/symplify/coding-standard/src/TokenRunner/Anal
  yzer/FixerAnalyzer/BlockFinder.php on line 90

In BlockFinder.php line 90:
  Implementation is missing for "=" in "Symplify\CodingStandard\TokenRunner\Analyzer\FixerAnalyzer\BlockFinder::getBlockTypeByContent". Just add it to "
  $contentToBlockType" property with proper block type

The failing attribute is AttributeOverride.column, because removing the column attribute 'fixes' the error:
# this is working:
 * @ORM\AttributeOverrides(
 *     @ORM\AttributeOverride(name="id"))
 * )

According to the Doctrine's documentation the syntax is valid: https://www.doctrine-project.org/projects/doctrine-orm/en/2.7/tutorials/override-field-association-mappings-in-subclasses.html
Files to reproduce:
# ecs.php (simplified)

<?php

return static function (ContainerConfigurator $containerConfigurator): void {
    $parameters = $containerConfigurator->parameters();

    $parameters->set(Option::PATHS, [
        __DIR__ . '/src',
    ]);

    $parameters->set(Option::SETS, [
        SetList::DOCTRINE_ANNOTATIONS,
    ]);
};

# FaqQuestion.php

<?php

namespace App\Entity\Faq;

use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Entity(repositoryClass="App\Repository\Faq\FaqRepository")
 * @ORM\AttributeOverrides(
 *     @ORM\AttributeOverride(name="id", column=@ORM\Column(type="integer"))
 * )
 */
class FaqQuestion {}

Hi,
we need failing test fixture for DoctrineAnnotationNewlineInNestedAnnotationFixer.
The test case is DoctrineAnnotationNewlineInNestedAnnotationFixerTest. Adding before/after fixture to /Fixture will do

Hi,
we need failing test fixture for DoctrineAnnotationNewlineInNestedAnnotationFixer.
The test case is DoctrineAnnotationNewlineInNestedAnnotationFixerTest. Adding before/after fixture to /Fixture will do

we need failing test fixture for DoctrineAnnotationNewlineInNestedAnnotationFixer.

Something like this? 🙂  https://github.com/annuh/symplify/compare/master...issue_2776?quick_pull=1

we need failing test fixture for DoctrineAnnotationNewlineInNestedAnnotationFixer.

Something like this? 🙂  https://github.com/annuh/symplify/compare/master...issue_2776?quick_pull=1

Looks good :) Just submit so we can see the CI fail

Looks good :) Just submit so we can see the CI fail

This issue is already fixed in the latest release (9.0.31) 💯

This issue is already fixed in the latest release (9.0.31) 💯


SciPy Talk Proposal (Deadline Feb. 11)

SciPy 2022 has a "Data Life Cycle" track

Data handling is the common thread that ties together scientific applications in SciPy. This is true across academia, industry, and government where each brings a unique perspective to this challenge. While we talk a lot about what we do with data, we don’t always talk about how we work with the data. This track is dedicated to the life cycle of data. This includes anything from data engineering tools for collection, storage, to pipelines for creating analysis-ready data. Topics may include reproducibility, open science and reproducible research, persistence, stewardship, data management systems, continuity and maintenance of legacy code, and principles of software engineering effectiveness

I plan to submit a talk proposal about Pangeo Forge. Will post my proposal here for feedback from the team.

This was accepted and delivered: https://www.youtube.com/watch?v=sY20UpYCAEE


Final fix for allowCanvas

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/15033/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15033/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15033/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15033/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15033/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15033/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15033/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15033/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
Important - these might fail sporadically. This is an optional test.
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15033/merge/testResults/webgpuplaywright/index.html

WebGL2 visualization test reporter:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15033/merge/testResults/webgl2playwright/index.html