text:
big_bench doesn't show results

When I use the above conf,

the following error will appear.

When I use the following conf, no error will be reported, but they have no results, which can only be seen in Raw runs

Error comes from HTTPModelClient.decode() which is commented out here
@drisspg @msaroufim should the model server also expose a decode() endpoint? If so, can we uncomment this block?
The alternative is to ask the user to use a HELM local tokenizer instead, then the user just needs to configure the tokenizer name that corresponds to their base model... I'm making some progress on getting configurable tokenizers to work, and will probably have it ready in a couple of weeks.

The results are not displayed because there are no results to display. The error above prevented the run from completing and producing any output.

I am unable to repro the error,  Indeed decode is not currently exported. I will uncomment and fix up the toy submission but want something to iterate with
# entries: [{description: "gsm:model=neurips/local", priority: 1}]
entries: [{description: "big_bench:model=neurips/local,task=auto_debugging,subtask=", priority: 1}]

Should this be enough with
helm-run --conf-paths run_specs.conf --suite v1 --max-eval-instances 100 -n 16
?

@drisspg Thanks for your reply, you can use the configuration of src/helm/benchmark/presentation/run_specs_big_bench_lite.conf this should be all tasks for big_bench

@drisspg Hello, I see that you have submitted the PR and it says that you have succeeded. I would like to ask if your result interface will now display the big_bench results, just like the other tasks in the picture below.

I used your code, but there is still no result here. display of big_bench

Did you by chance grab the newest version of the toy submission: https://github.com/llm-efficiency-challenge/neurips_llm_efficiency_challenge/commit/21a3c07bac9fd5d4fd777697e6229ed2845ad44d

Yes
发自我的iPhone
------------------ Original ------------------
From: Driss Guessous @.>
Date: Fri,Sep 15,2023 1:16 AM
To: stanford-crfm/helm @.>
Cc: MrJungle1 @.>, Author @.>
Subject: Re: [stanford-crfm/helm] big_bench doesn't show results (Issue #1813)

So you have a display on your side？
发自我的iPhone
------------------ Original ------------------
From: Driss Guessous @.>
Date: Fri,Sep 15,2023 1:16 AM
To: stanford-crfm/helm @.>
Cc: MrJungle1 @.>, Author @.>
Subject: Re: [stanford-crfm/helm] big_bench doesn't show results (Issue #1813)
Did you by chance grab the newest version of the toy submission: @.***
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I am also not seeing any display on my end, but when enabling auto_debugging I see decode requests successfully being run. @yifanmai  Any thoughts?

I am also not seeing any display on my end, but when enabling auto_debugging I see decode requests successfully being run. @yifanmai Any thoughts?
Is there any updates about this issue?

@yifanmai @percyliang any thoughts on this thread?

I also have decode request but not able to see big bench results. Do I need to update my helm version?

Thanks for the ping, I will investigate shortly.

Could someone help me with reproducing this issue? In particular, it would be good if you could upload a .tar.gz / .zip file of your benchmark_output/runs/v1 folder to a public URL, and also let me know the githash from git status (or the version of HELM, if you are installing from PyPI).

Thanks @RawthiL, I'll take a look and get back to you in a couple days.

Hi, apologies for the slow response. I'm closing this issue due to staleness; if anyone is still actively affected, please reopen this issue.

authors: LZY-the-boys MrJungle1 MrigankRaman drisspg msaroufim yifanmai

repo: stanford-crfm/helm


text:
prepare-training fails in staging

Not sure if this is a known issue.  Prepare-training is failing in staging with following error:
Error: Cannot enqueue Query after fatal error.
    at Protocol._validateEnqueue (/opt/almond-cloud/node_modules/mysql/lib/protocol/Protocol.js:212:16)
    at Protocol._enqueue (/opt/almond-cloud/node_modules/mysql/lib/protocol/Protocol.js:138:13)
    at PoolConnection.query (/opt/almond-cloud/node_modules/mysql/lib/Connection.js:201:25)
    at process._tickCallback (internal/process/next_tick.js:61:11)
From previous event:
    at Object.selectAll (/opt/almond-cloud/util/db.js:98:40)
    at Object.getValues (/opt/almond-cloud/model/strings.js:58:19)
    at DatabaseParameterProvider._getStrings (/opt/almond-cloud/training/lib/param_provider.js:22:28)
    at DatabaseParameterProvider.get (/opt/almond-cloud/training/lib/param_provider.js:38:25)
    at ValueListLoader._load (/opt/almond-cloud/node_modules/genie-toolkit/lib/replace_parameters.js:126:43)
    at ValueListLoader.get (/opt/almond-cloud/node_modules/genie-toolkit/lib/replace_parameters.js:120:30)
    at ParameterReplacer._sampleParam (/opt/almond-cloud/node_modules/genie-toolkit/lib/replace_parameters.js:270:44)
    at process._tickCallback (internal/process/next_tick.js:68:7)
Emitted 'error' event at:
    at errorOrDestroy (internal/streams/destroy.js:107:12)
    at DatasetAugmenter.onerror (_stream_readable.js:733:7)
    at DatasetAugmenter.emit (events.js:198:13)
    at DatasetAugmenter.EventEmitter.emit (domain.js:448:20)
    at errorOrDestroy (internal/streams/destroy.js:107:12)
    at onwriteError (_stream_writable.js:436:5)
    at onwrite (_stream_writable.js:461:5)
    at DatasetAugmenter.afterTransform (_stream_transform.js:94:3)
    at _process.then (/opt/almond-cloud/node_modules/genie-toolkit/lib/dataset_augmenter.js:90:13)
    at process._tickCallback (internal/process/next_tick.js:68:7)

It is known, and I also have a half-finished fix. I will open a PR when I finish testing it.

source: gharchive/issue

repo: stanford-oval/almond-cloud

license_type: permissive

license_source: github-api


text:
Crashing - MinHook failed to hook to offset 0x14a6b00! (Status: 8)

When injecting an error in the console is shown: [Boykisser Central] [ERR] MinHook failed to hook to offset 0x14a6b00! (Status: 8)
Upon loading into a game it crashes straight away.

offsets update

repo: stanuwu/PixelGunCheatInternal

license: MIT


text:
GmEventService is not a constructor | Getting all open orders for multiple assets at once

Problem
Get all open orders for assets at once.
Cause running getOpenOrdersForAssets in a loop causes to many request and my current solution is using a rate-limit.
Solution
getOpenOrdersForAssets(connection: Connection, assetMint: PublicKey[], programId: PublicKey): Promise<[OrderAccountItemAsset])[]>

where
export interface OrderAccountItemAsset {
  assetMint: PublicKey;
  orders: OrderAccountItem[];
}

Alternatives Considered
rate limiting?
Notes
If there is already a way please let me know.
Thanks S&B

....[update]
So I found the GmOrderbookService class by now which should do exactly what i want.
But trying to implement it gives me the following error:
Uncaught (in promise) TypeError: anchor_1.Wallet is not a function
    GmEventService GmEventService.ts:48
    GmOrderbookService GmOrderbookService.ts:46

I can confirm I have the same exact error with GmOrderbookService

Hi @skullnbonesdao @redspatula - we're taking a look into this. Thanks for the report!

Quick update on this is that it appears that this issue is specific to the browser environment. Running the service inside of a Node.js server, for example, with the same code linked above works just fine.
Obviously this is a client side package though so we should expect it to work properly in the browser, so we'll keep digging :+1:

Don't really know if this is the exact issue here but it seems like its related (since a import gets converted into a require when running npm build ) maybe this helps:

https://stackoverflow.com/questions/43815928/why-does-this-npm-package-say-it-is-not-a-constructor
https://stackoverflow.com/questions/42475691/importing-vs-requiring-with-babel-in-node/42475844#42475844

There seems to be also a update in the anchor package since there is an issue with that exact import/require statement:
"@project-serum/anchor": "^0.24.2" => 0.25.0

Hope this helps :pray:

Thanks for the update. I no longer have that bug. Site is up and running now again =D

Awesome, thanks for the confirmation @redspatula. Closing this issue as completed for now but feel free to re-flag if anyone else is still experiencing it.

authors: MikeLuDev Mithium redspatula skullnbonesdao

repo: staratlasmeta/factory


text:
[bug] Excessive swap may result in slower builds

Document Bug Report
Document URL:
https://starcoinorg.github.io/starcoin-cookbook/zh/docs/getting-started/install/build/
Describe the document's bug:

In my experience, using a larger Swap than memory will result in slower loading of links
At the same time, too many cpu threads are also one of the reasons for link errors.
It is more appropriate to use a single thread for 4GB Ram, otherwise there may be a compilation error and need to be recompiled several times
Other information:

I do some tests, and got the following conclusions:
In the case of low machine configuration, if the swap is enabled, then the size of swap must be greater than or equal to RAM, otherwise the link will fail.
Another situation is that if the memory is large enough, the best way is to disable swap to reduce the time of disk IO.
Notice:
For low configuration machines, the core number of control is the key to greatly improve the compilation efficiency.
For example:
cargo build -j 1

I think your testing process is great
you can add relevant conclusions to the document
These conclusions can allow users to find the direction of the solution

repo: starcoinorg/starcoin-cookbook


text:
🛑 Stark AI is down

