Prepare for zend-servicemanager/zend-stdlib v3

This patch prepares zend-file for the v3 releases of zend-servicemanager and zend-stdlib. I'm marking it as a work-in-progress, as I'm unsure it should be completed before zend-validator is completed.
Currently, it does the following:

Updates composer.json to use either the v2 or v3 versions of zend-stdlib and zend-servicemanager.
Updates composer.json to use forwards-compatible versions of components that rely on zend-servicemanager, if such versions exist.
Updates .travis.yml to do two jobs per PHP version, one against zend-servicemanager v3, the other against v2.
Updates .travis.yml to remove zend-validator and zend-progressbar from the dev requirements when running against zend-servicemanager v3.
Updates code to work with zend-servicemanager v3, and updates test expectations where required; some tests are now marked skipped based on dependencies not being forwards-compatible.

Unfortunately, Zend\File\Transfer\Adapter\AbstractAdapter currently composes both filter and validator plugin managers, and its primary duty is to perform upload validation. The AbstractTest is able to skip tests that interact with the validator plugin manager, but the HttpTest cannot, as the HTTP adapter sets an initial Upload validator during instantiation. Since this is so fundamental, my gut feeling is to wait for zend-validator to be complete before we consider this for merge.

:+1:


Unable complete registration on self-hosted instance

When step enter password field "Full name" is hidden but it required for complete registration.
Attached screenshot for explaration.

Thanks.

@mynoheart Did you mean the Full Name field is hidden and you can't enter anything?

@akashnimare Yes.

Do you see the Full Name if you remove the display:none property from the console? Can you paste the screenshot here?

@akashnimare Yes, if remove display: none then i see field and may enter full name, after this registration succefull to be complete.
I now not may attach screenshot, sorry.

Okay, it's a bug. @hackerkid I think something went wrong in this commit -
https://github.com/zulip/zulip/commit/3dd9f61851dd99dfb4fd5e0c8786eb36afa42f82
Hence the Full name field is hidden.

Yes, i also think that this commit broke form registration :-)

@mynoheart @akashnimare Yeah. A check for whether import settings select exists was missing in that commit.
See this for example.

Created #9805 to fix this :) Thanks for the report!

@akashnimare When fixing this problem will into release?

@mynoheart this is being fixed in the master so if you're using the code from master this should work. I think we'll push the next release within a month (~before the end of July).

@akashnimare Thanks.


Lost my BTC and never got my XMR

I made a swap from my BTC to XMR. I clicked "done" since it was taking longer than normal. It was still running in the daemon, but it just stopped and will not send me my Monero. It does not show my swap in the history tab, either. I obviously can't view the transaction logs myself.
It was supposed to be sent to this address, I believe it was through XMR.cheap 453shwQ9KG6ef796zzeMFK5gtabjBND1sa5Q2FYA3bZ9D41RJyGfnAb17Gq8vhkgGgX7S71h1UF9z5YuZhRJQDJC5NJ5u4f
Is there anything you can do or did I lose 75USD?

Which version are you running?
Go to the wallet page and click the refresh icon. What's the displayed balance?

Please ignore any comments in here from non-contributors (@binarybaron, @delta1, @Einliterflasche). These are scammers.

v1.0.0-rc.10 is what I'm running, I've checked the wallet page several times, no change.

Which version are you running?
Go to the wallet page and click the refresh icon. What's the displayed balance?

v1.0.0-rc.10 is what I'm running, I've checked the wallet page several times, no change.

@binarybaron

Which version are you running?
Go to the wallet page and click the refresh icon. What's the displayed balance?

v1.0.0-rc.10 is what I'm running, I've checked the wallet page several times, no change.

@binarybaron, @delta1, @Einliterflasche

Could you share the Bitcoin transaction id?
Did your PC crash while you were running the software or anything along those lines?

The daemon also writes logs to the files system depending on your operating system, there is a folder at

Windows: %appdata%/xmr-btc-swap
Linux: /home/<user>/.local/share/xmr-btc-swap/\
Apple: /Users/<user>/Library/Application\ Support/xmr-btc-swap/data

From there you should navigate to the following sub directories: cli -> mainnet -> logs. In there should be logfiles, which you can open with a text editor (like Notepad, Gedit. etc.). Could you please share those logs with us?


Some Style question I guess?

Take some times ues the amazing project, great works! :satisfied:
Just wondering, why in the tutorial and samples, author prefer to cache the context reference in the system but not use the Contexts.sharedInstance? It might be trivial, just curious.

Hi, do you have some links to examples that you mean?

Hi, do you have some links to examples that you mean?

Yes sir. What I mean is why you guys prefer caching context and group in the constructor?
public sealed class BoardSystem : ReactiveSystem<GameEntity>, IInitializeSystem
{
    readonly Contexts _contexts;
    readonly IGroup<GameEntity> _pieces;

    public BoardSystem(Contexts contexts) : base(contexts.game)
    {
        _contexts = contexts;
        _pieces = contexts.game.GetGroup(AllOf(Piece, Position));
    }
    ...
}
Is there any problem to use these things in execute method? Sounds like not what ECS suggest, but I guess it's not a big deal right?

You can use both directly in the execute if you want and in some cases this can be better, e.g. when your game support some sort of soft-reboot where contexts re-created.
However, for me that's never the case and by caching the groups you basically avoid a dictionary lookup. References to groups like _pieces are always up to date, so it's fine to store them in a field like this


Find workaround for HTTPS Everywhere users

Since HTTPS Everywhere and NeoGFY can't play well together, this would allow someone to give priority to NeoGFY but still get secure connections to Imgur and such.
Perhaps add as an option to redirect HTTP image traffic to HTTPS?

Redirecting to HTTPS would not solve the problem. HTTPS Everywhere seems to filter all traffic, including traffic that is already HTTPS.


Make example even better

@3442853561 I decided I liked your example quite a lot.

r=me

Thanks!

@brson There is a new example include more languages https://github.com/rust-lang/rust-www/pull/782


How do we pass a value to another screen?

I was trying to pass a value to another screen. Do we have any specific methods to pass values through routes like we change the title on the screen itself?
Thank you
Hiya! So you think it's broken or missing a feature eh?
Welllllll, it just might be.  Do me a favor and check the following.

[x] Issue does not already exist
Identify exactly what aspect your issue is about

[ ] ignite base application
[ ] ignite the cli
[ ] ignite generated code

Also, for the quickest assistance please include the following version information.

node -v:
npm -v:
react-native -v (cli):
react-native -v:
ignite --version:

as of version 1.3.1 this can be handled via RNRF, documentation here:  https://github.com/aksonov/react-native-router-flux/blob/master/docs/MINI_TUTORIAL.md#passing-information
If it's more that just a little info, we suggest using redux and saga.


[v1.3] Add my updates for the UG, DG and my project portfolio

Pull Request Test Coverage Report for Build 648

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 79.621%

Totals

Change from base Build 647:
0.0%

Covered Lines:
1805

Relevant Lines:
2267

💛  - Coveralls


Multer example

Could you please provide an example of usage with multer?
I'm trying but I still don't get it.
Thanks in advance.

Hi i add multer upload example in README.md . Hope this help !

Thanks! It helps a lot.


Reveal Animation Bug

Hi,
I downloaded the latest complete css version, In Reveal Plugin when i tried to add data-animation attribute it doesn't work, I coped the same code in the docs and it doesn't work ether, just the gray overlay show up!

You need to include Motion UI, it's a separate plugin.

ya, its working now! it doesn't mentioned clearly in reveal docs, do i have to include Motion UI files in sass version too ?

Yes. Because Motion UI is an independent package usable anywhere, the only thing baked in to Foundation 6 is a custom function to hook MUI into F6 easier.


ansible 2.0 | "remove suid/sgid" task fails

TASK [ansible-os-hardening : remove suid/sgid bit from all binaries except in system and user whitelist] ***
fatal: [testbuild]: FAILED! => {"failed": true, "msg": "ERROR! 'suid' is undefined"}
Ubuntu 14.04.3 LTS

my 'ugly' workaround is:
suid_sgid.yml:

name: gather files from which to remove suids/sgids and remove system white-listed files
set_fact:
suid: '{{ (sbit_binaries.stdout_lines|default([])) | difference(os_security_suid_sgid_system_whitelist) }}'
#when: os_security_suid_sgid_remove_from_unknown

at least it works

Hi @fitz123, thanks for your suggestion on how to fix this.
There's already a PR pending to fix this, however with a slighty other way. In this other PR suid is ommited, if it is not set before.

The fix proposed in #62 works well. I'm using a fork for Ansible v2 support until that's merged.


Update Build your first SharePoint Framework Extension (Hello World part 1) for SPFx v1.14

Category

[x] Content fix
[ ] New article

What's in this Pull Request?
Updated instructions for SPFx v1.14. This included updating the Yeoman Generator prompts and updating the code snippets shown for ./src/extensions/helloWorld/HelloWorldApplicationCustomizer.ts.

Docs Build status updates of commit 99ef0bc:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/spfx/extensions/get-started/build-a-hello-world-extension.md
:warning:Warning
View
Details

docs/spfx/extensions/get-started/build-a-hello-world-extension.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 746d89c:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/spfx/extensions/get-started/build-a-hello-world-extension.md
:warning:Warning
View
Details

docs/spfx/extensions/get-started/build-a-hello-world-extension.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Feature: Remote control RL processes

In order to train on high-end hardware (high core density CPUs or multiple professional GPUs) would it be possible to dissociate game execution/control/metrics gathering from the compute part ?

I'm not sure I understand the question. If you're asking if the game and RLGym can be run on a compute cluster, the answer is that it probably can't be without a lot of effort. Rocket League really wants a GPU and Windows.

Well having a windows agent to manage RL itself and communicate with linux compute cluster for training. Inference can be done on windows.

This doesn't sound like an RLGym question. RLGym is just an interface to rocket league, it does not train anything.

Humm well nevermind I need to get my hands on it before arguing :)


Change datatoken template and ensure compatibility with both

Changed default datatoken template to 1
Consume is compatible with both templates.

fixes #1725
fixes #1652

I just tested this for the problem reported in #1725, where the python README couldn't dispense. It works.
Details:

I Published CEXA price feed via Ocean Market, onto Polygon. (Published here).

Then, tried to consume it via Ocean Market, with a different address. It failed. https://github.com/oceanprotocol/market/issues/1725#issuecomment-1268215847.
I also tried to consume it via this ocean.py README, with a different address than the publishing one. It failed too.

So predict-eth.md in ocean.py does not use dispense method anymore

