Zoom to Smaller and Larger Timescales

This tool is great for timelines that are days/months/years long, but unless I'm missing something it falls short when we move to minutes/seconds/milliseconds.  I'm trying to diagram out a phone hunt group and the entire thing takes place in a span of 45 seconds, with actions typically lasting anywhere from 5 to 15 seconds and even at the strongest zoom level, it's still zoomed out too far to be useful.

Quick turnaround!  It's an improvement, but the times on the timeline at that top are all cluttered and overlay each other making them unusable.

I should also mention that the minimap seems to be unusable and it might be related to the zoom levels.  I didn't realize until I loaded one of your example timelines that it wasn't entirely broken.  As it is now, it's extremely difficult to find specific points in time for a timeline that is focused on briefer intervals and a functioning minimap would go a long way to helping alleviate that.  I've been zooming by small amounts and then horizontally scrolling until I find my events -- rinse and repeat.  The most useful feature regarding zooming would be to be able to zoom to capture the entire length of a section or group on the timeline to eliminate the need for manual zooming in most cases.
sample code --
title: Front Door Hunt Group

#COLOR_DOORBELL_HUNT: #d336b1
#COLOR_DOORBELL_HUNT_2: #D35715
#COLOR_DOORBELL_HUNT_3: #17a14c

section Overall
2022-06-23T13:30:00Z to 2022-06-23T13:30:00Z: Doorbell Pressed

group DOORBELL HUNT #COLOR_DOORBELL_HUNT
12 seconds: Jim, Bob, Darrell
endgroup

group DOORBELL HUNT 2 #COLOR_DOORBELL_HUNT_2
12 seconds: Jim, Bob, Darrell, Alice
endgroup

group DOORBELL HUNT 3 #COLOR_DOORBELL_HUNT_3
33 seconds: Veronica, Duane, Allison

endsection

I am using markwhen for marking events for a novel I’m working on—it’s a fantastic life-saver!
@kochrt  What would be useful is zooming out quite a lot—my timeline is 12,000 years long, and this introduces a LOT of scroll, even on my widescreen monitor. A “fit-to-width” as the minimum zoom-level could be useful.

I'd use Markwhen for creating a timeline of events for studying, so I have the opposite problem: I'd like zoom really really out, for ex. see 1500-2000 at once


librewolf: Fix download URL

Closes #9554

Relates to #XXXX

[x] I have read the Contributing Guide.

/verify

#9535


fastavro gives a default value for unions with nulls that don't have a default value

This is somewhat related to #48. Given this example schema:
protocol test {
  record a {
    int x;
    union {null, int} y;
  }
}

the following should fail:
>>> data = StringIO.StringIO()
>>> fastavro.writer(data, schema, [{'val': {'x': 1}}])

However, it does not, giving a default value of null to a field ('y') without a default value.
This stems from the use of .get(), which returns None if the key is not found.
The field does not have a default value, so datum.get('default') returns None, which is then used as the default value.
This is just mixing up the lack of a value, with a value of null. Instead, the code should check for the field's existence in the datum, and return false if it doesn't exist.
This is related to #37, in that having write_record call validate() on itself would catch this. Although I imagine the overhead might raise some ire, so there are some options.
Some pull requests will be made in a bit.

In general, this is a problem with not checking to make sure that the datum contains a value for each field or the field has a default.
In this specific case, it results in data being made up.

I like @e-heller's solution better. Solves this problem and shouldn't have noticeable impact on performance.

0.9.10 should fix this

Looks good. Thanks.


Use same nixpkgs (21.05) in flake and non-flake.

cleaner definitions of flake pkgs.

Hey @jbgi, would you consider including the changes for input-output-hk/iohk-nix#488 in this PR?

bors r+


HideFlags incorrect value

Note that a bit of this is from memory:
A short while ago, I tried to use the HideFlags function in the item editor. I set all of the options to true, which would have hidden all of them and set the HideFlags value to 127. I checked with JEI Integration, and the value ended up being a much smaller value, which I can not recall. It may have been around or below 30.

Setting all the Hide Flags from the editor should set the value to 63, since I apparently forgot to add one of them (the flag that hides "Dyed" for leather armors). If it's really necessary I can add it now, otherwise it'll be added in the next version.

Setting all the Hide Flags from the editor should set the value to 63, since I apparently forgot to add one of them (the flag that hides "Dyed" for leather armors). If it's really necessary I can add it now, otherwise it'll be added in the next version.

This is screwing me up badly, because I need the Dyed flag to not be true.

Fixed in version 1.2.7: https://www.curseforge.com/minecraft/mc-mods/ibe-editor/files/3397140


Query CartoDB for tract ids within an area

With this PR if you select an area with the circle tool or the polygon tool a list of tract ids within county and state ids will appear in the console.
The ACS module is intended to handle searching for tracts as well as requesting and transforming the data from the census api.

+1, consider minor cleanup


Pre print command not executed