In 4d66b5e, Stark AI (https://starkai.live) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Stark AI is back up in 3e07de7.

repo: starkaistatus/Uptime


text:
chore(concurrency): Assert concurrency config fields are greater than 0 in a concurrent run

This change is

Codecov Report
Attention: Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.

Project coverage is 78.42%. Comparing base (7ea1c6b) to head (2c4b281).
Report is 1 commits behind head on main.

:exclamation: Current head 2c4b281 differs from pull request most recent head 7cfa1d6
Please upload reports for the commit 7cfa1d6 to get more accurate results.

Files
Patch %
Lines

.../blockifier/src/blockifier/transaction_executor.rs
0.00%
12 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1976      +/-   ##
==========================================
- Coverage   78.47%   78.42%   -0.06%
==========================================
  Files          62       62
  Lines        8845     8875      +30
  Branches     8845     8875      +30
==========================================
+ Hits         6941     6960      +19
- Misses       1467     1479      +12
+ Partials      437      436       -1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

source: gharchive/pull-request

repo: starkware-libs/blockifier


text:
reduced fricition between merkle multilayers

Add errors in prove. (#468)
Add constraints not satisfied error. (#470)
Add prove verification error. (#498)
Add OODS verification error. (#502)
Add proof of work verification error. (#503)
Fix dev. (#512)
Create MultiFibonacci. (#509)
avoided copy between multilayers

This change is

#514  👈
dev

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ohad-starkware and the rest of your teammates on  Graphite

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.00%. Comparing base (3bc4c79) to head (ff22257).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #514      +/-   ##
==========================================
+ Coverage   93.98%   94.00%   +0.02%
==========================================
  Files          60       60
  Lines        9041     9076      +35
  Branches     9041     9076      +35
==========================================
+ Hits         8497     8532      +35
  Misses        490      490
  Partials       54       54

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

authors: codecov-commenter ohad-starkware

repo: starkware-libs/stwo


text:
Basic docs pages

Basic docs pages

[ ] Overview
[x] What's new
[x] Contributing

All that's left is overview, also in #368

authors: cliffckerr robynstuart

repo: starsimhub/starsim


text:
How to add support to a new Windows build? How to get the offset for the ini file?

I'm tired of hunting down a working rdpwrap.ini every time Windows 10 updates. I want to learn how to examine the termsrv.dll or whatever and find out the code to paste into into ini file myself.
What do I need to do?

There is a video link on the front page of this github that demonstrates the process - but this is the only documentation that I know of.
http://www.youtube.com/watch?v=FiD86tmRBtk

Is this something that can actually be automated?  I wouldn't think so, but can it?

Is this something that can actually be automated? I wouldn't think so, but can it?

I make it with autoclicker. In this video you can see how it works https://youtu.be/7ZjgehDztBQ

Abandonware? This hasn't been updated (including the INI) in 2 years...

@tgrushka Yeah, sadly this seems an abandonware, and looking through the forks I didn't found any active one either.
@sebaxakerhtc Thank you very much. I'm looking forward to it.

While the owner of this repo doesn't post as often as the rest of us,, the
users are very active, and regularly provide updated ini files on their
repos. Indeed, several of us provide these files on this very thread.
On Fri, 19 Jun 2020 07:02 Lordscales91, notifications@github.com wrote:

@tgrushka https://github.com/tgrushka Yeah, sadly this seems an
abandonware, and looking through the forks I didn't found any active one
either.
@sebaxakerhtc https://github.com/sebaxakerhtc Thank you very much. I'm
looking forward to it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stascorp/rdpwrap/issues/1098#issuecomment-646303987,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMCGIUTSLUYIBWY2ULLKBTRXJ6G7ANCNFSM4OBISOBA
.

While the owner of this repo doesn't post as often as the rest of us,, the users are very active, and regularly provide updated ini files on their repos. Indeed, several of us provide these files on this very thread.
…
On Fri, 19 Jun 2020 07:02 Lordscales91, @.***> wrote: @tgrushka https://github.com/tgrushka Yeah, sadly this seems an abandonware, and looking through the forks I didn't found any active one either. @sebaxakerhtc https://github.com/sebaxakerhtc Thank you very much. I'm looking forward to it. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1098 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMCGIUTSLUYIBWY2ULLKBTRXJ6G7ANCNFSM4OBISOBA .

I started to make ini when rdpwrapper by stascorp was banned from ms side... I use it and i need to have working ini, not more

@tgrushka Abandonware, please; the project works perfectly well "as is", it just needs the 3rd party support of updates with INI file sections and that happens really well.  There is no code that needs to be fixed for this project, that doesn't make it abadonware at all.  There is even an a video showing how to get the INI file settings for new termsrv.dll files as required -- that is awesome.  Sure it would be good if the project's own INI file got updated, but I believe my version of the INI file has every known INI section to date; it may not be perfect, but many people are able to use it successfully.  In fact I know that at least one INI setion is missing a value, so that won't help (but it is an older version, so less of a concern).  There have been instances of conflicting INI file sections from two or more INI file providers, one of them must be wrong, but which one?  If my INI file doesn't do it for you with the original, stable and excellent project that this is, then I want to know about it so that I can hopefully fix it as needed.

btw When github caused this project grief recently, I found an alternate site to help with communicating about new INI sections.  I do hope this project remains as is, at the very least, but I don't trust Microsoft as the github owners to keep it here.  They, Microsoft, and the AV vendors are not helpful, but this project is truly extraordinary and can live on with the absence of github if necessary.

Microsoft is terrible. I'm a software engineer for my entire life, and use a Mac for accessibility. And personal preference. And I have friends who own Windows PCs. All I want to do is help them remotely. I cannot worth a damn get RDP to connect to the shadow/console session of Windows 10 Pro, because Microsoft crippled it. Used to work great on older Windows, but no longer. So I've got to install Server 2019 on friends' machines just to get access to the console session so I can help them remotely. I don't want to kick them out when connecting. And thanks for pointing out MS acquired GitHub ... how did that slip under me? Thank you Satya ... what a jerk he is.

I've done shadowing on Windows 10 Pro / upgraded from Windows 7 Pro (no license cost upgrade).  Don't need MS Server product.
I use Linux for my desktop and connect from a trusted IP address to a site with xfreerdp client; if I can't connect direct, then I tunnel through OpenSSH via a Tor .onion service with an authorized key in place (no password login for OpenSSH, especially on a Winblows machine).  Once I connect as admin on a Win10 machine, I can do the shadowing from that connection to help the end user.

Sorry, not correct. No matter what group policy settings, patched termsrv.dll, Windows Server 2019... xfreerdp cannot connect to /admin (shadow) session. Windows Remote Desktop host session manager still kicks out the user, no matter what I do. Contrary to Microsoft's claim, connect to console:i:1 setting in .RDP file does not/no longer works on Mac client. Neither does adding the /console or /admin switch to the computer name in the RDP client on Mac ... those are gone too. :( What gives? What kind of tricks are they playing on people here?

I don't go direct shadow with xfreerdp -- once I am connected as admin, then I shadow with 127.0.0.2 localhost.  It does work.

@tgrushka but I believe my version of the INI file has every known INI section to date

Not all of them. I'm using Windows 10 version 1903 build 18362.900

@affinityv but I believe my version of the INI file has every known INI section to date

Not all of them. I'm using Windows 10 version 1903 build 18362.900

Can you share your termsrv.dll?

Actually, Windows 10 is starting to bug me about the 2004 update. Probably it's better for me to wait until it forces me to update. Because fixing it now may not last for long.
On another topic. What do you think about creating a Discord server for this? @robbak @affinityv @sebaxakerhtc @tgrushka
Just to have an alternative source for asking / getting updated INI files. Because I'm concerned MS may shut down this repo eventually. Specially if people are sharing their termsrv.dll files (that's another reason why I prefer to wait).

@lordscales91 We need the version of the termsrv.dll as reported by RDPConf.exe, not the Windows build version....
Discord, maybe... but this project was recently offline for undisclosed reasons, but it's back now.  It makes sense to lessen risk of Microsoft taking this out again though.

this project was recently offline for undisclosed reasons, but it's back now

If you don't see anything disclosed, it doesn't mean it wasn't disclosed at all. In fact, it was discussed in the RDP Wrapper Telegram chat.

Is there "anything" you can tell us?
Telegram vs Signal.... isn't Signal more trustworthy and secure?

authors: affinityv binarymaster lordscales91 robbak sebaxakerhtc tgrushka

repo: stascorp/rdpwrap

license_source: bigquery


text:
Screen Flicker

Anybody know about why screen flickering happens now (1903 - 1909) after somebody logins remotely (and keeps going on for the user logged in on console not the remotely one)?
I have RTX 2070 which should not be causing be the problem.

Do you have TeamViewer on the host ?

This flicker occurs irregularly for about 30 seconds to 2 minutes.
It is a troublesome problem. Is it a conspiracy of MS? Flicker occurs immediately after patching with RDP wrapper.
Because there is no flicker problem if you do not patch.
Occurs when patched 1903 or 1909. It doesn't seem to occur in earlier versions.
Probably it seems that the patch operation is detected by some method and flicker operation is performed. I am using Windows 10 Pro.

Do you have TeamViewer on the host ?

I have teamviewer on host, but it is not running in background.

Occurs when it’s not installed / patched correctly caused by csrss.exe spawning tons of other sessions. Open up Process Explorer or Process hacker and see if it’s creating endless sessions.
Or in cmd.exe : query.exe session
Should only be 3 or so listed.
I personally fixed by completely uninstalling and correctly placing in Program Files, running the patched batch files from the issue, etc.

I have the same problem, how can I fix it, I am using RTX2080Ti

I have the same problem, how can I fix it, I am using RTX2080Ti

It's not GPU based, its from within the Windows OS. Download Process Hacker and see if you have csrss.exe spawning or do query.exe session within cmd.exe. I found it required "starting fresh" whereby uninstalled completely, and then reinstalling with the patched version ( https://github.com/SobieskiCodes/RDPWrap ) completely, and within Program Files: C:\Program Files\RDP Wrapper
Ill post what I did in another thread:
The key for me was to:
- Grant Everyone as Owner and Everyone : Full Control to C:\Program Files\RDP Wrapper
- Extract all / copy & replace all bits into that directory
- Perform all operations from that directory (that is: the 2 batch files to be run)
- Run all .bat files as admin (elevated) FROM THAT DIRECTORY. Order = [1] install.bat   [2] autoupdate.bat ... then mstsc.exe should be able to RDP into yourself at 127.0.0.2 (which is what RDPCheck.exe does).
[LPTs] ::
- If you dont see a lot of output in the cmd.exe opened from these .bat files, then it did NOT launch elevated. I'd CD to that directory with an elevated cmd.exe (Ctrl + Shift + Enter to run cmd.exe elevated) so you can obtain and see all output since they dont have PAUSE embedded

- Notice that initially before all of these operations if rdpwrap.dll is locked and cannot be replaced (when replacing at least 2 pre-existing files rdpwrap.dll & rdpwrap.ini), then in an elevated cmd.exe before running the batch files, perform a:   **net stop UmRdpService & net stop TermService**

- I didn't have to reboot at all, even with past RDPWrap running and RDP svchost.exe operating as normal, just the key was to do a    **net stop UmRdpService & net stop TermService**    before anything else

'Got this screen flicker since installing a Windows update last year.
Flicker happened both, with iGPU and dGPU.
The flicker can be annoying, so it would be nice to get it fixed.

@strarsis Do you have TeamViewer running on host ?

@s0nic9: TeamViewer is currently not event installed.

I still have this problem, and these two days are getting more and more serious. Now my version of windown is 10.0.18363.720, the screen keeps blinking, the time is indefinite, half an hour to a few hours, and then it starts to blink again after a while

is blinking only with mutliple sessions are active ?

@s0nic9 This incident happened without warning, and it happened suddenly. I have checked that only I am using it by myself. Suddenly flashing, even flashing all day, and then suddenly returning to normal, I also uninstalled, reinstalled, updated windows and then updated the ini version, restarted, still flashing, but now everything is back to normal, Flash occasionally

you can try https://github.com/stascorp/rdpwrap/issues/858#issuecomment-523192537
perhaps it's related

I think it should not be this problem, my CPU is all normal, anyway, thank you for your help


text:
Windows Server 2016 & Windows 10 - 14393.3504

not work for me :(

And why on the server do you need this program?
Activate the terminal server and work without any third-party tool
It is solved in 20-30 minutes))

Because it only works for two users :)

I just got updated to this build and now I am "not supported", any help appreciated.  Thank You

Here is my working ini and termsrv for Server 2016
Hope it works for you
RDP ini + termsrv.zip

authors: PCMacDr PosGuys khshassa rool80


text:
Update SDK to .NET 8 target net6.0 and net8.0, drop netcoreapp3.1, fix tests culture assert issues

Summary
Updates to target LTS .NET 8 and .NET 6, drops unsupported netcoreapp3.1, updates dependencies and transient dependencies needed for new target frameworks, and fixes so tests run on non-en-US operating systems.
Changes

Add net6.0 and net8.0 moniker
Update Microsoft.SourceLink.GitHub to 8.0.0
Update SharpZipLib to 1.4.2 (security)
Fix tests that can break on non en-US i.e. lunar indexes
Update Microsoft.NET.Test.Sdk to 17.8.0 17.9.0
Update NUnit3TestAdapter to 4.5.0
Update Microsoft.CodeAnalysis.CSharp.Scripting to 4.7.0
Update Microsoft.CodeAnalysis.CSharp to 4.7.0
Update System.Collections.Immutable to 7.0.0
Address breaking change in code analysis
Drop netcoreapp3.1, dropped by transient dependencies i.e. System.Reflection.MetaData, System.Text.Encoding, etc.
Update Microsoft.Extensions.* to 6.0.x & 8.0.0
Update Microsoft.AspNetCore.* to 6.0.25  & 8.0.0
Update Microsoft.IO.RecyclableMemoryStream to 2.3.2
Update Microsoft.Data.SqlClient to 5.1.2 5.1.5 (security)
Update NUnit to 3.14.0 4.0.1
Update Shouldly to 4.2.1

This is great, thanks! Retargeting was kind of on my "last thing to do before releasing 1.0" mind, so having the groundwork done hopefully helps (finally!) get 1.0 out the door. Will look at merging this ASAP(ish).

Excellent 👍

authors: daveaglick devlead


text:
Append Unable to Work

Example That Shows the Bug
(chk= (append '(1 2 3)) '(1 2 3))
Expected Result
'(1 2 3)
Actual (Incorrect) Result
(undefined-var-error 'append)
(undefined-var-error 'quote)
Additional Information
This could be that append simply is not added into 450lang since it's giving the undefined-var-error, but still demonstrates a function that will not work in the given language that ordinarily works as intended in regular Racket

Hi, neither append nor quote are in 450lang so the program's behavior is working as intended.

authors: p-laskey stchang


text:
Date language

I write my notes in pt-BR. Is there a configuration to set weekday aliases to be in pt-BR instead of en? For example, Terça-feira instead of Tuesday?
Is a setting in the plugin or in Logseq?

Just added this feature: it will be automatically based on language in the Logseq's settings.
- {{renderer :view, "c.page.day.format('dddd')"}}
- {{renderer :view, "date.from.months()"}}

However you could manually change locale anywhere with dayjs method:
{{renderer :view, "c.page.day.locale('pt-br').format('dddd')"}}

❗ The feature will be available in the next release.

authors: andrenoboru stdword


text:
Is Java realy slow? Yes it is so lets use it!

https://stackoverflow.com/questions/2163411/is-java-really-slow

https://benchmarksgame-team.pages.debian.net/benchmarksgame/sometimes-people-just-make-up-stuff.html#jvm-startup-time
take scripts from the buttom of the package.

repo: stealify/stealify


text:
Added JSPM support

JSPM support as described in stefanpenner/es6-promise#248

@guybedford does this look correct?

jspm install npm:es6-promise seems to be running ok for me, in which case this override shouldn't be necessary, and would actually break that workflow for users running it.

@stefanpenner thanks for the ping sir.

It seems to work just fine now. Might have been a misconfiguration in my local setup.

authors: davidpronk guybedford stefanpenner

license: mit


text:
Other platforms

Why isn't this app available for other platforms (linux/windows)? It was made using electron, so it can be cross platform

@stefansl I’m using Ubuntu 17.10 and am happy to help building this app as it’s suuuper useful for me. :) (Thanks for supporting png and also svg!)
The npm run pack-linux runs and the app works nicely. How can I contribute the build – do I submit a zip of what’s in the folder Image Shrinker-linux-x64 somewhere?

@jancborchardt nice! i never expected, that it will run without additional coding. i could add you as maintainer, if want. then you could add the file here:
https://github.com/stefansl/image-shrinker/releases

@stefansl hehe, at least it does seem to work from initial testing. :) And sure, am happy to be added & to add the Linux releases.

@jancborchardt oh, I didn't know it's so easy to compile, didn't read the readme xD

@stefansl sorry for the delay! :) I’m looking into it again, but I discovered an issue while using it regarding the loss-amount of the compression: https://github.com/stefansl/image-shrinker/issues/42

@stefansl built with latest master and uploaded the zipped build in the release, also adjusted the release title and content accordingly. :) https://github.com/stefansl/image-shrinker/releases/tag/v1.3.6
This is what’s generated, and showing that it’s working:

The terminal just shows that of course when you move the main executable it will not work. Is there a way we can achieve a packaged file? Will look into if it’s possible to build a .deb file somehow.

There seems to be https://github.com/unindented/electron-installer-debian for just that. Am trying that out now.

@jancborchardt Thank you very much! Nice work! I guess we just have to adjust the package.json in the section "build" and we need some new top-level-sections, eg. "deb", "rpm", "appImage"
We can use electron-builder, then. See the doku here: https://www.electron.build/configuration/linux
checkout https://www.electron.build/cli as well. or try electron-builder --help
you can see, how I'm building it in the package.json here: https://github.com/stefansl/image-shrinker/blob/176b7b6cebcd702f2f88d9cf531f9b1bc01cdb06/package.json#L31
maybe I've to adjust it to build-mac: "electron-builder --publish always --mac"

i'd rather like it for windows, so i'm gonna build it for myself. do you want a copy to put in releases? 😉

my build has been successful using npm install&&electron-packager . Image-Shrinker --asar=true --platform=win32 --arch=ia32 --ignore=/^release/i --overwrite! 🎉

unfortunately using electron-packager . 'Image Shrinker'  means that the created executable is called 'image, strangely.

with some changes, I've managed to fix the icon issue and remove the (ugly) top menu.

should i launch a PR with my changes?

i'm also wondering about using electron-installer-windows to create a installer?

working on it.

if my internet goes above 20KiB/2. 😉

sorry it's been taking so long. I've had to leave to do some other stuff, and now i'm done my git's died.
>git clone https://github.com/stefansl/image-shrinker.git

Cloning into 'image-shrinker'...
fatal: unable to access 'https://github.com/stefansl/image-shrinker.git/': error setting certificate verify
locations:
CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none

@derpmarine168 maybe this helps? :) https://stackoverflow.com/questions/3778042/github-error-cloning-my-private-repository

@JoelEllis did you release the window version anywhere? Thanks for the effort!

@despecial I did release a build on my fork, but it is now 52 commits behind, however I think you can build it yourself from master now.

@JoelEllis thanks, I dont have a windows machine - not sure if I can build it on a mac?!
It's for my friends, they use MS.

@despecial I think you have to use a virtual
Machine with Windows installed. That’s why I don’t build the Win version

With electron-builder it's possible to create versions for all platforms easily. I have to test this and I'm planing to remove electron-packer, because it's deprecated.

see https://github.com/stefansl/image-shrinker/issues/56

authors: JoelEllis Rundik derpmarine168 despecial jancborchardt stefansl

repo: stefansl/image-shrinker


text:
feature for requests at multiple institutions

sometimes it would be nice to send the same request to multiple institutions (e.g. all local ministries for agriculture in a state)

identical with #23

repo: stefanw/froide


text:
SEP-38 Tests

resolves #71
Adds tests to the test suite library for SEP-38.
One major assumption made by these tests is that the anchor supports clients looking to sell Stellar assets in exchange for off-chain assets, which are the types of quotes used to facilitate SEP-6/24 withdrawals and SEP-31 sends. If the anchor doesn't support these types of quotes the suite will not be very useful to them. Ideally we would check which type of exchange is supported and use those types of quotes in the rest of the tests.

Preview is available here:http://stellar-anchor-tests-pr72.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-anchor-tests-pr72.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-anchor-tests-pr72.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-anchor-tests-pr72.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-anchor-tests-pr72.previews.kube001.services.stellar-ops.com/

I forgot that we need to create branches on the upstream, opening a new PR now

Preview is available here:http://stellar-anchor-tests-pr72.previews.kube001.services.stellar-ops.com/

authors: JakeUrban stellar-jenkins

repo: stellar/stellar-anchor-tests


text:
[SDP-922] events/serve: kafka setup

What
This PR adds the initial setup for the message broker's communication. This implementation uses Apache Kafka as the broker. The client Kafka used is the segmention/kafka-go package because it uses pure go and doesn't have any infra dependency to use it. The docker image used to run the Kafka locally is the bitnami/kafka.
Why
We are going to use Kafka to run services asynchronously per tenant.
Known limitations
N/A
Checklist
PR Structure

[x] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[x] This PR does not mix refactoring changes with feature changes (split into two PRs otherwise).
[x] This PR's title starts with the name of the package, area, or subject affected by the change.

Thoroughness

[x] This PR adds tests for the new functionality or fixes.
[x] This PR contains the link to the Jira ticket it addresses.

Configs and Secrets

[ ] No new CONFIG variables are required -OR- the new required ones were added to the helmchart's values.yaml file.
[ ] No new CONFIG variables are required -OR- the new required ones were added to the deployments (pr-preview, dev, demo, prd).
[ ] No new SECRETS variables are required -OR- the new required ones were mentioned in the helmchart's values.yaml file.
[ ] No new SECRETS variables are required -OR- the new required ones were added to the deployments (pr-preview secrets, dev secrets, demo secrets, prd secrets).

Release

[x] This is not a breaking change.
[ ] This is ready for production.. If your PR is not ready for production, please consider opening additional complementary PRs using this one as the base. Only merge this into develop or main after it's ready for production!

Deployment

[ ] Does the deployment work after merging?

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr119.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr119.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr119.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr119.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr119.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr119.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr119.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr119.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr119.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr119.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr119.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr119.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr119.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr119.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr119.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr119.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr119.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr119.previews.kube001.services.stellar-ops.com


text:
RPC docs to provide Stellar SDK examples

For RPC docs, on specific method documentation, provide examples and code snippets on how to use Stellar SDK in addition to existing docs. The large bulk of all the methods pages are auto-generated. However, additional content can be added like we've done on the getLedgerEntries. Platform engineers could support on providing some examples

Close in favor of #404

repo: stellar/stellar-docs


text:
add npm publish gha

ticket
I'll ping ops to add the npm token as a  secret

Is this triggered on a new tag?

Is this triggered on a new tag?

on a new published release. the js sdk is using the same

authors: Ifropc acharb

repo: stellar/typescript-wallet-sdk


text:
Check notebook formatting and text on Github Actions CI

See #1687
This adds stages for:

check-notebook-format
check-notebook-text

Files producing errors are annotated - a run with a break is shown here: https://github.com/stellargraph/stellargraph/actions/runs/144396650

The CI errors seemed to be mechanical (reformatting ci.yml with prettier, and undeleted the accidentally(?)-deleted scripts/ci/check-copyright-headers.sh file), so I've done them and pushed, so hopefully it's ready for you to merge tomorrow morning without needing to wait for CI.

authors: huonw timpitman

repo: stellargraph/stellargraph


text:
Django 1.11 support

First pass at adding Django 1.11 support. Key changes:

Always pass a dict to template.render.
Annotation of search results is now done explicitly. See commit message for explanation.
Removed null attribute from Slugged.slug.

Comments:

This could do with a bit of testing to make sure I haven't missed anything.
There is an error in one of the tests (test_password_reset) which happens in master/1.10 as well. I can't figure out what is going on there.

This is a huge help, thanks a lot!

@stephenmcd I tracked down the cause of the test_password_reset error - it is an issue in grappelli_safe, which uses the future template tag in the registration/password_reset_email.html template.
This has been fixed in the repo (the template was removed ages ago actually), but for some reason the package on pypi still has the template. Seems like that package might need to be fixed?

Seems like that package might need to be fixed?

Thanks a lot for tracking that down - I'll try and push a new release of that soon.

Feedback: currently developing with this PR and Django 1.11.1 and looking good.

Thanks @melvyn-sopacua

Is it released yet?

authors: melvyn-sopacua solarissmoke stephenmcd utapyngo

repo: stephenmcd/mezzanine


text:
🛑 Stepler API - Dev is down

In c596ed5, Stepler API - Dev (https://api.dev-stepler.io/v3/health) was down:

HTTP code: 503
Response time: 625 ms

Resolved: Stepler API - Dev is back up in e39eea3 after 6 minutes.

repo: steplerapp/stepler-status


text:
[FR]: Button to Export Full Logs of Service

Describe your idea
Some users are having troubles in the last few days and would like to show us their whole client logs.
To do this they currently have to either make a screenshot of the logs in question or copy them by double clicking.
To make their life easier I propose a button in the logs page, where a user could simply export & save the whole logs of a client in a text file.

Button:

[x] Discuss
[x] Design
[x] Build

Considered Alternatives?
Naah, the alternative is screenshoting, which is fine but annoying.
Additional Context
No response
Acknowledgment

[X] I looked through the feature requests/enhancements planned for this project before submitting a new idea

✅ Done!

Finish with #1212

authors: daGscheid mabasian

repo: stereum-dev/ethereum-node


text:
Include Blox SSV Grafana Dashboard

Include the Dashboard of Blox SSV with Grafana and wire it correctly.

Please fix #370 first.

ansible role manage-service adapted, see molecule test monitor-bloxssv for details
please integrate with Stereum Launcher


text:
Problem when running multiple sikuli-selenium tests in parallel

Hi,
I'm getting some failures when running tests in parallel using testNG.   I have a single hub and 5 nodes.   If I run a single thread then everything is fine, but when running multiple threads most of the tests fail with the error below.
I'm currently using Selenium version 2.53.0 and sikuli-extension 0.6.
Any pointers to help me solve this issue would be greatly appreciated.
Thanks,
Pentti
Error returned from test:
java.lang.AssertionError: Widget desktop invocation failed (expected 200, but was 500):

Error 500

HTTP ERROR: 500
Problem accessing /grid/admin/HubRequestsProxyingServlet/session/20694a4d-0e8a-478b-ae99-25461ac256c0/SikuliExtensionServlet/desktop. Reason:
    java.lang.NullPointerException
Powered by Jetty://

Hub Stacktrace:
11:59:11.673 INFO - Retrieving remote host for session: 88dc643f-5944-4a06-92da-1c02
26bb7a21
2016-05-19 11:59:11.673:WARN:osjs.ServletHandler:qtp24377049-1131: /grid/admin/HubRequestsProxyingServlet/session/88dc643f-5944-4a06-92da-1c0226bb7a21/SikuliExtensionServlet/target-factory
java.lang.NullPointerException
at io.sterodium.extensions.hub.proxy.session.SeleniumSessions.refreshTimeout(SeleniumSessions.java:35)
at io.sterodium.extensions.hub.proxy.HubRequestsProxyingServlet.createExtensionClient(HubRequestsProxyingServlet.java:83)
at io.sterodium.extensions.hub.proxy.HubRequestsProxyingServlet.forwardRequest(HubRequestsProxyingServlet.java:63)
at io.sterodium.extensions.hub.proxy.HubRequestsProxyingServlet.doPost(HubRequestsProxyingServlet.java:47)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.seleniumhq.jetty9.servlet.ServletHolder.handle(ServletHolder.java:808)
at org.seleniumhq.jetty9.servlet.ServletHandler.doHandle(ServletHandler.java:587)
at org.seleniumhq.jetty9.server.session.SessionHandler.doHandle(SessionHandler.java:221)
at org.seleniumhq.jetty9.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.seleniumhq.jetty9.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.seleniumhq.jetty9.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.seleniumhq.jetty9.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.seleniumhq.jetty9.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.seleniumhq.jetty9.server.Server.handle(Server.java:499)
at org.seleniumhq.jetty9.server.HttpChannel.handle(HttpChannel.java:310)
at org.seleniumhq.jetty9.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.seleniumhq.jetty9.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.seleniumhq.jetty9.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.seleniumhq.jetty9.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Unknown Source)

When you run our tests in parallel, do they share same desktop? Each node should have dedicated display in linux.

Thanks for replying so quickly.   Yes each node is running a dedicated display, and I'm launching a single browser instance on each node.
The issue occurs when running the test on a selenium grid which runs on windows VM's and also when I run the test on a grid using docker containers.

After some further investigation I believe that calling webDriver.quit() is causing the exception.  I'm now calling close() at the end of each thread.   I then call quit() for each webDriver when all the threads have completed.

Hi,
So you were able to resolve this? Keep in mind, we are using selenium session to properly route requests from hub to node. Once session is closed, hub will unable to tell us where request should be forwarded.
Can I close the issue?

Thanks I'll read up on selenium sessions.
Yes, please close the issue.

authors: braindonor echoAlexey

repo: sterodium/selenium-grid-extensions


text:
Can you share your pretrained weights?

The original link was lost, can you share the weights?

您好 您有权重文件了吗？ 可不可以发我一份

authors: hitbuyi llyyccccc


text:
Add support for Clojure standard-clj

Adding support for standard-clj.
The filename differs from the other standard linters, but wanted to preserve the command name.
(thanks for conform btw 🍻)

Thanks for the PR!

authors: sebastian-palma stevearc


text:
bug: performing action automatically changes mode to Insert mode

Neovim version (nvim -v)
0.10.1
Operating system/version
14.4
Describe the bug
When doing quick actions like restart or watch it constantly changing the mode to insert mode even if I'm not in insert mode
What is the severity of this bug?
minor (annoyance)
Steps To Reproduce
:OverseerQuickAction restart
Expected Behavior
Don't change the vim mode
Minimal example file
No response
Minimal init.lua
{
		"stevearc/overseer.nvim",
		keys = {
			{ "<leader>cc", "<cmd>OverseerRunCmd<cr>", desc = "run cmd" },
			{ "<leader>ct", "<cmd>OverseerToggle<cr>", desc = "overseer" },
		},
		opts = {
			dap = false,
			task_list = {
				bindings = {
					["<C-u>"] = "ScrollOutputUp",
					["<C-d>"] = "ScrollOutputDown",
					["<C-q>"] = "q<cmd>OverseerQuickAction open output in quickfix<cr>",
					["r"] = "<cmd>OverseerQuickAction restart<cr><esc>",
					["x"] = "<cmd>OverseerQuickAction dispose<cr>",
					["w"] = "<cmd>OverseerQuickAction watch<cr>",
				},
			},
		},
	},

Additional context
No response

Yep it would be nice to avoid that. My guess is that it's because of the TermEnter autocmd that does this

Please use a minimal init.lua file that is a complete config, as referenced in the bug report template.

Well I just did here (reproduction) but it doesn't do it in isolation 😅 ...
I'll try to find where it comes from and report here if I ever found out

Not sure if it is related to the OP, but in my config I have, which was the root of the issue, because overseer opens a lot of terminal windows without actually focusing them. Like OverseerToggle or any actions which open terminal buffers.
vim.api.nvim_create_autocmd({ "BufWinEnter", "WinEnter" }, {
   pattern = "term://*",
   command = "startinsert"
})

Not sure if it is possible to fix from plugin side. Maybe checking the mode it is in and if it is in insert mode change it to normal? And for me :startinsert seems like a hack and enters insert mode even in non-modifiable buffers.
But from user side there are some solutions to narrow such autocmd to only specific terminal buffers, etc.

I'll try your autocmd in my repro I might have a similar one I overlooked in my config, but the one there (termopen) doesn't interfere with overseer

Yuo the problem was caused by an autocmd configuration. Thanks for pointing it out, and it’s resolved now!

authors: melMass monkoose stevearc suvasanket


text:
allow variable arguments in path.join and seq.zip

I'd love to see both of these functions take multiple arguments (as they do in python).
I've replaced the join function in my own code simply enough:
local __join = path.join

function path.join(...)
    local arg, n = {...}, select('#', ...)
    local ret = arg[1]
    for i=2,n do
        ret = __join(ret, arg[i])
    end
    return ret
end

I'll let you know . . . I'm upgrading from some 0.8 release, and some of the things I've been looking for have already been added!  Thanks for this library, it really makes using lua fun.

repo: stevedonovan/Penlight


text:
Using latest image: Error when loading pod

I tried to use your latest image in one of our aks and I noticed the fluentd pods where crashing. Here is the error given in the pod's log
/usr/lib/ruby/gems/3.1.0/gems/fluentd-1.15.3/lib/fluent/config/yaml_parser/loader.rb:58:in initialize': No such file or directory @ rb_sysopen - /fluentd/etc/fluent.yaml (Errno::ENOENT)         from /usr/lib/ruby/gems/3.1.0/gems/fluentd-1.15.3/lib/fluent/config/yaml_parser/loader.rb:58:in open'
from /usr/lib/ruby/gems/3.1.0/gems/fluentd-1.15.3/lib/fluent/config/yaml_parser/loader.rb:58:in open'         from /usr/lib/ruby/gems/3.1.0/gems/fluentd-1.15.3/lib/fluent/config/yaml_parser/loader.rb:58:in load'
from /usr/lib/ruby/gems/3.1.0/gems/fluentd-1.15.3/lib/fluent/config/yaml_parser.rb:51:in parse'         from /usr/lib/ruby/gems/3.1.0/gems/fluentd-1.15.3/lib/fluent/config.rb:38:in build'
from /usr/lib/ruby/gems/3.1.0/gems/fluentd-1.15.3/lib/fluent/supervisor.rb:810:in configure'         from /usr/lib/ruby/gems/3.1.0/gems/fluentd-1.15.3/lib/fluent/command/fluentd.rb:349:in <top (required)>'
from internal:/usr/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb:85:in require'         from <internal:/usr/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in require'
from /usr/lib/ruby/gems/3.1.0/gems/fluentd-1.15.3/bin/fluentd:15:in <top (required)>'         from /usr/bin/fluentd:25:in load'
from /usr/bin/fluentd:25:in `'

@grioda01 the v2 image isn't compatible with the v1 image or the v2 chart without additional customisation. Based on the error it looks like you haven't overridden the FLUENTD_CONFIG env variable.

@stevehipwell , indeed I didn't.
You did mentioned on another convo about this incompatibility.
Is this ENV variable being set somewhere in the https://github.com/LexisNexis-RBA/terraform-azurerm-aks module?
I can only access the fluentd-aggregator helm through there.

I found where to add the ENV variable for the fluentd pod. It's in core_services_config.fluentd.additional_env
I can only think that by  FLUENTD_CONFIG, you meant FLUENTD_CONF. Which is where fluentd is looking for the conf file base name. I noticed that in v2 Dockerfile you are setting it with the value "fluent.yaml". Then I noticed that you actually are using the 2.7.1 helm chart in the last O.M. release (beta26), rather than the last one, which in turns uses the fluentd-aggregator image tag 1.14.10.
There the FLUENTD_CONF is set to "fluent.conf" (which is the file mounted by the helm chart in the pod).  THat explains everything. So you are still using V1 in the current O.M.. I guess you'll switch to v2 in later releases?

@grioda01 you're absolutely right, I meant FLUENTD_CONF but was working from memory without the source code in front of me. We're in the middle of prepping the AKS/EKS modules to support the new image (v2) and chart (v3) by deprecating the old module inputs in favour of a more structured configuration with less potential for misconfiguration. If you DM me on Teams I can give you the relevant links to track when this is due to be released.

repo: stevehipwell/fluentd-aggregator


text:
launch lloyd interview

publish to various places and tell him that it's out

closed in favor of #36

license: Unlicense


text:
Conditional Form Elements Take Up Space When Hidden

In the following example there's a conditional block after the date, and you can see it takes up space in the <VStack>:

@floatplane this remains an issue on the filters page for observations, in the same spot.

repo: stevekuznetsov/avalanche-forecast


text:
Bump version x.x.10 is .1

Just noticed, that a version with a patch .10 is reduce to .1 thus overwriting the original .1 tag
Is this typical semversion or a bug?

That does seem to be a bug, are you patching from 0.0.9?

I updated semver and modified the test to check for that particular patch (0.0.9 - 0.0.10)

Awesome, i was patching Form 0.1.9 on.

I also added features and published to v0.2.0 / v0.2.1

authors: lukasoppermann stevelacy

repo: stevelacy/gulp-bump


text:
Ignore in globbing

Hello! How do you neglect to import files? Sorry for my English.
I have such folder.
├── header
│   ├── header.pug
│   └── header.styl
└── page
    ├── page.pug
    └── page.styl

Page.styl my main file, in page styl i do all imports.
This is my gulp.task
gulp.task('stylus', function() {
    gulp.src('./assets/blocks/page/page.styl')
        .pipe(plumber(configs.plumberError))
        .pipe(sourcemaps.init())
        .pipe(stylus(
            {
                use: rupture(),
                'import': [__dirname + '/assets/vendors/flex-grid-framework.styl'],
                'include': __dirname + '/assets/blocks'
            }
        ))
        .pipe(autoprefixer({
           browsers: ['> 1%', 'last 3 iOS versions', 'Firefox ESR', 'last 2 versions', 'iOS 8.1']
       }))
       .pipe(rename('style.css'))
       .pipe(sourcemaps.write('./'))
       .pipe(gulp.dest(path.public + '/css'))
       .pipe(reload(configs.allowStreamReload));
});

I want in page.styl do import
`@import '**/*'
But if I do, the page directory also fall under the import and begin to loop.
How me ignore page dir and include other dir?
Thank you advance.

@import '../head/**/*.styl

I have all styles in dir blocks, not in head...

authors: edDimensi stevelacy

repo: stevelacy/gulp-stylus


text:
nonlinear ad does now working.

nonlinear ad does now working.

If you mean it "is not working", that's because there isn't actually support for nonlinear yet
https://github.com/stevennick/videojs-ad-scheduler/blob/6133bc3d912eced3738b23701382a38714706c9a/src/videojs-ad-scheduler.js#L440-L442

authors: DoomTay miladbruce

repo: stevennick/videojs-ad-scheduler


text:
Hello MIN_TIMESTAMP, MAX_TIMESTAMP

Do you can help me with options for taking instagram photos in period of time?
How to do it?

Hello Steven, is there a way I can do this too? Get photos in Central Park NY City (location), #kiss (tag), June 21, 2015, 3:00  to 5:00 pm (time).
Thanks, Alberto Zayas

authors: albertozayas carlyle-v


text:
Test Runner/Watcher

It would be really nice to have a test runner that watches our workspace while working to give real time feedback on tests rather than having to manually re-run mocha after each change.
Something like karma would be ideal: http://attackofzach.com/setting-up-a-project-using-karma-with-mocha-and-chai/
https://github.com/karma-runner/karma-mocha

Hmm, looks like a lot of setup for something that seems to merely replace the need for pressing "up" and "enter" in a terminal. Are you using WebStorm?

Not using webstorm.
The set up isn't bad. I might throw up a PR for it when I get some free time and you can decide then if the complication is worth it. I find that reducing the manual steps makes me run my tests more often.

authors: katerberg stevenvachon

repo: stevenvachon/broken-link-checker


text:
Create RandomStringSupplier

random UUID
random from String Collection
random from character collection

https://www.baeldung.com/java-random-string

Use Unicode-Ranges or types

repo: stexfires/stexfires


text:
Sync Fork from Upstream Repo

[Describe your pull request here. Please read the text below the line, and make sure you follow the checklist.]

Pull request checklist
Read the Contribution Guidelines for detailed information.

[ ]  Changes are described in the pull request, or an existing issue is referenced.
[ ]  The test suite compiles and runs without error.
[ ]  Code coverage is 100%. Test cases can be added by editing the test suite.
[ ]  The source code is amalgamated; that is, after making changes to the sources in the include/nlohmann directory, run make amalgamate to create the single-header file single_include/nlohmann/json.hpp. The whole process is described here.

Please don't

The C++11 support varies between different compilers and versions. Please note the list of supported compilers. Some compilers like GCC 4.7 (and earlier), Clang 3.3 (and earlier), or Microsoft Visual Studio 13.0 and earlier are known not to work due to missing or incomplete C++11 support. Please refrain from proposing changes that work around these compiler's limitations with #ifdefs or other means.
Specifically, I am aware of compilation problems with Microsoft Visual Studio (there even is an issue label for these kind of bugs). I understand that even in 2016, complete C++11 support isn't there yet. But please also understand that I do not want to drop features or uglify the code just to make Microsoft's sub-standard compiler happy. The past has shown that there are ways to express the functionality such that the code compiles with the most recent MSVC - unfortunately, this is not the main objective of the project.
Please refrain from proposing changes that would break JSON conformance. If you propose a conformant extension of JSON to be supported by the library, please motivate this extension.
Please do not open pull requests that address multiple issues.

Pull Request Test Coverage Report for Build 1029598046

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.632%

Totals

Change from base Build 1020342705:
0.0%

Covered Lines:
5479

Relevant Lines:
5479

💛  - Coveralls

authors: coveralls sthagen

repo: sthagen/json


text:
Adds skipOverflowHiddenElements boolean option

Hey there, if this is intentional please let me know, but I noticed a change in my app after upgrading from v1 to 2.
I had an element I wanted to scroll to that was a child of an element with overflow: hidden set. Essentially the behavior was:
1.) click a button to open an accordion-like drawer with content inside
-- a.) this drawer is initially set to overflow: hidden, max-height: 0
-- b.) in active state, drawer is set to overflow: hidden, max-height: 500px
2.) auto-scroll to the (now-expanded) content drawer.
This behavior worked in v1, but in v2 it detects the drawer container as scrollable and produced some weird side-effects by trying to scroll it.
Adding an overflowValue !== 'hidden' check to canOverflow which (I think) is reasonable, because a container with overflow: hidden set can not be scrolled.