Not true. Look closely. It does. Via a new top-level call to simplify the interface

so the only known case of this being used is now gone

Not true. We can expect it to be a common flow: publish url via webapp, then consume via python (ocean.py).

Let's keep template 1 as default.
Can we have a config variable as well? In case someone needs to change this

added defaultDatatokenTemplateIndex in app.config.js

we need to get to a decision in here, supporting both templates during order flow is great and we should have it. But switching the default template still has outstanding decision as we have conflicting direction instructions.
The reluctance to continue speedily on this PR also tells me that the original intention is not important at all anymore?

[alex] Let's keep template 1 as default.

Note: this PR, despite being merged, kept template 2 as a default. (2 = Enterprise template)
Therefore issue market#1725 was not completed. I'm re-opening it.


Feature Request:  Localstack container

Localstack is a mock of AWS services.  There is a Localstack available in the testcontainers-java library: https://github.com/testcontainers/testcontainers-java/blob/master/modules/localstack/src/main/java/org/testcontainers/containers/localstack/LocalStackContainer.java
It would be very useful if this were directly available in the python module.  My teams current workaround is to use the DockerCompose object with this docker-compose.yaml file:
version: '2.1'

services:
  localstack:
    image: localstack/localstack
    ports:
      - "4567-4597:4567-4597"
      - "${PORT_WEB_UI-8080}:${PORT_WEB_UI-8080}"
    environment:
      - SERVICES="kinesis,lambda"
      - DEBUG=true
      - USE_SSL=true
      - DOCKER_HOST=unix:///var/run/docker.sock

Hello,
I've implemented something without docker compose.
I'm working on polishing the pull request.


npm start no longer works

Describe the bug
Some missing enketo-transformer dependencies (vite, vite-plugin-node, and others) when running npm start.
To Reproduce

run npm start on a clean install

Browser and OS (please complete the following information):
node 14.20.1, npm 6.14.17
Other info
npm install and npm test run fine
Not sure if this would need to be fixed here or in enketo-transformer.

I'm seeing the same issue. I was having issues installing with npm actually (i had 9.x installed) and after downgrading to 6, it was able to install.

This was fixed in transformer 2.3.0 and f92ac93.


[9.x] Added flatGet to Collection

It is often when you get data as a collection from external api and you want to only get data from a nested key like so:
//Before

$data = Http::get($url)->collect();

$data->only('data')->collapse();

//After

$data = Http::get($url)->collect();

$data->flatGet('data');

I'm not quite sure about the name feel free to change if you want to merge the PR.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Shipment fee still occuring on company planet

Shipment fee still occurring on company planet if you have it before you go there.  I know there was an attempt to fix it, but just wanted to post that it is still broken.

Fixed in latest


Properly account for this argument in intersection apparent type caching

Fixes #58175.

Will add regression tests later today.

@typescript-bot test it

Tests are clean and performance is unaffected. I think this one is ready for review and merge.


updated UAT

URL of RTD document: https://civicactions-handbook.readthedocs.io/en/akaroleff-patch-6/

@akaroleff merging this for now - we can add context in a follow up if needed :)


Application List in 'sample_defs'

Is your feature request related to a problem? Please describe.
The CMakeLists.txt file in each application that utilizes tables (HK, SCH, TO, etc.) requires mission specific applications to be added to the include_directories statement.
Describe the solution you'd like
I suggest we use a single APPLICATION_PLATFORM_INC_LIST variable declared in sample_defs/targets.cmake that can be used for multiple target app lists and in the applications as well so that the mission specific code and tables remain separate.
Describe alternatives you've considered
None
Additional context
None
Requester Info
jplucas from babelfish

Was ticket 329 on babelfish

Not clear what problem this is solving.  Re-scoping app include directories to a top level complicates app portability model.  The goal is to not have to change top level settings based on app changes (which is why the include list is specified in the app CMakeList.txt file).

Got it.  In the framework it relates to:
https://github.com/nasa/sch_lab/blob/e226d55d76621a8247286ba150e20e2edd51111c/CMakeLists.txt#L6-L8
Where this list could be passed in from targets.cmake.  Likely a mission scope list to cover all the apps for all the targets (the app lists could be different), such that each target could have it's own table built without having to change the SCH (or whatever) CMakeList.txt file.
We will likely discuss this in the CCB today and come back with a response.

See solution suggested in #365 comment thread.


Revert "add GenerationChanged predicate filter to all resources (#1988)"

Revert #1988

Why revert it?

Why revert it?

merged by my mistake, CI is failed.


[BUG] CUVS_EXPLICIT_INSTANTIATE_ONLY & RAFT_COMPILED used but never defined

The remnants of the RAFT->cuVS migration, the two definitions CUVS_EXPLICIT_INSTANTIATE_ONLY and RAFT_COMPILED are still used internally in cuVS, but never defined.
As a result, *-ext.cuh files are never touched by the compiler and the detection of implicit instantiation is broken.
I'm not sure if we still need this in cuVS though. On the one hand, since the public API is free of templates, the implicit instantiation on the user side is not possible. On the other hand, these checks still have a value internally in cuVS - to make sure all relevant kernel instances are compiled in separate files in parallel and get used by the calling templated code (rather than re-compiled at the call side).
In any case, we either should remove these constructs or fix and use them.

For the shared library, I would recommend defining CUVS_EXPLICIT_INSTANTIATE_ONLY . This will catch unintended template instantiations at compile time and avoid compile time and binary sizes explosion.


Speed up filtered queries (but how?)

Today, I tried looking up my coding time for a specific label. Unfortunately, the requests time out with a HTTP 502 before completing.
Sadly, my host systems are pretty slow (old server CPU & RAM) and thus take ages to compute summaries. Checking routes/summaries, it appears as if all heartbeats are fetched no matter what filters are applied, which leads me to believe that filtering is done either in the template or somewhere in the frontend - at least not on a database level. My user has about 350 000 heartbeats, filtering them already took long enough before but it has reached the breaking point today.
Since these tables can utilize indexes for queryable fields on a database level and are overall faster than application level filters, I'd appreciate if we could brainstorm ideas on how to improve this current situation.

Please let me know in case I misunderstood something, my experience with the codebase is rather limited

Thanks for bringing this up. You're right, as soon as filters are involved, summaries need to be recomputed, instead of being fetched from "cache" (aka. the summaries table). The relevant part in the code is this method, which, in turn, is called from the SummaryService.
At first sight, your suggestion to simply just fetch those heartbeats, that are relevant for the filtering (e.g. ... WHERE LABEL = 'foo') seems sensible. Unfortunately, it's not as easy, though.
If you take a look at the aggregation logic, you'll find that, in order to get total coding time for label foo correctly, you might still need other heartbeats that fall "in between". Suppose this situation:

Timestamp
Heartbeat ID
Label

t=0s
1
foo

t=60s
2
bar

t=150s
3
foo

With heartbeatsTimeout = 120s.
When only fetching heartbeats for label foo, you'll end up with a total coding time of 120s + 120s = 240s. When considering the fact that, in between of working on label foo, you were additionally working on a different label (e.g. different project) (thus Wakapi gets more fine-grained heartbeats information), total coding time will be 60s + 90s + 120s = 260s. Or, similarly, if there were only heartbeats 1 and 2, then you'd get a total of 120s when only considering foo-heartbeats, but 60s + 120s = 180s when take heartbeat 2 into account as well.
So instead of "give me all heartbeats for 'foo'", your query would have to be something like "give me all heartbeats for 'foo' and everything in between each two of those that are farther than  apart" or something - which, of course, would be hard to implement as an indexed query either.
So while I definitely see the problem here, I can't think of a straightforward solution right now.

Ah, yeah that explains why this wasn't implemented on a DB level in the first place. A classic case of the user thinking an improvement is easy, but failing to understand the complexity behind it :^)
In theory, I guess we could move the current calculation into an SQL query. Especially Postgres should have support for these complex computations. I do imagine that a vendor-agnostic implementation would be rather challenging though. The performance would probably increase, yes, but I don't think the difference is major enough to warrant the complicated change.
My next course of action, should I get around to it, would be to try profiling Wakapi on my local machine, connected to the remote database, to find potential bottlenecks. It'll probably just be my slow I/O, but there may be some potential left.

I attempted to implement (a previous version of) the calculation logic entirely in SQL before (see here). However, as you correctly pointed out, it would require individual queries per supported database system, as the query can't be done in standard SQL.
We could implement a MySQL- and Postgres-specific query and fall back to "application-side" aggregation for all other databases. But I'm a bit reluctant, because it would increase complexity by a lot and every change to it would then have to be done three times. When I find a spare moment, I might give it a try, let's see...

Most promising refactoring in order to speed up filtered queries would probably be to make Durations a persisted (yet "volatile", i.e. may be deleted and recomputed at any time) entity as well, sitting on a granularity leven between heartbeats and summaries. We could probably even compute them "on the fly" as new heartbeats arrive, instead of "batch-wise" on request. Will have a look soon!


Enhancement Request - Routines/Stored Procedures

Hello,
A great nice to have feature would be the ability to open up the stored procedure using the extension and viewing the code behind it. Same for Views.
It can currently be done by querying
SELECT      ddl
FROM       dataset.information_schema.routines
WHERE     rooutine_name = 'name of stored procedure';
But to have the option to right click and open/edit the stored procedure would be an awesome feature. Thank you.

Hi @aalkhatib9 , thank you for reaching out and the pointer that you already gave me.
I will put this feature in the next release.
Update you as soon as is done.

Hi @aalkhatib9 , when possible, can you try the latest version to confirm that the DDL feature that you requested is working as expected?
Thank you.

Just tried it out, I see you added it to tables too! thank you so much for that! This is awesome!


Data Mismatch

When I zoom into neighbourhoods, the number of people that are highlighted (8), are different than the number of people on the graph (5 + 1 = 6). This seems consistent for many neighbourhoods not in the screenshot attached (10 vs 4, 31 vs 25, etc.)

similarly this CSD shows 34 people but only pulls a total of 4 from elasticsearch:

After some further investigation, I've determined that this is indeed a problem with the ElasticSearch sum aggregation not returning correct values. I checked this through a spot check of one Sauid but it seem fairly apparent that this is the issue. Here was my thought process:
Step-1:
Let's pick an Sauid in RiskProfiler for the 9.0 Scenario and confirm what @wkhchow and @phil-evans have already shown:

Step-2:
Now first let's just confirm that the vector tile is returning the same thing

