Cannot start basic example: nimterop/git

When compiling basic example, I get
C:\Users\...\.nimble\pkgs\rapid-0.1.0\rapid\lib\glfw.nim(15, 16) Error:  cannot open file: nimterop/git

I installed "rapid" and all its dependencies with "nimble" and I confirm that even the simplest example fails with this message. May be this is due to some incompatibility with latest version of "nimterop"?

I installed "rapid" and all its dependencies with "nimble" and I confirm that even the simplest example fails with this message. May be this is due to some incompatibility with latest version of "nimterop"?

Possibly; I don't use rapid 2019 myself anymore. Prefer the latest commit, although it doesn't have some features (no audio support).
To install the latest commit (at the time of writing this), use:
nimble install rapid@#fc257b2

in your .nimble file:
requites "rapid#fc257b2"

Possibly; I don't use rapid 2019 myself anymore. Prefer the latest commit, although it doesn't have some features (no audio support).
To install the latest commit (at the time of writing this), use:
nimble install rapid@#fc257b2

in your .nimble file:
requites "rapid#fc257b2"

Thanks ! I will try the last commit.

Thanks ! I will try the last commit.

I never got this error when compiling the tests; is this a candidate for closure since it's almost a year old now using different package versions and project commit hash?
My relevant Nimble pkgs (I think):
aglet-0.4.4  glfw-4.0.0 rapid-#3e831cb

Good point. This was never closed because I was planning to close it once a stable release had been made, which, as you can probably tell, never happened.

Good point. This was never closed because I was planning to close it once a stable release had been made, which, as you can probably tell, never happened.


Fixes 209: update base container image

and swith to ubi8 micro

https://issues.redhat.com/browse/HMSCONTENT-209

looked at using micro, but didn't have a trusted ca store... so syncing didn't work :)

LGTM

image built and pushed to quay.io
Clair scanner report security scan passed.


More compact print layout

The current offer print layout is not very compact and contains a lot of whitespace.
The feature request is about making the print layout more compact, and might remove the intermediate detail sums of overheads and taxes, as this ads a lot of complexity to the overview.
Try to decrease whitespace, a smaller font for example.

 More compact print layout #564

#606


Read resources from file or stdin

Additionally, check if stdin comes from a pipe. If, this overrides any infile flag value, even -.
So possible scenarios are:

From file:
await -i res.txt -- echo OK
OK

Stdin from infile:
cat res.txt | await -i - -- echo OK
OK

Stdin from pipe:
cat res.txt | await -- echo OK
OK

Closes #21.

I think we should proceed under the following two assumptions:

Given other command-line tools like wget, we should merge the resource provided as -i file and as arguments.
We should discard stdin for now, as its data is ambiguous and could mean either resources or execution command. Until we know which is preferred, don't implement it so we don't become backwards incompatible.

Regarding (2): Usually stdin is used as the desired input is dynamic, which makes more of a use case resources than the start command.


can't access apache2/dav_fs directory.

it likely that dav/dav_fs in apache2 need something
"PROPFIND /webdav/ HTTP/1.1"
but
"PROPFIND /webdav HTTP/1.1"
the 2nd one fail for apache2, dav/dav_fs...

Hey, thanks for the note. I'll try to take a look at this next week. Do you happen to know of a public (presumably read only) server I can use to test my fix against?

sorry I don't.

sorry, I don't. But if you have branch, I can test it. Thanks.


[Serum-Streaming] adding event queue deserialization

Event queue is effectively the fills pipeline

@timmolter

@timmolter


.bind (async) can throw even though it is asynchronous

I think it is best practice to wrap these parts in a try catch and return the error via the callback
check:
https://github.com/JustinTulloss/zeromq.node/blob/master/lib/index.js#L414
https://github.com/JustinTulloss/zeromq.node/blob/master/lib/index.js#L688
https://github.com/JustinTulloss/zeromq.node/blob/master/binding.cc#L711

These lines are outdated since you aim at the master branch. We can't really tell what you're pointing at.

I think it is best practice to wrap these parts in a try catch and return the error via the callback

is there a use case or reason for this proposal? Like.. is there a problem and does that solve it?

oh now i see the subsequent issue, so is this basically answering #507?

@reqshark: bindSync prevents sockets from being re-used on failed attempts to bind. This issues is more a problem that if i want to handle errors properly with the async version, i need to wrap the whole thing in a try catch, which kinda defeats the purpose of feeding error back via callback. I ultimately now have to handle errors in 2 places when it could just be the one (which is the asynchronous programming standard).
To help you visualise this for me to write a safe .bind function i have to do the following:
function listen(bindUrl, cb) {
    var socket = zmq.socket('router');
    try {
        socket.bind(bindUrl, cb);
    } catch (error) {
        return cb(error);
    }
}

And then this starts to get out of control if i start to put error handling into it.

To update this issue, the relevant lines that need to wrapped in a try catch are:
https://github.com/JustinTulloss/zeromq.node/blob/1a8977137a51aa2259fdc4b3c1441aca301ac0db/lib/index.js#L421


Mention Make’s “phony target” workaround in the comparison

I think mentioning .PHONY is necessary to be fair to Make. Someone might decide that using phony targets in Make is the best solution for them (e.g. due to portability), despite Make having worse error messages and so on, and we shouldn’t hide this option from them. But I tried to mention the reasons one might prefer Just’s implementation of phony targets.

I think that's totally reasonable. Thank you for the PR!


Starting release 0.15.0

Community - I'm starting the release 0.15.0
If you have anything that is P0/P1 and its not in yet and would like me to wait please let me know.
Joe

This is complete and released.


Android X migration

Thanks for your contribution, but I find out that there are many unnecessary changes in this pr, e.g. space, line break, could you please cancel those changes?

@raylee4204 Thanks for your contribution! I just come back from a vocation, I'll merge it now.
BTW, my code style is also customized from Square Android style, I'll update the README.

@raylee4204 v1.5.5 is released, check it out :)


Charts not populating when used with ngmap.

For some reason, the chart is not rendered when used inside a marker in a google map.
Example:
http://plnkr.co/edit/5DE8iMQteoQJ7Q5Sgzkf?p=preview
In the example, you will see two charts. One inside the map itself which is not rendering correctly. The other chart is outside and under the map
I have tried the very same example using Highcharts and it renders with no issues. So I suspect the issue is with highcharts-ng.

Please also note that mouse listeners (click, mouseonver ... etc ) are not working as well.

It looks like it is working for me in chrome...

Yes, looks like everything is working now.


Error when selecting Announcements on Android

I am using latest Komelia version (v0.5.0) on Android.
When selecting Announcements in Settings, I get the following error:

My Komga server is on my PC, and my Android phone is connected to the same network on which the server is being run at.
Komelia is successfully connected to my Komga server, and the Komga server is running at the time of error message.
Is this a bug on your end, or something that is wrong on my end?

It's seem like a problem with komga server not being able to get announcements. Probably a firewall issue
Check if you can see announcements from webui, should be the same probem there

It's most likely firewall issue on the machine where you run komga
You'll need to allow komga to make outbound requests in the firewall


Add top and bottom padding back

Coverage remained the same at 81.382% when pulling bc37b9caa011dc6ac3cd3aaae9043db0ff483196 on eatonphil:main-inner-and-footer-padding into 37a4562633cd05f1e4719dfd502575a76e920096 on linode:master.

Haha, you just beat me to making the same change.


Which is the official demo API? / Quality of examples

I am currently looking at two servers hosting AAS APIs:

v3.admin-shell-io.com
admin-shell-io.com/5001/

It could be me misunderstanding the AAS specification, but:

calling GetAllShells endpoint on the first server shows multiple shells with the same identifier (www.company.com/ids/aas/2520_6010_8091_1277), which should not be possible according to the spec
calling GetAllShells endpoint on the second server shows shells which do not have an id property, but have an identification object in their JSON serialization instead. I cannot find information about this object anywhere in the v3 specs. It is also not part of the generated meta-model code of the AAS Core project

Since both sources contain examples which do not adhere to the standard, I ask myself where I could find an up-to-date demo API following the standard.

This is tricky, the first one is probably just some bug of contained data where the backend is not checking consistency.
Try those:

https://backend2.dpp40-2-v2.industrialdigitaltwin.org/shells/
https://c1.api.wago.com/smartdata-aas-env/shells/
https://mnestix-api-prod.azurewebsites.net/repo/shells/

Last two should be basyx while first one aasx-server

Hi @StenGruener!
Thank you very much for your answer! Looking at the WAGO repository, I see, that it supports the GetAllShells endpoint from the Shell Repository service.
What is strange is, that - in order to get a submodel for a shell - you cannot use the GetSubmodel (/shells/:aasIdBase64/submodels/:submodelIdBase64) endpoint from the Shell Repository API. Instead you have to use the GetSubmodelById (/submodels/:submodelIdBase64) endpoint from the Submodel Repository API.
I am also not able to retrieve the self-description endpoint (GetDescription) at /description for the WAGO server.
What is the reason for this?
Thank you again for your time!

hi,
for the second questions I cannot talk for WAGO, since i am not associated with them and everything would be a wild guess. I'd propose you try out some basyx demos to see if its the case.
The first one is generic to AAS resolution process, see aas spec part 2:

The reason is, that submodels are deployment units and can be scattered across different hosting locations. Therefore the AAS just knows IDs of submodels contained into it, but they must not be on the same REST endpoint.


Add search box for Drink TDS (Total Dissolved Solids) and Drink EY (Extraction Yield)

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
please add the ability to search for Drink TDS (Total Dissolved Solids) and Drink EY (Extraction Yield)
Describe the solution you'd like
A clear and concise description of what you want to happen.
A filter option to refine your search.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

There are many problems with this.
The main one is that the vast majority of shots don't have this data. Of the 526.997 currently in the database, 5.997 have TDS data, and 5.871 have EY data. That's ~1,1%. And even when they have this data, it's all over the place. Some people use decimal points, some decimal commas, and some people enter some sort of text.
This is the reason both of these are stored as text, not numbers. And that brings us to the following problem: it's impossible to make these comparisons in SQL since I'd have to interpret the data first. That means loading all the shots in memory, then interpreting the data inside, then doing the filtering, and then returning all that comply.
This translates to a lot of additional memory capacity I can not afford with the current Heroku plan. I plan to move to a different provider soon, but that's because I'm close to hitting the limits already without this additional load.
Another big problem is that this would need to be a range search (like enjoyment), and not a text search (like everything else). This means I'd need two sliders for both, so four new sliders.
All that would make the filtering UI much bigger and filtering backend vastly more complex, and I'm sorry, but I don't see this being worth it for ~1% of the shots 🤷♂

