Latest 22.03 Doesn't boot on the R4S 1GB model

(as the title suggest)

Suspecting the UBoot update but unfortunately I have no 1Gb device to test
Let me know if this one is working : https://github.com/anaelorlinski/OpenWrt-NanoPi-R2S-R4S-Builds/releases/tag/OpenWrtAO-22.03-20220819

I'll try.
Is there a way I can compile an up to date version with the previous UBoot if it works?
I shouldn't have cheaped out in buying a 1GB model. At the same time,, never ever will I need more than 1GB of memory for my home router...

If it's linked to uboot it's easy. Just replace openwrt-22.03/patches/package/uboot-rockchip with the one from branch 21.02

No dice either for the previous version.
I'll compile my own with UBoot from 21.02 and keep you informed!
Thanks

That's not good news then because the version I pointed you to is supposed to be using the previous uboot.
Let me know if it works with that one : https://github.com/anaelorlinski/OpenWrt-NanoPi-R2S-R4S-Builds/releases/tag/OpenWrtAO-22.03-20220428
It was using the big patchset of immortalwrt, and later I simplified it to get closer to openwrt mainline.

So the image I compiled while replacing UBoot from 21.02 worked (it booted).
Why I want  to upgrade to 22.03 is that I want top redo my config fresh.
It is said that 22.03 upgraded to firewall4 (whatever that means). If I flash 22.03 now and re-do manually my config, will I be able to upgrade future 22.03 releases only by flashing while "keeping current config" or this release still is using things from 21.02?
First time I am upgrading a major version of OpenWRT, just asking..

OK definitely linked to uboot upgrade. I will check if I can find what could be the problem, but not easy without the device.
If you configure the firewall using /etc/config/firewall or the UI there should not be major changes from 21.02 to 22.03. If you have custom firewall rules using iptables then it might be more complicated.
I cannot confirm that upgrades keeping config using my builds work properly. My strategy regarding upgrades is different, I maintain a shell script that connects to the R4S over ssh and recreates the config by running many uci commands and uploading files to /etc/

By chance do you have a serial console attached ? I would like to check logs of the bootloader

Hey I will retry tonight with your builds. I think one of my SD cards was acting up.
In the meantime I was able to build my own and smoothly upgrade from 21 to 22 without any issues.
Sorry for the confusions and I'll keep you informed

Could you try one of the latest builds to know if it boots ?

Hey I'll try tonight 🙂

@anaelorlinski  Hi, I am new to github and coding. However, I can download the build and flash to my SD card for testing. I have the R4S 1GB version.

@mikegleasonjr  Would you mind sharing your build that you used for your R4S 1GB ?

@anaelorlinski I just tried your build OpenWrt 22.03 2022.08.19 on my R4s 1GB and only the pwr light is on. The sys, lan and wan show no activity.

openwrt-rockchip-armv8-friendlyarm_nanopi-r4s-squashfs-sysupgrade.img.gz
@rpp293 there you go. A mini version with Cake QOS, AdGuard, DDNS and Luci...

There was a new commit from friendlywrt. I will check it in a few days if it works on my R4S 1GB
https://github.com/friendlyarm/friendlywrt/commit/55a44722b9fc6736cf3046f9b5fac16cfdc42383

@anaelorlinski
* OpenWrt-AO-NanoPiR4S-mini-22.03-20220922-squashfs: doesn't boot, SYS light never comes up

* OpenWrt-AO-NanoPiR4S-mini-22.03-20220919-squashfs: doesn't boot, SYS light never comes up

* OpenWrt-AO-NanoPiR4S-mini-22.03-20220908-squashfs: doesn't boot, SYS light never comes up

* OpenWrt-AO-NanoPiR4S-mini-22.03-20220830-squashfs: doesn't boot, SYS light never comes up

* OpenWrt-AO-NanoPiR4S-mini-22.03-20220819-squashfs: boots !

Confirms that the uboot upgrade did broke 1Gb support. I will revert it for now since the added value of the new version is close to nothing, and I will try to grab a cheap 1Gb device to do further testing

@anaelorlinski
Send me a paypal link to donate for the purchase

@anaelorlinski
Send me a paypal link to donate for the purchase

https://www.paypal.com/donate/?business=8XQTGXAHEAKPY&no_recurring=0&currency_code=EUR

Thanks @mikegleasonjr for donation I ordered a 1Gb model

OpenWrt 22.03 2022.09.27 should work properly in 1Gb model

@anaelorlinski  I plan to test on my spare 64GB SD card later this weekend.
So these are the steps I use to flash the OpenWrt-AO-NanoPiR4S-full-22.03-20220922-ext4.zip file
Use command prompt to reformat the disk partition (SD Card)
Diskpart
Select Disk 2 (example- select the disk number for the sd card)
Clean
Create partition primary
format fs=ntfs quick or
Reformat as exFat - using gui - right click
https://www.balena.io/etcher/
Extract image file and use the above software in link to flash
Are you using a different method to flash?

@anaelorlinski I plan to test on my spare 64GB SD card later this weekend.
So these are the steps I use to flash the OpenWrt-AO-NanoPiR4S-full-22.03-20220922-ext4.zip file
Use command prompt to reformat the disk partition (SD Card) Diskpart Select Disk 2 (example- select the disk number for the sd card) Clean Create partition primary format fs=ntfs quick or Reformat as exFat - using gui - right click
https://www.balena.io/etcher/ Extract image file and use the above software in link to flash
Are you using a different method to flash?

Please use the latest version available! i released 2022.09.28 since then
You don't need to format the card before, just use balena etcher to flash the card and everything should be fine!

[ ]  check this : friendlyarm/friendlywrt@55a4472

commit works fine with 1GB and 4GB version. tested both 😉

@anaelorlinski I plan to test on my spare 64GB SD card later this weekend.
So these are the steps I use to flash the OpenWrt-AO-NanoPiR4S-full-22.03-20220922-ext4.zip file
Use command prompt to reformat the disk partition (SD Card) Diskpart Select Disk 2 (example- select the disk number for the sd card) Clean Create partition primary format fs=ntfs quick or Reformat as exFat - using gui - right click
https://www.balena.io/etcher/ Extract image file and use the above software in link to flash
Are you using a different method to flash?

Please use the latest version available! i released 2022.09.28 since then You don't need to format the card before, just use balena etcher to flash the card and everything should be fine!
Hello, I wrote to you by mail, I need help for a reward, please check the mail

Latest release 2022.10.19 has updated u-boot to 2022.07 with latest friendlywrt patches
Tested it boots successfully on a R4S 1Gb device. Thanks @mikegleasonjr and @ManuVice


Optional SSH Support for DSR Processing

Closes #3329
Code Changes

[x] Create the config variables for ssh config
[x] Create a boolean to require ssh on specific connectors
[x] Functionalize the creation of an SSH tunnel as required
[x] Update the query config to use the SSH tunnel as required
[x] ~Look at the prospect of having the generate and classify commands use the SSH tunnel in this first iteration~
[x] Add SSH URI for both Postgres and RedShift

Steps to Confirm

[ ] Set the environment variables as defined in this 1Password secure note - (these will all be exchanged with some proper test credentials)
[ ] If on an M1, add these commands to the Dockerfile to handle a known issue
[ ] nox -s dev -- shell
[ ] Create a fake dataset: fides user login && fides push
[ ] Connect to the db behind the vpc via the bastion host with these credentials, connecting to your pushed dataset
[ ] Validate the connection test succeeds

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[x] Update CHANGELOG.md
[ ] For API changes, the Postman collection has been updated

Description Of Changes
This is currently set up to only support a single bastion host in order to get moving more quickly. In a follow on change, we will likely create an SSH connection config type to support multiple ssh requirements.

LGTM @SteveDMurphy — would be good to get a follow-up ticket in for some more thorough testing

Manual testing looks good and added #3562 for the testing follow on - thanks @seanpreston and @RobertKeyser !!
Will merge once checks complete


Underline does not show on initial load for customized Tab Bar (v0.6.7)

<ScrollableTabView>
  renderTabBar={tabBarProps => <ScrollableTabBar {...tabBarProps} />}
...

+1

+1

the same issue, but for default scrollableTabView.

the same. .. did you solve this issue ?

does someone have any solution? same issue for