I am running windows version of OctoPrint
When I tried to run commands from "System Command Before Each Print" the commands are not run.
I wanted to have the printer off when it is not printing, and as soon as print schedule hits, it turns on the smart socket.
At first I thought it was the curl problem with Windows so I tested it with Invoke-WebRequest:
Invoke-WebRequest -Uri "http://<OCTOPRINT_IP>/api/plugin/tasmota" -Method Post -Headers @{"Content-Type"="application/json";"X-Api-Key"="<API_KEY>"} -Body (@{command="turnOn";ip="<IP>";idx="<IDX>"} | ConvertTo-Json)
This didn't work either. So I tried the last thing and use the solution from #18 with Invoke-WebRequest:
Invoke-WebRequest -s http://<TASMOTA_IP>/cm?cmnd=Power%20On
Did not work either.
The Invoke-WebRequest commands work as they should in PowerShell.
And when looking through the logs it seems that the plugin sees that there is a command and tries to run it but nothing really happens.
Log:
2024-06-23 11:22:40,485 - octoprint.plugins.printscheduler - DEBUG - Job found: {'name': 'TT_firstlayer_2_w_purge_line.gcode', 'path': 'TT_firstlayer_2_w_purge_line.gcode', 'start_at': '2024-06-23 11:22'}
2024-06-23 11:22:40,486 - octoprint.plugins.printscheduler - DEBUG - Running system command before print.
2024-06-23 11:22:40,520 - octoprint.plugins.printscheduler - DEBUG - Bypassing scheduled job as printer is not available yet.```

Commands must include full path to executable. Just putting in powershell command won't work, you need to run powershell exe for that. Same for curl command, there needs to be full path to the exe.

Oh. That makes ton of sense.
I propose than a slight tweak in your documentation so that people not as good with IT can follow and proceed to make functional system commands calls.
What I mean is that you should add a Note that system command has to have full path to the terminal in which should the command be run in.
For example on linux bash and on windows powershell -command "YOUR_COMMAND" or cmd.exe /c YOUR_COMMAND
Also thanks as now the command works as intended:
powershell -command "Invoke-WebRequest -Uri 'http://<OCTOPRINT_IP>/api/plugin/tasmota' -Method Post -Headers @{'Content-Type'='application/json';'X-Api-Key'='<API_KEY>'} -Body (@{command='turnOn';ip='<IP>';idx='<IDX>'} | ConvertTo-Json)"


Projects arXiv User Support  AH-106072   Paper withdraw 2309.16442

Dear Sirs,
I withdraw the paper named "A Small World of Bad Guys: Investigating the Behavior of Hacker Groups in Cyber-Attacks", but it can still be accessed at https://ar5iv.labs.arxiv.org/html/2309.16442. Is it feasible to take it out?
Best regards,
Antonio Iovanella

Thank you for the request. I have removed the paper from the ar5iv backend. We need to wait a little until the Fastly cache expires, should be gone in some hours. I will close the issue when I see it disappear.

Looks expired now, thanks again.


Prunes dependencies and updates gitignore

This commit prunes the project dependencies and updates the gitignore
file by using the github recommended gitignore file for Python projects.
Pull Request Reminders

[ ] Any tests that connect to model servers are marked with the --runslow decorator and won't be run by GitHub Actions. You should run these locally with pytest --runslow.
[ ] Make sure the notebooks in the docs directory all run.
[ ] Add tests for the new functionality.

Codecov Report

Merging #16 (e335d9f) into main (03afaea) will decrease coverage by 36.87%.
The diff coverage is n/a.

:exclamation: Current head e335d9f differs from pull request most recent head b1c75ad. Consider uploading reports for the commit b1c75ad to get more accurate results

@@             Coverage Diff             @@
##             main      #16       +/-   ##
===========================================
- Coverage   75.55%   38.67%   -36.88%
===========================================
  Files          10       10
  Lines         724      724
===========================================
- Hits          547      280      -267
- Misses        177      444      +267

Flag
Coverage Δ

unittests
38.67% <ø> (-36.88%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

model_catalogs/tests/test_catalogs.py
29.89% <0.00%> (-61.86%)
:arrow_down:

model_catalogs/utils.py
18.53% <0.00%> (-55.62%)
:arrow_down:

model_catalogs/model_catalogs.py
28.33% <0.00%> (-50.00%)
:arrow_down:

model_catalogs/process.py
75.00% <0.00%> (-14.71%)
:arrow_down:

model_catalogs/__init__.py
83.33% <0.00%> (-12.97%)
:arrow_down:

model_catalogs/tests/conftest.py
91.66% <0.00%> (-8.34%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[SPARK-25238][PYTHON] lint-python: Fix W605 warnings for pycodestyle 2.4

(This change is a subset of the changes needed for the JIRA; see https://github.com/apache/spark/pull/22231)
What changes were proposed in this pull request?
Use raw strings and simpler regex syntax consistently in Python, which also avoids warnings from pycodestyle about accidentally relying Python's non-escaping of non-reserved chars in normal strings. Also, fix a few long lines.
How was this patch tested?
Existing tests, and some manual double-checking of the behavior of regexes in Python 2/3 to be sure.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3033/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3035/
Test PASSed.

Test build #95975 has started for PR 22400 at commit 9c9178b.

Test build #95975 has finished for PR 22400 at commit 9c9178b.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3038/
Test PASSed.

Test build #95979 has started for PR 22400 at commit 9c9178b.

Test build #95979 has finished for PR 22400 at commit 9c9178b.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #95978 has finished for PR 22400 at commit 9c9178b.

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

Merged build finished. Test PASSed.

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

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3051/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3053/
Test PASSed.

Test build #95998 has started for PR 22400 at commit 3112b33.

Test build #95996 has finished for PR 22400 at commit f750e08.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3060/
Test PASSed.

Test build #95998 has finished for PR 22400 at commit 3112b33.

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

Test build #96006 has started for PR 22400 at commit 3112b33.

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

Merged build finished. Test PASSed.

Test build #96006 has finished for PR 22400 at commit 3112b33.

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


Discovered

I discovered that the dimentio clone only crashes the game when the player is out of range I tested it with count bleck entrance room. but it seems the real one won't let me start the level

I tested this on dotwoods top I'm guessing the boss entity didn't exist or dialog existed?
I imported mario's house outside map for testing
https://www.youtube.com/watch?v=5Vbn6j_oOP0&feature=youtu.be


Spider: Board of Property Assessments and Appeals Review

Spider Name:
alle_property_assessment
Website:
http://www.county.allegheny.pa.us/real-estate/assessment-appeals/bpaar.aspx

Better URL:
https://alleghenycounty.us/real-estate/assessment-appeals/bpaar.aspx

The only source of meeting information is a PDF file listing all the scheduled meetings for 2019.  Possibly only updated once a year.

I'm gonna give this one a shot 8)


Changing Game weights, Adding SDV

Here is my comment near the start of the last async: Looking at unclaimed fillers, LttP, DS3, DKC3, OC2, pokemon, SoE, SMZ3, SC2, SM, TS, V6 are candidates to have lower weights with SC2 being the least filled. LttP makes sense because people like to have multiple of those and there are a lot.

I'm lukewarm on this. I'm not a massive fan of rebasing the entire thing, and I had to make a spreadsheet to see what even really changed. After looking at them, I think I'm fine with it and 100 is a much better LttP base than 500. Here's a comparison for anyone who really needs it, old on the left, new on the right, SDV excluded.

I think Adventure is a bit too low, and would rather see it equivalent to Evermore; but I'm not sure how much of that is bias talking. (Either way, it's still extremely low, I don't think the the extra .45% will make a difference). I could even see Meritous be lowered to be the same level as Adventure and Evermore.
I agree with making LoZ higher, 10 was too low for it on the old scale.
I feel like MC is a bit too high now, and would probably fit in with the other 40s. Are TS and HK really that super popular? I guess so, huh... they just seem really high. Similarly with SM64...
But with that said, the percentages are still so close to each other that it won't be radically different in the long run. I think this is probably still a good base and would personally approve it; the natural caveat being "we'll see how the fillers fill up this time and adjust for next", as usual.
So no issues here (except maybe Adventure, hehe.)

Since roles are no longer required to join rooms, that's not a good indicator of determining interest in a game. Looking at the last few chatters in that room, the majority do not have the Adventure role.


Issue while using django pipeline on google-cloud engine

I have following in my settings file:-
EXTERNAL_APPS = (
    'pipeline',
)

INTERNAL_APPS = (
    'blog',
    'utils',
)

INSTALLED_APPS = EXTERNAL_APPS + INTERNAL_APPS +(
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',

)
STATICFILES_FINDERS = ('django.contrib.staticfiles.finders.FileSystemFinder',
                       'django.contrib.staticfiles.finders.AppDirectoriesFinder',
                       'pipeline.finders.PipelineFinder',)

STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
PIPELINE_CSS_COMPRESSOR = 'pipeline.compressors.yui.YUICompressor'
PIPELINE_JS_COMPRESSOR = 'pipeline.compressors.yui.YUICompressor'
PIPELINE_YUI_CSS_ARGUMENTS = ''
PIPELINE_YUI_JS_ARGUMENTS = ''
PIPELINE_YUI_BINARY = "java -Xss4096k -jar " + os.path.join(BASE_DIR, 'yuicompressor-2.4.8.jar')
PIPELINE_COMPILERS = (
     'pipeline.compilers.sass.SASSCompiler',
)

PIPELINE_CSS = {
    'wlhome': {
        'source_filenames': (
             'scss/home.scss',
        ),
        'output_filename': 'css/home.css',
    },
    'wlfontawesome': {
        'source_filenames': (
            'scss/font-awesome/font-awesome.scss',
        ),
        'output_filename': 'css/font-awesome.css',
    },
}

Now I try to use above in my stylesheets as follows:-
{% load staticfiles %}
<link href="{% static 'lib/bootstrap/dist/css/bootstrap.min.css' %}" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Lato:300,400,400italic,700,700italic,900' rel='stylesheet' type='text/css'>
{% load pipeline %}
{% stylesheet 'wlhome' %}

When I run the command dev_appserver.py the pages load up the fine but my stylesheet files(css/js) and not getting loaded when i use pipeline.
What i mean to say this is following works fine :-
{% load staticfiles %}
<link href="{% static 'lib/bootstrap/dist/css/bootstrap.min.css' %}" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Lato:300,400,400italic,700,700italic,900' rel='stylesheet' type='text/css'>

Your PIPELINE_CSS is calling the stylesheet wlhome while your template is calling it wlshome. Pipeline doesn't trigger any errors when it can't find the stylesheet, which is why it's not complaining.

Sorry that was a typo, have update the details.

Following are the observations:-
If i put following in my settings file it throws error which says [Errno 78] Function not implemented.
DEBUG = True
However when is use DEBUG = False it works but the files are not loaded.


Use modern form of command :)

Thank you @fredrikhaglund and sorry for the wait, will merge asap :)


Cannot encrypt JWE with RSA encryption keys that have a kid (keyId)

When I follow the example code for creating a JWE, it does not work when I add a "kid" to the encryption key.
Here's what happens when I follow the example as written:
>>> encryption_keys = [RSAKey(use="enc", key=RSA.generate(2048))]
>>> jwe = JWE("some content", alg="RSA-OAEP", enc="A256CBC-HS512")
>>> jwe.encrypt(keys=encryption_keys)
'eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZDQkMtSFM1MTIifQ.LnOxoMXW_W96Kg51ccpoMDTaHzL1Owky4JCo1zNzZSPZrKWSbil_4DEdOrGPE9Tv3TMNunfJnN0pcB5fu8zXCvoVVUHwshrgIA9mOlHkfkb-4Xq4jOFfemMTpuW-uJhL2wzXa2FvRv96ZpRTEZaC0iYcKJya9aJ0WZOm3hibj1xRJd-ORLEYEjNJco8o5EqGZj4mcT8OaODLvOuqEuq3Bc01S8OORZ5MjUWvjVkc0co5ZmnPyKXvsMhdaT60e2xAzcoQJblhuRJY0j85zqz9IIkufAVFdVieExK-zZRasZ9xvVleuJpXCYCuPzxGL_z4HHz-7go2nlBB4HrnL7CoDA.eEOu1PwmmsQFvbwK67yBEA.SWecjp-pSsgY3-hvtezFGA.n5CtpyZ-GKBCxcL0uSpUlKlPdYpNBvrXEBEk7OX628Q'

Here's what happens when I add a "kid" to the encryption key:
>>> encryption_keys = [RSAKey(use="enc", key=RSA.generate(2048), kid="some-key-id")]
>>> jwe = JWE("some content", alg="RSA-OAEP", enc="A256CBC-HS512")
>>> jwe.encrypt(keys=encryption_keys, kid="some-key-id")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Python/2.7/site-packages/pyjwkest-1.0.1-py2.7.egg/jwkest/jwe.py", line 655, in encrypt
    raise NoSuitableEncryptionKey()
jwkest.jwe.NoSuitableEncryptionKey

It does seem possible to do this with symmetric encryption keys:
>>> symkey = {"kty":"oct","alg":"A128KW","k":"GawgguFyGrWKav7AX4VKUg","kid":"some-key-id"}
>>> k = KEYS()
>>> k.load_dict({"keys":[symkey]})
>>> jwe = JWE("some content", alg="A128KW", enc="A256CBC-HS512")
>>> jwe.encrypt(keys=k, kid="some-key-id")
'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwia2lkIjoic29tZS1rZXktaWQifQ.OIQzQZaIlR7vH6ZsZalefqk5fTh7j4wz4ypRj0dYTCiOVR6U7xwAdJGssKiEYntme6KyxBP6RB3CKJft3tqv0nLNMuP2WUfz.go8CePZYfQhRgVfbnBXKOw.wbPTCMZWRE14p1P1vS9fYQ.k3AsKWJ6pnrgFLFZAfL1pOLL7yPU53sMfZAFZPVAkqg'

22 jul 2015 kl. 00:08 skrev Arjun Sharma<EMAIL_ADDRESS>When I follow the example code for creating a JWE, it does not work when I add a "kid" to the encryption key.
Here's what happens when I follow the example as written:

encryption_keys = [RSAKey(use="enc", key=RSA.generate(2048))]
jwe = JWE("some content", alg="RSA-OAEP", enc="A256CBC-HS512")
jwe.encrypt(keys=encryption_keys)
'eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZDQkMtSFM1MTIifQ.LnOxoMXW_W96Kg51ccpoMDTaHzL1Owky4JCo1zNzZSPZrKWSbil_4DEdOrGPE9Tv3TMNunfJnN0pcB5fu8zXCvoVVUHwshrgIA9mOlHkfkb-4Xq4jOFfemMTpuW-uJhL2wzXa2FvRv96ZpRTEZaC0iYcKJya9aJ0WZOm3hibj1xRJd-ORLEYEjNJco8o5EqGZj4mcT8OaODLvOuqEuq3Bc01S8OORZ5MjUWvjVkc0co5ZmnPyKXvsMhdaT60e2xAzcoQJblhuRJY0j85zqz9IIkufAVFdVieExK-zZRasZ9xvVleuJpXCYCuPzxGL_z4HHz-7go2nlBB4HrnL7CoDA.eEOu1PwmmsQFvbwK67yBEA.SWecjp-pSsgY3-hvtezFGA.n5CtpyZ-GKBCxcL0uSpUlKlPdYpNBvrXEBEk7OX628Q'

Here's what happens when I add a "kid" to the encryption key:

encryption_keys = [RSAKey(use="enc", key=RSA.generate(2048), kid="some-key-id")]
jwe = JWE("some content", alg="RSA-OAEP", enc="A256CBC-HS512")
jwe.encrypt(keys=encryption_keys, kid="some-key-id")
Traceback (most recent call last):
File "", line 1, in
File "/Library/Python/2.7/site-packages/pyjwkest-1.0.1-py2.7.egg/jwkest/jwe.py", line 655, in encrypt
raise NoSuitableEncryptionKey()
jwkest.jwe.NoSuitableEncryptionKey

Think I just pushed a patch that fixes this, please verify !

Roland

”Capitalism is the extraordinary belief that the nastiest of men for the nastiest of motives will somehow work for the benefit of all" - John Maynard Keynes.

Thanks! I'll try that out today and let you know if I run into any issues.

When I pulled the latest code, I got errors while creating my JWS, which I do before I create the JWE. The JWS creation was working before.
I was able to get everything working by taking only your latest commit (293c0a730ee7479ad602b662d4550322c3bc650c), but removing the commit before it (cd34339b7cc015b58e5cc0877ffafee95d05fd4b). Here's what happened with the latest version of pyjwkest:
keyset = {"keys": [
{
"alg": "RS512",
"kty":"RSA",
"d":"ckLyXxkbjC4szg8q8G0ERBZV-9CszeOxpRtx1KM9BLl0Do3li_Km2vvFvfXJ7MxQpiZ18pBoCcyYQEU262ym8wI22JWMPrZe24HCNxLxqzr_JEuBhpKFxQF6EFTSvJEJD1FkoTuCTvN0zD7YHGaJQG6JzVEuFUY3ewxjH0FYNa_ppTnPP3LC-T9u_GX9Yqyuw1KOYoHSzhWSWQOeAgs4dH9-iAxN1wdZ6eH1jFWAs43svk_rhwdgyJMlihFtV9MAInBlfi_Zu8wRVhVl5urkJrLf0tGFnMbnzb6dYSlUXxEYClpY12W7kXW9aePDqkCwI4oZyxmOmgq4hunKGR1dAQ",
"e":"AQAB",
"use":"sig",
"kid": "af22448d-4c7b-464d-b63a-f5bd90f6d7d1",
"n":"o9g8DpUwBW6B1qmcm-TfEh4rNX7n1t38jdo4Gkl_cI3q--7n0Blg0kN88LHZvyZjUB2NhBdFYNxMP8ucy0dOXvWGWzaPmGnq3DM__lN8P4WjD1cCTAVEYKawNBAmGKqrFj1SgpPNsSqiqK-ALM1w6mZ-QGimjOgwCyJy3l9lzZh5D8tKnS2t1pZgE0X5P7lZQWHYpHPqp4jKhETzrCpPGfv0Rl6nmmjp7NlRYBkWKf_HEKE333J6M039m2FbKgxrBg3zmYYpmHuMzVgxxb8LSiv5aqyeyJjxM-YDUAgNQBfKNhONqXyu9DqtSprNkw6sqmuxK0QUVrNYl3b03PgS5Q"
}
]
}
>>> from jwkest.jwk import KEYS
>>> keys = KEYS()
>>> keys.load_dict(keyset)
>>> jws = JWS("payload", alg="RS512")
>>> jws.sign_compact(keys=keys)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Python/2.7/site-packages/pyjwkest-1.0.2-py2.7.egg/jwkest/jws.py", line 481, in sign_compact
    sig = _signer.sign(_input, key.get_key(alg=_alg, private=True))
  File "/Library/Python/2.7/site-packages/pyjwkest-1.0.2-py2.7.egg/jwkest/jws.py", line 133, in sign
    return signer.sign(h)
  File "/Library/Python/2.7/site-packages/Crypto/Signature/PKCS1_v1_5.py", line 112, in sign
    m = self._key.decrypt(em)
  File "/Library/Python/2.7/site-packages/Crypto/PublicKey/RSA.py", line 174, in decrypt
    return pubkey.pubkey.decrypt(self, ciphertext)
  File "/Library/Python/2.7/site-packages/Crypto/PublicKey/pubkey.py", line 93, in decrypt
    plaintext=self._decrypt(ciphertext)
  File "/Library/Python/2.7/site-packages/Crypto/PublicKey/RSA.py", line 239, in _decrypt
    mp = self.key._decrypt(cp)
  File "/Library/Python/2.7/site-packages/Crypto/PublicKey/_slowmath.py", line 52, in _decrypt
    raise TypeError("No private key")
TypeError: No private key

Fixed !
Just pushed a patch.

22 jul 2015 kl. 23:37 skrev Arjun Sharma<EMAIL_ADDRESS>keyset = {"keys": [
{
"alg": "RS512",
"kty":"RSA",
"d":"ckLyXxkbjC4szg8q8G0ERBZV-9CszeOxpRtx1KM9BLl0Do3li_Km2vvFvfXJ7MxQpiZ18pBoCcyYQEU262ym8wI22JWMPrZe24HCNxLxqzr_JEuBhpKFxQF6EFTSvJEJD1FkoTuCTvN0zD7YHGaJQG6JzVEuFUY3ewxjH0FYNa_ppTnPP3LC-T9u_GX9Yqyuw1KOYoHSzhWSWQOeAgs4dH9-iAxN1wdZ6eH1jFWAs43svk_rhwdgyJMlihFtV9MAInBlfi_Zu8wRVhVl5urkJrLf0tGFnMbnzb6dYSlUXxEYClpY12W7kXW9aePDqkCwI4oZyxmOmgq4hunKGR1dAQ",
"e":"AQAB",
"use":"sig",
"kid": "af22448d-4c7b-464d-b63a-f5bd90f6d7d1",
"n":"o9g8DpUwBW6B1qmcm-TfEh4rNX7n1t38jdo4Gkl_cI3q--7n0Blg0kN88LHZvyZjUB2NhBdFYNxMP8ucy0dOXvWGWzaPmGnq3DM__lN8P4WjD1cCTAVEYKawNBAmGKqrFj1SgpPNsSqiqK-ALM1w6mZ-QGimjOgwCyJy3l9lzZh5D8tKnS2t1pZgE0X5P7lZQWHYpHPqp4jKhETzrCpPGfv0Rl6nmmjp7NlRYBkWKf_HEKE333J6M039m2FbKgxrBg3zmYYpmHuMzVgxxb8LSiv5aqyeyJjxM-YDUAgNQBfKNhONqXyu9DqtSprNkw6sqmuxK0QUVrNYl3b03PgS5Q"
}
]
}

from jwkest.jwk import KEYS
keys = KEYS()
keys.load_dict(keyset)
jws = JWS("payload", alg="RS512")
jws.sign_compact(keys=keys)

Roland

”Capitalism is the extraordinary belief that the nastiest of men for the nastiest of motives will somehow work for the benefit of all" - John Maynard Keynes.

Works great! Thanks again for all your help!


gradle compatibility

when add dependency with grade version com.android.tools.build:gradle:4.1.0 and 3.5.4 and other
worked with version 3.4.3
Execution failed for task ':flutter_zoom_sdk:bundleReleaseAar'.

Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :flutter_zoom_sdk project caused this error: /Users/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zoom_sdk-0.0.2/android/libs/commonlib/commonlib.aar, /Users/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zoom_sdk-0.0.2/android/libs/mobilertc/mobilertc.aar

Change Gradle on project level build Gradle to 3.4.0 and make sure to keep minSdkVersion to 21 or +
Progruard also need to be there
-keep class  us.zoom.{*;}
-keep class  com.zipow.{;}
-keep class  us.zipow.**{;}
-keep class  org.webrtc.{*;}
-keep class  us.google.protobuf.{;}
-keep class  com.google.crypto.tink.**{;}
-keep class  androidx.security.crypto.**{*;}
buildTypes {
release {
signingConfig signingConfigs.release
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
add this on app level build Gradle

Hey, @evilrat.
Why you cannot place this rules to the package itself?

will update that in next release....thanks for sugession


Editor processing should be enabled if track selection isn't available

With track selection in the editor you want to disable processing if no tracks are selected. But if the track previews weren't generated, the user can't select any track. This will disable 'Save & Continue' button for further processing in the old editor. This behavior was added with commit 04df111 and should be soften in case of selection can't be done.
Your pull request should…

[ ] have a concise title
[ ] close an accompanying issue if one exists
[ ] be against the correct branch
[ ] include migration scripts and documentation, if appropriate
[ ] pass automated tests
[ ] have a clean commit history
[ ] have proper commit messages (title and body) for all commits

But if the track previews weren't generated, the user can't select any track.

I cannot reproduce the issue. I generated an event without preview images and can select and deselect the different tracks just fine.

// If we don't have any tracks at all, selecting none is valid

The comment in the commit talks about not having any tracks at all instead of previews. Could you give more details on how reproduce the issue you are facing?

Also can't reproduce here, with or without preview images

On the customer system I can reproduce the issue any time. Diving a bit deeper I found the root cause of the issue. The customer uses own workflows. The publish workflow after cutting is configured to starts with */prepared flavored tracks (config file https://github.com/opencast/opencast/blob/r/15.x/etc/org.opencastproject.adminui.impl.AdminUIConfiguration.cfg#L201-L213). But the workflows do not generate prepared version and uses */source. The admin UI configuration values where set wrong. Updating the values to */source solved the issue.
I'm sorry for confusing and will close this PR.


Phantom Js Launcher wont run on Bamboo

When running karma locally phantomjs runs fine, but when it's running as part of a bamboo build I get the error

Cannot find plugin "karma-PhantomJS-launcher". Did you forget to install it?

I'm using npm to locally install everything on the build agent, using a maven task with
https://github.com/eirslett/frontend-maven-plugin
When checking the build directory on the server, the phantomjs-prebuilt and karma-phantomjs-launcher are both present
karma config
module.exports = function (config) {
    config.set({
        ...
        autoWatch: false,
        singleRun:true,
        frameworks: ['jasmine'],
        browsers: ['PhantomJS'],
        plugins: [
            'karma-PhantomJS-launcher',
            'karma-jasmine'
        ]
    });
};

packages.config

{
  "devDependencies": {
    "bower": "^1.7.7",
    "grunt": "^1.0.1",
    "grunt-autoprefixer": "^3.0.4",
    "grunt-cli": "^1.2.0",
    "grunt-contrib-clean": "^1.0.0",
    "grunt-contrib-copy": "^1.0.0",
    "grunt-contrib-cssmin": "^1.0.2",
    "grunt-contrib-stylus": "^1.0.0",
    "grunt-contrib-uglify": "^2.0.0",
    "http-server": "^0.9.0",
    "is-number": "^3.0.0",
    "isobject": "^2.1.0",
    "jasmine-core": "^2.4.1",
    "karma": "^1.3.0",
    "karma-chrome-launcher": "^0.2.3",
    "karma-firefox-launcher": "^0.1.7",
    "karma-jasmine": "^1.0.2",
    "karma-phantomjs-launcher": "^1.0.2",
    "phantomjs-prebuilt": "^2.1.13",
    "protractor": "^3.2.2",
    "semver": "^5.3.0",
    "uglify": "^0.1.5"
  }
}

I only guess that it should be karma-phantomjs-launcher without capital letters.


Change hostname and port

Provide a way for users to change the hostname and port of the webview element to match any custom configuration they may have made to btsync.

This will require a rewrite.

Closing as this project is now deprecated.


Are enums case sensitive? storageAccounts virtualNetworkRules

Are enum variants case sensitive in the specs? I was expecting them to be. The storage spec says networkSourceDeleted, but the service is returning NetworkSourceDeleted. Is that a service bug?
        "state": {
          "type": "string",
          "enum": [
            "provisioning",
            "deprovisioning",
            "succeeded",
            "failed",
            "networkSourceDeleted"
          ],
          "x-ms-enum": {
            "name": "State",
            "modelAsString": false
          },
          "description": "Gets the state of virtual network rule."
        }

You can see the invalid state returned here:
az storage account show --ids /subscriptions/f6be8482-378f-45a6-afb3-d02a7d0fefd7/resourceGroups/aebaid-scpproxy-rg/providers/Microsoft.Storage/storageAccounts/aebaidsestorageaccount --query networkRuleSet.virtualNetworkRules
[
  {
    "state": "NetworkSourceDeleted",
    "virtualNetworkResourceId": "/subscriptions/f6be8482-378f-45a6-afb3-d02a7d0fefd7/resourceGroups/aebaid-scpproxy-rg/providers/Microsoft.Network/virtualNetworks/aebaidse-vnet/subnets/scpproxy-subnet"
  }
]
```