oh makes sense. I ddint realize you could enter text into that data field. darn.


enable getPreferredAllocation

The option was left to false, this fixes it.
Signed-off-by: Ukri Niemimuukko<EMAIL_ADDRESS>

Codecov Report

Merging #538 (13b33d7) into master (11387c2) will increase coverage by 0.12%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #538      +/-   ##
==========================================
+ Coverage   57.12%   57.24%   +0.12%
==========================================
  Files          31       31
  Lines        2120     2119       -1
==========================================
+ Hits         1211     1213       +2
+ Misses        839      837       -2
+ Partials       70       69       -1

Impacted Files
Coverage Δ

pkg/deviceplugin/server.go
86.42% <100.00%> (+2.03%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #538 (13b33d7) into master (11387c2) will increase coverage by 0.12%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #538      +/-   ##
==========================================
+ Coverage   57.12%   57.24%   +0.12%
==========================================
  Files          31       31
  Lines        2120     2119       -1
==========================================
+ Hits         1211     1213       +2
+ Misses        839      837       -2
+ Partials       70       69       -1

Impacted Files
Coverage Δ

pkg/deviceplugin/server.go
86.42% <100.00%> (+2.03%)
:arrow_up:

Continue to review full report at Codecov.

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


Docs: fixed a bunch of typos

The chapter concerning user and role management has lots of wording issues. This PR fixes those to make it easier to read and understand.

Our documentation has moved to repository apache/couchdb-documentation. There's also been a few passes to improve it since then. If you'd still like to help out, we'd love to see a new PR over on that repository.
Thanks again for your contribution to Apache CouchDB!


Sound of Diesel engines is extremely obnoxious and way too loud

title has the core of it
yes i understand it should be loud, but this is way too much. i have to turn block sounds down to 5% to notice ANY difference.
please either add some other option to silence it other than this weird silencer item, or at least make the sound less obnoxious. this is hostile by design.
yes theres a silencer item, however it doesnt seem to work with huge diesel engines
i've had many users on our server complain about it, getting overstimulated. this sound is an autism killer.

honestly after the amount of users who have complained about it, this should either be fixed or the mod is out of the pack.

Major issues with audio breaking and overlapping itself. almost game breaking without having to turn audio off. great mod, but come on.

How is it breaking tho

Major issues with audio breaking and overlapping itself. almost game breaking without having to turn audio off. great mod, but come on.

Feel free to make your own sounds in a resource pack (if you like more there is an ogg file with _old in the sound directory that is a bit different)


Add ShardingAttr

Sharding on StableHLO/MHLO ops is represented as serialized proto string, e.g. mhlo.sharding = "\08\03\1A\02\02\01\22\02\00\01". We should spec it and model it using a dedicate data structure.

I've been working on a prototype in MHLO, which I thought would be nice to have
to try this out before I send a PR to the spec, but it's trickier than
expected. I'd like to get some feedback on the design before then, since I've
already committed a lot of engineering time to the prototype, and want to get
some early feedback as I'm commit even more time to it. cc @mikedelorimier who was asking about this yesterday.
My proposal is that I implement this initially in MHLO so that op sharding  can take
either this sharding attr, or a string (as before). And then I'll add it in stablehlo in a form that only takes the attr.
Right now we don't have sections in the spec for attributes. Here's what
I've been working off of:
Attributes
sharding
Semantics
The stablehlo.sharding attribute is used to specify the sharding strategy for
an operation. The sharding strategy determines how the computation for the
operation is distributed across multiple devices. This sharding strategy is a
ShardingAttr attribute.
Attribute Types
ShardingAttr

REPLICATED: The operation is replicated across all devices, The
entire operation is executed independently on each device. No other
fields are used in this case, except metadata.
MAXIMAL: The operation is executed entirely on a single device,
the first device in the tile_assignment_devices list.
TUPLE: The operation is sharded as a tuple, with different
shardings applied to each leaf of the tuple. The tuple_shardings
field contains a list of ShardingAttr instances, one per leaf node
in the tuple shape. No other fields are used in this case, except
metadata.
OTHER: The operation is sharded using the specified tile shape and
device assignment. The tile_shape field defines the shape of the
sharded tile, and tile_assignment_dimensions specifies the shape
of the tile assignment tensor. The tile_assignment_devices field
contains a flattened list of device IDs for the tile assignment.

If replicate_on_last_tile_dim is true, the data is sharded
according to other dimensions of the tile_assignment, but
replicated across devices along the last dimension.
The last_tile_dims field is a list of ShardingType values
representing the sharding type of each subgroup in the
tile_assignment_dimensions. If this is shorter than the rank
of tile_shape, it applies to the trailing dimensions.

MANUAL: The operation is manually sharded, which means that the
shapes are already partitioned, and the partitioner should not
change this operation. This type is used when custom sharding is
desired and cannot be achieved using the other sharding types.

Properties

Label
Property
C++ Type
Description
Constraints

(P1)
type
ShardingType
The type of sharding.

(P2)
tile_shape
ArrayRef<int64_t>
The shape of the sharded tile.
(C1)

(P3)
tuple_shardings
ArrayRef
A list of sub-shardings for a tuple type.
(C2)

(P4)
replicate_on_last_tile_dim
Optional
Indicates whether data is sharded according to other dimensions of tile_assignment, but replicated across devices along the last dimension.
(C1)

(P5)
metadata
Optional
The source location of this sharding.

(P6)
tile_assignment_dimensions
ArrayRef<int64_t>
The shape of the tile assignment tensor.
(C1),(C3)

(P7)
tile_assignment_devices
ArrayRef<int64_t>
Flattened list of device IDs for tile assignment.
(C1),(C3)

(P8)
last_tile_dims
ArrayRef
A list of sharding types representing each subgroup.

Constraints

(C1) These values are only used when type == OTHER. Otherwise it is equal to {}.
(C2) tuple_shardings is only used for type == TUPLE. Otherwise it is equal to {}.
(C3) The product of tile_assignment_dimensions must equal the size of tile_assignment_devices.

Enums
ShardingType Enum
ShardingType is an enumeration attribute that represents the type of sharding for an operation. The possible values are:

REPLICATED: This sharding is replicated across all devices (implies maximal, all other fields are unused).
MAXIMAL: This sharding is maximal - one device runs the entire operation.
TUPLE: This sharding is a tuple - only the tuple_shardings field is valid.
OTHER: None of the above; tile_shape and tile_assignment are both used.
MANUAL: This op is manually sharded: the shapes are already partitioned, and the partitioner should not change this op.

Thank you for your work! First, I'll provide some high-level feedback, and in subsequent comments I'll follow up with some low-level comments on the prose.
High-level feedback
Overall, as far as prioritization goes, my recommendation would be to prioritize: 1) speccing ShardingAttr, 2) implementing it in StableHLO, 3) migrating StableHLO users, 4) porting this to MHLO.
The rationale for deprioritizing MHLO work is that our main focus right now is on shipping StableHLO v1.0, and MHLO is not on a critical path for this. MHLO will benefit from the work on StableHLO (via having a comprehensive spec and eventually via code sharing), but that is not a P0. This is consistent with how we've been doing development of many features over the last few quarters, including e.g. shape inference and verification - first in StableHLO, then in MHLO.
The rationale for prioritizing speccing ShardingAttr is that prototyping ShardingAttr is taking a lot of time, so it doesn't look like the biggest bang for the buck. The spec is direly needed, but as JAX experience shows, a readable string attribute has already been a huge improvement, so the added value of having something more structured is lower than the added value of having a spec.
As far as speccing goes, in StableHLO, we're typically looking for something more comprehensive than how we documented MHLO, with the goal for the specification alone being sufficient to develop a conformant implementation.
From that perspective, prose like "The sharding strategy determines how the computation for the operation is distributed across multiple devices" is alright, but it needs to be accompanied with a description of what it means for an operation to be distributed across multiple devices.
As a foundation for that, we already have the "Parallel execution" section which sketches a formalism for programs distributed across multiple devices. It looks like a spec for ShardingAttr would benefit from a "Sharded ops" subsection in that section which explains how ops with a sharding attribute are executed.
Speccing this will raise many questions, e.g. what it means for an operation to be executed on a single device - does it mean that the (0, 0) process receives all instances of the inputs and then runs the op on a somehow concatenated value? Figuring these things out has been one of the critical contributions of the StableHLO spec.

