automatic close the app after 2 seconds

the latest v1.9, will close itself automaticlly after 2 seconds from openning it, in Windows 10 22H2.

That's strange, try deleting the settings file (ytdlp-interface.json).

Just now, the problem disappears.
Yesterday, however, the problem occurred repeatedly although I deleted the config file. I don't know the reason.
I'm trying to open the other applications that opened yesterday while opening the ydl-interface, and the problem no longer occurs. So, leave it alone, forget it, until it occurs again.

It's now 4:45pm, I'm trying to open the application. The problem occurs again and again. This time, I recorded the screen. So, I would like to send you the screen record video file if you give me your email address or other.

I don't think it's a good idea for me to post my email address in public, but you can upload the video to some video hosting site and post the link here if you want.
My suspicion is that the program crashes after checking GitHub for a new version (which it does at startup), because it gets an unexpected response. When it's crashing, cut the internet connection and see if it still crashes.
In the next version I plan to add exception handling (a mechanism that lets the program display an error and continue, instead of silently crashing) wherever it's appropriate in the code.

I have a similar issue - perhaps the same.  I've pinned ytdlp-interface.exe to my Win 10 taskbar.  It runs fine the first time, and creates ytdlp-interface.json with my preferences.  However, running it the second time, the Taskbar icon shows that the program is running, but no window appears.  If I hover over the taskbar icon, then right-click on the small window that pops up over the pinned icon, and select "Maximize", the window does appear, and the program functions correctly.  Also, if I delete the .json file after running the program, and then restart it, the program will run properly again.  It's as though the .json file is interfering with the proper display of the program window.

However, running it the second time, the Taskbar icon shows that the program is running, but no window appears.

I was able to reproduce this by closing the program while minimized (is that what you did?), which caused the x and y coordinates to be -32000 in the settings file, so the next time I started the program the window was offscreen. I'll probably release a patch version with a fix for this bug in a couple of days, thank you for letting me know about it.

If I hover over the taskbar icon, then right-click on the small window that pops up over the pinned icon, and select "Maximize", the window does appear, and the program functions correctly.

A better workaround would be to click on the small window to give the program window the input focus, and then press Ctrl+Num0 to reset its size and position to default values.

I was able to reproduce this by closing the program while minimized (is that what you did?), which caused the x and y coordinates to be -32000 in the settings file, so the next time I started the program the window was offscreen. I'll probably release a patch version with a fix for this bug in a couple of days, thank you for letting me know about it.

Yes - I closed the program while minimized.

A better workaround would be to click on the small window to give the program window the input focus, and then press Ctrl+Num0 to reset its size and position to default values.

Thanks !

The newest version 1.91 has resolved the issue I posted about above.  thx


Made changes to base class

modified:   population_params_absracts.py
modified:   version.py

Fixes #25

The changes have been used in a concrete way in SNPop.


fix(db): Rename message_id to _id

I went ahead and merged this, we can add move it later again if we need to, but my goal is to merge #163 too.


godot xfce4 focus steal

Godot version
4.0.stable.official.92bee43ad
System information
x86_64 Linux 6.2.2-arch1-1, Intel Core i5-7200U, xfce4
Issue description
When changing workspace on xfce4 godot (both editor and exported games) grabs input focus from any previously opened programs.
https://user-images.githubusercontent.com/49560528/222922924-af92e9bc-3d29-4ec0-865b-a6f6d2afc189.mp4
Interestingly I was unable to reproduce the bug on gnome, so whatever the problem is I suspect it is specific to xfce4.
From my testing this appears to be happening because xfce4 issues an extra MapNotify event which the engine uses as an indicator to grab focus.
I have a fix that works for my setup: https://github.com/Mequam/funky-godot/tree/mequam/feat/xfce4_focus_grab but I figured I should make sure that other people are having the same issue before submitting a PR.
Steps to reproduce
Open up godot and some other program.
Focus the other program.
Leave the workspace and return to the workspace.
Minimal reproduction project
N/A, any project works.

CC @bruvzg

related? https://github.com/godotengine/godot/issues/74587#issuecomment-1466538062

I've naively removed all XSetInputFocus calls from 4.0-stable and it solves the problem for me for the time being (seeing this issue in XMonad ). It seems like sometimes  XSetInputFocus  is getting called inappropriately i.e. when another application  has focus. I'm not an X11 programmer but my guess is Godot is getting faked out by tiling window manager abilities like resizing a window without focusing on it.
e.g.
I have a terminal and Godot open. They're tiled and the terminal is focused. Then I expand the terminal (which concurrently shrinks Godot) while keeping focus on the terminal. AFAICT, in this scenario Godot thinks it should then have focus because it's been resized even though the user has not actually focused Godot. i.e. Godot mistakes resizing as a focus request.
Similar behavior happens if I swap the terminal and Godot while keeping focus on the terminal. Godot incorrectly interprets window re-positioning as a focus request.
I've also seen similar behavior in LXDE, LXQT, and XFCE where Godot immediately steals back focus after leaving Godot via alt-tab (this is random and only occurs ~1/20 times). Though my guess is this is a similar but different code path to the tiling issues since this is random while the tiling issues seem to be deterministic with clear causes (moving, resizing). However, random occurrences of focus stealing (unrelated to move/resize) I've seen in XMonad may be the same as the alt-tab issue in the other WMs

Also seeing focus stealing in i3. I have Godot and VS Code in a tiled setup side by side, but whenever I resize the focused VS Code window (using keyboard or mouse), Godot gets focused.

You can see some issues with focus in PaperWM in the mentioned issue up there. Additionally, godot pretty much doesnt let me focus anything else in qtile. Definitely some weird stuff going on.

You can see some issues with focus in PaperWM in the mentioned issue up there. Additionally, godot pretty much doesnt let me focus anything else in qtile. Definitely some weird stuff going on.

Qtile user here. same issues. also facing an additional issue since godot 4.1
My setup has it such that when a window force resizes itself, its automatically set to a floating window.
Godot seems to auto set its window size with some actions in the editor. such as running the game with f5.
So each time i run my godot project, the editor window is set to floating mode.
This does not occur in godot 4.0 btw

Possibly related issue I found when testing https://github.com/godotengine/godot/pull/80036 for regressions.  On XFCE, the minimized state of a window goes out of sync when changing workspaces.  Minimize a dialog, switch to alternate workspace, switch back, and the dialog becomes visible again.  And yet, based on the XFCE pager, the icon for the window is still greyed out, indicating it is minimized.
There are probably some edge cases with X11 window mapping / unmapping that the display server isn't responding to appropriately.

Just to chime in that I have had the same issue, on 4.1.1 now. I am using PaperWM with gnome (another tiling wm!) and Godot will just start stealing focus from any other app so I can't access them. The only way I can escape is to minimize Godot, which allows selecting other windows.
The only other workaround I have is to make Godot fullscreen, which seems to stop it being so greedy.
Would love to help get this fixed but don't know where I would start. Is there any more helpful info I can provide?

@Mequam - I have built a version of Godot 4.1.1 for my own use using your patch and so far i can report that it fixes the issue for me too (using PaperWM on Gnome)
Are you planning on raising a PR? Anything I can do to help?

I would love to make a pull request if the code I added seems like it's ok,
the main reason I waited earlier was to make sure I wasn't the only one
with the problem (looks like im not).
The biggest thing I would be worried about with pull requesting it would be
the quality of my patches, i'm not super familiar with the X api that the
engine was using and one of the biggest things that I was worried about is
that my changes are either sub optimal for code organization, or that they
could induce further bugs into the engine that I would be unaware of.
I would be more than happy to submit a pull request if I was sure that

my changes were high quality enough to actually be in the engine and
they do not induce additional bugs (im particularly worried about the
engine not grabbing focus when it should)
this is a wide(enough) spread problem (appears to be the case :D)

if you want to help I would LOVE to have someone else look over the changes
that I made and double check that their not gonna do anything crazy or
wonky, I also (maybe?) vaguely remember thinking of a better way to
implement this solution , but it's been so long since i've worked on this I
can't remember if I implemented it or (perhaps more frustratingly)  what
that solution was.
I will prolly attempt to do a quick review of all the changes I made before
making a pull request myself, but if anyone wants to help out and speed run
that process it'll be a while before I can get to that with the school
semester starting.
If anyone does want to help by reviewing my changes, please be BRUTAL with
me, I want the code that goes in to be good and am suspect that there might
be a better way to do this :D.
anyways
tl;dr
I will submit a pull request with the changes that we think work for at
least two people after either I double check the code and green light it or
can get an ok from someone else.
On Sat, Sep 9, 2023 at 7:10 PM Anthony Finch @.***>
wrote:

@Mequam https://github.com/Mequam - I have built a version of Godot
4.1.1 for my own use using your patch and so far i can report that it fixes
the issue for me too (using PaperWM on Gnome)
Are you planning on raising a PR? Anything I can do to help?
—
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/74378#issuecomment-1712659317,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL2DXUEOYW6X4G2IIFRTBOTXZTZP5ANCNFSM6AAAAAAVPWFW2Y
.
You are receiving this because you were mentioned.Message ID:
@.***>

@Mequam I'm happy to take a nosier look at your changes and offer any opinions if I have any. I am also not an X11 api expert however!

I think you can open a PR right away and we can discuss the solution there. This iq better than risking the code eventually being forgotten in this issue.