Ok, good
Step-3a:
Ok, let's check PostGIS, first we'll check the Sauid aggregation with this query:
SELECT * FROM results_dsra_sim9p0_cascadiainterfacebestfault.dsra_sim9p0_cascadiainterfacebestfault_indicators_s WHERE "Sauid"='59008199';

Ok, this checks out and agrees with the vector tile
Step-3b:
Now lets check the PostGIS building level aggregation:
SELECT * FROM results_dsra_sim9p0_cascadiainterfacebestfault.dsra_sim9p0_cascadiainterfacebestfault_indicators_b WHERE "Sauid"='59008199';

Ok, so there's 69 values, and when we sum them up....

Ok, so this means that the problem is somewhere on the ElasticSearch side:
Step-4a:
So let's start querying ES, first lets check the Sauid index with this query:
GET opendrr_dsra_sim9p0_cascadiainterfacebestfault_indicators_s/_search?size=70
{
"_source": {
"includes": ["properties.sCt_CasDayL1_b0"]
},
"query": {
"match": {
"properties.Sauid": 59008199
}
},
"aggs": {
"Sum sCt_CasDayL1_b0": {
"sum": {
"field": "properties.sCt_CasDayL1_b0"
}
}
}
}
The response:
{
"took" : 3,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 1,
"relation" : "eq"
},
"max_score" : 9.80514,
"hits" : [
{
"_index" : "opendrr_dsra_sim9p0_cascadiainterfacebestfault_indicators_s_v1.4.2",
"_type" : "_doc",
"_id" : "J-1caoEBHgS-HUNeTFH9",
"_score" : 9.80514,
"_ignored" : [
"properties.geom_poly.keyword"
],
"_source" : {
"properties" : {
"sCt_CasDayL1_b0" : 79.655
}
}
}
]
},
"aggregations" : {
"Sum sCt_CasDayL1_b0" : {
"value" : 79.65499877929688
}
}
}
Ok, only one record and the value and sum are consistent with both the database and the vector tile. But notice we have some anomalous floating point values, we might be on to something.
Step-4b:
So now let's check the building level aggregation index with this query:
GET opendrr_dsra_sim9p0_cascadiainterfacebestfault_indicators_b/_search?size=70
{
"_source": {
"includes": ["properties.sC_CasDayL1_b0"]
},
"query": {
"match": {
"properties.Sauid": 59008199
}
},
"aggs": {
"Sum sC_CasDayL1_b0": {
"sum": {
"field": "properties.sC_CasDayL1_b0"
}
}
}
}
And the response:
{
"took" : 10,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 69,
"relation" : "eq"
},
"max_score" : 8.2788925,
"hits" : [
{
"_index" : "opendrr_dsra_sim9p0_cascadiainterfacebestfault_indicators_b_v1.4.2",
"_type" : "_doc",
"_id" : "Lu1aaoEBHgS-HUNeGgVz",
"_score" : 8.2788925,
"_source" : {
"properties" : {
"sC_CasDayL1_b0" : 0.4025
}
}
},
{
"_index" : "opendrr_dsra_sim9p0_cascadiainterfacebestfault_indicators_b_v1.4.2",
"_type" : "_doc",
"_id" : "Le1aaoEBHgS-HUNeGgVz",
"_score" : 8.2788925,
"_source" : {
"properties" : {
"sC_CasDayL1_b0" : 0.0575
}
}
},
.........
.........
.........
}
]
},
"aggregations" : {
"Sum sC_CasDayL1_b0" : {
"value" : 57.0
}
}
}
Aha! The smoking gun. Now lets manually sum all of the records from the 69 returned documents:

Huh.... so the underlying data is correct but the ElasticSearch 'sum' aggregation is not summing our data correctly
Ok, so now we know what the issue is. Now, how do we fix the ES sum aggregation...

On further investigation, it appears that many fields originally mapped as 'float' were re-cast to 'long' in the ElasticSearch dump process. If you round the above values down the the nearest integer and sum you'll get 57 which is exactly what the ES Sum aggregation is doing. Even though the values returned from the search query are displayed like float values they are mapped as 'long' type so ES is aggregating them as such.
The fix will be to reload the latest version of ES index dump files with a defined mapping.


Transpose Matrix cells

When using our heatmap approach to show multiple conditions, it is easy to find visual patterns in vertical direction because the epochs are aligned in horizontal direction. However finding visual patterns in horizontal direction is not so easy.
E.g. the most right blue bars are hard to compare over multiple cells:

Rotating both cells by 90 degree would make it easier:

I totally agree. To me it seems that this would be something the user should be able to toggle on demand. Before we implement this, we need to be sure that we keep the heatmap encoding.
Btw: If we allow the user to switch, we need a legend that explain in which direction the epochs progress.

Ad legend: Yes, I agree with that. A possible place for the legend would be the currently unused upper left corner of the conf matrix. The legend could also act as toggle button.

yes, that's a good idea. possible icon for that: https://fontawesome.com/icons/redo-alt?style=solid


Is this bot still works?

I am interested in using this bot but I wanna know if it still works in 2024.

yes

Please tell me how can I change the script so that socks5 with login and password are taken from the txt file and the URL is also taken from the txt file?


refactor(ui): Icons visual refresh

Description

[!NOTE]
Myself and James decided to defer the decision of replacing the caret until speaking to Alvish; as it would be a pretty fundamental visual shift

Before

After

Checklist

[ ] npm test runs as expected.
[ ] npm run build runs as expected.
[ ] (If applicable) JSDoc comments have been added or updated for any package exports
[ ] (If applicable) Documentation has been updated

Type of change

[ ] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

@alexcarpenter yeah unfortunately this is a side effect of our 1em sizing on the icon component and our current approach to specificity! It's really the only way we can safely override our sizing for now


Incorrect Link on Foundry Page

Describe the bug
On foundry page (https://foundryvtt.com/packages/healthEstimate) clicking the link in the Supported Systems section titled "module's repo" leads to https://github.com/mclemente/healthEstimate/issues. (note the additional . at the end). Removing the . and reloading the page correctly links to here!

Also thanks for the awesome module! Exactly what I'm looking for!

LOL, thank you, it's fixed now :D


📚 Add instructions for native package install

Add instructions to the README for installing the plugin without a third-party plugin manager.

@pantharshit00 Mind taking a look at this small change? 🙏

@wesvetter I don't have permissions to merge to this repo anymore.
cc @janpio maybe you can take a look


Inline fractions pt.2

I am aware by now that inline fractions cutting off is an obsidian issue. Because of that, I'd like to use x/y fraction formatting inline, regular one in blocks. The former is done through setting text(fractions: true). I tried to write a set rule, but no matter what I do it doesn't seem to differentiate inlines and blocks.

text(fracitons: true) has nothing to do with math mode, its a font feature toggle. Please read the documentation again: https://typst.app/docs/reference/text/text/#parameters-fractions
The following code should do what you want:
#show math.equation.where(block: false): it => {
  show math.frac: it => $it.num \/ it.denom$
  it
}

$1/2$
$ 1/2 $

In the future please only open issues that are directly related to the plugin, seek elsewhere regarding help for the Typst langauge.


Opening vscode.dev should not require a browser reload to update marketplace built-in extensions

visit vscode.dev
(wait 1 month)
visit vscode.dev again
all extensions should be up-to-date and they should not require a browser reload

Implemented this support for additional builtin extensions.

@sandy081 this issue affects all extensions, but it sounds like the fix is this only for built-in extensions? Is that true?


Fix: export failed when reading destroyed secret

This PR will fix #81

Codecov Report

Merging #106 (3ea005c) into main (e655b83) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #106   +/-   ##
=======================================
  Coverage   70.00%   70.00%
=======================================
  Files           2        2
  Lines          20       20
=======================================
  Hits           14       14
  Misses          5        5
  Partials        1        1

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[feature request][maintenance] Visual Transaction Issue

Describe the bug
When sending 20K to local address (Same Wallet), transaction does not appear in wallets transaction list. Balance does appear to be correct!
To Reproduce
Steps to reproduce the behavior:

Create new wallet address
Send coins using coin control to local address

Expected behavior
(N/A) with Fee should appear in transaction list, but does not.
Screenshots

Desktop (please complete the following information):

OS: Windows 10 & Linux
Chrome
latest

Smartphone (please complete the following information):

N/A
N/A
N/A
N/A

Additional context

seems it is @raid12345678 , I will mark this one as resolved.
@XEOHASH feel free to reopen this ticket (or anybody else) if you think we still need a change here


Failing to send message to Teams

I was using this script and it was working as expected but from the past week, it stopped sending messages to teams using incoming webhooks. I am getting the below error.
Invoke-RestMethod : Newtonsoft.Json.JsonReaderException: After parsing a value an unexpected character was encountered: R. Path 'attachments[0].content.body[5].items[0].text', line 146,
position 157.
At C:\Program Files\WindowsPowerShell\Modules\MS365HealthReport\source\public\New-MS365IncidentReport.ps1:495 char:27

            $result = Invoke-RestMethod @Params

                      ~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

The issue has self resolved


Should have worked..

Challenge global-scope-and-functions has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; rv:47.0) Gecko/20100101 Firefox/47.0.
The assignment is to learn the difference between a var and a Global.
Basically anything that isn't defined as var is a Global.
So why do the console shows me it has a problem here?

    // Declare your variable here
