interest in windows port

I saw a post over here on Windows support for a rust terminal app. One user responds with a post to heatseeker, talking about how they did windows tty support. The file's here: https://github.com/rschmitt/heatseeker/blob/master/src/screen/windows.rs. I wonder if this could be any help to making termion work with Windows?

According to @retep998, this should soon be possible with termios in Windows.

I have a slash-and-burn version working here: https://github.com/mcgoo/termion/tree/windows. All the examples work but you can panic it if you hammer keys and click fast - I haven't looked into what that's about yet. It uses the VT support added to Windows 10 (1607?) when they added WSL. I haven't tried it without WSL installed but it should work. (I started by doing s/redox/windows/ so there is a bit of work required to turn this into something mergeable.)
@ticki, is Windows support something you would consider merging, (subject to it being tastefully done, of course?)

@ticki, is Windows support something you would consider merging, (subject to it being tastefully done, of course?)

Yeah sure, as long as it isn't a complete hack or anything, it would be useful definitely

A windows port would also be good since ion (redox-os's shell) relies on termios and cannot easily achieve windows support without support in this crate too. https://github.com/redox-os/ion/issues/285

Just wanted to add my +1 for what it is worth.
I am using Linux at home, but at work I am forced to use Windows. Would be really cool if I could continue hacking on the same project using termion.

Another consumer of this crate is liner, which would likely also gain Windows support when termion does.

@mcgoo Your Windows port worked quite well for me. I tested it with the smith editor.
Hoping to see this integrated in Termion main soon.

Would someone else like to pick this up and try to push it over the line? This is pretty low priority for me.

I've started rebasing everything that @mcgoo had in his branch over to my own at erichdongubler/termion@windows. There's definitely some concerns from my testing on Windows 10:

Almost all of the examples worked as expected for cmd. Things that I noticed don't work yet:

[ ] The rainbow example didn't seem to work at all. Not sure what this is about, but I'm getting a blank screen.

[ ] Colors in some examples don't seem to work...period. In the keys example . I got this typing watstuff.!q:
C:\Users\egubler\Desktop\experiments\termion>cargo run --example keys
    Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
     Running `target\debug\examples\keys.exe`
q to exit. Type stuff, use alt, and so on.w
a
t
s
t
u
f
f
.
!

However, in examples like truecolor or commie, the colors work perfectly. This seems to be because termion is trying to use ANSI escapes for the offending examples...which cmd may not necessarily use. I don't know much about it, though, and at this point I'd have to research to figure out the problem.

Some of the basic stuff works in a POSIX emulation layer like MSYS2, but there's some serious concerns here too. From what I can see, it seems like the solution will require some sort of runtime check...or compilation against the custom POSIX emulation DLLs that systems like Cygwin and MSYS2 use.

[ ] For some reason, the input is buffered until a newline...which is NOT what is supposed to happen for most of the examples.
[ ] Because of the previous issue, I wasn't immediately able to determine if the mouse actually worked in MSYS2.
[ ] Getting terminal size doesn't work.

I've been doing quite a bit of research in this area. As a matter of fact, I just added Windows support for the os_info crate because I needed it for one of my projects. I'm sure I don't have all the answers since I'm still trying to wrap my head around it, but I'll try to answer some of the questions/concerns noted above.
As @mcgoo stated, Microsoft added full ANSI support to it's 'terminal' (I'll use the word terminal for simplicity) around the time WSL was introduced. In order to fully support Ubuntu's PTY output one can assume that they had to. That being said, the updates were not officially released until Windows 10 version 10.0.10586. So for a developer to ensure ANSI support is available, one must do more than check the major version.
Regarding colors, @ErichDonGubler was most likely running into one of two issues. Either he didn't have Windows 10.0.10586 (release number is important) or the feature was not enabled in his 'terminal'. Many 3rd party Windows terminals support colors out of the box. The default terminal (i.e: cmd.exe) has to be told to enable it. For example, after checking the the Windows version is correct, one must do something like the following:
let h_console = kernel32::GetStdHandle(winapi::STD_OUTPUT_HANDLE);
if h_console == winapi::INVALID_HANDLE_VALUE {
    return;
}

let mut dw_out: winapi::DWORD = 0;
if kernel32::GetConsoleMode(h_console, &mut dw_out) == 0 {
    return;
}

const ENABLE_VIRTUAL_TERMINAL_PROCESSING: u32 = 0x0004;
kernel32::SetConsoleMode(h_console, dw_out | ENABLE_VIRTUAL_TERMINAL_PROCESSING);

Here one can find an API reference. That's a small snippet copied and pasted directly from my personal project, so excuse the fact that it's not going to work if you copy and paste it. It does, however, enable ANSI support in Windows and will allow one to use a full range of colors and other ANSI-ish features.
If ANSI escape sequences are not available, one must do something like the following for (limited) color support:
#[cfg(target_os = "windows")]
#[derive(Clone, Debug, PartialEq, Eq)]
#[repr(u16)]
#[allow(dead_code)]
enum Win32ForegroundColor {
    BLACK,
    DARKBLUE      = (winapi::FOREGROUND_BLUE) as u16,
    DARKGREEN     = (winapi::FOREGROUND_GREEN) as u16,
    DARKCYAN      = (winapi::FOREGROUND_GREEN | winapi::FOREGROUND_BLUE) as u16,
    DARKRED       = (winapi::FOREGROUND_RED) as u16,
    DARKMAGENTA   = (winapi::FOREGROUND_RED | winapi::FOREGROUND_BLUE) as u16,
    DARKYELLOW    = (winapi::FOREGROUND_RED | winapi::FOREGROUND_GREEN) as u16,
    DARKGRAY      = (winapi::FOREGROUND_RED | winapi::FOREGROUND_GREEN | winapi::FOREGROUND_BLUE) as u16,
    GRAY          = (winapi::FOREGROUND_INTENSITY) as u16,
    BLUE          = (winapi::FOREGROUND_INTENSITY | winapi::FOREGROUND_BLUE) as u16,
    GREEN         = (winapi::FOREGROUND_INTENSITY | winapi::FOREGROUND_GREEN) as u16,
    CYAN          = (winapi::FOREGROUND_INTENSITY | winapi::FOREGROUND_GREEN |winapi:: FOREGROUND_BLUE) as u16,
    RED           = (winapi::FOREGROUND_INTENSITY | winapi::FOREGROUND_RED) as u16,
    MAGENTA       = (winapi::FOREGROUND_INTENSITY | winapi::FOREGROUND_RED | winapi::FOREGROUND_BLUE) as u16,
    YELLOW        = (winapi::FOREGROUND_INTENSITY | winapi::FOREGROUND_RED | winapi::FOREGROUND_GREEN) as u16,
    WHITE         = (winapi::FOREGROUND_INTENSITY | winapi::FOREGROUND_RED | winapi::FOREGROUND_GREEN | winapi::FOREGROUND_BLUE) as u16
}

