Mysterious exception when using tf.data.Dataset.from_tensor_slices

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Google Colab
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
N/A
TensorFlow installed from (source or binary):
?
TensorFlow version (use command below):
2.3.0
Python version:
3.6.9
Bazel version (if compiling from source):
N/A
GCC/Compiler version (if compiling from source):
N/A
CUDA/cuDNN version:
?
GPU model and memory:
?

Describe the current behavior
When I run tf.data.Dataset.from_tensor_slices(data), it takes a very long time, but at the end, I get:
an InvalidArgumentError with OpKernel 'Pack' has constraint on attr 'T' not in NodeDef '[N=0, axis=0]', KernelDef: 'op: "Pack" device_type: "CPU" constraint { name: "T" allowed_values { list { type: DT_QINT32 } } }
data is a list containing my data
Describe the expected behavior
It should run without any exceptions. The docs don't mention that this function will raise an InvalidArgumentError. I have tried searching the internet for a solution, but the only thing I could find is a Chinese site with no useful information.
Standalone code to reproduce the issue
This is my exact code
https://gist.github.com/firebird52/a87558e9d6a675e3d68d22ccc48f447b
Other info / logs
I think it has to do with my data. It seems to be saying that my data has to be of type DT_QINT32. All of my data is in the form of strings.

Do you need to use tf.data.Dataset.from_tensor_slices(data[1][0])?

I don't know. I'm fairly new to Tensorflow, but I'll try that out, @bhack .

@bhack It does prevent the error, but I wanted to merge the rows of the dataset. How would I do that?

If you want to use from_tensor_slices you need to prepare something compatible

Ok. I want to merge the rows of the dataset in a way so that they are compatible with from_tensor or from_tensor_slices. Is there a way to do that, @bhack ?

For this as It Is not a bug or feature request you need to close the ticket and open a support question at https://stackoverflow.com/questions/tagged/tensorflow

Okay, @bhack. I'll put this on Stack Overflow.


[Feature Request]: Improved scalability of the notebook server UI

Feature description
The notebook server UI can get quite messy as custom notebooks are added:

It would be great if the UI could scale better so it doesn't become as cluttered.
Describe alternatives you've considered
We already have a scalable UI for selecting custom notebooks when creating a workbench, the same could be applied for when starting a notebook server. Maybe with the added ability to search in the dropdown so the user does not need to scroll through all the images.
Anything else?
No response

yeah, this is the "old" Jupyter tile. Well, personally, aside from some playing around with that view by ODH Admins, I see Data Science projects and its view of Notebook images (imagestream name and tag based) as much more relevant. I'd venture to say: just use a data science project, can be one for Admins as well, and let go of that Jupyter tile ;-)

Migrated to:  https://issues.redhat.com/browse/RHOAIRFE-11


[Refactor] unified interface for long ctx attn

@Eigensystem update the unitests in tests/core/test_xfuser_attn.py


Inline identifiers that are constants into CSS

Right now we end up making any identifiers into a dynamic variable. We can optimize this by inlining identifiers that are constants instead.
Before
const color = 'blue';

.cc-abc123 { color: var(--var-abc123); }

After

.cc-abc123 { color: blue; }

I'd like to take a shot at this!

cool let me know if you need any help getting started 😄


[Bug]: Hires fix does not appear to work with dream while containing part of an existing image stamp

Is ths issue about the extension?

[X] Yup, this is for sure about the extension

What happened?
I am not entirely sure if this is a feature request or a bug report, so I'm going to be treating is as a bug report. I enabled hires fix because outpainting from my 1024x1024 image was generating bad anatomy (extra legs, legs coming out of surfaces they should not have, etc) thinking that it would help. Instead, it just continued generating at the same resolution without the upscale and second pass. I thought maybe I was doing something incorrectly, so I tried separating resolution from cursor size, using a smaller resolution to dream with. This was also futile.
I read through the documentation to see if this was a known limitation or known issue, but found nothing about it. I read further into how the hires fix portion was intended to use, and attempted with both lying to hires fix and not lying to it. Lying to it seemed to be what I was attempting to do previously by decoupling synchronization of the resolution from the cursor size, but I was trying to figure out anything that would have passed as a workaround.
Eventually I settled on just downscaling my original image, outpainting the lower half of my character, then upscaling from the Extras tab (obviously not part of the extension), using photoshop to restore the hires sections, and then inpainting the lower half with the sample count and denoising level I would have used for hires fix, which is not unworkable, but just a bit more tedious.
Additionally, I attempted to dream outside of the original image bounds, which produced a result incongruous to the image I wished to outpaint (as expected), but successfully applied hires fix.
Steps to reproduce the problem

Stamp your source image for outpainting
Select the dream tool and set your desired settings and enable Apply Txt2img HRfix
Dream to outpaint an extension of the image in a single direction (perhaps other directions, but I did not test this)

What should have happened?
The txt2img hires, fix should be applied to the portion of the outpainting, regardless if it contains existing image data.
Commit where the problem happens
5e84d6d5 (Mon Apr 10 23:01:41 2023)
What platforms do you use to access openOutpaint?
Linux
What browsers do you use to access the UI ?
Mozilla Firefox
Browser Extensions/Addons

AUTOMATIC1111 webUI Commandline Arguments
export COMMANDLINE_ARGS=" --no-half-vae --no-gradio-queue --xformers --api"
Additional information
No response

hey, sorry for the delay; so unfortunately this is kind of neither a bug report NOR a feature request; the reason the tool is called "dream" and not txt2img is because it dynamically jumps between txt2img and img2img functionality depending on the contextual data in the reticle - if it's entirely empty, it's a txt2img operation and HRfix can be applied, but as soon as there's existing image data, HRfix will do nothing as it's strictly a txt2img operation within A1111 webUI currently.

Ah. This is one of those things where implementing it would require writing their own implementation of hires fix.


fix: pyright has moved out of nodePackages

See https://github.com/NixOS/nixpkgs/pull/302680. This makes it possible to use inputs.nixpkgs.follows in downstream flakes.

Thanks!


[Horreum] Infinispan metric calculation sometimes results to division to 0 #832

Fixes #832

You can find a successful run on my fork here: https://github.com/andyuk1986/keycloak-benchmark/actions/runs/9267087730

So, I am afraid that the generated report data so far was only correct for memoryUsageTest, for other 2 test runs (cpuUsage and cpuUsageForGrants was incorrectly calculated).

@andyuk1986 - thank you for figuring out the problem!
To help me understand the root cause: Can you please describe it to me? Looking at the diff, the rm seems to do the trick?

@andyuk1986 - thank you for figuring out the problem!
To help me understand the root cause: Can you please describe it to me? Looking at the diff, the rm seems to do the trick?
@ahus1 actually there were 2 problems:

The floating point math operation in bash sometimes were throwing error which was causing that data was completely missing for specific test.
The 'rm' part was the reason of devision to 0 issue. When the statistic is read from prometheus the data is stored in the file. This is done before and after the benchmark ran and is written on new line. Then the metric calculator reads the data and makes math operations to calculate that and theoretically should remove the file for next bechmark iteration as the next benchmark uses the same file name. I was deleting one of the files and missed the second, as for ispn metric calculation I am picking 2 time sub-metrics (seconds sum and count) and store them in different files for later processing. So as one of the files was not deleted, the later benchmarks were adding the new statistics to already existing file where already data was from previous benchmark run, and after that the whole calculation was going wrong.

Thank you for the explanation and the fix!


stylizing with scoped style

Checks

[X] Not a duplicate.
[X] Not a question, feature request, or anything other than a bug report directly related to Vue Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions

Version
0.5.14
Description
It's not possible to stylizing with scoped style, by some reason, it's not adding vue data-v attribute, it's not using in Vue.js?

Reproduction Link
No response
Steps to Reproduce

add some code into scoped style, like:

<style scoped>
.splide__arrows {
  background: black;
}
</style>

Expected Behaviour
Apply the style into component

It's not possible because arrows are generated by the native function.
Use the :deep selector or manually provide arrows by a slot.

Ok, I understood.
It's make sense to rewrite the splide into Vue.is? Not only by this reason, make more easier to add splide's default components, I have a lot of difficult to do this

I'm not planning to do that for now because there are already other carousel libraries made for Vue.


Feature Request: nvm package.json field

It would be nice if the .nvmrc file format could additionally be parsed from a package.json field. I have starting getting in to the habit of adding as many configuration files into package.json to avoid clutter in the root of projects.
Example:
// package.json
{
  "name": "project",
  // etc.
  "nvm": "10.14.1"
}

Parsing JSON in posix is prohibitively complex; it’s one of the reasons nvm doesn’t look at the engines field (see #651 / #1535).
In general, I’d suggest separate config files anyways - a cluttered root is far less problematic than a cluttered package.json :-)

Parsing JSON in posix is prohibitively complex; it’s one of the reasons nvm doesn’t look at the engines field (see #651 / #1535).
In general, I’d suggest separate config files anyways - a cluttered root is far less problematic than a cluttered package.json :-)

Fair enough, wasn't familiar with how nvm was built :)


Inconsistent simulation before and after synthesis of complex assignment expressions

Version
Yosys 0.48
On which OS did this happen?
Linux
Reproduction Steps
Run the script in the terminal (after removing the .log suffix from the filename)：
yosys：
read_verilog rtl.v
synth
write_verilog syn_yosys1.v
    iverilog -o wave -y syn_yosys1.v yosys_testbench.v
    vvp wave > file1.txt

    iverilog -o wave1 -y rtl.v yosys_testbench1.v
    vvp wave1 > file2.txt