same issue here :(

Downgraded to 0.6.6 and the first tab opens up fine.

replace this.props.scrollValue._value to this.props.scrollValue.__getValue() can resolve this issue.

This also happens on v0.8.0. @skv-headless, i know you don't want to add tabBarStyle prop but with this issue it won't be possible to remove the bottom border.

same issue here on  v0.8.0. @skv-headless.
I manually replace this.props.scrollValue._value to this.props.scrollValue.__getValue() and resolve this issue.

The suggested this.props.scrollValue.__getValue() seems to fix the problem. Just wondering but why isn't it implemented yet?

@skv-headless we are expecting you have plan checkin the fix into v0.8.next release, to avoid we re-package or find not ideal workaround from caller side.

Fixed in master, will be released later today


Error message displays computed name '[attr]' instead of key value

🔎 Search Terms
computed property, error message
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about computed properties

⏯ Playground Link
https://tsplay.dev/WyV2bw
💻 Code
type Unit =
  | {
      name: string;
      stength: number;
    }
  | {
      name: string;
      magic: number;
    };

const createUnit = (
  name: string,
  attr: "strength" | "magic",
  power: number,
): Unit => {
  return attr === "strength"
    ? { name, [attr]: power } // <-- error here
    : { name, [attr]: power };
};

🙁 Actual behavior
Error message displays "Object literal may only specify known properties, and '[attr]' does not exist in type 'Unit'".
🙂 Expected behavior
Error message should display that "strength" doesn't exist on Unit. (and possibly even recommend "stength" instead)
Additional information about the issue
No response

I think this is a typo... "strength" vs "stength"

the error being raised is correct (because of the typo, as you spotted), but the error message is somewhat unhelpful and could indicate the issue better.

Ah, Gotcha. A little tunnel vision on my part.


No module named 'binwalk.main'

I tried installing directly from the source and also sudo apt install binwalk, all with this error
$ binwalk
Traceback (most recent call last):
  File "/usr/bin/binwalk", line 2, in <module>
    from binwalk.__main__ import main
ModuleNotFoundError: No module named 'binwalk.__main__'

was this resolved?

Oh about that, I haven't encountered that problem since I switched from kali to parrot later on, thank you very much for your interest in this issue!


Fastpack hangs when run in CI

When we run fastpack as part of our build, it hangs.
The build is driven by maven, which uses frontend-maven-plugin to install nodejs+yarn and then runs them. Package.json specifies script fast that runs fastpack.
https://github.com/baremetalfreak/fpack-maven-hang contains a minimal case to reproduce the problem. Note that I had to install make into the image because fpack postinstall depends on it. I think it should be removed if possible. Many CI images do not have it.

Note I have fixed node and yarn versions in the engines section of package.json. They are most likely insignificant and you can just remove them and still be able to reproduce the issue.

resolved by release 0.5.3


Update ngen-build Github Action to make sure 1.x numpy is used

Updating Actions depending on numpy install to use pre-2.0 numpy version.  Currently, CMake will raise an error if the found numpy version is >= 2.0.0.
Changes

Update "Get Numpy Python Dependency" of internal ngen-build action to make pip installed numpy<2.0.0

Notes
This is going into the pending release-0.3.0 branch.  The included changes will eventually make their way into production and master as part of other steps in the release process.
Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows project standards (link if applicable)
[ ] Passes all existing automated tests
[x] Any change in functionality is tested
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged / future todos are captured in comments
[x] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[x] Reviewers requested with the Reviewers tool :arrow_right:

Target Environment support

[x] Linux (Ubuntu 22.04 Action runner)
[x] MacOS (MacOS 12 Action runner)

I'm pretty sure that changes to actions within a PR aren't applied when actions are run for the PR.   So we should expect to still see the failures in the checks that this PR is intended to address.
Someone correct me if I'm wrong though.

This doesn't stop a downstream workflow from requesting numpy>=2.0.0 via inputs.additional_python_requirements.

Yeah, good catch @aaraney.  I've modified the approach.
I wanted to use an absolute path, and for lack of a more obvious place, I put the file in the root directory.  Sanity check me to make sure I'm not failing to think of a good reason we should avoid that (or just a good reason to put it somewhere else).


US Payroll tax 2020

Docs Build status updates of commit c4f1367:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-gp/payroll/US19JanTaxR1.md
:white_check_mark:Succeeded
View

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.


Dev dependencies failing on npm test

When I pull in enzyme or sinon.js and try to run npm test I get a ton of errors that all look more or less like this.
WARNING in ../~/sinon/lib/sinon/assert.js
Critical dependencies:
216:25-32 require function is used in a way in which dependencies cannot be statically extracted
@ ../~/sinon/lib/sinon/assert.js 216:25-32
It seems like there is an error for every file that it tries to load.

Looks like someone else has reported this issue here: https://github.com/airbnb/enzyme/issues/47

The sinon.js bug might be unrelated

Closing this for now.


Create a api for update a listing card data

1-Name (string)
2-description (string)
3-IMG-URL (array of objects)
4-social media URL (Array of objects) should be in key-value pair
step 1- fork the repo
step 2 - npm i && npm start
step 3 - add your code inside the backend folder
step 4 - create a pull request for code review

Hello, I want to work on this issue, can you assign this to me, please

is this issue still open ?


5-30 period of no audio right after joining room

Describe the bug
5-30 second period of no audio after joining a room. The delay seems pretty random, sometimes I am able to hear audio immediately sometimes not.
To Reproduce
Steps to reproduce the behavior:

Click on a room to enter
Wait for audio to finally start playing

Expected behavior
Audio begins immediately after joining the room
What device are you on?
Macbook Pro

i am able to reproduce this. doesn't happen all the time and i think switching clients multiple times causes this

I wonder if it is just lag when trying to connect to +20 speakers

I have a thing thats synchronous right now, that I should probably switch to async that might solve this

@benawad I can confirm this, so what happens is, when you join a room, if somebody is already talking and you join, you won't hear their sentence. once they stop and start talking again, you hear it. That is weird. not sure if I got it right tho


Multiple "local" strategies

Hi
This is not so much a bug, but rather a question on if something can be achieved using the current implementation.
Anyway, I'm trying to implement an kind of online "mini shopping mall", using express, sequelize over mysql and, ofc, passport. As usual, there's a table for customers but also a table for the several companies selling their stuff on the site.
My idea, if possible, is to have 2 LocalStrategies, one for each of the above mentioned user types. Of course, customers and sellers will have two completely different interfaces, so I was wondering if it possible to have two LocalStrategies plugged into passport, and then validate authentication based on each of them (so that if a customer tries to access the companies' backoffice pages, they get denied access).
I've checked another bug report talking about multiple strategies, but it seems to me that, once a user is logged in, passport just cares that he is authenticated, not the method he used. Also, i was left with the idea that strategies are accessed by identifier, so using two of the same type would be tricky/not possible.
Thanks in advance, and congratulations on your great work on passport
cheers

@shazly we have figured out a work around for this (sorry that it is two years too late!). What we did was in our serialize function, we used the if-then statement described above. If it was a customer, we would take their ID and prepend a "a" in front of it. For example, a customer with an id of 112 would have a serialization of a112. If it was a company, we would prepend a "b" in front of their ID. So if a company had an ID of 112, it would be b112.
In our schemas, the ID's are primary keys, so no two companies will have the same ID, nor would customers have the same ID. With this prepending of an "a" or "b" allows us to ensure each serialized ID will be unique.
This also allows us to deserialize differently based on the ID. At the start of the deserialize function, we took in the id parameter and did an if-then statement for id.charAt(0). If it was an "a" we did one thing, and if it was a "b" we did another thing.
Further, to do the database calls with an id, we did id.substr(1), to get only the id.
Hope this helps!

@shazly That's a great work around!  Thank you so much for posting!  I will try implementing this now.  I'm adding a second type of user to a website for an event and ran into both of the problems on this thread.
Cheers!

Hi
I have created a login medium using passportjs with mongodb, it works fine. But, now i want is to redirect pages according to the user type, i have two types of users: employee and customer. I have used only one schema in mongodb.. when registering a new user at that time only the user type is decided that the new user would be an employee or customer. I am new to nodejs.. i am confused about how i can achieve it. Please suggest.

Hi
I have created a login medium using passportjs with mongodb, it works fine. But, now i want is to redirect pages according to the user type, i have two types of users: employee and customer. I have used only one schema in mongodb.. when registering a new user at that time only the user type is decided that the new user would be an employee or customer. I am new to nodejs.. i am confused about how i can achieve it. Please suggest.

I got same problem @noviceC....did you any solutions?

@kyle-rader  your solution just worked for me  now in 2018 thank you very much it saved my day

I found another solution similar to the one that @kyle-rader offered, and refactored code from this link below. Credit to Matthew Payne:
https://stackoverflow.com/questions/17954606/how-to-implements-two-strategies-with-passportjs/17955378
What you need to replace in the code below to integrate this with your application:

"model1" and "model2" <= Unique identifiers used to add uniqueness to the session constructor
"Model1" and "Model2" <= Your two different user models
localStrategy.password <= Replace this with the object access key of your password and other sensitive info. See [projection] parameter of http://mongoosejs.com/docs/api.html#find_find (do not remove the single quotes around this value or the hyphen prefixed to this value from the code below)

function SessionConstructor(userId, userGroup, details) {
    this.userId = userId;
    this.userGroup = userGroup;
    this.details = details;
}

passport.serializeUser(function (userObject, done) {
    // userObject could be a Model1 or a Model2... or Model3, Model4, etc.
    let userGroup = "model1";
    let userPrototype =  Object.getPrototypeOf(userObject);

    if (userPrototype === Model1.prototype) {
        userGroup = "model1";
    } else if (userPrototype === Resident.prototype) {
        userGroup = "model2";
    }

    let sessionConstructor = new SessionConstructor(userObject.id, userGroup, '');
    done(null,sessionConstructor);
});

passport.deserializeUser(function (sessionConstructor, done) {

    if (sessionConstructor.userGroup == 'model1') {
        Model1.findOne({
            _id: sessionConstructor.userId
        }, '-localStrategy.password', function (err, user) { // When using string syntax, prefixing a path with - will flag that path as excluded.
            done(err, user);
        });
    } else if (sessionConstructor.userGroup == 'model2') {
        Model2.findOne({
            _id: sessionConstructor.userId
        }, '-localStrategy.password', function (err, user) { // When using string syntax, prefixing a path with - will flag that path as excluded.
            done(err, user);
        });
    }

});

Hi @jaredhanson I have this same problem but unfortunately everything I have tried does not work.  I have two user models, one for Users another one for Restaurant
My users controller
   authenticate: passport.authenticate('userLocal', {
        successRedirect: '/',
        successFlash: 'Logged in',
        failureRedirect: '/users/login',
        failureFlash: 'Failed to loginNNN'
    },console.log('userrrrrr')),

My restaurant controller
 authenticate: passport.authenticate('restaurantLocal', {
        successRedirect: '/restaurant/dashboard',
        successFlash: 'Logged in',
        failureRedirect: '/restaurant/login',
        failureFlash: 'Failed to login'
    }, console.log('businesssss')),

In both models, i set username field to email
userSchema.plugin(passportLocalMongoose, {
    usernameField: 'email'
});

I have tried several things with my passport.use, but nothing seems to work, including the solutions here and on starkoverflow. Please help me, I am stuck and need to move forward with this project. It's being 3 days now.
When i try to login both accounts it fails, like they don't exist, but they do. Thank you.


Inline edit button is not translated

When I set translation, edit button is not translated (title attribute of tag).

You can send a PR. :)

Sent :-)


Rework metadata handling to use the new test config structure for sta…

…ndard tests
Notes to reviewers