#[cfg(target_os = "windows")]
#[derive(Clone, Debug, PartialEq, Eq)]
#[repr(u16)]
#[allow(dead_code)]
enum Win32BackgroundColor {
    BLACK,
    DARKBLUE      = (winapi::BACKGROUND_BLUE) as u16,
    DARKGREEN     = (winapi::BACKGROUND_GREEN) as u16,
    DARKCYAN      = (winapi::BACKGROUND_GREEN | winapi::BACKGROUND_BLUE) as u16,
    DARKRED       = (winapi::BACKGROUND_RED) as u16,
    DARKMAGENTA   = (winapi::BACKGROUND_RED | winapi::BACKGROUND_BLUE) as u16,
    DARKYELLOW    = (winapi::BACKGROUND_RED | winapi::BACKGROUND_GREEN) as u16,
    DARKGRAY      = (winapi::BACKGROUND_RED | winapi::BACKGROUND_GREEN | winapi::BACKGROUND_BLUE) as u16,
    GRAY          = (winapi::BACKGROUND_INTENSITY) as u16,
    BLUE          = (winapi::BACKGROUND_INTENSITY | winapi::BACKGROUND_BLUE) as u16,
    GREEN         = (winapi::BACKGROUND_INTENSITY | winapi::BACKGROUND_GREEN) as u16,
    CYAN          = (winapi::BACKGROUND_INTENSITY | winapi::BACKGROUND_GREEN |winapi:: BACKGROUND_BLUE) as u16,
    RED           = (winapi::BACKGROUND_INTENSITY | winapi::BACKGROUND_RED) as u16,
    MAGENTA       = (winapi::BACKGROUND_INTENSITY | winapi::BACKGROUND_RED | winapi::BACKGROUND_BLUE) as u16,
    YELLOW        = (winapi::BACKGROUND_INTENSITY | winapi::BACKGROUND_RED | winapi::BACKGROUND_GREEN) as u16,
    WHITE         = (winapi::BACKGROUND_INTENSITY | winapi::BACKGROUND_RED | winapi::BACKGROUND_GREEN | winapi::BACKGROUND_BLUE) as u16
}

Maybe one can add more colors by using the accepted answer on this post
Regarding cursor information, one may have to use API's such as [GetConsoleScreenBufferInfo)[https://docs.microsoft.com/en-us/windows/console/getconsolescreenbufferinfo] if ANSI is not supported.
Nevertheless, I guess it depends on how important Windows compatibility is. Most organizations are using Windows 10, but there is no guarantee on the specific release and while most ANSI style functionality can possibly be implemented via the Windows API, there may be certain features in this crate that will need to be disabled if the Windows release version is < than 10586.

@mattmccarty: If you want to collaborate on my fork so we can get this pushed over the line, please drop me a line at the issue I made on my fork! :) I'd love to get this working.
ANSI support is currently being enabled on my fork in Windows, and some of the original problems I ran into with colors were fixed, as far as I can tell. However, there are some issues remaining and some design concerns I have with requiring an init process really only for Windows terminals. Until now, I haven't given much time to looking at this -- but with the right resources, I'm sure we could get 'er done!

I will be happy to help @ErichDonGubler. Due to the holiday season, I will not be available until the middle of January though.

@mattmccarty: Sounds great. I'll hope to hear from you again around then!

Any idea if this will be implemented?
@ErichDonGubler can you open a PR with your implementation or is there anything blocking it?

@fungos: There's some work still left -- if you examine the issues in my fork, @mattmccarty and I are still figuring out some Windows-specific stuff to make the part that can plug in to what termion already has. 😄 This is the tracking issue we're currently using.
The work there is probably going to be nontrivial -- because Windows means that we'll be introducing terminals that don't have ANSI features enabled by default, we will almost certainly have to make breaking changes to the API as we try redesign the termion interface so that it stays a good citizen with terminal state flags.

@ErichDonGubler I would be fine with windows support that still requires ANSI terminals, since the available ANSI-compatible terminals on Windows are usually superior to cmd.exe

@mrZalli  cmd.exe is a shell, not a terminal. conhost, the standard Windows console, has opt in ANSI escape code support on Windows 10.

@retep998 Oh didn't know that, thanks.


Import cost extension flickering issue on Auto save on.

NOTE: This happens only when I keep auto save on.
INFO: I'm facing this issue with import cost extension, but as instructed in the issue template, I tested with vscode insiders, and I don't face this issue, so should i just shift to insiders' or is this gonna be solved in some days or next month?
Thanks in advance, you guys are amazing!!
~ Sahil Rajput

Insiders gives you early access to what's likely to be in next Stable. Releases of Stable typically happen once a month, unless critical issues require a recovery release (e.g. 1.49.1)
/question


Renamed SQLAlchemy dialect

Fixes #7121.

Renamed cockroachdb-python to sqlalchemy-cockroachdb.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/a1727659b2051953fadd96687f36406b37ad5d8f/
Edited pages:

v1.0/build-a-python-app-with-cockroachdb-sqlalchemy.md
v1.1/build-a-python-app-with-cockroachdb-sqlalchemy.md
v19.1/advanced-client-side-transaction-retries.md
v19.1/build-a-python-app-with-cockroachdb-sqlalchemy.md
v19.1/known-limitations.md
v19.1/transactions.md
v19.2/advanced-client-side-transaction-retries.md
v19.2/build-a-python-app-with-cockroachdb-sqlalchemy.md
v19.2/cockroachcloud-connect-to-your-cluster.md
v19.2/deploy-a-python-to-do-app-with-flask-kubernetes-and-cockroachcloud.md
v19.2/install-client-drivers.md
v19.2/known-limitations.md
v19.2/multi-region-application.md
v19.2/run-multi-statement-transactions.md
v19.2/transactions.md
v2.0/build-a-python-app-with-cockroachdb-sqlalchemy.md
v2.1/build-a-python-app-with-cockroachdb-sqlalchemy.md
v2.1/known-limitations.md
v20.1/advanced-client-side-transaction-retries.md
v20.1/build-a-python-app-with-cockroachdb-sqlalchemy.md
v20.1/cockroachcloud-connect-to-your-cluster.md
v20.1/deploy-a-python-to-do-app-with-flask-kubernetes-and-cockroachcloud.md
v20.1/install-client-drivers.md
v20.1/known-limitations.md
v20.1/run-multi-statement-transactions.md
v20.1/transactions.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/777b540e964e5fbd152195d5c6c19896e3417159/
Edited pages:

v1.0/build-a-python-app-with-cockroachdb-sqlalchemy.md
v1.1/build-a-python-app-with-cockroachdb-sqlalchemy.md
v19.1/advanced-client-side-transaction-retries.md
v19.1/build-a-python-app-with-cockroachdb-sqlalchemy.md
v19.1/known-limitations.md
v19.1/transactions.md
v19.2/advanced-client-side-transaction-retries.md
v19.2/build-a-python-app-with-cockroachdb-sqlalchemy.md
v19.2/cockroachcloud-connect-to-your-cluster.md
v19.2/deploy-a-python-to-do-app-with-flask-kubernetes-and-cockroachcloud.md
v19.2/install-client-drivers.md
v19.2/known-limitations.md
v19.2/multi-region-application.md
v19.2/multi-region-setup.md
v19.2/run-multi-statement-transactions.md
v19.2/transactions.md
v2.0/build-a-python-app-with-cockroachdb-sqlalchemy.md
v2.1/build-a-python-app-with-cockroachdb-sqlalchemy.md
v2.1/known-limitations.md
v20.1/advanced-client-side-transaction-retries.md
v20.1/build-a-python-app-with-cockroachdb-sqlalchemy.md
v20.1/cockroachcloud-connect-to-your-cluster.md
v20.1/deploy-a-python-to-do-app-with-flask-kubernetes-and-cockroachcloud.md
v20.1/install-client-drivers.md
v20.1/known-limitations.md
v20.1/run-multi-statement-transactions.md
v20.1/transactions.md


fix: #719 Use global delegate fixing Android TooManyRequestsException

Overview

The reason of this issue is system limits and counter.

And the cause of the issue may be that App may have created multiple RN instance and they all register network callbacks to system, mixed with that some native business also registering some callbacks, then resulted in the number of callbacks in the app goes up to the limits.
I've fixed this issue in our prt environment by registering only one network callbacks and sharing the callback from system to the other RN instances.
Test Plan

I have verified the effect and fixed the issue in our prt environment. This pr also works fine on this repository as shown by screenshots below:

This feels really over-engineered to me
If the diagnosis of failing to register new connection listeners is due to a bunch of react native instances in one app UID all using netinfo or similar is correct (is this something you have actually proven ? you have test results for this and some reproduction ?)
then it seems like just making the listener static might be good enough vs an interface a concrete implementation etc

In our app we prepare different react native instances for different businesses. We met this problem in prt environment and fixed it by this solution.
As for static listener you mentioned, it can be one choice. But the key is there should be some way to send netinfo to  all react listeners due to only ONE react native instance is registered to the system.

Ah I see - so this really happens. Okay

As for static listener you mentioned, it can be one choice

I believe it will lead to significantly less code. As a person with near-zero free time to donate to maintaining this repository for the world, the easiest code to maintain is the code that doesn't exist, so I lean very very strongly to "less code".
I believe the minimal solution is just having a single static listener for the class and I'd like to see that vs +interface +implementation +more conditionals etc...


Improving building

Here is PT task for this https://www.pivotaltracker.com/story/show/122031147
What was changed:

debug build option removed from wrapper & bundle
added uglification & minimisation for wrapper & bundle
added wrapper_dev build (watchify)
removed outdated code from example pages
rearranged example pages code for better readability

nice! but fix my comment about deps.
👍

Thanks, well noted 👍

Even if I'm not a big fan of your ruby scripts to launch tasks, all is clear and well organized. Merge this one 🚀


Codepen Example has Broken Image Links

Challenge Build a Personal Portfolio Webpage has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
Codepen loads with broken images.

@mikeinsf thanks for bringing up the issue. I can confirm there's an issue with rendering the images.
cc/ @hallaathrad @raisedadead

Looks like the source of the images is being redone
http://qlip.in/
"This whole website's functionality is broken and is thus being 86'd while I am rebuilding it from scratch (That's right Drupal, it's over between us! and it's definitely you, not me! sigh).
Dearest unexpected visitor, please bear with me while everything is ready."

@erictleung maybe we could ask the owner if we could move the image hosting to the AWS server where the cat photo app images are stored.

Hey all! thanks for your patience. I've been playing with my server's hot-linking settings for I'd noticed some broadband leakage from people forking the page and linking directly to my server.
I've adjusted it now. Thanks for the report :) and please feel free to reopen if you still see have issues with this.


Synchronize GitHub labels between repositories

Problem
At the moment we must add and edit all the labels with name and color (code) by hand. This results in different labels across the entire "zendframework" account.
Target

Consistency in the usage of the labels
Reduction of maintenance
Simplifying the recognition for users

Suggestion
Synchronize all labels between the different repositories by script.
And if we do not want to reinvent the wheel: Piwik already has a script.

@froschdesign IMHO, It would be much easier if we define here all label set and then write the script to update the labels in all repositories. We can use script you provided or write simply script (using https://github.com/KnpLabs/php-github-api) to update labels from template for all repos. So it would be generic script and everyone would be able to use it for own repository if needed :)

I've wrote script to fetch all labels and generate html table with them:
https://github.com/webimpress/github-labels
Result for zendframework org we can see here:
https://webimpress.github.io/github-labels/zendframework.html
And here is it for zfcampus:
https://webimpress.github.io/github-labels/zfcampus.html
Not sure if it will be possible to set the same labels for all repositories.
Definitely we can do something to improve these labels between all repositories.
@froschdesign any thoughts?

@webimpress
First: sorry for the late response.

It would be much easier if we define here all label set and then write the script to update the labels in all repositories.

Very nice idea!

Not sure if it will be possible to set the same labels for all repositories.

Why not? The solution should be as simple as possible. It is not necessary to use all labels, but we should have the same labels in all repositories.

@froschdesign

Very nice idea!

Are you going then propose list of common labels? 😄

Why not? The solution should be as simple as possible. It is not necessary to use all labels, but we should have the same labels in all repositories.

Have you seen https://webimpress.github.io/github-labels/zendframework.html?
Probably we don't want to have all lables from zf1 everywhere else

Are you going then propose list of common labels?

I will create a list.

Have you seen https://webimpress.github.io/github-labels/zendframework.html?
Probably we don't want to have all lables from zf1 everywhere else

Sorry, I mean not all labels from all repositories. I mean only all relevant labels should be synchronize for all repositories.

My suggestion:

awaiting author updates #e11d21
awaiting maintainer response #fbca04
bc break #e11d21
bug #fc2929
documentation #207de5
duplicate #cccccc
easy fix #02d7e1
enhancement #84b6eb
feature request
help wanted #159818
invalid #e6e6e6
needs documentation #c7def8
needs revert #e11d21
question #cc317c
unit test needed #eb6420
wip #0b02e1

What about "wontfix" #ffffff? I've seen it used couple of times, for example:
https://github.com/zendframework/zend-code/issues?q=label%3Awontfix+is%3Aclosed

Just forget. I updated the list.

Another suggestion, maybe we can have consistent label texts, for example, now we have:

needs documentation
needs revert
unit test needed

maybe needs unit test or all with ... needed (we have also help wanted...).

I think we can and should remove the label "easy fix". The label can be replaced with "good first issue" and "help wanted", because these labels are supported by GitHub and the wording is much better for the end user and what he can do.

The new component zend-expressive-session-cache includes already some description for the labels:


doc: storage: how to back up storage volumes

Add a how to for creating backups, either through snapshots or by exporting the volume to a file.

Documentation preview available at: https://linuxcontainers.org/lxd/docs/pr.10587/

Thanks a lot for your comments!
Updated with the additional information. :)