@zfchen95
Would you please looks at this?
It looks like server returned value and the definition in swagger is not aligned.

@zfchen95
Would you please looks at this?
It looks like server returned value and the definition in swagger is not aligned.

They are case sensitive. It is an ENUM_MISMATCH error. It is a correctness error listed at internal https://aka.ms/livevalidation.

They are case sensitive. It is an ENUM_MISMATCH error. It is a correctness error listed at internal https://aka.ms/livevalidation.

@zhenfeng
Would you please help to look at the server and swagger mismatch?

@zhenfeng
Would you please help to look at the server and swagger mismatch?

@zfchen95, it has been 24 days. since this was reported. Any update?

When I deserialize this in Rust using Serde, I get:
Error: DeserializeError { source: Error("unknown variant `Succeeded`, expected one of `provisioning`, `deprovisioning`, `succeeded`, `failed`, `networkSourceDeleted`"

The spec says succeeded, but the service is returning Succeeded.


Handle OOTB step extensions

We need to offer a few step extensions out of the box for Kaoto, where the user does not need to configure anything. An example of this would be the HTTP step extension.
We need to decide how we want to handle them. For example, do we want them to be bundled within the UI repo, or do we want them to be in a separate repo within the Kaoto org?
cc @mmelko

Closing, these will be part of the KaotoIO org


[Radio] Make number a valid input type

[x] console type errors are gone
[ ] figure out why onChange receives a string instead of number

I happend to notice some strange behavior which i wasn't able to debug - onChange will always receive a string instead of a number. I couldn't find a place where the value gets mutated.
class TestComponent extends React.Component{
	state = {
		value: 1
	}

	handleChange = (e, v) => {
                this.setState({value: v})
	}

	render() {
        const arr = [0,1,2,3];
        return (
			<FormControl component="fieldset" required>
				<FormLabel component="legend">Testradio</FormLabel>
				<RadioGroup
					aria-label="gender"
					name="gender"
					value={this.state.value}
					onChange={this.handleChange}
				>
                    {arr && arr.map(v => <FormControlLabel key={v} value={v} control={<Radio />} label={`label: ${v.toString()}`}
				</RadioGroup>
			</FormControl>
		)
	}
}

Closes #8180

figure out why onChange receives a string instead of number

The value is inlined into a native input. I don't think that we can do anything about it. You would have the same behavior without Material-UI.

@oliviertassinari then i'm not sure any more if this is a good idea at all... it will lead to problems when people don't call Number.parseInt(e.target.value) ... I think the parts of our application where we use this atm is basically legacy/bad design.
It would probably better to just work with strings instead.
In case of merging we should probably add some info to the docs.
the native onChange event will always return a string, even when providing a number value so make sure to use parseInt when setting the value for controlled radios.

or sth along these lines.
Feel free to merge or decline, it's up to you :D

It would probably better to just work with strings instead.

I agree with this statement. Let's close the issue. Thanks for raising the concern 👍 .


When upgrading to version 0.4.1, a specific table becomes "not found"

After upgrading to version 0.4.1, a problem occurs where a specific table becomes "not found."
(Note: It works fine in version 0.4.0.)
Please see the following environment details for reproduction:
services:
  bq:
    image: ghcr.io/goccy/bigquery-emulator:latest
    #image: ghcr.io/goccy/bigquery-emulator:0.4.0
    platform: linux/amd64
    ports:
      - "9050:9050"
    volumes:
      - ./testdata:/testdata
    command: "bigquery-emulator --project=test-local --data-from-yaml=../testdata/data.yaml"

projects:
- id: test-local
  datasets:
    - id: test_ds
      tables:
        - id: table_type_graph
          columns:
            - name: id
              type: INTEGER
            - name: price
              type: INTEGER
          data:
            - id: 1
              price: 110
        - id: INFORMATION_SCHEMA.COLUMNS
          columns:
            - name: table_schema
              type: STRING
            - name: table_name
              type: STRING
            - name: column_name
              type: STRING
          data:
            - table_schema: test_ds
              table_name: table_type_graph
              column_name: id
            - table_schema: test_ds
              table_name: table_type_graph
              column_name: price

In version 0.4.0 .
$ bq --api http://<IP_ADDRESS>:9050 query --project_id=test-local "SELECT * FROM test_ds.INFORMATION_SCHEMA.COLUMNS"
+--------------+------------------+-------------+
| table_schema |    table_name    | column_name |
+--------------+------------------+-------------+
| test_ds      | table_type_graph | id          |
| test_ds      | table_type_graph | price       |
+--------------+------------------+-------------+

In version 0.4.1 .
$ bq --api http://<IP_ADDRESS>:9050 query --project_id=test-local "SELECT * FROM test_ds.INFORMATION_SCHEMA.COLUMNS"
BigQuery error in query operation: Error processing job 'test-local:bqjob_r91d568e2ad676d1_00000188d24de7ee_1': failed to query SELECT * FROM
test_ds.INFORMATION_SCHEMA.COLUMNS: no such table: test_ds_INFORMATION_SCHEMA_COLUMNS

Thank you for this great library!

@toritori0318
In order to support multiple projects, the completion rules for projectID and datasetID have been updated.
As a result, I had assumed that paths would be completed with up to three levels ( projectID.datasetID.tableID ) of hierarchy, but it seems that only INFORMATION_SCHEMA has four levels. I'm trying to take special care of that. If you have any other special cases, please let me know.

@goccy Thank you for your prompt response!


[VS2015] JSX in extends clauses is auto-formatted oddly

Generally speaking, the opening and closing tags should line up vertically, but the autoformatter seems to disagree in this case.

looks like a dupe of #4568


Update contribution guide and Issue/PR templates

Signed-off-by: Paul Balaji<EMAIL_ADDRESS>Contributions: We are not currently taking public contributions - see our contributions policy. However, we are accepting issues and we do want your feedback.

Description
updated formatting
Tests
How did you test these changes prior to submitting this pull request?
What automated tests are included in this PR?
Documentation
How is this documented (for example: release note, upgrade guide, feature page, in-code documentation)?
Primary reviewers
If your change will take a long time to review, you can name at most two primary reviewers who are ultimately responsible for reviewing this request. @ mention them.

Part 1 of 3
https://github.com/spatialos/gdk-for-unity/pull/571
https://github.com/spatialos/gdk-for-unity-fps-starter-project/pull/54
https://github.com/spatialos/gdk-for-unity-blank-project/pull/3


[SPARK-40540][SQL][TESTS][FOLLOW-UP] Use a regex for List and ArrayBuffer for 'Struct Star Expansion' test

What changes were proposed in this pull request?
This PR is a minor followup of https://github.com/apache/spark/pull/37973 to match the pattern of either ArrayBuffer (Scala 2.12) or List (Scala 2.13) in "Struct Star Expansion" test case at SQLQuerySuite.scala.
Why are the changes needed?
Currently, the test fails with Scala 2.13 (https://github.com/apache/spark/actions/runs/3146198025/jobs/5114388079):
[info] - Struct Star Expansion *** FAILED *** (1 second, 801 milliseconds)
[info]   Map("attributes" -> "List(a)") did not equal Map("attributes" -> "ArrayBuffer(a)") (SparkFunSuite.scala:328)
[info]   Analysis:
[info]   JavaCollectionWrappers$JMapWrapper(attributes: List(a) -> ArrayBuffer(a))
[info]   org.scalatest.exceptions.TestFailedException:
[info]   at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
[info]   at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
[info]   at org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1231)
[info]   at org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:1295)
[info]   at org.apache.spark.SparkFunSuite.checkError(SparkFunSuite.scala:328)
[info]   at org.apache.spark.SparkFunSuite.checkError(SparkFunSuite.scala:369)

We should also consider Scala 2.13 case.
Does this PR introduce any user-facing change?
No, test-only.
How was this patch tested?
Manually tested:
scala> "List(a)".matches("(ArrayBuffer|List)\\(a\\)")
res0: Boolean = true

scala> "ArrayBuffer(a)".matches("(ArrayBuffer|List)\\(a\\)")
res1: Boolean = true

Merged to master.

Late LGTM


Make check err testable

Continuing on #7027 and this comment. This is a PR on how we can test CheckErr. Any comments are welcomed.
/cc @smarterclayton

ok to test

LGTM pending tests passing

Sorry I can't see shippable. Do you know why this fails? It passes all test in my env

@andronat Since you only need to access CheckErr in the test, would you mind making it private to the package (lower case like checkErr)? Then you could rename CheckErrAndFatal to CheckErr and not have to change any of the callers.

Something like this?

Yes. Thank you. LGTM


Device permissions for multi-window apps, and the meeting side panel.

Hi Team,
We see the document note that "Teams doesn't support device permissions for multi-window apps, tabs, and the meeting side panel".
It actually supports now as per an announcement made by the engineering team (see below), and it is already in production.
Post reference: https://teams.microsoft.com/l/message/19:814416796bf34cfb82c9a15b0c63becf@thread.skype/1670262180686?tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47&groupId=32e3b156-66b2-4135-9aeb-73295a35a55b&parentMessageId=1670262180686&teamName=Teams Platform&channelName=Announcements&createdTime=1670262180686&allowXTenantAccess=false

So, could you please change the note in the documentation.

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

ID: 19804dba-009f-2eb1-cc7f-1e0fabbebb6b
Version Independent ID: a9373e78-b3c9-7182-d253-5ac8d8988936
Content: Request device permissions for your Microsoft Teams app - Teams
Content Source: msteams-platform/concepts/device-capabilities/native-device-permissions.md
Service: msteams
GitHub Login: @surbhigupta
Microsoft Alias: surbhigupta

Hello @surbhigupta12 - Could you please help us here to update/delete the note in the documentation?

Closing this issue as docs are updated.


react-native-tab-view with react-native-side-menu

Hi, This is not an issue but need assistance on this ... I have a side menu from react-native-side-menu and  swipable tab from react-native-tab-view in same screen.Now i want to open up the side menu by swiping right if the swipe is starting from screen edge and switch the tabs if swipe is not from screen edge...How can i achieve this

I don't think it's possible yet unless you disable the swipe. Though probably we can add a prop on TabViewPanPager to configure to leave some space on edges.

@satya164  Thanks man...I cant find any documentation on TabViewPanPager  ..Can you please provide a sample ?

I can't find any documentation on TabViewPanPager

It's there in the readme - https://github.com/react-native-community/react-native-tab-view#tabviewpagerpan-

Can you please provide a sample ?

Sample for what?

Sample for leaving some space on edges ??

Hi @rohithramachandran!  is just a "simple" view, which means that you can add a simple prop to use any style you'd like, right here: https://github.com/react-native-community/react-native-tab-view/blob/master/src/TabViewPagerPan.js#L166.

Closed #124.


stun server stun.stunprotocol.org seems to be down

Binding fails when I try a stun request to stun.stunprotocol.org

In recent months, stun.stunprotocol.org was exceeding hosting cost limits - by a lot.  Keeping the lights on globally for this service would cost me about $4000/year in bandwidth costs alone. In previous years, it was only a few hundred dollars.
It's a free service meant for showcasing the open source code and for individuals to use for personal use. But over the years, it's been plagued with denial of service attacks. And most recently, some organizations appeared to have deployed a large scale production service hardcoded to use it.
So last week, I made the harsh decision to limit it to only North America and Europe
The TLDR is that if you need a personal stun server, use the new address: stunserver.stunprotocol.org.

Thanks for letting me know. I'll use the new address. I use it only for personal purposes, ~10 reqs per day.

@showstoppre - 10 is fine.   10 million gets to be a problem - as some folks are attempting to do. :)


Add default project scaffolding

Possibly a standalone Vue 3 app for a ui interface to generate emails from, could also just be command line but wouldn't be as nice imo.

Completed with c7cefdba74f976616e5ad02f98889bd96d1bc311


When you run after a React syntax error, give a good syntax error message in the errors panel

Maybe babel can help us get a good syntax error, not sure.
/bounty $15

/attempt #215
Creating an util at src/lib/utils/getSyntaxError.ts which checks the code and gives syntax errors by using babel
Using this util at src/hooks/use-run-tsx/index.tsx to return error as message


Missing control panel on the webseite

Describe the bug
The KasmVM Server/Client is providing a client side control panel.
It is not there. How do I find/enable it?
To Reproduce

start the container
connect to it
use the round button for the menu
not here...

Expected behavior

start the container
connect to it
use the round button for the menu
select the control panel icon

Desktop (please complete the following information):

OS: Windows
Browser Brave
Version 1.59.124 (Chrome 118.0.5993.117)

This is the closest people have come to getting this working, https://github.com/sytone/obsidian-remote/issues/56#issuecomment-1873075260
I have that issue and a whole lot more, most likley due to arm64.
If i find a solution will let know


[5.1][ConstraintSystem] Deplay opening generic requirements until after co…

…ntextual self has been applied
While computing a type of member via getTypeOfMemberReference
let's delay opening generic requirements associated with function
type until after self constraint has been created, that would give
a chance for contextual types to get propagated and make mismatch
originated in generic requirements much easier to diagnose.
Consider following example:
struct S<T> {}

extension S where T == Int {
  func foo() {}
}

func test(_ s: S<String>) {
  s.foo()
}

foo would get opened as (S<$T>) -> () -> Void and contextual self
type is going to be S<String>, so applying that before generic requirement
$T == Int would make sure that $T gets bound to a contextual
type of String and later fails requirement constraint $T == Int.
This is much easier to diagnose comparing to $T being bound to
Int right away due to same-type generic requirement and then
failing an attempt to convert S<String> to S<Int> while simplifying
self constraint.
Resolves: rdar://problem/46427500
Resolves: rdar://problem/34770265
(cherry picked from commit 91dbcfdfcc04f7e73f85f03fe6c0de3c0a75f7a4)
Reviewed By: @DougGregor

apple/swift-lldb#1636
@swift-ci please test


can you share the weights file?

Hi,
if possible can you share the weights/datasets ?
Thanks advance,

@Guttappa1238 Hi, thank you for the comment.
I'm preparing a paper for this project, so please wait for a while.

@Guttappa1238 Hi, thank you for the comment. I'm preparing a paper for this project, so please wait for a while.

Okay fine..!


Iris More consistent error handling on client side

Checklist
General

[x] 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] Important: I implemented the changes with a very good performance and prevented too many (unnecessary) database calls.
[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 pre-authorization annotations according to the guidelines and checked the course groups for all new REST Calls (security).
[x] I documented the Java code using JavaDoc style.

Client

[x] Important: I implemented the changes with a very good performance, prevented too many (unnecessary) REST calls and made sure the UI is responsive, even with large data.
[x] I followed the coding and design guidelines.
[x] Following the theming guidelines, I specified colors only in the theming variable files and checked that the changes look consistent in both the light and the dark theme.
[x] I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.
[ ] 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).

Description
Centralized Exception Management: This update streamlines the way exceptions are handled throughout the client, providing a more consistent approach.
Improved Error Display: The new error handling mechanism ensures a consistent and user-friendly experience when errors occur. Error messages are now displayed to the user in a clear and informative manner, enhancing overall usability, in both languages.
Resend Message Button: In scenarios where a student encounters a failure while sending a message due to an unreachable endpoint, this PR introduces a "resend message" button. This button allows the student to attempt resending the message without needing to repeat the entire process.
Shaking Animation: If the student is still unable to send the message even after pressing the resend button, a visually engaging shaking animation appears. This animation effectively communicates the failure and prompts the student to take further action.
Steps for Testing

Prerequisites:

1 Instructor
1 Student
1 Programming Exercise with Iris enabled

Log in to Artemis
Navigate to Course Administration
Open a programming exercise with Iris enabled.
Ensure that the endpoint used to send messages is not reachable.
Send a message using Iris.
Observe the behavior of the error handling mechanism when the message fails to send(both EN/DE).
Press the newly introduced "resend message" button.
Observe the shaking animation if the resend operation fails.
Make the endpoint reachable again.
Press the retry button.
Observe the successful disappearance of the error box, indicating that the message has been sent successfully.

Review Progress

Performance Review

[ ] I confirm that the client changes (in particular related to REST calls and UI responsiveness) are implemented with a very good performance
[ ] I confirm that the server changes (in particular related to database calls) are implemented with a very good performance

Code Review

[ ] Code Review 1
[ ] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Exam Mode Test

[ ] Test 1
[ ] Test 2

Test Coverage

Screenshots

Tested on ts9, everything works as expected but the dialog doesn't get scrolled to the bottom anymore when there is a new message from server

Fixed, is also included in the presentation branch. Pls, do not deploy until the presentation is over.

when disabling the chatbot, failing to send a message, re-enabling iris and instead of resending the failed message, you send a new one, the failed on will be ignored and the UI will look a bit stuck, this should be handled somehow too

When a message could not be sent, the submit button should stay disabled. You probably succeeded to send the message because of the enter key bug. Btw, a message will be shown indicating that Iris was disabled in the future.


Reconcile messages.xml

We have two messages.xml:

dspace-xmlui/src/main/webapp/i18n/messages.xml
dspace/modules/xmlui/src/main/webapp/i18n/messages.xml

The first is from DSpace's XMLUI application, and the second was created by us to override the default messages (if the second one exists it is used in its entirety). We need to reconcile some of the differences —additions, deletions, changes — in our file with the "upstream" XMLUI's.

I'll look at this again after we move to DSpace 5.5.


[EDA]Lightning App

Critical Changes
Changes
Issues Closed
New Metadata
Unpackaged Metadata
Deleted Metadata
Testing Notes

QA Passes. Merging


HADOOP-17138. Fix spotbugs warnings surfaced after upgrade to 4.0.6. …

…(#2155)
(cherry picked from commit 1b29c9bfeee0035dd042357038b963843169d44c)
Backport HADOOP-17138 to branch-3.3 to fix the findbugs warnings in hadoop-cos.

I create a PR for running the unit tests in branch-3.3. If the result is fine, I'll cherry-pick it to branch-3.3.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
32m 16s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 1 new or modified test files.

_ branch-3.3 Compile Tests _

+0 :ok:
mvndep
3m 52s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
33m 47s
branch-3.3 passed

+1 :green_heart:
compile
23m  9s
branch-3.3 passed

+1 :green_heart:
checkstyle
3m 38s
branch-3.3 passed

+1 :green_heart:
mvnsite
13m 59s
branch-3.3 passed

+1 :green_heart:
shadedclient
38m 36s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
6m 49s
branch-3.3 passed

+0 :ok:
spotbugs
0m 54s
Used deprecated FindBugs config; considering switching to SpotBugs.

-1 :x:
findbugs
15m  5s
hadoop-yarn-project/hadoop-yarn in branch-3.3 has 2 extant findbugs warnings.

-1 :x:
findbugs
0m 43s
hadoop-cloud-storage-project/hadoop-cos in branch-3.3 has 1 extant findbugs warnings.

-1 :x:
findbugs
0m 53s
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests in branch-3.3 has 2 extant findbugs warnings.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 26s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
12m  2s
the patch passed

+1 :green_heart:
compile
19m 43s
the patch passed

+1 :green_heart:
javac
19m 43s
the patch passed

+1 :green_heart:
checkstyle
2m 58s
the patch passed

+1 :green_heart:
mvnsite
12m 35s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
xml
0m  4s
The patch has no ill-formed XML file.

+1 :green_heart:
shadedclient
16m 57s
patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
5m 37s
the patch passed

+1 :green_heart:
findbugs
2m 17s
hadoop-common in the patch passed.

+1 :green_heart:
findbugs
3m 29s
hadoop-hdfs in the patch passed.

+1 :green_heart:
findbugs
13m 18s
hadoop-yarn-project/hadoop-yarn generated 0 new + 0 unchanged - 2 fixed = 0 total (was 2)

+1 :green_heart:
findbugs
0m 51s
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests generated 0 new + 0 unchanged - 2 fixed = 0 total (was 2)

+1 :green_heart:
findbugs
4m 17s
hadoop-mapreduce-project in the patch passed.

+1 :green_heart:
findbugs
0m 54s
hadoop-sls in the patch passed.

+1 :green_heart:
findbugs
0m 42s
hadoop-cloud-storage-project/hadoop-cos generated 0 new + 0 unchanged - 1 fixed = 0 total (was 1)

_ Other Tests _

-1 :x:
unit
9m 58s
hadoop-common in the patch passed.

-1 :x:
unit
116m 11s
hadoop-hdfs in the patch passed.

-1 :x:
unit
223m 21s
hadoop-yarn in the patch passed.

+1 :green_heart:
unit
15m 57s
hadoop-yarn-server-timelineservice-hbase-tests in the patch passed.

+1 :green_heart:
unit
152m 59s
hadoop-mapreduce-project in the patch passed.

-1 :x:
unit
12m 40s
hadoop-sls in the patch passed.

+1 :green_heart:
unit
0m 45s
hadoop-cos in the patch passed.

+1 :green_heart:
asflicense
1m 10s
The patch does not generate ASF License warnings.

802m  1s

Reason
Tests

Failed junit tests
hadoop.fs.ftp.TestFTPFileSystem

hadoop.hdfs.TestDecommissionWithStripedBackoffMonitor

hadoop.hdfs.server.datanode.TestBPOfferService

hadoop.hdfs.TestDistributedFileSystem

hadoop.hdfs.server.datanode.TestNNHandlesCombinedBlockReport

hadoop.yarn.applications.distributedshell.TestDistributedShell

hadoop.yarn.client.api.impl.TestAMRMClient

hadoop.yarn.server.resourcemanager.TestRMHATimelineCollectors

hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer

hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerPreemption

hadoop.yarn.sls.appmaster.TestAMSimulator

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2538/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2538

Optional Tests
dupname asflicense xml compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux eb91fce54196 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.3 / e4cab4b

Default Java
Private Build-1.8.0_275-8u275-b01-0ubuntu1~16.04-b01

findbugs
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2538/1/artifact/out/branch-findbugs-hadoop-yarn-project_hadoop-yarn-warnings.html

findbugs
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2538/1/artifact/out/branch-findbugs-hadoop-cloud-storage-project_hadoop-cos-warnings.html

findbugs
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2538/1/artifact/out/branch-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-timelineservice-hbase-tests-warnings.html

unit
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2538/1/artifact/out/patch-unit-hadoop-common-project_hadoop-common.txt

unit
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2538/1/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt

unit
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2538/1/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn.txt

unit
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2538/1/artifact/out/patch-unit-hadoop-tools_hadoop-sls.txt

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2538/1/testReport/

Max. process+thread count
3243 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-yarn-project/hadoop-yarn hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests hadoop-mapreduce-project hadoop-tools/hadoop-sls hadoop-cloud-storage-project/hadoop-cos U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2538/1/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Merged. Thank you @sunchao for your review.


Render markdown docs

So I think it'd be cool to show the documentation rendered by default with the option to show it as it appears in the source code. Combined with #245 you could make reading a source file with cargo src as nice as reading rustdoc output, with the added ability to seamlessly show and navigate the source code.

I think this would be nice, we'd just have to be careful to keep line numbers accurate.

We can just store the line number on the line object

Duplicate of #229 ?


docs/towers.html page is dead.

Readme is linking to https://warrior.js.org/docs/towers.html
🤔 Expected Behavior
There is a page in the docs clarifying that there is only one tower and encouraging contribution.
😯 Actual Behavior
404

Still dead unfortunately.

Hello @nukeop, README now points to https://warrior.js.org/docs/play/towers, which should work.

Right, I was thinking about a different link.
https://warrior.js.org/docs/en/play/towers
The "add it" link points to a file that no longer exists.

@nukeop Ugh, sorry for that. It should be fixed now, thanks!


ManyToMany field is not saved in Inline model

Issue Summary
Having ManyToMany field inside Inline panel doesn't allow to save raising error ValueError "... needs to have a value for field "id" before this many-to-many relationship can be used."
Model.py code:
`
class Company(ClusterableModel):
title = models.CharField(
max_length=128
)
panels = [
FieldPanel('title'),
InlinePanel('categories', label='Categories')
]
class CompanyCategory(Orderable):
company = ParentalKey('Company',
on_delete=models.CASCADE,
related_name='categories')
category = models.ForeignKey(
'wagtailcore.Page',
null=False,
blank=False,
on_delete=models.CASCADE,
related_name='+'
)
service_tags = models.ManyToManyField(
'catalogue.ServiceTag',
blank=True)
panels = [
    PageChooserPanel('category', 'catalogue.ServiceCategoryPage'),
    FieldPanel('service_tags')
]

`
Traceback:
Traceback (most recent call last):   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner     response = get_response(request)   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/django/core/handlers/base.py", line 115, in _get_response     response = self.process_exception_by_middleware(e, request)   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_response     response = wrapped_callback(request, *callback_args, **callback_kwargs)   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func     response = view_func(request, *args, **kwargs)   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/wagtail/admin/urls/__init__.py", line 102, in wrapper     return view_func(request, *args, **kwargs)   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/wagtail/admin/decorators.py", line 34, in decorated_view     return view_func(request, *args, **kwargs)   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/wagtail/contrib/modeladmin/options.py", line 367, in edit_view     return view_class.as_view(**kwargs)(request)   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/django/views/generic/base.py", line 71, in view     return self.dispatch(request, *args, **kwargs)   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/django/utils/decorators.py", line 45, in _wrapper     return bound_method(*args, **kwargs)   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view     return view_func(request, *args, **kwargs)   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/wagtail/contrib/modeladmin/views.py", line 711, in dispatch     return super().dispatch(request, *args, **kwargs)   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/django/utils/decorators.py", line 45, in _wrapper     return bound_method(*args, **kwargs)   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view     return view_func(request, *args, **kwargs)   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/wagtail/contrib/modeladmin/views.py", line 78, in dispatch     return super().dispatch(request, *args, **kwargs)   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/django/views/generic/base.py", line 97, in dispatch     return handler(request, *args, **kwargs)   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/django/views/generic/edit.py", line 142, in post     return self.form_valid(form)   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/wagtail/contrib/modeladmin/views.py", line 172, in form_valid     instance = form.save()   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/modelcluster/forms.py", line 370, in save     formset.save(commit=commit)   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/modelcluster/forms.py", line 127, in save     self.save_m2m()  # ensures any parental-m2m fields are saved.   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/django/forms/models.py", line 667, in save_m2m     form.save_m2m()   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/django/forms/models.py", line 441, in _save_m2m     f.save_form_data(self.instance, cleaned_data[f.name])   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/django/db/models/fields/related.py", line 1621, in save_form_data     getattr(instance, self.attname).set(data)   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/django/db/models/fields/related_descriptors.py", line 527, in __get__     return self.related_manager_cls(instance)   File "/home/aiv/webapps/itrate/venv/lib/python3.7/site-packages/django/db/models/fields/related_descriptors.py", line 840, in __init__     (instance, self.pk_field_names[self.source_field_name])) ValueError: "<CompanyCategory: CompanyCategory object (None)>" needs to have a value for field "id" before this many-to-many relationship can be used.
As you can see service_tags field inside CompanyCategory model is relating to 3rd model. If I switch it to ParentalManyToManyField from modelcluster, it doesn't raise error, but doesn't save values in field (probably because parental key is referencing to another model here).

I've created test project to show the issue:
https://github.com/hazaard/m2mtest

Did some additional checks. Looks like issue is related to modelcluster (defferred manager) rather than to wagtail. Should i open issue there and close this instead?

@hazaard, I just stumbled upon this using latest wagtail version (4.0.1). If you ended up opening the issue somewhere else, could you please share the link? Or otherwise, any tip about how you ended up solving that?
Many thanks!

@perepicornell
I haven't opened an issue anywhere. From what I see in my old repository I had to do two things:

Switch from ManyToManyField to modelcluster.fields.ParentalManyToManyField.
Use FieldPanel('service_tags', widget=django_select2.forms.Select2MultipleWidget()).

I really appreciate that, thanks!
In the current iteration, the ParentalKey approach worked but making the editor's life worse. I'll take a look at what you propose and see... :)


UI: volume-head disappeared at recurring snapshot create.

Steps to reproduce:

Create a volume, attach it to a node.
Create a recurring snapshot every 1 min.
Wait for snapshot to be created, Do Not refresh the page.

Move to 0.7.0 since China team is on holiday

Validation: PASSED


Update basic-web-server-macos-linux.md to Telugu

Description
Please include a summary of this change and the issue(s) you are fixing. Include any context or information that will help a reviewer verify this PR quickly. List any caveats or issues with this change up front.
Fixes # <-- Add the issue number so that it automatically closes the issue
Required checklist:

[x] My code matches the existing code style of this project.
One of these:

[ ] This is a new localization for existing content.
[ ] This is new content that is localized for all the locales that this project currently supports.
[ ] I described above how I plan to localize this content immediately after merging these changes.
[ ] Localization is not applicable to this change.

[x] I have tested my code and it successfully builds for GitHub Pages and validates as AMP.

This solves #113


Compatibility with Microsoft runtime overloading

Hi, I try to use rpmalloc on a VS2019 C++ Win32 project (x64). I added the rpmalloc.vcxproj to my solution and set ENABLE_OVERRIDE=1 and ENABLE_PRELOAD=1 in both the rpmalloc lib project as well as my exe project. In the exe project I include rpmalloc.h in stdafx.h (no MFC).
First gotcha is that I can't use rpmalloc with the debug build, because VS C++ uses _free_dbg in global delete. I therefore use rpmalloc only in the release build.
After very short time (less than a second) I get a crash in rpmalloc when delete/free is called. With rpmalloc 1.4.0 the span pointer isn't correct which leads to an acces violation. With the current development branch (commit 9adf4e0aed0a60b22c9a4f10d20d674ca55a9f8c) I get a crash because the heap member in the span struct is zero while being dreferenced.
What can I do to find out what's the culprit (I alreaded set ENABLE_ASSERTS=1 which didn't help)?
The application is using boost::asio and a lot threads/executors and is working well with VS29019 onboard heap library. Sometimes within long term tests (24h+) I get delays when the PC wasn't used (in the sense that somebody moved the mouse and clicked something) for hours and then the user i.e. is opening a folder in Windows Explorer. I wanted to try out if these delays (we're talking round about <= 50ms) could be due to a heap lock, because the process is excessively using dynamic heap data (new and delete).
Thank you and best regards.