Only a few tests are actually checking metadata (and thus outputs). Technically this is a regression but @ruchim is working to figure out the right values to drop in on all of these, so didn't seem worth the time to put it in now
The Centaur code is complicated enough now that it should have self-tests, I plan on attacking that soon in #38
There's a fairly janky comparison between values supplied in the test file and from metadata which limits comparison to strings, numbers and booleans. At the moment that satisfies our needs, we can readdress when it does not
I left a FIXME in there (you'll know it when you see it), I didn't want that to block getting this back over to Ruchi
I apologize for all of the text file removals and moving code around
I switched from using Lenthall's config wrapper to a library called configs, both because it made my life easier in a couple of spots and also as part of my larger desire to start doing away w/ lenthall

@ruchim @kshakir

LGTM 👍

👍 Running it now, and I'll take note of things we can iterate upon without holding back this PR. Changes are easy to follow :)


Feat: As a customer, I want to get the stock notification for a product when it's out of stock, and I can manage my subscription

Introduce components, selectors, ngrx and occ-services for notification preference, my interest and stock notification.
Breaking Changes:
Add new states in user-state.ts.
Closed #2285, #2268 and #5123

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 4 committers have signed the CLA.:white_check_mark: Qingyu-Yang:white_check_mark: Terry01Tan:white_check_mark: Seven7hang:x: Jerify02Jerify02 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Close this pr due to it include some commits with unrecognized author/committer info, use https://github.com/SAP/cloud-commerce-spartacus-storefront/pull/5292 to replace.


Adding edit_article and delete_article

Adding functionality to Edit and Delete buttons in my_articles
Adding EditArticleForm form and edit_article html and css files
Editing views.py, urls.py and my_articles.html files

Resolve #89

LGTM Please merge conflicts

@finziamit Another time


New version: charmbracelet.soft-serve 0.7.5

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Automated with GoReleaser
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Links\soft.exe returned exit code: 1

(Automated response - build 887.)


href="#"  taking  homepage

I am using angular ui-route , with angular-xeditable , below is the editable-text
{{ profile.firstname || 'empty' }}
But when i click the link , insted of showing the text box , it redirects to the home page defined in ui-router.Could you please help

Is this still an issue?

@ckosloski YES!

Please fix this.

If I place the element outside a form tag, then it works. I think the editable-form controller is responsible for this misbehaviour, somehow related to https://github.com/vitalets/angular-xeditable/pull/414 .

Can you provide a jsfiddle or plunkr showing your issue?

Yes.
JsFiddle with form element: https://jsfiddle.net/tj8j8qrh/23/ (not working)
Same JsFiddle without form element: https://jsfiddle.net/tj8j8qrh/24/ (working)

When using editable-form, you have to have a button to show the form.  See the documentation.
Here is your updated jsfiddle with the edit button.
Or, I suppose in your case, you could add an on-click event to the href to show the form.

@eugef The question is answered, please close.


Heatmap gets cut off on top

Heatmap doesn't fill the entire map, instead it fills in a certain rectangle and stops abruptly.

May I see the screenshot

It only happens like 20% of the time, which is very weird. I'm using the radius distinct mode. (I think the cut off top of the map is also a little bit visible in the used example of the homepage).

Okay.. I see. I will check this problem when I update to swift5, and reconstruct the code.

having the same issue. please help me out


Stop partprobing so much

IML currently runs partprobe every time it kicks off a device scan.
It does this because it doesn't know if the other node in an active / passive pair has any new partitions that have been created / destroyed.
A side effect of this is that udev thrashes back and forth during a partprobe and reading devices is non-deterministic. There are two ways we can solve this in tandem.

[x] Use udevadm settle to wait for the event queue to empty
[ ] Use shared device state to inform the other node of any new partition creations / deletions. By doing this, we only need to partprobe in those specific situations instead of every full scan, which will considerably lower the churn.

Partprobe has been completely removed. We will need to update the docs to notify users that this is a now a manual activity when creating / destroying zpools.
We will add this back in a more measured fashion when we take on fully managed ZFS.


Move SPLIT_REDUCEOP into kernel.py

Need to clean up. This way more than 1 extra kernel can be created, for example Tensor.rand(1, 5, 4, 255, 256, 256).sum() creates 2 extra kernels although it currently raises an error.

My split stuff shouldn't be here, the same Kernel should deal with the added SINK.
I've got a branch with this working, gonna make a PR this week if you want to build on that.


This should be removed

Type of issue
Outdated article
Description
We should be recommending incremental source generators instead.
Those docs will likely live in the roslyn repo. We'll link to that section, and continue to point out that it's an advanced topic.
Page URL
https://learn.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/source-generators-overview
Content source URL
https://github.com/dotnet/docs/blob/main/docs/csharp/roslyn-sdk/source-generators-overview.md
Document Version Independent Id
f1ed9873-3e29-b4bd-2dbb-44dd9a05d790
Article author
@BillWagner
Metadata

ID: 99a4410c-4c8d-0107-845b-9a951bb76682
Service: dotnet-csharp
Sub-service: roslyn-sdk

Related Issues

/cc @KathleenDollard @333fred


option to disable built-in image libraries

I would like to have an option(s) to disable apg, jpgd, and lodepng. I already have other (usually superior) libraries for these image formats in my framework and yours add unnecessary code size. Thanks.

The existing loaders are fuzzed (many aren't - so we aren't even permitted to use them), don't introduce large/complex to compile 3rd party dependencies or licensing issues, and have relatively small code size. They work well enough for the command line tool. Most users use .PNG and lodepng.cpp is an actively maintained library:
https://lodev.org/lodepng/
You can call the compressor directly (utilizing the basis_compressor class) and specify your own images by filling in the m_source_images/m_source_mipmap_images arrays directly with your image data. This is what our largest users do.
You can also modify this function in basisu_enc.cpp/.h to call your library:
bool load_image(const char* pFilename, image& img);
We will be exposing simpler (C-style) API to use the compressor in early Jan.
Let me know if you have any other suggestions.

Apologies I was not clear enough.
I do not want to add/support other loaders in basis_universal. Instead, I wish to have an option to skip lodepng etc. I am already using m_source_mipmap_images arrays.
My intention is to reduce binary size - have a cmake option and/or a preprocessor macro to remove the loader functions and cpp files from the library.

Another reason to add the option is to prevent linking errors when using basis_universal as a static library together with other libraries which may also have lodepng etc.
(I do not have this particular issue now, I am just trying to give additional motivation)

Actually, I like this idea. I will do it after the Jan. release.
Thanks!


Stop action when player equips item/eats a food

Just an example when player attacks an NPC
https://i.gyazo.com/f6fdde1a972b9efbbf4d71946adbc372.mp4

So this seems to just reset the combat target which can be done. Is this logic also applied when eating food? (combat is reset when you eat food or drink potions?)

This seems to just reset the combat target, which can be done. Is this logic also applied when eating food? (combat is reset when you eat food or drink potions?)

Yeah, just tested it out on OSRS - Equipping item, eating food, drinking potions & dropping items resets the combat target

Fixed in https://github.com/Tomm0017/rsmod/commit/08b2c7bc998bffadefc0f448f5af20d9fca671cf


Support for worldspace dilation specification in the VDB Activate SOP.

VDB Activate is also switched to working with tiles, which changes behaviour
but the old behaviour is likely a bug.  Houdini's version will also make
this change.

Looks like the CI is failing due to some casting warnings as errors.
If I'm reading the code correctly, if "expanddist" and "expand" have different signs, will it not do a dilation followed by an erosion?

Looks like the CI is failing due to some casting warnings as errors.

Also some whitespace errors

Looks like the CI is failing due to some casting warnings as errors.

Yep, hopefully fixed along with the white space.
I really think this warning should not exist, it is a very dangerous warning.  The "fix" of adding static_cast doesn't actually affect code safety and instead hard-codes the down conversion.  If some future version of OpenVDB were to change the dilate functions to take a 64bit int; this code would continue artificially constrict the type to 32bits.

If I'm reading the code correctly, if "expanddist" and "expand" have different signs, will it not do a dilation followed by an erosion?

That is correct.  We spent some time wondering what the correct solution is in this case.   Importantly, we wanted 0 to be a no-op in all cases allowing one to set both and have it do the maximum, as that is a common requirement.  This seemed the best choice for when someone has a confused input.

A suggestion at the meeting is that we should generate a warning when this happens.

I've added a warning if the signs mis-match.

A suggestion at the meeting is that we should generate a warning when this happens.

Was my suggestion discussed? Happy either way, but am curious if you had specific advice for ws/is options like this for the future.


StopClick option does not work in Opelayers 6.4.2

Describe the bug
I am trying to disable programmatically the ability to put a point (either point of a line or polygon) in the map through either the draw object or the map one with the click of a button. Looking at the documentation for OpenLayers 6 draw object there is an option to do this by adding:
stopClick boolean (defaults to false) : Stop click, singleclick, and doubleclick events from firing during drawing.

to the draw object constructor which is also present in 6.4.2.
But on implementation it did not work as expected.
I also searched on GitHub if this was a bug or opening possible one but I could not find any for this specific version of Openlayers, even tho a bug similar was fixed in version 6.5.0 this bug was not present in Openlayers 6.4.2
Is there any other way to achieve this?
To Reproduce
Steps to reproduce the behavior:

Go to : https://codesandbox.io/s/min-zoom-forked-ix2i6
Try to click on the map
It is possible to draw a polygon or line even tho stopClick is set to true

Expected behavior
Point 3. should not be able to happen, and it should not be possible to click on the map.

stopClick is not intended to prevent drawing, it prevents a click event handled by the draw being propagated to the map and firing any listeners you have set on the map https://codesandbox.io/s/min-zoom-forked-dz3h8  Comment out the stopEvent: true and clicks on the map will be logged.  If you want to control when or where a click is handled by the draw interaction you will need to use a condition function such as https://codesandbox.io/s/min-zoom-forked-ei5sf

@mike-000 Thanks a lot! This works like a charm!


Identify and fix erroneous investigation feature

There's an investigations feature that is not being calculated correctly that I identified during a feature selection deep dive. Need to go back into this and re-identify it and fix it.

This has been moved to https://github.com/Chicago/lead-model/issues/1


localltunnel.me appears to be down

Any one knows of any other domains that have localtunnel-server hosted?
Any node.js hostings that will work for installing it there on my own (registering my own domain) (Joyent? Nodester?) ?
Thanks!

Seems down again.

I keep getting "504 Gateway Time-out". I worked fine until a few minutes ago. Could this be the same issue?


⚠ Carbubu has degraded performance

In 0cac743, Carbubu (https://carbubu.fr) experienced degraded performance:

HTTP code: 200
Response time: 7126 ms

Resolved: Carbubu performance has improved in fad2b51.


Unholy Functionality for Cataclysm

Adding the unholy functionality to support unholy builds in cata classic

Things I still have to add:
Dark transformation buff tracker, ams tracker, rune drift and gcd tracking
Things I have to fix:
Rune drift from 6 individual runes to 3 sets, dead zones for cata bosses, ghoul claws, synapse vs on-use trinkets, cata bombs


Allow numpy<2.0.0

Ensure that we can run using numpy<2.0.0
@Samoed do you have time to review this? Also would you be okay with being added as a collaborator to mteb?
Checklist

[x] Run tests locally to make sure nothing is broken using make test.
[x] Run the formatter to format the code using make lint.

I've tested this, and I can confirm that it fixes the issue. I'd be very excited to become a collaborator on mteb!

Wonderful - great to have you!


Py4JJavaError: An error occurred while calling o226.save. : java.lang.NoClassDefFoundError: scala/Product$class

i am getting this error
Py4JJavaError: An error occurred while calling o226.save.
: java.lang.NoClassDefFoundError: scala/Product$class
in this step
write ratings data
ratings.write.format("es").save("ratings")
num_ratings_es = es.count(index="ratings")['count']
num_ratings_df = ratings.count()
check write went ok
print("Dataframe count: {}".format(num_ratings_df))
print("ES index count:  {}".format(num_ratings_es))
plz help me

I also got the same error

sorry for being late i also had this issue, the cause of the issue is that spark 3 is compiled in scala 2.12 , and the connectors in elasticsearch are compiled in 2.11, since elasticsearch website doesn't have that in their site (for some reason like wtf ?), u can search that in maven and install it manually,
https://repo.maven.apache.org/maven2/org/elasticsearch/elasticsearch-spark-30_2.12/8.4.3/elasticsearch-spark-30_2.12-8.4.3.jar
then check the local maven repo
/home/YourUserName/.m2/repository
either that or get a spark that is compiled in scala 2.11, which is spark 2.x versions but then the python version won't work cuz u will need python 3.4 or something which no longer supported , it's such a mean problem


Issues with Visual Studio 2013

There's an issue with upgrading the package 1.0.1 in VS 2013 (using .net 4.6.2 framework). The error message occured during Install-Package.
PM> Install-Package marten
Attempting to resolve dependency 'Newtonsoft.Json (≥ 9.0.1)'.
Attempting to resolve dependency 'Remotion.Linq (≥ 2.1.1)'.
Attempting to resolve dependency 'Npgsql (≥ 3.1.6)'.
Attempting to resolve dependency 'Baseline (≥ 1.1.0)'.
Attempting to resolve dependency 'System.Threading.Tasks.Dataflow (≥ 4.6.0)'.
Install-Package : 'System.Threading.Tasks.Dataflow' already has a dependency defined for 'System.Collections'.
At line:1 char:16

Install-Package <<<<  marten

CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

Any update on this one? You're the only one reporting this so far.

No activity, so I'm closing this.


Firefox 56 drop download speed if at the same time upload something.

Hi.
By the nature of my work, I often use cloud storage. With the release of Firefox 56, I noticed that if download and upload something, in the same time, the download speed drops 4-5 times. If upload is stopped then the download speed immediately grows. My real speed 100/100Mb. If you use ESR or a browser v55 or lower then nothing of the sort happens. I think that this is somehow connected with Firefox electrolysis. Advise what can be done?
PS: user.js latest version.

Hi

Advise what can be done?

set network.http.throttle.enable to false

YES! It works! Thank you very much. You do not know what caused the speed drop in FF56?

@earthlng What's a good summary of what that pref controls?

You do not know what caused the speed drop in FF56?

it's a new feature that throttles downloads (+ a few other things) when something more "important" happens, like a page load or an upload apparently.

@earthlng Thank you!


BitPacking functionality

A BitPacking namespace with functionality useful for packing bits into a number.
I've done some performance testing as well. The winner were free functions, followed by functions in an object (name space) - this was 17% slower, but still great. This followed by a class with static functions, which was massively slower, and so I've decided to not use that.

Yes, it's part of how I store render states - this will be a separate PR, just need to finish up. But this functionality looked a good one to be put into a separate PR.

I'm all for separate PRs. Nice job on the performance investigation too. We should always keep perf in mind.


[Feature] Add wx.Button support for image direction

On adding an image to the button, method SetBitmap has second parameter dir to put the picture above the label (wx.TOP), on the left or right or below.
Adding of the line to the "Code to be inserted after", such as
self.myButton.SetBitmapPosition(wx.TOP)

doesn't help, because it's called (in __init__) before the image is assigned (in __set_properties).

I will look into this. Seems to be a useful feature that I did not know before...
As workaround, the master branch should work. There the "code to be inserted after" and also the properties code will be inserted after the SetBitmap call.

Btw. BitmapButton does have styles wxBU_LEFT/RIGHT...
In wxWidgets BitmapButton is just an alias for Button with a different constructor.
At some point in future, both widgets should be unified in wxGlade as well.

Ah, sorry, the LEFT/RIGHT styles are for the label alignment only.

First support is in the repository (branch master).
Test cases are missing. Generation for Perl and Lisp is just a guess...

It works very nice, thank you! Should I close this task?

"Pending" is the right label. I will close it when 1.0 is released in a few months.

1.0.0a1 is online.


Confusing best practices for cosmos periodic backups

Under Best Practices:

Change the default geo-redundant backup storage to ensure that your backup data stays within the same region where your Azure Cosmos DB account is provisioned.

Why would it be a best practice to configure backup storage to live in the same region as the cosmos db account? In the event of a disaster within the region I wouldn't be able to restore my data elsewhere.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 7519edea-aaa2-767f-909b-01c9bc94bc2b
Version Independent ID: e09da94d-dfd2-61f5-bd5b-538bf8fbf2d5
Content: Periodic backup storage redundancy - Azure Cosmos DB
Content Source: articles/cosmos-db/periodic-backup-storage-redundancy.md
Service: cosmos-db
GitHub Login: @kanshiG
Microsoft Alias: govindk

@rousseaujustin
Thank you for your feedback!
Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue, I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.
[Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1)
Thank you for your time and patience throughout this issue.


optimize ExpFloat64 random number generation

This PR intends to solve this:

It's actually giving pretty bad distribution to use pre-generated random values in this case... too bad, I'll come up with something else.


Unable to open object (object 'data' doesn't exist)

Hi I got this error. And I wonder how you preprocess your images
No protocol specified
=> no checkpoint found at '../out/attnet/feratt_attnet_ferattention_attloss_adam_ck_dim32_bbpreactresnet_fold0_000/models/model_best.pth.tar'
Traceback (most recent call last):
File "/home/haixuanguo/Documents/ferattention/train.py", line 296, in
main(params=args)
File "/home/haixuanguo/Documents/ferattention/train.py", line 154, in main
data = FactoryDataset.factory(
File "/home/haixuanguo/Documents/ferattention/torchlib/datasets/factory.py", line 176, in factory
data = fer.FERClassicDataset(pathname, 'ck', idenselect=idenselect, train=btrain )
File "/home/haixuanguo/Documents/ferattention/torchlib/datasets/fer.py", line 126, in init
self.data   = np.array(f["data"])
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "/usr/lib/python3/dist-packages/h5py/_hl/group.py", line 264, in getitem
oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5o.pyx", line 190, in h5py.h5o.open
KeyError: "Unable to open object (object 'data' doesn't exist)"

Hi I got this error. And I wonder how you preprocess your images
No protocol specified
=> no checkpoint found at '../out/attnet/feratt_attnet_ferattention_attloss_adam_ck_dim32_bbpreactresnet_fold0_000/models/model_best.pth.tar'
Traceback (most recent call last):
File "/home/haixuanguo/Documents/ferattention/train.py", line 296, in
main(params=args)
File "/home/haixuanguo/Documents/ferattention/train.py", line 154, in main
data = FactoryDataset.factory(
File "/home/haixuanguo/Documents/ferattention/torchlib/datasets/factory.py", line 176, in factory
data = fer.FERClassicDataset(pathname, 'ck', idenselect=idenselect, train=btrain )
File "/home/haixuanguo/Documents/ferattention/torchlib/datasets/fer.py", line 126, in init
self.data = np.array(f["data"])
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "/usr/lib/python3/dist-packages/h5py/_hl/group.py", line 264, in getitem
oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5o.pyx", line 190, in h5py.h5o.open
KeyError: "Unable to open object (object 'data' doesn't exist)"

I got this bug too. Did you solve it?


rosetta-cli version should return latest release

Fixes # .
Motivation
ROSE-251: rosetta-cli version should return latest release
Solution
See PR for details
Open questions

Review Error for GeekArthur @ 2022-04-07 15:17:48 UTC
User must have write permissions to review


merge package template from arlac77/npm-package-template

package.json

chore(devDependencies): update<EMAIL_ADDRESS>from template

Changes Unknown when pulling 2304f77b75b37f853566e33283360cfdbf383eb5 on template-sync-1 into ** on master**.

Codecov Report

Merging #37 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #37   +/-   ##
=======================================
  Coverage   89.55%   89.55%
=======================================
  Files          18       18
  Lines          67       67
=======================================
  Hits           60       60
  Misses          7        7

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 bc7d073...2304f77. Read the comment docs.


Adding custom splash screens

How to add splash screens to devices. Can have some corner cases (e.g. HDMI or SPI TFT). Include all the parts used (including plymouth config)
 Front conversations

Duplicate of #155


fix: Check cert and key pair

Description
Changes proposed in this pull request (what was done and why):

The tls cert misses a corner case when one uses a different cert/key pair. In such cases it should set appropriate condition

Changes refer to particular issues, PRs or documents:

Traceability

[ ] The PR is linked to a GitHub issue.
[ ] New features have a milestone set.
[ ] New features have defined acceptance criteria in a corresponding GitHub Issue, and all criteria are satisfied with this PR.
[ ] The corresponding GitHub issue has a respective area and kind label.
[ ] The follow-up issues (if any) are linked in the Related Issues section.
[ ] Adjusted the documentation if the change is user-facing.
[ ] The feature is unit-tested
[ ] The feature is e2e-tested

/test pull-telemetry-manager-build

/test pull-telemetry-manager-build


Support for inline-mode

Hi!
First, thanks for this library it really helps me to create a pair of bot telegrams.
Second, are you willing to implement or to accept pull request for support inline-mode? As you should noticed Telegram recently added this interesting feature for bots that I think it will fit into telebot.

Omw!

Great @tucnak if you need additional help for developing it or a testing platform just tell me. Thanks!


Mini rental forecast - covers 114 cities

Rental Forecast
Location

viz.py
data/model/rental
rental_predictions.ipynb
rental_pickle.ipynb

Details

created forecasting model for 114 cities

Committed Features

users can see rental price predictions for a 114 cities

 DS will create endpoint that shows rental predictions.

 DS will create endpoints for both web and iOS, utlizing the new data sets.


MAINT: special: use faddeeva for real-valued erf and ndtr

Reference issue

inspired by https://github.com/scipy/scipy/issues/19486
What does this implement/fix?

Route erf and ndtr calculations through faddeeva for real-valued arguments. Previously real-valued versions were from cephes and complex-valued versions were from faddeeva.

I hacked together a script to compare the implementations and it looks like cephes is superior to faddeeva here.

import numpy as np
import scipy.special as sc
from scipy.optimize import bisect

from mpmath import mp

rng = np.random.default_rng(1729)

def random_doubles(size, rng):
    random_bytes = rng.bytes(size * 8)
    random_byte_array = np.frombuffer(random_bytes, dtype=np.uint8)
    random_byte_array = random_byte_array.reshape((size, 8))
    random_doubles = random_byte_array.view(dtype=np.float64)
    return random_doubles.flatten()

# Try to find smallest x such that float(mp.erf(x)) == np.nextafter(-1.0, np.inf)
# Initial guess
left = -5.93
assert float(mp.erf(left)) == -1.0

# We're going to find the smallest such x in a rough way and then just verify later
# that the results are correct.
sign = 1
for n in range(-5, -16, -1):
    while (
            float(mp.erf(left)) == -1.0 if sign == 1
            else float(mp.erf(left)) == np.nextafter(-1.0, 1)
    ):
        left += sign*10**n
    sign *= -1

right = -left

assert float(mp.erf(left)) == np.nextafter(-1, np.inf)
assert float(mp.erf(np.nextafter(left, -np.inf))) == -1.0
assert float(mp.erf(right)) == np.nextafter(1, -np.inf)
assert float(mp.erf(np.nextafter(right, np.inf))) == 1.0

left_cephes = left
while sc.erf_cephes(left_cephes) == -1.0:
    left_cephes = np.nextafter(left_cephes, np.inf)

right_cephes = -left_cephes

assert sc.erf_cephes(left_cephes) == np.nextafter(-1.0, np.inf)
assert sc.erf_cephes(np.nextafter(left_cephes, -np.inf)) == -1.0
assert sc.erf_cephes(right_cephes) == np.nextafter(1.0, -np.inf)
assert sc.erf_cephes(np.nextafter(right_cephes, np.inf)) == 1.0

left_fadeeva = left
while sc.erf(left_fadeeva) == -1.0:
    left_fadeeva = np.nextafter(left_fadeeva, np.inf)

right_fadeeva = -left_fadeeva
assert sc.erf(left_fadeeva) == np.nextafter(-1.0, np.inf)
assert sc.erf(np.nextafter(left_fadeeva, -np.inf)) == -1.0
assert sc.erf(right_fadeeva) == np.nextafter(1.0, -np.inf)
assert sc.erf(np.nextafter(right_fadeeva, np.inf)) == 1.0

# The "dynamic ranges" here are the same for both
assert left_cephes == left_fadeeva
assert right_cephes == right_fadeeva

X = np.unique(rng.uniform(left_cephes, np.nextafter(right_cephes, np.inf), size=10**5))
erf_fadeeva = sc.erf(X)
erf_cephes = sc.erf_cephes(X)
erf_mp = np.fromiter((mp.erf(x) for x in X), dtype=float)

rerror_cephes = abs(erf_cephes - erf_mp) / abs(erf_mp)
rerror_fadeeva = abs(erf_fadeeva - erf_mp) / abs(erf_mp)

cephes_quantiles = np.quantile(rerror_cephes, np.linspace(0, 1, 11))
fadeeva_quantiles = np.quantile(rerror_fadeeva, np.linspace(0, 1, 11))

X_hat = random_doubles(10**5, rng)
X_hat = np.unique(X_hat[(X_hat >= left_cephes) & (X_hat <= right_cephes)])

erf_fadeeva_hat = sc.erf(X_hat)
erf_cephes_hat = sc.erf_cephes(X_hat)
erf_mp_hat = np.fromiter((mp.erf(x) for x in X_hat), dtype=float)

rerror_cephes_hat = abs(erf_cephes_hat - erf_mp_hat) / abs(erf_mp_hat)
rerror_fadeeva_hat = abs(erf_fadeeva_hat - erf_mp_hat) / abs(erf_mp_hat)

cephes_quantiles_hat = np.quantile(rerror_cephes_hat, np.linspace(0, 1, 11))
fadeeva_quantiles_hat = np.quantile(rerror_fadeeva_hat, np.linspace(0, 1, 11))

machine_epsilon = np.finfo('float').eps

cephes_bad_X = X[rerror_cephes > machine_epsilon]
fadeeva_bad_X = X[rerror_fadeeva > machine_epsilon]

cephes_bad_X_hat = X_hat[rerror_cephes_hat > machine_epsilon]
fadeeva_bad_X_hat = X_hat[rerror_fadeeva_hat > machine_epsilon]

First I identified that on the range -5.921587195794507 <= x <= 5.921587195794507 both faddeeva and cephes return values such that -1.0 < f(x) < 1.0, and both return either -1.0 or 1.0 for values outside the range. I sampled 10**5 uniform points in this range and found that cephes had a max relative error of 4.20544502e-16 and had relative error worse than machine epsilon only in 0.421% of cases. Faddeeva had a max relative error of 7.26504731e-14 and had relative error worse than machine epsilon in 5.958% of cases.
I also sampled floating point numbers uniformly in this range as a finite discrete set in order to capture more points closer to zero. Since I used rejection sampling here, I ended up with 50,185 points. The maximum relative error for cephes on this set was 5.99110258e-16 and that for faddeeva was 1.06910314e-13. Out of these cases, cephes had a relative error worse than machine epsilon in 0.0956% of cases and faddeeva had a relative error worse than machine epsilon in 0.648% of cases.
I haven't checked the other functions, but I suspect the results are similar. I don't think there are any compelling reasons to switch from Cephes to Faddeeva here.

Wow. Great check Albert!
So the conclusion is that the conversion should go from cephes to header-only cephes directly and this PR is not helping. Let's close it then.

So the conclusion is that the conversion should go from cephes to header-only cephes directly and this PR is not helping. Let's close it then.

Yeah, that seems to be the way to go. Excepting some things that are just very complicated to get right, I've found cephes is actually very good for the most part. For its time, I think Stephen Moshier tested it very thoroughly.


Jenkspy fails "because it is not a valid package"

Hi Mark,
2024-01-30 18:59:01.577 DEBUG (SyncWorker_4) [custom_components.pyscript] Ignoring 'git+https://github.com/pulquero/jenkspy' because it is not a valid package
...
2024-01-30 18:59:01.693 ERROR (MainThread) [custom_components.pyscript.modules.powerwall_tariff] Exception in </config/pyscript/modules/powerwall_tariff.py> line 3:
import jenkspy
^
ModuleNotFoundError: No module named 'jenkspy'

I tried a couple of basic things just to test (like specifying the branch) but no luck.
FYI - this is within a home assistant docker container running Alpine

I don't know how valid this approach would be (so I'm not saying it's a problem) but I did also try to pip install using the same :
''' txt
Collecting git+https://github.com/pulquero/jenkspy
Cloning https://github.com/pulquero/jenkspy to /tmp/pip-req-build-1c6awkep
Running command git clone --filter=blob:none --quiet https://github.com/pulquero/jenkspy /tmp/pip-req-build-1c6awkep
Resolved https://github.com/pulquero/jenkspy to commit 87f75af7f3d1e6ba88d8ca554d318a263f002f66
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in /usr/local/lib/python3.11/site-packages (from jenkspy==0.4.0) (1.26.0)
Building wheels for collected packages: jenkspy
Building wheel for jenkspy (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [42 lines of output]
/usr/local/lib/python3.11/site-packages/setuptools/command/build_py.py:204: _Warning: Package 'jenkspy.src' is absent from the packages configuration.
!!
          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'jenkspy.src' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'jenkspy.src' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'jenkspy.src' to be distributed and are
          already explicitly excluding 'jenkspy.src' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  error: command 'gcc' failed: No such file or directory
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for jenkspy
Running setup.py clean for jenkspy
Failed to build jenkspy
ERROR: Could not build wheels for jenkspy, which is required to install pyproject.toml-based projects

Well done for getting this far! You've basically gone through the same steps as I had to initially get it working. If you look in /usr/local/lib/python3.11/site-packages/jenkspy there should be a jenks.XXXXXXX.so file. If you can attach it to this ticket, I can add it to the jenkspy distribution.

Google was my friend! I realised that pip install should work but that failed, I found an error re building and figured out that gcc was not installed in the container, did that and the build worked.
I had 3 jenks.XXXXXXX.so files but only one was executable so I have added that one (jenks.cpython-311-x86_64-linux-musl.so)
jenks.cpython-311-x86_64-linux-musl.so.zip

Added, if you pip uninstall jenkspy, you should now find that agile-powerwall can install the dependency by itself.

No files, it should have fetched the required files from my jenkspy github repo. You might need to manually install it for now while I investigate. It seemed to work on my rpi. I'll see if I can reproduce your setup.

OK thanks - in which case that didn't work, happy to try anything - one thing I haven't done is test whether a git+https is functioning within the container...I can't see why it wouldn't be as DNS etc works fine as per the other HA installs but I can give it a test with a hello world or similar.

So, I think I've got a solution now. Essentially, I've pre-packaged jenkspy in a zip, side-stepping pip. For convenience now, you can just download the latest zip from https://github.com/pulquero/agile-powerwall/releases and unzip it in your config directory (doesn't overwrite pyscript.yaml config).

Great, thank you. I was a little slow testing this but have just finished and everything is looking good.
Thanks again and have a great weekend!


Your p elements should use the font Monospace.  Can you give more information about your issue? What browser are you using? What device are you on? Monospace should be built into your browser, which allows it to be rendered, but if you're using an older browser or not one of the mature browsers such as Chrome/Firefox/Safari, then you'll run into issues.
FYI Challenge: Set the Font Family of an Element

Please comment with the requirement stated above, and we can re-open.

I also can't complete this challenge. I am using chrome browser.


Release a new version

Hi, I'm currently developing a gem that has a dependency on gemstash, specifically the protected fetch feature. Protected fetch is not in the latest release so it is currently blocking me to release my gem. Could gemstash be updated to include it?

@arhamahmed Can you gem specific_install it from Git? https://github.com/rdp/specific_install

@olleolleolle specific_install works as a development workaround, but we don't want to force end users to run it. We need a specific release of gemstash that we can list as a gem dependency.
The protected fetch feature has been in master for more than a year (added in #94) but hasn't been part of a release. Is there a reason we're holding off on it?

This has now been addressed 🎉
https://twitter.com/bundlerio/status/892087085817094145


How do I install your control?????

I have tried repeatedly to be able to install your control but get error after error after error. I even tried asking ChatGPT and even the AI can't figure out why trying to install this fails every direction I turn.

You have to navigate to the folder AddressInputv3/bin/Debug, export the zip file there and import it as a solution in power apps. Make sure to enable code components for the environment first.


Error calling print_shadow

This causes the RunDebugREPL function to fail.  The error seems to be down to calling print_trees on the ShadowTree directly in the print_shadowtree method, rather than on its members tree and shadow. print_trees on the ShadowTree seems unsupported due to this error.

julia> ASTInterpreter.print_shadowtree(interp.shadowtree)
Body
ERROR: MethodError: Cannot `convert` an object of type LineNumberNode to an object of type AbstractTrees.Tree
This may have arisen from a call to the constructor AbstractTrees.Tree(...),
since type constructors fall back to convert methods.
Closest candidates are:
  convert{T}(::Type{T}, ::T)
  (::Type{BoundsError})(::ANY)
  (::Type{BoundsError})(::ANY, ::ANY)
  ...
 in (::AbstractTrees.##5#6{AbstractTrees.ShadowTree})(::Tuple{LineNumberNode,AbstractTrees.AnnotationNode{Any}}) at /Users/aviks/.julia/v0.5/AbstractTrees/src/AbstractTrees.jl:161
 in map(::Any, ::Base.Zip2{Array{Any,1},Array{AbstractTrees.AnnotationNode{Any},1}}) at ./abstractarray.jl:1107
 [inlined code] from ./iterator.jl:43
 in children(::AbstractTrees.ShadowTree) at /Users/aviks/.julia/v0.5/AbstractTrees/src/AbstractTrees.jl:161
 in #_print_tree#2(::Int64, ::Array{Int64,1}, ::AbstractTrees.TreeCharSet, ::Bool, ::Array{Any,1}, ::Void, ::Void, ::Any, ::ASTInterpreter.##9#10{Void}, ::Base.TTY, ::AbstractTrees.ShadowTree, ::Int64) at /Users/aviks/.julia/v0.5/AbstractTrees/src/AbstractTrees.jl:110
 [inlined code] from ./boot.jl:331
 in #_print_tree#1(::Array{Any,1}, ::AbstractTrees.#_print_tree, ::Any, ::Base.TTY, ::AbstractTrees.ShadowTree) at /Users/aviks/.julia/v0.5/AbstractTrees/src/AbstractTrees.jl:104
 [inlined code] from ./boot.jl:331
 in #print_tree#3(::Array{Any,1}, ::Any, ::Any, ::Base.TTY, ::AbstractTrees.ShadowTree) at /Users/aviks/.julia/v0.5/AbstractTrees/src/AbstractTrees.jl:132
 [inlined code] from ./boot.jl:331
 in print_shadowtree(::AbstractTrees.ShadowTree, ::Void, ::Void) at /Users/aviks/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:118
 in print_shadowtree(::AbstractTrees.ShadowTree) at /Users/aviks/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:112
 in eval(::Module, ::Any) at ./boot.jl:267

Fixed by https://github.com/Keno/AbstractTrees.jl/commit/b41467bc2f1b3478dc25b290e07ff961fd112cd0

Thanks!

Note that this is still not very useful currently and will crash on you due to type inference bugs. Jameson is working on that though.


Microsoft Edge and forgotten password failure

What version of UAA are you running?
4.35
How are you deploying the UAA?
I am deploying the UAA

using cf-deployment

What did you do?
Triggered the forgotten password flow by using the link on UAA. This was then opened by Microsoft Edge (system default browser).  This loads the password reset page as expected.
What did you expect to see? What goal are you trying to achieve with the UAA?
I expected to see that the password which met the complexity requirements was accepted.
What did you see instead?
The following error message
There is a problem “Invalid login attempt, the request does not meet our security standards and may indicate that the action was not originated by you. Please try again.”

Additional info
We have no issues with Chrome, Firefox, Safari. Just with Edge. Unfortunately some of our users are on Enterprise managed Windows estates and are unable to change browsers. Once the password has been reset normal functionality continues with Edge.

We have had a further report from a user trying to log in
When trying to login using corporate device from Edge I'm getting the message below. I'm unable to login to the PaaS.

There is a problem
Invalid login attempt, the request does not meet our security standards and may indicate that the action was not originated by you. Please try again.

OS - Windows 10 Enterprise 1809
Browser - Edge 44.17763.1.0

Hi,
can you check in the console? Usually this is related to expired session cookie. Do you see anything in the console?
Regards,
Martijn

From: Lee Porte<EMAIL_ADDRESS>Sent: Friday, September 20, 2019 09:13
To: cloudfoundry/uaa<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [cloudfoundry/uaa] Microsoft Edge and forgotten password failure (#1065)
We have had a further report from a user trying to log in
When trying to login using corporate device from Edge I'm getting the message below. I'm unable to login to the PaaS.
There is a problem
Invalid login attempt, the request does not meet our security standards and may indicate that the action was not originated by you. Please try again.
OS - Windows 10 Enterprise 1809
Browser - Edge 44.17763.1.0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/cloudfoundry/uaa/issues/1065?email_source=notifications&email_token=ABVZVKUS2BYWMT5EV2UTAWLQKRZZPA5CNFSM4II4ZJ32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7FZ5MY#issuecomment-533438131, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABVZVKR6NA63F55PAAOJCSTQKRZZPANCNFSM4II4ZJ3Q.

Hi Martijn,
I assume you mean the browser console, is this correct?
Thanks
Lee

Ho Martijn,
There is nothing related to a session cookie in the console, only a minor CSS error.
Thanks
Lee

o/
We did some investigation to establish what the problem is and how can we fix that for our valued users and I'd like to give a bit of an update on that issue.
The actual issue here is, that UAA is always returning 302 with Location: /login instead of  for instance 404.
It was a little bit of red herring, as in our case it is only visible on Microsoft Edge and Internet Explorer.
Here's what's happening:

The user visits a page served by UAA (say /login, or /accept/invitation - anything that returns a form)
The page contains an SVG, with an image fallback
Most browsers are happy with the SVG and don't request the image, but IE / Edge quirkily request both
The path to the image is wrong, but because the user is not logged in it returns a 302 to /login instead of a 404
The browser follows the 302 redirect, now looking for the image at /login
Because the response for /login is a form, it has a Set-Cookie header that overwrites the csrf token for the form the user is actually looking at.
When the user submits the form, the token in the HTML doesn't match the token in their cookie, so their request is denied.

More details: https://github.com/alphagov/paas-uaa-customized-boshrelease/pull/14


Emoticons

Hi,
Is there any list of all Markdig Emojis available ?
I am converting some GitHub Wiki Pages to Blazor Pages, using a Component created with Markdig, and the emojis are not translated.
Just for reference, below you find a list of all "special" GitHub emojis:
https://gist.github.com/rxaviers/7360908
Even "normal" ( :-) and so on ) emojis are not translated.
Below you find my code:
var pipeline = new MarkdownPipelineBuilder().UseAdvancedExtensions().Build();
this.html = Markdig.Markdown.ToHtml(markdown ?? "", pipeline);

Thanks

Here's the current list: https://github.com/xoofx/markdig/blob/master/src/Markdig/Extensions/Emoji/EmojiMapping.cs
If we're missing something useful, the list can be customised when you create the pipeline. Or Markdig's default list could be updated ofc

Hi,
You are really fast answering :smile:
For instance, I am using :clap: ( : clap: , your code supports ) and is not working with the following C# code:
var pipeline = new MarkdownPipelineBuilder().UseAdvancedExtensions().Build();
this.html = Markdig.Markdown.ToHtml(markdown ?? "", pipeline);

Any idea why ?
Is ToHtml() compatible with emojis ?
Thanks

Hi,
Now it's working perfectly: from the link I sent above just 17 emojis did not translate ( I do not use them ).
In a hurry I forgot to start the Issue saying you created a wonderfull library :clap:.
You deserve to know where I am using Markdig...
I do also have an Open Source Project EasyLOB-3 ( currently working on EasyLOB-4 and EasyLOB-6 ).
After using a lot of Mardown creating Wikis ( EasyLOB 1 Wiki ) I felt in love with Markdown: it's simple, easy and fast to create nice Wiki and Help Pages.
Currently I am working in a project with Blazor ( I developed both Server and WebAssembly, and will use the WA ).
My first idea for Help Pages was using WordPress under the company site to create the pages.
But today morning I came you with the idea of using Markdown inside Blazor, and with your help, less than 8 hours after it's working perfectly: with both Blazor Server and Blazor WebAssembly :smile:.
Thank you


uint64_t is not defined for VS 2010

Description
After updating from v1.9.1 to v1.92 there is a compilation error under VS 2010 in catch (function getCurrentTicks in catch_timer.hpp). The reason is that uint64_t is not defined.

Catch version: v1.9.2
Operating System: Windows 7
Compiler+version: Visual Studio 2010

Workaround (possible fix)
Include <cstdint> in  catch_timer.hpp

Thanks for bringing this up - looks like I missed some references. I think I've got them all now - but I don't have access to VS2010 for a while to check so please let me know if 1.9.3 fixes it for you?

Confirmed as fixed on VS2010 as well as VS2008, VS2013 and VS2015


minDate and maxDate in date picker

The datefield supports min and max dates. But the picker doesn't so it's possible to pick an invalid date. This should be made possible by disabling the dates that are out of range.

Zie https://github.com/Intermesh/goui/pull/8 . Done


Switch to a multipass process

Currently running as a single pass process where selectors are identified and replaced on the fly.
Process can be changed to a multipass along the lines of:

Identify selectors in files first, logging all found selectors
Generate replacement selectors
Identify selectors in files again, this time replacing with minified selectors

This will allow the following current issues (and future ones) to be realized:

Option to run minify-selectors in parallel (#14)
Order selectors based on frequency, so that they are assigned the shorter generated selectors first (#29)

As of 4b7e206eeef0d2995e8cfdc52689e96d7fc4e8cf multi-step process is in place


[elastic] Simplify the go langserver name.

:white_check_mark: Build go-langserver 1.0.89 completed (commit https://github.com/elastic/go-langserver/commit/35ffdedbae by @movie-travel-code)


Support for weird formats (probably only included _ such as 100_000)

Since loadtxt uses Python, and python now supports _ both for integers and floats, numbers that include _ are currently supported by loadtxt, but not by npreadtext.  (Note that Python rejects duplicated _ such as 1__2)
EDIT: (This issue also affects booleans)

There is an argument to be made that this is not very important:  We could probably raise an informative error asking users to fall-back to using converters={column: int}.

I think we decided not to do this a long time ago: One test or so may be good, otherwise it just needs clear documentation in some summary about how to use converters properly.


GPG informations

I think we should put your GPG key in the source code instead, as there's a GPG trust chain for all commits / merges there? You'll still be able to hotlink it, e.g.: https://raw.githubusercontent.com/monero-project/bitmonero/master/utils/gpg_keys/fluffypony.asc
I agree on having the GPG keys / fingerprints attached to the people page, but it's starting to get a bit messy now - let me see if I can clean up the formatting a bit.

What about "[GPG]"?


[BUG] Mac import image not working for Keygen

Describe the bug
Always getting the following error whenever trying to upload a QR code for pair on the Mac.
"Failed to decode peer discovery message: The data couldn't be read because it isn't in the correct format."
To Reproduce
Steps to reproduce the behavior:

Go to Create a New Vault.
Tap on Pair.
Upload the QR Code image using the upload options.
It shows the incorrect format error.

Expected behavior
Should show the verify view and start the Keygen process.
Screenshots

Can you explain what is it?

Double checked this one , and it has been fixed


how to parse json array into multik directly without going through list of list?

    fun parseJson() {
        val json = "[1,2,3]"
        val gson = Gson()
        val listType = object : TypeToken<List<Int>>() { }.type
        val list =  gson.fromJson<List<Int>>(json,listType) // works fine
        val d1Type = object : TypeToken<D1Array<Int>>() { }.type
        val d1array = gson.fromJson<D1Array<Int>>(json,d1Type) //error out

    }

I would get an error saying it's an object not an array.
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
	at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:385)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:215)
	... 54 more

currently I have to parse to an list first, then convert to ndarray, it seems an unnecessary copy of data and I need to define 2 copies of model class for a normal use case
Thanks

use kotlinx.serialization
Json.decodeFromString<D1Array<Int>>("[1,2,3]")
I got kotlinx.serialization.SerializationException: Serializer for class 'D1' is not found.  is there work planned to add a serializer for popular json parsing libraries?

Now there is no direct parsing from json to ndarray.
Yes, we plan to add json support, but I can't say exactly when.
In this case, you can get a primitive array from json and create a ndarray based on it. Then there will be no unnecessary data copying.

I report the issue using a simplified example,  but I was actually dealing with 3D arrays in json, the shape is 72x3x33 . so I think there will still be data copy even if I use primitive array?

thanks, is json parsing something in 0.0.2?  I'd like to contribute if you can point  where to start and implementation considerations

In this release, I did not expect to include support for json. In the next release, I plan to support csv and npy, the cornerstone in general for reading data from files in this case is the type provider.
Specifically, for reading for a quick implementation, you can take a third-party library, but this will be very non-optimal in terms of memory.

csv would be great too, I get the data from my in house python program so I guess I can save the data as csv as well. with minor modifications.

csv in a simple form is already supported.

will npy support using https://github.com/JetBrains-Research/npy ?

Yes, I discussed this with the maintainer of the library. To begin with, it will be necessary to make it multiplatform.


formResponse.actionAfterSuccess is always null

Hello !
I created a form in TYPO3 Backend with the Forms module, and assign it to a specifig page, form is well rendered in my front-end application, but I don't understand why formResponse.actionAfterSuccess in the T3CeFormFormframework.vue component is always null after the form submission, I created different finishers for this form so I would like to retrieve them. This is a classic form configuration :

renderingOptions:
  submitButtonLabel: Submit
identifier: contact
label: Contact
type: Form
prototypeName: standard
finishers:
  -
    options:
      message: GG
      contentElementUid: ''
    identifier: Confirmation
renderables:
  -
    renderingOptions:
      previousButtonLabel: 'Previous step'
      nextButtonLabel: 'Next step'
    identifier: page-1
    label: 'Contact Form'
    type: Page
    renderables:
      -
        defaultValue: MIONNET
        identifier: name
        label: Name
        type: Text
        properties:
          fluidAdditionalAttributes:
            placeholder: Name
            required: required
        validators:
          -
            identifier: NotEmpty
      -
        defaultValue: Sujet
        identifier: subject
        label: Subject
        type: Text
        properties:
          fluidAdditionalAttributes:
            placeholder: Subject
            required: required
        validators:
          -
            identifier: NotEmpty
      -
        defaultValue<EMAIL_ADDRESS>        identifier: email
        label: Email
        type: Text
        properties:
          fluidAdditionalAttributes:
            placeholder: 'Email address'
            required: required
        validators:
          -
            identifier: NotEmpty
          -
            identifier: EmailAddress
      -
        defaultValue: Message
        identifier: message
        label: Message
        type: Textarea
        properties:
          fluidAdditionalAttributes:
            placeholder: ''
            required: required
        validators:
          -
            identifier: NotEmpty

Maybe I forgot something ? Thanks for the answer.
Versions
TYPO3 [12.4.4] . TYPO3 Headless [4.2.2] . nuxt [2.17.2] . nuxt-typo3 [1.3.3]

Hi @JeanM38, could you provide example request with form data you sending to TYPO3 backend?

Hi @twoldanski, I do not have specific request, I'm just using the sendForm method provided by nuxt-typo3
components/T3CeFormFormframework/T3CeFormFormframework.vue
<template>
  <!-- ... -->
</template>
<script>
export default {
  /* ... */
  methods: {
    /**
     * T3Form Submit callback
     * @param {T3FormSubmitObject} FormObject
     */
    async onSubmit ({ validator, form, formRef }) {
      const { flags, setErrors } = validator
      const { resetForm, setState } = form
      const formData = new FormData(formRef)
      formData.append('responseElementId', this.id)
      formData.append('responseElementRecursive', 1)

      if (flags.valid) {
        setState('sending')
        try {
          const response = await this.sendForm(formData, this.link.href)
          const formResponse = response?.content?.form?.api

          if (formResponse.status === 'success') {
            setState('success')
            resetForm()
            return this.onSuccess(formResponse.actionAfterSuccess)
          }
          if (formResponse.status === 'failure') {
            setErrors(this.prepareErrors(formResponse.errors))
            setState('failure')
          }
        } catch (err) {
          setState('error')
        }
      }
    },
    /**
     * Send form used $typo3 http client
     * @param {FormData} parsed form data object
     * @param {string} url API Endpoint to call contact form
     * @returns {Promise<TYPO3.Response.Page>} whole page content
     */
    async sendForm (formData, url) {
      return await this.$typo3.api.$http.$post(url, formData, {
        headers: { 'Content-Type': 'multipart/form-data' }
      })
    },
    /* ... */
  }
}
</script>

I found something which could explain my problem in TYPO3 headless extension, finishers are returned only when FormRuntime is after last page, but this is weird because my form has only one step :
typo3conf\ext\headless\Classes\XClass\FormRuntime.php
<?php

/*
 * This file is part of the "headless" Extension for TYPO3 CMS.
 *
 * For the full copyright and license information, please read the
 * LICENSE.md file that was distributed with this source code.
 */

declare(strict_types=1);

namespace FriendsOfTYPO3\Headless\XClass;

/**
 * @codeCoverageIgnore
 */
class FormRuntime extends \TYPO3\CMS\Form\Domain\Runtime\FormRuntime
{
    /**
     * Stripped "render" method
     * Does not render html form & handles finishers & variants
     *
     * @return string|null finisher response or null
     */
    public function run(): ?string
    {
        if ($this->isAfterLastPage()) {
            return $this->invokeFinishers();
        }
        $this->processVariants();

        $this->formState->setLastDisplayedPageIndex($this->currentPage->getIndex());

        return null;
    }
}

@JeanM38  we use simplified version of Core Form Runtime method, but handling of finishers is the same way, the the core/html version. What are the values of formResponse.status, formResponse.errors  when sending the form the backend?

@twoldanski, here is the formResponse :)


Provite code nextapdu

Hello,
Please could you provide code for nextapdu to provide card type
on
url: WebCard.remoteURL + "/nextapdu",
Thanks a lot

Hi pbellede, the server part of http://plugin.cardid.org is currently free (as in free speech) and you can use it without restrictions. It is not however free (as in free beer) but if you let me know more about your use case I could probably add functionality to the server API to cater for your requirement.

Hello,
Thanks a lot, could you provide source code of nextapdu

Thank you for your great work


Should support editing ENV for the deployed services.

In GitLab by @luotian-github on Jun 22, 2018, 17:45
operation audit sql

In GitLab by @yhua123 on Nov 8, 2019, 07:53
Duplicate #772

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

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


Change default cursor to pointer

I'm looking for settings which will update default cursor to pointer once when user moves cursor over element, any settings like that?

There are no builtin methods or settings. But you can implement it manually.
        onMouseEnter={() => {
          document.body.style.cursor = "pointer";
        }}
        onMouseLeave={() => {
          document.body.style.cursor = "default";
        }}

https://codesandbox.io/s/nw8yjp76p0

Works perfect thanks :)


Bug fixes and additional logging

There was a bug that was causing some updated files to be removed from the TFM database. To diagnose I added a lot of debug messages, enabled by adding a "-l true" to the command line.
Finally found the issue. When getting the files in Azure DevOps, there is a field called objectId. This is meant to be a unique identifier for the file in AzDo. I was using this to determine if the file still exists in the database. Unfortunately, this is actually a hash of the file (or similar) and changes when the file is altered. This led to not finding the file anymore and having the file entry in the database deleted.  I changed this to use the file Path instead.

No concerns with newest changes.


Increment Generator versions as part of automated build

In the generators for
File:
https://github.com/Microsoft/BotBuilder-Samples/blob/master/generators/dotnet-templates/Microsoft.BotFramework.CSharp.CoreBot/content/.template.config/template.json
Line 13 and line 27 need to have the versions stamped as part of the build.
https://github.com/Microsoft/BotBuilder-Samples/blob/master/generators/dotnet-templates/Microsoft.BotFramework.CSharp.CoreBot/Microsoft.BotFramework.CSharp.CoreBot.nuspec
Line 5.
Versions should match, and should match the semver of the overall build.
This should apply to all 3 of the CoreBot, EchoBot, EmptyBot.

New build "BotBuilder-Samples-DotNet" https://fuselabs.visualstudio.com/SDK_v4/_apps/hub/ms.vss-ciworkflow.build-ci-hub?_a=edit-build-definition&id=398
replaces the 3 separate builds, giving them all the same build number, and stamping versions in .json files. It has CI, PR, and scheduled triggers. NuGet push remains part of this build rather than being in a separate Release pipeline.


Maintain Local Channels database

From @bumi :
We need to save all the required data in our DB and define single API calls to get all data.
Right now for example we do many calls to mempool triggered from the frontend to load the alias (not sure about rate limits there)
For example we can have a DB with channels that contains all the information from funding transaction to node alias and then have one GET /channels call to get this information from there. If I want information about the channel then I have a model that contains that data. right now if I want to get the node alias I would somehow have to go through this mempool API.
From Roland:
Also, we can save channel liquidity and other info that will be useful when events happen (like channel closures).
I would like to see an email notification or nostr DM when I get a channel closure:
"Your 500,000 sat channel with Olympus was closed. Reason: XYZ. You had 200,000 sats outgoing capacity when the channel was closed and these sats will be returned to your Alby Hub savings account within N blocks (about 2 weeks).
What to do next: <Instructions here>"

Feedback from @JPLACLAU

when a channel is forced closed maybe we should leave a message under the Savings Balance that says "x amount of sats are returning to your Savings Balance before x day. this was due to a force closed channel"
At last: a channel forced closed, simply disappears on the ux an this creates some confusion: what happened to that channel? maybe we should leave the las state of the channel but all sort of greyed out with a warning saying the channels was forced closed, or some sort of warning inside the hub.

Related: https://github.com/getAlby/hub/issues/105

Show closed channels on the standard table (the status would be "closed" or "closing")
Show the balance of the closed channel as pending balance on the savings balance card (maybe an info tooltip to show that it might take up to 2 weeks)
For channels older than 2 weeks, have a separate page (accessible from the advanced dropdown)

As part of this ticket, also reduce LDK sync time if a channel is currently opening

Removing the milestone for now - we made a significant improvement with https://github.com/getAlby/hub/pull/602


Wiki needs a help page on how to run tests.

Thanks for Ian's help on getting me unblocked, but for outsiders a how to run tests page would be very helpful.

@nojvek pointed out it would be useful to have information such as:

how tests are organized by rlexedirs.xml and rlexe.xml files
adding a new test
clarifying that *.js files do not automatically turn into tests
baselines vs no baselines vs exit code check only
where rl log files go
techniques for capturing output from and iterating quickly on failing tests

Good plan. This issue would be a good opportunity for us to use issues and a PR on the wiki repo http://github.com/Microsoft/ChakraCore-wiki to review the addition. :)

Closing this issue as it has been migrated to https://github.com/Microsoft/ChakraCore-wiki/issues/7


Implement PKCS1 padding for RSA

From @izaera on February 13, 2014 20:49
Copied from original issue: izaera/cipher#60

From @izaera on February 14, 2014 7:35
Tests are not working for public key (because of random)


additional check for load_extensions_from_module

Summary

Additional check for load_extensions_from_module() method is added: checks whether the loaded submodule is a file and not a folder.
Checklist

[x] If code changes were made then they have been tested.

[ ] I have updated the documentation to reflect the changes.
[ ] I have run task pyright and fixed the relevant issues.

[ ] This PR fixes an issue.
[ ] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

This was intentionally not done in order to support both of these file structures:
.
├── main.py
└── cogs
    ├── cog1.py
    └── cog2.py

.
├── main.py
└── cogs
    ├── cog1
    │   └── __init__.py
    └── cog2
        ├── __init__.py
        └── other.py

Note that folders can be loaded as extensions as long as the setup is in the __init__.py or accessible to it.


DataArray.plot.pcolormesh() issue when specifying 2D x and y

Code Sample, a copy-pastable example if possible
I created a notebook to highlight the issue:
https://github.com/mnlevy1981/xarray-issue/blob/master/xarray-example.ipynb
It's in a self-contained repository, including a YAML file so conda can create an environment with matplotlib, jupyterlab, and xarray... but assuming those packages are in your environment
$ git clone https://github.com/mnlevy1981/xarray-issue.git
$ cd xarray-issue
$ jupyter lab

You should be able to run through the xarray-example.ipynb notebook and recreate the problematic plot.
Problem description
When specifying a 2D coordinate for x and y, it looks like plot.pcolormesh() is doing some weird interpolation across the domain. The problem might be that the TLONG variable (providing longitude) is not being specified as cyclic or periodic?
Expected Output
A plot where TLAT and TLONG provide lat / lon (rather than using nlat and nlon) and the continents are clearly visible as white / missing values.
 It can't handle non-monotonic co-ordinates (or at least handles them funnily sometimes).
plt.pcolormesh(ds.TLONG, ds.TLAT, ds.SSH)

And TLONG, TLAT are:

I think your only option is to use cartopy.

I had been hesitant to use cartopy because my initial attempt introduced a seam of missing values down the center of the plot, but I figured out how to shift that to the boundary of the plot and am happy with how this looks:
https://github.com/mnlevy1981/cartopy-issue/blob/master/cartopy-example.ipynb
Thanks for pointing out the issue resides in the matplotlib routine rather than the xarray wrapper, I may submit an issue over there but at least I have something that works now.


Swift4

Add supported to Swift4

There is a pull request for this which hasn't been excepted yet but only a few things needed changed syntax wise in the SJFluidSegmentedControl.swift file. Here is the updated Swift 4 project until the pull request is accepted.
SJFluidSegmentedControl.zip


Get Travis to pass again

Hey @minad, so before I go ahead and merge all my various PRs, I thought I'd check that you're ok with me making whatever changes I deem necessary?
As per the title of this issue, I'm basically trying to get travis to green-light.  As such, after these commits, I'm bsically planning more of the same. That is,

possible changes to travis.yml
gemfile changes
where moneta is depending on old versions of gems (as was the case with mongo),
changes to the codebase as well (like the bzip2 changes)

Once travis is all green, I guess the next thing to do would be to modernise the rspec tests ...

Sounds good! I will take a look before wie release a new version. Note that most of the tests are generated
Am 19. Mai 2016 03:35:21 MESZ, schrieb Alastair Pharo<EMAIL_ADDRESS>
Hey @minad, so before I go ahead and merge all my various PRs, I
thought I'd check that you're ok with me making whatever changes I deem
necessary?
As per the title of this issue, I'm basically trying to get travis to
green-light.  As such, after these commits, I'm bsically planning more
of the same. That is,

possible changes to travis.yml
gemfile changes
where moneta is depending on old versions of gems (as was the case
with mongo),
changes to the codebase as well (like the bzip2 changes)

Once travis is all green, I guess the next thing to do would be to
modernise the rspec tests ...

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/minad/moneta/issues/103

Done!


{order_attestation_link} -> {attestation_link}

currently we use {order_attestation_link} - but the attestation link is per ticket
so we should rename to either attestation_link or ticket_attestation link. Myself having a slight preference to attestation_link

done


Fix logic to skip build stage in PR pipeline for markdown only changes

The WinUI-PR validation pipeline has logic to skip the Build and Test jobs in the case of a PR containing changes only to markdown and image files. This logic got broken by #8439 in the updating of the Pipeline to use multiple Stages.
This fixes the yml dependencies syntax.

/azp run


Performance benchmarking

Gimbal needs to support internet-scale workloads.  As such, we should test Gimbal to ensure that it is capable of handling the following:

Ingress: 10s of Gbps
Egress: 10s of Gbps
X million concurrent connections
Latency: p99 maximum 20ms-30ms RTT

We should document suggested hardware footprint to support traffic of this amount.

We should also look to have some measurements for requests per second, max connections per second, long-lived connection performance, as well as performance with different sizes of requests.  cc: @hhoover

The Heptio team has done some performance benchmarking of Gimbal, Contour, and Envoy.  Based on our internal results, we feel confident that a Gimbal cluster deployed on sufficient hardware will be able to meet these performance requirements.
We plan on sharing more details at a later time.  @hhoover please feel free to reach out to me directly if you'd like more details on our performance testing.


Swift 2.0 support

Does not support support swift 2.0.

en, I'll support it soon, thanks for reminding me,: ]

already support