more detail on how to work with QMK MSYS so that we get the correct branch for git noobs

hi. so installing qmk msys is very straightforward.
within qmk msys, typing
qmk setup
results in a directory qmk_firmware. that's great. and that seems to setup the environment correctly for compiling.
however, i have no idea how get the cheapino branch now.
git clone -b doesn't work neither does git clone --recurse-submodules ....
and not doing qmk setup and doing git clone -b instead results in an environment where i can't compile. so i'm ending up in a situation where either i can compile and can't see cheapino or i can see cheapino but can't compile!
for those of us who are complete noobs to git, can we please get a step by step instruction just to the point where
qmk compile -kb cheapino -km default
works?
thanks.

thanks to honorless at discord, this procedure works:
git remote add tompi https://github.com/tompi/qmk_firmware git fetch tompi cheapinov2 git checkout tompi/cheapinov2
so the complete procedure would be:

instam qmk msys
inside qmk msys, type qmk setup - this will create a qmk_firmware folder that has cloned the main branch of qmk from git.
git remote add tompi https://github.com/tompi/qmk_firmware
git fetch tompi cheapinov2
git checkout tompi/cheapinov2

and now, you should be able to qmk compile -kb cheapino -km default and environment should now be setup correctly for you to make your cheapino firmwares.
honorless also says:
"This will leave you in a "detached HEAD" state. Don't panic; you can switch right back to QMK master after you're done building the cheapinov2 firmware by following the instructions git switch -."
i have no idea whether i or anyone else will ever need that but better to include it than not.

Thank you!
Added a fw guide in 8e3e69b14f28139293e2516b3adf0e89525b0df3
I would really appreciate a photo of your build, especially if it was a v2 :)

hi thomas!
thank you so much for the addendum! that would have really helped me to get to a viable firmware yesterday! i'm sure it's going to be invaluable for others attempting the project in the future.
oh and will totally be happy to send you pics of my proud new build... once i build it! all parts in transit from china lol!
but in perusing the instructions, i just had a feeling that after hours of squinting and soldering, i was going to run into a brick wall when it came to the firmware so i thought i'd do my future self a favor and debug that process first.
oh, sorry but if you get a chance, can you also add a section on how the encoder works? you mention it in the parts list but don't elaborate about it further either for the build or for how things get mapped to it in qmk.
thanks for an amazing and affordable and (looking like) fun project!

oh hey, actually,
where IS the link for cheapino v2? i canceled my parts order and i'll build
that instead.
also, for the keycaps, you say that it's a matter of personal preference
and that's true but can you also include a DEFAULT set of switches that you
used? because i think i'm lucky i was able to cancel my parts order because
i didn't realize that the electrical contact patterns under the switches
are NOT UNIFORM!!! i'm a complete noob to this so details like this are
taking me by surprise and i think it might help others too if there was
just a caveat about this issue.
wow, dodged a bullet there!
thanks.
jin
On Sun, Feb 18, 2024 at 8:02 AM Thomas Haukland @.***>
wrote:

Thank you!
Added a fw guide in 8e3e69b14f28139293e2516b3adf0e89525b0df3
https://github.com/tompi/cheapino/commit/8e3e69b14f28139293e2516b3adf0e89525b0df3
I would really appreciate a photo of your build, especially if it was a v2
:)
—
Reply to this email directly, view it on GitHub
https://github.com/tompi/cheapino/issues/21#issuecomment-1951370486, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5DPA6G4K5EFLSI47BXD5TYUIQYJAVCNFSM6AAAAABDNZYOCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJRGM3TANBYGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hey. The v2 is not really released yet, but the gerber is here: https://www.reddit.com/r/ErgoMechKeyboards/s/2zsigdfcTC
As for switches, any mx switch should be fine. It really makes no sense to name a default since this is the most discussed topic in the keyboard community:)
For working in an open office space, i like the bluish white silent, at home i like the regular clicky blue switches.

hey thomas,
oh thanks for the info on the switches.
my thought on including a default is a total noob like me can show up and
not realize that the keyboard interfaces are not actually universal. i was
familiar with the idea of tactile vs. linear, etc but had no clue the
actual electrical connection underneath varied. how about just a warning
that they must use MX compatible switches and not others? (i don't even
know what the other ones are called) but that's your call of course. maybe
other noobs have more sense than to jump into something like this without
any idea of what they're doing : ) ....  but ok i have selected these:
https://www.aliexpress.us/item/3256806093730983.html?spm=a2g0o.detail.0.0.75de5fc3UFZS3t&mp=1&gatewayAdapt=glo2usa
.
oh cool. thanks for the gerber. actually, i downloaded kicad and exported
the gerber from your pcb project but i'll use your gerber since it's more
likely to have been done properly.
hmm, if the v2 is not released yet, should i wait? is there any
modifications that you're going to make before it drops?
thanks again for your help! really looking forward to putting this
together. i spent a couple of days really getting the keymap right and
successfully compiled my uf2 so it's itching to get uploaded!
jin
On Tue, Feb 20, 2024 at 1:22 AM Thomas Haukland @.***>
wrote:

Hey. The v2 is not really released yet, but the gerber is here:
https://www.reddit.com/r/ErgoMechKeyboards/s/2zsigdfcTC
As for switches, any mx switch should be fine. It really makes no sense to
name a default since this is the most discussed topic in the keyboard
community:)
For working in an open office space, i like the bluish white silent, at
home i like the regular clicky blue switches.
—
Reply to this email directly, view it on GitHub
https://github.com/tompi/cheapino/issues/21#issuecomment-1953792192, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5DPA6FYAEM572CQTQRT4DYURTNJAVCNFSM6AAAAABDNZYOCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTG44TEMJZGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

I think the v2 is better. It fixes a lot of minor issues.
Most importantly it supports 5 pin switches, so you wont have ti clip them, and they will align much easier.
I wont change anything, except maybe add a logo.
The only build difference is you need to bridge some solder pads on the right side, it Even says so on the pcb...

oh great! ok. pulling the trigger.
thanks again!
jin
On Tue, Feb 20, 2024 at 2:53 AM Thomas Haukland @.***>
wrote:

I think the v2 is better. It fixes a lot of minor issues.
Most importantly it supports 5 pin switches, so you wont have ti clip
them, and they will align much easier.
I wont change anything, except maybe add a logo.
The only build difference is you need to bridge some solder pads on the
right side, it Even says so on the pcb...
—
Reply to this email directly, view it on GitHub
https://github.com/tompi/cheapino/issues/21#issuecomment-1953954044, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5DPA7XJ4WWQ6KH4XDGGSLYUR6BTAVCNFSM6AAAAABDNZYOCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTHE2TIMBUGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

oh wow, thanks for telling me about bridging pads. i would not have known
to do that.
ok, so looking at the board for bridging the pads - you're talking about
the pads labeled, "Solder on right side only" right? sorry, i'm not
clear on what that means.
does that mean only bridge the north/south pads on JP1 (the right-most
north/south pads)? or do i bridge ALL the north/south pads?
thanks.
jin
On Tue, Feb 20, 2024 at 2:53 AM Thomas Haukland @.***>
wrote:

I think the v2 is better. It fixes a lot of minor issues.
Most importantly it supports 5 pin switches, so you wont have ti clip
them, and they will align much easier.
I wont change anything, except maybe add a logo.
The only build difference is you need to bridge some solder pads on the
right side, it Even says so on the pcb...
—
Reply to this email directly, view it on GitHub
https://github.com/tompi/cheapino/issues/21#issuecomment-1953954044, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5DPA7XJ4WWQ6KH4XDGGSLYUR6BTAVCNFSM6AAAAABDNZYOCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTHE2TIMBUGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

The pcb is reversible, so same layout for left and right.
Right side means the pcb used for the right hand.

oh gotcha. so for right side keyboard bridge all those contacts n/s.
got it.
thanks much.
jin
On Tue, 20 Feb 2024, 5:25 am Thomas Haukland, @.***>
wrote:

The pcb is reversible, so same layout for left and right.
Right side means the pcb used for the right hand.
—
Reply to this email directly, view it on GitHub
https://github.com/tompi/cheapino/issues/21#issuecomment-1954213710, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5DPA64RDZCJBKNPUOZUETYUSP4NAVCNFSM6AAAAABDNZYOCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJUGIYTGNZRGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Replace shortcode with emoji

What feature are you proposing?
Given a string containing one or more shortcodes (for example, :heart:), replace all shortcodes with their emoji equivalent (for example, ❤).
Do you have any additional material for your feature proposal?
Maybe this is already possible? I read through the source code and couldn't find it, but I'm not overly familiar with Java.

Hi, this is not as trivial as it sounds. Each platform can define their own set of shortcodes / aliases for emojis, therefore it is not directly possible to replace a shortcode with an emoji. As an example:
{
  "emoji" : "🤽🏼",
  "unicode" : "\\uD83E\\uDD3D\\uD83C\\uDFFC",
  "discordAliases" : [ ":person_playing_water_polo_tone2:", ":water_polo_tone2:", ":person_playing_water_polo::skin-tone-2:", ":water_polo::skin-tone-2:" ],
  "githubAliases" : [ ],
  "slackAliases" : [ ":water_polo::skin-tone-3:" ],
  "hasFitzpatrick" : true,
  "hasHairStyle" : false,
  "version" : 3.0,
  "qualification" : "fully-qualified",
  "description" : "person playing water polo: medium-light skin tone",
  "group" : "People & Body",
  "subgroup" : "person-sport",
  "hasVariationSelectors" : false
}

The discord and slack alias differ in the skin tone number being used. So it is not possible to uniquely identify an emoji by alias and you would have to specify a platform. I think the best we could do in this case is to provide a list of emojis and then let the user decide which emoji they want to use. This would look somewhat like
replaceAliases(BiFunction<String, List<Emoji>, String> replacementFunction)
EmojiManager.replaceAliases((alias, emojis) -> emojis.get(0).getEmoji())

Okay, no worries. Thanks.

Following up on this, would it be possible to do the opposite? Something similar like what was done in emoji-java with the EmojiParser.
https://github.com/vdurmont/emoji-java/blob/master/src/main/java/com/vdurmont/emoji/EmojiParser.java

Following up on this, would it be possible to do the opposite? Something similar like what was done in emoji-java with the EmojiParser.
https://github.com/vdurmont/emoji-java/blob/master/src/main/java/com/vdurmont/emoji/EmojiParser.java

You mean replacing emojis -> alias in a string? This is already possible. You have full control of what you want to replace an emoji with
EmojiManager.replaceAllEmojis("👍 👨🏿🦱 😊", emoji -> emoji.getDiscordAliases().get(0))

