Fork, Commit, Merge - Hard Issue (CSS)

Fork, Commit, Merge - Hard Issue (CSS)
Design a 3D rotating card effect
Note: You don't have ask permission to start solving the issue or get assigned, since these issues are supposed to be always open for new contributors. The actions-user bot will reset the file back to previous state for the next contributor after your commit is merged. So you can just simply start working with the issue right away!
How to get started
Open the tasks/css/hard directory from the root of your project.
In this directory, there is card.html which has all the necessary card-classes added for you.
Your task is to implement the 3D rotating card effect similar in video in card.css file.
So when the mouse hovers over the card, it turns around to back-side, and when the mouse leaves the card, it turns back to front-side. There is no need to use JavaScript on this issue, just plain CSS.
Note: You should only need to modify the card.css file.
Example
https://github.com/nikohoffren/fork-commit-merge/assets/82566656/f0244edc-6850-4b66-a668-e92e2e45955b
Colors

Use #ff9f00 for the color of the front-side of the card.
Use #4caf50 for the color of the back-side of the card.

Additional Resources

CSS Animations (MDN Web Docs)
Cross-Browser Testing Tools

If you are using VS Code and have for example Live Server extension, you can simply open card.html with the server and check if the rotating effect looks similar as in the video. If it does, you are ready to make a pull request!
If you do not have Live Server extension, you'll find information about installing and how to use it here.

Check out README.md for more instructions and how to make a pull request.
Feel free to ask any questions here if you have some problems!
Also, kindly give this project a star to enhance its visibility for new developers!

hi sir it's my first git Fork, Commit, Merge
is that i done Merge in your repo?

hi sir it's my first git Fork, Commit, Merge is that i done Merge in your repo?

Hi! If you have already forked and made your changes you have to make a pull request, so i can take a look at it and merge. You can find all the instructions from here.

hi @nikohoffren  can i start working on this

hi @nikohoffren can i start working on this

Sure, go ahead! As it says on the description, there is no need to ask permission on these educational issues.

Hi @nikohoffren,
I've submitted a pull request that includes all the necessary CSS changes for the card. Please review it when you have a moment.
Thanks!

Hii,then the 3d effect will be changed in it

Hii,then the 3d effect will be changed in it

Sorry, i didn't quite understand your question. What is it?

In this how we should be added through this  3D rotation card effect

In this how we should be added through this 3D rotation card effect

Yes, in these issues you have to follow the instructions of how to proceed. So in this issue you have to add the necessary classes to card.css to make the animation work.

so, I have some suggestions of the issues I will let u know i am working on it

Sure!

Can I work on this issue or is it resolved?

Can I work on this issue or is it resolved?

Hi! As it says on the description, these issues are always open, so you can start working with the issue if you like.

Hi @nikohoffren, I can't find the Hard directory inside the CSS directory. Can you please help me how can I see that in my forked project?

Hi @nikohoffren, I can't find the Hard directory inside the CSS directory. Can you please help me how can I see that in my forked project?  Here is no Hard Task inside the CSS directory.

You have to occasionally fetch the new changes from the original repository to your own repository.
First make sure you are in the root of the directory, then in your Terminal/Console add a reference to the original repository:
git remote add upstream https://github.com/nikohoffren/fork-commit-merge.git

Then take a pull from the upstream repository to your main branch to keep it at par with the main project:
git pull upstream main

After that all the latest changes should be visible in your copy of the repository so the CSS Hard issue should be there.

I did it before when I cloned this project.

You can check my forked repository, It is still not updated once I applied all the steps you mentioned in the above comment.

You can check my forked repository, It is still not updated once I applied all the steps you mentioned in the above comment.

Yeah i can see that it says This branch is [421 commits behind](https://github.com/Rajeevjewar/fork-commit-merge/compare/main...nikohoffren:fork-commit-merge:main) nikohoffren:main. so it has not worked. Are you sure you have added my repo as the remote repository and not your own one? You can try adding again git remote add upstream https://github.com/nikohoffren/fork-commit-merge.git and make sure it says nikohoffren and not Rajeevjewar.
If that does not work, you can always delete your cloned repository from your Github profile and your local machine. Then fork my repository again and clone it to your local machine as before, that will make sure that you have the latest changes.

Can you tell me why this number 427 is seen in my terminal pointer?
How can I fixed this?

Can you tell me why this number 427 is seen in my terminal pointer? How can I fixed this?

Have you already pulled the recent changes from my repository with git pull upstream main? That arrow and number usually means that you have to push the changes from your local machine to your own cloned repository. Try git status command. If it says that you are behind 427 commits you can just do regular git push to your own repository and it should go away.

Wow, Now I have the latest repository in my local directory.
Thankyou @nikohoffren.

Wow, Now I have the latest repository in my local directory. Thankyou @nikohoffren.

No problem! Im glad it works now.

One last question, Do I need to upstream it further more times or not?

One last question, Do I need to upstream it further more times or not?

If you see the issue that you are planning to work with in your tasks directory, there is no need for updating the repository. I add new issues once in a while so only if you don't have the new issues, you need to do the upstream pull again. In real life situations, you would need to do the pull from upstream as often as possible to have the latest changes from the original repository because it would be changing all the time when developers push new code, but no need to do that in this case.


Description conflict of policy filter

There may be two different structure descriptions of the policy filter:
https://github.com/casbin/casbin-website-v2/blob/696e3dbe93caa95b98416c71af305978c05a2b36/docs/PolicySubsetLoading.mdx?plain=1#L23-L31
https://github.com/casbin/casbin-website-v2/blob/696e3dbe93caa95b98416c71af305978c05a2b36/docs/Adapters.mdx?plain=1#L533-L540

@sagilio why the 2nd code is 2D-array?


Open new tabs inside Atom

Is there any options for creating new tabs inside of editor instead of launching iTerm application?
For example: When command of terminal is executing and creating new tab it's open in new tab of iTerm application instead of Atom terminal tabs.

any answer to this ?

Thanks ! x-terminal exactly what is needed


Add unsigned long long type

This patch adds unsigned long long type as follows.

The unsigned long long type is an unsigned integer type that has values in the range [0,<PHONE_NUMBER>3709551615].
However, we cannot create test cases that check overflow and whole numbers greater than Number.MAX_SAFE_INTEGER in JavaScript due to the limitation of the test language.

ISSUE=#178

LGTM


Support rust build without installing SF runtime

mssf-com should be able to build without installing SF runtime.
The c functions should be dynamically loaded on program start.

Completed by #109


feat(transactions): Watch pending transactions

Description
This PR adds a saga that "watches" periodically for the pending standby transactions, in order to find if the transaction has been reverted or it was successful.
Considerations

This only works for pending transactions with a transaction hash, we have some flows that create a standby transaction without a hash, those transactions aren't watchable with this PR.
Also, there are some flows that remove the standby transaction when catching an error. We have to modify those flows if we want to show the transaction in the feed.
This only work in Celo. It's easy to extend once our viem client supports new chains.

Test plan
Tested in a emulator where I manually tweak the code to create standby transactions with a transaction hash of a failed transaction.
Unit tests.
Related issues

Fixes RET-896

Backwards compatibility
Yes
Screen recording
https://github.com/valora-inc/wallet/assets/12504748/4c0a385d-d3c3-4354-93bf-5316da760d02

@kathaypacific Thanks for the review! The PR is ready for another review!
Regarding the things that aren't addressed in this PR:

displaying failed transactions when the send / swap sagas's fail and removeStandbyTransaction is dispatched (you mention this in the description, but we do need to address it)

Yes, I guess I left that because I have some questions...
We create the standby transaction before sending it (and without the transaction hash in many cases), when the transaction fails we have 2 scenarios:

The transaction fails before even reaching the blockchain (the client fails when sending the transaction), in this case there is no failed transaction in the blockchain, so I guess we should remove the standby transaction from the feed?
The transaction was sent to the blockchain, but it was reverted there. In this case, we should get the transaction hash and start watching it until we get the status. This case is complicated to replicate and test, since the client has to run the transaction ok but the problem must happen after the transaction was sent.

adding support for ethereum once https://github.com/valora-inc/wallet/pull/4306 is merged

Should I branch from that PR to add support for ethereum? Or just wait until that PR is merged?
The send and swap flows in celo are synchronic, so it was really painful to test this functionality. Using ethereum flows should be easier to test.

i'm also wondering if 10 seconds is a good polling interval for slower chains, or if we should have a mapping that allows us to change this per network?

Yeah, that's a good point. 10 seconds sounded enough for this PR, but when we add support for new chains we can implement some mapping 👌

Finally, I decided to use this standard:
We should add the transaction hash to the standby tx as soon as we send the tx to the blockchain.
So, if there is an error, we should check if the standby tx has a hash, if it doesn't have a hash, it means the error happened in our client, so the transaction never reached the blockchain, we should remove it from the feed. If it has a hash, we should watch it.
One thing that we still have to address:
I think it's possible for a transaction to have a hash but never reach the blockchain (for several reasons, one for example if the gas cost is low so no miner is picking the tx), so it might be possible to have a tx forever in the standby txs list which is very inefficient. Maybe we should also add a time constraint, something like, only watch txs that happened in the last 2 hours. What do you think?

@kathaypacific Sorry for the long PR with a lot of comments! And thanks for all the time you put into reviewing this!
I really appreciate it!
I hope everything is ok now! 🙏


Fix #1406: modify documented network_key

Hi @rubenfiszel,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

You are changing the example key in our documentation for a long time already:
https://www.home-assistant.io/docs/z-wave/installation/
This should not be changed and for real, not be used.


Add Gitpodify

Closing in favor of https://github.com/XollabOS/talktometechnology/pull/28

@Cahllagerfeld Good point. I don't understand exactly what parcel does, and breaking down the scope for adding Gitpod, and later optimizing the dev environment in a future iteration sounds more reasonable :-)
I'll create a new Pull Request which describes all methods for getting started, including Gitpod instructions - following https://www.gitpod.io/docs/languages/html
We can change the configuration to follow npm and NodeJS at a later point :)


