Improve i18n support

Avoid use of LEGO messages, so that languages with different
word order from English are free to place numbers and other
things where they need to be in a sentence.

Sorry to make such a huge PR, but I didn't really know how to make it smaller.
Working Netlify deployment here: https://velvety-entremet-ea5c17.netlify.app/

I realize the LEGO style messages might be challenging, but I fear this might impact the visual display.
I wanted to check it out, but I'm getting the following error?:
streak.js:14 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'longestStreak')
    at r (streak.js:14:33)
    at f (index.js:20:27)
    at App.vue:277:18
r @ streak.js:14
f @ index.js:20
(anonymous) @ App.vue:277
Promise.then
start @ App.vue:272
n.<computed>.n.<computed> @ runtime-dom.esm-bundler.js:1497
f @ runtime-core.esm-bundler.js:195
m @ runtime-core.esm-bundler.js:202
n @ runtime-dom.esm-bundler.js:696Understand this errorAI

I realize the LEGO style messages might be challenging, but I fear this might impact the visual display.

I did my best to keep everything visually the same. The only difference is that the qualifier is no longer on a line of its own, as extracting it from the rest of a sentence is not really possible i18n-wise.
You might be thinking that we could use a message like "n-edits" with English content "$1 edits", and insert that message into the full sentences instead of the number. The problem with that is that "$1 edits" might not work as part of a sentence in other languages. Even in Norwegian, which is closely related to English, we can use "$1 redigeringer" or "$1 redigeringene" as a translation for "$1 edits", depending on the context. And in Swahili, "$1 edits" would be "mabadiliko $1", so not even the internal order there is guaranteed to be the same.
There are a couple of other differences in the final "share" card too, but those are really just changes to the messages (in en.json) that I made to illustrate (in English) how it will look for different languages if they have things in a different order. We can easily change those back to what they used to be for English.

I wanted to check it out, but I'm getting the following error?:

How/where are you seeing this error? All my testing so far (of the submitted code) has worked fine both in my Netlify deployment (as well as locally) and in the "Deployment Preview" from @netlify's comment above. I've been testing primarily with my own username in various wikis – maybe you tested it with a username that gets some other results that aren't accounted for?

How/where are you seeing this error? All my testing so far (of the submitted code) has worked fine both in my Netlify deployment (as well as locally) and in the "Deployment Preview" from @netlify's comment above. I've been testing primarily with my own username in various wikis – maybe you tested it with a username that gets some other results that aren't accounted for?

Actually, I'm seeing some errors too, but I see them both in current production and in the two Netlify deployments I linked. But I think there are two separate issues:

I get a streak-related error in all 4 versions (prod, 2 netlify test deployments, and localhost) with the combo Jdlrobson, en.wikipedia.org, 2023. I believe this may have to do with the file /src/assets/data/shortcut/2023/en.wikipedia.org/Jdlrobson.summary.json, where all the entries are missing a "timestamp" entry.
I get another error in all the production versions (but not in my localhost with every username/project combo I've tried, and any year below 2023 (so 2023 works, except for Jdlrobson/en.wikipedia, but 2022 and down don't work for any username/project combo).

Okay fixed the bug, yeh unrelated.
Regarding the translation of text with numbers I'd like to dig into this more, one bit of UI at a time
Stats
I think it would be good to focus on different parts of the UI, perhaps we could add some Norwegian translations so I can understand this a better?
Perhaps beginning with this part of the interface?:

My thinking was the following:

In the above screenshot, I'd like to treat them like units and avoid any text above the number. I don't think the translation needs to be a word for word translation, if that doesn't work. If this doesn't work in certain languages it could be something like:

6
number of times you edited

Note:

numbers are always plural (if there is only 0 or 1 edit I don't think we should be displaying these at all)
we could pass numbers to each of the messages to aid with  "$1 redigeringer" or "$1 redigeringene"

Is this particular part of the UI troublesome for Norwegian or can retain the number above the text?
LEGO approach

And in Swahili, "$1 edits" would be "mabadiliko $1", so not even the internal order there is guaranteed to be the same.

In this situation could you repurpose paragraph-1 and paragraph-3 to consistently create the correct order? That was my intention, but if that doesn't work universally even with number passed in, I'll have to rethink my naivety :)
e.g. = mabadiliko in

Key
Swahili
English

paragraph-1
mabadiliko
you made

paragraph-3
(translate of you made)
edits

Stats

I think it would be good to focus on different parts of the UI, perhaps we could add some Norwegian translations so I can understand this a better?

Sure! It was the Norwegian translations I made in Translatewiki that brought me to this repo to try to help make some improvements. :-) So they should show up when @translatewiki makes its first commits.

Here's a screenshot with some Norwegian translations I made in the browser dev tools just to illustrate things.
Some notes:

Concisely distinguishing between the two different thanks is really difficult. I'll try to explain why.

Thanks received: The translation I have there is the most concise I could come up with. Back-translated literally, it means "{number} thanks received". That's pretty clear.
Thanks given: This is where the problems come in. I could write it in a number of ways with just the number at the top and then some text, but they're all ambiguous and easily confused with the number of thanks received. One alternative would be (back-translated) "{number} users thanked", but that can easily be (mis)understood as "{number} users thanked [you]". So the one I have in the screenshot is "thanked {number} other users".