Hey @Mequam thanks for the fix! I've also tested it and my issues with my tiling window manager are resolved as well #80170.
Not knowing much about the code, the most I can comment is it would be more aligned with the rest of the file if you called your function _is_window_focused and used the same loop format as all the other instances of that iteration in there, so
for(KeyValue<WindowID, WindowData> &E : windows){
instead of
for (KeyValue<int, DisplayServerX11::WindowData> wid : windows) {
Any chance you could submit a pull request? I am sure actually knowledgable people will comment and review your changes that way.
In case you don't have the time to deal with this then let me know and I'll submit it for you.

I have the same issue on Gnome (tested both X11 and Wayland), both when using the Forge WM, and when Forge is disabled. I think on losing focus, Gnome shakes the windows, and it makes Godot freak out. I have no idea if or how you can disable the shaking

@unlessgames thanks for the feedback!
I'll try and get it submitted myself is possible, but like I said earlier this project is on my back burner at the moment thanks to college and work, so if you do submit it as a pull request just make sure to tell me so I don't submit a second one on accident lol.

I just posted PR https://github.com/godotengine/godot/pull/86441, which was created from @Mequam's branch at https://github.com/Mequam/funky-godot/tree/mequam/feat/xfce4_focus_grab, since some folks here wanted it!
Unfortunately, it doesn't fix the X11 input focus issues that I'm personally experiencing with i3

Could some of you reproducing this issue test if https://github.com/godotengine/godot/pull/86671 solves the problem for you?

Could some of you reproducing this issue test if #86671 solves the problem for you?

Don't know about XFCE, but I tested it on PaperWM+GNOME, and it still steals the focus like nuts.
https://github.com/godotengine/godot/assets/2766569/18c43bbb-8239-445b-96da-cc765f7c949b

For the record: there may be multiple issues. The issue @compese described here on XMonad and which I confirmed here on i3 seems to be fixed on master (0bcc0e9), even if I revert 64a52e0 from #86671.
So out of curiosity, I did a git bisect, and found that 40d69c2 (merged in #86441) was the commit that fixed the issues I was seeing, not #86671. So, thanks @Mequam and @dsnopek!

Hello, i got the same issue.
EndeavourOs
Gnome
PaperWm

Confirming this behaviour in Qtile on Xorg as well.

Can you test if it's fixed for you in Godot 4.3-dev4? A number of X11 focus fixes have already been merged for Godot 4.3.

Yes, the focus issue is absent in 4.3-dev4. :tada:

Could some of you reproducing this issue test if #86671 solves the problem for you?

With the latest 4.2 branch, the issue is resolved for GNOME + PaperWM extension :tada:


BigTable: row.commit throwing _Rendezvous exception instead of ServiceUnavailable

We are using retry.py and creating a retry exception predicate as follows:
predicate=retry.if_exception_type(exceptions.ServiceUnavailable)

However, since we are only getting _Rendezvous exceptions with StatusCode.UNAVAILABLE (see below stack trace), we had to change this to:
predicate=retry.if_exception_type(exceptions.GrpcRendezvous)

I see a different issue in cloud datastore for mapping gRPC codes to service level exceptions:
https://github.com/GoogleCloudPlatform/google-cloud-python/pull/2590
Will this also be done for cloud bigtable?
Stack Trace:
  File "single_key_read_write.py", line 135, in write
    row.commit()
  File "/home/jenkins/.local/lib/python3.5/site-packages/google/cloud/bigtable/row.py", line 445, in commit
    retry_(retry_commit)()
  File "/home/jenkins/.local/lib/python3.5/site-packages/google/api_core/retry.py", line 261, in retry_wrapped_func
    on_error=on_error,
  File "/home/jenkins/.local/lib/python3.5/site-packages/google/api_core/retry.py", line 178, in retry_target
    return target()
  File "/home/jenkins/.local/lib/python3.5/site-packages/google/cloud/bigtable/row.py", line 256, in __call__
    client._data_stub.MutateRow(self.request_pb)
  File "/home/jenkins/.local/lib/python3.5/site-packages/grpc/_channel.py", line 492, in __call__
    return _end_unary_response_blocking(state, call, False, deadline)
  File "/home/jenkins/.local/lib/python3.5/site-packages/grpc/_channel.py", line 440, in _end_unary_response_blocking
    raise _Rendezvous(state, None, None, deadline)
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.UNAVAILABLE, Transport closed)>

@jonparrott I'm not sure if it is you or @lukesneeringer who needs to do the non-re-generation of the GAPIC source from the protos.


fix: delta generation for SEARCH INDEX as the ASC keyword is not supported

The token column list of SEARCH INDEX does not support ASC/DESC keyword with the new Enterprise edition

Thanks for this - this is actually an issue in the (not yet released) spanner emulator search_index parsing code (which I have raised upstream).
I have added a commit which fixes the parser jjt to use path() not key_part().


Change Tab Titles Color

How can I change the color of Tab titles?
They're black, but I'd like them white as in this video

the same , i can't find a right to change the color or tab,it always black

in styles.xml add this line:
@android:color/white

Thanks!

This is not a good approach because the color of the settings and popup overflow menu items will be white color text to white elements (not visible to the user).
A proper use case will be to leave the option from styles.xml unchanged
<item name="android:textColorPrimary">@android:color/black</item>
and add the line
    app:pstsTabTextColor="@android:color/white"
to com.astuetz.PagerSlidingTabStrip component from material_view_pager_pagertitlestrip_newstand.xml


Error reporting on wrong usage of the CLI

Is your feature request related to a problem? Please describe.
I just run kallisto over a set of structures with
for i in *; do
  kallisto alp $i/inp.xyz > $i/kallisto.out
done

But remembered a moment too late that kallisto expects the input file as argument to --inp and the positional argument is the output. Fortunately, the geometries were under version control, which made reverting easy.
At least to me the CLI feels from time to time unintuititive and I have to frequently consult the help printout to get the command line right.
Describe the solution you'd like
Print the error message to the stderr instead of the output file.
Describe alternatives you've considered
Adjust the CLI to expect the input file as positional argument and write to stdout.

Hi @awvwgk,
Good suggestion!
It is now implemented (230d91b) such that the input is used as a positional argument.
> kallisto alp <input>

The output is now passed as an option instead.
> kallisto alp --out <output> <input>

I hope this makes the application of the CLI more intuitive.
Errors that are caught by the errorbye function are furthermore redirected to stderr instead of stdout.

Great! I agree these changes are more in line with user's expectations. =)


Add az-put-path rule

This PR adds a simple new rule to check that the path of a put operation has a path parameter as the final path segment.
There is also a small unrelated doc update that I threw in to avoid making a separate PR for a one line change.

@BlackRider97 Thanks for adding the test. I had to make a small fix to correct the rule name in the test descriptions, but the rest looks great.


hi from gitcoin - need a polygon address for v1.1.1 (chain 137)

hi from gitcoin,
we are working off of this guide to claim funds from multisig.gitcoindao.eth on polygon.
this multisig is a 1.1.1 multisig.    and polygon chain is chain 137.
i dont see a corresponding address in https://github.com/gnosis/safe-deployments/blob/main/src/assets/v1.1.1/proxy_factory.json for chain id 137.  is there any way to get one deployed?

is this it? https://polygonscan.com/address/0x76e2cfc1f5fa8f6a5b3fc4c8f4788f0116861f9b
its just not in the blob?

(copying my question from https://discord.com/channels/477106835862716416/763757827701211137/923269651100758036 here )
what can i do to deploy a safe at address 0xde21f729137c5af1b01d73af1dc21effa2b8a0d6 on polygon, and claim the $15k in funds there?
i'm following the guide here ( https://www.loom.com/share/ca34aabcd62747fb9fb89bd463b4c741 ) about how to deploy this safe on polygon, and was able to generate a safe via txn https://polygonscan.com/tx/0x39b51d747f9cd7815c62fa9417264f809d9ffad084ad3ebadedfc818fa3191be on polygon, but the address of the generated safe is address ( 0x4f3000b30193baff8a4b80eba191139a63e2cc88 ) - not the same as the address generated on the mainnet ( 0xde21f729137c5af1b01d73af1dc21effa2b8a0d6 ).
one thing i was thinking about doing was incrementing the nonce on my deployed address ( 0x00de4b13153673bcae2616b67bf822500d325fc3 ) on polygon, which is currently 15, to 4062 (which was the nonce on my original mainnet deploy tx).  would that work?  or is the nonce of the deployer account non-material and its the proxy that matters?
thanks in advance.

stack exchange question: https://ethereum.stackexchange.com/questions/117109/how-to-withdraw-l2-funds-from-polygon

The factory should be present and can be used but for your case it you cannot follow the video. I will comment on stackexchange.


Missing DLC

There's some new DLC that is missing from the db.
Example Warhammer 40,000: Boltgun - Forges Of Corruption Expansion released a month ago.

@blawar There is also DLC 0100ED9018F3F004 that has all its info missing after running nut.py --import-region US --language en
Seems like there was an error when scraping:
https://tinfoil.io/Title/0100ED9018F3F004

Cult of the Lamb Pilgrim Pack DLC from a week ago is missing also 01002E7016C47005

this should be fixed

this should be fixed

The DLC 01002E7016C47005 is still missing and e.g. Goat Simulator 3 is accessible by link, but can not be found in the title search and is not in at least the US DB here.

The DLC 01002E7016C47005 is still missing and e.g. Goat Simulator 3 is accessible by link, but can not be found in the title search and is not in at least the US DB here.

The DLC is added. I suspect goat simulator not showing in search is due to cloudflare cache. I'll see if I can make it expire sooner automatically.

This issue is persisting. Examples:
-All 4 Vampire Survivors DLCs listed are out of date
-Missing DLC Atari 50: The Wider World of Atari
-Missing DLC Teenage Mutant Ninja Turtles: Shredders Revenge - Radical Reptiles


resolve.fallback fails for linked packages

Bug report

What is the current behavior?
Configuring resolve.fallaback does not work for modules linked from outside the package directory that webpack is being used from.  For example with the following file structure
root/
  +- pkg-a/
  |  +- package.json
  |  +- index.js (containing require("path"))
  +- pkg-b/
     +- package.json (containing dependency "pkg-a": "file:../pkg-a", webpack, webplack-cli and path-browserify)
     +- src/
     |  +- index.js (containg require("pkg-a"))
     +- webpack.config.js (containing resolve.fallback.path: "path-browserify")

Webpack fails to build with the error
assets by status 252 bytes [cached] 1 asset
./src/index.js 59 bytes [built] [code generated]
../pkg-a/index.js 30 bytes [built] [code generated]

ERROR in ../pkg-a/index.js 1:13-28
Module not found: Error: Can't resolve 'path' in 'webpack-bug/pkg-a'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add an fallback 'resolve.fallback: { "path": "path-browserify" }'
        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }
 @ ./src/index.js 2:10-26

webpack 5.0.0-rc.4 compiled with 1 error in 203 ms

This file structure is similar to how monorepos with tools like lerna are set up.
If the current behavior is a bug, please provide the steps to reproduce.

See this repository for a minimal reproduction example.  Note that if pkg-a is moved into pkg-b/node_modules the build succeed.
What is the expected behavior?

Module fallback should work irrespective of whether the package is linked from outside or installed into node_modules.
Other relevant information:
webpack version:  5.0.0-rc.4
Node.js version: v14.9.0
Operating System: Arch Linux
Additional tools: None.

I think it is expected, try to change:
{
  resolve: {
        fallback: { "path": false }
  }
}

wepback try to resolve path-browserify in root and can't find it, you need to specify full path to fallback:
module.exports = {
    mode: "production",
    resolve: {
        fallback: { "path": require.resolve("path-browserify") }
    }
}

Maybe we should improve the error message here

Pseudo code:
const path = require("path"); -> const path = require("path-browserify");

But here no path-browserify module

I can confirm that
fallback: { "path": require.resolve("path-browserify") }

does work here.  Thought I can't really comment on whether or not that is the right behaviour.

The behavior is correct, but we should improve our breaking change message to include the require.resolve. Do you want to send a PR?

Do you mean change https://github.com/webpack/webpack/blob/96383923c81935c9d7a4766933af0a067ec7e3b7/lib/ModuleNotFoundError.js#L69
to read \t- add an fallback 'resolve.fallback: { "${request}": require.resolve("${alias}") }'\n?

Yep perfect. Maybe you can also fix the an fallback typo to a fallback.

There's an issue with this suggestion.  It does not work for replacement packages that are shadowed by the builtin ones.  e.g., for require("events") it suggest installing events, but doing require.resolve("events") returns the string "events" instead of the path to the events package that's installed into node_modules.

I think you can use require.resolve("events/"). Does that work?

Yes.  That works.


Investigate into using GitHub multiple issue templates

https://blog.github.com/2018-05-02-issue-template-improvements/
This would be quite nice to have for us. Also it allows the title and body param on url, so we just need to include a few variations of the issue templates in our repo and update issue reporter to choose the template param depending on the issue type.

@octref Great suggestion, I updated the issue templates. I don't think the issue reporter needs to be updated, since the body it generates always overwrites the content of the template


Make update-packages cover dev/benchmarks.

update-packages only looks one level down, instead of
changing that, I'm just adding dev/benchmarks explicitly.
This will unbreak the bots which are dying trying to
flutter drive dev/benchmarks/complex_layout without
pub get having been run there.
@yjbanov @devoncarew

Landing this TBR, to un-break the bots.


help bad spelers

Some of us can never remember the old ditty:
i before e, except after c
or when sounding like "a"
as in neighbor or weigh.
Perhaps magic wormhole can coddle us in our misorthography :)

Current coverage is 85.71% (diff: 100%)

Merging #66 into master will not change coverage

@@             master        #66   diff @@
==========================================
  Files            19         19
  Lines          2717       2717
  Methods           0          0
  Messages          0          0
  Branches        379        379
==========================================
  Hits           2329       2329
  Misses          290        290
  Partials         98         98

Powered by Codecov. Last update 5f76885...2fafdf3

Oh, that's awesome. Landing momentarily. Thanks!


Write annotations for notebook 01

Done, see the notebook here: https://www.learnpytorch.io/01_pytorch_workflow/
Still need to add images.


remove defaults in deps and add kwargs property

This PR does:

remove defaults to most of dependencies (and default to rio-tiler values)
In order to defaults to rio-tiler's default we have to NOT pass options to rio-tiler's method. when we use Dependency unpacking we would pass value=None, to overcome this, we introduce a new .kwargs property which will return a Dict from the dependency but only with non-None values

this PR is a draft because I need to double check all the implication of the .kwargs property


Fix settings for base operator and subclasses

Summary
The abstract base class BaseOperator should not define settings, since these are inherit by subclasses which give errors when used with the runtime encoder/decoder because the subclasses are not reconstructable from these settings. This Fix removes settings from BaseOperator, and adds correct settings to QuantumChannel operators and DensityMatrix class so they can be correctly serialized and deserialized.
Details and comments

@jakelishman It's something that I found when working on JSON serialization for qiskit-experiments, which requires special handling in its serializer to avoid an error

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 6 (66.67%)  changed or added relevant lines in 2 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.009%) to 82.537%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/quantum_info/operators/channel/quantum_channel.py
2
3
66.67%

