Translation to Spanish (We can volunteer!)

We'd love to run this but we need it to be in Spanish.
We know this could be difficult to do, so we volunteer to translate the text to Spanish. It's just to pique the interest of our visitors. Once they click through, they'll be OK with proceeding in English.

Done!

The code has been deployed at Tecnetico.com
Thank you for the opportunity to join the fight!

@tecnetico Awesome. Thanks for all your help translating this!
We tweeted out the setup instructions earlier: https://twitter.com/fightfortheftr/status/996042559091703808

Hi. We won in the Senate!
Do you need us to revise the copy in Spanish to reflect the new copy in English?

@tecnetico That would be fantastic! These two commits have the English changes:
https://github.com/fightforthefuture/redalert-widget/commit/6f71269c101a5de6cf03f0274bc894ec1a4e8c9c
https://github.com/fightforthefuture/redalert-widget/commit/fd5fac49602ca9657fcbc4f19417b6db6ed3dcc3

I will proceed with the translation but I have a question.
On GitHub, the description of redalert-widget/src/strings/es.yml has "Add
non-US CTA" as its description.
Why "non-US"?
On Wed, May 16, 2018 at 6:02 PM, Ken Mickles<EMAIL_ADDRESS>wrote:

@tecnetico https://github.com/tecnetico That would be fantastic! These
two commits have the English changes:
6f71269
https://github.com/fightforthefuture/redalert-widget/commit/6f71269c101a5de6cf03f0274bc894ec1a4e8c9c
fd5fac4
https://github.com/fightforthefuture/redalert-widget/commit/fd5fac49602ca9657fcbc4f19417b6db6ed3dcc3
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fightforthefuture/redalert-widget/issues/3#issuecomment-389680074,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMA2jZ0vF8f61qJR52deyzbF2_HeEYL-ks5tzKHtgaJpZM4T8JxD
.

@tecnetico The description is the last Git commit that touched that file. "Add non-US CTA" was this commit: 317673984d1e050936ef29da56d87bbddfafa910. It adds code to show the "Not in the US? Do this instead." line to users who appear (based on IP address) to be outside of the US:

That line links to this petition, which is a way for people who don't live in the United States to show their support.

Also, I translated that line into Spanish via Google Translate, so it might be wrong: https://github.com/fightforthefuture/redalert-widget/blob/master/src/strings/es.yml#L10


scwofc - Fort commanders don't wear commander clothes

additionally i am on level 100, I think It'd be cool if fort commanders scaled with your level (i mean this is the fort commander we're talking about here at least put up a fair fight)

Can you let me know the load order? I have CWO, SFCWFC, then SFCWOFC

i don't have the original i hae CWO SFCWOFC

This is fixed. Required SCWFC base in the patch


Auto Rebalancer not acting

Running Version 1.0.3. on umbrel.
Followed instructions in README.md.
Initially, some unsuccessful rebalancing attempts were made, however after one iteration the rebalancer gave up permanently, i.e. it does no longer attempt any rebalancing.
Logs don't show anything of significance.
Appreciate any advice on how to approach the problem. Will be happy to provide more information, if attainable.

Are you sure the rebalancer has been setup with settings that will trigger under your current conditions? If there are no candidates for rebalancing based on your settings, it will not schedule anything for rebalance. More detail can be found on the README page.
https://github.com/cryptosharks131/lndg#auto-rebalancer
A nice feature in v1.0.4 is a rebalancing page that may help you to visualize which channels are currently candidates based on your current settings.
If you still feel like the settings are correct then please provide some details around a specific scenario where you think it should be rebalancing a target channel (liquidity%, iTarget%, oTarget%, etc.)

Hi,
with the /rebalancing page I was able to figure out the cause: No rebalancing attempts were made because the fee ratio was too high.
I assume the intention is to avoid rebalancing attempts that encourage unprofitable behaviour.
However, it is not clear to me, how the fee ratio is determined. Is it really that the entire node graph is searched for routes, and the potentially earned fees are compared to the cheapest rebalancing route?


Shopify tutorial out of date

As Shopify evolved, the lesson at content/courses/tutorials/creating-a-shopify-partners-store.mdx became out of date, most screens are quite different now.

@rsivan
Thanks for drawing attention to the outdated Shopify screenshots! I took a look and found that there are several other aspects of the tutorial https://learn.cypress.io/tutorials - How to Build and Test a Next.js and Shopify Store with its 6 lessons that are also outdated.

https://github.com/cypress-io/cypress-realworld-testing/issues/331 summarizes the issues.

Did you go through the whole tutorial and get it to work or did you stop when you realized that the Shopify screenshots were out of date? I have not tried this tutorial myself.


azure-cli not working on macOS Sierra

Environment summary
Install Method:
sudo pip install azure-cli
CLI Version:
az version doesn't run because of error below.
azure-cli 2.0.3
OS Version:
macOS Sierra 10.12.4 16E195
Shell Type:
Bash

Description
After a blank install either "sudo pip install azure-cli" or using "curl -L https://aka.ms/InstallAzureCli | bash" running az shows the following error:
~/Desktop: az
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/site-packages/azure/cli/main.py", line 9, in
import azure.cli.main
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/azure/cli/main.py", line 12, in
from azure.cli.core.util import (show_version_info_exit, handle_exception)
ImportError: No module named util
~/Desktop:

Since you installed with multiple methods, can you run which az to check which one is running?
Also, if you installed with curl, it should be available at ~/bin/az. Does that work?

both /usr/local/bin/az and ~/Library/azure-cli/bin/az (used a different directory as the default is polluting ~/ on macOS) show the same error.
~/Desktop: which az
/usr/local/bin/az

Looking like you have version mismatches that's why you get a ImportError: No module named util.
What did you mean by "used a different directory as the default is polluting ~/ on macOS"? Did you change the default install location?
Also, how about the output of cat $(which az)?
Also, pip freeze | grep azure-cli?
Also, ~/lib/azure-cli/bin/pip freeze | grep azure-cli?

I used attached script to pip uninstall all packages starting with azure-cli-*. After that running sudo -H pip install azure-cli made things work again. Looks like a likely cause is that updating azure-cli via pip from a previous package leaves mismatching versions. Uninstalling the azure-cli package leaves the other packages around.
Regarding your other question: Not a big fan of running the curl bash installer and dropping the files into the ~/ folder so yes different directory means changing the default install location. However, apt-get, brew and pip support is preferable and back to using the pip version now. Also wondering why it has so many separate pip packages.
uninstall-azure-cli.txt

Yes you have to uninstall each package individually if you want to uninstall. The command below achieves this.
pip uninstall -y $(pip freeze | grep azure-cli-) && pip uninstall -y azure-cli
There are separate pip packages for the different components inside the CLI.
Can this issue be closed?

My problem is resolved. However, the pip uninstall and update experience is not very intuitive and wonder if there should be a work item to improve this. The fact that simply running an update got me into this state make me wonder if there is some underlying build/update issue that needs to be addressed.

Upgrade: pip install --upgrade azure-cli
This upgrade command does upgrade the main CLI package and all azure-cli-* as well.
Now running pip install azure-cli==VERSION would not work as expected as all the azure-cli-* packages would not be updated by pip in this scenario.
Currently, we treat the pip install scenarios as more advanced.

I really recommend to use python virtual environment.
'''
pip install --user virtualenv
mkdir azure-cli
cd azure-cli
virtualenv .
source bin/activate
pip install --user azure-cli
'''

Thanks for the comment @sasukeh.
Would recommend a virtual environment as suggested or installing with --user.
Closing issue.


Bailador should be able to give a respone without content-type

I think currenty it is impossible to send a respone that does not have a content-type. According to the spec of HTTP https://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7.2.1, it could be the case that you don't provide a content-type.

it might also be nice, if you could define what the default content type should be.

Thanks for the help @Emeric54 :+1:


Why is it so hard to see other peoples books

Category
I can find a link to view other people's books from https://www.gitbook.com/  it keeps sending me to my dashboard
What is the current behavior?
Clicking GitBook in the top left corner.
What is the desired behavior?
To go to the home of gibbook and see stuff like catalog, popular books....
Additional information
That's it,  just a UI navigation thing.

I expressed this same concern in my issue.


feat: UX improvements for docker/podman usage

Changes

:gift: Better error message if docker/podman not present.
:gift: Auto detect podman machine's socket on mac/win, so user doesn't have to set DOCKER_HOST.

PTAL @lance @lkingland

/unhold


Update-monaco-and-typings

Types of changes
Update monaco editor and node typings

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Proposed changes
update to latest monaco 0.36.1
update to latest nodejs typings (v16)
update to latest locales for monaco
update to latest theme set for monaco editor
Checklist

[x] I have read the contribution guidelines
[ ] For non-bugfix PRs, I have discussed this change on the forum/slack team.
[x] I have run grunt to verify the unit tests pass
[ ] I have added suitable unit tests to cover the new/changed functionality

Coverage: 68.622%. Remained the same when pulling 69e139b75bf50dcd4f7cdc43b11851511ad402f1 on Steve-Mcl:update-monaco-and-typings into d7defc011bd7de0d49e28214367ac320da91eb80 on node-red:dev.


Error when login via MagicLink

After clicking on the Magic Link, seeing this error in the console and unable to login.
I'm using the latest version of supabase-js and [supabase-auth-helpers](https://github.com/supabase-community/supabase-auth-helpers)
    "@supabase/supabase-auth-helpers": "1.4.0",
    "@supabase/supabase-js": "1.35.3",

What's your node version? Looks like atob is only supported since Node 16 (https://developer.mozilla.org/en-US/docs/Web/API/atob#browser_compatibility) so we'll need to add backwards handling.

Im still on node 14 v14.19.1 it is.

Tested on node ver v16.15.0 which works like a charm, I will just upgrade everywhere to use node 16 instead. Thanks for the quick response here, much appreciated.

Still seeing this issue on 1.4.1 with node 14

Yes still same issue