@stipsan thanks for the super detailed response - interesting stuff!
I'm happy to update this PR with a boolean option for skipOverflowHiddenElements! I will try to find some time for that soon.
I also really like your idea as well for really fine-grained control:

For those who want to skip some overflow elements, but not all, I plan on introducing another callback option for that, similar to options.boundary where you can make your own assertions and decide what should count as a scrolling box or not.

I would also like to use the "hidden" check feature as this resolves my issues. Any thoughts on when the update will be merged and pushed to NPM?

A naive first pass of this feature is committed. Let me know if this is along the lines of what you were thinking @stipsan. Happy to make edits at your direction!
All of the current automated tests are passing:

I can also write a new test as a follow-up.
However, I still have not tested the changes locally, or on codepen (by the way, the link you posted goes to the semantic release repo - can you edit the link?). Going through that checklist seems like a good idea before merge consideration.

This is perfect 👌
I updated the link to the CodePen. The logo animation on the website is the first thing that would break if the there’s a regression in the PR. If you can yarn link it in and verify it works then I think we’re good to go 😄

Thanks @stipsan!

The logo animation on the website is the first thing that would break if the there’s a regression in the PR. If you can yarn link it in and verify it works then I think we’re good to go 😄

Sorry, but I'm not following. When you have a moment could you please provide instructions on how to do this?