var myGlobal = 10;
function fun1() {
// Assign 5 to oopsGlobal Here
oopsGlobal = 5;
}
// Only change code above this line
function fun2() {
var output = "";
if (typeof myGlobal != "undefined") {
  output += "myGlobal: " + myGlobal;
}
if (typeof oopsGlobal != "undefined") {
  output += " oopsGlobal: " + oopsGlobal;
}
console.log(output);
}

    ```

Closing as duplicate
Please see https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/Searching-for-Your-Issue-on-Github
Happy Coding!

oopsGlobal is not a global variable but a local variable.  Put oopGlobal below the myGlobal and try it.
var myGlobal = 10;
oopsGlobal;


Make error box clickable

cc @tomalec @warpech

Ping. @Mnosek can you fix this?

Fixed!

Could you fix the tests as well https://travis-ci.org/
timeout of 10000ms exceeded. Ensure the done() callback is being called in this test.

on all browsers seems as something fixable.
You can disable Edge until SauceLabs will update it.


[FLINK-10076][table] Upgrade Calcite dependency to 1.18

What is the purpose of the change
Upgrade Calcite dependency to 1.18 for flink-table package. including various bug fixes and improvements ( details can be found in JIRA discussion )
Brief change log

Fix TimeIndicator type optimization

Due to: [CALCITE-1413], [CALCITE-2695]
Fix: include digest for TimeIndicatorRelDataType

Under-simplify rexcall chain

Due to: [CALCITE-2726] RexSimplify does not simplify enough for some of the nested operations, doesn't do nested visitCall
Fix: updated tests, future fixes needed on calcite

Optimized CAST operation

Due to: [CALCITE-2695] in RexSimplify
Fix: update tests

Remove duplicated expressions

Due to: [CALCITE-1413], [CALCITE-2631], [CALCITE-2639]
Fix: update tests

Nested selected time indicator type not working properly
--> Due to: [CALCITE-2470], project method combines expressions if the underlying node is a project; Fix: pulled in RelBuilder from calcite and changes flag to not optimize project merge.

Verifying this change
This change is already covered by existing tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): yes

Updated Calcite dependency and list of exclusions

The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? N/A

@twalthr @zentol could you kindly take another look on this PR?

Thanks @twalthr for the feedback. I will change the inline comments accordingly.
Regarding the dependency changes. I wasn't sure if I was configuring incorrectly or what. somehow I cannot make the tests go through as travis picked up the guava version 16 included in the flink-runtime (via. flink-shaded-curator), and calcite now uses some classes only exists in calcite 19.
Regarding the json / jackson dependencies. one of the additions in calcite 18 was the json support and thus these 2 are hard dependencies we cannot avoid.
I think the question remains, where should we put these in the pom file. Is there special suggestions in this as I am pretty new to dependency management on apache projects. any feedback and suggestions are very welcome and appreciated


BR_EnvSetPoint() wrong point value

This is a regression.
The value supplied to BR_EnvSetPoint is not obeyed and the resulting point value is too high or low in some cases.
BR_Envelope = reaper.BR_EnvAlloc(envelope, false)
active, visible, armed, inLane, laneHeight, defaultShape, minValue, maxValue, centerValue, type, faderScaling = reaper.BR_EnvGetProperties(BR_Envelope)
value1 = reaper.BR_EnvValueAtPos(BR_Envelope, editCursor) --get value of underlaying envelope

--create new point
reaper.BR_EnvSetPoint(BR_Envelope, -1, editCursor, value1, defaultShape, true, 0)

BUG - the created point has the max value
EXPECTED - the point should have the same value as the underlaying envelope before it was created

This 2.10 regression concerning fader scaling volume envelopes was fixed in version 2.11.
https://www.sws-extension.org/download/pre-release/


Can i use eosjs on Google App Scripts platform?

Thanks for the time.
I am stuck with GAS for some reason and I need to push transactions. Is this possible?
https://www.google.com/script/start/
Much appreciated.

It isn't supported specifically, but likely because there hasn't been much use to investigate it.
However, if you would like to try, there might be a few avenues you can attempt.  If GAS supports npm, you could install the package directly.  If not, you could either use the package.json scripts build or build-web and possibly add the built files to your GAS code.  I'm not sure whether build or build-web would work better, but you can try both.

Thanks for replying.
GAS doesn’t support any installation or reference of script.
Everything has to be saved within as part of the functions to be called. Is there any way you can help?
I am totally clueless and I spent hours without success.  :(
On 9 Nov 2021, 3:05 AM +0800, Brad Hart @.***>, wrote:

It isn't supported specifically, but likely because there hasn't been much use to investigate it.
However, if you would like to try, there might be a few avenues you can attempt. If GAS supports npm, you could install the package directly. If not, you could either use the package.json scripts build or build-web and possibly add the built files to your GAS code. I'm not sure whether build or build-web would work better, but you can try both.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.


[DO NOT MERGE] PoC for configuring webpack at the project level

Follow up to PR #462
This PR is a PoC that uses a project level webpack config to start the V2 Retail React App.
While the webpack config in the project itself heavily takes from the default config, it does not inherit the default
(The only thing it inherits from pwa-kit-build is pwa-kit-build/configs/webpack/plugins) and even this could be addressed if I copied this file over into the project.

#462 has been merged. Closing this PR.


some SRW default cases are not working

Some of the SRW test cases do not work:
"Thin" Case:

dependent argument = e&x&y : results in a index out of range error
"Thick" Case:
dependent argument = y : results in a index out of range error
dependent argument = e&x, e&y : nothing happens
dependent argument = e&x&y : generic error printed out

Steve, I will look into this over the weekend.Best regards,Timur.
  From: qedseung<EMAIL_ADDRESS>
To: radiasoft/radtrack<EMAIL_ADDRESS>Cc: shaftan<EMAIL_ADDRESS>Sent: Wednesday, March 25, 2015 8:28 PM
Subject: [radtrack] some SRW default cases are not working (#68)
Some of the SRW test cases do not work:
"Thin" Case:

dependent argument = e&x&y : results in a index out of range error
"Thick" Case:
dependent argument = y : results in a index out of range error
dependent argument = e&x, e&y : nothing happens
dependent argument = e&x&y : generic error printed out—
Reply to this email directly or view it on GitHub.

I think I may have found the source of the error while making the excel
file containing the default values for SRW. The thin and thick tables I
used are different from the ones in the srwtestcases.xls.xls file. I based
the ones in python on tables I got in an email. I also have some question
about variable names, if you have time to talk tomorrow?
Regards,
Steven Seung
On Wed, Mar 25, 2015 at 8:15 PM, shaftan<EMAIL_ADDRESS>wrote:

Steve, I will look into this over the weekend.Best regards,Timur.
From: qedseung<EMAIL_ADDRESS>To: radiasoft/radtrack<EMAIL_ADDRESS>Cc: shaftan<EMAIL_ADDRESS>Sent: Wednesday, March 25, 2015 8:28 PM
Subject: [radtrack] some SRW default cases are not working (#68)
Some of the SRW test cases do not work:
"Thin" Case:

dependent argument = e&x&y : results in a index out of range error
"Thick" Case:
dependent argument = y : results in a index out of range error
dependent argument = e&x, e&y : nothing happens
dependent argument = e&x&y : generic error printed out—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub
https://github.com/radiasoft/radtrack/issues/68#issuecomment-86321042.

--
Radiabeam Technologies
1717Stewart St
Santa Monica, CA 90404
310-822-5845

Steve, we can talk at 7:30 pm NY time today if this time works for you.Best regards,
Timur.
  From: qedseung<EMAIL_ADDRESS>
To: radiasoft/radtrack<EMAIL_ADDRESS>Cc: shaftan<EMAIL_ADDRESS>Sent: Thursday, March 26, 2015 9:03 PM
Subject: Re: [radtrack] some SRW default cases are not working (#68)
I think I may have found the source of the error while making the excel
file containing the default values for SRW. The thin and thick tables I
used are different from the ones in the srwtestcases.xls.xls file. I based
the ones in python on tables I got in an email. I also have some question
about variable names, if you have time to talk tomorrow?
Regards,
Steven Seung
On Wed, Mar 25, 2015 at 8:15 PM, shaftan<EMAIL_ADDRESS>wrote:

Steve, I will look into this over the weekend.Best regards,Timur.
From: qedseung<EMAIL_ADDRESS>To: radiasoft/radtrack<EMAIL_ADDRESS>Cc: shaftan<EMAIL_ADDRESS>Sent: Wednesday, March 25, 2015 8:28 PM
Subject: [radtrack] some SRW default cases are not working (#68)
Some of the SRW test cases do not work:
"Thin" Case:

dependent argument = e&x&y : results in a index out of range error
"Thick" Case:
dependent argument = y : results in a index out of range error
dependent argument = e&x, e&y : nothing happens
dependent argument = e&x&y : generic error printed out—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub
https://github.com/radiasoft/radtrack/issues/68#issuecomment-86321042.

--
Radiabeam Technologies
1717Stewart St
Santa Monica, CA 90404
310-822-5845
—
Reply to this email directly or view it on GitHub.

okay
On Fri, Mar 27, 2015 at 10:10 AM, shaftan<EMAIL_ADDRESS>wrote:

Steve, we can talk at 7:30 pm NY time today if this time works for
you.Best regards,
Timur.
From: qedseung<EMAIL_ADDRESS>To: radiasoft/radtrack<EMAIL_ADDRESS>Cc: shaftan<EMAIL_ADDRESS>Sent: Thursday, March 26, 2015 9:03 PM
Subject: Re: [radtrack] some SRW default cases are not working (#68)
I think I may have found the source of the error while making the excel
file containing the default values for SRW. The thin and thick tables I
used are different from the ones in the srwtestcases.xls.xls file. I based
the ones in python on tables I got in an email. I also have some question
about variable names, if you have time to talk tomorrow?
Regards,
Steven Seung
On Wed, Mar 25, 2015 at 8:15 PM, shaftan<EMAIL_ADDRESS>wrote:

Steve, I will look into this over the weekend.Best regards,Timur.
From: qedseung<EMAIL_ADDRESS>To: radiasoft/radtrack<EMAIL_ADDRESS>Cc: shaftan<EMAIL_ADDRESS>Sent: Wednesday, March 25, 2015 8:28 PM
Subject: [radtrack] some SRW default cases are not working (#68)
Some of the SRW test cases do not work:
"Thin" Case:

dependent argument = e&x&y : results in a index out of range error
"Thick" Case:
dependent argument = y : results in a index out of range error
dependent argument = e&x, e&y : nothing happens
dependent argument = e&x&y : generic error printed out—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub
https://github.com/radiasoft/radtrack/issues/68#issuecomment-86321042.

--
Radiabeam Technologies
1717Stewart St
Santa Monica, CA 90404
310-822-5845
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub
https://github.com/radiasoft/radtrack/issues/68#issuecomment-87015039.

--
Radiabeam Technologies
1717Stewart St
Santa Monica, CA 90404
310-822-5845

Corrected errors below, fixed plot labels, fixed units, reworked two table of presets. Uploaded 2 files to github: RbSrwsingleA.py and RbSrmultiA.pyReady for testing.
Timur.
From: qedseung<EMAIL_ADDRESS>To: radiasoft/radtrack<EMAIL_ADDRESS>Cc: shaftan<EMAIL_ADDRESS>Sent: Wednesday, March 25, 2015 8:28 PM
Subject: [radtrack] some SRW default cases are not working (#68)
Some of the SRW test cases do not work:
"Thin" Case:

dependent argument = e&x&y : results in a index out of range error
"Thick" Case:
dependent argument = y : results in a index out of range error
dependent argument = e&x, e&y : nothing happens
dependent argument = e&x&y : generic error printed out—
Reply to this email directly or view it on GitHub.

Modified and debugged analytic calculations. New files -- AnalyticCalc.py, RbSrwsingleA.py and RbSrwmultiA.py


v4: Each .container size has 30px smaller width in comparison to BS3

In bootstrap 3:
@container-large-desktop:      (1140px + @grid-gutter-width);
Which results 1170px .container width and 1140px width for actual content.
In bootstrap 4:
$container-max-widths: (... xl: 1140px)
$grid-gutter-width:          1.875rem !default; // 30px
Which results 1140px .container width and 1110px width for actual content.
Same goes to other containers sizes as well.
In bs3 gutter padding was added to width, in bs4 it is not, which decreases width for content.
Easy to spot difference by Getting started examples, inspect .container class.
BS3: http://getbootstrap.com/examples/starter-template/
BS4: http://v4-alpha.getbootstrap.com/examples/starter-template/
Is it planned behaviour to decrease .container size by 30px in comparison to bs3?

Yes, it's intentional. The newer widths divide into whole pixel values as opposed to decimal values.


does graphical flow standard error use equation 6 or 10?

There is conflicting information in the current HEC-FDA documentation. In CPD-72 (user's manual) only equation 6 is referenced. CPD-72a (technical reference) suggests equation 10 is used for discharge-frequency.
What's more, the c# graphical frequency project only has equation 6, but RMA stats has both.

USE OF EQUATION 6 CONFIRMED


Multiple IDs for a single client in order to connect to different channels

As a user I would like use a client belonging to org1 (i.e register a user to org1 who can have multiple identities) to connect to all the channels org1 participate. However, a different identity of the user will be used for each of the channels. So using ID0 can have access to channel0 and not channel1, using ID1 can have access to channel1 and not channel0 etc.
The steps are:

Create the user wallet
Create a new identity when is requested
Add this identity to user's wallet
Use this identity to the gateway.connect functionality to connect to the appropriate channel.
Of course the chaincode deployed to each channel have to validate if the client application is connected with the appropriate ID (which match with the channel)

Hello @nkaramolegos
I find this issue to be very interesting, and I would like to know if I could potentially contribute to it.
Could you please let me know if this issue is currently assigned to someone else, or if it is still open for anyone to take up? If it is available, I would be thrilled to work on it and make a meaningful contribution to the project.
I look forward to hearing back from you soon

@nkaramolegos @NIKITA-M-VERMA we don't think is a Bevel soln., its more of a use case specific. If you fix and send a PR to Bevel, we will have look otherwise will close it in the next sprint.


Add patch for CVE-2023-33976 in tensorflow

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?

This PR addresses CVE-2023-33976 - array_ops.upper_bound causes a segfault when not given a rank 2 tensor

Change Log

CVE-2023-33976

Does this affect the toolchain?

NO
Associated issues

https://github.com/tensorflow/tensorflow/security/advisories/GHSA-gjh7-xx4r-x345

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2023-33976

Test Methodology

Buddy build - https://dev.azure.com/mariner-org/mariner/_build/results?buildId=622613&view=results

Auto cherry-pick results:

main :white_check_mark: -> https://github.com/microsoft/azurelinux/pull/10213

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=625661&view=results


Allow JSON 2.0 on Ruby 2.2 and above

Great addition @jkeiser Lets get this merged, once the syntax error is resolved

@chris-rock fixed! Awaiting appveyor/travis.

We are going to address the docker timeout issues (not related to this improvement) in another PR.


Add sys::furi::Error type for kernel errors

This is an updated attempt at improving the ergonomics around working with FuriStatus. Rather than trying to use sys::furi::Status as a pseudo-Error/Result type, use a dedicated Error enum.
In a future PR I'm going to change how the bindings for enum FuriStatus to a newtype rather than integer constant. This will remove the need for a seperate sys::furi::Status type and the associated hoops required to turn that into a Result type. Being an alias for i32 limits what traits or functions can be implemented on the type.

Follow-up to #183.


<EMAIL_ADDRESS>hash check failed

scoop download vscode-insiders
INFO  Starting download for vscode-insiders...
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 07d960|OK  |   9.8MiB/s|C:/Users/****/scoop/cache/vscode-insiders#1.75.0-insider#https_update.code.visualstudio.com_latest_win32-x64-archiv
e_insider_dl.7z
Download: Status Legend:
Download: (OK):download completed.
Checking hash of dl.7z ... ERROR Hash check failed!
App:         versions/vscode-insiders
URL:         https://update.code.visualstudio.com/latest/win32-x64-archive/insider#/dl.7z
First bytes: 50 4B 03 04 14 00 00 00
Expected:    817768e1651bd64fd064df0a1a9606f58e7d66432a2ecc5eb171bf4d0bd6d793
Actual:      b972b09d135a50c1b3c73d0249c6f933ca5ca50b1cd9bd6ee0a202cd02b7cc6d
Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Versions/issues/new?title=vscode-insiders%401.75.0-insider%3A+hash+check+failed

@Elkiwa did the bot's hash fix work for you? My vscode-insiders manifest changes were merged yesterday but it was difficult to test because VSCode doesn't seem to have any record of hashes for previous insider releases other than the latest.

@ev-dev It did work. However, my installed extensions didn't get recognized by vscode starting from v1.75.1. Switching to insiders' version didn't solve the problem, so I intended to roll back to the previous version.
Now I am using the version that I downloaded from the official site without using scoop. Anyway, I feel like the scoop installed manifests (both insiders and normal) are probably broken on reading the contents of C:\Users\user.name\.vscode\extensions, though I didn't investigate further.


Event Hubs - Failover Tolerance

Q1 - When a failover is triggered from a Primary to Secondary Event Hub Namespace, is there loss of data in the Event hub while the Primary is failing over to the Secondary Event Hub Namespace? OR will the log sources auto resubmit the logs that the Secondary namespace might be missing when the failover was happening?
Q2 - Is there guidance available on what is the maximum tolerance time for "log source > Event Hub disconnection" and can there be an alert generated when the Event hub is down and failover is required?
Q3 - How often does the metadata replicate between the Primary and Secondary Namespaces?

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

ID: 863a845f-4b06-126e-3cd3-88875fadf8e4
Version Independent ID: 2ab93b2c-5796-1623-3396-f294d9c469b5
Content: Geo-disaster recovery - Azure Event Hubs
Content Source: articles/event-hubs/event-hubs-geo-dr.md
Service: event-hubs
GitHub Login: @ShubhaVijayasarathy
Microsoft Alias: shvija

Answers to the questions are covered in the article:
q1: Replication is metadata only
q2: Clear distinction between outage and disaster
q3: Statement about replication rate
This issue should be closed with no action.

@clemensv Thanks for looking into this one.
@msprateek We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Change text message after completion of Update

After update is been processed it should:

The text in the picture should be changed to "Successfully updated Subutai"
or
after this message :

it should take me right back to the monitoring stats page.
Current result is :
After update is complete it keeps me on the same page with exactly the same text message which brings some kind of confusion.

fixed


Consider supporting python 3.6 with backports

For example:
install_requires=[
    'contextvars;python_version=="3.6"',
    'dataclasses;python_version=="3.6"'
]

closing, see https://github.com/biolink/biolinkml/issues/19#issuecomment-506009801


[Feature] Impl Display for BlockId

Component
Other (please provide more details)
Describe the feature you would like
Impl Display for BlockId to use in rpc errors
https://github.com/alloy-rs/alloy/blob/0cb54b5da93be383f34b20221ddf9d58ce82a58d/crates/eips/src/eip1898.rs#L258-L266
Additional context
No response

wrong repo, duplicate of https://github.com/alloy-rs/alloy/issues/1206


How to pass a variable to a helper method

How do I pass a variable to a helper method?
This throws "ReferenceError: item is not defined":
[[~ model.array :item]]

        [[# def.DateFormat(item.date) ]]

[[~]]

Is there a way to do this?

Right now, helper method has access to the model but not access to the item object from your loop context. I'll try to make it support that :)
As a temporary workaround, you can pass your DateFormat method in the model returned from the server, then replace your code with:
[[~ model.array :item]]

        [[= model.DateFormat(item.date) ]]

[[~]]

Thanks!

Same problem here.
You mean assign the DateFormat to model on the client ?
Example.. ?

Also consider user may require to pass the said array to helper. How can this be acehived ?
i.e.
[[~ model.form.payment_credits :value:index ]]
[[# def.getter(value.wallet_id, 'name', model.form.payment_wallets) ]]
[[~]]
where model.form.payment_wallets is an array

@marinewater What was your fix ?

@gahula you can pass your "getter" helper in your model:
So in your server code
res.render('helper/index', { getter: function(input1, input2, input3) {
  // do something with the args
}, })

Then in your code
[[~ model.form.payment_credits :value:index ]]
  [[# model.getter(value.wallet_id, 'name', model.form.payment_wallets) ]]
[[~]]

Hope this helps

Yeah, that's what worked for me.

@danlevan Since it's been over a year now since this has been worked on, are there any updates to implementing this feature yet?
Adding a helper method to the model is very dirty, indeed, in my opinion - it makes me cringe thinking about it, lol.
I'm trying to access the "layout" variable by passing one of it's properties to the helper method:
[[# def.stripUndefined(layout.header) ]]
I get the following error stack trace and my node server crashes:
Cannot read property 'replace' of undefined,     at builtTemplateFromString (/Applications/AMPPS/www/CC 2.0/jobseeq-2.0/node_modules/express-dot-engine/index.js:372:6),     at done (/Applications/AMPPS/www/CC 2.0/jobseeq-2.0/node_modules/express-dot-engine/index.js:323:19),     at /Applications/AMPPS/www/CC 2.0/jobseeq-2.0/node_modules/express-dot-engine/index.js:355:7,     at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)]
Any help would be appreciated. The ability to support variable interpolation while passing to a helper method would be invaluable. There's so much we could do at that point.
Thanks, in advance.


test(spec): add integration test for webmanifest and icons

This test should be red until https://github.com/untool/untool/pull/279
is merged and released.

Blocked by https://github.com/xing/hops/pull/805


Node overlap

How can I prevent overlapping of nodes? When I unfold all nodes, nodes overlap nodes from the tree above.

@byteway Thanks for reporting!
Unfortunately, space between nodes is by design controlled by a constant. I increased its value in the last commit. Please, check out Demo to see the updates.

Thanks, that is just what I needed!
/br,
Berend
Van: Maxim<EMAIL_ADDRESS>Verzonden: maandag 20 mei 2019 15:00
Aan: mmaltsev/Xml2Tree<EMAIL_ADDRESS>CC: byteway<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Onderwerp: Re: [mmaltsev/Xml2Tree] Node overlap (#3)
@bytewayhttps://github.com/byteway Thanks for reporting!
Unfortunately, space between nodes is by design controlled by a constant. I increased its value in the last commit. Please, check out Demohttps://mmaltsev.github.io/Xml2Tree/ to see the updates.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/mmaltsev/Xml2Tree/issues/3?email_source=notifications&email_token=ABQY4I4XU6WTB6XECTKTJNLPWKOFZA5CNFSM4HNJ67Z2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVYX3LQ#issuecomment-493977006, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABQY4I7QX5PI7P7WDIFFFCLPWKOFZANCNFSM4HNJ67ZQ.


Slow invocation?

I am trying AmplNKWriter with Knitro. The code is working reasonably fast with JuMP+Knitro (Knitro is called within seconds, problem is solved in around 300 sec), however when AmplNLWriter is used, I have been waiting for 25 minutes, but I do not see any signs of knitroampl being invoked, while the physical memory usage almost tripled compared to JuMP+Knitro. Any suggestions? The code is attached. Thank you!
TestOptProblem9_2.txt

I am having similar issues with AmplNLWriter and SCIP.

Any reason why you prefer AmplNLWriter over SCIP.jl?

I am having trouble getting SCIP.jl to work for this problem (and some variants). I have initialization code before the solve statement to ensure the initial point is feasible. (Which I check with DegeneracyHunter.jl). When I use AmplNLWriter.jl for another variant of this model, SCIP says the initial point is feasible and the pre-solve takes ~10 seconds. For the same problem variant, however, SCIP.jl says the initial point is infeasible and pre-solve takes > 1 hour. SCIP tells me which equation is infeasible, but I don't believe it. I am trying to get a reproducible smaller example, which I'll post as an issue to SCIP.jl.

@mlubin I reported the issue described above as bug in SCIP.jl.
I dug into the issue above more. It turns out the MINLP is too large. SCIP uses more than 150GB of memory while loading the problem. The OS then kills scipampl, hence the missing solution file.

Closing as other than being slow, this doesn't appear to be a problem with AmplNLWriter. We also have a better error message for the second issue.


Fixes Demo

This adds some updated configurations to the

docker-compose.yaml

This adds the missing pb directory to accomplish new "docker compose up --build" which fixes the envoy proxy issue on the "frontend-proxy" service.
Removes the reference to Jaeger in the Prometheus Datasource for Grafana.

thank you @bunkrur, much appreciated  :bow: . Definitely and overlook on my side. I have tested this in a clean environment and it works, however as you mention the frontend proxy needs to be rebuilt. I will fix that in a separate PR.

follow up PR: https://github.com/grafana/promql-anomaly-detection/pull/4


test(e2e,playwright): notes

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Ref #51705

camperbot cant code


Reconsider behavior of what files are included with -diff and --pr-diff flags

https://github.com/AbanteAI/mentat/pull/241#issuecomment-1792309162 :

I'm not entirely sure the behavior is what users will expect. I personally would expect all the changed files to always be added to the context if --diff was included. This is a more complicated change but maybe it would be best to include intervals around the actual changes so much larger changes would have a hope of fitting in context?

Yeah that seems like it'd be the more expected behavior. I'll make an issue to discuss and potentially change this, it'll be easier once we have function-level features instead of whole files, so even diffs touching a lot of files can be added.

I think I looked at this about a month ago and determined that the behavior was all correct; I'm in favor of closing this issue.


Add swish

Thanks!

Thanks for stackage/stack.
On Sun, Nov 5, 2017 at 7:05 AM Luke Murphy<EMAIL_ADDRESS>wrote:

Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fpco/stackage/pull/2997#issuecomment-341968210, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AANtfgFtJQoWnbwQzjDRZwpO3-301bDJks5szaSagaJpZM4QRwjP
.


altered job to read the contents as an individual object

Current coverage is 20.56%

Merging #24 into master will decrease coverage by -5.58% as of 3b752f9

@@            master     #24   diff @@
======================================
  Files           49      51     +2
  Stmts          524     535    +11
  Branches        12      13     +1
  Methods          0       0
======================================
- Hit            137     110    -27
  Partial          1       1
- Missed         386     424    +38

Review entire Coverage Diff as of 3b752f9

Powered by Codecov. Updated on successful CI builds.


Bugfixes: Large crawls eventually crash during json loading/dumping

Describe the bug
This is yet another 0.4.1 bug, feel free to close it but do notice that I can't upgrade either. ;)
Steps to reproduce

Ran ArchiveBox with around 10,000 URLs to crawl
Wait around 3 hours
Crawl eventually crashes with: TypeError: __init__() missing 5 required positional arguments: 'url', 'code', 'msg', 'hdrs', and 'fp'

Screenshots or log output
Full backtrace:
[+] [2019-05-07 03:38:34] "www.varnish-software.com/blog/introducing-varnish-massive-storage-engine"
    https://www.varnish-software.com/blog/introducing-varnish-massive-storage-engine
    > ./archive/1557189662.144
      > title
        Failed:
            HTTPError HTTP Error 404: Not Found
        Run to see full output:
            cd /srv/backup/archive/archivebox/archive/1557189662.144;
            curl https://www.varnish-software.com/blog/introducing-varnish-massive-storage-engine | grep <title

      > favicon
      > wget
        Failed:
             Got an error from the server
            Got wget response code: 8.
            https://www.varnish-software.com/blog/introducing-varnish-massive-storage-engine:
            2019-05-07 03:38:35 erreur 404 : Not Found.
        Run to see full output:
            cd /srv/backup/archive/archivebox/archive/1557189662.144;
            wget --no-verbose --adjust-extension --convert-links --force-directories --backup-converted --span-hosts --no-parent -e robots=off --restrict-file-names=windows --timeout=60 --warc-file=warc/1557200315 --page-requisites "--user-agent=ArchiveBox/0.4.1 (+https://github.com/pirate/ArchiveBox/) wget/GNU Wget 1.20.1" --compression=auto https://www.varnish-software.com/blog/introducing-varnish-massive-storage-engine

      > pdf
      > screenshot
      > dom
      > media
    ! Failed to archive link: TypeError: __init__() missing 5 required positional arguments: 'url', 'code', 'msg', 'hdrs', and 'fp'

Traceback (most recent call last):
  File "/home/anarcat/.virtualenvs/archivebox/bin/archivebox", line 10, in <module>
    sys.exit(main())
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/archivebox/__main__.py", line 10, in main
    archivebox.main(args=sys.argv[1:], stdin=sys.stdin)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/archivebox/cli/archivebox.py", line 58, in main
    pwd=pwd or OUTPUT_DIR,
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/archivebox/cli/__init__.py", line 55, in run_subcommand
    module.main(args=subcommand_args, stdin=stdin, pwd=pwd)    # type: ignore
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/archivebox/cli/archivebox_add.py", line 55, in main
    out_dir=pwd or OUTPUT_DIR,
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/archivebox/util.py", line 104, in typechecked_function
    return func(*args, **kwargs)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/archivebox/main.py", line 521, in add
    archive_link(link, out_dir=link.link_dir)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/archivebox/util.py", line 104, in typechecked_function
    return func(*args, **kwargs)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/archivebox/extractors/__init__.py", line 84, in archive_link
    write_link_details(link, out_dir=link.link_dir)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/archivebox/util.py", line 104, in typechecked_function
    return func(*args, **kwargs)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/archivebox/index/__init__.py", line 345, in write_link_details
    write_json_link_details(link, out_dir=out_dir)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/archivebox/util.py", line 104, in typechecked_function
    return func(*args, **kwargs)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/archivebox/index/json.py", line 89, in write_json_link_details
    atomic_write(link._asdict(extended=True), path)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/archivebox/system.py", line 73, in atomic_write
    pyjson.dump(contents, f, indent=4, sort_keys=True, cls=ExtendedEncoder)
  File "/usr/lib/python3.7/json/__init__.py", line 179, in dump
    for chunk in iterable:
  File "/usr/lib/python3.7/json/encoder.py", line 431, in _iterencode
    yield from _iterencode_dict(o, _current_indent_level)
  File "/usr/lib/python3.7/json/encoder.py", line 405, in _iterencode_dict
    yield from chunks
  File "/usr/lib/python3.7/json/encoder.py", line 405, in _iterencode_dict
    yield from chunks
  File "/usr/lib/python3.7/json/encoder.py", line 325, in _iterencode_list
    yield from chunks
  File "/usr/lib/python3.7/json/encoder.py", line 438, in _iterencode
    o = _default(o)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/archivebox/util.py", line 250, in default
    return obj._asdict()
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/archivebox/index/schema.py", line 36, in _asdict
    return asdict(self)
  File "/usr/lib/python3.7/dataclasses.py", line 1044, in asdict
    return _asdict_inner(obj, dict_factory)
  File "/usr/lib/python3.7/dataclasses.py", line 1051, in _asdict_inner
    value = _asdict_inner(getattr(obj, f.name), dict_factory)
  File "/usr/lib/python3.7/dataclasses.py", line 1085, in _asdict_inner
    return copy.deepcopy(obj)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/copy.py", line 180, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/copy.py", line 274, in _reconstruct
    y = func(*args)
TypeError: __init__() missing 5 required positional arguments: 'url', 'code', 'msg', 'hdrs', and 'fp'
Command exited with non-zero status 1
2466.01user 359.38system 2:57:42elapsed 26%CPU (0avgtext+0avgdata 258044maxresident)k
316056inputs+48205712outputs (1181major+28465380minor)pagefaults 0swaps
"time archivebox add wallabag.list " took 2 hours 57 mins 43 secs

I have tried upgrading archivebox to the django branch but then it fails with:
$ time archivebox add --update-all wallabag.list
    > ./sources/wallabag.list-1557227903.txt

[*] [2019-05-07 11:18:24] Parsing new links from output/sources/wallabag.list-1557227903.txt...
    > Parsed 10317 links as Plain Text (0 new links added)

[*] [2019-05-07 11:19:02] Writing 10262 links to main index...
Traceback (most recent call last):
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/django/db/backends/sqlite3/base.py", line 383, in execute
    return Database.Cursor.execute(self, query, params)
sqlite3.IntegrityError: UNIQUE constraint failed: core_snapshot.timestamp

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/anarcat/.virtualenvs/archivebox/bin/archivebox", line 11, in <module>
    load_entry_point('archivebox', 'console_scripts', 'archivebox')()
  File "/home/anarcat/dist/ArchiveBox/archivebox/__main__.py", line 10, in main
    archivebox.main(args=sys.argv[1:], stdin=sys.stdin)
  File "/home/anarcat/dist/ArchiveBox/archivebox/cli/archivebox.py", line 58, in main
    pwd=pwd or OUTPUT_DIR,
  File "/home/anarcat/dist/ArchiveBox/archivebox/cli/__init__.py", line 55, in run_subcommand
    module.main(args=subcommand_args, stdin=stdin, pwd=pwd)    # type: ignore
  File "/home/anarcat/dist/ArchiveBox/archivebox/cli/archivebox_add.py", line 55, in main
    out_dir=pwd or OUTPUT_DIR,
  File "/home/anarcat/dist/ArchiveBox/archivebox/util.py", line 104, in typechecked_function
    return func(*args, **kwargs)
  File "/home/anarcat/dist/ArchiveBox/archivebox/main.py", line 509, in add
    write_main_index(links=all_links, out_dir=out_dir)
  File "/home/anarcat/dist/ArchiveBox/archivebox/util.py", line 104, in typechecked_function
    return func(*args, **kwargs)
  File "/home/anarcat/dist/ArchiveBox/archivebox/index/__init__.py", line 233, in write_main_index
    write_sql_main_index(links, out_dir=out_dir)
  File "/home/anarcat/dist/ArchiveBox/archivebox/util.py", line 104, in typechecked_function
    return func(*args, **kwargs)
  File "/home/anarcat/dist/ArchiveBox/archivebox/index/sql.py", line 37, in write_sql_main_index
    Snapshot.objects.create(**info)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/django/db/models/manager.py", line 82, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/django/db/models/query.py", line 422, in create
    obj.save(force_insert=True, using=self.db)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/django/db/models/base.py", line 741, in save
    force_update=force_update, update_fields=update_fields)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/django/db/models/base.py", line 779, in save_base
    force_update, using, update_fields,
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/django/db/models/base.py", line 870, in _save_table
    result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/django/db/models/base.py", line 908, in _do_insert
    using=using, raw=raw)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/django/db/models/manager.py", line 82, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/django/db/models/query.py", line 1186, in _insert
    return query.get_compiler(using=using).execute_sql(return_id)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1332, in execute_sql
    cursor.execute(sql, params)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/django/db/backends/utils.py", line 67, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/django/db/backends/sqlite3/base.py", line 383, in execute
    return Database.Cursor.execute(self, query, params)
django.db.utils.IntegrityError: UNIQUE constraint failed: core_snapshot.timestamp

I suspect the database structure has changed but it's not immediately obvious to me how to fix that...
Software versions

OS: Debian buster 10
ArchiveBox version: django branch, installed through pip -e in a virtualenv
Python version: 3.7.3rc3?
Chrome version: N/A

Run archivebox init to migrate the db to the latest version, and definitely don't continue using v0.4.1, it's full of bugs (my latest local version is already v0.4.5 but I'm hesitant to release more alpha versions it as there's still lots of stuff unfinished and I don't want to ruin people's archives).

On 2019-05-08 16:35:11, Nick Sweeting wrote:

Run archivebox init to migrate the db to the latest version,

I'll try that, thanks.

and definitely don't continue using v0.4.1, it's full of bugs (my latest local version is already v0.4.5 but I'm hesitant to release more alpha versions it as there's still lots of stuff unfinished and I don't want to ruin people's archives).

I'd say you should release what you have. :)

archivebox init doesn't solve the problem, i still get:
django.db.utils.IntegrityError: UNIQUE constraint failed: core_snapshot.timestamp

to be honest, i'd be fine with flushing this entire archive and starting from scratch - i have no history to keep, really, so it's not a big deal. if you're confident the __init__ bug is fixed and the UNIQUE stuff is just a weird fluke, i'm happy to close this and move on.
i'm just worried it would do the same thing after crawling 20GB for three hours. ;)

any suggestion on where i should start to debug this? should i scrap the 20GB archive and/or database and start from scratch?
thanks in advance! :)

Sorry for the long delay @anarcat I'm still swamped by my day job, going to try to get to this in the next couple months but it may be tricky with upcoming travel and client meetings.
Whatever you do don't scrap that archive, it's 100% recoverable, I'm sure there's a simple fix I can add for this in v0.4, I just need a solid block of time to figure it out.

awesome, thanks for the update! no rush, of course :)

Closing this for now, I think I've fixed a few of these bugs in the django branch, and the atomicity/corruption issue is moved to #234.

I was running into the exact same problem (tested both v.0.4.2 and v.0.4.3 branches) yesterday and
noticed that the type error (below) occurs when a link couldn't be processed (e.g. 404).
...
  File "/usr/lib/python3.7/dataclasses.py", line 1085, in _asdict_inner
    return copy.deepcopy(obj)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/copy.py", line 180, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/copy.py", line 274, in _reconstruct
    y = func(*args)
TypeError: __init__() missing 5 required positional arguments: 'url', 'code', 'msg', 'hdrs', and 'fp'

tldr:
The output field in the class ArchiveResult must always (i guess) contain a string value. In case of an error it holds an instance of the error object, which in turn makes the deepcopy operation
at the end of the json serialization to throw the type error.
Solution:
in archivebox/extractors/title.py (line 62)
Change the value of output from err to str(err).
def save_title(link: Link, out_dir: Optional[str]=None, timeout: int=TIMEOUT) -> ArchiveResult:
...
    except Exception as err:
        status = 'failed'
        output = str(err)
    finally:
        timer.end()
...

I don't know if i did overlook something else but this appears to fix the error.

Thanks, good catch @dvpc.

You're welcome :)
I happened to look into the code of the other extractors and i guess they should convert the error responses as well.
Should i create a patch?

If you can that would be awesome, otherwise if you're ok waiting an indefinite amount of time I've already saved this issue in the queue of the long list of things left for me to do in the 0.4 release.

Sorry for the delay. If its still relevant, i attach the patch file (from branch origin/v0.4.3) here.
fix_json_type_error.patch.txt
PS
I had to rename the file (add .txt suffix), that seems to be a "wrong" workflow i guess (I didn't fork the project yet).
Hope it helps anyway.

@dvpc Can you please describe a way to reliably reproduce it, and create a PR if this happens in the latest version?
There have been a LOT of changes, so I would like to make sure it still makes sense. Thanks!

@cdvv7788 Sorry i don't have any time now. If it helps, i took a quick look into for example
https://github.com/pirate/ArchiveBox/blob/v0.5.0/archivebox/extractors/archive_org.py and in line 73 for example it still says: output = err, which reliably leads to the error described in the first post of this thread:
TypeError: __init__() missing 5 required positional arguments: 'url', 'code', 'msg', 'hdrs', and 'fp'
So it seems it is still makes sense.
(Assuming that v0.5.0 is the latest version - which i can't say since i didn't follow the progress).
All changes in the patch are one-liners for all extractors. Take a look at the patch file and my first post. It is very simple.


fix: Fixed the quantile processing for metrics query requests

Fixed the quantile processing for metrics query requests.
Added tigris_opration:metadata to query metrics for Tigris metadata operations.

Codecov Report
Base: 29.75% // Head: 29.75% // Decreases project coverage by -0.00% :warning:

Coverage data is based on head (47148d4) compared to base (ca968ad).
Patch coverage: 50.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #540      +/-   ##
==========================================
- Coverage   29.75%   29.75%   -0.01%
==========================================
  Files          88       88
  Lines       10428    10436       +8
==========================================
+ Hits         3103     3105       +2
- Misses       7034     7040       +6
  Partials      291      291

Impacted Files
Coverage Δ

api/server/v1/marshaler.go
9.98% <0.00%> (-0.08%)
:arrow_down:

server/middleware/auth.go
30.43% <ø> (ø)

server/services/v1/observability.go
31.77% <100.00%> (+0.71%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Display a warning if mainnet contract version is used for L2 network

Overview
When users recreate mainnet safes on L2 using mainnet contract version (not optimised for L2) and then try to use it in our interface, it looks like it is functional, but it is not.
Slack discussion
It would be nice to display some warnings not to confuse users and reduce the number of help requests.

We should probably rephrase this to make sure that we show that the interface shows a warning if you interact with a Safe that uses a mastercopy that is not supported by our service. For this it is required that we coordinate with the services how to best indicate this.


usePress() getting stuck on keyboard navigation to _blank target

Provide a general summary of the issue here
When initiating navigation on an <a/> element with a _blank target and props spread on via useLink() or usePress(), the link will get stuck in pressed state when initiating navigation via keyboard.
🤔 Expected Behavior?
usePress() should reset its pressed state, when navigating to new _blank target.
😯 Current Behavior
isPressed remains stuck in true, even when re-pressing the link.
💁 Possible Solution
I noticed this issue on the <Link /> RAC but I am pretty sure the issue lies in usePress() failing to pickup the pointer up event when navigating to a _blank target. Maybe an event listener for a navigation event could be added to force a state reset.
🔦 Context
No response
🖥 Steps to Reproduce

Visit the official docs example
Initiate navigation through keyboard ENTER.
Observe the Link now being stuck in data-pressed

Version
latest
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
OSX
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response

Can confirm, thanks for the issue!

Is anyone working on it?

@subashcs doesn't look like it, please go ahead

Hi @snowystinger,
I noticed that this issue is currently unassigned. Could you please let me know if @subashcs is working on it or if they have expressed interest in doing so? If not, I would be happy to take it on.
Thank you!

Go for it, that last comment was in April and there's no linked PR. Don't worry too much about the assignment.


Compilation failure on OpenBSD (crash_handler_x11.cpp:56: undefined reference to `backtrace_symbols')