I have this issue now too :(

Same here but got resolved after upgrading node to v16.x in Vercel.


Custom Msg For Cross Field Validation (& turn it to camel case)

Package version eg. v8, v9:
v9
Issue, Question or Enhancement:
I'm using the Validate pkg (really awesome!) but I'm stuck with one small thing, how can i register custom message for multi parameters message which is highly important if I want to do cross fields validation.
So I'll stop mumbling now and get to a concrete example :)
Code sample, to showcase or reproduce:
I have a struct with two fields:
type Person struct {
  YearBorn int `validate:"ltefield=YearDied"`
  YearDied int `validate:"gtefield=YearBorn"`
}

As you can see I just added a logical validation YearBorn <= YearDied.
everything works as expected up till here.
but when I want to overwrite the message with my own custom message I get an OutOfRange error that my '{1}' placeholder causes.
here is how I register the new message:
I create a function for register custom messages:
func registerErrorMsg(v *validator.Validate, trans ut.Translator, tagName string, errorMsg string) error {
	err := v.RegisterTranslation(tagName, trans, func(ut ut.Translator) error {
		return ut.Add(tagName, errorMsg, true)
	},
		func(ut ut.Translator, fe validator.FieldError) string {
			t, _ := ut.T(tagName, fe.Field())
			return t
		})
	if err != nil {
		return err
	}
	return nil
}

Then I call it with:
err = registerErrorMsg(v, trans, "ltefield", "{0} must be less than or equal to {1}")
	if err != nil {
	     return err
}

Small side note, the reason that I want to override the message is becuase the return message contain the actual field name(CamelCase) and not the json tag (snake_case).
I also register a tag name function that takes care of that:
validator.RegisterTagNameFunc(func(fld reflect.StructField) string {
		name := strings.SplitN(fld.Tag.Get("codec"), ",", 2)[0]
		if name == "-" {
			return ""
		}
		return name
})

So to conclude, I have two questions:

How can I override with custom message that have two parameters?
Can I register a TagNameFunc that will take care of the other field in the cross field validation?

Thanks,
Ron

Hey @tronch0

I think you're getting the out of range error because when calling the translation you only passed in one parameter in when the translation is registered with 2:

t, _ := ut.T(tagName, fe.Field())

should be

t, _ := ut.T(tagName, fe.Field(), fe.Param()) <-- or whatever you need the second param to be.

no there is no way at getting at the other field information as if it were an error.


proposal for declarative scityping, checking, conversion of inputs/outputs

formalized discussion on scityping in a STEP - also compare https://github.com/alan-turing-institute/sktime/pull/420#issuecomment-716059124
Design uses class decorators for implementation - one of the intentions is to make extension to minimize need for implicit knowledge of implementation, and make custom extension of method downwards compatible subject to even substantial changes to "under the hood parts".

@mloning, I think this is now a full draft - please review

I'm not sure about the implementation details. As said, I like the idea of the decorator but we should consider its disadvantages too (e.g. what about debugging and error tracing?).

It's always about the opportunity cost/benefit - isn't it also quite arcane at the status quo, with two base classes of which one in turn inherits from sklearn BaseEstimator?
Further, if the class decorator is robust, there should be no debugging needed for either the extender or the standard user. Think about it like BaseEstimator itself - how often did you have to debug BaseEstimator?
There might also be an intermediate option if you don't like class decorators:

make the "general purpose" argument scityping and input/output conversion module
explicitly use that functionality when extending, or decorate methods instead of the class

PS, @mloning: if you are in agreement with the user journey but not the implementation details, happy for a counterproposal.

@fkiraly I think it's a great idea, but feel like somebody needs to start implementing it to fully understand what it would involve.


Make project more legible to newcomers

Right now, the Breadboard project is a collection of packages in a monorepo. It takes a bit of time to piece together all the bits and get a full picture of what's going on -- a tax on newcomers.
Let's make a first pass at making the Breadboard project a bit easier to comprehend and get started. We need:

[ ] A map of all packages -- how they relate to each other and what's what
[ ] A written guide to the project
[ ] Perhaps deprecating/moving some packages (see #204 as an example)
[ ] A refresh to DEVELOPING.md  to reflect the latest changes and add relevant links (maybe a Breadboard-specific one?)
[ ] {insert item}

Hoist the README from seeds/breadboard to the top-level. Let's move towards thinking of this repo as a monorepo just for Breadboard and closely related projects.

Move seeds/gems/text_classification and seeds/gems/tokenizer to new repo(s) (google/)? This folder seems to be a newsgroups text classification project that AFAICT is unrelated to breadboard? @shilpakancharla, @sidgoogle what's the status of these projects? Any thoughts on where they should go?

Delete Breadboard packages we no longer need. They will exist forever in the GitHub history for posterity. The 2 candidates seem to be seeds/web-demo (mentioned above) and seeds/graph-runner ("It had since been folded into the breadboard package").

Rename seeds/ to packages/. In my experience it's pretty idiomatic with GitHub monorepos to use the name packages, and being idiomatic is helpful for orienting new folks.

Move google/labs-prototypes to breadboard-ai/breadboard. This will preserve all of the Git history and issues, and everyone's previous Git remotes will still work since GitHub redirects automatically, so nothing should change with the developer flow.

After (or before?) this, we can focus on improving the README and tutorial, so the above is just some of the housekeeping that I think could make sense to start with.
WDYT @dglazkov @paullewis @seefeldb ?

+1 from my perspective, but undoubtedly @dglazkov and @seefeldb have more context!

LGTM on all but the second one. I'd like to keep labs-prototypes as its own repo and let @shilpakancharla and @sidgoogle and @ibush host their projects here.

Sounds good! We'll keep both repos around. There are some constraints around the repo move:

It is not possible to individually transfer issues/PRs between orgs (https://docs.github.com/en/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository). I believe the only way to transfer issues/PRs would be to move the entire repo to the new breadboard-ai org.

You can create a new repo with the same name as one that was moved elsewhere (tested in my personal account). So after moving to the new org, we could then create a new google/labs-prototypes repo, and copy back the git history.

When you move a repo, GitHub automatically redirects URLs to the new location. However, if we create a new repo with the old name, I don't believe that will work anymore (because now there is something occupying the old name). The old URLs will even eventually collide with new ones in some cases (e.g. /issues/1 used to be the first issue in the old repo, now it's the first issue in the new repo).

So I think we have 3 options:

Fork google/labs-prototypes to breadboard-ai/breadboard.
✅ Git history preserved
❌ Issues & PRs transferred
✅ Existing issue URLs show the original history
❌ Existing issue URLs redirect to the new repo
✅ Prototypes repo keeps its name

Transfer google/labs-prototypes to breadboard-ai/breadboard, then create a new google/labs-prototypes
✅ Git history preserved
✅ Issues & PRs transferred
❌ Existing issue URLs show the original history
❌ Existing issue URLs redirect to the new repo
✅ Prototypes repo keeps its name

Transfer google/labs-prototypes to breadboard-ai/breadboard, then create a new google/labs-XXX (where XXX is a new name we chose, like "prototyping") and copy over the Git history.
✅ Git history preserved
✅ Issues & PRs transferred
✅ Existing issue URLs show the original history
✅ Existing issue URLs redirect to the new repo
❌ Prototypes repo keeps its name

So, there's no perfect solution. Option 3 seems like the best if we are willing to give a new name to the prototypes repo. Options 1 and 2 both have some fairly gnarly downsides.

if we go with third option, I would probably use google/labs-experiments

or even google/ai-experiments

I updated https://github.com/google/labs-prototypes/issues/207#issuecomment-1830915086 to add option 4. I think it's between option 3 and 4 now. Comes down to how much we value existing/historical PRs being transferred, vs the labs-prototypes name.

Option 4 looks like the winner! Let's do that.

qq - are the breadboard modules still going to be under @google-labs? The github repo name kinda makes it clear that it's a labs project vs production project. Moving to google/breadboard removes the labs prefix. Not a blocker on my side but something to conisder.

We're likely going to move to the @breadboard-ai NPM namespace as well.


Feature/beta preparations

Change log:

Bugfix for email validation behaves weird in registration flow.
Trim spaces from all auth/registration flows.
User is null error in flutter when checking canTranslatePost/comment. Added null check.
Converted many new strings to localization strings.
Added localization files for many new languages.
Added support for localized locales like pt-BR and updated README with documentation.

Cool! Do we have an specific of which languages were added?

Yes, you can see them in the constants.dart file but here they are
    ('sv', _('Swedish')),
    ('fr', _('French')),
    ('it', _('Italian')),
    ('tr', _('Turkish')),
    ('pt-br', _('Portuguese, Brazilian')),


How does card priority work?

Preparation

[X] I read the Troubleshooting Guide
[X] My question isn't answered in any other issues (even the closed ones)

Your question
alright so I have an issue with the card priority, im not sure if its a bug or im just stupid but it goes like this
I have card priority set on B-A-Q-WB-WA-WQ-RB-RA-RQ for all waves and servant priority is default
my spishtar is on slot 1 and I want her to always be the one attacking, however the autofarm sometimes selects other servants cards even though there are spishtar cards available
it happens even when there are 4 spishtar cards and 1 support card, is there something wrong with the servant priority? should I just put support servants least on priority, maybe it'll work?

Can you share your battle config file and preferably a video of the issue?

Can you share your battle config file and preferably a video of the issue?

I recorded and im uploading the video to youtube rn, im not sure how to send the file or if you can do that on github though

https://www.youtube.com/watch?v=uGJU4D6M5zA
video posted, im aware that it works on wave 1 & 2 and sometimes on wave 3 but there are times when its going for support cards over spishtar cards without brave chain (check 2:55 for example)
also do I have to upload the file on a site like mediafire then send the link here?

Add .txt to the file name, then you can upload it to github.

Shortly before the bug happens, FGA opens the details window of Space Ishtar because it thinks that Ishtar died.
If you can reproduce it again with Debug Mode enabled, I can check how to avoid this bug.
As a workaround, you can try setting the Servant Priority to 1 4 2 3 5 6 so the "new" Space Ishtar still has higher priority over the other servants.

Add .txt to the file name, then you can upload it to github.

spishtar_90.txt

btw I uploaded the video on my channel & replied to your comment on youtube

Can't see a 2nd video with the debug rectangles yet.

Can't see a 2nd video with the debug rectangles yet.

posted vid with debug mode on

I fixed this back in September. Are you using the latest version of FGA?

not sure, i'll reinstall it and check if it works

it seems to work now, i've only tested it 3 times so can't say for sure, nice UI update btw
could you make it so it prioritizes cards with more critical chance over those with less/none
eg 30% critical chance arts card vs no crit, still picked the no crit one

Sorry, can't do critical chance. That would involve too much work and won't work reliably.


v4: ion-scroll always scrollable even for short content

Bug Report
Ionic Info
Using @ionic/core version 4.0.0-alpha.7 directly from npm / unpkg CDN.
Firefox 60.0.2 (64 bits) and Chromium 66.0.3359.181 (64 bits)
Ubuntu 16.04.4 LTS
Describe the Bug
The <ion-scroll>'s height is set higher than the available container height when its parent <ion-content> has no padding, but child elements need some margin (which is typically the case of an <ion-menu> with an <ion-list>).
Therefore, even if the content is short and should not require scroll, the content is scrollable.
Steps to Reproduce

Go to https://beta.ionicframework.com/docs/api/4.0.0-alpha.7/menu
Click on the 'Open start menu' button.
The menu is scrollable even if its content is shorter than the available height.

This happens for both iOS and MD modes, in all browsers I have tried.
Related Code
Simple example for both a menu and a main content:
https://plnkr.co/edit/gTBGa2rqBnxrLeWSJRtZ?p=preview
Expected Behavior
When the content is shorter than the available height, it should not be scrollable.
Additional Context
Was working fine in version 4.0.0-alpha.6 (https://beta.ionicframework.com/docs/api/4.0.0-alpha.6/menu).
Surely introduced by commit https://github.com/ionic-team/ionic/commit/3da0c989b2cd7e98c2c08cf7496309e7d1219730
Removing the min-height: 100% CSS rule (typically with developer tools) removes the bug, but I guess this rule has a reason.

This will be fixed in next version (alpha.8), the root of the problemas was the collapsible margin


Change deprecated Layout to V1

Describe your changes :

Change deprecated Page Layout to v1
Change width of LeftPanel
Explorer, Glossary,Settings converted to v1
fix the  vertical scroll issue in LeftPanel

Type of change :

[ ] Bug fix
[x] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Frontend Preview (Screenshots) :

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers
@open-metadata/ui

Can you please merge the main?


translation problem

the text of the time remaining for the login does not change if the language is changed.

Hi @Sebayop!
Thanks for your bug report!
An error correction has been made available.
Download: https://nickuc.com/repo/find?name=nLogin


Report individual findings rather than top-level file

Closes: https://github.com/palantir/log4j-sniffer/issues/72
This PR changes the way vulnerabilities are reported when not in
--file-path-only mode.
Each finding is now reported individually, rather than reporting
and aggregation of all findings with only the top-level file on
disk.
For example, a vulnerable jar nested inside an archive will now be
reported with the vulnerability findings, rather than reporting on
the archive with an aggregation of all findings from within it.
Multiple vulnerable jars found within an archive will be reported
separately.
The path reported with a vulnerability finding is the full path
to a finding with archive layers delimited by a "!".
i.e. /path/to/archive!path/to/finding.jar shows that an archive
at /path/to/archive contained a vulnerable jar at
path/to/finding.jar within it.

To do this we now accept a HandleFindingFunc into the Log4jIdentifier, which is called for every finding encountered whilst crawling.
Reporter.Collect has also been renamed to Report to reflect better the behaviour that it has.

@glynternet haven't looked at this implementation closely, but if it basically just sets the output path to something of the form /path/to/archive!path/to/finding.jar and outputs that in the same way as top-level findings, then presumably this would be printed in the mode that prints file paths. We already have consumers that pipe that output to another process to them remove the impacted files, so this would be a change in behavior that could cause issues there.
Is there another field (like "details") where this would make more sense? I think it would be more consistent/understandable if the "path" always mapped to a file on disk. If we want further information like a path within an archive, perhaps that would make sense as an additional metadata field instead?

This is a very good point @nmiyake, and one I hadn't included when I sketched this out with @glynternet. I think, in the name of avoiding needless breaks, we should add this as another field on the json object. The human readable output I think makes sense to use the paths as done here, and the file path listing should just list the top level path.

Yup, very valid point and sloppy on my part for missing this.
I will update to make sure we are not making breaks to those existing workflows.

This looks good - the comment thread discussion around logging/handling of non-vulnerable versions is going to be handled in a follow up PR.
This now also keeps the json format the same.

👍

Released 1.7.0


Adding custom tsonfig.json path

Is there a way to set a custom path for the tsconfig e.g it would be best to set config file when building react-app-rewired build -p tsconfig.build.json

I think you can use the paths option to set the tsconfig file name to use. The tsconfig file name is set in the paths.appTsConfig variable here
Try something like:
module.export = {
  webpack: (config, env) => {
    // ...edit your webpack config
    return config;
  },
  paths: (paths, env) => {
    if (process.env.NODE_ENV === 'production') {
      paths.appTsConfig = 'tsconfig.build.json';
    }
    return paths;
  }
}

You might need to also set the directory for where to find that file rather than only the file name.


Make WASD customizable

WASD is not ergonomic on some keyboard layouts, and it would be a good idea to create a simple way to change them. Currently, we do these movements in a switch statement, meaning we cannot have non-constants. It would make sense to make this scriptable through Lua, though.
Thanks to this comment on HN for making me aware of this issue.

The switch part seems easy as it can be done with refactoring it to if cases. However, a config system is probably required to handle/take different keys and it would be also good in general to have configurable settings.

That’s not really a problem. The struct e_context already has a config option (the tab width), which is also settable through Lua. A simple way to refactor this then would be to put the keys into the e_context struct (or maybe even add a e_config struct) and then add Lua setters and getters.

PR #17 should fix this. I’ll merge it within the next 24 hours if there are no objections.

Does this means we can use hjkl for cursor movement after this PR?

I’m afraid not, because h (hide) still takes precedence.  Thus I’d rather talk about changing those if the need arises.

PR was merged, I’ll close this for now.


Forgot my Passwort for my Bitpay Wallet on Android

hi guys, a question: I bought a bit of bitcoins on my Bitpay wallet a year ago, but I forgot the password. Is there a way to crack it (legally) or to bypass the password request? Bitpay write me that is only possible with the 12 words, these I have not written down, because I had planned to buy something directly with the bitcoins.
I use a Samsung S9
Best regards
Ps: its just 300§, but money is money :D

It is cryptographically impossible to recover the funds without the password or the recovery phrase. This is a security feature. However, to my knowledge, you're free to guess as many times as you want.

@zylosz That person is probably a scammer, ignore them. Do not send them
your seed phrase.
On Fri, 4 Mar 2022, 20:06 mrdaniel2022, @.***> wrote:

@zylosz https://github.com/zylosz
if you haven't recovered your wallet password, contact me i can crack your
password.
@.***
—
Reply to this email directly, view it on GitHub
https://github.com/bitpay/wallet/issues/11434#issuecomment-1059678847,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ25MWZ65O6YCIUP3C552TLU6LMVXANCNFSM4V6I5VKA
.
You are receiving this because you commented.Message ID:
@.***>


Revisit SORT and tracking code

the flow of the tracking
better way of using SORT -- SORT-pip ?
Shall we abandon deep SORT ?

There are likely better newer "deep" tools.

We have groundtruth 🥳 !
What format do we need it in?
@nikk-nikaznan suggests the one used in MOTchallenge "basically a csv files with frame_no, object_id, bbox" -- seems easy 😬  enough to transform our json to this


Make a developer guideline for docs

Make a contribution procedure for documentation.
Create the guideline on CONTRIBUTING.md.
Only change the CONTRIBUTING.md

Guideline:

The docs are based on Mkdocs
The docs use the Mkdocs Material Theme

@darkmatter18, I'll work on this one.

@dotslash21 Assigned!! Go for it


command+U to run the SwiftMonkeyExample, get Test Fail with nothing else!

1、Version 11.4 (11E146)，IPhone7P，ios13.4.5

Could you please provide more information about the error you are encountering?


[BUG] Downloading imagenet does not work

Describe the bug
Downloading imagenet like this does not work:
dp = mk.datasets.get(
    "imagenet",
    dataset_dir="/home/ec2-user/data/imagenet1k",
    download=True,
)

Fails with FileNotFoundError: [Errno 2] No such file or directory: '/home/ec2-user/data/imagenet1k/ILSVRC/ImageSets/CLS-LOC/train_cls.txt'
To Reproduce
Steps and code snippet that reproduce the behavior:

Code snippet '....'
Instructions (Run '...')
Errors and traceback '....'

See above
Include any relevant screenshots.
Expected behavior
Should download imagenet1k to the specified dataset_dir.
System Information

OS: Linux
Versions for RG and relevant dependencies meerkat-ml (latest)

Additional context
Add any other context about the problem here.

Hi, thanks for the report, try:
dp = mk.datasets.get(
    "imagenet",
    dataset_dir="/home/ec2-user/data/imagenet1k",
    download_mode="force",
)


finetuned with a 10-line dataset, not work as expected.

I'm a newbie in AI,
I finetune the llama 7B model, with my custom dataset,
because of the train time, I start up with a very litter dataset,
the json looks like below:
[
  {
    "instruction": "who trained you?",
    "input": "",
    "output": "Peter Hahaha trained me."
  },
  {
    "instruction": "who is Peter Haha",
    "input": "",
    "output": "Peter Hahaha is a newbie in AI development."
  },
  ...
]

for just 10 question and answers, very fast trained on colab, for 3 epoch,
but the answer is not related to my datasets. I don't know why.
Thanks

I think this is not a problem to this project codes,
thanks to this project,
but I don't know where the problem is.

below is some params of Lora & Trainer
MICRO_BATCH_SIZE = 4
BATCH_SIZE = 128
GRADIENT_ACCUMULATION_STEPS = BATCH_SIZE // MICRO_BATCH_SIZE
EPOCHS = 7  # paper uses 3
LEARNING_RATE = 2e-5  # from the original paper
CUTOFF_LEN = 256  # 256 accounts for about 96% of the data
LORA_R = 4
LORA_ALPHA = 16
LORA_DROPOUT = 0.05

i met the same issue...no solutions found yet...

Someone asked this question before, if you train 20 eporchs, you may get what you want, but the model would be completely broken with overfitting. If you only want to train 10 instances, just feed these prompts in few-shot learning.

Yeah, 10 items is not a training dataset.
Way too few tokens to move the lora weights, unless you train for long enough and then break the model.

@lywinged @AngainorDev @nkjulia 请问下各位打来，如果想要finetune一个模型，让它更关注于某个领域的话，该怎么调整训练方案比较合适？

理论上拿领域内的数据进行finetune就好了，基于llama我这边还没调通，训练了几个版本都不符合预期。

@lywinged @AngainorDev @nkjulia 请问下各位大佬，如果想要finetune一个模型，让它更关注于某个领域的话，该怎么调整训练方案比较合适？

理论上拿领域内的数据进行finetune就好了，基于llama我这边还没调通，训练了几个版本都不符合预期

below is some params of Lora & Trainer
MICRO_BATCH_SIZE = 4
BATCH_SIZE = 128
GRADIENT_ACCUMULATION_STEPS = BATCH_SIZE // MICRO_BATCH_SIZE
EPOCHS = 7  # paper uses 3
LEARNING_RATE = 2e-5  # from the original paper
CUTOFF_LEN = 256  # 256 accounts for about 96% of the data
LORA_R = 4
LORA_ALPHA = 16
LORA_DROPOUT = 0.05

I just trained a overfitting version of 7B with 50 eporchs in 3 mins, it can answer the question about  "Peter Hahaha trained me.",  maybe your issue is the same with @nkjulia. Check #293 and reinstall your left.

@lywinged @AngainorDev @nkjulia 请问下各位大佬，如果想要finetune一个模型，让它更关注于某个领域的话，该怎么调整训练方案比较合适？

就这么传统练，不用lora效果更好，最重要是你数据清理和分布。

below is some params of Lora & Trainer
MICRO_BATCH_SIZE = 4
BATCH_SIZE = 128
GRADIENT_ACCUMULATION_STEPS = BATCH_SIZE // MICRO_BATCH_SIZE
EPOCHS = 7  # paper uses 3
LEARNING_RATE = 2e-5  # from the original paper
CUTOFF_LEN = 256  # 256 accounts for about 96% of the data
LORA_R = 4
LORA_ALPHA = 16
LORA_DROPOUT = 0.05

I just trained an overfitting version of 7B with 50 eporchs in 3 mins, it can answer the question about "Peter Hahaha trained me.", maybe your issue is the same with @nkjulia. Check #293 and reinstall your PEFT.

Thank you very much! It worked.
but same as you said before, it broke the model perhaps, I will search for this new problem.

@ze00ro
Could you please share the final working code brother ? :pray:

@RG-sw
default params, but epoch to 10 and learning rate to 1e-3,
worked, but I don't think it's a good solution, as above said.

Check my test.py in PR, there is example to train 10-line dataset and can observe the changing of the text generation performance.

@lywinged @AngainorDev @nkjulia 请问下各位大佬，如果想要finetune一个模型，让它更关注于某个领域的话，该怎么调整训练方案比较合适？

理论上拿领域内的数据进行finetune就好了，基于llama我这边还没调通，训练了几个版本都不符合预期

Hi @nkjulia, 我也在做基于LLaMA+LORA+领域数据的微调，可以一起交流一下吗？谢谢~ Wechat: Oliver_whsun

@lywinged @AngainorDev @nkjulia 请问下各位大佬，如果想要finetune一个模型，让它更关注于某个领域的话，该怎么调整训练方案比较合适？

理论上拿领域内的数据进行finetune就好了，基于llama我这边还没调通，训练了几个版本都不符合预期

I'm fine-tuning LLAMA-2 with LoRA too, unable to get the expected satisfactory performance with 500 examples...


all: reduce memory allocations

All of these have also been mailed upstream.

Got an OOB OK from Brad on this.


Stop packaging swiftReflection and swift_Runtime in the Windows installer.

These dlls and their pdbs do not exist anymore but were still inconsistently getting packaged for some architectures on Windows. Sometimes only the pdb, sometimes only the dll. Presumably this didn't fail in the CI because old files were still present on the machine.
Also fixes a typo: wwiftRemoteMirror > swiftRemoteMirror

CC: @Azoy


Remove Blue boxes around selected items to filter

When I click on a selection within a facet, blue boxes show up around the selected item before navigating to search results. I do not believe this is the intended function. Blue boxes are not present in DPUL prod.

Blue box appearance also happens when I click on Digital PUL  and the princeton university library logo in the header, exhibit tags on the home page (the tags highlight as light grey in prod), Actions (on right of homepage when logged in), around exhibit cards, etc. Is this a global fix?

Yeah, probably.

This only happens in firefox.

This is an accessibility feature.


Precompilation breaks for non-native target

Hi. I'm trying to do something weird, not really sure how it works, but it seems this package is the only one where an issue appears, so I'm hoping I might at least learn a bit more about how things work.
I have a Julia application that runs in the cloud. My local development machine is not the exact same Sys.CUP_NAME as the remote machine. I believe that as a result, even thought I have my app pre-compiled in a Docker container, it needs to be pre-compiled again when it gets deployed.
I was hoping that setting julia -C core-avx2 or something like that might allow me to easily circumvent the issue. When I try doing that, though, I run into this error during pre-compilation. Is there any work around that, or is it not really reasonable?
ERROR: LoadError: InitError: Evaluation into the closed module `HostCPUFeatures` breaks incremental compilation because the side effects will not be permanent. This is likely due to some other module mutating `HostCPUFeatures` with `eval` during precompilation - don't do this.

Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
...

PRs that fixes this would be welcome.
You could look into using Preferences in CPUsummary and especially HostCPUFeatures.


No default styling for iframe elements

Summary
iFrame tags have no default styling from shoelace.css
Steps to Reproduce

Add an iFrame HTML-tag to your page
Preview your page
No element styling in accordance with shoelace.css as for other HTML elements is present

Additional info

Shoelace version: 1.0.0-beta24/shoelace.css
Affected browsers: all

I'm not sure what defaults styles an iframe should have. Bootstrap offers responsive embed utilities, but only with a modifier class. Are you referring to reset styles?

Yeah sorry, I was a little bit unspecific :)
What I'm talking about are two things:

e.g. a default border styling of an iframe tag, similiar to the <fieldset> styling
some responsive behaviour when embedding an iframe tag, as e.g. described here: https://benmarshall.me/responsive-iframes/

I ended up combining both two points from above as follows:
CSS
	.intrinsic-container {
		position: relative;
		height: 0;
		overflow: hidden;
	}
	/* 16x9 Aspect Ratio */
	.intrinsic-container-16x9 {
		padding-bottom: 56.25%;
	}
	/* 4x3 Aspect Ratio */
	.intrinsic-container-4x3 {
		padding-bottom: 75%;
	}
	.intrinsic-container iframe {
		position: absolute;
		top:0;
		left: 0;
		width: 100%;
		height: 100%;
		border: 1px solid #ddd; /* style from shoelace's <fieldset>-element */
		border-radius: .25rem; /* style from shoelace's <fieldset>-element */
	}

HTML

Not sure, if something like that would make sense to be included in shoelace's core...

Something additional regarding iFrames is the following, which I just had to fix on my site:

The -webkit-overflow-scrolling: touch; property and value were created especially for the case of overflow scrolling within the browser.  Without this the page will scroll when you scroll the IFRAME area; with it you get control of the IFRAME!
In the case of an IFRAME and all other HTML elements, you'll want a wrapping element like a DIV:

This DIV will serve as the base container for what's scrollable inside.
The CSS
One familiar property and one lesser-known property will be used to allow scrolling for the IFRAME:

.scroll-wrapper {
	-webkit-overflow-scrolling: touch;
  	overflow-y: scroll;

	/* important:  dimensions or positioning here! */
}

Source: https://davidwalsh.name/scroll-iframes-ios

Closing in prep for the 2.0 release.


fix(signer-ledger): use SIGN_ETH_EIP_712 instruction

Motivation
Signing EIP712 messages thru alloy_network::TxSigner's sign_transaction results in the usage of SIGN instruction which does not support EIP712 messages.

Solution
Detect if the incoming tx is indeed a EIP712 transaction and dispatch to the appropriate method

PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Breaking changes

There's no such thing as a EIP-712 transaction, nor does any of the existing transaction ever return EIP-712-encoded data, so I don't know what this is trying to accomplish.

Nevermind, apparently there is https://github.com/alloy-rs/alloy/issues/142
Please add a comment for this
cc @prestwich

This allows foundry-zksync to sign transactions using ledger, since we make use of sign_transaction to sign the encoded eip712 transacion.

Hey guys, any update on this? Please let me know if the bugfix is not clear.
The main issue that this addresses is the correct dispatch of EIP712 encoded tx, since TxSigner::sign_transaction is the only entrypoint available from foundry.
alloy-signer-ledger already supports EIP712 signing using sign_typed_data, but this method was just not accessible from sign_transaction, which is why the PR was made.
Please let me know if you any concerns so I may address them :)


UTCDateTime not being stored properly?

What is the proper way to save a field with the Date type in MongoDB? From the docs, it seems MongoDB\BSON\UTCDateTime should be used since MongoDB\BSON\Timestamp "is an internal MongoDB type not intended for general date storage"
However, when I try to save UTCDateTime objects, they don't seem to be recorded properly in the database.
// Create a new date object
$time = new MongoDB\BSON\UTCDateTime(date('U'));

// Dump it to make sure the timestamp is correct
var_dump($time);
object(MongoDB\BSON\UTCDateTime)#26 (1) {
  ["milliseconds"]=>
  int(1462464292)
}