qiskit/quantum_info/states/densitymatrix.py
2
3
66.67%

Files with Coverage Reduction
New Missed Lines
%

qiskit/extensions/quantum_initializer/uc.py
2
88.65%

qiskit/pulse/library/waveform.py
3
90.38%

Totals

Change from base Build<PHONE_NUMBER>:
-0.009%

Covered Lines:
49849

Relevant Lines:
60396

💛  - Coveralls


proposal: reflect: Support to get a pointer from a struct field

Proposal Details
expect:
I want make a pointer from the reflect package.  in many scene,  i want get some pionter to some method, change the values of the fields. what can i do?
my case code :

func GetPointers(entity any,fieldName string) unsafe.Pointer{
	rv := reflect.ValueOf(orderInfo)
	field := rv.FieldByName(fieldName)
	var p unsafe.Pointer = reflect.NewPointer(field)
	return p
}

func main() {

	var orderInfo = OrderInfo{
		Id:      1,
		OrderNo: "123",
	}
	pointer := GetPointers(orderInfo, "OrderNo")
	....
}

current state:
no reflect.NewPointerOf support.
3ks

why not write:
func GetPointers(entity any,fieldName string) unsafe.Pointer{
	rv := reflect.ValueOf(entity).Elem()
	field := rv.FieldByName(fieldName)
	return p
}

func main() {

	var orderInfo = OrderInfo{
		Id:      1,
		OrderNo: "123",
	}
	pointer := GetPointers(&orderInfo, "OrderNo")
	....
}

why not write:
func GetPointers(entity any,fieldName string) unsafe.Pointer{
	rv := reflect.ValueOf(entity).Elem()
	field := rv.FieldByName(fieldName)
	return field.UnsafePointer()
}

func main() {

	var orderInfo = OrderInfo{
		Id:      1,
		OrderNo: "123",
	}
	pointer := GetPointers(&orderInfo, "OrderNo")
	....
}

Yes, I corrected my code to a pointer parameter.  your mind its my mind.

why not write:
func GetPointers(entity any,fieldName string) unsafe.Pointer{
	rv := reflect.ValueOf(entity).Elem()
	field := rv.FieldByName(fieldName)
	return field.UnsafePointer()
}

func main() {

	var orderInfo = OrderInfo{
		Id:      1,
		OrderNo: "123",
	}
	pointer := GetPointers(&orderInfo, "OrderNo")
	....
}

pointer

why not write:
func GetPointers(entity any,fieldName string) unsafe.Pointer{
	rv := reflect.ValueOf(entity).Elem()
	field := rv.FieldByName(fieldName)
	return field.UnsafePointer()
}

func main() {

	var orderInfo = OrderInfo{
		Id:      1,
		OrderNo: "123",
	}
	pointer := GetPointers(&orderInfo, "OrderNo")
	....
}

Yes, you are right, but our answer is? I attempt to use method:
	rv := reflect.ValueOf(&orderInfo)
	field := rv.FieldByName("OrderNo")
	pp := unsafe.Pointer(field.UnsafeAddr())

but Error with :
panic: reflect.Value.UnsafeAddr of unaddressable value

did you some other suggest to me ?
thanks

your should write 	rv := reflect.ValueOf(&orderInfo).Elem()

func GetPointers(entity any,fieldName string) unsafe.Pointer{
	rv := reflect.ValueOf(entity).Elem()
	field := rv.FieldByName(fieldName)
	return field.UnsafePointer()
}

func main() {

	var orderInfo = OrderInfo{
		Id:      1,
		OrderNo: "123",
	}
	pointer := GetPointers(&orderInfo, "OrderNo")
	....
}

I see ,but i use your method, panic that:
panic: reflect: call of reflect.Value.UnsafePointer on string Value

please try use return unsafe.Pointer(field.UnsafeAddr())

please try use return unsafe.Pointer(field.UnsafeAddr())

it's work, thanks very much

thanks very much @qiulaidongfeng


Wrong bottom margin in responsive tables

I saw that in version 3 tables (.table) have problems with bottom margin when these are wrapped by a scrolling .table-responsive.
Here is a live testing. The error is in the second table: The scroollbar is separated to its table and joined to next element.
I think a possible solution is (in Less):

.table-responsive {
	margin-bottom: @line-height-computed;
	> .table {
		margin-bottom: 0;
	}
}

We're no longer maintaining v3. It'll soon be EOL (end of life) entirely, so closing this.

In version 4, the same happens.
In this case, its solution would be:

.table-responsive {
	margin-bottom: $spacer;
	> .table {
		margin-bottom: 0;
	}
}

I think I'm inclined to leave this as-is, given there's been very little reporting of this being a problem and it prevents the scrollbar from overlapping the last row of the table.


weather forecast api

This api is built using flask framework

Hey is this issue available. If yes, I can work on it @animator

Hey @animator, I and @merciajeno can work on this together. Can you assign this issue to me as well

This won't be possible without using an external API and as this is an open source API project.
You are not allowed to use any external API.

Oh, thanks for informing. But I came across this repo https://github.com/open-meteo/open-meteo and its open source. is it not usable or allowed


Pip install fails on Python>=3.7

Haven't been able to pip install on python3.7 or python3.8.
Perhaps setup.py needs cython in the requirements list?
Cloning the repo and manually doing a pip install . worked, once I installed cython separately.

Having a similar issue (Python 3.9) but pip install . doesn't seem to be working at all.


508 Testing Only: QA Test Type - Linearity Summary

Context
Complete 508 testing on linearity test type. The scope of this  ticket is for Global and Workspace view and the following levels:
Test Summary, Linearity Test, Linearity Injection and Protocol Gas Data
Note: Configuration Glen Lyn 51 (Oris Code 3776) has test data
Global View (non-logged in):

Need to test the view functionility for the following Linerairty summary levels : Test Summary, Linearity Test, Linearity Injection and Protocol Gas Data

Work spacee: Logged in View:

Need to test the view, add, edit, and remove for the following Linerairty summary levels : Test Summary, Linearity Test, Linearity Injection and Protocol Gas Data

Note: in order to see the  view, add, edit, and remove you must check out the configuration

Testing complete, most of the issues from ticket 3613 apply. Here are the specific results:

There are multiple view/evaluate/edit/remove links.... these need additional programmatic description so they are unique
When closing modals, focus does not return to the appropriate view, edit, remove buttons
Focus is lost when expanding/contracting a row, focus should stay on the +/- element
The focus state of the +/- relies on the changing of the title attribute, aria expanded=true/false is more reliable
All tables reviewed lack a programmatic name, most have invalid aria labels aria-label="DataTable Aria Label Missing"
All tables reviewed have the data cells with a role of gridcell instead of cell which breaks the association to the table headers
When adding..... fields that are required are not marked as required
On the import historical test data modal, Aria labels for individual checkboxes are non specific


Go to method definition in Python modules fails with "No definition found for '<method_name>'" message

Hi,
First of all, thank you, for your wonderful work. I like VS Code a lot but there is an issue I'd like to report.
Usually, in Python modules, there are classes definitions with methods references but without calls with actual types. In this case, when trying to go to a method definition the VS Code displays a "No definition found for '<method_name>'" message as opposed to Pycharm which displays a menu with all possible methods definitions. Even if the Python file contains calls with actual objects the VS Code will go the first definition even if there are multiple possibilities.
Environment data
Version: 1.38.1
Commit: b37e54c98e1a74ba89e03073e5a3761284e3ffb0
Date: 2019-09-11T13:30:08.229Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Linux x64 4.15.0-58-generic

Extension version (available under the Extensions sidebar): ms-python.python-2019.9.34911
OS and version: Xubuntu 18.04
Python version (& distribution if applicable, e.g. Anaconda): 3.6.8 64 bits
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: XXX
Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info #3977): Jedi enabled

Expected behaviour
VS Code should display a menu with all possible method definitions, with the ones defined in the current .py file on top
Actual behaviour
Displays a "No definition found for '<method_name>'" message in case no calls with actual objects are found in the current file or goes to the first implementation otherwise
Steps to reproduce:

Unpack the attached archive - test.tar.gz
Open the project folder
Open to the Test/test.py file
F12 on the Foo method reference from line 10

More details, on the attached animated gif.

Logs

conda --version
pyenv root
python3.7 -c "import sys;print(sys.executable)"
python3.6 -c "import sys;print(sys.executable)"
python3 -c "import sys;print(sys.executable)"
python2 -c "import sys;print(sys.executable)"
python -c "import sys;print(sys.executable)"
python -c "import sys;print(sys.executable)"
conda info --json
Starting Jedi Python language engine.
conda info --json
conda --version
/usr/bin/python3 -c "import sys;print(sys.prefix)"
cwd: ~/Work/Devel/toys/Python/test
/usr/bin/python3 -c "import sys;print(sys.prefix)"
cwd: ~/Work/Devel/toys/Python/test
/usr/bin/python3 -c "import sys;print(sys.executable)"
cwd: ~/Work/Devel/toys/Python/test
/usr/bin/python3 -c "import sys;print(sys.executable)"
cwd: ~/Work/Devel/toys/Python/test
/usr/bin/python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
cwd: ~/Work/Devel/toys/Python/test
/usr/bin/python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
cwd: ~/Work/Devel/toys/Python/test
/usr/bin/python3 -m site --user-site
cwd: ~/Work/Devel/toys/Python/test
/usr/bin/python3 -m site --user-site
cwd: ~/Work/Devel/toys/Python/test
/usr/bin/python3 completion.py
cwd: ~/.vscode/extensions/ms-python.python-2019.9.34911/pythonFiles
/usr/bin/python3 completion.py
cwd: ~/.vscode/extensions/ms-python.python-2019.9.34911/pythonFiles
/usr/bin/python3 -m pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text ~/Work/Devel/toys/Python/test/Test/test.py
cwd: ~/Work/Devel/toys/Python/test
/usr/bin/python3 -m pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text ~/Work/Devel/toys/Python/test/Test/test.py
cwd: ~/Work/Devel/toys/Python/test
##########Linting Output - pylint##########

Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

Hi @marius-nicolae , we've marked this as needs decision so we can have a discussion on whether we want this enhancement or not.


Added HTML lang="en"

Primarily an accessibility concern for screen reader software.

@skotfred : Thanks for the contribution.
I'm doing a cleanup and I would like to close this PR.
Could you solve the conflict?
Once that is done I will take care of merging it.

We are migrating our documentation to Antora and that should have a fix for this.
Since the original file is no longer available I'll close this PR.
Thank you again @skotfred for contributing this, we will keep an eye on it for the future.


Add condition to yum installation of lttng-ust

Add if condition to yum package manager part of dependencies installation for lttng-ust, due to it being an external package.
The change would allow for the instances where package is locally available or external repo can't be whitelisted.
Related to AzDO BUG 1804844

Manually tested installation with script with the package available locally and without it

Manually tested installing dependencies on a system with a repository for lttng-ust and without a repository.


adding borderColor to parsers

Hi Mikko,
Using this on a soon in production work, just adding a borderColor parser.

Thanks for the pull request! This looks great. Just gonna test to double check.

Might be interesting to implement something like this at some point.
https://www.npmjs.com/package/css-border-property


TypeError when compiling readonly @prop in c'tor

both of these work fine:
class Foo
  @(readonly bar)

class Foo
  @(@bar)

but you can't combine them.

Isn't combining them kind of redundant? Doesn't @(readonly bar) already assign to this.bar (if using TypeScript)? I agree it would still be nice, though.

In that case, it should at least diagnose, rather than crashing the compiler.


Feature:  If dashboard is empty (App status: WAITING), provide to the user a "fetch data" button.

If the dashboard is empty, waiting for an event to start drawing charts and solutions (see image), the web should provide a button to simulate a ping to the server (http://<IP_ADDRESS>:8081/ping). Then, all passed events will be processed.

Alternative: Once the websocket is connected and ready to start receiving data, ask the backend what is the latest stored event id to start synchronizing older event data.


Add region into resource for events portion

Add's the <region> which is missing in "Resource": "arn:aws:events::<account_no>:rule/<service_name>*" for the events example.

Thanks!


In sync mode promise never resolves on Win7

Hi Fotumi,
Do you accept pull requests?
There is a bug tested on Win7. In sync-mode, the player hangs after playback. The reason is because powershell never returns unless you add: this._proc.stdin.end(); (after line 65) - see also.
This does not happen on Win10. Howerver, adding ...stdin.end() on Win10 does not affect playback or promise resolution of the code below. So I guess it is safe to add.
Code to reproduce:
const player = require('node-wav-player');
const {join} = require("path");

console.log("play");

player.play({
	path: join(__dirname, './media/Nyan_Cat_min_loop.wav'), sync: true
}).then(() => {
	console.log('The wav file played successfully.'); //never reached
}).catch((error) => {
	console.error(error);
});

https://github.com/futomi/node-wav-player/blob/de13ecf66177348dc7220aebc76359b4567d0b5b/lib/wav-player.js#L65
Best wishes
Joe

Sorry my reply is late. Thank you so much for your PR.

Do you accept pull requests?

Yes, of course!  I've just merged your PR. Thanks again.


这个地址的播放器不能全屏 http://www.kan300.com

中文用户请注意：请尽量用英文描述你的 issue，这样能够让尽可能多的人帮到你。
If you want to report a bug, please provide the following information:

The steps to reproduce.
A minimal demo of the problem via https://jsfiddle.net or http://codepen.io/pen if possible.
Which versions of DPlayer, and which browser / OS are affected by this issue?

allowFullscreen 属性没有设置。


Feature Request

Hi
I am a fan of this component, a feature request would be to enable just the month selection, and hide weekdays and monthdays.
Maybe just with variables called :disableWeekdays and disableMonthDays: maybe just in this way :

This component is to select the date, month and year. Not just month. You can play with  some validation logic in your controller if the user selects other than month.


Disguised fast path

Closes #16

An extra branch doesn't seem to be noticeable in the overall benchmarks, so it looks like it should be good to go.

Looks great to me, thank you.


[Digital Product Pass] - Release Checks R24.05

[!IMPORTANT]
Follow the guidance on how to use the templates.

Release Info
Please provide information on what you want to be included in the Eclipse Tractus-X release.
If you are not owner of this issue, please provide the information as comment to the issue.
Make sure to assign this issue to expert(s) for their approval, as soon as you have finished preparation. Multiple assignees allowed; they will un-assign themselves once review completed.
Version to be included in Eclipse Tractus-X release: v3.0.0-rc1
Leading product repository: https://github.com/eclipse-tractusx/digital-product-pass
Compliance Verifications
This issue tracks all checks, that need to be performed for a product release in Eclipse Tractus-X.

[x] eclipse-tractusx/digital-product-pass#299
[ ] eclipse-tractusx/digital-product-pass#300

General Checks

[x] eclipse-tractusx/digital-product-pass#263

[!NOTE]
Note: most criteria for documentation and security are now covered in TRGs

Security Checks

[x] eclipse-tractusx/digital-product-pass#301

Test Results

[ ] eclipse-tractusx/digital-product-pass#302
[ ] eclipse-tractusx/digital-product-pass#303

Helpful Links

Eclipse Tractus-X openAPI specs on SwaggerHub

Ok TRG approved and double checked by two committers, @saudkhan116 which prepare and me which reviewed.

For the Thread Modelling was already requested and reviewed with @szymonkowalczykzf in Friday. He will open a pull request and it will be merged in the main branch.

Reviewed interoperability based on the provided documentation (delta since last release):
https://confluence.catena-x.net/x/uYnrBw
@kelaja Approved!

App release candidate with the TRGs + Interoperability Requirements and E2E Tests without documentation done released!
https://github.com/eclipse-tractusx/digital-product-pass/releases/tag/v3.0.0-rc1

E2E Tests and INT Tests performed successfully. Data Sov Tests outstanding.

2024-05-14: QG review
data sov just a matter of completion / no blockers.
TRGs completed with several comitters. great!
User Journey approval expected on final version 3.0.0

Expert approval granted as the solution considers the company rules by showing all accceptable options to the end-user and no decision is made without the company knowing.

App in version 3.0.0 released: https://github.com/eclipse-tractusx/digital-product-pass/releases/tag/v3.0.0

@vialkoje , @cbrugg , @matbmoser  as aligned referencing here notes / feedback from E2E Tests for Data Sovereignty.
No blocking issues for current Rel 24.05 but main items to be considered for next release(s):

Note: additional tests (from customer perspective) only partially possible
app relies mainly on backend configuration of policies, no UI yet for definition and maintenance of Company specific Rules
Each Customer runs own application instance, any user is able to login with Part number and can see and select company rules (however, important that users cannot change or propose new ones)
incomplete Policy: no validation / no error if e.g. pre-defined policy is missing
ContractReference Contraint can be added in backend, but not easily configurable separately for different partner BPNs
Error Handling / failed negotiation: nice that in case own company rule selected does not match a contract offer with this material, Error Screen mit "policy selected is not allowed per config or does not exist"
It is possible (for one user!) to decline a specific policy but same screen and option will appear for same user and all other company users again, i.e. backend process unclear
no validation of the Schema "profile": "cx-policy:profile2405" (required to ensure interop with other traceability apps)

Super! Thank you @KMA-2019 for the review! I see all this points as valid points to improve in the next release :) Luckily we had so many testers (105 persons aprox) testing the application yesterday and today in the Second Tractus-X Community Days and the application worked as expected! Data Sovereignty is completely configurable and will restrict by design any other policy that is not specified in the configuration for security reasons. Following the concept of Deny all accept the configured ones.

All tests have passed successfully.
Testmanagement Approval is hereby given. Thank you for your efforts!

looks good @matbmoser
so the approval of user journey is the only thing missing for full QG approval
Roland

I have sent a reminder today again to the business owner for getting the User Journey approval, waiting for response.

User Journey Approved by Business Owner!

User Journey Approved by Business Owner! @RolaH1t I believe we are ready then 💯

yes, evidence confirmed

Congrats:
Quality Gate fully approved with all necessary pre-requisites fulfilled!
Thanks for all your efforts,
Roland


Can not connect to a

Hi
i have added search guard ssl & search guard (https://github.com/floragunncom) to secure our elastic data with username/password authentication.
But now i can not load data in using elasticsearch-jdbc. if i disable search guard - it all starts to work again, so i know its 100% the issue. I have looked through the elasticsearch-jdbc docs but i can not see how i can set any authentication parameters.
Is there any opportunity to add authentication support?
Thanks
Paul

You can fork the JDBC importer and implement authentication for yourself because I will not add anything with "security features" to the project. The reason is that JDBC security is not part of the JDBC specification and it would be up to me alone to a) implement security layers over JDBC to connect to the security mechanisms of all DB vendors that offer JDBC drivers plus b) to secure the data transport from DB to Elasticsearch in a coherent manner so that c) nobody can sue me due to security breaches, which is close to impossible for me.
Here are some hints in the hope they are considered helpful.
JDBC importer only works with vanilla Elasticsearch API. For SearchGuard, you would have to add the SecurityGuard plugin to the JDBC importer transport client implementation, the code is at https://github.com/jprante/elasticsearch-helper
Additional settings like
 Settings settings = Settings.settingsBuilder()
                .put("path.home", ".")
                .put("cluster.name", "clustername")
                .put("searchguard.ssl.transport.enabled", true)
                .put("searchguard.ssl.transport.keystore_filepath", "keystore.jks")
                .put("searchguard.ssl.transport.truststore_filepath", "truststore.jks")
                .put("searchguard.ssl.transport.enforce_hostname_verification", false)
                .build();

