encoding/jsonschema: various issues importing GitHub schemas

What version of CUE are you using (cue version)?

$ cue version
cue version +0d4abd7 linux/amd64

Does this issue reproduce with the latest release?
Yes
What did you do?
exec curl -s -o github-workflow.json https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/github-workflow.json
exec cue def jsonschema: github-workflow.json -p schema

What did you expect to see?
 It now maps such odd cases to a special map of irregular definitions called #def. So in this case #def: "working-directory": .... I'm assuming these cases should be rare as schema which such oddly named fields make not much sense (considering interop compatibility). But if there is a common class of characters that appears in such fields is identified, we could consider introducing back-quoted identifiers or so (again), like #working-directory, for a limited set of characters.

Do you want separate issues opened for the other issues thrown up by https://github.com/cuelang/cue/issues/378#issuecomment-624832339?
A rough list of them:
schema expects mapping node, found string:
    ./azure-iot-edge-deployment-1.0.json:36:41
external references (http://json.schemastore.org/azure-iot-edge-deployment-1.0#/properties/modulesContent/properties/$edgeAgent/properties/properties.desired/properties/runtime) not supported:
    ./azure-iot-edge-deployment-template-1.0.json:40:45
invalid JSON for file "/tmp/tmp.CYRyAR5lD4/schemastore/src/schemas/json/bootstraprc.json": invalid character 'ï' looking for beginning of value:
    ./bootstraprc.json:1:1
invalid reference "#/definitions/builtinSteps/documentation/checkout": $ref must be of the form #/definitions/...:
    ./circleciconfig.json:761:19
anchors () not supported:
    ./component.json:134:12
#variables: non-concrete value struct:
    55:128
    99:13

A panic:
panic: interface conversion: ast.Decl is *ast.EmbedDecl, not *ast.Field [recovered]
	panic: interface conversion: ast.Decl is *ast.EmbedDecl, not *ast.Field

goroutine 1 [running]:
cuelang.org/go/cmd/cue/cmd.recoverError(0xc000525ec0)
	/home/myitcv/dev/cuelang/cue/cmd/cue/cmd/root.go:219 +0x95
panic(0xbb92e0, 0xc00061da10)
	/home/myitcv/gos/src/runtime/panic.go:969 +0x175
cuelang.org/go/encoding/jsonschema.glob..func27(0xc00015c380, 0xc0002aa190, 0xc000489b00)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/constraints.go:442 +0x83c
cuelang.org/go/encoding/jsonschema.(*state).schemaState.func1(0xc0000a6871, 0x8, 0xc00015c380, 0xc0002aa190)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/decode.go:420 +0xc3
cuelang.org/go/encoding/jsonschema.(*state).processMap(0xc000489b00, 0xc00015c380, 0xc000270f50, 0xc000524988)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/decode.go:473 +0x11a
cuelang.org/go/encoding/jsonschema.(*state).schemaState(0xc0004899e0, 0xc00015c380, 0xc000270f50, 0xdf, 0xc000270f00, 0xc000524a01, 0xc0002d48b0, 0x1)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/decode.go:409 +0x16c
cuelang.org/go/encoding/jsonschema.(*state).schema(...)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/decode.go:384
cuelang.org/go/encoding/jsonschema.glob..func33(0xc00015c380, 0xc000270f00, 0xc0004899e0)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/constraints.go:576 +0x150
cuelang.org/go/encoding/jsonschema.(*state).schemaState.func1(0xc0000a66e1, 0x5, 0xc00015c380, 0xc000270f00)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/decode.go:420 +0xc3
cuelang.org/go/encoding/jsonschema.(*state).processMap(0xc0004899e0, 0xc00015c380, 0xc000270d70, 0xc000524c38)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/decode.go:473 +0x11a
cuelang.org/go/encoding/jsonschema.(*state).schemaState(0xc000121560, 0xc00015c380, 0xc000270d70, 0xdf, 0xd72f00, 0xc000212070, 0xd74f80, 0xc000212070)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/decode.go:409 +0x16c
cuelang.org/go/encoding/jsonschema.glob..func26.1(0xc0000a7c51, 0x5, 0xc00015c380, 0xc000270d70)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/constraints.go:405 +0x96
cuelang.org/go/encoding/jsonschema.(*state).processMap(0xc000121560, 0xc00015c380, 0xc000221590, 0xc000524e10)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/decode.go:473 +0x11a
cuelang.org/go/encoding/jsonschema.glob..func26(0xc00015c380, 0xc000221590, 0xc000121560)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/constraints.go:402 +0xaa
cuelang.org/go/encoding/jsonschema.(*state).schemaState.func1(0xc0000a6661, 0xa, 0xc00015c380, 0xc000221590)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/decode.go:420 +0xc3
cuelang.org/go/encoding/jsonschema.(*state).processMap(0xc000121560, 0xc00015c380, 0xc000221450, 0xc000524fd8)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/decode.go:473 +0x11a
cuelang.org/go/encoding/jsonschema.(*state).schemaState(0xc000346fc0, 0xc00015c380, 0xc000221450, 0xdf, 0xd73200, 0xc0002214a0, 0x1, 0x2)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/decode.go:409 +0x16c
cuelang.org/go/encoding/jsonschema.(*state).schema(...)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/decode.go:384
cuelang.org/go/encoding/jsonschema.glob..func31.1(0xc0000a78e1, 0xc, 0xc00015c380, 0xc000221450)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/constraints.go:524 +0x2ce
cuelang.org/go/encoding/jsonschema.(*state).processMap(0xc000346fc0, 0xc00015c380, 0xc000295360, 0xc000525200)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/decode.go:473 +0x11a
cuelang.org/go/encoding/jsonschema.glob..func31(0xc00015c380, 0xc000295360, 0xc000346fc0)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/constraints.go:516 +0xfb
cuelang.org/go/encoding/jsonschema.(*state).schemaState.func1(0xc000038781, 0x11, 0xc00015c380, 0xc000295360)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/decode.go:420 +0xc3
cuelang.org/go/encoding/jsonschema.(*state).processMap(0xc000346fc0, 0xc00015c380, 0xc000682a50, 0xc0005253d8)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/decode.go:473 +0x11a
cuelang.org/go/encoding/jsonschema.(*state).schemaState(0xc000346ea0, 0xc00015c380, 0xc000682a50, 0xdf, 0x40f300, 0xc0006191a0, 0x10, 0x10)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/decode.go:409 +0x16c
cuelang.org/go/encoding/jsonschema.(*decoder).schema(0xc000621340, 0x0, 0x0, 0x0, 0xc00015c380, 0xc000682a50, 0x0, 0x1, 0x203000)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/decode.go:124 +0x105
cuelang.org/go/encoding/jsonschema.(*decoder).decode(0xc000621340, 0xc00015c380, 0xc000682a50, 0xc22740)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/decode.go:71 +0xbd
cuelang.org/go/encoding/jsonschema.Extract(0xc0001f6090, 0xc000621300, 0x0, 0x0, 0xd5bd40)
	/home/myitcv/dev/cuelang/cue/encoding/jsonschema/jsonschema.go:49 +0x8b
cuelang.org/go/internal/encoding.jsonSchemaFunc.func1(0xc0001f6090, 0xc000360120, 0xc0001f6090, 0x0, 0x0, 0xd73720)
	/home/myitcv/dev/cuelang/cue/internal/encoding/encoding.go:260 +0x10d
cuelang.org/go/internal/encoding.(*Decoder).doInterpret(0xc0001f6000)
	/home/myitcv/dev/cuelang/cue/internal/encoding/encoding.go:99 +0xd0
cuelang.org/go/internal/encoding.(*Decoder).Next(0xc0001f6000)
	/home/myitcv/dev/cuelang/cue/internal/encoding/encoding.go:86 +0xa8
cuelang.org/go/internal/encoding.NewDecoder(0xc000360fc0, 0xc0001f6120, 0x0)
	/home/myitcv/dev/cuelang/cue/internal/encoding/encoding.go:217 +0x6fb
cuelang.org/go/cmd/cue/cmd.parseArgs(0xc000348a40, 0xc000356fc0, 0x2, 0x4, 0xc000357000, 0x14, 0x14, 0x13)
	/home/myitcv/dev/cuelang/cue/cmd/cue/cmd/common.go:426 +0xbe5
cuelang.org/go/cmd/cue/cmd.runDef(0xc000348a40, 0xc000356fc0, 0x2, 0x4, 0x0, 0x0)
	/home/myitcv/dev/cuelang/cue/cmd/cue/cmd/def.go:54 +0x92
cuelang.org/go/cmd/cue/cmd.mkRunE.func1(0xc000230000, 0xc000356fc0, 0x2, 0x4, 0x0, 0x0)
	/home/myitcv/dev/cuelang/cue/cmd/cue/cmd/root.go:46 +0x6c
github.com/spf13/cobra.(*Command).execute(0xc000230000, 0xc000356f80, 0x4, 0x4, 0xc000230000, 0xc000356f80)
	/home/myitcv/gostuff/pkg/mod/github.com/spf13/cobra@v0.0.7/command.go:838 +0x47c
github.com/spf13/cobra.(*Command).ExecuteC(0xc0001ef600, 0x0, 0x0, 0x0)
	/home/myitcv/gostuff/pkg/mod/github.com/spf13/cobra@v0.0.7/command.go:943 +0x336
github.com/spf13/cobra.(*Command).Execute(...)
	/home/myitcv/gostuff/pkg/mod/github.com/spf13/cobra@v0.0.7/command.go:883
cuelang.org/go/cmd/cue/cmd.(*Command).Run(0xc000348a40, 0xd6b840, 0xc000036148, 0x0, 0x0)
	/home/myitcv/dev/cuelang/cue/cmd/cue/cmd/root.go:204 +0x65
cuelang.org/go/cmd/cue/cmd.mainErr(0xd6b840, 0xc000036148, 0xc0000321f0, 0x5, 0x5, 0xcb1ad0, 0xc00033df48)
	/home/myitcv/dev/cuelang/cue/cmd/cue/cmd/root.go:143 +0x8a
cuelang.org/go/cmd/cue/cmd.Main(0xc00007c058)
	/home/myitcv/dev/cuelang/cue/cmd/cue/cmd/root.go:125 +0x9c
main.main()
	/home/myitcv/dev/cuelang/cue/cmd/cue/main.go:24 +0x25

Oops, forgot to re-open with previous comment in https://github.com/cuelang/cue/issues/378#issuecomment-629027509

There is a mix of things going on. There are CUE bugs (like the mapping node error) and things CUE does not yet support, like external references or anchors.
But there is some interesting stuff going on in these files. For instance, I was not aware that this was legal JSON schema:

{ "$ref": "#/properties/page_action" }: reference not into a definition (could be translated into CUE with CUE references).
bootstraprc.json: CUE does't seem to be handling Unicode Byte Order marks. Neither does Go's decoder. But we probably should handle that somewhere where it can't hurt.

This issue has been migrated to https://github.com/cue-lang/cue/issues/378.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


[Feature Request] pick goal images over gallery / file manager

Checklist

[X] This issue contains only one feature request. I will open one issue for every feature I want to request.
[X] I checked, but didn't find any duplicates (open OR closed) of this issue in the repo.
[ ] This feature is merely an UI/UX update.
[X] This feature is not going to conflict with many of the existing features/options.

Is your feature request related to a problem? Please describe.
first off, i like the app design, great job <3
so, if i wanna set a goal image, only few are shown, some are missing (somehow those albums that aren't shown are ones with cutsom name).
only shows camera, screenshots & downloads — if i move a image there, it does show up~
Describe the solution you'd like
open and select over an gallery app / file manager?
How will you/everyone benefit from this feature?
the ppl who already benefit from usin' goal images
Additional context
well nvmnd, i'm blind, all images DO SHOW UP in "photos" but when havin' a lot of images it's confusing. so it might be a bug that all albums don't  show up in the albums tab?

You see, the current photo picker uses Android's new photo picker implementation introduced with A13. It is designed in such a way that apps won't have to ask for read storage permission since the app only gets access to photos you explicitly select, instead of being able to read your entire gallery. That's basically why I'm using it, as it saves me the hurdle of making my own custom implementation (which would also require permission to read external storage) and is better for users' privacy as well.
Regarding the issue of all albums not showing up, I don't think I can do much about that since the photo picker is controlled entirely by the Android OS itself. I can only request the system to show the photo picker and then get information about the images the user has selected. I can't really control or modify how it works.

aww i see~ thanks <3
well idk if google is gonna fix/enhance this.. i don't think so, it's just pain :(

idk could thos help? https://www.reddit.com/r/reactnative/comments/17svot0/comment/k8wy737/ can't remember that there was a permission in your app for accesing all media? (would this make a difference?) even in permission theres only "notification"


static_ffmpeg fails to see video file where ffmpeg doesnt

I'm making a subprocess call like so:
subprocess.call([
                'static_ffmpeg',                   # call ffmpeg
                '-ss', str(start_time),          # our clip starts here
                '-i', infile_video,         # this is the video to be converted
                '-t', str(end_time - start_time), #how long our clip is
                '-threads', '4',            # use 4 threads for the video conversion
                '-c:v', 'libvpx-vp9',       # c[odec]:v[ideo] - we use libvpx cause we want webm
                '-c:a', 'libvorbis',        # c[odec]:a[udio] - this is the one everyone else was using
                '-b:v',  '400k',            # reccomended video bitrate
                '-b:a', '192k',             # reccomended audio bitrate
                '-deadline', 'good',    # setting for quality vs. speed (best, good, realtime (fastest)); boundry for quality vs. time set the following settings
                '-qmin', '0',               # quality minimum boundry. (lower means better)
                '-qmax', '50',              # quality maximum boundry (higher means worse)
                uniquename               # file to be written out
            ])

When I do, I get this error Some: No such file or directory. Meanwhile, this works fine:
subprocess.call([
                'ffmpeg',                   # call ffmpeg
                '-ss', str(start_time),          # our clip starts here
                '-i', infile_video,         # this is the video to be converted
                '-t', str(end_time - start_time), #how long our clip is
                '-threads', '4',            # use 4 threads for the video conversion
                '-c:v', 'libvpx-vp9',       # c[odec]:v[ideo] - we use libvpx cause we want webm
                '-c:a', 'libvorbis',        # c[odec]:a[udio] - this is the one everyone else was using
                '-b:v',  '400k',            # reccomended video bitrate
                '-b:a', '192k',             # reccomended audio bitrate
                '-deadline', 'good',    # setting for quality vs. speed (best, good, realtime (fastest)); boundry for quality vs. time set the following settings
                '-qmin', '0',               # quality minimum boundry. (lower means better)
                '-qmax', '50',              # quality maximum boundry (higher means worse)
                uniquename               # file to be written out
            ])

If it's relevant, the media files are in script's directory, and they end up having filenames with whitespace so their names look like: 'Some Youtube Video.mp4'

I was able to work around the issue by substituting infile_video for a static complete path to the video that is being converted. That being said, this issue remains.
For reference, here is an example of infile_video: /full/path/to/video/'Youtube Video Title.mp4'

Thanks for this bug report.
The quickest work around is to use the api to get the path to the real ffmpeg and then just use that for your subprocess.call
from static_ffmpeg import run
ffmpeg, ffprobe = run.get_or_fetch_platform_executables_else_raise()
subprocess.call([ffmpeg, ...])

Fixed in v2.2
https://github.com/zackees/static_ffmpeg/commit/b1e150ee126585c93abeee593cc36004adcd6436
Please run
python -m pip install static-ffmpeg --upgrade

And your issue should be resolved.


bump obo po to  0.75.2

This is the version bump with #48

/hold
I think this actually missed something. Let me fix the fork script.

/unhold
Let's go ahead with this for now and reevaluate during the next release.


Treat all signal messages as ping response

In cases of rooms that are highly active, it's possible to have a lot of signal messages queued that it blocks the ping messages for awhile.
Since the purpose of ping/pong is to ensure signal channel is active, it makes sense to use any type of signal traffic as that indicator of liveliness.

I think what we're missing with this approach is detecting when only sending of signal messages is broken.
IIRC the initial motivation to implement ping/pong as is, was due to the fact that we had seen some odd cases where it looked like server updates were still coming through but signal messages sent from the client to the server seemingly weren't.

I think what we're missing with this approach is detecting when only sending of signal messages is broken. IIRC the initial motivation to implement ping/pong as is, was due to the fact that we had seen some odd cases where it looked like server updates were still coming through but signal messages sent from the client to the server seemingly weren't.

interesting.. so websocket was broken only in one direction? that's certainly a strange behavior.. but I guess we've seen stranger!
The motivation for this PR is due to a customer report that after paging very quickly, they were disconnected from the room due to idle timer. The reason for that failure is ping timer unable to deliver its messages to the server quickly enough.. likely due to the number of subscription changes to send before then.


Autocomplete in .vue files is too aggressive

After enabling this package, the autocomplete dropdown appears all the time in .vue files.
I also have language-vue, but disabling it doesn't fix the issue.
Here's an example with only language-vue:

Here's the same thing with ide-vue:

The second screenshot shows the most annoying behavior. I can't hit enter because it will autocomplete instead of inserting a newline. If I disable ide-vue, there's no dropdown in the second case.

Thank you ,
I agree this is very annoying and I'm trying to find a work around to solve this issue.
I believe it may be caused by the version of the atom-languageclient I am using I try to resolve this issue. In the meantime I happily accept pull requests, if you have any suggestions as for how we can solve this issue feel free to submit a PR.


Add the support for watchOS to use View Category method (sd_setImageWithURL:) on WKInterfaceImage

New Pull Request Checklist

[x] I have read and understood the CONTRIBUTING guide

[x] I have read the Documentation

[x] I have searched for a similar pull request in the project and found none

[x] I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)

[x] I have added the required tests to prove the fix/feature I am adding

[x] I have updated the documentation (if necessary)

[x] I have run the tests and they pass

[x] I have run the lint and it passes (pod lib lint)

This merge request fixes / reffers to the following issues: #2331 #1070
Pull Request Description
This PR is cherry-picked from the #2331. Which is already been merged in 5.x branch. However, since this feature is not a API-breaking change, and it's not hard to merge to 4.x as well. So I think we can adopt it to 4.x.
And, after some consideration, I suggest that the next version we can upgrade a minor version, to 4.4.0. Why do so, may because next version we contains 3 feature PR (#2308, #2281 and this one), we also change a little behavior from previous version (#2315), and many historical bugfix. Some changes may not so obvious, but may impact the user usage. So I guess a minor upgrade version should be more acceptable to follow sem-version.

Codecov Report

Merging #2343 into master will decrease coverage by 0.21%.
The diff coverage is 86.66%.

@@            Coverage Diff             @@
##           master    #2343      +/-   ##
==========================================
- Coverage   75.43%   75.22%   -0.22%
==========================================
  Files          36       36
  Lines        3806     3814       +8
==========================================
- Hits         2871     2869       -2
- Misses        935      945      +10

Impacted Files
Coverage Δ

SDWebImage/UIView+WebCacheOperation.m
70.96% <ø> (ø)
:arrow_up:

SDWebImage/SDWebImageCompat.h
100% <ø> (ø)
:arrow_up:

SDWebImage/UIImageView+WebCache.m
14.49% <ø> (ø)
:arrow_up:

SDWebImage/UIView+WebCache.m
64.39% <86.66%> (+1.44%)
:arrow_up:

SDWebImage/SDWebImageDownloaderOperation.m
84.46% <0%> (-2.92%)
:arrow_down:

SDWebImage/SDWebImageManager.m
73.42% <0%> (-0.46%)
:arrow_down:

Continue to review full report at Codecov.

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

@mythodeia This one again :)

@mythodeia 4.4.0 version released :)
Now...Maybe we can focus on 5.x...I'll start to fill the documentations. And hope that @bpoplauschi can come back soon.

👍
I am back now, will be picking up the remaining pieces for 5.x.


Adds @Generated annotation to address #865

Still needs other changes to the Sonar check / rules themselves to actually do something with this @Generated annotation, per #865 ...

The sonar build changes were made under https://github.com/odpi/ci-management/issues/34 - so the sonar scans are now looking better, with generated code removed from dup checking ( and other tests) - not perfect but seems to be a prudent approach


feature request - remove "notes" menu item

the "notes" menu item does exactly the same thing as just clicking on noStrudel logo and is redundant
to make things worse "notes" reads almost the same as "notifications" which is the menu item directly next to it
when i try to click "notifications" i often click notes because my brain only processes the first few letters before clicking ...
just remove that pointless menu item and problem solved.
or come up with names that actually read / look / sound different.  for example instead of "notes" have "feed" or "timeline"
but then you will still have the problem because when you want to read your own notes you will have to call that something as well.
better to just remove that useless and redundant menu item.

I dont think it make sense to remove it, since most users wont know the main noStrudel logo goes to the same place. but I agree it is a little confusing next to notifications.
initially I had it called "home" but that didn't feel right since it didn't explain what was there. changing it to "feed" could make sense though


fully automatically sells for the correct price via FUTBIN

Is it possible to automatically determine the sales price via Futbin so that the bot buys fully automatically and sells for the correct price

On my fork version I have this feature but by looking directly into the market.

nice bro thanks

You just have to set "-1" at the sell price input box.

unfortunately that doesn't work ... all players are simply brought into the club

I'm gonna take a look, there's a chance I didn't update the repo with the
correct version
On Sun, Feb 7, 2021, 10:24 noob8989<EMAIL_ADDRESS>wrote:

unfortunately that doesn't work ... all players are simply brought into
the club
[image: image]
https://user-images.githubusercontent.com/76663272/107143721-f6851780-6936-11eb-9136-2a806f74e07d.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/chithakumar13/Fifa21-AutoBuyer/issues/246#issuecomment-774649202,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJBJHGEND2ZQZ7O7GDODQQDS5ZS47ANCNFSM4XC55PDA
.

Can you show a printscreen of all configs u are using?

this is the years version again

what platform u play on?

xbox

the goalkeeper function works

I'd suggest you to try some silver filter and see if you get the same problem. Anyway, i'm trying myself your filter to fix it.

 Maybe if I left it active longer I would notice something, this may be due to your setting 7-7 between requests, I would advise to use the default 7-15 because sometimes, searching for the player price might take longer than the 7 seconds between another search request. Also, it can be happening if you have your transfer list full, the bot would say that it bought and is selling for X price but in reallity the player goes to unassigned

unfortunately does not work another error is that a purchased card is not displayed at the top of the log ... (see picture)

I test 7-15
and my transfer list is at 0

with the setting 7-15 does not work either :(

would you like to take a look at me via team viewer?

add me on discord and we talk there boyjuan#9021

i also can't get it selling. I tried "0" and "-1" - only difference is where the player is showing up, it's either on the "won bet" page or the transfer list

On my fork version I have this feature but by looking directly into the market.

What is for version?

try that
===================================================================
--- Aktuelle Version
+++ Neue Version
@@ -1,8 +1,8 @@
// ==UserScript==
// @name         FUT 21 Autobuyer Menu with TamperMonkey
// @namespace    http://tampermonkey.net/
-// @version      2.0.8
+// @version      2.0.9
// @updateURL    https://raw.githubusercontent.com/chithakumar13/Fifa21-AutoBuyer/master/autobuyer.js
// @downloadURL  https://raw.githubusercontent.com/chithakumar13/Fifa21-AutoBuyer/master/autobuyer.js
// @description  FUT Snipping Tool
// @author       CK Algos
@@ -117,9 +117,10 @@
nameProxyAddress = '#elem_' + makeid(15),
nameProxyPort = '#elem_' + makeid(15),
nameProxyLogin = '#elem_' + makeid(15),
nameAntiCaptchKey = '#elem_' + makeid(15),

   nameProxyPassword = '#elem_' + makeid(15);

   nameProxyPassword = '#elem_' + makeid(15),

   nameAbProfitMargin = '#elem_' + makeid(15);

window.loadFilter = function () {
var filterName = $('select[name=filters] option').filter(':selected').val();
loadFilterByName(filterName);
@@ -785,8 +786,19 @@
'' +
'' +
'' +
'   ' +

                   '       Profit margin:
(Sell this percentage over the buy price):' +

                   '
' +

                   '
' +

                   '
' +

                   '           <input type="tel" class="numericInput" id="' + nameAbProfitMargin.substring(1) + '" placeholder="10">' +

                   '
' +

                   '
' +

                   '
' +

                   '

' +

                   '
' +

                   '
' +
                   '       Sell Price:
Receive After Tax: 0' +
                   '
' +
                   '
' +
                   '
' +

@@ -1693,8 +1705,11 @@
};
window.getItemName = function (itemObj) {
return window.format_string(itemObj._staticData.name, 15);
};

window.getProfitMargin = function () {

   return parseInt(document.querySelector(nameAbProfitMargin).value, 10) / 100.0;

}
window.winCount = 0;
window.lossCount = 0;
window.bidCount = 0;
window.searchCount = 0;
@@ -2314,33 +2329,49 @@
services.Item.bid(player, price).observe(this, (function (sender, data) {
let price_txt = window.format_string(price.toString(), 6)
let player_name = window.getItemName(player);
if (data.success) {

           let xhr = new XMLHttpRequest();

           xhr.addEventListener('load', () => {

               const futbinPlayerInfo = JSON.parse(`${xhr.response}`);

               const futbinSellPrice = parseInt(futbinPlayerInfo[player.resourceId].prices.ps.LCPrice.replace(',', ''), 10);

           if (isBin) {

               window.purchasedCardCount++;

           }

           if (isBin && sellPrice !== 0 && !isNaN(sellPrice)) {

               window.winCount++;

               let sym = " W:" + window.format_string(window.winCount.toString(), 4);

               writeToLog(sym + " | " + player_name + ' | ' + price_txt + ((isBin) ? ' | buy | success | selling for: ' + sellPrice : ' | bid | success |' + ' selling for: ' + sellPrice));

               window.play_audio('card_won');

               window.sellRequestTimeout = window.setTimeout(function () {

                   services.Item.list(player, window.getSellBidPrice(sellPrice), sellPrice, 3600);

               }, window.getRandomWait());

           } else {

               window.bidCount++;

               services.Item.move(player, enums.FUTItemPile.CLUB).observe(this, (function (sender, moveResponse) {

                   let sym = " B:" + window.format_string(window.bidCount.toString(), 4);

                   writeToLog(sym + " | " + player_name + ' | ' + price_txt + ((isBin) ? ' | buy | success | move to club' : ' | bid | success | waiting to expire'));

               }));

           }

           if (jQuery(nameTelegramBuy).val() == 'B' || jQuery(nameTelegramBuy).val() == 'A') {

               window.sendNotificationToUser("| " + player_name.trim() + ' | ' + price_txt.trim() + ' | buy |');

           }

               if (isBin) {

                   window.purchasedCardCount++;

               }

               if (futbinSellPrice === 0) {

                   sellPrice = -1;

               } else if (price >= futbinSellPrice) {

                   sellPrice = window.getBuyBidPrice(futbinSellPrice);

               } else if (price >= window.getSellBidPrice(futbinSellPrice)) {

                   sellPrice = futbinSellPrice;

               } else {

                   sellPrice = window.getSellBidPrice(futbinSellPrice);

               }

               if (isBin && sellPrice !== 0 && !isNaN(sellPrice)) {

                   window.winCount++;

                   let sym = " W:" + window.format_string(window.winCount.toString(), 4);

                   writeToLog(sym + " | " + player_name + ' | ' + price_txt + ((isBin) ? ' | buy | success | selling for: ' + sellPrice : ' | bid | success |' + ' selling for: ' + sellPrice));

                   window.play_audio('card_won');

                   window.sellRequestTimeout = window.setTimeout(function () {

                       services.Item.list(player, window.getSellBidPrice(sellPrice), sellPrice, 3600);

                   }, window.getRandomWait());

               } else {

                   window.bidCount++;

                   services.Item.move(player, enums.FUTItemPile.CLUB).observe(this, (function (sender, moveResponse) {

                       let sym = " B:" + window.format_string(window.bidCount.toString(), 4);

                       writeToLog(sym + " | " + player_name + ' | ' + price_txt + ((isBin) ? ' | buy | success | move to club' : ' | bid | success | waiting to expire'));

                   }));

               }

               if (jQuery(nameTelegramBuy).val() == 'B' || jQuery(nameTelegramBuy).val() == 'A') {

                   window.sendNotificationToUser("| " + player_name.trim() + ' | ' + price_txt.trim() + ' | buy |');

               }

           });

           xhr.open('GET', `https://www.futbin.com/21/playerPrices?player=${player.resourceId}`);

           xhr.send();
       } else {
           window.lossCount++;
           let sym = " L:" + window.format_string(window.lossCount.toString(), 4);
           writeToLog(sym + " | " + player_name + ' | ' + price_txt + ((isBin) ? ' | buy | failure |' : ' | bid | failure |') + ' ERR: ' + data.status + '-' + (errorCodeLookUpShort[data.status] || ''));

@@ -2493,5 +2524,5 @@
window.clearSoldItems = function () {
services.Item.clearSoldItems().observe(this, function (t, response) {
});
}
-})();
+})();
\ No newline at end of file

try that ``

@chithakumar13 please add ur version too :) This works for me. And it's a good feature for the bot :)

@cnbrkc  yeah sure , @joaopfoliveira Do you want to create a PR to merge your changes or can i do it manually?

You can do it, I stopped developing features cause I got banned :( but next
fifa I will be back to add stuff
On Sat, Feb 13, 2021, 19:37 Chithambara Kumar<EMAIL_ADDRESS>wrote:

@cnbrkc https://github.com/cnbrkc yeah sure , @joaopfoliveira
https://github.com/joaopfoliveira Do you want to create a PR to merge
your changes or can i do it manually?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/chithakumar13/Fifa21-AutoBuyer/issues/246#issuecomment-778667506,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJBJHGGFE3CWLX4XWPAKIJLS63IIBANCNFSM4XC55PDA
.

changes

We've had two minor updates but still haven't arrived :( Won't anyone add this cool feature? Please @chithakumar13 :)


Support usage when multiple devices are connected

Use the same -s optional argument like in adb command. Argument value can be retrieved via 'adb devices'

Looks good - thank you!


Improve dropwizard-migrations tests

Problem:
There are some opportunities to improve the dropwizard-migrations tests.

Some fields could be made final
The UTF-8 character set was referenced via a shared string when StandardCharsets could be used instead.
In some cases we were using the ability to create something (e.g. a table) as a proxy for  detecting whether the table existed or not.

Solution:

Make fields final which can be.
Switch to using StandardCharsets.
Test for existence of database entities directly rather than using the ability to create them as a proxy.

Result:
Tests should be a bit more precise and Sonar should complain a bit less.

Rebased vs current master


The update of parameters in G

Hi, I found that you do this after every time you call train_Gnet function.
 for p, avg_p in zip(self.netG.parameters(), avg_param_G):
     avg_p.mul_(0.999).add_(0.001, p.data)

avg_param_G is the final parameters of your saved model. It looks like you update your model again after opt.step(). Why don't you save the final model directly but use this avg_param_G?
Could you explain this to me? Thank you!

Hi, saving the average model (where the newly updated weights of G only partially affect the overall parameters) results in a more stable model sometimes, which is not susceptible to unnatural updates in a particular iteration.
This is a trick which some people have found to make the generator training more stable (e.g. StackGAN).

Thanks！


Getting "Chunk.entry was removed." on master

Currently on master, I'm getting this error on webpack 2.2.1
ERROR in chunk bundle [entry]
[name].js
Chunk.entry was removed. Use hasRuntime()

ERROR in chunk markup [entry]
[name].js
Chunk.entry was removed. Use hasRuntime()
webpack: Failed to compile.

Looks like the error doesn't exist in release 1.1.0
related to https://github.com/soundcloud/chunk-manifest-webpack-plugin/commit/e8e79f709aa0f96b099f16c7c98eeda11713ac65?

I am getting the same error now with version 1.1.1. Webpack version I am using is 2.3.3. Can you please check. Thanks.


Use testing framework in tests

Our ad-hoc testing framework is very limited, so switch to standard googletest.

Surelog build is broken when I checkout, how do I initialize googletest
under UHDM, no git command works:
-- Output libraries to /home/alain/Surelog/dist
-- Python3_EXECUTABLE = /usr/bin/python3.9
CMake Error at third_party/UHDM/CMakeLists.txt:38 (add_subdirectory):
The source directory
/home/alain/Surelog/third_party/UHDM/third_party/googletest

does not contain a CMakeLists.txt file.
CMake Warning at CMakeLists.txt:63 (message):
USING TCMALLOC, IF YOU HAVE RUNTIME ISSUES, DISABLE -DNO_TCMALLOC=On
-- Found tcmalloc: /usr/lib/x86_64-linux-gnu/libtcmalloc.so
-- Configuring incomplete, errors occurred!
See also "/home/alain/Surelog/build/CMakeFiles/CMakeOutput.log".
See also "/home/alain/Surelog/build/CMakeFiles/CMakeError.log".
make: *** [Makefile:34: run-cmake-release] Error 1
On Tue, Sep 21, 2021 at 6:52 PM Henner Zeller @.***>
wrote:

@hzeller https://github.com/hzeller requested your review on: #515
https://github.com/chipsalliance/UHDM/pull/515 Use testing framework in
tests.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/chipsalliance/UHDM/pull/515#event-5339867430, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APFYJ5CDRV3DZFDMQEBPFSLUDEZELANCNFSM5EQDACZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

the DO NOT MERGE comment was missing. I have no idea how to get the new UHDM/third_party/googletest subsystem updated in Surelog.


ASP.NET Core Compatability

(VS2015 Update 3 + Patch)
Is Newtonsoft.Json 9.01 compatible with .NET Core 1.0 ?
I have a plain .NET console application (.NET 4.6) and reference a .NET core class library that targets NetStandard v1.3. The class library has a reference to Newtonsoft.JSON.
{
  "version": "1.0.0-*",

  "dependencies": {
    "NETStandard.Library": "1.6.0",
    "Newtonsoft.Json": "9.0.1"
  },
  "buildOptions": { "platform": "anycpu" },

  "frameworks": {
    "netstandard1.3": {
      "imports": "dnxcore50"
    }
  }
}

The referenced NewtonSoft.JSON package is deployed here:
C:\Users\UserAccount.nuget\packages\Newtonsoft.Json*9.0.1*
The Exception:
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in DotNetConsoleApplication.exe
Additional information: Could not load file or assembly 'Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.

It is. You could ask on dotnet/cli why you are getting this error.

ok, opened an issue for that in the dotnet/cli repo


"Celaru" , "Ghizdăvești" , "Marotinu de Jos" are listed in the drop-down menu

Description:
When user writes "Celaru" , "Ghizdăvești" , "Marotinu de Jos" the locations appear in the drop-down menu next to the comune and the county witch is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Celaru"

Expected results
The location appears in the drop-down menu as "Sat Celaru, DOLJ (Celaru)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 1
Write in the search bar "Ghizdăvești"

Expected results
The location appears in the drop-down menu as "Sat Ghizdăvești, DOLJ (Celaru)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Marotinu de Jos"

Expected results
The location appears in the drop-down menu as "Sat Marotinu de Jos, DOLJ (Celaru)".


[SPARK-22332][ML][TEST] Fix NaiveBayes unit test occasionly fail (cause by test dataset not deterministic)

What changes were proposed in this pull request?
Fix NaiveBayes unit test occasionly fail:
Set seed for BrzMultinomial.sample, make generateNaiveBayesInput output deterministic dataset.
How was this patch tested?
Manually run tests multiple times and check each time output models contains the same values.

Test build #82974 has started for PR 19558 at commit de780e3.

Test build #82978 has started for PR 19558 at commit be2606b.

Test build #82974 has finished for PR 19558 at commit de780e3.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82974/
Test FAILed.

Test build #82978 has finished for PR 19558 at commit be2606b.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82978/
Test FAILed.

Test build #82983 has started for PR 19558 at commit 331d026.

Test build #82983 has finished for PR 19558 at commit 331d026.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82983/
Test FAILed.

Merged build finished. Test FAILed.

Test build #82985 has started for PR 19558 at commit 3ea8c50.

Test build #82985 has finished for PR 19558 at commit 3ea8c50.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82985/
Test PASSed.

cc @jkbradley @MrBago

LGTM
Tested locally, and it fixed the non-determinism.
Merging with master and branch-2.2
Thanks @WeichenXu123 !


Provide a sample that shows how to connect a report to an Azure SQL database

Please provide a sample of connecting an imported PBIX report to an Azure SQL Server. I assume:
client.Datasets.SetAllDatasetConnectionsInGroupWithHttpMessagesAsync
and
client.Gateways.UpdateDatasource
Thanks

Please also provide a sample how to connect to Azure Analysis Services

Hi @mikeblakeuk
I will forward the request to the team. do you have a sample code already that you can share here?
Thanks,
Ali Hamud


how can I change the skin?

I am following what's described in the repo website, but I am getting no results. I am adding to my _config.yml file, just after "theme:minima" "minima: skin:sunrise" (with new line in between as in https://github.com/jekyll/minima#skins) but nothing happens.
Some of the files the text speaks about, like _sass/minima-classic.scss or _sass/minima-sunrise.scss and nowhere to be seen.
Sorry if this is a dumb question, because I am just starting with jekyll.

@thephet The skins are part of the unreleased Minima 3.0
You're probably using Minima 2.5.1 (the latest release). The documentation for that is at https://github.com/jekyll/minima/tree/v2.5.1

I see. Thank you very much. It was driving me crazy. Indeed I am using 2.5.1, that's the one that got installed by default. Do you suggest I use 3.0? and if so, how can I do it?

Like I said, Minima 3.0 hasn't been released yet. Since you're just starting with Jekyll, I wouldn't recommend using an unreleased major version of a theme (the source code isn't stable)

Thank you very much

How would you use 3.0 instead of 2.5? I am currently using 2.5 and having the same issue as you. If anyone knows how to switch that would be great. Thanks! @thephet @ashmaroli

In fact, you don't have to wait for the release of 3.0. You can directly use the master branch of Minima by using jekyll-remote-theme. Here are my steps, hope that is useful for you.


Edges creation/deletion permissions on ORestricted nodes

Hi,
the current available features related to the ORestricted class and permissions settings don't allow to implement this particular use case of ours:
Imagine a user make a simple blog post (or update his Facebook status), in this case he is the owner of the record and has full permissions.
Other users can see his post (they have the _allowRead permission) and want to leave a comment. So they write their own comments but they cannot link the comment nodes with the post node because they have no update permission on it.
And they never should be able to update the original post!
So what should be very useful is a new kind of permission, something similar to _allowAddEdge (and _allowRemoveEdge).
WDYT?

Any news on that feature? We have this exact problem and can't find any workaround. Allowing the update of vertices will oblige us to rewrite a great part of our project. Could the use of heavyweight edges be of any help?

Any chance to have a milestone for this issue?

Same problem here: I want to create edges with a user that has no update permission for the vertex. For me this doesn't seem to be such an uncommon case as soon as you use restricted permissions in a graph db scenario.
Is there still no solution for this?

We use a "superuser" account to create/remove the edges, but this is completely against what is promoted by the restricted permissions feature and it may not apply to all use cases. Also this case is valid in all "append only" kind of applications


Error while Running Disk Image

ok, so, i tried building a disk image from the current repo state (i only excluded the line mentioned in the previous issue) and when running the app, it throws me the following error:

Process:               TimerX [967]
Path:                  /Volumes/VOLUME/TimerX.app/Contents/MacOS/TimerX
Identifier:            TimerX
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           TimerX [967]
User ID:               501

Date/Time:             2021-12-20 20:14:28.654 +0100
OS Version:            Mac OS X 10.13.6 (17G14042)
Report Version:        12
Anonymous UUID:        5A231B38-67FD-F6BD-0CEC-C01BB4BA3048

Time Awake Since Boot: 190 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x5] Code Signature

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: @executable_path/lib/Python
  Referenced from: /Volumes/VOLUME/TimerX.app/Contents/MacOS/TimerX
  Reason: no suitable image found.  Did find:
	/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python: code signature invalid for '/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python'

	/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python: stat() failed with errno=1
	/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python: code signature invalid for '/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python'

	/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python: stat() failed with errno=1

Binary Images:
       0x10fc18000 -        0x10fc19ffb +TimerX (0) <856E75FB-2265-3365-96A2-A3FB7DAE57BB> /Volumes/VOLUME/TimerX.app/Contents/MacOS/TimerX
       0x1177b1000 -        0x1177fbadf  dyld (551.5) <CB9BFB56-4511-36F1-A546-891FF770C01C> /usr/lib/dyld

Model: Macmini5,1, BootROM <IP_ADDRESS>.0, 2 processors, Intel Core i5, 2,3 GHz, 4 GB, SMC 1.76f0
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x830B, 0x4E54324743363442384841314E532D424520
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x830B, 0x4E54324743363442384841314E532D424520
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xE4), Broadcom BCM43xx 1.0 (<IP_ADDRESS>.30)
Bluetooth: Version 6.0.7f22, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: Samsung SSD 840 EVO 250GB, 250,06 GB
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Extreme SSD
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Gaming Keyboard
USB Device: USB Gaming Mouse
USB Device: IR Receiver
Thunderbolt Bus: Mac mini, Apple Inc., 25.1