EmojiManager.replaceAliases would be a good feature. EmojiManager.replaceAllEmojis works fine, its opposite EmojiManager.replaceAllAliases would complete the loop.  I am currently using .../com/vdurmont/emoji/EmojiParser.java which  has EmojiParser.parseToAliases and EmojiParser.parseToUnicode. That is an old library not  updated in last 5 years. I am looking forward to using this jemoji library once EmojiManager.replaceAllAliases is available.


BC break in version ^7

Guzzle version(s) affected: 7.7
PHP version: 7.4
Description
It seems you made a BC break in some of the latest 7.x versions. I have a Cloudinary library which uses Guzzle version ^7.
This means any minor version of package under the major version 7. But minor versions should not include BC breaks. Can you fix it?
The error message says:
Call to undefined function GuzzleHttp\Promise\promise_for()

Thanks for getting in touch, but this is not a BC break. This is a bug in the Cloudinary library because it is using the guzzlehttp/promises library without actually requiring it.

https://github.com/cloudinary/cloudinary_php/pull/385 should fix your issue.

You also already opened this issue already. I don't appreciate the double issue.

Cloudinry use promisses without actually requiring it? Dont understand. It called the method which did exists till now and now it is not. It seems like a BC break on your side.

This is not a BC break. Had they correctly required the promises library v1, they would not have experienced this issue.


Calibrate Audio song crashes when hitting restart

Describe the bug
Calibrate Audio song crashes when hitting restart
To Reproduce
Steps to reproduce the behavior:

Options -> Input -> Calibrate Audio Sync
Hit the assigned hotkey for restart

Expected behavior
The song would restart appropriately
Screenshots
n/a
Desktop (please complete the following information):

OS: Windows 10 Education
Version 2004
64bit

Additional context
CPU: AMD Ryzen 5 3600 6-Core Processor
GPU: NVIDIA GeForce GTX 960

Just saw the other opened issue


Update style.css

i made the navbar fixed. i changed the navbar background to white so we can see it when we scroll .
Because the fixed position doesnt inherit value from its parent so
i changed some value of padding and margin to get the same design as yours.

@naim16031988 it's looking amazing, If you could just make the size of the navbar small it will be a cherry on the cake

Allright, Ill do that

Allright, Ill do that

Great !!


Fixed specification of poetic type literals

The poetic type literals specs, as of right now, specifies it being only for these keywords: true, false, nothing, nobody and nowhere
This PR fix this, adding other poetic type literals keywords to this list (now My heart is empty example makes sense)

#117 should solve this by completely rewriting the section. A similar complaint came up in #138 but I would prefer to keep only one PR at a time to fix this problem to prevent merge conflicts and make @dylanbeattie's job not as hard :smile:

You're right, sorry! I'm closing this PR. @dylanbeattie we're waiting for you! hahahaha <3


HARP-11771: Fixes unreadable info text in example

Signed-off-by: Frauke Fritz<EMAIL_ADDRESS>Thank you for contributing to harp.gl!
Before requesting a pull request, please remember to check the following documents:

contribution guidelines
coding style

If you are adding new functionality we would highly appreciate if you can describe what is the capability you are adding and even better if you can add some examples. Please also remember to add tests for it.
CI Check
Our bots will check whether your PR can be directly integrated into the mainline. We have some internal integration tests running on the background, our bots will inform you of the next steps and someone from our team will take a look and help if needed!
And please do not forget to sign-off your commit! You can read more about DCO here. But, in short, you just need to use git commit -s or append --signoff when you are committing to the repo.
Happy contributing!

@FraukeF I see there are now two lines which have some information.

The text is something I copy pasted to this example without checking. I think it should actually be removed, and even the #info style can be removed too.
Or, update it and remove the instructions in the grey box? Up to you.


Using --set values in templates

Hi,
I have values.yaml.gotmpl:
{{ if .Values.pvs.nodes }}
nodeNames:
{{- range $node := .Values.pvs.nodes}}
- {{ $node }}
{{end -}}
{{end}}

And I am passing:
helmfile --environment awareint sync --set pvs.nodes=[worker2_name,worker5_name,worker1_name,worker4_name,worker3_name,worker6_name]
But I got error:
err 0: failed processing release pvs-xxx: failed to render values files "../../kube/global/pvTemplates/pvs-xxx/values.yaml.gotmpl": failed to render [../../kube/global/pvTemplates/pvs-xxx/values.yaml.gotmpl], because of template: stringTemplate:1:13: executing "stringTemplate" at <.Values.pvs.softwares>: map has no entry for key "pvs"
After some checks I found out that values.yaml.gotmpl doesn't get this value at all. Do I miss something?
I am using helmfile version v0.139.7.
Thanks

I suppose issue somewhere around pvs.softwares variables, not pvs.nodes

I suppose issue somewhere around pvs.softwares variables, not pvs.nodes

Hi,
The problem is .Values, meanwhile I found out that .Environment.Values contain this information. I still that this is bug (in code or in documentation - I am less sure).
Thanks

Already fixed


[Linux] Build GVFS provider on Linux

This is a refreshed take on the WIP #810, which I think is closer to readiness, with a few caveats.
~1. First, after the features/linuxprototype branch is rebased (see #976 and #977), there are likely a few new entries in GVFS.sln and other changes which will need to be incorporated into this PR so that it builds fully on Linux.  For instance, 2d2a0e19df and c2421cacb4 from my gvfs-latest-wip branch, which has everything except the POSIX refactoring (see item 3 below) included.~  DONE!  :-)
2. Second, this PR avoids using Mono in the same manner as #983, by limiting our support to x86-64 GNU libc systems with a specific struct stat layout.  The relevant invocation of stat(2) is in GVFS/GVFS.Platform.Linux/LinuxFileSystem.cs.  I think the 64-bit limitation is OK, at least, given that all the *.csproj files specify an x64 build target already.
3. Third, if the POSIX refactoring work @kivikakk has done in #926 is completed and merged first, we should redo this PR to utilize that work.  On the other hand, there are some elements of that PR which should incorporate the differences in DllImport calls to libc, as illustrated in this PR.
4. And fourth, it should be noted that while this PR allows us to build most of the GVFS provider code, including the gvfs, GVFS.Mount, and Git hook binaries, and does permit the gvfs clone operation to complete (assuming you have libprojfs installed), the gvfs mount command is not functional yet.

@chrisd8088 I'm curious -- is there a reason we don't just correct what we send to the provider, rather than modifying everything we receive in 19ca466?

Good question!  This was a fast patch on my WIP branch, just to see if it worked (and it did!), so we can definitely do something tidier than 19ca466, which was just a quick belt-and-suspenders patch!  :-)
For one thing, we don't need to pull off ./ because libprojfs never sends that; it only uses . for events on the root of the mount point itself.
There's no particular consistency among our potential models -- libfuse's high-level API prepends '/' to everything, which we trim off.
That puts the libprojfs API more in line with the inotify API, but there too we diverge because inotify only reports events directly within a directory (not subdirectories thereof), and leaves the name field empty in its event structure when the event refers to the watched directory itself and not a file within it.
I'd be OK with returning an empty string for events on the mount point, but I have an inkling that will break some other assumptions in the libprojfs code which will also have to be adjusted.  As a first step, though, I'll remove the ./ trimming here because that, at least, is not actually required.

Rebased features/linuxprototype onto master -- @jrbriggs, could you reset features/linuxprototype to 5e73fef9d24ee5065d41d187c52c202f0ff6317e?

@kivikakk done

@jrbiggs inasmuch as we want to move toward a place where we have a Linux CI build to prevent regressions, this branch has a clean build (Scripts/Linux/BuildGVFSForLinux.sh) even if we don't yet have functional tests running. If you'd be happy with something like that in master, we should merge this and then add a CI pipeline (? unclear on terminology with Azure DevOps) to run the build script.

/azp run GitHub VFSForGit Mac Functional Tests

/azp run GitHub VFSForGit Mac Functional Tests


Metamask RPC Error

I follow the steps as closely as I could. I deployed the contracts and I can see my token in Metamask. However, I get an error when loading the page. I tried resetting my Metamask account, switching between networks, etc. Any pointers would be appreciated.

$ truffle networks

The following networks are configured to match any network id ('*'):

    coverage
    ganache
    rinkeby

Closely inspect the deployed networks below, and use `truffle networks --clean` to remove any networks that don't match your configuration. You should not use the wildcard configuration ('*') for staging and production networks for which you intend to deploy your application.

Network: UNKNOWN (id: 420)
  AttributeStore: 0x8e6d692b08160d75570806abca53f5a6c3ee172b
  DLL: 0xd05619025704938c95beecf7db082b34a75c6c4c
  EIP20: 0x63fa3d368b4f6829eb63f265470cd588c99ed605
  Migrations: 0xf64c968d4b2d1a0c13432a148e962e7b376a1dd0
  PLCRVoting: 0x11121458df2af572be9c8ae1a727cfd172475306
  Parameterizer: 0x06f2d6ac7e992d0ea6d4653bf25b66a18ed280fd
  Registry: 0x20538f44f230be95a8a61e3a9287e29cc038d35d

Network: mainnet (id: 1)
  No contracts deployed.

I got the 420 networkId from here: tcr-ui/src/redux/modules/home/sagas.js:33

hi @fredfortier, i'm sorry it's taken a while to respond to your issue -- i've was afk last week. have you had any luck since? i believe what your issue boiled down to was: the address of the registry was incorrect, thus none of the app loaded correctly. i updated some config files, error messages, and the quickstart section of the docs. you'll have to pull the recent changes on both this repo as well as https://github.com/kangarang/tcr. hope that's enough to get your started. lemme know how it goes!


The folder "fontconfigs" is not created

You can fix this by manually creating a folder "fontconfigs"
After manually creating the folder, the launch is successful
go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root/go"
GORACE=""
GOROOT="/usr/lib/go-1.8"
GOTOOLDIR="/usr/lib/go-1.8/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build061167788=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"

Log
Opengl version 4.5 (Core Profile) Mesa 17.2.4-AMD_17.50
panic: open fontconfigs/font.config: no such file or directory

goroutine 1 [running, locked to thread]:
main.main()
	/home/danil/go/src/github.com/4ydx/gltext/example/main.go:76 +0xedf
exit status 2

Thanks for the details.  I pushed a similar change to what you made.

I have also made an update that is based on the way you have arranged your code.  I hope that helps with maintaining different versions.  I am not sure if there is a better way to do this or not.


unable to install terraform-docs-v0.6.0-windows-amd64.exe in windows

Prerequisites
Put an x into the box that applies:

[x] This issue describes a bug.
[ ] This issue describes a feature request.

For more information, see the Contributing Guidelines.
Description
I am trying to install terraform-docs-v0.6.0-windows-amd64.exe in my windows and it's not letting me do that
Actual Behavior
I downloaded terraform-docs-v0.6.0-windows-amd64.exe on my windows and double-clicked on it and it's not showing up anything also I tried to run as administrator and even then it's not installing.