Improve security practices for ibm-products

Hey there, Carbon team member here! 👋 We'd like to ensure the security practices for packages published from the carbon-design-system GitHub org are in place and up to date. We'd like to work with you to get the following security practices implemented:
- [x] Add a security policy to the repository
- [x] Enable Security advisories
- [x] Enable Private vulnerability reporting
- [x] Enable Dependabot alerts
- [x] Enable Code scanning alerts
- [x] Enable Secret scanning alerts
- [ ] Publish your package(s) to npm with [provenance statements](https://docs.npmjs.com/generating-provenance-statements)

Most of these can be found under the Security tab for this repository. You may already have most of these implemented and turned on - if so, awesome!
For establishing a security policy, the existing security policy for the Carbon monorepo can be used as a template if you'd like. It can be modified to include proper version(s) for your package and any other attributes unique to your project that you may want to highlight.
I'm happy to meet up and chat about this if you'd like, just let me know. Thanks in advance for your help in ensuring security and stability across the Carbon ecosystem! 🙏 💙

Thanks @tay1orjones for following up on these! We did already have most of the alerts on plus a the security policy we added after we met the last time. :)
Looks like we still need to review the prerequisites for generating provenance statements then add it in GitHub Actions.

@elycheea Awesome! The provenance statements ended up being super simple when I implemented it in the monorepo, https://github.com/carbon-design-system/carbon/pull/14344/files

Ensure workflow permissions include id-token: write and contents: write
Add "provenance": true to the publishConfig key in package.json


Changelog for 2.3.0

I used https://github.com/skywinder/Github-Changelog-Generator to generate this.
I capped at 1000 issues so that github limits wouldn't get in the way.  the result is that full log stops sometime in the past summer. but there are still good links to github to see all of the commits for any release.
Seems ok to me.  What do you guys think?  Generates quickly.  I like the format.

We usually do the changelog by hand, as it's more readable for humans and the commit history is already readable on github right?

I can certainly do that.  Will do as soon as I'm back in front of the keyboard in an hour or so.

On Dec 7, 2016, at 10:53 AM, Florent Vilmart<EMAIL_ADDRESS>wrote:
We usually do the changelog by hand, as it's more readable for humans and the commit history is already readable on github right?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I can take care of it too. There's an issue that I'd like to get in that release too: https://github.com/ParsePlatform/parse-server/issues/3195
STR are clear, the original test is there, that should be easy to fix :)

i'm putting together a draft that we can add to

Closing as supersed by #3205


[Bug]: Incoming email notification "Coolify: [ACTION REQUIRED] Scheduled task (Cron scheduler) failed."

Description
Few times a day (~5) we receive email notification with subject: Coolify: [ACTION REQUIRED] Scheduled task (Cron scheduler) failed.
and with the content:
SQLSTATE[23505]: Unique violation: 7 ERROR:  duplicate key value violates unique constraint "scheduled_task_executions_uuid_unique"
DETAIL:  Key (uuid)=(zoo88ww) already exists. (Connection: pgsql, SQL: insert into "scheduled_task_executions" ("scheduled_task_id", "uuid", "updated_at", "created_at") values (4, zoo88ww, 2024-06-21 18:45:02, 2024-06-21 18:45:02) returning "id")

In the messages, the uuid changes like ggsw0s4, h04s4ss, etc.
Minimal Reproduction (if possible, example repository)
In the Scheduled Tasks there is only one defined job, it is Laravel's scheduler: php artisan schedule:run with frequency * * * * *
As the above error mentions "scheduled_task_executions" and duplicated uuid at this table, it must be something related to Coolify itself, this error does not come from the the commands fired by Laravel.
Exception or Error
No response
Version
v4.0.0-beta.297

Just got a new email at 08:35:
SQLSTATE[23505]: Unique violation: 7 ERROR:  duplicate key value violates unique constraint "scheduled_task_executions_uuid_unique"
DETAIL:  Key (uuid)=(vgsgwkc) already exists. (Connection: pgsql, SQL: insert into "scheduled_task_executions" ("scheduled_task_id", "uuid", "updated_at", "created_at") values (4, vgsgwkc, 2024-06-22 08:35:03, 2024-06-22 08:35:03) returning "id")

and what is interesting, at the Scheduled Task this run is indeed missing at the Recent executions list (though not sure yet if the task itself was run or not):

This happens randomly at different times, no repeatable schedule for the notifications, screenshot with emails:

I think the problem here is that Coolify current creates the uuid on the fly, whereas it should rely on the database to create that.
It can be fixed but requires some effort as this happens on multiple places (E.g. deployments, applications, servers).
I am also curious what @andrasbacsai his standpoint on this is. If you ask me, the uuid should be database-generated, in order to prevent uuid collisions.

Additionally, I have noticed that the real used domain is not substituted in the email body and the link goes to "localhost"

Any news on this matter? It is really annoying
Coolify: Scheduled task (Perfex) failed with output: SQLSTATE[23505]: Unique violation: 7 ERROR:  duplicate key value violates unique constraint "scheduled_task_executions_uuid_unique"
DETAIL:  Key (uuid)=(n4wcs00) already exists. (Connection: pgsql, SQL: insert into "scheduled_task_executions" ("scheduled_task_id", "uuid", "updated_at", "created_at") values (2, n4wcs00, 2024-07-22 03:41:02, 2024-07-22 03:41:02) returning "id")

This will be fixed in the upcoming version.


Rename the filename to lambda

as the name is lambda
https://docs.aws.amazon.com/lambda/latest/dg/welcome.html

Hi @za,
The same CloudWatchLanbdaFunction.py file is also used inside the ConfigAwsS3DataConnectorScripts.zip. Could you please make this change in that file as well? Thanks

Hi @za, please resolve branch conflicts. Thanks

Wait, I'll just create a new PR to make things simpler @v-atulyadav


[FIX] Restructure Peaks2MapsKernel to operate like other kernels

Closes #347.

Changes proposed in this pull request:

Restructure Peaks2MapsKernel to follow the KernelTransformer convention.
Rename compute_ma to compute_ale_ma to match convention.
Rename peaks2maps to compute_p2m_ma to match convention.
Remove the Peaks2MapsKernel exception in test_estimator_performance.py.

The jobs are being killed, which means that I need to take a look at them and see if I can reduce the computational load.