Sure.
cd into your local checkout of scroll-into-view-if-needed and run yarn link.
cd into a local checkout of https://github.com/stipsan/scroll-into-view-if-needed-website and do yarn link scroll-into-view-if-needed.
Next run yarn dev and you'll be able to check http://localhost:3000 with the website running on the new version.
If this logo animation is still working then all is well:

Sounds good - I should have time to verify this tonight. Thanks!

Confirmed (gif below)

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: danbrianwhite icd2k3 stipsan

repo: stipsan/scroll-into-view-if-needed


text:
add leaf hub id

https://issues.redhat.com/browse/ACM-8409

/retest

/cc @clyang82 @yanmxa @hchenxa

@ldpliu that is a big changes. Could you write down a proposal or a solution? Thanks.

/hold

@clyang82 @yanmxa
I have changed the pr follow our discussion. Please help to take a look again.

/unhold

correct me if i am wrong. in your code, it is possible to insert the default clusterId 00000000-0000-0000-0000-000000000000. since the clusterid + leaf hub name is primary key, how do you update it?

In normal case, the clusterid should not be 00000000-0000-0000-0000-000000000000. It only used to handle upgrade case(destroyed clusters in status.leaf_hubs) or cluster claim not found case. For these cases which use the default clusterid, we use the leafhub name to identify the unique leafhub.