F

So it's a Mac Mini... Can it run Catalina?

I don't understand what this means:
Dyld Error Message:
  Library not loaded: @executable_path/lib/Python
  Referenced from: /Volumes/VOLUME/TimerX.app/Contents/MacOS/TimerX
  Reason: no suitable image found.  Did find:
	/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python: code signature invalid for '/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python'

	/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python: stat() failed with errno=1
	/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python: code signature invalid for '/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python'

	/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python: stat() failed with errno=1

Is it saying that it couldn't find the Python library?

@im-coder-lg Yeah, python doesent seem to run, now running a action which will generate a DMG to give to @not-nef

:+1:

Uploading TimerX(1).zip…
@not-nef Try This

Link doesn't work.

@not-nef Try this:
TimerX(1).zip

So it's a Mac Mini... Can it run Catalina?

no, it cant run any newer version then it already does.

@not-nef Run that DMG(It should work)

It's just a redirect, try uploading the DMG but this time, use the popup
method.

@not-nef Try this:
TimerX(1).zip

It says i need macos 10.14 or newer.
ill MAYBE be able to test it on a mac with big sur, but i cant promise.

It says i need macos 10.14 or newer.
Wow. High Sierra ain't supported anymore. @not-nef best is to switch to
Linux since my switching will take a LOT of time(lazy me).

