WFLY-9746 Server does not start with Artemis configured using JGroups TCP stack

https://issues.jboss.org/browse/WFLY-9746
https://issues.jboss.org/browse/WFLY-5459
PR makes the following changes to fix compatibility w/WF11:

Introduces new schema and model version

Add unit tests for new model/schema versions
Migrate existing transformer logic to ExtensionTransformerRegistration leveraging ChainedTransformationDescriptionBuilder.

Restore the jgroups-stack capability reference to refer to a ChannelFactory capability (i.e. WF11 behavior).
Finally rename jgroups-channel -> jgroups-cluster (WFLY-5459)
Add new jgroups-channel attribute for broadcast/discovery groups, referencing a CommandDispatcherFactory capability to distinguish between configuration referencing a JGroups stack vs a JGroups channel
Deprecate the jgroups-stack attribute.
Support legacy behavior (i.e. when jgroups-stack is specified instead of a jgroups-channel), by fabricating a JGroups channel resource and setting the jgroups-channel attribute appropriately.
Add the appropriate transformers
Add docs describing how to configure broadcast/discovery (these did not previously exist).

@jmesnil Please review.

@pferraro I'll finish reviewing the PR tomorrow
Thanks for doing it, it was more than I expected from you. Unfortunately, the code to bump the messaging-activemq subystem XML version and the messaging transformers update was stuck in the Artemis 2.4.x branch (https://github.com/jmesnil/wildfly/commit/5004bc39fc80b498e2b7d0526051b1dbf494beda).

@pferraro I've requested a few changes to the PR but they are minor and does not affect the running code.
I tested your branch and confirmed that all the following use cases work with it:

with <subsystem xmlns="urn:jboss:domain:messaging-activemq:2.0">

OK <broadcast-group name="bg-group1" jgroups-stack="udp" jgroups-channel="activemq-cluster" broadcast-period="2000" connectors="connector"/>
OK <broadcast-group name="bg-group1" jgroups-stack="tcp" jgroups-channel="activemq-cluster" broadcast-period="2000" connectors="connector"/>

with <subsystem xmlns="urn:jboss:domain:messaging-activemq:3.0">

OK <broadcast-group name="bg-group1" jgroups-channel="ee" jgroups-cluster="activemq-cluster" broadcast-period="2000" connectors="connector"/>
OK <broadcast-group name="bg-group1" jgroups-stack="udp" jgroups-cluster="activemq-cluster" broadcast-period="2000" connectors="connector"/>

There is one use case that does not work:

with <subsystem xmlns="urn:jboss:domain:messaging-activemq:3.0">

FAIL <broadcast-group name="bg-group1" jgroups-stack="udp" jgroups-cluster="udp" broadcast-period="2000" connectors="connector"/>

It fails with the error:
10:52:29,982 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 15) WFLYCTL0013: Operation ("add") failed - address: ([
    ("subsystem" => "jgroups"),
    ("channel" => "udp")
]) - failure description: "WFLYCTL0436: Cannot register capability 'org.wildfly.clustering.jgroups.channel-factory.udp' at location '[
    (\"subsystem\" => \"jgroups\"),
    (\"channel\" => \"udp\")
]' as it is already registered in context 'global' at location(s) '[[
    (\"subsystem\" => \"jgroups\"),
    (\"stack\" => \"udp\")
]]'"

Using the udp value for the jgroups-cluster attribute does not work. It seems a bad idea anyway since jgroups-cluster is the logical name of the cluster (so activemq-cluster is more correct). However I am not sure if that shows an underlying issue with the cap/req...

A couple points on this configuration:
""

To your point, "udp" is not a realistic cluster name.  Cluster names are use case specific identifiers meant to distinguish themselves from other logical clusters using the same clustering infrastructure.
When we introduce capability constraints, there are going to be values for certain attributes that are no longer valid, if they result in the creation of capabilities whose names already exist somewhere else in the configuration. You can many examples of this in the other subsystems where a given capability is supplied by multiple resources.

@jmesnil Feedback incorporated.

@pferraro thanks paul!

@kabir fiy, this PR fixes https://issues.jboss.org/browse/WFLY-9746 that is blocker for WildFly 12


Failing build

Bug Report 🐛

Currently the build fails many times when a PR is made. A re-run is required many a times for this to pass successfully. The failure is due to this line.
It involves fetching model but since azure(where the models are hosted) is inconsistent, we face the error.
Expected Behavior
The build shoud pass.
Current Behavior
The build fails,
Possible Solution

Passing an offline:true flag to options will ensure the pass.
Steps to Reproduce

Make a PR.
The build might fail with the error that it was not able to download the model.

Context (Environment)

Desktop

OS: Windows, Ubuntu
Browser: Chrome

Detailed Description

Passing offline:true will make the build pass.

@dselman @K-Kumar-01 The change is required for more test cases than expected. You can see the latest build on master is failing.

@algomaster99
I think we would need to pass the offline: true option in all the instances where loadModelManger is used.

Right

@dselman
const modelManager = await ModelLoader.loadModelManager([modelFilePath]);
Here, the third argument is the options one.
Could you tell about second argument.
I want to understand how to pass the third argument without passing the second argument/ passing the appropriate second argument.
Thanks in advance:)

There is an issue!! @K-Kumar-01
I still see sometimes failing tests in markdown-cli and markdown-transform but the fix in #445 should already help. I'll report when I'm done with the other packages.


Update my mods for KSP 1.10

Mechjeb2 required a rebuild and the other mods seems to work as is

Thanks for the updates!


Automatic Differentiation for Solid Mechanics in Julia | Andrea Vigliotti | Juliacon 2022

Author: 	Andrea Vigliotti<EMAIL_ADDRESS>github:	https://github.com/avigliotti
video url:	https://www.youtube.com/watch?v=EeC2pu9i_F0
0:10 Introduction
0:30 Why AD for solid Mechanics?
1:50 One example, the rod element
2:50 Why Julia?
3:24 AD4SM.jl
4:00 How a second order forward mode AD System works
6:46 Examples of simulation results
AD4SM.jl is here
the slides and more examples are here
the paper is here

I hope that this GitHub will come to live again. I will try my best to achive that. Meanwhile I tweaked a bit your work.
Contents
0:10 Introduction
0:30 Why AD for solid Mechanics?
1:50 One example, the rod element
2:50 Why Julia?
3:24 AD4SM.jl
4:00 How a second order forward mode AD System works
6:46 Examples of simulation results
Mentioned resources
AD4SM.jl package link.
Slides of presentation and additional examples link.
Andrea Vigliotti & Ferdinando Auricchio, Automatic Differentiation for Solid Mechanics.

Thank you. Timestamps were added to the video, we will close this issue, when we get access rights to this GitHub repository.


Add a -p flag to set the deploy processing timeout

For extremely large manual deploys, we need to add a -p timeout on deploys.

Why -p?
Should be --timeout or something descriptive

Closing this for now. Can revisit later

I did some more research into this we can talk about it during the sync.


Dictionaries in Tableau

You have added number of clickhouse functions. is it possible to use clickhouse dictionaries in this connector?
(https://clickhouse.com/docs/en/sql-reference/functions/ext-dict-functions/#dictget-dictgetordefault-dictgetornull)
this would open new possibilities to optimize joins with reference tables.
V.

I'm afraid it's not. There's no way in SDK to 'tune' Joins (change the Tableau-generated statements with Joins).
On the other side, the CH-specific code including Dict functions could be used in the datasource Custom SQL / Initial SQL.

hi yurifal,
sorry for my confusing description. i was not suggesting to implement something that would change how tableau generates SQL statements or joins. I was suggesting implementing dictGet function (https://clickhouse.com/docs/en/sql-reference/functions/ext-dict-functions/#dictget-dictgetordefault-dictgetornull) as you did with other functions (RAND, REAL, MOD and etc). This function would be very handy to improve the performance of Clickhouse queries in Tableau.

oh, I see.
one question though: do you feel the dictGet only would be enough?
or the dictGetOrDefault & dictGetOrNull would be welcome, too?

hah, its always easy to ask more, but if it takes to implement other 2 functions, dictGet should be sufficient.


⚠ GitLab Server has degraded performance

In be4e10c, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 9441 ms

Resolved: GitLab Server performance has improved in bf96599.


Fixed dragging down issue when sorting vertically

Horizontal sorting worked fine. But if you wanted to sort vertically, you needed to drag below the desired position to select that position. I therefore added to the index instead of selecting the current when dragging down.

Coverage remained the same at 95.015% when pulling 944b80fb0e1daf9370d0351d1493400a7d847ac6 on Fabeline:master into acdc46f2dc5331a8da04ff2b37996ae2f955b565 on jasonslyvia:master.

Great point, thanks!

released as 1.4.7, and demo added.


gomlx shouldn't depend on deprecated Client APIs

gomlx seems to call deprecated XLA Client APIs (e.g. https://github.com/gomlx/gomlx/blob/main/c/gomlx/computation.cpp#L743), but it should be using new PjRT ones.
Lots of those API calls seem auto-generated, could we at least filter down to those which are actually used?

hi George, yes, I've been postponing the PjRT ones because they lacked the type inference for the operations -- I need to figure out myself the shape of the output of the operations, while the XlaBuild provides that.
Can I keep using the XlaBuilder API -- for the type inference -- and then convert it to StableHLO and use PjRT to execute things ? What is the equivalent API in PjRT for tensors (OnDeviceBuffer and similar ?)
Sorry, when you mentioned "Lost of those API calls seem auto-generated", which API calls are you referring ? The Go ones in gomlx.xla where all manually written, and most are used -- except AOT and StableHLO, which I started a while back to try to get PjRT to work, but failed > year ago.
Btw, any recommend pointers for the PjRT API ?
Thanks!!!

I did find the base page (very poor on details and I didn't find any example) here:
https://github.com/openxla/xla/blob/main/xla/pjrt/c/README.md
The public design doc:
https://docs.google.com/document/d/1Qdptisz1tUPGn1qFAVgCV2omnfjN01zoQPwKLdlizas/edit
And some discussions here:
https://github.com/openxla/xla/issues/7038
But from the discussions, there are still some issues ... plus the BUILD rules are not clear ... that's one reason I hesitate investing too much time upfront and postpone as much as possible, till others braved the code "archeology".
The best documentation I get is asking Gemini to make sense of it for me 😄
Am I missing something ?

I think the first issue is that gomlx should stop using internal APIs, e.g. proto here https://github.com/gomlx/gomlx/blob/main/c/gomlx/aot_compile.cpp#L224-L226 is clearly internal (I'm still confused how did that even work with respect to visibility)

I did find the base page (very poor on details and I didn't find any example) here:

Could you ask in the PjRT/XLA repo for help on runtime docs?

Yes, the AOT part was pointed out on a discussion > year ago by someone in XLA team. But it never fully worked. I'll drop that part for now, till I get PjRT working.
Any other internal parts I shouldn't use ?
Is the Client API still working ? (I mean, it was in April when I last compiled the XLA binary)
About asking for help on PjRT/XLA, I thought that was the topic of https://github.com/openxla/xla/issues/7038, which is still open I believe. I did subscribe to it. But let me know if it helps opening another issue, I'd be happy to.

Yes, the AOT part was pointed out on a discussion > year ago by someone in XLA team. But it never fully worked. I'll drop that part for now, till I get PjRT working.

Yes please, the proto is an internal implementation detail of AOT. AOT itself works, but uses a different serialization now.

Is the Client API still working ? (I mean, it was in April when I last compiled the XLA binary)

It still is, but we're actively trying to remove it.

Thanks George.
The AOT part will be out in the next release of GoMLX -- hopefully tomorrow morning.
Changing to use PjRT will come next, but wrapping the PjRT C API in Go may take a while (weeks?). I'm still reading around, trying to figure out the details of how things work -- the lack of documentation makes it a pain😞
Btw, can you confirm the XlaBuilder will still work ? Can I use it to generate the HLO ? If not is there any other recommended way to get type/shape inference for the various ops ?

XlaBuilder is not going away anytime soon. There's a plan to transition to
StableHLO fully, but that will take a while.
StableHLO however should support dynamic shapes and doing required shape
inference itself - maybe it's a question of finding the right APIs?
On Tue, Jun 11, 2024 at 5:35 PM Jan @.***> wrote:

Thanks George.
The AOT part will be out in the next release of GoMLX -- hopefully
tomorrow morning.
Changing to use PjRT will come next, but wrapping the PjRT C API in Go may
take a while (weeks?). I'm still reading around, trying to figure out the
details of how things work -- the lack of documentation makes it a pain😞
Btw, can you confirm the XlaBuilder will still work ? Can I use it to
generate the HLO ? If not is there any other recommended way to get
type/shape inference for the various ops ?
—
Reply to this email directly, view it on GitHub
https://github.com/gomlx/gomlx/issues/52#issuecomment-2161064939, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACVGH4UVETFLQ3AFPACIU3ZG4KLJAVCNFSM6AAAAABJCAAGXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRRGA3DIOJTHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

StableHLO however should support dynamic shapes and doing required shape
inference itself - maybe it's a question of finding the right APIs?

Btw what do you mean by "finding the right APIs" ? Do you mean it's a question for the XLA team to find the right APIs to create them ?

Nope, I've meant finding the right APIs for your project - as far as I understand JAX already builds dynamically shaped StableHLO for XLA and runs shape inference for it.

Yes, but Jax does so in Python. My project is in Go.
Ideally, not everyone who uses PjRT would need to reimplement the shape inference ... the project that implements the ops usually implements the exptected output shape of them.  I'm sure it is implemented in PjRT somewhere (I assume it would return an error if the stablehlo declares the wrong inference type) ... it's just for some reason not exposed.

Yes, but Jax does so in Python. My project is in Go.

Surely MLIR C++ bindings are even better?

What are the MLIR C++ bindings ? Better than what ? XlaBuilder ?

I removed the offending C/C++ code you pointed out. I haven't yet created a new release because it will require recompiling XLA, and that is always lots of work (something always changes, and requires careful investigation of BUILD rules cross dependencies).
Let me know if that clears references to internal code for you. And if you have pointers to documentation on how to do AOT with XLA, they would be most welcome, I still wanted to support it :)

Also CC @skye

FYI PJRT does not cover generating any kind of HLO program. It's a generic compiler/runtime API, it doesn't have a strong opinion on the input that the compiler receives. So go ahead and keep using the XlaBuilder.

Thanks for the confirmation Skye.
Now, from my other question in https://github.com/openxla/xla/issues/13733, after generating the StableHLO with XlaBuilder, I can get away with compilation/execution using exclusively the PJRT C API, correct ? That's a viable way forward ?

Yup that's right (once you create the correct inputs to PJRT_Client_Compile or PJRT_Compile)

Just a heads up: with the new v0.11.0 release, GoMLX now depends on gopjrt and has no other C/C++ dependencies.
gopjrt itself depends solely on the XlaBuilder (to build the MLO program) and PJRT C API (to compile and execute it).
Closing the issue.
@cheshire thanks again for the report and help!! Let me know if you know of any issues.

Thanks!


Angular 2 support?

Any plan to support Angular 2 and implementation examples?
Thanks!

@amouly At some point in the future, yes, but it's not my top priority now. Do you want to give it a shot? Do you know what needs to be done to move from angular1 to angular2?

Closing for now, please reopen if there's more interest

There is definitely more interest. We are moving our data mining efforts to angular 2 based UI.

Is there angular 2 support?

I find the following type definition file working for me:
<EMAIL_ADDRESS>I combined it with another awesome project
https://github.com/Asymmetrik/ngx-leaflet
and it seems work in Angular4.

Can you explain it in more detail.
You install @types and require sciript heatmap.js in cli.json?
After that you can use construction like this:
var heatmapLayer = new HeatmapOverlay(cfg); ?

But what if I don't want to use leaflet? How can one call h337.create() method using the typescript?

@vaydich

npm install both heatmap.js and @types/heatmap.js. There is a trick, @types/heatmap.js comes with its own dependency (leaflet) but an older version. You will have to delete it from<EMAIL_ADDRESS>if you have already installed your own separate leaflet. (Which is a case for me because ngx/leaflet needs leaflet as well)

Import all your source js files into .angular-cli.json:

      "scripts": [
        ...
        "../node_modules/leaflet/dist/leaflet.js",
        "../node_modules/heatmap.js/build/heatmap.min.js",
        "../node_modules/heatmap.js/plugins/leaflet-heatmap/leaflet-heatmap.js"
      ],

The order matters because leaflet-heatmap needs to be imported after leaflet

In your component, you can do whatever you want then:

import * as L from 'leaflet';
import 'heatmap.js';

  onMapReady(map: L.Map): void {
    // Do stuff with map
    const testData = {
      max: 8,
      data: [{lat: 24.6408, lng: 46.7728, count: 3}, {lat: 50.75, lng: -1.55, count: 1}]
    };

    const baseLayer = L.tileLayer(
      'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
        maxZoom: 18
      }
    );

    const cfg = {
      // radius should be small ONLY if scaleRadius is true (or small radius is intended)
      // if scaleRadius is false it will be the constant radius used in pixels
      'radius': 30,
      'maxOpacity': .8,
      // scales the radius based on map zoom
      'scaleRadius': false,
      // if set to false the heatmap uses the global maximum for colorization
      // if activated: uses the data maximum within the current map boundaries
      //   (there will always be a red spot with useLocalExtremas true)
      'useLocalExtrema': false,
      // which field name in your data represents the latitude - default 'lat'
      latField: 'lat',
      // which field name in your data represents the longitude - default 'lng'
      lngField: 'lng',
      // which field name in your data represents the data value - default 'value'
      valueField: 'count'
    };

    const heatmapLayer = new HeatmapOverlay(cfg);

    heatmapLayer.setData(testData);
    heatmapLayer.onAdd(map);
  }

Note: You will need to expose the L.Map instance somewhere in your code. I used ngx-leaflet package and get it by onMapReady function. I think it's also doable by using pure @types/leaflet to work

@rebendajirijr
Unfortunately, I didn't try to explore that part in my project (all I need is heatmap on leaflet). But I think it's doable if you can find the proper type definition file for the feature that you need. In the worst case, you might need to write one for heatmap.js

i used below approach,
npm install leaflet-heatmap --save
import HeatmapOverlay from 'leaflet-heatmap';
const testData = {
max: 8,
data: [{lat: 24.6408, lng: 46.7728, count: 3}, {lat: 50.75, lng: -1.55, count: 1}]
};
const cfg = {
// radius should be small ONLY if scaleRadius is true (or small radius is intended)
// if scaleRadius is false it will be the constant radius used in pixels
'radius': 30,
'maxOpacity': .8,
// scales the radius based on map zoom
'scaleRadius': false,
// if set to false the heatmap uses the global maximum for colorization
// if activated: uses the data maximum within the current map boundaries
//   (there will always be a red spot with useLocalExtremas true)
'useLocalExtrema': false,
// which field name in your data represents the latitude - default 'lat'
latField: 'lat',
// which field name in your data represents the longitude - default 'lng'
lngField: 'lng',
// which field name in your data represents the data value - default 'value'
valueField: 'count'
};
const heatmapLayer = new HeatmapOverlay(cfg);

heatmapLayer.setData(testData);
heatmapLayer.onAdd(map);

}
this is working fine for me.

This works well 🗡
https://gist.github.com/rpdiss/5e63816e30a1fb0ec252be0fcceb6078


Bug: Can't insert new line with Custom Regex replacement

Describe the Bug / how to reproduce / Expected Behavior
If I put \n in the regex to replace field, it puts a literal \n in the file instead of putting a newline

test

becomes

Device

[x] Desktop
[x] Mobile

Thanks for reporting this. I will see about regex escaping the replace value. Hopefully that will fix the issue.

They gave a good suggestion and now I have a fix for the issue pretty much ready.

This should be fixed on master and in the next release. Please let us know if that is not the case.


Increment versions for managementgroups releases

Increment package versions for managementgroups releases

/check-enforcer override

/check-enforcer override


Scroll Speed option

This is just a suggesstion : Having a Scroll Speed Option on the Gameplay section. i think it is very necessary to have this as other engines/rhythm games as a preferable scroll speed option that fits your gameplay.

I've stated multiple times that i still have to recode the Options menu before adding new preferences


Update Garden fakes to new schema

Garden switched to a new fakes schema, fakes is renamed to gardenfakes since this commit:
https://github.com/cloudfoundry-incubator/garden/commit/c569d61e0ad1badd67d17762d0b33ea6942e090f

Ah, It seems I need to learn how you manage dependencies first.


Add newer Java versions to cross-compile test

Follow-up to #26214

@bot-gradle test and merge

I've triggered a build for you. Click here to see all failures if there's any.


Crash when trying to run as a server

latest.log

there was a version on curseforge that got removed which didnt have this problem, but i cant downgrade to that version anymore

I'll look into it tomorrow, thanks for reporting!

np, thanks for the mod

Reuploaded 1.4.3+1.19, works on dev env

thanks bro <3


using splitext instead of split

One should use splitext instead of split, since using split fails if a . is present in the filename (e.g. hidden directory on linux):
julia> split("/foo/bar/.hidden/fig.jpg", ".")[2]
"hidden/fig"
julia> splitext("/foo/bar/.hidden/fig.jpg")[2]
".jpg"

@t-bltg thanks for your first contribution to ExifViewer.jl and first ever contribution to any of my packages actually!!
Writing tags needs a lot more work, let's merge this!


Trigger creation of nipype workflows

Upon locking of an analysis.

Ensure these are async calls.
Generate graphs
Add counts of workflow retrievals / downloads tables - timestamp every time someone retrieves a workflow.

Also create new event files (w/ only selected predictors).

Make sure file references are correct in db (i.e. to niftis in BIDS dataset, but also to newly created event files). This way grabbids is not necessary in the actual workflow as individual files are pointed to. If it turns out to be necessary (i.e. structural files?) that's fine.

This issue was moved to PsychoinformaticsLab/neuroscout-cli#1


[v2] RTL bug for md navbar

CSS
the .md .navbar .right for RTL  set margin-right: auto; but don't override the original margin-left: auto;
I believe that the class in framework7.rtl.css should be
.md .navbar .right {     margin-right: auto;     margin-left: 0; }

You should NOT include both RTL (framework7.rtl.css) and LTR (framework7.css) stylesheets. If you need RTL then include ONLY framework7.rtl.css


use transformCopied in dragstart handler

Description of issue
When you drag and drop content, transformCopied and transformPasted are both called, but upon dropping content transformPasted receives the original slice instead of the transformed slice.
editHandlers.dragstart currently calls transformCopied via the serializeForClipboard function, but the transformed slice isn't attached to view.dragging. So when editHandlers.drop calls transformPasted, it receives the original (unmodified) slice.
I would have expected transformPasted to receive the transformed slice returned from transformCopied, which is how the editor behaves with cut and paste.
Description of fix
Inside the dragstart handler, my PR grabs the transformed slice from serializeForClipboard so it can be attached to view.dragging = new Dragging(...)

Thanks, that indeed makes more sense.

Thanks for reviewing @marijnh! I'd like to pull in this fix since it'd let me get rid of a hacky workaround. When are new versions typically released?

Sure. I've tagged 1.33.6


add http head support

Add a method in the Client to do HTTP HEAD request.
& small refactoring: remove unused variables in client.go.

Coverage decreased (-9.4%) to 90.642% when pulling 8d439975dde40cb4a9c4953953cd8e7415e47195 on witochandra:support-http-head into 2f1fd2700e9d549092e9c249e08be101a6a887c6 on gojek:master.


[Bug] Fixing Navbar links

Currently, the Nav Links are just redirecting to the home page. It should be changed so that they redirect to that particular part in the webpage.

This issue is up for grab ✊

I am currently working on fixing this.

I am currently working on fixing this.

Hi suraj, in yesterday's standup pablo did mention that his PR will fix this. @PAOK-2001 can you please confirm.

I just checked and this issue was solved in #65.


Tracking issue for GSP-109: Redesign Features

RFC: https://github.com/beyondstorage/specs/blob/master/rfcs/109-redesign-features.md
Steps

[x] Add features in specs https://github.com/beyondstorage/specs/pull/119
[x] Check virtual pair and simulated pairs in specs https://github.com/beyondstorage/specs/pull/119
[x] Mark old features as deprecated
[x] Remove old autogenerated check logic
[x] Add features in service.toml
[x] Update all services.

We will remove deprecated fields in v4.3.0, wait until all service updated.

We will remove deprecated fields in v4.3.0, wait until all services updated.

@JinnyYi Have we upgraded all our services to go-storage 4.2.0? Let's start to remove the deprecated fields?

Have we upgraded all our services to go-storage 4.2.0? Let's start to remove the deprecated fields?
Yes, all our services have been upgraded to go-storage 4.2.0. We can remove the deprecated fields now.

OK, let's do it.

Steps

[ ] remove the deprecated field in specs
[ ] remove deprecated field in go-storage


Help with through() relation

Hi - having a little trouble with a relation using through() and hoping someone can correct my thinking.
I have three models: User, Customer and Pet.

Customer <--> User is a one-to relationship
User --> Pet is a one-to-many

I'd like to be able to access all of a Customer's Pets through User.
Here are the relations I've defined on the models:
// models/user.js

  pets: function () {
    return this.hasMany('Pet');
  }

// models/customer.js

  user: function() {
    return this.belongsTo('User');
  },

  pets: function () {
    return this.hasMany('Pet').through('User');
  }

// models/pet.js

  user: function () {
    return this.belongsTo('User');
  }

I believe I have it setup properly, but evidently not. The SQL that is generated keeps referencing user.customer_id, but that doesn't exist in the relation.
select "pet".*, "user"."id" as "_pivot_id", "user"."customer_id" as "_pivot_customer_id" from "pet" inner join "user" on "user"."id" = "pet"."user_id" where "user"."customer_id" in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) - column user.customer_id does not exist

I was able to "fix" it, by changing the Customer model's relations to:
// models/customer.js
  pets: function () {
    return this.hasMany('Pet', 'id').through('User');
  }

Although this works, I'm not sure if this is correct as it generates the following SQL:
select "pet".*, "user"."id" as "_pivot_id", "user"."id" as "_pivot_id" from "pet" inner join "user" on "user"."id" = "pet"."user_id" where "user"."id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

which selects "user"."id" as "_pivot_id", twice.
Any help is greatly appreciated!

The SQL that is generated keeps referencing user.customer_id, but that doesn't exist in the relation.

That gets generated when you do what?

Closing this due to lack of activity. If you have anything else to add we can reopen this.


Update requirements so that clearml-agent is compatible with poetry

clearml-agent is incompatible with poetry with the latest pip versions (previous pip version did not crash on such mismatching requirements):
ERROR: Cannot install -r /tmp/cached-reqsroa73i6z.txt (line 14), -r /tmp/cached-reqsroa73i6z.txt (line 55) and jsonschema==3.2.0 because these package versions have conflicting dependencies.
The conflict is caused by:
    The user requested jsonschema==3.2.0
    clearml-agent 1.5.0 depends on jsonschema<3.3.0 and >=2.6.0
    poetry 1.2.2 depends on jsonschema<5.0.0 and >=4.10.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
clearml_agent: ERROR: Could not install task requirements!

@idantene please check v1.5.1rc0 🙂


Addition of Edams and Requirements classes

Hi Eric,
I propose you a PR to manage Edam topic, Edam operation and requirements.
Thank a lot for your work.
Fabien

Hi @fmareuil,
Thanks for this contribution!


BlackBerry 10 push only comes in failedregister

Hello, I have a problem sending push for BlackBerry 10, the register I only get the error function:
"Error: An internal error occurred while calling" +
"Blackberry.push.PushService.create. Try restarting the
app. "
Here's my register:
            pushNotification.register (successHandler, failedregister, {
                invokeTargetId "my.app.com"
                appId: "xxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
                ppgUrl "http://xxxxx.pushapi.eval.blackberry.com"
                ecb, "pushNotificationHandler"
                simChangeCallback: function () {
                    alert ('simchange callback?')
                },
                pushTransportReadyCallback: function () {
                    alert ('pushTransportReadyCallback?')
                },
                launchApplicationOnPush: true
            });

The function only comes in failedregister. If I open the ppgUrl, it is never loaded in my browser is infinite loading, is that correct?
I made my registration here:
https://www.blackberry.com/profile/?eventId=8121
and I received the information by e-mail, can anyone help me? Thank you.

fix with <rim:permit system="true">_sys_use_consumer_push</rim:permit>

fix with
<rim:permit system="true">_sys_use_consumer_push</rim:permit>

Fix with
< rim : permit system="true" >_sys_use_consumer_push < / rim : permit >


Sema: Fix a couple of issues related to variance of protocol 'Self'

The first one is a fix for a regression from https://github.com/apple/swift/pull/41677. The second one is rdar://problem/74944514, which is a follow-up to https://github.com/apple/swift/pull/41545.
I'm wondering if the new variance check in the conformance checker, findExistentialSelfReferences() and Sema's doesMemberHaveUnfulfillableConstraintsWithExistentialBase() can all be unified somehow.

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please test source compatibility


'Internal error occurred: failed calling webhook "mutating.pod-env-webhook.svc"

After running command below to install argo-workflows on EKS cluster
kubectl apply -n argo -f https://raw.githubusercontent.com/argoproj/argo/stable/manifests/install.yaml
I ran this command to check on the health of the deployment
kubectl get deployment argo-server -n argo -0 yaml
And, in the status response was a message with an internal error.
How do I fix the error?
kubectl get deployment argo-server -n argo -o yaml
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "2"
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{},"name":"argo-server","namespace":"argo"},"spec":{"selector":{"matchLabels":{"app":"argo-server"}},"template":{"metadata":{"labels":{"app":"argo-server"}},"spec":{"containers":[{"args":["server"],"image":"argoproj/argocli:v2.11.6","name":"argo-server","ports":[{"containerPort":2746,"name":"web"}],"readinessProbe":{"httpGet":{"path":"/","port":2746,"scheme":"HTTP"},"initialDelaySeconds":10,"periodSeconds":20}}],"nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"argo-server"}}}}
creationTimestamp: "2020-10-26T21:34:00Z"
generation: 2
name: argo-server
namespace: argo
resourceVersion: "276522180"
selfLink: /apis/extensions/v1beta1/namespaces/argo/deployments/argo-server
uid: e6c55fe2-157e-4a53-a77a-6b070f368cd1
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: argo-server
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: argo-server
spec:
containers:

args:
server
image: argoproj/argocli:v2.11.6
imagePullPolicy: IfNotPresent
name: argo-server
ports:
containerPort: 2746
name: web
protocol: TCP
readinessProbe:
failureThreshold: 3
httpGet:
path: /
port: 2746
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 20
successThreshold: 1
timeoutSeconds: 1
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
nodeSelector:
kubernetes.io/os: linux
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: argo-server
serviceAccountName: argo-server
terminationGracePeriodSeconds: 30
status:
conditions:

lastTransitionTime: "2020-10-26T21:34:01Z"
lastUpdateTime: "2020-10-26T21:34:01Z"
message: Deployment does not have minimum availability.
reason: MinimumReplicasUnavailable
status: "False"
type: Available
lastTransitionTime: "2020-10-26T21:34:01Z"
lastUpdateTime: "2020-10-26T21:34:01Z"
message: 'Internal error occurred: failed calling webhook "mutating.pod-env-webhook.svc":
an error on the server ("\n500
Internal Server Error\n
Internal Server Error
\n
The server
encountered an internal error and was unable to complete your request. Either
the server is overloaded or there is an error in the application.
") has
prevented the request from succeeding'
reason: FailedCreate
status: "True"
type: ReplicaFailure
lastTransitionTime: "2020-10-26T21:57:16Z"
lastUpdateTime: "2020-10-26T21:57:16Z"
message: Created new replica set "argo-server-55c988b69d"
reason: NewReplicaSetCreated
status: "True"
type: Progressing
observedGeneration: 2
unavailableReplicas: 2

This is a Kubernetes error. Not an Argo error. Please speak to you Kubernetes admin or provider.


Fix build with catch2>=3.0.0

Does that still work with older version?

It does not. I guess this fix was too shortsighted, you'd have to use conditional preprocessors I guess

Can you take a look? if you have some time :)


polymorphic_inline_vtable.h doesn't support moving with non-equal allocator

https://github.com/jbcoe/value_types/blob/a7fa0db8f4710853f9c4469c6749102a3906e7b1/experimental/polymorphic_inline_vtable.h#L202-L207
This assumes it's OK to transfer ownership from the rvalue other, but if other.alloc_ != this->alloc_ then that doesn't work.
You need to clone a new control block for the non-equal allocator case, but the clone function only supports copy not move.

I'll drop inline-vtable. Thanks for playing with our experiments.


Syntax error in log function

I installed rtm-cli from npm but the app did not work by syntax error.
$ sudo npm install -g rtm-cli
$ rtm
/usr/local/lib/node_modules/rtm-cli/src/utils/log.js:12
function log(text="", newline=true) {
                 ^

SyntaxError: Unexpected token =
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:374:25)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/rtm-cli/src/cli.js:9:13)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)

How can I use rtm-cli?
OS:  LinuxMint 18.3
npm: 3.5.2

The version of my node which was obtained from default repository of LinuxMint 18.3 was 4.2.6.
When node was upgraded to 9.4.0, rtm-cli works well.
Thanks for replying and helping me.

I'm glad it's working!


replace prospector with inputs

The term 'propectors' was deprecated and is being replaced with 'inputs'.
The LWRP's need to accommodate this change.

Also looking for this change to be integrated. And adding context to the above: https://www.elastic.co/blog/brewing-in-beats-rename-filebeat-prospectors-to-inputs


Please release 3.2

We could really use the Java 8 "release"...

+10000. This causes incredible pain for downstream libraries and their users.

Finally found a workaround for Maven/Gradle builds that need latest CGLIB: Add Maven repository https://jitpack.io and dependency com.github.cglib:cglib.cglib-nodep:e10bc3dda2. This will dynamically build the latest sources (commit e10bc3dda2) and make them available as a Maven dependency.

I think the cglib release still depends on validating the Java 8 properties. I will try to find some time to look at this at some point. However, any help is appreciated if someone else feels like contributing!

Duplicate of #20

(in response to pniederw's workaround) The submodule syntax on jitpack.io appears to have changed, in order to include a cglib-nodep snapshot you need to use this dependency string instead: com.github.cglib.cglib:cglib-nodep:5503bcca74


Log4j2 doesn't flush data to log until program is closed or manually open in file explorer

Hey guys, I have already asked this question on the discussion page and it seems like that post isnt getting any reach so I am writing this issue here again, I hope that is not problem and that someone will be able to clear things out a little for me.
Since writing same thing twice doesnt make much sense I will be linking discussion below, so someone can take a look and comment if there is any idea on the problem.
issue: https://github.com/apache/logging-log4j2/discussions/2004
Thank you!

For one, I just noticed that immediateFlush isn't even used in RollingFileAppender despite being an option. Let's see what else is broken because of this >_>

Hi,@jvz
RandomAccessFile

FileChannel channel = randomAccessFile.getChannel();
randomAccessFile.write();
channel.force(true);

Use the force method，the file be updated in real time. But affects performance.
Log4j2，not use the force method.
Rewrite RollingRandomAccessFileManager and RandomAccessFileManager flush method. Add the code above. Or add the above code when rolling over the file.

@tcmot,
Thanks for the suggestion. Your solution will cause two system calls (a write and an fsync/fdatasync on Linux) to be issued for each log event. I would rather use:

the StandardOpenOption#DSYNC/SYNC option to Files#newOutputStream,
or the rwd/rws mode for RandomAccessFile.

These have the advantage to delegate the syncing part to the OS, which can do it much more efficiently.

Issue #2117 is related to this.


Support Spoiler Sync

Spoiler Sync (http://www.anode.plus.com/spoilersync/) downloads spoiler-images for offline use. There's someone who would love to have support for Spoiler Sync in c:geo.
http://www.geoclub.de/viewtopic.php?p=897807#p897807

How about closing this one and continuing with #810 or vice versa.
The feature request is just the same but we are only discussing about the way to implement it.

Agreed and therefore closing.


wip: add support for container capabilities monitoring

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature
Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area driver-kmod

/area driver-ebpf

/area libscap

/area libsinsp

/area tests

/area proposals

What this PR does / why we need it:
This PR tries to add support for container capabilities monitoring for Docker and CRI compatible container runtimes. A new field container.capabilities prints out a space-separated list of capabilities granted to the container. container.capability can be used to understand if a specific capability was granted.
Which issue(s) this PR fixes:

Fixes #1812
Special notes for your reviewer:
The same result could be achieved by parsing the file /proc/<pid>/status. However, that is avoidable since we are already retrieving information from the sockets used to communicate with the container runtime. Data about capabilities are there in each response and ready to be used. Moreover, since we are not making any new requests to the container runtime's socket, I expect no performance impact.
Does this PR introduce a user-facing change?:

update: add support for container capabilities monitoring introducing the container.capabilities and container.capability fields

Hi @loresuso. Thanks for your PR.
I'm waiting for a falcosecurity member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: loresuso
To complete the pull request process, please assign gnosek after the PR has been reviewed.
You can assign the PR to them by writing /assign @gnosek in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/ok-to-test

@FedeDP: changing LGTM is restricted to collaborators

In response to this:

This is a great PR, thanks!

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/retest

Also added the possibility to extract a single capability, e.g container.capability[CAP_SYS_ADMIN].
This might come in handy when writing Falco rules, for instance.
/retest

Closing in favor of https://github.com/falcosecurity/libs/pull/234


Auto corrected by following Lint Ruby Style/CaseLikeIf

Auto corrected by following Lint Ruby Style/CaseLikeIf
Click here to configure it on awesomecode.io

Coverage remained the same at 97.021% when pulling ddb3c1570324cb3ea6a913f1002e49601fff59fb on awesomecode-lint-ruby-style-caselikeif-47841 into 31b0a2b679b18098ea1c88cbc3acc637a17515af on master.

Coverage remained the same at 97.021% when pulling ddb3c1570324cb3ea6a913f1002e49601fff59fb on awesomecode-lint-ruby-style-caselikeif-47841 into 31b0a2b679b18098ea1c88cbc3acc637a17515af on master.


FHIR R4 structures: wrong datatype used in ElementDefinitionBindingComponent.valueSet

Describe the bug
We are using JPA server from master with FhirVersion R4 and uploaded the profiles from hl7.org in version 3.5.0 (http://hl7.org/fhir/2018Sep/downloads.html). The LenientParser is then saying:
[LenientErrorHandler.java:150] Unknown element 'valueSet' found while parsing
The result is that all the StructureDefinitions are persisted without the ElementDefinition.binding.valueSet properties.
The same behaviour is also with the JPA server in HAPI version 3.4.0 using R4.
After investigation we figured out that:
https://github.com/jamesagnew/hapi-fhir/blob/6e0a1dddd4b1c398b8fa71a041df83d9731cccbf/hapi-fhir-structures-r4/src/main/java/org/hl7/fhir/r4/model/ElementDefinition.java#L3305
says that element "valueSet" is of type UriType.class or CanonicalType.class. However in R4 this field is of type canonical(ValueSet) -> http://hl7.org/fhir/2018Sep/elementdefinition-definitions.html#ElementDefinition.binding.valueSet
Also the profiles in hapi-fhir-validation-resources-r4 seem to have wrong valueSet elements (valueSetUri, valueSetCanonical).
To Reproduce
Steps to reproduce the behavior:

Go to http://hl7.org/fhir/2018Sep/patient.profile.xml.html and copy R4 profile of Patient
POST http://hapi.fhir.org/baseR4/StructureDefinition with the patient profile
Observe that the returned resource misses the valueSet fields e.g. Patient.gender misses the valueSet field pointing to the administrative-gender ValueSet

Expected behavior
The expected behaviour is that the valueSet fields are properly parsed and persisted.
Environment (please complete the following information):

HAPI FHIR Version 3.4.0 and master (JPA server)
OS: Windows 10
Browser: Chrome

Really sad that this issue is open so long and no answer still no answer...


Allow sorting pages by order and date

Closes #14, #43
Currently not working because of bug in the TOML crate for ser/de of enums

Works great! My only problem is that it only supports descending ordering (e.g. order 0 comes after order 1). So one has to start at a high number if one wants to insert pages at the end later (e.g. order 100, 99, 98, …) or resort to the reverse template filter. It would be great if we could specify "ascending" or "descending" directly, or at least could use negative numbers for order.

I thought about this a bit more and I think the reverse template filter is the best solution for my problem, since I only want to list the pages in reversed order but not insert additional pages before the first page.

That was my thought when I added the sorting. If you want to order things but still be allowed to insert pages in the middle you can increment order by 10 for example. I think that's how people do with Hugo but I've only used date sorting myself.


CypherAutoLoad + ERC4626RateLimitedAllowance

[x]  CypherAutoLoad
[x] ERC4626RateLimitedAllowance
[x] Unit tests
[x] Deployment script
[x] Integration tests

Note: executor and beneficiary addresses are wrong and should be updated before the deployment

LGTM


Fix date selection issue with withPortal or appendToBody. Fixes #1535.

Fixes #1535 .

Coverage decreased (-0.05%) to 84.45% when pulling d4a6eeb0e4a9ee868a878cfc97bc369182f3fb94 on danedavid:issues/issue-1535 into 7c287db8fd013f45232c67e0456c530a1184279f on airbnb:master.

This appears to be failing tests.

@ljharb Ok, let me check and get back to you

@ljharb Updated the PR.

@majapw Not sure that my fix didn't work. Seems unrelated to me - which use case wasn't working in 19.0.2?

@monokrome Sorry I wasn't clear! This issue seemed very similar to https://github.com/airbnb/react-dates/issues/1522 (clicking anywhere closes the SingleDatePicker) as it was related to the SDP autoclosing and the appendToBody prop. This seemed like a specific edgecase of that (the description of the use case is in the linked issue) and both were rooted in the v18.4.1 changes. Thanks for taking a look!


Improve the documentation on how throttling works

Description:
The behavior of the throttling can differ when it comes to real life situations. Let’s consider a scenario in which we have configured 10 requests per minute. While invoking the API, the request limit might pass the 10 request margin and go up to a higher number (maximum of 20 requests) without throttling.
What actually happens here is the wso2 APIM takes the decision with regards to the actual clock time, not calculating the time since the API was invoked. Consider a scenario in which the API was invoked at the 30th second of the 1st minute, so it can cater up to 10 requests since the minute is not over yet, let’s say it caters 6 requests. Then in the 60th second,(ie in the beginning of the second minute)  APIM resets the current requests and starts counting from the 0 which again can go up to 10.Then after the 10th request APIM will be throttled out.  But the accumulated value is around 16 requests now. Even though it feels like a minute subjective to the user, it has taken place within two minutes in clock.

It would be better to update the official documentation with more details on this.
Affected Product Version:
All the APIM versions

Closing since the PRs are merged.


App doesn't download from appstore in non-jailbroken state.

Describe the bug
I have this weird issue. Can’t download any apps in non jailbroken state.The download circle in the appstore just circles forever.
I think the tweak appstore++ messed up something..however, removing it won’t fix the issue.
(deleted the plist file for the said tweak also , manually)
Or
Maybe this version of uncoverhad to do something with it..
Device (please complete the following information):

iOS Version: 12.4

iOS Device: iPhone11,6

unc0ver Version: 4.3.1

[ ] this is a bug others will be able to reproduce

[x] this issue is present with all tweaks uninstalled(except for default packages) or disabled

[ ] this issue is present after a rootfs restore

[x] this issue is present on the latest version of unc0ver

hoping a fix.
TIA

@abidshahriar does it happen after reboot before jailbreaking? Post unc0ver diagnostics.

No need to use App Store. Jailbreak your phone with checkrain using checkn1x usb Linux boot stick and install Cydia from it of course.  Now from cydia install filza and  The second to last version of reprovision by installing the latest, and then downgrading to that second to last version.   Now download uncover on your phone and browse to it in Filza and long press open with reprovision to install and sign!
This is exactly what I do, in order to have on device jailbreak on that version  for when ever my phone has to reboot and I am not near a computer. IE I prefer to run checkrain but still, this allows uncover to run perfectly fine.
Unfortunately my newest device is on iOS 12.4.1 which uncover doesn’t support strangely enough!

Oops  I thought you were talking about on device install of uncover!
Doing a restore rootFS, or switching jailbreaks and then doing a restore rootFS I would think may solve your actual problem?

@abidshahriar does it happen after reboot before jailbreaking? Post unc0ver diagnostics.

Yes. I restarted the device in none jailbroken state , the issue still persisted.

Oops  I thought you were talking about on device install of uncover!
Doing a restore rootFS, or switching jailbreaks and then doing a restore rootFS I would think may solve your actual problem?

Yeah that’s the last option. but i want to be certain about what exactly causing this issue.

I have had the App Store do that under all kinds of circumstances that have nothing to do with the jailbreak or not. The most obvious is that your Internet connection it isn’t good, or that you have cellular data turn it off like I do, and Wi-Fi is actually not communicating data regardless of bars
Even with a data connection I am pretty sure I have seen the App Store “crash“ in exactly this manner, where I cannot get it to actually download data. I would try more than one reboot without the jailbreak, and of course verify a data connection before even opening the App Store, And make sure you have cellular data turned on specifically for the App Store of course.

Iphone 11 IOS 13.3.1 when have Jailbreak?
Please tell me. Thanks

@abidshahriar if it persists even when not in a jailbroken state then this isn't unc0ver's fault. This is an internet issue, corrupt preference file, or corrupt cache issue.

I get this problem randomly and have to reboot.


Add deprecation warning for standalone 2.6.z

https://github.com/stolostron/backlog/issues/25528

/cc @RobDolares


feat(appengine): Delete unused Redis sample

I feel bad deleting all this work, but it is not used in the GCP docs.
I was told the snippet-bot will block the PR on the region tag deletion -- not sure how to handle that when it comes up...

I feel bad deleting all this work, but it is not used in the GCP docs.
I was told the snippet-bot will block the PR on the region tag deletion -- not sure how to handle that when it comes up...

The code remains in the repo history so it's not fully lost.
SnippetBot only complains if the tag is used in docs, else it will let you delete it.


⚠ Bofrost.be has degraded performance

In 555dbda, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1068 ms

Resolved: Bofrost.be performance has improved in 1d1bbd2 after 9 minutes.


User Socket always does not work

I want to receive Order Update Event through User Socket, however its msg from callback function is empty. How can I fix this? THX

Same problem here... need to find good and simple example.
Anyone?

Same problem.

So you're callback is getting called, but with an empty msg? My callback is not getting called at all. And I'm using the code straight from the examples.


Packages ccpi-regulariser tigre cil tomophantom not found during installation.

Hi everyone,
I am trying to install CIL and want to go through the CIL-demos, but when I tried to install the packages according to the installation instruction provided here, I got the PackageNotFoundError below. Could you please help me with this? Thank you.
conda install -c conda-forge -c intel -c astra-toolbox -c ccpi cil=22.1.0 astra-toolbox tigre ccpi-regulariser tomophantom
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - ccpi-regulariser
  - tigre
  - cil=22.1.0
  - tomophantom

Current channels:

  - https://conda.anaconda.org/conda-forge/osx-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://conda.anaconda.org/intel/osx-64
  - https://conda.anaconda.org/intel/noarch
  - https://conda.anaconda.org/astra-toolbox/osx-64
  - https://conda.anaconda.org/astra-toolbox/noarch
  - https://conda.anaconda.org/ccpi/osx-64
  - https://conda.anaconda.org/ccpi/noarch
  - https://repo.anaconda.com/pkgs/main/osx-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

Hi @jcesardasilva,
Do you have macOS? Unfortunately, atm we do not support macOS. Do you have access to linux?

There is a CIL OSX package, version 21.4.0, which is 1 year old.
I think you should be able to install that one to start with.
conda create --name cil -c conda-forge -c intel -c ccpi cil

We can make a newer release of CIL, but I'm not sure we will be able to create binaries for the dependencies with CUDA.

Thank you @paskino and @epapoutsellis.
I understand. I think the new processors M1 and M2 are complicated, but for the Intel-based, I have seen that the complications are minimum for MACOS, since it has similarities with the LINUX core. However, I perfectly understand our time is limited. Is there any way to compile it from the source with CMAKE and configure?
To be honest, this is the main reason why I hate conda (very personnal view), because you need binaries. I am old school and create venv with virtualenv and organise the libraries myself. I like to install things with pip when possible, otherwise with setuptools to install libraries with python setup.py install, but your library does not provide any other way than conda installation.
Could you please provide any other way to install your library? In such a way, the used of MACOS, which is not a few, will not feel excluded.
I can manage the CUDA installation from my side, but I am constantly juggling between Linux and MacOs, but the LINUX is in the HPC cluster while the MACOS is used for the prototyping and debug of the code.
@paskino : I did install the way you recommended (thanks), but I miss the plugins. I can easily install ASTRA, but not TOMOPHANTOM or CCPI-Regularisation. In fact, I have problems with the CCPI packages only.

For info, I have cil and astra installed, but I cannot use the plugins:

Hi @jcesardasilva,
Being a mac user myself and CIL developer, I totally agree with all of your points.
In the past, I have created some instructions to install CIL+Google colab as an alternative with an easy access to our mac users. Unfortunately, it's not very practical and easy to break.  Pip installation will help a lot within Google Colab since this is the default option and we do not have to install conda/mamba. However, this means that we need to fix also Tomophantom and CCPi-regularisation toolkit.
In my opinion, I would try to install everything =  CIL + other libraries on a MAC through docker. However, I am not sure how difficult will be with the new processors ( I have not tried it) on mac.

I just checked the CIL-colab
As it is now the mamba installation will fail because of this error
numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

from CCPi-regularisation toolkit.
If you force numpy=1.20.3
!mamba install -c conda-forge -c intel -c astra-toolbox -c ccpi cil=22.0.0 numpy==1.20.3 astra-toolbox ccpi-regulariser tomophantom --quiet

the demo should work.

Hi @jcesardasilva , we provide conda binaries for user's ease.
You can build and install with CMake directly, and there are instructions here https://github.com/TomographicImaging/CIL#building-cil-from-source-code
Let us know if they are complete as we think.
Notice that some things depend on Intel IPP library which I am afraid does only support Intel 64bit architecture, so no Apple M1 or M2.

For info, I have cil and astra installed, but I cannot use the plugins:

This is because you installed version 21.4.0. To access the ASTRA plugin you need to install cil-astra, which hopefully is available on our channel for mac or, you can install it from source. In this case I suppose python setup.py install should do, but I cannot guarantee.


Association API implementation does not honor remote AE's maximum PDU length

As identified in https://github.com/Enet4/dicom-rs/pull/158#discussion_r699315685, the association client is ignoring the connection acceptor's requested maximum PDU length, and as such may send PDUs which are too large for the destination to handle. This could also be happening at the server abstraction, but this is yet to be validated.

Hi @Enet4 I just added an option --max-pdu-length to scpproxy in #162 . With that in place, we have all needed parts to test en fix this issue, I guess.

@charbeljc That I saw, it might indeed help! Testing will still likely to include an independent tool, so as to verify the PDU length calculations against it.
My plan will be to review and merge #162, then finish working on the pull request that should hopefully take care of this matter.


Add detail to documentation

Currently, the readme file describes several core features of these scripts, but a lot of the functionality is left out. This could make it difficult to get a good sense of what these scripts are capable of on first glance. Also, the current directory structure does not always make it clear where to look to discover and update certain types of commands.
Here I am providing an overview of the subdirectories within core and plugin for someone to skim through and determine which folders are most likely to have the commands they're looking for. I also added a bit more detail about mouse commands and tags.

Thanks, this seems helpful.
What do you think about putting the documentation for the individual subdirectories into those subdirectories and linking to it? The top level README is already getting quite large.

I agree with your suggestion and moved most of my content to subfolders. One thing I'd like to address though is that I don't understand the point of using the command within screens to show the index of your different computer screens. If I understood the purpose of that, I could give that context within the documentation too.

It lets you see how Talon is numbering your screens — which should match your OS, but…, so will help if you use voice commands to move windows between screens (e.g. "snap screen 3"). Thanks!


Prepare for Gradle 2.12's compileOnly configurations

Gradle 2.12 will automatically create a compileOnly configuration for each added SourceSet in a Java project (this is in the JavaBasePlugin, see here), and configure the source set's compilationClasspath to use it (as it extends the compile configuration).
The gradle-appengine-plugin currently:

creates the functionalTestCompile and functionalTestRuntime configurations, which can actually be created on-the-fly by the JavaBasePlugin when creating the functionalTest source set (see here)
configures the functionalTest source set's compilationClasspath (and runtimeClasspath) to “add” the main source set's output; but does it using the functionalTestCompile configuration, not the default compilationClasspath (and runtimeClasspath) as already populated by Gradle. When used with the upcoming Gradle 2.12, this means the functionalTestCompileOnly configuration created by Gradle will be ignored (but will still exist).

Now, maybe the default configuration I hint above wasn't done that way (or at all) in previous versions of Gradle, which explains why you create everything by hand here. I however thing it should be possible to somehow code defensively in preparation for Gradle 2.12 (either using the default value of compilationClasspath as configured by Gradle, or if it didn't always configure it automatically then looking for a functionalTestCompileOnly configuration and use it for the compilationClasspath in place of –or in addition to– the functionalTestCompile one that you create).
Disclaimer: I don't use AppEngine, I don't use this plugin; but I was asked to support functionalTest in my net.ltgt.apt plugin for Gradle (see https://github.com/tbroyer/gradle-apt-plugin/issues/18), and I also try to get its features integrated within Gradle proper, so I looked at the gradle-appengine-plugin source code and saw the above.
Note that supporting Gradle 2.12's compileOnly configurations using "feature detection" (rather than version comparision) would also mean that the gradle-appengine-plugin would automatically be compatible with the net.ltgt.apt plugin ;-)

This is interesting, I'll take a look.


Fix wrong pixel format

Thank you for making this PR.  I didn't even notice on the monochrome test PDF sheet that it came out slightly bluish.


The output from cargo package --list is not good for workspaces

Problem
This issue was discovered when working on #13947, but the problem is also on master.
When run in a workspace root directory, cargo package --list outputs something like this:
Cargo.lock
Cargo.toml
Cargo.toml.orig
src/main.rs
Cargo.toml
Cargo.toml.orig
src/lib.rs

It doesn't indicate that half the files are from one crate, and the other half from another crate.
The question is how to improve this in a way that is backward compatible. It is likely that the current output is used by CI/CD scripts, and should ideally stay as it is when packaging single crates.
Steps
No response
Possible Solution(s)
No response
Notes
No response
Version
cargo 1.78.0 (54d8815d0 2024-03-26)
release: 1.78.0
commit-hash: 54d8815d04fa3816edc207bbc4dd36bf18014dbc
commit-date: 2024-03-26
host: aarch64-apple-darwin
libgit2: 1.7.2 (sys:0.18.2 vendored)
libcurl: 8.4.0 (sys:0.4.72+curl-8.6.0 system ssl:(SecureTransport) LibreSSL/3.3.6)
ssl: OpenSSL 1.1.1w  11 Sep 2023
os: Mac OS 14.2.1 [64-bit]

@rustbot label: +Command-package, +A-cli, +S-needs-design

This is likely broken enough that we can change behavior.  I wonder if we should just error in this case.  If we had json output, then I could see specializing the list per package.

See #11666 for json output

One approach that is probably better than an error message would be this:

In the case of one crate, keep the output as it is.
In the case of multiple crates, output the name or full path of each crate followed by its file contents. Let each crate be separated by a blank line.

I think a lot depends on what we consider the output intended to be.  The current single-crate output is used programmatically.  Extending the format with a per-crate header extends what we are offering.  This is why I was looking to crate output.


ANSIBLE_VAULT_PASSWORD_FILE as text file in Windows OS

PR will allow to use ANSIBLE_VAULT_PASSWORD_FILE env variable pointing to text file on Windows OS.
Right now, plugin checks for file execution permission using: file.canExecute(), which won`t work on Windows.
Additional try...catch statement is solving that problem.
Tested on W10.

Thank you for the fix!🥳


git-prole: 0.1.1 -> 0.5.1

Changes:

Convert multiple worktrees
Improve path display
Fix copying broken symlinks in git prole add
Print a message if there's nothing to do when converting a repository
Log working directory and env variables when running commands
Fix git prole add in the container directory
Run commands when adding worktrees
git prole add now knows how to create --detached worktrees
Add branch_replacements option
Rework config option names

Diff: https://github.com/9999years/git-prole/compare/refs/tags/v0.1.1...v0.5.1
Changelogs:

https://github.com/9999years/git-prole/releases/tag/v0.2.0
https://github.com/9999years/git-prole/releases/tag/v0.3.0
https://github.com/9999years/git-prole/releases/tag/v0.4.0
https://github.com/9999years/git-prole/releases/tag/v0.5.0

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Looks like ofborg is working again.


Test tries to access the network

Hi!
While all other tests use mocks correctly to avoid depending on DNS or connectivity to the internet, TestClientDoSetsUserAgent is missing such mock, and triggers a DNS query (this is a bug in Debian). This small patch fixes that:
--- a/autorest/client_test.go
+++ b/autorest/client_test.go
@@ -151,6 +151,8 @@
 	ua := "UserAgent"
 	c := Client{UserAgent: ua}
 	r := mocks.NewRequest()
+	s := mocks.NewSender()
+	c.Sender = s

 	c.Do(r)

@TheTincho thanks for discovering. Do you mind sending a pull request?

Sorry, I did not see your reply!
Will do, along with another test that was reported as accessing the network.

PR https://github.com/Azure/go-autorest/pull/97 to fix the remaining test that hits the network.

The fix has been merged.


Warning - There was a mismatch between the processor architecture

There is a new weird warning. How to resolve this?
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2401,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Users\Vacla\.nuget\packages\stride.communitytoolkit.windows\1.0.0-preview.39\lib\net8.0\Stride.CommunityToolkit.Windows.dll", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
You can see it by creating basic code-only example project.
https://stride3d.github.io/stride-community-toolkit/manual/code-only/create-project.html

Resolved in the release v<IP_ADDRESS>-preview.41.


Question about Radar calibration

From the calibration documentation, the required topics for Radar-to-Camera calibration are camera and ins, but there is no radar topic needed.

How does the Radar-to-Camera calibration get the extrinsics for the radar relative to the camera without radar message?

Who's responsible for generating radar_front_extrinsics.yaml (extrinsic parameter of the radar relative to the lidar) ? The radar-to-camera calibration tool outputs radar_extrinsics.yaml, but not radar_front_extrinsics.yaml. Do we just manually create this file based on the extrinsic parameter of the radar relative to the lidar and the extrinsic value of the radar relative to the camera?

Thanks!

@daviduhm Hi，I have the same trouble, have you solved it ?

No, haven't heard of any responses back yet. Sadly, hard to find out because Apollo only provides calibration toolkit as binaries. We don't have source code to look into..

Hi @daviduhm
Have you successfully ran the toolkit and got the extrinsics.
BTW, do you have any other method to calibrate radar and camera, thank you !

Hi @daviduhm @johndoe95 , I'm now trying to calibrate Camera & Radar sensors.
But Radar-to-Camera calibration tool from Apollo 2.0 Sensor Calibration Guide seems that doesn't work for me. Do you guys run that tool or find any other method for Radar/Camera calibration? Thanks !

Hi Apollo team,
I'd like to attract attention to this issue as it's matters for a number of people.
According to calibration guide Radar-to-Camera Calibration tool only consumes camera images (/apollo/sensor/camera/traffic/image_short) and odometry (/apollo/sensor/gnss/odometry,ins_stat). So no reading input from Radar required as of guide.
How is that possible to calibrate between Camera/Radar without using Radar data at all?

@daviduhm As of your 2nd question my guess is that we are supposed to get configuration(tf/extrinsics) between lidar and camera at first as result of Camera-to-LiDAR Calibration process (as explained here). After that we get configuration(tf/extrinsics) between radar and camera as result of Radar-to-Camera Calibration process. If we have them both, we have camera as common reference frame and tf between Lidar and Radar should be easy to get.
This is how I see it. It'd be great to get confirmation from Apollo team on that?

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.


Allow for jQuery objects in html property in TS definitions

According to swal2 page, we can put jQuery objects in the html property of options. TS definitions didn't allow that.

Sorry, my editor does it when reformatting for some reason.

Ok, LGTM. It's fortunate that JQuery's .d.ts exposes a global JQuery interface so we don't have to link with its @types package.


Updates to Site Report page

[ ] Split top to be ½ map ½ image? - BF - Not in MVP. Large structural change
[ ] Discuss placement of image with Brett – HB would like the image more at the top of the site record, potentially sharing the top banner with the map BUT
[ ] How would multiple images be displayed in this case?
[ ] Less white space – not as long of a scroll, more compact information
[ ] Side navigation of sections like what is available in editing page would be nice to have on view page (see below)
[ ] Order of sections (Should we discuss - current order is in the logical order of data entry)

Borden Number
Site Name
Address
Legal description
BC Right
BC Statement of Significance
BC Heritage Class
BC Heritage Theme
BC Heritage Function
Related Resources
URL
Remarks – not for public
Decision History – not for public

[x] Rename BC Heritage Resource to Heritage Site
[x] Site Names > Name Type Drop Down > Primary/Alternative / Rename “Common/Other”
[x] BC Heritage Resource Place Heading / Rename Heritage Site Location
[x] Spatial Location > Remove Geodetic Datum
[x] Remove "Geometry Qualifier" EJB - doesn't the spatial geometry box list whether its a polygon or point? So this seems like a redundant field to me unless I'm missing something.
[ ] #561
[x] BC Property Address > Street Number & Street Name > Combine fields (#535)
[x] City Create drop down list BF: After discussion perhaps we do address validation (see #535)? EJB: Yes
[x] Civic Address Notes > Rename “Location Description”.
[x] #609
[x] Description Location > Remove Field/Card
[x] Official Recognition Information > Registry Types - Update LOV
[x] Official Recognition Information > Add “Registration Status" (#552). Confirm where this field was added.
[ ] ~Official Recognition Information > Move Official Recognition Details to Official Recognition Information Page card~ - BF - Can't do this as the cardinality does not match
[x] Designation or Protection From Date > Rename “Designation or Protection Start Date”
[x] Designation or Protection To Date > Rename “Designation or Protection End Date”
[x] Responsible Government > Rename “Government Name”
[x] Description > Rename “Notes” BF - Do we want this to be an RTF? EJB: Yes
[x] BC Heritage Class Heading > Rename “Heritage Class”
[x] Contributing Resource Count > Rename “Number of Contributing Resources”
[x] BC Heritage Function Heritage > Rename “Heritage Function”
[x] BC Heritage Theme > Rename "Heritage Theme"
[x] Functional Category > Rename “Heritage Function” Merge listings so Headings are listed in front of each subheading by a colon. For example: Commerce / Commercial Services: Bank or Stock Exchange. Error: There is repetition in this list for example Religion, Ritual and Funeral and subtypes is listed twice. #562
[x] BC Heritage Theme > Remove “Theme Comments” field - There are 6 values in HRIA. Should we disregard them? EJB: Can you send the data to me to verify?
[x] Heritage Theme > Make same merge change as Heritage Function above #562
[x] Architects / Builders > Remove “Comments” field - There are 83 values in HRIA. Should we disregard them? EJB: Can you send the data to me to verify?. Updated: Decided not to remove.
[x] Significant Events > Rename “Chronology”
[x] Start Year/End Year > Error: seems like a glitch when selecting year then month date?
[x] End Year > Move field beside “Start Year” Field EJB - let's remove this if it can't be done
[x] EJB Update: Start Year Qualifier / End Year > Remove
[x] EJB Update: "Event" drop down Add> "Construction (circa)" and "Significant (circa)"
[x] #556
[x] Statement of Significance - Move “Significance Description” up, after “Heritage Value Field” (#501)
[x] Rename "Significance Description" to "Description" (it's a physical description of the site)
[x] Defining Elements > Rename “Character-Defining Elements”
[x] Site Images > Rename “Images”
[x] Images > Edit> Add “Primary Image” toggle button
[x] Images > Edit > Add "Submit to CRHP" toggle button
[x] #557
[x] #558
[x] Remove “Image Title” - There are 5395 images with titles, 11 with 2 titles EJB - move these to "Image Caption"
[x] Image Description > Rename “Image Caption” (source column is "title")
[x] Additional Descriptions > Rename “Image Description”– (include old desc text in data transfer), Put multiple source "descriptions" field in here, and any extra titles.
[ ] ~Image type > Remove drop down options and add instead: 1. Contemporary Photograph; 2. Historic Image; 3. Other. BF - there is data matching the image types. Do we want to lose this?~ Addressed in #559
[ ] #559
[x] Site Document Heading > Rename “Documents”
[x] Remove “Documents Format” Field
[x] External URLS - Remove “External URL Description” field - BF - Moved data to Link Text part of URL.
[x] Create Missing Field to link to QA type where we can change from “Provisional” to “Authoritative” Can we create Record Entry Status toggle that is automatically set to Provisional until it’s ready to be manually set when reviewed? - BF - This is built-in functionality in Arches. There shouldn't be anything we need to do. Perhaps we should go through what it looks like in a meeting to clarify.
[ ] ~Authoritative > Rename “Verified”~ Part of base Arches functionality
[ ] Site submission status #575
[x] EJB Update: Remove from BC Property Address "Cadastral Reference" since this was where we were going to put PID but there's already a PID field under legal description
[x] Add "Site Form" to Document Type

Using the document provided.

Moving this to Completed in Dev as all outstanding tasks seem to be covered by other issues.


roslaunch gpd_ros ur5.launch returns error. Its unable to find the node of type detect_grasps even though all files set to chmod +x

ERROR: cannot launch node of type [gpd_ros/detect_grasps]: Cannot locate node of type [detect_grasps] in package [gpd_ros]. Make sure file exists in package path and permission is set to executable (chmod +x)
Before catkin_make I went to gpd_ros and chmod -R +x *
Still it gives me this error.
I have made path changes to ros_vino_params.cfg in home/gpd/cfg folder as suggested.

There was a problem in catkin_ws. I created a new catkin_ws and it works fine there.

There was a problem in catkin_ws. I created a new catkin_ws and it works fine there.


helmfile: 0.143.1 -> 0.143.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/roboll/helmfile/releases.
meta.description for helmfile is: "Deploy Kubernetes Helm charts"
meta.homepage for helmfile is: "https://github.com/roboll/helmfile"
meta.changelog for helmfile is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/inn960jwz8c29np2ddzqbxc4b3cqxixr-helmfile-0.143.3/bin/helmfile had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 0.143.3 with grep in /nix/store/inn960jwz8c29np2ddzqbxc4b3cqxixr-helmfile-0.143.3
found 0.143.3 in filename of file in /nix/store/inn960jwz8c29np2ddzqbxc4b3cqxixr-helmfile-0.143.3

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
helmfile

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/inn960jwz8c29np2ddzqbxc4b3cqxixr-helmfile-0.143.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A helmfile https://github.com/r-ryantm/nixpkgs/archive/5385b2c2dd85043d8b1ad20c3a837fd3694d5ef4.tar.gz

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

helmfile

Maintainer pings
cc @pneumaticat @yurrriq @kalbasit for testing.

@ofborg build helmfile


How to share BERT between tasks in multi-task setting?

Hello.
I am trying to reproduce the BERT-based multi task learning model from this paper. I want to jointly fine-tune BERT on all tasks from GLUE dataset by sharing BERT between all tasks and adding task-specific layers and losses on top of it. Tasks are different and have different losses.
I use run_classifier.py as a starting point. Here the model_fn function calls to create_model. Inside create_model BERT instance is created, loss is computed and passed to model_fn. Now, I want to process batches from different tasks through the same instance of BERT and then compute task-specific layers and losses using BERT's output tensor. Say, I only feed a batch from one random task at one training step. How can I make create_model compute different losses at different train steps, as i cannot dynamically route BERT's output to these different losses at run time? In other words, how can I share the same BERT model between different tasks without duplicating it? I would like to use the same Estimator API logic, as in original BERT implementation.
Thank you very much.

You can define the loss in two ways.

Define loss function for two tasks and optimize them separately.
Define loss function for two tasks and optimize them jointly.

First way is suited when you want to perform alternate training and have batch of task 1 data and batch of task 2 data and you train them alternately. In it you alternately call the optimizer and optimize the network.
Second is more suited way if you want to perform the learning at same time. You simply add the loss and optimize this joint loss. This preserves separate task specific loss functions and performs training at same time. I wanted to train the network jointly at same time so I used this method.
total_loss = flower_type_loss + flower_color_loss
train = optimizer.minimize(total_loss)
Now instead of optimizing both loss separately you optimize one single joint loss. You define your optimizer function which is responsible for minimizing total_loss.
Source: https://medium.com/@kajalgupta/multi-task-learning-with-deep-neural-networks-7544f8b7b4e3

I met the same problem and still don't know how to deal with it~ Have you solved this problem? Must share your way if you have. Thx a lot.

Maybe its easier if we use the pytorch implementation like here:
https://github.com/namisan/mt-dnn

Following I also need to share the same BERT model for pairwise ranking loss implementation. Here is my issue: #761

Mark. The same question.

You can define the loss in two ways.

Define loss function for two tasks and optimize them separately.
Define loss function for two tasks and optimize them jointly.

First way is suited when you want to perform alternate training and have batch of task 1 data and batch of task 2 data and you train them alternately. In it you alternately call the optimizer and optimize the network.
Second is more suited way if you want to perform the learning at same time. You simply add the loss and optimize this joint loss. This preserves separate task specific loss functions and performs training at same time. I wanted to train the network jointly at same time so I used this method.
total_loss = flower_type_loss + flower_color_loss
train = optimizer.minimize(total_loss)
Now instead of optimizing both loss separately you optimize one single joint loss. You define your optimizer function which is responsible for minimizing total_loss.
Source: https://medium.com/@kajalgupta/multi-task-learning-with-deep-neural-networks-7544f8b7b4e3

https://jg8610.github.io/Multi-Task/


feat: can no longer scroll off the edge of the map

This adds a boundary at the edge of your map tiles such that when the user attempts to scroll past the available map content, it will instead bounce the user back to the edge of the map. This solves the problem of -- once the user scrolls entirely off the map, they have no way of knowing how to get back to the map without doing a full page reload.
(And of course feel free to ignore this, I'm just a random Metro enthusiast + software dev :) )

Awesome, thanks so much for this contribution!!!


Update QT to latest 5.12 LTS

Seems to be more work than just updating the portfiles. Tried it and it failed to compile qt5-base due to not finding freetype (although installed). Maybe an update to freetype 2.9.1 is first necessary but that is also an update which is not that straight forward.

currently running into a problem with the qt5-declarative module not finding the qtmaind.lib, all other modules (that don't depend on qt5-declarative) work without a problem 🤔

qtmaind.lib should be in <installed triplet or package folder>/debug/lib/manual-link.
Either it is not there or qt is not searching there

if you make a PR request I could look at it and try to solve the problem

How long will it take to get Qt 5.12.1 which was just released?


[BUG] Update the Datasets page

Describe the bug
Datasets page is incomplete, but we claim it is a complete list.
To Reproduce
URL: https://docs.datacommons.org/
Screenshots
If applicable, add screenshots to help explain your problem.

Can we reach out to everyone who imported the dataset to add a blurb? It can even be in a doc, so we can iterate on the text before checking it in.

thanks for the fix!


Release Maven repo versions for other versions of Scala than 2.11

Release Maven repo versions for other versions of Scala than 2.11

I released a version for Scala 2.12. I tried to build for 2.10 but there were problems with the libraries that ShapeLogic Scala depends on so skip this for now