Reference: The deletion https://github.com/stolostron/multicluster-global-hub/blob/main/manager/pkg/specsyncer/spec2db/controller/managedhub_spec_sync.go

/retest

/lgtm
once it is merged, I need to consolidate by this: https://github.com/stolostron/multicluster-global-hub/pull/728

authors: clyang82 ldpliu yanmxa

repo: stolostron/multicluster-global-hub


text:
[ACM-15851] Updated MCE CSV conversion to use reconciler scheme convert

Description
When we disabled the caching for the ClusterServiceVersion resource, that caused issues when attempting to convert the MCE resource to a unstructured.unstructured{} resource. The issue that was occurring was that the Kind and ApiVersion of the resource were being dropped due to the resource being uncached. To resolve this, we can use the kube scheme that our operator registers during runtime to handle the conversion.
Related Issue
https://issues.redhat.com/browse/ACM-15851
Changes Made
Update MCE CSV conversion func.
Screenshots (if applicable)
Add screenshots or GIFs that demonstrate the changes visually, if relevant.
Checklist

[ ] I have tested the changes locally and they are functioning as expected.
[ ] I have updated the documentation (if necessary) to reflect the changes.
[ ] I have added/updated relevant unit tests (if applicable).
[ ] I have ensured that my code follows the project's coding standards.
[ ] I have checked for any potential security issues and addressed them.
[ ] I have added necessary comments to the code, especially in complex or unclear sections.
[ ] I have rebased my branch on top of the latest main/master branch.

