[FEATURE] shrink render option for autocrystal

shrink render option for autocrystal, opposite of expand, would render whenever the ca is done rendering, as seen in https://github.com/Luna5ama/TrollHack

shrink render option for autocrystal, opposite of expand, would render whenever the ca is done rendering, as seen in https://github.com/Luna5ama/TrollHack

bruh stop suggesting stuff from a kamiblue skid

shrink render option for autocrystal, opposite of expand, would render whenever the ca is done rendering, as seen in https://github.com/Luna5ama/TrollHack

bruh stop suggesting stuff from a kamiblue skid

the expand and slide render options are literally pasted from trollhack

There is a Zoom setting.

nice iq

shrink render option for autocrystal, opposite of expand, would render whenever the ca is done rendering, as seen in https://github.com/Luna5ama/TrollHack

i already recommended this and i think u can make ca render shrink by changing the Zoom offset

shrink render option for autocrystal, opposite of expand, would render whenever the ca is done rendering, as seen in https://github.com/Luna5ama/TrollHack

bruh stop suggesting stuff from a kamiblue skid

technically xiarooo worked on kamiblue and lambda so technicaly it isn't a skid
also trollhack isnt a mad skid like 99% of skids there's 10x more changes than lambda


[Bug] SmartSleep with Payload forwarding not working?

Hello,
I have the following setup:
Node A = A node with temperature + humidity Sensor
Node B = A Node with a display
Now I want to forward temperature and humidity from Node A to Node B with the "Forward payload" feature which is btw. REALLY REALLY NEAT!!! very good feature.
Node B is sleeping most of the time with smartsleep .. but due to smart sleep misses the forwarded payloads. Is there maybe a bug with smartsleep?
I have enabled smart sleep on Node B:

As I see this correctly the controller might forward the values despite Node B not beeing "online"??

This function is not called when I use smartsleep
void receive(const MyMessage &message)
{
printmsg(message);
}
If I comment it out it is working as expected.
PS: I am running 2.2.0-beta on my gateway and Node B
I am using Built on
2017-05-08T08:27:47+0530

/**
 * The MySensors Arduino library handles the wireless radio link and protocol
 * between your home built sensors/actuators and HA controller of choice.
 * The sensors forms a self healing radio network with optional repeaters. Each
 * repeater and gateway builds a routing tables in EEPROM which keeps track of the
 * network topology allowing messages to be routed to nodes.
 *
 * Created by Henrik Ekblad<EMAIL_ADDRESS> * Copyright (C) 2013-2015 Sensnology AB
 * Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors
 *
 * Documentation: http://www.mysensors.org
 * Support Forum: http://forum.mysensors.org
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * version 2 as published by the Free Software Foundation.
 *
**/

#define MY_NODE_ID 50

// Enable debug prints to serial monitor
#define MY_DEBUG

// Enable and select radio type attached
#define MY_RADIO_NRF24
//#define MY_RADIO_NRF5_ESB
//#define MY_RADIO_RFM69
//#define MY_RADIO_RFM95

#define MY_RF24_CE_PIN 8
#define MY_RF24_CS_PIN 9

#define MY_SMART_SLEEP_WAIT_DURATION_MS 500

#include <MySensors.h>

MyMessage msg_temp(0, V_TEMP);
MyMessage msg_hum(1, V_HUM);

void before()
{

}

void setup()
{
  //send(msg_temp.set(0));
  //send(msg_hum.set(0));
}

void presentation()
{
	// Send the sketch version information to the gateway and Controller
	sendSketchInfo("Dummy show", "1.0");
  present(0, S_TEMP);
  present(1, S_HUM);
}

void loop()
{
  smartSleep(4000);
}

void receive(const MyMessage &message)
{
    printmsg(message);
}

PS: This is my current project:

I tried this too but the list stays empty:
https://forum.mycontroller.org/topic/128/send-payload-but-nack/7

I solved the issue by:
  smartSleep(5000);
  Serial.print("."); Serial.flush();
  sendHeartbeat();
  delay(500);

Will check why this is not included in smartSleep ?!

@cimba007 Sure, I will add this.

@cimba007 fix is available in SNAPSHOT build

Somehow I can't get the fix to work. I see that mycontroller is sending the messages but the node is unable to receive them .. investigating.

Found the  mistake I guess:
After the first cycle
System.currentTimeMillis() <= (startTime + sleepWaitDuration

will evaluate to "true" and break the loop so only one message gets send.
+                //Check still do we have duration on receiver side
 +                if (sleepWaitDuration != null && (System.currentTimeMillis() <= (startTime + sleepWaitDuration))) {
 +                    break;
 +                }

@cimba007 Thank you for the findings. I have fixed and updated the SNAPSHOT build.
Could you please check it there?
I like this display. Where did you buy? any link?

I would recommend to get one from waveshare as they already got the required electronic parts (mostly capacitors):
https://www.ebay.de/sch/i.html?_from=R40&_sacat=0&_nkw=waveshare e-ink&rt=nc&LH_PrefLoc=2&_trksid=p2045573.m1684


Enable coverage and Javadocs for all directories.

Codecov Report

Merging #370 into master will increase coverage by 0.06%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #370      +/-   ##
============================================
+ Coverage      89.7%   89.77%   +0.06%
- Complexity      563      565       +2
============================================
  Files            93       95       +2
  Lines          2167     2171       +4
  Branches        176      176
============================================
+ Hits           1944     1949       +5
+ Misses          183      181       -2
- Partials         40       41       +1

Impacted Files
Coverage Δ
Complexity Δ

...a/io/opencensus/trace/export/SpanExporterImpl.java
90% <0%> (-1.67%)
6% <0%> (ø)

...le/instrumentation/stats/StatsManagerImplLite.java
100% <0%> (ø)
1% <0%> (?)

...va/io/opencensus/trace/TraceComponentImplLite.java
100% <0%> (ø)
1% <0%> (?)

api/src/main/java/io/opencensus/trace/Tracing.java
94.44% <0%> (+5.55%)
7% <0%> (ø)
:arrow_down:

...n/java/com/google/instrumentation/stats/Stats.java
93.33% <0%> (+6.66%)
5% <0%> (ø)
:arrow_down:

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 4aa6e80...f9857b1. Read the comment docs.

/cc @songy23 @dinooliva


fix dashboard error

Description

[Dashboard creation] Deleted without confirmation pop-up even though it is a data source related to other data sources
[Create Dashboard] Mandatory filter setting popup is displayed even though the mandatory filter does not exist and progress is not possible.
[Dashboard] Chart creation pop-up> Analyze guide phrase error and enable on / off setting button not selected
[Dashboard] Data source details> Column list view> Error toast is exposed when selecting column whose role is Measure when there is recommendation filter
[Dashboard] Dashboard view mode> left panel> select Comment> Write comment> Date display is automatically updated to the current time
[Create Dashboard] Manage Scheme> Join popup> Preview results> Result data summary is not the same as screen design
[Dashboard] Dashboard Edit Mode> Data Sources panel> Link Source icon for data source is not exposed
[Dashboard] dashboard view mode> main area> global filter icon is not exposed
[Dashboard creation] Data source related tab> Data preview (default)> Manage Scheme requires two clicks to switch views
[Dashboard] Dashboard edit mode> Data source panel> Dimension list> Filter icon On is selected, the index of the filter is not highlighted for 1.5 seconds
[Dashboard] Dashboard edit mode> Data source panel> List not collapsed when clicking the index bar
[Dashboard] Cursor shape is exposed as a four-way cursor when resizing through dashboard edit mode> widget placement interaction> clearance between widgets

Related Issue :
METATRON-2840
METATRON-2843
METATRON-3010
METATRON-3014
METATRON-2884
METATRON-2850
METATRON-2938
METATRON-2941
METATRON-2984
METATRON-2915
METATRON-2906
METATRON-2923
How Has This Been Tested?

Verify that a confirmation pop-up appears when deleting a data source that is associated with another data source when creating a dashboard.
If there are no required filters when creating the dashboard, verify that the Required Filter Settings pop-up does not appear and proceed.
When creating the chart, check that the guide phrase in the predictive line menu is displayed normally.
On the dashboard, select Data Source Preview> Column List View> Recommendation Filter to see if the information is displayed properly when selecting a column whose role is Measure.
In the dashboard view mode, check if the comment input time of the left panel is displayed normally.
When creating the dashboard, in the Join popup, verify that the result preview is the same as the screen design.
In the Dashboard Edit Data Source panel, verify that the connection key information for the data source is displayed.
Verify that the global filter icon is displayed in the dashboard view.
When creating the dashboard, verify that clicking once on the tab in the data source preview changes.
Check that the filter is highlighted for 1.5 seconds when you select Dashboard Edit Mode> Data Sources panel> Dimension List> Filter Icon On.
Check that the list collapses when you click Dashboard Edit Mode> Data Sources panel> Index Bar.
Dashboard Edit Mode> Widget Placement Interaction> Make sure that the cursor shape appears properly when resizing between widgets.

Need additional checks?
Types of changes

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

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.

Additional Context

run build
deploy to 4

@eltriny
The same error as METATRON-3014 also occurs in the DataSource Detail View.


black screen when video playing on ios only sound is ok[BUG]

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Technical Details:

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@modyflutter did you find a solution to this? If not can you help sharing the logs.

How is this still open in 2023?
Please update if this issue has been fixed by now.


:bug: Add codecov token back.

Summary
codecov-action doesn't support tokenless upload since v4: https://github.com/codecov/codecov-action/issues/1292

/assign @qiujian16

/approve
/lgtm


fixes overlay behavior

The current overlay can not recognize overlay options
it tries to modify overlay even though it does not exist.
PS: I created a new pull request cause I do not know how to do it. sorry for inconvenient.

I was wrong, It makes another problem. sorry for lose your time


Support React Hooks

https://www.npmjs.com/package/eslint-plugin-react-hooks
This plugin enforce rule of hooks to avoid common misstakes (hook in condition, ...).
Hooks are a new React feature.

Yeah, we should probably cut 3.x alpha with this.

I'd love to contribute here, if I could.
Should I just go ahead and make a PR?

Sure.
There are two action items here:

Add ESLint plug-in (probably behind an option in the preset, but enabled in CRA by default)
Add Babel plug-in that would force array destructuring to work in loose mode for known Hooks. This is important for performance.

@eivind88 Any progress on this? I got it working locally with minor changes in packages eslint-config-react-app and babel-preset-react-app, although I may well have missed something important.... Also not entirely sure what @gaearon means by

probably behind an option in the preset

for eslint-plugin-react-hooks. This is my first foray into create-react-app so please excuse me if I've missed something obvious, including any handling required for ejected projects.

@chriswilty I'm about at the same place that you describe, but I haven't found the time to finsh it up this last week; I've also got the changes working locally.

probably behind an option in the preset

means that it should be optional, via an arg or somesuch.
This basically involves rewriting the relevant script by wrapping it in some checks similar to what can be seen in the other sub-repos, if I remember correctly.
I think I should be able to push some changes within a weeks time.

Just pushed my changes; I think I've covered everything, except the "behind an option in the preset, but enabled in CRA by default"-part about the ESLint plugin.
I'd love some input on the best way of achieving this!

👍 This is where I'd ended up also :)

Is it going to be available in a version prior to 3.0 ?
We really need this one guys 😍

What are we waiting for?

I believe we're waiting on #5602 and #6219 before we consider hooks ready for prime time in create-react-app. @gaearon can you confirm?

🙏

Closed via #5997


Add xms-ids for m365securityandcompliance

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[x] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[x] No refresh required for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[ ] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

This PR is to add the missing x-ms-identifiers metadata: http://azure.github.io/autorest/extensions/#x-ms-identifiers for m365securityandcompliance. @sonalverm could you help to take a look when you get a chance?

/azp run

@sonalverm Ping. Could you please help to take a look at the code changes? Thanks!

This RP is no longer in use. We can delete its code now.

This RP is no longer in use. We can delete its code now.

@sonalverm  Thanks for looking at the changes. Would you like us to revert all the xms-ids changes or still check the changes in? Adding the xms-ids should not break anything but we are fine with either option of your preference. Please let us know.


Add nbtscan to base.yaml

nbtscan (a netbios scanning tool) is used in one of our projects. Would be great to have it in the dependencies.
Package List (I only tested ubuntu).
https://www.archlinux.de/?page=Packages&search=nbtscan
https://packages.debian.org/search?keywords=nbtscan
https://admin.fedoraproject.org/pkgdb/package/rpms/nbtscan/
https://packages.gentoo.org/packages/net-analyzer/nbtscan
https://packages.ubuntu.com/xenial/net/nbtscan

Thanks for filling in all the arches and providing links!


20240926 - Copied changes made during Hackathon 2

Split the document and preserve guide up into three section
Incorporated changes made between hackathon 2 and 3 (fixing links to https links, removing dead links, etc.)
Removed all references to the old libguide and changed these to references to the handbook itself

Still to do:

Remove the part on FAIR here and/or refer to the new topic on FAIR.
(re-)add some codebook examples if I find some.

Thanks @Alex-van-der-Jagt 🙌
One of your to-dos is being tracked in #154. Regarding the FAIR principles, feel free to open up an issue if you'd like this to be tracked 😊
I'll move forward with approving and merging this now 👍


526 - New Organisms Filter for Browse Projects

Issue Number
Closing #526
Purpose/Implementation Notes
Added the new filter Organisms to the facet in the browse page.
(via figma)

Types of changes

New feature (non-breaking change which adds functionality)

Functional tests
List out the functional tests you've completed to verify your changes work locally.
Checklist

[x] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

@davidsmejia you were auto-assigned since I added the client / front-end label. But I'll remove your temporarily and will add you back later  once I test my implementation with new API updates, thank you!


'rustfmt' is not installed for the toolchain

Hello,
I'm currently trying to use this crate but it cannot be compiled due to the build script requiring rustfmt, however this tool is not installed on the official Rust build images (https://hub.docker.com/_/rust), nor it is on many build environments.
I don't know if it can be called a bug or a misconception, as build scripts should not rely on such tools being present (nor even really care about formatting of the code).
In my case it's out of question to change anything in the build environment "just" to have some DNS resolution features.
I can only recommend you to remove this requirement for future users, otherwise this lib seems really to be a good tool, even if I'm a bit surprised by the way it is implemented.

@qvignaud The issue is fixed in v0.18.0


Improve async promise to optionally not return

Closes #407

Coverage decreased (-0.2%) to 99.762% when pulling e2f1de5c4ddd28e9e88823277eadd0df8f0d4ef4 on juanjoDiaz:improve_asyncparser_promise into 39f303d1aa41d1c5ea4a5bb050cf564e0ffb4b0d on zemirco:master.


Segfault on startup from utf-8 cache problem

Newsboat version (copy the output of newsboat -v or the first line of git show):
2.37.0 (via homebrew) on OSX Sequoia 15.0.1
Using Wezterm, tmux, and fish terminal (all latest versions)
Config file (copy from ~/.newsboat/config or ~/.config/newsboat/config):
text-width 78
browser open
confirm-mark-feed-read false
# browser "firefox %u"
# browser "xdg-open %u"
# macro m set browser "mpv %u"; open-in-browser ; set browser "xdg-open %u"
player "mpv"
macro m set browser "mpv %u"; open-in-browser ; set browser open
download-path "~/Downloads/%n"
save-path "~/Downloads"
bookmark-cmd instapaper # symlinked in u/l/b to ~/.scripts
bookmark-autopilot yes
bind-key i bookmark
reload-threads 20
cleanup-on-quit yes
include ./themes/dark

Steps to reproduce the issue:

Startup newsboat   =]

