[Warning, pdr bot, sim] DeprecationWarning: process is multi-threaded, use of fork() may lead to deadlocks

To reproduce
In console:
pytest pdr_backend/predictoor/

Or:
pytest pdr_backend/sim/

Either will return
===== warnings summary ======
pdr_backend/predictoor/test/test_predictoor_agent.py: 15 warnings
  /Users/trentmc/code/pdr-backend/venv/lib/python3.12/site-packages/joblib/externals/loky/backend/fork_exec.py:38: DeprecationWarning: This process (pid=13296) is multi-threaded, use of fork() may lead to deadlocks in the child.
    pid = os.fork()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
====== 20 passed, 15 warnings in 13.99s =======

TODO

[ ] Hide this warning in predictoor/ tests
[ ] "" in sim/ tests

I'm not getting this warning, was this issue fixed?

I'm not getting this warning, was this issue fixed?

I just checked. I still get the warning.

Then it could be a difference between environments. I run both commands and I have no warnings.
I'm investigating on what could be wrong with my env.

I managed to reproduce now


Teacher Updates tab not switching when not signed in

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://school-portal-ceres.herokuapp.com/'
Click on 'Teacher Updates'
Even after clicking the Teacher Updates it has a round white box around

Expected behavior
The white box is expected tp disappear after clicking it
Screenshots

in the above image I have already clicked the teacher update but it still has a round box around it.
Additional context
Add any other context about the problem here.

The teacher updates tab isn't being activated when user is not signed in/ no posts in any class


react-native-vector-icons not working on web

Enviroment:

template version : (0.x.x) no clue how to find out...the version from yesterday
react-native-vector-icons: (4.4.2),
react-native version: ("0.50.3)
OS : Linux
Platform causing error: web

Step 3: Describe the problem (try to include screenshots):
Try to include react-native-vector-items, which works pretty well on android, but not on the web. Seems that the fonts are not bundled correctly with the webpack.config (neither Production nor dev). I searched my ass up to find the configs in the react-scripts module and try to added the needed loader but didn't work.
Your template is really awesome so perhaps you guys could help me/fix this, because you mentioned rnvi on your readme and i think it is a very usefull asset lib.
Steps to reproduce:

create a new project, as discribed in Readme.md
yarn add react-native-vector-icons
added an icon in TopLevelScreenComponent.js

//...
import Icon from 'react-native-vector-icons/dist/MaterialIcons';
...
render() {
//...
<Icon.Button name = "image"
                 backgroundColor = "#a41010"
                 onPress = {this.props.failDispatchedAction} >Test Icon Button </Icon.Button>
//...

Observed Results:
no errors just the font could not be loaded (on web...on android ...perfect)
Expected Results:
a button with an icon

some screenshot

I'm struggling with too :( :( :( or may I can say stuck


Failed to check for clangd update

I've installed clangd and coc-clangd. It loads fine when opening a source file but I've encountered a problem running the command clangd.update.
Logs
2022-01-31T14:05:43.771 INFO (pid:9075) [extension:coc-clangd] - Failed to check for clangd update:  TypeError: Invalid comparator: Features:
    at Comparator.parse (/home/seth/.config/coc/extensions/node_modules/coc-clangd/lib/index.js:7648:17)
    at new Comparator (/home/seth/.config/coc/extensions/node_modules/coc-clangd/lib/index.js:7636:14)
    at /home/seth/.config/coc/extensions/node_modules/coc-clangd/lib/index.js:7336:252
    at Array.map (<anonymous>)
    at Range3.parseRange (/home/seth/.config/coc/extensions/node_modules/coc-clangd/lib/index.js:7336:238)
    at /home/seth/.config/coc/extensions/node_modules/coc-clangd/lib/index.js:7290:67
    at Array.map (<anonymous>)
    at new Range3 (/home/seth/.config/coc/extensions/node_modules/coc-clangd/lib/index.js:7290:46)
    at new Range3 (/home/seth/.config/coc/extensions/node_modules/coc-clangd/lib/index.js:7277:20)
    at outside (/home/seth/.config/coc/extensions/node_modules/coc-clangd/lib/index.js:7882:15)
    at Object.gtr (/home/seth/.config/coc/extensions/node_modules/coc-clangd/lib/index.js:7940:44)
    at rangeGreater (/home/seth/.config/coc/extensions/node_modules/coc-clangd/lib/index.js:21849:23)
    at Object.<anonymous> (/home/seth/.config/coc/extensions/node_modules/coc-clangd/lib/index.js:21787:22)
    at Generator.next (<anonymous>)
    at fulfilled (/home/seth/.config/coc/extensions/node_modules/coc-clangd/lib/index.js:21541:28)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-01-31T14:06:06.989 INFO (pid:9075) [attach] - Request action: commandList [ 'clangd.u', 'CocCommand clangd.u', 19 ]
2022-01-31T14:06:08.591 INFO (pid:9075) [attach] - receive notification: runCommand [ 'clangd.update' ]
2022-01-31T14:06:08.851 INFO (pid:9075) [attach] - receive notification: highlight []
2022-01-31T14:06:08.928 ERROR (pid:9075) [extension:coc-clangd] - Can't glibc version from ldd --version output: ldd (GNU libc) 2.33
2022-01-31T14:06:08.961 INFO (pid:9075) [extension:coc-clangd] - clangd  --version output:  clangd version 13.0.0
Features: linux
Platform: x86_64-pc-linux-gnu

System information
Clangd version: 13.0.0
vim version: VIM - Vi IMproved 8.2 8024106
node version: v17.4.0
coc.nvim version: 0.0.80-c1a97aab9d
clangd extension version: 0.19.0
Operating system: Arch Linux

Sorry but I didn't properly read documentation and thought that clangd.update would update the extension itself.
My clangd installation is managed by OS package manager so it kind of makes sense that coc-clangd complaints when trying to update. Maybe the error message could be more informative about it but that's another topic.


Provide helpful message for new users and fix local installation messages

For new users that don't have correct permissions set and want to install Now CLI, we want to provide a really good error message:
Error! ZEIT Now failed to place `now` in a directory in your executable path ($PATH).

To solve it, you have two options.

Option A)

Run this command to adjust permissions of the npm global directory and re-install `now`:

> sudo chown $(whoami) /usr/local/{bin,lib/node_modules} && npm i -g now@canary

Option B)

Follow this npm guide to create a different directory into which you can install `now` and
add it to your $PATH

> url to npm guide

These are the necessary items in total:

[ ] 1. Test local installation (and make sure the update message looks correct)
[ ] 2. Implement the message shared above
[ ] 3. Write integration tests for testing the message from #2 + local/global installation

I also think a page we can link to at the end that summarizes this in the docs would be quite helpful

No. 1 + tests for has just been merged #2688

#2 will be replaced by https://github.com/zeit/front/issues/4451

Now CLI already has integration tests for the local/global update message since #2688, so I'll close this issue.

We had to revert the local message.

Re-opening, so we can merge the PR after the zero config release.

Works!

NOTE: We detect npm/yarn based on how Now CLI was installed. So if you're using npm run to test and you installed with yarn, it will tell you to upgrade with yarn too. That's intentional though.


Updating updated_at in customer object

Updating a singular customer's via Save(string) or SaveAll() updated_at field results in response of:
{"{"type":"invalid_request","message":"Mass assignment of updated_at on Customer is not allowed"}"}

Are you able to share a code sample that reproduces this? Thank you!

This should be resolved in v3.3.2.


My second branch

AgePb76 definition edit and .gitignore

@NicoleRayner -  Not sure why you are removing reference to uncertainty in the definition as it is in the output array of this function?

I see on a more close comparison with AgePb76WithErr that AgePb76 does the same calculation with a zero uncertainty - good catch!  We need to edit the labelsForInputValues and  labelsForOutputValues as well to match argument count = 1.

I noticed only one input argument, but not the output values.  I can tweak those as I see them.

should i wait for update to this pull request?

I decided to put a more detailed explanation of the definition for clarity and documentation.


feat: remove static build output

Eliminating the static build target provides us a simpler project setup and sets the stage to eliminate css modules and some of the problems caused by its current implementation.
The static build is used only in some places in edx-platform:
https://github.com/search?q=org%3Aedx+"paragon%2Fstatic"&type=Code

Coverage remained the same at 91.382% when pulling 496fc9e973d7e82c9c34f5bff947b6fbb3882f02 on abutterworth/remove-static-build into 7514142f7db85882a979a55b90b0fda3aee56e4d on v4-dev.

Coverage remained the same at 91.382% when pulling 496fc9e973d7e82c9c34f5bff947b6fbb3882f02 on abutterworth/remove-static-build into 7514142f7db85882a979a55b90b0fda3aee56e4d on v4-dev.

@robrap yes I do thank you


Minimum Audio Channel Example

I struggle to get Audio (Microphone Input) to the other peer in my own Unity Projects using WebRTC.
I also don't get any Audio in the VideoChatDemo example.
Is that an expected behavior because Unity Audio is not fully supported or am I doing something wrong?