[TypeScript] Update SnackbarContent type def to accept action prop as array

Closes #12594
This PR alters the SnackbarContentProps interface. I've updated the action prop to a type union that accepts both a single element and an array of elements. The Snackbar component already uses the same union type for its action prop (source), and I couldn't find any documentation suggesting SnackbarContent should behave any differently.
I've also added a test to confirm the existing expected behavior, outside the type defs.

@cngraf It's a great first pull request on Material-UI 👌🏻. Thank you for giving it a shot!

Thanks for making it easy to contribute, @oliviertassinari and @eps1lon! Everything is so organized and well-documented, it's approachable even for a React newcomer like myself.


chore(errors): cmds to return errors instead of exiting

Instead of using Run and regular Cobra hooks, let's start using RunE and alike to return errors instead of calling os.Exit and let Cobra handle that instead.
This gives us the immediate benefit of better testability - as there's no os.Exit in the code under test, there is no risk in abruptly finishing test suite for example.
Open Question
As-is Cobra will print the usage of the cmd in case of failure. This can be easily disabled by setting SilenceUsage flag to false. Shall we consider that change too? @aslakknutsen

Yeah, it's a little annoying getting cli flag help when it's a server error.
Any chance of not silence usage based on type of error, e.g. flag error is ok, 'run' error is not ?

I will have a look

So here's how it works. First the flags are parsed, if an error occurs, and SilenceErrors is set to true, it's printed and --help is suggested for a given command.
Then the actual execution happens. Here's the flow:

if --help is requested - it shows it regardless
if SilenceErrors is set to true the error is shown (that's "server" error)
if SilenceUsage is set it will prompt usage message

So I think we are good with setting SilenceUsage to false. WDYT?

@bartoszmajsak yeah, sounds good.

Done in d5cdf89


cmd/compile: unclear escape analysis

What version of Go are you using (go version)?

$ go version
go version devel +198f0452b0 Thu Nov 7 02:33:31 2019 +0000 darwin/amd64

Does this issue reproduce with the latest release?
Yep.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/filippo/Library/Caches/go-build"
GOENV="/Users/filippo/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/filippo"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org"
GOROOT="/Users/filippo/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/filippo/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/filippo/src/golang.org/x/crypto/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/cm/zzcl1fjx27sc8sf3s6sd_0vw0000gn/T/go-build168572639=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
I have a function that (also thanks to inlining) I'd expect not to allocate anything to the heap.
https://go.googlesource.com/crypto/+/c8d9389ed30fa12bbe2123256b81a26dd5cbe7b8/chacha20poly1305/chacha20poly1305_generic.go (from CL 206977)
What did you see instead?

I patched in that CL and its parent and ran the package benchmarks. I see zero allocs, across the board, with Go 1.12 (old escape analysis) and with tip.
How did you get those profiling numbers?

(Incidentally, inlining should be completely independent of escape analysis.)

Ah, sorry, I forgot to mention that this is the generic code which you can access on non-amd64 GOARCH or with the appengine tag.

(Incidentally, inlining should be completely independent of escape analysis.)

I meant that inlining prevents the values that can stay on the caller stack from escaping to the heap.
https://blog.filippo.io/efficient-go-apis-with-the-inliner/

I just ran $ go build -tags=appengine -gcflags=-m, and I get, among many other lines:
./chacha20poly1305_generic.go:37:6: moved to heap: polyKey
./chacha20poly1305_generic.go:57:6: moved to heap: polyKey

Running with -m -m yields more detail:
./chacha20poly1305_generic.go:37:6: polyKey escapes to heap:
./chacha20poly1305_generic.go:37:6:   flow: {heap} = &polyKey:
./chacha20poly1305_generic.go:37:6:     from polyKey (address-of) at ./chacha20poly1305_generic.go:39:24
./chacha20poly1305_generic.go:37:6:     from polyKey[:] (slice) at ./chacha20poly1305_generic.go:39:24
./chacha20poly1305_generic.go:37:6:     from s.XORKeyStream(polyKey[:], polyKey[:]) (call parameter) at ./chacha20poly1305_generic.go:39:16
./chacha20poly1305_generic.go:37:6: polyKey escapes to heap:
./chacha20poly1305_generic.go:37:6:   flow: {heap} = &polyKey:
./chacha20poly1305_generic.go:37:6:     from polyKey (address-of) at ./chacha20poly1305_generic.go:39:36
./chacha20poly1305_generic.go:37:6:     from polyKey[:] (slice) at ./chacha20poly1305_generic.go:39:36
./chacha20poly1305_generic.go:37:6:     from s.XORKeyStream(polyKey[:], polyKey[:]) (call parameter) at ./chacha20poly1305_generic.go:39:16
./chacha20poly1305_generic.go:57:6: polyKey escapes to heap:
./chacha20poly1305_generic.go:57:6:   flow: {heap} = &polyKey:
./chacha20poly1305_generic.go:57:6:     from polyKey (address-of) at ./chacha20poly1305_generic.go:59:24
./chacha20poly1305_generic.go:57:6:     from polyKey[:] (slice) at ./chacha20poly1305_generic.go:59:24
./chacha20poly1305_generic.go:57:6:     from s.XORKeyStream(polyKey[:], polyKey[:]) (call parameter) at ./chacha20poly1305_generic.go:59:16
./chacha20poly1305_generic.go:57:6: polyKey escapes to heap:
./chacha20poly1305_generic.go:57:6:   flow: {heap} = &polyKey:
./chacha20poly1305_generic.go:57:6:     from polyKey (address-of) at ./chacha20poly1305_generic.go:59:36
./chacha20poly1305_generic.go:57:6:     from polyKey[:] (slice) at ./chacha20poly1305_generic.go:59:36
./chacha20poly1305_generic.go:57:6:     from s.XORKeyStream(polyKey[:], polyKey[:]) (call parameter) at ./chacha20poly1305_generic.go:59:16

Is it possible that you forgot the appengine tag when running the compiler with -m?


Missing comparison around Azure Databox Gateway

Surprised this article doesn't mention Azure Databox Gateway

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3c6e037b-a226-62cf-6e2b-2af8783b7add
Version Independent ID: c666597e-52ae-ee51-474a-c4dd3a63941b
Content: Choosing a data transfer technology - Azure Architecture Center
Content Source: docs/data-guide/scenarios/data-transfer.md
Service: architecture-center
Sub-service: azure-guide
GitHub Login: @ZoinerTejada
Microsoft Alias: pnp

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 375056

Great tip. The latest version of this article talks about Azure Data Box Gateway, too. Thanks for bringing this up.
#please-close


feat(editors/later-binding) Improve supervision visibility and remove clutter

Closes #1024, #1037

After some faffing I think the snapshots are correct.


A ontop window is behind a full screen xfreerdp in ubuntu.

Hi,
I make a nautilus window on top by selecting on top option in the window menu. but when I start a full screen xfreerdp, the nautilus window is gone- behind the xfreerdp window.
can someone give an explanation about this? does x11 has higher display priority than gtk?
and, what can i do to put a window above a full screen xfreerdp? the suggestion can use any programming language. I tried wxpython, but the set-to-be-on-top window is behind the xfreerdp.

Closing due to lack of activity.
Reopen/create a new issue if still relevant.


godep: updated golang.org/x/crypto/...

resolves #565

@kayrus @jonboulle it seems that of the library tests (not related to fleet) were removed, where in upstream they are still there. Any hint on this ?
thanks!

I suppose it is godep's behavior.

I use go1.5.3 and godep v60. Even with -t godep doesn't preserve test files.

Not including tests is fine. I'm surprised -t doesn't work for you, sounds like a bug..

Thanks @kayrus ! LGTM

@jonboulle yep, it is a bug https://github.com/tools/godep/issues/405


[mpg123] Upgrade to 1.26.3

Update to the newest version
Convert CONTROL to vcpkg.json
Use vcpkg_install_msbuild() instead of deprecated vcpkg_build_msbuild()

Unlike #14291, this update still uses Visual Studio solution.

@JackBoosY, it is ready for review.

Needs check the output.


Repro for an eventual consistency issue with grouped batches

Description
Experimental

will return with a fix + some other improvements in the op reentrancy area


[ TEST ] fix compilation error

This commit includes,
. compilation error fix : unused + wrong type comparison
Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #1432. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.


Fix/snowcover for LVT "557 post" runmode

(1) Rename MODEL_OUTPUT_LIST.TBL file for Snowcover to be consistent with variable name spelling.
(2) Added Snowcover support for JULES in Python scripts.

This looks good to me, and is ready for merging.  Jim can quickly review and go ahead and do it.

Code is ready to be merged.


Use message Time field as a time for InfluxDB points

In order to provide more meaningful measurements, consider using time value received from the message as the value of "time" column when saving data in InfluxDB.

Also, please use channels for Influx tags. This way we can obtain one Influx serie.
measurement + tagset = series as a whole
measurement + tagset + timestamp = single point

Making tagset = channelID we'll obtain one graph per channel. This makes sense, because we might represent one object of interest (autonomous vehicle for example) with different channels over which we send messages in parallel (speed, position, engine_temperature, ...). To obtain several series as a separate (and potentially overlapping) graphs we can do:
measurement = "autonomous_vehicule"
tag = <speed_channelID>

and so on.

@dusanb94 take a look at the old implementation: https://github.com/AtticFantastic/mainflux-influxdb-writer/blob/master/message.go#L42-L46
Also, go though this presentation: http://what-not-todo-influxdb.herokuapp.com

As @drasko suggested, #455 is updated to use only Channel and Publisher as tag keys. All the other Message fields are represented as value keys. However, everything I wrote in my previous comment is still applicable to all Reader and Writer services.

https://github.com/mainflux/mainflux/pull/501 adds name to tagset as well in order to facilitate following scenario: one device (for example LoRa sensor) reads several measurement types (tamperature, humidity and pressure) and sends them to one channel. In that case e have same publisher and same channel and we need to add measurement name to form separate Influx serie and prevent messages overwriting (as they would have the same timestamp, same publisher and same channel).


Ensure distro still valid for 2022.09 release

According to Debian Buster might  be EOF around 2022-08
Make sure installer distro list and test is updated if needed before release date.

https://wiki.debian.org/LTS

close for now, will create a new in 2024 May plan


Fix serialization for beyond BMP, cleaner parsing, add tests

Replaced the surrogate handling to standard APIs (members of Character)
Fixed the serialization (was still wrong)
Added test units for parsing (Reader & InputStream) and serialization (Writer & OutputStream)
testWb() was already failing, I did not touch it

Is the buffer issue the only actual bug? I think relying on "new" Character methods will break CLDC/MIDP compatibility. Not that I think there are many people who care, but I'd prefer if this would be a separate conscious step?

"Is the buffer issue the only actual bug?"
No, not the only one. That was in parsing.
There was also the serialization bug where a high-low surrogate ended up serialized as
&#<the_big_codepoint>;&#<the_low_surrogate>;
So U+1F648 (🙈) ended up as 🙈� instead of just 🙈
===
"will break CLDC/MIDP compatibility."
Thanks, I was not aware of that.
Is there an easy way to check for that? For instance some build-time flags?
===
"I'd prefer if this would be a separate conscious step?"
Sure, will do. I will send you two separate patches.
And you can reject the second one :-)
But have it there "for posterity", might come in handy at some point, and it might serve as documentation for "that's how it's done, but can't because CLDC / MIDP" :-)

