Support govspeak in unpublishing explanation

Around ~30% of Unpublishing objects with an explanation in Whitehall have some Govespeak in the explanation. Support for this was implemented in the recently removed UnpublishingPresenter. This PR puts it back by adding it to the two 'unpublishing' related workers that can have an explanation (PublishingApiGoneWorker and PublishingApiWithdrawalWorker)

👍


TapCommand

Hi Andrei, is there any possibility to add tap command?
In my project side context menu view are inside in view cell of ListView and it works fine, but i can't to tap on list view elements now, ListView tap command is working fine only when context menu has input transparent = true

Yes, add TapGestureRecognizer to your view :)


Pasting text adds the same content twice

Windows Terminal version (or Windows build number)
1.7.1033.0
Other Software
Running Ubuntu with ZSH
Steps to reproduce

Copy some text, using either CTRL+C, or using the right-click on the mouse
In the terminal, on a blank line, either CTRL+V or right-clicking on the mouse to paste the text

Expected Behavior
The line I copied is pasted into the terminal once.
E.g. if I copy "this is a string i copied", that is all that should be pasted.
Actual Behavior
I instead get "this is a string i copiedthis is a string i copied" with the second instance highlighted. Additionally, not only is the text duplicated, but it also overwrites the previous text that was there. So if I'm running git add and try to paste the file path, I end up with only the file path printed twice.
Closing and reopening the Windows Terminal fixes it temporarily, however shortly afterwards this behavior resumes.

Does this only happen with zsh, or does it happen with other shells as well? cmd.exe, powershell, bash, etc.

with the second instance highlighted.

That's definitely curious to me. If you click&drag to start a new selection, will the highlighted text go away? I'm trying to determine if that highlighting is from the Terminal's selection, or something that was output by zsh.

@zadjii-msft - I can only reproduce this in Windows Terminal. cmd.exe, powershell do not duplicate the code.
The issue also is that I cannot predict what causes it. It will work correctly for a time, and then suddenly I get duplicated text, which requires a restart of the Terminal.