Looks like _compute_null_analytic for the ALE estimator is a source of the increased memory consumption.
Specifically here:
https://github.com/neurostuff/NiMARE/blob/59276130bb373389b5aa7d36e2ba351533056a8a/nimare/meta/cbma/ale.py#L147-L151
ALE has 100s of non-zero histogram bins, whereas p2m has 1000s of non-zero bins, creating the variables ale_scores, score_idx, and probabilities with millions of entries.
A potential solution could be to save those variables with single precision (i.e., float32) as opposed to double precision (float64) if there are more than say 2000 exp_idx or ale_idx. This appears to be meaningful precision loss when computing score_idx using ale_scores as a float32 or float64 in my example:
ale_scores32 = 1 - np.outer(1 - hist_bins[exp_idx], 1 - hist_bins[ale_idx]).ravel().astype(np.float32)
ale_scores64 = ale_scores = 1 - np.outer(1 - hist_bins[exp_idx], 1 - hist_bins[ale_idx]).ravel()

ale_scores32.size # 38529432

score_idx32 = np.floor(ale_scores32 * inv_step_size).astype(int)
score_idx64 = np.floor(ale_scores64 * inv_step_size).astype(int)

(score_idx64 == score_idx32).sum() # 38506719
(score_idx64 != score_idx32).sum() # 22713

so this may not be a good solution.
Another potential solution is to turn off tests for ale(analytic)+p2m_kernel since they take too much RAM.

Our ale_scores precision should be determined by the precision of our histogram bins, I think. The smallest difference we should have to be able to track in ale_scores should correspond to our histogram bin resolution (in #411 it's 1e-5) squared (i.e., 1e-10). We should be able to determine the lowest-resolution float we can use based on our histogram bins using numpy.min_scalar_type, and then convert our values ahead of time!

I'm just going to excise all precision-related changes and drop Peaks2MapsKernel from the performance tests.
We should open a new issue about the problem, though.

The docs build is failing, but I don't think that's tied to changes in this PR (see #418), so I am going to merge if all other tests pass.


feat(services/hdfs_native): Add read,write,list implementation for hdfs_native

For #3144
Kindly review @Xuanwo

@Xuanwo
Implemented review comments. Please check now.

Hi, @shbhmrzd, thank you for your contribution. This PR is quite outdated. Would you prefer to start a new one or resolve the conflicts?

Hi, @shbhmrzd, thank you for your contribution. This PR is quite outdated. Would you prefer to start a new one or resolve the conflicts?

Hi, sorry this got too outdated. I will work on this to wrap it up.


TypeError: element.masonry is not a function

Getting this error in the js console - anyone else seeing this?
Points to this part in the code:
          var options = angular.extend({
              itemSelector: attrs.itemSelector || '.masonry-brick',
              columnWidth: parseInt(attrs.columnWidth, 10) || attrs.columnWidth
            }, attrOptions || {});
          element.masonry(options);
          var loadImages = scope.$eval(attrs.loadImages);
          ctrl.loadImages = loadImages !== false;

I had the same problem.

https://github.com/passy/angular-masonry/issues/100


pull request for e2e test at 01/15/2017 20:45:12

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add Universitas Gadjah Mada email

Add "Universitas Gadjah Mada"
Site: https://ugm.ac.id/
Mail domain: @mail.ugm.ac.id

@tantyasaputra I am sorry, the domain ugm.ac.id is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Pack at https://education.github.com/discount_requests/application. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Your drop-down is broken on safari iOS

https://user-images.githubusercontent.com/26325283/212402167-2c3f2381-984b-466f-a524-ad8b934d8f44.MOV

Some weird positioning even in Chromium (Arc) too.

@mismosmi looking into that right now! Thanks for the heads-up!
@edgarasben I can't repro this in Arc

@mismosmi looking into that right now! Thanks for the heads-up!
@edgarasben I can't repro this in Arc

It happens for me on the first hard-refresh only:
https://user-images.githubusercontent.com/725324/212412774-16fa1a60-b4f3-45c6-801d-d28bc2e53183.mov

@edgarasben Oooooh thanks for the info, I was able to repro! Will look into it!

There's some overflow issue as well. Is the project accepting PRs? @steven-tey

Yes it is! @amanzrx4 – feel free to PR! :)

@mismosmi @edgarasben both the dropdown z index issue + the Arc issue should be fixed now!
Turns out it was a super obscure Framer Motion bug lol so I switched to Tailwind animate: https://github.com/steven-tey/precedent/blob/main/pages/index.tsx#L81
Thanks again for reporting this!

@steven-tey the bug is still there! If you reload the page and quickly click selector WHILE page is still animating in, you will get the same problem.


Make notifications disappear by clicking on them

Here is an example: before I save a page, I am able to see the view site button on the right:

But when I save the edited content of a page, there is this page edited notification which covers the view site button:

That notification stays there for a few seconds and the only way to hide it is to wait until it is gone by itself (it happens with every notification in the Administration Panel).
I suggest to make it disappear by clicking on it, so that the view site button will be shown again and it can be used without obstructions.

Definitely something that will be added in the next release.


Hyprland crashes (without a useful error message) when requesting a non-number monitor refresh rate

System Info and Version
 System/Version info
# hyprctl systeminfo, without -c flag

Hyprland, built from branch  at commit cba1ade848feac44b2eda677503900639581c3f4  (props: bump version to 0.40.0).
Date: Sat May 4 15:42:32 2024
Tag: v0.40.0, commits: 4606

flags: (if any)

System Information:
System name: Linux
Node name: omitted
Release: 6.9.1-arch1-2
Version: #1 SMP PREEMPT_DYNAMIC Wed, 22 May 2024 13:47:07 +0000

GPU information:
c1:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev c2) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

Bug or Regression?
Bug
Description
When supplying a resolution@refreshrate to a monitor statement where refreshrate is not a number, Hyprland crashes without any obvious error message.
This happens both when editing the config while Hyprland is running and on startup.
Perhaps there could be some handling in place to at least provide an error message hinting to an invalid value in the monitor statement for easier diagnosis.
How to reproduce
Put a monitor keyword into hyprland.conf, manually setting a resolution and refresh rate. Use some text in the refresh rate field.
Crash reports, logs, images, videos
hyprlandCrashReport995.txt

I would also add to this:
Hyprland crashes almost every time (not checked all cases) when it's expecting number value but gets something else. I checked for it in the code and the reason is std::stoi, std::stof, ... are used by ConfigManager to parse strings to numbers which throw std::invalid_argument or std::out_of_range on invalid input. Those exceptions are not caught.

we probably should make a small util func that catches the error and returns it in such a case

How's the fix, btw?


Allow users to provide a starting point for MLE/MAP

Fixes #1298 by allowing users to provide a combination of initial values and optimizers.

Looking at all the Optim.optimize functions that are needed here, maybe we should think about providing an interface for constructing the objective function instead of working with Optim.optimize directly (and have a separate interface for getting the stats and untransformed parameters from the optimization result). Then users could use all Optim-specific features without us having to worry about how to support them. It would also be trivial for users to wrap the objective function inside a custom function, e.g., to combine it with another objective function or to add regularization.

I think it's fine to support just a function, but that's a distinct issue, and one I think we should address later.
For the moment, it's really not very expensive for us to add these signatures. Another reason for providing the full Optim framework is that the internal _optimize function does a lot of things that would be mentally costly for and end-user to learn about, such as getting parameter names, linking, etc.