Additional Notes
Add any additional notes, context, or information that might be helpful for reviewers.
Reviewers
Tag the appropriate reviewers who should review this pull request. To add reviewers, please add the following line: /cc @reviewer1 @reviewer2
/cc @cameronmwall @ngraham20
Definition of Done

[ ] Code is reviewed.
[ ] Code is tested.
[ ] Documentation is updated.
[ ] All checks and tests pass.
[ ] Approved by at least one reviewer.
[ ] Merged into the main/master branch.

/cherry-pick release-2.12

repo: stolostron/multiclusterhub-operator


text:
✨ Add auth with GitHub Apps

Signed-off-by: Giomaster giomaster127@gmail.com

Description of your changes

Fixes #
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Esse PR deve fazer o merge na branch develop primeiro, que é a branch que estamos iterando as funcionalidades. A branch main desse repo está reservada para contribuições para a comunidade

authors: Feggah Giomaster


text:
Referring object tamper other objects through referenced one

description and examples of referring objects discarded in favor of values spreading from other objects referring same target.
Steps to Reproduce:
# file2.yaml
referenced: { type: string }
object:
    allOf:
        -   type: object
            properties:
                AAAAA:
                    $ref: '#/referenced'
                    description: AAAAA
                    examples: [AAAAA]
                BBBBB:
                    $ref: '#/referenced'
                    description: BBBBB
                    examples: [BBBBB]

# file1.yaml
paths:
    /operation:
        post:
            summary: operation
            requestBody:
                required: true
                content:
                    application/json:
                        schema: {$ref: 'file2.yaml#/object'}
            operationId: operationId
            security: [ ]
servers: [ url: 'http://example.com' ]
openapi: 3.1.0
info:
    title: Test
    version: version

Resulting documentation: BBBBB gets irrelevant description and examples from AAAAA

Version used: 7.13.1

Here's another example of the problem:
openapi.yaml:
openapi: 3.1.0
info:
  title: Test
  version: version
paths:
  /operation:
    post:
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                AAAAA:
                  $ref: 'referenced.yaml'
                  description: AAAAA
                  examples:
                    - AAAAA
                BBBBB:
                  $ref: 'referenced.yaml'
                  # If description is commented out, it's displayed as AAAAA
                  description: BBBBB
                  # Example is displayed as AAAAA
                  examples:
                    - BBBBB

referenced.yaml:
title: referenced
type: string

In this example the response body is inline rather than ref'ed and does not include the allOf to show combiners are not part of the problem. referenced is still in its own file and the problem does not appear to exist if it's inline or a ref to a schema in the same file in the components section.
Results in:

@vZ2JEZsZW I am currently troubleshooting this and had a question: were you using elements dev portal when encountering this issue?
I am not able to reproduce in elements with the example provided due to elements using a single file and not two separate files.

were you using elements dev portal when encountering this issue? I am not able to reproduce in elements with the example provided due to elements using a single file and not two separate files.

I believe it's "stoplight elements" and in my case the spec was split in several files so was the minimal reproducible example I extracted. What follows is an html page which exhibits described behavior.
page.html
<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>api</title>
    <script src="https://unpkg.com/@stoplight/elements@7.13.1/web-components.min.js"></script>
    <link rel="stylesheet" href="https://unpkg.com/@stoplight/elements@7.13.1/styles.min.css">
</head>
<body>
    <elements-api apiDescriptionUrl="file1.yaml" router="hash" />
</body>
</html>

Yamls are same files from original post repeated for completeness.
file1.yaml
paths:
    /operation:
        post:
            summary: operation
            requestBody:
                required: true
                content:
                    application/json:
                        schema: {$ref: 'file2.yaml#/object'}
            operationId: operationId
            security: [ ]
servers: [ url: 'http://example.com' ]
openapi: 3.1.0
info:
    title: Test
    version: version

file2.yaml
referenced: { type: string }
object:
    allOf:
        -   type: object
            properties:
                AAAAA:
                    $ref: '#/referenced'
                    description: AAAAA
                    examples: [AAAAA]
                BBBBB:
                    $ref: '#/referenced'
                    description: BBBBB
                    examples: [BBBBB]

@vZ2JEZsZW I have merged in a fix for this issue and the fix is available in elements version 7.16.1
While I was working on this fix, I realized that part of the issue you are experiencing is due to having invalid reference siblings. As of oas 3.1.0  the only fields allowed in a reference object are $ref, description and summary. To ensure your examples are correctly maintained, you would need to update your file2.yaml to something like this:
referenced: { type: string }
object:
  allOf:
    - type: object
      properties:
        AAAAA:
          allOf:
            - $ref: "#/referenced"
              description: AAAAA
            - examples: [AAAAA]
        BBBBB:
          allOf:
            - $ref: "#/referenced"
              description: BBBBB
            - examples: [BBBBB]

That's good to hear you fixed this!

As of oas 3.1.0 the only fields allowed in a reference object are $ref, description and summary.

I will take that into account, thank you.

authors: brendarearden matthewmurphy vZ2JEZsZW

repo: stoplightio/elements


text:
🛑 Stormkit API is down