I have noticed that the Microphone does not always function as expected within the editor. I can't exactly remember the reproduction, but I think the mic sometimes does not start sending until you also receive audio from a remote peer or something.
This is definitely an editor issue and did not show up in a UWP build. (I'm not sure about Standalone Windows builds).

There has been multiple reports about the Windows Desktop build having issues with the microphone. First we thought it was working, then at some points we were under the impression it was not. Now last I checked a few weeks ago it was working for me (both in Unity Editor x64 and in a C++ test app). So it seems there's a bug somewhere that we are not managing to get a consistent repro of (which may be related to some specific hardware). But there's not much we can do about this until we have a clear repro case or can have at least more details about the failure than "it doesn't work" (which I don't blame anyone for, it's hard to get more info).

I think the mic sometimes does not start sending until you also receive audio from a remote peer or something.

If someone can confirm a repro of this then that would suggest a software issue, that we can hopefully pinpoint.


No progress bar when importing image

Probably it's because there isn't a component in the Rancher Dashboard UI?
It was a progress bar, now it's just changing colors from grey to yellow then green.

close in favor of https://github.com/rancher/harvester-ui/issues/191 https://github.com/rancher/harvester-ui/pull/161


feat(invert-colors): add normal-image option

https://github.com/Enter-tainer/typst-preview/pull/301

I ran a bit and didn't find any problem. Could you run the extension locally and confirm this PR solving your problem exactly?

@Myriad-Dreamin
I successfully started the debug function using F5, but I'm not sure how to configure parameters in this state. Configuring parameters as I would normally set up a plugin doesn't seem to work.

@Myriad-Dreamin
I successfully started the debugging feature using F5, but it seems like the configuration parameters didn’t take effect according to the new code. Is it possible that I ran yarn build in the wrong location?

F5 starts a LSP extension, which changed the name of typst-preview.xxx to tinymist.preview.xxx, such as tinymist.preview.invertColors

@Myriad-Dreamin
I deleted my local directory and recloned it, which fixed the issue. I suspect the problem might have been related to caching in my node_modules directory.


Refresh tab/page enters (hijacks) another session

Using version v2.9.2.
In the 1st browser tab I have a running RDP session to server A.
In the 2nd browser tab I have a running RDP session to server B.
The sessions are opened by URL created with the REST API.
When I enter the address bar of the 2nd browser tab and click F5 (refresh), the page reloads and displays the session from the server A, instead of the server B.
I guess this is not by design?

Thanks for your input, indeed this not by design. After check, it's a regression into 2.9.2 due to the introduction of the ability to share a session by url (AllowShareSessionUrl key into web.config), directly by copying/pasting the url from a client to another. Because the http session id can't be used as unique identifier for a client anymore, I adapted the anti-spoofing mechanism I had setup long time ago (a ClientKey stored in a cookie) to be used a client identifier instead of the http session id.
Problem is, all myrtille tabs share the same domain cookie, thus the same client key. This is the reason of the need for "UseUri" session state into web.config to allow multiple connections/tabs, each tab bound to a distinct http session and remote session.
The solution is to use the concatenation of http session id and client key. I will see to fix this into the next release.

Fixed into the upcoming release (2.9.3)


fix(pluck): pluck now can return object

The current version of pluck typing has a big mistake: it always returns an array, when it should return an object if the object is passed as a parameter.
This commit can fix this.

Thank you so much for this update. Looking at https://github.com/ramda/types/pull/61, I'm pretty sure I merged that by mistake. That MR was not ready.

@Nemo108 I'm working on getting the next release out end of this week. Please fix remaining comments

Hi! As far as I can see, I fixed every comment you have left to me. This PR is awaiting for your review

Hi! As far as I can see, I fixed every comment you have left to me. This PR is awaiting for your review

@Nemo108 sorry I had left my comments in "Pending" state. I made than after your last update. You should be able to see them now

@Harris-Miller I'm sorry for the wait. I think I've done everithing you've asked me to do, can you check it one more time?


Post new videos from certain Youtube channels

Description of Problem:
When certain high-quality Youtube refereeing channels post a new video, I want to see a link to that video in a channel on the Discord server, so I can click through and watch that video at my leisure then discuss it with other server participants.

Examples of high quality Youtube channels we might like to post include:

FV (Football Victoria) Referees
CONCACAF Center of Refereeing Excellence
WASRC Webinars
RWISOA Referees
Ahmed Habib's Referee Channel
Victor Karimi's Referee Channel


generic-tile-format - Icon not showing

Icon not showing from my end. I am missing in my code below? Please help
==================================
{
"schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json",
"hideSelection": "true",
"hideColumnHeader": "true",
"rowFormatter": {
"elmType": "a",
"attributes": {
"href": "[$URL]",
"target": "=if([$NewTab] == 'Yes', '_blank', '')"
},
"style": {
"float": "left"
},
"children": [
{
"elmType": "div",
"attributes": {
"class": "ms-bgColor-themeLighterAlt ms-bgColor-themePrimary--hover ms-fontColor-white--hover"
},
"style": {
"display": "flex",
"flex-wrap": "wrap",
"min-width": "180px",
"min-height": "80px",
"margin-right": "10px",
"border-radius": "16px",
"margin-top": "10px",
"box-shadow": "2px 2px 4px  #DC93C9"
},
"children": [
{
"elmType": "div",
"style": {
"text-align": "center",
"margin": "auto"
},
"children": [
{
"elmType": "div",
"attributes": {
"class": "sp-row-title "
},
"txtContent": "[$Title]"
},
{
"elmType": "div",
"attributes": {
"iconName": "[$Icon]",
"class": "ms-fontSize-su"
}
}
]
}
]
}
]
}
}

Can you provide more information for this? What value are you using for your Icon, in your Icon field?

Hi dandansoy2004,
Did you solve it already?
I have tested it myself with your code and on my side everything works fine.
1/ Have you created the column "Icon" and does it have this as internal name (you can check this via the librarysettings, click on the column and check the name in the URL)?
2/ Have you supplied a value in this column? There is a very helpful list of icons here https://www.flicon.io/
3/ is the column visible in the view? This is my basic mistake 🥇 To be able to show/use most of the columns you must make sure it is visible in the view. If the custom format is already in place, check this via "Edit current view".
Kind regards,
Geert

Closing as can't repro and author hasn't responded. If you are still having issues, please open new ticket. Thanks!


re-run a snakemake pipeline from a given rule omitting upstream dependencies

Hi,
I'd like to re-run a  snakemake pipeline from a given rule, ignoring if some upstream rules are completed or not.

I'd like to re-run rule d, that uses rules.c.output, independently of rules.b.output, as rule b produces huge temp files that I remove after the pipeline finishes.
something like
snakemake --from d
that just checks the first upstream dependency (here rules.c.output), but not if rules.b.output is here or not
Or is there an alternative by touching deleted files or marking them as temporary so rule b is not run if rules.c.output exists?
Kind regards,
David

You can mark the input files of rule d as ancient. Docs.

Here is an example of what worked for me:
Snakefile:
rule all:
    input:
        "d/output.txt",

rule a:
    output:
        "a/output.txt",
    shell:
        "echo a > {output}"

rule b:
    input:
        rules.a.output,
    output:
        "b/output.txt",
    shell:
        "echo b > {output}"

rule c:
    input:
        rules.b.output,
    output:
        "c/{smpl}.txt",
    shell:
        "echo c > {output}"

def get_lst_of_c_output(wildcards):
    return expand("c/{smpl}.txt", smpl=range(3))

rule d:
    input:
        ancient(get_lst_of_c_output),
    output:
        "d/output.txt",
    shell:
        "echo d > {output}"

Only output of c exists:
❯ ls -lh
Permissions Size User Date Modified Name
drwxr-xr-x@    - cade  1 Feb 13:59  c
.rw-r--r--   591 cade  1 Feb 14:01  Snakefile

Running the command: snakemake --rerun-triggers mtime -n:
Building DAG of jobs...
Job stats:
job      count
-----  -------
all          1
d            1
total        2

Execute 1 jobs...

[Thu Feb  1 14:02:17 2024]
localrule d:
    input: c/0.txt, c/1.txt, c/2.txt
    output: d/output.txt
    jobid: 1
    reason: Missing output files: d/output.txt
    resources: tmpdir=<TBD>

Execute 1 jobs...

[Thu Feb  1 14:02:17 2024]
localrule all:
    input: d/output.txt
    jobid: 0
    reason: Input files updated by another job: d/output.txt
    resources: tmpdir=<TBD>

Job stats:
job      count
-----  -------
all          1
d            1
total        2

Reasons:
    (check individual jobs above for details)
    input files updated by another job:
        all
    missing output files:
        d

This was a dry-run (flag -n). The order of jobs does not reflect the order of execution.


Sexy Test Framework

While we can still call vibora sexy(Portuguese native speaker here too), a sexy web framework calls out for an also sexy tests framework.
Any particular reason not to use pytest as the testing framework?
Its incredibly powerful and yet simple to write tests with...

I'm also intrigued about the current testrunner choice, @frnkvieira . Would you care to tell us more about your motivation? If you're not a fan of pytest way of writing tests, asynctest might be the way to got if you like the unittest framework

Actually, I really like pytest but Vibora started without any dependencies... it still has only one hard dependency which is "pendulum" for timezone aware logs but that will be removed soon... (uvloop and ujson are optional)...
Adding pytest raises some questions, how about users of other testing libraries?
Right now you can test Vibora using pytest easily thanks to app.test_client()... at the moment Vibora test suite is nothing more than a syntactic sugar to start/stop the event loop...
I'll let this issue open so we can discuss more about this because right now I don't have a solid opinion.

Pytest would become a test dependency, not an actual vibora dependency.

What about users of other testing libraries?

The project chooses one and sticks with it, contributors adjust.
Also, running the test suite with pytest is not the same as making use of pytest on the test suite. Think, at least, of fixtures and parametrization...

Runtime dependencies are different than development dependencies, 'pytest' should be the latter.
For example, this is how I do it, using 'extra_require':
https://github.com/pyx/hymn/blob/d2257bdf3ac6121500665104e0abb6e52a2124dd/setup.py#L46
In this way, pip install is for end users and will only pull in hard dependencies, developers can pip install --upgrade -e .[dev,doc,test] to pull in those extra dependencies for development.
In addition, end users can pip install vibora[uvloop] to pull in extra runtime dependencies.
And then, a make file can streamline the process.


Feature/home page textImprove the text at the top of the home page again

Received the latest home page text from the product team.

@dotnet-policy-service agree

@microsoft-github-policy-service agree


Add enum instance.

I haven't tested this yet - just wanted to try type-checking the idea and running it by you.
I also made an issue: https://github.com/LiamGoodacre/purescript-naturals/issues/2

Thanks!


fix(yaml): fix up the yaml code to match current syntax

Needed to update the YAML syntax and a couple variable calls to match current updates to the
language host.
fixes #1472

Not (entirely) related to these changes, but something of note: the bullet points under "Inspect your new project" are a bit wonky when YAML is the selected language (Pulumi.yaml is listed twice, with different descriptions.) I get why, but I'm wondering if there's something we could do to fix up the reader's experience.

Not (entirely) related to these changes, but something of note: the bullet points under "Inspect your new project" are a bit wonky when YAML is the selected language (Pulumi.yaml is listed twice, with different descriptions.) I get why, but I'm wondering if there's something we could do to fix up the reader's experience.

🤔 It's really not the best experience, I admit. Maybe I could do this?
## Inspect your new project

The basic project created by `pulumi new` is comprised of multiple files:

- `Pulumi.yaml`: your project's metadata, containing its name and language

{{% choosable language typescript %}}

- {{< langfile >}}: your program's main entrypoint file
- `package.json`: your project's Node.js dependency information

{{% /choosable %}}

{{% choosable language python %}}

- {{< langfile >}}: your program's main entrypoint file
- `requirements.txt`: your project's Python dependency information
- `venv`: a [virtualenv](https://pypi.org/project/virtualenv/) for your project

{{% /choosable %}}

{{% choosable language java %}}

- {{< langfile >}}: your program's main entrypoint file
- `settings.gradle`: your project's Gradle settings
- `app/`: the app directory generated for Java, which includes the following files:
    - `build.gradle`: your project's build information for Gradle
    - `src/main/java/my_first_app/`: the directory that holds your main entrypoint file

{{% /choosable %}}

{{% choosable language yaml %}}
For YAML, your {{< langfile >}} is also your program's main entrypoint file.
{{% /choosable %}}

@nimbinatus I like that approach!

LGTM (I reviewed the preview URL with the latest changes)


What layouting capabilities are planned for Makie?

I really like the idea of makie as a platform that allows fast gpu rendered plots to be updated in real time. I come from matplotlib and there it's not possible to do anything close to that.
I haven't really taken a deep dive into this package because early on I noticed that many smaller aspects I'd need for standard plots are not implemented yet, such as font or marker size in display instead of data coordinates, which is of course understandable for a one man show package :)
But one thing I'm curious about is the hbox vbox system that seems to be used for layouting. In the examples I've seen layouts where everything is kind of just placed in a rough grid but axes are not placed with spines aligned to each other.
I think for what this package aims to be (the default julia plotting package) it's vitally important to have a good layouting mechanism. I really like the idea of matplotlibs constrained layout that was introduced relatively recently. Ideally, to fine tune plots I would like to be able to align any objects with anything else in the scene of I so choose. Like aligning the title of one plot with the spine of another, or something like "this text is always supposed to be 6pt below the midpoint of these two subplot corners" (a little bit like constraints are set up for example in iOS development). In matplotlib's case you can see that if this capability is not built into the foundations it can be very hard to add later. What is the plan for Makie in this regard, are you planning to add constrained layouts and a solver for that?
In the end I believe that "publication ready" is a phrase that a lot of plotting packages use once they offer a certain subset of capabilities, but in my experience it's exactly the small stuff that's super important. Like making precise layouts, having good font support and so on. So I'm rooting for Makie to become the best at these things as well, not just speed.

See also https://github.com/JuliaPlots/Makie.jl/issues/183

You can already move/scale/rotate any plot or scene completely freely in 2D and 3D.
So any kind of layouting API should be possible on top of that.
It's just a matter of implementing the nice APIs and implementing the solvers.
Since anyone could implement a solver outside of Makie, I just hope someone else will create a layout constraint solver, and I can just use it in Makie ;) That I write one myself isn't very likely at the moment, since there is a long list of other priorities that come first.