to the transport client are required to activate SecurityGuard, which is not implemented. There is no authentication for transport client by SearchGuard afaik so I'm not sure how authentication should work.
Maybe you want HTTP but JDBC importer over HTTP is not implemented.
As a side note, the configuration method of
https://github.com/floragunncom/search-guard-ssl-docs/blob/master/configuration.md
is not secure, since the jks must be on a local file system and the (optional) keystore password must be given in clear text in the Elasticsearch configuration. So take care if this configuration is "secure enough" for you.


Add a sleep after each sbatch call (when running parallel tasks in SLURM)

TBD

Closed with #1467 in view of #1459.
We should re-visit this in the future


Error Message 500. Request failed to complete in 15000ms

Which service(blob, file, queue, table) does this issue concern?
Blob
Which version of the Azurite was used?
3.14.0
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
Github
What problem was encountered?
As part of our automation tests. The Azurite is getting in high usage (Around 10-15 requests per second). some of the requests return with HTTP 500 errors.
Steps to reproduce the issue?
Send load of requests in a short time.
Log example from debug.log:
2021-11-02T15:43:21.361Z e51892db-d397-4e58-8978-74c4c86c2838 info: BlobStorageContextMiddleware: RequestMethod=PUT RequestURL=http://azurite-service.qa.svc.cluster.local/devstoreaccount1/qac/propagation_assortments%2F18208_d2839409-a6f1-44a3-992f-fa9102819b70?comp=properties RequestHeaders:{"host":"azurite-service.qa.svc.cluster.local:10000","x-ms-version":"2020-02-10","x-ms-blob-content-type":"application/json","x-ms-blob-content-encoding":"gzip","x-ms-client-request-id":"42a3d8dd-da27-4b56-b6d5-581d5c709abc","x-ms-return-client-request-id":"true","user-agent":"azsdk-net-Storage.Blobs/12.7.0 (.NET Core 3.1.20; Linux 5.4.0-88-generic #99-Ubuntu SMP Thu Sep 23 17:29:00 UTC 2021)","x-ms-date":"Tue, 02 Nov 2021 15:43:21 GMT","authorization":"SharedKey devstoreaccount1:KE9nAPOalOZrzD480tvVfBKUYfLy4MCbvad/Jkgv4Gw=","traceparent":"00-7cd69414f413694997525ee7d74109a6-49bb3c623983634b-00","uber-trace-id":"4819fc6a0c629a34%3A860fb0e737460e0d%3Aa9258b41d44499f7%3A0","content-length":"0"} ClientIP=<IP_ADDRESS> Protocol=http HTTPVersion=1.1
2021-11-02T15:43:21.362Z e51892db-d397-4e58-8978-74c4c86c2838 info: BlobStorageContextMiddleware: Account=devstoreaccount1 Container=qac Blob=propagation_assortments/18208_d2839409-a6f1-44a3-992f-fa9102819b70
2021-11-02T15:43:21.362Z e51892db-d397-4e58-8978-74c4c86c2838 verbose: DispatchMiddleware: Dispatching request...
2021-11-02T15:43:21.362Z e51892db-d397-4e58-8978-74c4c86c2838 info: DispatchMiddleware: Operation=Blob_SetHTTPHeaders
2021-11-02T15:43:21.362Z e51892db-d397-4e58-8978-74c4c86c2838 verbose: AuthenticationMiddlewareFactory:createAuthenticationMiddleware() Validating authentications.
2021-11-02T15:43:21.362Z e51892db-d397-4e58-8978-74c4c86c2838 info: PublicAccessAuthenticator:validate() Start validation against public access.
2021-11-02T15:43:21.362Z e51892db-d397-4e58-8978-74c4c86c2838 debug: PublicAccessAuthenticator:validate() Getting account properties...
2021-11-02T15:43:21.362Z e51892db-d397-4e58-8978-74c4c86c2838 debug: PublicAccessAuthenticator:validate() Retrieved account name from context: devstoreaccount1, container: qac, blob: propagation_assortments/18208_d2839409-a6f1-44a3-992f-fa9102819b70
2021-11-02T15:43:21.399Z e51892db-d397-4e58-8978-74c4c86c2838 debug: PublicAccessAuthenticator:validate() Skip public access authentication. Cannot get public access type for container qac
2021-11-02T15:43:21.399Z e51892db-d397-4e58-8978-74c4c86c2838 info: BlobSharedKeyAuthenticator:validate() Start validation against account shared key authentication.
2021-11-02T15:43:21.400Z e51892db-d397-4e58-8978-74c4c86c2838 info: BlobSharedKeyAuthenticator:validate() [STRING TO SIGN]:"PUT\n\n\n\n\n\n\n\n\n\n\n\nx-ms-blob-content-encoding:gzip\nx-ms-blob-content-type:application/json\nx-ms-client-request-id:42a3d8dd-da27-4b56-b6d5-581d5c709abc\nx-ms-date:Tue, 02 Nov 2021 15:43:21 GMT\nx-ms-return-client-request-id:true\nx-ms-version:2020-02-10\n/devstoreaccount1/devstoreaccount1/qac/propagation_assortments%2F18208_d2839409-a6f1-44a3-992f-fa9102819b70\ncomp:properties"
2021-11-02T15:43:21.400Z e51892db-d397-4e58-8978-74c4c86c2838 info: BlobSharedKeyAuthenticator:validate() Calculated authentication header based on key1: SharedKey devstoreaccount1:KEY
2021-11-02T15:43:21.400Z e51892db-d397-4e58-8978-74c4c86c2838 info: BlobSharedKeyAuthenticator:validate() Signature 1 matched.
2021-11-02T15:43:21.400Z e51892db-d397-4e58-8978-74c4c86c2838 verbose: DeserializerMiddleware: Start deserializing...
2021-11-02T15:43:21.400Z e51892db-d397-4e58-8978-74c4c86c2838 info: HandlerMiddleware: DeserializedParameters={"options":{"requestId":"42a3d8dd-da27-4b56-b6d5-581d5c709abc","blobHTTPHeaders":{"blobContentType":"application/json","blobContentEncoding":"gzip"},"leaseAccessConditions":{},"modifiedAccessConditions":{}},"comp":"properties","version":"2020-02-10"}
2021-11-02T15:43:36.478Z e51892db-d397-4e58-8978-74c4c86c2838 error: ErrorMiddleware: Received an error, fill error information to HTTP response
2021-11-02T15:43:36.478Z e51892db-d397-4e58-8978-74c4c86c2838 error: ErrorMiddleware: ErrorName=SequelizeDatabaseError ErrorMessage=Timeout: Request failed to complete in 15000ms ErrorStack="SequelizeDatabaseError: Timeout: Request failed to complete in 15000ms\n    at Query.formatError (/opt/azurite/node_modules/sequelize/lib/dialects/mssql/query.js:314:12)\n    at Query._run (/opt/azurite/node_modules/sequelize/lib/dialects/mssql/query.js:93:18)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:95:5)\n    at async /opt/azurite/node_modules/sequelize/lib/sequelize.js:619:16\n    at async MSSqlQueryInterface.bulkUpdate (/opt/azurite/node_modules/sequelize/lib/dialects/abstract/query-interface.js:882:12)\n    at async Function.update (/opt/azurite/node_modules/sequelize/lib/model.js:3188:28)\n    at async /opt/azurite/dist/src/blob/persistence/SqlBlobMetadataStore.js:1360:13\n    at async /opt/azurite/node_modules/sequelize/lib/sequelize.js:1090:24\n    at async BlobHandler.setHTTPHeaders (/opt/azurite/dist/src/blob/handlers/BlobHandler.js:156:19)"
2021-11-02T15:43:36.478Z e51892db-d397-4e58-8978-74c4c86c2838 error: ErrorMiddleware: Set HTTP code: 500
2021-11-02T15:43:36.478Z e51892db-d397-4e58-8978-74c4c86c2838 info: EndMiddleware: End response. TotalTimeInMS=15117 StatusCode=500 StatusMessage=undefined Headers={"server":"Azurite-Blob/3.14.0"}

Notes:
Azurite is running on a single pod.
We are using an external DB located in the same network as the Azurite.
The issue doesn't happen when running the requests separately.
There is no resource usage issue with withe pod/cluster.

@omerkMM
As we see, the error is "ErrorName=SequelizeDatabaseError ErrorMessage=Timeout: Request failed to complete in 15000ms".
This looks like the error is caused by sql server issue or network issue. If you looks into the sql server log, you might can find more hint, by see if the request from azurite is received and returned from sql server in time.
Besides that, "10-15 requests per second" looks is not too heavy. Can you still repro the issue with azurite run with loki, instead of sql?

Thanks for the reply, it helped
We removed the DB connection (which defaults to loki) and things look stable
After further investigation on our end for the root cause of the issue when using a persistent DB connection, we found out the following
Azurite uses sequelize upsert commands
Sequelize is translating this command a MERGE INTO statement for the SQL Server
MERGE INTO statements is blocking records on the page level so it’s blocking a lot of update statements (that appear on the same page in the DB)
This is what’s causing records to be locked for a long time
If there are a lot of MERGE INTO statements, they are waiting on each other (each is blocking a whole page and waits for the previous one to finish)
A more efficient approach would be to stop using upset and instead to use get and then insert/update

@omerkMM
Good to know the issue resolved on your side with Loki!
We will look into the SQL issue you mentioned.

I have also tested to use Azurite with an external DB (MSSQL). Idea was/is, to use multiple Azurite instances behind a load balancer to achieve better performance. My finding is, that even when using only one Azurite instance with an external MSSQL DB, I see multiple locks on the DB when Azurite is accessed in parallel (multiple threads reading/writing to Azurite). The locks finally lead to timeouts and in consequence to exceptions being thrown.
This renders the external DB feature pretty useless in current state (Azurite 3.15.0) in my opinion. At least with MSSQL.