I'd like to preface this by saying YES, godot is compatible with OpenBSD. I've successfully compiled 2.1.3 in the past.
Operating system or device, Godot version, GPU Model and driver (if graphics related):
OpenBSD Current AMD64 from 2017/09/24
Scons V2.5.1
LLVM 5.0.0
libexecinfo 0.3
Latest Godot from Github
Issue description:

By default, OpenBSD stores system libraries in /usr/include and all other libraries in /usr/local/include. By default, Clang doesn't look for libraries in /usr/local/include but I've added C_INCLUDE_PATH in my ~/.profile to account for this. However, it seems Scons isn't passing these environment variable to Clang which fails to find the libraries for compilation.
To demonstrate this behaviour, If I was to write a small test program

#include "execinfo.h"
#include "stdio.h"
int main() {
printf("Hello World\n");
return(0); }

and compile it without the environment variable added in my .profile, Clang would fail to find any libraries that are not part of OpenBSD's base system libraries.

$ clang test.c
test.c:1:10: fatal error: 'execinfo.h' file not found
#include "execinfo.h"
^~~~~~~~~~~~
1 error generated.

After I added the environment variable in my .profile, Clang compiles without issue.

$ clang test.c
$ file a.out
a.out: ELF 64-bit LSB shared object, x86-64, version 1