Matplotlib is using this one: https://pypi.org/project/kiwisolver/
And about the font sizes, how are transforms handled exactly in Makie? In Matplotlib e.g. I sometimes have to place text in axis coordinates in the x component, but in figure coordinates in the y component. For this I can access the different transforms and pick the parts that I need. I think this system and a constraint solver would have to go hand in hand so that constraints can be specified in multiple reference frames, depending on what is needed.

Another problem is how font sizes are handled - there doesn't seem to be a consensus on whether to use pixels, typographical points, device-independent pixels, et cetera...

My vote is for using typographical points for text since most people are familiar with those units. Pixels could also work, but it would entail, at least for me, a mental calculation every time I use them, where as I know intuitively what a 12pt font looks like. Anyway, just my two cents : )

There doesn't need to ne any consesus ;) We'll just offer the different units :)

I also think pt are a good unit for text and therefore also for line thickness etc to make them match visually, but ideally with unit support you could just specify whatever unit you want for whatever element and it would be resolved depending on the output mode. I thought that was especially convenient to do in Julia syntax wise?
When I prepare figures for a paper, I mostly want to make sure font sizes in figure and text match, so the export to PDF for example would need to honor pt measurements. For all screen based visualizations I think it doesn't matter what the units are as long as you can easily scale everything up and down with one setting. That means retina screens, projectors, lower resolution displays, etc. should be easy to accommodate by tweaking one parameter.

You can already move/scale/rotate any plot or scene completely freely in 2D and 3D.
So any kind of layouting API should be possible on top of that.
It's just a matter of implementing the nice APIs and implementing the solvers.
Since anyone could implement a solver outside of Makie, I just hope someone else will create a layout constraint solver, and I can just use it in Makie ;) That I write one myself isn't very likely at the moment, since there is a long list of other priorities that come first.

I have tried to port the Rhea constraint solver to Julia , mostly to see if I could do it. But now I've implemented most of it I think, so maybe you want to take a look at it, if it could be useful for Makie. As I said earlier, I do think that having this functionality for subplot layouts would be great.

Woah, that's awesome :) Can you give a simple example how I would use it to calculate a layout?

You specify variables and create constraints with these variables using ==, <= or >=. There's this part in the tests where I tried something like a rectangle inside another rectangle with spacers:
cont_w = variable()
cont_h = variable()
inner_w = variable()
inner_h = variable()
inner_t = variable()
inner_b = variable()
inner_l = variable()
inner_r = variable()
solver = simplex_solver()

add_constraints(solver, [
    cont_w == 1000,
    cont_h == 800,
    inner_w == 2 * inner_h,
    inner_t == inner_b,
    inner_t >= 60,
    inner_l >= 30,
    cont_w == inner_l + inner_r + inner_w,
    cont_h == inner_t + inner_b + inner_h,
    inner_l == inner_r
])

Everytime you put in a new constraint the solver updates and the variables change their values accordingly. So here I want the container to have size 1000x800, the inner rectangle should have aspect ratio 2 to 1, the spacings on the left and the right are the same, as are the ones on the top and the bottom. You can also make required constraints that can't be broken, or strong, medium or weak ones that will be broken if necessary.

This sounds like we need some high-level language for this.
Incidentally, I was contemplating to write a Makie renderer for: https://github.com/yurivish/Hyperscript.jl ... I'm guessing that Rhea is exactly the kind of solver I'd need for this - and looks like Hyperscript is exactly the kind of language we'd want to use to lay down such constraints.

Yes I think something more high-level like that would make sense, it would get tedious to spell out all of these constraints manually. Just want to say, though, that I don't completely understand the math or logic behind the solver, I mostly tried to translate the c++ source to julia :) And I did encounter some bugs along the way because it wasn't always clear to me whether some action in c++ created a new object or referenced an old one across multiple function calls. There are a lot of mutable structs and dictionaries going around that allow all this updating, but I found that can make it hard to track down where exactly something went wrong

Fair enough ;) Guess that'd even more reason to start using it to find all those nasty bugs^^ Although that sounds really annoying to debug, because you likely always just know "something looks wrong" but no error or nothing. Ah well...

Yes, I learned some time ago that having immutability and pure functions is great, but at least here it wasn't possible (for me) ;) And it is annoying to debug, so hopefully in a first piloting phase it will become clearer if this is a good way to go or not

This is really cool @jkrumbiegel. FYI, Gadfly has long had a nice layout engine, and last I checked (about 3 years ago :smile:) it was based on linear programming. While there are something things about Gadfly that I would avoid emulating, I suspect the layout engine might be relatively self-contained and a good inspiration here. It has an MIT license so it's fine to study and copy/paste.

 Maybe worth checking out indeed!

@jkrumbiegel, how would I update the solver?
In your example I did:
set_value(cont_w, 1500)
Rhea.autoupdate(solver)

Or do I need to construct the problem from scratch everytime a variable changes?

Would that be the right way?
solver = simplex_solver()
wconstr = cont_w == 1000
add_constraints(solver, [
    wconstr,
    cont_h == 800,
    inner_w == 2 * inner_h,
    inner_t == inner_b,
    inner_t >= 60,
    inner_l >= 30,
    cont_w == inner_l + inner_r + inner_w,
    cont_h == inner_t + inner_b + inner_h,
    inner_l == inner_r
])
Rhea.remove_constraint(solver, wconstr)
Rhea.add_constraint(solver, cont_w == 1500)

FYI Parametron allows on-the-fly updates of parameter values.

@jkrumbiegel, how would I update the solver?
In your example I did:

I think you would use set_constant for that in Rhea to change the constraint, not set the value of the variable directly:
@testset "set constant 4 test" begin
    x = variable(0)
    solver = simplex_solver()
    cn = add_constraint(solver, x <= 100)
    @test value(x) == 100
    set_constant(solver, cn, 50)
    @test value(x) == 50

    set_constant(solver, cn, 150)
    @test value(x) == 150

    set_constant(solver, cn, -25)
    @test value(x) == -25
end

The solver is always resolving when you change something, I think it was designed that way to work faster for GUI purposes than standard solvers, because most parameters usually don't change. Although something like Parametron sounds like it does something similar.
You can also use edit variables and do suggest(solver, variable, value) which makes the solver resolve trying to start with that value, but it's not a constraint per se. That's why it's called suggest, but for underdefined situations it works.

Pretty cool! :) I guess, I'll see what I can do with Rhea, and then maybe, if interested, @tkoolen could help setting up something similar in Parametron? To be fair, from the documentation, I'm not entirely sure what solver I need and how to set things up ;)

I'm pretty short on time right now, but just two comments:

it looks like Rhea is setting up an LP. You can see here which solvers you can use for LPs. A free one is Clp (though I haven't used it recently)
with Parametron you can change parameter values, but problem size (number of variables and constraints) should stay fixed between solves.

I've cobbled together a small prototype with hbox and vbox functionality and a constraint layout (in Plots.jl because this is only about the constraints for now) . Right now it just creates arbitrary "label" sizes on all four sides of each axis to test whether alignment works but these would have to be calculated from actual labels of course. And there are no gaps between subplots, but that wouldn't be hard to add.
Here's a gist with the code.
The code just to create the actual example is:
function test_constraint_layout()
    # [1, 2, 1] are the relative widths of the axes without labels in this box
    h1 = Hbox(3, [1, 2, 1])
    v1 = Vbox(2)
    h2 = Hbox([h1, v1], [2, 1])
    v2 = Vbox(2)
    v3 = Vbox([h2, v2])
    v4 = Vbox(3, [2, 3, 4])
    h3 = Hbox([v3, v4], [3, 2])

    s = simplex_solver()
    # recursively add all constraints of objects in the top box
    add_constraints(s, h3)

    # add specific constraints for plot size and position
    add_constraints(s, [
        width(h3) == 800,
        height(h3) == 400,
        leftedge(h3) == 0,
        bottomedge(h3) == 0
    ])

    p = plot(legend = false)
    plot!(h3)
    p
end

test_constraint_layout()

All axes within boxes are sensibly aligned, it looks like this:

Amazing :) I quickly tried it out with Makie and it looks like expected:

Now, the real question is, how to integrate this nicely..I will give it some thought!

@SimonDanisch, if we go through with this, then I think axes may need to be special-cased...it would make customizing them a lot easier as well, I think.