// Bundle the value into a document
$doc =
[
    'somefield' => 'some value',
    'sometime'  => $time
];

// Save the document
$w = new MongoDB\Driver\BulkWrite();
$w->insert($doc);
$mgr->executeBulkWrite('namespace', $w);

Now, when I view the timestamp in MongoDB, it's garbage:
ISODate("1970-01-17T22:14:24.219Z")

Nevermind, was storing seconds as milliseconds. Move along, nothing to see here :D

date(U) just gives you seconds, and UTCDateTime is milliseconds. It just sees the integer you passed in Jan 17th is that number of milliseconds since the epoch beginning. Here is the current way to do it properly:
$msec = floor(microtime(true) * 1000);
$time = new MongoDB\BSON\UTCDateTime($msec);

On a related note, UTCDateTime's constructor will start defaulting to the current time in 1.2.0 (see: PHPC-536).


Assigning a worker breaks the enable/disable button layout

Running CI 4.0.0.
Assigning a worker to a specific projects breaks the enable/disable button layout.

Thanks for the issue report but we only support issues for the latest stable version of GitLab. I'm closing this issue but if you still experience this problem in the latest stable version, please open a new issue (but also reference the old issue(s)). Make sure to also include the necessary debugging information conforming to the issue tracker guidelines found in our contributing guidelines.