Created separate pull request, not using the Character surrogate methods that don't exist in CLDC / MIDP.


extract_warp_gpu

I can't found the extract_warp_gpu from dense_flow that you provided

It is in the build folder of dense_flow


Test 4.6 does not always output affected images

https://github.com/docker/docker-bench-security/blob/93c619f0187592c1d5139962d6c9e368f80b72a7/tests/4_container_images.sh#L138-L142
The 4.6 check is supposed to display, as a list, all images that are discrepant. However, this check is based on the inclusion of a repotag field which some images may not have.

Hi @scenthound, but in which case doesn't an image have a RepoTags field?
According to https://docs.docker.com/engine/api/v1.40/#operation/ImageList it's an required value.

Hi @konstruktoid - The inspect command shows RepoTags are not required (https://docs.docker.com/engine/api/v1.40/#operation/ImageInspect)
To be more specific, images that do not have Healthcheck enabled and are correctly failed - flagging the test as a WARN. However, the subsequent code flagged above only reports the image (in console and the resultant json) if the array return by RepoTags is not empty. It's possible to have failed images that do not have associated RepoTags. This could "hide" the fact that there are more discrepant images than are actually being reported.

I don't think can create an image without an RepoTag with the common tools, but I can add an fallback that just prints the$img if imgName= is empty.

I believe this is fixed with https://github.com/docker/docker-bench-security/pull/451

Verified. Output looks much better now. Thanks @konstruktoid !


Export Chart.

Resolves #62.
Can be used like this:
import { Chart } from 'react-chartjs-2';

Chart.pluginService.register({
    afterDraw: function (chart, easingDecimal) {
        // Plugin stuff.
    }
});

I wasn't sure if I should include all of the built changes, or if you build them on release, but here you go!

heya @octalmage ,
Thanks a lot for this.
Can you just please add it to the readme? If you do not have time do let me know, I'll add it after we merge the PR.

Of course! I'll make the change soon.

@gor181 changes pushed!
What do you think?
https://github.com/octalmage/react-chartjs-2/tree/export-chart#chartjs-object

it's awesome @octalmage
merged in!


Updating Picframe to latest version on Pi5

Does anyone know the proper procedure to update from few versions back to the latest one through SSH on Pi5?
Will I have to reconfigure everything or does it maintain config files?
I am on MacOS terminal and typing sudo pip3 install picframe --upgrade just gives me this.

Also the commans like picframe -v do nothing:

Hi, did you originally install picframe with a virtual environment. There have been various versions of setting up picframe on the RPi5 and (some?) use venv. If you originally used venv then you will need to activate it before using pip. something like
source /home/pi/venv_picframe/bin/activate

that is it! Thank you so much.

@paddywwoof btw. should I backup anything before I run the upgrade command? Will it overwrite the config files?
Cheers!

Well I would never suggest not backing up... however pip should only write over the installed files and I think that has a file .../config/confguration_example.yaml that you would have copied to configuration.yaml, which should remain unscathed. Just to be on the safe side I would probably copy that latter file to your mac at the very least!

I finally got around to do this, but it seems I spoke too soon...
Although picframe -v works after source /home/pi/venv_picframe/bin/activate, unfortunately sudo pip3 install picframe --upgrade gives me the same error as before (This environment is externally managed...).
Do I have to type out this upgrade command in a different way?


Case Sensitivity check

I got the case sensitivity error. How can I change it?

This one is a pain, and something that GitHub developers don't seem to want to fix.
I found the way to fix it is to move the file in the terminal:
mkdir temp
git mv Xxx.gds temp/Xxx.gds


#0: add device perf ci tests for SD

all post-commit pipeline passes(link), and added tests pass on device-perf and model-perf.

will merge for you once this passes and shows the results we want: https://github.com/tenstorrent-metal/tt-metal/actions/runs/8570989816/job/23490220770

sorry I just noticed that I pushed wrong commits ... it would be great if you can check the results of this model-perf and device-perf

Were they wrong? Note taht we don't run device perf regressions on WH just yet, but you added the definition. You can re-add it back and I will review

oh ok, I'll add it back and re-run device-perf then. The previous one I pushed was missing other changes anyway, I'll add the change to current one.

related pipelines (device-perf B0, model-perf cnn-javelin, and post-commit) pass, I'll merge it.


Fix rootston seat button count

When we're moving a window, this can be:

Because the client has sent a move request, in which case the client got the button press, and we need to send the button released event to the seat
Because of a keybinding, in which case we don't send the button pressed event to the seat, and we have not to send the button released event to the seat

Test plan: open weston-dnd, move the window with the titlebar and with rootston keybindings, try to drag some flowers.
Fixes #493

@mikkeloscar take a look at this Travis failure

@SirCmpwn upstream issue: https://github.com/mikkeloscar/arch-travis/issues/33

Restarted the build


Dropping admin schema fails with: ERROR: syntax error at or near "VARIABLE"

Describe the bug
In my attempt to "clean up" our FHIR schemas, I am running the fhir-schema-tool to drop our obsolete/unneeded schemas.  In discussing with Lee, we determined that the first step should be to migrate the schemas to the current definition and then run the tool to drop the schema.
The migration worked successfully, however when I include --drop-admin in the command, the drop failed with ERROR: syntax error at or near "VARIABLE" (see full stack below).
Environment
FHIR 4.6.1
To Reproduce
In our environment, using the "postgres-fhir1" database, the failure occurred when dropping schemas "dev_2990" as well as "a_dev_2990".  I have not yet attempted to drop any other of our obsolete schemas yet.
Note that these schemas were initially created using FHIR 4.5.4.
Expected behavior
The FHIR schema and the FHIR_ADMIN schema should be dropped.
Alternatively, the tool should provide a better error to explain why the FHIR_ADMIN schema couldn't / shouldn't be dropped (e.g. if there are other tenants with other schemas still?)
Additional context
Full stack of the error during drop schema:
2021-04-07 15:10:51.131 00000001    INFO   com.ibm.fhir.schema.app.Main Opening connection to: jdbc:postgresql:///ibmclouddb
2021-04-07 15:10:52.858 00000001 WARNING utils.postgres.PostgresAdapter [ONCE] PostgreSql does not support ROW ACCESS CONTROL for table: SUBSTANCE_RESOURCE_TOKEN_REFS
2021-04-07 15:10:52.859 00000001 WARNING utils.postgres.PostgresAdapter [ONCE] Not supported in PostgreSQL: DROP PERMISSION A_DEV_2990.SUBSTANCE_RESOURCE_TOKEN_REFS_TENANT
2021-04-07 15:12:38.258 00000001  SEVERE   com.ibm.fhir.schema.app.Main schema tool failed

org.postgresql.util.PSQLException: ERROR: syntax error at or near "VARIABLE"
  Position: 6
com.ibm.fhir.database.utils.api.DataAccessException: org.postgresql.util.PSQLException: ERROR: syntax error at or near "VARIABLE"
  Position: 6
        at com.ibm.fhir.database.utils.postgres.PostgresTranslator.translate(PostgresTranslator.java:104)
        at com.ibm.fhir.database.utils.common.JdbcTarget.runStatement(JdbcTarget.java:48)
        at com.ibm.fhir.database.utils.common.CommonDatabaseAdapter.runStatement(CommonDatabaseAdapter.java:230)
        at com.ibm.fhir.database.utils.common.CommonDatabaseAdapter.dropVariable(CommonDatabaseAdapter.java:318)
        at com.ibm.fhir.database.utils.model.SessionVariableDef.drop(SessionVariableDef.java:34)
        at com.ibm.fhir.database.utils.model.PhysicalDataModel.drop(PhysicalDataModel.java:185)
        at com.ibm.fhir.schema.app.Main.dropSchema(Main.java:459)
        at com.ibm.fhir.schema.app.Main.process(Main.java:1737)
        at com.ibm.fhir.schema.app.Main.main(Main.java:1819)
Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "VARIABLE"
  Position: 6
        at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2553)
        at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2285)
        at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:323)
        at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:473)
        at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:393)
        at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:322)
        at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:308)
        at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:284)
        at org.postgresql.jdbc.PgStatement.executeUpdate(PgStatement.java:258)
        at com.ibm.fhir.database.utils.common.JdbcTarget.runStatement(JdbcTarget.java:45)
        ... 7 more