(fwiw, if you haven't noticed, I just made some minor changes/improvements to the prose, I think while you were writing the above comment)

From that perspective, prose like "The sharding strategy determines how the computation for the operation is distributed across multiple devices" is alright, but it needs to be accompanied with a description of what it means for an operation to be distributed across multiple devices.

Agreed. But I think this description will belong in the section on ShardingAttr under Attribute Types rather than the section on sharding under Attributes. I'm also planning to include examples that make it clear how an operation is sharded.

Speccing this will raise many questions, e.g. what it means for an operation to be executed on a single device - does it mean that the (0, 0) process receives all instances of the inputs and then runs the op on a somehow concatenated value? Figuring these things out has been one of the critical contributions of the StableHLO spec.

These are actually far less ambiguous than that appear at first blush! I have more to write for this initial design to be a spec, but note that (and this sentence should be included above in the final version) the only case in which we have multiple "instances" of a tensor are the REPLICATED case. In all other cases, we have a single tensor that is sharded (say, along the batch dim) across many devices. So for example, add : <3x3xf32>, <3x3xf32> -> <3x3xf32> sharded with maximal, tile_assigment=4, runs everything on device ID 4. Sharded with (XLA syntax) [3,1,1]0,1,2 means that the op is sharded across the first dimension into 3 shards of shape 1x3x3, each of which runs on the first 3 devices by ID.
I'll need to update this draft to spell that out, and explain how the tile_assignment_dimensions in brackets shard a tile.
Great point about the "parallel execution" section --- I'll need to align the langauge here which makes reference to device IDs to be compatible with the language earlier in the spec about (0,0)-style replica/partition devices. I think what XLA does here makes sense for us as well --- treat it as one might describe something like union { device_by_part[replicas][partitions]; devices_by_id[replicas*partitions] }

It will be more natural to merge tile_assignment_dimensions and tile_assignment_devices into a single value. This will be a tensor value with the shape (tile_assignment_dimensions) inside. I am not aware of such attribute type in the MLIR code base.
Then you can have something like
tile_assignment_devices = [[0, 1], [2, 3]]


False incident report

frameworks/base/packages/Shell/AndroidManifest.xml
html imgsrc="https://github.com/jarhot1992/Remote-ADB/assets/62189452/b7728e62-26a8-451c-93b0-f6969b23ae9a"
/html
https://kornkid988.atlassian.net/
#KoRnKiD988

frameworks/base/packages/Shell/AndroidManifest.xml html imgsrc="https://github.com/jarhot1992/Remote-ADB/assets/62189452/b7728e62-26a8-451c-93b0-f6969b23ae9a" /html https://kornkid988.atlassian.net/ #KoRnKiD988

Cvh

frameworks/base/packages/Shell/AndroidManifest.xml
html imgsrc="https://github.com/jarhot1992/Remote-ADB/assets/62189452/b7728e62-26a8-451c-93b0-f6969b23ae9a"
/html
https://kornkid988.atlassian.net/
#KoRnKiD988


Fix: Map UI & Tool panel styles

Closes #75

Want to see what we can offer?

Want to dive into our curriculum ?

Its more polite

Changes made @raisedadead


UI Layout - Small screens

Most of the general layout works fine on small screen devices, but a few areas remain problematic:

TicketCenter
List names are in tabs, which quickly run out of space
Filters menu needs a bit of work
The grid itself doesn't scale to phone-screen sizes well. We remove columns, but can't remove enough to squeeze it down all the way.
Main Nav
Collapse menu items do not all align to the left
About icon needs text when collapsed
Editors
Markdown editor's buttons align poorly when they wrap (fix, or hide buttons to make it fit)
Ticket Viewer

Stats area (aside) hides completely on small screens, some/all of this should still probably render somewhere
activity buttons do not render very well, and when they wrap this looks even worse

Most of the ticket center and main nav issues are fixed. Some work in ticket details remains


options only loaded after typing something in search

hi, I am trying to load data using ajax in the select picker, and it's working fine when I type anything in the search that gives me the data.
but I want to load data without search also at the start when there is no search.
how can I load the option on the default open of select picker without search?
here is my code
var CSRF_TOKEN = $('meta[name="csrf-token"]').attr('content');
$('.selectpicker').selectpicker().ajaxSelectPicker({
    ajax: {
        headers: {
            'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
        },
        url: '/admin/invoices/quotation/customerlist',
        type: 'POST',
        dataType: 'json',
        data: {
            search: '{{{q}}}'
        }
    },
    locale: {
        emptyTitle: 'Search for Customer...'
    },
    // function to preprocess JSON data
    preprocessData: function (data) {
        console.log(data)
        var i, l = data.length,
            array = [];
        if (l) {
            for (i = 0; i < l; i++) {
                array.push($.extend(true, data[i], {
                    text: data[i].name,
                    value: data[i].id,
                    data: {
                        subtext: data[i].name
                    }
                }));
            }
        }
        return array;
    },
});

controller code
$search = $request->search;

        if ($search == '') {
            $customers = Customer::orderby('name', 'asc')->select('id', 'name')->limit(50)->get();
        } else {
            $customers = Customer::orderby('name', 'asc')->select('id', 'name')->where('name', 'like', '%' . $search . '%')->limit(50)->get();
        }

        $response = array();
        foreach ($customers as $customer) {
            $response[] = array(
                "id" => $customer->id,
                "name" => $customer->name,
            );
        }
        return response()->json($response);

In my app, there is a <select> (server rendered) whit more than 2000 <option>s and one of theme is selected as a default.
After activating this plugin by jQuery, user should scroll or type a character to view items.
I used version 1.14.0-beta2 because of compatibility with Bootstrap 5.x.
My JS code is:
$('#ddl-id').selectpicker({
    liveSearch: true,
    size: 10
});

@Ibrahim81 are you using https://github.com/truckingsim/Ajax-Bootstrap-Select ? Wrong repo!
@PerseusTheGreat this is off-topic.


Restore Task is broken

Click on the Restore task from the dashboard. Resulting error -
C:\Users\adbist\Desktop\SQL_Tools\sqlopsstudio\node_modules\zone.js\dist\zone-node.js:2251 Unhandled Promise rejection: Cannot read property 'className' of undefined ; Zone: <root> ; Task: Promise.then ; Value: TypeError: Cannot read property 'className' of undefined
    at measureScrollbar (C:\Users\adbist\Desktop\SQL_Tools\sqlopsstudio\node_modules\slickgrid\slick.grid.js:510:65)
    at init (C:\Users\adbist\Desktop\SQL_Tools\sqlopsstudio\node_modules\slickgrid\slick.grid.js:336:52)
    at new SlickGrid (C:\Users\adbist\Desktop\SQL_Tools\sqlopsstudio\node_modules\slickgrid\slick.grid.js:4281:5)
    at new Table (file:///C:/Users/adbist/Desktop/SQL_Tools/sqlopsstudio/out/sql/base/browser/ui/table/table.js:37:26)
    at Builder.<anonymous> (file:///C:/Users/adbist/Desktop/SQL_Tools/sqlopsstudio/out/sql/parts/disasterRecovery/restore/restoreDialog.js:169:47)
    at Builder.doElement (file:///C:/Users/adbist/Desktop/SQL_Tools/sqlopsstudio/out/vs/base/browser/builder.js:276:20)
    at Builder.div (file:///C:/Users/adbist/Desktop/SQL_Tools/sqlopsstudio/out/vs/base/browser/builder.js:178:25)
    at Builder.<anonymous> (file:///C:/Users/adbist/Desktop/SQL_Tools/sqlopsstudio/out/sql/parts/disasterRecovery/restore/restoreDialog.js:167:38)
    at Builder.doElement (file:///C:/Users/adbist/Desktop/SQL_Tools/sqlopsstudio/out/vs/base/browser/builder.js:276:20)
    at Builder.div (file:///C:/Users/adbist/Desktop/SQL_Tools/sqlopsstudio/out/vs/base/browser/builder.js:178:25) TypeError: Cannot read property 'className' of undefined
    at measureScrollbar (C:\Users\adbist\Desktop\SQL_Tools\sqlopsstudio\node_modules\slickgrid\slick.grid.js:510:65)
    at init (C:\Users\adbist\Desktop\SQL_Tools\sqlopsstudio\node_modules\slickgrid\slick.grid.js:336:52)
    at new SlickGrid (C:\Users\adbist\Desktop\SQL_Tools\sqlopsstudio\node_modules\slickgrid\slick.grid.js:4281:5)
    at new Table (file:///C:/Users/adbist/Desktop/SQL_Tools/sqlopsstudio/out/sql/base/browser/ui/table/table.js:37:26)
    at Builder.<anonymous> (file:///C:/Users/adbist/Desktop/SQL_Tools/sqlopsstudio/out/sql/parts/disasterRecovery/restore/restoreDialog.js:169:47)
    at Builder.doElement (file:///C:/Users/adbist/Desktop/SQL_Tools/sqlopsstudio/out/vs/base/browser/builder.js:276:20)
    at Builder.div (file:///C:/Users/adbist/Desktop/SQL_Tools/sqlopsstudio/out/vs/base/browser/builder.js:178:25)
    at Builder.<anonymous> (file:///C:/Users/adbist/Desktop/SQL_Tools/sqlopsstudio/out/sql/parts/disasterRecovery/restore/restoreDialog.js:167:38)
    at Builder.doElement (file:///C:/Users/adbist/Desktop/SQL_Tools/sqlopsstudio/out/vs/base/browser/builder.js:276:20)
    at Builder.div (file:///C:/Users/adbist/Desktop/SQL_Tools/sqlopsstudio/out/vs/base/browser/builder.js:178:25)

@anthonydresser I know you had a fix out in this PR -
https://github.com/Microsoft/sqlopsstudio/pull/552/files
However, it doesn't seem to work. I noticed that even after a clean and fresh npm install, it gets the older commit version from package.json using  "slickgrid": "github:anthonydresser/SlickGrid#2.3.12". My yarn.lock file also mentions this -
"slickgrid@github:anthonydresser/SlickGrid#2.3.12":
  version "2.3.12"
  resolved "https://codeload.github.com/anthonydresser/SlickGrid/tar.gz/5610e05166cd7068dcf196498ae20054382b1684"

Do you think we should update the package.json file instead?


Request for feedback: commercetools Java SDK custom types

Hi,
I've written a library that extends the commercetools Java SDK by custom types defined in commercetools projects.
https://github.com/Akii/commercetools-sdk-java-v2-custom-types
The overall goal of the library is to provide as much type-safety as possible. To accomplish this, it introspects the types defined in commercetools projects and generates Kotlin data classes. It also provides a Jackson ApiModule for deserialization.
The generated code confirms to the SDK interfaces and by doing so does not introduce breaking changes I know of.
Thanks to how you structured the API it was possible to build this in a rather elegant manner.
I appreciate your feedback on this approach greatly.

I really like it.
Especially the use of a gradle plugin. What I'm curios about is are the downloaded product types json cached, so that it will not be updated on every build? How would you deal with more than let's say 500 product types. Will the plugin support paging?
Small remark to the readme. The Attribute accessor can be also used in a more approachable way with the latest version (8.0.0-Beta.1/2):
variant.withProductVariant(AttributesAccessor::of).asString("text")

Btw it could be sufficient to create a map of field name to their field type as the type has to be the same for all attributes/custom fields across all product/custom types for a given name. But this could end up in a class with thousands of fields when dealing with hundreds of types.
And I just had another idea could it be possible to generate a type safe accessor like:
variant.withProductVariant(TestProductTypeAccessor::aBoolean) instanceof Boolean
variant.withProductVariant(TestProductTypeAccessor::anEnum) instanceof AttributePlainEnumValue
...

And another thing what could be interesting. How is the interoperability of kotlin data classes with Java. Would it be possible to use them also in java easily. I had recently some fun dealing with them while trying to deserialize some XML to a data class using jackson and in the end I used POJOs

First of all thank you for your kind feedback!

What I'm curios about is are the downloaded product types json cached, so that it will not be updated on every build?

That one surprised me but Gradle actually handles that internally. Unless calling ./gradle clean, it will assume the downloaded file is up-to-date.

Will the plugin support paging?

I think this should already paginate, at least the function signature of the ct SDK suggests it: https://github.com/Akii/commercetools-sdk-java-v2-custom-types/blob/v0.0.2/commercetools-sdk-java-api-customtypes-gradle-plugin/src/main/kotlin/de/akii/commercetools/api/customtypes/plugin/gradle/actions/FetchProductTypesAction.kt#L27
That however raises another interesting question: Do you really still do case analysis if you need to differentiate between 500 types? Probably not.
The library shines when you want to know which attributes are available, and what their types are.
If you use a lot of nested types, it can be really, really benefitial.

Small remark to the readme. The Attribute accessor can be also used in a more approachable way with the latest version (8.0.0-Beta.1/2)

Good point! I will update the readme to reflect that.
I don't think that v8 changes anything with regard to refactorability and type-safety of attributes (because attribute names are still just string references) but it ceratainly improves accessing values.

How is the interoperability of kotlin data classes with Java.

I actually think the interoperability is great! However you need to be aware of how Kotlin compiles to Java.
For instance, with many XML libraries I find they require an empty default constructor.
Normally Kotlin does not create a default constructor, unless every constructor argument has a default value.
The generated product attributes here are basically POJOs with a default constructor because commercetools cannot guarantee that required attributes are actually there (because otherwise you would not be able to add a new attribute).
As for using this library, you're good in a Java project as long as you include the kotlin std lib.
I will certainly need to add documentation for that and do some testing.
As for your idea with the accessor: I need to think this one through some more. Looks interesting.
But I wonder how that works with nested types and reference expansion.
The goal is really to create a complete structure that connects all ressources.
 Just a thought (I usually hate that kind of magic).

First of all thank you for your kind feedback!

What I'm curios about is are the downloaded product types json cached, so that it will not be updated on every build?

That one surprised me but Gradle actually handles that internally. Unless calling ./gradle clean, it will assume the downloaded file is up-to-date.

It could be good to define an output folder for the type definitions as well for the generated classes. So it would be possible to commit them. This could help reviewing changes if necessary.

Will the plugin support paging?

I think this should already paginate, at least the function signature of the ct SDK suggests it: https://github.com/Akii/commercetools-sdk-java-v2-custom-types/blob/v0.0.2/commercetools-sdk-java-api-customtypes-gradle-plugin/src/main/kotlin/de/akii/commercetools/api/customtypes/plugin/gradle/actions/FetchProductTypesAction.kt#L27

That's good that you used the QueryUtils.queryAll as it automatically pages through all resources.

That however raises another interesting question: Do you really still do case analysis if you need to differentiate between 500 types? Probably not. The library shines when you want to know which attributes are available, and what their types are. If you use a lot of nested types, it can be really, really benefitial.

I already saw projects with more than 1000 product types e.g. they were generated based on a multi dimensional matrix of attribute combinations.

Small remark to the readme. The Attribute accessor can be also used in a more approachable way with the latest version (8.0.0-Beta.1/2)

Good point! I will update the readme to reflect that. I don't think that v8 changes anything with regard to refactorability and type-safety of attributes (because attribute names are still just string references) but it ceratainly improves accessing values.

True that. It was more that the accessors are helpers to have type safe inline access.

As for your idea with the accessor: I need to think this one through some more. Looks interesting. But I wonder how that works with nested types and reference expansion.

It would be possible to do this already by manually writing such an accessor for your project, but it may be tedious to keep it in sync with the project configuration.

The goal is really to create a complete structure that connects all ressources.  Just a thought (I usually hate that kind of magic).

I don't see the need atm for lazy loading. The v1 SDK btw deserialized attributes, custom fields as JsonNode and they had to be mapped with the accessors

It could be good to define an output folder for the type definitions as well for the generated classes. So it would be possible to commit them. This could help reviewing changes if necessary.

You're right. I will add that and also make it configurable how class/property names are computed.
Thank you again for all your feedback! I will be closing the issue now because, well, it's not an issue of the SDK :D


[WIP] Unloading contract assemblies.

fix #684

:white_check_mark: Build AElf <IP_ADDRESS>77 completed (commit https://github.com/AElfProject/AElf/commit/f4a94526ff by @samfrb)


Can't return plain text with modifiers

Hei there
I've tried to log the returned plain text from kint by using the modifiers as following, but unfortunately the resulting log file contains garbled encoded text.
<?php
include '/home/vfwtwsar/temizen/kint.phar';

error_log(
   @~d('palin text via kint!')
  ,3
  ,"/pathto/kint.log"
);

The following instead works as expected, but I wonder if this is intended or if I'm missing something
<?php
include '/home/vfwtwsar/temizen/kint.phar';

Kint::$return = true;
Kint::$mode_default = 't';

error_log(
   d('palin text via kint!')
  ,3
  ,"/pathto/kint.log"
);

Thank you!

Your ~ modifier xors the returned string. You can fix that by xoring it twice (@~~d("...")) but honestly the return modifier should just be used on its own. (If you used any other modifier the returned string would be irretrievable, eg. @!d() casting the output to a bool)
Your second example is what you should use, though you can also create a helper function dedicated to returning plain text.

Your second example is what you should use, though you can also create a helper function dedicated to returning plain text.

Thank you for your answer, yes this is what I ended up with. I leave it here also in case someone may need it
Kint::$aliases[] = ['yourClass', 'td'];

class yourClass
{
   public static function td(...$args)  {

        if (false === Kint::$enabled_mode) {
             return 0;
        }

        $kstash = Kint::$enabled_mode;

        Kint::$enabled_mode = Kint::MODE_TEXT;
        Kint::$return = true;

        $out = Kint::dump(...$args);

        Kint::$enabled_mode = $kstash;
        Kint::$return = false;

        return $out;
    }
}


Replace std::exception_ptr with folly::exception_wrapper

Previously we didn't want to depend on folly and use the standard exception_ptr.
This requirement is not valid anymore,
so it should be ok to replace std::exception_ptr with folly::exception_wrapper.

thanks for this big change. Let's bring this to fbcode asap.


Update dependencies.

What's this PR do?
This pull request updates our PHP & JavaScript dependencies in this application. I've pinned league/oauth2-server and lcobucci/jwt for the time being because both seem to introduce breaking interface changes that we haven't had the time to dig into fixing yet.
How should this be reviewed?
Tests should pass! 🤞
Any background context you want to provide?
Last one of these PRs! And hopefully last round of these multi-app update slogs soon, too!
Relevant tickets
References Pivotal #176481917.
Checklist

[ ] This PR has been added to the relevant Pivotal card.
[ ] Documentation added for new features/changed endpoints.
[ ] Added appropriate feature/unit tests.
[ ] If new attributes were added to users, there is a corresponding PR to surface these in Aurora.
[ ] If new attributes were added to users, then the data team already knows about these changes.

Looks like we got some new formatting rules to ensure filename & classname are consistent (cool!), but required a quick fix to rename some inconsistently named tests in 046f66e.

Looks like we got some new formatting rules to ensure filename & classname are consistent (cool!), but required a quick fix to rename some inconsistently named tests in 046f66e.


Complete game info boxes

Currently game info boxes are incomplete. Add screenshots, etc.

done in 78f832618402b3a483944b7dc71c9bc41e332452 e73e39d451dde8f3e2a09e1f665bf6e4e85600d7 ec299d1bf274179abadb5282b535a608246ee534


Standalone kubeconfig for gce kube-up

Make gce create and clear standalone .kubeconfig (embedded certs) on kube-up, kube-down respectively. Also updated e2e test driver to pull auth info from either a .kubeconfig file or a .kubernetes_auth with optional certs directory.
This closes #5040, and enables the following workflow

spin up cluster on host1 with kube-up.sh
copy $HOME/.kube/.kubeconfig to host2
use kubectl on host2 to talk to cluster

e2e tests passing on gce, gke. cc @zmerlynn, @satnam6502

@filbranden because he always has an opinion on bash code :-)

Great, thanks. I think it is good to remove information about deleted clusters to avoid confusion for users (like me) who look at these files and then make assumptions about what exists in the real world.

PTAL

@filbranden : want to give a LGTM for the bash?

Yes, LGTM, that was my only comment. Thanks for addressing it!


Add Turkish translation

[x] Have you followed the contributing guidelines?
[x] Have you explained what your changes do, and why they add value?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Added Turkish translation for Open Source Friday website

Closed and reopened to try to kicj off the actions that should have but never got ran.


Need better instructions for installing dependencies

Congratulations on your paper. I was trying to play around a bit and found that the dependencies are not easy to install (at least on arm64)

The requirements file is missing an = sign on line that refers to seaborn.
The package sentencepiece==1.9.0 is not available with pip on arm64.
torch==1.5.0+cu101 is not available with pip

The first two problems are easily fixable and the third one too, but having encountered three hiccups in installing just half of the dependencies listed in requirements.txt, I decided to file this issue. Please add better instructions for installing dependencies, or if possible, please provide docker images (arm64 compatible) to solve all hassles in one go.

Hey,
Thank you for your interest in our work!

Fixed in commit 66efb4b.
Sadly, I don't have access to an arm64 platform. I can't provide an immediate resolution.
pip install torch==1.5.1+cu101 torchvision==0.6.1+cu101 -f https://download.pytorch.org/whl/torch_stable.html should work.

Providing a more streamlined installation process is in our todo list for the future, but I don't have the bandwidth to immediately take care of this. You are welcome to submit a pull request if you end up fixing these issues on your side.
Also, note that most of the dependencies (like sentencepiece) are task-specific. Given the large range of applications considered, it may be easier for you to tailor the installation to your needs. In particular, our DFA implementation has minimal dependencies: only torch (and torchvision for the MNIST example) are required.

Hi, thank you for making the fix. The issue is partly that I am using a strange platform (NVIDIA Jetson), which should be supported in principle but the software ecosystem for Jetson is different from x86 (for example, pip install torch==xx is not possible). I may contribute to a patch in the future to add support for arm64, but for the moment I have switched to x86.


_prepare_non_packed_dataloader() is removing shorter samples

I tried to train the Falcon-7b model based on the tutorial from huggingface (https://colab.research.google.com/drive/1BiQiw31DT7-cDp1-0ySXvvhzqomTdI-o?usp=sharing) with my own dataset.
When i loaded my dataset i got indexing errors and my dataset seemed to be empty after beieng loaded into the trainer. Investigating the issue if found that the SFT Trainer basically removes every tokenized sample during the tokenize() function in _prepare_non_packed_dataloader() that has a length less than the max_seq_len. This also happens for the openassistant-guanaco dataset used in the tutorial, but it seemingly has quite a few entries that are longer than max_seq_len, so they are kept and the dataset is not empty.
Is this intended behavior? Wouldn't it be better to pad the shorter samples than to remove them or am i missing something?

Same as https://github.com/lvwerra/trl/issues/467

We are fixing this in #481. Closing this as it's a duplicate issue.


Let system decide which port to use for PoET gRPC in standalone mode

Motivation
Follow up to https://github.com/spacemeshos/go-spacemesh/pull/5165
Additionally to Windows not liking <IP_ADDRESS> as connection address, the Windows GH runners sometimes disallow to listen on port 50002 (default for PoET gRPC). It seems to be an issue with some of the windows runners, since no other test uses a standalone PoET (so nothing should be listening there already) and it only appears to happen on Windows. Assigning a random (free) port as listen address seems generally a good idea (for parallelisation, less likely to fail, etc.)
Changes

changed RawRPCListener to use a random port instead of the default one if node is launched in standalone mode

Test Plan
n/a
TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[x] Update documentation as needed
[x] Update changelog as needed

bots merge

bors merge


[solution] Several DFP packs in generated CPRJ

Hin
I have a cproject.yml like this:
  components:
    - component: STMicroelectronics::Application:Example&HAL_GPIO_Toggle
...
    - component: STMicroelectronics::Device:Startup

I converted it to cprj:
frq09468@LMECWL0888  /c/Cube20/stm32cube_fw_u5/examples/hal/gpio/toggle/projects
$ csolution.exe -s gpio-toggle.csolution.yml convert
C:/Cube20/stm32cube_fw_u5/examples/hal/gpio/toggle/projects/gpio-toggle.csolution.yml - warning csolution: yaml schemas were not found, file cannot be validated
C:/Cube20/stm32cube_fw_u5/examples/hal/gpio/toggle/projects/gpio-toggle.cproject.yml - warning csolution: yaml schemas were not found, file cannot be validated
C:/Cube20/stm32cube_fw_u5/examples/hal/gpio/toggle/projects/gpio-toggle+STM32U585I-IOT02A.cprj - info csolution: file generated successfully

But then I can see 2 DFP packs being referenced for the U5:
  <packages>
    <package name="CMSIS" vendor="ARM" version="5.8.0"/>
    <package name="STM32U5xx_DFP" vendor="Keil" version="1.1.0"/>
    <package name="Example_HAL_GPIO_Toggle" vendor="STMicroelectronics" version="0.0.1"/>
    <package name="STM32U5xx_DFP" vendor="STMicroelectronics" version="0.0.1"/>
    <package name="STM32U5xx_Drivers" vendor="STMicroelectronics" version="0.0.1"/>
    <package name="board_resources_B-U585I-IOT02A" vendor="STMicroelectronics" version="0.0.1"/>
  </packages>

Why is the DFP from Keil referenced here ?

Probably the selected device or a component or an API was found in that pack.
Can you please share the project so we can debug it?

Hi Daniel,
please find the project enclosed.
Do you need the pdsc of the packs ?
projects.zip

Thanks Fred!
The selected device is indeed in the Keil::STM32U5xx_DFP:
$ csolution.exe list packs -f STM32U5
<EMAIL_ADDRESS>$ csolution.exe list devices -f STM32U585AIIx
STM32U585AIIx

Are you providing the same device in the STMicroelectronics::STM32U5xx_DFP?
How do you intend to differentiate them?

Interesting case...the device is present in both packs.
I have also this:
				<!-- *************************  Device 'STM32U585AI'   ***************************** -->
				<device Dname="STM32U585AIIx">
					<memory id="IROM1" start="0x08000000" size="0x00200000"      startup="1" default="1" />
					<memory id="IROM2" start="0x0C000000" size="0x00200000"      startup="1" default="0" />
					<memory id="IRAM1" start="0x20000000" size="0x030000"        init="0" default="1" />
					<memory id="IRAM2" start="0x30000000" size="0x030000"        init="0" default="0" />
					<algorithm name="Flash/STM32U5xx_2M_0800.FLM"          start="0x08000000" size="0x00200000" default="1" />
					<algorithm name="Flash/STM32U5xx_2M_0C00.FLM"          start="0x0C000000" size="0x00200000" default="1" />
					<feature type="BGA" n="169"/>
				</device>

in STMicroelectronics.STM32U5xx_DFP.pdsc
I guess that such a situation may happen where several "vendors" provide a device or component description ?
I guess the proper solution is to use the vendor ?
[Dvendor:: [device_name] ] [:Pname]

In this case it seems both devices have the same Dvendor and Dname.
It could be resolved by reducing the pack repository scope, for example by installing only the relevant packs or by using the pack selection mechanism (under development).
But the device vendor should ensure their device names uniqueness so the problem does not persist.

But the device vendor should ensure their device names uniqueness so the problem does not persist.

How to be sure that somebody else will not publish a pack with the same device ?
I mean we can have the "official" ST pack for describing a device but also "unofficial" packs from other people ?
Probably specifying the pack as you indicate is the best option?

Yes in case of "unofficial" packs I guess the best option is to reduce the scope.

@fred-r yes @ReinhardKeil proposal about scope Handling of packs (Filter, Repositories, Local packs, etc.) is not related to any PR yet.
Such said not sure if pack usage may help fixing your trouble. I foresee pack usage as a way to force a pack being added ... not fully clear to me if it may as side effect preventing duplicates doing conditions resolution ...
@ReinhardKeil @brondani @jkrech could you share your view about ?

I think we need to address this situation with some rules, coupled with validation steps.
Rule
a) A device must not be described by anyone but the vendor.
Unfortunately we had to start somewhere and therefore you find packs from vendor Keil describing devices e.g. from STMicroelectronics. This means that these Keil packs will be set to "deprecated" once STMicroelectronics is maintaining the devices respective DFPs. We executed this transition successfully with other vendors before.
b) Each vendor is responsible to ensure that each of their devices is only described in one DFP.
I do agree with @VGRSTM that pack filtering/selection may impact the set of selectable components. Therefore duplicate device descriptions must be avoided.
So my question to @fred-r  really is, why he decided to add device descriptions to his pack in the first place.
Please note that the same is true for board descriptions.
Prior to adding a new DFP to the index, a check shall be performed that any deviceID or boardID is not present in any of the public pdsc files already.
Ideally the Dvendor and Bvendor match the  tag in the pack.

@fred-r  Is this a problem that we should still address? Are the hints provided by Joachim enough?


Feature Request --> countdown() - timed countdown to be used during a conference on a laptop running Linux

Tell us about your feature request:
A clear and concise description of what you want to happen or the change you would like to see.  Use a use case to describe how a person would actually use your request to accomplish a goal. Thank you.
-> timed countdown to be used during a conference on a laptop running Linux

Describe how your feature request could work:
Steps to demonstrate your feature request.

Go to ->

Enter on ->
countdown()
(
IFS=:
set -- $*
secs=$(( ${1#0} * 3600 + ${2#0} * 60 + ${3#0} ))
while [ $secs -gt 0 ]
do
sleep 1 &
printf "\r%02d:%02d:%02d" $((secs/3600)) $(( (secs/60)%60)) $((secs%60))
secs=$(( $secs - 1 ))
wait
done
echo
)

Enter ->
countdown "00:07:55"

How are you currently working without your feature request?
A description of any alternative solutions or features you've considered or are using today.
-> someone sitting on the front row prompting the speaker how much time is available

Version:

OS ( lsb_release -a ; Ubuntu 14.04  Ubuntu 16.04  Ubuntu 20.04 )
->

Command: ( github-repository/setup.github.repository.sh  2.199.861 )
->

https://superuser.com/questions/611538/is-there-a-way-to-display-a-countdown-or-stopwatch-timer-in-a-terminal

https://www.cyberciti.biz/faq/how-to-display-countdown-timer-in-bash-shell-script-running-on-linuxunix/

countdown=60 now=$(date +%s) watch -tpn1 banner '$((now-$(date +%s)+countdown))'

added to README.md page


Dragonslayer Shield

Could you please update the table for Resistances, since the normal colorcoding isnt valid anymore. Thank you :)
Maybe something like

Fortune
Force

Horned, Conspirator
Poisen

Mirage. Omen
Mental

Diabolic
Fire

Empyreal
Spirit

Adamantine
Bludgeoning

Since the table isn't on the item itself we'll be removing it from the description entirely (it was never part of the description, in fact).
Tables like this are better done in journals, which we could link to from relevant items. This is something we'll definitely keep in mind as we look to revise the system's rules journals to something more usable.


Completes Python job on GitLab (and bumps versions)

Finalizes the Phase 1 Python GitLab workflow
Bumps dependencies across the workflows.

Confirming that the pipeline worked.

@idunbarh just need your final (re-)review here.


feat: add CUREv1 retrieval dataset

CUREv1
Over the past year, we’ve worked closely with medical professionals to develop this dataset, which we’re now sharing with the community to support research in point-of-care information retrieval—a critical daily task for many practitioners.
The CURE is a cross-lingual retrieval dataset organized into:

Ten splits covering different medical disciplines:

Dentistry and Oral Health
Dermatology
Gastroenterology
Genetics
Neuroscience and Neurology
Orthopedic Surgery
Otorhinolaryngology
Plastic Surgery
Psychiatry and Psychology
Pulmonology

One mono-lingual setting and two cross-lingual settings:

English-to-English
Spanish-to-English
French-to-English

Each split and cross-lingual setting is composed of 200 natural language queries formulated by health care professionals, capturing their information needs when consulting academic literature during their daily work.
The corpus is constructed from an index of English passages extracted from biomedical academic articles. Passages are then marked as either Highly Relevant, Partially Relevant or Not Relevant with respect to each query.
For more details, please check the Dataset Card in the Hub 🤗
A preprint detailing the curation process and providing an extended rationale will soon be published on arXiv, along with pre-embedded indexes for several of these models!

MTEB(Medical)
At the same time, we take the opportunity to introduce a specialized benchmark that groups MTEB tasks relevant to the medical domain. Initially, we’ve included the following tasks, but we welcome any suggestions for additional tasks you think may be valuable:

CUREv1
NFCorpus
TRECCOVID
TRECCOVID-PL
SciFact
SciFact-PL
MedicalQARetrieval
PublicHealthQA
MedrxivClusteringP2P.v2
MedrxivClusteringS2S.v2
CmedqaRetrieval
CMedQAv2-reranking

We have also computed results for these tasks across 18 open-source models. We can upload them to the results repo or somewhere else, please point us in the right direction as there seems to be lots of activity with the new leaderboard! 💪

Adding datasets checklist

[x] I have run the following models on the task (adding the results to the pr). These can be run using the mteb -m {model_name} -t {task_name} command.

[x] sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
[x] intfloat/multilingual-e5-small

[x] I have checked that the performance is neither trivial (both models gain close to perfect scores) nor random (both models gain close to random scores).
[x] If the dataset is too big (e.g. >2048 examples), considering using self.stratified_subsampling() under dataset_transform()
[x] I have filled out the metadata object in the dataset file (find documentation on it here).
[x] Run tests locally to make sure nothing is broken using make test.
[x] Run the formatter to format the code using make lint.

Thanks for the PR! The only thing left to point out is that it'd be great if the PR description can be updated to reflect the changes made above. Otherwise I think this is good to merge. If you end up promoting this on socials, let us know :)

Thanks for the PR! The only thing left to point out is that it'd be great if the PR description can be updated to reflect the changes made above. Otherwise I think this is good to merge. If you end up promoting this on socials, let us know :)

Thanks, @isaac-chung ! Sorry I missed your last comment. I’ve updated the PR description retroactively and am currently running the 18 models on all the newly added tasks in the benchmark. Once that’s done, I’ll open a PR with the results.
As for promoting the work, do you have any specific ideas in mind? I was planning to post something on LinkedIn next week, which I can also share here. Additionally, we’re preparing a preprint that we’ll be uploading to arXiv soon. Maybe we could use that opportunity to co-write something for the HF blog? We can discuss the angle but I believe that it could be really interesting!

Thanks, @dbuades! Those all sound good, and I'm happy to share/repost what you have. An HF blog would be good as well - happy to collaborate there!

Thanks, @dbuades! Those all sound good, and I'm happy to share/repost what you have. An HF blog would be good as well - happy to collaborate there!

Perfect! I'll keep you posted next week.


side effects of some expressions are doubled

int x = 0;
puts(cmp_less(x++, 0U) ? "true" : "false");
printf("%d\n", x);

Outputs:
false
2

Which can be fixed using statement expression, but statement expressions are non-standard.

This should be fixed now in 33ce638180fb08bee0b235661b0078f883333907, for some definition of fixed. We reintroduced the implementation using GNU statement expressions and other extensions, but gave a macro to control which interface you get. By default, we prefer the safer interface over the more portable interface.


is there any way to add 10 fans in multiple sketch code? 6 individual fans on channel 1 and 4 on channel 2. i am using arduino pro micro.

Describe the problem
A clear and concise description of your problem.
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):

OS: [e.g. Windows 10]
Board: [e.g. Arduino Leonardo]
Device: [e.g. Lighting Node PRO]
Version of IDE: [e.g. Arduino IDE 1.8.13]
Version of CLP: [e.g. 0.15.0]
Version of CLP Boards: [e.g. 0.2.0]
Sketch: [e.g. RepeatAndScale]

Code changes
Did you changed the code of the library or the sketch?

Yes that should be possible


chore(ci): add informational Codecov status checks

Description
Hi, Tom from Codecov here. I noticed that you were using Codecov but weren't actually getting any notifications on pull requests. I figured it would be useful to get some idea if code being changed is being tested, but also not blocking CI/merging. Let me know if this makes sense or if we can do something that would be helpful.
This PR has:

[x] been self-reviewed.
[ ] added documentation for new or modified features or behaviors.
[x] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

gentle bump here. I also believe there may be an issue getting any notifications from Codecov if the GitHub app is not installed.

@clintropolis just a gentle bump


Add dynamic variable support to bruno

I have checked the following:

[X] I've searched existing issues and found nothing related to my issue.

Describe the feature you want to add
Similar to what postman does
https://learning.postman.com/docs/tests-and-scripts/write-scripts/variables-list/
interpolating {{$randomInt}} etc.
Mockups or Images of the feature

https://github.com/usebruno/bruno/pull/3609

#3608


Hey

Hey Keem, how can I reach you on Discord? Add me, ItsNoah#3408, its Panda, aka TheStealthy, miss u bro!

Hey Keem, how can I reach you on Discord? Add me, ItsNoah#3408, its Panda, aka TheStealthy, miss u bro!

keemroh#1953


time: unmarshaling location different based on timezone

What version of Go are you using (go version)?

$ go version
go version go1.16.3 linux/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/user/.cache/go-build"
GOENV="/home/user/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/user/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/user/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.16.3"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build3471220289=/tmp/go-build -gno-record-gcc-switches"

What did you do?
https://play.golang.org/p/p7UiZXcefMp
What did you expect to see?
time.Time{wall:0xbab699fc00000000, ext:1, loc:(*time.Location)(0x5666c0)} "2009-11-10T23:00:00Z" time.Time{wall:0x0, ext:63393490800, loc:(*time.Location)(0x5666c0)}

What did you see instead?
time.Time{wall:0xbab699fc00000000, ext:1, loc:(*time.Location)(0x5666c0)} "2009-11-10T23:00:00Z" time.Time{wall:0x0, ext:63393490800, loc:(*time.Location)(nil)}

Summary
It looks like when time.Local reflects utc, unmarshaling is different than to when a timezone is present. play.golang.org may seem like a poor reproducer, since time and clocks are so heavily mocked, but my system does the same thing (either without /etc/timezone or with it pointed at /usr/share/zoneinfo/Etc/UTC). When I provide TZ=NZ or /etc/localtime, we get the desired output.

This works as intended, without zone info only the local time can be assumed

This works as intended, without zone info only the local time can be assumed

the issue is that code that works one one machine, breaks on another based on how the timezone is set. how are we able to assume zone info for NZ (or any non UTC zone) but not UTC?

I think I see the problem now
main » go run .
time.Date(2021, time.May, 5, 17, 29, 40, 618448319, time.Local) "2021-05-05T17:29:40.618448319+02:00" time.Date(2021, time.May, 5, 17, 29, 40, 618448319, time.Local)

main » TZ=NZ go run .
time.Date(2021, time.May, 6, 3, 29, 47, 269450883, time.Local) "2021-05-06T03:29:47.269450883+12:00" time.Date(2021, time.May, 6, 3, 29, 47, 269450883, time.Local)

main » TZ=UTC go run .
time.Date(2021, time.May, 5, 15, 29, 54, 909582162, time.Local) "2021-05-05T15:29:54.909582162Z" time.Date(2021, time.May, 5, 15, 29, 54, 909582162, time.UTC)

cc @rsc

It's true that MarshalText stores a Z rather than a time offset when the timezone is UTC.  And it's true that this means that UnmarshalText does not recover the same Location value.  However, it does recover the same time offset.
Why does this matter?

the concern is that usually time.Time.MarshalJSON and time.Time.UnmarshalJSON are bidirectional, unless you are running with TZ=UTC. this caused an "it works on my machine" bug. if it was never or always, that would be fine, but it looks like some times we try and use time.Local when time.Time.UnmarshalJSONing:
package main

import (
        "fmt"
        "time"
)

func main() {
        fmt.Printf("%p\n", time.Local)
        t := time.Now().Round(0)
        b, err := t.MarshalJSON()
        fmt.Printf("%#v, %s\n", t, err)
        fmt.Println(string(b))
        t = time.Time{}
        err = t.UnmarshalJSON(b)
        fmt.Printf("%#v, %s\n", t, err)
}

[user@localhost ~]$ TZ=UTC go run .
0x5676a0
time.Time{wall:0x232e9915, ext:63757064330, loc:(*time.Location)(0x5676a0)}, %!s(<nil>)
"2021-05-19T23:38:50.590256405Z"
time.Time{wall:0x232e9915, ext:63757064330, loc:(*time.Location)(nil)}, %!s(<nil>)
[user@localhost ~]$ TZ=NZ go run .
0x5676a0
time.Time{wall:0x1d2f3de7, ext:63757064334, loc:(*time.Location)(0x5676a0)}, %!s(<nil>)
"2021-05-20T11:38:54.489635303+12:00"
time.Time{wall:0x1d2f3de7, ext:63757064334, loc:(*time.Location)(0x5676a0)}, %!s(<nil>)

MarshalJSON and UnmarshalJSON are never going to be bidirectional with regard to the timezone, because the timezone is inherently dependent on what timezones are supported on the local machine.  MarshalJSON maps from the exact timezone to a zone offset, and UnmarshalJSON returns a timezone with that offset.  Nothing ensures that they are the same, and in principle it is impossible to ensure that they are the same.  So although the unmarshaled result should always satisfy time.TIme.Equal with the original time, it won't always have the same timezone.

that makes sense, my request then is to never use time.Local during time.Time.UnmarshalJSON, since assuming that +12:00 means time.Local (for TZ=NZ) is as incorrect as assuming that Z is time.Local (for TZ=UTC).

 I can get the same behaviour locally by explicitly running it with env TZ=UTC, but using any other timezone results in an timezone object with offset=0 but name="".
The difference in my case seems to be that when I run with env TZ=UTC on my local system, I get a &time.Location{name:"UTC", zone:[]time.zone(nil), tx:[]time.zoneTrans(nil), extend:"", cacheStart:0, cacheEnd:0, cacheZone:(*time.zone)(nil)} instead.
I'm perhaps misunderstanding how time.Parse is meant to work, but given the time we're parsing is specified as +00:00 I would expect it to end up with a time.zone(nil) etc?

@daenney: caution time on the playground is screwey [recte deterministic], so that things are reproducable; but I think you are stumbling over the same thing I found.

I noticed the discrepancy with playground too and saw you mentioned the same thing. I updated my comment to include runs from  my local system.
On further reflection, I suppose +00:00 could also be GMT, so I suppose always parsing +00:00 as UTC wouldn't be correct. But I do wonder why with env TZ=UTC the behaviour is altered.

I have related problems with Location. In my case the reason is that functions Now() and unixTime(sec int64, nsec int32) don't use t.setLoc(Local) but just binds it to Time.loc. Other functions uses t.setLoc(Local) and when Local == utcLoc it sets nil to Time.loc.
https://github.com/golang/go/blob/912f0750472dd4f674b69ca1616bfaf377af1805/src/time/time.go#L1073-L1081
https://github.com/golang/go/blob/912f0750472dd4f674b69ca1616bfaf377af1805/src/time/time.go#L1083-L1085
I faced this issue when migrating from lib/pq to pgx.  I had to forcely set Local to custom timezone (not utc) to make it work.
This problem is mentioned in https://github.com/jackc/pgx/issues/863

Relevant, I think: https://github.com/golang/go/issues/30114#issuecomment-461372130

time: Parse not setting Location to Local when TZ=UTC

I think this is not an issue, because when TZ=UTC, then *time.Local and *time.UTC have the same contents even though they are separate variables (GoString() shows different names, but the behavior is identical unless you actually fmt the time with "%#v"). I think it works as intended for TZ=UTC. However, there is a potential issue with real locations (not UTC) that have a zero offset to UTC. They get serialized with an appended "Z" instead of the numeric zone offset, and deserializing always gives a time with the location UTC. So a serialize/deserialize roundtrip of a local time (like time.Now()) gives back the original location everywhere else, but for locations with a zero UTC offset at the time, you will instead get back UTC. This can cause peculiar results, especially for locations such as London that part of the time has a zero offset to UTC, and otherwise not due to daylight saving time.
Example: https://play.golang.org/p/ema0DpRVUsu (note the last time for London)
A workaround for timestamps and other use cases where it is possible to do so, is to always handle everything as UTC, so instead of writing time.Now(), write time.Now().UTC().


Add the ability to add arbitrary content to the PR Preview check

This PR allows a workflow to upload a file pr_preview-extra.md. If found, the contents of this file will be appended to the PR Preview output markdown.
Unblocks #958
Since this PR modifies the privileged GitHub workflow, this PR will show no change in behavior.

Note, I am holding off on merging this until I'm ready to sit down and work on #958.


Drop hardcoded /application path

The handling of .warmupdone & beach-cron-hourly.sh used an hardcoded path instead of whatever BEACH_APPLICATION_PATH was set to.

Hm… This probably needs an adjustments to whereever .warmupdone is actually used (health check, …) – or we leave that as is?

You can make the path leading to .warmupdone configurable as you did, if you also make the configuration of the health check for instance pods more flexible. Problem is that if you configure the APPLICATION_PATH variable as an instance variable, there's no easy way to access it in the code which generates the pod configuration:
https://github.com/flownative/beach-controlpanel/blob/dfe8544657c49605dae9d3f71aa9e8502072f040/DistributionPackages/Flownative.Beach/Classes/Domain/Context/Instance/Service/InstanceKubernetesService.php#L1069
We could make the application path a "first-class-citizen", or more specifically, a property of an instance. Currently there's a concept called "DeploymentFlags" used for that, you might want to check the respective model. There's also the concept of userProvidedConfiguration in those flags, but it is not very elaborate.
In the end, we need to decide if we want to take the extra step and create a way to configure those kinds of variables / properties in a general fashion via the UI or .beach.yaml. Or if we find a workaround.
Another approach might be to make the health check endpoints configurable.

A chicken-out solution would be to leave the .warmupdone where it currently is – no harm done. I'll think about it…


Fail Bulk(W):LIBUSB_ERROR_TIMEOUT

I have done rootfs burning, but sometimes the burning can be successful, and sometimes Fail Bulk(W):LIBUSB_ERROR_TIMEOUT error will occur

I have downloaded the latest uuc to fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot

I download by raw is no problem,What is the cause of this?

It should be out of the memory.  file system takes too much memory and schedule have not time flush it to storage.


Command line

Any thoughts about a command line command ? That would replace having to use notify-send in linux vs terminal-notifier on mac vs ...

That is a really good idea, actually. Just adding a CLI file and a bin-property to the package.json and we'll be good to go. I'll look into it.

+1 for this, would be very useful

This is implemented as of v4.2.0


Release date for rapid testing?

Background
According to https://www.coronawarn.app/en/blog/2021-03-31-corona-warn-app-test-integration/
"The federal government's Corona-Warn-App is getting another important feature. In the future, the app will integrate rapid COVID-19 tests. Users can save the confirmation of their test in the app and add them to the contact diary. In addition, anyone who tests positive for COVID-19 through a rapid test will also be able to warn contacts via the Corona-Warn-App in the future."
and
"The rapid test-function is supposed to be available in the second half of April. SAP and Deutsche Telekom will provide further information on the details here soon."
Your Question
Is the rapid test function going "to be available in the second half of April"? If not, then the blog should be updated.

@MikeMcC399 Ok, noted. Thanks.

Federal Government integrates rapid COVID-19 tests into Corona-Warn-App
https://www.coronawarn.app/en/blog/2021-03-31-corona-warn-app-test-integration/ has been superseded by
Project team integrates rapid COVID-19 tests into Corona-Warn-App version 2.1
https://www.coronawarn.app/en/blog/2021-05-02-corona-warn-app-version-2-1/ dated May 2, 2021
Eight partners participate from the beginning
Deutsche Telekom and SAP’s project team have integrated the announced rapid COVID-19 tests in the Corona-Warn-App’s latest version (2.1) launching today. Users can now break infection chains and warn their fellow citizens even faster. The update will be available to all users within the next 48 hours."
The issue about the release date is therefore resolved through the release today.
This issue can therefore be closed.


feature ideas for context menu

hello,
would it be possible to add multiple items for the sub items incase you have a long list and it goes off page?
also would it be possible to add more sub menu, so at the moment you can only go 1 deep, but  could it be possible to go further?
hope this makes sense,
many thanks.

I think this will make sense. Since this is planned as a separate plugin, it means there will be more freedom to add functionality and use some of your own solutions

The conext menu is implemented in plugin in the basic form. Anyone can make a pull requests thus help in the development of the functional

@Ni55aN hello! Can you suggest any example about how to avoid using context menu plugin and change this functionality to add new nodes by clicking buttons somewhere?

@Clasen00 similar issue #38  (but for the old version)
Try this:
   const node = await anyComponent.createNode();

  node.position[0] = x;
  node.position[1] = y;
  this.editor.addNode(node);

where anyComponent it is the instance of registered component in your editor
const anyComponent = new AnyComponent();

editor.register(anyComponent);

The rete-context-menu-plugin has been updated.
alight had been replaced with Vue.js. Added support of submenus and other useful things


no flic.lua whenth 'main.lua -dataset flic -expID test-run`

I execute the command 'th main.lua -dataset flic -expID test-run', but your code does not contain src/dataset/flic.lua,  and after I changed mpii.lua to flic.lua, it shows cannot find data/flic/annot.h5

Yeah, sorry about that! In the latest updates to the code infrastructure support for FLIC was temporarily dropped. If you want to test the code on FLIC the commit from a couple months ago still works well, and hopefully I will set up proper support for FLIC in the new code soon.


Building a Dakota environment

Testing with python=3.10 does not work.

Python=3.9 works with OpenMDAO installation. Unfortunatly the kernel does not find 'dakota' on the path... but the terminal does.

The default build does not point to the path of the dakota install.
Run this to find its location: jupyter kernelspec list:
Available kernels:
python3    /home/jupyter-jdehart/.conda/envs/dakota/share/jupyter/kernels/python3
dakota     /home/jupyter-jdehart/.local/share/jupyter/kernels/dakota
bash       /usr/local/share/jupyter/kernels/bash
sos        /usr/local/share/jupyter/kernels/sos
So now go to the kernel location and add an environment variable.
WAS:
{
"argv": [
"/home/jupyter-jdehart/.conda/envs/dakota/bin/python3.9",
"-m",
"ipykernel_launcher",
"-f",
"{connection_file}"
],
"display_name": "dakota",
"language": "python",
"metadata": {
"debugger": true
}
IS:
{
"argv": [
"/home/jupyter-jdehart/.conda/envs/dakota/bin/python3.9",
"-m",
"ipykernel_launcher",
"-f",
"{connection_file}"
],
"display_name": "dakota",
"language": "python",
"metadata": {
"debugger": true
},
"env": {
"PATH": "/home/jupyter-jdehart/.conda/envs/dakota/bin:$PATH"
}
}


[SPARK-36759][BUILD] Upgrade Scala to 2.12.15

What changes were proposed in this pull request?
This PR aims to upgrade Scala to 2.12.15 to support Java 17/18 better.
This is WIP because we need Scala related libraries like silencer-lib and we need to see CI results.

[x] https://github.com/ghik/silencer/pull/70

Why are the changes needed?
Scala 2.12.15 improves compatibility with JDK 17 and 18:
https://github.com/scala/scala/releases/tag/v2.12.15

Avoids IllegalArgumentException in JDK 17+ for lambda deserialization
Upgrades to ASM 9.2, for JDK 18 support in optimizer

Does this PR introduce any user-facing change?
Yes, this is a Scala version change.
How was this patch tested?
Pass the CIs

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47780/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47780/

Test build #143278 has started for PR 33999 at commit 550db10.

Test build #143278 has finished for PR 33999 at commit 550db10.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143278/

Test build #143286 has started for PR 33999 at commit 4e1f494.

Test build #143286 has finished for PR 33999 at commit 4e1f494.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143286/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47789/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47789/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47789/

Test build #143305 has started for PR 33999 at commit 623c77a.

Test build #143305 has finished for PR 33999 at commit 623c77a.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143305/

Test build #143309 has started for PR 33999 at commit bc679e3.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47810/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47810/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47810/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47807/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47807/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47807/

cc @gengliangwang

cc @viirya and @sunchao , too.

I think that's reasonable for 3.2, IMHO

Test build #143309 has finished for PR 33999 at commit bc679e3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143309/

Thank you, @srowen .

Seems not WIP now, we may need update the PR description.

Thank you, @viirya and @sunchao , too.
Yes, I made a PR to silencer repo and made the release.
I updated the PR description.
Merged to master/3.2.

Late +1


trigger event from cli

Signed-off-by: Fxrdf<EMAIL_ADDRESS>Description
Please describe the aim of the pull request and the changes made in the commits.
Purpose

[ ] Bug fix
[ ] New feature
[ ] Other

How was this tested? (if applicable)
Please describe how the proposed changes have been tested, and the outcome of the tests.
Test Platform Details (if applicable)
Operating system: OSX/Windows 10/Ubuntu 20.04/etc.
CLI version:
Hypervisors/Platforms (if applicable): qemu/hyper-v/google cloud platform/vmware workstation/etc
Kernel version (if applicable):
Checklist

[ ] Code is commented
[ ] Unit test coverage encompasses new code
[ ] Existing unit tests pass with these changes
[ ] PR is signed

I'd like to expand the features of this PR.

With CloudEvents, duplicate IDs are prohibited. This means you cannot upload the same event twice. Our server does make a non-compliant exception for convenience: the user may submit a CloudEvent with no defined id and our server will generate a random ID each time. I think this CLI command should have an optional boolean flag that removes the ID from the cloudevent in the file before sending it. This would make it possible to take advantage of this server behaviour and send the same event over and over without editing the file each time.

CloudEvents have a payload, along with many metadata fields both required and optional: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md

I think it could prove helpful to be able to optionally inject or overwrite some of these using CLI flags. For example, --source=alan as an example of a field that is part of the CloudEvents spec. And perhaps something like this for extension context attributes: --extension USER=alan.

About the 1. new features about generating ids, in my case it is not necessary to change the JSON file, if creating event failed it means it could be existing, and I just replay the event. Anyway, I can do it, but it can produce a bunch of events which have the same behavior.


Use Object.defineProperty in .toObject

For #432.

Do you have any profiling that helps understand the performance implication of a change like this?
It seems like we also have the choice of saying just not to convert to plain ol JS objects if your map keys contain strings that overlap with JS object special keys.
This ultimately boils down to a tradeoff, so we need some information to make a choice

Will work on that this weekend.
I think we also have a third option of providing a .toObjectSafe(); changing the current .toObject is, technically speaking, a breaking change, so another method may as well be preferred if a smooth transition is desired.

It seems like this pull request has been abandoned so I am going to close it. Please feel free to reopen if you'd like to continue working on this!


Compare with GODAD technique

Charlie Zender documents a Group-Oriented Data Analysis and Distribution (GODAD) technique in the NCO documentation. This is actually really similar to what I'm trying to accomplish with this package, so there should be some opportunity for overlap and reinforcement.

The idea here is straightforward; every Case in an Experiment is encoded as a unique Group. Following the classic NetCDF data model, every Group can act as a unique NetCDF dataset. There are some rules about inheriting common coordinates/dimensions/attributes but we don't have to lean on them. The various levels of Cases in an Experiment thus would encode a Group path - just like the file hierarchy I've been toying about in the back of my mind. An Experiment-processed result could then serialize to an actual file system hierarchy on disk, or just a hierarchical NetCDF file with the Cases built into the Group paths.
This solves the issue of having non-aligned coordinates on the datasets read in by an Experiment; they don't have to be compared in many situations and can be treated differently. If everything further lives in dask territory, then all we really have to do is extend the xarray.Dataset interface to work on our Experiment containers by applying the operations to each Group/Case in our data cache.


Document citus.multi_task_query_log_level

Why are we implementing it? (sales eng)
What are the typical use cases?
Communication goals (e.g. detailed howto vs orientation)
Good locations for content in docs structure
How does this work? (devs)
Allows one to error or warn on queries which run in parallel (for multi-tenant use-cases). Probably worth documenting as part of a migration step. (e.g. set to ERROR during testing to see if all queries have been migrated to suitable multi-tenant ones).
Example sql
Corner cases, gotchas
Are there relevant blog posts or outside documentation about the concept/feature?
Link to relevant commits and regression tests if applicable

For this it'd be worth documenting both the logging use case (just have cross-shard queries show up - potentially something one could use in production) as well as the enforcement use case (actually error out for cross-shard queries - this one would likely only use in their test suite)


It is posible update the project to the most recent angular 9 version

Issue type
I'm submitting a ...  (check one with "x")

[ ] bug report
[X] feature request
[ ] question about the decisions made in the repository

Issue description
It is posible pdate the project to angular 9 ?, that means use @angular/core in version 9.1.0.
Current behavior:

Expected behavior:

Steps to reproduce:

Related code:

insert short code snippets here

Other information:
npm, node, OS, Browser
<!--
Node, npm: `node --version` and `npm --version`
OS: Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
Browser: Chrome/Safari/Firefox/etc?
-->

Angular, Nebular
<!--
Check your `package-lock.json` or locate a `package.json` in the `node_modules` folder.
-->

I created the issue by mistake, it was already created before
#5637


GitHub deploy not working

I did a fresh installation of now-cli with npm and ran the following command:
$ now rauchg/slackin

(following this blog post)
The error I got was
> Error! The specified file or directory "slackin" does not exist"

Were GitHub deployments deprecated with the V2 API or is it something on my machine? If it's the latter, is there a REST endpoint that I could call to deploy a repository without cloning its contents?

I did go to deploy.now.sh with this repository but got the following error:
Deploy failed, please check the repo and try again.

Hey @paulogdm!
Thanks for the info, would it be possible to call the deployments endpoint and pass in file contents? https://zeit.co/docs/api#endpoints/deployments


Update programs-arangosh-examples.md

Adding the edge case identified here: https://github.com/arangodb/arangodb/issues/14457 as a warning in the documentation

Sorry for the delay. This is a much-needed addition! I rephrased it a bit and linked to the relevant section of the configuration page. Reverted the changes to 3.4 and 3.5 as these versions are unmaintained (long EoL).

Saw the rephrase, it is indeed better than my original.
Thank you for including it. Didn't test beyond 3.6, mistakenly assumed for 3.4 and 3.5, my bad.

Thanks again.


Tagging: handling invalid and/or multiple entries by the tagging function

Feature Request regarding free tagging:
The user may enter a string which is considered invalid by the tagging function. So the tagging function should be able to return null upon receiving the input.  My tagging function (an email client):
    $scope.uiSelectNewTag = function(email){
        email = email.trim();

        if (email.match(/^[a-z][a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$/i)) {
            var newItem = {
                type: 2,
                email: email,
                key: email
            };
            return newItem;

        } else {
            return null;
        }
    };

Also the user may copy-paste a string (e.g. a list of emails separated by semicolons) into the ui-select and the tagging function may decide there are more than one item in the input. So I guess its a good idea to have the tagging function return an array (zero or more items) instead of a string.

Regarding the second point: couldn't you solve that by using tagging-tokens?
I'm all for the main issue here, namely adding some sort of tag validation.

Regarding tagging-tokens:
I doubt if copy-pasting data containing several tagging-tokens (; for example) into the ui-select input would trigger the tagging function several times. I did not give it a try. The current tagging function does not support other desirable functionality, i.e. it does not create a tag onBlur, so I could not actually use it. I ended up to customizing ui-select to implement the missing features.

@darrudi we have the exact same use case with emails:

Adding entries via the tagging feature
Copy-pasting what could be multiple entries
Adding the entry on input blur
Not adding invalid entries at all

Would you mind sharing how you customized the plugin to achieve this?

@vdsabev: sorry for the delay. I guess you'd be better off with ngTagsInput as my customizations were somehow hackish.

+1 for this feature.
It would be really really useful to return a null with the tagging function when you don't want to add a not-valid field

Seems to be resolved with #678 and #664


USHIFT-5228: Use greenboot healthcheck for verifying cncf multinode health

To test a CNCF fix in pre-submits, the c3710444498c9d3142ddfbebd2f0c01557c4807b was implemented to temporarily disable CNCF test exclusion. It must be reverted before merging the PR.

/test ?

/test e2e-aws-tests-periodic
/test e2e-aws-tests-bootc-periodic

/hold
Feel free to unhold in case you want more reviews/tests.

/test e2e-aws-tests-periodic

/unhold


add trigger name as a label in Prometheus metrics

This PR is used to resolve https://github.com/kedacore/keda/issues/3588

use the existing Trigger.Name field as the scalerName
add scalerName to prometheus metric as a label to facilitate the grafana dashboard display

see below:

any update @cdlliuy ?
Could you update the changelog and solve the conflicts?

any update @cdlliuy ? Could you update the changelog and solve the conflicts?

Done.  Thanks for the reminder!

@tomkerkhove , can you help me to understand why "e2e-tests / e2e tests (pull_request_target) "  is queued but not run?

It's waiting for the label to be added on passing AFAIK.

/run-e2e *

/run-e2e *

/run-e2e

@tomkerkhove  @JorTurFer , I rebased to resolve the latest conflict on change.md, Can you help to run e2e and merge this PR?

/run-e2e

Hello @cdlliuy ,
I didn't remember to request the documentation about this feature. It's true that the parameter was already there but it wasn't used either documented.
Could you open a PR in keda-docs repo documenting it?


Refactor Tests:

is com.predic8.membrane.servlet.test.IntegrationTests still in use?

Tests are designed to not start membrane but rely on externally running instance. Does not seem to have a proxies.xml for it so they can't be run

The IntegrationTests suite is launched as part of the integration-test Maven goal.

The IntegrationTests suite is launched as part of the integration-test Maven goal.

This is true for the core (=core package) as well as the war (=servlet package) module.


AutoForm.getSelectedOptions

If you like this idea, I will set pull request for https://github.com/comerc/meteor-autoform/commit/2b17bb8f3b1e4b693fc17a335f249075c57d3dfc
usage:
Cars.attachSchema new SimpleSchema
  carId:
    type: String
  details:
    type: Object
  "details.complectation":
    type: [Number]
    autoform:
      options:
        1: "one"
        2: "two"

data = Collections.Cars.findOne {carId: @params._id}
ss = Collections.Cars.simpleSchema()
a = AutoForm.getSelectedOptions(data.details.complectation, "details.complectation", ss)
return a.join(", ")

I think this would be better as a separate add-on package.

I released this issue with other way
https://github.com/comerc/meteor-autoform-fixtures/blob/master/autoform-fixtures.coffee#L72


Bug: zoom animation applied to captions when data-cropped=true

Thanks for working on this library again - it's an awesome project.
When animating from a cropped thumbnail (as per docs), the 'zoom' animation is applied to captions as well as the actual image. The desired behaviour is for captions to fade in, as per the demos.
This can easily be reproduced by adding data-cropped="true" to a photoswipe item in a gallery that uses the zoom animation. Demo here:
https://codepen.io/tombennet/pen/wvmLxaO
Thanks!

Have you found a workaround?

Nope!


Add 6 new datasets - Twitch social networks

Add 6 Twitch social networks from the paper:
"Multi-Scale Attributed Node Embedding"
For each dataset: "metadata.json", "preprocess.ipynb", "README.md", "task_node_classification.json" are included.

@tingwl0122, a couple of general comments:

Please remove your local IDE config files from the commit (those under .idea).
We are changing the data loading API a little bit (see PR #325). So please wait a couple of days for us to merge that PR and then create npz files following the new format.

@StevenGolden1203, could you check why all the tests are skipped in this PR?

@StevenGolden1203, could you check why all the tests are skipped in this PR? Possibly a bug introduced by PR #329?

I have removed the unnecessary files.
Sure, I'll run tags locally first.

I have removed the unnecessary files. Sure, I'll run tags locally first.

BTW, please also avoid the previous commit history in new PRs.
Probably the easiest way for you to do it now is to delete your current fork and create a new fork from the latest main repo. And then add the changes and open a new PR.

@StevenGolden1203, could you check why all the tests are skipped in this PR? Possibly a bug introduced by PR #329?

I have identified the problem, an up-coming PR will fix it.

@tingwl0122 Since https://github.com/Graph-Learning-Benchmarks/gli/pull/334 is merged, you can sync and check that whether the tests are running. Please let me know if there are any problems!

BTW, please also avoid the previous commit history in new PRs.
Probably the easiest way for you to do it now is to delete your current fork and create a new fork from the latest main repo. And then add the changes and open a new PR.

Sure, I'll do that!

@tingwl0122 Since #334 is merged, you can sync and check that whether the tests are running. Please let me know if there are any problems!

No problem!


Crash with react-native-tab-view 3.0.0 and react-native 0.61.5

Current behaviour
Upgrading from 2.5.x to 3.0.0 requires you to have react-native > 0.63.
Otherwise it can crash when using non-custom TabBarItem because of the replacement of TouchableItem by PlatformPressable that requires Pressable from react-native.
Expected behaviour
Maybe add a disclaimer in the README.md like this :

React Native version
Supporting react-native-tab-view version

< 0.63
<= 2.5.2

Having same issues??

I am having same issue.
Is there any solution for this yet??

I can confirm this

Im currently experiencing this issue too.

This got mereged, closing this.