Tests are passing here.

A bit sad that it requires adding so many lines to the code base just to avoid method ambiguities (I guess?).

There's probably a "dispatch-foo" way to do this in far fewer lines, but my reading of the Optim signatures tilts towards them having a very complex interface structure. I think this is sufficient for a fix, anyhow.


Fix definition of variables (sqlite tables and cvxpy vars)

Problems to be fixed:

definition of variables in yml are defining the sqlite tables. in the yml file, it should be allowed to define multiple variables slicing a same sqlite table.
variables should be fetched in cvxpy expressions also if sets_split_problem are not matching (the important thing is that the cvxpy variable is univocally identified.

ok, this is really tough. I estimate about 4 days to accomplish this.

Done. Look to the pull request "Variables refactoring".


Modernize

This is a major refactor, with big, breaking changes:

Switch to ES6.
Flat configs are now the only supported approach.
Added @eslint/json and @eslint/markdown.
Clarified the commonjs/module approaches.

@Mingun I put you as a reviewer so that you're aware of the changes.  I'll handle all of the down-stream issues in the peggy repos.

Since there is not substantive change to the coding standards, I'm going to assume nobody minds the changes and land this.
@ me on this issue if anyone needs help dealing with the consequences.


not sending the full list of coins in the telegram bot chat

Describe the bug
not sending the full list of coins in the telegram bot chat as below :
Bot '2263878' with id '7099258' updated with 10 pairs (USDT_DCR ... USDT_WOO)
plaese advise if we can change this to show all the selected coins
altrank is the used bot
thanks

This is as designed, actually. In one of the first versions, we send the complete list which is ok when using 10 pairs. When, however, you are using 100 (or even more) pairs this list becomes huges and unreable. Even to a point where apprise will not deliver the message anymore because it's length is too long. So that is why only the first and last pair is shown.
In the logging you can find the complete list. Also the bot will, of course, have the complete list.
Does that give enough access to the complete list of pairs?

Stale ticket, closing, please (re)open if needed.


PyScript support better string formatting

Currently, this fails in PyScipt because the transpiler implements the formatting, but is not smart enough to know what t is:
t = 'some %s thing'
print(t % 'cool')

I think we should add a format method to the std lib, so that we can make t.format(...) work, and possibly transform c-style formatting to a format call as well. And perhaps we can also support f"some {thing_aspect} thing" (new Py 3.6 syntax) while we're at it.

Transcript supports .format(), so that'd be a good place to start.

Also '%f' % 3.00 produces different output in python and JS.
How about https://github.com/alexei/sprintf.js?

@jrversteegh I was about to respond that I don't like including 3d party libs to avoid bloating, but that lib is actually pretty small in minified form ...
That said, maybe we should all be using Python 3.6 f'the number is {a}' :)

Really, a third way to format strings? When I first met Python, I was soooo happy to leave Tim Toady behind ;)
I am a little confused what flexx's main target is, but the readme first mentions "to create desktop applications". For that I would accept a little bloat if it means free functionality. If you want a lean web framework, my guess is that flexx wouldn't be the way to go anyway, but IANAWD

Really, a third way to format strings?

Haha, I agree, does not seem very Pythonic. The str.format() does not seem to have really taken off (I rarely use it myself, anyway). The new 3.6 style seems to provide an approach that is so much nicer than the %-style formatting that I hope it gets adopted way better.
What I mean with my comment is that the current support for %f and friends may be good enough, especially if people will start using 3.6-style formatting more.
I do agree that its an illusion to think that Flexx is "lean", and including something like sprintg.js wont cause significant bloat by itself, allowing inclusion of 3d party code in multiple places will certainly make Flexx heavier. It's something I want to keep an eye on, which is why I am reluctant to include any 3d party code unless there are very good reasons.

What I mean with my comment is that the current support for %f and friends may be good enough,

Also In JS? Not being able to provide a precision specifier makes it pretty much useless imho, so one would have to do all number formatting in python on the server side.

Maybe it can be determined in runtime if a variable is a string or not?
I don't think 3.6 formatting can replace % and str.format, 'cause you need to set all variables beforehand and than declare your f-string. Usually i create a variable with a string "template" and than format it as needed (as shown in the first post here)