Other info you think is relevant:
Terminal session below. I have also done nb -X to clear the cache and hopefully nuke any cache issues that might be caused.
~ ❯ nb
Starting Newsboat 2.37.0...
Loading configuration...done.
Opening cache...done.
Loading URLs from /Users/daryl/.config/newsboat/urls...done.
Loading articles from cache...libc++abi: terminating due to uncaught exception of type std::invalid_argument: data for rust::String is not utf-8
fish: Job 1, 'newsboat -C ~/.config/newsboat/…' terminated by signal SIGABRT (Abort)

Note: If you manually erase the cachedb from ~./local/shared/newsboat this seems to fix the issue, but still seems to be an issue that should fix the issue as zeros all your history.
(though my cache db was 215 MB so maybe it was time to do that... =]  Have saved the cachedb if you need it for analysis.).

Hmmm... the problem seems a bit more serious and broad than this. I am getting several :
Error while retrieving https://www.bakadesuyo.com/rss: database disk image is malformed

and

Error while retrieving http://tech.marksblogg.com/feeds/all.atom.xml: disk I/O error

and

Error while retrieving http://feeds.feedburner.com/likecool: unsupported feed format

while reading various feeds that worked previously in my nb. Note that when this happens I get the same error as above and need to nuke the cachedb in order to get the program to list my feed sources again (so, on startup command). I commented out each one of these feeds in turn in my feedlist to get the load up again (but I'd like them back someday... :-) ). These all worked previous to 2.37.0.

https://markmanson.net/feed
https://www.bakadesuyo.com/rss
http://www.neatorama.com/feed/
http://tech.marksblogg.com/feeds/all.atom.xml
http://feeds.feedburner.com/likecool: unsupported feed format

Let me know if there is anything I can do to help diagnose this quicker/better. Can take a look at the rust code, but afraid I haven't used C++ since my grad degree.  8-/

These all worked previous to 2.37.0.

What version were you running before 2.37.0? I believe that issues with UTF-8 were introduced about a dozen releases back (#1547). It's been 3 years and we're still trudging toward squashing all those bugs. As a user, you can either stick to a release that works for you, or stash a copy of your existing cache (if you need it) in hopes of re-using it when we finally make UTF-8 work. (I guess we'll write a merge script or something to help you combine your "archived" DB with your then-current DB).

Error while retrieving https://www.bakadesuyo.com/rss: database disk image is malformed
Error while retrieving http://tech.marksblogg.com/feeds/all.atom.xml: disk I/O error

I very much doubt that these are related to UTF-8. This looks more like file corruption. Is your disk okay? What does SMART and fsck say? Are you running any programs that could change those files, maybe some file-sync solution like SyncThing?

Error while retrieving http://feeds.feedburner.com/likecool: unsupported feed format

This feed is broken, it returns HTML:
$ curl --silent --verbose http://feeds.feedburner.com/likecool | head
*   Trying <IP_ADDRESS>:80...
* Connected to feeds.feedburner.com (<IP_ADDRESS>) port 80 (#0)
> GET /likecool HTTP/1.1
> Host: feeds.feedburner.com
> User-Agent: curl/7.88.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Type: text/xml; charset=utf-8
< feedburnerv2:
< Last-Modified: Thu, 1 Jan 1970 00:00:00 GMT
< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
< Pragma: no-cache
< Expires: Mon, 01 Jan 1990 00:00:00 GMT
< Date: Mon, 14 Oct 2024 17:36:35 GMT
< Cross-Origin-Opener-Policy: same-origin
< Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factors=*, ch-ua-platform=*, ch-ua-platform-version=*
< Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factors, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version
< Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/RaichuFeedServer/cspreport
< Content-Security-Policy: script-src 'nonce-MiFoZkQx9mh5Lj4NzLzy0w' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/RaichuFeedServer/cspreport;worker-src 'self'
< Cross-Origin-Resource-Policy: same-site
< reporting-endpoints: default="/_/RaichuFeedServer/web-reports?context=eJzjEtDikmJw1JBicEqfwRoCxEI8HIvXbt3BJrDgwMEtTEqWSfmF8YmlKZn5ugWlSTmZxRmpRcW6QEHdosTM5IxS3bTU1JTi1KKy1KJ4IwMjE0MDQwM9A4v4AgMAJBMdxA"
< Server: ESF
< X-XSS-Protection: 0
< X-Frame-Options: SAMEORIGIN
< X-Content-Type-Options: nosniff
< Accept-Ranges: none
< Vary: Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site,Accept-Encoding
< Transfer-Encoding: chunked
<
{ [2647 bytes data]
* Connection #0 to host feeds.feedburner.com left intact
<!DOCTYPE html>
<html>
    <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1">
    <title>Account Suspended</title>
    <link rel="stylesheet" href="//use.fontawesome.com/releases/v5.0.6/css/all.css">

I have also done nb -X to clear the cache and hopefully nuke any cache issues that might be caused.

-X/--vacuum doesn't fix the database at all. It performs some housekeeping compact the database if possible, but it's unlikely to fix any of the errors you show above; certainly not the UTF-8 errors.

@Minoru
Hey there,
(first off, thanks for all your hard work on nb. I've beenusing it for ages and think it's great.).
I'm afraid I am not certain which exact version I was running, but it was a 1.36.x I imagine. I update via homebrew fairly frequently. The only thing that's really changed on my system is the update from Sonoma to Seuqoia but this is the only app from brew that seems to  have issues. As mentioned, none of these errors popped up prior to the 1.37.0 update.
Disk is fine other than this app. Perhaps there is something nb doesn't like about Sequoia?  (and yes, realize the feed was a problem with it, I just thought it was strange I'd never seen the error before the update.
I've removed the feeds that seemed to cause or downstream issues with malformed database entries and such and nb works ok now, so am more inclined to suggest (with respect) that this may be something to do with how whatever this UTF-8 problem then encodes entries into those  particular feeds in the cache db. It could be a quirk with Sequoia but would be surprised if it wasn't related to the errors we're seeing somehow.
Disk is fine.
Let me know if there is anything I can do to further help diagnose or eliminate conetnders for the bug.

macOS update might have something to do with this, but that seems unlikely to me. Newsboat isn't a low-level application, OS updates shouldn't affect it much.
It'd be helpful if you could downgrade Newsboat and see if these feeds are broken in older versions. If you could narrow it down to two versions, last-known-good and first-known-broken, that'd help.
Better still would be to build from source (instructions are in the README) and use git bisect to find the exact commit that broke it. But I understand it's a tall order.

Hello both!
This definitely happened after upgrading to Sequoia, in my case.
I had the exact same newsboat version on my previous OS and it worked without issue, as soon as I upgraded my system I ran my terminal the first thing as I always do and then I ran newsboat (it is always there in my first tab) and I found the error.
I believe it is the exact same error as OP:
Starting Newsboat 2.37.0...
Loading configuration...done.
Opening cache...done.
Loading URLs from /Users/dvitto/.newsboat/urls...done.
Loading articles from cache...libc++abi: terminating due to uncaught exception of type std::invalid_argument: data for rust::String is not utf-8
[1]    12898 abort      newsboat

@Minoru
Just an update on this since I'm now getting other sort of errors (usually related to particular feeds - hangs and huge CPU spiking for example while it was trying to pull down the hackernews feed, and then a segfault when looking at the archivX astro-ph papers rss feed I have.
Def think this is something to do with sequoia 15.2 (which I just upgraded to from 15.1 though the problem occured on both).
~ ❯ nb
Starting Newsboat 2.37.0...
Loading configuration...done.
Opening cache...done.
Loading URLs from /Users/daryl/.config/newsboat/urls...done.
Loading articles from cache...done.
Caught newsboat::DbException with message: database disk image is malformed

The two feeds causing problems were:
https://feeds.feedburner.com/TheHackersNews
(HackerNews - was not loading the feed consistently and once hung the "R" update on this and then pegged the CPI at 297%).
And this is the feed causing the segfault though it refreshes properly.
http://export.arxiv.org/rss/astro-ph
Let me know if there is anything else I can do to help diagnose the issue. Obviously, since it's the most updated version of mac osx I imagine it affects a large number of nb users.

I had the same problems. Minoru asked if I could enable coredumps and obtain a stacktrace when newsboat crashed. I unfortunately haven't been able to so if you could do it I think it could help.

@Minoru @marlun
Alright, guys... I had to dig around for the core dump of the crash, but here's what I grabbed off my system with the info on the crash. Lemme know if this is helpful. I'm not so familiar with coredumps, but osx claims this is the thing...
(quite quite urious if this is helpful tbh.).
newsboat-2024-12-21-083142.ips.zip


Fixing the unit of the RpcThrottler warning timestamp.

300000 * 1000 nanoseconds == 300 microseconds.  Logging every 300 microseconds isn't helpful. I bumped up the logging to 30 seconds.

LGTM

When the log line is emitted, the 'last successful' time is reset so this will always show that an op completed N seconds ago (where N is the INTERVAL_NO_SUCCESS_WARNING_NANOS).

resetNoSuccessWarningDeadline() does this at time A:
noSuccessWarningDeadlineNanos = clock.nanoTime() + INTERVAL_NO_SUCCESS_WARNING_NANOS;
logNoSuccessWarning() does this at time B:
long lastUpdateNanos = clock.nanoTime() - noSuccessWarningDeadlineNanos + INTERVAL_NO_SUCCESS_WARNING_NANOS;
lastUpdateNanos = B - (A + INTERVAL) + INTERVAL =>
B - A - INTERVAL - INTERVAL =>
B - A
B - A should be greater or equals to INTERVAL.

Right - but in awaitCompletion:
    long now = clock.nanoTime();
    if (now >= noSuccessWarningDeadlineNanos) {
      logNoSuccessWarning(now);
      resetNoSuccessWarningDeadline();
      performedWarning = true;
    }

So subsequent calls to logNoSuccessWarning will always be INTERVAL +- 250 ms (DEFAULT_FINISH_WAIT_MILLIS).

Ah.  I'll fix that.

I think we actually found that printing every INTERVAL (or so) is a good idea, and that's what's happening.  Do you see a problem with that?

Nope, I like that. It's just that "time since last log line" and "time since last RPC completion" are being used interchangeably. The log message, to me, reads "The last time an RPC completed was N seconds ago", but that is not correct.
Re-reading the log message, I do realize that it could also read "We haven't seen any operations complete in the last 30 seconds when we printed that last message", but this means that the end-user needs to try to correlate log lines to hunt down when that particular throttler started emitting log entries.


iOS platform tests should be run on plugin CI

Use case
It is valuable to confirm platform-specific code has not regressed.  There are already a few iOS tests in example apps and it would be nice if these didn't need to be run manually.  This will be more valuable as the number of supported platforms increases.
Proposal
Create scripts/other infrastructure to allow platform-specific tests to be written and run as part of plugin CI.

Currently it's possible to write tests in a roundabout way. For IAP @cyanglaz and I opened the example app's platform code in an IDE, then added unit tests "to the example app" that really tested the underlying plugin code the example app depended on. The IDE used the example app as to build and ran everything with no problem.
We never hooked this into CI. Admittedly it's also conceptually confusing to have to write tests for a plugin in the example app that uses it instead of in the plugin itself.

I looked into this to add them, and it turns out we've actually had Java tests hooked into CI for over a year now. :man_facepalming: They were first added in https://github.com/flutter/plugins/pull/521. They're currently running in CI now: https://cirrus-ci.com/task/4661309406183424?command=main#L1496.
The good news is that this means we can add Java tests for plugins now. I looked around and there didn't appear to be any iOS equivalent of this, just the Java tests.

As far as I know this is fixed; we're running XCTest and XCUITest tests in CI now.


PEP-8 style issue detected in ./src/offsetanalysis.py:6:1:

E302 expected 2 blank lines, found 1

Fixed in #122


QGroundControl .desktop does not work

Issue description
In the file /nix/store/**qgroundcontrol**/share/applications/qgroundcontrol.desktop a non existing shell script is referenced as executable:
[Desktop Entry]
Type=Application
Name=QGroundControl
GenericName=Ground Control Station
Comment=UAS ground control station
Icon=qgroundcontrol
Exec=qgroundcontrol-start.sh
Terminal=false
Categories=Utility;

The binary in bin is called QGroundControl. Please change the Exec= line in the .desktop file accordingly.
Steps to reproduce

install software
try to run it through a launcher

Technical details

system: "x86_64-linux"
host os: Linux 4.18.0, NixOS, 18.09.1206.6d6e4e6b558 (Jellyfish)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.1.1
channels(root): "nixos-18.09.1206.6d6e4e6b558"
channels(wucke13): "nixos-unstable-small-19.03pre158251.50602de85e3, nixpkgs-unstable-19.03pre157897.c9e13806267"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Do you feel like trying to fix this in the installPhase?

Sure


Correctness failure with "Attempting to change status of a different index build"

Occasional failures not reproducible with any specific seed, but reproduce in 1 out of 4000 runs.

It's just an issue with transaction failure mishandling. The issue would be dealt with part of #68. Did a partial fix with #121.


[WIP] use ResizeConsoleWindow libyavirt api

replaced by https://github.com/projecteru2/core/pull/288


repr changes

This PR has some work on array and group repr, resolves #83, resolves #115, resolves #132.

I've simplified the array and group repr to a minimal output consistent with h5py. To still get diagnostic information on an array when you want it there is a new info() method on the array class. E.g.:
>>> import zarr
>>> g = zarr.group()
>>> g
<zarr group '/' (0 arrays, 0 groups)>
>>> g.create_group('foo/bar')
<zarr group '/foo/bar' (0 arrays, 0 groups)>
>>> g
<zarr group '/' (0 arrays, 1 groups)>
>>> g.create_dataset('qux', shape=1000, chunks=100, dtype='i4', filters=[zarr.Delta('i4')], compression='gzip')
<zarr array '/qux': shape (1000,), type '<i4'>
>>> g
<zarr group '/' (1 arrays, 1 groups)>
>>> z = g['qux']
>>> z
<zarr array '/qux': shape (1000,), type '<i4'>
>>> print(z.info())
Name                   : /qux
Type                   : zarr.core.Array
Data type              : int32
Shape                  : (1000,)
Chunk shape            : (100,)
Order                  : C
Filter [0]             : Delta(dtype='<i4')
Compressor             : Zlib(level=1)
Store type             : zarr.storage.DictStore
No. bytes              : 4000 (3.9K)
No. bytes stored       : 350
Storage ratio          : 11.43
No. chunks initialized : 0/10

>>> z[:] = 42
>>> print(z.info())
Name                   : /qux
Type                   : zarr.core.Array
Data type              : int32
Shape                  : (1000,)
Chunk shape            : (100,)
Order                  : C
Filter [0]             : Delta(dtype='<i4')
Compressor             : Zlib(level=1)
Store type             : zarr.storage.DictStore
No. bytes              : 4000 (3.9K)
No. bytes stored       : 490
Storage ratio          : 8.16
No. chunks initialized : 10/10

cc @jakirkham, comments welcome.

I've made some further changes to also simplify the group repr and avoid any potentially expensive computations when generating reprs. New examples:
    >>> import zarr
    >>> root = zarr.group()
    >>> foo = root.create_group('foo')
    >>> bar = foo.zeros('bar', shape=1000000, chunks=100000)
    >>> bar[:] = 42
    >>> root
    <zarr.hierarchy.Group '/'>
    >>> root.info
    Name        : /
    Type        : zarr.hierarchy.Group
    Read-only   : False
    Store type  : zarr.storage.DictStore
    No. members : 1
    No. arrays  : 0
    No. groups  : 1
    Groups      : foo

    >>> foo
    <zarr.hierarchy.Group '/foo'>
    >>> foo.info
    Name        : /foo
    Type        : zarr.hierarchy.Group
    Read-only   : False
    Store type  : zarr.storage.DictStore
    No. members : 1
    No. arrays  : 1
    No. groups  : 0
    Arrays      : bar

    >>> bar
    <zarr.core.Array '/foo/bar' (1000000,) float64>
    >>> bar.info
    Name               : /foo/bar
    Type               : zarr.core.Array
    Data type          : float64
    Shape              : (1000000,)
    Chunk shape        : (100000,)
    Order              : C
    Read-only          : False
    Compressor         : Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0)
    Store type         : zarr.storage.DictStore
    No. bytes          : 8000000 (7.6M)
    No. bytes stored   : 38482 (37.6K)
    Storage ratio      : 207.9
    Chunks initialized : 10/10

Test coverage should be back up. Merging soon.

Sorry coming to this late and have only skimmed the changes. Generally I like the new repr. It's compact, simple, and clean. Adding everything else to info is nice. Also like that info is much more orderly.
The only comment I might have is whether we want to be listing groups through info or whether we should be using the tree-work to handle that somehow.

No problem, thanks for comments. FWIW I think it's worth including a listing of groups and arrays in group info, it's potentially more compact than viewing as a tree, and so provides a convenient way to get an overview of first level members. The tree view is then useful to browse beyond immediate children.


TC662 - Show full billing rate info instead of '< 1 TFT'

Billing rate displayed not correctly ( Owncloud )
Ex.res:The amount shown should be less than 1 TFT, but the number should show the exact amount charged, for example 0.0521 TFT
Act.res:

Billing rate: 3.3947387 TFT/hour for Owncloud
Billing rate: 2.7493524 TFT/hour for VM
TC662
Weblets: v1.4.3-qa3
https://play.qa.grid.tf/#/
Portal: https://portal.qa.grid.tf/

Actually this issue isn't correct
the test case is about showing the exact amount instead of the word Less than 1TFT , which is the case.
If you have any doubts about the pricing of owncloud or VMs please open another issue


fix: NO-JIRA fix Import GPG key in release

hashicorp/ghaction-import-gpg is deprecated. Switching to use the recommend action: https://github.com/hashicorp/ghaction-import-gpg

Requested review from a random @lifeomic/security team member, @cfbevan, due to term: hash.
This review is not blocking and is for broader awareness.  Consider if this change requires deeper security review and ask when it is necessary.

Automation | #pr-flagged-sec-review


fix(ui): use inverted checkbox to clarify settings

cc @AlCalzone

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

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

Totals

Change from base Build<PHONE_NUMBER>5:
0.0%

Covered Lines:
3899

Relevant Lines:
19721

💛  - Coveralls

There are a few more:

(also why is this a checkbox when all others are a toggle?)

So should I only change the dns discovery one?

I guess, yeah


M5Core2 Library 0.0.3 Issue

Does not compile with Version 0.0.3 of the M5Stack M5Core2 Library  ... You must currently use 0.0.2

as the current version is 0.1.4 I assume this is no longer relevant?

I confess I have not tried to recompile it since last year due to all the M5Stack library issues. If you find an a set of libraries that work reliably let me know and we can update this comment /and/or readme and add any specific instructions needed to get it to compile.

yeah - so far no luck at all getting this code to compile. I'm very new to this (but not development)

So I found the "problem". Basically you  need to be using Button instead of TouchButton
I was in the process of starting to convert everything when I stumbled across https://github.com/kitazaki/M5Core2_atemswitcher
This is a fork of @aaronpk code to work with the newer m5 libraries. It said it was only tested with 0.0.6 but I just compiled it without error on 0.1.5 so I assume the lbraries have not changed for this part at least since then.
Not tested it on the actual atem yet as that's in another building but the fact it compiles gives me hope.

As you figured out, the TouchButton type was dropped from the M5Core2 Touch library in 0.0.3 with no documentation other than a single  note on GitHub in the M5Touch.h header that refers to a Legacy API. Unfortunately even the header incorrectly states the "This older API is still supported". Many thanks for opening a bug against M5Core2. These types of issues are why I stopped updating the code last year.
The good news I was able to validate the code  does compile and work using:
Arduino IDE 1.18.13 / M5Stack Board 1.0.7 / M5Core2 Library 0.0.2
Of course I understand this is not a desirable outcome, as such I will take a closer look and see what it will take to update the code to the new Touch library.

Not tested it on the actual atem yet as that's in another building but the fact it compiles gives me hope.

Tested that one now and as soon as I remembered to modify the atem libraries as they stated it worked

Progress so far in converting your script. https://gist.github.com/brianteeman/30447842f7b3c07a091a753cc57a6a36
now to look at the sd card code so I can actually test this

Ah, looks like we started working on this at the same time. Im finished with the required changes however I have run into an issue with "I2S Port 0 not installed". As my Core2 was previously used for testing it still had a config stored in NVM so at least Im not dead in the water. Now I just need to borrow an ATEM for testing as well as try and figure out whats going on the I2S system.

sounds like it could be an issue with the drivers on your  computer and not the Core2.
Would be good to see your code as I am working kind of blind and guessing what it is supposed to do whereas you know what it is supposed to do as you wrote it.

Try the attached, In theory it should work. I had to add a quick hack to the readSDconfig function since cfg.begin  apparently now requires the full path even if the file resides in the root. If it works let me know and Ill start cleaning it up before I upload it.
Tallly-Core2-V10B.txt

At some point past IDE 1.8.13 the  SD File name() or possibly openNextFile()  function was changed so that the name returned no longer includes the full path when dealing with the root directory  This is why the SDConfigFile.begin() code was failing on the subsequent call to SD.open. Apparently SD.open always required the full path which should not be case when dealing with the root directory. I would not have figured this out had I not taken a look at the screen shots from version 1.0 that showed the fully qualified names.
Ill ping the developer and see what he thinks about both issues . In the mean time my hack seems to work as a quick fix until I can determine the best way to correctly address this issue.

didnt have a chance to look at anything today. But I brought the atem to my home office so will check out your script tomorrow.

Great news. It works.
Now I can start customising it for my own purposes. The first step of which is to remove alll the very clever config stuff you wrote and replace it with hard coded values. I understand why you did it that way but it is overkill for my usecase and it requires so much code to maintain

I started the same way, however within a month of the first ATEM purchase the company opted to expand to several thus the reason for the SD card allowing easy reconfiguration. However leaving SD cards around with sensitive info seemed inappropriate thus the reason for writing the config data in flash allowing us to keep the SD cards in a secure location until needed for a reconfiguration.  At last check they expanded the fleet even more with some of the newer models.

yes I changed my mind.
such a shame that the skaarhoj library stopped at 7.5 and that the replacement opensource library (libatem) is in c# not c++

Before uploading the latest version I want to ensure that the SD Library (Version 2.0.0) that now ships with M5Ccore2 Board 2.0.6 is behaving correctly when using the file.name function. I cannot find any documentation for the SD Libraries I have looked at thus far that explain why the SD Library dropped the root path between versions 1.0.5 and 2.0.0. Once I know if the new behavior is correct/incorrect I will rewrite the code appropriate to the expected behavior.
PS: Thanks for motivating me to finally address this issue.

Thanks for motivating me to finally address this issue.

It is me that should be saying thanks

It appears that the ESP32 SD & FS libraries were significantly changed in release 2.0.0. The good news is they decided to add a FS::path() method  which gives the original FQN behavior as in release 1.0.5. Ive included the reference.
https://github.com/espressif/arduino-esp32/pull/4892
Ill make the appropriate change  and upload the updated code most likely tomorrow.

This should be the final version. I found a newer version where I had apparently moved the location of the battery icon. If you prefer the older battery icon location  let me know and I will move it back.
Tallly-Core2-V10B.txt

I am smiling. The first thing I had done was to move the battery icon to the top (and remove the voltage display).
Not sure if the following is a logic error or not and also not sure if it is worth fixing but.
boot with the atem on then the connection status dot will display as green ✔
change the atem to off and the connection status diot will display red ✔
change the atem to off and the connection status diot will display green✔
BUT
boot with the atem off then the connection status dot will not display at all (until a conection is established)
I had expected in this case for it to show red
I am assuming that this is due to the code beginning at line 1150

Try the following. I now display a initial lightgray "pre-connection" dot  to differentiate it from a disconnect. I also opted to display the battery status during the setup  just to ensure it shows up in case there are network issues after setup finishes.
I guess I need to update the docs as well to correctly show the new icons locations and colors.
Tallly-Core2-V10B.txt

tested and works as intended.

Here is the new documentation to go along with it including new graphics (hopefully correct).
Tally-Core2-UserGuide.pdf

Closed with release 1.1


[v1.7.x]Add KEY for Ciyong Chen

Description
update keys file for Ciyong Chen.
@TaoLv @pengzhao-intel

@mxnet-bot run ci [unix-cpu]

@TaoLv @pengzhao-intel please help to merge.

Does this need cherry-pick into other branches?

Hi @ChaiBapchya , I did create the PR for both v1.x  (https://github.com/apache/incubator-mxnet/pull/18576) and master (https://github.com/apache/incubator-mxnet/pull/18577) branches before.


Don't default to new tab for links in landing page

Currently, if some documentation link is clicked from a Znai landing page, the documentation opens up in a new tab. As this landing page is meant to function as a portal to documentation, it doesn't seem clear that this is the proper default behavior.
I suggest that we revert to standard link behavior, and simply load the linked documentation in the current tab.

Do you want to take a stub at it? I can guide.

Take a look at src/screens/landing/Landing.js
function Documentation({documentation}) {
    const url = documentation.url ?
        documentation.url :
        documentation.id + '/'

    return (

{documentation.name}

{documentation.description}

    )
}

@evinaik do you know if you still need this one?

Sorry for the silence on this one. This is still desired in our org.


Signals only work once

(iterate (with reload = nil)
         (when reload
           (format t "~%Reloading config.~%")
           (...))
         (trivial-signal:signal-handler-bind
           ((:SIGUSR1
              (lambda (c)
                (declare (ignore c))
                (setf reload T)
                (next-iteration))))
           (loop (sleep 60))))

Now, sending SIGUSR1 gives this:

in a swank-connected session the reload works, even multiple times, as expected
a binary that got dumped and run from the command line (SBCL 1.4.16+git, Debian amd64) only shows that message once - further SIGUSR1 seem to be ignored.

What am I doing wrong here? Thanks for your help!
(BTW, the message -------- handler invoked in thread: ... ------- and hierarchy... might not be that useful to end-users of an application ;)

No problem... If I find enough time I'll submit a PR.
The image issue is more important.

Related topic: on Darwin SBCL seems to use SIGUSR2 internally for orchestrating its GC, so don't expect it to work.
https://sourceforge.net/p/sbcl/mailman/message/26541746/

Looking at that a bit more I found that from an image the thread that handles the first signal correctly doesn't do sigreturn; so I guess the signal stays blocked on that thread, and delivering it to another thread doesn't trigger the reload behaviour.
Called from the REPL I can see the sigreturn for each signal.

so now it is a SBCL-specific problem?

Well, I can't say (yet).
CLISP won't work (ASDF too old, and another error after upgrading), and ECL just stops outright when receiving the signal.

New data: Handling the signal works from any other than the main thread in SBCL; so moving the handler in another thread in an image is a workaround.


feat(minifront): #1149: sort assets table by priority score

Closes #1149
Idea of this PR - add "smart" sorting to the assets table. Here are some important points on how it's done:

All assets filtering, sorting and grouping is done in the filteredBalancesByAccountSelector function
Sorting multiplies the "priority score" by the token balance amount and compares this value to another token.
Priority scores are defined in this ascending order: unknown token -> unbonding -> delegation -> auctions -> tokens from the registry -> UM

Example: user has UM token (priority 50) with balance 100 and delUm (priority 20) with balance 200 but UM will go before delUm token even though second's balance is bigger.
Before making this solution, I tried to integrate the priority scores into the services package and failed – the scoring system surely needs access to the registry, and registry requires knowing chainId. That's why I moved it to the minifront.

Hey @VanishMax — looks like there are some conflicts, which may be due to PRs I recently merged (sorry 😬 ) . Could you rebase before I review?

@jessepinho sure, just finished rebasing

@grod220 how ok is it for the services package to depend on the Prax registry? Additionally, there's a problem that, even if it's ok to depend on the registry, services don't know the chainId to query the registry.
I think Jesse's idea of moving the scoring to the registry is valid – it has all the needed data to score the assets. Only that the non-registry assets will always have 0 score.

Every frontend would be responsible for its own scoring method
If that's correct, can't the scoring live in minifront?

@grod220 how ok is it for the services package to depend on the Prax registry? Additionally, there's a problem that, even if it's ok to depend on the registry, services don't know the chainId to query the registry.

generally, if services need to know something, it should be provided or accessed through a context key. see the ctx dir in services.
services can query idb, which should contain all registry asset data.
there should probably be a key for the native token id or other special token ids.
services can probably operate without chain id, but could add a key for chain id if necessary, or query app params from idb.

Every frontend would be responsible for its own scoring method

This was more of a comment on a downside and something we should try to avoid.

services can query idb, which should contain all registry asset data.

Given the chain registry syncs with the local assets table, the local db will always be better to query metadata. From within the balances rpc method, it could even just call the assetMetadataById rpc method to get what it needs without needing knowledge of chain id.

there should probably be a key for the native token id or other special token ids.

Yes, we should either add a special table for the native staking token id or expose it in a ctx (which would use the registry to find it).

@grod220 @turbocrime @jessepinho Thank you for the feedback and ideas on how to improve it. It took me some learning and figuring out how to debug the services package but I found a way to simplify the scoring. IndexedDB truly had all data I needed to fetch the assets and apply the manipulations.


Addig CoreBluetooth

It would be nice to have the CoreBluetooth module in the repository. I wanted to add it, but I faced with several issues. If you can help me with these I can handle the rest and creating the PR. (Assume I'm not a Mac programmer)

The core bluetooth delegate implementations are Protocols, I don't know what does it mean, but the macschema can't handle it. (I cloned the repo and I built my own version, so I'm running on latest.) How can I add implementation to the macschema to handle this?
If you check this, I added the generated api descriptors and it's generating the corebluetooth just fine. (Obviously I left out the delegate ones, because those were empty descriptors). But I needed to leave out the Enum descriptors as well, because I got a nil dereference error, from this section. (I just skipped this if it's Enum just for curiosity, and I got an other one from somewhere else). So it seems it's only handling Classes.

Let me know your thoughts, if you can help me, I can invest sometime to add these features.

first, awesome! this'll be rad. we haven't added enums yet, but our workaround is to just find out their value and use it directly. let me know if you'd want to help get enums working properly.
and with protocols, particularly for delegates, since those are interfaces you'd be implementing, you can for now just create a class using objc package and as long as you implement the needed methods, it should work.

I don't think that we need enums directly. So I don't think that we want to work on it right now.
On the other hand, we've worked on the Core Bluetooth addition, but we run into issues. These are issues where I want to add a delegate to the CentralManager and I just got a panic kind of issues, and it's really hard to figure out what's going on, because everything relies on a raw pointer. Also there are some issues in the generation as well, because there are missing references even after I created the wrapper structs.
How you usually debug errors? I can't show it to you at the moment, but if you can help me with that to figure out, I can create a quick PR and tell you how to replicate certain errors.
Motivation: We are working on a tool which needs an io.Reader/io.Writer for multiple OS architectures. I'm done with the Go community for now, so we try to solve it somehow... We have a fully working version on Linux. As you see we are working on the MacOS version and once it's done, we will dive into the Windows solution.

I replicated the generation issue here. If I run this code, I get these kind of errors (even if I have the wrapper.go and the necessary types):
# github.com/progrium/macdriver/corebluetooth
../../corebluetooth/corebluetooth_objc.gen.go:24:10: error: use of undeclared identifier 'CBATTRequest'
        return [CBATTRequest
                ^
../../corebluetooth/corebluetooth_objc.gen.go:28:10: error: use of undeclared identifier 'CBAttribute'
        return [CBAttribute
                ^
../../corebluetooth/corebluetooth_objc.gen.go:32:10: error: use of undeclared identifier 'CBCentralManager'
        return [CBCentralManager
                ^
../../corebluetooth/corebluetooth_objc.gen.go:36:10: error: use of undeclared identifier 'CBCentral'
        return [CBCentral
                ^
../../corebluetooth/corebluetooth_objc.gen.go:40:10: error: use of undeclared identifier 'CBCharacteristic'
        return [CBCharacteristic
                ^
.......

You might just need to make sure the frameworks are included. See this line for example: https://github.com/PumpkinSeed/macdriver/blob/main/cocoa/cocoa_objc.gen.go#L11

I tried in on that way as well. Here you can see the final result (which compiled). This is my hacking environment where I just got other errors. I commented them out, because even if I added the framework CoreBluetooth that didn't work. Once I reach my Macbook (because I developing the Windows-side bluetooth management as well, but my main OS is Linux :D) I will add it and sending a new version of it.

Ok, I was dump, I just added those. The missing wrapper errors disappeared, but there are new errors (not new, but leftover). Sorry if I'm asking too many questions. I also have my colleague who will able to work on this implementation, he will join later today and check everything.
# github.com/progrium/macdriver/corebluetooth
corebluetooth/corebluetooth_objc.gen.go:97:3: error: 'init' is unavailable
                init];
                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBATTRequest.h:31:1: note: 'init' has been explicitly marked unavailable here
- (instancetype)init NS_UNAVAILABLE;
^
corebluetooth/corebluetooth_objc.gen.go:117:3: error: 'init' is unavailable
                init];
                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBAttribute.h:21:1: note: 'init' has been explicitly marked unavailable here
- (instancetype)init NS_UNAVAILABLE;
^
corebluetooth/corebluetooth_objc.gen.go:164:3: error: 'registerForConnectionEventsWithOptions:' is unavailable: not available on macOS
                registerForConnectionEventsWithOptions: options];
                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCentralManager.h:239:1: note: 'registerForConnectionEventsWithOptions:' has been explicitly marked unavailable here
- (void)registerForConnectionEventsWithOptions:(nullable NSDictionary<CBConnectionEventMatchingOption, id> *)options CB_CM_API_AVAILABLE;
^
corebluetooth/corebluetooth_objc.gen.go:184:3: error: 'init' is unavailable
                init];
                ^


Features don't include ssh any more

Why is ssh missing? The documentation says that it depends on the support of ssh compiled into libgit2 library. However, libgit2 package is not installed on my system. I've just written a small test to compare the original and the current version of Rugged.
require 'rugged'
puts Rugged::VERSION
puts Rugged.features.join("\n")

results from the original version:
$ ruby test.rb
0.99.0
threads
https
ssh

and the current one:
$ ruby test.rb
<IP_ADDRESS>
threads
https

@n-rodriguez, I assume this was your choice back then ?

@n-rodriguez, I assume this was your choice back then ?

I think it's due to https://github.com/redmine-git-hosting/gitolite-rugged/commit/88b8626ccbe0ab590c7bb76ad1f9bae24ed73b91
See https://github.com/libgit2/rugged#use-the-system-provided-libgit2

I've just written a small test to compare the original and the current version of Rugged.

"By default, Rugged builds and uses a bundled version of libgit2" so if you did gem install rugged to do your test, then you have installed the bundled library and so it works
When you install rugged as a gem dependency libgit2 is not automatically built, see: https://github.com/libgit2/rugged#options

From a common user's point of view, it simply doesn't work. Though, thank you for the explanation.

Would there be any way to improve the situation ? Can't we somehow declare that SSH must always be included ?


[Map] Dm-HangingGardens

Hash: 6cdd9953a9365bc7dc189d323e7137c806f23a45
Current name: Dm-HangingGardens
The author's name should just be 	Adam Sims "Oblivion_Soldier"
the rest is his email address
This author also uses the name  Adam "Obliviion_Soldier" Sims

Updated author to remove email address and be in line with what seem to be most of his other maps: "Adam Sims aka Oblivion_Soldier"


[docs-infra] Skip non React components in visual regressions

Closes #41584

I think we should remove some of the files in the blacklist to demonstrates that it work, e.g; getSignInTheme


How to solve this problem：The partition number of the source kafka topic is 5, but the partition number of the destination kafka topic is 1

How to solve this problem：The partition number of the source kafka topic is 5, but the partition number of the destination kafka topic is 1

@Bruce2jiang If this question is about the Kafka MirrorMaker connector, please check out the system.destination.identityPartitioningEnabled option on the connector's wiki page.

Closed as duplicate of #651


Polymer.dom(parent).removeChild(node) not working outside of Chrome

Polymer.dom(parent).removeChild(node), referenced in Polymer docs (Local DOM Basics and API), doesn't seem to be working outside of Chrome.
I've tried it using Polymer 1.2.1, on Safari 9.0.1, Firefox 35, and iOS 9.1.
On the other hand, oddly enough Polymer.dom(parent).appendChild(node) works fine in all browsers I've tested.
Can you please check it out? Thanks!

This seems to be working for me in Firefox: http://jsbin.com/fahiwo/edit?html,output
Can you post an example that doesn't work?

<link rel="import" href="../bower_components/polymer/polymer.html">

<dom-module id="my-component">

  <template>

    <button on-click="add">Add node</button>

  </template>

</dom-module>

@pensierinmusica Try this:
remove: function (node) {
   Polymer.dom(node.parentNode).removeChild(node);
}

@miztroh, actually that's exactly what I ended up doing and it works. But why the version posted above doesn't work? Thanks!

@pensierinmusica Your add function adds elements to this.$.container.  In your version of the remove function, you set node = node.parentNode, which should be this.$.container.  So, you're basically telling this.$.container to remove itself.  If you leave out the node assignment line, the rest of your function will probably work as is (see below).
remove: function (node) {
   Polymer.dom(this.$.container).removeChild(node);
}

@miztroh, I'm getting a little confused... In my understanding the node that is passed to the remove function is the "x remove" <button>. Hence its parent should be the unnamed
 that is created on add():
var node = document.createElement('div');
node.innerHTML = '
I am a new node!
 <button onclick="document.querySelector(\'my-component\').remove(this)">x remove</button>';

Now, when the user clicks on the "x remove" button, let's walk this through steps for a sec.

The remove function is called with node === "x remove button";
node is reassigned to the parent element, so now node === "unnamed div";
We ask the container div to remove the "unnamed" div:

Polymer.dom(this.$.container).removeChild(node);

Am I missing anything? Thx  :)

I didn't see in your message above that you were removing a child of the node you previously added.
In that case, the function I originally posted is what you'll want to use.

@miztroh as I mentioned in https://github.com/Polymer/polymer/issues/2698#issuecomment-163610062 that's what I already ended up doing in my code.
Still, given the code at the top, it's a mistery to me why this works:
Polymer.dom(node.parentNode).removeChild(node);

And this doesn't
Polymer.dom(this.$.container).removeChild(node);

Any insight?

It does work: http://jsbin.com/cefalitiji/edit?html,output

@miztroh true, now it works, not sure why. Probably something got fixed in the meantime in Polymer's codebase that took care of it. I'd say we can close this issue then. Thanks everyone for helping out!


global: set 'ln' parameter when calling 'page_not_authorized(..)'

Originally on 2013-03-22
The generic page for access failures is rarely displayed in user's language, but CFG_SITE_LANG, as the language parameter is rarely passed when calling webuser.page_not_authorized(..).
It would be nice to update the codebase globally, or have the webuser.page_not_authorized(..) to extract the language information from the given req object.

Not needed in 2.x. Please re-open if needed for 1.x.


Remove statistics folder

This is a legacy of being a 1 person project before, let's go ahead and remove it I have a local copy I can move elsewhere.

See #22


Reopen on the Desktop results in error about Git Base extension not being loaded when the last active window is a remote window

Upstream issue: https://github.com/microsoft/vscode/issues/157817

Verification

Have latest Remote Repositories pre-release installed in desktop VS Code
Have a Remote-SSH, Remote-WSL, Remote-Containers, or Codespaces window open in desktop VS Code
Paste the following vscode protocol url into your browser: vscode-insiders://ms-vscode.remote-repositories/open?url=https://github.com/microsoft/vscode
Verify that the window successfully opens


Cleanup Copyrights

Why are there two duplicate copyright statements?

@jinning-li  it has conflict and need be resolved.

Codecov Report

Merging #84 (f74c700) into main (0153f67) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #84   +/-   ##
=======================================
  Coverage   87.05%   87.05%
=======================================
  Files          93       93
  Lines        3724     3724
=======================================
  Hits         3242     3242
  Misses        482      482

Impacted Files
Coverage Δ

jaxonnxruntime/backend.py
87.87% <ø> (ø)

jaxonnxruntime/call_onnx.py
95.61% <ø> (ø)

jaxonnxruntime/config_class.py
51.36% <ø> (ø)

jaxonnxruntime/core/handler.py
94.73% <ø> (ø)

jaxonnxruntime/core/onnx_graph.py
98.88% <ø> (ø)

jaxonnxruntime/core/onnx_node.py
83.67% <ø> (ø)

jaxonnxruntime/core/onnx_utils.py
79.54% <ø> (ø)

jaxonnxruntime/onnx_ops/abs.py
91.17% <ø> (ø)

jaxonnxruntime/onnx_ops/add.py
81.57% <ø> (ø)

jaxonnxruntime/onnx_ops/averagepool.py
95.12% <ø> (ø)

... and 52 more

@zhiqwang it is because of Google internal tool mess up.

code was merged.  Thanks a lot for your time, @zhiqwang !


Minimal energy needed for growth constraint

Add minimum energy threshold (e.g. 100 hours doubling time) for growth to occur.

It's minimum birth rate rather than minimum energy threshold, no? Motivation was that if the cell cycle (more specifically the G1 phase of the cell cycle) lasts long, then the cell enters G0 (quiescence) and effectively no longer divides.

Code contains two comparisons of birthRate to threshold: energy_modified_birth_rate > log(2)/max_cell_cycle_duration  However, log2 is only in there for the first comparison, not the second.

Code contains two comparisons of birthRate to threshold: energy_modified_birth_rate > log(2)/max_cell_cycle_duration However, log2 is only in there for the first comparison, not the second.


libshout: fix build with clang 16

Description of changes

Upstream MR includes several missing headers that were resulting in implicit function declaration errors.

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This is failing on staging-next: https://hydra.nixos.org/build/239449199.


The flutter web project running on local host, it is very slow while running!

Details

Target Platform: Big Sur
Target OS version/browser: Google Chrome
Devices: Macbook
Logs

Logs

@panli200
When you open issues related to performance, please fill out the requested details in the template so that we'll have enough details to work with.
Since you didn't provide any details, I am going ahead and closing this as non-actionable.


Export: Actions are only exported when they are used in the first strip in a nla_track (or the active action)

Describe the bug
When I export an object with nla tracks like the following (see screenshot) with each strip having a different action
then only actions for A and B are exported (gather_animation_hook is not invoked for action C)
To Reproduce
Steps to reproduce the behavior:

Create nla track with 2 strips (with each having a different animation action)
Export as glb
Only first animation action is exported

Expected behavior
All actions used inside a nla track are exported
Screenshots

.blend file/ .gltf
needle_test_2.zip
Version

OS: Win 10
Blender Version 3.3.1

Additional context
As a workaround im temporarely creating a track and add a strip with the action and then remove it again after export.

Hello,
Thanks for the report.
This is a know limitation, already discussed a few times here.
Currently, only Track with only 1 action are exported, and only action is exported (no modification done by strip is taken into account).
Some refactoring of animation part of the exporter is currently in progress (and will land to 3.6).
In this refactoring, you will be able to export in "Track" mode, instead of "action" mode.

Ok thanks for the quick reply.
For me all the tracks get exported actually - but per track only the first strip.

While we are here: are there plans for supporting KHR_animation_2 or do you think it would be possible to expose interfaces for implemeting it as part of exporter extensions?

While we are here: are there plans for supporting KHR_animation_2 or do you think it would be possible to expose interfaces for implemeting it as part of exporter extensions?

At end, KHR_animation_pointer will be supported, but not in a short term, the extension needs to be officially ratified because it can land into the code.


Example Insert Statement is failing in DBR 7.3

[The Insert statement fails in DBR 7.3 Cluster]

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

ID: 7c6f53ce-b801-9dcb-07f1-b87a988f8907
Version Independent ID: 36958a72-de9b-dccc-3732-f12b987446a6
Content: INSERT INTO - Azure Databricks
Content Source: databricks/spark/latest/spark-sql/language-manual/sql-ref-syntax-dml-insert-into.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@katukam1  Since this issue is not related directly to the doc, I would recommend you to create a thread on the forums - Microsoft Q&A or Stack Overflow
Once you post your issue on forums, it will have visibility across the community which is a better suited audience for such types of issues.

@katukam1   Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Check simple SimpleRegistry before DynamicRegistry

Should have opened an issue for discussion first since I think I am solving an edge case for myself.
I wanted any configured gateways to take precedence over any dynamic one.
What I really wanted was to override certain variables from my dynamic gateway, but still haven't found a good way to do that.

DynamicRegistry uses a factory option to get a real factory object and use it to build a gateway. So there are several options:
1.You can create a custom factory, register it and  (it extends a basic one, paypal_express_checkout for example). store its name in the config as option so it will be used for building your gateway.
2. With the method PayumBuilder::addGatewayFactoryConfig you can adjust a default config of any factory. https://github.com/Payum/Payum/blob/master/src/Payum/Core/PayumBuilder.php#L202
3. If you need something to be available globally you can add it to core factoty by using PayumBuilder:: setCoreGatewayFactoryConfig method. https://github.com/Payum/Payum/blob/master/src/Payum/Core/PayumBuilder.php#L315


chore: Update committed ACIR artifacts

Description

Problem*

Resolves
Summary*
This PR updates the commited ACIR artifacts to be accurate again.
Note that the bytecode for a number of programs has increased significantly. This is due to segments of ACIR being to constrain brillig opcodes with constant inputs being generated after #2347 (cc @vezenovm)
Documentation

[ ] This PR requires documentation updates when merged.

[ ] I will submit a noir-lang/docs PR.

[ ] I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

This is an automatic message, which gets sent for PRs made over the weekends, since I am personally not at my computer. To avoid this automatic message, please make PRs Monday-Friday.
Message:
Hello,
Will review on Monday!


Fix/Spinal Tap Case Missing Parenthesis

Pre-Submission Checklist

[x] Your pull request targets the staging branch of FreeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue (replace XXXX with an issue no): Closes #8852

Description

Added <wbr> to long test cases in this challenge to enable wrapping when required.

@Bouncey LGTM! But I wanna wait to get @hallaathrad's opinion on this fix.

yup. LGTM too. worst case scenario it shouldn't break a thing... I think. How does it render in IE >12?

@hallaathrad https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr

This element was first implemented in Internet Explorer 5.5 and was officially defined in HTML5.

But then

"[1] Support for the  tag was introduced in Internet Explorer 5.5, though removed again in version 7."

Oh, I'm well aware of this... I'm just wondering what the failure behaviour will be. Will it simply be ignored and not added to the DOM? and even throw an error message? or perhaps it will simply be displayed as part of the text (i.e. the text thisIsSpinal<wbr>Tap actually being shown to the user).
IE is sort of horrible and unpredictable that way. any chance we can run tests? I mean, if it simply gets ignored, I'm ok with this and those users will simply have to put up with the missing parenthesis —and hopefully get a decent browser too. haha

@hallaathrad ah I see. You said "how does it render". I didn't read carefully enough. Anyways, I don't have quick access to IE to test this.

@FreeCodeCamp/issue-moderators anyone to try this one out, just to be on the safe side?

@hallaathrad, pulling down now...

There some ie work-arounds here
I'm away for a wedding and unable to try them out until Wednesday. If someone wants to try them out then be my guest.

For what it's worth, the "fiddle" works great in Edge; I'm on Windows 10 so no more IE for me...http://fiddle.jshell.net/88q54/1/I see a "WORD" in the bottom right hand corner (appears to be the Render view).Thanks,Steve
Date: Sun, 5 Jun 2016 00:56:04 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC:
Subject: Re: [FreeCodeCamp/FreeCodeCamp] Fix/Spinal Tap Case Missing Parenthesis (#8911)
There some ie work-arounds here
I'm away for a wedding and unable to try them out until Wednesday. If someone wants to try them out then be my guest.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks Steve,
W3Schools states it is supported from IE 12(edge?)
Caniuse.com states support from IE 13?

@scshepard you should still have ie 11 installed yet hidden. I know my windows 10 desktop does.
For all interested, I've run tests and ie sees and recognises it as an element in the DOM, but offers not any behaviour. I'd dare say it's safe and I'll clean the mess if we get any reports :)


Mechanism for secrets in plugin configuration

See https://github.com/simonw/datasette-auth-github/issues/1
We need a mechanism where by plugins can tap into "secret" config options without exposing them in the visible metadata.json (where plugin configs currently live, see https://datasette.readthedocs.io/en/stable/plugins.html#plugin-configuration )

Initial syntax suggestion:
{
    "title": "datasette-auth-github demo",
    "plugins": {
        "datasette-auth-github": {
            "client_id": "986f5d837b45e32ee6dd",
            "client_secret": {"$env": "GITHUB_CLIENT_SECRET"}
        }
    }
}

Another useful option is the ability to load secrets from a file. This allows the file to have permissions set on it to only be read by the Datasette user. It also interacts well with the Kubernetes secrets mechanism, which is file-based.
{
    "plugins": {
        "datasette-auth-github": {
            "client_id": "986f5d837b45e32ee6dd",
            "client_secret": {"$file": "/secrets/github-client-secret"}
        }
    }
}

Re-opening this because I messed it up: the secret options are still visible in /-/metadata because I mutate the dictionary in place!
https://github.com/simonw/datasette/blob/a2d45931935f6bb73605a94afedf9e78308c95d6/datasette/app.py#L273-L279


Compatibility with original numpy and scipy

The embedded DeviceArray is not fully compatibility with the original numpy array.
When I pass DeviceArray and gradient functions to the original scipy.optimize.minimize. It works with some of the minimizers while some others not (BFGS ok, L-BFGS-B not). It seems like DeviceArray breaks compatibility with scipy.
I could wrap it with onp.asarray(). Does this create a significant overhead? If so, what's the most efficient way to achieve maximum  compatibility with the original numpy and scipy? Since you do not plan to completely implement scipy, it would be great if I could use Jax with the original scipy at a low cost.
Thanks!

I've also noticed that SciPy's L-BFGS-B can't handle DeviceArray objects.
But this isn't really an issue with JAX. SciPy needs to be updated internally to call asarray() on arrays returned from functions being optimized.
Also, to be clear we are interested in implementing a much larger portion of SciPy, including quasi-Newton optimization methods: https://github.com/google/jax/issues/1400

@shoyer Thanks for the reply! It would really exciting to have that implemented.
In case anyone interested, to make L-BFGS-B work for now, one need to wrap jacobian DeviceArray with onp.array() to make a copy. With onp.asarray, it will complain about array not being Fortran contiguous, which is a misleading error. The actually problem is the array being readonly. https://github.com/pybind/pybind11/issues/935
As for the time consumption, not bad, but not negligible.
x = np.ones(100)
myfunc = lambda x: np.sum(x**2)
gfunc = grad(myfunc)
jit_gfunc = jit(gfunc)
jit_gfunc_np1 = lambda x:onp.array(jit_gfunc(x))
jit_gfunc_np2 = lambda x:onp.asarray(jit_gfunc(x))

%timeit gfunc(x)
%timeit jit_gfunc(x)
%timeit jit_gfunc_np1(x)
%timeit jit_gfunc_np2(x)

100 loops, best of 3: 3.59 ms per loop
1000 loops, best of 3: 288 µs per loop
1000 loops, best of 3: 412 µs per loop
1000 loops, best of 3: 417 µs per loop

For the record as he took me a bit of time to use the proposed work-around, it seems like one also needs to switch to double precision to allow using lbfgsb with jax (See also https://github.com/google/jax/issues/936 and https://github.com/scipy/scipy/issues/5832). Here is a short self-contained use case:
import jax
import jax.numpy as jnp
import numpy as onp
import scipy

# This needs to run at startup
# https://jax.readthedocs.io/en/latest/notebooks/Common_Gotchas_in_JAX.html#Double-(64bit)-precision
jax.config.update('jax_enable_x64', True)

def run(np,optname):
    print(f"\nRunning {optname} on {np}")
    def rosen(x):
        return np.sum(100.0 * (x[1:] - x[:-1] ** 2.0) ** 2.0 + (1 - x[:-1]) ** 2.0)

    # double precision is needed for lbfgsb and probably other optimisers
    # https://github.com/google/jax/issues/936
    # https://github.com/scipy/scipy/issues/5832
    x0 = np.array([1.3, 0.7, 0.8, 1.9, 1.2], dtype='float64')

    optopt = {'disp': True}

    if np==onp:
      return scipy.optimize.minimize(rosen, x0, method=optname, options=optopt)
    else:
      g_rosen = jax.grad(rosen)

      g_rosen_used = g_rosen
      if optname=='L-BFGS-B':
        # Need to make sure the data is copy from jax for LBFGSB
        # https://github.com/google/jax/issues/1510
        # asarray is not sufficient
        # g_rosen_as_np = lambda x:onp.asarray(jax.jit(g_rosen)(x))
        g_rosen_np = lambda x:onp.array(jax.jit(g_rosen)(x))
        g_rosen_used = g_rosen_np

      return scipy.optimize.minimize(rosen, x0, jac=g_rosen_used, method=optname, options=optopt)

print(run(onp,'BFGS').x)
print(run(jnp,'BFGS').x)
print(run(onp,'L-BFGS-B').x)
print(run(jnp,'L-BFGS-B').x)


Make passphrase a bytestring.

This should resolve some Python 3.2 test breakages.

In the longer term we may simply want to drop support for Python 3.2.


Allow Lapis to be fed into an Enchanting Table using Hoppers

When you use a hopper to add Lapis to the enchantment table and then open the enchantment table interface all Lapis entered while the interface is open will disappear. Steps to recreate:

face a hopper into the enchantment table
add Lapis to the hopper
open the enchantment table interface
wait for 4+ seconds and check the lapis supply

This presumably happens with any method of adding Lapis like droppers/dispensers or modded means like Ender I/O pipes and the likes. The test I did was without extra mods but with pure Forge + Lapis Stays, versioning below:
Minecraft Version: 1.12
Forge Version: <IP_ADDRESS>3
Lapis Stays Version: 1.1.2-beta2

Thanks for highlighting this. I've uploaded v1.1.2 which partially resolves the issue - the hopper will no longer attempt to feed the lapis into the enchanting table so it will no longer disappear.
I'm not sure how I can make it possible to allow feeding lapis using hoppers, because of the way I'm replacing the vanilla tile entity with a custom one. I'll leave this open for now, and change it from a bug to an enhancement, and see if I can find a way of making it work.

Thank you for the effort. Although the work-around is not optimal, the lapis doesn't get voided at least! :)


Ballerina build failure not resulting in non-zero exit code

Description
When a ‘ballerina build’ command fails it is not setting a non-zero exit code.
Steps to reproduce:
Change the default unit test so that it fails. Check errorlevel (Windows); value is not set.
Affected Versions:
1.1.3 (haven’t checked 1.1.4)
OS, DB, other environment details and versions:
Tested on Windows
Related Issues (optional):
As a side-effect, when the ballerina-action in Github workflow has a failing build step, it reports as ‘passed’.
Suggested Labels (optional):
Cli

In Linux (Ubuntu 19.04) the exit code is always zero:
$ ballerina version
jBallerina 1.1.2
Language specification 2019R3
Ballerina tool 0.8.0
$ ballerina build -o build/test.jar test.bal
Compiling source
        test.bal

Generating executables
        build/test.jar
$ echo $?
0
$ vi test.bal
$ ballerina build -o build/test.jar test.bal
Compiling source
        test.bal
error: .::test.bal:3:9: unknown type 'jsonX'
jani@baldev:~/bal-ss-1/language-examples$ echo $?
0

Duplicate of #20967

Fixed with https://github.com/ballerina-platform/ballerina-distribution/pull/431


Can I sheet_add_aoa not rewriting the actual data?

Problem is in rewriting the data row. I need to make a sheet with couple of merged columns on top of the document. So, I thought it will be better to - first of all - make a document as usual, with header row, and only then add top row which is also a header, but with merges. Something like:
....... car .......... | ......... stuff ........ |
year | model |  color | wheels |
so, I've already made everything starting from 2nd row (in this case year, model, etc) and thousands of rows of data with formulas. Now I want to make a final touch and add the top row with merges, but it overwrites my header row (in this case year, model, etc). And if I try to add 2 rows with both headers, it overwrites first data row.
Can this be fixed any how?

Also I can't convert it to JSON array, remove last element and convert it back to sheet - all the formulas, for some reason, are gone after this operation

The data for merges are held in the upper-left corner of the merge range.  Skip the intervening indices.  In your example, A1:B1 and C1:D1 are merged, so rewriting the header should skip the B column:
XLSX.utils.sheet_add_aoa(ws, [
  [
    "A1",
    , // skip B1
    "C1"
  ]
], { origin: A1 });

This will not disrupt the merge structure and you will have rewritten the headers


Running out of CPU memory. Dataset is loaded for each created process

Describe the bug
I want to pretrain a BERT model on 8 A100 40G GPUS. The problem which I have is that I run out of CPU memory (not GPU memory). I cannot understand why. I am trying to load a 75G dataset and deepspeed will load it as many times as the created processes. Is there a way to load the dataset only once in the CPU? My setup covers up to 500G CPU memory.
Also,  what would be the optimal parameters for such training? Also why do I not have a larger batch size when I am using zero optimizer stage 2?
To Reproduce
deepspeed config file:
{
"train_batch_size": 2048,
"gradient_accumulation_steps" : 32,
"optimizer": {
  "type": "AdamW",
 "params": {
  "lr": 1.0e-04,
  "betas": [0.9, 0.98],
  "eps": 1e-6,
  "weight_decay": 0.01
 }
},
 "fp16": {
  "enabled": true,
  "loss_scale": 0,
   "loss_scale_window": 1000,
  "initial_scale_power": 16,
  "hysteresis": 2,
  "min_loss_scale": 1
},
 "zero_optimization": {
 "stage": 2,
 "offload_optimizer": {
  "device": "cpu",
   "pin_memory": true
},
"contiguous_gradients": true,
"overlap_comm": true,
"reduce_scatter": true,
"reduce_bucket_size": 2e8,
"allgather_bucket_size": 2e8,
"allgather_partitions": true
},
"zero_allow_untested_optimizer": true
}
model = BertForMaskedLM(config=config).to(device)
if self.deepspeed_conf is not None:
 self.model, self.optimizer, _, _ = deepspeed.initialize(
  model=model,
  model_parameters=model.parameters(),
  config_params=self.deepspeed_conf
)
for b in tqdm(self.dataloader):
  data = {k:v.to(self.device) for k, v in b.items()}
  labels = data.pop("labels")
  output = self.model(**data)
  loss = self.criterion(output["logits"],labels)
  self.model.backward(loss)
  self.model.step()
Expected behavior

Train without running out of memory
expected to be able to have larger batch size with the zero stage 2 optimization, but it will run out of memory.

ds_report output
8 40G A100 GPUs
64 CPU
500G memory
Launcher context
running: deepspeed train.py
Thanks a lot in advance!

Don't attempt to load the entire dataset into memory. Use a memory map instead.


Blacklist by mutelist of pubkey

Add the pubkeys of any mutelist to the black list. Blacklists can now be managed nostr natively.

This is implemented but it's using the event id which changes every time you add or remove someone. So instead I need to change the config to have mutelist pubkeys instead of ids.


Resolve typings automatically

It would be nice if typings from @types or the packages themselves could be resolved automatically. Is this something to be considered?

It's not really possible because, when loading in the browser, trying to load files which may or may not exist will cause 404 errors everywhere. I don't think even the typescript compiler automatically resolves @types packages, they have to be configured in the types compiler option.

I believe VSCode does, but yeah, easier with access to the file system. Closing this then, thanks for the reply.

@frankwallis TypeScript does automatically resolve files from node_modules/@types the problem is that it is hard coded based on assumptions of the npm package layout and the Node require function.
@Mosho1 VS Code does nothing special here, it gets all of its information from the TypeScript language service.


Code coverage - Danger related changes

Updated Scheme to gather code coverage

Danger has errored
[!] Invalid Dangerfile file: syntax error, unexpected end-of-input, expecting )
 #  from Dangerfile:12
 #  -------------------------------------------
 #    include_test_targets: false,
 >    minimum_coverage_percentage: 50.0
 #  -------------------------------------------

  Generated by :no_entry_sign: Danger


scientific extension: rel of cite-as links for sci:doi and for pub dois

This came up here https://github.com/stac-utils/pystac/pull/199#discussion_r516974464 where we are trying to implement the scientific extension in pystac.
It's difficult to distinguish the sci:doi link from the publication doi links.  It feels weird that there is no way to distinguish the two types of links without lookin in the sci:doi field and pubs.  What if the data doi and the publication doi are the same?  What is someone adds a cite-as on their own?
{
  "sci:doi": "10.5061/dryad.s2v81.2",
  "sci:citation": "Vega GC, Pertierra LR, Olalla-Tárraga [SNIP]",
  "sci:publications": [
    {"doi": "10.1038/sdata.2017.78", "citation": "Vega GC, Pertierra LR, Olalla-Tárraga [SNIP]"}
  ],
  "links": [
    {"rel": "cite-as", "href": "https://doi.org/10.5061/dryad.s2v81.2"},
    {"rel": "cite-as", "href": "https://doi.org/10.1038/sdata.2017.78"}
  ]
}

The links were just intended as simplification for clients and users, mostly for the ones not supporting the scientific extension so that user could still follow links. It was just meant as a list of related dois to follow, not to transport any additional information or so.
If two links would be the same, there should be just one link to it. The thing is that the DOI links can easily be generated if the client understands the sci extentsion/dois anyway so those clients don't really need the links.

The issue here isn't when the links are the same - it's when the links are different, and they are both labeled as 'cite-as'. 'cite-as' to me indicates - if you are going to cite this data, use this DOI. Which makes sense for the main "doi" field of the scientific extension.
However, for the publications, which are a "List of relevant publications referencing and describing the data.", the DOIs are not what users of the data should be citing. Therefore the "cite-as" link seems to be a misnomer here. The IEFT draft linked to in the relation type description in the extension spec is titled "cite-as: A Link Relation to Convey a Preferred URI for Referencing" - which the publication DOI links are not.
I'd recommend that the rel-type of the publication DOIs be changed from 'cite-as' to something else - perhaps 'publication-doi'? Happy to make a PR (in time) if folks agree this is a good change.

Well, from my understanding the links are the preferred URIs for Referencing the publications. I had seen the links as addition to the individual sci:... entries and be used in that context, not just in the context of the metadata file. But your thinking also makes sense to me, but then it should be ensure that there's always a maximum of one cite-as, right? So either a new rel type would work or put the links into the publication object...

I think links in the publication objects would be odd, since it seems like "links" are the place for those. A new rel type would work, but another option is that we just have one cite-as and we don't give links to the referencing publications, because as you mentioned this is a convenience as users can figure that out for themselves, and the most important link is the cite-as.
Which option to people prefer? No links for publications, or links but with a new relation type? If the latter, does publication work, or are there other suggestions?

I think both options are fine for me... Maybe go for simplicity and no links?

I prefer the putting links in links and using specific rel types to define what it is.  Additional sci fields in an extension would be used to provide additional context if needed.

Closed with #931


Switch to miette for error reporting

This implements basic migration miette. #77
Pest uses miette for error reporting now - this has been fixed.
The rest of the errors do not implement miette's fancy features. I want to use the fancy features for errors created on ast level.
I will implement those in a separate PR.
Closes #86

Cool stuff!

Beautiful:

Looks good to me! I think at some point we might want to improve the actual message(s), but that can come later :)


sanitizer strips part of the value when the value contains a forward slash

What steps will reproduce the problem?
1.add following line to JsonSanitizerTest: assertSanitized("dev/comment",
"dev/comment");
2.run the test

What is the expected output? What do you see instead?
Instead of the expected output "dev/comment", we get "dev".

What version of the product are you using? On what operating system?
latest git version, Windows 7

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 30 Jan 2015 at 10:14

https://github.com/OWASP/json-sanitizer/commit/9227e9d355c3796aaa5c9dc08080a6f90e441217 should address this.

Any comments from the submitters if this is an acceptable patch?

Hello,
the patch is working for my case!
Thx imransaeed

Hi,
regarding this issue,
I see the pom is updated to 1.2-SNAPSHOT. However I don't see a release of 1.1.
In the repository, I can only find 1.1-SNAPSHOT: https://oss.sonatype.org/#nexus-search;quick~mikesamuel
Is there an actual release of 1.1 coming up?
Thx

I'm working to get https://github.com/OWASP/json-sanitizer/releases/tag/json-sanitizer-1.1 in maven.

Version 1.1 is available : http://search.maven.org/#search|ga|1|json-sanitizer


Imageresize

Description
Give a description of what this PR is about.
Jira Ticket

https://garrysjh.atlassian.net/browse/DIP-[your ticket number]

Fixed merge conflicts, merging