rtl.v.log
yosys_testbench.v.log
yosys_testbench1.v.log
Expected Behavior
Pre-synthesis simulation and post-synthesis simulation should be consistent
Actual Behavior
Inconsistency between pre-synthesis re-simulation and post-synthesis simulation

You are submitting a bug report produced using fuzzing tools. With such bug reports, it is often hard to tell whether the issue reported is an issue in Yosys or an issue with the test harness.
Unless you submit a minimized example clearly demonstrating the construct that causes the inconsistent behavior your bug report will be closed as invalid.

Ok thanks a lot for your suggestion, I have simplified the code and implemented only some reg and wire definition and instantiation modules in the code again and found that the problem is in this code in the top module:
always     @(posedge clk)             begin               reg259 <= (($signed((wire250[(5'h11):(5'h10)] ?                       (~&reg251) : $signed(wire237))) - $signed(($unsigned(wire234) ?                       (wire3 * reg248) : (wire246 ~^ reg251)))) ?                   $unsigned((wire242 >>> (~{wire243, wire237}))) : wire238);                                  end
It was found to cause inconsistencies in the simulation function before and after synthesis
rtl1.txt

Please submit another complete RTL file with only the offending construct in it. It should be only a few lines long.

rtl2.txt

This is an improvement but it still contains redundant code that does not appear to be core to the issue. For example, param280 and param281 are never used inside of the body of the module, and are clearly redundant.
Please submit a complete RTL file without every construct that is not relevant to the issue at hand.

See https://github.com/YosysHQ/yosys/issues/997 for an example of a well reported bug found by fuzzing. Note that it includes the following

A short human readable testcase that contains nothing but the constructs needed to trigger the bug
A hypothesis about what constructs Yosys is treating incorrectly and what the expected behaviour should be
The testcase is small enough to be put in a small markdown block in the github issue instead of requiring a download. This generally makes it easier for people to look at the issue and see if its something they are likely to be able to fix. Having a big testcase that requires a separate download reduces the amount of people that will bother to look at your issue

Having a big testcase that requires a separate download reduces the amount of people that will bother to look at your issue

This is true, but we also must keep in mind the overall dynamics of the issue. Fuzzer authors derive substantial benefit from fuzzer-found issues that are acknowledged by the project being fuzzed, such as publishing of academic papers and procurement of funding. Because of this they are incentivized to submit as many issues as they can in the lowest possible time, often not investigating the causes or minimizing the reproducer at all (e.g. this issue). Many such bugs are actually already known ones (fuzzers tend to have a very high rediscovery rate), and as a result, the project suffers from having to dedicate triage resources while often deriving no benefit from the report at all.
I see this pattern as exploitative and believe we must not encourage it.

This is true, but we also must keep in mind the overall dynamics of the issue

Maybe we are talking past each other here, I am totally in agreement and my points were meant as guidance towards what practical steps in submitting a fuzzer found bug make it easy to be quickly triaged/fixed if appropriate

I meant to add to what you said, not to contradict it, apologies.