ill MAYBE be able to test it on a mac with big sur, but i cant promise.

Well, if it is kind of like a company laptop, DO NOT try the DMG on it. I
bet they'll deactivate the laptop after noticing an "unknown" program on
it.

epic quote fail
no its not a company laptop, its the macmini of my dad.

Does it have Big Sur? If it does, tell your dad that you want to test an installer of an open-source project and that you will uninstall it after the test, since that could relieve your dad's mind about viruses and it will free up some disk space.

Also, noticed this(you forgot to delete your edit):

epic quote fail

I am not offended, it's Vivaldi Mail. Anyway, back to the topic. Should we add a Python Library in the so-called @executable-path? Moreover @sumeshir26 can you run the release draft action of Windows and macOS? I wanna try a teardown with PeaZip. You don't need to send a link to download, you can just run the action and inform me, I'll take care of the rest.

In the actions tab, Look at artifacts produced in the latest run of the Release Build workflow.

You know what, I will give you write acess to this repo so you can do these things without waiting for me.

I didn't recieve the notif yet, can you check that?

Bad news, i tried running the app on a big sur mac. If i open it, you can see TimerX in the Menu bar (the gui doesnt load tho) and after a split second it just closes.
i suggest dropping support for macos.

We need some logs, can you try making a recording + install logs to help us in this? Also, I will have to use PeaZip for a teardown so prepare for that too!