Supports both {} and {#} (though can produce unexpected results if both styles are used in one string)
def str_format():
    s = this
    for i in range(arguments.length):
        s = s.replace("{}", arguments[i], 1)
        s = s.replace("{%d}" % i, arguments[i])
    return s
String.prototype.format = str_format

Thanks!

I don't think 3.6 formatting can replace % and str.format, 'cause you need to set all of the variables beforehand and than declare your f'string'.

I think you're right, relying on f-string alone is probably too limiting.

Issue moved to flexxui/pscript #8 via ZenHub


chore(package/excalidraw): update deps

Isn't dependabot doing this?

Isn't dependabot doing this?

There are a lot of open PR's by dependabot hence clubbed it at once

Suits me, those notifications are annoying. But we'll need to do this the day before for it to be effective :smile:
(Though let's not do that for the base repo as there are several packages we don't want to update right now.)


Bug: Creating or updating a contributor insight provides no feedback to user making it look broken.

The Create Insight and Update Insight buttons provide no feedback that they're updating or creating a contributor insight. It's not as noticeable with a few people being added, but if there are more than a dozen, it's noticeable.

It needs the loading spinner to provide feedback like when we create or update a workspace.
https://github.com/open-sauced/app/blob/b1e1e203dd880054007853a9c1be75095f8e0862/pages/workspaces/new.tsx#L118-L126
https://github.com/open-sauced/app/blob/b1e1e203dd880054007853a9c1be75095f8e0862/pages/workspaces/[workspaceId]/settings.tsx#L225-L233

.take


Updating to use Proxy Verifier 2.1.0

Proxy Verifier 2.1.0 adds server-side delay functionality.

Cherry-picked to v9.0.x branch.
Cherry-picked to v9.1.x branch.


Kubernetes resource limits

I am trying to understand what is the correct value to use for Kubernetes pod resource limits.
Kubernetes documentation says:

Limits and requests for CPU resources are measured in cpu units. One cpu, in Kubernetes, is equivalent to 1 vCPU/Core for cloud providers [..]
CPU is always requested as an absolute quantity, never as a relative quantity; 0.1 is the same amount of CPU on a single-core, dual-core, or 48-core machine.

– https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu
Meanwhile, I am on a 8 core machine and my configuration is:
resources:
  requests:
    memory: '1Gi'
    cpu: '50m'
  limits:
    memory: '4Gi'
    cpu: '2000m'

However, if I check sharp.concurrency(), it says that it is using 8 threads. Should I limit concurrency to 2, since Kubernetes resource limit is 2 cores?

Yes, you'll probably want to experiment with sharp.concurrency(2) in this case to see if it offers better throughput for your given task.
I think cpu: '2000m' means schedule work on no more than 2 cores at any given point in time, which is not the same thing as how many cores are exposed inside a container and therefore available on which to schedule work.

I think cpu: '2000m' means schedule work on no more than 2 cores at any given point in time, which is not the same thing as how many cores are exposed inside a container and therefore available on which to schedule work.

If I am reading their docs right, 2000m means use at the most the power of 2 CPUs, but it could be spread against any number of CPUs. I am asking here to get clarification from someone who might have experimented with different settings.

I'll close as this hasn't attracted any further discussion but please feel free to reopen with more details if further help is required.


[BUG] Backfill run failed with error: Failed to read parquet file

Mage version
0.9.62
Describe the bug
I'm trying to run a pipeline that extracts a file from a url and exports it to GCS using backfills (the loader, exporter, and pipeline yaml are attached).
The pipeline runs successfully as a standalone, but when I specify a backfill duration the loader fails with error Exception: Failed to read parquet file: /home/src/mage_data/week_4/pipelines/export_to_gcs/.variables/3/20190201T000000/load_file_from_url/output_0/data.parquet, even though the file was created normally.
pipeline_log.tar.gz
export_to_gcs_pyarraw.py.txt
load_file_from_url.py.txt
pipeline_metadata.yml.txt
When I tried rerunning one of the failed backfills the exporter fails with error: AttributeError: 'list' object has no attribute 'columns'
To reproduce

create a pipeline call it export_to_gcz
create a loader block using code in load_file_from_url.py
create an exporter block using code in export_to_gcs_pyarraw.py
create a backfill
set the startdate to 2019-01-01
set the startdate to 2019-12-31
set the interval type to month
set the interval duration to 1
run

Expected behavior
all the files should be loaded to gcs
Screenshots

Operating system
No response
Additional context
No response

I think this might have something to do with having a multiple project setup.
I tested the pipeline in a new mage setup and the backfill worked fine

hey @el-grudge , can you share what your project structure looks like?

@dy46 the settings file looked like this:
projects:
week_2: {}
week_3: {}
capstone_1: {}
week_4: {}
The backfill works fine when i create the pipeline in a new project though, so it might be a permissions or storage issue. I will close this


Structural verilog behavior

I have a few questions about structural verilog:

If I want to specify standard cells in my design, should I use the (* blackbox *) syntax in my .v for the standard cells?
Would the physical synthesis process still take into account the blackboxed standard cell properties during timing analysis?
How would I allow yosys physical to resize the blackboxed standard cells as well?

Thanks.

Hi @rajarshiroy,
Physical synthesis in Yosys is now obsolete, the current version of Yosys is almost identical to YosysHQ/Yosys but with minor adjustments.

If you want to hardcode a standard cell library then yes you can provide the Verilog description for your standard cell (most standard cell libraries have Verilog description files) but in general, it is better to leave the standard cell mapping to Yosys/ABC unless there is a requirement to hardcode it (such as macros).
If you want to investigate buffering and resizing algorithms there is a bunch of them in OpenPhySyn & Resizer, they are mostly applied after placement.
Any tool will need the timing information (usually present in liberty files) of the standard the cell in order to do resizing. Resizer & some optimizations in OpenPhySyn can handle resizing if not done by the synthesis tool.

Thank you @ahmed-agiza. That makes a lot of sense. Closing.


ccsdt example code appears to work (for closed shells)

updates parser to account for t3 and adds ccsdt code example. needs to be updated at some point to work with open shells. @ncrubin can you make sure I did everything correctly in your parser?

Remember to update the readme with the new functions


Adds 3SidedCube frameworks to README.md

Project URL
https://github.com/3sidedcube/ThunderTable
https://github.com/3sidedcube/ThunderCollection
https://github.com/3sidedcube/ThunderRequest
Category
TableView
CollectionView
Networking
Description
Adds 3SidedCube frameworks to README!
Why it should be included to awesome-ios (mandatory)
These are tried and tested frameworks in over 20 apps worldwide being used by over 20-million users! We think they would be super-useful for others and want to engage more with the open-source community to make them better tools for us and everyone else.
Checklist

[ ] Has 50 Github stargazers or more
[ ] Only one project/change is in this pull request
[x] Isn't an archived project
[x] Has more than one contributor
[x] Has unit tests, integration tests or UI tests
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 4 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          2 Warnings

:warning:
Too many changes (when adding, please keep it to one project per Pull Request)

:warning:
Found 6 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

371
301
https://github.com/YR/Cachyr redirects tohttps://github.com/nrkno/yr-cachyr

1144
301
https://github.com/Inspirato/SwiftPhotoGallery redirects tohttps://github.com/justinvallely/SwiftPhotoGallery

1178
301
https://www.photoeditorsdk.com redirects tohttps://photoeditorsdk.com/

1386
301
https://www.airship.com/products/mobile-app-engagement redirects tohttps://www.airship.com/platform/channels/mobile-app/

1645
301
https://github.com/twitter/twitter-kit-ios redirects tohttps://github.com/twitter-archive/twitter-kit-ios

1840
301
https://github.com/dzenbot/Iconic redirects tohttps://github.com/home-assistant/Iconic

  Generated by :no_entry_sign: Danger


[ FEATURE ] Add more OPEN SOURCE programs and events

Follow https://github.com/Opentek-Org/opentek/blob/main/CONTRIBUTING.md to know where to add!

Hi Anirudh! I would like to work on this issue. Can you please assign it to me.

Hi Anirudh! I would like to work on this issue. Can you please assign it to me.

What are you planning to add?

I would like to work on the issue. Can you assign it to me? I already have the changes ready on local machine.

I would like to work on the issue. Can you assign it to me? I already have the changes ready on local machine.

What are you planning to add?

MLH fellowship- Open Source tracks that run throughout the year.

MLH fellowship- Open Source tracks that run throughout the year.

Okay

I wanted to add GirlScript Summer of  Code, Outreachy and some other programs.

Should I create a PR?

@AnirudhPanda can I work on this issue?

I would like to work on this issue. Could you assign it to me? SWOC'21

Hey @AnirudhPanda ,  "  Assign "   me this issue under " SWoC'21 " .
I want to add these open source programs :-
September month - Semester Long Projects (SLoP by DA-IICT)
November month - Kharagpur Open Source Society  (KWoC)
November month - DevScript Winter of code.


Escape Contains

When using contains, it does not escape:
List<string> emails = new List<string>() {<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>};
var newton = await customers.Where(x => emails.Contains(x.Email)).FirstOrDefaultAsync();

Will results in:
 "FT.SEARCH" "customer-idx" "(offthelip@comcast.net|someoue@outlook.com|quantaman@verizon.net|jwarren@hotmail.com|presoff@hotmail.com|lamky@aol.com|danzigism@me.com|feamster@hotmail.com|mailarc@mac.com|gomor@sbcglobal.net|fudrucker@gmail.com|odlyzko@icloud.com:{\\@Email})" "LIMIT" "0" "1"

that query appears to be inverted as well - interesting.

I think it is related with #203

Hi @slorello89, #263 PR is opened to address the fix for the issue. Kindly review the same, Thanks!


Checksum error on raw_30s_audio05

When using the provided download script to download the raw 30s audio data set via google drive, I keep getting the same checksum error for one file.
/data/download/raw_30s_audio-05.tar

Can you confirm is there is an issue with the source file?

Hello @rfalcon100, yes, we have identified this issue and are validating the checksums.

This should work now. Please, let us know if you have any other issues.

It is working now. All files were downloaded correctly and the checksums match. Thanks.


"token not valid for running mode"

curl -H "Authorization: Bearer redact" --request GET --url https://redact/api/v1/workflows/argo -vvv
i have sso auth mode on the argoworkflows server, is api not supported in that case?

I have SSO auth mode configured with ArgoCD Dex and in the argo-server logs I see tons of lines like
time="2021-12-23T13:16:34.914Z" level=info msg="finished unary call with code Unauthenticated" error="rpc error: code = Unauthenticated desc = token not valid for running mode" grpc.code=Unauthenticated grpc.method=GetInfo grpc.service=info.InfoService grpc.start_time="2021-12-23T13:16:34Z" grpc.time_ms=0.063 span.kind=server system=grpc

I can't understand where those calls come from.
Ideas?
ArgoWorkflows v3.2.4
ArgoCD 2.2.1

link shows solution


Doc browser scrollbar graphical issue.

The sidebar is conveniently scroll-able, but the scrollbar shows up in a funky place!

:(
Does this happen at all browser widths? I assume that's Windows Chrome?


Compare meta data between old PeMS and Modern PeMS

We need to compare meta data between old and modern pems to understand the consistency between these two platform. Lets grab one week data from INT_DIAGNOSTICS__DETECTOR_STATUS (modern PeMS ) and DETECTOR_STATUS (Old PeMS) and compare statistically and visually. Summarize the findings in this issue. It is also related #398

Analysis Topic : Spatial and Temporal Validation of Old and Moder PeMS Meta Data
Goal : Conduct the Spatial and Temporal Validation of old and Modern PeMS meta data
Data Source: Seven days daily level data was downloaded from old and modern PeMS where time windows vary from 2024-11-01 to 2024-11-07.  The details are shown in below table-

Data Processing/Methodology:
Step 1: Download data from old and Modern PeMS for same time windows and count them to compare
Step 2: Match these two data from based on following conditions-
Old PeMS [Timestamp]= Modern PeMS [Timestamp]
Old PeMS [Station Id]= Modern PeMS [Station Id]
Old PeMS [Detector Id]= Modern PeMS [Detector Id]]
Old PeMS [Freeway Id]= Modern PeMS [Freeway Id]
Old PeMS [Freeway Direction]= Modern PeMS [Freeway Direction]
Old PeMS [District Id]= Modern PeMS [District Id]
Step 3: Compare the Detector Count by Sample Date, and Caltrans District
Step 4: Re-match old and Modern PeMS data set with additional condition along with all previous condition-
Old PeMS [Status]= Modern PeMS [Status]
Step 5: Compare the Good and bad Status count between these two data frame by District
Analysis and Results : It was observed that the detector counts showed no difference between the old and modern PeMS datasets for the considered time windows, indicating a perfect temporal match between the two datasets.

We also analyzed the metadata count spatially by district and found no differences between the old and modern PeMS metadata, as shown in the table below-

Finally, we compared the daily health status between the two data frames and found that 6,909 detectors had mismatched health statuses between the old and modern PeMS, as presented in the table below.

This inconsistency accounts for only 2.07% of the seven-day data, indicating a minor discrepancy in health status between the two data frames that needs to be addressed.
The attached is the list of 6,909 rows from the old and modern PeMS datasets. This includes a column labeled status_diff, which highlights the locations and details of these inconsistencies.
Findings :

It was found that old and Modern PeMS meta data have 100% matching in terms of spatial and Temporal detector count
However, we found that 2.07% deviation of detector status match between old and modern PeMS
Action Items: ken is working to solve the issue through #398

PPT for this Analysis :
Meta Data Comparision_PPT.pptx
A ArcGIS Dashboard : https://d3giscoreage.dot.ca.gov/portal/apps/dashboards/5258ed24ffb2412f94e3dd9c5d9f671b

@kengodleskidot , Thank you for revising the detector status criteria. After re-running the script, I observed that the detector status mismatch decreased to 0.94% (3,128 data points) from 2.07% (6,909 data points) over a seven-day analysis window. It appears that most of the remaining inconsistencies are currently in D8. We have done our best to align with the old PeMS data. I will keep this issue open for a couple of days to allow for any comments before closing it.

I have also attached the remaining updated inconsistency table for any future reference.
modern_Pems_unmatched_status_data.csv

This task is completed with the findings: 99.06% consistency of detector status between old and modern PeMS while 100% consistence of metadata.


Dark mode support

Is this supported? I can't see what version of squidfunk mkdocs your plugin is using.
https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/?h=dark#color-palette-toggle

Do you have an ETA? Not sure if you are interesting in add Renovate for example to get automatic pull requests for those dependencies so you haven't to do this work manually.

It is not so simple to do automatic dependency updates there because default pip versions are defined in code (dependabot can't handle this).
Ok, let's do it like this: I'll update dependencies this week and if everything will be alright will release a new version.
Initially, I was going to release the python plugin first and look for documentation version selection, but I will not do it too soon, so a quick release should be a good compromise.

I think a way can be codegen the versions in build folder when Gradle sync. This codegen will pick the original versions from something which is compatible with Renovate. I haven't developed python so I don't know how to use dependencies there, but the standard ways should be compatible with Renovate for sure.

Dark mode is supported in the latest 2.2.0 release. For configuration see migration page
I was also able to add support for documentation version switcher component, but without mike tool usage (plugin now implements all its features natively, allowing aliases usage)
New examples page demonstrates common plugin configurations.

I think a way can be codegen the versions in build folder when Gradle sync. This codegen will pick the original versions from something which is compatible with Renovate. I haven't developed python so I don't know how to use dependencies there, but the standard ways should be compatible with Renovate for sure.

Most likely, I will implement something like this, but much later (plugin update already took too much time). There is an issue for python requirements files support (#11) and automatic package updates would be part of it.


Indication of  initial network status

From what I can tell, I can get an onChange network status, but no ability to know the initial network status before the first change.
I understand the initial network status is available as the render prop of <Detector> but that status is only for the render. Within a React render, although I can use the state, I am not able to extract the state and use it outside the render like I can do for the onChange event.
Is there any way to get the initial network status?

Seems I can get this myself from window.navigator.onLine.

For those interested in this problem, check out the example here: https://github.com/chrisbolin/react-detect-offline/issues/27#issuecomment-476976188
Also note that the render prop of Detector should be used far more often than onChange. If you are using onChange and not render, you're probably going to be mad at the library :D