Just to keep this going a little bit.. I extended the approach from above a little bit. Now, containers in the layout are called Alignables. So far that means that they need to have an outer and an inner bounding box, where the inner is supposed to be what aligns to others in a grid layout. Vbox and Hbox fall away because they are just grids with one dim == 1. A grid is an Alignable, and an Axis also. If an Alignable contains others, like the grid does, it creates the constraints that aligns them relative to each other. They can be nested, too. Here's an example where the plot has two main parts, the upper contains 9 "plots" and their "colorbar", the lower 1 colorbar and 2 plots. There are two grids nested in the main grid, and the upper colorbar spans two rows as an example of that. A grid usually keeps all column gaps and row gaps equal, respectively. Code for the example:
function test6()
    g = Grid(2, 1, relheights = [3, 2])
    gtop = Grid(3, 4, relwidths = [3/11, 3/11, 3/11, 1/11])
    gbottom = Grid(1, 3, relwidths = [1/11, 5/11, 5/11])
    g[1] = gtop
    g[2] = gbottom

    topaxes = [Axis() for i in 1:9]
    toplegend = Axis()
    bottomaxes = [Axis() for i in 1:2]
    bottomlegend = Axis()

    for (i, a) in enumerate(topaxes)
        gtop[i, :down] = a
    end
    for (i, a) in enumerate(bottomaxes)
        gbottom[i+1] = a
    end
    gtop[:, 4] = toplegend
    gbottom[1] = bottomlegend

    s = simplex_solver()
    add_constraints(s,[
        (width(g) == 1000) | strong(),
        (height(g) == 1000) | strong(),
        (g.edges.bottom == 0) | strong(),
        (g.edges.left == 0) | strong()
    ])

    add_constraints(s, g)

    p = plot(legend = false)
    plot!.(topaxes)
    plot!.(bottomaxes)
    plot!(toplegend)
    plot!(bottomlegend)
    plot!(g)
    plot!(gtop)
    plot!(gbottom)
    p
end

looks like:

The red outlines are the edges of the grids, the blue lines show column and row boundaries. The axes have random edge sizes to make the alignment more apparent. Light gray are the edges and darker gray the align boundaries.
The whole thing is still a little bit buggy, though :) 1 out of 10 times or so the solver says there are required constraints that can't be resolved..

I think we can close this legendary issue :)
Thanks a ton to @jkrumbiegel, to revolutionize layouting, axes and making Makie 10x more usable!


API Sender - Providence

This is the onboarding epic for Providence.
Their first test files can be found here https://cdc.sharepoint.com/teams/USDSatCDC/Shared Documents/Forms/AllItems.aspx?csf=1&web=1&e=QNMVQs&cid=ae820669-09a0-4538-baa8-dfcb7857a938&FolderCTID=0x0120004368ADED9C3BEA4B94E57C5781F119FF&id=%2Fteams%2FUSDSatCDC%2FShared Documents%2FPRIME ReportStream%2FOnboarding %26 Ops%2FAPI Senders%2FProvidence&viewid=17db3ff6-95c5-4562-a1f3-12b5097b5947
When someone picks this up, please add them to the existing email thread.

@jbiskie will help handoff this epic to the engineer @GilmoreA6 who will take over cc: @BerniXiongA6

This is currently blocked by #6733.
On hold until mid-late November when Providence can staff the project.

Closing due to no interest in COVID...will direct to full ELR


Support for dynamic differential programming in a model predictive context

Congrats on the 1.0.0 release!
I wanted to ask if this library supports DDP in a MPC manner? And if not, is support planned for this? Maybe this support would be seen as a composition of this library and an optimal control library? Or this optimization feature expected to come from JuMP.jl directly?
Some DDP context in the Julia community:
For a DDP backend there is this library, but it is effectively unmaintained and archived. The author @baggepinnen has pointed me to RoboticExplorationLab's Altro.jl.

DDP is a very different paradigm to what is employed in this package, adding it would be a very nontrivial task and is probably out of scope for this package, it's certainly not as simple as "adding a DDP backend".
If you want to use DDP, why not use Altro.jl directly?

I don't just want to use DDP, but there are other optimal controllers like MPPI that I'd like to implement. It makes sense for me to use some common interface. There is TrajectoryOptimization.jl, but that is outside the purview of JuliaControl. I guess I'm looking for a JuliaControl project that supports problems that control algs like DDP solve. I thought that would be this package with the use of JuMP for the actual optimization.

I guess I'm looking for a JuliaControl project that supports problems that control algs like DDP solve

There is none. Why does it have to be in JuliaControl?

I thought that would be this package with the use of JuMP for the actual optimization.

I don't think there are any DDP solvers that support MathOptInterface that JuMP uses, probably because JuMP by itself does not provide you with the structure you need for DDP-style problem formulation.

I am not familiar with DDP. Although there is some similarities DDP and MPC from my quick overview, the underlying frameworks seem quite different. DDP seems to be more of an open-loop control policy ? This org. is restricted to closed-loop control.
From my perspective, there is way too much different MPC policies to potentially add to this package (multiple shooting MPC, direct collocation, robust MPC, etc.) before considering adding non-MPC approaches.

Why does it have to be in JuliaControl?

I guess the reason that I thought having an implementation be in JuliaControl would be that there is some type that my controller can be so that I can compose with other functionality that JuliaControl may offer.

I don't think there are any DDP solvers that support MathOptInterface that JuMP uses, probably because JuMP by itself does not provide you with the structure you need for DDP-style problem formulation.

I see, I'm still getting familiar with the ecosystem here. A quick search results in a JuMP extension that does have support for dynamic programming: https://jump.dev/JuMP.jl/stable/packages/InfiniteOpt/.

Although there is some similarities DDP and MPC from my quick overview, the underlying frameworks seem quite different.

It doesn't make sense to compare DDP and MPC. From what I understand of MPC (or receding horizon control), it is how you apply a control policy. DDP can be applied in an MPC fashion or it cannot. You can formulate your trajopt/control problem as an SQP problem and apply that in an MPC fashion (Or not), etc.
Just as further reading "A Family of Iterative Gauss-Newton Shooting Methods for Nonlinear
Optimal Control" is a paper that generalizes DDP (the single derivative approx version, also called iLQR) in a multiple shooting context. Maybe this helps in trying to explain what I'm talking about.
I apologize for the noise, but I did find this conversation useful.

InfiniteOpt does not use DDP, it uses a collocation on finite elements which is solved by a standard NLP solver like Ipopt.

I will close the issue but fill free to continue the discussion or re-open it if needed!


chore: Added workflow_dispatch to allow manual releases

:tada: This PR is included in version 6.1.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add serialize trait to get value

Sometimes the value is not necessarily fixed and similar. After adding serialize, you can use serde to serialize it to what you want.
like there
https://github.com/darwinia-network/bridger/blob/d87e725a3c0c1d145f9a99104f47964050498ddb/bin/src/route/kv.rs#L43
The server query from microkv, and response data to client, maybe any types, so there can be serialize to serde_json::Value, need add Serialize to there.

This pull request is include https://github.com/ex0dus-0x/microkv/pull/10, I think the namespace is important. so please consider merging first #10

It makes no sense


Inqueries about Credits Usage using Build a Report button

Does building a report function consume credits? How much credits per report? I have built a report few times, and checked if it was consumed. However, through the view status tab, there is exactly no where to find out how much credits were consumed. How could the user will know that?

Building a report is a function wholly contained within Route Planner. It uses no credits beyond those required for the initial optimization solve.
Sent from my iPhone
On May 20, 2015, at 18:01, arissara5053 <notifications<EMAIL_ADDRESS>wrote:
Does building a report function consume credits? How much credits per report? I have built a report few times, and checked if it was consumed. However, through the view status tab, there is exactly no where to find out how much credits were consumed. How could the user will know that?
—
Reply to this email directly or view it on GitHubhttps://github.com/Esri/route-planner-csharp/issues/24.

Thanks!


Subscriptions with empty attrs condition are mangled on insert (Bad Request)

Using current master version.
I wanted to add the following: subscription using the ngis-go tool:
ngsi create --host orion-with-apikey subscription --data @SingleSubcriptionTest
orion is running as docker container: fiware/orion:3.2.0
Executing gives a 400  bad request. Inserting the subscription using Postman works fine.
0.9.0 (git_hash:bfd1ec240a8a8421929e2923f8fb5d3f6cab18ab) (git_hash:bfd1ec240a8a8421929e2923f8fb5d3f6cab18ab)
subscriptionsCreate
InitTokenMgr
subscriptionsCreateV2004 400 Bad Request {"error":"BadRequest","description":"condition is empty"}
abnormal termination

I switched orion to debug and this is the payload I see in the logs.
The conditions object is empty
| comp=Orion | op=logTracing.cpp[141]:logInfoRequestWithPayload | msg=Request received: POST /v2/subscriptions, request payload (238 bytes): {"description":"Test Notification","subject":{"entities":[{"idPattern":"Alert.*","type":"Alert"}],"condition":{}},"notification":{"httpCustom":{"url":"http://dev/null","headers":{"fiware-shared-key":"test"}},"attrsFormat":"keyValues"}}, response code: 400

Save the json as SingleSubcriptionTest.json
{
    "description": "Test Notification",
    "subject": {
      "entities": [
        {
          "idPattern": "Alert.*",
          "type": "Alert"
        }
      ],
      "condition": {
        "attrs": []
      }
    },
    "notification": {
      "httpCustom": {
        "url": "http://dev/null",
        "headers": {
          "fiware-shared-key": "test"
        }
      },
      "attrsFormat": "keyValues"
    }
  }

Seems like I stumbled over this issue  https://github.com/golang/go/issues/31811  🙄

The NGSI Go 0.10.0 has been released. And this issue is closed because this feature has been officially added to NGSI Go.
You can get NGSI Go binaries which you need from the following URL:

https://github.com/lets-fiware/ngsi-go/releases/tag/v0.10.0

Thanks!


Eliah Kagan: Watch inaugment.com

Eliah Kagan requests the watch of the watch_keyword inaugment\.com. See the MS search here and the Stack Exchange search here.

inaugment\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


pydeck: Embed HTML in documentation directly

For #4103
Read the Docs doesn't seem to support isolated html pages that aren't explicitly included somewhere in the toctree or via a link

Background

Change List

More explicit MIT license
Embed HTML directly rather than use iframes (fixes tooltip cropping issues–div would get cut-off in the iframe)
Separate out file used to include assets in toctree (images.rst, formerly part of index.rst)

@kylebarron FYI

I haven't worked with Sphinx too much, but I did notice those warnings while building the site. Probably good to reference the pages explicitly.

Coverage decreased (-2.6%) to 80.192% when pulling 1bbec1485b5311ed12a21a6f3ec3dc6c2ed02646 on ajd/fix-sphinx into 814a2d24668a68faf2471090981a0c4fbd7cd092 on master.


[eventhubs-checkpointstore-table][test] run integration on .js files

to workaround an issue in nyc v15.  Very similar code is used in checkpointstore-blob and there's no issue there.