Most likely a pointer allocated by the VC++ runtime is being passed to rpmalloc delete/free.
The " uses _free_dbg in global delete" makes me think the override isn't correctly linked in, otherwise global delete would have been replaced by the rpmalloc implementation.
Perhaps a DLL you use allocates memory inside the DLL that you later free in your executable? That will not work, as the DLL allocates from the standard runtime, which cannot be passed to rpmalloc.

Hi Mattias,
thank you for your prmpt reply. I just found it today (somehow I didn't notice the email from github).
Regarding the debug build:
Deleting a std::string finally calls this function in xmemory:
template <size_t _Align, enable_if_t<(!_HAS_ALIGNED_NEW || _Align <= __STDCPP_DEFAULT_NEW_ALIGNMENT__), int> = 0>
void _Deallocate(void* _Ptr, size_t _Bytes) noexcept {
    // deallocate storage allocated by _Allocate when !_HAS_ALIGNED_NEW || _Align <= __STDCPP_DEFAULT_NEW_ALIGNMENT__
#if defined(_M_IX86) || defined(_M_X64)
    if (_Bytes >= _Big_allocation_threshold) { // boost the alignment of big allocations to help autovectorization
        _Adjust_manually_vector_aligned(_Ptr, _Bytes);
    }
#endif // defined(_M_IX86) || defined(_M_X64)

    ::operator delete(_Ptr, _Bytes);
}

And here delete in vcruntime_new will be called ending up in static void __cdecl free_dbg_nolock(void* const block, int   const block_use) throw() in debug_heap.cpp.
So you're right that overriding delete didn't work correctly. But I don't understand enough about this overriding works with rpmalloc. Can you shed some light on this?
I guess it doesn't make sense looking at the crashes until overriding new and delete works correctly, right?

Looks like the sized delete operator is not overloaded correctly, looking into this

I added missing C++ operator overrides for sized deletes, please try again and see if it works better now

On the develop branch, that is

I tried again, but AFAICS unfortunately the sized delete operator is still taken from MS delete_scalar_size.cpp resp. delete_scalar.cpp which then finally calls _free_dbg (debug build) in debug_heap.cpp (I don't have access to delete_scalar_size.cpp and delete_scalar.cpp).
I made breakpoints on all the wrapper functions in rpmalloc/malloc.c and can see that operator new in new_scalar.cpp (which I don't have access to) is finally calling malloc in rpmalloc/malloc.c. For delete this still isn't the case.
Please note that all this is taking place when initialising static variables (i.e. boost::exception, etc.).

Alright, I will take a deeper look at this tonight and see if I can reproduce it locally

To me it looks like that neither operator new nor operator delete are used from rpmalloc/malloc.c while malloc and free are, because when debugging int *i = new int; the only breakpoint hit is the one in malloc in rpmalloc/malloc.c (new is taken from new_scalar.cpp).

Seems I made a mistake with the C++ name mangling on Windows targets. Can you try the latest develop branch and make sure to include the header I added in a single source file in your project? That is, #include <rpnew.h> in one source file.

Much better, but  basic_streambuf is using <xlocale> and there a struct is defined that overload new and delete if _DEBUG is defined, where new is using _malloc_dbg and delete is using free, which leads to using MS malloc and rpmalloc free. Not good.
I think it would be good to better understand the MS _dbg mimic (there's also _free_dbg, _calloc_dbg, etc.).
I tried to add these functions to rpmalloc/malloc.c but I got multiply defined symbols (BTW: how do you get around this with mallco, free, etc.?).
So I tried with the release build where _malloc_dbg is malloc (nad _free_dbg is free, etc.) and now it's getting interesting if not to say weird.
The basic_streambuf is using <xloctime> and there the function _Locinfo::_Getdays() which is calling ::_Getdays() which is returning a const char* which afterwards has to be freed. ::_Getdays() is not using malloc, but CRT internal _malloc_base (in malloc_base.cpp) which indeed is MS' malloc implementation which is then using Win32 HeapAlloc.
Now returning from ::_Getdays() the function _Locinfo::_Getdays() is freeing the const char* but not by calling CRT's free implementation _free_base (in free_base.cpp), but normal free. And hence disaster happens, because free will call rpfree.
For the moment I have the impression that replacing the memory library on Windows is like opening a can of worms :-(
From what I saw from the MS CRT code I'm really disappointed. Both the new and delete operators in xlocale (using _malloc_dbg in new and free in delete) and _Locinfo::_Getdays() (using ::_Getdays() which is using _malloc_base and freeing the result with free) are not symmetric. Either one should use _malloc_dbc and then also _free_dbg or malloc and free. The same applies for _malloc_base and _free_base or malloc and free. Very sad.

Could you make a small repro case that triggers this that I can use to debug it?

Will try to do tomorrow.

I have made a simple VS2019 solution consisting of a console application that reproduces the issue. Just add malloc.c, rpmalloc.h, rpmalloc.c and rpnew.h to the same directory.
RpMallocTest.zip

Thank you, will have a look

Problem is that the Microsoft runtime is not symmetrical, the code you provided ends up using the Microsoft runtime-specific _malloc_dbg function in debug builds (_DEBUG is defined), but during cleanup it calls free, not _free_dbg to match the debug specific heap allocation done earlier through _malloc_dbg. Thus it ends up in rpmalloc free trying to deallocate a memory block which was allocated by the runtime debug heap.
I will have a look at overriding the Microsoft specific debug functions as well.

I tried to do that but always get linker errors due to multiply definded symbols (already defined in libucrtd.lib (debug_heap.obj).
While googling I found this old thread:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/d2dd7fcf-c1cf-4b8e-8fc6-cc6101a99c12/how-to-replace-mallocfreenewdelete-with-own-code?forum=vcgeneral
In the last post one notes all the functions he thinks that need to be overridden.
There's also a link to VS2017 that seems to still not being fixed, neither in VS2019. I tried the demo project provided.

Seems it's not possible as you say, and using /FORCE:MULTIPLE to use redefined versions of the _dbg functions seems unreliable.
Guess the only way is to do a runtime hotpatching like mimalloc does in its closed source redirect DLL, or like the clang ASAN does in its interception implementation. It's a rather intrusive and arcane way though, not something I'm very keen on adding to rpmalloc repo as it would be more additional code than the entire allocator...

Hm, that's really a pitty, because in the end this means giving up Windows as a platform. Not for dedicated use of rpmalloc, but for replacing the existing memory menagement.
I could do without malloc/free replacement, because I need it for mainly C++, but as we saw there's C++ runtime code that is calling malloc and free directly.
Reading the MS C++/C runtime code I got the impression that (at least once upon a time) the idea was to make it possible to override it (comment in malloc.cpp: "// This function supports patching and therefore must be marked noinline."), but I don't have any personal experience in reporting bugs to Microsofts C/C++ team.
Do you have?
Do you think it's worth trying to make MS change their code to make overriding easier?

Should be possible to use Detours (https://github.com/microsoft/detours) but it's too big of a project for something I personally won't use, so closing this for now.


Support both 'block' and 'blocks' as being accepted tag filter keys

What is the ideal scenario for using this feature?
Consider a workload yaml file as below,
scenarios:
  default:
    create_db_ddl: run driver=my_driver tags==blocks:schema_db cycles=1 <other params>

blocks:
  schema_db:
    ops:
      op1:
        create_database_ddl: TEMPLATE(database_id)

where I've blocks (plural) as opposed to the current expected singular block in the tag filter's key. With the latest release, this gives the following error:

🐛 🚨 There were no active op templates with tag filter 'blocks:schema_db', since all 1 were filtered out
ERROR [main] ERRORHANDLER There were no active op templates with tag filter 'blocks:schema_db', since all 1 were filtered out.
io.nosqlbench.nb.api.errors.BasicError: There were no active op templates with tag filter 'blocks:schema_db', since all 1 were filtered out.
	at io.nosqlbench.engine.api.activityimpl.SimpleActivity.loadOpTemplates(SimpleActivity.java:484)
	at io.nosqlbench.engine.api.activityimpl.uniform.StandardActivity.<init>(StandardActivity.java:91)
	at io.nosqlbench.engine.api.activityimpl.uniform.StandardActivityType.getActivity(StandardActivityType.java:62)
	at io.nosqlbench.engine.api.activityimpl.uniform.StandardActivityType.getActivity(StandardActivityType.java:30)
	at io.nosqlbench.engine.api.activityapi.core.ActivityType.getAssembledActivity(ActivityType.java:64)
	at io.nosqlbench.engine.core.lifecycle.activity.ActivityLoader.loadActivity(ActivityLoader.java:43)
	at io.nosqlbench.engine.core.lifecycle.scenario.container.ContainerActivitiesController.doStartActivity(ContainerActivitiesController.java:76)
	at io.nosqlbench.engine.core.lifecycle.scenario.container.ContainerActivitiesController.run(ContainerActivitiesController.java:124)
	at io.nosqlbench.engine.core.lifecycle.scenario.container.ContainerActivitiesController.run(ContainerActivitiesController.java:113)
	at io.nosqlbench.engine.core.lifecycle.scenario.container.ContainerActivitiesController.run(ContainerActivitiesController.java:134)
	at io.nosqlbench.engine.core.lifecycle.commands.CMD_run.invoke(CMD_run.java:40)
	at io.nosqlbench.engine.core.lifecycle.scenario.execution.NBBaseCommand.apply(NBBaseCommand.java:53)
	at io.nosqlbench.engine.core.lifecycle.scenario.execution.NBInvokableCommand.invokeSafe(NBInvokableCommand.java:45)
	at io.nosqlbench.engine.core.lifecycle.scenario.container.NBBufferedContainer.apply(NBBufferedContainer.java:137)
	at io.nosqlbench.engine.core.lifecycle.session.NBSession.apply(NBSession.java:96)
	at io.nosqlbench.engine.cli.NBCLI.applyDirect(NBCLI.java:473)
	at io.nosqlbench.engine.cli.NBCLI.apply(NBCLI.java:124)
	at io.nosqlbench.engine.cli.NBCLI.main(NBCLI.java:104)
Scenario stopped due to error. See logs for details.

Process finished with exit code 2

Is your feature request related to a problem? Please describe.
It'd be nice to support both block (which works today) and blocks as accepted form of tag filter keys.

It looks like the changes will be needed here - https://github.com/nosqlbench/nosqlbench/blob/main/nb-apis/adapters-api/src/main/java/io/nosqlbench/adapters/api/activityconfig/yaml/OpsDocList.java#L78-L83 is where it gets filtered, which gets into the https://github.com/nosqlbench/nosqlbench/blob/main/nb-apis/nb-api/src/main/java/io/nosqlbench/nb/api/tagging/TagFilter.java#L238

I think that this can be simply done in OpDef.java by adding to the composeTags method.
    private LinkedHashMap<String, String> composeTags() {
        LinkedHashMap<String, String> tagsWithName = new LinkedHashMap<>(new MultiMapLookup<>(rawOpDef.getTags(), block.getTags()));
        tagsWithName.put("block",block.getName());
        tagsWithName.put("blocks",block.getName());
        tagsWithName.put("name",this.rawOpDef.getName());
        tagsWithName.put("names",this.rawOpDef.getName());
        tagsWithName.put("op",this.rawOpDef.getName());
        tagsWithName.put("ops",this.rawOpDef.getName());
        return tagsWithName;
    }

I tried that approach but it runs into some complexity with SpecTests. We'll need to instead build in some type of stripper of "s" in TagFilter.

Generally improve error messaging. Don't pluralize unless its safe.


RegisterTaskDefinitionAsync cannot be used to register Fargate Tasks due to invalid Property Types

Description

RegisterTaskDefinitionAsync can not be used to register Fargate tasks due to incorrect strongly typed mappings. For the container definition Fargate accepts null entries for many of the options, including most importantly for my needs memory and memory reservation. This gets set at the task group level and is not necessary at the individual container level. As it stands if I take the definition of a task that was registered using the AWS UI, I cannot modify it using the SDK due to this limitation.
Reproduction Steps

Inspecting the request on the AWS UI at https://console.aws.amazon.com/ecs/home?region=us-east-1#/taskDefinitions I can see the following JSON. (sensitive information in curly braces ommited)
{
    "ipcMode": null,
    "executionRoleArn": "arn:aws:iam::{someID}:role/{someRole}",
    "containerDefinitions": [{
            "dnsSearchDomains": null,
            "environmentFiles": null,
            "logConfiguration": {
                "logDriver": "awslogs",
                "secretOptions": null,
                "options": {
                    "awslogs-group": "{someLogGroup}",
                    "awslogs-region": "us-east-1",
                    "awslogs-stream-prefix": "ecs"
                }
            },
            "entryPoint": null,
            "portMappings": [{
                    "protocol": "tcp",
                    "containerPort": {somePort}
                }
            ],
            "command": null,
            "linuxParameters": null,
            "cpu": 0,
            "environment": [],
            "resourceRequirements": null,
            "ulimits": null,
            "dnsServers": null,
            "mountPoints": [],
            "workingDirectory": null,
            "secrets": null,
            "dockerSecurityOptions": null,
            "memory": null,
            "memoryReservation": null,
            "volumesFrom": [],
            "stopTimeout": null,
            "image": "{someImage}",
            "startTimeout": null,
            "firelensConfiguration": null,
            "dependsOn": null,
            "disableNetworking": null,
            "interactive": null,
            "healthCheck": null,
            "essential": true,
            "links": null,
            "hostname": null,
            "extraHosts": null,
            "pseudoTerminal": null,
            "user": null,
            "readonlyRootFilesystem": null,
            "dockerLabels": null,
            "systemControls": null,
            "privileged": null,
            "name": "service"
        }
    ],
    "memory": "2048",
    "taskRoleArn": "arn:aws:iam::{someID}:role/{someRole}",
    "family": "internal-services-template",
    "pidMode": null,
    "requiresCompatibilities": ["FARGATE"],
    "networkMode": "awsvpc",
    "cpu": "256",
    "inferenceAccelerators": [],
    "proxyConfiguration": null,
    "volumes": []
}

If I call DescribeTaskDefinitionAsync on this task definition all of the null values will be replaced with default int or bool values. 0 or false. If I then try to use those container definitions to call RegisterTaskDefinitionAsync it will fail due to invalid values on several of the properties.
Logs

Environment

SDK Version: All
Package Version: All
OS Info: All
Build Environment All
Targeted .NET Platform:

Resolution

[x] :wave: I can/would-like-to implement a fix for this problem myself

move all bool, and int properties to their nullable equivalents bool? and int?
https://github.com/aws/aws-sdk-net/blob/master/sdk/src/Services/ECS/Generated/Model/ContainerDefinition.cs

This is a :bug: bug-report

The class ContainerDefinition already defines nullable types for int, bool, etc. However, executing the statement AmazonECSClient.DescribeTaskDefinitionAsync() returns the default values 0 (for int?) and false (for bool?) for nullable types for below JSON:
"containerDefinitions": [
    {
      "dnsSearchDomains": null,
      "environmentFiles": null,
      "logConfiguration": {
        "logDriver": "awslogs",
        "secretOptions": null,
        "options": {
          "awslogs-group": "/ecs/test",
          "awslogs-region": "us-east-1",
          "awslogs-stream-prefix": "ecs"
        }
      },
      "entryPoint": null,
      "portMappings": [],
      "command": null,
      "linuxParameters": null,
      "cpu": 0,
      "environment": [],
      "resourceRequirements": null,
      "ulimits": null,
      "dnsServers": null,
      "mountPoints": [],
      "workingDirectory": null,
      "secrets": null,
      "dockerSecurityOptions": null,
      "memory": null,
      "memoryReservation": null,
      "volumesFrom": [],
      "stopTimeout": null,
      "image": "test",
      "startTimeout": null,
      "firelensConfiguration": null,
      "dependsOn": null,
      "disableNetworking": null,
      "interactive": null,
      "healthCheck": null,
      "essential": true,
      "links": null,
      "hostname": null,
      "extraHosts": null,
      "pseudoTerminal": null,
      "user": null,
      "readonlyRootFilesystem": null,
      "dockerLabels": null,
      "systemControls": null,
      "privileged": null,
      "name": "testcontainer"
    }
  ]

Looking at the code for DescribeTaskDefinitionAsync, it appears to be generated by service JSON. Need to confirm if ECS service itself is returning the default values for primitive types which are nullable.

"The class ContainerDefinition already defines nullable types for int, bool, etc."
@ashishdhingra no it doesn't. The private fields are nullable but the public members are not and that is what get's serialized.
Example:
Line 815
public int Memory
{
get { return this._memory.GetValueOrDefault(); }
set { this._memory = value; }
}

@chaseaucoin Thanks for pointing it out. I have edited my response.

"Just to mention, it appears that the code is generated from service model JSON file."
So is the fix to update to the generator logic to handle nullable types correctly?

@chaseaucoin I will discuss with Dev team to get their inputs and will post any updates here.

This is currently a blocker for a handful of our products, if they don't have bandwidth I'm happy to put in a PR, let me know.

Looks like the issue is actually even worse than I originally thought and is likely affecting the Java SDK as well. The definition files that the generator are using have no notion of separation between nullable and non nullable integers or booleans. This means there are probably transient failures throughout the entire SDK for .NET and Java (at least)
https://github.com/aws/amazon-ecs-agent/blob/master/agent/acs/model/api/api-2.json

@chaseaucoin I tried to reproduce the issue using the Java SDK but I was not able to. I called RegisterTaskDefinition providing only the required fields (see code snippet below) and when I called DescribeTaskDefinition on this task I don't get any fields replaced by 0 or false.
ContainerDefinition definition = ContainerDefinition.builder()
     .name("my-container")
     .image("ubuntu")
     .build();

RegisterTaskDefinitionRequest request = RegisterTaskDefinitionRequest.builder()
     .requiresCompatibilities(Compatibility.FARGATE)
     .cpu("256")
     .memory("2048")
     .family("family")
     .networkMode("awsvpc")
     .containerDefinitions(definition)
     .build();

RegisterTaskDefinitionResponse response = client.registerTaskDefinition(request);

Can you provide a reproducible code sample of the issue you're seeing in the Java SDK?

@debora-ito yeah looks good. Looks like the model for java doesn't get generated the same way as .NET the nullable types are getting set as strings rather than the structure type specified in the root JSON model. Also looks like the Java SDK uses a builder pattern where the .NET library does not.
https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/Container.java

@chaseaucoin how primitives are modeled in the AWS .NET SDK is a problem for use cases like this. Whenever we do a 4.0 version of the SDK I plan on pushing for us to use nullable (i.e. int?) for primitives. Unfortunately we can't do anything about it within the current major version of the SDK as it would be a massive breaking change.
A bit of history why the SDK is the way it is. As you have seen the SDK is generated from service models and the service models don't give a completely accurate information whether a field is required as well as services teams might start having a field be required but over time loosen the restriction as the service evolves. So we would have to make all primitives in the SDK by nullable. At least when we made that decision to not use nullable on the public interface, which was many years ago, we saw it was very uncommon to have nullable primitives on public interfaces and we went for simplicity. In hindsight I regret the decision for cases like you found. Java doesn't have this issue because using the boxed version of primitives has always been a common practice.
When the community asks we can turn on some helper methods that get outputted in the generator to let you know if a field actually has a value. That is the IsXSet methods you sometime see in the SDK. You would still have to call that IsXSet method first to see if you should copy a value from the describe response to the register request. Would that help you?

@normj
Thank you for the background.
" That is the IsXSet methods you sometime see in the SDK. You would still have to call that IsXSet method first to see if you should copy a value from the describe response to the register request. Would that help you?"
Unfortunately for this use case I don't believe so, if I'm understanding the implementation correctly, since I still wouldn't be able to register fargate tasks. It sounds like (please correct me if I am misunderstanding) IsXSet would help in reads, but not for serialization of the concreate object back to JSON which is ultimately what is giving me problem as I can't send valid values to the HTTP API.

Yeah the IsXSet methods are not going to help you. You are going to have to customize the JSON serialization unfortunately.
If you are using Newtonsoft to convert to JSON you could create a custom resolver and for each of the problematic properties set a converter that checks to see if the value is the default for the type and if so return back null. We do something similar for our .NET Lambda Newtonsoft JSON serializers to handle base 64 encoded strings as .NET Streams. That might help you https://github.com/aws/aws-lambda-dotnet/blob/master/Libraries/src/Amazon.Lambda.Serialization.Json/AwsResolver.cs
Sorry again that this is a pain.

No close

We have a v4 in development that we hope to start releasing preview versions "soon". In v4 we are changing all properties using value types to use the nullable version and collections will default to null. This will remove the ambiguity between default values and what the service sends.
I'm closing this because this will has been addressed in the v4-development branch. Here is an example showing the container definition's cpu setting is an int?. https://github.com/aws/aws-sdk-net/blob/v4-development/sdk/src/Services/ECS/Generated/Model/ContainerDefinition.cs#L164


enable radar pts for hyundai santa fe 2022 hybrid

Description: santa fe 2022 hybrid successfully runs hyundai_enable_radar_points.py.
Verification: some radar points show in cabana
Route: 37398f32561a23ad|2022-01-06--11-43-20--1
thanks to discord user @ vijay 👍

Do you still happen to have the output from the first time you ran the script?  It would have printed out the original (default) value.
If you are not confident in the default value in this PR (if you didn't compare on the first run) we could have someone else who hasn't run the script send us their output the first time they run it.

yes.
power on the vehicle keeping the engine off (press start button twice) then type OK to continue: OK
opening device<PHONE_NUMBER>51393037323631 0xddcc
connected

[START DIAGNOSTIC SESSION]
[HARDWARE/SOFTWARE VERSION]
b'TMhe SCC FHCUP      1.00 1.00 99110-CL500 \x04$\x164    '
[GET CONFIGURATION]
current config: 0x000000010000
[CHANGE CONFIGURATION]
new config:     0x000000010001
[DONE]

restart your vehicle and ensure there are no faults
you can run this script again with --default to go back to the original (factory) settings

I don't see any radar points in the provided route. Are you sure this is a mando radar?

i don't have access to the drive (not public). probably a false positive then?

@pd0wm - that's exactly my concern, i could not able to see a valid radar points on mando radar. Not sure where the output is written when the debug script was success.

@pd0wm - upon further investigation found the radar signal in this route: 37398f32561a23ad|2022-01-06--11-19-10--7
It was reported under RADAR_TRACK_50b.. Im attaching the screenshot of what i am seeing.. Please confirm if this looks okay.

TQ!

You probably have a radar that also starts outputting points, but in a different format. You would need to reverse engineer a new DBC for this.

Oh..wow, didn't see that coming....I'm not sure where to get started with the reverse engineering stuff.... Do you have any pointers? Any documentation or videos? I'll try googling it, but your guidance is appreciated... thanks!

Closing this for now. Let us know if you make any progress with the new format!


Ipad depth of field not working as expected

https://forum.babylonjs.com/t/happy-christmas-everyone/367/7

After debugging this, the issue seems to be that depth precision is not the same on safari in ios as it is in chrome and the default maxZ in babylon is too high for the accuracy on ios. The issue can be repro'd by increasing maxZ in chrome eg. https://www.babylonjs-playground.com/#FH3F98#19 . So to work around the accuracy issue on ios a lower maxZ can be used eg. 1000 which works here https://www.babylonjs-playground.com/#FH3F98#20 .


Add "MaxFiles" parameter to "MudFileUpload"

Feature request type
Enhance component
Component name
MudFileUpload
Is your feature request related to a problem?
Currently an exception is thrown if you want to upload more than 10 files because you don't support the "maximumFileCount" parameter of the "GetMultipleFiles" function of the "InputFile" component.
Describe the solution you'd like
Adds a "MaxFiles" parameter to the component and passes the value to the "GetMultipleFiles" function.
Have you seen this feature anywhere else?
No response
Describe alternatives you've considered
No response
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Fixed in #5861 and #5882.


RTL Language Rendering Problem

Description
The library is currently unable to properly render text in RTL (Right-to-Left) languages such as Arabic. When attempting to add text in Arabic, for example, the text is rendered in LTR (Left-to-Right) direction, which results in incorrect display and readability issues.
Steps to Reproduce:
from imagetext_py import *
from PIL import Image

FontDB.LoadFromDir("/path/to/fonts")
# using this font: https://fonts.google.com/noto/specimen/Noto+Kufi+Arabic
font = FontDB.Query("NotoKufiArabic-VariableFont_wght")
cv = Canvas(512, 512, (255, 255, 255, 255))
black = Paint.Color((0, 0, 0, 255))

text = "السلام عليكم"

draw_text_wrapped(canvas=cv, text=text, x=256, y=256, ax=0.5, ay=0.5, size=67, width=500, fill=black, align=TextAlign.Center, stroke=2.0, stroke_color=black, font=font)

im = cv.to_image()
im.show()

Expected Behavior:
The Arabic text should be rendered correctly in RTL direction, maintaining the correct reading order and alignment, as shown in the following picture:

Actual Behavior:
The Arabic text is rendered in LTR direction, causing the text to appear incorrectly and affecting readability.

Hi @ihuomtia, there is currently no support for RTL text rendering. It is a really complicated task and I currently don't have the time to add support for it. PR's are welcome however :-)