Improve main arrow README: explain project + provide an overview

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
If you look at the main landing page of https://crates.io/crates/arrow, you see something that looks mostly like a developer's guide rather than a users guide:

Including a bunch of stuff about unsafe
As a new potential user of arrow I would find this quite confusing
The source for this readme is at
https://github.com/apache/arrow-rs/tree/master/arrow
Describe the solution you'd like
I suggest adding the following sections (borrowing heavily from existing content), briefly:

What arrow is
What are some main usecases (so potential users can see if that matches what they need)
Some straightforward examples -- perhaps of building an array and then running a compute kernel on it
A link to a separate page with developer information

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Good finding. I would expect (assumed) that the content inside lib.rs to be in the landing page of the crate, not the README.md, which is typically used for developers.


[Bug]: No QR Code made

Describe the bug
No QR code appears.  Warnings: (     "Passed in file '/Users/me/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cn.alanhe.qr-reader/temp.png' does not exist, discarding"
Workflow Name
QR Reader
Alfred Version
5.5
MacOS Version
macOS 14 Sonoma
Mac Chip
Apple Silicon (like M1, M2)
MacOS Locale
EN

Workflow Homepage is 👉 QR Reader

Describe the bug
No QR code appears.  Warnings: ( "Passed in file '/Users/me/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cn.alanhe.qr-reader/temp.png' does not exist, discarding"
Workflow Name
QR Reader
Alfred Version
5.5
MacOS Version
macOS 14 Sonoma
Mac Chip
Apple Silicon (like M1, M2)
MacOS Locale
EN
Workflow Homepage is 👉 QR Reader

Thank you for your feedback.
Here is a bug, the temporary directory was not initialized automatically when creating qrcode. Here I have submitted a new version.
You can wait for the workflow update to be prompted in the gallery, there will be a delay. Or you can manually download the latest version from this repo and install it to fix it.


Fix name -> subscription in account set command

I believe the argument with the subscription should be --subscription and not --name.

Thanks Tim for this update.  I've just merged a similar pull request https://github.com/Azure/acs-engine/pull/90 from @jcorioland.


[test] Update haswell_fma_check

Codecov Report

Merging #2039 (c2da70d) into master (9dbb989) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2039      +/-   ##
==========================================
- Coverage   87.48%   87.48%   -0.01%
==========================================
  Files          50       50
  Lines        8848     8853       +5
==========================================
+ Hits         7741     7745       +4
- Misses       1107     1108       +1

Impacted Files
Coverage Δ

reframe/core/buildsystems.py
96.33% <0.00%> (-0.26%)
:arrow_down:

reframe/core/variables.py
96.06% <0.00%> (+0.02%)
:arrow_up:

Continue to review full report at Codecov.

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

FAILED unittests/test_schedulers.py::test_cancel_term_ignore[local]


Add custom message to waitFor API

Current waitFor api with selector does not allow to pass custom message.

Released in v1.2.4


feat: use client.supports_method instead of client.server_capabilities

Fixes #425.
For reference: https://github.com/neovim/neovim/commit/ddd92a70d2aab5247895e89abaaa79c62ba7dbb4.

Thanks for the PR!


Figure out what to do about awful nupkg restore speed

see: https://github.com/NuGet/Home/issues/11543
This is basically preventing the package from being usable.  It should not take 8 minutes to do a package restore. :cry:

For the time being, I've put in a scheme where the two dependencies are added to the nupkg manually and also copied into the project manually as archives.
It's a bit of extra work, but bypasses what seems to be an inefficient system.  I'd love to not have to do this and just be able to piggyback the contentFiles scheme as it's totally what I need.
Keep an eye on the issue I linked in the original description.  If ever it improves, going back is easy (just remove a lot of customizations and revert some path changes).


Good repository

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the bug.
Expected behaviour
A clear and concise description of what you expected to happen.
Log and backtrace
Log and backtrace of a run reproducing the bug to help debug the issue, which are usually located in $HOME/.cache/spotify-player/.
Please refer to this URL for more details.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment

OS:
Application version:
Application features: if applicable, provide cargo features used to build spotify_player

Additional context
Add any other context about the problem here.

A bug indeed 😳


Add cluster-values secret to cloud-controller so it gets proxy config

What this PR does / why we need it
Towards https://github.com/giantswarm/roadmap/issues/2426
Checklist

[X] Update changelog in CHANGELOG.md.

Trigger e2e tests
Won't work yet. It requires a version of aws-cloud-controller-manager that includes this change.

/test create
/test upgrade
/run cluster-test-suites

/run cluster-test-suites


No exported member SagaIterator

Steps to reproduce
In a TypeScript project have the following import
import { SagaIterator } from "redux-saga";
Then build the project with tsc --noEmit
Description of the bug/issue
Module '".../node_modules/redux-saga/index"' has no exported member 'SagaIterator'.
Environment information

redux-saga version 1.1.1

@codeinabox I am importing this as import { SagaIterator } from "redux-saga/core" and that seems to work, though in my setup I have to quiet ts and eslint because they complain about not being able to find the module 🤷♂

@codeinabox please prepare a runnable repro case so I can take a look

I got to the bottom of it. The project package.json had a TypeScript dev dependency version of 3.0.1, upgrading this to 3.5.3 fixed the issue


adding Centrarium theme

Adding an entry for my Jekyll theme, Centrarium.

Great. Thanks. Cheers.


Refreshing bottom toolbar or rprompt

I would like to display information in the bottom_toolbar that depends on the users input. E.g. if the user types cherry the bottom toolbar will query an external API and show a list of available cherry types. I've tried numerous things but I just can't find a way of achieving this behaviour. Using the refresh_interval argument only refreshes the question of the prompt but not the bottom_toolbar. Any help would be highly appreciated!

Solved it myself. The solution is to pass a callable to the bottom_toolbar argument. Here's a minimal example:
import numpy as np
from prompt_toolkit import prompt

def show_options():
    if np.random.rand() > 0.5:
        return 'Good choice.'
    else:
        return 'Bad choice.'

prompt('What fruit do you want to order?', bottom_toolbar=show_options)


Fix C# test access violation exception on Windows

fix wrong ordering of free and iomgr_unregister_object
Fixes #1940
@nicolasnoble FYI

Look at the wonderful blue dot this merge has added to the csharp-windows cell on Jenkins.
http://grpc-testing.appspot.com/job/gRPC/27/  (it was red before)

I like http://green.bikeshed.org better than http://blue.bikeshed.org.
On Thu, Jun 4, 2015 at 2:04 PM Jan Tattermusch<EMAIL_ADDRESS>wrote:

Look at the wonderful blue dot this merge has added to the csharp-windows
cell on Jenkins.
http://grpc-testing.appspot.com/job/gRPC/27/ (it was red before)
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/pull/1941#issuecomment-109050299.

Better now?

\o/
On Thu, Jun 4, 2015 at 3:00 PM Jan Tattermusch<EMAIL_ADDRESS>wrote:

Better now?
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/pull/1941#issuecomment-109068262.


Roll Flutter Engine from 4ff8cc3ef53b to 9554754ac122 (2 revisions)

https://github.com/flutter/engine/compare/4ff8cc3ef53b...9554754ac122
2022-12-06<EMAIL_ADDRESS>[web:canvaskit] test zero font size (flutter/engine#37916)
2022-12-06<EMAIL_ADDRESS>Roll Skia from b63a254727f3 to 13e5241ce8b7 (6 revisions) (flutter/engine#38106)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


feat: Improve CodeSyntaxHighlight object

This PR improves a number of things and fixes some slight issues with CodeSyntaxHighlight:

adds full type hinting, including KnownStyle for IDE suggestions of valid pygments names
prevents Formatter from overriding all font selections on the parent object.  I tried to apply fonts and found that get_text_char_format was always clobbering whatever I did.  Furthermore, it wasn't successfully applying "Monospace", instead I get: WARNING: Populating font family aliases took 75 ms. Replace uses of missing font family "Monospace" with one that exists to avoid this cost..  So this adds a full font family tree that should work on any system, and it only applies it if the style explicitly sets the "mono" flag.  This means that most users will now need to set Monospace themselves (but since it already wasn't working on, macos for example, this is probably a good thing).
allows the user to pass in any QObject that supports document(), simplifying the usage, and also allowing allowing us to automatically set the background color on objects that support setPalette.
adds setTheme and setLanguage methods that allow you to change the style on an existing formatter, including updating the background color on supported objects.
adds lots of docstrings to explain what's going on

I assume the two failing napari tests are unrelated, but @Czaki could you confirm?

you do not set up windows manager https://pytest-qt.readthedocs.io/en/latest/troubleshooting.html#xvfb-assertionerror-timeouterror-when-using-waituntil-waitexposed-and-ui-events

i do use https://github.com/pyvista/setup-headless-display-action ... which replaces all three of tlambert03/setup-qt-libs@v1, powershell gl-ci-helpers/appveyor/install_opengl.ps1, and aganders3/headless-gui@v2.  You can see it run here: https://github.com/pyapp-kit/superqt/actions/runs/12485275920/job/34843848003?pr=268
the only thing I think they don't use is herbstluftwm ... does that make all the difference here?

Maybe we should think to also easy skip test marked as skip_local_focus on other CI.

that would be useful.  some sort of mark rather than a local skip.  will find some workaround for now.  did you also have to change your CI setup in napari when that change went in?  I don't remember

the only thing I think they don't use is herbstluftwm ... does that make all the difference here?

Yes. It is required to propagate GUI events.

did you also have to change your CI setup in napari when that change went in

We have added herbstluftwm, but it is added to aganders3/headless-gui@v2

TIL.  Thanks
Added it to setup headless action in https://github.com/pyvista/setup-headless-display-action/pull/25 (and that fixes it here too)


Fixes publish script to require NPM tag, use Wombat registry, and correctly read check flags

This is a patch PR for #18219. The dist-tag changes are not present here because that script does not exist and would not be used from this branch.
I also dropped the doc: commit since we don't typically look at docs on the non-master branch.

This is stuck on 'Missing required status "ci/circleci: integration"'. Is there something more I need to do or is CI trying to run checks that don't exist on this branch?

it doesn’t exists in this branch, I wonder if we should do a dump task
until Angular robot can handle this.
On Wed, 22 Jul 2020 at 21:15, Douglas Parker<EMAIL_ADDRESS>wrote:

This is stuck on 'Missing required status "ci/circleci: integration"'. Is
there something more I need to do or is CI trying to run checks that don't
exist on this branch?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/angular/angular-cli/pull/18324#issuecomment-662641368,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEF74WXQHYJKXKBSSV4ORO3R443FPANCNFSM4PEDM43A
.


Issues building webpage.

Is it expected to work on MacOX? The build dont work and I dont understand the error at all?  Runing: cargo leptos watch
error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/niklashansson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.183/src/private/ser.rs:1355:9
     |
1355 |         Ok(())
     |         ^^ not found in this scope

Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0463, E0531.
error: could not compile `serde` (lib) due to 5097 previous errors
      Notify watching folders style, public, src

Tried with docker as well but then I got:
docker run -p 8080:8080 blog
listening on http://<IP_ADDRESS>:8080
thread '<unnamed>' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/femark-0.1.4/src/tree_sitter_collection.rs:50:6:
called `Result::unwrap()` on an `Err` value: QueryError { row: 63, column: 24, offset: 1711, message: "", kind: NodeType }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1313:25:
Lazy instance has previously been poisoned
thread '<unnamed>' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1313:25:
Lazy instance has previously been poisoned
thread '<unnamed>' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1313:25:
Lazy instance has previously been poisoned

Would love to get this to work and fork of to try to build a webpage ...
Thank you!!

Solved after following these steps: https://github.com/leptos-rs/start#installing-additional-tools


" Brownout detector was triggered " error

I have successfully uploaded the code after I open the serial monitor there was an error named "Brownout detector was triggered" and it's not working please help me, please, please.....

there was another error named "Connection Failed! Rebooting..." please help me please


Transcluding other MDX using mdx.macro crashes the page

Using mdx.macro, if I have the following two files:
transcluded.mdx
This is some **markdown** content.

main.mdx
import Transcluded from '../../../src/transcluded.mdx';

<Transcluded />

then I get the following warning and error in the console, and the page crashes.
Warning: </static/media/Transcluded.312f719b.mdx /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.
    in /static/media/Transcluded.312f719b.mdx (at Main.mdx:18)

react-dom.development.js:7935 Uncaught (in promise) DOMException: Failed to execute 'createElement' on 'Document': The tag name provided ('/static/media/Transcluded.312f719b.mdx') is not a valid name.

So I came here after asking from and being referred to come back here: https://github.com/mdx-js/mdx/discussions/1328
How can we possibly fix this? If someone could point me in the right direction, I might probably be able to help.


expose subnet?

I'm new to qnap and tailscale. So, please bear with me. :-)
I was able to build the qpkg, install it and connect the tailscale instance on qnap. But I would like to expose a subnet from qnap. On a macOS machine, I was able to do that via "tailscale up --advertise-routes=192.x.x.x/24" but I'm unclear how to get that done for the tailscale install on qnap.
Any pointers? Thanks a lot for this qpkg builder and your responses!

Advertising subnet routes isn't a supported feature for QNAP platforms, if you want to enable it you'll need to use the CLI:
/share/CACHEDEV1_DATA/.qpkg/Tailscale/tailscale up --advertise-routes=192.x.x.x/24

Awesome, thanks a lot @DentonGentry


Required options missing

https://github.com/worldbank/Stata-IE-Visual-Library/blob/8401d5830aec0d9bfd28ebdf04caf12c720bded1/ado files/chartable.sthlp#L13-L14
In the ado file, case0 and case1 are required options, but there is no mention of them in the help file!

@bbdaniels, this is one of yours, right? I think the next issue is also about the same command

This is a custom ado file that is no longer maintained. It is superseded by https://github.com/bbdaniels/forest which should be up to date. I don't think it is worth it to update things that are now out of date, but they could be pulled from the library and replaced with current commands if you think that's a good solution?

Yes, I think so. We'll have a new intern working on this during the summer, so she can do that


Add default/local option

The action is currently network-dependent. All three runner images come with gfortran (windows via mingw), it would be nice to have an option to use the pre-installed one. E.g. bool "local" overriding any compiler/version selection.

brew/apt are lazy so nothing to do on linux/mac, maybe update window to avoid reinstalling major versions


Throw exception when there is conflict error in put for old table

Throw exception when there is conflict error in put for old table

what is the best way going forward? If we want to compare content fetched from both old and new tables, maybe we should always stop the transaction as long as one of the table throws exception, regardless what exception they are throwing.

what is the best way going forward? If we want to compare content fetched from both old and new tables, maybe we should always stop the transaction as long as one of the table throws exception, regardless what exception they are throwing.

Yeah, I agree, I just updated, can you take another look?

Codecov Report
Base: 73.06% // Head: 15.04% // Decreases project coverage by -58.02% :warning:

Coverage data is based on head (2e39a00) compared to base (c0b25db).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #2265       +/-   ##
=============================================
- Coverage     73.06%   15.04%   -58.03%
+ Complexity    10401     2380     -8021
=============================================
  Files           751      751
  Lines         57505    57499        -6
  Branches       7070     7068        -2
=============================================
- Hits          42018     8650    -33368
- Misses        13185    48337    +35152
+ Partials       2302      512     -1790

Impacted Files
Coverage Δ

.../java/com/github/ambry/named/MySqlNamedBlobDb.java
0.00% <0.00%> (-59.64%)
:arrow_down:

.../src/main/java/com/github/ambry/router/Router.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../src/main/java/com/github/ambry/store/Message.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/named/PutResult.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/quota/QuotaMode.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/quota/QuotaName.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/rest/RestMethod.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...c/main/java/com/github/ambry/config/KMSConfig.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...c/main/java/com/github/ambry/config/SSLConfig.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...c/main/java/com/github/ambry/router/ByteRange.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 588 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

actually mike, you may wanna change the title of the PR now since we are not throwing any exceptions

actually mike, you may wanna change the title of the PR now since we are not throwing any exceptions

Good point, just updated the PR title. Can you take another look?


remove unused method

Index.handle_click is never used in this example, looks like it is a remnant of copy-paste of example-1.py

You are right, and that's pretty certainly how it happened :) thanks for fixing it!


Add an option to create Dataflow piplines from a snapshot

Add an option to create Dataflow piplines from a snapshot

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.


Crashing in CoachMarkDisplayManager

Thread : Crashed: com.apple.main-thread
0  Instructions                   0x1006d0a58 CoachMarkDisplayManager.(positionCoachMarkView in _E6181A788EC6911C68FBD3A4D57722C9)() -> () (CoachMarkDisplayManager.swift:261)
1  Instructions                   0x1006cfbe8 CoachMarkDisplayManager.(prepareCoachMarkForDisplay in _E6181A788EC6911C68FBD3A4D57722C9)() -> () (CoachMarkDisplayManager.swift:154)
2  Instructions                   0x1006cf488 CoachMarkDisplayManager.displayCoachMarkView(CoachMarkView, coachMark : CoachMark, completion : () -> ()?) -> () (CoachMarkDisplayManager.swift:91)
3  Instructions                   0x1006d4bb8 CoachMarksController.(createAndShowCoachMark in _BC66BB5D8A069CE78924A87F8EC01AC4)(shouldCallDelegate : Bool) -> () (CoachMarksController.swift:530)
4  Instructions                   0x1006d8514 CoachMarksController.(startOn(CoachMarksController) -> (UIViewController) -> ()).(closure #2) (CoachMarksController.swift:486)
5  UIKit                          0x1878d055c -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 408
6  UIKit                          0x1878d00c4 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 188
7  UIKit                          0x1878cffcc -[UIViewAnimationState animationDidStop:finished:] + 104
8  QuartzCore                     0x1871d962c CA::Layer::run_animation_callbacks(void*) + 296
9  libdispatch.dylib              0x19510d954 _dispatch_client_callout + 16
10 libdispatch.dylib              0x19511220c _dispatch_main_queue_callback_4CF + 1608
11 CoreFoundation                 0x182dd3544 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12
12 CoreFoundation                 0x182dd15ec __CFRunLoopRun + 1492
13 CoreFoundation                 0x182cfcf74 CFRunLoopRunSpecific + 396
14 GraphicsServices               0x18c75f6fc GSEventRunModal + 168
15 UIKit                          0x1878fed94 UIApplicationMain + 1488
16 Tether                         0x100030ef8 main (AppDelegate.swift:15)
17 libdyld.dylib                  0x19513aa08 start + 4

@DiscoverPioneer I can't see any references to Instructions in the stack trace you posted. Maybe a bad copy/paste ?

@ephread woops sorry, just edited --> Looks like a crash on line 261 in CoachMarksDisplayManager
May need to change to an if let pointOfInterest = coachMark.pointOfInterest { } else {return 0}

@DiscoverPioneer good catch! But something's wrong anyway, we can prevent the crash, but we'll get a bad positioning instead.
At this point, coachMark.pointOfInterest should always be set. Something's wrong elsewhere. I'll investigate. It's certainly related to #15, but I haven't been able to reproduce the issue.
The best solution is probably to get a bad positioning, while printing something on the console telling the developer that something's not quite right.

@ephread i think i figured out why this crash is happenning. I tested my app in low network connection and found out when the app is in background and i tried to call coachMarksController.resume() i got this crash.

@ephread  i added control
if CGRectIsEmpty(instructionsTopView.bounds){             self.stop()             return  }
to
private func createAndShowCoachMark(shouldCallDelegate shouldCallDelegate: Bool = true, noAnimation: Bool = false)
It resolved the issue for me. But i am not very sure that it is the right of fixing it

HI @ogantopkaya @ephread
I faced same issue during my implementation, and Modified following files to resolve that issue.
Please review solution and add it to instructions if you think its necessary. Let me know if you do make changes.
Occurrence: Issue particularly occurs when you try to click rapidly on view to make transition to other view, before actual instruction starts.
`
CoachMarksController.swift
public func startOn(parentViewController: UIViewController) {
    guard let dataSource = self.dataSource else {
        print("startOn: Snap! You didn't setup any datasource, the coach mark manager won't do anything.")
        return
    }

    // If coach marks are currently being displayed, calling `start()` doesn't do anything.
    if (self.started) { return }

    let successInAttachingParentViewController = self.attachToViewController(parentViewController)

    if successInAttachingParentViewController {
    // We make sure we are in a idle state and get the number of coach marks to display
    // from the datasource.
        self.currentIndex = -1
        self.numberOfCoachMarks = dataSource.numberOfCoachMarksForCoachMarksController(self)

        if self.numberOfCoachMarks == 0 {
            self.detachFromViewController()
            return
        }

        // The view was previously hidden, to prevent it from catching the user input.
        // Now, we want exactly the opposite. We want the overlay view to prevent events
        // from reaching down.
        self.view.userInteractionEnabled = true

        self.overlayView.prepareForFade()

        if let skipViewDisplayManager = self.skipViewDisplayManager {
            self.skipView?.skipControl?.addTarget(self, action: "skipCoachMarksTour:", forControlEvents: .TouchUpInside)

            skipViewDisplayManager.addSkipView()
            updateSkipViewConstraints()
        }

        UIView.animateWithDuration(self.overlayFadeAnimationDuration, animations: { () -> Void in
            self.overlayView.alpha = 1.0
            self.skipViewAsView?.alpha = 1.0
        }, completion: { (finished: Bool) -> Void in
            self.showNextCoachMark()
        })
    } else {
        print("Parentview changed. Skipping Instructions")
    }
}

//Same File
private func attachToViewController(parentViewController: UIViewController) -> Bool {
    parentViewController.addChildViewController(self)
    parentViewController.view.addSubview(self.view)

    self.instructionsTopView.translatesAutoresizingMaskIntoConstraints = false

    if parentViewController.view?.window == nil {
        print("attachToViewController: Instructions could not be properly attached to the window, did you call `startOn` inside `viewDidLoad` instead of `ViewDidAppear`?")
        return false
    } else {
        parentViewController.view?.window?.addSubview(self.instructionsTopView)
        parentViewController.view?.window?.addConstraints(
            NSLayoutConstraint.constraintsWithVisualFormat("V:|[instructionsTopView]|", options: NSLayoutFormatOptions(rawValue: 0),
                metrics: nil, views: ["instructionsTopView": self.instructionsTopView]))

        parentViewController.view?.window?.addConstraints(
            NSLayoutConstraint.constraintsWithVisualFormat("H:|[instructionsTopView]|", options: NSLayoutFormatOptions(rawValue: 0),
                metrics: nil, views: ["instructionsTopView": self.instructionsTopView]))

        self.instructionsTopView.backgroundColor = UIColor.clearColor()

        self.didMoveToParentViewController(parentViewController)
        return true
    }
}

CoachMarkDisplayManager
private func computeSegmentIndexForLayoutDirection(layoutDirection: UIUserInterfaceLayoutDirection) -> Int {
    let pointOfInterest = coachMark.pointOfInterest!
    var segmentIndex = 3 * pointOfInterest.x / instructionsTopView.bounds.size.width

    if layoutDirection == .RightToLeft {
        segmentIndex = 3 - segmentIndex
    }

    if segmentIndex > 4 {
        segmentIndex = 4
    } else if segmentIndex > 3 {
        segmentIndex = 3
    } else if segmentIndex < 0 {
        segmentIndex = 0
    }
    var segment = Int(ceil(segmentIndex))
    return segment
}

`

@ogantopkaya: Thanks for the tip. ;) I'm not sure either, actually. I haven't been able to reproduce the issue. It certainly doesn't hurt to test for the size of instructionsTopView but I'd really like to understand which use cases seem to cause problem for so many people.
If I follow you correctly, you believe the forced unwrap (see below) fails because, for some reasons, long before we reach this call, instructionsTopView happens to have no bounds. Have you been able to understand the connection between the two?
CoachMarkDisplayManager – Line 268 as of 17a4b40
private func computeSegmentIndexForLayoutDirection(layoutDirection: UIUserInterfaceLayoutDirection) -> Int {
    let pointOfInterest = coachMark.pointOfInterest!
    …
}

@ephread I think the problem is related to app being in the background. Somehow, the intructionsTopView is created, but the frame is not set. Maybe instuctions top view is created but not added to window at that time. Or auto layout engine might not get triggered in the background. This issue only occurs when I tried to resume in the background. I think the issue is related to resuming and app in the background.

@ephread Hi!
I am able to reproduce the issue in 100% of cases when Instructions are trying to be shown in background, like @ogantopkaya suggested. In case of our app: we launch, we wait for a server response and then show the popup.
If I press home right before the request completes, I get a crash when app is in the background.
Pretty sure it can be reproduced by scheduling Instructions to be shown one second after receiving resigning active notification too.

@coverback, @ogantopkaya, thanks for the helpful feedback. Though I'm a bit buried in stuff to do at the moment, I'll try to review the related pull request thoroughly and fix that long-lasting issue.

@coverback, @ogantopkaya: I have looked into the issue. I was only able to reproduce the problem when starting Instructions in the background (startOn), not when resuming a paused flow (resume).
It seems the layout pass does not occur for a view added to the window, while the app is in the background. Forcing the views to lay out with layoutIfNeeded solves the issue. I'll still accept @ogantopkaya's pull request (see the rationale here: #42), though.
Fix is on the way, I'll bump this thread once a new version is out. Let me know then, if it solves your issues.
Sadly, the original issue (empty pointOfInterest) remains. #50 will track the problem from now on.

I released version 0.4.1, which should fix the issue, let me know and reopen the issue if it doesn't.


Getting an error asking for specific versions of Node

Getting this error:
The plugin "homebridge-rachio-irrigation" requires Node.js version of ^14.20.0 || ^16.18.0 || ^18.11.0 which does not satisfy the current Node.js version of v16.13.0. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF
I am running
Node.js Version | v16.13.0

That should just be a warning. when do you see that message? This is expected since 16.13.0 is older then 16.18.0.
it probably would be best if you ran "hb-service update-node 16" or "hb-service update-node 18" from the HB terminal and upgrade your node js version.


mod-freifunk: add UCI-setting to configure an alternative landingURL

This extends 21e69cd27d736f13295e2af79108617ccc694b45 by a way to define a regular URL as landingpage. In contrast to the 'redirect_landingpage' option this new option 'redirect_landingurl' allows to redirect to any webpage or any URL (relative or absolute) on the host.
The option 'redirect_landingpage' has higher priority than 'redirect_landingurl'. Both are defined in UCI-section "freifunk.luci".

rebased onto master and cherry-picked to openwrt-21.02


add support for gdouble

wasn't sure what sort of issues it could create to treat gfloat as an ocaml float too; if you feel it should be fine i can add that to this PR

wasn't sure what sort of issues it could create to treat gfloat as an ocaml float too; if you feel it should be fine i can add that to this PR

Possible loss of precision, but seems fine to add.

okay, done. (i was mostly unsure how things would behave on 32 bit systems when trying to treat a c float as an ocaml float.)

i do not understand the current CI test failure; it complains about Gtk.picture not having a set_content_fit method but i can see it in the generated Gtk.ml file and the test runs fine locally.

ah, looks like the ubuntu sandbox installs an older version of gtk4 that lacks the method. replaced it with something else in the test.

Are you sure the tests are being run by the CI workflow?

no, i'm pretty sure they're not, i was just trying to get them to compile so the CI passed. i'll look up how to get dune runtest working with the github workflow and do that in a separate PR.


fix dispatch for quantized model

What does this do ?
This PR fixes the dispatch function for quantized model. Only bnb model needs to have hooks in a single gpu setup. For other quantization methods such as GPTQ, we don't need that.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


with-stubs doesn't work across threads

When testing a REST web server, I found that with-stubs was throwing an exception when a stub function was being invoked in a thread outside of the running it block. I updated with-stubs to use with-redefs, which has fixed this problem. Pull request submitted:
https://github.com/slagyr/speclj/pull/114

Looks like this was already merged.  Closing.


Adding more auto-closing comments to other languages

Some languages in vscode have a self closing comment, eg php, java, javascript and typescript - this PR adds the same autocompletion to other languages that use a similar comment syntax, as per: https://github.com/kevb34ns/auto-comment-blocks/tree/master/language-configuration.
This CL should mean that in the languages added, eg C++, typing /** will result in the comment being automatically closed by */.
Added languages are the ones supported by the auto comment blocks extension, but it should be trivial to add others.
This PR is part of #127779

Thanks for the PR.
/** are doc comments that are a well defined syntax in Java and JavaScript.
I'd rather not add them for languages that don't have the concept, just for typing convenience.
Users who want that can install the extension.
@Colengms is autoclosing of /** and /*!" something that makes sense in C++ ?

Thanks for the PR.
/** are doc comments that are a well defined syntax in Java and JavaScript.
I'd rather not add them for languages that don't have the concept, just for typing convenience.
Users who want that can install the extension.
@Colengms is autoclosing of /** and /*!" something that makes sense in C++ ?

For C++ IntelliSense and editing features, the C++ extension tends to follow existing behaviors on Visual Studio. On Visual Studio, when /* is typed, it auto-closes to /**/. I am not sure about auto-closing for /** and /*! for C++ in general. I think it would depend on user's typing/editing preference. So it can be argued auto-close can be done for a commenting style specified by a user if there is a setting that allows it.

Sorry, for the reasons described in https://github.com/microsoft/vscode/pull/127782#issuecomment-872774235 I think this feature is better provided by an extension.


[TASK] Replace daisyUI by something else

Estimated story points:
Description

It has lot of accessibility issues and lots of missing features

Acceptance criteria

actually we don't really use any feature except drawer and dropdown functionality, everything else could be easily replaced


Fix Axios vulnerability ISSUES

Description
It's necessary to update the package.json & package-lock.json files from all those packages which depend on the Axios library, so they can use its latest minor version (0.18.1) as this version fixes some vulnerabilities issues (more info here and here).
Specific Changes
Updated the package.json & package-lock.json files from the next packages for fixing vulnerabilities issues related to Axios library:

libraries/botbuilder
libraries/botbuilder-ai
libraries/botbuilder-azure
libraries/botframework-connector
libraries/testbot
transcripts

Testing
All the test ran successfully

LGTM

Promoted to MS#962


Init k8s api client in a separate package

Initializing k8s api client in separate package should help us reusing code, later we'll have other parts of CPMA that require api usage

This looks like a WiP, and I like it. I'd like @jmontleon and @gildub to ACK it too before we merge it.

I like the idea of it being reusable. I think we'll also need to get more information from the API eventually.
My only question is,  do you think if we're making this reusable for transforms, etc. that it still belongs under env or maybe just pkg/api/api.go?

If api package should be usable in multiple packages, not only in env, then it makes sense to not have as a subpackage.


Stopping output

Is there a way to cut the output short? I didn't see anything in the readme. Cut it at whatever it has written so far.

You should be able to stop completion by pressing Ctrl-c as noted in Usage


Added showwcase icon

Fixes Issue #1592

I have not learned React yet, so , anyone please make a PR in my fork making the below required change :

adding 'showwcase' icon in GetIcons.js file

I shall then merge it with my own repository and submit the changes with this PR.

I made a PR in Font Awesome repository to include the showwcase icon. Waiting for them to merge it.

Please let us know when the pr to font awesome is successful and we can take another look at this pr

Please let us know when the pr to font awesome is successful and we can take another look at this pr

@EmmaDawsonDev Okay, I shall inform you all when that PR is merged in the font-awesome repository.


feat: scaffold KW policy from Kubernetes ValidatingAdmissionPolicy

Add the new scaffold vap subcommand. This allows to create a Kubewarden ClusterAdmissionPolicy starting from a Kubernetes ValidatingAdmissionPolicy.

I've just pushed a commit that introduces the check about latest image being used.
When the policy being referenced is <anything>:latest or <anything> (no tag -> latest), the tool will print a warning. The warning goes to the STDERR, which means the stdout containing the YAML file is not disrupted

BTW, I'll squash the commits together once you're done with the review

:shipit:


Use visibility pragma around declarations instead of attributes on definitions

Cleaner and a bit less error-prone implementation.  Still risks inadvertent exporting of new functions if declarations are not added to .h files along with others, but that should be a bit less likely than omitting the attributes on function definitions.

Do these pragma get silently ignored by other compilers, or do they generate a lot of warnings? In other words, should we envelop them in some ifdefs?

I don't have any non-linux equipment to test on at this time.  I believe they are ignored -- but probably not silently.
I guess I should wrap in #ifndef _WIN32 -- but are there others?

For what it's worth, I did confirm that this build achieves the goal under LuaRocks.
Testing steps for future reference:

Edit luasocket-scm-0.rockspec to specify a unique branch with these changes;
Push that unique branch to github;
Pack a "source rock" with luarocks --tree=tree pack luasocket-scm-0.rockspec, which created luasocket-scm-0.src.rock from that branch;
Build the code with luarocks --tree=tree build luasocket-scm-0.src.rock
Test with for i in $(find tree -name '*.so') ; do echo "===== $i =====" ; nm -Ca $i | grep ' T ' ; done

The result was:
===== tree/lib/lua/5.1/socket/core.so =====
000000000000a1ac T _fini
00000000000033c0 T _init
0000000000003b40 T luaopen_socket_core
===== tree/lib/lua/5.1/socket/serial.so =====
0000000000005218 T _fini
00000000000019a0 T _init
00000000000051d0 T luaopen_socket_serial
===== tree/lib/lua/5.1/socket/unix.so =====
000000000000704c T _fini
0000000000002208 T _init
00000000000057f0 T luaopen_socket_unix
===== tree/lib/lua/5.1/mime/core.so =====
00000000000026b0 T _fini
0000000000000c90 T _init
00000000000023f0 T luaopen_mime_core

which is now the same result the makefile build produces.

Rebased for latest master.

Removes LUASOCKET_PRIVATE from function declarations;
Adds pragma GCC visibility in .h files conditionally (when not _WIN32);
Updates LuaRocks build to add missing compat.c in unix.so and serial.so builds;
Removes some redundant include directives.


Avoid recursing into already substituted expressions

Closes https://github.com/dask-contrib/dask-expr/issues/835
This should avoid the worst case recursion pattern I described in https://github.com/dask-contrib/dask-expr/issues/835
For the TPCH query this indeed reduces the number of substitute invocations (beyond the guard) from ~13M down to 17k

We are avoiding the runtime complexity problem with this change but for some queries the substitute operation is still the slowest part. During substitution there are many new objects created (even with https://github.com/dask-contrib/dask-expr/pull/798) so many new _names have to be computed which is often a quite expensive operation


React pr

This Branch adds the possibility to config a project in two publish modes for the github backend: "simple" and "branch".
In the simple mode, all changes are committed to the main branch.
In the branch mode, every content change generates a new branch and a pull request.
Sample config.yml for branch mode:
backend:
  name: github
  repo: user/repo
  branch: master
  publish_mode: branch

sweet


please provide ESM export

Would be nice to have ESM bundles

@bluepnume Would you accept a PR that adds a build step to produce an ESM variant in dist?


UI: Fix Create dropdown menu not changing language dynamically

Description
This PR fixes the bug presented in the issue #10010, where the Create dropdown menu language does not change  dynamically, requiring a reload of the entire screen.
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI
[ ] test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity
Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[x] Trivial

Screenshots (if appropriate):
How Has This Been Tested?
I tested the changes by setting the UI to a different language in the login screen and then changing to another after login, I also changed the language multiple times in the Dashboard screen. The Create menu language changed every time as expected.

@lucas-a-martins thanks for the PR, is this only specific changes you've identified or is this a pattern across all of the UI config?

@blueorangutan ui

@DaanHoogland a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/10023 (QA-JID-494)


chore: openscad -> openscad-lsp

@mason-org/triage notify(Reason::NewPullRequest)
This comment ensures a notification is delivered to maintainers.
 🤖 This is an automated comment.    📖 Source code


Better support for .vue. and .svelte files using jscodeshift-adapters

Resolves #70

Also, just as a heads-up: I'm assigning myself to this issue to track internally that I'm reviewing it. No worries though, I'm not gonna take over or anything. Happy to let you continue if we need to make further changes.

@Lms24 yep, that's all I did. There was one other incredibly minor change to make typescript happy (adding an optional chain) but I will flag that for you specifically.
If you want an easier diff, turn 'ignore whitespace' on, which will hide all the lines where the only changes was the indentation from removing the wrapJscodeshift callback wrapper.


[HELP] Stitching deep EXRs

I'm using v1.6.17 ImageBufAlgo.add() to stitch tile rendered images together. It works fine with RGBAs, but in case of Deep what I'm getting is an empty file without any errors.
Can you confirm whether this is expected or perhaps has fixed in the later versions?

"Add" doesn't work for two deep images (though you can add an image and a constant -- it just adds to every sample in the image).
Maybe "paste" is a better approach?
But as an aside, v1.6 is 2016, four major releases ago. I don't trust the deep handling that far back.

No response, and I think I answered the question. Closing.


Icebreaker shows no activity

Hello,
I have deployed the Icebreaker bot in teams. Got the welcome banner after deployment. However when I post message to icebreaker bot it sends message as below

When I open the icebreaker bot it shows nothing under activity.

Any help is highly appreciated

Just wanted to add that no errors or issues observed during deployment. After deployment when I added it to Teams it did offered a welcome banner too.

I've also no activity in the Teams channel environment but after a couple days I've received a personal match that I've been matched.

Yes it is as per design, Bot does not support Bot commands

Hi - can someone please advise how this can be resolved. I dont see any activity in the teams channel environment.

Thank you for submitting this issue, as we work to ensure consistent responses with items logged in our issues list, we are working to address these items that did not get responses. Please let us know if you are still facing this issue and require assistance and we will be happy to discuss. If no further action is needed at moment and no response is received, we will close out the issue in 3 business days. You may also always open a new issue or respond here if something does come back up. Thank you!


var.source_bucket_name should be respected as the S3 bucket name and not the prefix

When setting var.source_bucket_name, it turns out that it's only setting the bucket name prefix (see here) and not the actual name of the bucket. I'm not sure why the behavior is different given the variable's name and description. The other name variables, var.name and var.iam_role_name, are respected and passed through as the names for those resources, so I'm not sure why it's inconsistent for the s3 bucket. Is this something that y'all would be open to? I am more than happy to contribute this change.
I understand that this proposal will be a breaking change, so we could have another variable var.source_bucket_name_prefix that preserves the original behavior.

I've opened a pull request to tackle this here: https://github.com/aws-ia/terraform-aws-mwaa/pull/47


Cannot find data if big number used in where clause

I get Query returned no data error when I specify big number in where clause at query console ui.
Affected Version
0.16.0
Description
Cluster size

2 x Master (8 CPU, 32GB Mem, SSD)
2 x Query (8 CPU, 32GB Mem, SSD)
2 x Data (20 CPU, 64GB Mem, SSD)

Configurations in use

MySQL as metadata storage
S3 as deep storage
master jvm xmx: 24g
broker jvm xmx: 12g
router jvm xmx: 1g
historical jvm xmx: 8g
historical jvm max direct memory size: 25g
druid_historical_processing_numThreads: 15
druid_historical_processing_numMergeBuffers: 4
druid_historical_processing_buffer_sizeBytes: 500000000
druid_server_maxSize:<PHONE_NUMBER>00

Steps to reproduce the problem
Query like this:
SELECT * FROM table WHERE id =<PHONE_NUMBER>150807

The error message or stack traces encountered. Providing more context, such as nearby log messages or even entire logs, can be helpful.

You'll see  Query returned no data error

Any debugging that you have already done

We can find and verify data that are stored properly if I don't use where clause.
SELECT * FROM table LIMIT 100

And group by query also works.
SELECT id, COUNT(*) FROM table GROUP BY id

This query returns count of big number rows.

What is the type of the id column?

It's long.

I just tried this and I can not repro:

And then:

Are there more filters in your query? Anything that could provide hints.

Sorry, the original number I posted was too small.
Please try much bigger number like:<PHONE_NUMBER>854775807

I figured out cause of this problem. So I created an another issue #8617. Please check.


Json content update

Updates of the json file with new content and categories

Sorry I received the notification for this PR. Noticed a few typos and made some suggestions. I haven't checked the entire file. I'll let you finish the review :)


Fix documentation about golos.ctrl smart-contract

See: #85

The proposed change looks well. The doc has been modified.


[FEATURE REQUEST] - Some improvement suggestions

Summary
Hey.
Some of those have already been mentioned, but just want to put them here anyway (again).

General Improvements
Remember Position and Size (Mentioned by ktuccy)

Highlight relevant data (Mentioned by DESIGNOSIS)

Scroll with the mouse wheel on the image, (can be with or without "CTRL"), Up Scroll Next Image, Down Previous

User settings/preference
As Supplement to the Highlight relevant data, an option to change the color of the highlight.

Change font size, with higher res on the desktop, everything gets smaller, so an option to change font size would bee great.
(Or the font can be changed with "CTRL+Mouse Wheel" in each section, prompt...)

Option to drag each section (Prompt, Negative... into different sizes, most of the times the prompt has more data, if the font gets bigger, it may req more space, than the other, and i rather want to avoid scroll bars, if i can :) )

Options to check for new version, and either download the new version directly, or pop up with A new version were found (Click here to download). Can than be info showing what is new before download, many way to do this Of cause.

Option to change what happens when you click the image, change it to Open browse window when you right click instead of left...

Option Remember last opened folder

Option to start with previous opened image (and folder)

Think that was it for now, i may come with more later :)
Basic Example
Well it all is in the first "Summery"
Reference Issues.
No response

I'm impressed by the many practical suggestions you've made. The current situation is that I don't have enough time to develop, so the version includes folder browsing, batch processing, and user preference has only been completed by about 50%. My current plan is to provide a CLI tool ASAP to make batch processing possible (already 90% complete).
I really appreciate you organising the tasks I need to do (most of which are already on my TODO list). Feel free to provide more suggestions at any time.

Hey, thank you for taking time to reply.
Hehe, yeah i know that "real life" thing comes in the way for many things :D


How to increase accuracy for CLTV prediction

Hi,
I've run the Pareto/NBD model to fit the data. from what i expected is the model tends to overestimate the transaction count.
negative log likelihood from the fit function is positive, around 61. I've played with the panelizer coef from 0 to 1 and this yield similar LL value around 61 to 62
Is it as expected? How should i improve the fitness?

@laurahy172 , is the period you are using to train the model consistent with the expected lifecycle of repurchasing? In other words, if your anticipated inter-purchase interval is 3 months, are you training on at least a 6-month period? Is the period unusually high (ie, does it include a product launch that rewarded a second transaction within n days)?

Please give us graphs and perhaps a sample of your dataset so we can help you.