this is getting a bit too complicated for me, and i wont install anything on my dads mac as he doesnt like that (not because he doesnt know anything about it, but he just doesnt want it dont ask why).

god why is macos so important to you guys

god why is macos so important to you guys

Well, if you look at the computer(desktop/laptop) share in today's market and just compare it to the air share, Windows is like Nitrogen, macOS is like Oxygen and Linux is like the remaining 1% of mixed gases(different distros). We could use the Wine compatibility layer but that needs to be installed via HomeBrew. So we thought of making MSIs, which are successful, then DMGs, RPMs and using a Linux tool called Alien, convert the RPM to DEB.
Maybe we could just ask users to use the Wine layer till we successfully add support.

@not-nef Thanks for your help, will tell when MacOS support is re-added.

@im-coder-lg Continue with your teardown...

Hey @sumeshir26 since we have separate actions for each OS, can we remove the old release.yml too? Best done in @not-nef's fork since that'd be easier.

No! If you run that, it successfully generates one for all platforms and creates a release successfully. I spent a week on that!

Well, didn't do that! Phew!

Anyway, teardown results:
TimerX.zip
macOS seems to run Windows apps though(check the TimerX.app/Contents/MacOS directory)... Apple, what have you done here?

If you run that, it successfully generates one for all platforms and creates a release successfully.