Expected Behavior
It should install and I should be able to run terraform docs commands

Replication Case

Download terraform-docs-v0.6.0-windows-amd64.exe
Double click/Run as administrator and you will see nothing.
3.Run commands and see whether it's working

Version
You can get this information via terraform-docs --version.

I am not sure this is a bug, @narnemanoj. terraform-docs does not have an installer. In fact, the binary you have downloaded is the tool that is controlled through a command-line interface. If you double-click it, you effectively invoke terraform-docs without any arguments, which will make it display an overview of the available options. You don´t see anything happening since your double-click doesn’t do anything useful really.
I suggest you try opening a terminal (command prompt) and invoke the downloaded binary there. Keep us posted about the result!

I‘m closing the issue for inactivity.


Fix options variable context.

Make sense, thanks for your contribution ! 😄

I'm thinking to change the option "target" to "action" and the option target to be the browser tab to target the form submit.... but it is a breaking change... Another option should be call it "form-target", but idk...
http://www.w3schools.com/tags/att_form_target.asp
I will issue that question...


"Set-Location : A positional parameter cannot be found that accepts argument"

Hi, I copied my file search bar into the powershell after typing "cd" with a space then it pops up with this error
Set-Location : A positional parameter cannot be found that accepts argument
'Wiremu\Desktop\Windows10Debloater-master'.
At line:1 char:1

cd C:\Users\Jacob Wiremu\Desktop\Windows10Debloater-master

  + CategoryInfo          : InvalidArgument: (:) [Set-Location], ParameterBindingException
  + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.SetLocationCommand

I'm totaly unsure on what happen and would really like install this program if anything can help.
Thank you

Hi. The problem is the space inside the path. Try it this way:
cd "C:\Users\Jacob Wiremu\Desktop\Windows10Debloater-master"
It's not a problem of Windows10Debloater. It's the expected behavior in PowerShell.

Ahhh thank you so much, I’ll give it try, cheers
On Fri, 23 Apr 2021 at 3:19 AM, Fernando Gomez Perera <
@.***> wrote:

Hi. The problem is the space inside the path. Try it this way:
cd "C:\Users\Jacob Wiremu\Desktop\Windows10Debloater-master"
It's not a problem of Windows10Debloater. It's the expected behavior in
PowerShell.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Sycnex/Windows10Debloater/issues/379#issuecomment-824934815,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATZJLNNB2GMPNVQCIQHA3QDTKA5ABANCNFSM43MCRT5Q
.

Ahhh thank you so much, I’ll give it try, cheers
…
On Fri, 23 Apr 2021 at 3:19 AM, Fernando Gomez Perera < @.***> wrote: Hi. The problem is the space inside the path. Try it this way: cd "C:\Users\Jacob Wiremu\Desktop\Windows10Debloater-master" It's not a problem of Windows10Debloater. It's the expected behavior in PowerShell. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#379 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATZJLNNB2GMPNVQCIQHA3QDTKA5ABANCNFSM43MCRT5Q .

You're welcome :)

Hi. The problem is the space inside the path. Try it this way:
cd "C:\Users\Jacob Wiremu\Desktop\Windows10Debloater-master"
It's not a problem of Windows10Debloater. It's the expected behavior in PowerShell.

thanks alot.....it actually worked


Added :pban as a command alias for :gameban instead.

#327 bad
Hail Kohl the all mighty!

Isn't the "p" in "pban" short for "permanent"? This clearly is not permanent, which is why I don't think it is appropriate to add this as an alias. Also, indefinite bans > permanent bans - what if you want to reverse your decision?

Wouldn't it just have made more sense just to request changes to the original pull request?


Cupertino nav bar hero transition bug

Target Platform: Android
Target OS version/browser: api 28
Devices: Mi 8
Logs