/azp run js - eventhubs-checkpointstore-table - tests


add inspect element.

every browser has an inspect element, if this one has an inspect element, ill make a copy of youtube but really bad.

and a music player.

Ctrl shift d, it's the GTK inspector


cannot find common.kfac

In the ACKTR.pg, a KFACOptimizer is imported. But no source file is found

Found it here: https://github.com/ChenglongChen/pytorch-a2c-ppo-acktr/blob/master/kfac.py
Also you can check commits and find it.


Add two-handed weapons

Currently, all weapons are one-handed: when a player equips them in his main hand, he can hold a bow or shield in his off hand. It would be cool to add two-handed weapons where this is impossible: they can only be equipped in the main hand, but only when the off hand of the player is empty. Also, it should not be possible to put items in the off hand slot while a two-handed weapon is equipped in the maind hand.

This has been implemented in KCI 12


Add x/rollup query endpoint for getting L1BlockInfo

Expose a new query endpoint for accessing the latest L1BlockInfo from the x/rollup store. The approach used for the previous L1BlockInfo query endpoint can be used for guidance.
Cosmos SDK Query Docs

This issue will be incorporated in #291


refactor: google

💻 变更类型 | Change Type

[ ] feat
[ ] fix
[x] refactor
[ ] perf
[ ] style
[ ] test
[ ] docs
[ ] ci
[ ] chore
[ ] build

🔀 变更说明 | Description of Change

📝 补充信息 | Additional Information

Summary by CodeRabbit

New Features

Enhanced request handling with improved logging and timeout adjustments.
Added new path method to GeminiProApi for dynamic URL construction.

Bug Fixes

Updated endpoint paths to use streamGenerateContent for better content generation.

Refactor

Restructured request handling functions for clarity and maintainability.
Refined URL construction logic in GeminiProApi.

Chores

Updated import statements and variable names for consistency.

fix #5053 #5030  #5028 #5014 #5003


Release 1.14.0

/test-whole-conformance
/skip-conformance
/test-networkpolicy
/test-e2e
/test-flexible-ipam-e2e
/test-multicluster-e2e
/test-multicast-e2e
/test-windows-all
/test-ipv6-all
/test-ipv6-only-all
/test-vm-e2e

/test-windows-proxyall-e2e

/test-flexible-ipam-e2e
/test-multicast-e2e

/test-multicast-e2e

/test-flexible-ipam-e2e

flexible-ipam-e2e failed due to https://github.com/antrea-io/antrea/issues/5451. The issue is valid and kind of serious, but is not a regression. It may have been there since the beginning of flexible-ipam support. And given the feature is Alpha, we will continue the release and will fix the issue in a future release and have it backported.


improve anime

display rating to 2 deciaml places #55

Hey @badmon, there should be changes made only in one file, there are 3 in your PR!
Can you sync your fork with upstream?

#58


Checkbox doesn't take "undefined" as "false"

I have to use Checkbox this way:
<Checkbox checked={this.state.checked !== undefined && this.state.checked} />
Instead of this way:
<Checkbox checked={this.state.checked} />
In Javascript "undefined" is usually handled as "false". For example: if (!this.state.checked) would work.
So, please, evaluate the passed parameter as: if(this.props.checked) inside Checkbox component. Let me know if you want me to make the pull request :)

have you tried   ?

Either follow @samueldaviddelacruz  approach or cast with Boolean(this.state.checked).
This is necessary so that we can distinguish between controlled and uncontrolled components.
See https://reactjs.org/docs/forms.html#controlled-input-null-value for further explanation.


Failed to query the list of test cases in the test bundle

I have a problem when run this command:

xctool -project Flo.xcodeproj -scheme FloTests -launch-timeout 3600 -sdk iphonesimulator11.1 run-tests

//Xcode 9.1, xctool latest
Output:

Failed to query the list of test cases in the test bundle: Test bundle not found at: /Users/hai/Library/Developer/Xcode/DerivedData/Flo-astgszcxfaqafmdpwhbksfkxandk/Build/Products/Debug-iphonesimulator/Flo.app/PlugIns/FloTests.xctest

After that I open the xcode project then try Compile/Run the FloTests succeed.
I run this command agains, it works :(:

xctool -project Flo.xcodeproj -scheme FloTests -launch-timeout 3600 -sdk iphonesimulator11.1 run-tests

Am I do wrong ?

You need to build tests first using xcodebuild, for example:
xcodebuild -project Flo.xcodeproj -scheme FloTests -sdk iphonesimulator11.1 build-for-testing

thanks @ExtremeMan


http: more tests for local reply and reset

Risk Level: n/a
Testing: new integration tests
Docs Changes: n/a

@goaway I think this covers the case you were asking about, and AFIK the reset on onLocalReply really does preempt local replies.  Happy to brainstorm further with you when you have the time.


clarify JSON API connection

Replacing jsonapi => json to fix disagreement between spec and outputs.
Replace mentions of the "JSON API format" with "default json response format" (in order to avoid confusion with the many cases in the document where the actual JSON API spec is referenced)

Other changes:

intro: update sentence on workshops, removing explicit dates, introducing API
intro: shorten section on JSON API, clarifying that this spec builds
on top of the JSON API unless otherwise noted
intro: remove sentence on version number (seems obvious?)
response format: reorder, first explaining the default behavior
and then moving on to what can be modified by the response_format
query parameter

One day away from the projected release of v0.10, this PR appears stalled? I think the changes of the introduction would be useful for v0.10, but if the PR isn't updated, I don't see this as release-blocking.

@rartino Should be ready for re-review

@rartino I've made the changes discussed.
Reading through the spec reminded me again that there are numerous instances where "JSON API" is used to refer to the actual JSON API spec, so I think calling our format the json response format does reduce the potential for confusion significantly.

Ok, this seems internally consistent so I'm ready to approve it. But I would also really like to see someone else comment on whether they think this change is a good idea. The change of the output format specifier is "very backwards incompatible". At the release of v0.10, we may want to actually say that it is no longer recommended for clients or servers to support anything below v0.10...
However, you missed one occurrence of "JSON API response format" in section 3.6; (I cannot mark it in github because it is too far from anything else you've edited; perhaps it isn't even in your version and you need to merge upstream first.)

However, you missed one occurrence of "JSON API response format" in section 3.6; (I cannot mark it in github because it is too far from anything else you've edited; perhaps it isn't even in your version and you need to merge upstream first.)

Thanks - fixed.

The change of the output format specifier is "very backwards incompatible". At the release of v0.10, we may want to actually say that it is no longer recommended for clients or servers to support anything below v0.10...

Depending on what one regarded as the spec, though...
If you went by the examples, nothing changes ;-)

For me, you're welcome to merge this @rartino :smiley:


Server can send private messages to players, but the player's reply causes an error

How to reproduce :

type msg PlayerName test in the console
on the PlayerName account in game, use /reply test

Error message :

Cannot invoke "org.bukkit.entity.Player.getName()" because "recipient" is null

Should be fixed in this next update, have been working on rewriting the plugin, hopefully should be finished soon

A release with a fix will be out soon

Fixed as of https://github.com/ADHDMC/SimplePMs/releases/tag/v1.0


View Cell not in npm install

When I install the table through npm
There is no ViewCell in the ng2-smart-table.ts

I had to manually add the file myself and it still won't modify the cell content.
I tried to use the 'custom' attr on type.
like this:
description: {
title: 'Description',
type: 'custom',
renderComponent: ManageCellComponent
},


Fixed loading fonts with dot in name, fixed spelling in Russisn examle

Reopenning #5526  without style changes

Thanks you!


Show specific dependencies between modules

Is your feature request related to a problem? Please describe.
Currently if you have two modules that depend on each other, the bicep visualiser only shows that the modules are dependant on each other
Take the following example of deploying a VM Scale set behind a bastion.  Currently the visualiser shows the scale set module has a dependency on the infrastructure module.

Describe the solution you'd like
The dependency between these modules specifically comes from one of the network security groups in the infrastructure template, so I'd rather see the dependencies shown as

We don't currently track this info, but it is a good suggestion. cc @shenglol FYI


 I created a XAML project, and used StereoKit to initialize a secondary holographic view.
Inicidentally, I also noticed that SK.IsInitialized remains true even after calling SK.Shutdown; maybe that's a separate issue though?
Logs or exception details
ntdll.dll!RtlReportCriticalFailure()
ntdll.dll!RtlpReportHeapFailure()
ntdll.dll!RtlpHpHeapHandleError()
ntdll.dll!RtlpHpLfhSubsegmentFreeBlock()
ntdll.dll!RtlpFreeHeapInternal()
ntdll.dll!RtlpHpFreeWithExceptionProtection()
ntdll.dll!RtlFreeHeap()
ucrtbase.dll!00007ff95f115ae0()
StereoKitC.dll!00007ff939f4bda4()
[Managed to Native Transition]
XamlStereoKitHybrid.McgInterop.dll!__Interop.StereoKitC.sk_init(StereoKit.SKSettings settings)
StereoKit.dll!StereoKit.NativeAPI.sk_init(StereoKit.SKSettings settings)
StereoKit.dll!StereoKit.SK.InitializeCall(StereoKit.SKSettings settings) Line 117
	at C:\Data\Repositories\Stereo Kit\StereoKit\SK.cs(117)
StereoKit.dll!StereoKit.SK.Initialize(StereoKit.SKSettings settings) Line 68
	at C:\Data\Repositories\Stereo Kit\StereoKit\SK.cs(68)
StereoKit.dll!StereoKit.SK.Initialize(string projectName, string assetsFolder) Line 85
	at C:\Data\Repositories\Stereo Kit\StereoKit\SK.cs(85)

I'm not exactly surprised this is happening, but I'm not specifically sure what might be causing the crash! I've never actually tried doing this before.
I am fairly certain there's a fair bit of information that is not getting reset to original values on shutdown, and large portions of the codebase may need scrubbed to fix "leftovers" for this usage pattern to work well!
I'll see if I can work something like this into my testing path so I can clear it all up.

So v0.3.7-preview.1 does have some improvements here, however, my testing so far has only been for Win32 flatscreen! I haven't checked UWP or OpenXR, and I think I'd still expect to see some issues there. I'll update this again when I've checked on those.


Fix ci pipeline

In this PR i fixed the bug, which broke our CI-Pipeline / test environment.
Now we dont have version-problems anymore!
For all people who are interesting, what caused the bug: THIS VERSIONCONFLICT --> warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>No more words needed 😆

@lukaswolfrum @Noah-Kurz Just FYI: I added with this PR also a new label called "bug-fix" in order to mark this PR as... a bug-fix an no feauture 😁


Some debug logs

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