Can I test that? Just curious. Also, did you mark the release as a draft(in the YAML code)? If you didn't, I will, since we need to document the changes directly, not via the GitHub Actions. There's a new feature that allows you to automatically document all changes, so I will make sure it creates a draft release and try the auto release note feature. If it releases TimerX, I'd never ever use the auto notes feature.

Yes, pease!

Well, failed in the macOS steps, fixing that in my branch. For the delay, I was checking my notifs and clearing some Vivaldi clutter.

Reopening because not fixed

okay, i thought you dropped macos support, my fault

@Futura-Py/Reviewers

Sir, yes, sir! I just have to add some framework. Now my school's making me work into the actual regular timings, so devel would be really slow.

Guys i just saw we have gh pages, so we wouldnt need to host our website on netlify!

Yeah!

mhm


Problem in Running the trained model in Windows

Hi,
I trained my model in the linux and now I'm trying to run the prediction using the pretrained model in Windows. However, I get the error "dtype=float32)> has shape (3, 3, 32, 32), but the saved weight has shape (32, 3, 3, 3)."
Any thought on that?

I dont do windows, sorry. It is a bad OS for python developement.


Encryption & Decryption feature addition

resolved on view_articles branch

You closed it? Did you mean to merge?


Update conditions for apply_sort fast codepath

With ascending and na_position support now working for both Dask and Dask-cuDF, we can now use the fast apply_sort codepath for:

All single column sorts (CPU and GPU)
Multi-column sorts where sort_ascending and sort_null_first are homogeneous lists (GPU only)

Codecov Report

Merging #337 (967eafc) into main (96524ee) will increase coverage by 0.07%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #337      +/-   ##
==========================================
+ Coverage   95.69%   95.76%   +0.07%
==========================================
  Files          65       65
  Lines        2854     2854
  Branches      534      534
==========================================
+ Hits         2731     2733       +2
+ Misses         75       73       -2
  Partials       48       48

Impacted Files
Coverage Δ

dask_sql/physical/utils/sort.py
90.62% <100.00%> (+7.29%)
:arrow_up:

dask_sql/physical/rel/custom/predict.py
95.34% <0.00%> (-0.11%)
:arrow_down:

dask_sql/utils.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


ScrollerTestsWithInputHelper Pinch/Stretch tests fail on RS5 in Helix

Likely the input helpers are not working correctly.
To repro: re-enable these tests and schedule Helix test pass.

Example run: https://dev.azure.com/ms/microsoft-ui-xaml/_build/results?buildId=856&view=ms.vss-test-web.test-result-details


Successfully Create Tokenized Dataset with and without Stop Words

Need to generate this data so I can move on with the project; currently a bottleneck right now as the tokenization process takes a while

Checklist:

[ ] Generate tokenized data
[ ] Remove stopwords from tokenized data

Done; will wait to merge

Pull request has been merged; closing


fix: scroll get stuck

Hi, its me agaiiiin UwU
So I fixed a couple things...

There was a little bug which made the zoom get stuck in some circumstances
The positioning of the pan arrows were a little bit of
The control buttons didn't work on mobile

I changed a couple things

removed a console message, because this is not needed with the emits

console.log("Wheel: ", newZoom, ev);

changed the wheel function to check if the value changed, not if the things that make a value change happen, to check if a zoom event is sent.

else if (newZoom == props.maxZoom || newZoom == props.minZoom || isNaN(newZoom)) return;

Move zoom, pan and home to a external function, because it is functionality, that is used all throughout, and this could eliminate bugs.
fixed button positions
fixed the control buttons and the touch

What you need to do (if ya wanna)
I don't know how to test the useTouch stuff, so I'd appreciate it if you'd refactor it to use the move functions. :)
But no worries.
Have a good day  <333

A lot of changes, but all good. Thanks. I was just wondering why you used new vue app instead of using v-if to show/hide overlay.
Also that dragLoc gives me stress, I will look at it later.

Also that dragLoc gives me stress

same

A lot of changes, but all good. Thanks. I was just wondering why you used new vue app instead of using v-if to show/hide overlay.

No particular reason, just felt like it. My code gets worse, as the end of the work day approaches.
Thanks for your work comrade <333


Streaming settings

Permit fondling of size/time, maybe with slider, maybe just ini setting. We'll see.
Any whale reading this want to tell me what feature they'd want to do a $15m swap then let me know

done - complete - working


Unable to type commands into the project terminal

Describe the bug
unable to type any commands into the terminal and it also says 'failed to boot WebContainer'
Link to the blitz that caused the error
https://stackblitz.com/edit/withastro-astro-vheo2s?file=README.md
Steps to reproduce

Fork 'astro-docs' quick start project
Try to type into terminal

Expected behavior
To be able to type 'npm install' and 'npm run dev'
Parity with Local

[X] I have run the project in my local machine and I could not reproduce the issue.

Screenshots

Platform
Browser name  = Chrome
Full version  = <IP_ADDRESS>
Major version = 104
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 72834140,
  "usedJSHeapSize": 65838148,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Hash = f78fa732fec6c779d7f25afc3bb0f5f1091671ec

Additional context
No response

:wave: We're closing this due to inactivity. Please, feel free to open a new one if you're still encountering any errors.


Added onChange definition to RouterProps

Found a missing definition when converting a preact-cli app created with default options to TypeScript.  Had to guess at which parts of the RouteChangeEvent interface were potentially undefined.
Code in the full template that led to this PR: https://github.com/developit/preact-cli/blob/master/examples/full/src/components/app.js#L23
Code that the definition covers: https://github.com/developit/preact-router/blob/master/src/index.js#L238-L244

Duplicate of https://github.com/developit/preact-router/pull/215


Formatting question

I pasted this input as a prompt:

chatgpt-export output looked like this.

Is there a way to have the output more resemble the input?

I noticed this with my prompts too. I have no solution for this so far. As far as I know this only happens with prompts that use markdown formatting and not with responses. Not sure how to separate these cases cleanly though.

Even if it is not markdown in the prompt, the output is altered.
My input:
In tensorflow 1.x I see this in the log:  '_save_checkpoints_secs': 600.
How can I change the setting?
Output from  chatgpt2md:
PROMPT:
In tensorflow 1.x I see this in the log: '_save_checkpoints_secs': 600. How can I change the setting?

Ok, looks like prompts need to be treated as plain text.

Prompts are now kept as they were entered.


Fix: editorconfig

Changes indent_style = tabs -> indent_style = tab since "tabs" isn't possible value for indent_style as stated here: https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#indent_style.

Oh yeah, that's a hangover from the https://github.com/catppuccin/template repo, which got fixed with https://github.com/catppuccin/template/commit/11fa5d35a8c83c2bfb565ae5c28d31d70a53b527
LGTM, think this should impact nothing else regarding the port itself.


Unable to restore purged secret in soft-delete vault

Tracking disabled test.
Repro:
$keyname = "TestKey3"
$keyvault = "pakrym-keyvault"

az keyvault secret set --vault-name $keyvault --name $keyname --value Nice
az keyvault secret backup --vault-name $keyvault --name $keyname --file-path bu-$keyname
az keyvault secret delete --vault-name $keyvault --name $keyname
az keyvault secret purge --vault-name $keyvault --name $keyname

# retry purge untill succeeds
while ($LASTEXITCODE -ne 0)
{
    az keyvault secret purge --vault-name $keyvault --name $keyname
}

# make sure secret got purged

az keyvault secret show-deleted --vault-name $keyvault --name $keyname

while ($LASTEXITCODE -eq 0)
{
    az keyvault secret show-deleted --vault-name $keyvault --name $keyname
}

az keyvault secret restore --vault-name $keyvault --file-path bu-$keyname

cc @schaabs