@devax
Thanks for the information!
Azurite SQL support is still in preview, we will investigate it when bandwidth available.
However, Azurite welcome contribution!
All the SQL related API are called in same file in Azurite https://github.com/Azure/Azurite/blob/main/src/blob/persistence/SqlBlobMetadataStore.ts, like this line.
It would be great if you could help to change the SQL call (per @omerkMM 's comment, change the SQL call might can fix it ), and test if it works for your scenario. And if it works for you scenarios, you can raise a PR to fix this.

+1 im also having this issue


Project IInspectable/IPropertyValue to a WinRTAny type

Attempted and decided to keep IInspectable, adding separate boxing functionality in https://github.com/tristanlabelle/swift-winrt/commit/7f134b915022365b1ddf89c8dd0b0966f5aae159


Add coveralls.io functionality.

As mentioned in: #58
Before we merge this in, @StoicLoofah can you create a coveralls.io account and make sure that your level of access allows you to enable it for this repo?
If you do, it should show up under the repo tab with a switch to turn it on, then we can do the next steps and merge this commit.
It should provide a repo_token on the details page, that repo_token needs to be added to the circleci workflow as an environment variable.
COVERALLS_REPO_TOKEN = xxxxxxxxx
This can be achieved via the circleci dashboard by editing the workflow (gear next to the workflow name) then going to the Environment Variables tab.
The coveralls.io page also provides a nice embeddable
(I also removed the travis-ci configuration file, since I don't think it's used anymore)
I have tested this by creating accounts and doing it for my fork.
https://github.com/Gusgus01/sc2reader/pull/3

The COVERALLS_REPO_TOKEN is needed because it looks like their integrations with circle ci is not the best implemented and has had issues for a long time, travis ci has integration such that the repo is found automatically:
https://github.com/lemurheavy/coveralls-public/issues/1018

@Gusgus01 cool thanks for looking into this! I have the env var set in circleci. let me know if there's anything other config i need to do

I think that was the only config changes I had to make.

Is there a way to test that it works before I merge it in? will it work if you just make another commit onto this branch?

Circleci was using the account I made to test instead of ggtracker. Interesting.
I removed them and now it's using the ggtracker/sc2reader workflows. But it's failing with the error saying coveralls can't find the repo. That is the error I ran into when my COVERALLS_REPO_TOKEN was missing or incorrect.

Under the section that says: CIRCLE, JENKINS, SEMAPHORE AND CODESHIP it says it needs the COVERALLS_REPO_TOKEN. Although I believe I saw in an issue on their repo, that they supposedly support auto-detection with CircleCI. But the issue I linked upthread also shows that they seem to have issues with it.
I wasn't too enthralled with coveralls.io, they seem to be lacking documentation. They also don't seem to engage very much on their issue tracker.
I was just doing it since it was an open issue, I usually track test coverage just using coverage on my dev environments :)

This branch has git conflicts that must be resolved.


Do not run python packages related tasks if no additional_python_packages

alternative to https://github.com/ansible/receptor-collection/pull/58/files

tested with RHEL8 "release" install method, worked


Admin controls

Generally looks good, I encourage you to think a bit more about cleaning up the 200ms part.


AMIP Status Report

To be an SDI
Base on issues in #135
We want to report on

general physical results compared to data and models
performance
potential sources of error

#120  (e.g. beware of timestepping sequance of radiation @szy21 found this in Atmos)

out of date


add consistent class to header & subtitle across templates

no changes to styling (intentional), just addition of consistent classes for our header, h1 title and subtitle (span within the h1)
I have opted for BEM classes for these as it seemed to be the most consistent for future direction
I have also raised that our usage of role='banner' is very inconsistent in the #ui channel on slack, but not addressed that in this PR

Updated after the large changes from https://github.com/wagtail/wagtail/pull/8438

@thibaudcolas maybe we should prefix this.
w-header
(assuming we are not going to pursue IT AS.

I’ve merged it as-is. We need to do more refactorings but I don’t know when we’ll get to them, and I don’t want to risk this getting further conflicts.

Thanks Thibaud


Cutoff algorithm job container should record different job status

Is your feature request related to a problem? Please describe.
When job cutoff algorithm job container based on maxTime, should record job status as another or new status instead of 70 (Job finished)
Describe the solution you'd like
When algorithm job completed premature, should record job status with another/new status to provide user with better information thus user won't complaint if they get partial or no result(s) as compute jobs ran finish.
features you've considered.
Algorithm Job Log
2022-12-05 07:03:25.376,"2022-12-05 07:03:25,376 Starting logging2022-12-05 07:03:25.377,"2022-12-05 07:03:25,377 got input file: /data/inputs/fb9c73902fe87ed17dc09489ef5dd2aa885ac9c3c5f19456c3f809e0c236db7f/0, fb9c73902fe87ed17dc09489ef5dd2aa885ac9c3c5f19456c3f809e0c236db7f, []
2022-12-05 07:03:25.377,"2022-12-05 07:03:25,377 Selected input file: /data/inputs/fb9c73902fe87ed17dc09489ef5dd2aa885ac9c3c5f19456c3f809e0c236db7f/0 1.4e-05 MB
2022-12-05 07:03:25.377,"2022-12-05 07:03:25,377 Target output folder: /data/outputs
2022-12-05 07:03:25.377,"2022-12-05 07:03:25,377 Loading /data/inputs/fb9c73902fe87ed17dc09489ef5dd2aa885ac9c3c5f19456c3f809e0c236db7f/0
2022-12-05 07:03:25.381,"2022-12-05 07:03:25,381 Loaded 1 records into DataFrame
2022-12-05 07:13:51.024,"Killed

Compute Engine Log
2022-12-05 07:14:15.090,"Stages: [ { index: 0,
    input: [ [Object] ],
    compute:
     { Instances: 1,
       namespace: 'ocean-compute',
       maxtime: '900',
       resources: [Object],
       storageExpiry: 0 },
    algorithm:
     { id:
        'did:op:7519695897d4f2a3521c5c154f3d02f6d14eb4b9da0a888375c755365e28b1ea',
       rawcode: '',
       container: [Object],
       algouserdata: null,
       remote: [Object],
       algocustomdata: null },
    output: { metadataUri: 'https://aquarius.url' } } ]
2022-12-05 07:14:15.094,"OutputFiles: [ [ name: 'algorithm.log',
    path: '/data/logs/algorithm.log',
    contentType: 'text/plain',
    contentLength: '595',
    isoutput: false ],
  [ name: 'configure.log',
    path: '/data/adminlogs/configure.log',
    contentType: 'text/plain',
    contentLength: '2434',
    isoutput: false ],
  [ name: 'publish.log',
    path: '/data/adminlogs/publish.log',
    contentType: 'text/plain',
    contentLength: '505',
    isoutput: false ] ]

We have a separate status for this in https://github.com/oceanprotocol/operator-service/blob/v4main/API.md#get-apiv1compute
stopreq: 0 - None, 1 - API Enpoint Stop called, 2 - Job exceeded allocated time

is this enough?

@alexcos20
seem like this doesn't work, i did try out and c2d execute longer than maxtime
The response from https://provider/api/services/compute?consumerAddress=0xWallet and DB jobs table both has stopreq value of 0


Uncaught TypeError when starting new coursework as new/ unknown user

When I start a new course as a new/unknown user, I get the following error message:

The screen stays black and I am not redirected to the content of the first chapter.

Thanks for reporting here, you're right. Not sure what the issue is, perhaps @mwmouawad will be able to help?

Hello @DOling thank you very much for your message! I am sorry for the delay, was on vacation for a couple of days. So I have solved the bug, you may see it here:  #121. Please check if you see any other errors, it is really great to have user's feedback to spot those bugs :)


use relative import

The import path is now absolute, which requires users to install or configuring the python path before using. However, this can be improved with relative import, so users can use the package without installing it first.

Thank you @bridgream !!


Make NamedTuple.new.to_h return {} of Symbol => Nil

NamedTuple.new.to_h returns {} of NoReturn => NoReturn
I believe a more workable result of this would be {} of Symbol => Nil
Here's a real-world example (yes, I know you're not meant to use NamedTuple </self-flaggelation>)
a = {a: nil, b: "hi", c: :hmm, d: Time.utc}
b = NamedTuple.new

def do_the_thing(h)
  h.to_h.transform_values do |v|
  case v
  when String then v
  when Symbol then v.to_s
  end
  end.compact
end

do_the_thing(a) # {:b => "hi", :c => "hmm"} : Hash(Symbol, String)
do_the_thing(b) # {} of NoReturn => NoReturn

# With the proposed change
do_the_thing(b) # {} of Symbol => String

Crystal Version
Crystal 1.0.0 [dd40a2442] (2021-03-22)

LLVM: 6.0.1
Default target: x86_64-apple-macosx

As you already pointed out, this isn't really the use case for Named Tuples.  I'm not really this would even be worth it.

Making it return {} of Symbol => Nil will not change the return types as you suggested; NamedTuple.new.each will yield nothing to the provided block, so the entire body of transform_values will be untyped. Both that and {} of Symbol => NoReturn will give Hash(Symbol, NoReturn).
Related: #9923

@Blacksmoke16 People will invariably run into things like this.
I think saving people from a WTF moment is more important in the first place than having a set of implicit language conventions that the user will eventually discover through engagement.

Actually compact is doing the right thing here:
typeof({:a => nil}.compact) # => Hash(Symbol, NoReturn)
typeof([nil].compact)       # => Array(NoReturn)

You cannot make the value type something other than NoReturn by using Nil values instead of NoReturn.

NamedTuple.new.to_h would make more sense to return Hash(Symbol, NoReturn) instead of Hash(NoReturn, NoReturn) as the keys of named tuples are always symbols, even when there are none. Either way, the value type shouldn't be Nil and this is a very edgy/unusual use case.
Still, something like this would be a breaking change and is only possible for 2.0.


Vertical Block Sharding

The proposal with motivation, proposed approach is almost ready here.
Help wanted to get that to completion.
AC:

Compactor can make sure from e.g. 4 large 2d blocks to compose 4 vertically splitter 8d blocks. This is to assure we can parallize fetch from blocks on store gateway level.

On the Cortex size, we also made an attempt at this problem
https://github.com/cortexproject/cortex/pull/4843


Setting up ReSpeaker Mic Array - Far-field w/ 7 PDM Microphones on Raspbian.

Hi @xiongyihui
We're trying to get ReSpeaker Mic Array with 7 PDM Mics work on raspbian 9.
So, we installed fresh raspbian, plugged ReSpeaker.
pi@raspberrypi:~/mic_array $ arecord -l
**** List of CAPTURE Hardware Devices ****
pi@raspberrypi:~/mic_array $ lsusb
Bus 001 Device 005: ID 046d:c06c Logitech, Inc. Optical Mouse
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

We can't see any recording hardware / usb devices. Running mic_array repository script gives us:

sudo python mic_array.py output
pi@raspberrypi:~/mic_array $ sudo python mic_array.py
No USB device found
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
connect(2) call to /tmp/jack-0/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
(0, 'bcm2835 ALSA: - (hw:0,0)', 0L, 2L)
(1, 'bcm2835 ALSA: IEC958/HDMI (hw:0,1)', 0L, 2L)
(2, 'sysdefault', 0L, 128L)
(3, 'default', 0L, 128L)
(4, 'dmix', 0L, 2L)
Traceback (most recent call last):
  File "mic_array.py", line 190, in <module>
    test_8mic()
  File "mic_array.py", line 176, in test_8mic
    with MicArray(16000, 8, 16000 / 4)  as mic:
  File "mic_array.py", line 42, in __init__
    raise Exception('can not find input device with {} channel(s)'.format(self.channels))
Exception: can not find input device with 8 channel(s)

As you told to someone we tried to change firmware

dfu command output
```
pi@raspberrypi:~/mic_array_dfu $ sudo ./dfu --download respeaker_mic_array_8ch_raw.bin
VID = 0x46d, PID = 0xc06c, BCDDevice: 0x6300
VID = 0x46d, PID = 0xc52b, BCDDevice: 0x2400
VID = 0x424, PID = 0xec00, BCDDevice: 0x200
VID = 0x424, PID = 0x9514, BCDDevice: 0x200
VID = 0x1d6b, PID = 0x2, BCDDevice: 0x409
Could not find/open device
```

So we have Could not find/open device, the same as here: https://github.com/respeaker/mic_array_dfu/issues/3
However, we already run this command with sudo and still have the problem.
In short:
We can't see the ReSpeaker in lsusb, arecord -l, python mic_array.py. Tried to update firmware, but didn't succeed. Also tried to execute different commands from github issues that's indirectly related to our problem - still nothing.
Please, can you tell us what to try? Simply need to capture audio with pyaudio through ReSpeaker.
Thank you very much.

@fahrenq Do you need to update firmware for 8 channel data???

Hello,
I'm also having issues connect my mic-array. It powers on, but my pi won't recognize it. I've tried a few different cables.
Thanks in advance!


#592, #594, #599 - add El to Popup,Tooltip, Popover and Menu components

I tested all of these component and There is no problem.


Add new event size field

Related to: https://github.com/webui-dev/webui/issues/171
Edit:
Converting to Draft until the new WebUI C lib version / usage of release builds is implemented as it would break building at the current state.

superseded by #44


Cannot build voice-engine-a

Hi, I tried to build voice-engine-a and keep getting this error:
SIMPLE: CMake Error: Could not create named generator Android Gradle - Ninja
Please please help me. I'm trying to start to make this work for another language, and you guys are the only active community.
Cmake is installed in /home/s/sdk/cmake/<IP_ADDRESS>88404/bin/cmake using android studio:

I've search stackoverflow and everywhere, but no luck. Project structure is like this:

Full error details are:
SIMPLE: Build command failed.

SIMPLE: Error while executing process /home/s/sdk/cmake/<IP_ADDRESS>88404/bin/cmake with arguments {-H/home/s/src/voice-engine-a/app -B/home/s/src/voice-engine-a/app/.externalNativeBuild/cmake/debug/armeabi -GAndroid Gradle - Ninja -DANDROID_ABI=armeabi -DANDROID_NDK=/home/s/android-ndk-r16b -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/s/src/voice-engine-a/app/build/intermediates/cmake/debug/obj/armeabi -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=/home/s/sdk/cmake/<IP_ADDRESS>88404/bin/ninja -DCMAKE_TOOLCHAIN_FILE=/home/s/android-ndk-r16b/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=android-19 -DCMAKE_CXX_FLAGS=-std=c++11}

SIMPLE: CMake Error: Could not create named generator Android Gradle - Ninja

SIMPLE: Generators

SIMPLE:   Unix Makefiles               = Generates standard UNIX makefiles.

SIMPLE:   Ninja                        = Generates build.ninja files.

SIMPLE:   Watcom WMake                 = Generates Watcom WMake makefiles.

SIMPLE:   CodeBlocks - Ninja           = Generates CodeBlocks project files.

SIMPLE:   CodeBlocks - Unix Makefiles  = Generates CodeBlocks project files.

SIMPLE:   CodeLite - Ninja             = Generates CodeLite project files.

SIMPLE:   CodeLite - Unix Makefiles    = Generates CodeLite project files.

SIMPLE:   Sublime Text 2 - Ninja       = Generates Sublime Text 2 project files.

SIMPLE:   Sublime Text 2 - Unix Makefiles

SIMPLE:                                = Generates Sublime Text 2 project files.

SIMPLE:   Kate - Ninja                 = Generates Kate project files.

SIMPLE:   Kate - Unix Makefiles        = Generates Kate project files.

SIMPLE:   Eclipse CDT4 - Ninja         = Generates Eclipse CDT 4.0 project files.

SIMPLE:   Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.

SIMPLE:   KDevelop3                    = Generates KDevelop 3 project files.

SIMPLE:   KDevelop3 - Unix Makefiles   = Generates KDevelop 3 project files.

SIMPLE: Build command failed.

SIMPLE: Error while executing process /home/s/sdk/cmake/<IP_ADDRESS>88404/bin/cmake with arguments {-H/home/s/src/voice-engine-a/app -B/home/s/src/voice-engine-a/app/.externalNativeBuild/cmake/release/armeabi -GAndroid Gradle - Ninja -DANDROID_ABI=armeabi -DANDROID_NDK=/home/s/android-ndk-r16b -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/s/src/voice-engine-a/app/build/intermediates/cmake/release/obj/armeabi -DCMAKE_BUILD_TYPE=Release -DCMAKE_MAKE_PROGRAM=/home/s/sdk/cmake/<IP_ADDRESS>88404/bin/ninja -DCMAKE_TOOLCHAIN_FILE=/home/s/android-ndk-r16b/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=android-19 -DCMAKE_CXX_FLAGS=-std=c++11}

SIMPLE: CMake Error: Could not create named generator Android Gradle - Ninja

SIMPLE: Generators

SIMPLE:   Unix Makefiles               = Generates standard UNIX makefiles.

SIMPLE:   Ninja                        = Generates build.ninja files.

SIMPLE:   Watcom WMake                 = Generates Watcom WMake makefiles.

SIMPLE:   CodeBlocks - Ninja           = Generates CodeBlocks project files.

SIMPLE:   CodeBlocks - Unix Makefiles  = Generates CodeBlocks project files.

SIMPLE:   CodeLite - Ninja             = Generates CodeLite project files.

SIMPLE:   CodeLite - Unix Makefiles    = Generates CodeLite project files.

SIMPLE:   Sublime Text 2 - Ninja       = Generates Sublime Text 2 project files.

SIMPLE:   Sublime Text 2 - Unix Makefiles

SIMPLE:                                = Generates Sublime Text 2 project files.

SIMPLE:   Kate - Ninja                 = Generates Kate project files.

SIMPLE:   Kate - Unix Makefiles        = Generates Kate project files.

SIMPLE:   Eclipse CDT4 - Ninja         = Generates Eclipse CDT 4.0 project files.

SIMPLE:   Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.

SIMPLE:   KDevelop3                    = Generates KDevelop 3 project files.

SIMPLE:   KDevelop3 - Unix Makefiles   = Generates KDevelop 3 project files.

I have also, tested with windows, but no luck.
running gradlew.bat prints: build successful but no apk is generated

Voice-engine is not a standalone app hence, it cannot be built using any IDE. It is internally referenced by the pehlaschool module which is the main module.

Thank you so much. Actually I was working on the main repository, and the seem to have an APK file for voice-engine-a.
release link
I was trying to build that apk, but I was not able to. Is this the same case, if not, how did they create that apk?


Hardcoded log directory doesn't allow for password server to run in Windows

https://github.com/CboeSecurity/password_pwncheck/blob/9052a16d3fd9e67319c0166837cde3bd2f03aefe/pwned_password_server/pwned-password-server.py#L41
There should be some decision according to the platform where to save logs.

Couldn’t you just change the path to what you want? Seems rather trivial.

Good point, I'll add support on the command line or environment variable.

I've changed the log file to be "None" by default on Windows, and configurable on the command line.


Migrator.DropTable(...) documentation doesn't reflect that it's a "drop if exists"

Describe the feature

It would be great if the documentation reflected that Migrator.DropTable(...) is really an "drop if exists", especially given that Migrator is an interface.
Motivation

Migrator.DropTable(...)  actually does a "drop table if exists" which would seem to be a different operation, or at least a variation of dropping a table.  While I could check if the table exists before dropping it with Migrator.HasTable(...) that isn't really the same thing, since based on isolation the table might be created and/or deleted before the next statement is ran using Migrator.DropTable(...).
https://github.com/go-gorm/gorm/blob/60b769c2c8ab57eee310d86de11ec6c65b7b21d8/migrator/migrator.go#L242
Related Issues

https://gorm.io/docs/migration.html#Tables , As the document said, DropTable will drop table if it exists

https://gorm.io/docs/migration.html#Tables , As the document said, DropTable will drop table if it exists


VS Mac package

Current implementation should be entirely portable between VS Mac and VS Windows. All that's missing to get started on Mac is a VS Mac Add-in package that bundles up the DLLs, similar to the samples in the Editor API repo: https://github.com/microsoft/vs-editor-api/tree/master/samples

Everything so far seems to work except foz


Re-factor [ideas...]

Again, entirely unsolicited, but I think this project would realize a ton of benefit from re-factoring the code and following some better Python practices.
A couple things that I think would be helpful:

taking advantage of extras_require in setup.py (i.e. modularize the install)
taking advantage of entrypoints in setup.py (i.e. python -m rasa_core.train -> rc-train and perhaps using a nice library like click to handle any CLI work).
encouraging first-class usage of the library as a package (it's fully supported today, but there is no first class documentation for the most natural interface: Python)

I think there are a lot of other "opportunities" but unfortunately, it looks like Py27 compatibility is desired. Though, I wonder how many folks are actually using Py27.

We will probably be dropping support for py27 at some point, but for now i'm afraid we still have to support it. We're happy to accept a PR with these suggestions otherwise though :)


Changing package name and building locally using src.next source code

Hey guys.
https://github.com/kiwibrowser/src seems to be not updated and has some old codes when compared with Kiwi SRC.Next
Is it possible to change package name in kiwibrowser/src.next and build it locally/cloud?

Kiwi next is the current Kiwi Browser. Kiwi src is the old Kiwi classic needed for very old Android version. But yes it's confusing the first time

I will give a try to this and post it about this here later. Coz if we are adding many features, I think we have to append/remove many files and Kiwi.src next won't be helpful in this case.


telegram_bot platform to only send messages