We don't really have a word for "streak" in this sense in Norwegian at all, so it's really hard to come up with a concise translation for it (if you have unlimited space and words, everything can be translated – it's trying to stay concise that makes things complicated). But that's not specific to this repo though.

The translation in the screenshot now says (back-translated) "{number} longest row". To make it clearer to the users what it actually means, I would like to say "På det meste redigerte du {number} dager på rad", which (back-translated) means "On the peak, you edited {number} days in a row". But that's just too long, at least for the share page.

Plural

My thinking was the following:
* In the above screenshot, I'd like to treat them like units and avoid any text above the number. I don't think the translation needs to be a word for word translation, if that doesn't work. If this doesn't work in certain languages it could be something like:

6
number of times you edited

Note:
* numbers are always plural (if there is only 0 or 1 edit I don't think we should be displaying these at all)

In many languages, especially Slavic and Uralic languages, you don't just have one plural, you have several. In Russian, for example, the word for "edits" will be different depending on the preceding number: 20 правок, 21 правка, 22 правки. https://www.mediawiki.org/wiki/PLURAL explains it better than I can. :-)
But I think PLURAL support will be a problem for another day, hehe.
Lego

* we could pass numbers to each of the messages to aid with  "$1 redigeringer" or "$1 redigeringene"

Actually, I just thought of an approach that lets us have the best of both worlds: Both a separate line for the quantity, and keeping the messages still avoid using LEGO messages.
For illustrations, let's use the message named you-made-impact in my patch as an example (it's normally the first message you encounter after entering your project and username in the app).
The message currently says:
"you-made-impact": "You made $1 edits across the project",

In my patch, the $1 gets replaced with 234 if you have made 234 edits, so the result becomes:
You made 234 edits across the project

And then CSS makes sure that the strong element comes on a separate line.
Now, with the approach I just got the idea for, we could instead do this:
"you-made-impact": "Ỳou made $1 edits across the project",

If we now replace $1 with something like 234, we could use CSS to make sure that both the strong element and the .number within it come on separate lines, so (in English) the result will be exactly as it was before my patch.
The above JSON would result in:
English:
You made 234 edits across the project"

Norwegian Bokmål:
Du gjorde 234 redigeringer på prosjektet"

Swahili:
Umefanya mabadiliko 234 kwenye mradi mzazi

I'd be happy to modify my patch to implement this, so you can see it in action.

Yeh the strong tag idea seems like a good way to divide this! Nice idea!
I think we will need to be careful with this change though. As an interim step might make sense to do a non-i18n change first to prepare. I can play around with that tomorrow.
I am not too worried about adding plural support. I assume the code in mw.msg is easily adapted.
I will think some more about boxes once the translations come in!

With the latest commit, I have made everything as close to the original as possible. If you compare them side-by-side, you'll see that there are only a few minor visual differences (a few pixels here and there), which I hope are acceptable.

Hey I had a look at this today. I wanted to push something out to make progress, so hope you don't mind me stepping on your toes a little.
The main thing I realized we'd need with this approach is sanitization - I don't want to make translatewiki a vector for attack so I added a basic sanitize function.
For now I've retained support for the old style and new style to confirm it's a good solution to the problem before continuing down this path.
Migration of each of the facts looks like this:
https://github.com/jdlrobson/wikipedia-year-in-review/commit/03407be12837622c95981628f599b18f9f5fafff
I would like to chip away at these one at a time to make sure I don't mess up any of these.
Could you pull your badge changes out into a separate patch? If that's too much to ask, I can dissect some changes from your patch myself, with you as author... I know rebases are annoying.
Thanks for helping me think through this!

Hey I had a look at this today. I wanted to push something out to make progress, so hope you don't mind me stepping on your toes a little.

No worries at all!

The main thing I realized we'd need with this approach is sanitization - I don't want to make translatewiki a vector for attack so I added a basic sanitize function.

Yeah, I thought about that, but forgot to mention it. Sanitation is definitely good to have, but when the strings come from Translatewiki, they can normally be assumed to be safe – they manually check any HTML tags that look suspicious before exporting stuff (though I'm not sure how that procedure works for GitHub repos). But yeah, better safe than sorry. :-)

For now I've retained support for the old style and new style to confirm it's a good solution to the problem before continuing down this path.
Migration of each of the facts looks like this: 03407be
I would like to chip away at these one at a time to make sure I don't mess up any of these.
Could you pull your badge changes out into a separate patch? If that's too much to ask, I can dissect some changes from your patch myself, with you as author... I know rebases are annoying.
Sure. By badge changes, do you mean the ones from the share page?
Thanks for helping me think through this!

Okay I've updated the messages so we are no longer using LEGO. They still have span and strongs for now, but I am open to revisiting that after giving it exposure to more translators!

Okay I've updated the messages so we are no longer using LEGO. They still have span and strongs for now, but I am open to revisiting that after giving it exposure to more translators!

Sweet! Thank you very much. Should we close this PR then, perhaps? If I have any other suggestions, I can make separate PRs and/or comments.

We still need to work out what to do with the facts on the summary screen and plurals!


Language files in Packages not updated until namespace is changed.

I had an very strange issue. If you update an language file inside an package, e.g. add a new string. The delivered language files are not updated. Only if the namespace variable inside the package is renamed the language files delivered gets updated.

Can this be a caching issue? I'm also experiencing this, my workaround for now is to update the package version number. But during development this is really frustrating.

I played around some while. It seems to be a caching issue. If I rename the namespace it works perfect. But as soon as I go back to the old one it reverts to a changed version. It seems that the language json files are not regenerated on a new build.

I can confirm this as well. I can also get it to refresh by adding or removing a newline from my language file.

To piggyback on what @AnthonyReid99 said, it appears to only refresh locally when changing a line in the language file. From my manual testing, that hack doesn't seem to work reliably when deploying to a server. What version of Meteor are other folks on? We're on 1.2.1.

Locally I also can force the new language file to reload by making chances. However for the deployment this does not help. I also use Meteor 1.2.1

+1

I notice that beside english "en" the new namespaces wont reach to deployement even if I change the version of the package. do you know any action just the flush cache/old json files?

any update on this? @theosp ?

+1

+1 could use a response on this. Or guidance on what the issue is so we can fix it

Could someone that manage to make an i18n package work withing a project point me to a working example?
I'm trying to keep all my i18n stuff work as a package for my main project but can't make it work...


Vue: Change build target directory

when building a generated vue app the outdir is :
build: {     outDir: '../../../target/classes/static',   },
building an app outside the project

nevermind this is because I moved index.html in my generated project I'm closing this issue


[Bug][v1.12][Retail] Bot cannot find fishing bobber

Using v1.12 on latest Retail (9.2.7 I think)
I keep getting
[16:39:58] [WIN1] Casting fishing...

[16:40:00] [WIN1] Looking for the bobber...

[16:40:01] [WIN1] Can't find the bobber, recast.

Started WoW in DirectX 11 mode, Windowed (Fullscreen). This means I entered WoW once and changed it to DirectX 11, then I completely exit WoW and then start it again to make sure it starts in DirectX 11 mode.
Started WoW and did the below:

Disabled all addons

Removed all action bars except the main one which I cannot remove

Zoomed in to FIrst Person mode

Hid all the interface with ALT+Z

Started the bot. Left default settings.

Went to Dalaran Legion fountain. There is mostly blue there so I used the Red Threshold starting with a value of 30.

That didn't work at all, so I increased the threshold by 1 and tried again.

When reaching a threshold of 83, the bobber is cast, but then the bobber cannot be found and bot suggests that I lower the threshold.

Lowering the threshold to 82 will not cast the bobber.

Tried with literally every threshold value and the most I can get is to auto cast the bobber, but I can never get the bot to click on the bobber when it's time to do so.

Switched to Blue also and it didn't work.

Tried also in Zereth Mortis and without success.

Tried to set a fishing zone by placing the rectangle window to indicate the area after which I hit the green checkmark to confirm it. Re-tried in Dalaran fountain as well as Zereth Mortis with ALL threshold values and the bobber cannot be found.

TLDR: Cannot find bobber after casting. I am using the "Fish" ability which is placed on the action button 1. There are no macros involved into this.vv
I am using Windows 11 22H2

Have you tried to increase cast animation delay? to 3000 / 3500 / 4000 / 4500

Forgot to mention it, but yes, I also tried that up to 15500 in increments of 500, as well as manually selecting "Custom window" and deselecting every other feature that would make it look like a human (logging out, random sleep, random reaction, like a human, etc).
I have 4k monitor (SDR) with 175% scale and NVidia Quadro 5000 if this matters for some reason.
I thought that the graphic settings might interfere, so I also tried with the absolute lowest graphic settings except for the resolution which is native 4k and in-game resolution of 50% which gives a 1080p rendered resolution.

Re-opened as I closed by misclick.

Made a quick video recording for better visibility.

Try to make your fishing zone smaller and make it cover only the water, this will allow you to decrease threshold even more because it won't include "reddish" environment. There's also an issue with some video drivers, the library the bot uses might not work with them properly, so sometimes it requires either update or downgrade.

I just want to +1 this bug. Been trying to set up for two days and have followed all tips and tricks. The bot has not once been able to detect the bobber. As soon as the threshold is high enough (as low as 11 on pure blue water only) it's too high to detect the bright red feather in good weather.

I just want to +1 this bug. Been trying to set up for two days and have followed all tips and tricks. The bot has not once been able to detect the bobber. As soon as the threshold is high enough (as low as 11 on pure blue water only) it's too high to detect the bright red feather in good weather.

Are you on win 11?

I just want to +1 this bug. Been trying to set up for two days and have followed all tips and tricks. The bot has not once been able to detect the bobber. As soon as the threshold is high enough (as low as 11 on pure blue water only) it's too high to detect the bright red feather in good weather.

Are you on win 11?

I've run on both win 10 and win 11. Different systems with different video cards and driver versions (both nvidia) As well as both retail and wotlk classic versions. same bug everywhere

Well, that would mean the bot doesn't work at all and for everyone, but it works for the majority. We don't know whether it's a bug yet, so don't jump to conclusions. Record the screen of the whole fishing process as [Soromeister (https://github.com/Soromeister) did.

https://clipchamp.com/watch/yrbjdSxXHYY
This is one example on classic with defaults left on. the threshold at 36 wouldn't cast, 41 couldn't find bobber. after video i found the exact threshold cutoff was 39 no cast, 40 no bobber finding.

I just want to +1 this bug. Been trying to set up for two days and have followed all tips and tricks. The bot has not once been able to detect the bobber. As soon as the threshold is high enough (as low as 11 on pure blue water only) it's too high to detect the bright red feather in good weather.

Are you on win 11?

I've run on both win 10 and win 11. Different systems with different video cards and driver versions (both nvidia) As well as both retail and wotlk classic versions. same bug everywhere

Well, that would mean the bot doesn't work at all and for everyone, but it works for the majority. We don't know whether it's a bug yet, so don't jump to conclusions. Record the screen of the whole fishing process as Soromeister did.

https://clipchamp.com/watch/yrbjdSxXHYY
This is one example on classic with defaults left on. the threshold at 36 wouldn't cast, 41 couldn't find bobber. after video i found the exact threshold cutoff was 39 no cast, 40 no bobber finding.

make a screenshot of your video settings in the game

Might have solved your issues with 1.13.0, test it.

I will close this ticket as I'll be looking for another bot that actually works. It's impossible to fill the entire screen with one colour only, so whatever detection is being used to detect the bobber, it doesn't do a great job at it.
The example I provided should work and the bot should detect the bobber model even though there are other elements in the game, such as the big ball in Zereth Mortis. Best it can do is niche areas as probably less than 10% of the entire game can be accommodated to fit the bot requirements so I'll just look for something else that I can simply cast and it works.

It's impossible to fill the entire screen with one colour only, so whatever detection is being used to detect the bobber, it doesn't do a great job at it.

The very first sentence tells that you haven't read the guide properly. What "one color only filling" you are talking about I don't know. The bot finds either the most red or the most blue cluster of points on the screen, which is enough for the finding the bobber logic, because the feathers on the bobber correspond to such colors. You can also switch between blue and red colors to make it even more universal.

the bot should detect the bobber model even though there are other elements in the game, such as the big ball in Zereth Mortis.

This is the bot that requires a simple preliminary configuration, if you are unable to make it work with such a configuration then this isn't a bot for you indeed and it doesn't met your requirements of being "plug and play".

Best it can do is niche areas as probably less than 10% of the entire game can be accommodated to fit the bot requirements

With proper repositioning and resizing of the Fishing Zone you can fish in any place in the game: hundreds of people use the bot in both DF and Classic and had no issues whatsoever.

I'll just look for something else

That's what you should have done in the first place without offending the project and thus the author. Good luck and Merry Christmas.


ALM tool can update a XMLA end point?

I am using ALM tool to update two versions of tabular Model. If the final model is an XMLA Conection should do I need any extra version of ALM?? , because free one doesn´t work

Hi Daniel, can you please provide more context? What is the error message you are seeing. There is only 1 version of ALM Toolkit (the free one), and it should work in the scenario you describe.


About knowledge distillation

Great job!
And I want to know the Section 4.1  Results with knowledge distillation and Results without knowledge distillation implementation in this paper? How to implement knowledge distillation and what teacher network to use？

Thanks, we followed previous works: EfficientFormerV2, RepViT, SwiftFormer, and used RegNetY-16GF model with a top-1 accuracy of 82.9% as the teacher model for hard distillation.
outputs, outputs_kd = model(inputs)
with torch.no_grad():
    teacher_outputs = teacher_model(inputs)
base_loss = base_criterion(outputs, labels)
distillation_loss = cross_entropy(outputs_kd, teacher_outputs.argmax(dim=1))
loss = base_loss * (1 - alpha) + distillation_loss * alpha

I appreciate your kind reply

Dr Sco.
@.***

------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2024年7月24日(星期三) 晚上7:33
收件人: @.>;
抄送: "Dr @.>; @.>;
主题: Re: [suous/RepNeXt] About knowledge distillation (Issue #1)
Thanks, we followed previous works: EfficientFormerV2, RepViT, SwiftFormer, and used RegNetY-16GF model with a top-1 accuracy of 82.9% as the teacher model for hard distillation.
outputs, outputs_kd = model(inputs) with torch.no_grad():     teacher_outputs = teacher_model(inputs) base_loss = base_criterion(outputs, labels) distillation_loss = cross_entropy(outputs_kd, teacher_outputs.argmax(dim=1)) loss = base_loss * (1 - alpha) + distillation_loss * alpha
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


cob_common: 0.7.0-1 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository cob_common to 0.7.0-1:

upstream repository: https://github.com/ipa320/cob_common.git
release repository: https://github.com/ipa320/cob_common-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.8.0
previous version for package: 0.6.12-1

cob_actions

No changes

cob_common

No changes

cob_description
* Merge pull request #271 <https://github.com/ipa320/cob_common/issues/271> from benmaidel/feature/melodify
  [Melodic]
* fix default value
* more hardware_interface prefixing
* fixed xacro:if condition for melodic
* added hardware_interface prefix for transmission (melodic's cob_gazebo_ros_control plugin expects it)
* Contributors: Benjamin Maidel, Felix Messmer, fmessmer

cob_msgs

No changes

cob_srvs

No changes

raw_description
* Merge pull request #271 <https://github.com/ipa320/cob_common/issues/271> from benmaidel/feature/melodify
  [Melodic]
* more hardware_interface prefixing
* added hardware_interface prefix for transmission (melodic's cob_gazebo_ros_control plugin expects it)
* Contributors: Benjamin Maidel, Felix Messmer, fmessmer

how can I edit the doc and source entries for cob_common?
we have switched default branches from indigo_dev to kinetic_dev/ìndigo_release_candidate to kinetic_release_candidate...

how can I edit the doc and source entries for cob_common?
is there an argument for bloom-release? I did this PR using bloom-release cob_common --rosdistro kinetic --edit
we have switched default branches from indigo_dev to kinetic_dev/ìndigo_release_candidate to kinetic_release_candidate...

I thought bloom-release --edit would do it; it should have asked a question about which branches you want to use for things.  That being said, I've never done it myself that way, so I'm not sure.  When I've needed to do this in the past, I've edited the distribution.yaml by hand, which is a perfectly viable way of doing it.

well, it asked me for:
Upstream Devel Branch:
  <vcs reference>
    Branch in upstream repository on which to search for the version.
    This is used only when version is set to ':{auto}'.
  ['indigo_release_candidate']: kinetic_release_candidate

where I changed it from indigo_release_candidate to kinetic_release_candidate, but it did not ask me again about the doc and source information
if there is no way to do this via bloom-release, I'll edit the distribution.yaml manually, too
just wanted to confirm...

I modified the distribution.yaml manually, can be merged now


Add ability to drag & drop shortcuts and hidden files (only inside Files)

Resolved / Related Issues
Items resolved / related issues by this PR.

Closes #5802
Closes #3952
For #1396

Details of Changes
Add details of changes here.

Added ability to drag & drop shortcuts and hidden files (only inside Files)
Added ability to create a shortcut by clicking Alt + drag & drop

Validation
How did you test these changes?

[x] Built and ran the app

Thank you!


wiki/Dynamic-Select page code example do not work

A few minor bug in  https://github.com/rbock/sqlpp11/wiki/Dynamic-Select#dynamic-columns
auto s = dynamic_select(db).dynamic_columns(foo.id).from(foo);
is missing the where condition (like .unconditionally() )
Error reported is
‘void __for_begin’ has incomplete type
for (const auto& row : db(s)){
^
In addition the method at is called with square braket,
std::string name = row.at["name"];
it should be
std::string name = row.at("name");
Bye

Thanks for the hints!


[BUG]: Fix for saving query and visualization

Description
Fixed bug for saving query and visualization
Issues Resolved
#1100

LGTM

Closing this one and raising external PR.


angular 2 is up to beta 11

Any plans to upgrade to beta 11 any time soon?

Yes. Will look tomorrow.
On 23 Mar 2016 23:38, "Jared Youtsey"<EMAIL_ADDRESS>wrote:

Any plans to upgrade to beta 11 any time soon?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/ceolter/ag-grid-ng2/issues/6

We support rc6 in the latest release


Update news in preparation for release.

Overview

Test Notes/Sample Code

Connected Issues

We can hold off on merging this until gsm 2.1.2 is ready (and then include more changes, such as pointing at the released version of gsm).


looking for feed back on external browser preview  - non windows os

Currently I have tested all external browser in windows . Looking for feedback/ the command normally used for other os for opening browsers

Does not function at all under OS 10.10.3. No previewing of any kind. As a matter of fact, it locks up the atom window and it becomes unresponsive.

With the latest patch you would need to add your os details in the config..The package comes default witht the win32/win64 options..
browser:
title: 'Browser'
type: 'boolean'
default: true
win32:
IE:
cmd: 'start iexplore '
CHROME:
cmd:  'start chrome '
FF:
cmd:  'start firefox '
OPERA:
cmd: 'start opera '
SAFARI:
cmd: 'start safari '
for window I need to use the command start safari followed by file name...and
so you would do a darwin config,in config.coffee..if you pr back with the correct commands for your os, others could use it.

You can use:
  darwin:
      CHROME:
        cmd: 'open -a "Google Chrome" '
      FF:
        cmd: 'open -a "Firefox" '
      SAFARI:
        cmd: 'open -a "Safari" '

Because there's no icon for safari, I just set an IE tag to open Safari. I'm sure if I had Opera installed it's the same command too...
Now, this will in fact open the browser but it will again make the Atom window unresponsive to clicks as the popup doesn't disappear. I did find that if I press cmd-r it will initialize the same popup for a symbol search and if I press it again it will finally close the dialog, clear the shadow layer, and allow clicking again.
https://youtu.be/QaB2j5Dm98g
In the video I press cmd-r twice to clear it.
Ignore that it's set to Jade as Jade doesn't work... (it crashes because I don't have html2jade and the application doesn't check that it exists before trying to open it.)
The dialog should disappear correctly on it's own...

I updated the darwin os...but I am not sure I get the list box leaving the panel..But I tried removing explicity..with the latest patch ..check it out.

Very close... the panel now gets correctly removed if I select any of the options except the external browser options. If I click on any of the external browser options the preview correctly opens in those browsers but the panel is still there in atom as if the parent.remove() code isn't being called.

Got that to..Check it out.

Looks great! Works under Linux too... In Linux, most people will have their browsers in the default path so you can call them out by name and many distros will at least come with firefox so you can probably add FF to the default build:
    linux:
      FF:
        cmd: 'firefox '

thanks for the inputs...added..


[Issue] Security Hole: Shown Admin Password in Apiserver Log File

In GitLab by @wknet123 on Sep 19, 2017, 16:24

In GitLab by @wknet123 on Nov 8, 2019, 07:36
Fixed with PR #347

In GitLab by @yhua123 on Nov 8, 2019, 07:36
LGTM

In GitLab by @sokril on Nov 8, 2019, 08:10
closed

In GitLab by @sokril on Nov 8, 2019, 08:10
assigned to @wknet123

In GitLab by @wknet123 on Nov 13, 2019, 06:37
mentioned in merge request !117

In GitLab by @wknet123 on Nov 13, 2019, 10:00
mentioned in merge request !229


Nuke Ops should go back to the random humanoid behavior

Description

Avoid e.g. arachne nukies with this one simple trick.
It'd actually be best if it was weighted and there were some non-selectable morphotypes in the pool.

I'll look into this. Something probably broke w/r/t GameRule entities.


fix(datagrid): disable whitespace wrap in column title (port)

Signed-off-by: Bogdan Bogdanov<EMAIL_ADDRESS>port from #4886 (v3)

This solution breaks our column resizing. Line breaks in Datagrid columns are valid and useful for many users. This kind of solution should be offered as a workaround to a specific user's need. We need to discuss it further.
This is this PR's build:
https://5f316e16d10050bc5c1adfe9--vmware-clarity.netlify.app/datagrid/column-sizing

What do you suggest? I already pushed this code in 'v3' btw

Please revert the v3 change, and then we need to come up with a new solution.


Remove hyphens

Fixes https://github.com/project-oak/transparent-release/issues/48

This depends on the other in-flight PR I have. You may want to old off on reviewing this until that one is in.


When setting external port to 0, the api should record the generated nodeport in etcd.

When a user chooses to let kubernetes randomly assign a external port number, the port number generated by kubernetes should be stored in etcd, so the client side apps can construct a URL based on entry point/port.

This information is displayed under component show route (/apps/:name/components/:name) under addresses.
Do you see it there?

Hey hey.... thank you sir. Added this to the describe comp view in the CLI :-)


Cannot close process inside Process.run's block on Windows

This works on Linux:
Process.run("ls", output: :inherit, &.close)

This doesn't on Windows:
Process.run("notepad.exe", output: :inherit, &.close)

Process#close calls Crystal::System::Process#release, which calls LibC.CloseHandle on the process handle before Process#wait could use it. This is probably not the intended behavior and LibC.CloseHandle should be done at the end of Crystal::System::Process#wait instead. That would unbreak the following spec:
https://github.com/crystal-lang/crystal/blob/6a9b3ec74e0e992a1861205a5faa719c1ad0514f/spec/std/process_spec.cr#L308-L319
I am not entirely sure if doing so would leak the process handle, though.

We should clarify some semantic issues first. Can Process#wait and #close be called multiple times? Is there a particular call order between them that causes troubles if not followed?

There is a dedicated issue for that: #12980


Crash upon trying to create a new folder

I'm on Linux, and have the following error on the stable release (0.2.3) when i try to set the dropbox folder using gui.

Gkr-Message: 17:08:09.928: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
 > Loading access token...
 > MaestralClient is ready.
Up to date
Maestral index could not be found. Rebuild if necessary.
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/maestral/gui/first_sync_dialog.py", line 200, in on_dropbox_path
    self.populate_folders_list()
  File "/usr/lib/python3.7/site-packages/maestral/gui/first_sync_dialog.py", line 241, in populate_folders_list
    root_folders = self.mdbx.client.list_folder("", recursive=False)
  File "/usr/lib/python3.7/site-packages/maestral/client.py", line 476, in list_folder
    **kwargs
TypeError: files_list_folder() got an unexpected keyword argument 'include_non_downloadable_files'
/usr/bin/maestral-gui: line 6: 16289 Aborted

I assume has to do with python-dropbox, which is 9.2.0

I was able to fix this by using python 9.4.0 through pip.
Since this is an issue with the packager, i will close this as solved; as official installation instructions don't lead to this error.

Apologies, I forget to require the newest dropbox SDK package in setup.py. This is fixed in 913107466e4113e9f7f4d54a535098540b2aedbb and will be rolled out in v0.2.4 of Maestral.


Routing on multiple elements not working

I am trying to write a LOB application with Navigation bar and content section with forms and grids. Currently I am trying to highlight the element in the navigation bar for the current path.
I was hoping to find methods and events in router which will allow me to list the paths configured, and select the current one from them. Since that does not seem to be supported, I am now trying to create 2 elements which will be called by the router. But that is not working either.
This is my html:
<!DOCTYPE html>

And this is my code so far:
'use strict';

var shell = {
  view: function() {
    return m("h1", "Shell")
  }
}

var login = {
  view: function() {
    return m("h1", "Login")
  }
}

var dashboard = {
  view: function() {
    return m("h1", "Dashboard")
  }
}

var routes = [
  { path: "/", module: shell, nav: 'Home' },
  { path: "/login", module: login, nav: 'Login' },
  { path: "/dashboard", module: dashboard, nav: 'Dashboard' }
];

var navBar = {
  controller: function() {
    return {id: m.route.param("path")};
  },
  view: function(controller) {
    return m("div", controller.id);
  }
};

m.route(document.querySelector('header'), "/", {
    "/:path": navBar,
});

/*
m.route(document.querySelector('main'), "/", routes.reduce(function(prev, route) {
  prev[route.path] = route.module;
  return prev;
}, {}));
*/

m.route(document.querySelector('main'), "/", {
    "/": shell,
    "/login": login,
    "/dashboard": dashboard,
});

m.mount(document.querySelector('footer'), {
  view: function() {
    return m("span", "Copyright None");
  }
});

The content in the 'header' element gets rendered, but the content in 'main' element is not.
Am I doing something wrong here? or is there an easier way to achieve this.
Thanks!

There is only one location and one route map per application, and it needs to be bound to a single routed element. If there is different logic for different parts of the app, that logic needs to be included in the components for the various routes at that element.
Here's a refactor whereby a single component, layout, takes responsibility for rendering the whole app. m.component is used to associate different main nested components to be passed to the layout component.
I also added a location component to allow navigation to the different routes.
http://jsfiddle.net/barney/y72p0yt2/

This is fantastic!
Did not know I could use m.component as routers target. But I suppose, component and regular module will have the same interface.
Many thanks for being so helpful !


import-order should allow wrapper functions to be declared earlier.

Example using pify (promisifies nodeback style API's):
var pify = require('pify'); // eslint-disable-line import-order/import-order
var fs = pify(require('fs'));

It would be nice if it was smart enough to figure out this should be allowed.

Would configuring the rule reordering core modules after externals solve this?
Seems like in a project using pify, you would be doing that generally anyway?

Would configuring the rule reordering core modules after externals solve this?

It might make the error go away, but I use the default ordering across many projects. That consistency is worth more to me than having to write an occasional eslint-disable comment. But it would be nice if the plugin was just smart enough to handle it for me.

just smart enough to handle it for me

(emphasis mine. 😉)
What smart behavior would you expect? The simplest things I can think of would be to

ignore require calls that are part of a function call's arguments. thus,

require('pify') must still appear in externals section
pify(require('fs') may appear anywhere thereafter

or

detect that a module is a context-based type, ("module modifier"?): if it is a function that has require calls as arguments, it can be (must be?) import/require'd before any other imports/requires. thus,

pify(require('fs')) must still appear in builtins as require('fs') would otherwise be
require('pify') can/must appear before any other requires/imports

The latter seems ideal to me. Also straightforward to discern; just need to wait to report any out-of-place upfront requires until it is clear they are not called with other requires.

I think either solution works, but I think the second one is better.

it can be (must be?) import/require'd before any other imports/requires

I would vote must be. That makes it explicit and prevents an unnecessary diff later on if you decide to you want to pify-ify something higher in the list.

I wouldn't do this. With import syntax it won't be possible anymore. Better to just adjust and make it easy to convert the code to import later on.
You should rather do:
var pify = require('pify');
var fs = require('fs');
var fsP = pify(fs);

This also has the benefit of making it clear in the code that the fs is a promisified version.

Yeah that's probably better. I like the P convention


Add SetChannelFlushStatus to Endpoint

Description
Similar to SetChannelStatus, replaces the typical get channel/mutate/set channel sequence.
closes: #3947
Commit Message / Changelog Entry
chore: Add SetChannelFlushStatus to Endpoint

see the guidelines for commit messages. (view raw markdown for examples)

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md).
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/).
[ ] Added relevant godoc comments.
[ ] Provide a commit message to be used for the changelog entry in the PR description for review.
[ ] Re-reviewed Files changed in the Github PR explorer.
[ ] Review Codecov Report in the comment section below once CI passes.

can also replace usages currently used.

Going to close this in preference to what Cian describes. The functionality can be added in one piece after 04-channel-upgrades has been merged so as to not hold it back. Some more context here: https://github.com/cosmos/ibc-go/issues/3955#issuecomment-1610919440


[Store] Application create page cancel button issue

Description:
As shown below, Cancel button doesn't trigger any action.I think it should return the user back to their previous page(From where they land to Application creation page)

Affected Product Version:

APIM 3.0.0-M9

Related Issues:

https://github.com/wso2/product-apim/issues/1977

This is fixed in APIM 3.0.0 alpha


test.aria.widgets.form.datefield.checkValue.DateField fails in IE11

Close it, as it doesn't fail any longer.


Remove unused 'freeze_landmarks_' field.

@wally-the-cartographer merge

Merge requested by authorized user gaschler. Merge queue now has a length of 1.


Having lazy Iterable in Array or Map is seriously buggy

The laziness matters in unpacking.
[[true, false], 18] can reproduce this problem. This becomes [[false, 18], true] after unpacking because popping 18 is eager. Lazy iterable doesn't work when it doesn't locate on the tail.
Design change needed.

I threw Iterable away. Everything is evaluated eagerly now


Is there a property to make the Dock items Not Animated?

Hi @dillionverma,
The new Dock is wonderful but I when I tried it I received feedback from my team if we make it fixed better.
I checked a documentation, but there is not an example of fixed Dock like the Dock from Figma.

there is no specific props related to fixed dock but we can give by classname
<Dock
        direction="middle"
        className="fixed bottom-5 left-1/2 -translate-x-1/2"
      >
        .....
      </Dock>

using this way we can fixed our dock like figma

@alamenai the main goal of the dock is to have the "dock-like" animation. If you’d prefer a fixed look, simply placing those icons in a fixed container with some hover effects should work. As of now, we are not adding any extra props for that. But thanks for the feedback.


[WIP] Refactor kvstore test

What problem does this PR solve?
Issue Number: ref https://github.com/pingcap/tiflash/issues/5170
Problem Summary:
It is hard to write unit test cases for KVStore. And it run tests on the KVStore instance in global context
What is changed and how it works?

Explicitly send PathPool instance to KVStore::restore by param

We can create a KVStore/RegionPersister instance for testing other than testing the KVStore instance in global context
Get a clearer order of initialization between PathPool and KVStore in Server.cpp

Rewrite the RegionPersisterTest
Use DBMS_PUBLIC_GTEST instead of friend class to write tests on RegionKVStoreTest

Check List
Tests

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

Side effects

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

Documentation

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

Release note

None

/run-all-tests

/cc @lidezhu

/merge

/merge


XLSX saved as XLSB under the hood

xlsx: 0.14.3
After save xlsx file everything looks ok but after check exif data file has type xlxb:
My code:
xlsx.writeFile(wb, ${filename}.xlsx, { type: 'string', bookType: 'xlsx' });

Look that these three lines:
File Type : XLSB
File Type Extension: xlsb
MIME Type: application/vnd.ms-excel.sheet.binary.macroEnabled
Why my file is generated as xlsb type and how to change/solve it?
Thanks!

This is an issue with how exiftool resolves OPC files, so we raised an issue with them


avatar/gravatar options not working

I have updated from 4.5 all the way to the current MASTER and am using netlify 0.74.3. AFter folwoing all the update instructions my page once again renders fine. However, the avatar options semm to be broken.

If I do not have an avatar image in my admin folder and have set gravatar = true it does not load the gravatar image
If I place such an image it is using it no matter if I specify gravatar = false or true. Additionally it does not take the shape parameter into account and renbders the image square no matter the setting.

Is that happening to anyone else?

I could solve the problem by modifying those lines in about.html (delete "avatar"):
{{ if site.Params.avatar.gravatar }}              {{ else if $avatar }}       {{ $avatar_image := $avatar.Fill "270x270 Center" }}              {{ end }}
to
{{ if site.Params.avatar.gravatar }}              {{ else if $avatar }}       {{ $avatar_image := $avatar.Fill "270x270 Center" }}              {{ end }}

Closing this as there does not appear to be any bug with avatars. For support, see https://github.com/gcushen/hugo-academic/blob/master/.github/support.md . You may wish to open a thread in the support channel with a link to your repo so that the community may attempt to help you. Also, check that you are not overriding any of Academic's files and try to compare with or reproduce the issue on the exampleSite https://github.com/gcushen/hugo-academic/tree/master/exampleSite .


[Feature]: Shape file capablity for mean climate

Is your feature request related to a problem?
Capability to apply shape file for mean climate metrics calculation.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

@acordonez I recall you have implemented the shape file capability, could you point how this task could be initiated?

@lee1043 The function is here: https://github.com/PCMDI/pcmdi_metrics/blob/main/pcmdi_metrics/io/region_from_file.py
It's a good idea to apply the shape file to all data files used, including things like the land/sea mask.
For an example of how to apply it, you can look at my edits to the precip variability code:
Parameters needed: https://github.com/PCMDI/pcmdi_metrics/blob/9d35ceb5e2df1b5a566fc6bd638dab306edf69c6/pcmdi_metrics/precip_variability/lib/argparse_functions.py#L92-L106
Function call: https://github.com/PCMDI/pcmdi_metrics/blob/9d35ceb5e2df1b5a566fc6bd638dab306edf69c6/pcmdi_metrics/precip_variability/lib/lib_variability_across_timescales.py#L76

@acordonez thank you for the information!


Multiple problems trying to use this action: bad version, no JSON instruction and missing index.js

Describe the bug
Multiple errors after multiples tries.
To Reproduce
Unable to use the released version
Trying to use this version: https://github.com/zentered/issue-forms-body-parser/releases/tag/v1.1.0
      - name: Issue Forms Body Parser
        id: parse
        uses<EMAIL_ADDRESS>      - run: echo "${{ JSON.stringify(steps.parse.outputs.data) }}"

Error:
Unable to resolve action<EMAIL_ADDRESS>unable to find version `1.1`

Unrecognized named-value: 'JSON'
Running the example given into README:
      - name: Issue Forms Body Parser
        id: parse
        uses<EMAIL_ADDRESS>      - run: echo "${{ JSON.stringify(steps.parse.outputs.data) }}"

Error:
Invalid workflow file: .github/workflows/issue_comment.yml#L38
The workflow is not valid. .github/workflows/issue_comment.yml (Line: 38, Col: 14): Unrecognized named-value: 'JSON'. Located at position 1 within expression: JSON.stringify(steps.parse.outputs.data)

Missing dist/index.js
      - name: GitHub Issue Forms Body Parser
        id: parsezt
        uses: zentered/issue-forms-body-parser@main
        # same error with: @1.0.2

Error:
2022-03-20T15:48:57.9592858Z ##[group]Run zentered/issue-forms-body-parser@main
2022-03-20T15:48:57.9593184Z ##[endgroup]
2022-03-20T15:48:57.9685273Z ##[error]File not found: '/home/runner/work/_actions/zentered/issue-forms-body-parser/main/dist/index.js'

Expected behavior
Works as described. Release published on Action marketplace to test against (but it seems

That's what happens if you release stuff on Friday afternoon, I guess.
Sorry about that and thanks for raising the issue! I pushed the latest version (please mind it's semver: vX.Y.Z, not 1.1) that contains the dist folder, an integration test and adjusted the toJSON() function in the readme for consecutive steps.

Thanks you for your reactivity!


About Discriminator

Hi, glad to see the pytorch version! Looks like you are not using the WGAN or gp or others, just the adversarial loss.
I run your code on car dataset, just  add the WGAN-GP term, things looks not so nice.
Does the official tensorflow version use WGAN or other terms? Maybe I should remove this term and try again.

Hi,
The adversarial loss is JSGAN but it's with a spectrally normalised (SN) discriminator, as described here. It is relatively SOTA-ish, and should perform better than vanilla WGAN/WGAN-SN/WGAN-GP (though it seems like hinge loss performs slightly better, so I should add that as an option).
I have tried out an experiment with some publicly available cars dataset (see my tweet here), but I will need to update the repo to add it as an option. Here were the sets of hyperparameters I tried for that particular experiment:
"angles": [ "[0,0,-90,90,0,0]" ],
"ngf": [512],
"ndf": [64],
"batch_size": [32],
"z_dim": [128],
"beta1": [0.5],
"beta2": [0.999],
"lamb": [1.0, 10.0, 25.0, 50.0],
"update_g_every": [1]

I would leave the code unchanged and simply try out these hyperparameters, but on your specific cars dataset.
Let me know if that helps

Looks nice in you tweet! How long did this car experiment spend?
In my implementation, the g_loss looks a little bigger than d_loss, maybe it lose the adversarial effect.
I will try your sets of hyperparameters. Anyway, thanks for your feedback!

Hi,
Here's what I dug up (I think the individual curves here correspond to the four lambdas I posted above):

It is normal for the generator loss to be much higher. For this specific formulation of GAN (assuming your generator and discriminators have enough modelling capacity) you want to see train_d_loss << train_g_loss. Usually you will find that the generator loss goes up very slowly (and likewise for discriminator, it goes down very slowly) but that is normal. You can see that effect here from ~200 epochs onwards.
The red and orange curves are the most promising (sorry, not sure what lambdas they correspond to) since they also have small values for train_g_z_loss and train_g_t_loss (the losses that try to predict the z code and theta so as to maximise mutual information between G(z; theta) and (z, theta).
Each epoch took about 110 seconds (it was a very small dataset), so for 800 epochs this corresponded to ~24.4 hours of training.

Hi @ryanbbd ,
I made a commit adding support for the Stanford cars dataset. There is a corresponding section for it in the README.md and an example script in exps you can run.

Hi, @christopher-beckham ,
Very thanks for giving me such great reply! I will try your sets now! Keep in touch！


chore: add typing to extras

:tada: This PR is included in version 3.0.6 :tada:
The release is available on:

npm package (@latest dist-tag)
npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add RTS debug mode

This enables various debug printing while the RTS is running. It is very
detailed and will most definitely have a major performance impact. Thus,
it can only be used for debugging purposes in controlled environments.
Debug output is enabled with the --rts-debug option.
To completely eliminate any overhead in normal operations the debug
prints are not just conditioned on the runtime --rts-debug flag but are
also conditioned behind a build time flag. We build the rts lib twice,
once with the flag enabled and once without. actonc chooses which one to
link with when compiling the .act file. That is, given the program
helloworld.act, to run with debug output, we first have to compile with:
$ actonc --rts-debug --root main helloworld.act
Then also run the program itself with:
$ ./helloworld --rts-debug
If helloworld was not compiled with --rts-debug, we will get an error:
$ ./helloworld --rts-debug
ERROR: RTS debug not supported.
HINT: Recompile this program using: actonc --rts-debug ...
$
Closes #172.

I think this needs some more work. Like maybe verbose & debug should be sort of combine into a log level? Just enabling debug level without also enabling the currently verbose level might be a little weird?
The verbose variable is currently in main(), maybe it should be lifted to a global so we can use this wherever!?
Also noting that the verbose printfs I have in there since before won't work via rtsd_printf as they are not '\n' ended and we don't want to print the prefix multiple times.

LGTM


Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')

I got the following error every time I try to filter or order my table.
on class DataTablesFiltering the code is checking every column but bSearchable is empty even if I put "Searchable = true" on model
for (var i = 0; i < dtParameters.iColumns; i++)
{
if (dtParameters.bSearchable[i])
{
this is part of the data sent to server "&bSearchable_0=true&bSortable_0=false&" and the property bSearchable is initialize without values (Count = 0)
Looks like I am facing a bind problem on aspnet core

on class DataTablesFiltering the code is checking every column but bSearchable is empty even if I put "Searchable = true" on model
for (var i = 0; i < dtParameters.iColumns; i++)
{
if (dtParameters.bSearchable[i])
{

this is part of the from data sent to server "&bSearchable_0=true&bSortable_0=false&" and the property bSearchable is initialize without values (Count = 0)

I was not using
        services.AddMvcJQueryDataTables();

and
        app.UseMvcJQueryDataTables();


Exporting record creation/modification dates

Originally on 2011-10-21
[...]
I wonder if could be possible to get the date time data for each record that corresponds to the "Record created" and "last modified" information shown in the bottom of one record webpage?
Example:
http://cdsweb.cern.ch/record/909015/

Currently the only date time information we are indexing is the Imprint metadata received in the MARCXML field
<datafield tag="269" ind1=" " ind2=" ">
<subfield code="a">Geneva</subfield>
<subfield code="b">CERN</subfield>
<subfield code="c">17 Mar 1998</subfield>
</datafield>

This metadata doesn't exists in all the records so would be better to use this "Record created" and "last modified" information.

I've also checked that there is a datafield like the next that seems to expose another datetime information of the record:
<datafield tag="961" ind1=" " ind2=" ">
<subfield code="c">20100226</subfield>
<subfield code="h">2004</subfield>
<subfield code="l">CER01</subfield>
<subfield code="x">19980710</subfield>
</datafield>

This data seems to be close to the "Record created" and "last modified" but in some examples that I've checked is not like that. And again, It seems that this data doesn't exists for all the records.

Could you please let us know which could be the best field for this purpose and if this "Record created" and "last modified" could be somehow extracted from your system.
[...]

Indeed this can be implemented by having a new output format which is exporting exactly these information.

The issue seems to be stalled for 5 years. Please note that Invenio 1.x is in feature freeze state, hence closing. cc @inveniosoftware/triagers


Multiple Scopes per App

Is it possible to request multiple scopes per request? Seems like it is only possible to request one.
type App struct {
	ApiKey      string
	ApiSecret   string
	RedirectUrl string
	Scope       string
	Password    string
}

func (app App) AuthorizeUrl(shopName string, state string) string {
	shopUrl, _ := url.Parse(ShopBaseUrl(shopName))
	shopUrl.Path = "/admin/oauth/authorize"
	query := shopUrl.Query()
	query.Set("client_id", app.ApiKey)
	query.Set("redirect_uri", app.RedirectUrl)
	query.Set("scope", app.Scope)
	query.Set("state", state)
	shopUrl.RawQuery = query.Encode()
	return shopUrl.String()
}

https://github.com/romainmenke/go-shopify/commit/2edf7a887a7cf7da9892380099c5d35c083d3da1
This demonstrates how it could be added in a non breaking way.

@romainmenke Thanks for the suggestion. You can use a comma-separated list of scopes for the Scope parameter, e.g. read_products,read_orders,read_customers. That's how we do it in our projects. I added an extra scope to the example in the README so this is more clear.
As a bit of background, I originally implemented it like this because we store the scope in a single environment variable (SHOPIFY_SCOPE=read_products,read_orders,read_customers), so it was easy to just have a single string.

@dlebech Thanks for clearing that up! Works for us.

Cool thanks! :beers:


fix: add empty folder to third_party

Add the action to create an empty folder in the Makefile.
Issue: https://github.com/deepin-community/grpc/issues/2

/approve

我的锅，版本号错了，应该是 1.51.1-3deepin1


go-gui: Switch to Unix-style installation

This removes the dependency on Apple's Java 1.6 that gogui.app has.
Closes #598.
This change loses the ability to do brew linkapps go-gui, because it no longer creates an application bundle. I don't know if that's something go-gui users are relying on.
Needs a bit of testing first, since it substantially changes the installation layout.
Upstream bugs
https://sourceforge.net/p/gogui/bugs/42/ – Apple Java 1.6 dependency
https://sourceforge.net/p/gogui/bugs/43/ – suggest conditionalizing installation of the Gnome stuff, to eliminate error message and extraneous files

Not going to pursue this. Per this comment, the app bundle is indeed useful.

The ability to bundle as a .app is valuable though; in particular, it's what allows you to associate .sgf files with go-gui which is an important use case.


[assemble] Allow assemblers to be included/excluded by type & name

Assemblers do have a name and it usually matches a distribution name so that their outputs can be exported. However their name could be different and their outputs unexported -> prepare the way for jpackage support.

This is indeed an invalid ticket. Distributions are assembled.


VSCode Path setup

Trying to set the path for git in vscode user setting
Not sure what went wrong, I did:

Opened the user setting
Typed in the path "C:\Program Files\Git\bin\git.exe" in user settings tab
Clicked on the pen icon to the left of "git.path": null roll and select "Copy to Settings" which was the only option
Error occurs at bottom right corner "Can not add index to parent of type string"

Apologize for the noobish question, tried every searching keywords but this seems to be to dumb to become a question or an issue for anyone else....

Hey, try this:
{
    "git.path": "[your path here]",
}

I am struggling to find the place to input the path for git in the "new settings editor" as well. =.(

What do you mean "Saving it did nothing when checking before or after restarting VSCode."? What isn't working?

@nealot I typed in the path under the right side tab in both ways(one with only pathing, the other with {git.path: ...}), and tried to save by pressing Ctrl + S. Nothing happened nor was there any error.
I have no idea how else could I save the change on git.path. The document from VSCode official site only says click on the pen-like icon to edit user setting with no detailed instruction. Tried google this, and did not find anyone with a similar issue with changing git.path from this UI.(most other ppl have a much more complicated problem it seems..)

Ok.. Tried it again, reinstalled VSC and git and restarted PC.
Did the following:

Opened User Settings and found git.path
In the right side of the panel with the title USER SETTINGS, typed in `"C:\Program Files\Git\bin\git.exe"
In the left side of the panel with the title DEFAULT USER SETTINGS, clicked the pen icon to the left of  "git.path": null.

Does git not work for you? Why are you changing the default git path?

Does git not work for you?

@todeosasa Can you please replace the content in the right side with following
{
"git.path": "C:\\Program Files\\Git\bin\\git.exe"
}

Looks like you entered an invalid json content


Error installing scapy

I'm running Raspian 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux
when I run pip install -r requirements.txt the first three install fine, but scapy errors out. I tried installing it manually and it gave the same error:
Downloading/unpacking scapy
  Downloading scapy-2.3.3.tgz (1.4Mb): 1.4Mb downloaded
  Running setup.py egg_info for package scapy
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/home/pi/BoopSuite/build/scapy/setup.py", line 36
        os.chmod(fname, 0755)
                           ^
    SyntaxError: invalid token
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "/home/pi/BoopSuite/build/scapy/setup.py", line 36

    os.chmod(fname, 0755)

                       ^

SyntaxError: invalid token

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /home/pi/BoopSuite/build/scapy
Storing complete log in /root/.pip/pip.log

I succussfully ran sudo apt-get install python-scapy and it installed
when I try to run any boopsniff command I just get this now:
Traceback (most recent call last):
  File "/usr/local/bin/boopsniff", line 12, in <module>
    import pyric.pyw as pyw
ImportError: No module named pyric.pyw

Output of my pip.log:
  Getting page http://pypi.python.org/simple/scapy
  URLs to search for versions for scapy (from -r requirements.txt (line 4)):
  * http://pypi.python.org/simple/scapy/
  Getting page http://pypi.python.org/simple/scapy/
  Analyzing links from page https://pypi.python.org/simple/scapy/
    Found link https://pypi.python.org/packages/4e/f7/700afef531954770c6199f073edc7f599f6cfd6b61c4f69dac99f51f967b/scapy-2.2.0-dev.zip#md5=185d5cd91ce36c449c2f02ff8cb1f2a0 (from https://pypi.python.org/simple/scapy/), version: 2.2.0-dev
    Found link https://pypi.python.org/packages/6d/72/c055abd32bcd4ee6b36ef8e9ceccc2e242dea9b6c58fdcf2e8fd005f7650/scapy-2.3.2.tar.gz#md5=b8ca06ca3b475bd01ba6cf5cdc5619af (from https://pypi.python.org/simple/scapy/), version: 2.3.2
    Found link https://pypi.python.org/packages/72/0b/5381f2a376035d06937064fb4ecfaf2c69fd94327000e13615a4f5d4cc13/scapy-2.2.0-dev.linux-x86_64.tar.gz#md5=84e62f8c244d6e68daa5f7d1de645191 (from https://pypi.python.org/simple/scapy/), version: 2.2.0-dev.linux-x86_64
    Found link https://pypi.python.org/packages/ac/14/c792a14b9f8bc4bb9c74c0594c167a2da36e31964098d9e27202142cbd7d/scapy-2.3.3.tgz#md5=65939356f08760ebef836796d3320b3b (from https://pypi.python.org/simple/scapy/), version: 2.3.3
    Found link https://pypi.python.org/packages/ee/cd/d20c1e121b09697bf4d7b1b9edde6573fc7d54eefc56860f457a7edfc0de/scapy-2.3.1.zip#md5=1527f09562d9c1bafa5e619c7782d5a0 (from https://pypi.python.org/simple/scapy/), version: 2.3.1
    Found link https://pypi.python.org/packages/f3/29/48d6ed3c95571b5ff3ee91b1c987c820e7c5265dfd2c46b566573d87c662/scapy-2.2.0-dev.tar.gz#md5=1a5115d1f33548501d01d735bd689f13 (from https://pypi.python.org/simple/scapy/), version: 2.2.0-dev
  Using version 2.3.3 (newest of versions: 2.3.3, 2.3.2, 2.3.1, 2.2.0-dev.linux-x86_64, 2.2.0-dev, 2.2.0-dev)
  Downloading from URL https://pypi.python.org/packages/ac/14/c792a14b9f8bc4bb9c74c0594c167a2da36e31964098d9e27202142cbd7d/scapy-2.3.3.tgz#md5=65939356f08760ebef836796d3320b3b (from https://pypi.python.org/simple/scapy/)
  Running setup.py egg_info for package scapy

    Traceback (most recent call last):

      File "<string>", line 14, in <module>

      File "/home/pi/BoopSuite/build/scapy/setup.py", line 36

        os.chmod(fname, 0755)

                           ^

    SyntaxError: invalid token

    Complete output from command python setup.py egg_info:

    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "/home/pi/BoopSuite/build/scapy/setup.py", line 36

    os.chmod(fname, 0755)

                       ^

SyntaxError: invalid token

----------------------------------------

Command python setup.py egg_info failed with error code 1 in /home/pi/BoopSuite/build/scapy

Exception information:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 104, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 245, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/usr/lib/python3/dist-packages/pip/req.py", line 1009, in prepare_files
    req_to_install.run_egg_info()
  File "/usr/lib/python3/dist-packages/pip/req.py", line 225, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/usr/lib/python3/dist-packages/pip/__init__.py", line 256, in call_subprocess
    % (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command python setup.py egg_info failed with error code 1 in /home/pi/BoopSuite/build/scapy

try running: "pip install pyric" See if that fixes the pyric error.

After running that just got the following:
Cleaning up...

I'll try a couple different things and see if I can't get it going.

The issue here is that scapy is not Python 3 compatible.  Try installing using Python 2.
http://www.secdev.org/projects/scapy/


Enhance/vectorize

Add vectorize method to quickly create functions to operate on matrices. Additionally, add a second vectorized (vectorize2) method that is specialized with speed-ups for our most common cases. Use it to generate our general purposed methods: add, subtract, multiply, etc.
Additionally, add a faster path in broadcast for simple cases, matrices below dimensions of 3 and broadcast of a single matrix.
Some small cleanups for performance were generally made in the algebra lib as well.

@gir-bot lgtm


Fix Quicksilver icon for more sizes

Some icon sizes are missing in the newest QS icon, created by vadimrob.

From @lgarron:
Would it make sense to add more resolutions to the .icns files?
In https://github.com/quicksilver/Quicksilver/pull/2544 I put a lot of care into the dimensions to match Apple's guidelines/icons, and also to make sure that the horizontal short line at the bottom remains visible in Finder at 1x monitor resolution (right side of screenshot).

Originally posted by @lgarron in https://github.com/quicksilver/Quicksilver/issues/2595#issuecomment-1069784894
Original .afdesign files are available in that post as well for editing
@lgarron, would you be able to update the icons?

Okay, here's a go that tries to match @vadimrob's design and dimensions. I'll make a PR for it.

If we want a bigger purple surface, I'd be more partial the preserving the traditional Quicksilver style of using a purple inset, also matching current icons for apps like Safari:

But it seems that ship has sailed for now.

(Splitting out into a separate comment for linking.)
If we want a bigger purple surface, I'd be more partial to preserving the traditional Quicksilver style of using a purple inset, also matching current icons for apps like Safari:

But it seems that ship has sailed for now.

Fixed by #2686


Please add: Supplement Service

Expert advice, detailing nutrient depletion and interactions
https://chat.openai.com/g/g-6mAmNGQof-supplement-service

Please raise a pull request for the same


Twitter Autohook silently fails to receive furthur reqests after a few hours

I have successfully integrated twitter autohook and every functionality seems working fine. But after a few hours, it silently stops taking requests without throwing much error.
Expected behavior
It should work perfectly after the server is up even after several hours and should error out if something failed
Actual behavior
Autohook get subscribed and after a few hours it doesn't receive any response
Steps to reproduce the behavior
Configure autohook and deploy to a server. After few hours it doesn't accept webhook requests.
Error Logs
My server is configured to automatically restart if the application errors out. Sometimes, I see this error coming up

The codebase is opensource. So you can also view my implementation here

@sachushaji Were you able to solve this?

@yash-atreya, I refactored the code by using this example code in the repo yesterday. It's now listening for a few more hours, But again facing the same issue today. It's not clearly consistent to say when exactly this is happening. The above errors in the error logs are still happening. I was wondering is it because I'm using free sandbox API ?

@sachushaji Yes I am also using the code from the example. Facing the same issue as I am also on the Free API.

Check this, might help you
https://github.com/twitterdev/autohook/issues/21#issuecomment-667103718

I added auth token to ngrok, and it seemed stable now. The reason I think it was failing was that ngrok connections without auth tokens will be terminated after a certain limited time. With auth token,I suppose it will be a more stable connection

@sachushaji Can you elaborate which auth tokens did you add to ngrok ?

I have made a fix at PR #37. You just need to go to ngrok.com, configure account and use the authtoken before connecting to ngrok as per the example (code)[https://github.com/HelixNetwork/helix-twitter-bot/blob/master/index.js]


Migrate to Swift 5

Moves Rules to Swift 5 and Xcode 10.2. The changes were very minor.

I think this would be an appropriate time to tag a 0.3.0 release too.


KuduSync fails when previous deployment did not use KuduSync

I am deploying a node app to a linux app service through git. The first few deployments I had a .deployment and deploy.cmd file which did not use KuduSync. Afterward I removed those files and did a new deployment which used the default behavior of generating and executing deploy.sh which used KuduSync. Unfortunately this fails because KuduSync is expecting a previous manifest file from the previous deployment but that manifest file does not exist.

This is an unusual situation we have not encountered before. Try cleaning out your D:\home\site\deployments in Kudu Console. You'll lose your deployment history, but it'll get you out of trouble.

Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


Unable to extract uploader id

Hi,
I have followed the instructions to download and install yt-dlp-gui, and when I run it I get the error message "Unable to extract uploader id". I am using yt-dlp_linux, and it works fine from the command line.
I have added the debug.log.
Thanks for any help!
debug.log

You're using a super old version of yt-dlp (version 2022.04.08) delete it and let yt-dlp-gui download the latest for you. you're getting many HTTP Error 400 probably due to it being outdated.

Hi dsymbol,
I deleted the yt-dlp-gui folder and reinstalled. I still have an error. I have added the debug log.
Thanks.
debug.log

Hi dsymbol,
Sorry I didn't mean to close the issue.

Hi dsymbol,
The version for yt-dlp is still being reported as 2022.04.08. This is after a new install.

Hi dsymbol,
I needed to remove the old version with Synaptic. Once I did that the install went smoothly. The installed version is now 2024.11.04, and it works.
I am still fairly new to linux, and kind of feeling my way around things.
Thanks for your patience and feedback.
Regards,
mikejp56

This issue is now closed.


Inconsistent behavior for bitmap.capture_screen() on ArchLinux (i3-wm)

Hi. I'm trying to get a screenshot of a region of my screen. Here is the coordinates of the region : autopy.bitmap.capture_screen(((1680, 56), (1920, 1144))).
So the region would go to (3600, 1200) on my screen, and the screenshot should be possible, since my screen size is 3600x1200. As a proof, here is the output of the xrandr command :

Screen 0: minimum 320 x 200, current 3600 x 1200, maximum 8192 x 8192
HDMI-1 connected primary 1920x1200+1680+0 (normal left inverted right x axis y axis) 518mm x 324mm
VGA-1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 433mm x 271mm

So yea, the autopy method capture_screen() should work with these coordinates, but I'm getting the "Image too large or too small" error.
I was thinking there might be a 1pixel offset, so I tried autopy.bitmap.capture_screen(((1680, 56), (1919, 1143))), and even weirder, this worked a few times and didn't the other times !
I'm out of ideas, I'm quite sure I'm not doing anything wrong. I asked a friend which is also on ArchLinux with i3-wm and he has the same inconsistent behavior.

Hmm, not sure. It might be related to scaling (ex.
https://github.com/autopilot-rs/autopilot-rs/blob/e59f0aa/src/internal.rs#L68). What are the values of screen.size() and screen.scale()?

autopy.screen.size()
(3598.1102362204724, 1199.3700787401574)
autopy.screen.scale()
1.0005252100840336

Right, I can see why it fails now, is this a float error or smth ?

I've pushed a potential fix, can you try again on the latest master?

Yep it seems to be fixed ! Thanks.


Small fixes to Elysia 1.0.0 breaking Changes

https://github.com/elysiajs/elysia/issues/513
Since Elysia version 1, there have been two breaking changes in regard to deriving, so I made an easy fix to add the new "HookType" (they both work the same and all tests are successful). And I added a return type so the TypeScript compiler would run a bit quicker.
I believe I should've created an issue first, but I already knew how to fix that, it was pretty easy, and I didn't want to bother with a small change like that.

looking forward for this fix!


Add common useless serials and compare in lowercase to catch differently cased versions

Addresses #12

On the 120 machines of our users we have seen all of these serial numbers come up but not others that are worth adding. We have seen uppercase/lowercase variations of some too so that case insensitive check is very helpful.
I think this is a really worthwhile improvement. @es128 can we get this merged and published?

I've just spotted that Coreboot on a StarLabs Mk IV (My dev machine!) returns a serial number of 123456789. Is it worth adding that to the list?

Two more serial numbers reported by multiple machines:
03000200-0400-0500-0006-000700080009
FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF


Multipart/form-data request for file upload

Hey @wkh237,
I was implementing file upload in my app as per
https://github.com/wkh237/react-native-fetch-blob#user-content-multipartform-data-example--post-form-data-with-file-and-data
The issue is with any other element without filename field.
In the request, it appends \r\nContent-Type: text/plain\r\n in the keyname.
Like if my element is { name: "userName", data: "Jon"}
It gets converted to "userName\r\nContent-Type: text/plain\r\n"=>"Jon" in the request.
This is causing the key extraction on server side difficult.
I need to know, is this behavior expected and how it should be parsed.
Any help is greatly appreciated.
Thanks.

@plkt1792 , will look into this issue, does it happens on both IOS and Android ?

I'm working on Android only.

It's similar to #208 , could you try upgrade to 0.10.1-beta.3 ?

Great! Works fine now.
Thanks a lot.
👍


Support git 1.8.3

Although git branch --show-current is certainly cleaner, it fails on some OSes which haven't updated to git 2.

Interesting. What's the OS you're on, there?

Pondering https://stackoverflow.com/questions/47098342/jenkinsfile-git-rev-parse-abbrev-ref-head-returns-head .  Bit niche to be sure ..

I don't have a git 1.8.3. This could work: git name-rev --name-only HEAD
Can you test that when you are on the branch and when you're in detached head state on a previous commit?

Change made.


Some icons not rendering in WebStorm 2022.1

Describe the bug
When the plugin is enabled in WebStorm 2022.1 some UI don't render anymore, they just display a single dot. This only happens when the plugin is enabled but the missing icons even include things that aren't being replaced by the plugin, which is weird... I'm getting this display no matter if I tell the plugin to replace UI/PSI icons or not:

The problem goes away again when the plugin is disabled. It might be an IDE change/bug? I didn't encounter this in the 2021.* WebStorm builds.
To Reproduce

Use WebStorm 2022.1 (or another 2022.1 IDE I suspect)
Enable plugin
Restart IDE

Expected Behavior
All icons display correctly
Environment
WebStorm 2022.1
Build #WS-221.5080.193, built on April 10, 2022
Licensed to Liam Jones
Subscription is active until October 14, 2022.
Runtime version: <IP_ADDRESS>+1-b2043.25 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.3.1
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 16
Registry:
ide.balloon.shadow.size=0
ide.images.show.chessboard=true
Non-Bundled Plugins:
wallaby.js (1.0.238)
rasarts.espresso.light.theme (1.2.0)
quokka.js (1.0.332)
com.wakatime.intellij.plugin (13.1.14)
com.thvardhan.gradianto (4.5)
com.markskelton.one-dark-theme (5.5.2)
com.jetbrains.darkPurpleTheme (1.3)
com.jetbrains.CyanTheme (1.3)
com.intellij.ideolog (<IP_ADDRESS>)
com.herokuapp.vuesion (1.9.2)
com.github.mturlo.intellij.theme.spacegray (1.4.2)
com.arcticicestudio.nord.jetbrains (0.13.0)
com.4lex4.intellij.solarized (2.4.0)
coderpillr.theme (1.0.0-rc.3)
izhangzhihao.rainbow.brackets (6.21)
com.mallowigi (61.0.0) (also happened w/ plugin version 60.0.0 before I updated it this morning)
com.atlassian.bitbucket.references (2022.1.200)

Please look for open issues before reporting.


Update migrate-version-3-version-4.md

Response instead of Resonse

Learn Build status updates of commit 763c927:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/azure-functions/migrate-version-3-version-4.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@ggailey777

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


ending calls always fires decline event

Hello, I'm facing a case where I need to dissmiss the call notification from the flutter_callkit_incoming package when I open the app.
but I don't want to fire any events.
is this possible in anyway?

+1 to this issue.
We would love to have a silent way to end calls and not trigger any CallKit events (maybe a simple silent flag on the method?)
@hiennguyen92 happy to launch a PR exploring this if needed.

Yes. Please

Perfect, we'll launch a PR to achieve this in a bit.

https://github.com/hiennguyen92/flutter_callkit_incoming/pull/408
please let me know if this looks good @hiennguyen92

@Brazol please using 2.0.1 and check changelog


Macro H1

Describe the bug
Needs fix after review.
To Reproduce
Steps to reproduce the behavior:

Go to '...'

Additional context
Add any other context about the problem here.

Ready for final code review.


Fix for MTLLibraryErrorDomain Code=1 "Invalid library file"

MTLLibraryErrorDomain Code=1 "Invalid library file" is caused by conda.
Conda python binaries are built with a target for older macOS versions. 11.0 for M series and 10.9 for Intel Macs.
Using otool -L on the conda python binaries show /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1292.60.1) while the working python binaries (system and homebrew) show /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.100.3).
Conda team does not seem to want to change the target anytime soon.
I managed to build a python binary via conda forge with only a target change for 13.3. And the metal compilation works fine.

As this is a conda issue, the PR sets the XCODE_METAL flag to 1 when conda environment is detected and uses xcrun for metal compilation. Also include a message for users about the conda incompatibility. I’ve tested the performance and it is actually faster to use xcrun although the cost is to install the Xcode library.
Those who had already ran tinygrad on conda before will need to clear cache by deleting ~/Library/Caches/tinygrad/cache.db for this to work. So the DISABLE_COMPILER_CACHE flag is no longer required.

Can a maintainer take a quick look at this? It can save a new conda user some pain. I dont need the bounty. Thanks.

This is not a fix, and relies on the user having XCODE installed (also becomes slower). I think the current error message in there is fine.


Callback function le_param_req() is never called.

A simplest example is samples\bluetooth\peripheral_dis.
Board nrf51_pca10028.
Minor changes to the main.c file.
Functions le_param_req() and le_param_updated() added to conn_callbacks{} structure.
static bool le_param_req(struct bt_conn *conn,                        ////
          struct bt_le_conn_param *param)                             //
{                                                                     //
  printk("le_param_req\n");                                           //
  return true;                                                        //
}                                                                     // added lines
                                                                      //
static void le_param_updated(struct bt_conn *conn, u16_t interval,    //
    u16_t latency, u16_t timeout)                                     //
{                                                                     //
  printk("le_param_updated\n");                                       //
}                                                                     ////

static struct bt_conn_cb conn_callbacks = {
  .connected = connected,
  .disconnected = disconnected,
  .le_param_req     = le_param_req,                                   // added line
  .le_param_updated = le_param_updated,                               // added line
};

For the test, nRF connect PC is used. Three simple steps:

Connection
Change connection parameter
Disconnection

Log:
***** Booting Zephyr OS 1.13.99 *****
Bluetooth initialized
Advertising successfully started
Connected
le_param_updated
le_param_updated
Disconnected (reason 19)

It can be seen that the parameters have changed, there is call le_param_updated(), but there is no call le_param_req().

IIRC the central can just go and change the parameters - it does not need the peripheral's permission for it. Probably that's what's happening. The le_param_req() callback is in that sense mostly useful for central applications and not peripheral ones. @sjanc @carlescufi please correct me if I'm wrong.

For example. The peripheral device at the connection set latency 4 and does not want to change it.
And then the central device requested a latency 0. How can a peripheral device refuse to change parameters if it does not know about it.

@SergeSmirnov there are two ways of changing connection parameters in BLE. I will use the Link Layer names:

LE Connection Update: This was introduced in BLE 4.0. Only the master can make use of it and it can change the connection parameters at any time without the slave being able to do anything about it. However the slave can request connection parameters through a "hint" packet that it can send over L2CAP (Connection Parameter Update Request) to request the master to change the actual connection parameters via an LE Connection Update.

LE Connection Parameters Request: This was introduced in BLE 4.1. This can be initiated by both master and slave, and both can reject the parameters if they don't accept their values.

I believe your master (nRF Connect on PC) is using "LE Connection Update" to change the connection parameters unilaterally without consulting the slave. There is not much you can do about that except to request another change of connection parameters after using an L2CAP Connection Parameter Update Request.
You can enable the LE Connection Parameters Request feature in the controller by setting CONFIG_BT_CTLR_CONN_PARAM_REQ=y.

This is very useful information, thanks.
Unfortunately, adding CONFIG_BT_CTLR_CONN_PARAM_REQ=y has not changed anything.
What other  test can I do to distinguish the master uses LE Connection Update or LE Connection Parameters Request?
Or which other software master uses LE Connection Parameters Request to test the function le_param_req()?

@SergeSmirnov so there are 2 things here:

Are you sure CONFIG_BT_CTLR_CONN_PARAM_REQ is set to =y in your <build>/zephyr/.config?
You need to be sure that the master (nRF_Connect) actually supports LE Connection Parameters Request, because both master and slave need to support it in order for the feature to be used.

@cvinayak any other clues?

@SergeSmirnov also the decision is taken here: https://github.com/zephyrproject-rtos/zephyr/blob/master/subsys/bluetooth/host/conn.c#L204
Maybe you can add some debug info there to find out exactly why L2CAP is being used?

@carlescufi
About CONFIG_BT_CTLR_CONN_PARAM_REQ just double checked it.
By default CONFIG_BT_CTLR_CONN_PARAM_REQ=y.
To disable it you need to set CONFIG_BT_CTLR_CONN_PARAM_REQ=n.
Thanks for the link. I will try debugging tomorrow.

@carlescufi
First, a big thank you for the clue the direction of the search.
I did a lot of tests with various Android and Apple devices using nRF_Connect.
Checked commands LL_FEATURE_REQ, LL_SLAVE_FEATURE_REQ, LL_FEATURE_RSP and LL_VERSION_IND.
If the BLE version of the master is 4.2, then feature Connection Parameters Request Procedure is allowed and the callback le_param_req() occurs.
nRF_Connect PC latest version for today (2.5) reports BLE version 4.0.
Interestingly, if you install a new version of the OS on old devices, then BLE version 4.0 remains, new features do not appear.
For example, the phone had a version of Android 4, now Android 7. Ipad had a version of iOS 6, now IOS 10.
If you set CONFIG_BT_CTLR_CONN_PARAM_REQ=n when working with a device with BLE version 4.2, then everything works as with BLE version 4.0.
Log with debug line from your link:

BLE 4.0

***** Booting Zephyr OS 1.13.99 *****
Bluetooth initialized
Advertising successfully started
Connected
le_param_updated
le_param_updated
conn 0x20000508 features 0x00 params (24-40 0 42)
le_param_updated

BLE 4.2

***** Booting Zephyr OS 1.13.99 *****
Bluetooth initialized
Advertising successfully started
Connected
le_param_req
le_param_updated
le_param_req
le_param_updated
conn 0x20000508 features 0xff params (24-40 0 42)
le_param_updated

So my bug report is wrong.

@SergeSmirnov thanks very much for reporting back. I will now close this issue, glad that you got your issue resolved and look forward to you using Zephyr for your applications.


my python client cant establish connection via /wd/hub

hi
i run cm and selenoid-ui binaries with this commands:
cm selenoid start --vnc
selenoid-ui --listen localhost:8085
both of them are running and have not problem
my programming language is python
but when in using i have problems :

from selenium import webdriver
from selenium.webdriver.common.keys import Keys
driver = webdriver.Remote(
command_executor="http://localhost:4444/wd/hub",
desired_capabilities={
"browserName": "firefox",
})
print (driver.session_id)
try:
driver.implicitly_wait(30)
driver.get("http://www.python.org")
assert "Python" in driver.title
elem = driver.find_element_by_name("q")
elem.send_keys("documentation")
elem.send_keys(Keys.RETURN)
assert "No results found." not in driver.page_source
finally:
driver.quit()

what is my problem?
have some example using code with python lang to give me?
thanks

@rmros Selenoid is fully compatible with Selenium so your code seems to be correct. However when working with latest versions of Firefox you may encounter issues related to new Geckodriver used to drive the browser. This driver is still missing some features (take a look at implementation status). By default cm is downloading 2 last versions of Firefox (currently 53 and 54) and these versions are using Geckodriver. You could try to download and use older versions with --last-versions flag:
$ ./cm selenoid start --last-versions 10

Then you could e.g. try with Firefox 46.0 capabilities:
browserName = firefox
version = 46.0

If this still does not work please provide more details about your error.

@vania-pooh
its runned cm :

its runned ui :

its client.py :
client.txt
and its Error :(  :

i also modified client and append
browserName = firefox
version = 46.0

@rmros ok, that's the Windows case. In that case only the latest Geckodriver is downloaded. Could you please check that when you start your tests a new process called geckodriver.exe starts?

@rmros any more updates?

@vania-pooh  thanks for support , this issue solved

Ok, then closing it.


[New chain]: Immutable zkEVM Mainnet

Chain Name
Immutable zkEVM Mainnet
RPC URL
http://rpc.immutable.com
The chain must be added to https://chainlist.org/

[X] I confirm that the chain is added to chainlist

After creating the issue, a bot will estimate the required pre-fund and post it in the comments. Please check this checkbox after you send the pre-fund.

[X] I sent the pre-fund in accordance with Github Action's comment

Relevant information
Block explorer: https://explorer.immutable.com/

Hey @Uxio0 @mmv08, could you please have a look into that? This is blocking us for deploying safe-contracts to Immutable zkEVM.
Thank you!

RPC is currently not working for me:
Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.1.2)
    at Logger.makeError (/home/uxio/gnosis/dev/safe-singleton-factory/node_modules/@ethersproject/logger/src.ts/index.ts:205:28)
    at Logger.throwError (/home/uxio/gnosis/dev/safe-singleton-factory/node_modules/@ethersproject/logger/src.ts/index.ts:217:20)
    at JsonRpcProvider.<anonymous> (/home/uxio/gnosis/dev/safe-singleton-factory/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:371:23)
    at step (/home/uxio/gnosis/dev/safe-singleton-factory/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23)
    at Object.throw (/home/uxio/gnosis/dev/safe-singleton-factory/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:29:53)
    at rejected (/home/uxio/gnosis/dev/safe-singleton-factory/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:21:65)
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  reason: 'could not detect network',
  code: 'NETWORK_ERROR',
  event: 'noNetwork'
}

@Uxio0 thank you for looking
Very strange, just checked all 3 Immutable networks, works fine for me:
blak@blakmbp safe-singleton-factory % yarn estimate
yarn run v1.22.21
$ ts-node scripts/estimate.ts
{ chainId: 13371 }
{ estimate: '68131' }
{ gasPriceGwei: '10.000000049', gasPrice: '10000000049' }
{ requiredFunds: '0.000681310003338419' }
✨  Done in 5.12s.

For me it's not working:
❯ RPC="http://rpc.immutable.com/" yarn estimate
yarn run v1.22.21
$ ts-node scripts/estimate.ts
Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.1.2)
    at Logger.makeError (/home/uxio/gnosis/dev/safe-singleton-factory/node_modules/@ethersproject/logger/src.ts/index.ts:205:28)
    at Logger.throwError (/home/uxio/gnosis/dev/safe-singleton-factory/node_modules/@ethersproject/logger/src.ts/index.ts:217:20)
    at JsonRpcProvider.<anonymous> (/home/uxio/gnosis/dev/safe-singleton-factory/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:371:23)
    at step (/home/uxio/gnosis/dev/safe-singleton-factory/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23)
    at Object.throw (/home/uxio/gnosis/dev/safe-singleton-factory/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:29:53)
    at rejected (/home/uxio/gnosis/dev/safe-singleton-factory/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:21:65)
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  reason: 'could not detect network',
  code: 'NETWORK_ERROR',
  event: 'noNetwork'
}

Ok, I see where is the issue - apparently the RPC is now not accessible via http, only via https, sorry for that @Uxio0
Whenever you will have time please try with https://rpc.immutable.com (I also updated initial message).

That RPC is also not working for me

Checked this again today, and I can also not access the rpc (testnet and devnet worked). Chainlist.org also lists the rpc as not available. Will put this on hold until further information are provided

Hey @Uxio0 , @rmeissner ,
They have just removed the IP filter. Now, it should go well!

The IP filter is removed and RPC is accessible:
blak@blakmbp safe-singleton-factory % RPC="https://rpc.immutable.com/" yarn estimate
yarn run v1.22.21
$ ts-node scripts/estimate.ts
{ chainId: 13371 }
{ estimate: '68131' }
{ gasPriceGwei: '10.000000049', gasPrice: '10000000049' }
✨  Done in 4.61s.


Deprecating shuffle_prop

Now that we have PowerBALD and SoftmaxBALD, I would deprecate shuffle_prop as the formers are more consistent.
wyt @parmidaatg @GeorgePearse ?

+1


how to change URL title

HELLO everyone please help me i can't  find function for change url title i need do translite of title on english words
thanks you

https://example/type/фильмы
after happens this

Hello. Thank you for using CinemaPress.
Dashboard -> URL settings


Android takes ~10 seconds to load products

Is this know or am I doing something wrong?
Have yet to test on iOS.

Hey @r0zar , I guess it depends on device/I-net speed. Sometimes it is a bit slow, but this is the speed of how Google/Apple responds to the requests.

No further response so closing this one for now. In case you still have problems, please provide more details.

Fine with me. I'll post an update if anything relevant come's up.
On Thu, May 10, 2018, 16:32 Peter Staev<EMAIL_ADDRESS>wrote:

Closed #37 https://github.com/PeterStaev/nativescript-purchase/issues/37
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PeterStaev/nativescript-purchase/issues/37#event-1620759603,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEcJcl5KOM_fDfMy53J94dWTG-YQTuyFks5txLH2gaJpZM4TpeMU
.


Added "ItemContainer" class so that items and their quantities can be displayed instead of duplicates

Fixes #12
Let me know what you think.

Brilliant, thanks! This looks really good. I'll check it out and merge it later when I have more time. If you're interested in helping out more / sharing ideas. I have a discord channel for the project: https://discord.gg/nuf7FVq  Would be great to work with someone else on AQ.

I'm having a look at the code in LoadRoom, and it takes the item count into consideration when printing the message. Should the code that I've added also do that? I guess we can add a parameter to configure that?

I noticed that too, It's something I started but never fully completed as it doesn't work. 😊 So was wondering how I could use your code as it works well for containers and inventory.  If not,  shouldn't be too difficult to get the load room items to display the same way. I can have a look at that one.

I think It could be written as (if we are not worrying about the item count):
        var items = room.items.Where(x => x.itemFlags?.Contains(Item.Item.ItemFlags.invis) != true && player.DetectInvis || x.itemFlags?.Contains(Item.Item.ItemFlags.hidden) != true && player.DetectHidden);
        items = items.Where(x => !x.isHiddenInRoom);

        foreach (var item in items.Where(x => !string.IsNullOrEmpty(x.description?.room)))
        {
            itemList += $"
{item.description.room}
";
        }

        foreach (var item in ItemContainer.List(items.Where(x => string.IsNullOrEmpty(x.description?.room)), true))
        {
            itemList += $"
{item} is on the floor here.
";
        }

Thanks for the example, I'll try it out when I get back home.  what do you plan to do next on the project? My issue list is quite out of date. My next steps is to add more skills and spells.  Similar to your sandard diku ones if your familiar with diku muds. Fight code also needs a look into as goblins don't seem to fightback until you've hit them ten times.
What do you think about the project by the way?


schemas/mock

Need better naming in schema/mock testing package
Now, in current architecture
Exported by schemas/mock package structs and their constructors has names MockSchemaCache / MockedSchemaCache(), MockSchema / MockedSchema(), MockField / MockedField() and s.o.

Problem (warm): Wrong names. The importer from this package will see repetition: mock.MockSchema or mock.MockedSchema().

Solution
Rename structs and constructor to exclude repetition: SchemaCache / NewSchemaCache(), Schema / NewSchema(), Field / NewField() and s.o.
To read
Effective Go

Implemented in issue #77.