7 of 14 (50.0%)  changed or added relevant lines in 3 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-1.1%) to 78.149%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/fis/core/ingest.py
1
4
25.0%

src/fis/adapters/outbound/vault/client.py
2
6
33.33%

Files with Coverage Reduction
New Missed Lines
%

src/fis/adapters/outbound/vault/client.py
2
50.75%

Totals

Change from base Build<PHONE_NUMBER>:
-1.1%

Covered Lines:
304

Relevant Lines:
389

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

7 of 14 (50.0%)  changed or added relevant lines in 3 files are covered.
15 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.3%) to 78.897%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/fis/core/ingest.py
1
4
25.0%

src/fis/adapters/outbound/vault/client.py
2
6
33.33%

Files with Coverage Reduction
New Missed Lines
%

src/fis/cli.py
1
0.0%

src/fis/main.py
1
0.0%

src/fis/main.py
1
0.0%

src/fis/adapters/outbound/vault/client.py
12
52.17%

Totals

Change from base Build<PHONE_NUMBER>:
-0.3%

Covered Lines:
329

Relevant Lines:
417

💛  - Coveralls


Unable to deploy Data Checker Python Notebook

Deploying  data checker python notebook fails with 404 error. Looks like link is referring to incorrect url,
Thanks
Jignesh

Fixed in #192. Thanks for the report!


Revert "make the ROS odometry (yaw) consistent with non-ROS"

This reverts commit 962db8497cbfc9e686e0691d34d6e767458c1ab9.
This commit was buggy in deep ways

Codecov Report

Merging #1370 (ffae3ff) into main (3308290) will increase coverage by 19.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #1370       +/-   ##
===========================================
+ Coverage   15.44%   34.45%   +19.01%
===========================================
  Files         349      358        +9
  Lines       34777    35455      +678
===========================================
+ Hits         5372    12217     +6845
+ Misses      29405    23238     -6167

Impacted Files
Coverage Δ

tests/test_base_utils.py
98.55% <0.00%> (ø)

tools/hitl/utils/tests/hitl_logging_test.py
98.07% <0.00%> (ø)

agents/droidlet_agent.py
51.73% <0.00%> (ø)

...hitl/dashboard_app/backend/dashboard_aws_helper.py
57.57% <0.00%> (ø)

...itl/dashboard_app/backend/dashboard_model_utils.py
44.44% <0.00%> (ø)

tools/hitl/utils/hitl_logging.py
100.00% <0.00%> (ø)

test_utils.py
21.87% <0.00%> (ø)

tools/hitl/utils/hitl_utils.py
21.21% <0.00%> (ø)

...ard_app/backend/tests/dashboard_aws_helper_test.py
98.00% <0.00%> (ø)

dialog/post_process_logical_form.py
29.23% <0.00%> (+1.53%)
:arrow_up:

... and 126 more


Show tags in tag tree even if nothing matches underneath that tag

Due to technical issues, this behaviour in v0.8.0 is different from the versions before:
If the user searches for a search term and displays the tag tree, always all top level
tags from this user will be shown, even if nothing matches which has this tag or a
tag underneath that top level tag.
This is because in the code so far the decision about the top level tags is made earlier than
the decision about the descendants including the filtering. This can be done differently
but need some thinking in order not to do some DB queries twice.
This is why I postponed it to a later release in order to get v0.8.0 done.

The filtering cannot be done on client side, because then the paging would not work.
There would be pages with less nodes than the selected page size. So the filtering must be done server-side.


[release-24.05] vaultwarden: 1.32.1 -> 1.32.4

https://github.com/dani-garcia/vaultwarden/releases/tag/1.32.2
https://github.com/dani-garcia/vaultwarden/releases/tag/1.32.3
https://github.com/dani-garcia/vaultwarden/releases/tag/1.32.4
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] 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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.
Diff<EMAIL_ADDRESS>Changelog: https://github.com/dani-garcia/vaultwarden/releases/tag/1.32.2
(cherry picked from commit fe9ef3a)

Fails to build due to rust 1.80 pin and they mean it.
   Compiling diesel v2.2.4
error[E0658]: use of unstable library feature 'lazy_cell'
   --> src/mail.rs:102:9
    |
102 |     use std::sync::LazyLock;
    |         ^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

error[E0658]: use of unstable library feature 'lazy_cell'
   --> src/mail.rs:103:16
    |
103 |     static RE: LazyLock<Regex> = LazyLock::new(|| Regex::new(r"<[^>]+>").unwrap());
    |                ^^^^^^^^^^^^^^^
    |
    = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

error[E0658]: use of unstable library feature 'lazy_cell'
   --> src/mail.rs:103:34
    |
103 |     static RE: LazyLock<Regex> = LazyLock::new(|| Regex::new(r"<[^>]+>").unwrap());
    |                                  ^^^^^^^^
    |
    = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

error[E0658]: use of unstable library feature 'lazy_cell'
   --> src/mail.rs:102:9
    |
102 |     use std::sync::LazyLock;
    |         ^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

error[E0658]: use of unstable library feature 'lazy_cell'
   --> src/mail.rs:103:16
    |
103 |     static RE: LazyLock<Regex> = LazyLock::new(|| Regex::new(r"<[^>]+>").unwrap());
    |                ^^^^^^^^^^^^^^^
    |
    = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

error[E0658]: use of unstable library feature 'lazy_cell'
   --> src/mail.rs:103:34
    |
103 |     static RE: LazyLock<Regex> = LazyLock::new(|| Regex::new(r"<[^>]+>").unwrap());
    |                                  ^^^^^^^^
    |
    = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

error[E0658]: use of unstable library feature 'lazy_cell'
   --> src/mail.rs:103:34
    |
103 |     static RE: LazyLock<Regex> = LazyLock::new(|| Regex::new(r"<[^>]+>").unwrap());
    |                                  ^^^^^^^^^^^^^
    |
    = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

   Compiling diesel_migrations v2.2.0
error[E0658]: use of unstable library feature 'lazy_cell'
   --> src/mail.rs:102:9
    |
102 |     use std::sync::LazyLock;
    |         ^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

error[E0658]: use of unstable library feature 'lazy_cell'
   --> src/mail.rs:103:16
    |
103 |     static RE: LazyLock<Regex> = LazyLock::new(|| Regex::new(r"<[^>]+>").unwrap());
    |                ^^^^^^^^^^^^^^^
    |
    = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

error[E0658]: use of unstable library feature 'lazy_cell'
   --> src/mail.rs:103:34
    |
103 |     static RE: LazyLock<Regex> = LazyLock::new(|| Regex::new(r"<[^>]+>").unwrap());
    |                                  ^^^^^^^^
    |
    = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

error[E0658]: use of unstable library feature 'lazy_cell'
   --> src/mail.rs:103:34
    |
103 |     static RE: LazyLock<Regex> = LazyLock::new(|| Regex::new(r"<[^>]+>").unwrap());
    |                                  ^^^^^^^^^^^^^
    |
    = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

For more information about this error, try `rustc --explain E0658`.
error: could not compile `vaultwarden` (bin "vaultwarden") due to 4 previous errors

@K900 I hope now you see that merging this fast is not a good idea.
I was actually in the process of preparing a true backport including a Rust bump but I lost motivation. Please deal with this mess yourself. You're annoying,

I understand my mistake now, and apologize. I will make a mental note not to merge updates to Vaultwarden anymore without explicit maintainer approval.

I will make a mental note not to merge updates to Vaultwarden anymore without explicit maintainer approval.

It's okay to do so, if you give maintainers at least some time to respond.
And please don't limit this to Vaultwarden. It should be applied to all packages.

Please deal with this mess yourself. You're annoying.

@dotlambda You need to be more civil when people do things you don’t like. Rushed handling or not, it’s been months now that I’ve seen you overstep the CoC and do your own unreviewed self‐merged reverts whenever you’re irritated by other contributors, sometimes for things as simple and harmless as not respecting your priority for trivial updates, and I am becoming seriously concerned by it.
(FWIW CI broke on the original PR because the GitHub Action workflows are written incorrectly and always fail on merged PRs.)

You need to be more civil when people do things you don’t like.

I'll tone down. And yeah, you're totally right that I haven't always been nice in the past.
One thing I want to emphasize though is that there are rules other than the CoC. I'll start following the latter better and would appreciate if @K900 did so w.r.t. giving maintainers appropriate time to review.


[Snyk] Upgrade workbox-strategies from 6.5.4 to 6.6.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade workbox-strategies from 6.5.4 to 6.6.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released a month ago, on 2023-05-26.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Codecov Report
Patch and project coverage have no change.

Comparison is base (237283d) 79.94% compared to head (40739e9) 79.94%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #715   +/-   ##
=======================================
  Coverage   79.94%   79.94%
=======================================
  Files          31       31
  Lines         359      359
  Branches       45       45
=======================================
  Hits          287      287
  Misses         67       67
  Partials        5        5

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


Well log creation and conversion

Codecov Report

Merging #94 (afc088d) into master (c998831) will increase coverage by 0.65%.
The diff coverage is 84.61%.

@@            Coverage Diff             @@
##           master      #94      +/-   ##
==========================================
+ Coverage   37.60%   38.26%   +0.65%
==========================================
  Files          49       49
  Lines       21588    21568      -20
==========================================
+ Hits         8119     8253     +134
+ Misses      13469    13315     -154

Impacted Files
Coverage Δ

resqpy/well.py
33.96% <66.66%> (+4.00%)
:arrow_up:

resqpy/property.py
41.12% <86.95%> (+2.23%)
:arrow_up:

resqpy/olio/simple_lines.py
42.60% <0.00%> (-0.50%)
:arrow_down:

resqpy/grid_surface.py
61.89% <0.00%> (-0.05%)
:arrow_down:

resqpy/olio/transmission.py
75.70% <0.00%> (-0.04%)
:arrow_down:

resqpy/model.py
61.22% <0.00%> (ø)

resqpy/grid.py
37.07% <0.00%> (+0.01%)
:arrow_up:

resqpy/olio/vdb.py
11.43% <0.00%> (+0.01%)
:arrow_up:

resqpy/lines.py
18.89% <0.00%> (+0.02%)
:arrow_up:

resqpy/fault.py
36.58% <0.00%> (+0.03%)
:arrow_up:

... and 9 more

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 c998831...afc088d. Read the comment docs.


IGNITE-15288 Fully implement RaftGroupService

Can anybody explain to me next.
We have Peer and PeerId entities and have methods to convert one to another. Seems, they are interchangable.
Why some components holds collections Peer (or PeerIs) and then convert whole collection to PeerId (or Peer) in the component methods?
This looks insane.