2021-04-07 15:12:38.261 00000001  SEVERE   com.ibm.fhir.schema.app.Main SCHEMA CHANGE: RUNTIME ERROR

Looks like that exception is created from attempting to drop the admin schema.  You shouldn't be passing --drop-admin if you are just dropping a single schema.
However, I think dropping the admin schema should probably still work, so lets update the description of this issue accordingly and keep it open.

VARIABLE is not supported on Postgres.
I added a null op to the drop.

I confirm that included the --drop-admin against a provisioned postgresql schema no longer emits the above exception.  However, during verification, I repeated ran into https://github.com/IBM/FHIR/issues/1631.  Lets close this one for now and we can reopen after addressing #1631 if there's any additional issues.
side-note:  I found out that invoknig --drop-admin without also dropping a fhir schema doesn't actually do anything.  I find that rather confusing and we should probably add this to the documentation in the fhir-persistence-schema README.


0.6.0 Issue - Updates 2 days ago - Now non-fonctionnal

I dont know if its a Zendesk issue or the app itself
2 days ago we updated from 0.3.1 to 0.6.0 (related to the App V2 changes)
All was good, but now this morning, the logo is gone (just a small x)
And all button for (New Work Item, Link Work Item, Notify) are gone. Impossible to create new item to TFS).

Our app is on Zendesk frame work V2.
Our VSTS App is now publicly available on Zendesk Marketplace. Since our App is public you can just install it from the MarketPlace of Zendesk. The team plan users can also install this app.
https://www.zendesk.com/apps/support/integratecloud-connector-for-vsts/

Fixed in 0.6.1


Update Mocha to 2.1.0

Hey, Mocha 2.1.0 features this small fix that restores the ability to click the name of a test to run it individually, which obviates the minor-but-persistent hassle of re-adding “tests” to the beginning of the pathname when I need to focus on a test.
I was specifying 2.1.0 in bower.json and that worked okay locally, but Heroku and Travis builds were failing, so I figured I’d make this fork.
This update might not be useful for everyone, feel free to close if it seems unnecessary.

Any chance of revisiting this? I'd like to use mocha 2.1.0 as well. I tried updating my bower.json file and don't have any problems running ember test

@bjornstar, when I changed bower.json to point to 2.1.0 it worked fine, it was when I switched ember-mocha to backspace/ember-mocha#update-mocha that it was hanging.
I hadn’t tried it since then, but now when I do, I get this:
Path or pattern "bower_components/ember-mocha/ember-mocha.amd.js" did not match any files

I think I was on Ember CLI 0.1.4 at the time and now I’m on 0.1.7, so maybe something got fixed to print out an error when an expected file is missing. It looks like ember-mocha.amd.js is built when the package is installed by Bower, but that build process isn’t happening when I use my fork, for whatever reason. This is beyond my understanding.

Ah yes, I get completely different behavior from bower when I install from a repo vs installing the public ember-mocha
Putting these three in my bower.json file illustrates the problem very well.
    "ember-mocha": "~0.2.0",
    "ember-mocha-backspace": "backspace/ember-mocha#update-mocha",
    "ember-mocha-switchfly": "switchfly/ember-mocha#0.2.1",

The build process does not run when you install from a repo.
You'd have to run the build scripts yourself.

Can you reopen this? Or should I make a PR that does the same thing?


Module parse failed with react-app