The other thing I forgot to mention is that when I paste the text, not only is the text duplicated, but it also overwrites the previous text that was there. So if I'm running git add and try to paste the file path, I end up with only the file path printed twice.
(I've updated the Actual Behaviour section to reflect this)

Okay so this really sounds like a zsh-specific problem, though my question would be "why is the text duplicated"? It seems like it shouldn't be by all accounts. More reading on the subject:

zsh selects a pasted text
Why is pasted text highlighted in macOS Catalina's Terminal?
Zsh 5.1 and bracketed paste

Follow up questions:

what version of zsh are you running?
What does your zsh config look like?
What version of Ubuntu are you running?
What's TERM set to?
you're not using ssh.exe by any chance, are you?

I've just tested this out with what seems to be a pretty stock .zshrc, and I'm not seeing the duplicated text or the overwritting behavior. To me, that sounds like zsh is emitting the wrong set of escape sequences to highlight the pasted text, and instead returning to the start of the prompt, or... just plain not? It's definitely weird.

zsh version: zsh 5.8
zsh config: https://gist.github.com/buttoniusrex/408708c02ee30673cd2cc57437064361
Ubuntu version: 20.04 LTS
Not sure what TERM is, but if I run echo $TERM I get xterm-256color.
Not using ssh.exe, rather I'm running wsl.exe.

70% of the cases it happens in Terminal>bash for me, 30% in Terminal>Command Prompt
https://user-images.githubusercontent.com/4146263/121695093-05d5c680-cacb-11eb-8f95-4d85b1db0337.mp4

Good idea to take a video. Right now I don't know how this can be addressed, since the reproducibility is quite unreliable.

@buttoniusrex @kbalint
I could reproduce this problem with zsh 5.8 on macos big sur. Simply set set -o allexport inside terminal session (I am using iTerm2) and then try to copy/paste something.
I am also using zsh on my windows machine (WSL2) and experienced the same behavior yesterday. Did not link it set -o allexport command then.

I can confirm what @earthquakesan has reported - this produces exactly the error I reported. I still cannot pinpoint how or why this happens at some point during an open Terminal session. Can anyone clarify why set -o allexport would be producing, on paste, an overwrite of the current line + a duplication of the text?
This issue unfortunately makes working with the Terminal day-to-day quite frustrating (even though I am immensely grateful to have it), since copy+paste is a basic feature I rely on for work.

If you can reliably reproduce this or put up with some amount of consistent annoyance, would you mind grabbing a trace from the "debug tap"? It has to be enabled for an entire session, thus the annoyance, but it gives us an input/output trace. :smile:

(That only captures the Terminal half of the transaction, but I'd like to see if Terminal is sending the string multiple times itself!)

@DHowett I think I've finally figured out what's causing it! Because of my work setup, I need to override some environment variables by running a script using, e.g. source ~/work/config/env with env being the script in question.
Before running source, copy+paste worked perfectly. I ran the command, copied the word "source", and presto! Pasting the word results in wiping that line and pasting the contents twice.
Debug tap displays the duplication:
␛[200~source␛[201~␛[32msourcesource
Now the question is: why the heck is source causing this?

Hmmmm. It may be helpful to know what environment variables are in that env file; source alone shouldn't do anything except allow a script to modify the parameters of the current shell (!)
Which of those debug tap things is in red? Mind sending a screenshot of that part? Thanks!

OK so I looked into the file, and with some testing, I've discovered it's the set -a command at the beginning of the script that is the culprit. I wonder if that's related to @earthquakesan's comment about using set -o.
Here is a screenshot from debug tap before and after. I copied the text ~/work as the test:

I'm satisfied that this isn't a terminal issue, but I am not satisfied that it is not an issue somewhere. Is adding/removing the set -a line the only difference between this working properly and it not working?
I've tried everything I can think of around that, and still can't reproduce it. Hmmm.

For me, it only happened on right-clicking on the mouse. I'm sure that it is a terminal issue after I tried cmd.exe, powershell and bash.

Please file a new issue with the template -- you're seeing something that is not covered by this thread :)


Update last-value-transact-sql.md

Add missing closing bracket after scalar expression.

@daschall : Thanks for your contribution! The author, @edmacauley, has been notified to review your proposed change.

@daschall Hi. This PR has a merge conflict due to another change in the topic recently. The easiest solution is to close this PR and make the change again in a new one. I apologize for the inconvenience, but would you mind resubmitting this one? I am closing this one. Thank you!


Big filesize

The original rangeslider.js with jQuery is about half the filesize. I try to minimize my javascript filesize by using "plugins" that don't require jQuery. Often the vanilla js plugin is about the same size or smaller. Not in this case.
Is it possible to keep the same function but make it smaller?

Ya, trying to reduce the total size is definitely something I want to do. Will probably get rid of the dom-events dependency in the future and look into other ways to reduce the size.
If you have a project that shares some of the other dependencies, like lodash/debounce for example and use browserify or some other bundler a good part of the total size can be factored out.

Maybe you could drop like IE8 support if you have things like that?
Maybe this could be of help for inspiration?
https://css-tricks.com/custom-interactive-range-inputs/
Now I only use no dependence JS plugins. I have maybe 6 plugins and this takes about 50% of the total minified size.
Sidenote
I have replaced old rangeslider on my localhost with yours. Here is what it looks like (still old rangeslider here on live, but it looks the same with yours)
http://lånera.se/

Will take a look into this soon. But closing it now because I don't consider it a bug.
Btw, pull requests are also welcome :)

@jenstornell - I made some changes in the dev branch, the minified .js is below 10 kb.

I just tested it and so far it just works out of the box. You just cut half the code?

No, there was nothing cut. I replaced the lodash/debounce dependency with coponent/debounce  which is a bit more lightweight. Also kicked out the dom-events dependency and replaced it with only necessary code. Additionally small code changes.
Not sure yet about the debounce change though. Lodash is more common, and when used in a larger project with browserify/require where lodash is already in use it doesn't add anything to the total size.


Choosing which formulas and terms to encode

@abdoo8080 and I discussed recently when terms should be encoded with their definition, and when just declared. Here is a proposal for how the tactic could behave. It is almost what it does now, except that I suggest we do encode all assumptions in default mode and move the current behavior to smt only.

With smt, we encode every assumption and declare-fun/declare-const every constant appearing in the assumptions and goal.
With smt [thm1, def1], we proceed as above but also encode thm1, and instead of just declaring occurrences of def1 we define them.
With smt only [h1, thm1, def1], we proceed as the tactic currently does by only declaring the minimal set of terms and skipping assumptions other than h1.

What are your thoughts?

Your proposal looks reasonable to me. However, at its current state, the tactic will most likely crash on any reasonable proof context 😅. Properly handling all of those crashes is not a priority for us right now. So, let's keep the current behavior for now and come back to this issue when we have a more robust tactic.


Access group management upgrades

Changes for using Grafana's Native user management features.

Merged and deleted the branch


Api response delay is annoying so much.

Dear all,
I feel there is a problem with keepAlive, writePump, readPump.
Lets say my mobile screen is off. I believe api has to be a live all the time same as when you leave your chrome open.
The problem when l sent messages from other WhatsApp to the WhatsApp account which linked to the api.
It take time to respond, and you need to send the message 2 or 3 time to get a response...
How can l keep the api a live all the time?

Please @SchulteMK we need your advice regarding this!

I would like to add when I sent the message from my number to the goWhatsapp number, I can see the message is received by phone, Tow ticks appear, but API did not respond to the message!
I have to send the message 2 times to get a response back!

Let us debug the log
As you can see in the image, I sent two messages "#" to the API

Now let's see the logs
time="2020-07-11T08:51:09Z" level=info msg="Url /"
time="2020-07-11T08:51:44Z" level=info msg="Process Que Recieved Signal PAUSE"
time="2020-07-11T08:51:46Z" level=info msg="Process Que Recieved Signal RESUME"
time="2020-07-11T08:52:04Z" level=info msg="MessageID 74445ADB59314F6AD201A9271AA12D00 H"
time="2020-07-11T08:52:04Z" level=info msg="number<EMAIL_ADDRESS>Alloc = 11 MiB  TotalAlloc = 363 MiB    Sys = 108 MiB   NumGC = 1685
time="2020-07-11T08:52:04Z" level=info msg="Url /api/send/ack/read"
Alloc = 11 MiB  TotalAlloc = 363 MiB    Sys = 108 MiB   NumGC = 1685
time="2020-07-11T08:52:04Z" level=info msg="Url /api/send/text"
time="2020-07-11T08:52:04Z" level=info msg=1
time="2020-07-11T08:52:04Z" level=info msg="Out of loop"
time="2020-07-11T08:52:04Z" level=info msg="Is RESUME"
time="2020-07-11T08:52:05Z" level=info msg="Send Text Start Sending"

time="2020-07-11T08:52:22Z" level=info msg="Process Que Recieved Signal PAUSE"
time="2020-07-11T08:52:22Z" level=info msg="Process Que Recieved Signal RESUME"

Alloc = 11 MiB  TotalAlloc = 363 MiB    Sys = 108 MiB   NumGC = 1685
time="2020-07-11T08:52:23Z" level=info msg="Url /"
time="2020-07-11T08:52:40Z" level=info msg="MessageID 76BB97F3B4E0E07091E2723FA0C4ACAB #"
time="2020-07-11T08:52:40Z" level=info msg="number<EMAIL_ADDRESS>Alloc = 11 MiB  TotalAlloc = 363 MiB    Sys = 108 MiB   NumGC = 1685
time="2020-07-11T08:52:40Z" level=info msg="Url /api/send/ack/read"
Alloc = 11 MiB  TotalAlloc = 363 MiB    Sys = 108 MiB   NumGC = 1685
time="2020-07-11T08:52:40Z" level=info msg="Url /api/send/text"
time="2020-07-11T08:52:40Z" level=info msg=1
time="2020-07-11T08:52:40Z" level=info msg="Out of loop"
time="2020-07-11T08:52:40Z" level=info msg="Is RESUME"
time="2020-07-11T08:52:41Z" level=info msg="Send Text Start Sending"
time="2020-07-11T08:52:57Z" level=info msg="Process Que Recieved Signal PAUSE"
time="2020-07-11T08:52:58Z" level=info msg="Process Que Recieved Signal RESUME"
time="2020-07-11T08:52:58Z" level=error msg="json parsing error json: cannot unmarshal object into Go value of type []interface$

time="2020-07-11T08:53:03Z" level=info msg="MessageID 7BE2D415BF9F8BA8921B135B6ADB5C68 2"
time="2020-07-11T08:53:03Z" level=info msg="number<EMAIL_ADDRESS>Alloc = 11 MiB  TotalAlloc = 363 MiB    Sys = 108 MiB   NumGC = 1685
time="2020-07-11T08:53:03Z" level=info msg="Url /api/send/ack/read"
Alloc = 11 MiB  TotalAlloc = 363 MiB    Sys = 108 MiB   NumGC = 1685
time="2020-07-11T08:53:03Z" level=info msg="Url /api/send/text"
time="2020-07-11T08:53:03Z" level=info msg=1

As we can see the API only received one "#" which has ID 76BB97F3B4E0E07091E2723FA0C4ACAB
The previous "#" did not receive by the API.
the "Process Que Received Signal PAUSE" when Whatsapp send JSON message o asleep!
func (wh *WaHandler) HandleJsonMessage(message string) {
        var msg []interface{}
        err := json.Unmarshal([]byte(message), &msg)
        if err != nil {
                log.Errorf("json parsing error %v", err)
                return
        }

if msg[0] == "Stream" {
                if msg[1] == "asleep" {
                        go wh.NotifyConnectivity(false)
                        wh.SendSignal(PAUSE)
}
        if msg[0] == "Conn" {
                go wh.NotifyConnectivity(true)
                wh.SendSignal(RESUME)
        }
  }
}

Let see WhatsApp web ping bong message time rate!

As I can see it send a ping bong each between 15 sec and 50 sec!
But I am not sure if API rand gives a big number all the time number!
	**`interval := rand.Intn(maxIntervalMs-minIntervalMs) + minIntervalMs`**

WhatsApp chrome never miss any messages!
Another theory comes to mind.
As we all know sometimes we have the yellow message "Whatsapp can not reach your phone!"
Which indicate a lot of things
1- Phone has no internet
2- Device is not connected to the charger, so the android/ios system may force Whatsapp to sleep mode, yes you will receive the
the message since WhatsApp sending messages via push notification!
So it may be related to the phone is not connected to the charger?
But again even though, I never faced this type of problem with WhatsApp Chrome Web version!
So i consider this API as Whatsapp web version which has to "Somehow" not miss any receiving messages!

I test today after 4 hours of plugin my mobile in the electric, well it seems to have no problem - it is just one fast test!
It may the problem since sometime in the chrome we have the yellow message that your phone is not connected.
I need more confirmation form you... please can i have more than thump up!


Version 1.1.18, no output to my CI_REPORTS directory

I just noticed that after I upgraded some gems, I stopped getting any xml output to my CI_REPORTS directory.
I narrowed it down, and on my older base line that works, if I just update from 1.1.17 to 1.1.18 I stop getting results in my ENV['CI_REPORTS'] directory.
I'm going to try to widdle this down to a nice defined test case/repo. Any ideas why this might be be broken?
I'm using Ruby 2.3.0p0, on CentOS 7.4
I'll try to get more info on tracking this.

I created a repo, and README.md file in it that should explain how to reproduce this
https://github.com/matobinder/demo-minitest-issue

I've reverted fix for #236 and published 1.1.19


Update tunnelblick to 3.7.1a,4812

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

The app changes its own ownership on first run.

Still prompts to change ownership and permissions even with the postflight set_ownership.

Still prompts to change ownership and permissions even with the postflight set_ownership.

I meant to do uninstall_postflight. I don’t want to change it’s permissions on usage (it does so for security reasons), only make it uninstallable (otherwise it fails). Fixed.

Shouldn't it be uninstall_preflight so it comes before the app is removed?

Shouldn't it be uninstall_preflight so it is called before the app is removed?

Yes. Fixed. Thank you.


IntegrityError at /api/password_reset/  null value in column "id" of relation "django_rest_passwordreset_resetpasswordtoken" violates not-null constraint

null value in column "id" of relation "django_rest_passwordreset_resetpasswordtoken" violates not-null constraint
DETAIL:  Failing row contains (2022-08-18 04:56:49.334713+00, 5e47cb425ce5db35388725370cb3dbf4e964245e, <IP_ADDRESS>, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KH..., 11, null).

Same error as above when using django==4.1 and django-rest-passwordreset == 1.2.1

Did you get a fix for this

Same error as above when using django==4.1 and django-rest-passwordreset == 1.2.1

Did you get a fix

Same error as above when using django==4.1 and django-rest-passwordreset == 1.2.1

Did you get a fix

yes by downgrading the version of django from 4.1 to 3. django password reset works on django < 4.0

Is there any other way I can get it to work on django 4.1

I think this happens due to changes to AutoField in Django 4.1. I was able to solve this issue simply by deleting existing migrations and regenerating them.

Good point, I will upgrade SnyPy to Django 4.1 and look deeper into this :wink:

I think this happens due to changes to AutoField in Django 4.1. I was able to solve this issue simply by deleting existing migrations and regenerating them.
I see there is already a MR doing something similar here, non destructively: #162

Have you been able to get it work on production envoirnment

I think this happens due to changes to AutoField in Django 4.1. I was able to solve this issue simply by deleting existing migrations and regenerating them.
I see there is already a MR doing something similar here, non destructively: #162

Have you been able to get it work on production envoirnment

No, I have cloned the package as a Django app and rerun migrations within my project.

I can confirm that this release of Django fixes the problem for my project.
https://docs.djangoproject.com/en/4.1/releases/4.1.1/

I was not able to reproduce this on SnyPy with Django 4.1.0. Thanks @Collederas for confirming that it work with 4.1.1
The  release notes also mention that some fixes where applied related to the AutoField.
Fixed a regression in Django 4.1 that caused an incorrect migration when adding AutoField, BigAutoField, or SmallAutoField on PostgreSQL ([#33919](https://code.djangoproject.com/ticket/33919)).

Fixed a regression in Django 4.1 that caused a migration crash on PostgreSQL when altering AutoField, BigAutoField, or SmallAutoField to OneToOneField ([#33932](https://code.djangoproject.com/ticket/33932)).

I use django 4.1.1 and latest version of this package, 1.3, still getting the error

Still getting the same error with the latest version of djago and the package.

@cristianrat @shubh010 which database backend and version are you using?

@nezhar postgres 14

@cristianrat @shubh010 which database backend and version are you using?

postgres

@nezhar postgres 14

I have cloned the package as a Django app and removed id field from the model and then ran migrations again.
Now it works for me.

I don't think there is the need to remove the id field, re-running migrations should work fine under Django 4.1.1. But make sure to unapply the ones generated before updating it.

I don't think there is the need to remove the id field, re-running migrations should work fine under Django 4.1.1. But make sure to unapply the ones generated before updating it.

should, but doesn't
I unapplied migration for this app and re-applied it
result is the same, it doesn't work

I don't think there is the need to remove the id field, re-running migrations should work fine under Django 4.1.1. But make sure to unapply the ones generated before updating it.

should, but doesn't I unapplied migration for this app and re-applied it result is the same, it doesn't work

I have removed the id field from migration and now it works fine for me.

I don't think there is the need to remove the id field, re-running migrations should work fine under Django 4.1.1. But make sure to unapply the ones generated before updating it.

should, but doesn't I unapplied migration for this app and re-applied it result is the same, it doesn't work

I have removed the id field from migration and now it works fine for me.

@shubh010 really the only way?

no fix for this?

I fixed this on my db by setting auto increment (not sure if best solution, but will have to do until a real fix is implemented)

We believe that the best way forward is to create a fixture of the existing data as a backup if thats needed then make a python manage.py migrate django-rest-passwordreset zero after that and migrate again and import the fixture.
The django fix for 4.1 explains it a bit better: https://code.djangoproject.com/ticket/33919

Updating Django to 4.1.1 also worked for me.
django_rest_passwordreset==1.3
djangorestframework==3.13

Please reopen the issue, because I have the problem with the news version of django (5.0.6).


=m smelting issue

🐛 Bug report
Using =m to repeat smelting trip instead of slash commands makes you do the =m command twice, first time nothing happens and minion is still idle.

Additionally the =m command no longer tells the user if they don’t have the required materials to repeat a smelting trip, it just says minions not doing anything.

why are you using =m anyhow its / now and use the letter to repeat.

Most likely resolved now all commands are slash and heavily tested


Reduce memory footprint

No longer convert every single point to a string just in case it throws an exception
When splitting a batch, use a string index instead of recreating all the strings

Have you tested that it does save memory? I believe String substrings actually create a copy of the char[] array instead of sharing. An allocation or garbage trace would show that.

@panghy It does extend full GC cycles a bit and gives 5-7% reduction in both PS_Scavenge and PS_MarkSweep GC runs. In addition, it boosts the proxy's throughput by about 9% simply by not having to run a point to string conversion twice.

I guess does the logic in QueuedAgentService actually helps performance though or is it just the savings on pointToString() that's helping?

@panghy The logic in QueuedAgentService doesn't affect performance noticeably, but it does help  to reduce memory use when processing the retry queue under heavy load. By the time it gets around to process the batch from the queue, the original strings representing separate points will have been garbage collected (probably long time ago too) - and the new algorithm doesn't recreate the original strings when splitting the task so it uses half the memory per split batch.

ok, it would seem to me that the actual impact should not be that significant, 5-7% isn't much (and GC is somewhat random). anyhow, will merge


upgrade awesome_notifications

Just FYI, awesome_notifications recently had a major update to fix a critical error. I think it's worth taking a look at the updated version.

My Flutter IOS build fails. I guess, awesome_notifications package packages needs to get updated
Swift Compiler Error (Xcode): Type 'Logger' has no member 'd'
/.pub-cache/hosted/pub.dev/awesome_notifications-0.7.7/ios/Classes/lib/SwiftAwesomeNotificationsPlugin.swift:59:19
Swift Compiler Error (Xcode): Type 'Logger' has no member 'd'
/.pub-cache/hosted/pub.dev/awesome_notifications-0.7.7/ios/Classes/lib/SwiftAwesomeNotificationsPlugin.swift:60:19
...

Please use v3.15.6 version as we have removed 'awesome_notifications' and will no longer rely on it.

@moesaid @lumberjack-programmer


Merge Lists Single/Double Quote Conflict

When merging two lists of strings, if one uses single quotes and the other uses double quotes the merge carries over the brackets from the single quote list.
wrangles:
  - extract.custom:
      input: Description
      output: Brands Extracted

  - merge.lists:
      input:
        - Manufacturer
        - Brands Extracted
      output: All Brands

Where Manufacturer is a column in the dataframe containing a string, All Brands ends up as:
["Dayton-Grainger", "['Dayton-Phoenix ']"]

Having trouble duplicating this. Currently tried:

Stuff
Things

Grainger's
2"

Dayton's
3"

->

Stuff
Things
Measurements
Combined

Grainger's
2"
['2"']
["Grainger's", "2""]

Dayton's
3"
['3"']
["Dayton's", "3""]

  - extract.custom:
      input: Things
      output: Measurements
      model_id: xxxxxxxx-xxxx-xxxx

  - merge.lists:
      input:
        - Stuff
        - Measurements
      output: Combined


Automatically create data filesystem

The root filesystem is mounted readonly.  We should create a data filesystem for user projects.

Home is now stored on the data filesystem, which is automatically created.


Atom package crash on Windows 10.

during i install the js2coffee package the error happens all the time , and have no idea what's the cyclic.js.
Installing<EMAIL_ADDRESS>failed.Hide output…

><EMAIL_ADDRESS>preinstall C:\Users\LAI-ZE~1.WAN\AppData\Local\Temp\apm-install-dir-115912-22356-17ccb46\node_modules\js2coffee\node_modules\js2coffee
> npm run-script ./cyclic.js

npm ERR! Windows_NT 10.0.10240
npm ERR! argv "D:\\Related\\NodeJS\\node.exe" "D:\\Related\\NodeJS\\node_modules\\npm\\bin\\npm-cli.js" "run-script" "./cyclic.js"
npm ERR! node v4.1.2
npm ERR! npm  v2.14.4

npm ERR! missing script: ./cyclic.js
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\LAI-ZE~1.WAN\AppData\Local\Temp\apm-install-dir-115912-22356-17ccb46\node_modules\js2coffee\node_modules\js2coffee\npm-debug.log
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\\Users\\lai-ze.wang\\AppData\\Local\\atom\\app-1.0.19\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\lai-ze.wang\\AppData\\Local\\atom\\app-1.0.19\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\lai-ze.wang\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\lai-ze.wang\\.atom\\.apmrc" "install" "C:\\Users\\LAI-ZE~1.WAN\\AppData\\Local\\Temp\\d-115912-22356-5d1zym\\package.tgz" "--target=0.30.7" "--arch=ia32"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>preinstall: `npm run-script ./cyclic.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>preinstall script 'npm run-script ./cyclic.js'.
npm ERR! This is most likely a problem with the js2coffee package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run-script ./cyclic.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls js2coffee
npm ERR! There is likely additional logging output above.

That looks like a very old version of js2coffee. Can you try it with the new 2.x version?

I have notice that, i don't know why, when i search the package through atom install i just find out this one.
my atom have been updated to the last version 1.0.19.
could please check if have some thing wrong with the updating, or it's my own problem ...

i guess the atom plugin hasn't been updated.

This issue seems to still be present as of today, how can the Atom plugin be installed? Is there a workaround to do so?


Errors in circuit-to-svg when doing toMatchSchematicSnapshot in battery.test.tsx - undefined is not an object (evaluating 'symbol.primitives')

@seveibar I will close this after updating circuit-to-svg and core

Commit #182


[BUG] The Signup page white text

Description
The white text on the signup page has merged with the background which needs to be fixed .
Screenshots

Any additional information?
No response
What browser are you seeing the problem on?
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@pbln, it looks correct on my side. Please check the website again and make sure to raise valid issues or bugs that are actually needed for our website. I’ll be happy to assign such issues. Thank you!


DataFrames: what's inside?

Up till this point, and even since the internal overhaul to NullableArrays/CategoricalArrays, it's been a little ambiguous and "hard-coded" with what a user could put in a DataFrame; i.e. how the columns of a DataFrame were represented. In some constructors, whatever the user provided is simply inserted and used, while other constructors go through the upgrade_vector! code path which will do a translation from AbstractArray => NullableArray.
There have been various discussions that have hinted at some of these issues, but I wanted to formally address them and propose three potential ways forward:

Commit fully and solely to NullableArray/CategoricalArray internal storage; no other AbstractVector-type types would be allowed and errors would be thrown if attempted. Benefits: Consistent internal storage, opportunities to hand-optimize things by tightly coupling the DF/NA/CA packages.
Develop an official AbstractColumn interface, i.e. a set of methods that would be required by any type a user wished to use as a DataFrame column storage. All other DataFrames functionality would then be solely based off of these official interface methods. DataFrames would still REQUIRE NullableArrays/CategoricalArrays to provide reasonable defaults, but upgrade_vector! would be eliminated. Benefits: Users can use any type they want, probably most-often regular Vector{T}s. It also provides a looser coupling with the NA/CA packages, allowing for a future when potentially more efficient "column" types are developed or that provide custom functionality (i.e. out-of-core, distributed columns, database-backed columns, etc.).
There does exist a more radical third option, which would be to disallow any kind of "column" operations on DataFrames. E.g. You wouldn't be able to extract individual columns, or set individual columns. New "interaction" methods could be provided that relied solely on row-iterating (providing strongly typed tuples) or providing "apply" functions that could transform DataFrame columns in type-stable ways. With the maturation of the StructuredQuery.jl and Query.jl packages, there also exists other options for DataFrame manipulations which make this option even more viable. Perhaps this would be too breaking, but I think it's worth considering.

Anyway, I've started documenting the actual methods that are relied upon in DataFrames for the "column" types we put in, for future reference:
length(_) => Int
getindex(_, x::Real) => T
getindex(_, row_inds::Union{AbstractVector{T}, AbstractVector{Nullable{T}}}) => view
setindex!(_, row_ind::Real, v::Any)
setindex!(_, row_inds::AbstractVector{T<:Real}, v::Any)
deleteat!(_, ind::Union{Integer, UnitRange{Int}})
hcat!(df::DataFrame, _)
append!(_, _)
eltype(_)
push!(_, v::T)
pop!(_)
_nonnull!(res, _)
countnull(_)
_isnullable(_)  # not sure on this one

Thanks for writing this summary. I'd be inclined to take option 2, but option 1 has the advantage of simplicity.
Regarding the column interface, _isnullable is not needed AFAIK: it's just an internal convenience method, defined as _isnullable{T}(::AbstractArray{T}) = T <: Nullable. So as long as we require columns to be AbstractArray (which I think we should do), we're fine. _nonnull! also has a reasonable fallback, so it only needs to be defined for performance. Same for countnull, which shouldn't even live in DataFrames. Finally, we hcat! methods are only there to promote columns to NullableArray.

I like option 2. Better support of Vectors and other column types would be useful.

I like option 2 as well.  I definitely think it is good for users to be able to make columns either NullableVector or Vector depending on what the case calls for, though obviously that presents some interface challenges.  As a usage example: when I get to the point of actually doing something with my data, I usually have to do something about the nulls anyway, so at that point I'd much prefer to have all my columns behave just like ordinary Julia Vectors.  I think it is crucial that dataframes are kept as "array-like" as possible, i.e. columns should be as interchangeable with Vectors as possible, and slices of dataframes should be easy to convert to and from rank-2 arrays.  Julia has the nicest built-in (or add-in, for that matter) arrays of any language by a wide margin, so it would be nice if DataFrames could reflect that as much as possible.
By the way, at the moment it really isn't at all apparent how to make a column a Vector as opposed to a NullableVector.  Certain constructors do it, but none of it is obvious.

What, specifically, are the objectives against which these approaches are being evaluated?

@davidagold, the motivation here is the inconsistency between certain DataFrames constructors allowing a user to input anything they want as a "column" vs. other, more opinionated constructors that force conversion to NullableArray/CategoricalArray. And finally, the fact that many current DataFrame operations rely on certain methods being defined on a "column", yet this implicit interface is not formally acknowledged or documented anywhere.
The goal with this issue would be more explicit documentation of what's expected for a DataFrame "column".

I should have been clearer. I think I meant to ask:

Which "user" patterns do we want to support?
Which "developer" patterns do we want to support?

People are voicing support for option 2, which suggests that an implicit objective is to support df[:A] = blah where blah can be any "column-like" thing. That's fine by me. I just want to make it explicit somewhere that it is our objective to support this kind of use case. Are there other use cases we're interested in?
It seems the end goals of this design decision extend beyond documentation, since otherwise we could just, well, write documentation =p I'm just trying to figure out how to weigh these different options.

I would like to be able to  assign a distributed or out of core vector to a df column.

I'm not sure DataFrame is the best structure to work with distributed data. Since it does not include any specific support for this kind of vector, it won't be able to optimize operations like a dedicated structure would. Or the package would need to be improved to handle this use case specifically.
@quinnj What did you have in mind when you mentioned this?

Right, but i was thinking it could define fallback abstract methods that a "BigDataframe" package could overload.

Then that's a completely different issue. This one is really about the DataFrame type. See https://github.com/davidagold/AbstractTables.jl for a generic interface.

From perspective of a user of DataFrames I would expect that any AbstractVector type column is accepted. Personally I mostly work with simulated data and then I know that I will not have any nulls in the data so I do not need pay the overhead of Nullable.
The benefit of AbstractVector is that the interface required for it is already defined in Base Julia.
Not all AbstractVectors support all operations that current DataFrames operations rely on, but I would accept it and throw error in such cases (or provide a reasonable fallback).
E.g. if someone makes 1:10 a column of a DataFrame then setindex! will not work, but this is something that the user would know and accept in my opinion (the same trade-off is made in Base Julia, which treats UnitRange as AbstractArray although it does not conform in 100% to its interface).
Then, I would consider to change the definition of DataFrame to:
type DataFrame <: AbstractDataFrame
    columns::Vector{AbstractVector}
    colindex::Index

to enforce this restriction.

I wanted to ask what is the current state of affairs on this issue. I've just tried out DataFrames master and I haven't been able to convert columns to regular arrays (i.e. columns get automatically converted to nullablearrays and I'm not able to convert them back). Does it mean that option 1) has been chosen or things are still being decided/implemented?
An important factor which hasn't been mentioned so far in this thread is that, while for more experienced users NullableArrays may be reasonably easy to learn, I don't think the same is true for newcomers. Personally I'd find it much easier to teach new users how to work with DataFrames with regular Arrays.

I think most people agree that it should be possible to use any array type as columns. Somebody just needs to make the relevant changes. For now, you can use this constructor to preserve the array type if you want.

Closing since DataFrames no longer auto-promotes column types.


Callback never called

Hi,
I use this sdk to generate checkout and accept payment on a mobile app via the sumup card widget that can be found here https://developer.sumup.com/docs/widgets-card/
My process is the following :

The user open my app and press the "Pay by card" button : a request to the server is done to generate the checkout thanks to this sdk and I indicate a callback URL like this
$checkoutService = $sumup->getCheckoutService();
$checkoutResponse = $checkoutService->create($amount, $currency, $checkoutRef, $payToEmail, $emailClient, null, $callBackUrl);

The checkout id is retreived and the url of the page containing the card widget is generated and displayed on a  webview on my app

The user enter his card number, the validation is done and the user is asked to validate the 3DS process

Some users must validate the 3DS process on their bank app => MY mobile app is on background

The pb is if the user never reopen my app, the payment is never validated because the callback is never called.
Is there a way to make the process completed even if the user never re open my app and display the webview to complete the process ?
Many thanks in advance.

I haven't tried on mobile yet, but on PC I don't need to set a callback url in the checkout. The widget can handle the callback like so:
<script type="text/javascript">
    SumUpCard.mount({
        checkoutId: '<?php echo $checkoutId; ?>',
        onResponse: function(type, body) {
            // ref: https://developer.sumup.com/docs/widgets-card/
            console.log('Type', type);
            console.log('Body', body);
            if(type === 'success'){
                window.location.href = 'https://...';
            }
        }
    });

You can add a case for type error too, although I haven't come across this case yet - but i'm still working with a test account (even when the payment is canceled, the widget gets a success type).

If you still experience this issue, please open another issue!

I haven't tried on mobile yet, but on PC I don't need to set a callback url in the checkout. The widget can handle the callback like so:
<script type="text/javascript">
    SumUpCard.mount({
        checkoutId: '<?php echo $checkoutId; ?>',
        onResponse: function(type, c) {
            // ref: https://developer.sumup.com/docs/widgets-card/
            console.log('Type', type);
            console.log('Body', body);
            if(type === 'success'){
                window.location.href = 'https://...';
            }
        }
    });

You can add a case for type error too, although I haven't come across this case yet - but i'm still working with a test account (even when the payment is canceled, the widget gets a success type).

I also experience the issue that the callback URL is never called.
The suggested solution might not be very safe. When you redirect the user and also pass body. The client side might change the contents of the body variable.

@MariaMozgunova of course you cannot use the front to make security decisions. I use this only to send a signal that the transaction is supposedly finished. Then I call sumup servers to check the transaction status. I also have a cron scheduled to cover the cases where the signal was not sent like browser closed or connection lost but that takes much longer to proceed

@ptrovatelli
Making a call over the network introduces a time delay. Looks like it can only be done asynchronously.
It would be much better in terms of time performance if SumUp called the callback URL. You wouldn't want the paying customer to wait long to show a success/failure message. It also eliminates the need to write a cron job.
Looks like the best option would be to redirect the customer to a page saying if the transaction succeeded or failed based on the body of onResponse callback. And then process the transaction on the backend asynchronously.

@MariaMozgunova the time overhead is pretty small but I agree it would be simpler if the callback url were called by sumup 😀. This issue was maybe closed a bit too quickly, my answer was not really the solution, just a workaround. If the callback url is never called then at least the doc ought to be updated to remove that feature which actually doesn't exist

@MariaMozgunova actually there is no more "callback url" in the documentation. it's now a returnURL but it doesn't really say what it's supposed to do.
https://github.com/sumup/sumup-ecom-php-sdk/blob/master/docs/reference/Checkouts.md
Initially I though it was a backend call from sumup servers to our backend (which was mabe the goal of the "callback url") but now it's where the client is redirected to after the 3d secure. see https://github.com/sumup/sumup-ecom-php-sdk/releases/tag/1.2.0
This release introduces a possibility to create a Checkout with the redirect_url field specified. This field defines where a payer to be taken after completing external actions required to complete a payment, such as 3DS authentication.

Still if the client doesn't go back to the app (which was op's initial issue) or if the client has closed the browser we need a way to force the transaction verification and completion. Thus the cron. I don't think it could be done differently
And about:

Looks like the best option would be to redirect the customer to a page saying if the transaction succeeded or failed based on the body of onResponse callback.

the widget does display the status of the transaction. But you need in any case to make backend call to verify the transaction. I just trigger that backend to backend verification from the onResponse so that I can redirect the user to the proper page in my app (sucess page or error page depending on the transaction status, not depending on the "sucess" or "error" type as this one is not always correct in my experience). Now it probably works with that new returnUrl field rather than explicitely using window.location.href


Keyerror 'result'

Exception has occurred: KeyError
'result'
File "\robot.py", line 86, in Chatbot
for result in data['result']:
File "\robot.py", line 130, in main
Chatbot()
File "\robot.py", line 136, in
main()
KeyError: 'result'

Looks like you are not loading the json from :
https://api.telegram.org/bot{BOT_TOKEN}/getUpdates
Check if you see your bots messages


cli / binary support under node_modules/.bin/

Would be great if cors-anywhere would have a simple to use and configure cli executable. Say with options for --port and/or --host.
I was looking for what the now-archived and not further developed cors-proxy has.
My use case was setting up a cors proxy from npm scripts during developement. In the end I sticked with the above cors-proxy since I just needed a simple locally installed cli.

Pull requests are welcome. Preferably with secure defaults and documentation. Someone submitted #35 before, which simply exposed server.js as a binary, but that can barely be called a CLI program.

I saw #35 but could not find any binary in node_modules/.bin/ after installing npm install --save-dev cors-anywhere so I gave up. (Sorry for not sending a PR, no time these days, but wanted to at least give a little bit feedback)

I never merged #35 and to date there is no command line program when you install cors-anywhere.


RC2 Model binding hangs on POCO classes

When a class from a set of interconnected simple POCO classes is included in the constructor of a controller action, the POST request to it hangs.
Steps to reproduce:

Start a new .NET Framework Web Application template straight from the RC2 release templates in Visual Studio 2015
Add the attached poco.txt as a CS file with the namespaces renamed to match the new project

poco.txt
3 . Change the function arguments of AccountController's Register POST action to
public async Task<IActionResult> Register(RegisterViewModel model, string returnUrl = null, requirements requirements = null)
where "requirements" is a class included in the poco.txt file. It could be any POST action changed but I chose this one to demonstrate.
4 . Add a breakpoint to the first line of the Register action
5 . Run the website. Register an new account. The POST request hangs and says "pending" forever on all browsers. It never reaches the breakpoint.
Windows 7 64-bit, ASP.NET Core RC2 public version, Visual Studio 2015 Update 2, Chrome, Firefox and IE
The below poco.txt (poco.cs) contains a set of simple classes that only reference each other.
poco.txt
This issue is preventing conversion of a working rc1 application to rc2, as all GET and POST requests using these classes as model classes hang.

@rynowak Can this be the same case as https://github.com/aspnet/Mvc/issues/4666? @DSmith307 there's a workaround for a similar/the same issue in #4666 you could try that out to see if it solves your problem and confirm its the same issue

@javiercn Thanks, it is the same issue and the workaround in #4666 solves my problem.


Add Nikhil Babu to Contributors list

Thanks for helping to contribute...

Hi  @Nikhil713, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


Support multiple configurations for productexecutor at same time

Situation
When similar product configurations (same product id) are used in one job, the results and also meta data does make problems, because the identification is only done by product identifier and job UUID but not about the executed configuration.
This led to #574  - where a configuration problem happened. At this issue there was no real need of execution the same product twice, so just to remove the misconfiguration did work well.
But at least for PDS instances we absolutely need the possiblity to configure same product identifier when we want to use multiple scans - e..g when we want to use 2 different tools for PDS_CODESCAN (e.g. gosec + graudit) in one scan together.
Also the debugging and failure search for #574 was very difficult, because it was not clear at a first glance that the logged operations are done for different product executor configurations.
Abstract example
Here an abstract example for an overview:
Project alpha has configured two profiles: profileA and profileB
Profile profileA uses config1 for product productX
Profile profileB uses config2, but also for product productX
Let's assume that executor for productX uses config1 and after this  config2:
First meta data for productX will be written by execution of config1 nothing reused, because nothing set before.
After this when productX will be executed again but with  config2  the former written meta data will be used for this as well, even if it absolutely represents another configuration
Wanted

The execution process must be aware about the used configuration and use it to store meta data and the result itself
If multiple profiles assigned to project are using same configuration (e.g. "profileA" and "profileB" are using both "config1") the execution must be done only ONE time (it makes not sense to execute exactly the same again)
Scan log entries must contain product results and meta data in files for every configuration, so we must provide the config UUIDs in file name

Solution

We will add mandatory column "PRODUCT_CONFIG_UUID" to ProductResult table
We will change all fetch and store mechanism using COLUMN_PRODUCT_IDENTIFIER to use always configuration UUID as well!
We ensure same product configuration is fetched only one time by changing result type of ProductExecutorConfigRepository.findExecutableConfigurationsForProject from List to Set, so this can never happen
Information log at INFO level mentioning execution and execution problems will contain not only the job UUID and the product identifier but also the configuration UUID, so it is clear which config was used here.

The fullscan zip file does currently looks in following way:

So with this issue the filenames of results AND metadata will be changed to

metadata_NETSPARKER-${config_uuid}.json
metadata_SERECO-default.json
NETSPARKER-${config_uuid}.json
SERECO-default.json

Sereco will contain "default" when fallback is used (means no configuration done for reporting products - which is default situation normally)

In case somebody does now really configure two profiles this does now work and results in separated meta data, results and dedicated entries inside scan log:

In the figure before we see that Netsparker has been configured twice, and the UUIDs for the different Netsparker product executors are

5b6b7b0c-886c-4f3a-8107-5cfc1665fa5c
a2eb7cf9-901e-4002-a0ee-aa06bec31e9c

So it's clear which configurations are leading to the result and it's also simple to gather information how this happened by comparing with audit log entries etc.


Automated test of Lokomotive updates

It would be useful to test Lokomotive updates automatically.
One idea is to take the last tagged release and try to update to latest master. Then we could run this test periodically.

Duplicate of #12?

D'oh, I swear I searched!

I also couldn't find it under updates. But update did the trick and I remembered I did report it :smile:


Replace redpencilio and remove -service

replaces redpencilio to redpencil but leaves other repo namespaces in
tact.

removes -service from the repository name as this normally exists on
GitHub but not on Docker Hub (on all builds).

Next steps
Also update the build for the frontend.

probably a good idea to update the readme as well

@madnificent apologies, this never got merged an we've since moved our preference to woodpecker. I'll leave it up to you whether you want to rebase your PR or close it.

Can someone else pick this up?  Should be applied to woodpecker too.


OpenEXR builds and runs test which takes a very long time

Please could we disable the fuzz tests that get run as it takes quite a while to get through them.
thanks
dan

no test
https://github.com/Microsoft/vcpkg/blob/master/ports/openexr/portfile.cmake
https://github.com/Microsoft/vcpkg/blob/master/docs/maintainers/vcpkg_test_cmake.md
I personally commented out this line everywhere
vcpkg_test_cmake(PACKAGE_NAME
-->>
# vcpkg_test_cmake(PACKAGE_NAME

There are still some executables that run during build though. I'm not sure where in the cmake they are being invoked (b44ExpLogTable etc)

It looks like there is an executable build as part of the build process which generates some look up tables which are then used in the library. Probably something which constexpr would be useful for.


Fix issue #296

Updated PDF invoice wording

Codecov Report

Merging #300 into master will increase coverage by -0.05%.

@@            Coverage Diff             @@
##           master     #300      +/-   ##
==========================================
- Coverage   92.37%   92.33%   -0.05%
==========================================
  Files          69       69
  Lines        2073     2075       +2
==========================================
+ Hits         1915     1916       +1
- Misses        158      159       +1

Impacted Files
Coverage Δ

konfera/event/views.py
60.61% <50%> (-0.1%)
:x:

Continue to review full report at Codecov.

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


Top menu options - Research

Overview
OS: mac
When the ODE opens, the user will see 5 options at the top menu: Open Data Editor, File, Edit, View and Help. I would like to introduce a couple of changes within each category but first we need to understand what can and cannot be customized. In addition, I checked this on mac so it would be good to see the possibilities in other operating systems .

Additional information: https://www.electronjs.org/docs/latest/api/menu

One more comment for Mac users. We have ODE at the top menu, then, upper right corner and in the middle of the grey area. It's a lot.

In ubuntu I don't see a navigation menu, I only see a dropdown menu when I right click:


[HUDI-4742] Fixing AWS Glue partition's location is wrong when updatePartition

Change Logs
AWSGlueCatalogSyncClient udpatePartitionsToTable() function
Impact
If the location is wrong, then the table could not be queried almost, it's a serious bug, when synced to AWS glue
Risk level: none | low | medium | high
low
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@xushiyan hi, could you help review this pr? thanks~


already installed or misconfiguration

I installed a new machines with nginx , php7.2  has fresh mysql with empty new database name "pdns" when i open the setup link it show me setup form and after filling it I get the follwing error

The application has already been setup or the backend is misconfigured.

Its a fresh machine nothing configured before, php works fine so does mysql . mysql is localhost and has the required clean new empty db .
How do i resolve the issue ?
By the work just to trouble shoot I tried to enter wrong db password to the setup work it show me exact same error seems like its not even trying to connect to db . Are there any libraries for php required if that could be the case .

I have exactly the same issue.

same issue here

Same here
because of the first post in May and no answer, I think this project is dead.

In the current master branch I clarified the error message. This comes most likely from a misconfiguration of the backend server. It is issued if the call to the api returns with a 404 error. Please provide the configuration you used for your apache vhost.

I am getting this error on centOS8 fresh installation, Document is very poor so hard to resolve it. any suggestion?

I can not support other setups, but the problem should always be that the backend is not configured correctly. Since it uses the Slim PHP Framework, maybe you can find hints on using Slim with apache and centOS8.


Remove version: LutzRoeder.Netron version 6.9.2

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping @Exorcism0666, I'll get a notification.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

Response status code does not indicate success: 404 (Not Found).
(Automated message - build 552)

Response status code does not indicate success: 404 (Not Found).
(Automated message - build 553)


Failed to initialize node setting for Cloud 9 environment

When I initialize the Cloud 9 environment according to the workshop, latest stable node version installed by nvm is v18.1.0.
Admin:~/environment $ nvm install stable
Downloading and installing node v18.1.0...

After the installation of node, subsequence execution of node failed to run with following errors.
Admin:~/environment $ npm install -g typescript
node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by node)

Cloud 9 instance AMI name : Cloud9AmazonLinux2-2022-04-28T13-41

Confirmed as an issue. Workaround is to use
nvm install --lts
nvm use --lts


Support for Radeon RX 6700 XT (gfx1031)

There is no TensileLibrary_lazy_gfx1031.dat which causes an error when trying to use rocBLAS with a RX 6700 XT.
How can I get this working with this GPU, or is this currently not supported? If it's not supported, will it be in the near future? Is it just HIP that's not working, or also the opencl integration?
I was able to get the opencl / clBLAST support to work with an older revision of rocm, fwiw.
Operating System
Ubuntu 22.04.3 LTS
ROCm Component
rocBLAS

All 6000 GPUs should be (unofficially) supported. Have you tried export HSA_OVERRIDE_GFX_VERSION=10.3.0 in .bashrc or before running the command you are trying to use?

Sorry, gfx1031 is not officially supported by AMD.
https://rocm.docs.amd.com/projects/install-on-linux/en/latest/reference/system-requirements.html

@nartmada Are there any plans to support gfx1031?

It is supported on Windows as of latest release, so I'd imagine Linux support is coming eventually

I really puts into question why I bought this particular card if AMD hates it


159 Line related error

Description:
I am experiencing an unknown error at line 159 of my code while using MakeCode Arcade. The error occurs regardless of the type of code, and it seems to be related to how MakeCode handles certain lines of code.
In my project, when the code reaches line 159 or 160, the development environment stops working correctly and throws an error without any explanation. This behavior occurs even after reviewing the code for syntax or structural errors. It seems that Makecode might be causing an error due to how it handles the number of arguments or concatenation.
Steps to reproduce the error:

Create a project using MakeCode Arcade.
Write a code similar to this:print("x: {x}, dds_list[x]: {dds_list[x]}")

Ensure the code reaches line 159.
Run the code, which will cause the error to trigger and stop execution.

Expected behavior:
The code should execute without errors, and the result of print() should correctly display the values of x and dds_list[x].
Actual behavior:
The development environment generates an error, and the code does not execute correctly, showing unexpected behavior.
Additional details:

Environment:  MakeCode Arcade in M. Firefox
Error line: Line 159 (possibly affecting line 160 as well).
Behavior on execution: The environment stops or the code doesn’t execute correctly.

Attachments:
Project: https://arcade.makecode.com/S70858-18955-41379-13570
Screenshot:
/

This looks like an interesting project! I think the issue is that the array eldp has only four elements in it. From the logic in renderAll it seems this array needs to be the same length as p.
I was able to narrow in on this issue by running the code in the debugger and stepping through it. We are very aware that our runtime error messaging needs improvement!

Thanks but filling edlp the problem is the same even writing different things at 159

Here is a version of your project without that error: https://makecode.com/_4o4VoJE3p68E
The only change I made was to add another index to the eldp array:
edlp = [1, 2, 4, 0, 0]

If you're still hitting runtime errors, you may have luck running the code in Arcade's debugger. It will break on the line that threw the exception, allowing you to inspect the current state. It isn't a magic solution but can offer a way to get more information about what is going wrong.


No Hidden Size List for ContinuousQAC?

Hello,
I am replicating a TD3 implementation in DI-engine and noticed the actor and critic hidden sizes are forced to be integers for vector observations. Is there a reason for not allowing the MLP to have heterogeneous hidden layer sizes?

In our experiments for TD3, we mainly test its performance on the classical MuJoCo environments. For this case, the simple design is suitable and enough to acquire excellent performance. And it often needs more complicated normalization and network initialization techniques when using more complex network. Therefore, we use current design for ContinuousQAC.
If you have other demands for your environment, you can imitate ContinuousQAC class and implement your own QAC network.


Workspace: Element Keyboard Navigation and Panel Focus

Feature Description
Currently there is logic to prevent an element on the canvas from moving when the arrow keys are pressed. Now that panels are evolving in functionality we likely need to expand this to other components and controls outside of the canvas as well.
Alternatives Considered

Additional Context

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

That seems reasonable at first glance, yeah. Not sure I 100% understand the original ticket description though. Do we need to check for this in other places beyond the design panel?

When the keyboard focus is somewhere in the design/document panel, we generally try to stick to the rule that either the focused element handle all arrow key inputs or none (in which case they're passed to the selected element on the canvas if any). This was a decision made long ago, but it's definitely up for discussion.
If we stick by this decision, we still have a few mistakes though, that have crept in over time. Going through various elements and trying to use the arrow keys while focused, I discovered a few weird instances:

The new dropdowns cannot be opened using the up  or down arrow, which is normally a common way to open a closed but focused dropdown (and WAI-ARIA recommended). Instead, the active element moves:

The panel headers (basically accordion buttons) could optionally expand-collapse when interacted with using arrow keys. It's completely optional though, and actually not mentioned in the WAI-ARIA recommendations for accordions (but we also don't follow the recommendations strictly anyway). Alternatively, we could follow recommendations more strictly and then make arrow keys move between panels when on a panel header:

The new taxonomy category selector in the document panel captures up-down arrow keys, but not left-right arrow keys, so pressing left or right while focusing this element moves the active element on the canvas, while pressing up or down changes focus inside the panel control:

The direction selector for animation (e.g. fly-in) captures all arrow keys but doesn't do anything with them. If keyboard focus is on one of the direction buttons, arrow keys are ignored. They should either do something in the panel control (change the direction) or be passed to the selected element:

However, a completely different approach (following the above and/or instead of the above) could be to disable keyboard events from bubbling at all while focus is anywhere inside the design/document panel. It is a little weird that you can have the keyboard focus on a random button over there and the active element moves around.
But on the other hand, if you use the mouse to click a button, the button will keep focus afterward, which would then disable keyboard movement of the active element which might also be unwanted. Should we unfocus buttons again if activated via mouse perhaps? Or is that a complete no-no?
There are many potential issues and ditto fixes here.

But on the other hand, if you use the mouse to click a button, the button will keep focus afterward, which would then disable keyboard movement of the active element which might also be unwanted. Should we unfocus buttons again if activated via mouse perhaps? Or is that a complete no-no?

This seems quite unexpected as well, the button should get the focus when clicking with mouse.

However, a completely different approach (following the above and/or instead of the above) could be to disable keyboard events from bubbling at all while focus is anywhere inside the design/document panel. It is a little weird that you can have the keyboard focus on a random button over there and the active element moves around.

I wonder what's the general behaviour in these cases in editors, any thoughts? Perhaps @gajasinski / @agingoldseco might have insights here as well about if we should allow moving an element with the arrow keys at all if focus is anywhere inside the design/document panel.

Would need to take a look and dig in with @agingoldseco but my gut says to stick closely to the WAI-ARIA recommendations. Can find time to sit down and dig through these.


Previous scenes/scripts and project layout not loading up

Godot version:
eb2b9b8
Issue description:
When opening up a project, it fails to load previous opened scenes/scripts, and the project's editor layout.

The project layout part may be #26349.

@akien-mga Please reopen this, it can still happen at random.

You already opened another issue regarding scripts, and I'm pretty sure the layouts issue was a different bug, so what is it exactly that can still happen at random? If it's only about scenes, I'd prefer a new bug report.

That issue is about built-in scripts. This is one about general scripts and the layout, albeit it stopped happening again, so I'll open a new issue if it comes back.


Don't convert buffer to string

should fix #7113

Codecov Report

Merging #7115 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #7115      +/-   ##
==========================================
- Coverage   41.54%   41.54%   -0.01%
==========================================
  Files         446      446
  Lines       60825    60825
==========================================
- Hits        25271    25267       -4
- Misses      32271    32273       +2
- Partials     3283     3285       +2

Impacted Files
Coverage Δ

models/issue_comment.go
47.48% <0%> (ø)
:arrow_up:

modules/log/file.go
75.52% <0%> (-2.1%)
:arrow_down:

modules/log/event.go
64.46% <0%> (-1.53%)
:arrow_down:

models/unit.go
67.56% <0%> (+5.4%)
:arrow_up:

Continue to review full report at Codecov.

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

I'm not certain that this is enough.
We're still going to be casting these bytes as a string to store them in the database which will cause the same problem. I think Patch needs to a []byte not string.
however, how do you display a []byte - well most often this is by casting to string or attempting to decode through detection. The trouble is detecting the encoding from such a small sample is going to be very difficult - you really need the rest of the file as context, and it's perfectly reasonable for a file to change encoding.
As per usual file encoding is difficult and complex.
The most complete answer probably involves:

Storing the bytes only.
Sending the bytes to the client - and or best guess re-encoding.
Telling the client the detected encodings of the two sides of the diff
Allowing the client to override this by requesting the actual bytes and then they re-encode.
Displaying broken characters in some obvious way - without blowing up.

We could detect the encoding of this file but not the patch and convert it to UTF8 before store it in database.

Converting patch to utf-8 would be best option and would solve issue on storing into database


chore(deps): upgrade dependency

major version change:
eslint
find-up
get-stdin
ignore
messageformat
rxjs

The command "eval yarn " failed

generating a new yarn.lock should handle this!?


Ship htpasswd

Following native basic auth and while reviewing the doc, I would suggest to ship htpasswd.
Benefits are:

controlled version: does support bcrypt
self-contained: no separate installation required to operate
straight-forward doc (to come): docker run --entrypoint htpasswd registry -Bbn batman robin > batcave

LGTM


added onBlur event in datepicker for final-form

onblur wird benötigt für final-form:
https://stackoverflow.com/questions/51776786/with-react-final-form-why-is-meta-touched-always-false-with-third-party-componen

Build in master fails now with this merge, never merge failing PRs into master!
And now when looking at this diff, did you test this? I doubt onBlur on a div works - as a div can't have the focus.


AUTHENTICATION_BACKENDS does not allow to login with super user

When AUTHENTICATION_BACKENDS is used in settings.py, the usual login does not work. However, after commenting it login work as per the expectation.
What would be the fix for this?

You should add "django.contrib.auth.backends.ModelBackend" to your AUTHENTICATION_BACKENDS:
AUTHENTICATION_BACKENDS = [     "django.contrib.auth.backends.ModelBackend",     "django_keycloak.auth.backends.KeycloakAuthorizationCodeBackend", ]


Odd results when setting mouse mode to captured.

Build date: 2017-12-15 12:12:09
Git commit id (short): 433cb6f49
Windows 10 Pro x64
Issue:
When setting the mouse mode to Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED) to track mouse movement for a 3d controller, the node._input() seems to sporadically update.
I expected it to give similar results as MOUSE_MODE_HIDDEN or MOUSE_MODE_CONFINED.
Steps to reproduce:
In a 3d Scene add  Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED) to _enter_tree() or _ready()
Minimal reproduction project:
FPS_Controller_Kinematic.zip

There is an issue with an infinite loop being created in the event loop.
When the mouse is warped to the center, it fires an event, which then warps the mouse again.
A work-around I found was to check mouse position, determine delta, and warp the mouse in _(physics_)process() to avoid the loop.

So manually do the relative calculation yourself? That's what I started doing, but i put it in the regular process. Will try this way.

In 2D same problem detected in Windows 10. It is not only in 3D. Not fixed to the current date.
Version Godot 3.0.2

Could you elaborate a little bit on your workaround @LeonardMeagher2 ?
Perhaps with an example?
I've been trying to find a fix for this issue since 3.0's release and haven't been able to pull it off.
It still happens to me in 3.0.3 using all the methods I can think of, using _input, or _process/_physics_process doing the mouse calculation myself, its all the same.
I really hope this bug can be fixed soon, making any game that uses MOUSE_MODE_CAPTURED is pretty much a no go like this.

A temporary solution, but it is bad and only serves for development is
No use:
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
Use:
Input.set_mouse_mode(Input.MOUSE_MODE_HIDDEN )
The failure must be fixed, before projects go into production!

Can this be reproduced on Linux, macOS or Windows 7/8.1?

I have reproduced it multiple times on Linux, on Xubuntu 17.10, and Ubuntu Budgie 18.04 specifically.
I currently do not have any Windows or OSX machines at my disposal, but here is an issue of someone with the same problem, on Windows 10.
https://github.com/godotengine/godot/issues/17288

I'm starting to think that this is at-least partially OS related, I recently switched Linux distro's (from Ubuntu Budgie 18.04, to Linux Mint 19 specifically) and, to my surprise, this issue doesn't seem to happen anymore in the projects I've tried it with so far, I no longer get the weird stuttering and hitching after the switch, with the same Nvidia Driver version installed as-well.
I don't know for sure if this is actually related to something in Linux Mint being setup differently or something, but I do find it quite odd that the previous distro's I used, namely Xubuntu 17.04, and Ubuntu Budgie 18.04, all very clearly suffer from this problem, there are even people on Windows 10 who have reported on it too.
I am of course happy that it no longer happens on my end, but at the same time I still have no idea what it is exactly causing this issue, this should work the same way across all OS's right?
Tested on both 3.0.5 and the (at the time of writing) latest master.

I tried the demo it is seems fine. Can anyone still reproduce it in 3.2.x?

No answer, so assuming fixed.

Yeah, I have not been able to reproduce this one either.


Fix table name handling when case is changed

If case is changed for a table name all hell breaks loose right now.
This is because MySQL is case insensitive for the table names and we're doing the comparison case sensitive. This PR should solve this problem.

Codecov Report

Merging #28 into master will increase coverage by 0.12%.
The diff coverage is 36.25%.

@@             Coverage Diff              @@
##             master      #28      +/-   ##
============================================
+ Coverage      20.2%   20.32%   +0.12%
- Complexity      243      247       +4
============================================
  Files             4        4
  Lines           792      807      +15
============================================
+ Hits            160      164       +4
- Misses          632      643      +11

Impacted Files
Coverage Δ
Complexity Δ

...igration/Adapter/Generator/PhinxMySqlGenerator.php
31.64% <36.25%> (-0.16%)
173 <33> (+4)

Continue to review full report at Codecov.

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

This is a bit of an edge case and maybe even a BC break.
Normally all table names should be in lower_snake_case. But what if someone has a different naming convention for table names, e. g. UpperCamelCase. Then the table names would look like this: uppercamelcase.
I don't think the Migration Generator should dictate a naming convention.

I agree, and it's not what my PR did, I'm sorry if the description was a bit short.
What my changes does is that it compares tables case insensitive, it doesn't change any cases in the database.
Example: You have a table called Tablename in the old schema, and changes it to tablename
Right now: it generates a migration that tries to create a table called tablename (which already exists since mysql is case insensitive) and then drops Tablename.
With my fix: It generates a migration that renames Tablename to tablename.

ping @odan


Sync eng/common directory with azure-sdk-tools for PR 9497

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/9497  See eng/common workflow

/check-enforcer override
Existing failure


Free xcb_intern_atom_reply_t* in linux platform

https://github.com/travisvroman/kohi/blob/e529fd20a81d8b55c24a77635b815b0875eb810f/engine/src/platform/platform_linux.c#L276
Running with valgrind reports a leak caused by this. Checking the xcb header comment, it states that this should be freed by the caller.

wm_delete_reply and wm_protocols_reply

also on platform_shutdown is missing closing the xcb connection from the linux handle


Dump on non-unicode systems, UTF-8 marker

Before this exception was completely ignored

Not catching the xstring conversion errors led to all sorts of other issues. the calling method needs to handle it.
https://github.com/abapGit/abapGit/blob/16656d8141fdd86734fe9cca1d9748505b4be487/src/xml/zcl_abapgit_xml.clas.abap#L167-L171
Not sure how we can add the byte-mark to a string on non-Unicode systems. If you want to restore the previous behavior, just remove the assert (lv_mark initial).

it didn't work. removing re-raising from zcl_abapgit_convert=>xstring_to_string_utf8 helped. Assert removal solved just part of it. But I didn't dive into it. Non unicode system ... well, they still happen ...


Add Media Session to HTTP 203 podcast

This PR adds support for the Media Session API to  HTTP 203 podcast pages.

git grep -l '<img' *.md | xargs sed -i 's/<img/<img id="artwork"/g'
git grep -l '<audio' *.md | xargs sed -i 's/<audio/<audio id="podcast"/g'
git grep -l '' *.md | xargs sed -i '//d'
git grep -l 'rss_feed<\/span>' *.md | xargs sed -i '/rss_feed<\/span>/d'
git grep -l '  Subscribe' *.md | xargs sed -i '/  Subscribe/d'
git grep -l '<\/a>' *.md | xargs sed -i '/<\/a>/d'
git grep -l '<audio' *.md | xargs sed -i 's/<audio/{% include "web\/_shared\/http-203-podcast.html" %}\n\n<audio/g'

FYI: @jakearchibald @paullewis

@beaufortfrancois - we are not allowed to have


Start-PSBuild -Runtime always defaults to x64 on Linux

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Run Start-PSBuild without -Runtime on Linux ARM, e.g. Raspberry Pi. It will successfully build, but throw a cryptic error when you try to run pwsh.
Expected behavior
Runs `dotnet publish --runtime linux-arm64`

Actual behavior
Runs `dotnet publish --runtime linux-x64`

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.2.4
PSEdition                      Core
GitCommitId                    7.2.4
OS                             Linux 5.15.0-1011-raspi #13-Ubuntu SMP PREEMPT Thu Jun 2 11:44:34 UTC 2022
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Faulty code:
# build.psm1:863, function New-PSOptions
if (-not $Runtime) {
    if ($environment.IsLinux) {
        $Runtime = "linux-x64"
    } ...
}

On debian-family, we can run dpkg --print-architecture which returns arm64 on my system, so we can do:
$defaultRuntime = 'linux-x64'
if ($environment.IsDebianFamily) {
    $Runtime = switch (dpkg --print-architecture) {
        'arm64' { 'linux-arm64' }
        'x64' { 'linux-x64' }
        ...
        default { Write-Warning "Unknown architecture: '${_}', default to '${defaultRuntime}'; $defaultRuntime }
    }
} else {
    # Add other options for detection
    Write-Warning 'Cannot detect architecture on given system, default to '${defaultRuntime}'
    $Runtime = $defaultRuntime
}

Even better idea would be to just remove all of this from the script and use dotnet publish --current-runtime instead, but it is used couple times to set $Runtime, $Executableand$Output`, so it may be difficult.

Actually, dotnet 7 provides all the info we need in --info:
Runtime Environment:
 OS Name:     ubuntu
 OS Version:  22.04
 OS Platform: Linux
 RID:         ubuntu.22.04-arm64
 Base Path:   /home/dkaszews/.dotnet/sdk/7.0.100-preview.6.22352.1/

Host:
  Version:      7.0.0-preview.6.22324.4
  Architecture: arm64
  Commit:       d3fa592f6d

I have tested the following to both work on my personal Ubuntu ARM64 and work Windows x64, so can replace the entire default, similarly to how Windows is detected from RID:
$info = dotnet --info
$platform = ($info | Select-String '^\s*OS Platform:\s+(\w+)$')[0].Matches.Groups[1].Value -replace 'windows', 'win'
$architecture = ($info | Select-String '^\s*Architecture:\s+(\w+)$')[0].Matches.Groups[1].Value
dkaszews@Cuddles-Berry:~/code/PowerShell [dkaszews-update-help-implicit-culture ≡]
$runtime = "${platform}-${architecture}".ToLower()

Can someone please verify this on other platforms?


Help with icons =(

Describe your problem here.
I want to make an animated icon and
a winning icon
Please help =)
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
It's all fine

That’s feature not help
Also he never finds the search bar

Duplicate of https://github.com/ShadowMario/FNF-PsychEngine/issues/9968

For Winning Icons, Use OS Engine.
https://github.com/notweuz/FNF-OSEngine
For Animated Icons, No One Knows Yet.

For Winning Icons, Use OS Engine. https://github.com/notweuz/FNF-OSEngine For Animated Icons, No One Knows Yet.

https://github.com/Yoshubs/Hypnos-Lullaby

For Winning Icons, Use OS Engine.
https://github.com/notweuz/FNF-OSEngine
For Animated Icons, Use Hypnos Lullaby. (CREDIT TO MEMEHOOVY)
https://github.com/Yoshubs/Hypnos-Lullaby

let me update that
https://github.com/imadethisaccountsoicanmakeanissue/Hypnos-Lullaby


Cropping can only be performed at the end of a pipeline

The following works:
augmentations = Rotate(10) |>
                Zoom((0.9, 1.1)) |>
                ScaleFixed((96, 96)) |>
                Maybe(FlipX()) |>
                CenterCrop((96, 96)) |>
                ImageToTensor()

but the following breaks (i.e. the images are not 96x96)
augmentations = Rotate(10) |>
                Zoom((0.9, 1.1)) |>
                ScaleFixed((96, 96)) |>
                CenterCrop((96, 96)) |>
                Maybe(FlipX()) |>
                ImageToTensor()

I don't know if this is a technical limitation (my fuzzy reading of the source code suggests yes), but if it is, then it should be properly documented.

🐛
#63 fixes it.


Switching wallets on accounts page triggers error boundary

Overview
Currently on the accounts page, when switching from Native to MM, an error boundary is triggered
It stays even when switching back to MetaMask, and is resolved by clicking "Try Again"
References and additional details
N/A
Acceptance Criteria

Wallet switching from accounts page works

Need By Date
No response
Screenshots/Mockups

Estimated effort
No response

Fixed.


Added "basset" disk

By providing the basset disk we make it easier for developers with custom public disks, to change from public to basset.
This is not a breaking change since we're not enforcing the basset disk.

@promatik please remove the readme changes from here, and merge this in the check-command branch.
We fully fix the readme there.


[IOS] once keyboard tap will trigger two onChangeText event when i set value and onChangeText in [TextareaInput] or [InputField with multiple]  and that wrapped in modal

Description
Only on IOS, android is ok.
CodeSandbox/Snack link
No response
Steps to reproduce
"@gluestack-style/react": "^1.0.15",
"@gluestack-ui/config": "^1.0.3",
"@gluestack-ui/themed": "^1.0.13",
//ios 17.0
//App.jsx
// "react": "18.2.0"
//"react-native": "0.72.5",
import React, { useState } from 'react'

import { GluestackUIProvider } from "@gluestack-ui/themed"
import { config as GluestackConfig } from '@gluestack-ui/config'
import {
  Modal,
  ModalBackdrop,
  ModalContent,
  ModalBody,
  Input,
  InputField,
  Textarea,
  TextareaInput,
  VStack,
} from "@gluestack-ui/themed"

const App = () => {
  const [message1, setMessage1] = useState('')
  const [message2, setMessage2] = useState('')

  return (
    <Modal
      size='lg'
      isOpen={true}
    >
      <ModalBackdrop/>
      <ModalContent>
        <ModalBody>
          <VStack>
            <Input size='md'>
              <InputField multiline value={message1} onChangeText={value => setMessage1(value)}/>
            </Input>
            <Textarea size='md'>
              <TextareaInput value={message2} onChangeText={value => setMessage2(value)}/>
            </Textarea>
          </VStack>
        </ModalBody>
      </ModalContent>
    </Modal>
  )
}

export default () => {
  return (
    <GluestackUIProvider config={GluestackConfig}>
      <App/>
    </GluestackUIProvider>
  )
}

gluestack-ui Version
1.0.13
Platform

[ ] Expo
[ ] React Native CLI
[ ] Next
[ ] Web
[ ] Android
[X] iOS

Other Platform
No response
Additional Information
No response

Hey @vilenleung, I removed the Input and Textarea from gluestack-ui and rendered TextInput from react-native . I could still face that issue.
The issue is, modal is getting rendered when the input state changes.
Best practice for this will be to shift the state declaration in a different component. Here is the example of how you can do it.
Let me know if you need any help.


Add openaichat to llms class mapping

Description:
The get_type_to_cls_dict method provides type to class mapping. This PR fixes the missing openaichat type for importer for OpenAIChat.

cc @hwchase17

OpenAIChat is deprecated (in favor of ChatOpenAI) so we probably don't want to add it here

Hi, thanks for the reply.
For llm level, as the llms.OpenAIChat uses openai.chatCompletions while llms.OpenAI uses openai.chat, the latter one should be deprecated which is requesting /completions (the former one requests latest /chat/completions).
That's the main reason I raised this PR.
As for ChatOpenAI, that's the chat model level API, not on llm level. In some popular LLM applications , the are still rely on llm level but not the chat model level API

agree with @baskaryan original comment, should not be added here

OK, thanks for the review.


vectorstores: Implement usearch backend

Would be great to have a usearch by @ashvardanian vectorstore implementation.

LangChain for Python and JavaScript already have those integrations, so it should definitely be possible 🤗

This is interesting for me. I have started to work on integrating usearch :)


Coroutine execution is skipped after message reception

I am trying to build a message service where the message is in the form of a JSON document with username and other relevant details. In order to check stuff and print selectively, I need to be able to parse a string back to a dictionary. But it seems to be skipped completely and execution terminates.
Here is the coroutine.
async def consumer_handler(websocket, username, chatroom):
    async for recvdata in websocket:
        data = json.loads(recvdata)
        print(data)

Any help is appreciated.

Welcome to debugging asyncio programs ;-)
This isn't a complete example that I can run, so it's much harder for me than for you to debug it. I don't see anything obviously wrong in this piece of code.
Turning on debug logs may help: https://websockets.readthedocs.io/en/stable/cheatsheet.html#debugging

Tasks exiting with an exception are a common issue. https://docs.python.org/3/library/asyncio-dev.html may help.


pull request for e2e test at 12/20/2016 14:26:21

: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.


Support arm64 (aarch64) build

Feature Request
Proposal: Support building influxdb on a 64bit ARM system.
Current behavior: Currently ./build.py fails because Go gets confused between 'aarch64' and 'arm64'
With influxdb 1.0.1, I get the following:
[INFO] build: Starting build for linux/aarch64...
[INFO] build: Using Go version: 1.7.1
[INFO] build: Using git branch: HEAD
[INFO] build: Using git commit: 8b354f72951f50b130894dddee2e05149a1801d8
[INFO] build: Sending build output to: /go/src/github.com/influxdata/influxdb/build
[INFO] build: Using version '1.0.1' for build.
[INFO] build: Building target: influx_stress
[ERROR] run: Command 'GOOS=linux GOARCH=aarch64 go build -o /go/src/github.com/influxdata/influxdb/build/influx_stress -ldflags="-X main.version=1.0.1 -X main.branch=HEAD -X main.commit=8b354f72951f50b130894dddee2e05149a1801d8" ./cmd/influx_stress' failed with error: cmd/go: unsupported GOOS/GOARCH pair linux/aarch64
Desired behavior: Should build influxdb without errors.
Use case: 64bit ARM chips are becoming more common, would be good to support the build so that we can test it more.
I was able to get influxdb to build by hardcoding GOARCH in build.py:
build_command += "GOOS=linux GOARCH=arm64 ".format(platform, arch)
I believe the issue is that the os.uname()[4] returned by get_system_arch() is equal to "aarch64", whilst Go now expects "arm64" instead
Are there any more tests I can run to confirm everything is working?
influx_stress
Total Queries: 250
Average Query Response Time: 13.720512ms
Total Requests: 2000
Success: 2000
Fail: 0
Average Response Time: 222.85553ms
Points Per Second: 114147

Does this work?
./build.py --platform linux --arch arm64

Hello, I ran into the same issue and created the PR #7580 with a fix for the build.py script (@Nemykal did most of the job identifying where the issue was, thank you!).

I've tried building it again with @tcheneau's patch applied. Passing "arm64" to build.py doesn't seem to be enough, as it still tries to build with GOARCH=arm now instead
My testing:
On master branch, commit aff2d7ce649ead1dbb5fd930b09c6e037ef31e0f
On aarch64 system - uname -a output:
Linux 07ee123c0a57 4.8.8-300.fc25.aarch64 #1 SMP Thu Nov 17 13:41:51 UTC 2016 aarch64 Linux
build_command is being set too early.
https://github.com/influxdata/influxdb/blob/master/build.py#L511

It looks like the build correctly picks it up as linux/arm64 but still uses the wrong environment variables later on:
/go/src/github.com/influxdata/influxdb # python2 ./build.py
[INFO] print_banner:
  ___       __ _          ___  ___
 |_ _|_ _  / _| |_  ___ _|   \| _ )
  | || ' \|  _| | || \ \ / |) | _ \
 |___|_||_|_| |_|\_,_/_\_\___/|___/
  Build Script

[INFO] check_environ: Checking environment...
[INFO] check_prereqs: Checking for dependencies...
[INFO] go_get: Downloading `gdm`...
[INFO] go_get: Retrieving dependencies with `gdm`...
[INFO] build: Starting build for linux/arm64...
[INFO] build: Using Go version: 1.7.3
[INFO] build: Using git branch: master
[INFO] build: Using git commit: aff2d7ce649ead1dbb5fd930b09c6e037ef31e0f
[INFO] build: Sending build output to: /go/src/github.com/influxdata/influxdb/build
[INFO] build: Using version '1.1.0' for build.
[INFO] build: Building target: influx_stress
[ERROR] run: Command 'GOOS=linux GOARCH=arm GOARM=6 go build -o /go/src/github.com/influxdata/influxdb/build/influx_stress -ldflags="-X main.version=1.1.0 -X main.branch=master -X main.commit=aff2d7ce649ead1dbb5fd930b09c6e037ef31e0f" ./cmd/influx_stress' failed with error: # github.com/influxdata/influxdb/cmd/influx_stress
warning: unable to find runtime/cgo.a
/usr/lib/go/pkg/tool/linux_arm64/link: running gcc failed: exit status 1
gcc: error: unrecognized command line option '-marm'; did you mean '-fasm'?

Eventually a had the same problem but finally I could compile and execute python build.py --package just fine following this steps GIST. I'm also finishing a Dockerfile to automate this process with an Alpine image, I post it when it's ready.
Hope it helps.

Hello!
ARM64 is rising server platform and we use it a lot. Any chance to get more attention to this issue, please?
Thank you!

Want to add to previous comments, that except server platform i faced same problem on SBC (custom Espressobin), which is also ARM64.
I am using influxdb for monitoring/analysis of solar energy system efficiency, and running it on other platforms is suboptimal, as ARM64 is most energy efficient for such workload.

Time to reopen this for influxdb 2? :)


Rebase dekn#8065

To address CVEs https://github.com/plotly/dekn/issues/8065

No more high or critical CVE:
cnb/buildpacks/paketo-buildpacks_pip-install/5.4.0/bin/run (gobinary)
=====================================================================
Total: 5 (UNKNOWN: 0, LOW: 0, MEDIUM: 5, HIGH: 0, CRITICAL: 0)

I created a new main from the latest 5.3-sp-release branch and so now there are conflicts that must be addressed. I approved to soon.

Ok, I rebased from main. Could be ready to merge


Using Orthogonal initializer in dense layer with backend set to fp16 gets stuck

System information

OS Platform and Distribution: Windows 10 64 bit
TensorFlow installed from binary
TensorFlow version (use command below): 2.3.1
Python version: 3.7.6
CUDA/cuDNN version: 10.1 / 7.6.5
GPU model and memory: 2060 super, 8GB

Describe the current behavior
Using Orthogonal kernel initializer in dense layer with backend set to fp16 execution gets stuck during initialization. CPU runs at 100% and nothing happens. Changing initializer to Zeros fixes this. The same Orthogonal initializer in convolutional layer works fine.
Standalone code to reproduce the issue
import tensorflow as tf
import numpy as np

class SNetwork(tf.keras.Model):
    def __init__(self):
        super(SNetwork, self).__init__()

        self.conv1 = tf.keras.layers.Conv2D(filters=32,
                                            kernel_size=(8, 8),
                                            strides=(4, 4),
                                            padding="same",
                                            input_shape=(96, 96, 3),
                                            kernel_initializer=tf.keras.initializers.Orthogonal(np.sqrt(2)),
                                            bias_initializer=tf.keras.initializers.Zeros(),
                                            activation="linear")

        self.flatten = tf.keras.layers.Flatten()

        self.a_dense = tf.keras.layers.Dense(512,
                                             kernel_initializer=tf.keras.initializers.Orthogonal(np.sqrt(2)),
                                             bias_initializer=tf.keras.initializers.Zeros(),
                                             activation="relu")

        self.a_out = tf.keras.layers.Dense(9,
                                           bias_initializer=tf.keras.initializers.Zeros(),
                                           activation="softmax")

    def call(self, inputs):
        x = self.conv1(inputs)
        x = tf.keras.layers.LeakyReLU()(x)
        x = self.flatten(x)
        x = self.a_dense(x)
        x = self.a_out(x)
        return x

tf.keras.backend.set_floatx("float16")
tmp = np.zeros((1, 96, 96, 3), dtype="float16")
net = SNetwork()
print(net(tmp))

Was able to reproduce the issue. With TF v2.3, code runs indefinitely.
Whereas with TF-nightly, it throws an error stating NotFoundError: Could not find device for node: {{node Qr}} = Qr[T=DT_HALF, full_matrices=false]. Please find the attached gist. Thanks!

Facing some error in both Tf Nightly and Tensorflow 2.5 version while trying to reproduce your issue, please find the attached gist. Thanks!

Facing some error in both Tf Nightly and Tensorflow 2.5 version while trying to reproduce your issue, please find the attached gist. Thanks!

I think that is the expected behavior. You get the exception saying that you can’t use orthogonal initializer with half precision computation. Because there is no HALF kernel for QR decomposition. The problem with TF version 2.3 was that there was no exception. It would just get stuck in an infinite loop.

If it is the expected behavior, can we close this issue then. Thanks!

I don't know who is responsible for writing kernels. It would be nice to be able to use orthogonal with half precision. But I'm guessing this is not a bug any more. So yes. You can close this issue.


Why not wheel?

I observed that the package is using sdist. My question is why not use wheel? Considering all the advantages provided by wheel.

What advantages does a wheel provide over sdist when there are no precompiled binary extension modules?
(anyways I think a future version of twine or pip or whatnot is supposed to auto-wheel-ify packages all the time anyways?)

I think (not entirely sure of this) that in our case, the main advantage of a wheel is it decouples the building from the installing to certain extent. I think it would have prevented the bug a couple months ago where I used a feature in setup.py that required a newer version of setuptools, but, it turns out, some people using absl end up with a very old setuptools version from their distro. I think wheels would have prevented that.

That makes sense.  Easy enough to package up as a wheel for future uploads.

No particular reason. Just lack of time to figure it out.
On Thu, May 30, 2019, 5:35 AM Ruturaj<EMAIL_ADDRESS>wrote:

I observed that the package is using sdist. My question is why not use
wheel? Considering all the advantages provided by wheel.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/abseil/abseil-py/issues/105?email_source=notifications&email_token=AIEXQ6VBUNXJBSXDUN7WXETPX7CYTA5CNFSM4HREWCW2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GWW2FUA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIEXQ6XSI4EH6MWDKK3WIG3PX7CYTANCNFSM4HREWCWQ
.

I see that a new release of abseil-py has gone out without a wheel. Probably an oversight more than anything else. Would it be a good idea to setup a repeatable PyPI release process or playbook document? It can either be a README, or a Makefile, or a script or perhaps Bazel can do it (might be more complex).

Is there any chance this issue will be re-opened or addressed anytime soon?

Hi, we just pushed out a new release 0.10.0 including a wheel for Python 3. Let us know if you see any issues.
Closing.


gork ai support in ollama

What model would you like?
https://huggingface.co/xai-org/grok-1

Closing as a dupe of #3222