Ok, thank you very much for your patient reply. This will not bother me, but will let me learn how to submit bugs, which will improve efficiency and achieve a win-win situation. Thank you again for your help and support.
---- Replied Message ----
| From | @.> |
| Date | 12/31/2024 18:36 |
| To | @.> |
| Cc |<EMAIL_ADDRESS>|
| Subject | Re: [YosysHQ/yosys] Inconsistent simulation before and after synthesis of complex assignment expressions (Issue #4828) |
I meant to add to what you said, not to contradict it, apologies.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

thank you very much for your patient reply. This will not bother me, but will let me learn how to submit bugs, which will improve efficiency and achieve a win-win situation. Thank you again for your help and support.
---- Replied Message ----
| From | @.> |
| Date | 12/31/2024 18:36 |
| To | @.> |
| Cc |<EMAIL_ADDRESS>|
| Subject | Re: [YosysHQ/yosys] Inconsistent simulation before and after synthesis of complex assignment expressions (Issue #4828) |
I meant to add to what you said, not to contradict it, apologies.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Fix stm32 build

The weak change is in PR #8616

Do you want to merge the weak fix thru here or on #8616?

I did merge the weak change via #8616.

Codecov Report

Merging #8618 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #8618      +/-   ##
==========================================
+ Coverage   64.17%   64.17%   +<.01%
==========================================
  Files         429      429
  Lines       41157    41161       +4
  Branches     6925     6926       +1
==========================================
+ Hits        26413    26416       +3
  Misses      11587    11587
- Partials     3157     3158       +1

Impacted Files
Coverage Δ

subsys/net/l2/ethernet/ethernet.c
51.73% <0%> (-0.02%)
:arrow_down:

subsys/net/ip/net_private.h
40% <0%> (ø)
:arrow_up:

subsys/net/ip/net_core.c
71.53% <0%> (ø)
:arrow_up:

include/net/net_ip.h
70.39% <0%> (ø)
:arrow_up:

include/net/ethernet.h
38.46% <0%> (+5.12%)
:arrow_up:

Continue to review full report at Codecov.

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


Asia network log partition is zero in the docs

Is that expected?
https://github.com/openjournals/joss-reviews/issues/5700

The partition function ( Z ) is basically the 'normalizer' for our model. It ensures that the probabilities sum to 1. If you've already got all your factors normalized, like in our toy example, then ( Z ) will be just 1.
We've added a comment in the example to clarify this point.


Making this library more like Hugging Face

I have expressed my interest in having RWKV officially implemented in Hugging Face in https://github.com/huggingface/transformers/issues/17230.
Meanwhile, I have a distilled set of suggestions for how this library could be made more familiar to people who are already used to transformers and AutoModelForCausalLM.
Maybe some of these are already possible in the current version of rwkv. If so, I would be grateful if you could let me know how.
1. Being able to load the tokenizer explicitly
with something like
tokenizer = RWKVTokenizer.from_pretrained("/path/to/20B_tokenizer.json")

and then use it with
prompt = "Hello, my name is "
input_ids = tokenizer.encode(prompt)

Having the ability to count the number of tokens in a given prompt is very useful.
2. Generating text with input_ids as input rather than a string
Something like
output_ids = model.generate(input_ids, temperature=0.8, top_p=0.95)
output_text = tokenizer.decode(output_ids)

3. Generation parameters
Many parameters are available for model.generate() in HF, but it seems to me that the absolutely essential ones that everyone uses are:

temperature ✅
top_p ✅
top_k
repetition_penalty

I am aware that alpha_frequency and alpha_presence are implemented, but these parameters are not usually found in presets that people have already come up with while working with other models. For this reason, having repetition_penalty would be valuable.

For reference, I am currently using this wrapper to run the model:
https://github.com/oobabooga/text-generation-webui/blob/main/modules/RWKV.py

from tokenizers import Tokenizer # pip install tokenizers
tokenizer = Tokenizer.from_file("20B_tokenizer.json")
print(tokenizer.encode("Hello World").ids)
print(tokenizer.decode([12092, 3645])

output_ids = tokenizer.encode(model.generate(tokenizer.decode(input_ids), temperature=0.8, top_p=0.95)).ids
output_text = tokenizer.decode(output_ids)

soon :)

Thanks, based on your suggestions I have added a RWKVTokenizer wrapper: https://github.com/oobabooga/text-generation-webui/commit/e91f4bc25a4838137a39817c7f4154bc69de4069


updated packages

Description

A clear and concise summary of the change and which issue (if any) it fixes. Should also include relevant motivation and context.
Resolved or fixed issue:
Affirmation

[ ] My code follows the CONTRIBUTING.md guidelines

Checkmarx One – Scan Summary & Details – d54bf336-ea55-4a37-a8f8-8469227018df
Policy Management Violations

Policy Name
Rule(s)
Break Build

High and Medium
Medium Severity, High Severity
false

No New Or Fixed Issues Found


Is there a way to 'reset' monitored downloads?

Is your feature request related to a problem? Please describe
I basically deleted an entire folder of tags that I had been monitoring to see if this was possible. I thought that by emptying out the .md5 file that maybe it would just attempt to re-download everything from all my tags but that didn't happen.
As I found out though, it just continues to download new things since the previous monitoring time.
Describe the solution you'd like
I'd like to re-download everything from every tag in my Monitors list. As in have Grabber think that everything is new again and try to download it all.

There's no way to do that currently since you can't change the "last check" of a monitor in the UI.
I'd suggest opening the settings directory, and editing the "monitors.json" file there, and changing the "lastCheck" date of the monitor you want to reset. Put it to something a long time ago and it should re-check everything when the monitor triggers next time.

There's no way to do that currently since you can't change the "last check" of a monitor in the UI.
I'd suggest opening the settings directory, and editing the "monitors.json" file there, and changing the "lastCheck" date of the monitor you want to reset. Put it to something a long time ago and it should re-check everything when the monitor triggers next time.

Can do. Thank you!


Error: 'name' of undefined

When executing 'generate-attribution' I get this error:
[TypeError: Cannot read property 'name' of undefined]
Nothing is created.
Any idea?

can you share a symptomatic package.json file? It may have been fixed in 1.1.0.


Use go:embed for static yaml files

Move from bindata to go:embed.
Contains bump of library-go and related changes.

/hold
for https://github.com/openshift/library-go/pull/1117
/retest

/hold cancel
updated with openshift/library-go#1117


Error 429 happens more often than in the WebUI

I realized the ChatGPTAPI error 429 happens quite often from within extension - usually after previous timed out request. It rarely happens from the Web UI.
Usually the fix is reloading window (VS Code) - so it doesn't seem that it really is error 429 - does it cache the error?

OK, something interesting is happening - clicking the new button Clear conversation also fixes the problem (without reloading window). This may indicate that the problem lies somewhere else than 429.

429 is basically a Too many requests error. Meaning that you need to give it a few moments to retry. Clear conversation re-instantiates the chatgpt api. OpenAI APIs rate-limit requests coming from outside of their web apps. The reason why it started working for you after a clear conversation, could be that you gave a few moments to retry submitting your request.

I don't think so - I've had this situation at least 10 times - no matter how much time I gave it didn't help, clearing session also didn't help only reloading window or now clearing conversation helps.
I cleared conversation 1 second after I tried to send query and got the error again.

Alright, let me try to reproduce the issue on my end. Thanks a lot for reporting it!

In order to reproduce it you need to get timed out error first. Then when you try after timeout you will get 429 that keeps with every following request.

My repro scenario:

I keep hitting Add Tests until I see a 429
Once in 429 error state, all my next queries run into 429
I wait for a few seconds (Until I see a response for the very first question I asked initially)
After I receive a response, I am able to send new prompts without errors
During this I don't restart vscode nor do I clear conversation.

I cannot repro your problem but I need to wait until I get a response for my initial request that I didn't receive a 429 for.

I believe timeout error is crucial for reproducing - also each time the error happened was from the conversation window.

Ok. I will try to repro again.
There were a few error handling updates on the API wrapper package I'm using. I did update it to latest in case that'd help. It's on v1.6.2 and is being rolled-out to marketplace now.

OK, got 1.6.2 already - will be hunting for elusive timeout :)

Seems like other people are also seeing this: https://github.com/transitive-bullshit/chatgpt-api/issues/111 . Closing this since it's on OpenAI to block requests after a timeout. Clearing conversation / Resetting thread will help unblock the flow.

Resurrecting this thread since with v2, the extension will now work flawless using the browser behind the scenes for the ChatGPT prompts. FYI @gregid please update your extension to latest and let it log you in, keep the browser open and ask ChatGPT your questions as usual.


diff build package against archive version

What about optionally diffing the generated packages against the version in the archive, so we can detect needed rebuilds as well? Useful tools would be:

diffoscope
abipkgdiff
Pkg-ABIdiff (not yet in Debian)

I could work in this, it it's wanted.

Thanks for starting this discussion. Unfortunately, I don’t quite follow what the use-case is. Could you describe in more detail, perhaps with an example please?

I maintain a couple of packages that may need to be recompiled once
their build dependencies are updated. So it would be great to diff the
generated package and get a list of packages that need a version bump.
Thinking of it, maybe it would be easier to simply write a script to do
the download and diff afterwards. So feel free to close this.


[BUG] Launcher is not setting the NODE_ENV environment variable.

Environment
🪟 Windows
System
Any Windows
Describe the problem
The startup scripts in the main repo set the NODE_ENV to production.
https://github.com/SillyTavern/SillyTavern/blob/5a4e23f62f12d3b91d01d261d52a3e78abff8492/Start.bat#L3
This doesn't happen when using the launcher.
Additional info
Why is it bad?

The server will report as running in an undefined environment upon startup.
Some libraries may not include additional optimizations that are only activated in production.

How to fix?
Add set NODE_ENV=production at the very start of the launcher.bat or in the server startup string.
Please tick the boxes

[X] I have explained the issue clearly, and I included all relevant info
[X] I have checked that this issue hasn't already been raised
[X] I have checked the docs

this issue has now been fixed at
https://github.com/SillyTavern/SillyTavern-Launcher/commit/3c6bca60065e3fd69faad98e51ffd292689e1414#diff-a0205db631f5d0cd7cb7ccd40570bf1addb891e7775d7aa8cba136ee3b30834dR21
and
https://github.com/SillyTavern/SillyTavern-Launcher/commit/a07fa2eea096dc455b1e0df2eab71d8598860ad8


App::Ack::Resource::Basic attempts to open directories for reading with open()

When I try to search my source tree, I get the following error:
$ ack2 -l FOO
ack: .git: Permission denied
Can't call method "name" on an undefined value at d:/git/ack2/ack line 1247.
I was able to trace this back to App::Ack::Resource::Basic line 37, which attempts to open the file it's been passed for reading.  If this file is a directory, then this attempt fails (yielding the "Permission denied" error) and the method returns no object (which explains the "Can't call method on undefined value" error immediately afterward).  If I make a local modification to the module so  line 37 reads
if ((! -d $self->{filename}) && !open( $self->{fh}, '<', $self->{filename} ) ) {
then I get the following output:
$ ack2 -l FOO
Doxyfile
lib/GA/MiddleTier/Ops/Sync/WizardData/Mssql.pm

Actually, the "chmod 000" in this test is incorred.  The directory in question had permissions of 755; the reason for the "Permission denied" error is because Basic.pm was trying to use open() to read a directory instead of opendir(), and under strawberry perl, that fails with a "Permission denied" error.
This test, as coded, does not test for the described error.

Ah, it's under Strawberry Perl.  I don't have an environment in which to test that; would you mind correcting the test, please?  A fixup patch would be nice, too! =)

This should be fixed in 03372812; please test it out.


added suggestions.md to give some helpful feedback on how to approach…

… solving the date display

added suggestions.md to give some helpful feedback on how to approach formatting the year correctly.


[Service Bus] Test failure related to "sending messages with different session-ids in a batch for partitioned entities"

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=567200&view=logs&j=0421300e-d7b4-5c64-f530-fa21e83c0a48&t=be90f061-ea95-551c-fa29-249cf564c712
TODO:

Confirm the issue
Reach out to the service

After talking with the service team it turns out that while this might have been allowed before (and was a no-op) it could lead to problems further down the line for customers that had enabled message forwarding.
The SDK now checks that these fields match when sending messages (throwing Error:  TypeError: The fields 'partitionKey' and 'sessionId' cannot have different values.). So this bug can be closed now - it was both researched, and new validation was added to properly handle it.


Dump Twitter::NullObject as JSON properly

null = Twitter::NullOjbect.new
{ "null_object" => null }.to_json

In previous version, above code raises a TypeError:
TypeError: wrong argument type Twitter::NullObject (expected String)

I've fixed rubocop messages related to my changes.
What should I do?

Do you have any concern? @sferik

@sferik ping?

@okkez Thanks!

Thanks!!!! :bow:


An entity property called 'type' causes App Store rejection

Hello,
First of all, really nice work. I use this on all my projects which involve CoreData.
Yesterday an app of mine got rejected by Apple due to the use of private APIs. Apple's reply:
"We found the following non-public API in your app:
setPrimitiveType:
If you have defined methods in your source code with the same names as the above-mentioned APIs, we suggest altering your method names so that they no longer collide with Apple's private APIs to avoid your application being flagged in future submissions."
I don't know what the best solution is but either somekind of warning to the user or renaming the setPrimitiveXXX methods.
Best regards
mbogh

I just got around to updating from 1.27 to 1.28 and got a warning message that directed me to this issue.
I can certainly understand the motivation for this change, and I know Apple can be obstinate wrt their App Store, but this change sucks for me, because I use "type" in many places, and have been doing so since 10.5 with no problem (I don't use App Store).  I guess I could rename the next time I change my model, but don't want to do a persistent migration just for such a rename.
Would you accept a patch that adds an option to continue to log the warning but doesn't actually skip the generation?  Thanks.

@seanm sure, I'd accept such a patch.

@rentzsch, I've given it a stab, please review... thanks.


can't install luna in ubuntu 22.04

Hi, I try to install luna to Ubuntu 22.04 and run applets/interactive-test.py
But always show errors.
Would someone be able to give the environment lib list?
I have read the install documents, but I am not sure what's missing.
thanks alot.

Could you post the log of errors that you're seeing?

@miek, the error log,  I try to install luna on pi4 and ubuntu 22.04 but it always shows this error. : (
dev@dev:~/luna $ sudo python3 applets/interactive-test.py
 Traceback (most recent call last):   File "/home/dev/luna/applets/interactive-test.py", line 291, in <module>     tester = top_level_cli(InteractiveSelftest)              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.11/dist-packages/luna/__init__.py", line 93, in top_level_cli     platform = get_appropriate_platform()                ^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.11/dist-packages/luna/gateware/platform/__init__.py", line 100, in get_appropriate_platform     platform = PLATFORM_FOR_REVISION[version]()                ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ KeyError: (1, 3)

This was happening because there wasn't a platform definition in the package for r1.3 boards.
Several things have changed since this issue was raised:

The LUNA hardware design has been renamed to Cynthion.
Platform definitions are no longer part of the LUNA package, they're maintained in other packages/repositories.
Platforms for Cynthion r1.3 and all other board versions are now in the cynthion package.

If you install the cynthion package from the repository linked above, everything should work now.


Prepare to move to Adobe org.

Coverage remained the same at 98.054% when pulling bc3159432975c382514c02d16153a90a5870ee67 on move_to_adobe_org into 416e147c3969bbb6d6dafced38b535596f121804 on master.


Fix/navbar broke on small screens

box-sizing: border-box tell the browser to account any padding or border on the specified height/width so the content will not get wider than the container.
https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing

Cool!
Can you increment the version number?


Hamiltonian Variational Form (TASP)

Summary
Added the Hamiltonian Variational Form (or Trotterized Adiabatic State Preparation, TASP) as a VariationalForm.
see issue #617
Details and comments

For a demo, see this notebook

The variational form is taken from this paper.

(not sure how tests and this CHANGELOG file works and how to add preliminary changes to the documentation...)

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: ebaeumer:x: henrik-dreyerYou have signed the CLA already but the status is still pending? Let us recheck it.

Hi Henrik, apologies for delay in getting back to you on this PR.
The thinking here is around having the TASP code be more of a 'base class' say called EvolvingOperators (or some better name) that takes, as you have a set of operators and evolves them as a variational form. (Maybe later this can be a base for UCCSD and QAOA var form too that needed operator evolution - at least this was the thinking).
The code you have in the notebook, that builds out a set of FermionicOperators, as input to the above, have this then as a sub-class of the above, maybe now called TASP, that exists in chemistry along with UCCSD and like UCCSD builds the operators it evolves itself. Maybe the input is h1 and h2, along with qubit conversion mode (JW, parity etc) similar to UCCSD etc
How does this sound? I will note that we are looking at some refactor of var form, how this might impact the above I cannot say at this time as the refactored design has not been completed.

There is an effort to refactor UCCSD in the qiskit-nature repository, where chemistry is now moved to for the next release. I linked this PR to an issue there and to the UCCSD refactor that this capability can be considered as part of that effort. Since qiskit-aqua is being deprecated at next release, with the code being moved to qiskit-terra new domain repos, I am closing this.


Don't create a bunch of scenes in PlaneGeometryUpdaterSpec

This gets rid of the extra Data attribution div that was getting left over when running the specs
I'm going to merge this so I can keep going with the release

@hpinkos, thanks for the pull request! Maintainers, we have a signed CLA from @hpinkos, so you can review this at any time.
:warning: I noticed that CHANGES.md has not been updated. If this change updates the public API in any way, fixes a bug, or makes any non-trivial update, please add a bullet point to CHANGES.md and comment on this pull request so we know it was updated. For more info, see the Pull Request Guidelines.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:


Allow SGLD and SGHMC to use ReverseDiff.jl based gradient function

REF: https://github.com/yebai/Turing.jl/pull/428#issue-173332185

Closed by #515


Fix #102, #103 and #104

Testing App\Configuration\SetConfig (#104) lead to a better implementation of the code that parses and merges the configuration. That code is reusable by commands other than \App\Commands\NewCommand. The new code was then used to fix #103.
#102 was fixed as part of #103. I discovered that in order for nano/vim to work properly they needed TTY mode set on the Symphony process that runs them. I initially set TTY mode on all shell command executions but this meant other commands (npm, laravel, git etc) took control of output to the terminal. By removing TTY from those commands I was able to capture and process their output—hope that made sense.
Note: The high file change count is due to:

General refactoring as part of the testing cycle.
Classes being removed as they became redundant due to refactoring.
Classes being moved to make the namespaces cleaner.
New test classes being introduced.

fixes #102
fixes #103
fixes #104

@mattstauffer I think I'm happy to release this as v1.0.0beta2 as the user API is stable and almost complete.
E.g.
# new 👌
lambo new lit --inertia --teams

# old 👎
lambo new lit --frontend=inertia --mix --with-teams

Status:
--inertia and --livewire have replaced --frontend=STACK
--inertia will trigger automatic node installation and compilation
--node, --mix, and --auth have been removed.
known issues:

Bug in the laravel installer which prevents --quiet being used
For now not passing it to the Laravel installer. I will have to either raise an GH issue or make a pull request.
There are 3 tests I have disabled due to mocking horridness.
I see no reason to not release in beta though, they are failing due to refactoring of the frontend scaffolding.
--migrate needs to be added so that when the browser opens there is no exception. --db-port would be nice for the same reason for those people not using default ports (takeout users 🤔 )

@mattstauffer I think I'm happy to release this as v1.0.0beta2 because the main user API is stable.
# new 👌
lambo new lit --inertia --teams

# Use of non-standard database port due to docker or takeout 🔥
lambo new lit --inertia --teams --dbport 3357

# old 👎
lambo new lit --frontend=inertia --mix --with-teams

Status:

--inertia and --livewire have replaced --frontend=STACK and will trigger automatic database migrations.
--inertia will trigger automatic node dependency installation and compilation
--node, --mix, and --auth have been removed.

I have focused on completing user-facing changes and small typos/formatting so that we can get a new beta out. I will start the non-user internal refactoring now.
known issues:
🚨  Passing --quiet to the laravel installer causes Laravel installation to fail.
For now not passing it to the Laravel installer. I will have to either raise an GH issue or make a pull request.
🙈  There are 3 tests I have disabled due to mocking horridness.
I see no reason to not release in beta though, they are failing due to refactoring of the frontend scaffolding.


regarding .config/nvim directory

Hey dude,
Your whole project is awesome, but you are moving your whole directory to '.config/nvim' which make it as git directory.
Which is not good. Add something that will not make it as git.

I make small changes almost every hour, and making it a git directory helps me test and commit without any extra step.
can you please tell me why?

which make it as git directory.
Which is not good. Add something that will not make it as git.

  if [ ! -d "$nvim_conf_path" ]; then
	cd $current_dir
	cp ../roshnivim "$nvim_conf_path" -r```

think about it again. we would not like to have `.config/nvim/' as git.You should add a code remove setup.sh, LICENSE, README.md from '.config/nvim' after coping.

ok, this makes sense. i will do this soon

@Abhishek416 i have converted setup.sh to setup.py.
now you can install the roshnivim without keeping .git, README.md, ... by passing --delete 1 as argument while running setup.py script
For Example:
python setup.py --delete 1

or,  single command to install clean roshnivim:
python <(curl -s https://raw.githubusercontent.com/shaeinst/roshnivim/main/setup.py) --delete 1


Dlib won’t use CUDA without setting nixpkgs.config.cudaSupport to true.

Describe the bug
I noticed that in this line https://github.com/NixOS/nixpkgs/blob/1dfd9a62f32d09b918744985efb1b18e542f30d9/pkgs/development/libraries/dlib/default.nix#L57 code actually checks true value of config.cudaSupport not cudaSupport that is declared at the top. Because of this, dlib doesn’t find the cuDNN libraries and compile without CUDA support.
Steps To Reproduce
Steps to reproduce the behavior:

Compile with and without nixpkgs.config.cudaSupport
Check logs of both dlib compilation. One with nixpkgs.config.cudaSupport = true; will tell that it found cuda and cuDNN and dlib will use cuda, other will fail to find cuDNN and will tell that CUDA installation maybe incomplete and disables CUDA support.

Expected behavior
When the cudaSupport option defined in Dlib is enabled, dlib can be compiled with CUDA support without setting nixpkgs.config.cudaSupport to true
Notify maintainers
@RobbieBuxton
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
➜  ~ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.18, NixOS, 24.05 (Uakari), 24.05pre-git`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.19.3`
 - channels(denis): `""`
 - channels(root): `""`
 - nixpkgs: `/etc/nix/inputs/nixpkgs`

Add a :+1: reaction to issues you find important.

Ah good spot, I'll try and put in a PR to fix that tonight. Thanks @Dines97!

Also, I believe #243880 this issue can be related to this issue. For people affected by this they can enable nixpkgs.config.cudaSupport = true; globally (which causes a bit of mass rebuilds on system). Also, I’m wondering why options defined in https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/config.nix are not searchable in https://search.nixos.org/ which could save me a bit of time.

Ah good spot, I'll try and put in a PR to fix that tonight. Thanks @Dines97!

Thank you too!

Leaving this here for history:
➜  ~ nix log /nix/store/b2xy2q4p5kgrjk88gxyzvchqaq0knh2n-dlib-19.24.2
-- Could NOT find CUDA (missing: CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (found suitable version "12.2", minimum required is "7.5")
-- Found CUDA, but CMake was unable to find the cuBLAS libraries that should be part of every basic CUDA install. Your CUDA install is somehow broken or incomplete. Since cuBLAS is required for dlib to use CUDA we won't use CUDA.
-- DID NOT FIND CUDA
-- Disabling CUDA support for dlib.  DLIB WILL NOT USE CUDA


Adding SQL quiz questions

developerquiz.org currently has over 600 quiz questions. We are looking to expand on the SQL questions and we encourage other developers to add their quiz questions to the site.
You can find the complete list of questions below.
https://github.com/freeCodeCamp/Developer_Quiz_Site/blob/main/src/data/full-quiz.js
You can add your own questions to the top of that file.
Please first check to make sure your question doesn't already exist in the file.
Please make sure to follow the correct format for the quiz questions.
Here is an example of one of the current SQL questions.
  {
    Question: "What aggregate function in SQL allows you to count the number of rows and return that count as a column in the result set?",
    Answer: "COUNT()",
    Distractor1: "AVG()",
    Distractor2: "MINIMUM()",
    Distractor3: "AVERAGE()",
    Explanation: "The COUNT() function is used to count the number of rows and return that count as a column in the result set",
    Link: "https://www.freecodecamp.org/news/basic-sql-commands/",
  }

For the link field, please make sure to use a freeCodeCamp article or SQL documentation.
When you are ready to make the PR, please reference this issue but do not close it.
We want to keep this issue open for multiple contributors.
Happy contributing!

Some places to get questions from:

https://www.edureka.co/blog/interview-questions/sql-interview-questions
https://www.geeksforgeeks.org/sql-interview-questions/
https://intellipaat.com/blog/interview-question/sql-interview-questions/
https://mindmajix.com/sql-interview-questions
https://www.toptal.com/sql/interview-questions

Hi @erictleung !
Even though these are respected tech blogs, we do also have to remember that we are competing with them in terms of google search rankings.
The goal is to have our projects promote our publication articles, youtube videos or official documentation over competing publications.
There is nothing wrong with those tech sites, but we also don't want to be providing them with more traffic to their sites.
So that's why we limit the scope of these questions to just our material or official docs. 👍

@jdwilkin4 makes sense, thanks! That makes sense. I was thinking it is a place to get ideas for questions, but definitely link to freeCodeCamp resources when possible :+1:

Hi! I am trying to make my first contribution and I wonder:
Would a question about the NOW() SQL function be appropriate or too advanced in this case?

Hi @raykotab !
I think that question would work since the function returns the date and time.
I don't think it would be too advanced.

Wonderful! Then i'll try my luck with my first PR.

@jdwilkin4  , I have added a few SQL questions. for this issue  https://github.com/freeCodeCamp/Developer_Quiz_Site/pull/203,

Hello
loved to contribute on this repository.
Can you please assign me .

@Ishukumarpathak
This issue will not be assigned to anyone and will remain open for multiple contributors.
If you are interested in contributing, read through the contributing docs and create a PR with your questions 👍

Is it possible to add multi-choice question? and if yes what is the format?

@J-ell
Well the website is already following a multiple choice format

Can you explain more on what you mean by multiple choice?

I mean questions with more than one answers. for example:
In git which of the following syntax is used to add changes to the staging area or indexed? select all that apply
(a) git add file.txt
(b) git add .
(c) git mv file.txt
(d) git add
where the answer is both a and b

@J-ell
In that situation you would just write out "Both git add filename and git mv filename"
Our design doesn't support adding A), B), C) D) in front of the answers since we are just using buttons. 👍

If people have questions about this issue, or questions in general on how to contribute, please use the GitHub discussions area.
It will be easier to track conversations over there 👍

For anyone interested in contributing, please read through the contributing documentation first.


Available GPU support in CellRank 2?

Dear CellRank team,
first of all thanks for this amazing tool!
I am trying to install CellRank on a high performance computing system, in particular on the GPU clusters so that CellRank can work optimally. However, I see no dependencies that allow GPU computing...
From some of the issues in the repo I would assume it's JAX, but it doesn't seem to be a dependency, not even optional.
So my question is, what kind of GPU support is available in Cellrank 2.x, and how can it be used?
Thanks for the help
Vittorio

Hi @zvittorio, CellRank 2 currently does not make use of GPU hardware acceleration for any of its core computations. Instead, it uses very high performance libraries like SLEPc and PETSc and optimally exploit sparsity in our transition matrices. This enables us to process even very large datasets (>1M cells) efficiently on CPU. Are you currently facing any performance bottleneck in CellRank 2?
There is one place where CellRank 2 could in principle use GPU acceleration - the forward pass in the VelocityKernel is implemented using JAX. However, the motivation for that was to enable automatic differentiation to approximate the uncertainty in computed transitions, rather than hardware acceleration.
Also, note that moscot, which CellRank 2 interfaces with for Time series, lineage-tracing and spatio-temporal datasets, is implemented in JAX and makes use of GPUs throughout all major computations.

Unfortunately, there are no plans to include any GPU support...
The biggest gains in terms of using GPUs for computation would be in pyGPCCA (for metastable state computation, PETSc/SLEPC seems to support, e.g., CUDA as a backend) when computing the absorbing state of the Markov chain.

Dear @Marius1311 @michalk8
I must have misunderstood some other issues where GPU was mentioned, but apparently not actively used for cellrank calculations (e.g., #757 ).
Thank you again for the clarification!


#406 on master

Address issue for Android video only playing once.

Can you open a PR to the vNext Branch?


[3.x] Native Android and iOS implementation integration support

Description
resolve #82
@DarkGhostHunter can u help me with tests?
See the test fails Tests\Assertion\ValidationTest@test_check_origin_pass_if_in_additional_allowed_origins
it throw Laragear\WebAuthn\Exceptions\AssertionException: Assertion Error: Signature is invalid: error:0480006C:PEM routines::no
Otherwise when I have a little more time I'll try to finalize (I have to better understand the logic of the FakeAuthenticator)
Feel free to adapt the code if necessary as more valid for the style of the library.

I have currently completed the battery of tests by mocking the CheckPublicKeySignature@validateWithOpenSsl  method in order to avoid having to create an ad hoc FakeAuthenticator.
If it's not enough let me know, I think I'll need a little more time to understand and produce the correct and valid data for the test battery.
Thanks.

I tested the PR with Android authenticator and native implementation via credential manager and it works correctly.

Hi @DarkGhostHunter do you have any news on this? Thanks.

I'm going to edit your PR, but to do that I have to setup my old dev machine all over again, so everything is paused until I'm done with my task queue.

any updates?

@DarkGhostHunter can u merge this plz?

Hi, do you think it can be integrated for September? Maybe the whole v3?
Thank you.

Task queue still not empty, but I should resolve this before this month ends.

👍 thanks

Lcosing this in favour if #91


Fix Keycloak image tag in Operator release flow

This is to reflect https://github.com/keycloak/keycloak/pull/26414

@shawins Can you please review?


Adjust to RTD's upcoming addon changes

Starting on October 7, RTD will switch to RTD Addons for sphinx projects, too. They have identified that this is going to impact message_ix and suggest to change our configuration file in almost exactly the way this PR does. I have enabled Addons temporarily on RTD and intend to use this PR to make any adjustments necessary to keep our docs building as expected.
How to review

Read the diff and note that the CI checks all pass.
Look at the docs built from this PR and confirm they are what we want/expect.

PR checklist

[ ] Continuous integration checks all ✅
[x] Add, expand, or update documentation.

This project didn't have the setting to build a version of this PR's docs on RTD, which I changed for the moment. I'll try closing and re-opening this PR to see if this triggers the build process.

It does :tada:
This raises the question, though: what does the GitHub CI give us that the RTD checks doesn't provide? A faster runtime, for sure, but RTD then also compiles the pages so that we can look at them: https://iiasa-energy-program-ece-docs--12.com.readthedocs.build/scenario-databases.html
Please note that visual changes like the flyout menu switching to the right side are expected (see migration notes). RTD wants to update their theme to offer keeping it on the left, but for now, this change is intentional.
With that in mind, the docs look great to me and don't produce any error message :)

I didn't know that there is an RTD-workflow - first time I see this... But super-cool, and indeed, ok to remove the GitHub workflow if RTD has a native solution.
I'm wondering if this will also happen on pyam, message_ix, etc.? And if this only works on PRs from the upstream repository or also from forks?

The workflow installs the package via pip -r requirements.txt and then builds the docs via make html. RTD does the same, except for calling sphinx html in the end, which seems fine to me.
RTD sent out an email about message_ix, ece-docs, and ece-teaching being affected. I have taken care of all of them. For pyam, it's not listed as a project under https://readthedocs.com/organizations/iiasa-energy-program/, so I did not get notified. If its configuration is similar to the one here or on message_ix, the migration is not difficult, though.
The RTD build process is triggered for PRs from forks, too, and it doesn't rely on GitHub secrets or so, so it's usually successful on message_ix :)


Update 1.66 has broken Windows 10 usage

ADD ISSUE DESCRIPTION HERE
Version: 1.66.2

Code stopped working today. I uninstalled an reinstalled latest version. It just shows a black window and 5 instances in task manager, 1 of which is called Visual Studion Code Setup (32 bit). I killed all the tasks, uninstalled and installed 1.60 version. It appears to be auto-updating again and is totally unusable.

I tried the zip installer as well. Now showing 2 instances in task manager but no window visible. Killed the tasks, and sarted Code.exe again. It shows a white, blank screen then closes, but 2 more instances appear in task manager.

The bug reappear after autoupdate, v1.66.2 in  win10, reinstall vscode but it still reappear.

Please check if the issue is present with latest insiders https://code.visualstudio.com/insiders

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Fix baseUrl and remove unused imports

The (build) kie-tools-stunner-editors check has failed. Please check the logs.


jax eisum has different results between CPU and GPU

Description
Hi there,
My jax.numpy.einsum has awful accuracy on GPU device, but seems no problem on CPU.
This is runing on GPU
import jax
import jax.numpy as jnp

A = np.random.rand(300,300)
B = np.random.rand(300,300,4)

numpy_result_double        = np.einsum("ab,caP->cbP", A, B)
numpy_result_single        = np.einsum("ab,caP->cbP", A.astype(np.float32), B.astype(np.float32))

jax_result                 = jnp.einsum("ab,caP->cbP", jnp.array(A), jnp.array(B))

print(np.linalg.norm(numpy_result_double - numpy_result_single))
print(np.linalg.norm(         jax_result - numpy_result_single))

I got this reslt:
0.011850594613419469
0.9229351

but when running on CPU
import numpy as np
import jax
import jax.numpy as jnp
# running on CPU
jax.config.update('jax_platform_name', 'cpu')

A = np.random.rand(300,300)
B = np.random.rand(300,300,4)

numpy_result_double        = np.einsum("ab,caP->cbP", A, B)
numpy_result_single        = np.einsum("ab,caP->cbP", A.astype(np.float32), B.astype(np.float32))

jax_result                 = jnp.einsum("ab,caP->cbP", jnp.array(A), jnp.array(B))

print(np.linalg.norm(numpy_result_double - numpy_result_single))
print(np.linalg.norm(         jax_result - numpy_result_single))

and I got
0.011844848124626908
0.012697785

Both jax 0.4.28 and 0.4.30 have same issue on my machine.
Is it becasue of WSL2 environment or specific installation way of jax?
I used conda install jaxlib=*=*cuda* jax cuda-nvcc -c conda-forge -c nvidia, and jax.print_environment_info() says
System info (python version, jaxlib version, accelerator, etc.)
jax:    0.4.28
jaxlib: 0.4.28.dev20240711
numpy:  1.25.2
python: 3.9.18 | packaged by conda-forge | (main, Dec 23 2023, 16:33:10)  [GCC 12.3.0]
jax.devices (1 total, 1 local): [cuda(id=0)]
process_count: 1
platform: uname_result(system='Linux', node='jojolaptop', release='<IP_ADDRESS>-microsoft-standard-WSL2', version='#1 SMP Fri Mar 29 23:14:13 UTC 2024', machine='x86_64')

$ nvidia-smi
Mon Jul 22 17:46:39 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.58.02              Driver Version: 556.12         CUDA Version: 12.5     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4050 ...    On  |   00000000:01:00.0  On |                  N/A |
| N/A   46C    P3              9W /   35W |     270MiB /   6141MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A     56103      C   /python3.9                                  N/A      |
+-----------------------------------------------------------------------------------------+

I also tried pip install jax[cuda12] and jax.print_environment_info() says
jax:    0.4.30
jaxlib: 0.4.30
numpy:  2.0.1
python: 3.12.4 | packaged by Anaconda, Inc. | (main, Jun 18 2024, 15:12:24) [GCC 11.2.0]
jax.devices (1 total, 1 local): [cuda(id=0)]
process_count: 1
platform: uname_result(system='Linux', node='jojolaptop', release='<IP_ADDRESS>-microsoft-standard-WSL2', version='#1 SMP Fri Mar 29 23:14:13 UTC 2024', machine='x86_64')

$ nvidia-smi
Mon Jul 22 18:16:28 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.58.02              Driver Version: 556.12         CUDA Version: 12.5     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4050 ...    On  |   00000000:01:00.0  On |                  N/A |
| N/A   51C    P3              9W /   35W |     299MiB /   6141MiB |      6%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A     70120      C   /python3.12                                 N/A      |
+-----------------------------------------------------------------------------------------+

I suspect this is a matmul precision issue.
JAX's dot-like operations default to a lower precision on some accelerators for performance reasons. If you want to force higher precision, you can do so either via the precision argument to einsum and other dot-like operations
jnp.einsum("ab,caP->cbP", A, B, precision='highest')

or you can modify the value globally using the jax_default_matmul_precision configuration:
jax.config.update('jax_default_matmul_precision', 'highest')

thx! that works! now GPU is as accurate as CPU.
When should I use jax.config.update('jax_default_matmul_precision', 'highest')?
Two my friends tried my code above without setting 'jax_default_matmul_precision', and they are just fine. I feel like it is system dependent.

I feel like it is system dependent.

Precisely. Currently the precise meaning of matmul precision settings varies by hardware. For some GPU chips, 'high' and 'highest' are equivalent, while for others they aren't. It's not in a great state currently, and https://github.com/google/jax/issues/18934 tracks improving this.

Having just spent hours debugging why a particular computation was an order of magnitude different in one version of jax/cuda versus another (on the same machine, and both using the same GPU hardware), I was fairly disappointed to find that the culprit was use of einsum the the counter-intuitive consequence of its default precision. My opinion is that whatever is chosen on how to specify a lower precision for matmul in general, the default  should match what would be expected from the dtype of the arguments, for ubiquitous operations that are also presented as a replacement for the numpy version.
While I understand the motivation of performance trade-off for some machine learning applications, this makes it questionable to use for more mathematically/scientifically rigorous applications where algorithms depend on certain assumptions about floating point precision and reproducibility.

Having just spent hours debugging why a particular computation was an order of magnitude different in one version of jax/cuda versus another (on the same machine, and both using the same GPU hardware), I was fairly disappointed to find that the culprit was use of einsum and the counter-intuitive consequence of its default precision. My opinion is that whatever is chosen on how to specify a lower precision for matmul in general, the default should match what would be expected from the dtype of the arguments, for ubiquitous operations that are also presented as a replacement for the numpy version.
While I understand the motivation of performance trade-off for some machine learning applications, this makes it questionable to use for more mathematically/scientifically rigorous applications where algorithms depend on certain assumptions about floating point precision and reproducibility.

thanks for your effort. It does look dangerous to use a different default precision in scientific computing.
So is this bug fixed now? or maybe update in next release?

I think I'm going to close this issue now, because the root cause is tracked by #18934


Azure AD implementation with SharePoint Online

Hello,
This shows that customizing a sign-in page is available for SharePoint Online implementation.
I want to use Azure AD for sign-up as well as password and profile management as written here: https://docs.microsoft.com/en-us/azure/active-directory-b2c/customize-ui-overview
Is this possible?

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

ID: 72f2e675-436d-dcd4-fa27-49408b201158
Version Independent ID: 4d821732-fc10-f4a6-3c7d-77bce75299d7
Content: Add branding to your organization's sign-in page - Azure AD
Content Source: articles/active-directory/fundamentals/customize-branding.md
Service: active-directory
Sub-service: fundamentals
GitHub Login: @msaburnley
Microsoft Alias: ajburnle

@Mirona Thanks for your feedback! We will investigate and update as appropriate.

@Mirona This is not possible by design to have configurable signup page for azure AD instance. The link that you have mentioned is for Azure AD B2C which is designed as a directory where you can support the self signup experience for your users. In case of Azure AD B2C the users are generally unknown consumers who can try to access your application / signup for your application while in case of Azure AD , the users are supposed to be employees of your company .
In a company, generally an HR system is maintained and every user created in the directory always comes to the directory or gets created only when HR have approved it . In short Human resources department have their own system which is designated with onboarding a new employee (thus a new user in the user directory , which in this case is Azure AD ) in the company . Hence the signup is not customizable for Azure AD . Azure AD is supposed to be used as a company's base user store which contains database of all the existing employees user accounts. It is very much possible that your organisation may not follow the same way of user onboarding to company directory and in that case you may have to create an application which can use Microsoft Graph and create a user account in your azure AD instance through a signup experience. You cannot customize this in Azure AD type directory through the page customization as suggested in the article without creating a separate custom application for your needs which will run separately .
Azure AD B2C type directory was specifically created to cater to these scenarios where you may have applications which you would like your consumers to signup for and may require a holistic identity system providing user store/social signin/custom signup capabilities. If you are trying to onboard users to your Azure AD instance through a self-signup , you would have to create an application as suggested above. Please check the links for Graph API. If you have a requirement where you have applications like a game server where you would like the users to come and self-signup using social identities like google / Microsoft / Linkedin / Facebook etc. then you can use Azure AD B2C . You can customize the UI , create custom user flows and even let users login through their social identities like github , Facebook , google etc.
Please check the linked articles to know more. We will now close this issue. I believe this explanation will help you in making the right decision to understand what kind of directory you would require to use as your userstore and identity system.
Thank you.


THIS IS A VIRUS

I looked up the files before I download. All the files has an encrypted (for bypassing the antivirus) hexadecimal code. This is a malicious file. Don't download it

I ran it, how do I get rid of virus

run a windows defender scan and try to delete it from files and open ur
prefetch and delete it if not idk
On Sat, 1 Apr 2023 at 10:20, Hushhh12 @.***> wrote:

I ran it, how do I get rid of virus
—
Reply to this email directly, view it on GitHub
https://github.com/AsjadOooO/Zero-attacker/issues/45#issuecomment-1492849265,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3OFHZH4QLZPTUP4LIG5QALW67CLTANCNFSM6AAAAAAWNJKEVM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I only downloaded it and when I tried running it I got a message saying it was a malicious file but it never fully opened to where everything popped up where I could use it.

Well I didn’t download it for a reason.
—
Reply to this email directly, view it on GitHub
https://github.com/AsjadOooO/Zero-attacker/issues/45#issuecomment-1497916976,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3OFHZCQYPVDRXB47G57JHDW7WZBJANCNFSM6AAAAAAWNJKEVM
.
You are receiving this because you commented.Message ID:
@.***>


[Client] Fix ConcurrentModificationException in sendAsync

Fixes #11783
Motivation
See #11783 for details.
Modifications
Create an anonymous subclass for ArrayDeque that can postpone the adding of items that are added during a forEach iteration. To support all possible cases, this checks for nested calls too although that might not happen in this case.
The items added during a forEach loop will be added after the loop completes.
Todo
Find a way to create a failing test for the current issue.

@merlimat @codelipenghui does this PR make sense? any recommendation how to add tests?

We can't just guarantee the thread safety of the queue, so we can use a Concurrent queue. The reason why the ProducerImpl object was locked before is because there are other operations that must be guaranteed to be atomic, for example: ProducerImpl#ackReceived, we need to peek first

In this case it doesn't seem to be about thread safety and there aren't multiple threads. It's about adding an item to a queue while the same thread is in the forEach loop. That fails with a ConcurrentModificationException.

This solution looks a little bit hacky as it is fixing some specific case and sequence of method calls.
in order to fix the issue, isn't it better to handle correctly concurrent access to the pendingMessagesQueue?
if we want to go down this way I believe that at least we have to:

create a new interface QueueThatCanBeAddedWhileExecutingForEachXX...
create a specific subclass
use QueueThatCanBeAddedWhileExecutingForEachXX and not Queue

otherwise it may be dangerous to modify the code that accesses the pendingMessagesQueue, as access patterns may change in the future

agree, QueueThatCanBeAddedWhileExecutingForEachXX are more clearness

Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

Several comments have been about using a concurrent queue implementation. I don't think that is necessary as long as the access of the queue is properly synchronized. The solution in this PR demonstrates in a unit test how the ConcurrentModificationException can happen in a single thread. When using an ordinary ArrayDeque the test would fail.
The root cause of #11783 is that while the current thread is executing the action in the forEach block, the callback code might try to add a new OpSendMsg entry in the calling thread.
Some locations:
https://github.com/apache/pulsar/blob/d86db3f4ec4fb6bd04216a123cde2fee5c43f9d9/pulsar-
client/src/main/java/org/apache/pulsar/client/impl/ProducerImpl.java#L886-L891
https://github.com/apache/pulsar/blob/d86db3f4ec4fb6bd04216a123cde2fee5c43f9d9/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ProducerImpl.java#L1638-L1657
I guess it's a valid case that after failing all pending messages the client code is allowed to access the producer in the callback to send more messages. (there are more details in #11783)
@merlimat @codelipenghui Does the approach in this PR make sense, to postpone elements added while the forEach loop is in progress?

@merlimat @codelipenghui @315157973
can you please take a look ?

I don't know if it is a good way, waiting for others to CR. @codelipenghui @hangc0276 @merlimat


rPackages.diffHic: fix deps

Description of changes
added missing buildinputs
Things done

Built on platform(s)

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[ ] Fits CONTRIBUTING.md.

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

you have two commits in this one

Yes, because the package was double-broken (one of its deps was also broken). If I just include the 2nd commit, it won't compile. But I think the 1st commit just disappear when merging, bcz it's already merged in r-updates now. (wasn't when I made the pull req)

@ofborg build rPackages.diffHic


Adding a stepped line interpolation to Chartist

Sometimes it's nice to have a stepped interpolation like here: http://www.clearlyandsimply.com/clearly_and_simply/2011/04/an-underrated-chart-type-the-band-chart.html
A stepped interpolation function can be added to https://github.com/gionkunz/chartist-js/blob/develop/src/scripts/interpolation.js.

Hi Dion, I tried this:
Chartist.Interpolation.step = function() {
return function cardinal(pathCoordinates) {
  var path = new Chartist.Svg.Path().move(pathCoordinates[0], pathCoordinates[1]);

  for(var i = 2; i < pathCoordinates.length; i += 2) {
    var prevX = pathCoordinates[i - 2],
        prevY = pathCoordinates[i - 1],
        currX = pathCoordinates[i],
        currY = pathCoordinates[i + 1]
    path.line(prevX,prevY);
    path.line(prevX,currY);
    path.line(currX,currY);
  }

  return path;
};

};
But while it does draw an extra straight line-segment, it doesn't draw an extra dot there if showPoints is true. (And if an extra point is drawn there, I think there should be a check for the values, because you don't want to draw two of those dots if there is no change in Y-value, because then you draw them at the same location)

Maybe we could use the interpolated path to create dots instead of the raw coordinates? I'll try if that works. Thanks for your work!

I have this working on my local dev. I've re-written the interpolation functions and Svg.Path to support this use-case. I'll add your interpolation function and try the result.

Cool. Thanks!


tc qdisc show hangs

I am glad to see lots of iproute2 commands working but tc command hangs.
Simple example:
$ tc qdisc show
The cause is netlink request to dump qdisc never gets response.
(gdb) where
#0  0x00007ffffec0ec00 in __recvmsg_nocancel () at ../sysdeps/unix/syscall-template.S:81
#1  0x00000000004343c4 in rtnl_dump_filter_l (rth=0x65fe40 , arg=arg@entry=0x7ffffffde290) at libnetlink.c:328
#2  0x00000000004347c3 in rtnl_dump_filter_nc (rth=, filter=filter@entry=0x408200 <print_qdisc>, arg1=, nc_flags=nc_flags@entry=0) at libnetlink.c:416
#3  0x0000000000408e24 in tc_qdisc_list (argc=0, argv=0x7ffffffde450) at tc_qdisc.c:333
#4  0x0000000000407590 in main (argc=3, argv=0x7ffffffde438) at tc.c:343
Suggest that if netlink family for qdisc is not supported, either return error when family is opened, or return error on the netlink request.

What tc capabilities are supported in the BoW environment?  This is basically what I see when playing around tc in BoW -> Cannot talk to rtnetlink: Operation not supported.

On my corp laptop with Win10 creators
shemminger@MININT-FU8L5V5:~$ tc qdisc
*** hangs need ^C to exit
Also the version in Ubuntu WSL is old (like 3yrs since version is data stamp).
shemminger@MININT-FU8L5V5:~$ tc -V
tc utility, iproute2-ss131122
Current upstream version
shemminger@MININT-FU8L5V5:~$ cd iproute2/
shemminger@MININT-FU8L5V5:~/iproute2$ ./tc/tc -V
tc utility, iproute2-ss170220
I think the issue is the Ubuntu gets packages from Debian stable which is quite old by now.
From: Charles Torre<EMAIL_ADDRESS>Sent: Friday, May 5, 2017 1:10 PM
To: Microsoft/BashOnWindows<EMAIL_ADDRESS>Cc: Stephen Hemminger<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Microsoft/BashOnWindows] tc qdisc show hangs (#2026)
What tc capabilities are supported in the BoW environment? This is basically what I see when playing around tc in BoW -> Cannot talk to rtnetlink: Operation not supported.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Microsoft/BashOnWindows/issues/2026#issuecomment-299563903 , or mute the thread https://github.com/notifications/unsubscribe-auth/ABAYOcIRudvgAjXileQdMNnO4mohNQjgks5r24IcgaJpZM4NKeiX .  https://github.com/notifications/beacon/ABAYOXEPiEW93T5RqhqWzaBs6W_1MDGtks5r24IcgaJpZM4NKeiX.gif

Yep, tc qdisc hangs for me, as well. Same Win10 OS version.

Also, have this issue.

Your Windows build number:  Microsoft Windows [Version 10.0.16299.334]

What you're doing and what's happening:
Run the following command tc qdisc show

What's wrong / what should be happening instead:
The command hangs and never executed.

tc.strace gist here
Currently causing an issue with flent on Windows Linux Subsystems: https://github.com/tohojo/flent/issues/130

There is still no support for qdisc, but the hang should be fixed in build 17666.


For the stream function, are there any plans to add a real-time text output function?

Stream function exists in the interface already

too quick to typing the whole title....

what do you need exactly? I do not understand.

The code can obtain the recognition result of the video in real time, instead of displaying it on the video

no, it is out of scope.


Not able to download graphicPacks_2-874.zip

I attempt to download the file graphicPacks_2-874.zip and I get a network error form chrome when I attempt a download, but other downloads on chrome work fine?? Is someone able to make a mediafire download for me or something, any work around would be appreciated.
The download sits at 0.1Mb, until it eventually gives an error.
I am attempting to download from the official download site for the file

downloaded in a different browser


vimPlugins.nvim-treesitter.grammarToPlugin: init

Description of changes
second attempt at #207908, see https://github.com/NixOS/nixpkgs/pull/225152#issuecomment-1505341431

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
23.05 Release Notes (or backporting 22.11 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.

thnaks, exactly what I was looking for


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative/client-wg-leads
/assign knative/client-wg-leads
Produced by: knative-extensions/knobots/actions/update-deps

/override codecov/project

/approve
/lgtm


IV-S，IV-U，OOV-S，OOV-U的设置

Hello author, I take the liberty of bothering you, thank you for your excellent paper. Recently, I read your paper and I have a question I would like to ask you about the In-Vocabulary words and seen style (IV-S), In-Vocabulary words and unseen style (IV-U), Out-of-vocabulary words and seen styles (OOV-S) mentioned in your paper. How do you set Out-of-vocabulary words and unseen styles (OOV-U)? Looking forward to your guidance and response. Thank you!

Hello @yuyukuy534, you can find the OOV words here: https://github.com/aimagelab/VATr/blob/main/corpora_english/oov_words.txt
The styles are those from the IAM test set: https://github.com/aimagelab/VATr/blob/main/Groundtruth/gan.iam.test.gt.filter27

@vittoriopippi  Hello, I have been looking up information to learn how to use OOV_word.text to calculate the FID value of OOV, but I still don't understand it. I hope I can get your guidance and help


⚠ Fortnite has degraded performance

In 75868c2, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1592 ms

Resolved: Fortnite performance has improved in de7d671.


(CLOUD-1221) Review the README for release

This ticket is to allow Garret to reivew the Readme ahead of the release

I have reviewed Garretts changes. I opened this PR for him.


add option to create a new database for the project

Same as #54 but added command line flag + updated readme file
Changes

--create-db flag to create new mysql db for the project.
Database name now always replaces dashes (-) with underscores (_). Even if the database is created manually this still applies.
documented three flags in readme: create-db, dbuser, and dbpassword.
added a 'figlet' to the help message for extra swag

@muhammetsait Can you re-make this, but do it in a way that keeps the original commits @ijpatricio added in his branch so he can get credit for his original work? Then I'd love to merge.
Thank you!

I didn't know this was possible (to edit on pull request submitted by another person?). I am not sure if I did it correctly? Is there a better way or a recommended way?

There are a few ways to do it, but I see both of your names here, so it looks good to me! :) I'll review the PR now.

@muhammetsait Can you re-make this, but do it in a way that keeps the original commits @ijpatricio added in his branch so he can get credit for his original work? Then I'd love to merge.
Thank you!

Thank you @mattstauffer ❤❤❤
Incredible, the amount of care you put into everything you do, and the appreciation you have towards every individual, no matter what. Both online and live, as we've met in laracon us nyc 2017!
Only if 1% of the world would be more like you, it would be a much more amazing place to live in! :)
Cheers!


Quiz exercises : Add functionality to import existing quiz

Checklist
General

[ ] I tested all changes and their related features with all corresponding user types on a test server.
[ ] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Server

[x] I followed the coding and design guidelines.
[x] I added multiple integration tests (Spring) related to the features (with a high test coverage).
[x] I added @PreAuthorize and checked the course groups for all new REST Calls (security).
[x] I implemented the changes with a good performance and prevented too many database calls.
[x] I documented the Java code using JavaDoc style.

Client

[x] I followed the coding and design guidelines.
[x] I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.
[x] I added authorities to all new routes and checked the course groups for displaying navigation elements (links, buttons).
[x] I documented the TypeScript code using JSDoc style.
[x] I added multiple screenshots/screencasts of my UI changes.
[x] I translated all newly inserted strings into English and German.

Changes affecting Programming Exercises

[ ] I tested all changes and their related features with all corresponding user types on Test Server 1 (Atlassian Suite).
[ ] I tested all changes and their related features with all corresponding user types on Test Server 2 (Jenkins and Gitlab).

Closes #4999
Motivation and Context

Adds the possibility of importing an already existing quiz, therefore allowing instructors to already use the quiz/questions from a previous course without having to start from scratch.
Description

In the client, added a new "Import quiz" button that opens an import modal showing all existing quizzes from other courses/exams that the user has access to. The user can search for quizzes by their title or course name. The user can then click on the "Import" button and the "edit quiz" page will open pre-filled with the values/questions of the selected quiz. The user can change any field/question as desired. When the "Save" button is clicked, a new quiz will be imported/created.
In the server, added a new REST endpoint that works similar to the createQuiz endpoint, except it uses an already existing quiz as a template.
Used the similar "Import Text Exercise" and "Import Modeling Exercise" functionality as template and emulated the behavior in the Client and server.
Steps for Testing

Prerequisites:

1 Instructor
(at least) 1 Course with (at least) 1 quiz exercise

Log in to Artemis
Navigate to Course Administration
Navigate to the exercises for a course
Click the "Import quiz" button
Search for the quiz you want to import and click the "Import" button
Verify that an "edit" page for a quiz is opened, pre-filled with the values of the existing quiz
Verify that all date related values have been reset
Change any values/questions as desired
Click the "Save" button
Verify that you were taken back to the quiz exercises page and that a new quiz exercise has been created
Click the "Edit" button for the created quiz and verify that all values/questions were set/created correctly
You can follow steps 4-11 but for an exam exercise group instead of a course

Review Progress

Code Review

[ ] Review 1
[ ] Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Test Coverage

Class/File
Branch
Line

Screenshots

Course management exercises page with new "Import quiz" button

Exam exercise group exercises page with new "Import quiz" button

Open import modal showing all existing quizzes that can be imported

Reference #5017

Great progress 👍  As this is your first larger PR, I think it would be good, if there are more approvals, in particular when it comes to code review and code quality! Please ask a couple experienced developers in the team to review the code.


challenge

MVP

[X] Answer self-study questions.
[X] Create a new branch, push changes to that branch, and make a PR from this branch to master.
[ ] Build the HTML and CSS to create the missing navigation and header.
[ ] Link the About navigation item to the about.html page.
[ ] Color each box.
[ ] Build the about page header with respect to home page.
[ ] Link the Home navigation item back to the index.html page.
[ ] Build the rest of the about page layout to match the design.

Feedback

Please try to complete the MVP.

Rating (1-3)
1


Add ducati and vpe plugins

Not in this particular version. There are later changes present in e.g. 1.10.4 which require reworking the TI's patches.


Driver panics for orders tranding the same token.

The solver seems to panic if the orderbook contains orders that buy and sell the same token. While these orders shouldn't exist, it would be nice for the driver not to panic (but instead just alert that such an order was added).

Related to #971, trading the same token could actually be used to do a gasless transfer.

Do you remember where the panic was or on which day it happened? Am unable to find it in kibana. I think it might have been the naive or baseline solver but would be good to know which panic this issue is about. I'll still try to find it in the code anyway.


Reconsider the use cases of do_ methods

Currently there is no consistent definition of what a do_ method is supposed to be. My original vision was for any method that began with the do_ prefix to be editable by builders so they could embed lua code into their constructions. However, there is inconsistency between different classes about what kind of actions should be performed by do_ methods, and this inconsistency is partially driven by the verb do. Should this prefix be renamed?

Consider renaming do_ to on_, so these methods are clearly indicated as being event callbacks.


fix linkcheck

this contributor's github page is 404, and their pages on both english and french versions of LinkedIn show up as "this profile is not available"

Thanks @drammock . @hoechenberger can you backport as part of #9977? Might as well bundle the backports in one PR


Boost:x86-uwp failed to build

With a fresh clone of VPKG, building boost for x86-uwp triplet is failing.
Below the log files.
Building package boost-build[core]:x86-uwp...
-- CURRENT_INSTALLED_DIR=U:/vcpkg/installed/x86-uwp
-- DOWNLOADS=U:/vcpkg/downloads
-- CURRENT_PACKAGES_DIR=U:/vcpkg/packages/boost-build_x86-uwp
-- CURRENT_BUILDTREES_DIR=U:/vcpkg/buildtrees/boost-build
-- CURRENT_PORT_DIR=U:/vcpkg/ports/boost-build/.
-- Using cached U:/vcpkg/downloads/boostorg-build-boost-1.66.0.tar.gz
-- Testing integrity of cached file...
-- Testing integrity of cached file... OK
-- Extracting done
-- Using cached U:/vcpkg/downloads/boost_LICENSE_1_0.txt
-- Testing integrity of cached file...
-- Testing integrity of cached file... OK
-- Using cached U:/vcpkg/downloads/boost-1.66.0-boostcpp.jam
-- Testing integrity of cached file...
-- Testing integrity of cached file... OK
-- Bootstrapping...
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
    Command failed: U:/vcpkg/packages/boost-build_x86-uwp/tools/boost-build/bootstrap.bat;msvc
    Working Directory: U:/vcpkg/packages/boost-build_x86-uwp/tools/boost-build
    See logs for more information:
      U:\vcpkg\buildtrees\boost-build\bootstrap-x86-uwp-out.log
      U:\vcpkg\buildtrees\boost-build\bootstrap-x86-uwp-err.log

Call Stack (most recent call first):
  ports/boost-build/portfile.cmake:47 (vcpkg_execute_required_process)
  scripts/ports.cmake:72 (include)

Error: Building package boost-build:x86-uwp failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: boost-build:x86-uwp
  Vcpkg version: 0.0.103-2018-02-06-2d324592a4ac01086191c5137efe6eead3c3c65c

Additionally, attach any relevant sections from the log files above.

bootstrap-x86-uwp-out.log
bootstrap-x86-uwp-err.log
bootstrap.log

I think this might be related to #2724

I am not sure. I think it is caused by the bootsrap trying to build the b2 executable as a universal app. B2 executable should be built as win32 app instead

Hi everyone , thanks for reporting this issue!
Please open a new issue if this is still a problem for you.
Thx.


How to handle CMS?

Hey, so I have my site up and running on bigansh.ml & I have a database of my blogs on that page. Now I want to share my blog's link with my custom domain. But the way the URLs are configured right now, it doesn't recognize it & redirects to the main page. Is there a way we can change that? How am I supposed to handle CMS?

if I see with amazement the operation of your page. when you say you want to use the custom domain and it redirects you to the main page? is the error, currently to obtain extra functionalities you must enter them manually. but if you configure your "cms" use the url that is located in the place you want them to see. and i guess you can get wev.web / blog / status configured from fruitionsite.com

Hey, so I have my site up and running on bigansh.ml & I have a database of my blogs on that page. Now I want to share my blog's link with my custom domain. But the way the URLs are configured right now, it doesn't recognize it & redirects to the main page. Is there a way we can change that? How am I supposed to handle CMS?

I am sorry, what?
I only understood that I need to configure the URL slugs manually which I already know. I want to know if we can automate it.


[client] Fix Pisa for new store schema

Store JSON schema changed with CF 0.3.x, need to make Pisa service work for that as well.

No new store schema so


[Test] Reenable disabled test in associated_type_demangle_private.swift.

This was disabled due to a weird failure on iOS 10, which is no longer a supported target.
rdar://97996884

@swift-ci please test and merge


Add gatekeeper to infrastructure with readme and some example

Co-authored-by: Sofia Munari<EMAIL_ADDRESS>Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

[ ] Test A
[ ] Test B

/rebase

/rebase

/merge