In a2ee28d, Stormkit API (https://api.stormkit.io) was down:

HTTP code: 503
Response time: 818 ms

Resolved: Stormkit API is back up in 29b0123 after 44 minutes.

repo: stormkit-io/stormkit-status


text:
How to assign new user to group

I want to assign a new user to a group... Is there an "after_registration" event, or something of the sort?

If you're using stormpath-express, there is a postRegistrationHandler you can implement: https://docs.stormpath.com/nodejs/express/latest/registration.html#post-registration-handler

authors: mraible patricknee

repo: stormpath/stormpath-sdk-angular


text:
Undo channel stubbing - causes NPM version errors to fail silently

Issue: #1486
What I did
Undo bad changes in PR
How to test
CI tests
(Or force a messed up NPM version error... has bitten many of us, but not sure the best way to repro)

Got @ndelangen 's approval over slack 🍷

Perhaps we should replace it with functions that throw useful errors?

@tmeasday updated per your suggestion

Is this mergable @tmeasday ?

LGTM!

authors: ndelangen shilman tmeasday

repo: storybooks/storybook


text:
Styling bug fixes, story updates, and more QA

Issue: #5421
What I did

Fixed styling bugs in #5421.
Fixed console warnings due to styling
Update stories to be more realistic, remove blank stories

@tmeasday the nth-of-type stuff made no noticeable difference from a styling POV so I did them.


text:
Plugin filtering issue

Readme says all plugins included via configureWebpack will not be filtered, but given the following vue.config.js:
/* eslint-disable import/no-extraneous-dependencies */
const path = require('path');
const webpack = require('webpack');

module.exports = {
  lintOnSave: 'error',
  configureWebpack: {
    plugins: [
      new webpack.ProvidePlugin({
        mapboxgl: 'mapbox-gl'
      }),
      new webpack.EnvironmentPlugin({
        TESTING: 'test 123'
      })
    ]
  }
};

process.env.TESTING is undefined in storybook, but working in my Vue app. The mapbox plugin is also undefined.

I am not sure about the environment plugin. https://github.com/storybooks/vue-cli-plugin-storybook/issues/16
But the other plugin should be there though. https://github.com/storybooks/vue-cli-plugin-storybook/pull/42. /cc @jimvandervoort

@pksunkara Oh I see what's happening, you merged in that PR but haven't published the update to npm yet. I just tried to update the plugin but the changes aren't there yet.
Can you publish the new update please? Thanks!

Released. Could you check if this works now?

🎉 That fixed both problems! Thank you so much!

authors: nickforddesign pksunkara

repo: storybooks/vue-cli-plugin-storybook


text:
Improve how we display error message

When we use a modal dialog box and the action went wrong, it displays another modal dialog over the first one. This is not useful and user friendly by the way.
I suggest to only display like other modal dialog with forms an error message in red under the field.

/cc @dev0tion @bokobza

Please follow this example. The code is ready but we need to use it directly, not after the second modal dialog closed.

@dev0tion is this ok for this issue ? :)

Done throughout the entire wallet

repo: stratisproject/StratisCore


text:
batch: remove link validation in CreateLink

Bufferedbatch's CreateLink is validating the link for no reason.
All other store don't do any validation, their only responsibility is to store links.
Validation is done beforehand (in the http server for http store or in TMPoP when receiving links via DeliverTx).
Refactored bufferedbatch tests to use assertions.

This change is

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

authors: alexppxela such t-bast

repo: stratumn/go-indigocore


text:
Understand TempIncreaseAlertFunction#processElement in chapter 6

TempIncreaseAlertFunction#processElement has the following code to check and remove the registered timer
It has a condition prevTemp = 0.0, I would ask when this condition is true? As far as I can think, it happens for the first time that processElement method is called, but, when it is first called, should we need to delete the timer? It has not been registered yet.
Does this condition check has some special concern?
Thanks!
    if (prevTemp == 0.0 || r.temperature < prevTemp) {
      // temperature decreased. Delete current timer.
      ctx.timerService().deleteProcessingTimeTimer(curTimerTimestamp)
      currentTimer.clear()
    }

Hi @bithw1, thanks for your question. The purpose of the prevTemp = 0.0 condition is to prevent to fall into the else if branch because we don't want the first reading to be compared with 0.0 which would always be considered as a temperature increase.
But you're right, we should make that more clear in the code example.
I'll update the example.
Thanks, Fabian

Thanks @fhueske for the reply and updating the code, the logic looks much clear

repo: streaming-with-flink/examples-scala


text:
🛑 SAM VTR is down