Can anybody explain to me next.
We have Peer and PeerId entities and have methods to convert one to another. Seems, they are interchangable.
Why some components holds collections Peer (or PeerIs) and then convert whole collection to PeerId (or Peer) in the component methods?
This looks insane.
1. PeerId fromPeer(Peer p) - this is static method

2. Peer peerFromPeerId(PeerId peer)  - this is private, but can be static as well, because no context is needed for conversion.

@AMashenkov It's just a problem of the current solution, where our Peer is a duplicate of PeerId from raft, because we can't use PeerId in raft-client module (raft-server depends on raft-client, but not visa versa).
This issue should be fixed I think, but under another ticket. I will create TODO and appropriate jira issue - WDYT?
What about 2 - will be fixed here.


Image input?

Would you be willing to implement taking an image as a prop? That way, the same component can be used to display an image based avatar, when the user has uploaded one, without having to switch components entirely and ensure the styles match up perfectly for a consistent experience

Since it got so many upvote, I've included this as to-do for v2.


Running tests for OpenCL

Summary:
When compiling cmdstan with OpenCL support, the following test fail:
python runCmdStanTests.py src/test/interface/opencl_test.cpp

See screenshot for the exact message. Unfortunately I cannot copy the error out from the server.

Oddly enough, the math-stan test,
./runTests.py test/unit -f opencl

runs with no errors.
I can compile and execute other Stan models no problem, with the exception that the GPU does not seem to be utilized when running a logistic regression. But this could maybe be because the routines described in https://github.com/bstatcomp/gpu-stan-paper-materials are not yet enabled for GLMs (?).
Additional Information:
Operating system: CentOS v7.5
GPU: Tesla V100
OpenCL version: 1.2
CUDA version: 9.2
Current Version:
v2.20.0

First of all sorry for the late reply, I was not getting notifications for cmdstan issues.
Anywaysm if you havent solved the issue. Could you post the contents of the make/local file?

But this could maybe be because the routines described in https://github.com/bstatcomp/gpu-stan-paper-materials are not yet enabled for GLMs (?)

Yes, GPU GLMs have not been merged to develop yet, hopefully in the next month.

I was able to reproduce this error. Thank you for the report.
It seems that building anything with STAN_OPENCL=true on 2.20 is not working. I am guessing this is related to the model base class PR. There arent any issue with the latest version of math.
Is the OpenCL interface not being run on the cmdstan repo?
@SteveBronder any ideas?

I'll look into this tmrw but I'm pretty sure you are right on with the CRTP rebuild

I will also dig deeper tomorrow, for now what I have found is this.
When linking the model -lOpenCL flag should be after src/cmdstan/main.o
This is how its called now:
g++ -std=c++1y -pthread -Wno-sign-compare   -I stan/lib/stan_math/lib/opencl_1.2.8  -O3 -I src -I stan/src -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.69.0 -I stan/lib/stan_math/lib/sundials_4.1.0/include    -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION  -DSTAN_OPENCL -DOPENCL_DEVICE_ID=0 -DOPENCL_PLATFORM_ID=0 -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -D__CL_ENABLE_EXCEPTIONS -Wno-ignored-attributes               -lOpenCL  src/cmdstan/main.o stan/lib/stan_math/lib/sundials_4.1.0/lib/libsundials_nvecserial.a stan/lib/stan_math/lib/sundials_4.1.0/lib/libsundials_cvodes.a stan/lib/stan_math/lib/sundials_4.1.0/lib/libsundials_idas.a  examples/test_opencl_issue/GP.o -o examples/test_opencl_issue/GP

If -lOpenCL is placed behind main.o its all fine:
g++ -std=c++1y -pthread -Wno-sign-compare   -I stan/lib/stan_math/lib/opencl_1.2.8  -O3 -I src -I stan/src -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.69.0 -I stan/lib/stan_math/lib/sundials_4.1.0/include    -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION  -DSTAN_OPENCL -DOPENCL_DEVICE_ID=0 -DOPENCL_PLATFORM_ID=0 -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -D__CL_ENABLE_EXCEPTIONS -Wno-ignored-attributes src/cmdstan/main.o -lOpenCL stan/lib/stan_math/lib/sundials_4.1.0/lib/libsundials_nvecserial.a stan/lib/stan_math/lib/sundials_4.1.0/lib/libsundials_cvodes.a stan/lib/stan_math/lib/sundials_4.1.0/lib/libsundials_idas.a  examples/test_opencl_issue/GP.o -o examples/test_opencl_issue/GP

Not sure exactly on where that could be changed in the cmdstan makefile structure, but its probably an easy fix for anyone more familiar with that.

Yep, we need to place all of the libraries like that behind the Stan objects. @mitzimorris would you have time to take a look at this regression? I can also take a look on Thursday if not.
Can someone see if this is broken in develop? I ask because MPI had a similar issue and I dug into it (and wrote up my findings about how linkers work, haha) and fixed it here: https://github.com/stan-dev/cmdstan/pull/717.

Can someone see if this is broken in develop?

I just went and checked, its not broken anymore on develop. Thank you for solving that! I guess we can close this issue then.

(and wrote up my findings about how linkers work, haha)

Useful link :raised_hands:

I got a sligtly different problem here. When I try to run
python runCmdStanTests.py src/test/interface/opencl_test.cpp
clang++ -DSTAN_OPENCL_CACHE=true -std=c++1y -Wno-unknown-warning-option -Wno-tautological-compare -Wno-sign-compare -D_REENTRANT    -I stan/lib/stan_math/lib/opencl_2.1.0  -I stan/lib/stan_math/lib/tbb_2019_U8/include -O3 -I src -I stan/src -I lib/rapidjson_1.1.0/ -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.69.0 -I stan/lib/stan_math/lib/sundials_4.1.0/include -I stan/lib/stan_math/lib/gtest_1.8.1/include -I stan/lib/stan_math/lib/gtest_1.8.1     -DBOOST_DISABLE_ASSERTS  -DSTAN_OPENCL -DOPENCL_DEVICE_ID=0 -DOPENCL_PLATFORM_ID=0 -DCL_HPP_TARGET_OPENCL_VERSION=120 -DCL_HPP_MINIMUM_OPENCL_VERSION=120 -DCL_HPP_ENABLE_EXCEPTIONS -Wno-ignored-attributes     -c -MT test/interface/opencl_test.o -MT src/test/interface/opencl_test.d -MM -E -MG -MP -MF src/test/interface/opencl_test.d src/test/interface/opencl_test.cpp
the results above keep appearing and does not stop.
MacOX catalina, cmdstan 2.21.0

Hi, the test was broken on the 2.21 release. Please clone the develop version of cmdstan from the repository and try to run it. There is also a new release coming in a week if you prefer that.

Thank you for your help! I just git clone the cmdstan from the GPU-based Parallel Computation Support for Stan paper. But I also have a question. Even through I am not using the GPU support functions like GLMs, any stan model I run should cause GPU activity? Since I am running one of my own model with GPU enabled, it gets slower than GPU disabled and there is no GPU usage by activity monitor.

Do you have STAN_OPENCL=true defined in make/local? It looks like that macro is not defined since no tests are running

Hi @SteveBronder,
Here is the text of my stan/lib/stan_math/make/local file in my clone of cmdstan:

STAN_OPENCL=true
OPENCL_DEVICE_ID=0
OPENCL_PLATFORM_ID=0

I verified the device is ID=0 from clifo.
Is that the right location for it?

Put that in cmdstan/make/local instead :)
On Sun, Jan 12, 2020 at 17:47 Nathan Sanders<EMAIL_ADDRESS>wrote:

Hi @SteveBronder https://github.com/SteveBronder,
Here is the text of my stan/lib/stan_math/make/local file in my clone of
cmdstan:
STAN_OPENCL=true
OPENCL_DEVICE_ID=0
OPENCL_PLATFORM_ID=0
I verified the device is ID=0 from clifo.
Is that the right location for it?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/cmdstan/issues/718?email_source=notifications&email_token=AAGET3AW4NJ23KMM3Z3KXQ3Q5OMZNA5CNFSM4IG25EC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIXGLFI#issuecomment-573466005,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGET3DFJNFJOAMCYV5XWYDQ5OMZNANCNFSM4IG25ECQ
.


Bottom up Test2014 features not extracting with make bu data

I tried creating numpy files from test2014 variable box features from P.Anderson's git using make_bu_data. but there's an error in padding while decoding from string to numpy array.
item[field] = np.frombuffer(base64.decodestring(item[field]),
dtype=np.float32).reshape((item['num_boxes'],-1))
it says, incorrect padding within decodestring function. I tried adding ''=" at the end but then the dimensions of resultant numpy array mismatches with num_boxes. This error occurs for every tsv file in test2014 adaptive feature set.
Any help would be appreciated.

How about something like this for make_bu_data.py:
def decode_base64(data):
    """Decode base64, padding being optional.
    :param data: Base64 data as an ASCII byte string
    :returns: The decoded byte string.
    """
    missing_padding = len(data) % 4
    if missing_padding != 0:
        data += b'='* (4 - missing_padding)
    return base64.decodestring(data)

for infile in infiles:
    print('Reading ' + infile)
    with open(os.path.join(args.downloaded_feats, infile), "r+b") as tsv_in_file:
        reader = csv.DictReader(tsv_in_file, delimiter='\t', fieldnames = FIELDNAMES)
        for item in reader:
            item['image_id'] = int(item['image_id'])
            item['num_boxes'] = int(item['num_boxes'])

            if len(item['features']) % 4 != 0 or len(item['boxes']) % 4 != 0:
                continue
                # print(item['image_id'])
                #pdb.set_trace()

            for field in ['boxes', 'features']:
                item[field] = np.frombuffer( decode_base64(item[field]),
                        dtype=np.float32).reshape((item['num_boxes'],-1))
            np.savez_compressed(os.path.join(args.output_dir+'_att', str(item['image_id'])), feat=item['features'])
            np.save(os.path.join(args.output_dir+'_fc', str(item['image_id'])), item['features'].mean(0))
            np.save(os.path.join(args.output_dir+'_box', str(item['image_id'])), item['boxes'])

print('Done.')

Let me know how that works.

trying.....

That seems to work. The folders has right number of files. I just need to write the code for using those features and checking how they contribute towards evaluation on the server.
I'm very thankful for quick response and elegant solution.

Great. Happy to help!

Great. Happy to help!

That seems to work. The folders has right number of files. I just need to write the code for using those features and checking how they contribute towards evaluation on the server.
I'm very thankful for quick response and elegant solution.
i have encounter the problem: ValueError: buffer size must be a multiple of element size


Weirdness in the MonteCarlo struct

