v2: main page/search

part of #248
see wireframe
Front end

[ ] Search/main page replaces data-sources.pdap.io and the gold box on pdap.io

search options are now a bit refined; coarse selection of record types instead of an entry field

[ ] use typeahead to help disambiguate place names. Treating places as objects people can predictably search, not strings we have to try to match.

we can source the typeahead list from our states and counties table, with locality from the agencies table.
ideally this is one magical search box which could help people select a state, county, or locality
trigger after 2 characters (https://en.wikipedia.org/wiki/Ai,_Ohio)
debouncing as discussed below
order:

matches that start with the string, followed by contains (if the endpoint supports that)

e.g. search for Al yields Alabama before Topal County

alphabetically
state, county, locality (if any share the same name)

if there are no typeahead results: the option should be No results found. Search for "string"? and load quick search results

API changes

[ ] #345

rate limiting as discussed below

[ ] #352
[ ] #212

This will be a simplified version of the current quick_search_query. All the potential fields for trying to match a search term in the where clause will be replaced by record_type = '{coarse_record_type}'

This will be a simplified version of the current quick_search_query. All the potential fields for trying to match a search term in the where clause will be replaced by record_type = '{coarse_record_type}'

So this will be replacing the quick search and associated API endpoint?

@maxachis In order to maintain backwards compatibility, I would suggest a new endpoint with similar functionality

@maxachis let's let them multi-select coarse record types, why not? Even if the UI doesn't support it. Agreed about keeping the quick search endpoint—we are likely still going to have that option

@josh-chamberlain @mbodeantor PR has been created, incorporating both the changes described here and #258 (which as I indicated there, is a very trivial add and is quick to reverse if nonfunctional). My next question is how to test it in an environment that emulates the website.

@maxachis

Joshua G is the front end lead, so I would like to let him do that part.
I don't have a strong opinion. Adding to the same table is simple in a way, but we should keep track of which endpoint they're hitting so we know the difference between quick and other searches.
I know about this in general terms, but can't give you super specific instructions about routing

@maxachis Any code you merge into the dev branch will get deployed in the dev instance of the API on DigitalOcean. It uses the same database, but is otherwise separate from the live prod app

@mbodeantor Once I get further along in setting up the dev database, it may be prudent to switch the dev instance to point to the dev database. That probably also encourages us to copy the data as well as the schema to the dev database, to better emulate it.

Hey @josh-chamberlain I'm pretty close to starting on the updated UI here. A couple questions:

Are the backend changes being handled by someone else, or should I plan to work on those here, too?

we should structure the URL like /search/{record_type}/{state}/{county}/{muni}

Would it make more sense to pass record_type, state, county, and municipality, as well as searchId, as data in the request body, rather than trying to add all of them to the URL string? Particularly since all of those fields could be null when we pass a saved search searchId, it seems less complex to use the request body here.

For instance, if we hit /search/ohio or /search/9b7ddde7-5871-4f45-a8a1-3dce52847736, the API would need to check the value against some static list of states to know whether state or searchId was being passed here, no?

@joshuagraber nice!

yes, @maxachis is working on the back end, potentially with help from others. If you would like to be involved, that can work, as the front end is the primary consumer of the API. It's mostly happening on this fork: https://github.com/Police-Data-Accessibility-Project/data-sources-app-v2

Good point about the URL structure.

For the record, the "saved searches" concept is not part of v2, so we don't need to account for complex searches with an ID attached. If we did, maybe we could use search/id/123?
Ideally, we'd still surface the location in the URL, especially when someone's just viewing the page of a given geography. The URLs should ideally be simple and shareable, like search/oh/hamilton/cincinnati.
Passing it via the request body makes sense to me conceptually, and it's OK if we end up going that way, or even mixing strategies: search/oh/hamilton/cincinnati?=arrests
If you have a muni, the state and county are just inferred—so it's really just record type and location. It won't be possible to create other kinds of searches yet.

Ah, gotcha @josh-chamberlain, that all makes sense to me.

If you have a muni, the state and county are just inferred—so it's really just record type and location. It won't be possible to create other kinds of searches yet.

I think we will have edge cases here. I just did a basic filtering of all data source records and it shows that we have duplicate municipality names in different states. But I suppose as long as we're okay with that, it's nbd.
As far as flexibility of API and sharability of links, the easiest path forward here, to me, is to use query params.
So that way/search?state=oh&county=franklin&muni=cincinnati&term=arrests, /search?muni=cincinnati&term=arrests, /search?term=arrests could all be valid requests, and we don't have to worry about ugliness like /search/undefined/undefined/cincinatti/arrests or w/e

@joshuagraber yes, the duplicate muni names are why you would need the /state/county as a disambiguation.
To be clear: The goal of the typeahead is to treat places as objects and stop trying to match on strings. I would like to not allow people to create /undefined/undefined/cincinnati—we should only let people find a municipality object, which would require having the state and county. One problem we found with quick search was that people would search for a term like "Dallas" and get results from every "Dallas" in the country, rather than the typeahead helping them choose between Dallases.
That said, you quickly get into trouble if you let someone search for multiple record types (or, more accurate to the wireframe, record type categories). So far, I think the cleanest way is still /state/county/muni?category={record_type_category}.

@joshuagraber @josh-chamberlain From the backend perspective, creating a typeahead endpoint will be fun! But it will be fun in the same way running the Pittsburgh Half Marathon was fun.
I've never developed a typeahead endpoint, which automatically adds to the fun.
Additional points of fun:

How do we handle possible misspellings? Cincinnati is a great example, because I would probably get it wrong on my first attempt. We may want to ignore that for now, as it adds a lot of additional dimensions.
When should typeahead kick in? My guess is at 3 characters in, at least, because otherwise suggestions will be quite broad, and I suspect the number of people searching for Ai, Ohio will be relatively slim.
We may need to implement rate limiting, because otherwise we might send a lot of requests.
Also, we probably want to implement debouncing, which will make sure we wait for some delay before we start sending requests.
I'll need to know the format in which typeahead suggestions should be returned, as well as the format which the final search result will be in.

@joshuagraber

the design is a bit misleading

Yes—the design has not yet been updated to reflect that we want to do a typeahead. Sorry about that. Vikram has responded and will be back online starting ~Monday to make edits

multiple record types

Sorry again for the confusion! I think the design is correct, and I was just thinking out loud—we should allow multi-select. Current favorite answer is a url path for /search/state/county/muni/?type={args} so that we have a nice solid URL for geography (most common search facet) with room for flexible args. Hopefully that works...I updated the issue.

misspellings

IMO, typeahead helps here—if someone gets a "no locations found" message, that's a clue that they mistyped. We can get better at this over time.
I think Joshua covered the rest. Thanks for helping think it through, y'all

@josh-chamberlain Ah, gotcha, that makes more sense now, thank you for explaining.

Current favorite answer is a url path for /search/state/county/muni/?type={args} so that we have a nice solid URL for geography (most common search facet) with room for flexible args

I like that. We could just pass an array of record type values: /search/state/county/muni/?types={serialized record_type[]}

IMO, typeahead helps here—if someone gets a "no locations found" message, that's a clue that they mistyped. We can get better at this over time.

True enough, and if we collect a db of search queries by session, it could be an interesting problem to throw at ML.

Putting together potentially useful articles on the matter:

Implementing Auto Complete with Postgres and Python

@josh-chamberlain Regarding pulling locality from the agencies table, what column would that be? municipality? name?

@maxachis yep, municipality is what we currently call that. switching to locality is generally more inclusive; for now, we can have a front end and back end terminology adjustment, which is not the end of the world, but creates tech/information debt we should still fix: https://github.com/Police-Data-Accessibility-Project/data-sources-app/issues/332

@joshuagraber @josh-chamberlain Just to confirm -- debouncing is done on the frontend through the Iodash library that Joshua mentioned, correct? So no need to do that on the backend?

@maxachis @josh-chamberlain Yes, we'll debounce client-side, but IMO it might not hurt to add some rate limiting on the API side as well (for all endpoints, really) if it's not too big of a lift, just as a protective measure against a surprise hosting bill.

rate limiting: #353


support for training on mac

Hi again! I want to run train.py on my mac. But mac does not support gpu. May I PR for that?

Done.


Extended Keyboard actions to support issues in #479 and #491

This PR adds a few new keyboard actions, and updates a previous one, to support some of the missing keyboard shortcuts with other text editors.  (#479, #491)
Working video:
https://user-images.githubusercontent.com/55655058/160232254-163d14c7-1abd-4e20-88cf-e614e98f043a.mp4
This is a first PR into this repository, so feedback would be appreciated!

Also, related to this, I don't think it's the right behavior to expect the function to do nothing when there is a selection and you press CMD+BKSP or ALT+BKSP. You had existing tests for this, so I wrote the function to satisfy these. But normally, in a text editor when there is a selection, and you use these commands, it deletes the selection. Is this something I should refactor too?

Also, related to this, I don't think it's the right behavior to expect the function to do nothing when there is a selection and you press CMD+BKSP or ALT+BKSP. You had existing tests for this, so I wrote the function to satisfy these. But normally, in a text editor when there is a selection, and you use these commands, it deletes the selection. Is this something I should refactor too?

@agenthesh - I think that's a reasonable change to make, if it's clear to you how to make it.

FYI @agenthesh it looks like tests are failing on Windows and Linux

Sorry @matthew-carroll, but do you mind helping me with why the tests are failing?
`[document_keyboard_actions.dart] - moveToLineStartOrEndWithCtrlAOrE:  - handling Ctrl+A
578
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
579
The following TestFailure was thrown running a test:
580
Expected: <2>
581
Actual: <1>
582
583
When the exception was thrown, this was the stack:
584
#4      main... (file:///D:/a/super_editor/super_editor/super_editor/test/src/default_editor/upstream_downstream_selection_test.dart:529:9)
585

586

587
(elided one frame from package:stack_trace)
588
589
This was caught by the test expectation on the following line:
590
file:///D:/a/super_editor/super_editor/super_editor/test/src/default_editor/upstream_downstream_selection_test.dart line 529
591
The test description was:
592
inserts paragraph after downstream edge
593
════════════════════════════════════════════════════════════════════════════════════════════════════
594
595
00:27 +140 -1: D:\a\super_editor\super_editor\super_editor\test\src\default_editor\upstream_downstream_selection_test.dart: Upstream-downstream block typing at boundary inserts paragraph after downstream edge [E]
596
Test failed. See exception logs above.
597
The test description was: inserts paragraph after downstream edge`
This is the only exception that is caught for both Windows and Linux, however, both of these tests are satisfied on my local machine. Not sure where to go from here since they are working for me. Could you provide some direction?
PS: Also, did you leave a question about the movementModifier changes? I got an email about that, but there isn't anything on GitHub. Just wondering if its okay then.

Sorry @matthew-carroll, but do you mind helping me with why the tests are failing?
This is the only exception that is caught for both Windows and Linux, however, both of these tests are satisfied on my local machine. Not sure where to go from here since they are working for me. Could you provide some direction?
PS: Also, did you leave a question about the movementModifier changes? I got an email about that, but there isn't anything on GitHub. Just wondering if its okay then.

I can't infer much from the failures that you linked, but if the problem is only on Windows and Linux then it reminds me of this issue that I recently had:
https://github.com/flutter/flutter/issues/100033
Can you check if it's the same issue? If it is, you should be able to use the same approach that I did to hack around the issue for right now.

Hi @agenthesh - any update on this ticket?

Hey @matthew-carroll! Really sorry for the delay, but as for an update, I have none. These are the things I've tried to debug this problem below:

Run the test on a windows machine. Tests all passed. The test which is throwing an exception was debugged, and the expected behavior is correct.

Actually verify the behavior in SuperEditor. Created a mutable document with a HR, and then pressed the A key. There are two nodes, and the A character is after the HR at the beginning of the next line. (verified this both on windows and Mac).

The issue that you linked does not apply to this test. The test is failing because (for some reason) the number of nodes it finds on the document is one, when in reality it should be two (Horizontal Rule node, and the Paragraph node for the character). Related to this by the way, is the fact that the test which is failing, is not even related to the code I have changed or written.

I even ended up installing Linux on my Mac (Arch Linux, running on an M1 Max) to see if there was problem there (side note: Installing linux, flutter on an ARM based Mac is annoying as hell). But there isn’t. The tests all work fine, and the behavior in super_editor is perfect as well. I’ve attached flutter doctor and logs from the tests here.

The only reason I can think of is something is going wrong during the CI build. Not exactly sure what could be going wrong however. What's even more confusing is this. The exact same test exists for an upstream edge rather than a downstream edge, and the CI build is accepting that test. I’m honestly really lost cause I’ve made sure that the code is not an issue here.

@agenthesh it looks like the issue must have been a CI flake for some reason. The tests seem to pass now, so I'll go ahead and merge in. Thanks.


The documentation is not rendering

When I access the doc site (https://the-augraphy-project-augraphy.readthedocs-hosted.com/en/latest/) I'm getting a page with this:
        \          SORRY            /
         \                         /
          \    This page does     /
           ]   not exist yet.    [    ,'|
           ]                     [   /  |
           ]___               ___[ ,'   |
           ]  ]\             /[  [ |:   |
           ]  ] \           / [  [ |:   |
           ]  ]  ]         [  [  [ |:   |
           ]  ]  ]__     __[  [  [ |:   |
           ]  ]  ] ]\ _ /[ [  [  [ |:   |
           ]  ]  ] ] (#) [ [  [  [ :===='
           ]  ]  ]_].nHn.[_[  [  [
           ]  ]  ]  HHHHH. [  [  [
           ]  ] /   `HH("N  \ [  [
           ]__]/     HHH  "  \[__[
           ]         NNN         [
           ]         N/"         [
           ]         N H         [
          /          N            \
         /           q,            \
        /                           \

Thanks for pointing this out. We migrated the doc site recently and yet to update the readme here. Right now here's the new doc site:
https://augraphy.readthedocs.io/en/latest/

Nice, now works 🎉 !
And thank you for this package, will be really useful on a project that I'm working on 😉 !

Nice, now works 🎉 !
And thank you for this package, will be really useful on a project that I'm working on 😉 !

You are welcome. Please let us know if you encounter any issue, it will be very helpful for us to further improve the library.

The documentation site should be updated with this commit:
https://github.com/sparkfish/augraphy/commit/be8e544db1836f584d562f21400030ba873cd85b
I will now proceed to close the issue.


States are rendered as attributes - HTML

So here's the html I have added. For the disabled state, and checked state, it automatically adds the equal signs and quotations.
Is there a way to remove on for those states?

I think this has to do with the browser treating it as html. Rainbow shouldn’t add anything itself.
For HTML highlighting you have to use HTML entities. Try replacing < with < and > with >.

@ccampbell Is there a reason you don't encourage this (make it more obvious) by using textContent or innerText instead of innerHTML?  See my concerns on the thread I started on security concerns and users confused about this very topic.
Have we worked on anything before?   Your name/avatar looks a little familiar.

If you call innerText is the html preserved ?
would it not be better to just replace tags with < > ?

Version 11 of Highlight.js logs an error to the console in this situation and purposely strips all HTML (instead of rewriting it and merging it back as version 10 did).  This is dangerous and should only be done by those who for sure know they want this behavior - and if so it can be added back with a plugin and option to turn off the security warning.


Add MinGW support for assimp and freetype

MinGW is normally able to use .lib files from MSVC (for C libraries)

I forgot that Assimp had a C++ part -_-


Bypass Infinity loop in Hooks

Do you have any options to bypass all hooks when using the local API.
In order to avoid loop in hooks between two collections or fields.
Example :
A-Collection
-Hook afterChange update something in CB
B-Collection

Hook afterChange
update something in CA.

Hey @wikoci — this is a pretty common problem with many dev tasks. Generally we'd say the right way to do this would be to store some type of flag that lets you know that whatever the hook was needed for has been done, so you can not update the document again. But, if you wanted to avoid triggering hooks, you could access the Mongoose model directly, and update whatever you need directly with the Mongoose model.
You can access Mongoose models by payload.collections[collectionSlug].Model.
Another way would be to bind something to the req like .... payloadHooksHaveRun: true or similar? And then in your hooks, check for that flag?
One of the options above should work for you. I'm going to convert this to a discussion because it's not necessarily something that Payload should tackle, moreso just a good discussion about how to avoid infinite loops with hooks.
Very good question! 👍


Connect Module to Datastax Astra

The actual Database needs to be connected to our API

I think this issue will lead to a few more.

[ ] remove hardcoded Ids
[ ] remove hardcoded dates
[ ] adjust step-definitions to unknown-values like id or date
[ ] adjust github actions for stargate-testing

I think this PR might get a bit bigger then.
Do you want to do all modules at once, or start with standup for example?

I think most of those could go in a new PR, to try and keep PRs small. Maybe each module could be done in its own PR?

Sure! lets do it like this 👍


Default values for model_class when using ActiveRel class

As discussed on Gitter, this PR makes the model_class option a bit "smarter" by taking an ActiveRel class into account when one is used on the association.
When RelClass._to_class == :any, model_class is defaulted to false to avoid having to declare it explicitly (without it, an NameError exception will be raised when calling the association method).
When RelClass._to_class is any other value and the :model_class option has not been set, it is defaulted to the value of RelClass._to_class.
Note: When #837 gets merged, the code should be changed not to use #_to_class anymore.

ah, forgot to run Rubocop...

@subvertallchris rebased after merge of #837, fixed errors and ran Rubocop... all should be good :)

Shot you a PR on your branch that fixes that problem. We can merge this after you merge mine or implement your own way. Great stuff!

Very awesome, thanks!

@cheerfulstoic my pleasure :)
@subvertallchris merged your PR so you can merge mine when Travis is happy ^^


SharedImage Typo in Azure VM Image Builder Documentation

Created AIB template to publish to Shared Image Gallery, but when I tried to create the Image Builder Definition (type:Microsoft.VirtualMachineImages/imageTemplates) I got the following error:
Operation failed with status: 'Bad Request'. Details: 'ImageTemplate.properties': Field 'distribute[0].type' has bad value: ''"
This is using the following type definition in the json template:
         "distribute":
            [
                {
                    "type": "sharedImage",

however the Image Builder Definition resource is successfully created when I modify the "type" property to read: (capitalize 's')
         "distribute":
            [
                {
                    "type": "SharedImage",

Therefore I assume this should be updated in the documentation.
thanks
FYI & validation @danielsollondon

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

ID: 9ef2d683-1557-7097-0415-ea67a0350718
Version Independent ID: 20667a9c-cd22-ce77-d4d6-61ac10d380c8
Content: Create an Azure Image Builder template (preview) - Azure Linux Virtual Machines
Content Source: articles/virtual-machines/linux/image-builder-json.md
Service: virtual-machines-linux
Sub-service: imaging
GitHub Login: @danis
Microsoft Alias: danis

Thanks for bringing this to our attention. I have created a PR with the update, changes will be live shortly.

Great thanks
Sent from Outlook Mobilehttps://aka.ms/blhgte

From: Karishma Tiwari - MSFT<EMAIL_ADDRESS>Sent: Friday, April 10, 2020 1:26:20 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Tim Stockford<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] SharedImage Typo in Azure VM Image Builder Documentation (#52094)
Thanks for bringing this to our attention. I have created a PR with the update, changes will be live shortly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/52094#issuecomment-611815686, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO6XUMSBS7GWGL7MWZVZO2LRLZRSZANCNFSM4ME2PKRQ.

We are currently cleaning up old issues and closing out items that are greater than 90 days old. If an issue is still present, please open a new feedback item on the document so we can prioritize correctly.
#please-close


[Addition] Phosphor

Checklist

[X] I've checked that my mod suggestion hasn't already been added to one of the lists.
[X] I've checked the latest issues to make sure that this mod hasn't already been suggested.

What is your mod's name?
Phosphor
What is your mod's main version?
Other (Fabric)
Input a link to your suggested mod. Make sure it isn't hosted on a site listed on StopModReposts.
https://www.curseforge.com/minecraft/mc-mods/phosphor
What is your reasoning for including this mod?
Its a light engine mod that you have in the list for 1.18 and below. It is updated to 1.19.x atm.
(OPTIONAL) Give some extra information about the mod.
Considering the history it probably still doesnt work with Starlight since they both rewrite the light engine

Phosphor is already on the list, has it been updated or is it missing from somewhere?

It might be now but when I looked at like specifically 1.19.x I thought it
was missing
On Sun, Sep 4, 2022, 8:52 AM Lucas @.***> wrote:

Phosphor is already on the list, has it been updated or is it missing from
somewhere?
—
Reply to this email directly, view it on GitHub
https://github.com/NordicGamerFE/usefulmods/issues/116#issuecomment-1236334827,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG5ECTVUWZK5OCJXY74LZY3V4SLQPANCNFSM55I2BNLQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yeap it is


Add FileDataset mounting input option to training pipelines example

Hi!
Noticed this neat pattern while working on AML pipelines for a customer. Use of FileDataset allows mounting of dataset files as input to a pipeline, and retrieval of the path to these files via environment variables in our Python scripts.
For us this was a much more intuitive approach, and more transferable between local dev and consumption of scripts via pipelines, especially for our data scientists.
This PR adds it to the 6th primer as an alternative option.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: masoncusack sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


[WIP]Grouped Convolution, L2Norm and LRN Operators

Grouped Convolution & LRN to support Alexnet in Caffe model(through ONNX).

@tqchen why my previous commits are also shown in this pull requests? do i need to delete my fork always and create new fork for committing?

see http://docs.tvmlang.org/how_to/contribute.html#git-workflow-howtos

we should not use conv2d to combine up the grouped convolutions, instead, we should directly describe the group conv2d as the depthwise.
@Huyuwei Can you help send in a basic version of grouped conv? As you are more familiar with the depthwise version


add SpinePlugin, SpineGameObject, SpineFile d.ts

This PR

Adds SpinePlugin TypeScript definition files
reference issue #4759

Describe the changes below:
Adds TypeScript definition files for:

SpinePlugin
SpineGameObject
SpineFile

Added to the types folder. This should remove type check errors when using TypeScript and the SpinePlugin for things like this.add.spine(), this.load.spine(), etc.
I realize all the definition file names are currently lower case and match the corresponding .js files. But the SpinePlugin file names are in Pascal case so I chose that. Happy to change it if lower case or dash separated is preferred.
I've also kept it to 3 separate files to follow the existing spine.d.ts, spine-canvas.d.ts, and spine-webgl.d.ts convention which seems to mirror the existing .js files.
In SpineFile.d.ts I have namespaced SpineFileConfig to Phaser.Loader.FileTypes to follow the JSDoc (https://github.com/photonstorm/phaser/blob/v3.21.0/plugins/spine/src/SpineFile.js#L15). However, I see it referenced as being in Phaser.Types.Loader.FileTypes in other places.
The comments are also not included in the definition files with the thinking that it is better to have a single source for truth in the source files for the comments.
Happy to take guidance on this or any other changes to better match style and conventions.

Nice! This should be helpful for TS users.

This pull request has been mentioned on Phaser. There might be relevant details there:
https://phaser.discourse.group/t/visual-studio-code-intellisense-with-plugins/1947/4


error building

JS server already running.
Building and installing the app on the device (cd android && ./gradlew installDebug)...

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Cannot evaluate module react-native-cordova : Configuration with name 'default' not found.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

duplicate of #1


[Event Request] table 7317 "Warehouse Receipt Line" - OnBeforeValidateQtyBalanced

We would like to add a new event OnBeforeValidateQtyBalanced in the following trigger:
field(21; "Qty. to Receive"; Decimal)
        {
            Caption = 'Qty. to Receive';
            DecimalPlaces = 0 : 5;
            MinValue = 0;

            trigger OnValidate()
            var
                WMSMgt: Codeunit "WMS Management";
                IsHandled: Boolean;
            begin
                IsHandled := false;
                OnBeforeValidateQtyToReceive(Rec, IsHandled);
                if not OverReceiptProcessing() then
                    if not IsHandled then
                        if "Qty. to Receive" > "Qty. Outstanding" then
                            Error(Text002, "Qty. Outstanding");

                GetLocation("Location Code");
                if Location."Directed Put-away and Pick" then begin
                    WMSMgt.CalcCubageAndWeight(
                      "Item No.", "Unit of Measure Code", "Qty. to Receive", Cubage, Weight);

                    if (CurrFieldNo <> 0) and ("Qty. to Receive" > 0) then
                        CheckBin(true);
                end;

                "Qty. to Cross-Dock" := 0;
                "Qty. to Cross-Dock (Base)" := 0;
                "Qty. to Receive" := UOMMgt.RoundAndValidateQty("Qty. to Receive", "Qty. Rounding Precision", FieldCaption("Qty. to Receive"));
                "Qty. to Receive (Base)" := MaxQtyToReceiveBase(CalcBaseQty("Qty. to Receive", FieldCaption("Qty. to Receive"), FieldCaption("Qty. to Receive (Base)")));

+               OnBeforeValidateQtyBalanced(Rec, xRec, IsHandled);
+               if not IsHandled then
                  UOMMgt.ValidateQtyIsBalanced(Quantity, "Qty. (Base)", "Qty. to Receive", "Qty. to Receive (Base)", "Qty. Received", "Qty. Received (Base)");

                Item.CheckSerialNoQty("Item No.", FieldCaption("Qty. to Receive (Base)"), "Qty. to Receive (Base)");
            end;
        }

Event publisher:
[IntegrationEvent(false, false)]
local procedure OnBeforeValidateQtyBalanced(var WarehouseReceiptLine: Record "Warehouse Receipt Line"; xWarehouseReceiptLine: Record "Warehouse Receipt Line";  var IsHandled: Boolean)
begin

end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Audio very poppy / droputs on firefox

A couple of people who tested this are getting it on firefox, with different GPUs.
Might be related to the error below.

Chrome also has popping, but around every second. No matter if OpenGL/Angle

fixed???? replaced with audioworklet with somewhat better algorithm


Wide mode doesn't widen graphs/"network view"

The box around the network view is widened however the actual network isn't.

What's the network view, can you make a screenshot?

Notice the network diagram cuts off in the middle of the (properly widened) box.

It works here, chrome-github-mate will not modify styles here. Can you start incognito mode to check if it still break?

 Sorry!
P.S. Feature request, wide mode, ref: https://github.com/thecodejunkie/github.expandinizr


fix(fate-controller): command H5 not working

Well spotted @svachon, thanks for the fix!

:tada: This PR is included in version 1.7.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Router match with and without trailing slash?

Hey all, ran into a funny one tonight. What are thoughts on matching the router against routes both with and without trailing slashes? For instance, if I add a route like this:
app.route('/about, view)

… should I expect it to work when navigating to both /about and /about/? Currently the latter does not. Open to thoughts! I think it’d be useful.

Makes sense to me! I think we were thinking of rewriting the router anyway
to allow for bundle splitting, so this is quite the useful addition ^_^
On Mon, Oct 23, 2017, 07:04 Jon-Kyle<EMAIL_ADDRESS>wrote:

Hey all, ran into a funny one tonight. What are thoughts on matching the
router against routes both with and without trailing slashes? For instance,
if I add a route like this:
app.route('/about, view)
… should I expect it to work when navigating to both /about and /about/?
Currently the latter does not. Open to thoughts! I think it’d be useful.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/choojs/choo/issues/590, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWleiraZ6Flgq8YKUGrFdS7Y99l77Pxks5svB5WgaJpZM4QCTCG
.

Great to hear that you're working on a new version of the router, @yoshuawuyts. I was just about to make a PR implementing path-to-regexp (which has an option for strict mode to ignore trailing slash or not), though my motivation was to get optional parameters. Maybe that would be a candidate for the rewrite?

@tornqvist a PR to to nanorouter would be great!path-to-regexp is too much code, and not JavaScript either, so it wouldn't be a good fit for our poject.

What do you mean it’s not JavaScript? The size concern does make sense though, I’ll see what I can come up with.

@tornqvist oh, it's TypeScript if I read it right. If possible it'd be nice to keep all our deps in basic JS without compile steps; that way everyone can read it, and everyone can tweak it. Does that make sense?

Def makes sense but the main export is plain old ES4 (with super expressive JSDoc). Though their tests are in TypeScript and they have some type definition files in their repo. But so does choo. Either way, I tend to agree that almost 400 LOC just to get some regex magic in routes can be considered overkill for a 4kb framework.


Lots of styling work, layout changes, backspace

Gave the site a Material-esque appearance (major overhaul)

"Cards" for containing different aspects of the calculator in the future (or just appearance)

Made layout changes to HTML (added backspace button, backspace and clear next to calculations box, equals button on very bottom, blank buttons)

Cleaned up some code

BACKSPACE!!!!! (should work as well!)

Here it goes...


Automatic recording teams meeting

Please share detailed steps for automatic teams meeting recording.  my Cusotmer are struggling to enable this feature.

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

ID: 733c7b3e-1daa-7569-9059-c3c335262155
Version Independent ID: 733c7b3e-1daa-7569-9059-c3c335262155
Content: Manage Microsoft Teams meeting recording options for sensitive meetings - Microsoft Teams
Content Source: Teams/manage-meeting-recording-options.md
Service: msteams
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@robinpoulose1 normally the meeting organizer sets automatic recording as part of the meeting options. You can also use a meeting template or sensitivity label. I'll add some links to the article.

Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Add security to included files

Set defined variable before including file
Check for defined variable in included file, and return permission denied error if does not exist
Unset defined variable after including file
Example Code
In Calling File:
$included = true;
require_once('called_file.php');
$included = false;

In Called File:
if (!$included) {
  header('HTTP/1.0 403 Forbidden');
  exit;
}

Decided on slight change to process.
In Calling File:
$include = true;
require_once 'admin/config.php';

$include = true;
require_once 'files/functions.php';

In Called File:
if (!isset($include)) {
	header('HTTP/1.0 403 Forbidden');
	exit;
} else {unset($include);}


Commands not working

Required Information

Operating system: Windows 10
PHP version: 5.6.30
PHP Telegram Bot version: 0.46.0
Using MySQL database: no
MySQL version: no
Update Method: Webhook
Self-signed certificate: yes
RAW update (if available):

Expected behaviour
When I send "teste" to my bot, it should response "Testing OK"
I'm trying to test with a chat directly with the bot:
test
/test
@my_bot test
@my_bot /test
Actual behaviour
Nothing happens
Steps to reproduce
I configured my Hook file setting variable $commands_paths = [ 	__DIR__ . '/ComandosPersonalizados', ];, that there is only one file in this folder, called TestCommand.php.
hook.php:
<?php
// Load composer
require __DIR__ . '/vendor/autoload.php';

$API_KEY = '';
$BOT_NAME = '';
$commands_paths = [
	__DIR__ . '/ComandosPersonalizados',
];
try {
    // Create Telegram API object
    $telegram = new Longman\TelegramBot\Telegram($API_KEY, $BOT_NAME);

    // Handle telegram webhook request
    $telegram->handle();

} catch (Longman\TelegramBot\Exception\TelegramException $e) {
    // Silence is golden!
    // log telegram errors
    // echo $e;
}

TestCommand.php:
<?php

namespace Longman\TelegramBot\Commands\UserCommands;

use Longman\TelegramBot\Commands\UserCommand;
use Longman\TelegramBot\Request;

class TestCommand extends UserCommand
{
    protected $name = 'test';                      // Your command's name
    protected $description = 'A command for test'; // Your command description
    protected $usage = '/test';                    // Usage of your command
    protected $version = '1.0.0';                  // Version of your command

	public function execute()
    {
        $message = $this->getMessage();            // Get Message object

        $chat_id = $message->getChat()->getId();   // Get the current Chat ID

        $data = [                                  // Set up the new message data
            'chat_id' => $chat_id,                 // Set Chat ID to send the message to
            'text'    => 'Testing OK', // Set message to send
        ];

        return Request::sendMessage($data);        // Send message!
    }
}

In  hook.php I forgot to add $telegram->addCommandsPaths($commands_paths); after create telegram class

@JulyanoF you included API token in your message, I've removed it but be sure to generate new one in @BotFather.

Thankyou @jacklul, but how can I generate e new one?

Use /revoke in @BotFather.

@jacklul I found it, thank you a lot :)

Hello!
I installed php on termux but when I run php bot.php it's not working. Please help.


Add additional tests for the TypeAdapt conversions

These tests ensure that type adaptation doesn't unnecessarily happen.  While writing these tests I found a bug where we weren't skipping the type adaptation with the const ref publish() method, which this also fixes.

Hold off on this PR for now.  With this in place, image_tools no longer builds.  Looking into why.


(Windows) build issues and contributing docs

I noticed some Windows-specific build failures and some gaps in the CONTRIBUTING.md docs.
I have the PR currently in draft mode because I am still doing some more checks on the tests, and I have yet to check the publishing. Felt it was sufficient to start opening it up to review, though.
I'd be happy to provide more details as needed.
This PR addresses the following:

Note that PNPM version currently used is version 8.x, not last version

I haven't verified yet whether PNPM 9.x works, but I figured it might be useful to specify the version reflected by the lockFileVersion. This part isn't really Windows specific, I hadn't really caught on to the Windows-specificness of my issues yet at this point :) .

For windows users, document that git setting core.symlinks should be true

The symlinks in use in the repo don't work out of the box on Windows, but require a bit of Windows settings fiddling and git settings fiddling.

Enforce the line endings as they are currently in use in the repo

This avoids Windows users executing pnpm build or adding new files and thereby introducing inconsistent line endings. Current settings in .gitattributes indicate that everything but .bat files use LF. I'm not sure whether the .bat file specifically has to be CRLF, but given that it's currently the case I assumed it would have to be.
I ran git add --update --normalize to verify line endings, but all current files match this configuration.

Make script arguments in package.json files play more nicely with Windows

Single quotes are a bit of an issue, unfortunately.
In glob-style arguments I replaced the single quotes with escaped double quotes - which are already in use in some glob-style arguments.
For the pack-destination param I removed the quotes, as some package.jsons already have that param without quotes - so I presumed it to be safe.

Execute the correct gradlew script for the current OS

I added a dependency on run-script-os for this. This seems like a fairly sensible and lightweight way to handle it.

Non-Windows specific: document that a postgres database is used in some tests and should be available for contributors executing tests.

Non-Windows specific: introduce environment variables to override default postgres connection details in integration tests.

In my case, I wanted to use a user other than the default postgres user, so I could have a bit more fine-grained control to the integration tests user. And honestly, so I wouldn't inadvertedly change the password to my root user and break my tests setup.
This would also allow development on a local system, with postgres running within docker or setups like that.

Ensure Windows paths are correctly handled in tests

Added some path normalization, because current processing was resulting in incorrect paths.

@coderabbitai review

As for the local publishing workflow, the suggestion in CONTRIBUTING.md to use Verdaccio seemed interesting to me so I tried it out. Two things I noted here:

The CONTRIBUTING.md points to publish-preview being set up to publish to a local Verdaccio instance, but this no longer seems to be the case.
When I manually ran more or less the same script but actually pointing to my local Verdaccio I bumped into the npm policy of not allowing republishes of the same version number. The package.jsons are currently on 2.1.1 which is an actually publically existing version number that I had probably pulled in via Verdaccio already; and so I couldn't publish that same version locally.

What I ended up doing was to first bump the package.json versions locally, and then publish with that:
pnpm -r exec pnpm version prerelease --no-git-tag-version && pnpm --filter "./packages/**" -r publish

This way, I could then install the prerelease version in my actual project and see my changes.
What's the current workflow you all are using for local development? Am I doing something wrong here, or is everyone using the linking workflow for local development?


Add druid field to metrics

This add druid field to metrics to classify the druid in multiple druid clusters.
metric example:
{"feed":"metrics","druid":"metatron","metric":"ingest/rows/output","service":"druid/middleManager","host":"azra:8101","version":"0.9.1-SNAPSHOT","value":151,"dataSource":"events-mt","taskId":["index_kafka_events-mt_3f6ecdfee447e30_ofggphob"],"timestamp":"2019-09-18T08:20:14.410Z"}

Sample configuration (common.runtime.properties):
druid.emitter.druidName=metatron


refactor(typing): Reuse generated Literal aliases in api

Following https://github.com/vega/altair/pull/3431 a number of these are now importable.
Additionally, I spotted the encodings parameter (e.g. in selection_point) was annotated with str, but should be constrained to only SingleDefUnitChannel_T.

Thanks for further simplifying the maintenance of the type hints!


User is given a 500 error when prison is removed

As detailed in #208 the user can go from the summary view back to the prison details and remove the prison. This provides the user with a validation error, however they can still move forward/back pages which then causes the 500 ("we are experiencing technical details") view.

This is fixed in #272.

:+1: :tada:


ZFIN-8073, ZFIN-8723: UniProt Diff Tool & UniProt Backfill Record Attributions

This adds a task (uniprotReleaseDiffTask) and jenkins job (UniProt-Diff-Report) that compares two UniProt releases and generates a report that shows the differences (only including changes we care about at ZFIN).
We also backfill some record attributions needed as outlined in ZFIN-8723

Closing so that we can separate into 2 PRs


Settings profile and password pages

Is the modal for the delete confirmation also updated?

Is the modal for the delete confirmation also updated?

Yes, it uses the vue FormModal component.


Planning on publishing to OSSRH

Hi @otrack this pull request is a first attempt at adding required pom.xml configuration such that a release will be accepted by the QA tests undertaken when we publish artifacts to OSSRH as described within http://central.sonatype.org/pages/ossrh-guide.html

Hello @lewismc thanks for this PR !
One question: why the PR suggests 7.2.5.Final-SNAPSHOT instead of 7.2.5.Final  ?

Hi Valerio,
This SNAPSHOT convention is required by the Maven release plugin as it
build off of the notion that the codebase, prior to release, is in a
SNaPSHOT state and you can therefore deploy and distribute SNAPSHOTs,
however when you come to a release the SNaPSHoT is removed and the actual
version is deployed.
In addition, once the release artifacts have been deployed, the plugin then
appends a new SNaPSHOT version and let's you continue working in your new
Development drive.
More can be found here
https://maven.apache.org/guides/mini/guide-releasing.html
Thanks
On Tuesday, March 29, 2016, Valerio Schiavoni<EMAIL_ADDRESS>wrote:

Hello @lewismc https://github.com/lewismc thanks for this PR !
One question: why the PR suggests 7.2.5.Final-SNAPSHOT instead of
7.2.5.Final ?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/leads-project/infinispan-avro/pull/2#issuecomment-202768876

--
Lewis

@vschiavoni can you please merge?
Are you maintaining this library now? I really don't want this module to be unmaintained and would really like to work with you on ensuring we can consume the gora-infinispan module within Gora. That module relies upon this dependency being available.

As I am not able to push the tag to this repository e.g. I don't have write permissions, then i can't make the release with the SCM label being github.com:leads-project/infinispan-avro.git

Merged, thanks !

Excellent. Do you want to be added to the release profile in Sonatype so
you can release this project and we can consume the artifacts?
On Saturday, April 9, 2016, Valerio Schiavoni<EMAIL_ADDRESS>wrote:

Merged, thanks !
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/leads-project/infinispan-avro/pull/2#issuecomment-207893173

--
Lewis

Better add me and @otrack as well.

Cool. Can you please comment over on
https://issues.sonatype.org/browse/OSSRH-21457 with your usernames and let
Joel know?
On Sunday, April 10, 2016, Valerio Schiavoni<EMAIL_ADDRESS>wrote:

Better add me and @otrack https://github.com/otrack as well.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/leads-project/infinispan-avro/pull/2#issuecomment-208014891

--
Lewis

@otrack @vschiavoni are you able to comment with your usernames over on https://issues.sonatype.org/browse/OSSRH-21457  ? This is the only way that this project can publish artifacts to OSSRH. There is a workaround e/g/ if I clone the code and do it myself, however I would rather that you guys were part of the process.
Thanks

I've added a comment there.

Thank you. Thanks for reply.
On Tue, Apr 19, 2016 at 9:37 AM, Valerio Schiavoni<EMAIL_ADDRESS>
wrote:

I've added a comment there.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/leads-project/infinispan-avro/pull/2#issuecomment-212009038

--
Lewis

@vschiavoni, now you have been granted permissions to publish the artifacts to OSSRH.
Can you please run the following
mvn release:clean release:prepare -DautoVersionSubmodules=true

The above will allow you to view the actual release artifacts prior to release.
If you are happy with them then please execute
mvn release:perform

This does the following

pushes the maven artifacts to a staging repository at https://oss.sonatype.org/
creates a release tag in https://github.com/leads-project/infinispan-avro which you can view.
finally, it commits the update of all module artifacts within the infinispan-avro pom.xml files and commits these to master so we can continue with development e.g. bumps to the next development SNAPSHOT.

Once this is completed,

navigate to https://oss.sonatype.org/ and log in.
click on Staging Repositories on the left hand side, you should see the infinispan-avro release canidate staging profile
Select the profile and close the staging profile. This makes the artifacts available for people to tests (if required), you can then also release the profile which will formally release the artifacts and soon they will be available within Maven Cebtral once they are shadowed over.

If you have any issues then please let me know here and I can help out. Thanks

The first phase is ok  (mvn release:clean release:prepare -DautoVersionSubmodules=true), but unfortunately when i am deploying the artifact (mvn release:perform), it fails saying:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project infinispan-avro: Failed to deploy artifacts: Could not transfer artifact org.infinispan:infinispan-avro:pom:7.2.5.Final-20160425.110808-1 from/to jboss-snapshots-repository (https://repository.jboss.org/nexus/content/repositories/snapshots/): Failed to transfer file: https://repository.jboss.org/nexus/content/repositories/snapshots/org/infinispan/infinispan-avro/7.2.5.Final-SNAPSHOT/infinispan-avro-7.2.5.Final-20160425.110808-1.pom. Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]
Any idea how to fix this ? Thanks.

Ok, so i fixed the pom.xml, adding the appropriate distributedmanagement configuration. Still, I have a problem, as I do not have access to publish all the modules that this project contains on sonatype. I just asked for it.

This is fine now, and the artifacts are available in their snapshot versions.


[Feature Request] Place images in a subdirectory in destination directory

At this time, all output images are placed in the root of the destination directory. Could you please provide a option or something to make it possible to place these images in a subdirectory?

You mean something like the thumb_dir settings but for the resized images ?

Exactly. And I hope it can work when use_orig is True.


Fix clang format string error

Fixes the clang compiler error about this being potentially insecure.
Fixes https://github.com/nvpro-samples/vk_mini_samples/issues/5

Thanks for catching this. It will be updated shortly.

Thanks for the patch, this was fixed in b38052d


Topic recognition - Yi Zhou's request

SID: 46495408
This project constructs a generative model that can generate OASIS brain images using the VQ-VAE (Vector-Quantized Variational Autoencoders) model and PixelCNN model.
Firstly, I built a VQ-VAE model to learn the OASIS dataset for optimizing encoding embeddings. There are totally 50 epochs, The SSIM ultimately reached 0.90. Then, I used the trained encoder to generate a codebook for training the PixelCNN model. I trained it 800 epochs, with an accuracy of 0.75. Finally, I can successfully generate new encoding matrix through PixelCNN, map it through the codebook, and decode it to obtain new images.
Contained Files

dataset.py - Load and preprocess data
modules.py - Build models
train.py - Train the VQ-VAE and PixelCNN models
predict.py - Generate new images using trained models

This is an initial inspection, no action is required at this point
Difficulty: Hard
Readme:

Project Overview: Good
Model: Good
Data + Preprocessing: Good
Usage: Good
Training / Loss Curve(s): Good
Result Demonstration: Good
References: Good

Functionality:

Reconstruction: Good
Generation: Ok, can sort of see a brain

Code:

Consistent with Results: Yes
File Structure: Good
Commenting: Good
Commit frequency: Good
Commit messages: Good

Other Comments:
N/A

Marking
Good Practice (Design/Commenting, TF/Torch Usage)
Adequate design and implementation
Good spacing and comments
Header blocks missing -1
Recognition Problem
Solves problem
Driver Script present
File structure present
Shows Usage & Demo & Visualisation & Data usage
Module present
Commenting
No Data leakage
Difficulty: Hard
Commit Log
Meaningful commit messages
Progressive commits used
Documentation
ReadMe acceptable/good
Model/technical explanation
Good Description and Comments
Markdown used and PDF submitted
Pull Request
Successful Pull Request (Working Algorithm Delivered on Time in Correct Branch)
No Feedback required
Request Description good


[KEv2][UI] Set string fields to "" on create

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):
This isn't reproducible right now, this is in anticipation of merging fixes to https://github.com/rancher/rancher/issues/32440.
For GKE, the fields gkeConfig.clusterIpv4Cidr and gkeConfig.maintenanceWindow need to send "" instead of null if left unset. Otherwise, once changes are merged in Rancher, cluster create will fail with an error like "Field [clusterIpv4CidrBlock] cannot be nil for non-import cluster [c-ztz6q]".
The same needs to be done for any string fields for EKS that are currently sending null by default instead of "".
Result:
Other details that may be helpful:
Original issue: https://github.com/rancher/rancher/issues/32440
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
Installation option (single install/HA):

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
Machine type (cloud/VM/metal) and specifications (CPU/memory):
Kubernetes version (use kubectl version):

(paste the output here)

Docker version (use docker version):

(paste the output here)

tested on master-629146a3fbbc8d5677aecece78e627580dd7c95d-head


Reflection warnings

Against Clojure 1.3.0:
 [exec] Reflection warning, clj_http/cookies.clj:29 - reference to field getName can't be resolved.
 [exec] Reflection warning, clj_http/cookies.clj:36 - reference to field getPath can't be resolved.
 [exec] Reflection warning, clj_http/cookies.clj:34 - reference to field getDomain can't be resolved.
 [exec] Reflection warning, clj_http/cookies.clj:31 - reference to field getComment can't be resolved.
 [exec] Reflection warning, clj_http/cookies.clj:37 - reference to field getPorts can't be resolved.
 [exec] Reflection warning, clj_http/cookies.clj:37 - reference to field getPorts can't be resolved.
 [exec] Reflection warning, clj_http/cookies.clj:35 - reference to field getExpiryDate can't be resolved.
 [exec] Reflection warning, clj_http/cookies.clj:35 - reference to field getExpiryDate can't be resolved.
 [exec] Reflection warning, clj_http/cookies.clj:40 - reference to field getVersion can't be resolved.
 [exec] Reflection warning, clj_http/cookies.clj:32 - reference to field getCommentURL can't be resolved.
 [exec] Reflection warning, clj_http/cookies.clj:33 - reference to field isPersistent can't be resolved.
 [exec] Reflection warning, clj_http/cookies.clj:38 - reference to field isSecure can't be resolved.
 [exec] Reflection warning, clj_http/cookies.clj:39 - reference to field getValue can't be resolved.
 [exec] Reflection warning, clj_http/cookies.clj:65 - call to parse can't be resolved.
 [exec] Reflection warning, clj_http/cookies.clj:94 - call to formatCookies can't be resolved.
 [exec] Reflection warning, clj_http/cookies.clj:96 - reference to field getValue can't be resolved.
 [exec] Reflection warning, clj_http/core.clj:48 - call to java.lang.Integer ctor can't be resolved.
 [exec] Reflection warning, clj_http/core.clj:50 - call to java.lang.Integer ctor can't be resolved.

Removed some of these in 1dc25f13, still more work that could be done for this.

I have attached a patch in #30 to fix all reflection warnings.

Closing this as fixed by db6367adbc676e303229569dd998d1ad3ba633ab

@dakrone please push a release to clojars soon ;)


Azure v17.0.0 release

ℹ Team Phoenix is drafting Azure v17.0.0 with Kubernetes v1.22 support.
Target release date: 2022-03-14.
Release PR: ...
Scope

[ ] cluster-autoscaler v1.22.3 is out (or build our customer version).

Pre-Release

[ ] Create release ticket on Releases board
[ ] Make an announcement on #sig-product that team is doing a release. Include a link to the ticket from the release board.
[ ] Make sure release was tested by creating new cluster, upgrading from older version and with HelloWorld app.
[ ] Aggregate release notes from all changed components and add to README.md in the release directory.
[ ] Send draft release announcement to #sig-product for review ASAP.
[ ] Verify documentation is up to date.

Releasing

[ ] Create release PR
Instructions

[ ] Define new release in release.yaml file.
[ ] Activate new release by setting state to active.
[ ] Deactivate old release if it's within same major version (state: deprecated). Verify with PO if you have doubts.
[ ] Check versions of all components included. They shouldn't be lower than those in the previous release unless there was a rollback.

Example PR

[ ] Release relevant operators.

[ ] Tag release branch.
[ ] Bump operator version in draft release.

[ ] Make sure that WIP releases in releases repo branch are removed and not merged to master since the master branch is deployed automatically after merging PR and that would make WIP releases visible in customers’ installations which should generally not happen.

Post-Release

[ ] Update front-end cluster with the new release.
[ ] Verify release is available on all installations. You can use this script.
[ ] Send out release announcement to all customers according to these instructions.
[ ] PO subscribes to release posts on Slack to get notifications if there are follow-up messages.
[ ] Close release task on Releases board.

@T-Kukawka you can use cluster-autoscaler version v1.22.2-gs4

would make sense to bump flatcar for 17.0.0 to get a fix for dirty pipe CVE


Vue

add vue interface

the difference here vs react/angular is that callback cant be changed/updated without reinit

Implemented interface. Had to do callbacks since variables are not updated.
updated demo to Vue3 (still works in vue 2, rhino/picovoice can still be Vue 2).


"Song stats..." are not correctly reset when creating new song

Describe the bug
When creating a new song, the "Song stats..." (under "Settings") are not correctly reset. They still list the blocks from the previous song(s) and also show incorrect percentages.
To Reproduce
Steps to reproduce the behavior:

Create a new song and place some notes
Create a new song (discard the current one)
Look under "Settings" > "Song stats..."
:x: It still shows the blocks placed from the first song, with incorrect percentages

Screenshots

Version
3.6.0

Thanks. This is an issue in the reset script, I'll check which bits need to be cleared in a reset.


find_element_by_xpath has been removed from selenium

find_elements_by_* methods have been removed from selenium 4.3.0.  find_by_username now fails.
>>> messenger.find_by_username("NEO")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/leggewie/bin/alright/lib/python3.10/site-packages/alright/__init__.py", line 166, in find_by_username
    opened_chat = self.browser.find_elements_by_xpath(
AttributeError: 'WebDriver' object has no attribute 'find_elements_by_xpath'

You should use the find_element method instead now.

I thought I was running the latest code via a pip install.  But it seems like that is not the case.  Code inspections suggests this problem was fixed in commit bff87c9b85c66e0917.  Time to make another release to pypi.org?  I checked the output of "git tag" and found it hard or rather impossible to understand what code corresponds to what release.

Hi @leggewie
Sure, The latest release was July last year, I guess it is time to make another one and push it to PyPI[ON IT ]

I have already published a new release to pypi with new changes update
I will mark this issue as resolved

Thanks, much appreciated!


[1981] add course create endpoint

Context
Providers' need to be able to create new courses.
Changes proposed in this pull request

Adds a create method on the course controller.

Guidance to review
After speaking to a couple of members of the team validations will be coming in a separate PR.
Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

 Add course create action.


rabbitmq-server: 3.7.8 -> 3.7.9

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/rabbitmq-server/versions.
meta.description for rabbitmq-server is: '"An implementation of the AMQP messaging protocol"'.

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/c1axh1285kb5ccrp5ya6rwwxfchl7c8s-rabbitmq-server-3.7.9/bin/cuttlefish had a zero exit code or showed the expected version
/nix/store/c1axh1285kb5ccrp5ya6rwwxfchl7c8s-rabbitmq-server-3.7.9/bin/rabbitmq-defaults passed the binary check.
/nix/store/c1axh1285kb5ccrp5ya6rwwxfchl7c8s-rabbitmq-server-3.7.9/bin/rabbitmq-diagnostics passed the binary check.
/nix/store/c1axh1285kb5ccrp5ya6rwwxfchl7c8s-rabbitmq-server-3.7.9/bin/rabbitmq-env passed the binary check.
/nix/store/c1axh1285kb5ccrp5ya6rwwxfchl7c8s-rabbitmq-server-3.7.9/bin/rabbitmq-plugins passed the binary check.
Warning: no invocation of /nix/store/c1axh1285kb5ccrp5ya6rwwxfchl7c8s-rabbitmq-server-3.7.9/bin/rabbitmq-server had a zero exit code or showed the expected version
/nix/store/c1axh1285kb5ccrp5ya6rwwxfchl7c8s-rabbitmq-server-3.7.9/bin/rabbitmqctl passed the binary check.
5 of 7 passed binary check by having a zero exit code.
0 of 7 passed binary check by having the new version present in output.
found 3.7.9 with grep in /nix/store/c1axh1285kb5ccrp5ya6rwwxfchl7c8s-rabbitmq-server-3.7.9
directory tree listing: https://gist.github.com/a63d6b1c436d56391f3802f7828afae5
du listing: https://gist.github.com/5f4bac59d3925affe55533eff653a08d

Rebuild report (click to expand)

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
rabbitmq-server

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/c1axh1285kb5ccrp5ya6rwwxfchl7c8s-rabbitmq-server-3.7.9 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A rabbitmq-server https://github.com/r-ryantm/nixpkgs/archive/88ff2c7dd3a9b8b51263ef01264a8d2a954ce486.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/c1axh1285kb5ccrp5ya6rwwxfchl7c8s-rabbitmq-server-3.7.9
ls -la /nix/store/c1axh1285kb5ccrp5ya6rwwxfchl7c8s-rabbitmq-server-3.7.9/bin

cc @Profpatsch for testing.

Success on x86_64-linux (full log)
Attempted: rabbitmq-server
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/pakazpf5zv2ga8sa0dpl93prc57ffqfy-rabbitmq-server-3.7.9-man
gzipping man pages under /nix/store/pakazpf5zv2ga8sa0dpl93prc57ffqfy-rabbitmq-server-3.7.9-man/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/pakazpf5zv2ga8sa0dpl93prc57ffqfy-rabbitmq-server-3.7.9-man
checking for references to /build in /nix/store/pakazpf5zv2ga8sa0dpl93prc57ffqfy-rabbitmq-server-3.7.9-man...
shrinking RPATHs of ELF executables and libraries in /nix/store/pslyx82lny4bvz4aim4wm6zmnp51v84x-rabbitmq-server-3.7.9-doc
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/pslyx82lny4bvz4aim4wm6zmnp51v84x-rabbitmq-server-3.7.9-doc
checking for references to /build in /nix/store/pslyx82lny4bvz4aim4wm6zmnp51v84x-rabbitmq-server-3.7.9-doc...
/nix/store/c1axh1285kb5ccrp5ya6rwwxfchl7c8s-rabbitmq-server-3.7.9

Success on x86_64-darwin (full log)
Attempted: rabbitmq-server
Partial log (click to expand)
/nix/store/vlzbf84afab9xma4j17dwlc7nhx884jw-rabbitmq-server-3.7.9/sbin/rabbitmq-plugins: interpreter directive changed from "/bin/sh" to "/nix/store/n9hba031gjky8hpjgx9fnlaxhidyzxbz-bash-4.4-p23/bin/sh"
/nix/store/vlzbf84afab9xma4j17dwlc7nhx884jw-rabbitmq-server-3.7.9/sbin/rabbitmq-server: interpreter directive changed from "/bin/sh" to "/nix/store/n9hba031gjky8hpjgx9fnlaxhidyzxbz-bash-4.4-p23/bin/sh"
/nix/store/vlzbf84afab9xma4j17dwlc7nhx884jw-rabbitmq-server-3.7.9/sbin/rabbitmqctl: interpreter directive changed from "/bin/sh" to "/nix/store/n9hba031gjky8hpjgx9fnlaxhidyzxbz-bash-4.4-p23/bin/sh"
moving /nix/store/vlzbf84afab9xma4j17dwlc7nhx884jw-rabbitmq-server-3.7.9/sbin/* to /nix/store/vlzbf84afab9xma4j17dwlc7nhx884jw-rabbitmq-server-3.7.9/bin
gzipping man pages under /nix/store/3ikvfx6fm5kdy2k0fm08f5h42hg00ygr-rabbitmq-server-3.7.9-man/share/man/
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/3ikvfx6fm5kdy2k0fm08f5h42hg00ygr-rabbitmq-server-3.7.9-man
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/qz7b0myij1i761dy8vv202mywk7gg7m3-rabbitmq-server-3.7.9-doc
/nix/store/vlzbf84afab9xma4j17dwlc7nhx884jw-rabbitmq-server-3.7.9

Failure on aarch64-linux (full log)
Attempted: rabbitmq-server
Partial log (click to expand)
make[2]: Leaving directory '/build/source/lib/wx'
make[1]: *** [/build/source/make/otp_subdir.mk:29: opt] Error 2
make[1]: Leaving directory '/build/source/lib'
make: *** [Makefile:464: libs] Error 2
builder for '/nix/store/07x0z4kmqv6q1zkm8vf6zf46krj1hic9-erlang-<IP_ADDRESS>.drv' failed with exit code 2
cannot build derivation '/nix/store/xrsai91c8cidfmhsf6px4bv5wh3fqm8s-rebar-2.5.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/6r228f9dmc69rh0994kn3zb3kcb05xsv-elixir-1.6.6.drv': 2 dependencies couldn't be built
builder for '/nix/store/0pz0h4shg4zzlgxcsmwnsk27hg9nrp3i-erlang-<IP_ADDRESS>.drv' failed with exit code 2
cannot build derivation '/nix/store/shls4m7q9bzqxzb5x49cxnqh9f47cazn-rabbitmq-server-3.7.9.drv': 2 dependencies couldn't be built
error: build of '/nix/store/shls4m7q9bzqxzb5x49cxnqh9f47cazn-rabbitmq-server-3.7.9.drv' failed

Failure is due to erlang, see https://github.com/NixOS/nixpkgs/pull/50579.


Make the Exec class take an array of arguments

After https://github.com/kubernetes-client/typescript/pull/25 is merged, the library will support executing commands. The Exec.exec method should take an array of arguments to support commands with multiple arguments
cc/ @brendandburns

Closing because this repo is deprecated in favor of https://github.com/kubernetes-client/javascript


Fixed "?" function

In the previous refactoring of the parser I missed the "?" function. It has been fixed and some other small cleanup including renaming Variables to Statements, which makes more sense.

This change is

Codecov Report

Merging #172 into master will increase coverage by 0.21%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #172      +/-   ##
==========================================
+ Coverage   47.61%   47.82%   +0.21%
==========================================
  Files         155      155
  Lines        4486     4489       +3
==========================================
+ Hits         2136     2147      +11
+ Misses       2311     2307       -4
+ Partials       39       35       -4

Impacted Files
Coverage Δ

gedcomq/length_expr.go
100% <100%> (ø)

gedcomq/question_mark_expr.go
100% <100%> (ø)

gedcomq/token.go
100% <100%> (ø)
:arrow_up:

gedcomq/engine.go
100% <100%> (ø)
:arrow_up:

gedcomq/parser.go
97.75% <100%> (+9.8%)
:arrow_up:

gedcomq/variable_expr.go
100% <100%> (ø)
:arrow_up:

gedcomq/statement.go
100% <100%> (ø)

Continue to review full report at Codecov.

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


use webkitgetusermedia for chrome-detection

aligning with adapters chrome detection which no longer relies on
webkitRTCPeerConnection

regression :-(


Update US19JanTaxR1.md

fix date

Docs Build status updates of commit 300637c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

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

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

Docs Build status updates of commit 300637c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

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

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

Docs Build status updates of commit 300637c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

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

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


Feature Request:  Would like mlnet to support local training for object detection

$ mlnet --version
16.2.0+511cc1082bef7a4bbb2f83ad88c1c425c932079c

Currently only supports local training for:

classification
regression
recommendation
image-classification

Would like to be able to locally train for object detection so I can develop on Linux
Current workaround is to use:

Windows
Visual Studio 2022
Model Builder
Azure

Closed because it dup of https://github.com/dotnet/machinelearning-modelbuilder/issues/1091, please follow the progress here https://github.com/dotnet/machinelearning-modelbuilder/issues/1091


Few more examples for our documentation

Description
We have those already planned for Angular and React. We should add them for Vue as well.

[ ] Binding settings with an object
[ ] Binding settings with an attributes
[ ] Interacting with Handsontable in your app (ie. checkbox, button)
[ ] Custom validator
[ ] Custom cell type
[ ] Declarative hot-column definition (+ v-for version) + describe what happens:

[ ] when both  and  are defined
[ ] when where  slot has more than one/two/supported components
[ ] when  and </hot-renderer is="CustomRenderer"> are both defined. Same for editor.

[ ] hot-renderer example with custom Vue component how-to
[ ] hot-editor example with custom Vue component how-to
[ ] Update @handsontable/vue in all our examples
[ ] How to use Vue Handsontable without webpack: https://github.com/handsontable/vue-handsontable-official/issues/107
[ ] Languages example works only for the UMD? For Webpack build languages should be registered first?

Hello :)
I'd also suggest separating the Guide and API.
The guide would benefit from this, as you could provide a bit more structure.
The API would benefit as you could add functionality to make it more context-relevant – for example, some of the members are free-floating, not under their parent member.

+1 for adding a new culture https://github.com/handsontable/docs/issues/62


Multipart s3a downloads

Workaround the total bandwidth of a single TCP socket. Can get download speeds from 40MB/s to ~150MB/s.
Still need to handle S3 connection aborts and make the parameters configurable.
https://issues.apache.org/jira/browse/HADOOP-16132

also @sjrand

Thanks everyone. I just finished some testing to measure how performance behaves as we vary the config settings. I'll update the PR based off the comments tomorrow and also write some notes on why I picked the config settings.

This is really interesting. You've done some innovative work here, and the raw numbers show up where we could be doing more.
We've actually been focusing on random IO, ORC and Parquet, so treating sequential streaming as not so relevant. Here our primary concern is "how do handle data where the client keeps wanting to seek backwards and forwards in the most efficient way". We're still working on that, including collecting more trace data of large hive & spark queries.
but sequential IO can deliver that much speedup, suddenly it merits attention, at least when the seek policy is explicitly sequential (reading gzip files, distcp with s3 as source). I could see that both being useful.
If you want to get this into apache hadoop., you'll have to get involved with the trunk codebase, where we've also embraced java closures for the retry logic and, most recently with HADOOP-15229, towards async IO. There, the work of HADOOP-11867 lines up very well, given your work on multipart downloads: I think I'd been hoping to do some stuff there with HTTP/2 and until then, parallel http gets, now I can see we could try with the multipart stuff, which would even let you parallelise a read of a single large block,
It will take effort to get in, and, because we've moved the code on a fair way from 2.9 to the 3.2+ line, backporting is going to become the chore. (FWIW, that's why we're not backporting any recent s3a code changes)
IF you do want to get it in -and it is going to take effort integrating with the new code &c, the place to discuss this is on the HADOOP JIRA you've filed. We are only just trying to wire-together the ASF-hadoop-github integration; it'll take another few weeks before people trust it.
One thing here would be benchmarking: if you can show that IO speedups happened for reading gzip, csv etc but also for queries into ORC/Parquet datasets, then it gets interesting. If its only for sequential IO, we'd leave the 'normal' as is but switch sequential to doing this parallel read

Rationale for picking the settings
spark.hadoop.fs.s3a.multipartdownload.part-size = 8000000
This was taken from the defaults in the python implementation (https://github.com/boto/s3transfer/blob/ca0b708ea8a6a1213c6e21ca5a856e184f824334/s3transfer/manager.py#L50). Empirically, I have found that if I reduced this to 1mb, then it would be a lot slower. I suspect this is because of TCP slow start.
spark.hadoop.fs.s3a.multipartdownload.chunk-size = 262144
This was also taken from the defaults in the python implementation. We set this reasonably large so as to not incur too much overhead in the OrderingQueue (which uses a lock that might cause contention if the chunk size is too small). We set this not too large to allow clients of the InputStream to get results without waiting too long.
spark.hadoop.fs.s3a.multipartdownload.num-threads = 8
This was selected in order to allow us to spike download speeds when the consumer of the input stream is very fast. If this is set lower (for example to 4), then the maximum download speed is lower.
spark.hadoop.fs.s3a.multipartdownload.buffer-size = 20mb
This was selected to be large enough to allow multiple threads to download and buffer future ranges. If this is set too large, then when we open a file and only read a portion of it, we will download too much extra data that will end up being discarded.

@steveloughran The 3x speedup I get ETE is on reading a parquet file via Spark and computing an average. I'm not an expert in parquet, but from the logs it looks like parquet reads mostly in a sequential manner.
In these logs, for a given partition range within a file, you can see it seeking 4 times to the back in order to read some metadata (400301324-400301332), then it opens up for sequential reading (4-400301332) and then closes after it is done reading 133783556 - 4 bytes (see remaining=266517776 streamPos=133783556)
Of course this could be environment dependent, but I think our TCP settings are pretty sane.
DEBUG [2019-02-27T20:35:28.676Z] (Executor task launch worker for task 1) org.apache.hadoop.fs.s3a.S3AFileSystem: Value of fs.s3a.multipart.purge.age is 86400 (0: fs.s3a.multipart.purge.age, 1: 86400)
DEBUG [2019-02-27T20:35:28.7Z]   (Executor task launch worker for task 1) org.apache.hadoop.fs.s3a.S3AFileSystem: Value of fs.s3a.multipartdownload.num-threads is 8 (0: fs.s3a.multipartdownload.num-threads, 1: 8)
DEBUG [2019-02-27T20:35:28.945Z] (Executor task launch worker for task 1) org.apache.hadoop.fs.s3a.S3AInputStream: reopen(s3a://mybucket/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd) for read from new offset range[400301324-400301332], length=8180, streamPosition=0, nextReadPosition=400301324 (0: s3a://pcloud-di-oregano/foundry-catalog/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd, 1: read from new offset, 2: 400301324, 3: 400301332, 4: 8180, 5: 0, 6: 400301324)
DEBUG [2019-02-27T20:35:29.088Z] (Executor task launch worker for task 1) org.apache.hadoop.fs.s3a.S3AInputStream: Stream s3a://mybucket/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd closed: seekInStream(); remaining=0 streamPos=400301332, nextReadPos=400300733, request range 400301324-400301332 length=400301332 (0: s3a://pcloud-di-oregano/foundry-catalog/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd, 1: closed, 2: seekInStream(), 3: 0, 4: 400301332, 5: 400300733, 6: 400301324, 7: 400301332, 8: 400301332)
DEBUG [2019-02-27T20:35:29.089Z] (Executor task launch worker for task 1) org.apache.hadoop.fs.s3a.S3AInputStream: reopen(s3a://mybucket/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd) for read from new offset range[400300733-400301332], length=8179, streamPosition=400300733, nextReadPosition=400300733 (0: s3a://pcloud-di-oregano/foundry-catalog/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd, 1: read from new offset, 2: 400300733, 3: 400301332, 4: 8179, 5: 400300733, 6: 400300733)
DEBUG [2019-02-27T20:35:29.216Z] (Executor task launch worker for task 1) org.apache.hadoop.fs.s3a.S3AInputStream: Stream s3a://mybucket/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd closed: close() operation; remaining=0 streamPos=400301332, nextReadPos=400301332, request range 400300733-400301332 length=400301332 (0: s3a://pcloud-di-oregano/foundry-catalog/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd, 1: closed, 2: close() operation, 3: 0, 4: 400301332, 5: 400301332, 6: 400300733, 7: 400301332, 8: 400301332)
DEBUG [2019-02-27T20:35:29.307Z] (Executor task launch worker for task 1) org.apache.hadoop.fs.s3a.S3AInputStream: reopen(s3a://mybucket/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd) for read from new offset range[400301324-400301332], length=8180, streamPosition=0, nextReadPosition=400301324 (0: s3a://pcloud-di-oregano/foundry-catalog/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd, 1: read from new offset, 2: 400301324, 3: 400301332, 4: 8180, 5: 0, 6: 400301324)
DEBUG [2019-02-27T20:35:29.328Z] (Executor task launch worker for task 1) org.apache.hadoop.fs.s3a.S3AInputStream: Stream s3a://mybucket/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd closed: seekInStream(); remaining=0 streamPos=400301332, nextReadPos=400300733, request range 400301324-400301332 length=400301332 (0: s3a://pcloud-di-oregano/foundry-catalog/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd, 1: closed, 2: seekInStream(), 3: 0, 4: 400301332, 5: 400300733, 6: 400301324, 7: 400301332, 8: 400301332)
DEBUG [2019-02-27T20:35:29.329Z] (Executor task launch worker for task 1) org.apache.hadoop.fs.s3a.S3AInputStream: reopen(s3a://mybucket/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd) for read from new offset range[400300733-400301332], length=8179, streamPosition=400300733, nextReadPosition=400300733 (0: s3a://pcloud-di-oregano/foundry-catalog/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd, 1: read from new offset, 2: 400300733, 3: 400301332, 4: 8179, 5: 400300733, 6: 400300733)
DEBUG [2019-02-27T20:35:29.483Z] (Executor task launch worker for task 1) org.apache.hadoop.fs.s3a.S3AInputStream: Stream s3a://mybucket/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd closed: close() operation; remaining=0 streamPos=400301332, nextReadPos=400301332, request range 400300733-400301332 length=400301332 (0: s3a://pcloud-di-oregano/foundry-catalog/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd, 1: closed, 2: close() operation, 3: 0, 4: 400301332, 5: 400301332, 6: 400300733, 7: 400301332, 8: 400301332)
DEBUG [2019-02-27T20:35:29.748Z] (Executor task launch worker for task 1) org.apache.hadoop.fs.s3a.S3AInputStream: reopen(s3a://mybucket/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd) for read from new offset range[4-400301332], length=8188, streamPosition=0, nextReadPosition=4 (0: s3a://pcloud-di-oregano/foundry-catalog/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd, 1: read from new offset, 2: 4, 3: 400301332, 4: 8188, 5: 0, 6: 4)
DEBUG [2019-02-27T20:35:32.174Z] (Executor task launch worker for task 1) org.apache.hadoop.fs.s3a.S3AInputStream: Stream s3a://mybucket/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd aborted: close() operation; remaining=266517776 streamPos=133783556, nextReadPos=133783556, request range 4-400301332 length=400301332 (0: s3a://mybucket/14722a4a-d511-4a72-921b-33cec0466742/00000000-1c42-3870-9ed0-bd74c100e5f0/23ddf721-a8d7-486f-aed1-f0dffea295cd, 1: aborted, 2: close() operation, 3: 266517776, 4: 133783556, 5: 133783556, 6: 4, 7: 400301332, 8: 400301332)

I'm going to transition the discussion for merging into trunk over to the jira ticket https://issues.apache.org/jira/browse/HADOOP-11867.
This PR will remain for discussions merging early into our fork.

BTW, one little side effect of breaking up the reads: every GET is its own HTTP request, so gets billed differently, and for SSE-KMS, possibly a separate call to AWS:KMS. Nobody quite knows about the latter, we do know that heavy random seek IO on a single tree in a bucket can trigger more throttling than you'd expect
Anyway, maybe for random IO the strategy would be to have a notion of aligned blocks, say 8 MB, the current block is cached as it is read in, so a backward seek can often work from in memory; the stream could be doing a readahead of , say, the next 2+ blocks in parallel & then store them in a ring of cached blocks ready for when they are used.
you've got me thinking now...

@sjrand any more comments before we merge?

Merging to branch-2.9.2 of this repo while work continues upstream on HADOOP-16132.


Add extension for jdbc database which will return exposed database

Close due to the fact that currently there are no module with exposed jdbc and there are no reasons (except of this issue) to add it to repos.exposed module


Implement german translation on the frontend

Implement the counterpart to #259 on the frontend. We will provide a PR to resolve this feature request.

Should be done:

https://github.com/numerique-gouv/impress/pull/255
https://github.com/numerique-gouv/impress/pull/405


User params

What's this PR do?

Adds new function to determine if this is a user's first signup for a campaign.

If it is a user's first signup, the signup takeover experience will be enabled.
If a user has previously signed up for a campaign, they'll get the regular "You're sign up! Get started below." messaging.

Passes userStatus param front backend to JS to indicate if this is a user's first signup for a campaign.

Two options for this param:

user-status-existing
user-status-new

How should this be reviewed?

From an existing account, signup for a campaign.

You should get the "You're signed up!" messaging in an alert at the top of the page.
Open up the dev tools console. Type in Drupal.settings.dosomethingUser and the userStatus should be user-status-existing

From a new user account, sign up for a campaign.

The signup takeover should be enabled.
Drupal-settings-dosomethingUser's userStatus should be user-status-new.

Any background context you want to provide?
In the future, we can change the experience of the existing user (maybe they still get the signup takeover screen but they just skip to the multi-signup page instead of the onboarding experience). This is just a prototype and sets up params to pass user information from backend to JS.
Checklist

[ ] Documentation added for new features/changed endpoints.

Fixes #6430

One more little comment but otherwise looks good!

Thanks, @sbsmith86 ! Cool to merge now?

@chloealee yas


EHOSTUNREACH: Handling powered off device.

When running Hombridge along with this plugin, if by any mischance the device is getting powered off, this plugin cause a crash instead of juste returning an error to homebridge. So even with a deamon to restart homebridge, the app will keep crashing without knowing the cause of the defective element.
Don't know if it's the expected behavior or an unprotected event.
(Solved similar error with Socket hanging and so on by increasing the polling interval).
The accessories is configured as such:
"accessory":			"Http",
"name":					"cuisine",
"switchHandling":		"realtime",
"http_method":			"GET",
"on_url":				"http://<IP_ADDRESS>/onurl",
"off_url":				"http://<IP_ADDRESS>/offurl",
"status_url":			"http://<IP_ADDRESS>/status",
"service":				"Light",
"brightnessHandling":	"no"

Here is the trace of a crash:
`
[2016-04-26 23:33:48] [cuisine] HTTP get power function failed: connect EHOSTUNREACH <IP_ADDRESS>:80
/usr/lib/node_modules/homebridge-http/index.js:45
callback(error);
^
ReferenceError: callback is not defined
at /usr/lib/node_modules/homebridge-http/index.js:45:19
at Request._callback (/usr/lib/node_modules/homebridge-http/index.js:115:4)
at self.callback (/usr/lib/node_modules/homebridge-http/node_modules/request/request.js:200:22)
at emitOne (events.js:77:13)
at Request.emit (events.js:169:7)
at Request.onRequestError (/usr/lib/node_modules/homebridge-http/node_modules/request/request.js:831:8)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at Socket.socketErrorListener (_http_client.js:256:9)
at emitOne (events.js:77:13)
`

I have this exact same error message when using the line "switchHandling", everything works when I remove it. Not sure what is the role of switchHandling since it's not documented on the main page, but removing it did the trick for me.

I had my node.js server running my hardware and using homebridge on the raspberry as well so I needed to start the node.js server before homebridge. Been tearing my hair out for hours trying to get the startup dependencies right but everytime it failed to start homebridge.
It would start ok on the command line.
Removing switchHandling from the config.json for homebridge also solved this for me.
Thanks guys


The set-env command is deprecated and will be disabled on November 16th.

When using gradle-command-action there is a warning about the deprecated set-env and add-path commands:

The set-env command is deprecated and will be disabled on November 16th. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

The add-path command is deprecated and will be disabled on November 16th. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

The warning was actually from<EMAIL_ADDRESS>Updating to v1.4.3 fixed the warning 😄


CS1501

Type of issue
Typo
Description
[Enter feedback here]
Page URL
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs1501?f1url=%3FappId%3Droslyn%26k%3Dk(CS1501)
Content source URL
https://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/compiler-messages/cs1501.md
Document Version Independent Id
95f05873-f236-19fb-e01f-0b7b23623654
Article author
BillWagner

Hi @erickmejiaa04
Did you have more information for us on what you didn't find in this article?


SDDE Problems do not guarantee maximum step sizes

I tried to introduce noise to a laser system and this seems to break some behaviour regarding tstops, saveat and dt.
Given a SDDE dx(t) = f(x(t), x(t-τ))dt + g(x(t))dW and a corresponding DDE dx(t)/dt = f(x(t), x(t-τ)) I would assume that for g = 0 the solutions should be the same.
I also understand the documentation such that dt sets an upper bound to the step size irrespective of additional points set in tstops or the points set in saveat.
The following code reproduces the suspected bug:
using DifferentialEquations
using StochasticDelayDiffEq
using Plots

function f(du, u, h, p, t)
    K, τ = p

    Eᵣ, Eᵢ, N, ρ = u
    S = Eᵣ^2 + Eᵢ^2

    ρᵗʰ = 14/23
    N₀ = 0.1 - ( ρᵗʰ / 400 )
    tmp = 1000*(ρᵗʰ + 0.2*(N-N₀)-ρ)

    du[1] = (2*ρ-1)*(230*Eᵣ + 115*Eᵢ) - 50*Eᵣ + K*h(p,t-τ)[1]*50
    du[2] = (2*ρ-1)*(230*Eᵢ - 115*Eᵣ) - 50*Eᵢ + K*h(p,t-τ)[2]*50
    du[3] = 1.2 - N/0.17 - tmp
    du[4] = tmp - ρ/2 - 230*(2*ρ-1)*S
end

function g(du, u, h, p, t)
    du .= 0
end

h(p, t) = 1e-3 .* ones(4)

K = 0.05
τ = 1
p = [K, τ]
tspan = (0, 10)
dt = 1e-3

save_times = tspan[1]:0.2:tspan[2]
stop_times = tspan[1]:dt:tspan[2]

dde = DDEProblem(  f,  h(0, 0),h,tspan,p;constant_lags=[τ])
sdde = SDDEProblem(f,g,h(0, 0),h,tspan,p;constant_lags=[τ])

expected   = solve( dde,SROCK2(),dt=dt,saveat=save_times)
bug        = solve(sdde,SROCK2(),dt=dt,saveat=save_times)
no_fix     = solve(sdde,SROCK2(),dt=dt,saveat=save_times, tstops=stop_times)
workaround = solve(sdde,SROCK2(),dt=dt)

# helper function to plot laser intensities over time
function get_ts(sol)
    t = sol.t
    S = [u[1]^2+u[2]^2 for u in sol.u]
    return (t, S)
end

plot()
plot!(get_ts(expected),   label="expected")
plot!(get_ts(bug),        label="SDDE bug")
plot!(get_ts(no_fix),     label="SDDE no fix")
plot!(get_ts(workaround), label="SDDE workaround")
plot!(legend=:bottomright, xlabel="t", ylabel="S")

This produces the following plot. The orange and green curves lie on top of each other. The slight offset between the expected points and the workaround is also unexpected.

I also understand the documentation such that dt sets an upper bound to the step size irrespective of additional points set in tstops or the points set in saveat.

No, you have to set dtmax to set an upper bound on the step size.

expected   = solve( dde,SROCK2(),dt=dt,saveat=save_times)

DDEProblems require a MethodOfSteps algorithm. I'm not sure why this does not throw an error.

DDEProblems require a MethodOfSteps algorithm. I'm not sure why this does not throw an error.

That's not so with SDDEProblems: it just dispatches directly on the problem + the original algorithm. But yeah, this is odd.

Si, ma viene a te, non a noi...grazie al cazzo

Forgot to mention that safety errors were added about a year back for this: https://github.com/SciML/StochasticDelayDiffEq.jl/pull/67


Repeat rows by Sector/Country

We've had some feedback that it would be super useful to be able to split the the csv output so that each reported sector or country appears on its own row (repeating the rest of the transaction/activity). This is particularly useful when trying to determine which funds are being used towards each sector/country.
This functionality is currently available on the old QB  (see screenshot), so something similar to this would be great:

For further context, here is the same activity returned by both old and new QBs. We require the ability to split each activity per sector, as illustrated here:
Old QB using 'multi sector expansion' function:

New QB without such function:

The Repeat rows by Sector work has been done, we now need to wait for the indexing process so we can review the Sector endpoint results (both JSON and that exploded CSV). Once we all agree the output is as expected we will start on the Repeat rows by Country, run the index etc and than this full requirements for the exploded CSV work are done @JoshStanleyDevInit

Repeating rows by sector and country has been tested in the csv output. These are working as expected.
There's no option on the QB to explode by JSON

Can confirm that both activity and sector expansions work in CSV


vscoq not picking up _CoqProject properly

I'm testing vscoq against my git project https://github.com/jonleivent/mindless-coding-phase2, using Coq 8.6pl1 (on Debian Jessie).  This project works in PG, PGxml and CoqIDE, but vscoq is apparently not parsing its _CoqProject file properly.  After building the project, when visiting the script wavl_noauto.v, and trying to step through it, I immediately get the error: Error: unable to locate library elist.  This is using vscoq's default settings, which has loadCoqProject set to true.

This was fixed the other day: https://github.com/siegebell/vscoq/issues/84
I'll publish the update to the vscode marketplace soon.
-cj
On Wed, Nov 30, 2016 at 10:19 AM, Jonathan Leivent<EMAIL_ADDRESS>
wrote:

I'm testing vscoq against my git project https://github.com/jonleivent/
mindless-coding-phase2 http://url, using Coq 8.6pl1 (on Debian Jessie).
This project works in PG, PGxml and CoqIDE, but vscoq is apparently not
parsing its _CoqProject file properly. After building the project, when
visiting the script wavl_noauto.v, and trying to step through it, I
immediately get the error: Error: unable to locate library elist. This is
using vscoq's default settings, which has loadCoqProject set to true.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/siegebell/vscoq/issues/89, or mute the thread
https://github.com/notifications/unsubscribe-auth/APXxlsirdoI6pT2ZKpNSZiH6Hr7Ieb0Vks5rDZQFgaJpZM4LATx_
.

dup of #84

published in 0.2.3

Just picked up 0.2.3, still get the same error.

@jonleivent could you post your _CoqProject here? Thanks

@jonleivent whoops, nevermind. I see your link.

@jonleivent I've added a test case and it seems that the _CoqProject parameters are being passed correctly to coqtop.
Did you tell vscode to open the root folder of the project, where _CoqProject is located, or did you just open a *.v file directly? (If the latter, try the former).
If you still get the error, please select the "Coq Language Server" output pane and copy the results here; particularly the bit (toward the top) that prints the coqtop command line.
Thanks!

Cannot reproduce.
Steps:
git clone https://github.com/jonleivent/mindless-coding-phase2.git .
make wavl-noauto.vo
code .

Then I opened wavl-noauto.v in vscode and was able to step through it all the way to the end.

After visiting root folder first, it works!  Is this an expected difference?

Yeah, but it's a really unintuitive aspect of vscode :/
I'll see if I can make vscoq a bit smarter when a root folder is not loaded.


move magic_enum and argparse to subprojects

meson will automatically fetch git submodules for subprojects, but not for src/ext/. Moving them (if it's not too painful) buys us this extra automation.

somewhat related to #36