In e1a0f1b, SAM VTR (https://seam.vtr.cl/obtenerListadoActividades?wsdl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SAM VTR is back up in 23f8e10 after 8 minutes.

repo: streamlined-scs/upptime


text:
🛑 Workspace Streamlined is down

In 25ba248, Workspace Streamlined (https://workspace.streamlined-scs.cl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Workspace Streamlined is back up in 899003b.


text:
Check for XML documentation file and document dependencies. Fixes #917

PR Details
This changes the way that documentation is cached for the editor to consider the standard XML documentation if available as a fallback when usrdoc is not provided. It will also now look at dependencies of solution project assemblies.
Recreated due to invalid GitHub link with commit user.
Description
When first loading a project, the UserDocumentationService caches docs it finds in the .usrdoc files. This is a simple key-value format and is not generated automatically by Stride projects. The XML documentation file can be produced easily by including the appropriate directives in a csproj file as laid out in https://docs.microsoft.com/en-us/dotnet/csharp/codedoc. With this change, we will first look for a .usrdoc file before falling back to the .xml path. A future enhancement could be made to respect the project's specified documentation path. When looking at XML, it only considers the <userdoc> element
Related Issue
https://github.com/stride3d/stride/issues/917
Motivation and Context
When  is added to a public property, game studio should show the text when the mouse is over that property in the Property Grid. The only supported file is a custom key-value doc with the .userdoc extension and XML documentation is ignored. The <userdoc> element is currently what is being used in the .usrdoc file so the convention is continued here.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

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

Thanks, good change!
I am a little bit worried about the large XML parsing in the main thread. I wonder if it could be moved outside of UI thread (i.e. using async, Task or Lazy).
Maybe not trivial since it seems needed while building the nodes in DocumentationNodeUpdater.  Possibly DocumentationData.Key needs to change from string to Task<string>?

XML Parsing is slow, but I'm not sure what an average size of this file would be. My project is small/medium that I was testing against with a 132 KB docs file and it wasn't perceptible. Using async should be okay. When you say DocumentationData.Key, are you referring to the cachedDocumentations dictionary in here? Since I will have parsed by that point should I attempt to wrap the parsing of the files in an async task instead?

@xen2

@xen2 I'm just coming back to this now. It seems like the async changes you discussed are related to #178. I'm not familiar enough with the engine to make a change that drastic.
This information doesn't seem like something we should be caching on-demand as it generates with the build. Should we instead pre-cache while loading the projects into the session?
For example, the following area:
https://github.com/stride3d/stride/blob/a8977da1e215e301ed5f9af6d1ca44cc6a853004/sources/editor/Stride.Core.Assets.Editor/ViewModel/SessionViewModel.cs#L1260-L1270
Could be modified to perform this work like this:
internal void ProcessAddedProjects(LoggerResult loggerResult, WorkProgressViewModel workProgress, bool packageAlreadyInSession)
{
    var newPackages = new List<PackageViewModel>();
    var documentationService = ServiceProvider.Get<UserDocumentationService>();
    foreach (var package in session.Projects.Where(x => !packageMap.ContainsValue(x)))
    {
        var viewModel = CreateProjectViewModel(package, packageAlreadyInSession);
        viewModel.LoadPackageInformation(loggerResult, workProgress);
        newPackages.Add(viewModel);

        // Add documentation at load time.
        foreach (var packageAssembly in viewModel.LoadedAssemblies)
        {
            documentationService.CacheAssemblyDocumentation(packageAssembly.Assembly);
        }
    }
    ProcessAddedPackages(newPackages);
}

(Is there a better place?)
These .xml and .usrdoc files are generally quite small for most projects and we already require a reload on code change. What are your thoughts?

@Eideren mind giving this one another look? I think this should take care of the concurrency concerns, but my fire-and-forget per assembly vs. one Task with the foreach loop within has me second guessing myself.

@AmbulantRex while you're working on this service can you take a look at fixing #1102? Should be quick, as it just needs a replace of + with . wherever the Type.FullName is used.

Almost done, two small issues !
Do note that right now documentation removed while systems are running are not removed from this cache, I don't think it's a big deal as it would increase complexity quite a bit for something that has no side effect. If someone has a good argument to make sure it's cleaned up feel free to step in.
As for @manio143 's suggestion, if you really want to go the extra mile you could look at the source for those formats to see how/why it formats inner class with a . instead of a + and replicate that formatting on our end to make sure that it's always accurate. Feel free to just do a string replace +->. if you don't have time.

I was able to throw in the simple replacement as part of this one. I dug around to see if there was a more elegant way to solve it, but .NET under the hood populates the qualified name using + for subclasses. The classes in the engine that dealt with this were very generic so I was afraid of unintended consequences modifying it any further up the chain, but I could come back to it if I come across a better way down the road.


text:
Android fails to compile after upgrading to 0.18.1

Describe the bug
I am attempting to upgrade to 0.18.1 in order to fix iOS builds failing on XCode 14 with iOS 16 and now my android app will not compile.
To Reproduce
Steps to reproduce the behavior:
yarn add @stripe/stripe-react-native
yarn android
Expected behavior
The android app compiles successfully
Screenshots
Error

Gradle file

Desktop (please complete the following information):

OS: macOS 12.5.1
Version: 0.18.1
RN: 0.68.3

Additional context
https://github.com/stripe/stripe-ios/issues/1973

Hitting this also

Could you try updating your kotlinVersion to 1.6.21? I'm not able to reproduce this myself, though

ok i think that resolved the issue relating to stripe-react-native. I'm now running into this error, but it doesn't seem specific to this repo. seems likely to be an issue with my dev env configuration. closing the issue.
> Task :app:devCheckEnvironment FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings
36 actionable tasks: 2 executed, 34 up-to-date

FAILURE: Build failed with an exception.

* What went wrong:
Some problems were found with the configuration of task ':app:devCheckEnvironment' (type 'CheckEnvironment').
  - Type 'CheckEnvironment' property 'envVars' is missing an input or output annotation.

    Reason: A property without annotation isn't considered during up-to-date checking.

    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.

    Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'CheckEnvironment' property 'releaseVars' is missing an input or output annotation.

    Reason: A property without annotation isn't considered during up-to-date checking.

    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.

    Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'CheckEnvironment' property 'serviceVars' is missing an input or output annotation.

    Reason: A property without annotation isn't considered during up-to-date checking.

    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.

    Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'CheckEnvironment' property 'verifyVarSet' is missing an input or output annotation.

    Reason: A property without annotation isn't considered during up-to-date checking.

    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.

    Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#missing_annotation for more details about this problem.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 26s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDevDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

* What went wrong:
Some problems were found with the configuration of task ':app:devCheckEnvironment' (type 'CheckEnvironment').
  - Type 'CheckEnvironment' property 'envVars' is missing an input or output annotation.

    Reason: A property without annotation isn't considered during up-to-date checking.

    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.

    Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'CheckEnvironment' property 'releaseVars' is missing an input or output annotation.

    Reason: A property without annotation isn't considered during up-to-date checking.

    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.

    Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'CheckEnvironment' property 'serviceVars' is missing an input or output annotation.

    Reason: A property without annotation isn't considered during up-to-date checking.

    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.

    Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'CheckEnvironment' property 'verifyVarSet' is missing an input or output annotation.

    Reason: A property without annotation isn't considered during up-to-date checking.

    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.

    Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#missing_annotation for more details about this problem.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 26s

    at makeError (/Users/jordanepps/workspace/client/node_modules/execa/index.js:174:9)
    at /Users/jordanepps/workspace/client/node_modules/execa/index.js:278:16
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async runOnAllDevices (/Users/jordanepps/workspace/client/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:109:5)
    at async Command.handleAction (/Users/jordanepps/workspace/client/node_modules/@react-native-community/cli/build/index.js:192:9)
info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

authors: charliecruzan-stripe jkepps mballdev

repo: stripe/stripe-react-native


text:
Fordwarding to local host doesnt work with git bash in VS Code

Command i am trying to run:
C:\Users\XXX\scoop\shims\stripe.exe listen --forward-to http://localhost:3000 --forward-connect-to http://localhost:3000

Error i am getting:
bash: C:Usersxxscoopshimsstripe.exe: command not found
I guess something is wrong with the path / is removed. If i use powershell for example it works perfectly

Any news on this ?

authors: Dzivo servefast-cto

repo: stripe/vscode-stripe


text:
Improve the documentation on the configuration files

Task Description
We need to improve our documentation for all of the etc/conf/strongbox*xml files, as it's very basic. We could use some more examples for different configurations.
Some of the configuration files are not even partially documented (like, for example, the etc/conf/strongbox-authorization.xml file).
Help

Our chat
Points of contact:

@carlspring
@sbespalov
@steve-todorov

Hello sir,
I am a beginner to contributions
Can I work on this if it's still open?

@Huzaib ,
Would you like to pick something else instead?

Can you suggest me something??

@carlspring Greetings , can I work on this ?

@KishkinJ10 : This is on hold.

authors: Huzaib KishkinJ10 carlspring

repo: strongbox/strongbox


text:
Update from original

Update from original

Updated from original repository

repo: stubbornella/oocss


text:
Unable to reproduce NER numbers using the released checkpoint

Hi, i was trying to evaluate your NER checkpoint on CONLL2003 test set. I was getting close to 0.72F1. Did you by chance face this issue? I gave a try using the test sets from here and here. Both evaluations have similar F1. Could someone please look into this issue. Thank you!
       precision    recall  f1-score   support

  PER     0.9639    0.4338    0.5984      1602
 MISC     0.8680    0.5720    0.6896       701
  LOC     0.9596    0.7407    0.8360      1666
  ORG     0.9418    0.5792    0.7173      1647

micro avg    0.9431     0.5848     0.7219       5616
macro avg   0.9442     0.5848     0.7151       5616

Hi,
Thank you for creating the issue!
I ran the experiments again using the following command and successfully reproduced the results:
python -m examples.cli --model-file=luke_large_500k.tar.gz ner run --data-dir=data/conll_2003/ --checkpoint-file=pytorch_model.bin --no-train
[2021-01-16 16:07:43,699] [INFO] Output dir: exp_YawtNwDZ (cli@cli.py:78)
[2021-01-16 16:09:11,625] [INFO] Creating features from the dataset... (load_examples@main.py:185)
[2021-01-16 16:09:54,205] [INFO] Creating features from the dataset... (load_examples@main.py:185)
The number of labels: 51362
           precision    recall  f1-score   support

      ORG     0.9630    0.9702    0.9666      1341
      LOC     0.9777    0.9814    0.9795      1830
      PER     0.9831    0.9847    0.9839      1832
     MISC     0.9267    0.9136    0.9201       914

micro avg     0.9683    0.9694    0.9688      5917
macro avg     0.9682    0.9694    0.9688      5917

[2021-01-16 16:15:06,318] [INFO] Creating features from the dataset... (load_examples@main.py:185)
The number of labels: 46435
           precision    recall  f1-score   support

      ORG     0.9321    0.9496    0.9408      1647
      LOC     0.9559    0.9508    0.9534      1666
      PER     0.9689    0.9725    0.9707      1602
     MISC     0.8569    0.8716    0.8642       701

micro avg     0.9401    0.9468    0.9434      5616
macro avg     0.9403    0.9468    0.9435      5616

[2021-01-16 16:19:42,131] [INFO] Results: {
  "dev_f1": 0.9688370914618697,
  "dev_precision": 0.9682646860229575,
  "dev_recall": 0.9694101740747,
  "test_f1": 0.9433995741660753,
  "test_precision": 0.9400636492220651,
  "test_recall": 0.9467592592592593
} (run@main.py:97)

I also confirmed that the eng.testb dataset available [here](https://github.com/synalp/NER/tree/master/corpus/CoNLL-2003} is exactly the same as the one used in our experiments.
Did you install LUKE and its dependencies using poetry install? We only tested the code with library versions specified in the poetry.lock file, and the current code may have issues with dependent libraries with different versions than those specified in the file.

Hi,
Thank you for creating the issue!
I ran the experiments again using the following command and successfully reproduced the results:
python -m examples.cli --model-file=luke_large_500k.tar.gz ner run --data-dir=data/conll_2003/ --checkpoint-file=pytorch_model.bin --no-train
[2021-01-16 16:07:43,699] [INFO] Output dir: exp_YawtNwDZ (cli@cli.py:78)
[2021-01-16 16:09:11,625] [INFO] Creating features from the dataset... (load_examples@main.py:185)
[2021-01-16 16:09:54,205] [INFO] Creating features from the dataset... (load_examples@main.py:185)
The number of labels: 51362
           precision    recall  f1-score   support

      ORG     0.9630    0.9702    0.9666      1341
      LOC     0.9777    0.9814    0.9795      1830
      PER     0.9831    0.9847    0.9839      1832
     MISC     0.9267    0.9136    0.9201       914

micro avg     0.9683    0.9694    0.9688      5917
macro avg     0.9682    0.9694    0.9688      5917

[2021-01-16 16:15:06,318] [INFO] Creating features from the dataset... (load_examples@main.py:185)
The number of labels: 46435
           precision    recall  f1-score   support

      ORG     0.9321    0.9496    0.9408      1647
      LOC     0.9559    0.9508    0.9534      1666
      PER     0.9689    0.9725    0.9707      1602
     MISC     0.8569    0.8716    0.8642       701

micro avg     0.9401    0.9468    0.9434      5616
macro avg     0.9403    0.9468    0.9435      5616

[2021-01-16 16:19:42,131] [INFO] Results: {
  "dev_f1": 0.9688370914618697,
  "dev_precision": 0.9682646860229575,
  "dev_recall": 0.9694101740747,
  "test_f1": 0.9433995741660753,
  "test_precision": 0.9400636492220651,
  "test_recall": 0.9467592592592593
} (run@main.py:97)

I also confirmed that the eng.testb dataset available [here](https://github.com/synalp/NER/tree/master/corpus/CoNLL-2003} is exactly the same as the one used in our experiments.
Did you install LUKE and its dependencies using poetry install? We only tested the code with library versions specified in the poetry.lock file, and the current code may have issues with dependent libraries with different versions than those specified in the file.

Thanks for the prompt reply @ikuyamada. You are right, package version mismatch was the issue. using poetry install solved it. Also, if someone is try to evaluate NER on custom dataset please make sure to set max-mention-length limit based on your dataset https://github.com/studio-ousia/luke/blob/master/examples/ner/main.py#L37.

Thanks for the prompt reply @ikuyamada. You are right, package version mismatch was the issue. using poetry install solved it. Also, if someone is try to evaluate NER on custom dataset please make sure to set max-mention-length limit based on your dataset https://github.com/studio-ousia/luke/blob/master/examples/ner/main.py#L37.

authors: ikuyamada shivapk

repo: studio-ousia/luke


text:
Access the parent component of the DOM of a child component

Hi!
I regularly use the JS toolkit and I noticed a few things.
When you put in js-toolkit components, children have access to the "$parent" property. And this component is not its parent linked in the DOM, but the js-toolkit parent to the one it is linked to.
Example:
Here I have 2 components "Hero" and "HeroSlider". They can work independently because in my forehead I can create simple Hero and also Hero sliders. If I want it to communicate together I have to go through the "refs".
index.html

        …

        …

index2.html

      …

app.js
import Base from '@studiometa/js-toolkit';
import Hero from './components/Hero';
import HeroSlider from './components/HeroSlider';

class App extends Base {
  get config() {
    return {
      name: 'App',
      components: {
        Hero,
        HeroSlider,
      },
    };
  }
}

export default = new App(document.documentElement);

components/Hero.js
import Base from '@studiometa/js-toolkit';

export default class Hero extends Base {
  get config() {
    return {
      name: 'Hero',
    };
  }

  mounted() {
    console.log(this.$parent); // is "App" component
    console.log(this.myCustomParent); // is "HeroSlider" component dom parent, but async…
  }
}

components/HeroSlider.js
import Base from '@studiometa/js-toolkit';

export default class HeroSlider extends Base {
  get config() {
    return {
      name: 'HeroSlider',
    };
  }

  mounted() {
    console.log(this.$parent); // is "App" component

    this.$refs.forEach(($hero) => {
      $hero.myCustomParent = this; // Adds a custom property to the children
    });
  }
}

In itself it makes sense, but I think it would be interesting if children could also access their parent from the DOM ($parentDom?).

This seems to be complicated to implement at the moment, as the components are mounted from the top down. This means that if a component is defined in App, it will be mounted when App is mounted, and it will then mount its children, etc.
It would also be complex to add a $parentDom property that resolves correctly because the selector for a component can be changed to a specific selector other than [data-component="..."].
But, it is possible with the current API to achieve what you are trying to do by registering the Hero class as a component of the HeroSlider one, but with a different name. This way, App will not instantiate the components inside HeroSlider.
See this Codepen for a live demo : https://codepen.io/titouanmathis/pen/yLgqBVv?editors=0001.
You will then be able to trigger custom behavior if needed :
if (this.$parent instanceof HeroSlider) {
  // do something with the parent component
}

To avoid complexity in the Hero class with conditions (and a cyclic import), I'd rather suggest to use events from the Hero class which could be listened by the HeroSlider class:
class Hero extends Base {
  mounted() {
    this.$emit('event', 'foo');
  }
}

class HeroSlider extends Base {
  static config = {
    name: 'HeroSlider',
    components: { Hero },
  }

  onHeroEvent(value) {
    console.log(value); // 'foo'
  }
}

authors: titouanmathis w-jerome

repo: studiometa/js-toolkit