I might be missing something here, but once you purge, there is no way to recover the secrets, so show-deleted will fail.
show-deleted will show you the secrets that are marked for delete (https://docs.microsoft.com/en-us/rest/api/keyvault/getdeletedsecret/getdeletedsecret) and only those are the ones you can recover

I expect show-deleted to fail but restore operation that uses a local copy of the key should succeed https://docs.microsoft.com/en-us/rest/api/keyvault/restoresecret/restoresecret

/cc @RandalliLama

We've implemented delete and purge as LROs.

How does having an lro fix the issue I've described?

I misunderstood. Un-ignoring those tests, I see the issue still repros and have contact the service team directly. Unfortunately, we have no effective way of monitoring a purge operation like we did for delete and recover, which we turned into LROs for GA.

Ping @RandalliLama

@pakrym is the issue that there is no way to determine when the purge has actually completed?

He's OOF, but, yes, the issue is there is no way to know when the purge actually completed such that you could create a new one or restore an existing one from backup. Though, I suppose you could just try until either of those operations succeeds, but seems like a hacky workaround.

Especially considering purge is a long-running operation. LRO being completed should signify that the secret was fully purged.

We do not have a command to review the pending state.
Recommendation is that the customer should retry after few minutes.


[QUESTION] Is Geocode working properly?

Hello!
I've been trying to extract tweets using UK geocode and it's actually pulling Tweets from all around the world. I'm not sure if I'm doing something wrong (I'm super new on this, please bear this in mind xD) of if the geocode feature is not working properly.
I'm running the code below using Jupyter Notebooks on a Mac and I've installed Twint using Github clone.
`config = twint.Config()
geocode='51.5074,0.1278'
config.Search = "we are hiring"
config.Limit = 200
config.Store_csv = True
config.Output = "test_out_13.csv"
Location = True
twint.run.Search(config)`
Thanks in advance for your help. 🙏🏻

Nope, geocode and location as far as i know is not working currently.

Nope, geocode and location as far as i know is not working currently.

@innocentius Any idea if this will be fixed, I'm planning to search terms in different metro cities in US. I was planning on using -g --geo flag to filter for different cities. I'm guessing this will not work given geocode is not wokring. I tried running some queries on terminal it just gives me No more data! Scraping will stop now


ArcGIS Enterprise 10.9.1 on AZURE, AGS not contactable when enabling IWA

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

Module Version

4.0.1

Affected Resource(s)

ArcGIS_Server
ArcGIS_Portal

Configuration Files

machine1: Portal for ArcGIS, WebAdaptors (Server & Portal)
machine2: ArcGIS Server
machine3: Datastore: relational
# Copy-paste your DSC JSON configurations here - for large configs,
# please use a service like Dropbox and share a link to the ZIP file.

Expected Behavior
Enabled IWA on Webadaptor and ArcGIS Enterprise should work as expected

Actual Behavior
ArcGIS Server is not contactable.

Unable to see Settings from Portal, looks like this does some background checking with ags (hosting server)
Unable to connect to ArcGIS Server Manager, prompted to use siteadmin dialog

Steps to Reproduce
Installed multi-machine enterprise 10.9.1 setup using 4.0.1 without any errors, gotta love DSC!!

Went to IIS to enable IWA
Checked Portal Setting to validate AGS, get swirling vertical bars
Check AGS Manager, prompted to login using primary site account

Important Factoids
Using DNS entry
Server are 2019 on AZURE
I have seen IWA and InternalLoadbalancer mentioned with #297, could setting this to servername.com:6443 noting we are using a DNS entry at the moment.
Look, just tossing it out there is anyone has seen this and has a silver bullet.
I'll even toss in a beverage (not top shelf though) if someone has got this scenario covered.
We'll be contacting ESRI support too.

References

Hello @lachlanwainwright,
When using IWA, the federated server admin url and privatePortalUrl needs to be set to an internally accessible url that by passes the web adaptor. I suggest setting ConfigData.Portal.InternalLoadBalancer attribute to the internal FQDN of the portal 7443 url (this will set the privatePortalUrl in system properties), and ConfigData.Server.InternalLoadBalancer to the internal FQDN of the server 6443 url (this will be used as the federated server admin url).
Thanks,
Cameron K.

thanks @cameronkroeker excellent, most excellent
just to confirm, we are right to add these and rerun given it's already federated etc?

thanks @cameronkroeker excellent, most excellent just to confirm, we are right to add these and rerun given it's already federated etc?

You will first need to unfederate prior to re-running so that it can re-federate with the new settings.
Thanks,
Cameron K.

Hi
We followed the steps kindly outlined by @cameronkroeker and all is functioning as expected.
IWA is rocking and rolling
Thanks Cameron

@cameronkroeker Could you please add this information to the wiki? Since unfederating is required, this is something that should be known prior running the dsc.


Missing error handling for httplib.HTTPException

The urllib2.urlopen() function may be throw the httplib.HTTPException (on python2.7) [1][2]. So i think that simplenote.py should handle the httplib.HTTPException.
[1] Full stack trace (Click to expand)
> /opt/nvpy/lib/python2.7/httplib.py(402)_read_status()
-> raise BadStatusLine("No status line received - the server has closed the connection")
(Pdb) bt
  /home/yuuki/repo/github.com/cpbotha/nvpy/nvpy/debug.py(14)wrapper()
-> return fn(*args, **kwargs)
  /home/yuuki/repo/github.com/cpbotha/nvpy/nvpy/notes_db.py(972)worker_sync()
-> result = self.update_note_to_server(o.note)
  /home/yuuki/repo/github.com/cpbotha/nvpy/nvpy/notes_db.py(1012)update_note_to_server()
-> o, err = self.simplenote.update_note(note)
  /home/yuuki/.local/lib/python2.7/site-packages/simplenote/simplenote.py(183)update_note()
-> response = urllib2.urlopen(request)
  /opt/nvpy/lib/python2.7/urllib2.py(154)urlopen()
-> return opener.open(url, data, timeout)
  /opt/nvpy/lib/python2.7/urllib2.py(429)open()
-> response = self._open(req, data)
  /opt/nvpy/lib/python2.7/urllib2.py(447)_open()
-> '_open', req)
  /opt/nvpy/lib/python2.7/urllib2.py(407)_call_chain()
-> result = func(*args)
  /opt/nvpy/lib/python2.7/urllib2.py(1241)https_open()
-> context=self._context)
  /opt/nvpy/lib/python2.7/urllib2.py(1201)do_open()
-> r = h.getresponse(buffering=True)
  /opt/nvpy/lib/python2.7/httplib.py(1121)getresponse()
-> response.begin()
  /opt/nvpy/lib/python2.7/httplib.py(438)begin()
-> version, status, reason = self._read_status()
> /opt/nvpy/lib/python2.7/httplib.py(402)_read_status()
-> raise BadStatusLine("No status line received - the server has closed the connection")