Despite the environment variable being in my profile and being passed through Scons, compilation fails due to Clang not finding the libraries in question.

$ file /usr/local/include/execinfo.h
/usr/local/include/execinfo.h: ASCII C program text
$ scons platform=x11 use_llvm=yes CCFLAGS="/usr/local/include" CFLAGS="/usr/local/include" C_INCLUDE_PATH="/usr/local/include"
scons: Reading SConscript files ...
Could not detect MinGW. Ensure its binaries are in your PATH or that MINGW32_PREFIX or MINGW64_PREFIX are properly defined.
ALSA libraries not found, disabling driver
PulseAudio development libraries not found, disabling driver
cdir is: /home/gjp/Git/godot
Checking for C header file mntent.h... no
scons: done reading SConscript files.
scons: Building targets ...
[Initial build] Compiling ==> platform/x11/godot_x11.cpp
[Initial build] Compiling ==> platform/x11/context_gl_x11.cpp
[Initial build] Compiling ==> platform/x11/crash_handler_x11.cpp
platform/x11/crash_handler_x11.cpp:40:10: fatal error: 'execinfo.h' file not found
#include <execinfo.h>
^~~~~~~~~~~~
1 error generated.
scons: *** [platform/x11/crash_handler_x11.x11.tools.64.llvm.o] Error 1
scons: building terminated because of errors.