When I first read through the code of the MonteCarlo propagator I got really confused because it makes no sense to sample a move whose frequency is smaller than the sampled float. Makes a lot more sense if they are cumulative frequencies. It turns out they are, but the attribute is named frequencies.
Hovewer, if we renamed the attribute to reflect that they are cumulative frequencies things get weird because in the beginning (before setup is called) they are frequencies.
It turns out the weirdness comes from the methods add and add_move_with_acceptance, since they are the ones dealing with frequencies before the setup.
All of this to ask: is there sometimes a situation where we need to initialize a MonteCarlo propagator without the associated moves and add the moves later ? Because if not one could pass a Vec of (Box<MCMove>, f64, Option<f64>) to the constructor. This way frequencies would always be cumulative frequencies, and more importantly we would not have methods that can panic, which is always good.

I totally agree that the whole frequencies in the MonteCarlo code are confusing (there is also the frequency to update amplitudes for moves - maybe we should change it to update_interval).

All of this to ask: is there sometimes a situation where we need to initialize a MonteCarlo propagator without the associated moves and add the moves later ? Because if not one could pass a Vec of (Box, f64, Option) to the constructor.

I can't think of such a situation. However, I feel that - when using lumol as a lib - it is more convenient to add moves separately.
But I agree on the point that this is not very transparent and we should make it more plausible. That being said, I am working on the user manual part of the MC stuff. Since it already includes resize moves (which are currently in PR) I want to wait till we merge. We maybe should also add more information to the API documentation of MonteCarlo.

We can also use the builder pattern here, and have a MonteCarloBuilder/MonteCarloOptions struct where one can add moves one by one, and then call MonteCarloBuilder::build(self) -> MonteCarlo to normalize the move probabilities and setup the update intervals.


How to properly annotate and present return ResponseEntity

Please take the time to search the repository, if your question has already been asked or answered.

[x] What version of the library are you using? Is it the latest version? The latest released version is
spring boot 2.0.3.RELEASE,  springfox 2.9.2

What kind of issue is this?

[x] Question.
How to properly annotate and present the detail of return ResponseEntity<Map>?
Such as below , how can i present Responses detail , something like "{"jwt": "xxxxxxxxxxx",  "accessToken":"xxxxxxxxxxx"}"

controller
@PostMapping(value = "/s/login")
@ApiOperation(value = "第三方登录 - 授权", response = Map.class)
public ResponseEntity<Map> login() {
        ......
        HashMap<String, String> result = new HashMap<>();
        result.put("jwt", "xxxxxxxxxxx");
        result.put("accessToken", "xxxxxxxxxxx");
        return ResponseEntity.ok(result);
}

It doesn't work for me either. I copied your code directly
Has anyone solved this problem?
@RestController public class TestController {     @RequestMapping(value = "/1570", method = RequestMethod.POST)     @ApiOperation(value = "Demo using examples")     @ApiResponses(value = {@ApiResponse(code = 404, message = "User not found"),             @ApiResponse(                     code = 405,                     message = "Validation exception",                     examples = @io.swagger.annotations.Example(                             value =  {                                     @ExampleProperty(                                             mediaType = "Example json",                                             value = "{\"invalidField\": \"address\"}"),                                     @ExampleProperty(                                             mediaType = "Example string",                                             value = "The first name was invalid")}))})     public void saveUser() {         //No-op     } }
then i got this result：
"paths": {     "/1570": {       "post": {         "tags": [           "test-controller"         ],         "summary": "Demo using examples",         "operationId": "saveUserUsingPOST",         "consumes": [           "application/json"         ],         "produces": [           "*/*"         ],         "responses": {           "200": {             "description": "OK"           },           "201": {             "description": "Created"           },           "401": {             "description": "Unauthorized"           },           "403": {             "description": "Forbidden"           },           "404": {             "description": "User not found"           },           "405": {             "description": "Validation exception"           }         },         "deprecated": false       }     },


Wrong installation instructions

Checklist

[X] I have searched the existing issues for similar issues.
[X] I added a very descriptive title to this issue.
[X] I have provided sufficient information below to help reproduce this issue.

Summary
The correct installation instructions should be:
pip install streamlit-community-navigation-bar

The old package name is still mentioned in the readme
Reproducible code example
No response
Steps to reproduce
No response
Expected behavior
No response
Current behavior
No response
Is this a regression?

[ ] Yes, this used to work in a previous version.

Debug info

Streamlit version:
Streamlit Navigation Bar version:
Python version:
Operating System:
Browser:

Additional information
No response

Good catch . . .


wrong number of arguments using dynamic search scopes

I have the following search and I'm getting wrong number of arguments
pg_search_scope :advance_search, lambda {|*args, query|
      return {:against => args,
      :query => query,
      using: { tsearch: { dictionary: "spanish"} } }
  }

def self.searchadv(title, place, category)
    advance_search(:title => title, :place => place, :category => category)
end

I thinks this is an issues.

@JeanOsorio I know this is from a long time ago, but I'm seeing the exact same issue. Did you ever figure out what the issue was?


Switch to babel preset env

Motivation:

babel-preset-env is now the recommended approach, and other presets are being deprecated.
If you think of it, it's also much smarter.
.babelrc.js is also sort of deprecated, and will be not supported anymore un Babel 7.
Instead, use JS files which offer more flexibility than JSON.
All major libs are moving to JS config files: Jest, Eslint, etc.
Added the --copy-files to jest-enzyme package build, this should fix #110.

This is great! Can you rebase so I can merge?

Rebased.

will need it one more time ;)

Rebased :)


[guides] migrate border-router guides

Please double-check the Copybara import results but I think we're good to go here.


bgpv2:  Route policies for various reconcilers

This change introduces generic route policy reconciler which can be used by other advertisement reconcilers
Please check each commit for route policy integration

Pod CIDR
Pod IP Pool
Service

LB Pool
Cluster IP / External IP

/test

/test


Fixed url for nuuid

Added .git extenstion to url

I don't think this is necessary. You can git clone that url without the .git extension.

I'm getting this error:
[willy@blackmountain nim]$ nimble install nuuid
Downloading nuuid into /tmp/nimble_15447/nuuid using git...
Initialized empty Git repository in /tmp/nimble_15447/nuuid/.git/
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 7 (delta 0), reused 2 (delta 0), pack-reused 0
Unpacking objects: 100% (7/7), done.
From https://github.com/wheineman/nim-only-uuid

branch            master     -> FETCH_HEAD
[new branch]      master     -> origin/master
HEAD is now at 618a70f Made pattern a const
Switched to a new branch 'origin/master'
FAILURE: Invalid field: url

Never mind. The issue was with the .nimble file in my project. Sorry to waste your time.


Wrong targets when multiple are specified on command line

Hi, if I run the following command on Windows, it works as expected.
pkg -t node10-win-x86,node10-win-x64,node10-linux-x64,node10-macos-x64 ....
But if I run it under Ubuntu, it tries to download node10-linux-x86 package which does not exist on repository and also it was not specified as a target.
It works fine when running the script several times specifying one target each round.
Regards,
Mauro.

Same issue here.
I only set node10-win-x86, but It's trying fetch node10-linux-x86  too. But there is no linux-x86.
Then throwing error...


ModuleNotFoundError: No module named 'langchain.schema.vectorstore'

@Vaibhav-arcitech Hey can you share more about the error? Can you share the whole log?

This was a problem with swarms and has been commented out. Please upgrade the package and try again.


session.setTimeout(60000);

Greetings,
Is there a way to implements session timeout?
I know that in jsch you can invoke: session.setTimeout(60000);

Hi, yes this would be very useful.

As a workaround for android devices, you can have the following at line 246 at SshPlugin.java
session.setConfig(properties);
session.setTimeout(10000);
session.connect();

So every session will have a timeout of 10 secs.
It would be helpful is someone would show a workaround for (ios library) nmsh !!


[bug][v9] Actors with Loot Sheet assigned do not show loot sheet when double-clicked; remain default sheet instead.

Describe the bug
When an actor is assigned the NPC Loot Sheet 5e as their character sheet, the sheet fails to open to the appropriate sheet when clicked.
To Reproduce
Steps to reproduce the behavior:

Go to 'Sheet'
Assign 'this sheet' to NPC Loot Sheet 5e
Save Configuration
Reopen actor's sheet.

Expected behavior
The actor's sheet should be the assigned loot sheet. Instead, it defaults to the Default Sheet.
Desktop (please complete the following information):

OS: Windows
Browser: Firefox

Additional context
Add any other context about the problem here.

I have a fix for this .... if DanielBoetnerr has not fixed this.
Describe the bug
In 9.242, somehow (maybe because other modules) no loot sheets worked. I managed to fix them by sanitizing inputs.
My loot actors had incorrect currency. They were old actor first created in 8. something, but new ones did not work either. You could not click on the actor or the token to bring up the loot sheet, it would spew an error.
Here is the fix, I added an IF statement inside convertCurrencyFromObject to fix it.
Perhaps there is another better fix.
Line 45 of LootHseetNPC5eHelper.js
/**

Handles Currency from currency.TYPE.value to currency.TYPE for backwords support
@param {string} folderPath - The directory to loop through
*/
static convertCurrencyFromObject(currency) {
// fix for broken case
Object.entries(currency).map(([key, value]) => {
if (value) {
currency[key] = value.value ?? value;
} else { currency[key] = 0; }
});
return currency;
}

Please test https://github.com/jopeek/fvtt-loot-sheet-npc-5e/releases/tag/nightly-v<IP_ADDRESS>


file-type <16.5.4 vulnerable to Infinite Loop via malformed MKV file

file-type <16.5.4 has a vulerablity.
❯ npm audit --omit  dev
# npm audit report

file-type  <16.5.4
Severity: moderate
file-type vulnerable to Infinite Loop via malformed MKV file - https://github.com/advisories/GHSA-mhxj-85r3-2x55
fix available via `npm audit fix --force`
Will install<EMAIL_ADDRESS>which is a breaking change
node_modules/file-type

This vulerablity was fixed in following versions.

Release v17.1.3 · sindresorhus/file-type
Release v16.5.4 · sindresorhus/file-type

file-type has a breaking change. We need to do breakchanges.

fixed in #5


show_node() should display attached networks

Currently, when attempting to detach a node from a project, one can encounter errors due to the node still being connected to networks:
$ haas project_detach_node moc-prod node-123
Unexpected status code: 409
Response text:
{"msg": "Node attached to a network", "type": "BlockedError"}

Especially if this node were set up by someone else, it can be difficult to figure out which networks it is connected to.
show_node() should display a list of such networks, as well as the channels on which they are connected. This could be implemented as a show_nic() command, which is then called within show_node() for each nic.
This is somewhat the inverse of #496.
This was encountered by several folks, including @rahulait and @weinbe2

I ran across this issue as well. This fix looks ideal.