[2] Class hierarchy of the httplib.BadStatusLine (Click to expand)
$ python2
Python 2.7.15+ (default, Nov 28 2018, 16:27:22)
[GCC 8.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import httplib
>>> import inspect
>>> httplib.BadStatusLine
<class 'httplib.BadStatusLine'>
>>> inspect.getmro(httplib.BadStatusLine)
(<class 'httplib.BadStatusLine'>, <class 'httplib.HTTPException'>, <type 'exceptions.Exception'>, <type 'exceptions.BaseException'>, <type 'object'>)

Thanks for the report. Shall try to take a look soon.

-> o, err = self.simplenote.update_note(note)
/home/yuuki/.local/lib/python2.7/site-packages/simplenote/simplenote.py(183)update_note()

That line was meant to be handled by IOError, but that doesn't seem to be working in this situation. Might just need to add in another exception or handle the existing one differently.

Forgot about this...
started looking again. Can do a basic webserver like so (I'm on bsd):
while true; do echo -e "HTTP/1.1 1000 OK\n\n $(date)" | nc -l localhost 1500; done

And test with:
import httplib

try:
    urllib2.urlopen('http://localhost:1500')
except httplib.BadStatusLine:
    pass

So I can look to add that in, but seems like this is an actual bug/issue in urllib2. I.e. I would have thought HTTPError should catch it (or URLError as mentioned in the linked issue).


Upgrade to syslog 6.

Somehow, the type for the pid on Formatter3164 has changed to a u32 while the pid returned by nix is a i32. Since Formatter3164 comes with an impl of Default that mostly does the right thing, we switch to that and adjust as needed after.

Looks like this PR requires an upgrade of the MSRV so we have to leave it to 0.12.


Evaluate if external Infinispan can upgrade without downtime in HA setups

Description
The docs state that Infinispan can upgrade using OLM without a downtime. See https://infinispan.org/docs/infinispan-operator/main/operator.html#upgrading-clusters:

Infinispan Operator lets you upgrade Infinispan clusters from one version to another without downtime or data loss.
Infinispan Operator requires the Operator Lifecycle Manager to perform cluster upgrades.

From previous calls with @pruivo I recall that both sites need to run the same version of Infinispan.
But maybe an upgrade procedure can be defined around the following lines:

Disable xsite replication
Use OLM to upgrade Infinispan in both sites
Re-enable xsite and initiate a state transfer

Discussion
No response
Motivation
Allow upgrades of a HA setup without losing sessions.
At the moment, on https://www.keycloak.org/high-availability/concepts-active-passive-sync we state

On Keycloak or Infinispan version upgrades (major, minor and patch), all session data (except offline session) will be lost as neither supports zero downtime upgrades.

Maybe we can do better.
Details
Kudos to @sschu for pointing me at this.
cc: @mhajas as we mentioned this in today's 1:1

@pruivo - please add a short comment here if you think this sounds somewhat feasible, or wouldn't work at all. Thanks!


Upgrade to the yocto scarthgap

Update LAYERSERIES_COMPAT
Update branches for sources in .yaml files
Change the name of the .ext4 image files
Update the list of packages created by the snort
Add usrmerge to DISTRO_FEATURES, as required by the systemd
Disable CMA in the dom0, to increase available RAM for the increased initramfs
Temporary disable package libmount-mountfd-support for the util-linux, until linux is upgraded by the vendor

Tested on Spider 1.2 with Dom0+DomD+DomU.
Works as expected.
On hold till merged related PRs for xt-common and xt-rcar.

I am not sure that all the changes should be in the same patch. For example, how CMA is realated to snort packages?

Reviewed-by: Grygorii Strashko<EMAIL_ADDRESS>

I am not sure that all the changes should be in the same patch. For example, how CMA is realated to snort packages?

The original patch is splitted, and explanations are provided.

Rb is added.
Tested.
@lorc ready to be merged.


Error message

ISSUE #44
Dialog box has been added to alert user to enter length between 8-32

message is not displaying

I respect your efforts, please sync the fork and try again

Sure


chore: bdd-gh-1586205748 to 0.0.1

chore: Promote bdd-gh-1586205748 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Traducción de la parte de instanciación de clases en Python

Se traduce la parte que explica como se pueden crear instancia de una clase en Python.

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

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

Thank you for opening this pull request.
This is a standard message notifying you that we’ve reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding.


Extension chooses venv from subdirectory when it should not choose any at all

Type: Bug
Behaviour
The extension is finding and selecting a venv from a subdirectory for files in the root directory.
This conflicts with the logic described here: https://code.visualstudio.com/docs/python/environments#_where-the-extension-looks-for-environments
It should only search in subfolders in venvPath which is not set by default.
The buggy behaviour is what I would expect if venvPath  would be set to the project root.
Steps to reproduce:
The reproduction is very simple: https://github.com/skirsten/repro-vscode-python-venv-bug
Basically it will search for a venv in subdirectories as if the venvPath was set to the project directory.
The behaviour is very random and I was shortly able to work around it by providing a non-existing path to venvPath instead of the default empty value. But this solution is not portable and it stopped working for some reason.
Diagnostic data

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

2024-09-24 22:09:53.440 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-09-24 22:09:53.440 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-09-24 22:09:53.440 [info] Experiment 'pythonTestAdapter' is active
2024-09-24 22:09:53.440 [warning] Dir "/tmp/tmp.xT2EJrx5DO/.pixi/envs" is not watchable (directory does not exist)
2024-09-24 22:09:53.440 [warning] Dir "/tmp/tmp.xT2EJrx5DO/project1/.pixi/envs" is not watchable (directory does not exist)
2024-09-24 22:09:53.440 [warning] Dir "/tmp/tmp.xT2EJrx5DO/project2/.pixi/envs" is not watchable (directory does not exist)
2024-09-24 22:09:53.473 [info] Default formatter is set to ms-python.black-formatter for workspace /tmp/tmp.xT2EJrx5DO
2024-09-24 22:09:53.473 [info] Default formatter is set to ms-python.black-formatter for workspace /tmp/tmp.xT2EJrx5DO/project1
2024-09-24 22:09:53.473 [info] Default formatter is set to ms-python.black-formatter for workspace /tmp/tmp.xT2EJrx5DO/project2
2024-09-24 22:09:53.477 [info] Python interpreter path: ./project1/.venv/bin/python
2024-09-24 22:09:53.513 [info] > pyenv which python
2024-09-24 22:09:53.513 [info] cwd: /tmp/tmp.xT2EJrx5DO
2024-09-24 22:09:53.578 [info] > pixi --version
2024-09-24 22:09:53.578 [warning] could not find a pixi interpreter for the interpreter at /tmp/tmp.xT2EJrx5DO/project1/.venv/bin/python
2024-09-24 22:09:53.692 [info] > . /tmp/tmp.xT2EJrx5DO/project1/.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.14.1-linux-x64/python_files/printEnvVariables.py
2024-09-24 22:09:53.692 [info] shell: bash
2024-09-24 22:09:53.706 [info] > /bin/python3 ~/.vscode/extensions/ms-python.python-2024.14.1-linux-x64/python_files/printEnvVariables.py
2024-09-24 22:09:53.706 [info] shell: bash
2024-09-24 22:09:53.717 [info] Setting environment variable VIRTUAL_ENV in collection to /tmp/tmp.xT2EJrx5DO/project1/.venv {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-09-24 22:09:53.717 [info] Setting environment variable VIRTUAL_ENV_PROMPT in collection to (project1)  {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-09-24 22:09:53.717 [info] Prepending environment variable PS1 in collection with (project1)  {"applyAtShellIntegration":true,"applyAtProcessCreation":false}
2024-09-24 22:09:53.717 [info] Prepending environment variable PATH in collection with /home/simon/.vscode/extensions/ms-python.python-2024.14.1-linux-x64/python_files/deactivate/bash:/tmp/tmp.xT2EJrx5DO/project1/.venv/bin: {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-09-24 22:09:53.718 [info] Send text to terminal: /bin/python3 /home/simon/.vscode/extensions/ms-python.python-2024.14.1-linux-x64/python_files/printEnvVariablesToFile.py /home/simon/.vscode/extensions/ms-python.python-2024.14.1-linux-x64/python_files/deactivate/bash/envVars.txt
2024-09-24 22:09:54.447 [info] Starting Pylance language server.

As can be seen this time it choose project1. Sometimes it will choose project2 instead...

Extension version: 2024.14.1
VS Code version: Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z)
OS version: Linux x64 6.8.0-45-generic
Modes:

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

User Settings

Multiroot scenario, following user settings may not apply:

languageServer: "Pylance"

Installed Extensions

Extension Name
Extension Id
Version

JavaScript Debugger
ms-vscode.js-debug
1.93.0

JavaScript Debugger Companion Extension
ms-vscode.js-debug-companion
1.1.3

Pylance
ms-python.vscode-pylance
2024.9.2

Python
ms-python.python
2024.14.1

Python Debugger
ms-python.debugpy
2024.10.0

Table Visualizer for JavaScript Profiles
ms-vscode.vscode-js-profile-table
1.0.9

System Info

Item
Value

CPUs
AMD Ryzen 5 9600X 6-Core Processor (12 x 5354)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_offwebnn: disabled_off

Load (avg)
0, 0, 0

Memory (System)
30.49GB (23.78GB free)

Process Argv
***/.vscode/cassie.code-workspace --crash-reporter-id 1b74a203-254e-477f-8e6b-555495738549

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
x11

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
vscaat:30438848
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
01bff139:31013167
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
2f103344:31071589
impr_priority:31102340
nativerepl2:31139839
refactort:31108082
pythonrstrctxt:31112756
flighttreat:31134774
wkspc-onlycs-t:31132770
wkspc-ranged-c:31125598
cf971741:31144450
pme_test_c:31118331
ei213698:31121563
iacca1:31144502
notype1:31143045

@skirsten Are you using the main.code-workspace or opening the folder. When I use the main.code-workspace it seems to work as expected. You should be able to set the python for the root workspace explicitly with select interpreter.
From opening the main.code-workspace that you have I see this:

From the logs:
2024-09-25 13:54:40.893 [info] Send text to terminal: C:/Users/kanadig/AppData/Local/Microsoft/WindowsApps/python3.12.exe c:/GIT/TPI/sep2024/repro-vscode-python-venv-bug/global.py
2024-09-25 13:54:51.575 [info] Send text to terminal: C:/GIT/TPI/sep2024/repro-vscode-python-venv-bug/project1/.venv/Scripts/python.exe c:/GIT/TPI/sep2024/repro-vscode-python-venv-bug/project1/main.py
2024-09-25 13:55:00.469 [info] Send text to terminal: C:/GIT/TPI/sep2024/repro-vscode-python-venv-bug/project2/.venv/Scripts/python.exe c:/GIT/TPI/sep2024/repro-vscode-python-venv-bug/project2/main.py

Hi,

Are you using the main.code-workspace

Yes

When I use the main.code-workspace it seems to work as expected.

I tried it a few more times and its super unpredictable if it will work or not. But it was definitely not working some times.
But I just decided that I don't care anymore and manually disabled the venv for the root and fixed the rest.


$dirty not being set on uif-commandbar

Refer to #361 for more information.
Steps to Reproduce Behavior
http://plnkr.co/edit/qzfvrxDRYh0CmVEzPQtH?p=preview

Should command bar actually be considered as a component used in forms? For me at least it  does not make much of a sense.
Also on the demos we have right now on the website, it doesn't look like the component even intends to be leverage ng-model. It's leveraging ng-click and custom binding of the search term.
IMHO this $dirty not being set issue is not applicable to uif-commandbar.

Agreed with @jjczopek ... closing this as not relevant.


enhancements to rich list

adds some additional columns to the rich list:

The context is useful but wondering if adding 2 new columns when the majority of the values in those columns are 0 is the right UX?

The context is useful but wondering if adding 2 new columns when the majority of the values in those columns are 0 is the right UX?

The context is useful but wondering if adding 2 new columns when the majority of the values in those columns are 0 is the right UX?

I think it's fine

The context is useful but wondering if adding 2 new columns when the majority of the values in those columns are 0 is the right UX?

I think it's fine

The context is useful but wondering if adding 2 new columns when the majority of the values in those columns are 0 is the right UX?

I think it's fine

It's useful enough to not feel strongly about it. 🚢

The context is useful but wondering if adding 2 new columns when the majority of the values in those columns are 0 is the right UX?

I think it's fine

It's useful enough to not feel strongly about it. 🚢

yeah I agree it's worth considering the usefulness of adding columns, but I think it's probably fine for this case, since this page isn't really linked to anywhere else on the site and I think one of the major reasons people would go to this page is probably answered by those columns :)

yeah I agree it's worth considering the usefulness of adding columns, but I think it's probably fine for this case, since this page isn't really linked to anywhere else on the site and I think one of the major reasons people would go to this page is probably answered by those columns :)


bug: v5 Label with select has non-working drop down arrow

What version of daisyUI are you using?
5.0.0-alpha.53
Which browsers are you seeing the problem on?
Chrome, Other
Reproduction URL
https://v5.daisyui.com/components/label/#label-for-select
Describe your issue
When label is used with a <select>, then the drop-down arrow and the space around the <select> itself is not selectable, like it is for a plain select

This is resolved in the latest alpha. Thanks @saadeghi !


FHB-795: Add E2E seed data framework

This draft PR adds a proof-of-concept E2E seed data framework that can be used by testers to easily set up and tear down test data. As testers are more familiar with JS, this uses a library called sequelize as an ORM for easy interaction with the DB without SQL knowledge.
More information in the README.md in the diff!

Nothing more to do on this PR for now. Whoever picks up FHB-795 (probably moi) can continue work on taking this from a proof-of-concept to a proper implementation!

Converting this back to a draft as there are still bits to do. Whoever picks up the implementation ticket can pick this branch up and finish it off :)


Blob versioning

We need some basic testing for the version functionality, the same coverage as the Python PR would be nice.


[CS] Fix a crash in AllowArgumentMismatch

There were two small problems:

We were using castToExpr instead of getAsExpr when simplifying arg locator to anchor (and we already had a check below (if (!argExpr) return None) which handles the case where the expr is null).
getFunctionArgApplyInfo returns optional, for example when we don't have an expr (after above fix). The function AllowArgumentMismatch::diagnose was not handling the scenario where we don't have the apply info.

We have a few other fixes where we use getFunctionArgApplyInfo unconditionally, but we could probably add similar checks to it.
Resolves SR-12990
Resolves rdar://problem/64303153

@xedin Oh sorry, I didn't realise it was intentional. In that case, I think it might be better to fix simplifyLocator because we have a locator like apply argument -> comparing call argument #0 to parameter #0 and when we simplify ApplyArgument we get a TypeExpr anchor and when we try to simplify ApplyArgToParam we don't handle that expression and so simplifyLocatorToAnchor returns nullptr.

@theblixguy Right, that's what I expected, I think we need to adjust logic in simplifyLocatorToAnchor to handle cases we overlooked...

@xedin Sounds good, that's what I have done now!

@swift-ci please smoke test

@theblixguy Could you open a PR for 5.3? You'd have to adjust isExpr to isa I think.

Sure, here's the 5.3 PR: #32361


Close Result Tabs to the Right or Left.

Is your feature request related to a problem? Please describe.
Often I need to close result tabs that I don't need anymore.  If I have several open, this can be tedious.
Describe the solution you'd like
Just as the sql script/console tab has a Close All Tabs to the Right or Left.  It would be nice if the Results tab had the same feature.
Describe alternatives you've considered
I close results tab by hand.
Additional context
None.  Keep up the great work!

Hello @gtdegamo,
Thanks for suggestion!

Implemented:

verified


fix(test) add delay in webhook test

What this PR does / why we need it:
Adds a delay to a test after creating a ton of resources, before creating another ton of resources that depend on the first set.
I observed apparent random failures of a new test during an unrelated PR, e.g. https://github.com/Kong/kubernetes-ingress-controller/actions/runs/1491413745/attempts/2
2021-11-22T17:55:44.2590784Z time="2021-11-22T17:55:44Z" level=error msg="failed to run validation: Secret \"background-noise-consumer-176-credential-4\" not found" component=admission-server
2021-11-22T17:55:44.2899130Z === CONT  TestValidationWebhook
2021-11-22T17:55:44.2900565Z     webhook_test.go:216:
2021-11-22T17:55:44.2901353Z         	Error Trace:	webhook_test.go:216
2021-11-22T17:55:44.2904041Z         	Error:      	Received unexpected error:
2021-11-22T17:55:44.2907143Z         	            	Internal error occurred: failed calling webhook "validations.kong.konghq.com": an error on the server ("Secret \"background-noise-consumer-176-credential-4\" not found") has prevented the request from succeeding
2021-11-22T17:55:44.2909340Z         	Test:       	TestValidationWebhook

The consumer listed is inconsistent and the test does not fail consistently (it should break on both DB-less and Postgres, but sometimes succeeds on one or the other).
Given the nature of the test, this seems the simplest option to probably remedy this is just waiting a bit before creating the resources with dependencies.
Though not currently included here, it seems like reducing the number of consumers from 250 to 50 or even fewer would be prudent, since as-is the test just takes quite some time (subjectively, since we don't get precise timing statistics on individual tests and test logs aren't timestamped) and has apparently caused timeouts for me when run locally.

What is Eventually if not several sleeps in a row 🙂
Separating the loops on its own will probably solve this, since there will be enough delay between creating the credential for consumer 1 and then actually creating consumer 1 that this should be a non-issue even without it.
Wrapped consumer creation in the eventually instead: it's still an indirect a check on whether the credential exists (via the webhook validation), so doing that separately and failing if it never appears wouldn't make any difference: the test fails if that credential never shows up either way.


feat(tarcap): new rpc call get_packets_stats implemented

Purpose

For reviewers

Related Github issues

Changes

Tests

Deployment Considerations
Version Notes
{ major | minor | patch }

NOTE: Include the version notes in the squash commit message

prnet cleaned-up successfully


TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

Hello
Right after installation of the metaworld, when importing into python (for instance running 'import metaworld'), the following error appears:
Traceback (most recent call last):
File "", line 1, in
File "/home/victor/metaw/lib/python3.9/site-packages/metaworld/init.py", line 7, in
import metaworld.envs.mujoco.env_dict as _env_dict
File "/home/victor/metaw/lib/python3.9/site-packages/metaworld/envs/init.py", line 1, in
from metaworld.envs.mujoco.env_dict import (ALL_V2_ENVIRONMENTS_GOAL_HIDDEN,
File "/home/victor/metaw/lib/python3.9/site-packages/metaworld/envs/mujoco/env_dict.py", line 6, in
from metaworld.envs.mujoco.sawyer_xyz.v1 import (
File "/home/victor/metaw/lib/python3.9/site-packages/metaworld/envs/mujoco/sawyer_xyz/v1/init.py", line 1, in
from metaworld.envs.mujoco.sawyer_xyz.v1.sawyer_assembly_peg import SawyerNutAssemblyEnv
File "/home/victor/metaw/lib/python3.9/site-packages/metaworld/envs/mujoco/sawyer_xyz/v1/sawyer_assembly_peg.py", line 5, in
from metaworld.envs.mujoco.sawyer_xyz.sawyer_xyz_env import SawyerXYZEnv, _assert_task_is_set
File "/home/victor/metaw/lib/python3.9/site-packages/metaworld/envs/mujoco/sawyer_xyz/sawyer_xyz_env.py", line 11, in
from metaworld.envs.mujoco.mujoco_env import MujocoEnv, _assert_task_is_set
File "/home/victor/metaw/lib/python3.9/site-packages/metaworld/envs/mujoco/mujoco_env.py", line 31, in
class MujocoEnv(gym.Env, abc.ABC):
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
using python 3.9
(note that a similar issue happened in the mtenv repository and the issue was solved somehow in the last commit)
for the discussion: https://github.com/facebookresearch/mtenv/issues/14
for the fix : https://github.com/facebookresearch/mtenv/compare/main...v2.0.0
Do you have an idea of what is happening?
Thanks for your help

This should be fixed in upstream: https://github.com/openai/gym/pull/3001. You can upgrade your gym.

I'm hesitant to update gym versions right now because of the changes in the base gym api. If you'd like to submit a pr that would be great :)

Actually there is no need to update gym macro or minor version, only need to skip two micro version. i.e. 0.25.0 and 0.25.1
and currently metaworld doesnt pin gym version, so just let user update their gym is enough.

Thanks for clarifying!


Optimize string sort for default collation UTF8MB4_BIN

What problem does this PR solve?
Issue Number: close #5366 ref #5294
Problem Summary:

#5366: the original string contains '\0' at the end. To compare it under tidb collation, it must not be contained.

What is changed and how it works?

devirtualize function call when collation is UTF8MB4_BIN, which is the default one.

Benchmark
ENV:

tpch100
1 tiflash
limit cpu up to 200%
original commit: 97342db2a1dd705b1bd98f3481d51f48a4f0300d

SQL
select max(L_SHIPMODE) from lineitem;

Time(s) | Original | Optimized | NoCollation |   |
-- | -- | -- | -- | -- | --
  | 13.56 | 12.62 | 12.77 |   |
  | 13.74 | 12.51 | 12.27 |   |
  | 13.35 | 12.61 | 12.32 |   |
  | 13.63 | 12.63 | 12.45 | NoCollation : Original | 9.13%
  | 13.52 | 12.66 | 12.32 | Optimized : Original | 7.57%
AVG | 13.56 | 12.606 | 12.426 | NoCollation : Optimized | 1.45%

SQL
select min(L_SHIPMODE) from lineitem;

Time(s) | Original | Optimized | NoCollation |   |
-- | -- | -- | -- | -- | --
  | 11.35 | 9.98 | 9.81 |   |
  | 11.33 | 9.98 | 9.88 |   |
  | 11.23 | 10 | 9.84 |   |
  | 11.22 | 9.82 | 9.73 | NoCollation : Original | 15.22%
  | 11.58 | 9.95 | 9.96 | Optimized : Original | 14.04%
AVG | 11.342 | 9.946 | 9.844 | NoCollation : Optimized | 1.04%
Check List
Tests

[ ] Unit test
[x] Integration test
[x] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/merge


Support specifying projectId when user auth using ADC

Is your feature request related to a problem? Please describe.
Current it is unable to specify the projectId with ADC. For our bigquery environment. Our ADC is authenticated with Project A. But it needs to access the tables that belong to Project B, there is no permission as it’s been setup. As long as it access the table using a project prefix on the table name, it will work.
Describe the solution you'd like
Able to specify the projectId in gcsConfig.

@ayush-shah assigning it to you as you have the context


Fix reverse_bits with registerless bits in all 3 circuit drawers

Summary
Fixes #7303
Details and comments
This PR fixes an issue with the 3 circuit drawers where the registerless bits indexing was not reversed when the reverse_bits option was used. It now correctly displays as,
bits = [Qubit(), Qubit(), Clbit(), Clbit()]
bits1 = [Clbit()]
cr = ClassicalRegister(2, "cr")
cs = ClassicalRegister(2, "cs")
qc = QuantumCircuit(bits, cr, [Clbit()], cs, bits1)
qc.h(0).c_if(4, 0)
qc.measure(0, bits[3])
qc.draw('mpl', scale=0.7,cregbundle=False, reverse_bits=True)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

18 of 18 (100.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 82.856%

Totals

Change from base Build<PHONE_NUMBER>:
0.005%

Covered Lines:
50122

Relevant Lines:
60493

💛  - Coveralls

@javabster @jakelishman Based on the comment above about using QuantumCircuit.find_bit this PR was updated to make the drawers much more 'bit forward'. So the latest changes convert from passing qregs and cregs to the drawers and use only qubits and clbits. The circuit instance is passed  and registers are then accessed through find_bit which also returns the index in the circuit. This made it possible to move much of the code for getting register/index to utils.py.
This required updating code sections for displaying register and bit labels and for measures and conditions. There are still some unresolved areas which should go into a new issue. These include what should the label look like for a registerless bit, how to handle bits that belong to multiple registers (currently only the first register in the list is used), and how to display conditions on a list of unrelated bits.

Sorry I've not looked at this properly - the new form certainly looks a lot cleaner, but I'll have to have a proper look through in the new year.  Do you have any ideas for how to display overlapping registers in the drawers?  I wonder if we could do something like coloured square brackets on the side (if we need to) - we could stick out arbitrarily far on the left to do that, perhaps?

@jakelishman I have a follow-on to this ready which will take the changes in #7423 and convert all the drawers to using QuantumCircuit.reverse_bits instead of doing their own reverse process. At that point the outputs of qc.reverse_bits and qc.draw(reverse_bits=True) will always be the same. If you do both, you get the original circuit drawn.
I built the new drawer reverse_bits on top of this PR, so as soon as this and #7423 are merged, I can submit the new PR. Thanks.

Also when I ran the snapshot tests there were failures for test_iqx_colors and test_plot_bloch_multivector that need resolving.

@javabster These 2 fail on main as well. I can update the references, but I don't know where the failures crept in.

Looks like the last step in the iqx-dark PR was to change the plus in the cnot from white to background, but the ref image was not updated, There seems to be a color diff for the arrow in the bloch one. but not sure why the color is different. Both image refs updated in https://github.com/Qiskit/qiskit-terra/pull/7319/commits/55e62189a965a13f2fee8bdb9cdfb1f9cb88d3fd.

@jakelishman I have now deprecated qregs, cregs, global_phase, layout, and calibrations from the 3 circuit drawers and these are now set using the newly passed in circuit kwarg. If circuit is None, a new circuit is created in the __init__ of the drawer using the qubits and clbits args. I also added with_layout as a kwarg and this is used to decide whether to use the QuantumCircuit._layout or not. I believe this covers all the outstanding review issues.


Configure PR author and git committer

Is there an existing issue for this?

[X] I have searched the existing issues

Feature description
It would be awesome if you could configure another user as PR author and git committer. Either via author or token property generated by this user.
Option 1:
version: 2
updates:
- package-ecosystem: npm
  author: my_bot
  directory: "/"
  schedule:
    interval: weekly
    day: sunday
    time: "10:00"
    timezone: Etc/UCT
  versioning-strategy: increase

Option 2:
version: 2
updates:
- package-ecosystem: npm
  token: ${{secrets.GH_MY_BOT_TOKEN}}
  directory: "/"
  schedule:
    interval: weekly
    day: sunday
    time: "10:00"
    timezone: Etc/UCT
  versioning-strategy: increase

There might be even more options possible. Looking forward to your feedback and ideas!

I think we're unlikely to do that for the Dependabot service built natively into GitHub. We generally try to limit the configs unless there's a strong value-add for it, and we also like to give credit where credit is due.
Maybe one day this might be configurable via:

https://github.com/dependabot/dependabot-core/issues/1460

In the meantime, if you really want this, as a workaround you could write a GitHub action that watches for PR's/commits from Dependabot and either amends the commit to change the author or closes the PR and then resubmits as a different PR author.

Thanks a lot @jeffwidman for your fast response and your input. Absolutely fine for me. I've got your point.