Have you got a suggestion for fixing parsing of the object spread operator? Apparently it's supported with create-react-app but I cannot get it to parse with the default config.
Module parse failed: /demo/web/frontend/node_modules/web3-redux/src/index.js Unexpected token (16:4)
You may need an appropriate loader to handle this file type.
|   updatedState = state;
|   const api = {
|     ...generateWeb3ReduxApi(dispatch, getState),
|     networks: Object.keys(state.networks).reduce((o, networkId) => {
|       return { ...o, [networkId]: generateNetworkApi({ networkId, getState, dispatch }) };

I have the same error, @MrHash any workaround ?


Update Gradient namespace

Following the benchmark of dx.RecursiveCheckpointAdjoint (see below), this PR removes the adjoint method altogether (at least for now).
There are now two available gradient methods:

Autograd which correponds to the jax autograd, available in diffrax using dx.DirectAdjoint
CheckpointAutograd corresponding to dx.RecursiveCheckpointAdjoint (not available for our custom solvers, for now)

The first one seems fastest if memory is not an issue. The second one solves the memory problem similarly to the adjoint method, but probably better all-around.
NB: Also fix the dq.expect bug by using jnp.einsum and the jnp.diff(..., prepend=...) bug.

Benchmark of gradients in diffrax on a small problem
import jax
import jax.numpy as jnp
import diffrax as dx
import dynamiqs as dq
import functools
import timeit
import warnings

# create a simple quantum problem on which to test the adjoints
@functools.partial(jax.jit, static_argnums=(1, 2))
def run_mesolve(delta, adjoint, N):
    # make quantum problem
    a = dq.destroy(N)
    i = dq.eye(N)
    H = dq.dag(a) @ dq.dag(a) @ a @ a
    L = 0.1 * a @ a
    tsave = jnp.linspace(0.0, 10.0, 100)
    rho0 = dq.coherent_dm(N, 2.0)

    # initialize diffrax solver
    def vector_field(t, y, args):
        out = -1j * args[0] * H @ y + 0.5 * L @ y @ dq.dag(L) - 0.5 * dq.dag(L) @ L @ y
        return out + dq.dag(out)

    term = dx.ODETerm(vector_field)
    solver = dx.Dopri5()
    saveat = dx.SaveAt(ts=tsave)
    stepsize_controller = dx.PIDController(rtol=1e-5, atol=1e-7)

    # run solver
    with warnings.catch_warnings():
        warnings.simplefilter('ignore', UserWarning)
        solution = dx.diffeqsolve(
            term,
            solver,
            t0=tsave[0],
            t1=tsave[-1],
            dt0=None,
            y0=rho0,
            saveat=saveat,
            stepsize_controller=stepsize_controller,
            adjoint=adjoint,
            args=(delta,),
        )

    return dq.expect(a, solution.ys[-1]).real

# initialize parameters and grad function
N = 20
delta = 0.2
grad_mesolve = jax.grad(run_mesolve, argnums=0)

# time mesolve with BacksolveAdjoint (uncomment to test)
# print("BacksolveAdjoint")
# adjoint = dx.BacksolveAdjoint()
# %timeit grad_mesolve(delta, adjoint, N)

# time mesolve with DirectAdjoint (uncomment to test)
print("DirectAdjoint")
adjoint = dx.DirectAdjoint()
grad_mesolve(delta, adjoint, N) # jit compilation
%timeit -n 1 -r 1 grad_mesolve(delta, adjoint, N)

# time mesolve with RecursiveCheckpointAdjoint (uncomment to test)
print("RecursiveCheckpointAdjoint")
for n in range(10, 0, -1):
    print(f"== n = {n} ==")
    adjoint = dx.RecursiveCheckpointAdjoint(checkpoints=n)
    grad_mesolve(delta, adjoint, N) # jit compilation
    %timeit -n 1 -r 1 grad_mesolve(delta, adjoint, N)

DirectAdjoint
226 ms ± 0 ns per loop (mean ± std. dev. of 1 run, 1 loop each)

RecursiveCheckpointAdjoint
== n = 10 ==
273 ms ± 0 ns per loop (mean ± std. dev. of 1 run, 1 loop each)
== n = 9 ==
261 ms ± 0 ns per loop (mean ± std. dev. of 1 run, 1 loop each)
== n = 8 ==
256 ms ± 0 ns per loop (mean ± std. dev. of 1 run, 1 loop each)
== n = 7 ==
279 ms ± 0 ns per loop (mean ± std. dev. of 1 run, 1 loop each)
== n = 6 ==
269 ms ± 0 ns per loop (mean ± std. dev. of 1 run, 1 loop each)
== n = 5 ==
294 ms ± 0 ns per loop (mean ± std. dev. of 1 run, 1 loop each)
== n = 4 ==
419 ms ± 0 ns per loop (mean ± std. dev. of 1 run, 1 loop each)
== n = 3 ==
869 ms ± 0 ns per loop (mean ± std. dev. of 1 run, 1 loop each)
== n = 2 ==
2.34 s ± 0 ns per loop (mean ± std. dev. of 1 run, 1 loop each)
== n = 1 ==
6.75 s ± 0 ns per loop (mean ± std. dev. of 1 run, 1 loop each)

Replaced by #459. @gautierronan I finally didn't port the "fix the dq.expect bug by using jnp.einsum", I suspect it was a bug due to the improper use of _unvmap in the BacksolveAdjoint code of diffrax.


Rewrite & Documentation Website

Rewritten code base:

Simplify
Better error handling
Improved Yubikey support via aripalo/ykmangoath
Improved (Terminal) UX via aripalo/go-delightful

Documentation website

More clear structure
Implemented with docusaurus

Still some refactoring TODO and also adding more tests.

SonarCloud Quality Gate failure (47.1% coverage vs 50% coverage) is accepted for now.


[YouTube] Age verification issues - Can't download video.

Checklist

[X] I'm reporting a broken site support
[X] I've verified that I'm running youtube-dl version 2021.03.25
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones
(i found one similar but my --cookies are not expired as stated in this issue #28468)

Verbose log

youtube-dl --verbose https://www.youtube.com/watch?v=rR8s72aouNE
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=rR8s72aouNE']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2021.03.25
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 2021-03-28-git-8b2bde0494-full_build, ffprobe 2021-03-28-git-8b2bde0494-full_build
[debug] Proxy map: {}
[youtube] rR8s72aouNE: Downloading webpage
[youtube] rR8s72aouNE: Refetching age-gated info webpage
ERROR: Sign in to confirm your age
This video may be inappropriate for some users.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp5nc448kk\build\youtube_dl\YoutubeDL.py", line 806, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp5nc448kk\build\youtube_dl\YoutubeDL.py", line 827, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp5nc448kk\build\youtube_dl\extractor\common.py", line 534, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp5nc448kk\build\youtube_dl\extractor\youtube.py", line 1658, in _real_extract
youtube_dl.utils.ExtractorError: Sign in to confirm your age
This video may be inappropriate for some users.

Description

Hello

I tried to download an age-gated video and i got some age-verification errors as you can see in the Verbose log above.

When i tried to provide the --cookies then i got the error below:

youtube-dl --verbose --cookies C:/Users/account/Desktop/cookies.txt https://www.youtube.com/watch?v=rR8s72aouNE
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--cookies', 'C:/Users/account/Desktop/cookies.txt', 'https://www.youtube.com/watch?v=rR8s72aouNE']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2021.03.25
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 2021-03-28-git-8b2bde0494-full_build, ffprobe 2021-03-28-git-8b2bde0494-full_build
[debug] Proxy map: {}
[youtube] rR8s72aouNE: Downloading webpage
ERROR: Verify your age
Complete a brief check to show you're old enough to watch this video. Learn more
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp5nc448kk\build\youtube_dl\YoutubeDL.py", line 806, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp5nc448kk\build\youtube_dl\YoutubeDL.py", line 827, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp5nc448kk\build\youtube_dl\extractor\common.py", line 534, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp5nc448kk\build\youtube_dl\extractor\youtube.py", line 1658, in _real_extract
youtube_dl.utils.ExtractorError: Verify your age
Complete a brief check to show you're old enough to watch this video. Learn more

I'm signed in to my account and i verified that the --cookies are not expired. and of course my date of birth is over 18 years.

I know that there is an age-restriction in the EU region, but i also can't download using just the normal command as with all other age-gated videos.

What gives?

You are probably connecting from EU, right?
A change to YT was announced ~4 month that there will be extra steps for age verification in EU, iirc.
If you connect from outside of EU, it should work.

Have you tried to download the video?

My issue(#28468) ended by @dstftw because the cookie seems to be expired. but as I wrote in the issue, it was the fresh cookies.txt.
This is not going to happen in the United States, so this is unlikely to be fixed.

there is nothing to be done on the youtube-dl side.
either use a proxy/VPN from a country outside the EU, or complete the age verification process.

My issue(#28468) ended by @dstftw because the cookie seems to be expired. but as I wrote in the issue, it was the fresh cookies.txt.
This is not going to happen in the United States, so this is unlikely to be fixed.

My cookies are not expired too.

Does that mean the contrubutors are unlikely to fix any issues that occure outside the US

@remitamine Then in the EU or countries using new age verification, Does that mean there is no way to download videos without a VPN connection? Even though I use the cookie of the ID whose age has been verified.

no, if you can't download an age-restricted video using non-expired cookies for an account that has the ability to watch the video in the browser then this would be considered an issue, however, there won't much that can be done unless a developer can reproduce the same problem.

@Rudbekia

If you connect from the EU and have not verified, theres is now way without the VPN.

If you have already verified your account you can just pass the cookies and download.

Try for yourself and report back.

@remitamine Please check your email.

I just experienced a similar issue (also EU). I was able to stream the video with mpv though, no age confirmation required. I don't know nothing about how a bypass would work but perhaps this indicates a possibility to do so?

I have exactly the same problem.
About one week ago, I've tried to download a personal playlist containing at least one video 18+. youtube-dl refused to download it, so I've provides cookie file and it worked.
Now, I'm trying to redownload the playlist - because I've added videos since the last week - but youtube-dl complains about age-verification again. I've recreated a cookie file but it still complains.
When I'm trying to access to the video from Firefox, no problem at all. I've event tried to recreate the cookie file while visiting the video in question.
Furthermore, the video is already downloaded so why youtube-dl does not just pass it ?!

Something strangely fortuitous happens to me (I'm using the Youtube-DLG interface if that matters). When daddy Google and mummy EU ask for my papers on a video like this and I try youtube-dl, I get the typical Sign in to confirm your age error.
However, if I wait a few minutes and try to download the same video with youtube-dl again, it just werks™...

Nevermind, age-restricted videos aren't working again as of recently... apparently YouTube just patched out something called the /get_video_info endpoint.

https://stackoverflow.com/questions/67615278/get-video-info-youtube-endpoint-suddenly-returning-404-not-found/67629882#67629882

Possible fixes.
Fixing requests to get_video_info.
https://github.com/ytdl-org/youtube-dl/issues/29333#issuecomment-864049544
Switching to some internal Youtube API.
https://github.com/ytdl-org/youtube-dl/issues/29086#issuecomment-864091265

This issue was originally related to the age restriction in the EU even after you are logged into your account and your age is over 18.
First, you would get this:
ERROR: Sign in to confirm your age
This video may be inappropriate for some users.
After you sign in, you'd get this:
ERROR: Verify your age
Complete a brief check to show you're old enough to watch this video. Learn more
And the solution was to pass the cookie, problem solved.

And the solution was to pass the cookie, problem solved.

Then why was youtube-dl working for me before, without needing to give Google my ID or pass any cookies? I think this problem goes deeper, the lab boys still seem to be working on it.

yt-dl worked also for me but for the video above it didn't work, that's why i opened this issue, so some videos work and some not.

It doesn't play age restricted videos again, look:
$ youtube-dl --verbose https://www.youtube.com/watch?v=rR8s72aouNE
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.youtube.com/watch?v=rR8s72aouNE']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 2.7.18 (CPython) - Linux-5.4.0-74-generic-x86_64-with-Ubuntu-20.04-focal
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] rR8s72aouNE: Downloading webpage
[youtube] rR8s72aouNE: Refetching age-gated info webpage
WARNING: unable to download video info webpage: HTTP Error 404: Not Found
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/youtube-dl/main.py", line 19, in
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 475, in main
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 465, in _real_main
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2069, in download
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 808, in extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1503, in _real_extract
File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2644, in compat_parse_qs
File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2614, in _parse_qsl
AttributeError: 'bool' object has no attribute 'split'

Hi, I have the same issue with age verification, and I am not connected from EU
my understanding according to this, is that I can chain mpv with youtube-dl, to watch youtube videos without ads / age verification / ... without any cookies whatsoever
I've been using it for a while now, for videos that are not age restricted, but when I tried it on a age restricted I got the same error OP got, is my assumption about watching age-restriction videos without cookies or signing is still correct in the current version (I'm using youtube-dl 2021.06.06)?
please correct me so I can post more details

@0x00Jeff you have to wait for the next youtube-dl release. Current version 2021.06.06 doesn't work well with age restricted videos.

By the way guys, it doesn't work in Canada as well:

It looks like YouTube deprecated /get_video_info endpoint or changed required set of params once again.

Another possible fix https://github.com/yt-dlp/yt-dlp/issues/574#issuecomment-887171136

Another possible fix yt-dlp/yt-dlp#574 (comment)

Tried that (I'm from the EU) with c0bc527 implemented.
It works for some video's (e.g. 3gKwo9Kgf3w), but not for others (e.g. rR8s72aouNE)

There is no fix for videos that can't be embedded.

Doesn't work with IFjle80na1A using 2021.06.06 version.

Does not work in South Korea.
ERROR: Sign in to confirm your age
Here we have our own age-check systems like the EU.
I tried --proxy option to proxy to Japan, also didn't work. I can't figure out why.
Should I wait until the next release?

Should I wait until the next release?

Hmm...
You may have to wait a long time.
See this:
https://github.com/ytdl-org/youtube-dl/issues/29753
In the mean time, you could try with the fork yt-dlp.
It can download IFjle80na1A just fine and without providing cookies.

@fosam commented on 30 Mar 2021, 18:39 BST:

@Rudbekia

If you connect from the EU and have not verified, theres is now way without the VPN.

If you have already verified your account you can just pass the cookies and download.

Try for yourself and report back.

How does one pass the cookies from browser to youtube-dl ?

YouTube has added more restrictions. Now you can't download age-restricted videos even with the cookie. When viewing in the browser you have to click on two prompts every time you watch the video.

YouTube has added more restrictions. Now you can't download age-restricted videos from the US even with the cookie. When viewing in the browser you have to click on two prompts every time you watch the video.

facing same issue...


Cannot add SQL connection: scaffolding requires .net 6

Hello,
I use MacOS, and I have .NET 7 and .NET 8 installed. NetPad is v0.6.0, ef tool is v8.0.
I'm trying to add a SQL connection, but it crashes with the following error:
One or more errors occurred. (Scaffolding process failed with exit code: 150.  ... You must install or update .NET to run this application.:

Correct, as mentioned in README, .NET 6 runtime (or SDK) is required if you want to add connections. I'm working on removing that dependency in a futuree release, but for now you do infact need .NET 6.0 runtime or SDK installed.

Ah, indeed. I didn't see it is mentioned in the readme. Thank you for your work! It's a great tool!

Thank you, glad you're enjoying it!


RUMM-1091: Update code samples in docs to make it up-to-date, fix formatting

What does this PR do?
This change updates code samples in docs to make it up-to-date and match the actual API.

Codecov Report

Merging #585 (cd4cb67) into master (002fa93) will decrease coverage by 0.21%.
The diff coverage is n/a.


Out Going Email Configuration Issue

Dear Team,
I hope you're doing well. I have successfully installed the Onsite Zulip Server on my local server machine to migrate all my Slack users to Zulip. Unfortunately, despite my best efforts, I haven't been able to resolve the issue with the sender email.
I have configured<EMAIL_ADDRESS>as the sender email, but the emails are still being sent from<EMAIL_ADDRESS>which is the Zulip Admin Account. I have been unable to locate where to set the default email sender.
Furthermore, although I receive a success message every time I send an test email through terminal, I'm not actually receiving any emails.
Here are the details of my Zulip setup:
Zulip External Host link: zulip.qisstpay.com
I would greatly appreciate any assistance you can provide in resolving this sender email issue and ensuring that I can receive emails properly. Thank you!
Here is the Responses:
su zulip -c "/home/zulip/deployments/current/manage.py send_test_email<EMAIL_ADDRESS>If you run into any trouble, read:
https://zulip.readthedocs.io/en/latest/production/email.html#troubleshooting
The most common error is not setting ADD_TOKENS_TO_NOREPLY_ADDRESS=False when
using an email provider that doesn't support that feature.
Sending 2 test emails from:

<EMAIL_ADDRESS><EMAIL_ADDRESS>
Successfully sent 2 emails to<EMAIL_ADDRESS>My Configuration in the prod config file.
EMAIL_BACKEND = 'django.core.mail.backends.filebased.EmailBackend'
EMAIL_FILE_PATH = '/var/log/zulip/emails'
EMAIL_HOST = "smtp.gmail.com"
EMAIL_HOST_USER =<EMAIL_ADDRESS>DEFAULT_FROM_EMAIL =<EMAIL_ADDRESS>EMAIL_SENDER =<EMAIL_ADDRESS>EMAIL_GATEWAY_PATTERN = ""
EMAIL_GATEWAY_LOGIN =<EMAIL_ADDRESS>EMAIL_GATEWAY_IMAP_SERVER = "imap.gmail.com"
EMAIL_GATEWAY_IMAP_PORT = 993
EMAIL_GATEWAY_IMAP_FOLDER = "INBOX"
Your quick response in this regard will be highly appreciated.

Thanks for the report! Please report your problem in the #production help stream in the Zulip development community, and we’ll do our best to help you out. You can simply repost the details from this issue.
I'm closing this issue, but we'll be sure to file follow-up issues as needed based on the investigation.


Projects dropdown in header does not work on a Project's Page

This issue is faced in Chrome Version 43.0.2357.81. I am running OS X Version 10.10.2.
Steps to reproduce this issue:

Click on any project in Memex Explorer.
After arriving on this project's page, click on "Projects" dropdown at the top right on the screen.

The dropdown menu does not appear.

@shivikathapar i appreciate all these found bugs. I'm currently working on other tasks right now but I will get to them soon.

Great work @shivikathapar!

Was unable to verify this bug.

Hey @brittainhard, yes looks like its working now! Thanks.

Aweome, thanks @shivikathapar


can't get code-oss to launch raspberry pi 3b

launch from the console:

code-oss --verbose

get this output after some seconds:
[main 2019-02-19T15:28:35.507Z] [storage state.vscdb] open(/home/pi/.config/Code - OSS (headmelted)/User/globalStorage/state.vscdb, retryOnBusy: true)
[main 2019-02-19T15:28:35.524Z] [storage state.vscdb] open(): Unable to open DB due to [object Object]
[main 2019-02-19T15:28:35.527Z] [storage state.vscdb] open(): Unable to use backup due to Error: ENOENT: no such file or directory, unlink '/home/pi/.config/Code - OSS (headmelted)/User/globalStorage/state.vscdb'
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[1140:0219/152836.977430:ERROR:sandbox_linux.cc(379)] InitializeSandbox() called with multiple threads in process gpu-process.
if I try to launch again:
[main 2019-02-19T15:29:30.423Z] Sending env to running instance...
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[1209:0219/152931.765136:ERROR:sandbox_linux.cc(379)] InitializeSandbox() called                                                                                with multiple threads in process gpu-process.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
& get a window:
"Another instance of code-oss (headmelted) is running but not responding. please close all other instances and try again.
Anything I can do? almost given up...

Sorry. almost forgot

code-oss --version
1.32.0
ce88f65a8818317410b6f0a697ddcec0174f36ca
arm

Getting this message as well as of yesterday around noon; I'm configuring a Pi for work and was repeatedly reformatting and freshly installing various styles of Raspbian through NOOBS for other reasons when I encountered this issue.  Output contains roughly the same errors as yours, and trying to get around the electron issues with --disable-gpu doesn't seem to help as it has on other platforms in the past.  Installing the gpg keys manually also doesn't appear to help; it's worth noting that, during the install, I'm getting a gpg: no valid openPGP data found, though I'm not sure if this is normal since I unfortunately didn't think to save logs from the working builds.

Also had tried with --disable-gpu, No result.
Also got the "gpg: no valid OpenPGP data found" message during the various installations I tried, but did not consider it to be a problem... researching I had found someone stating the solution to this was to download the pgkey in advance with
sudo wget -qO - https://packagecloud.io/headmelted/codebuilds/gpgkey | sudo apt-key add -;

I've tried installing both ways, but even manually installing the key and verifying that it's there with
apt-key list
but that doesn't seem to actually fix this issue unfortunately.

This does appear to be an issue with a more recent version.  I grabbed an old release (specifically, code-oss_1.29.0-1539683192_armhf.deb, commit 590c416, from 16 October,) and installed it manually with
sudo dpkg -i /home/pi/Download/code-oss_1.29.0-1539683192_armhf.deb
or wherever you happen to put the package.
This worked for me, after about 30 seconds of grey screen while it spun up, it launched with no errors  and haven't encountered any problems yet.  Hope this works for you while someone smarter than me figures out a better way.

I HAD the same issue, but upgraded all software on my Pi today and now get this output when launching from console.
pi@raspberrypi:~ $ code-oss --verbose
[main 2019-02-20T17:04:45.389Z] Starting VS Code
[main 2019-02-20T17:04:45.398Z] from: /usr/share/code-oss/resources/app
[main 2019-02-20T17:04:45.399Z] args: { _: [],
  diff: false,
  add: false,
  goto: false,
  'new-window': false,
  'reuse-window': false,
  wait: false,
  version: false,
  help: false,
  'list-extensions': false,
  'show-versions': false,
  verbose: true,
  status: false,
  'prof-modules': false,
  'prof-startup': false,
  'disable-extensions': false,
  'disable-gpu': false,
  logExtensionHostCommunication: false,
  'skip-getting-started': false,
  'skip-release-notes': false,
  'sticky-quickopen': false,
  'disable-restore-windows': false,
  'disable-telemetry': false,
  'disable-updates': false,
  'disable-crash-reporter': false,
  'skip-add-to-recently-opened': false,
  'unity-launch': false,
  'open-url': false,
  nolazy: false,
  issue: false,
  'file-write': false,
  'file-chmod': false,
  'driver-verbose': false,
  force: false,
  'prof-code-loading': false }
[main 2019-02-20T17:04:45.413Z] Resolving machine identifier...
[main 2019-02-20T17:04:45.415Z] Resolved machine identifier: 787e6c0bb0a8a6447a23cc8dfa943e1c474a72d910fff6eb81a33794479a3c3f
[main 2019-02-20T17:04:45.499Z] update#ctor - updates are disabled as there is no update URL
[main 2019-02-20T17:04:45.525Z] windowsManager#open
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[24684:0220/170445.677589:ERROR:sandbox_linux.cc(379)] InitializeSandbox() called with multiple threads in process gpu-process.
[24648:0220/170446.196921:ERROR:gpu_process_transport_factory.cc(1017)] Lost UI shared context.
[main 2019-02-20T17:04:46.211Z] [storage state.vscdb] open(/home/pi/.config/Code - OSS (headmelted)/User/globalStorage/state.vscdb, retryOnBusy: true)
[main 2019-02-20T17:04:46.269Z] [storage state.vscdb] open(): Unable to open DB due to [object Object]
[main 2019-02-20T17:04:46.284Z] [storage state.vscdb] open(): Unable to use backup due to Error: ENOENT: no such file or directory, unlink '/home/pi/.config/Code - OSS (headmelted)/User/globalStorage/state.vscdb'
[24701:0220/170446.453302:ERROR:command_buffer_proxy_impl.cc(114)] ContextResult::kFatalFailure: Shared memory handle is not valid
[24684:0220/170446.488034:WARNING:ipc_message_attachment_set.cc(49)] MessageAttachmentSet destroyed with unconsumed attachments: 0/1
[24648:0220/170450.500442:INFO:CONSOLE(1400)] "%cTRACE", source: file:///usr/share/code-oss/resources/app/out/vs/workbench/workbench.main.js (1400)
[24648:0220/170450.527243:INFO:CONSOLE(1400)] "%c  ERR", source: file:///usr/share/code-oss/resources/app/out/vs/workbench/workbench.main.js (1400)
[24648:0220/170450.551844:INFO:CONSOLE(1400)] "%c  ERR", source: file:///usr/share/code-oss/resources/app/out/vs/workbench/workbench.main.js (1400)

I get a window appear, but nothing else happens beyond this. When closing the window, the console shows:
[main 2019-02-20T17:08:17.180Z] Lifecycle#window.on('close') - window ID 1
[main 2019-02-20T17:08:17.182Z] Lifecycle#onBeforeWindowClose.fire() - window ID 1
[main 2019-02-20T17:08:17.194Z] Lifecycle#window.on('closed') - window ID 1
[main 2019-02-20T17:08:17.196Z] Lifecycle#onWillShutdown.fire()
[main 2019-02-20T17:08:17.217Z] Lifecycle#app.on(window-all-closed)
[main 2019-02-20T17:08:17.219Z] Lifecycle#app.on(before-quit)
[main 2019-02-20T17:08:17.220Z] Lifecycle#onBeforeShutdown.fire()
[main 2019-02-20T17:08:17.239Z] Lifecycle#app.on(will-quit)
[main 2019-02-20T17:08:17.244Z] [storage state.vscdb] close()

But I have to Control-C it to actually quit, it never terminates on its own.
pi@raspberrypi:~ $ code-oss --version
1.32.0
aeaef41d51201e555735f5e8d2f38a9d0ddb9026
arm
pi@raspberrypi:~ $

TotalBro, thanks :D, I´ll wait to see if this issue is fixed for now. It´s good to know I can go back to a working version if time presses.
I have installed the latest version released yesterday (1.32.0-1550644722) & get the exact same behaviour as reported by aliclubb.
note the last line reported in the console is
[main 2019-02-21T11:02:31.792Z] [storage state.vscdb] close()
(same file reported as missing during launch)

Same here;  the current release clearly isn't working on RPi.

Same here! I went back to any 1.29 version and it worked fie, including all extensions. After nightly upgrading to the latest 1.32 version code-oss hung up again as described above. Can anyone tell me how to exclude code-oss from upgrading?

Hi,
If you've installed 1.29 like:
apt-get install code-oss=1.29.0-1539702286

you can then mark it on hold by running:
apt-mark hold code-oss

then runs of apt-get upgrade won't try to bump it up until you've run
apt-mark unhold code-oss

to allow it to upgrade once again.
Thanks for the work on the code-oss builds for Raspberry Pi.
I've been using it for a while now on a pi in a pi-top laptop.  :+1:

Brian
:tractor: :computer:

Hi,
thank you for this information. Yes I installed it by
apt-get install code-oss=1.29.0-1539702286
Your  hint helps me to exclude it from upgrading, as code-oss-1.32.*** definitely does not work!!
Hopefully I can unmark it soon!
Many Thanks and best regards
Hans Hopf
Von: Brian S. Corbin<EMAIL_ADDRESS>Gesendet: Freitag, 22. Februar 2019 03:59
An: headmelted/codebuilds<EMAIL_ADDRESS>Cc: Hopf, Hans<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Betreff: Re: [headmelted/codebuilds] can't get code-oss to launch raspberry pi 3b (#67)
Hi,
If you've installed 1.29 like:
apt-get install code-oss=1.29.0-1539702286
you can then mark it on hold by running:
apt-mark hold code-oss
then runs of apt-get upgrade won't try to bump it up until you've run
apt-mark unhold code-oss
to allow it to upgrade once again.
Thanks for the work on the code-oss builds for Raspberry Pi.
I've been using it for a while now on a pi in a pi-top laptop. 👍

Brian
🚜 💻

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/headmelted/codebuilds/issues/67#issuecomment-466255567, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGeuEhl-t8A9PWzFryJIve34Bi7rXJpeks5vP1zjgaJpZM4bDO3K.

As a point of interest, a grep for state.vscdb in the two workspace.main.js files, shows no references to state.vscdb in 1.29, but does in 1.32.

If you manually place a file called state.vscdb into the correct place, code-oss deletes it upon startup, whilst complaining it can't open the file...

Thanks for the tips everyone - falling back to 1.29 does indeed work!  :-)

it worked!

Same - 1.29 working fine, all versions after are black screened.  Looking forward to a fixed version as this is definitely my favourite editor for the pi.

FYI: I am running raspian stretch (desktop version) in a VirtualBox 5.26.x VM under Win10 Pro. In this configuration code-oss version 1.32.0 runs as expected (see screenshot)

Hmmm - hardware specific?  I've checked again and upgraded to 1.32.0 and still get the black screen problem on a Raspberry Pi 3b.  Downgrading to 1.29 is fine.

I think the arch type from cpu makes the difference. In your VirtualBox runs the virtualized Intel Core. But the Raspbian on Raspberry 3b (or 3b+ in my case) runs with the arch type ARM 32bit (ARMv7). ARMv7 is no longer supported from Microsoft for years. For a few month, the builds for the ARMv7 from the community (here from headmelted) also seem to stop working
In some post, I see that some users have also got under ARM 64 bit (with aarch64) also more recent versions from Code-OSS to run. (I hope my sentence structure is correct.)
The Raspberry PI 3 series have a CPU architecture ARMv8. But the unmodified version of Raspbian runs with ARMv7 (you can see it with command 'uname -m' or 'file $(which ls)'). We can try to run code-oss on 64 bit OS on Raspberry PI or normal 32 bit Raspbian with 64 bit debian guest OS (via nspawn).
In any case, I'm still exploring for more alternatives.

Same issue, after downgrade to 1.29 works fine
apt-get install code-oss=1.29.0-1539702286

What's the status on fixing this? I really want the newest version of code.

Still unresolved?

Any news on this? I'm now running on 1.29, but would really like to be able to update/upgrade code-oss to the present version.

I still have the same issue using Raspbian "Buster" (32-bit) on my Raspberry Pi 4.
Install completes normally, program "starts", but it gets no further than drawing a blank window.  Downgrading to 1.29 works.

Still same today on my pi zero (yes the zero).
seems like a buster issue.
/usr/bin/code-oss: line 35: 14561 Illegal Instruction    ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"
Doing Sudo code-oss is not recommended.

@headmelted is this something that can be fixed? Im now forced to run on the old 1.29 version and cannot upgrade on my pi 😔

Same problem here. :(

Works on 1.29 on Pi, still no fix for later versions?

Just got hit with this. Can we please get a fix for the newer versions?

Any Updates or leads on this? Anyone working on this fix?
IF not, Let me look under the hood

Some people trying on this. But I could not find a working result yet. Here are the repositories I watch:
https://github.com/Luxray5474/codebuilds
https://github.com/akimasa/vscode
And here the discussion about this:
https://github.com/microsoft/vscode/issues/6442
Also, I intend to develop a solution variant. Whereby I will focus on the kernel "aarch64". It will be used on RPi 3B + and higher.

I’m sorry I haven’t had a chance to check in for a while on this (family
matters). I hope to get time over the Christmas break to get this up and
running again.
I know people are waiting for this and will do my best to get up-to-date
builds out ASAP.
On Sat, 7 Dec 2019 at 20:43, Silerra<EMAIL_ADDRESS>wrote:

Some people trying on this. But I could not find a working result yet.
Here are the repositories I watch:
https://github.com/Luxray5474/codebuilds
https://github.com/akimasa/vscode
And here the discussion about this:
microsoft/vscode#6442 https://github.com/microsoft/vscode/issues/6442
Also, I intend to develop a solution variant. Whereby I will focus on the
kernel "aarch64". It will be used on RPi 3B + and higher.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/headmelted/codebuilds/issues/67?email_source=notifications&email_token=ACTBLIGL6XM3YNQYDEDNS5LQXQDFJA5CNFSM4GYM5XFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGGO7SQ#issuecomment-562884554,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACTBLIFDIJGNJRCB24AGX33QXQDFJANCNFSM4GYM5XFA
.

Thanks for the update @headmelted !
For everyone else who is looking for a way/temp solution to continue development on/with a Raspberry Pi & VS Code: the VS Code Remote Development capabilities are nowadays working with a Raspberry Pi as well. The idea is that you run VS Code on your (non Pi) dev box and it uses SSH to remote into your Pi (behind the scenes). So you write code on your (non Pi) dev box, it's saved directly on the Pi, and you can even do debugging, building ... directly on the Pi.

Pipeline fixed!
New build at:
https://packagecloud.io/headmelted/codebuilds/packages/debian/stretch/code-oss_1.42.0-1575910147_arm64.deb
Haven't had a chance to test it yet so not sure if it'll work first time or panic out.  Any feedback most welcome!

Version: 1.42.0 (user setup)
Commit: eab8ca79dc31d09af243350bed3f2ef42ec64e11
Date: 2019-12-09T16:49:30.930Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Linux arm 4.19.66-v7+
IT RUNS ON MY RPI3 AGAIN!!!!
SUPER WORK 🥇🎉

Great!
Not sure why the version jumped to 1.42 - my guess is that’a the next
release upstream is targeting 🙂
On Mon, 9 Dec 2019 at 22:20, gruijter<EMAIL_ADDRESS>wrote:

Version: 1.42.0 (user setup)
Commit: eab8ca79dc31d09af243350bed3f2ef42ec64e11
Date: 2019-12-09T16:49:30.930Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Linux arm 4.19.66-v7+
IT RUNS ON MY RPI3 AGAIN!!!!
SUPER WORK 🥇🎉
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/headmelted/codebuilds/issues/67?email_source=notifications&email_token=ACTBLIA4M4S7XBTDNSIBI7DQX3ABXA5CNFSM4GYM5XFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGK5DXQ#issuecomment-563466718,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACTBLIHIHJK5PYEGVGJA6JTQX3ABXANCNFSM4GYM5XFA
.

It looks good. Thank you @headmelted !
Anyway, the GUI works in this version again and the window doesn't remain empty:

My settings:
RPi 3B+
dtoverlay=vc4-fkms-v3d (it needed for some projects)
forced 64bit mode
Raspbian Lite version buster with Xfce
Left side in the picture is 32bit userland (armhf) and right side is 64-bit nspawn container with Debian version buster (arm64).
At first code-oss didn't want to start in 64bit container. Somehow, code-oss additionally requires the packages libxtst6 and libasound2.

Glad to hear it!
Let me know if you experience any issues with it!

https://github.com/VSCodium/vscodium/pull/303 provides ARMv7 and 64-bit ARMv8 builds, all cross-compiled from x86_64 on Travis CI. @headmelted, maybe you can adopt the same method - I find it more reliable than native builds which hang or exhaust all available RAM. Also, pretty much all CI services offer only x86 machines, so you'll be able to use any service and spend less time on getting builds to work.

The builds are all cross-compiled using Archie, but with container emulation for native dependencies as a chunk of the extensions implicitly expect to be running on the architecture they’re being built with.
You may not remember but you CC’d me some time back in a conversation about lifting this method to get your builds up-and-running.  I’m hoping it was useful; you really don’t need to cross-post in a support ticket on github to get more eyeballs on it.  I’ve no doubt if people find your work useful they’ll use it, and having more builds elsewhere makes for good redundancy.
Closing the thread as the underlying issue is now resolved, but please re-open if there’s still a problem here and I’ll get right on it.

Trying to install on raspberry pi Zero W. Installed the 1.45 version abut when executing it returns "Illegal Instruction"


xena: wallaby merge

Build caso container with release train
Build caso image
Build blazar image
Revert "Build caso image"
Add image tags for caso and blazar
Adds a release note for caso
Adds a release note for blazar
Bump neutron containers to support NGS batching
Add release note for Neutron IPv6 metadata workaround
Use newer liblasso package in Ubuntu
Bump up Keystone's image tag for Ubuntu
Add tags for Blazar and Caso images

Promoting caso and blazar here:

https://github.com/stackhpc/stackhpc-release-train/actions/runs/4428275908
https://github.com/stackhpc/stackhpc-release-train/actions/runs/4428272667


Add ability to merge included nested models into their parent model (merge-include)

🎉 New feature
Summary
This adds a new attribute, merge, to //include that when set to true copies all the children elements of the nested model into the parent model without introducing a new scope. Currently, we only merge named elements such as //link, //frame , and //joint as well as custom elements. This means we ignore elements like //static and //enable_wind.
For example, given the parent model:
<?xml version="1.0" ?>
<sdf version="1.9">
  <world name="world_model">
    <model name="robot">
      <include merge="true">
        <uri>test_model</uri>
        <pose>100 0 0 0 0 0</pose>
      </include>
    </model>
  </world>
</sdf>

and the included model:
<sdf version="1.9">
  <model name="test_model">
    <link name="L1" />
    <frame name="F1" />
  </model>
</sdf>

The result would be:
<sdf version='1.9'>
  <world name='world_model'>
    <model name='robot'>
      <frame name='test_model__model__' attached_to='L1'>
        <pose relative_to='__model__'>100 0 0 0 -0 0</pose>
      </frame>
      <link name='L1'>
        <pose relative_to='test_model__model__'>0 0 0 0 -0 0</pose>
      </link>
      <frame name='F1' attached_to='test_model__model__'/>
    </model>
  </world>

Test it
Set SDF_PATH to the absolute path of test/integration/model and run ign sdf -p test/integration/merge_include_model.sdf
Checklist

[x] Signed all commits for DCO
[x] Added tests
[ ] Added example and/or tutorial
[x] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

This change is

src/parser.cc, line 1584 at r1 (raw file):
Previously, scpeters (Steve Peters) wrote…
you can construct a throwaway sdf::Model to call the validation functions on a model to be merge-included, but that may be a bit much. Otherwise, the only functions parser.hh that take an sdf::ElementPtr as an input are for checking name uniqueness and for not misusing ::
https://github.com/ignitionrobotics/sdformat/blob/6251baaddea3e3216c09fadb38cc6747b83bf1bf/include/sdf/parser.hh#L409-L428

Yeah, since the merging is done in an earlier stage of parsing, I don't think there's an elegant/minimal solution to do the full validation of a model. A less elegant way would be add a __merge__ attribute to the model and add it as a nested model into the parent sdf::ElementPtr and later when sdf::Model is loaded, we perform the actual merge.

Great work @azeey!
I'm looking to override/merge the <cast_shadow> tags of the parent model, do you think we can build on this include-merge feature to do it?
Related issues:
https://github.com/ignitionrobotics/sdformat/issues/600
https://github.com/ignitionrobotics/sdformat/issues/128

I'm looking to override/merge the <cast_shadow> tags of the parent model, do you think we can build on this include-merge feature to do it?

I think that would be out of scope for this PR, but I think the parameter passing feature would work for overriding <cast_shadow>. Have you had a chance to try that?

I'm looking to override/merge the <cast_shadow> tags of the parent model, do you think we can build on this include-merge feature to do it?

I think that would be out of scope for this PR, but I think the parameter passing feature would work for overriding <cast_shadow>. Have you had a chance to try that?

will try that out, thanks!

Codecov Report

Merging #659 (dd3c940) into main (c919d23) will increase coverage by 0.12%.
The diff coverage is 93.75%.

@@            Coverage Diff             @@
##             main     #659      +/-   ##
==========================================
+ Coverage   87.98%   88.11%   +0.12%
==========================================
  Files          72       72
  Lines       10929    11023      +94
==========================================
+ Hits         9616     9713      +97
+ Misses       1313     1310       -3

Impacted Files
Coverage Δ

src/parser.cc
85.65% <93.33%> (+0.71%)
:arrow_up:

src/Error.cc
100.00% <100.00%> (ø)

src/Root.cc
98.63% <0.00%> (+5.47%)
:arrow_up:

Continue to review full report at Codecov.

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

src/parser.cc, line 1584 at r1 (raw file):
Previously, azeey (Addisu Z. Taddese) wrote…
Working: I'll see if using a throwaway sdf::Model would be feasible without becoming a maintenance burden.

Done. Using a throwaway sdf::Model works pretty well. It actually makes it possible to support placement frames when merge=true.

a discussion (no related file):
@ericcousineau-tri  I've confirmed that this doesn't work with interface models. My proposed fix is the following:

Add an isMerged flag to sdf::NestedInclude. This would let the custom parser know to parse the model and merge the contents with the parent model. This would also mean Drake would have to be updated to support this.
Add member functions InterfaceLinks, InterfaceFrames, and InterfaceJoints to sdf::Model. Currently only sdf::InterfaceModel has those functions. If an interface model is to be merged, we need these functions in the parent model to access the merged interface elements
Update FrameSemantics.cc to to take into account Interface elements directly under sdf::Model.

a discussion (no related file):
Previously, azeey (Addisu Z. Taddese) wrote…
@ericcousineau-tri  I've confirmed that this doesn't work with interface models. My proposed fix is the following:

Add an isMerged flag to sdf::NestedInclude. This would let the custom parser know to parse the model and merge the contents with the parent model. This would also mean Drake would have to be updated to support this.
Add member functions InterfaceLinks, InterfaceFrames, and InterfaceJoints to sdf::Model. Currently only sdf::InterfaceModel has those functions. If an interface model is to be merged, we need these functions in the parent model to access the merged interface elements
Update FrameSemantics.cc to to take into account Interface elements directly under sdf::Model.

Okay, I started working on what I proposed, but I soon realized that it's quite complicated and would need more time to properly test. So, instead, I PIMPLized the sdf::NestedInclude class so that we can fix this after the Fortress release.

src/parser.cc, line 237 at r3 (raw file):
Previously, azeey (Addisu Z. Taddese) wrote…
That's a good point. I'm not sure how we can avoid that unless we also reserve all names that start with double underscore. Alternatively, we can modify the poses of each element and not use a frame.

How about if I change the pattern to proxy__<model name>__model__?


Use //go:embed to embed files after Debian Bookworm with Go 1.19 is released

https://go.googlesource.com/proposal/+/master/design/draft-embed.md

TIL! Great!

I'll use this when Go 1.17 is released (not Go 1.16). Then probably in August 2021.

My two cents: works fine using the new embed feature in go v1.16, like this
import (
	"bytes"
	"embed"
	"image"
	"log"

	_ "image/png"

	"github.com/hajimehoshi/ebiten/v2"
)

//go:embed assets/*
var assetsFolder embed.FS

imgByte, err := assetsFolder.ReadFile("assets/main/idle.png")
if err != nil {
	log.Fatalln(err)
}
img, _, err := image.Decode(bytes.NewReader(imgByte))
if err != nil {
	log.Fatalln(err)
}
ebitenImg := ebiten.NewImageFromImage(img)

Let's do this after Debian's default Go version is 1.16 or newer.

Debian Bookworm (probably with Go 1.19) will be released in 2023-09, maybe.

Note to myself:
We deterine the Go version by min(Debian's stable [1], Ubuntu's stable [2])
[1] https://packages.debian.org/stable/golang
[2] https://packages.ubuntu.com/jammy/golang (The URL indicates Ubuntu 22, rather than the stable)


write to db.js

I've tested this lib using npx json-graphql-server db.js. It works great! query works, inserts work, I see the new entries when when querying, but they are not persisted to db.js. Is there a way have the changes persisted to db.js?

No I don't think there is.
This libs purpose is mainly to help developers start a fake GraphQL server quickly, for testing purposes, but it's not meant to be used as a DB.
If you think this feature could be a nice addition, and are willing to work on it, I can leave this issue open as enhancement request if you want.

I just wanted to make sure I didn't overlook an undocumented feature, for now you can close it. If we need it I'll reconsider working on it


Move functions from utils

Move functions from util to the test file that uses them.
Release note

none

/lgtm
/approve

Hi @xpivarc thanks for reviewing, this pr scope is only for moving the function from util and use directly libvmi directly instead of calling NewRandomVirtualMachineInstanceWithDisk.

This closed since https://github.com/kubevirt/kubevirt/pull/11621