Description:
When the notify.telegramplatform went included in the component telegram_bot (used to send and receive messages), some users using the same Telegram account from multiple devices were abandoned... (See #8183).
This is a dummy telegram_bot platform for these users (and any user who doesn't need to receive any messages). It has the capacity of sending any type of Telegram message, but it cannot receive anything.
Related issue (if applicable): fixes #8183
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#2882
Example entry for configuration.yaml (if applicable):
telegram_bot:
  platform: onlysend
  api_key: !secret telegram_bot_api_key
  allowed_chat_ids:
    - !secret telegram_bot_chat_id_admin
    - !secret telegram_bot_group

notify:
  - platform: telegram
    chat_id: !secret telegram_bot_chat_id_admin

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

We should change this line to check for False instead of None:
https://github.com/azogue/home-assistant/blob/34d397376ef95fcdb22052739678b6a23885b1b6/homeassistant/components/telegram_bot/__init__.py#L217

Yeah the name is a bit strange, but I have also no better sugestion...

Some name suggestions: telegram_message_send, send_telegram_message
I don't say they are better :-) The best would be "telegram_notification", but I think that will result in  a lot of confusion!

Suggestion: broadcast

ok, so broadcast it is (I like it more too)

After telegram_bot was introduced we, unfortunately, can't use more than one bot for notifications. It may be useful when we use customize notifications for different bots(chats) in the messenger (different type of notifications, for example - info, warn, crit).

Yes, you can. This platform allows you to only send messages. Which allows you to use the bot for notification from multiple hass instances, and other software as well. I use a single bot for notifications from 2 hass instances, and 2 other pieces of software. All in all total 4 "inputs" that send messages.

But, I need two bots on only one hass instance.
Now on old instance I use hass 0.43.2 and two telegram notifications with two api keys.

Aha, I see your use case. Maybe you can try adding multiple bots. I see the telegram_bot component's configuration takes a list. Unfortunately I can't be if any more help.

Pull requests should not be used for support.


Add $spacing--site__v & $spacing--site__h default variables

[ ] Get rid of $map--breakpoints_to_site-padding__[v|h] variables & associated code
[ ] Add single breakpoint for site spacing
[ ] Set default percentage based spacing on small sizes; switch to fixed spacing on large sizes
[ ] Add variable for site max width
[ ] Re-add (optional) side layout code based on above variables


missing dot in first path element

I'm trying to build using  ./scripts/build.sh but got error
Building Coreth @ v0.8.1-rc.0 ... go: downloading github.com/ethereum/go-ethereum v1.10.12 go: downloading google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 build command-line-arguments: cannot load embed: malformed module path "embed": missing dot in first path element
Building on ubuntu server 20.04.3

I have the same error when running https://github.com/ava-labs/avalanche-network-runner
using go go version go1.13.8 linux/amd64

It works . the problem was Go version
I updated go to 1.17 and things went fine.

Now I have another problem.
I can't connect from outside the virtual machine
How to expose the avalanche to connect from outside?


Build argparsing into Data Helper

Data Helper's job is to be a CLI tool for importing data (from CSV, for right now). It's not very good at that and requires you to change the source and recompile for e.g. changing the server.
Should use something to build out a proper CLI and prepare it for handling monsters as well.

https://github.com/docopt/docopt.net Something like this?


Crate Build Failure for holochain_scaffolding_cli

Crate name
holochain_scaffolding_cli
Build failure link
https://docs.rs/crate/holochain_scaffolding_cli/0.3000.2/builds
Additional details
No response

I'm not sure what I'm missing here,
when I compile the release (I assume the holochain-0.3 is the correct one) then I'm seeing the same error as in our docs.rs build.
Or are you talking about another tag?

Hi @syphar thanks for replying, yes that is the correct tag, along with holochain-0.2, I will close this as the root cause for the build error has been discovered and will be addressed with the next release


plugin manager first launch should select a plugin

when you first launch the plugin manager it doesn't show any plugins selected which makes for a bad look

This is resolved in builds >= 4781 with a better "empty" plugin view.


gelding, enumeration

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[e,g]

/trunk merge


Query.in() not working as expected

Knowing that the id is the HASH key, why doesn't this query work?
Model.query('id').in(ids).exec((err, hackEventDays) => {
}

@Gregoirevda You'll need to use .scan instead of .query for your example.

Thank you for your response.
Is this part of the documentation still correct then?
https://dynamoosejs.com/api#scaninvalues

Yes, the documentation is correct, but it's referring to a query filter.  All queries require an eq with the hash key value.
The documentation isn't very clear about that.  I'll add updating the documentation to the todo list.


Netty based client fails with Server Name Indication enabled server

Requesting a server with SNI enabled, like https://netty.io/ or https://kitematic.com/ for example, with a netty based client fails with an internal_error, received after TLS Handshake. An URLConnection based client sends a server_name extension. This seems to be missed in the handshake from the netty client.
It's reproducable simply by launching java io.netty.example.http.snoop.HttpSnoopClient -Djavax.net.debug=all -Durl=https://netty.io. I've tried it up to Netty version 4.1.0.Beta5.
Please help me to find a workaround. See this issue too: https://github.com/adamfisk/LittleProxy/issues/207

will check

Hello Norman, some additional informations and a workaround:
Many of the Google services are using SNI too. Connecting
https://developer.chrome.com with the Netty client, retrieve a
Certificate CN=*.appspot.com with no matching SubjectAlternativeName.
(!)This wrong certificate is accepted (it's valid signed) which means,
there is no Host Name Verification happened.
It's been fixed simply by using
io.netty.handler.ssl.util.SimpleTrustManagerFactory instead of
io.netty.handler.ssl.util.InsecureTrustManagerFactory or
javax.net.ssl.TrustManagerFactory. The Netty client sends an extension
server_name, server_name: [host_name: developer.chrome.com] within
handshake now. Note: Simply using the Java factory is not enough, it
have to be the Netty implementation.
Is this pitfall a bug or missed documentation or simply missed knowledge
of my mind? I'm frightened about the levered security here.
Regards Frank
Am 17.05.2015 um 20:23 schrieb Norman Maurer:

will check
—
Reply to this email directly or view it on GitHub
https://github.com/netty/netty/issues/3801#issuecomment-102833123.

@ganskef using the InsecureTrustManagerFactory is only for example / demo purposes. As it is "insecure" as the name should implies.
So can we close this one ?

Thank you, but sorry, there is no workaround. I've must been messed up with my tests or logs.
Nettys based clients fails with https://netty.io/ and other SNI enabled sites.

Missed Host Name Verification vulnerability could be a missusage of the APIs by me. :-/

Now I've found the solution in the example WebSocketClient. Such a client is working with SNI sites:
ChannelPipeline p = ch.pipeline();
if (sslCtx != null) {
    p.addLast(sslCtx.newHandler(ch.alloc(), peerHost, peerPort));
}

instead of:
ChannelPipeline p = ch.pipeline();
if (sslCtx != null) {
    p.addLast(sslCtx.newHandler(ch.alloc()));
}

I solved the problem like the following example
SSLEngine engine = sslContext.createSSLEngine(); engine.setUseClientMode(true); pipeline.addLast("sslHandler", new SslHandler(engine));
instead of:
SSLEngine engine = sslContext.createSSLEngine(“host”, "port"); engine.setUseClientMode(true); pipeline.addLast("sslHandler", new SslHandler(engine));


refactor: stories for Badge, Bullet, Borderedbox

Summary
Type

Documentation

Summarise concisely:
What is expected?
Rewrite storybook stories
The following changes where made:
(Describe what you did)

Check storybook stories for these components

And don't forget to rename all the files to stories.tsx 👍

RTR @baptisteArno @matthprost


1.0 deployment

After organizing some of the set-up processes. This is now able to be dockerized in a containtainer which will be deployed on my Raspberry Pi.

Great work! The next step should be writing documentation to show how to deploy the app.

Now that the README has been added it is all set for 1.0! I will organize the next steps via boards so when I return from a long hiatus I will be able to know what to work on. Great work!


XLM problem

Hi
I got an error when the bot triggered an Order for XLM
XLM balance before order: 190.81
EUR balance before order: 0.0
{'product_id': 'XLM-EUR', 'type': 'market', 'side': 'sell', 'size': 190.81}
error: POST (400) https://api.pro.coinbase.com/orders - size is too accurate. Smallest unit is 1.00000000
XLM balance after order: 190.81
EUR balance after order: 0.0

I think I fixed this a few days ago. Can you do a "git pull" to make sure you are running the latest code. If you still have problems let me know.

thank you
I will keep you in touch


Karpenter git directories not aligned with git tags

Version
v0.27.3
Expected Behavior
Hi, I noticed that when a new Karpenter version is released, the reference on the website to the older version's CloudFormation script is gone (same applies for Grafana dashboards). For example, at the time when v0.27.2 was the latest version, I could download CloudFormation template from the URL that is formatted like this:
https://karpenter.sh/v0.27.2/getting-started/getting-started-with-karpenter/
Then, v0.27.3 was released, and the link above returns since then "Not found" error message.
I would expect that old releases are still available.
Reason behind is, that I'd like to have a stable CI/CD pipeline, where I can pin a version, and every time I build our release package, I am able to fetch the pinned version at any time.
Actual Behavior
Currently on Karpenter's GitHub under v0.27.3 tag I see only this:
https://github.com/aws/karpenter/blob/v0.27.3/website/content/en/v0.27.2/getting-started/getting-started-with-karpenter/cloudformation.yaml
Notice that although the tag is v0.27.3, the directory is v0.27.2.
Can you please align the git tags with the included directories in the content dir? Thank you.
Steps to Reproduce the Problem
N/A
Resource Specs and Logs
N/A
Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

We're hoping to fix this by reducing the amount of website versions that we track. For reference, we prune website folders so that we're not retaining many old versions of docs.
If you need to, you can still access the information you need by checking out the repo at the version after and navigating the filesystem. For example, to get v0.27.0 artifacts you can go to https://github.com/aws/karpenter/tree/v0.27.1/website/content/en/v0.27.0. I realize this isn't the best experience, and it's odd that you can't checkout the repo at v0.27.0 to get the v0.27.0 docs. This is also something we need to improve.
Going to track this effort here https://github.com/aws/karpenter/issues/3659 and close this issue.  Feel free to re-open if you have an issue with this.

Actually! I'm sorry! I closed this too prematurely. You're right, this should be open because of the exact solution I gave you. Going to re-open.

We're hoping to fix this by reducing the amount of website versions that we track. For reference, we prune website folders so that we're not retaining many old versions of docs.
If you need to, you can still access the information you need by checking out the repo at the version after and navigating the filesystem. For example, to get v0.27.0 artifacts you can go to https://github.com/aws/karpenter/tree/v0.27.1/website/content/en/v0.27.0. I realize this isn't the best experience, and it's odd that you can't checkout the repo at v0.27.0 to get the v0.27.0 docs. This is also something we need to improve.
Going to track this effort here #3659 and close this issue. Feel free to re-open if you have an issue with this.

Thank you for the solution proposal, but how would I be able to checkout for example right now v0.27.3 if I want to use a specific version? I can't checkout always main in my pipeline, and hope that v0.27.3 will be there always. If I want to pin my pipeline to a certain version, I think the best would be to checkout that given version's tag, and expect that it will always contain the resources for that given version. I hope you can improve this. Thanks for the efforts.