flutter run --verbose
[  +38 ms] executing: [/Users/vadim/Documents/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +73 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 27321ebbad34b0a3fafe99fac037102196d655ff
[        ] executing: [/Users/vadim/Documents/flutter/] git describe --match v*.*.* --first-parent --long --tags
[  +45 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.12.13+hotfix.5-0-g27321ebba
[   +9 ms] executing: [/Users/vadim/Documents/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +17 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/stable
[   +1 ms] executing: [/Users/vadim/Documents/flutter/] git ls-remote --get-url origin
[  +23 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[  +87 ms] executing: [/Users/vadim/Documents/flutter/] git rev-parse --abbrev-ref HEAD
[  +25 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +8 ms] executing: sw_vers -productName
[  +32 ms] Exit code 0 from: sw_vers -productName
[   +1 ms] Mac OS X
[        ] executing: sw_vers -productVersion
[  +38 ms] Exit code 0 from: sw_vers -productVersion
[   +4 ms] 10.15
[   +1 ms] executing: sw_vers -buildVersion
[  +23 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19A583
[ +100 ms] executing: /usr/bin/xcode-select --print-path
[ +125 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Applications/Xcode.app/Contents/Developer
[   +1 ms] executing: /usr/bin/xcodebuild -version
[ +862 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[        ] Xcode 11.1
           Build version 11A1027
[  +90 ms] executing: /Users/vadim/Library/Android/sdk/platform-tools/adb devices -l
[   +9 ms] Exit code 0 from: /Users/vadim/Library/Android/sdk/platform-tools/adb devices -l
[        ] List of devices attached
           37e8152b               device usb:337641472X product:dipper model:MI_8 device:dipper transport_id:24
[  +42 ms] executing: /Users/vadim/Documents/flutter/bin/cache/artifacts/libimobiledevice/idevice_id -h
[  +91 ms] /usr/bin/xcrun simctl list --json devices
[ +176 ms] More than one device connected; please specify a device with the '-d <deviceId>' flag, or use '-d all' to act on all devices.
[   +9 ms] /Users/vadim/Library/Android/sdk/platform-tools/adb -s 37e8152b shell getprop
[  +95 ms] ro.hardware = qcom
[   +6 ms] MI 8              • 37e8152b                             • android-arm64 • Android 9 (API 28)
[   +1 ms] iPhone 11 Pro Max • F5001749-D92B-4E77-8B65-E1B3F0A34848 • ios           • com.apple.CoreSimulator.SimRuntime.iOS-13-1 (simulator)
[  +17 ms] "flutter run" took 1,762ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:289:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:590:11)
#3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:515:33)
<asynchronous suspension>
#4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
#5      _rootRun (dart:async/zone.dart:1126:13)
#6      _CustomZone.run (dart:async/zone.dart:1023:19)
#7      _runZoned (dart:async/zone.dart:1518:10)
#8      runZoned (dart:async/zone.dart:1465:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:505:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:413:21)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
#14     _rootRun (dart:async/zone.dart:1126:13)
#15     _CustomZone.run (dart:async/zone.dart:1023:19)
#16     _runZoned (dart:async/zone.dart:1518:10)
#17     runZoned (dart:async/zone.dart:1465:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#19     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:19)
#20     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CommandRunner.run (package:args/command_runner.dart:112:14)
#23     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:250:18)
#24     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:63:22)
#25     _rootRun (dart:async/zone.dart:1126:13)
#26     _CustomZone.run (dart:async/zone.dart:1023:19)
#27     _runZoned (dart:async/zone.dart:1518:10)
#28     runZoned (dart:async/zone.dart:1502:12)
#29     run.<anonymous closure> (package:flutter_tools/runner.dart:61:18)
<asynchronous suspension>
#30     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
#31     _rootRun (dart:async/zone.dart:1126:13)
#32     _CustomZone.run (dart:async/zone.dart:1023:19)
#33     _runZoned (dart:async/zone.dart:1518:10)
#34     runZoned (dart:async/zone.dart:1465:12)
#35     AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#36     runInContext (package:flutter_tools/src/context_runner.dart:64:24)
#37     run (package:flutter_tools/runner.dart:50:10)
#38     main (package:flutter_tools/executable.dart:65:9)
#39     main (file:///Users/vadim/Documents/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#40     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:32)
#41     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)

flutter analyze
Analyzing cupertino_chat...
No issues found! (ran in 4.6s)

flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15 19A583, locale en-RU)
    • Flutter version 1.12.13+hotfix.5 at /Users/vadim/Documents/flutter
    • Framework revision 27321ebbad (10 days ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/vadim/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /Users/vadim/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.1, Build version 11A1027
    • CocoaPods version 1.8.3

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] IntelliJ IDEA Ultimate Edition (version 2019.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 42.0.4
    • Dart plugin version 193.5731

[✓] VS Code (version 1.40.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.7.1

[✓] Connected device (2 available)
    • MI 8              • 37e8152b                             • android-arm64 • Android 9 (API 28)
    • iPhone 11 Pro Max • F5001749-D92B-4E77-8B65-E1B3F0A34848 • ios           • com.apple.CoreSimulator.SimRuntime.iOS-13-1 (simulator)

• No issues found!

P.S. this issue isn't app specific, the bug can be reproduced in the Gallery App as well.

This bug is massive imo and should really be a top priority. There's so many issues I'm having with this pop back ("Hero") gesture that it's the only thing disturbing me since switching to Flutter. Everything else is unbelievably great but I really hope they get around to the issues with the navigation controller asap.

Hi @VadimOsovsky
Are you still facing this issue? If yes, can you please provide your flutter doctor -v, your flutter run --verbose and a minimal complete reproducible code sample?
Thank you

I downloaded the gallery app and tested it there, and it seems to be fixed


Check for missing CSS files

See https://github.com/nuxt/nuxt.js/issues/3714

Codecov Report

Merging #3717 into dev will decrease coverage by 0.07%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##              dev    #3717      +/-   ##
==========================================
- Coverage   98.25%   98.17%   -0.08%
==========================================
  Files          18       18
  Lines        1144     1150       +6
  Branches      308      311       +3
==========================================
+ Hits         1124     1129       +5
- Misses         20       21       +1

Impacted Files
Coverage Δ

lib/builder/builder.js
97.43% <83.33%> (-0.45%)
: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 85a8af5...ef8c157. Read the comment docs.


Remove status param doc form Task index

Redbooth got rid of a lot of statuses (hold, rejected...)
now the only real statuses are resolved or unresolved.
At this moment we are using archived param to get resolved an unresolved tasks,
and by default the tasks endpoint returns the unarchived tasks.
At this moment this request GET /api/3/tasks?status=resolved
will perform this query:
SELECT `tasks`.* FROM `tasks` LEFT JOIN
watchers ON (
    tasks.id = watchers.watchable_id
    AND
    watchers.watchable_type
    = 'Task'
    )
AND watchers.user_id = 1
AND watchers.is_private = 1
  WHERE `tasks`.`deleted` = 0
  AND (status < 3)
AND (`tasks`.`project_id` IN (6, 7, 8, 9, 10, 11, 12, 13)
    AND `tasks`.`status` IN (3) AND (`tasks`.`is_private`
      = 0 OR
      `tasks`.`is_private` = 1 AND
      `watchers`.`user_id` = 1)) ORDER
BY id DESC LIMIT 500 OFFSET 0
```

As you can see the status < 3 and status in (3) always will return an emtpy set.

For now deprecate the status param documentation is what does makes more sense as soft deprecation.

![](http://33.media.tumblr.com/dd98aab9081b9beb1da5235e7018492e/tumblr_inline_o40ay8ASwf1raprkq_500.gif)

https://github.com/teambox/wordpress/pull/516

:+1:

:+1:


[Usage]: how to save sharded state?

Your current environment
I am trying to host large models that require multi gpu. I am trying to use the script to shard the model. I download model from huggingface, then run the script.
python3 examples/save_sharded_state.py --model /vllm-workspace/falcon-40b --tensor-parallel-size 4 --output /output --gpu-memory-utilization 0.93

024-08-08 14:42:48,643 INFO worker.py:1781 -- Started a local Ray instance.
INFO 08-08 14:42:50 llm_engine.py:161] Initializing an LLM engine (v0.4.3) with config: model='/vllm-workspace/falcon-40b', speculative_config=None, tokenizer='/vllm-workspace/falcon-40b', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, rope_scaling=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=2048, download_dir=None, load_format=LoadFormat.AUTO, tensor_parallel_size=4, disable_custom_all_reduce=False, quantization=None, enforce_eager=False, kv_cache_dtype=auto, quantization_param_path=None, device_config=cuda, decoding_config=DecodingConfig(guided_decoding_backend='outlines'), seed=0, served_model_name=/vllm-workspace/falcon-40b)
/opt/venv/lib/python3.10/site-packages/transformers/tokenization_utils_base.py:1601: FutureWarning: `clean_up_tokenization_spaces` was not set. It will be set to `True` by default. This behavior will be depracted in transformers v4.45, and will be then set to `False` by default. For more details check this issue: https://github.com/huggingface/transformers/issues/31884
  warnings.warn(
(RayWorkerWrapper pid=5687) INFO 08-08 14:42:58 selector.py:158] Cannot use FlashAttention-2 backend because the vllm_flash_attn package is not found. `pip install vllm-flash-attn` for better performance.
(RayWorkerWrapper pid=5687) INFO 08-08 14:42:58 selector.py:51] Using XFormers backend.
INFO 08-08 14:43:00 utils.py:618] Found nccl from library libnccl.so.2
INFO 08-08 14:43:00 pynccl.py:65] vLLM is using nccl==2.20.5
(RayWorkerWrapper pid=5687) INFO 08-08 14:43:00 utils.py:618] Found nccl from library libnccl.so.2
(RayWorkerWrapper pid=5687) INFO 08-08 14:43:00 pynccl.py:65] vLLM is using nccl==2.20.5

Here it gets stuck..
How would you like to use vllm
I want to use the save shards

40B is not very large. you can directly use it without sharding the state.

40B is not very large. you can directly use it without sharding the state.

I am trying to test quickly whether it works. I am testing it with smaller model because for large model takes too long and not working. It seems not working

@aurickq could you please share a sample output of running this, or how i can run it?i would like to learn more about this, would. be really great if you can point me to some technical guides to read up, thanks a ton

@aurickq could you please share a sample output of running this, or how i can run it?i would like to learn more about this, would. be really great if you can point me to some technical guides to read up, thanks a ton

Sorry, just seeing this. I am not able to reproduce the hang (it works for me on my node). Do you have further information about your environment?


tabPress listener doesn't fire if screen is currently active

This would allow for a common pattern in iOS to focus a search bar when a tab is pressed if the screen is already active.

Will be fixed by #116 🚀

Should be fixed in 0.3.1


[Automation] Verify obmc-phosphor-event.service

Seems like this  obmc-phosphor-event.service have changed.. Need to find the corresponding service name and update the test case  "restarting event process retains logs"
Right now its giving a false positive result..
${uptime} = SSHLibrary . Execute Command systemctl restart obmc-phosphor-event.service
Documentation:
Executes command on the remote machine and returns its outputs.
Start / End / Elapsed:	20161206 11:14:25.471 / 20161206 11:14:26.409 / 00:00:00.938
11:14:25.471	INFO	Executing command 'systemctl restart obmc-phosphor-event.service'.
11:14:26.409	INFO	Command exited with return code 5.
11:14:26.409	INFO	${uptime}

root@barreleye:~# systemctl restart obmc-phosphor-event.service Failed to restart obmc-phosphor-event.service: Unit obmc-phosphor-event.service not found. root@barreleye:~#

  org.openbmc.records.events.service                                                           loaded active running   Phosphor Event Manager
  phosphor-gevent.service                                                                      loaded active running   Phosphor Webserver
  phosphor-gevent.socket                                                                       loaded active running   Phosphor Webserver socket


Product Indexer with variants still not usable [Allowed memory size of ... bytes exhausted]

PHP Version
8.1
Shopware Version
6.4.16
Expected behaviour
As discussed topic in the forum:

https://forum.shopware.com/t/performance-optimierung-indexierung/72250
https://forum.shopware.com/t/dalindex-elasticsearch-resultiert-mit-allowed-memory-size-exhausted/72138/4
https://forum.shopware.com/t/memory-limit-cronjob/92448/4

The product indexer ist still not usable.
I've seen some changes on v6.4.11 but the issue is still not solved.
Customer shops with many product variants can't use Shopware 6 if they don't got tons of memory.
The product indexer should not stop indexing depending by the amount of variants.
Possible solution:

Create/use ENV/config var to limit the child-product ids @ https://github.com/shopware/platform/blob/d63843cea42f095651e418fe96a207489fad5255/src/Core/Content/Product/DataAbstractionLayer/ProductIndexer.php#L293
Ignore child products when run dal:refresh:index (prevent double indexing)

Actual behaviour

PHP run out of memory
Variant products are indexed twice

How to reproduce

Create a product with many variants
Run dal:refresh:index

Hey, i got the same issue. All indexing is still progressing. When checking the network tab in the backend i always see a 500 error popping in.
Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1155072 bytes)

Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know.
Thank you again for your valuable feedback.


Change alt_s2 identification criterion

What does the code in this PR do / what does it improve?
Straxen identifies alt_s2 as the second-largest s2, but this criterion decreases the s2 single scatter cut efficiency by a few percent. S2 before the S1 or after the max-drift-time, if large enough by accident, can become an alt_s2 and be rejected by s2 single scatter cut, e.g. (waveform)., (waveform) This code aims to select alt_s2 from s2 in (s1_time. s1_time+max_drift_time), making the candidate alt_S2 as physical as possible/
Can you briefly describe how it works?

For s2, get_largest_sx_peaks returns all available s2 rather than only 2.
Apply selection mask in set_alt_s2_properties, and chop it back to size 2.

Can you give a minimal working example (or illustrate with a figure)?
The example event becomes (waveform), after the change.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

21 of 23 (91.3%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 89.329%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

straxen/plugins/event_processing.py
21
23
91.3%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
6471

Relevant Lines:
7244

💛  - Coveralls

@shenyangshi thanks for the PR. I think that in the context of the s2 single scatter cut it makes sense what you are proposing.
I am wondering though if this redefinition doesn't hurt other analyses, like kr selections. Here the alt S2 is related to the alt S1 albeit with only a small expected delay of course so it might be fine. Have you looked if this affects other analyses/cuts?

Thanks for the comments @JoranAngevaare! Yes, I considered events including dual interactions, like BiPo events, so I extended the boundary to 1.1*max_drift_time. An extra ~200mus should suffice for Kr double S1S2, according to Naxime's note the interval is below 3 mus. I don't know about other analyses using alt_S2 information though, but if the analysis involves immediate multiple S1 or multiple S2 following the same S1, this change shouldn't affect them.

I see, I just checked using https://github.com/AxFoundation/strax/pull/638 where *alt_s2* or *s2_b*is used, but I think there are no other places:
https://gist.github.com/JoranAngevaare/859c924967db2067fad067e8e2f1d8d1
I'll checkout the PR in a bit more detail 👍

I am wondering if we do not want to cut also events in which we have an alt. S2 right before an S1. It would not be a multi-scatter event but anyhow for data-quality I think we should cut those events.

I see, I just checked using AxFoundation/strax#638 where *alt_s2* or *s2_b*is used, but I think there are no other places: https://gist.github.com/JoranAngevaare/859c924967db2067fad067e8e2f1d8d1
I'll checkout the PR in a bit more detail 👍

Thanks！

I am wondering if we do not want to cut also events in which we have an alt. S2 right before an S1. It would not be a multi-scatter event but anyhow for data-quality I think we should cut those events.

Thanks for the reply @WenzDaniel! I think the situation you mentioned can be worked out from the S2 shadow cut, while it operates on the peak level, assigning which events as alt_S2 won't affect it.

I think the situation you mentioned can be worked out from the S2 shadow cut, while it operates on the peak level, assigning which events as alt_S2 won't affect it.

Ah yes, this is correct. I forgot that it acts already at the peak level.

From what I see, it will not impact Kr83m selection.

Hi @WenzDaniel, thanks for the comments! I made the following change:

Add a config that lets users choose whether to use this new alt-s2 criterion, e.g., for ac people or people working on data-driven background modeling.
Move force_main_before_alt after this set_alt_s2_properties. As alt_s2 is selected between s1 and max_drift_time, a swap of main_s2 and alt_s2 won't affect the event's topology.
Use np.take to select [0] and [new_alt_s2_index]

Okay for me it looks fine, though I would be still in favor of having some tests here.

Sure! I'll check the logic and output and send the result here.

With tests I meant unittests. Just to be sure :D

Actually it might have some impact for BiPo214 coincidence tag (t_0.5 = 164 us)... but it should only affect deep Z events so maybe still fine? @cfuselli

Thanks @cfuselli! Then I don't see an issue either :D

Hi @WenzDaniel, sorry for my late reply. I add a slice in force_main_before_alt, so only the largest two S2s get sorted by time. I think this can do the trick.

I will merge it right before the release as it changes the lineage.

Thanks a lot!


Contribute to folder API route

Can you please tell me if there is an endpoint API for publishing your devian to a group?

I thought that gallery/folders/copy_deviations works like this, but it just responds success: true and nothing happens, copying is possible only inside its gallery.

I use
https://www.deviantart.com/api/v1/oauth2/deviation/edit/{deviationid}
This works for my galleries, but as with gallery/folders/copy_deviations it ONLY works for my galleries

Hi, none of the APIs at this stage support moving items to groups.
Movement and editing is within your own gallery only.

@aaronpearce such an opportunity has not been realized?  Is it possible to clarify whether this is planned in the near future?


Implementing a Custom Receiver

I have built a custom receiver that I use with the Google Cast Extension for Chrome.
But can I use this with this package? Your docs only mention the default receiver...

I’ve almost successfully implemented a custom receiver, but I’m stuck on getting the receiver to transmit messages back to the sender.
I think I should be able to call something like this on the client side receiver:
window.messageBus.broadcast(JSON.stringify({
  type    : 'MEDIA_STATUS',
  status  : { playerState : 'DONE' }
}));

But I can’t pick up my sent event using the sample code you’ve provided in the Readme. The below never triggers:
player.on('status', function(status) {
  console.log('status broadcast playerState=%s', status.playerState);
});

I’ve managed to trace this somewhat and notice it’s getting caught up in the request-response controller because there’s no requestId. If a requestId is included with the broadcast from the client, the request-response controller will die because there’s no callback defined.
Feel like I’m really close. Any idea on what’s wrong here?
Thanks,
Joe

This is a channel problem. You are broadcasting on a channel (I can't tell
what channel from your code), and listening on another one in your node
code. I can't help you as much as I'd like to right now, but you could
check the protocol description in the castv2 repo to learn more about how
channels work. I'll be back at a keyboard in a few days if you don't find a
solution in the meantime!
Le 28 avr. 2015 18:41, "Joe Longstreet"<EMAIL_ADDRESS>a écrit :

I’ve almost successfully implemented a custom receiver, but I’m stuck on
getting the receiver to transmit messages back to the sender.
I think I should be able to call something like this on the client side
receiver:
window.messageBus.broadcast(JSON.stringify({
type    : 'MEDIA_STATUS',
status  : { playerState : 'DONE' }
}));
But I can’t pick up my sent event using the sample code you’ve provided in
the Readme. The below never triggers:
player.on('status', function(status) {
console.log('status broadcast playerState=%s', status.playerState);
});
I’ve managed to trace this somewhat and notice it’s getting caught up in
the request-response controller because there’s no requestId. If a
requestId is included with the broadcast from the client, the
request-response controller will die because there’s no callback defined.
Feel like I’m really close. Any idea on what’s wrong here?
Thanks,
Joe
—
Reply to this email directly or view it on GitHub
https://github.com/thibauts/node-castv2-client/issues/17#issuecomment-97131200
.

Have you found a solution ? if not, can you show me the code that creates window.messageBus ?

Thanks for your help @thibauts
Unfortunately I wasn't able to resolve my channel issue. I'm a little unclear on the differences between a channel and a message bus namespace. Wouldn't any communication on the namespace would be able be picked up by the node server?
The messageBus on the client is created via:
window.messageBus = castReceiverManager.getCastMessageBus('urn:x-cast:com.barkley.moonshot.atmosphere');. If you're interested, I've kept the project open source, and the client can be viewed here.
I took a look at the castv2-youtube project and used it to create my own custom sender. I didn't change a whole lot, but updated the namespace and the app_id. The receiver controller initialization looks like:
function MediaReceiverController(client, sourceId, destinationId) {
  RequestResponseController.call(this, client, sourceId, destinationId, 'urn:x-cast:com.barkley.moonshot.atmosphere');
  this.once('close', onclose);
  var self = this;
  function onclose() {
    self.stop();
  }
}

The sender is also open source and I might try to publish it as a little lib if I can get all this working. The sender controller and sender

Did you try to register a 'message' listener in your controller ?
function MediaReceiverController(client, sourceId, destinationId) {
  RequestResponseController.call(this, client, sourceId, destinationId, 'urn:x-cast:com.barkley.moonshot.atmosphere');
  this.once('close', onclose);
  var self = this;
  function onclose() {
    self.stop();
  }
  this.on('message', function(message) {
    console.log(message);
  });
}

Each controller abstracts a channel / namespace (they're essentially the same thing). So calls on a controller's methods will result in messages sent on this namespace, and messages broadcast on a namespace will result in a 'message' event on the controller handling this namespace. The standard media controller handles its status messages here.
The YouTube sender doesn't listen to broadcasts on its protocol channel urn:x-cast:com.google.youtube.mdx which is only used to load media (see this). Instead, it relies on the fact the YouTube app uses the standard media protocol / namespace to manage media playback (see this). If you look in the methods below the hilighted code you'll see only the load method is routed to the youtube namespace.
The DefaultMediaReceiver sender provided in this repo also relays the media namespace status events  on the player object here.
 Events on these namespaces will be fired on the controller instance and it's your duty to relay them as needed on the sender app instance.

Oooooohhhhh, whoops. This makes much more sense now.
I wasn't listening to messages in the controller, so I wasn't receiving them :).


Balloon shape not correct and Arrow missing on Android API 29 and API 30

Describe the bug
We are using Balloon together with an Arrow and releazied that the shape is not how it should be.
I also run the demo within this project and it faces the same problem.
Here is a screenshot:

Left is API 29, right is API 30, middle is API 33 and how it should (and I expect) look like.

The Balloon has no rounded corners
The arrow is missing

To Reproduce
Steps to reproduce the behavior:
Run the demo app on an API 29 and API 30 Emulator.
Expected behavior
A clear and concise description of what you expected to happen.
Expected is that it looks identical on all Android versions.
According to the source code you have minSDK defined as API 21.
So I would expect it works until that version. Even though we only need support for 26+ 😁
Screenshots
See above ☝
Sample project
The demo within this repo.
Smartphone (please complete the following information):

Device: I guess this doesnt matter, we are using various Pixel emulators for testing.
Android version: We found this only in API 29 and API 30.
The followig Android APIs are good (according to internal testing):
26, 27, 28, 33, 34, 35

Didn't tested: 31 and 32
Version
3.1.0, but we also saw this in 3.0.8
Additional context
n/a

I just had a quick chat with GitHub Copilot and it came up with a solution that actually works 😅
I have no idea if this is a good solution though 🤷
diff --git a/reveal-shapes/src/commonMain/kotlin/com/svenjacobs/reveal/shapes/balloon/Balloon.kt b/reveal-shapes/src/commonMain/kotlin/com/svenjacobs/reveal/shapes/balloon/Balloon.kt
index 5d0bf2c..21d0a6c 100644
--- a/reveal-shapes/src/commonMain/kotlin/com/svenjacobs/reveal/shapes/balloon/Balloon.kt
+++ b/reveal-shapes/src/commonMain/kotlin/com/svenjacobs/reveal/shapes/balloon/Balloon.kt
@@ -7,9 +7,12 @@ import androidx.compose.foundation.layout.padding
 import androidx.compose.runtime.Composable
 import androidx.compose.ui.Alignment
 import androidx.compose.ui.Modifier
+import androidx.compose.ui.draw.clip
+import androidx.compose.ui.draw.shadow
 import androidx.compose.ui.graphics.Brush
 import androidx.compose.ui.graphics.Color
 import androidx.compose.ui.graphics.graphicsLayer
+import androidx.compose.ui.platform.LocalDensity
 import androidx.compose.ui.unit.Dp
 import androidx.compose.ui.unit.dp

@@ -86,15 +89,8 @@ private fun Balloon(
 ) {
 	Box(
 		modifier = modifier
-			.graphicsLayer {
-				shadowElevation = elevation.toPx()
-				shape = BalloonShape(
-					arrow = arrow,
-					cornerRadius = cornerRadius,
-					density = this@graphicsLayer,
-				)
-				clip = true
-			}
+			.shadow(elevation, BalloonShape(arrow, cornerRadius, LocalDensity.current))
+			.clip(BalloonShape(arrow, cornerRadius, LocalDensity.current))
 			.then(backgroundModifier)
 			.padding(arrow.padding),
 		contentAlignment = contentAlignment,

Some discussion snippets with Copilot that might be relevant.

The issue you're experiencing with the Balloon shape on Android API 29 and API 30 could be related to the way the GenericShape and graphicsLayer APIs handle clipping and drawing on these specific API levels. There are known differences in how certain graphics operations are handled across different Android versions. [...]

To ensure the Balloon shape is rendered correctly on Android API 29 and API 30, you can try the following additional changes:  [...]
Use LayerModifier for Clipping: Instead of relying solely on graphicsLayer, you can use LayerModifier to ensure proper clipping and drawing.

Then I asked how to use the LayerModifier and it came up with the solution posted above ☝
And it works:

Interesting, thanks for the bug report and the solution ❤ So AI bots can be useful after all 😂
I don't remember why I used graphicsLayer() but I'm glad you found a solution.
Does it also work if you combine shadow() and clip() into one?
.shadow(
  elevation = elevation,
  shape = BalloonShape(arrow, cornerRadius, LocalDensity.current),
  clip = true,
)


CORS - Preserve cookies from proxy response header

Closes #26 and probably related to #20.
Removed the lines which was deleting the set-cookie headers.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Oops, turns out that this was intentional.

Thanks though!


Remove lodash dependency

Just did a quick search for "_." and realized lodash is a dependency almost exclusively because of assign. We could easily remove lodash (and all the security concerns with it) by using the Spread operator or Object.assign.
_.includes and _.has are also used a couple of times and could easily be replaced with Array.included and hasOwnProperty.

Yes this is very good but let's be very cautious and add a few extra tests, if required in order to make sure we don't break things.


Building with DEBUG_ON_SERIAL_PORT  option gives Library Class not found error

Building with DEBUG_ON_SERIAL_PORT gives the following error:
> C:\edk2>build -w -a X64 -t VS2019 -b NOOPT -p MiniVisorPkg\Builds\Platform\EFI\MiniVisorPkg.dsc -D DEBUG_ON_SERIAL_PORT
> Build environment: Windows-7-6.1.7601-SP1
> Build start time: 17:48:01, Jul.16 2024
>
> WORKSPACE        = c:\edk2
> EDK_TOOLS_PATH   = c:\edk2\basetools
> EDK_TOOLS_BIN    = c:\edk2\basetools\bin\win32
> CONF_PATH        = c:\edk2\conf
> PYTHON_COMMAND   = py -3
>
>
>
> Processing meta-data .Architecture(s)  = X64
> Build target     = NOOPT
> Toolchain        = VS2019
>
> Active Platform          = c:\edk2\MiniVisorPkg\Builds\Platform\EFI\MiniVisorPkg.dsc
>
>
> build.py...
> c:\edk2\MiniVisorPkg\Builds\Platform\EFI\MiniVisorPkg.dsc(...): error 4000: Instance of library class [CcProbeLib] is not foun
>         in [c:\edk2\MdePkg\Library\BaseIoLibIntrinsic\BaseIoLibIntrinsicSev.inf] [X64]
>         consumed by module [c:\edk2\MiniVisorPkg\Builds\Platform\EFI\MiniVisorDxe.inf]
>
>
> - Failed -
> Build end time: 17:48:01, Jul.16 2024
> Build total time: 00:00:00

I fixed it by adding these two to the inf file
    CcProbeLib|OvmfPkg/Library/CcProbeLib/DxeCcProbeLib.inf
    TdxLib|MdePkg/Library/TdxLib/TdxLib.inf

So now it's like:
  !ifdef $(DEBUG_ON_SERIAL_PORT)
    CcProbeLib|OvmfPkg/Library/CcProbeLib/DxeCcProbeLib.inf
    TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
    IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
    SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
    DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  !else

But I'm not sure if I had to do this or not? did I make a mistake when trying to build it before this change?
Note that I can build the project without the DEBUG_ON_SERIAL_PORT option without any problem.

Did you check out the specified revision of EDK2?
git clone -b edk2-stable202111 --recurse-submodules https://github.com/tianocore/edk2

https://github.com/tandasat/MiniVisorPkg/blob/master/Docs/Building_and_Debugging.md
The error could happen if you use different (newer) version of EDK2. And as long as it compiles, and seems to be working file, you are 99.9% fine, so sounds like you are good.


Individuals: Hover descriptions for population and sample set boxes

The hover descriptions for the "Population from" and "Sample set to" boxes refer to code rather than user-friendly explanations. They should provide clear, understandable descriptions for the user, not technical details intended for developers.
Currently
"Batch reassign individual from this population to the index given in the sample_set_to parameter"
and
"Batch reassign individuals in the index given in the sample_set_from parameter to this sample set. Update will only take place when both fields are set."

Descriptions and layout has been improved in #41, but could of course be further improved.
Moreover this should be made configurable, like #50, and not only work for a single type of batch reassignment.


Update request: yuzu-mainline 1595 → 1604

Package name: yuzu-mainline
Latest released version: 1605

Current version on the unstable channel:1595
Current version on the stable/release channel: 1437

[x] Checked the nixpkgs pull requests

Notify maintainers

Note for maintainers: Please tag this issue in your PR.

We try not to update to every single yuzu build, because that would be too much churn. Is there something in that particular version that is important to you?

@K900 it seems to have been updated to a newer version than requested
Current version on the unstable channel:1696
Current version on the stable/release channel: 1611


Maximum call stack size exceeded when using ngoptions

Hi,
I'm using the following select:
<select  ng-model="tune.period.value" ng-options="value.label for value in tune.period.values" material-select ></select>

with the following in my controller:
$scope.tune = [];
$scope.tune.period = {
    value: {label: "Any time", value: "any"},
    values: [
        {label: "Any time", value: "any"},
        {label: "Past 24 hours", value: "24hours"},
        {label: "Past week", value: "week"},
        {label: "Past month", value: "month"},
        {label: "Past year", value: "year"}]
};
$scope.tune.period.value = $scope.tune.period.values[0];

and i get this upon initialization and when seleting a value:
 RangeError: Maximum call stack size exceeded
    at HTMLOptionElement.n.event.dispatch (jquery-2.1.4.min.js:3)
    at HTMLOptionElement.n.event.add.r.handle (jquery-2.1.4.min.js:3)
    at Object.n.event.trigger (jquery-2.1.4.min.js:3)
    at n.fn.extend.triggerHandler (jquery-2.1.4.min.js:3)
    at Function.la.fn.on.la.cleanData (angular.js:1747)
    at n.fn.extend.remove (jquery-2.1.4.min.js:3)
    at Je.link.u.writeValue (angular.js:26172)
    at le.link.f.$render (angular.js:28124)
    at HTMLOptionElement.<anonymous> (angular.js:28243)
    at HTMLOptionElement.n.event.dispatch (jquery-2.1.4.min.js:3)

any clue why this is happening?

Hi,
I'm actually experiencing the same issue with a ng-model bind to a input.
I'm using AngularJS in many projects, and I have this warning only with angular-materialize.
This kind of errors are usually generated by a $watch.
The current version is unusable, I will try an older one and wait for some help here.

I've tracked down where it came from;
when removing the following line: $compile(element.contents())(scope); in
angular.module("ui.materialize.material_select", [])
    .directive("materialSelect", ["$compile", "$timeout", function ($compile, $timeout) {
        return {
            link: function (scope, element, attrs) {
                if (element.is("select")) {
                    $compile(element.contents())(scope);
                    $timeout(function () {
                        element.material_select();
                    });
                    if (attrs.ngModel) {
                        scope.$watch(attrs.ngModel, function () {
                            element.material_select();
                        });
                    }
                }
            }
        };
    }]);

the problem "disappears"

My best bet, is that I'm bad at AngularJS.
But anyway, it is clearly some circular-dependency, where compiling the line $compile(element.contents())(scope);, somehow triggers that ng-options should do something, which again triggers materialSelect (or something like that).
You should be able to fix it, by not using ng-options (terrible fix, i know).
Instead do like in the example in the index.html.
But if anyone has some ideas how this can be fixed, then I'm all ears.
(bear in mind that the materialSelect code has been slightly changed since the above comment).

If you put a codepen together I'll fix that for you, I'm strapped for time at the moment though to recreate then fix..

I created an example in сodepen http://codepen.io/Golyakov/pen/Vvowgo?editors=101. Please try to solve this problem.

Fixed by #107


Rotate kubelet client certificates GA, CSR API GA

Docs for:

https://github.com/kubernetes/enhancements/issues/266
https://github.com/kubernetes/enhancements/issues/1513

/milestone 1.19

/assign

Hi @liggitt, docs shadow here 👋 just a friendly reminder this PR needs tech and doc review by July 16th.

there is a file conflict that needs to be addressed here

pushed update addressing comments and fixing rebase issue to https://github.com/liggitt/kubernetes-website/commits/csr-ga but github is not showing it here for some reason

/cc @deads2k

/lgtm


Use this snippet for reducing overhead expense.

Please consider this as part of contribution towards hacktober-fest 2022 and do merge this if you thin its of help to you. Regards & Thanks.

Thanks for providing this snippet. It will reduce the time lag for sure.


Sandbox - Login pop up issue

Hello,
I am trying to embed the CCP in sandboxed MS Dynamics environment. The login pop up appears & when I enter the credentials, it gives the below error : Warp Drive Console-14.js:1937 Unsafe attempt to initiate navigation for frame with URL 'XXXXXX' from frame with URL 'XXXXX'. The frame attempting navigation of the top-level window is sandboxed, but the flag of 'allow-top-navigation' or 'allow-top-navigation-by-user-activation' is not set.
I tried to add sandbox = allow-top-navigation in my container div tag in the CCP html but this does not help. The pop up window should auto-close & then ccp should initiate.
Below is my CCP code -  connect.core.initCCP(
document.getElementById("container-div"), {
ccpUrl: customParams.ccpUrl, 	// REQUIRED
loginPopup: true,				// optional, defaults to true
loginPopupAutoClose: true,		// optional, defaults to false
loginOptions: {                 // optional, if provided opens login in new window
autoClose: true,              // optional, defaults to false
height: 600,                  // optional, defaults to 578
width: 400,                   // optional, defaults to 433
top: 0,                       // optional, defaults to 0
left: 0                       // optional, defaults to 0
},
region: customParams.region,         // REQUIRED for CHAT, optional otherwise
softphone: {                    // optional, defaults below apply if not provided
allowFramedSoftphone: true
},
pageOptions: {                  // optional
enableAudioDeviceSettings: true, // optional, defaults to 'false'
enablePhoneTypeSettings: true // optional, defaults to 'true'
},
ccpAckTimeout: 5000, //optional, defaults to 3000 (ms)
ccpSynTimeout: 3000, //optional, defaults to 1000 (ms)
ccpLoadTimeout: 10000 //optional, defaults to 5000 (ms)
});

have you tried allow listing the sandboxed MS Dynamics environment within connect using - https://docs.aws.amazon.com/connect/latest/adminguide/app-integration.html ?

Yes. It is allowlisted.

would you be able to post the path of the url which is being blocked by browser?
If it's /login path then it probably means that the you are not yet logged into Connect and the message is expected as Connect assumes you going to login via a popup window.   See if this message goes away once you login to Amazon connect within the popup.

The message appears after I enter the credentials in the login pop-up. Below is the path details -
WarpDriveConsole-14.js:1938 Unsafe attempt to initiate navigation for frame with URL 'https://amazon-demo-instance-msd365.awsapps.com/auth/?client_id=564fda62f107a665&redirect_uri=https%3A%2F%2Famazon-demo-instance-msd365.my.connect.aws%2Fauth%2Fcode&state=AQICAHjcvzFwvKFB2p2q__1WSwl99CAdMJy1aUP5P6YzPs-15gFTYiLadWdPAkJWZNIUQ_WdAAAApjCBowYJKoZIhvcNAQcGoIGVMIGSAgEAMIGMBgkqhkiG9w0BBwEwHgYJYIZIAWUDBAEuMBEEDDkg-8bBaHcWEBETigIBEIBf2YTonzSR5_3hXcCZgR6Zj7C9yiRnGF5X1wbadKzTybm6oMKJGossWjOQAOYfYqcUdrb2ibR9wXnXXzmix0FAOyRstS5Bo1XQO6a87sFGtjfkn_vzo3MsE-3hVrk2-BY=' from frame with URL 'https://amazon-demo-instance-msd365.awsapps.com/auth/?client_id=564fda62f107a665&redirect_uri=https%3A%2F%2Famazon-demo-instance-msd365.my.connect.aws%2Fauth%2Fcode&state=AQICAHjcvzFwvKFB2p2q__1WSwl99CAdMJy1aUP5P6YzPs-15gFTYiLadWdPAkJWZNIUQ_WdAAAApjCBowYJKoZIhvcNAQcGoIGVMIGSAgEAMIGMBgkqhkiG9w0BBwEwHgYJYIZIAWUDBAEuMBEEDDkg-8bBaHcWEBETigIBEIBf2YTonzSR5_3hXcCZgR6Zj7C9yiRnGF5X1wbadKzTybm6oMKJGossWjOQAOYfYqcUdrb2ibR9wXnXXzmix0FAOyRstS5Bo1XQO6a87sFGtjfkn_vzo3MsE-3hVrk2-BY='. The frame attempting navigation of the top-level window is sandboxed, but the flag of 'allow-top-navigation' or 'allow-top-navigation-by-user-activation' is not set.

I tried to reproduce the same on one of my Connect instance and the popups work just fine on the latest chrome.  Could you elaborate more on the sandboxed MS Dynamics environment is that an Iframed application which is set with Sandbox options?
It's most likely tied with the parent app which is invoking initCCP call as the login popup is opened from the same parent app scope.  so please check of the parent app iframe restrictions and follow the chrome recommendation fix the same -  if so please do follow the recommendations here to allow popup navigations - https://developers.google.com/apps-script/guides/html/restrictions

Hello, As mentioned in the issue description I tried to add sandbox = allow-top-navigation in my container div tag in the CCP html but this does not help. The issue would not be reproduced in a standalone connect instance. I am using a parent application which is sandboxed. I have embedded the softphone HTML in a sandboxed parent app which is Dynamics CRM in this case.

yeah the catch here is, the parameter you mentioned above has to be set on the parent Iframe not on the container Div where CCP is supposed to be loaded.
Sandbox restrictions are enforced from the Dynamics CRM in this case, so see if there are settings that you can control the same or else please reach out the CRM team to support for this use case.
I found this which seems to be related see if that helps - https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/152041/iframe-issue-sandbox-allow-same-origin-allow-scripts-allow-popups-allow-forms

Okay. Thanks for your input. Would check with the Dynamics CRM product team.


Create visual overview of reads per gene.

Create several visualizations for creating an overview of the transposon insertion location and the number of reads.
Current progress:

A bar plot is developed that counts the number of reads per region in the gene.
A graph is developed where the distribution of the distance between subsequent insertions is shown and compared with the distribution for the entire chromosome.

Can you put here also the visualizations you got? we can use this issue to discuss what you found :)


CFP: show traffic metrics for pods

Cilium Feature Proposal
Thanks for taking time to make a feature proposal for Cilium! If you have usage questions, please try the slack channel and see the FAQ first.
Is your proposed feature related to a problem?
yes.  Previously we get the traffic for a pod through pod eth0 interface, e.g.
/ # ifconfig eth0
eth0  	Link encap:Ethernet  HWaddr xxx
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:4622917635 errors:0 dropped:0 overruns:0 frame:0
TX packets:4114094521 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2395417236939 (2.1 TiB)  TX bytes:3085935590709 (2.8 TiB)
However after we enabled KPR, we are not able to get the metrics for RX. Since BPF host routing on receiver side redirect the packet to pod directly and bypass lxc interface, so we are not able to get the traffic from interface.
I see there are metrics for traffic
HELP cilium_forward_bytes_total Total forwarded bytes, tagged by ingress/egress direction
TYPE cilium_forward_bytes_total counter
cilium_forward_bytes_total{direction="EGRESS"} 4.1795931765499e+13
cilium_forward_bytes_total{direction="INGRESS"} 2.6188509546973e+13
however there are some problems

these metrics add traffic for all pods in the node together, I am not able to get the traffic for individual pod
the data seems not correct in some cases.  e.g. traffic is counted twice, one in host and one in lxc

Describe the feature you'd like
we want to get the traffic metrics with specific pods,  one idea is to add an endpoint label in metrics, i.e.
cilium_forward_bytes_total{direction="EGRESS", endpointID="1234"} 32423424. // a pod
cilium_forward_bytes_total{direction="EGRESS", endpointID="3341"} 242344. // another pod
cilium_forward_bytes_total{direction="EGRESS", endpointID="1"} 76867. // host
same for ingress
(Optional) Describe your proposed solution

A possible workaround is to have a single pod in the namespace and use cadvisor https://github.com/google/cadvisor/blob/master/docs/storage/prometheus.md#prometheus-container-metrics container_network_receive_packets_totaland container_network_transmit_bytes_total

A possible workaround is to have a single pod in the namespace and use cadvisor https://github.com/google/cadvisor/blob/master/docs/storage/prometheus.md#prometheus-container-metrics container_network_receive_packets_totaland container_network_transmit_bytes_total

I didn't understand clearly, the point is that receive metrics are incorrect, and at the same time transmit packet are correct.
for example, in my case, container_network_receive_packets_total are incorrect and container_network_transmit_packets_total are correct.

#30566


Add wrenSetListElement to API

I was writing a bulk method for vector transformations and I was looking to pass a lot of values to C and back to wren without re-allocations.
I noticed that while wren has wrenGetListElement there is no wrenSetListElement.
I quickly hacked it in for now - this pull request is more like a discussion base and probably not ready to be merged.

Thanks for the PR! This particular one had been caught up in some issues (see Files changed being too many), so I implemented manually since I had planned to before.
There was also a few minor issues in the PR btw. An assertion was copied from wrenInsert..  which isn't valid, since insert allows an out of bounds index on the end, where wrenSet.. wouldn't.
I've implemented this here, and while doing so noticed that the get variant doesn't allow negative indices which isn't consistent with the way wren indices work. So now get and set both allow a negative index, and set exists.
https://github.com/wren-lang/wren/commit/97ebcc72c36f8ea81ed8bbfac8e165f7ef74495f


Reference resolver not called?

Hi,
It's a great starter template, I got one question when running it locally with __resolveReference
This Thing resolver seems not get called, not sure whether I used it incorrectly
https://github.com/apollographql/subgraph-template-typescript-apollo-server-boilerplate/blob/main/src/resolvers/Thing.ts#L5

The reference resolver is only called when resolving a federated Entity which would usually be called by a Router, not a manual query. For an example, if we change __resolveReference to this, it's easier to see:
Thing: {
    __resolveReference(parent, _context) {
      return { id: parent.id, name: "ReferenceName" };
    },
  },

Note that in Query.ts, we still have this:
Query: {
    thing(_parent, { id }, _context) {
      return { id, name: "Name" };
    },
  },

If we run a query which fetches both the entity version of Thing and the resolver for Query.thing, we can see the difference:
query Foo($thingId: ID!) {
  _entities(representations: [{__typename: "Thing", id: $thingId}]) {
    ... on Thing {
      name
    }
  }
  thing(id: $thingId) {
    name
  }
}

{
  "data": {
    "_entities": [
      {
        "name": "ReferenceName"
      }
    ],
    "thing": {
      "name": "Name"
    }
  }
}

Hope that helps!

Here are some more docs on __resolveReference specifically: https://www.apollographql.com/docs/apollo-server/using-federation/api/apollo-subgraph/#__resolvereference

Hi @dbanty ,
Thanks for hte details, it really helps.

One further query on the use cases of __resolveReference, by looking at the sample code, thing could be resolved in Query -> thing and Thing -> __resolveReference, doses it mean the resolver logic needs to be duplicaated in these two places?

another question on the use case as  below, with property resolver using the same query

export const Thing: Resolvers = {
  Thing: {
    __resolveReference(parent, _context) {
      return { id: parent.id, name: "ReferenceName" };
    },

    name() {
      return `ad-hoc name`;
    }
  },
};

getting the reponse as below:
{
  "data": {
    "_entities": [
      {
        "name": "ad-hoc name"
      }
    ],
    "thing": {
      "name": "ad-hoc name"
    }
  }
}

just want to better understand the resolving sequences, based on the testing it seems the property resolver wins

Generally you'd put the resolver logic in one function which is then called from anywhere it's needed (e.g., Query.thing and Thing.__resolveReference). We're hoping to add data source support (e.g., SQL) to these templates in the near future so we can show more realistic patterns.
As for the resolver-ordering, I'm not sure. I think that'd be a great question to ask in our Discord where more people will have answers!


Refactor runtime_test.py and stat_test.py

Hello blogger, the version I am using now is gazebo11, some of the package (tum_simulator) is not supported, please ask if there is a software package suitable for the new version, thank you!


Improve expect_revert documentation

Highlight Protostar doesn't run code after a revert error.

Duplicate of https://github.com/software-mansion/protostar/issues/610


Mac: After update of VS Code, app wont start - endless error loop.

Greetings.
I had VS Code working fine on Mac.
On starting today it informed me of update, it also advised me to install one of the top rated  python parsers - I allowed it to go ahead.
Download is of: 'VSCode-darwin-stable', file size 53.5mb.
After install, it asked for a restart of the app.
I allowed this.
On restart, it gave an error dialog - both dialog options, on clicking, result in the application simply crashing out. See this tweet for screenshot
I have tried uninstalling/reinstalling - same thing happens.
I assume therefore that there is some left over config/settings somewhere that need to be cleaned out to allow it to start cleanly again ... can you direct you direct to where this can be done?
cheers.

Oh no! That's no good - try also clearing /Users/<user-name>/Library/Application Support/Code

Also, another couple ideas to try:

try running w/ code --disable-extensions
run w/ code --verbose, which produce some error to help us narrow down the issue

fyi @joaomoreno

I'm running Sierra and Code worked fine yesterday. Today it wouldn't start, it just silently closed before showing the GUI. I had not updated Code.

Updating Code didn't work
Launching Code from ~\Downloads or moving it from \Applications to ~\Applications didn't work
I couldn't launch code from terminal since I had not installed the shell plugin and couldn't launch code to install it
Moving /Users/<user-name>/Library/Application Support/Code did work

I launched Code, installed the shell plugin, exited code, moved the Code folder back to Application Support and ran code --verbose. It wouldn't launch and I got the message:
[48891:0126/110511:WARNING:dns_config_service_posix.cc(152)] dns_config has unhandled options!
Startup error: Error: ENOENT: no such file or directory, stat '/Users/<user-name>/Library/Application Support/Code/User'

Does it really say <user-name> there, or did you change it for privacy issues?

@joaomoreno I changed it. Not so much due to privacy, mostly to be consistent with @mousetraps.

And the folder does exist? '/Users/<user-name>/Library/Application Support/Code/User'

It's hard to verify at this point since I don't have the old broken Code folder any more. But I do have vague memories of attempting to synchronize my code settings using Dropbox and symlinks a long time ago. This could very well have caused my problems which would make my problem unrelated to @ajsondevs problem. I have not tampered with my dropbox nor my VScode settings recently so the question is why this would cause problems now?

I just realised you are not the original poster. Glad to know it's fixed for you.
@ajsondev Let us know how this turned out for you.

@joao ...Still the same, however I'm dropping it as killing my Mac this
weekend for a nix/windows dual boot laptop....
On 26 Jan 2017 3:02 p.m., "João Moreno"<EMAIL_ADDRESS>wrote:

I just realised you are not the original poster. Glad to know it's fixed
for you.
@ajsondev https://github.com/ajsondev Let us know how this turned out
for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/19104#issuecomment-275409753,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZzWUNsc60i4ExDQvVsk_6qFiOM6diPks5rWLV1gaJpZM4Lr2Mo
.

Hey mates!
Unfortunately, I can't run vscode too. :(
~ » code -v
1.8.1
ee428b0eead68bf0fb99ab5fdc4439be227b6281
~ » code --verbose --disable-extensions
[main 01:51:07] Sending env to running instance...
[main 01:51:07] Sent env to running instance. Terminating...

OS: macOS Sierra 10.12.3
PS: I tried to remove '/Users/<user-name>/Library/Application Support/Code/User' directly.

So … I fixed the problem. I found a lot of Code Helper zombie processes … After this I killed it and now everything is ok! :)

Closing.

@joaomoreno Killing Code Helper zombies in activity monitor didn't do it for me. I had to look at ps and kill by process id.
I'm not sure how to reproduce, I ran Code from inside tmux and logged out of my computer. When I came back the session was detached and Code wouldn't start, instead giving me:
[66626:0627/130156.564538:WARNING:dns_config_service_posix.cc(152)] dns_config has unhandled options!
[main 13:01:56] Sending env to running instance...
[main 13:01:56] Sent env to running instance. Terminating...


fix(native): focus input on button clicked (#334)

What:
Prevent error in button_handleClick, and refocus TextInput if exists - both only in react-native environment.

Why:
#334
In the context of react-native, when we use a button instead of text input, Cannot read property activeElement of undefined error has thrown. The cause was a check for document object in native environment. Also, We wanted to re-focus the TextInput element if one exists.

How:
in order to refocus the TextInput after a button click, refKey added to getInputProps, and  assigned only in react-native using inputNode method, as in rootNode and getRootProps.
For disabling focusing the event target in react-native, I simply added !prevalmodule.exports = process.env.BUILD_REACT_NATIVE === 'true'``.

Checklist:

[ ] Documentation
[ ] Tests
[x] Ready to be merged

[ ] Added myself to contributors table

The refKey props still need documentation and tests for react-native.
Thanks!

@kentcdodds can you give this a quick look over? I'm starting to get hesitant about sprinkling all these istanbul ignore's all over.

Thanks for the feedback @eliperkins @kentcdodds!! Will add a test and replace the conditional ref both on the input and root. hope to do so soon
Great weekend

@eyalcohen4 Have you had any progress on this PR? Is there anything I can do to help get it ready for merge? 🙂

Thanks @andrroy, I'm having a hard time with the test's here - after applying the ref's as Kent suggests and testing manually.
In this test, I wanted to validate that the TextInput is focused on the button press.
the problem is when trying to access the ref on node (jest) environment his value is undefined, although when running in react native environment (both on the simulator and real-device) he's holding it.
Maybe one of you know how we can simulate the environment in the tests to have inputRef? I wasn't able to find such way yet, or maybe it's not even the right direction?
  test('foucs input node in case of button press', () => {
  const RootView = ({innerRef, ...rest}) => <View ref={innerRef} {...rest} />
  const ButtonMock = jest.fn(props => <Button {...props} />)
  const InputMock = jest.fn(props => <TextInput {...props} />)

  const renderSpy = jest.fn(({getRootProps, getInputProps, getItemProps, getButtonProps}) => (
    <RootView {...getRootProps({refKey: 'innerRef'})}>
      <InputMock {...getInputProps({ refKey: 'inputRef'})} />
      <ButtonMock {...getButtonProps()} title="Downshift"/>
      <View>
        <Text {...getItemProps({item: 'foo', index: 0})}>foo</Text>
        <Text {...getItemProps({item: 'bar', index: 1})}>bar</Text>
      </View>
    </RootView>
  ));
  const element = <Downshift>{renderSpy}</Downshift>
  TestRenderer.create(element)
  const [[buttonProps]] = ButtonMock.mock.calls;
  const [[inputProps]] = InputMock.mock.calls;

  buttonProps.onPress({ preventDefault: () => {}});

  // here inputRef is a function which returns undefined
  expect(inputProps.inputRef().isFocused()).toBeTruthy();
})


[SMALLFIX] Simplified equals implementation of RenameOptions

Simplified the equals implementation of the RenameOptions class.

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/Alluxio-Pull-Request-Builder/9656/
Test PASSed.

LGTM


Add information about credentials to VerificationError

When there is a VerificationError in one of the credentials in a presentation, the error is properly reported.  However, there is no information about which credential has the issue.  This would make debugging a presentation that includes multiple credentials difficult.
{
  "error": [
    {
      "name": "VerificationError",
      "errors": [
        {
          "name": "Error",
          "message": "Invalid signature.",
          "stack": "Error: Invalid signature.\n    at Ed25519Signature2018.verifyProof (/home/matt/bedrock-dev/bedrock-vc-verifier/test/node_modules/bedrock-vc-verifier/node_modules/jsonld-signatures/lib/suites/LinkedDataSignature.js:162:15)\n    at processTicksAndRejections (internal/process/task_queues.js:97:5)\n    at async Promise.all (index 0)\n    at async _verify (/home/matt/bedrock-dev/bedrock-vc-verifier/test/node_modules/bedrock-vc-verifier/node_modules/vc-js/node_modules/jsonld-signatures/lib/ProofSet.js:325:11)\n    at async ProofSet.verify (/home/matt/bedrock-dev/bedrock-vc-verifier/test/node_modules/bedrock-vc-verifier/node_modules/vc-js/node_modules/jsonld-signatures/lib/ProofSet.js:253:23)\n    at async Object.verify (/home/matt/bedrock-dev/bedrock-vc-verifier/test/node_modules/bedrock-vc-verifier/node_modules/vc-js/node_modules/jsonld-signatures/lib/jsonld-signatures.js:38:18)\n    at async Promise.all (index 0)\n    at async _verifyPresentation (/home/matt/bedrock-dev/bedrock-vc-verifier/test/node_modules/bedrock-vc-verifier/node_modules/vc-js/lib/vc.js:360:25)\n    at async /home/matt/bedrock-dev/bedrock-vc-verifier/test/node_modules/bedrock-vc-verifier/lib/index.js:104:20"
        }
      ]
    }
  ],
  "verified": false,
  "checks": [
    "proof"
  ]
}

The first step here would be to add a positive test that verifies a presentation that contains multiple credentials.  There is a helper here that could be expanded for this purpose:
https://github.com/digitalbazaar/vc-js/blob/master/tests/10-verify.spec.js#L374
Then, in another test, tampering with one of the credentials in an otherwise valid presentation would cause a VerificationError like the one in the OP.
A PR should be created for these additional tests related to the current behavior.
Next, another PR should be created for altering the behavior to produce an error that is useful for determining which of the credentials in a presentation has failed verification and why.

Landed.


move dashboard.md -> dashboard/index.md. add links in readme and topbar

Moves dashboard.md to dashboard/index.md. This gives a slightly nicer url (no html suffix) and also provides a natural location to dump images or other assets that we might later want to include in the dashboard.
Adds a dashboard link in README.md
Adds a button on the website topbar that goes the the dashboard.

There's currently no way to navigate from the dashboard page to the main page index.html.
I think that should be fixed in a later PR (unless someone has a trivial fix that I could tack on here).


Fix coordinator loadStatus performance

getLoadStatus() in DruidCoordinator determines how many segments need to be loaded per-datasource by retrieving the list of all segments from metadata, then asks each server for its segment inventory and removes the server segments from the set returned from metadata:
      // remove loaded segments
      for (DruidServer druidServer : serverInventoryView.getInventory()) {
        final DruidDataSource loadedView = druidServer.getDataSource(dataSource.getName());
        if (loadedView != null) {
          segments.removeAll(loadedView.getSegments());
        }
      }

The current code can perform badly when a server has the entire set of segments for a datasource.
This is the code for AbstractSet.removeAll():
    public boolean removeAll(Collection<?> c) {
        Objects.requireNonNull(c);
        boolean modified = false;

        if (size() > c.size()) {
            for (Iterator<?> i = c.iterator(); i.hasNext(); )
                modified |= remove(i.next());
        } else {
            for (Iterator<?> i = iterator(); i.hasNext(); ) {
                if (c.contains(i.next())) {
                    i.remove();
                    modified = true;
                }
            }
        }
        return modified;
    }

In that situation, the else block will be used, and this is a problem because loadedView.getSegments() is the values collection of a ConcurrentHashMap, and its contains() method does a full traversal of the map:
  public Collection<DataSegment> getSegments()
  {
    return Collections.unmodifiableCollection(idToSegmentMap.values());
  }

...
    public static <T> Collection<T> unmodifiableCollection(Collection<? extends T> c) {
        return new UnmodifiableCollection<>(c);
    }
    public boolean contains(Object o)   {return c.contains(o);}
...
    static final class ValuesView<K,V> extends CollectionView<K,V,V>
        implements Collection<V>, java.io.Serializable {

        ValuesView(ConcurrentHashMap<K,V> map) { super(map); }

        public final boolean contains(Object o) {
            return map.containsValue(o);
        }
...
    /**
     * Returns {@code true} if this map maps one or more keys to the
     * specified value. Note: This method may require a full traversal
     * of the map, and is much slower than method {@code containsKey}.
     *
     * @param value value whose presence in this map is to be tested
     * @return {@code true} if this map maps one or more keys to the
     *         specified value
     * @throws NullPointerException if the specified value is null
     */
    public boolean containsValue(Object value) {
        if (value == null)
            throw new NullPointerException();
        Node<K,V>[] t;
        if ((t = table) != null) {
            Traverser<K,V> it = new Traverser<K,V>(t, t.length, 0, t.length);
            for (Node<K,V> p; (p = it.advance()) != null; ) {
                V v;
                if ((v = p.val) == value || (v != null && value.equals(v)))
                    return true;
            }
        }
        return false;
    }
...

The following benchmark (included in the PR) shows this behavior:
Benchmark                       (serverHasAllSegments)  (totalSegmentsCount)  Mode  Cnt        Score       Error  Units
LoadStatusBenchmark.newVersion                    true                 10000  avgt   50      387.188 ±     4.991  us/op
LoadStatusBenchmark.newVersion                   false                 10000  avgt   50      227.884 ±     2.444  us/op
LoadStatusBenchmark.oldVersion                    true                 10000  avgt   50  1581777.362 ± 38030.835  us/op
LoadStatusBenchmark.oldVersion                   false                 10000  avgt   50      244.024 ±     2.923  us/op

The current code can perform badly when a server has the entire set of segments for a datasource.

This is a pretty neat failure mode!

1581777.362 ± 38030.835

And it sounds like "perform badly" is an understatement.

@jon-wei is there anywhere else using removeAll that looks suspicious? (IMO, given what we see here, anything where the argument is not a Set is suspicious.)

@gianm
KafkaSupervisor calls removeAll in checkPendingCompletionTasks, where both collections are ArrayLists, containing task groups
PendingTaskBasedWorkerProvisioningStrategy and SimpleWorkerProvisioningStrategy have instances where Set.removeAll is called with a List, containing worker IDs


Renamed one-letter variable in the contributors.blade.php

I think that the letter "c" in such a small scope is okey, since it's a small component just for contributors. But, this change makes sense

Hey @SerhiiCho,
Although we know what c means, it is better to use meaningful words to increase readability.

@alirezasalehizadeh I agree