Steps to reproduce:
Install OpenBSD Current on a VM or bare metal. Remember to install ALL package sets. If you have any trouble, consult the installation guide.
Great! Now as root, verify the installpath and install libexecinfo, llvm, scons and git:
cat /etc/installurl
https://ftp.openbsd.org/pub/OpenBSD
pkg_add git llvm libexecinfo scons
Then, clone Godot git repo
git clone https://github.com/godotengine/godot
Don't forget to add C_INCLUDE_PATH to your .profile, you should also relogin for changes to take effect.
echo "export C_INCLUDE_PATH=/usr/local/include" >> ~/.profile
Finally, start the compilation
scons platform=x11 use_llvm=yes builtin_openssl=yes

scons platform=x11 use_llvm=yes CCFLAGS="/usr/local/include"

Your CCFLAGS are incorrect, it should be CCFLAGS="-I/usr/local/include" to add a custom include path.

I made a change to SConstruct which (I know breaks cross-compatibility) allowed the compiler to find the libraries. I'm currently having trouble getting clang's linker to find the libraries.
[Initial build] Linking Program        ==> bin/godot.x11.tools.64.llvm
/usr/X11R6/lib/libXcursor.so.5.0: warning: warning: sprintf() is often misused, please use snprintf()
modules/libmodules.x11.tools.64.llvm.a(ssl_lib.x11.tools.64.llvm.o): In function `SSL_get_shared_ciphers':
thirdparty/openssl/ssl/ssl_lib.c:1434: warning: warning: strcpy() is almost always misused, please use strlcpy()
/usr/X11R6/lib/libGL.so.17.1: warning: warning: random() may return deterministic values, is that what you want?
modules/libmodules.x11.tools.64.llvm.a(v3_alt.x11.tools.64.llvm.o): In function `i2v_GENERAL_NAME':
thirdparty/openssl/crypto/x509v3/v3_alt.c:167: warning: warning: strcat() is almost always misused, please use strlcat()
core/libcore.x11.tools.64.llvm.a(zip.x11.tools.64.llvm.o): In function `crypthead':
thirdparty/minizip/crypt.h:117: warning: warning: rand() may return deterministic values, is that what you want?
platform/x11/crash_handler_x11.x11.tools.64.llvm.o: In function `_ZL12handle_crashi':
platform/x11/crash_handler_x11.cpp:49: undefined reference to `backtrace'
platform/x11/crash_handler_x11.cpp:56: undefined reference to `backtrace_symbols'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [bin/godot.x11.tools.64.llvm] Error 1
scons: building terminated because of errors.

apply patch with patch -p0 < openbsd.patch
--- SConstruct  Tue Sep 26 09:59:08 2017
+++ SConstruct  Tue Sep 26 09:59:59 2017
@@ -70,6 +70,8 @@ if 'TERM' in os.environ:
     env_base['ENV']['TERM'] = os.environ['TERM']
 env_base.AppendENVPath('PATH', os.getenv('PATH'))
 env_base.AppendENVPath('PKG_CONFIG_PATH', os.getenv('PKG_CONFIG_PATH'))
+env_base.Append( CPPFLAGS=['-I/usr/local/include'] )
+env_base.Append( LDFLAGS=['-L/usr/local/include'] )
 env_base.global_defaults = global_defaults
 env_base.android_maven_repos = []
 env_base.android_dependencies = []

+env_base.Append( LDFLAGS=['-L/usr/local/include'] )

I doubt OpenBSD packs its libraries in /usr/local/include - this folder should only contain headers (.h and .hpp). The libraries (.so) should be somewhere else, probably /usr/local/lib.
Instead of patching SConstruct, just do scons CCFLAGS="-I/usr/local/include" LINKFLAGS="-L/usr/local/lib".

I recompiled with an unpatched SConstruct with the arguments pointing properly towards the libraries (hehe, I was lacking morning coffee). Unfortunately, clang's linker is still having the same trouble.
$ scons platform=x11 use_llvm=yes builtin_openssl=yes CCFLAGS="-I/usr/local/include" LINKFLAGS="-L/usr/local/lib"
scons: Reading SConscript files ...
Could not detect MinGW. Ensure its binaries are in your PATH or that MINGW32_PREFIX or MINGW64_PREFIX are properly defined.
ALSA libraries not found, disabling driver
PulseAudio development libraries not found, disabling driver
cdir is: /home/gjp/Git/godot
Checking for C header file mntent.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
[Initial build] Linking Program        ==> bin/godot.x11.tools.64.llvm
/usr/X11R6/lib/libXcursor.so.5.0: warning: warning: sprintf() is often misused, please use snprintf()
modules/libmodules.x11.tools.64.llvm.a(ssl_lib.x11.tools.64.llvm.o): In function `SSL_get_shared_ciphers':
thirdparty/openssl/ssl/ssl_lib.c:1434: warning: warning: strcpy() is almost always misused, please use strlcpy()
/usr/X11R6/lib/libGL.so.17.1: warning: warning: random() may return deterministic values, is that what you want?
modules/libmodules.x11.tools.64.llvm.a(v3_alt.x11.tools.64.llvm.o): In function `i2v_GENERAL_NAME':
thirdparty/openssl/crypto/x509v3/v3_alt.c:167: warning: warning: strcat() is almost always misused, please use strlcat()
core/libcore.x11.tools.64.llvm.a(zip.x11.tools.64.llvm.o): In function `crypthead':
thirdparty/minizip/crypt.h:117: warning: warning: rand() may return deterministic values, is that what you want?
platform/x11/crash_handler_x11.x11.tools.64.llvm.o: In function `_ZL12handle_crashi':
platform/x11/crash_handler_x11.cpp:49: undefined reference to `backtrace'
platform/x11/crash_handler_x11.cpp:56: undefined reference to `backtrace_symbols'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [bin/godot.x11.tools.64.llvm] Error 1
scons: building terminated because of errors.

CC @marcelofg55. Maybe the crash_handle_x11.cpp code was written with Linux in mind and needs some fixes for *BSD.

@akien-mga I'm not sure it's crash_handle_x11.cpp at fault, backtrace and backtrace_symbols are present in both headers and compiled libraries (verified with strings). For more clarity into what might be going on, I've ran Scons with verbose=1
[Initial build] clang++ -o bin/godot.x11.tools.64.llvm -rdynamic -pipe -rdynamic platform/x11/godot_x11.x11.tools.64.llvm.o platform/x11/context_gl_x11.x11.tools.64.llvm.o platform/x11/crash_handler_x11.x11.tools.64.llvm.o platform/x11/os_x11.x11.tools.64.llvm.o platform/x11/key_mapping_x11.x11.tools.64.llvm.o platform/x11/joypad_linux.x11.tools.64.llvm.o platform/x11/power_x11.x11.tools.64.llvm.o -L/usr/X11R6/lib -L/usr/local/lib main/libmain.x11.tools.64.llvm.a main/tests/libtests.x11.tools.64.llvm.a modules/libmodules.x11.tools.64.llvm.a drivers/libdrivers.x11.tools.64.llvm.a editor/libeditor.x11.tools.64.llvm.a scene/libscene.x11.tools.64.llvm.a servers/libservers.x11.tools.64.llvm.a core/libcore.x11.tools.64.llvm.a modules/svg/libsvg_builtin.x11.tools.64.llvm.a -lXcursor -lXfixes -lXinerama -lXrandr -lXext -lXrender -lX11 -lxcb -lpthread-stubs -lXau -lXdmcp -lfreetype -lpng -lz -lGL -lpthread modules/recast/librecast_builtin.x11.tools.64.llvm.a

I'm guessing it misses a -lexecinfo or -lbacktrace perhaps?

Yeah this bug report hints that -lexecinfo might be needed on FreeBSD - maybe similar on OpenBSD.

I've managed to compile commit f577efd47ed2f0aa801155756e4ba5d5ea2d5f2b on OpenBSD with the following patch. I haven't been able to test for breakage on other platforms yet. Strangely, after applying this patch Scons has now started to report a percentage during compilation.
Compiled after applying the patch using:

$ scons platform=x11 use_llvm=yes builtin_openssl=yes CCFLAGS="-I/usr/local/include"

--- platform/x11/SCsub	Tue Sep 26 16:48:48 2017
+++ platform/x11/SCsub	Tue Sep 26 18:10:08 2017
@@ -17,6 +17,8 @@ common_x11 = [
     "power_x11.cpp",
 ]

+env.Append(LINKFLAGS=['-lexecinfo'])
+
 binary = env.Program('#bin/godot', ['godot_x11.cpp'] + common_x11)
 if env["debug_symbols"] == "full" or env["debug_symbols"] == "yes":
     env.AddPostAction(binary, make_debug)


Change inputs labels from unavailable to overwritten

:white_check_mark: Build aneris 0.10.0.dev0.build9 completed (commit https://github.com/DTOcean/aneris/commit/fcc01ee7c9 by @H0R5E)

:white_check_mark: Build aneris 0.10.0.dev0.build10 completed (commit https://github.com/DTOcean/aneris/commit/18d8e0a0b5 by @H0R5E)