Game crashes when interacting with Fruit

Currently running into an issue on our server where interacting with fruit from PHC2 will cause that player to crash. This also extends to interactions with WAWLA/HWYLA, so looking at the fruit will also crash the player. Their crash log is attached. I believe this is related to the following errors that get thrown when the server first boots: server errors.txt
crash-2023-05-06_00.57.37-fml.txt

I also saw that it fails to find the registry name for the harvest craft fruits in the latestlog file when booting up minecraft
bootup log.txt

I am being unable to reproduce these bugs. Are you sure you are using the latest versions of all mods?
The crash seems to be related to some issues with the config files, not with the fruit.

The crash is a dup of https://github.com/DynamicTreesTeam/DynamicTrees-PHC2/issues/2 but I am leaving this open as the other registration issue is unrelated

Just did a fresh server install to test and still receiving the same errors. I removed all mods but the following, which are all up-to-date (version number listed as well for good measure). Configs were not touched aside from changing the world name and setting world generator to Biomes O Plenty.
Forge (36.2.39)
Biomes O Plenty (<IP_ADDRESS>8)
Dynamic Trees (0.10.5)
Dynamic Trees Plus (0.1.0)
Dynamic Trees BOP (2.0.9)
Dynamic Trees PHC2 (1.0.0)
Pam HC2 Food Core (1.0.2)
Pam HC2 Food Extended (1.0.4)
Pam HC2 Crops (1.0.2)
Pam HC2 Trees (1.0.1)
server.errors.txt

Also able to replicate it with only Dynamic Trees PHC2 and its dependencies (DT, PHC2, PHC2trees) installed. Client side is fine unless joining the server without loading singleplayer beforehand.

Ohh I see, so to reproduce join a server without joining singleplayer first

Ohh I see, so to reproduce join a server without joining singleplayer first

Yup! The server throws the errors attached to the last post on boot, but it only impacts/crashes the client if they go to multiplayer first.

A friend of mine is getting the same issue. Whenever she looks at fruit, specifically from PHC2:Dynamic trees, she crashes.
The same happens to me if I join her server.
However, if you load a single-player world and look at a fruit tree (idk if the 'looking' part is needed, knock on wood), then join a server, you won't crash.
So, yeah, launch single-player, look at some fruit, then quit and you can play on multiplayer. It's a 'Janky fix' in her words, but idk what she's complaining about.
Hope this helps :)

Yeah this is unfortunately a side effect of how PHC2 registers it's items in a very non-standard way. We are still looking into a fix from our side

Just wanted to bump this that my friend is having this issue on our LAN server as well when he looks directly at fruit on a tree (specifically he was looking at gooseberries).

same issue still

Bump.

@Foulest what was the change needed to fix this? Tried to look for it in your fork's commits but they are too large to efficiently find all the changes

@Foulest what was the change needed to fix this? Tried to look for it in your fork's commits but they are too large to efficiently find all the changes

https://github.com/Foulest/DynamicTrees/blob/8a16d73c49b4c7a5256623f98d60f2a539c3c3af/src/main/java/com/ferreusveritas/dynamictrees/systems/fruit/Fruit.java#L179


Updated Yasu Formula

Yasu download url is broken, and without shasum check, it is not caught until installation. The developer has decided to stop maintaining Yasu and has released the last working version various OS X versions, but not supporting the software. This has been noted in the Caveats for user awareness. Added the zap stanza to cleanup cruft left behind.

Made changes requested and removed support for OS X 10.3 and below

Thank you.


The library does not compile with esp8266 arduino core 3.1.2.

In esp8266 projects, the library does not compile and instead gives a warning which is attached in file submitted along with the bug report.
fled_np.txt
The issue occurs at line 76 which is :
else count = min(count, numLEDs - first);  // if both are set, fill from first to end without overrunning buffer
min function is overloaded in esp8266 projects. The solution is to use _min instead of min which makes the problem go away by using Arduino's macro for _min.
https://github.com/dmadison/FastLED_NeoPixel/pull/6

Thank you for reporting this issue, it appears that this is a problem with how the min function is implemented between platforms.

This compiles for ESP8266 using core 3.1.2 on my local machine but I have not tested it with a strip. Please test on your setup as well and feel free to reopen if you run into any problems.
Thanks for improving the library!

@dmadison I compiled and ran your fixed version. It is working well as of now. Thank you for the fix.

Perfect! Thank you for following up.


dev server: proxy requests to search.maven.org

This allows people to start hacking directly without having to think how to setup/proxy/access a live server instance.

It looks like this is missing the: proxy.conf.json file. Is that intended? This is very similar to the work @timlevett did in #58 , and both are great additions. If you can, share some steps on setup here so I can test this out.


Parse NaN from object like {"n": NaN}

Parsing is case-insensitive. Closes #24.

This is ready for an initial review. "make check" passes, but there's not yet any test for the new NaN parsing. The next steps are to control this NaN parsing with a compile-time or runtime option, and to add a test for it that expects success or failure depending on whether NaN parsing is enabled.
Would you like to do those steps, or tell me how I should do them?

JSONSL_PARSE_NAN would be the compiler directive.
Regarding tests - all existing parse tests load from a file. You'd make a new file and simply feed a [nan] or similar, verifying it parses successfully. This reminds me that I should add better tests for type-specific valdiation (right now all our tests do is ensure that things parse successfully (or not)).

oops. didn't mean to close

I see the tests didn't work on Travis as they did on my machine, investigating....

OK, this pull request is ready for review.

Can you squash these into a single commit?
Also, I'm still a bit uneasy about having the NaN parsing around there as dead code even if it's not being compiled that way. I have another idea. How about making a proxy variable.. e.g.
(in the character table for special_begin):
JSONSL_SPECIALf_NULL|JSONSL__NAN_PROXY
Then..
#ifdef JSONSL_PARSE_NAN
#define JSONSL__NAN_PROXY JSONSL_SPECIALf_NAN
#else
#define JSONSL__NAN_PROXY 0
#endif

This way, the current (pre-nan) code can remain the same, and newer code/branches can be added on only if PARSE_NAN is defined. The way you have it currently, it will run through some cycles determining NAN stuff even if nan parsing is disabled. My desire to have this be a compile time option is less about one of configuration and more about not impacting performance (even theoretically) for less common situations (granted, null isn't super common either..).
So basically:
#ifdef JSONSL_PARSE_NAN
else if (state->special_flags & JSONSL_SPECIALf_NAN) {
    // ...
}
#endif

Because _NAN_PROXY is 0 if PARSE_NAN is not defined, the character table will only yield JSONSL_SPECIALf_NULL on n and nothing on N.

Done, let me know if I followed your instructions correctly.

yep! exactly what I had in mind. thanks for the contribution!


Error parsing object rest syntax in function argument

ESDoc v0.4.6 is failing to parse a function with an argument that is an object using the rest syntax. I am using esdoc-es7-plugin v0.0.3 as well.
export default function example({
    arg1,
    arg2,
    ...otherArgs
}) {
    return;
}

error: could not process the following code.

-1| undefined
0| export default function example({

node_modules/esdoc/out/src/ESDoc.js:409
            throw _iteratorError5;
            ^

TypeError: Cannot read property 'name' of undefined
    at Function.guessParams (node_modules/esdoc/out/src/Parser/ParamParser.js:352:54)
    at FunctionDoc.param (node_modules/esdoc/out/src/Doc/FunctionDoc.js:92:61)
    at FunctionDoc._apply (node_modules/esdoc/out/src/Doc/AbstractDoc.js:107:21)
    at FunctionDoc.AbstractDoc (node_modules/esdoc/out/src/Doc/AbstractDoc.js:70:10)
    at new FunctionDoc (node_modules/esdoc/out/src/Doc/FunctionDoc.js:39:77)
    at DocFactory._createDoc (node_modules/esdoc/out/src/Factory/DocFactory.js:635:14)
    at DocFactory._traverseComments (node_modules/esdoc/out/src/Factory/DocFactory.js:565:24)
    at DocFactory.push (node_modules/esdoc/out/src/Factory/DocFactory.js:451:22)
    at Controller.<anonymous> (node_modules/esdoc/out/src/ESDoc.js:443:19)
    at Controller.enter (node_modules/esdoc/out/src/Util/ASTUtil.js:57:20)

Weird !! It does not throw that Error on my side.
Using same versions
    "esdoc": "^0.4.6",
    "esdoc-es7-plugin": "0.0.3",

For me, that error is being thrown whenever the function is undocumented. If the function is documented with at least one @param, then there's no error.
It does not matter whether the function is an export. I'll avoid this by documenting all my (unexported) functions that have rest arguments.

@compact I add @param to my function, but still error. can you show me your solution?

This syntax is not support because the syntax is ES.next. But I want to support the syntax in future version.

@compact I have a fork of ESDoc that uses the latest babylon parser w/ all plugins enabled so it works with all ES6 / ES7 / edge code. You can throw anything at it with any ES6+ or even experimental syntax that you would use with Babel itself. object rest spread is supported, etc. https://github.com/typhonjs-node-esdoc/esdoc
@h13i32maru  when you are ready I'd once again like you to consider allowing me to upstream this into ESDoc. There is no "I want to support this" there is only "it's available now, but could be mainlined anytime".

@compact Please check ECMAScript Proposal Feature via latest ESDoc v0.5


Some HackDash instances referenced on README.md is not working.

README.md
Auth0 HackDash returns "500 MongoError"
BAHackaton returns "No such app"

@danzajdband any thoughts about this?

We can remove that section from the Readme and move it to the wiki (only
the working projects :p)
On Mon, Jun 8, 2015, 4:41 PM Pablo Novas<EMAIL_ADDRESS>wrote:

@danzajdband https://github.com/danzajdband any thoughts about this?
—
Reply to this email directly or view it on GitHub
https://github.com/danzajdband/hackdash/issues/119#issuecomment-110116054
.

Hey @danzajdband! I found this instance http://urbantext.org/, but looks unused.

Also found this http://bahackatonverde.herokuapp.com/ but looks to be unmanaged for a long time.

We can add those too. Both are nice examples.


ENOTFOUND while Publishing from VS Code

Does this occur consistently?
Repro steps:

Action: azureFunctions.deploy
Error type: REQUEST_SEND_ERROR
Error Message: request to https://triggertnaevent.scm.azurewebsites.net/api/zipdeploy?isAsync=true&author=VS Code failed, reason: getaddrinfo ENOTFOUND triggertnaevent.scm.azurewebsites.net
Version: 1.0.1
OS: win32
OS Release: 10.0.19042
Product: Visual Studio Code
Product Version: 1.51.1
Language: en

Call Stack
new RestError extension.bundle.js:46:109835
NodeFetchHttpClient.<anonymous> extension.bundle.js:706:822902
step extension.bundle.js:16:1925
Object.throw extension.bundle.js:16:2030
rejected extension.bundle.js:16:755
processTicksAndRejections task_queues.js:94:5

Please provide detailed repro steps.


Remove charts view.

Fixes #99

This change is

Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

a discussion (no related file):
Why was the "To be reimbursed" part removed?

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion.

a discussion (no related file):
Previously, tomivirkki (Tomi Virkki) wrote…
Why was the "To be reimbursed" part removed?

I thought it was part of the statistics panel with charts. But yes it gives some info so restored back.
Probably without charts, the amount of code necessary for showing just a sum result is unnecessary, but that is different story.
Restored it.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable


set timestamp to Friday 22. December 2023 11:00:00 GMT

Purpose

How does the solution address the problem

Changes made

prnet cleaned-up successfully


please remove unused import

https://github.com/dabbotorg/bottleneck/blob/4b07a53c2614d30cd9840e75882f1f0e2f50b1ee/debouncer.py#L3

hello your issue is very important to us and we'll fix this shortly


Game not found message appears after updating a game.

I updated a game in PROD and when I went to save the change, I received the following message "Game not found". On the upside the game was updated, so this appears to be a UI issue.

This message also appears if you cancel a game.


Add filter by In Stock/Out of Stock

Thank you, nice extension!
Idea to add filter by In Stock/Out of Stock as additional feature.

Hello @dimasch
nice idea for a feature.


security-secretstore-setup doesn't use --init at all

security-secretstore-setup currently accepts an --init option, but this is not used anywhere. It seems like it is coded just to always run as if --init=true and it's unclear what security-secretstore-setup would do if --init=false.

I checked the previous release and it seems it just exits if init=false. IMO this option is not needed any more, I will have a PR to remove it.


README.md showing markup

The README.md is not properly rendered and contains markup:
The "Getting Started" tutorials will get you up to speed and sending messages with Solace technology as quickly as possible. There are three ways you can get started:
Follow [these instructions]({{ site.links-solaceCloud-setup }}){:target="_top"} to quickly spin up a cloud-based Solace messaging service for your applications.
Follow [these instructions]({{ site.docs-vmr-setup }}){:target="_top"} to start the Solace VMR in leading Clouds, Container Platforms or Hypervisors. The tutorials outline where to download and how to install the Solace VMR.
If your company has Solace message routers deployed, contact your middleware team to obtain the host name or IP address of a Solace message router to test against, a username and password to access it, and a VPN in which you can produce and consume messages.
This applies to most other samples README.md too.

This issue has been selected for resolution by Solace.

Fixed in latest pull request.


OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007effb0a00000,<PHONE_NUMBER>4, 0) failed; error='Cannot allocate memory' (errno=12)

when I run the pipeline ,it occured :
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007effb0a00000,<PHONE_NUMBER>4, 0) failed; error='Cannot allocate memory' (errno=12)

There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (mmap) failed to map<PHONE_NUMBER>4 bytes for committing reserved memory.
An error report file with more information is saved as:
/1data/wuxiaopei/Jucier_3dDNA/3d-dna_results/hs_err_pid29362.log
:( No resolved files are found. Please rerun the pipeline to include the scaffold segment. Exiting!
what's the problem?How can I slove it ?

Hello wuxiaopei0509,
Seems your machine does not have enough memory for the job. Allocate more memory to the task, if you can afford it. A typical .hic file creation needs something on the scale of 128Gb.
Closing since this is not a bug.
Thanks,
Olga


[2.2] Allow auth for pods/log

Related issue: https://github.com/open-cluster-management/backlog/issues/11242

/hold


SUGGESTION.

I have a suggestion, and I think it might work:
• Disable everything that changes the game in the hack, everything, just leave on the aimbot and the autoloot and bump fire, and try to make it work.

suggestion for what

Suggestion for that good person that manage the cheat,obviously
Lets make light version- with only 3 main options. I vote for this too, think it could help with freezing.

the cheat is not working?

@iBLiSSINYT I agree with what @RevoltZZ  said. It WOULD help a lot to fix the hack.
A good example of that was the version : https://github.com/yarkoval/survivio-plus/tree/master
but it is now outdated.
I saw what it was and I assume I froze 1 time on 20 games.
If you could update it with a new fork maybe it would make the hack working better after.

what? I do not understand the premise, just disable those options?
I've been playing with those options ever since it started freezing...

@iBLiSSINYT
What I'm saying is that yarkoval edit make it look like you don't actually use an hack.
It hides the extension from the extension side bar and all the options like FPS, aiming line, red line for gun, frag grenade timer, delay drop icon, ALL THE OPTIONS that could make you look like you use an hack don't exist anymore on that version.
All you have is the auto aiming when you do RMB and it is very fluent.
The game doesn't lag at all and it doesn't freeze too.
So maybe you can check it out because even if I disable all the options I still freeze often.
Or can you tell me exactly what to disable ?

ok

@iBLiSSINYT Please, make this version, take everything, everything from the beginning of the screen, songs, everything, just leave the autoloot, aimbot and bumpfire, if you do the hack will sure work better!


Download of search on annotation to GO term "protein kinase activity" includes "protein kinase inhibitors and activators"

follow on from
https://github.com/geneontology/amigo/issues/318
I thought I might be able to use the results anyway. However, now I look at them the download results for
search on annotations to GO term "protein kinase activity" includes
"protein kinase inhibitors" and "activators"
I think this is also in an old ticket but I thought it was already fixed?

@ValWood If you're doing a textual search for
protein kinase activity

Things that are "nearby" will also get picked up. This gives something like 87489 results.
A more specific search for (note the quotes):
"protein kinase activity"

will give 74660 results, which I believe is arrived at by looking at the annotation class closure as well.
The best, and only recommended, way to get annotations targeted at specific subsections of the graph is to use the side filters to tie yourself to a term in the ontology, either direct or indirect:
http://amigo.geneontology.org/amigo/search/annotation?q=*:*&fq=annotation_class_label:"protein kinase activity"&sfq=document_category:"annotation"

It was a term search. I searched on "protein kinase activity"
and selected the exact term from the drop down
so I ended up on this page
http://amigo.geneontology.org/amigo/term/GO:0004672
I think the issue is because  annotations are transitive over "regulates" relationship  fo MF again.

Yes, that page is showing the inferred annotations, so from the AmiGO end it is behaving correctly. I'll tag on @hdietze to check on the correct behavior.

That's not what you would expect for molecular function. Protein kinase regulators aren't protein kinases....This has also come up a few times previously. I thought it got fixed though.....

Taggin @cmungall as well.

Any thoughts on this gentlemen (@hdietze @cmungall)?

I believe this is a dupe of #210


Data Problem

I think the data of 'norain' that you provided is not correct, could you please provide the corresponding dataset? Thanks.

Hi @Nora919530829,
Syn2Real/data/train/derain/real_input/ is path for real world rainy images.
There are no ground-truths for these images, So I placed rainy images in both norain and rain folders inside Syn2Real/data/train/derain/real_input/


jaxlib.xla_extension.XlaRuntimeError: INTERNAL: ptxas exited with non-zero error code 11

Description
I am consistently getting an error out of a compilcated code
jaxlib.xla_extension.XlaRuntimeError: INTERNAL: ptxas exited with non-zero error code 11, output: : If the error message indicates that a file could not be written, please verify that sufficient filesystem space is provided.

after having installed jax/jaxlib with on a clean environment.
pip install --upgrade "jax[cuda12_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html

I also made sure that in my LD_LIBRARY_PATH nothing is set.
Is there some way to debug this in any way?
System info (python version, jaxlib version, accelerator, etc.)
>>> import jax; jax.print_environment_info()
jax:    0.4.28
jaxlib: 0.4.28
numpy:  1.26.4
python: 3.11.9 | packaged by conda-forge | (main, Apr 19 2024, 18:36:13) [GCC 12.3.0]
jax.devices (1 total, 1 local): [cuda(id=0)]
process_count: 1
platform: uname_result(system='Linux', node='cholesky-gpu02', release='3.10.0-1062.el7.x86_64', version='#1 SMP Wed Aug 7 18:08:02 UTC 2019', machine='x86_64')

$ nvidia-smi
Tue Jun  4 11:20:34 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.104.05             Driver Version: 535.104.05   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  Tesla V100-SXM2-32GB           On  | 00000000:1A:00.0 Off |                    0 |
| N/A   36C    P0              55W / 300W |    311MiB / 32768MiB |      1%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A     42323      C   python                                      308MiB |
+---------------------------------------------------------------------------------------+

(the Nvidia SMI that is being picked up is from the cluster installation, but cuda is not in my path
(myenv2) [filippo.vicentini@cholesky-gpu02 test2]$ which nvcc
/usr/bin/which: no nvcc in (/mnt/beegfs/softs/opt/gcc_10.2.0/openmpi/4.1.4/bin:/mnt/beegfs/softs/opt/core/gcc/10.2.0/bin:/mnt/beegfs/workdir/filippo.vicentini/mambaforge/envs/myenv2/bin:/opt/MegaRAID/perccli:/mnt/beegfs/home/CPHT/filippo.vicentini/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/bin/remote-cli:/mnt/beegfs/home/CPHT/filippo.vicentini/.cargo/bin:/mnt/beegfs/softs/opt/core/mambaforge/22.11.1-4/condabin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/dell/srvadmin/bin:/mnt/beegfs/home/CPHT/filippo.vicentini/.local/bin:/mnt/beegfs/home/CPHT/filippo.vicentini/bin:/opt/ibutils/bin)
(myenv2) [filippo.vicentini@cholesky-gpu02 test2]$ which ptxas
/usr/bin/which: no ptxas in (/mnt/beegfs/softs/opt/gcc_10.2.0/openmpi/4.1.4/bin:/mnt/beegfs/softs/opt/core/gcc/10.2.0/bin:/mnt/beegfs/workdir/filippo.vicentini/mambaforge/envs/myenv2/bin:/opt/MegaRAID/perccli:/mnt/beegfs/home/CPHT/filippo.vicentini/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/bin/remote-cli:/mnt/beegfs/home/CPHT/filippo.vicentini/.cargo/bin:/mnt/beegfs/softs/opt/core/mambaforge/22.11.1-4/condabin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/dell/srvadmin/bin:/mnt/beegfs/home/CPHT/filippo.vicentini/.local/bin:/mnt/beegfs/home/CPHT/filippo.vicentini/bin:/opt/ibutils/bin)

This is the error I get. I can also share a reproducer if wanted.
Traceback (most recent call last):
  File "/mnt/beegfs/project/ndqm/test_luca/time_evolution.py", line 570, in <module>
    obs_dict = solve_variational_evolution(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/beegfs/project/ndqm/test_luca/time_evolution.py", line 299, in solve_variational_evolution
    step_function = integration_algorithm(dt, H, exp_x)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/beegfs/project/ndqm/test_luca/time_evolution.py", line 363, in step_explicit_O2
    exp_z = nkj.operations.get_apply_exp_diagH(Hd)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/beegfs/workdir/filippo.vicentini/mambaforge/envs/ENV_NAME/lib/python3.11/site-packages/netket_pro/jumps/operations/exact_ops_on_FrozenExtendedNet.py", line 41, in get_apply_exp_diagH
    i, j = ij.T
           ^^^^
  File "/mnt/beegfs/workdir/filippo.vicentini/mambaforge/envs/ENV_NAME/lib/python3.11/site-packages/jax/_src/numpy/lax_numpy.py", line 630, in transpose
    return lax.transpose(a, axes_)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/beegfs/workdir/filippo.vicentini/mambaforge/envs/ENV_NAME/lib/python3.11/site-packages/jax/_src/lax/lax.py", line 986, in transpose
    return transpose_p.bind(operand, permutation=permutation)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/beegfs/workdir/filippo.vicentini/mambaforge/envs/ENV_NAME/lib/python3.11/site-packages/jax/_src/core.py", line 387, in bind
    return self.bind_with_trace(find_top_trace(args), args, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/beegfs/workdir/filippo.vicentini/mambaforge/envs/ENV_NAME/lib/python3.11/site-packages/jax/_src/core.py", line 391, in bind_with_trace
    out = trace.process_primitive(self, map(trace.full_raise, args), params)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/beegfs/workdir/filippo.vicentini/mambaforge/envs/ENV_NAME/lib/python3.11/site-packages/jax/_src/core.py", line 879, in process_primitive
    return primitive.impl(*tracers, **params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/beegfs/workdir/filippo.vicentini/mambaforge/envs/ENV_NAME/lib/python3.11/site-packages/jax/_src/dispatch.py", line 86, in apply_primitive
    outs = fun(*args)
           ^^^^^^^^^^
jaxlib.xla_extension.XlaRuntimeError: INTERNAL: ptxas exited with non-zero error code 11, output: : If the error message indicates that a file could not be written, please verify that sufficient filesystem space is provided.
--------------------
For simplicity, JAX has removed its internal frames from the traceback of the following exception. Set JAX_TRACEBACK_FILTERING=off to include these.
/mnt/beegfs/project/ndqm/test_luca/time_evolution.py:542: UserWarning: Data has no positive values, and therefore cannot be log-scaled.
  ax.set_yscale("log")
/mnt/beegfs/project/ndqm/test_luca/time_evolution.py:559: UserWarning: Data has no positive values, and therefore cannot be log-scaled.
  ax[0,i].set_yscale("log")

Thanks for raising this. Yes, can you share a reproducer?
The error talks about filesystem issues ("If the error message indicates that a file could not be written, please verify that sufficient filesystem space is provided"). Could there be a permissions issue?

I also got this error, what is the fix?
Traceback (most recent call last):
  File "/home/muhammad.zeeshan/.conda/envs/gwk-env/bin/sage_n_spls_m_sgs", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/muhammad.zeeshan/.conda/envs/gwk-env/lib/python3.11/site-packages/kokab/n_spls_m_sgs/sage.py", line 308, in main
    handler.run()
  File "/home/muhammad.zeeshan/.conda/envs/gwk-env/lib/python3.11/site-packages/gwkokab/inference/flowMChandler.py", line 91, in run
    sampler.sample(self.initial_position, self.data)
  File "/home/muhammad.zeeshan/.conda/envs/gwk-env/lib/python3.11/site-packages/flowMC/Sampler.py", line 204, in sample
    ) = strategy(
        ^^^^^^^^^
  File "/home/muhammad.zeeshan/.conda/envs/gwk-env/lib/python3.11/site-packages/flowMC/strategy/global_tuning.py", line 174, in __call__
    ) = global_sampler.sample(
        ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/muhammad.zeeshan/.conda/envs/gwk-env/lib/python3.11/site-packages/flowMC/proposal/NF_proposal.py", line 130, in sample
    proposal_position, log_prob_proposal, log_prob_nf_proposal = self.sample_flow(
                                                                 ^^^^^^^^^^^^^^^^^
  File "/home/muhammad.zeeshan/.conda/envs/gwk-env/lib/python3.11/site-packages/flowMC/proposal/NF_proposal.py", line 210, in sample_flow
    log_prob_proposal = self.logpdf_vmap(proposal_position, data)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jaxlib.xla_extension.XlaRuntimeError: INTERNAL: ptxas exited with non-zero error code 9, output: ptxas info    : Disabling default position-independent-code(pic) compilation mode as program requires more resources than allowed.
: If the error message indicates that a file could not be written, please verify that sufficient filesystem space is provided.
--------------------
For simplicity, JAX has removed its internal frames from the traceback of the following exception. Set JAX_TRACEBACK_FILTERING=off to include these.

real	63m49.430s
user	63m50.481s


Check_out_of_date: add script

Add a script to check where portage-stable or an image package list is
out of date with regards to gentoo upstream.

Updated to actually clone in upstream if it doesn't exist and generally cleaned it up.

Updated to use a little less sed, take into account stage1 and stage2 catalyst packages.

Depends on https://github.com/coreos/coreos-overlay/pull/2867

Rewrote the check_out_of_date in python. I got sick of doing set operations in bash and hey, now we get json output as well.

Might be wortwhile to validate via flake8 instead of pylint if we're not worried about a few things. Can disable the line length check via flake8 --ignore E501

I'm 100% down for that. Updated to pass flake8 --ignore E501 and it now has a pylint score of 5.9. We should look into enabling some CI for this, maybe require flake8 and just show pylint?

Updated to fix html, use .get() when printing tables.

Review bump. Also fixed a bug where package names were not stripped correctly.


run examples/model-viewer report an error!

I copy cube.mtl cube.obj shaders.slang to bin\windows-x86\debug also report this error

Sorry for the delay replying.
On looking at your warning above I notice that you are testing for x86. You almost certainly want to use the x64 option for the processor type. x86 implies 32 bit code and the "old" instruction set. You should only use if you really need support on 32 bit x86 based systems, which would be very unusual.
I did try testing out this example with the same debug-x86 combination you have with Visual Studio 2019 and couldn't repeat the problem.
Could you confirm you still have this problem with the latest version of Slang? If you still have the problem can you provide information about your machine - CPU/Memory/OS/GPU also Version of Visual Studio?

windows 10
i7-9700
32GB
RTX-2060
VS2022

use latest code from github master branch SHA-1: ac81614974700806e8257b8483a0ba97b925971a, report this error

I've installed visual studio 2022 to try and replicate this issue. The normal Slang Visual Studio project is actually for VS 2019. If I upgrade the projects to VS 2022, it doesn't compile, directly complaining about some variables defined which aren't used. I've fixed those fairly small issues in commit cc9c8f5787d46e8e9609c3110cd8652afd008f76.
The model-viewer sample does work correctly for me.
I'm testing also on windows 10 with VS2022 and RTX-2080.
Since you didn't see the compilation issues perhaps you are actually using the 2019 tool chain, from 2022. I'm going to try that and see what happens.

When building model-viewer using VS2019 tooling from VS2022, when I run the sample from within Visual Studio it also works correctly.
If I go the the bin\windows-x64\release directory and try and run the sample directly, it doesn't crash but nothing happens. The problem is that it can't find the model to load. The sample assumes the working directory is where the items it needs are. In Visual Studio this is set within the Working Directory on that project.
If you want to run the application outside visual studio, it's probably easiest to do so from the command prompt. Use cd to get into the examples\model-viewer directory, and then type ..\..\bin\windows-x64\release\model-viewer. (assuming you built release).
It would be good to know which version of the windows SDK you are using. You can check this in visual studio in properties on the project, and then see what Platform Toolset is set to. If it says 'latest' click the box and list the latest version number in that list. And Platform Toolset would be good to know too.


jenkins pipeline show progress of sub-jobs

As user executing from CLI i want to be able to see output of Pipeline sub-jobs

there might be a plugin that does that on jenkins level
if not a temporary switch to monitor a new job is required so figlet header and output can be displayed as part of displayed sequence. this will be required for ALL jobs executed from CLI

Could not find any plugin for it, I guess we will implement this.

Fixed.

Is there a plugin for this now?


TypeError: Cannot read property 'style' of undefined

Why do I get TypeError: Cannot read property 'style' of undefined
even if my style is not Link

Can u share the full error pls and your code


Documentation not updated regarding new portal GUI

This page contains screenshot of the old portal.
Also, when starting this guide in the portal, the mariadb version 10.2 is automatically selected, not 10.3. Is there a reason why 10.3 is not selected by default? Is there any documentation on which specific mariadb version to choose, from an Azure perspective?

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

ID: 4e126c97-7a36-187d-146b-a162653530e0
Version Independent ID: e1ed9d60-b8de-ef58-0d3b-af3299c3ccbe
Content: Quickstart: Create a server - Azure portal - Azure Database for MariaDB
Content Source: articles/mariadb/quickstart-create-mariadb-server-database-using-azure-portal.md
Service: mariadb
GitHub Login: @ajlam
Microsoft Alias: andrela

@batanun Thank you for the feedback.
This is being assigned to the content author to evaluate and update the documentation as appropriate.

@batanun, we are actually in the process of updating the default engine version to 10.3. I would recommend using 10.3 to use the latest version available on Azure.
I will work on updating the screenshots as well.

@batanun, I have updated the screenshots. These should go live within the next 4-5 hours.


Pagination

Is there anyway to paginate the the hierarchy tree? I have a hack job right now but wanted to know if there was a way to use Laravel's Paginate().

I am having the same issue, my code is:
$categories = CategoryProvider::createModel();
$categories= $categories->getNestedList('name', 'id','-');
$categories = $categories->paginate(5);
And the error that I get is:
Call to a member function paginate() on array
My table looks like:
Fruits
---Apple
---Mango
Vegetables
---Potato
---Tomato
--- XYZ
Root Cat 3
Root Cat 4
Root Cat 5

Hello!
I have here is such a request:
$portfolio = Portfolio::select([ 'mg_portfolio.id', 'mg_portfolio.parent_id', 'mg_portfolio.lft', 'mg_portfolio.rgt', 'mg_portfolio.depth', 'mg_portfolio.slug', 'mg_portfolio.image', 'mg_portfolio_body.name', 'mg_portfolio_body.site_type'  ])
->join('mg_portfolio_body', 'mg_portfolio_body.portfolio_id', '=', 'mg_portfolio.id')
->where('mg_portfolio_body.lang', '=', App::getLocale())
->paginate(9);
How do I apply the method "->toHierarchy()"???
Thanks in advance for your reply.


Revert topic section validation

Revert "Merge pull request #334 from alphagov/move-topic-section-validation"
While the validation has moved it isn't displaying the validation error. It's going to be an easy fix but we want to deploy and don't this holding it up.

Yep.


Add validation by schema

I've added the functionality to be able to validate by passing an object schema to check, checkBody etc. as an alternative to chaining.
example:
req.checkBody({
  'email': {
    notEmpty: true,
    isEmail:
      failMsg: 'Invalid Email'
    }
  },
  'password': {
     notEmpty: true
  },
  'name.first': {
    notEmpty: true,
    isLength: {
      options: [2, 10],
      failMsg: 'Must be between 2 and 10 chars long'
    }
  }
});

passing true will use the default error message.

Thanks for another great contribution! It looks like the Travis build has failed. Can you check locally and make sure the unit tests are passing?

Ah, I added a last second change as I realised optional wouldn't work. I've gone over it properly now and added a test case for using optional in the schema.

Added a few code comments. You also need to add some docs to the README regarding this new functionality.

Sorry I've been too busy to sort this out until now... Sorted those few issues, added some docs.
I'm not sure about failMsg though, that is what's used in the code in other places, errorMessage is just used in tests.

Thanks for coming back to this!
Good point about failMsg. In all of our docs, we refer to things as "errors" with methods like errorFormatter and validationErrors; we never once use the word "fail". It might make more sense to change failMsg to errorMessage (just for the schema, not necessarily thoughout the code).
Also, can you add optional in the docs about the schema so people know it's available?

Cool, sorted!

:+1:

This is available in 2.16.0


Export to pivoted .csv: internal server error 500 (Apache Superset version 3.0.1)

Bug description
Using a Pivot Chart, when I try to export to pivoted .CSV by clicking on the 3 dots --> Download --> Export to pivoted .CSV, a new window with the message "Internal Server Error 500" showes up.

Error in Superset webapp when I try to export .csv from chart:
2024-03-13T14:50:33.672078854Z [2024-03-13 14:50:33 +0000] [11] [ERROR] Error handling request
2024-03-13T15:47:40.180413775Z 2024-03-13 15:47:40,179:ERROR:superset.views.base:'SUM(TempoLavoro)'
2024-03-13T15:48:03.641397046Z 2024-03-13 15:48:03,638:ERROR:superset.views.base:'SUM(TempoLavoro)'
2024-03-13T16:01:15.674399501Z 2024-03-13 16:01:15,673:ERROR:superset.views.base:'SUM(TempoLavoro)'
2024-03-13T16:01:25.121376982Z [PARSE_SYNTAX_ERROR] Syntax error at or near 'ore_pianificate': extra input 'ore_pianificate'(line 4, pos 29)
2024-03-13T16:01:25.121514682Z [PARSE_SYNTAX_ERROR] Syntax error at or near 'ore_pianificate': extra input 'ore_pianificate'(line 4, pos 29)

Error in Superset Worker log when I schedule Export::
2024-03-13T13:05:09.063164041Z [2024-03-13 13:05:09,062: ERROR/ForkPoolWorker-1] A downstream exception occurred while generating a report: 78165834-e919-47a3-a279-02d5d6819c23. Failed generating csv HTTP Error 500: INTERNAL SERVER ERROR
2024-03-13T13:05:09.063213941Z urllib.error.HTTPError: HTTP Error 500: INTERNAL SERVER ERROR
2024-03-13T13:05:09.063283841Z superset.reports.commands.exceptions.ReportScheduleCsvFailedError: Failed generating csv HTTP Error 500: INTERNAL SERVER ERROR

It's strange that pivot table gets generated correctly but .csv export fails
How to reproduce the bug

Screenshots/recordings
No response
Superset version
3.0.4
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist

[X] I have searched Superset docs and Slack and didn't find a solution to my problem.
[X] I have searched the GitHub issue tracker and didn't find a similar bug report.
[X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Oof, this is indeed very real, even in current versions. @Vitor-Avila have we had anyone run into this?

Oof, this is indeed very real, even in current versions. @Vitor-Avila have we had anyone run into this?

@rusackas no reports on Preset so far. I also just tested with a very simple pivot and it worked.

I wonder if related to https://github.com/apache/superset/discussions/28594 where .csv generation fails in a scheduled report?

I think there's an issue with the null values/cells in the pivot. My pivoted CSV exports fine if there are no blank cells, but as soon as there is at least one blank cell in the chart, the export fails.

Seeing the same here - any NULLs resulting from a pivot render the whole thing un-exportable.

I haven't dug deep but would this pending PR address this issue: https://github.com/apache/superset/pull/29898 ?  They are both about pivoting and NULLs.

I haven't dug deep but would this pending PR address this issue: #29898 ? They are both about pivoting and NULLs.

on the nose. that's the one. Timely fix.

Assuming that since the PR merged, this should have been closed. Correct me if I'm wrong :D


Fix boost reach

Posts had the target logic, but boosts were mainly being delivered locally and to the post author.
Now they are sent to all your followers (that are following your boosts).

Thanks!


Section not complete (Initial PS CMDLet missing...)

The section "Generate managed identity using PowerShell" https://docs.microsoft.com/en-us/azure/data-factory/data-factory-service-identity#generate-managed-identity-using-powershell is not complete, it begins with "Call Set-AzDataFactoryV2 command again..." - so the initial CMDLet to create the identity is missing...

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

ID: 9075f4a4-f8ca-9143-8998-41e2be0b39b8
Version Independent ID: 60c67249-9bd5-0a3c-10e3-839d44922d2e
Content: Managed identity for Data Factory - Azure Data Factory
Content Source: articles/data-factory/data-factory-service-identity.md
Service: data-factory
GitHub Login: @linda33wj
Microsoft Alias: jingwang

...after a little research i understand what the text "call ... again" in the section mean - it´s a little confusing - because it means - "if you have created the ADF with powershell before..." - so it would be clearer if you change it to "If you have already created the resource without identity parameter call Set-AzDataFactoryV2........"

@Naboo2604 Thanks for the feedback! I have assigned the issue to the content author to review further and update the document as appropriate.

@Naboo2604 - Thanks for your contribution. As per the above details in document, the below command can be run on an existing/new data factory with or without managed identity. If managed identity already exists, running command again will not throw an error and retain the same identity. I removed "again" word in the document to avoid any confusion on the same in PR: MicrosoftDocs/azure-docs-pr#134181. The changes should be live EOD or tomorrow.
Set-AzDataFactoryV2 -ResourceGroupName <resourceGroupName> -Name <dataFactoryName> -Location <region>

I will proceed to close this issue now, please feel free to let us know for further queries.


WIP: iterative find cleanup

This makes the iterative find algorithm behave mostly like described in the wiki, which looks in sync with how I found it described everywhere else so far.
Missing and some notes:

add the stop condition in a way that is not too aggressive (tried as described, but it stops immediately)

the stop condition described in the wiki happens when the last element, sorted by distance, in list of nodes we have to return is closer to the key we are searching than the nodes we have available to query. The current issues trying to implement that are:

it is concurrent, so this can happen intermittently at many points in time, which makes it only feasible to do it on the _search_round which kind of has the whole context
stops too early when done there... which is weird (stops improving for real?)
when that happens, sometimes lowering alpha helps and increasing worsens it

some kind of metric to see if we are improving or not, which I suppose could fit mainly 3 categories:

quality (average distance of returned nodes to key)
speed (time to find first value?)
traffic (crashing routers is no fun)

feedback (later stage)

Coverage remained the same at 69.641% when pulling 400c4e429bb5c3e12668deab3a2be69e792afc4f on iterative_find into 63437712cd46e197755425713063a55bd27a119d on master.

after #3500 is merged, run master and this branch and compare which does better
if its better, merge it


Not able to find vulnerabilities in packages.json

When using the Trivy plugin as a task in Azure DevOps pipelines, It is able to detect packages.json and find vulnerabilities. When using this plugin, the vulnerabilities are 0.
Trivy in Azure DevOps:

Scan2html results:

EDIT:
I just had to use trivy scan2html fs instead of trivy scan2html config

Hi @sweco-nltbim,
I am glad to hear that this plugin is useful for you. Please do not hesitate to get in touch with us if you need any help! or require any improvements.
If you don't mind, could you do a favor by giving us a star :)
Regards,
Fatih


1.10.7: pytest is failing becauae it uses deprecated pkg_resources

Initial Checks

[X] I have searched GitHub for a duplicate issue and I'm sure this is something new
[X] I have searched Google & StackOverflow for a solution and couldn't find anything
[X] I have read and followed the docs and still think this is a bug
[X] I am confident that the issue is with pydantic (not my code, or another library in the ecosystem like FastAPI or mypy)

Description
Looks like pytest is failing because pydantic test suite uses deprecated pkg_resources
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pydantic-1.10.7-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pydantic-1.10.7-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -m 'not network' --deselect tests/test_edge_cases.py::test_cython_function_untouched
============================= test session starts ==============================
platform linux -- Python 3.8.16, pytest-7.3.0, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/pydantic-1.10.7
configfile: setup.cfg
testpaths: tests
plugins: mock-3.10.0
collected 2421 items / 1 error / 1 deselected / 2420 selected

==================================== ERRORS ====================================
_____________________ ERROR collecting tests/test_utils.py _____________________
tests/test_utils.py:11: in <module>
    from pkg_resources import safe_version
/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:121: in <module>
    warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)
E   DeprecationWarning: pkg_resources is deprecated as an API
=========================== short test summary info ============================
ERROR tests/test_utils.py - DeprecationWarning: pkg_resources is deprecated a...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
======================== 1 deselected, 1 error in 3.15s ========================

Example Code
N/A

Python, Pydantic & OS Version
N/A

Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .dict() and .json()
[ ] JSON Schema
[ ] Dataclasses
[ ] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

Thank @kloczek for reporting.
I couldn't reproduce this on my end.
Could you please provide more information?

ye pkg_resources is deprecated, happy to remove that test from 1.10 branch, it's already removed on main.
Weird that you get the warning and we (and CI) don't, maybe you have a newer version of pkg_resources with the warning somehow?

Cannot find exact commit to test that 🤔

no need, I get that we should remove that test, it's that simple.

Fixed in https://github.com/pydantic/pydantic/commit/c1b11d1834d64a3eaa7bbe7182cc5bd0cbde55b1


Sporadic AVX2 failures on macOS CI

Have recently started seeing issues where macOS CI builds try to use AVX2 instructions even though they are likely unavailable on CI. However this is sporadic as it doesn't always occur in the same builds or Python versions. Rerunning CI seems to sometimes fix the issue. Maybe we just need to disable AVX2 in CI to fix this.

Think this is related to this change: https://github.com/zarr-developers/numcodecs/pull/428
Looking at the config, think the DISABLE_NUMCODECS_AVX2 environment variable is getting overridden in the macOS case. Guessing we either need to include that explicitly in the macOS case or configure the macOS case to extend (and not override) flags generally set
https://github.com/zarr-developers/numcodecs/blob/680d0205ab9e32440c4c1d5f3601fd9fbfdf6bf1/pyproject.toml#L115-L121

cc @psobolewskiPhD (in case you have ideas here)

I understood that tool.cibuildwheel applied globally, but maybe not...
...and maybe not all runners have AVX2, hence the issue?
I'll make a PR to add DISABLE_NUMCODECS_AVX2=1 under tool.cibuildwheel.macos...

FWIW am not certain either. Though that seemed like a plausible working theory that explained the behavior so far
Sounds good. Thanks Peter! 🙏
We can give that a try and see how things go 🙂

Reopening as this issue is coming up in recent wheel builds: https://github.com/zarr-developers/numcodecs/pull/474#issuecomment-1765442101

Looking at these errors, it appears to be macOS ARM that is failing. So maybe the override needs this option too


Add commands from aichat -e to shell history file

Is your feature request related to a problem? Please describe.

The README says:

AIChat is aware of OS and shell you are using, it will provide shell command for specific system you have.

Can we use the same to push the command generated from aichat -e to bash/<your-shell> history?
I found this missing from the first day I started using -e.
Describe the solution you'd like

After selecting Execute from the -e prompt, the command should be run in such a way that it is automatically added to the user's shell history file.
I use CTRL-r (with fzf) and PageUp (after a few characters) in shell a lot. Both of them depend on the bash history (I use bash). Not sure why the executed command is not getting added at the first place.
Describe alternatives you've considered

NA
Additional context

OS: Arch Linux
Shell: Bash
Terminal: Kitty

We will not support this feature.
There are various shells available today (bash, zsh, fish, PowerShell, Nushell), and even within a familiar shell like bash, there can be multiple history strategies (.bash_history, atuin, mcfly).
Aichat can't handle history correctly.

Wouldn't it  be possible to just insert the commands into the current shell and then the shell would automatically handle insertion into it's history?
I think there's a few other CLI tools that do this. E.g. the mentioned fzf and atuin.

@sigoden Well, if it's too complex and/or does not align with the current roadmap, then it's a different story. But aichat as a CLI tool, I was really looking forward to it.
In terms of shell support, bash is generic and default on many Linux systems. And with default settings, it uses .bash_history for persistent (I don't believe we need to write to .bash_history manually as @tfriedel suggested above).
We can do bash, and let other community members think on others? I found something relevant at man 3 history (GNU history library).


Set Dataset Cache Buster to v=2

This PR increments the API Dataset cache bust to v=2.

 Content: Rename incorrect references to CalFloD-3D and CalFloD3D-TFS site wide.


EarlGrey 2 fails on Xcode 10.2

error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'HostDOCategoriesSwift')
https://app.bitrise.io/build/52f2bac3c8f34a40

I just updated the bitrise job to Xcode 10.2. The build is failing. I'm reverting back to 10.1.

Yeah, let's update the Swift tests to use the latest ABI. Was the code signing issue gone with Xcode 10.2 now?

I think so, either way we need to solve Swift first.

I think this is fixed. Bitrise is passing now.


Support for node

In nodejs, If I try to load swellrt using http.get to demo.swellrt.org I get the following error:
remote_modules/swellrt.js:8
window.SwellRT = {
^

ReferenceError: window is not defined

maybe it's possible to place SwellRT object in somewhere else so that nodejs apps can use it?

A nodejs compatible version of SwellRT JS library is not planned in the short term.
I am afraid that JS library relies in several browser specific APIs so port for NodeJS is not easy and fast.

A list if the browser specific libraries would be appreciated in this issue. That list would facilitate to add support to node.js by interested developers, even if that is not planned soon in SwellRT current roadmap.


asyncio imports need SyntaxError

See https://github.com/tavendo/AutobahnPython/issues/434
If you have Python 2.7.8 and trollius installed, the import asyncio in txaio which is guarded by except ImportError will actually throw a SyntaxError also/instead. (Tried with Python 2.7.8 on Debian)

can't reproduce:
oberstet@corei7ub1310:~$ ./python278/bin/python
Python 2.7.8 (default, Aug  6 2015, 14:12:00)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import asyncio
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named asyncio
>>> import trollius
>>>

and
oberstet@corei7ub1310:~$ ./python278/bin/python
Python 2.7.8 (default, Aug  6 2015, 14:12:00)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from autobahn.asyncio.websocket import WebSocketClientProtocol, WebSocketClientFactory
>>> import autobahn
>>> autobahn.__version__
'0.10.4'
>>>

the problems comes from installing the asyncio package rather than trollius:
oberstet@corei7ub1310:~$ ./python278/bin/pip install asyncio
Collecting asyncio
/home/oberstet/python278/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Downloading asyncio-3.4.3.tar.gz (204kB)
    100% |████████████████████████████████| 204kB 1.4MB/s
Building wheels for collected packages: asyncio
  Running setup.py bdist_wheel for asyncio
  Stored in directory: /home/oberstet/.cache/pip/wheels/3f/6c/58/eabf8f5b223390a1a99ee7f76e342357bccc6d0a619f82ffdc
Successfully built asyncio
Installing collected packages: asyncio
Successfully installed asyncio-3.4.3
oberstet@corei7ub1310:~$ ./python278/bin/python
Python 2.7.8 (default, Aug  6 2015, 14:12:00)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import txaio
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/oberstet/python278/lib/python2.7/site-packages/txaio/__init__.py", line 103, in <module>
    from txaio.aio import *  # noqa
  File "/home/oberstet/python278/lib/python2.7/site-packages/txaio/aio.py", line 37, in <module>
    import asyncio
  File "/home/oberstet/python278/lib/python2.7/site-packages/asyncio/__init__.py", line 9, in <module>
    from . import selectors
  File "/home/oberstet/python278/lib/python2.7/site-packages/asyncio/selectors.py", line 39
    "{!r}".format(fileobj)) from None
                               ^
SyntaxError: invalid syntax
>>>

closing as invalid


tdlib-purple: init at 0.8.1, telegram-purple: remove

Description of changes
From https://github.com/majn/telegram-purple:

telegram-purple is now totally broken, as is every libtgl-based application. Please use tdlib-purple instead.
This project is abandoned.

(Just in case, libtgl is not updated since 2016.)
tdlib-purple is based on tdlib (official library for building Telegram clients).
Voip support disabled, since libtgvoip is not packaged for nixpkgs.
Previous PR #108181
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 180957 run on x86_64-linux 1

1 package built:

tdlib-purple

not sure if we want to alias telegram-purple?

not sure if we want to alias telegram-purple?

Currently even sha256 of telegram-purple is broken:
source> trying https://github.com/majn/telegram-purple/archive/v1.3.1.tar.gz
source>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
source>                                  Dload  Upload   Total   Spent    Left  Speed
source>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
source> 100  195k    0  195k    0     0   106k      0 --:--:--  0:00:01 --:--:--  319k
source> unpacking source archive /build/v1.3.1.tar.gz
error: hash mismatch in fixed-output derivation '/nix/store/h7zs5wx0ijq6211xz4bhkymmziy1jxnc-source.drv':
         specified: sha256-14VzCMvzAEmye0N98r+P+ub5CeA9vu8c/xqefuWVI10=
            got:    sha256-0OvpC2n9FQfa55Mty7Vm9TzyhVqdq1yAae0vcW4cW+U=
error: 1 dependencies of derivation '/nix/store/0abgv564cwnnra1x0ps50yml05znrwyq-telegram-purple-1.3.1.drv' failed to build

So I guess nobody actually use it.
And tdlib-purple is not 1-to-1 replacement for telegram-purple, it's another implementation with some features still missed (e.g. retrieving history on first login), so I don't think we need alias for it.


Unclear documentation for generating protobuf schema

I originally raised this against the protobuf google group but was encouraged to raise this here instead.
I'm trying to using the BigQuery Storage V1 Write client to update bigquery in a C# app.
I'm following the example in the dotnet reference but it doesn't contain a complete setup.
I've written a sample proto message that I believe follows the requirements laid out in the documentation, but I get an error message when attempting to append a row.
This leads me to believe that I'm not creating my ProtoDescriptor correctly, and I'm unable to find the correct documentation on how to map a type to a ProtoDescriptor?
The documentation for the proto schema states that I should be able to include the known types.
My error message is:
Grpc.Core.RpcException : Status(StatusCode="InvalidArgument", Detail="Invalid proto schema: BqMessage.proto: RequestSummaryTableMessage.request_id: ".google.protobuf.StringValue" is not defined
proto spec:
syntax="proto3"
import "google/protobuf/wrappers.proto";
message TableUpdate {
 google.protobuf.StringValue request_id = 1;
}

C# code:
var protoRows = new AppendRowsRequest.Types.ProtoData();
var mappedMessage =<irrelevant mapper to proto model>
// Initialize a request
var row = new ProtoRows
{
    SerializedRows = { mappedMessage.ToByteString() },
};

protoRows.Rows = row;
protoRows.WriterSchema = new ProtoSchema
{
    ProtoDescriptor = TableUpdateMessage.Descriptor.ToProto(),
};
AppendRowsRequest request = new ()
{
    WriteStreamAsWriteStreamName = WriteStreamName.FromProjectDatasetTableStream("[PROJECT]", "[DATASET]", "[TABLE_NAME]", "_default"),
    Offset = 0L,
    ProtoRows = protoRows,
    TraceId = string.Empty,
};

Thanks for reporting this here. I'm travelling this week which will make my updates slightly less frequent, but I'll do what I can.
Can I just check that your proto actually looks like this:
syntax="proto3";
import "google/protobuf/wrappers.proto";
message TableUpdate {
  google.protobuf.StringValue request_id = 1;
}

(With semi-colons and "wrappers" instead of "wrapper".) That's what I'd expect... I just want to make sure that I'm reproducing the right thing.
Your code looks fine to me - given that the documentation says that the protobuf well-known types don't need to be included, I'd expect this to be okay.
Later today I'll try to reproduce this myself, and then (assuming I get the same error) get in touch with the BigQuery team to find out what's going on. I'll update this issue when I have more information.

Yeah that is correct, I've updated my example (We'll blame an anonymization process for removing the semi-colon)

No problem - thanks for the confirmation and the clear repro.

Okay, I've managed to reproduce the issue, using the code below. I'll ping the BQ team to find out what's happening.
message1.proto:
syntax="proto3";

message Message1 {
  string request_id = 1;
}

message2.proto:
syntax="proto3";

import "google/protobuf/wrappers.proto";

message Message2 {
  google.protobuf.StringValue request_id = 1;
}

Program.cs:
using Google.Cloud.BigQuery.Storage.V1;
using Google.Protobuf;
using static Google.Cloud.BigQuery.Storage.V1.AppendRowsRequest.Types;

// This works
await WriteRowAsync("table1", new Message1 { RequestId = "test-message-1" });
// This fails with error:
// Invalid proto schema: BqMessage.proto: Message2.request_id: ".google.protobuf.StringValue" is not defined.
// Entity: projects/.../datasets/.../tables/.../streams/_default
await WriteRowAsync("table2", new Message2 { RequestId = "test-message-2" });

async Task WriteRowAsync(string tableId, IMessage message)
{
    // Change these to the appropriate project ID and dataset ID
    string projectId = "...";
    string datasetId = "...";

    var streamName = new WriteStreamName(projectId, datasetId, tableId, "_default");
    AppendRowsRequest request = new()
    {
        WriteStreamAsWriteStreamName = streamName,
        ProtoRows = new ProtoData
        {
            Rows = new ProtoRows { SerializedRows = { message.ToByteString() } },
            WriterSchema = new ProtoSchema { ProtoDescriptor = message.Descriptor.ToProto() }
        }
    };

    var client = BigQueryWriteClient.Create();
    var appendStream = client.AppendRows();

    await appendStream.WriteAsync(request);
    await appendStream.WriteCompleteAsync();
    await foreach (var response in appendStream.GetResponseStream())
    {
        Console.WriteLine(response);
    }
}

Okay, I've been in touch with the product team. Unfortunately the documentation was a little forward-looking - not all well-known types are supported at the moment; in particular the wrapper types are not currently supported.
The simplest approach to fixing this is to use proto2 syntax instead of proto3. That way you get field presence within the wire format, and BigQuery is able to tell the difference between an explicitly-set empty string, and a field which hasn't been set. So for example, here's a proto:
syntax="proto2";

message Message3 {
  optional string request_id = 1;
  optional string description = 2;
}

And code to write data (using the above framework):
await WriteRowAsync("table3", new Message3 { Description = "No request ID" });
await WriteRowAsync("table3", new Message3 { RequestId = "", Description = "Empty request ID" });
await WriteRowAsync("table3", new Message3 { RequestId = "test-request-id", Description = "Non-empty request ID" });

And the result in the BigQuery console:

The documentation is currently being corrected; apologies that you ran into this. I believe the protobuf support for BigQuery Storage is still evolving, so hopefully this won't be the only solution in the future, but I can't give any concrete plans or dates.
I'll close this issue now as I don't believe any further work is needed in the client library, but hopefully the above approach will work for you.


Support ActiveRecord store accessors

I had validation errors trying to use classy_enum with an attribute in a postgresql JSON store. Looks like the issue applies to classy_enum with all store accessors.
I think all we need to do is fallback to super() if read_attribute doesn't.

@inopinatus this seems to be failing with Rails 3.2. I'm guessing the store feature is not available there. If that's the case, can you make the tests only run in 4.0 and up?

Rails 3.2 has store, but it wasn't until Rails 4 that you could override the accessors, which is necessary for classy_enum.

Thanks for the contribution! I'll release a beta shortly.


apex:test:run fails on the format Namespace.TestClass

Summary
apex:test:run seems to allow several argument formats. You can just pass the name of a test class to run all tests in that class, or you can pass the name of a single test method like TestClass.testMethod. If you are trying to run a test from a namespace, you can do this like Namespace.TestClass.testMethod, which works fine.
The problem is if you try to run all tests in a class with a namespace:
08:07:01.609 sfdx force:apex:test:run --tests MyNS.MyTestClass --resultformat human --outputdir /Users/andrewweinstein/repos/my_project/.sfdx/tools/testresults/apex --loglevel error
ERROR running force:apex:test:run:  Unable to invoke any tests. Ensure the tests are loaded into the org or valid inputs are supplied. This class name's value is invalid: MyNS.MyNS. Provide the name of an Apex class that has test methods.

This happens both in a namespaced scratch org and in an org into which the MyNS package has been installed. In the scratch org, running the command like this instead (without the namespace) works fine:
sfdx force:apex:test:run --tests MyTestClass --resultformat human --outputdir /Users/andrewweinstein/repos/my_project/.sfdx/tools/testresults/apex --loglevel error

Running a single test with the namespace also works fine:
sfdx force:apex:test:run --tests MyNS.MyTestClass.myTestMethod --resultformat human --outputdir /Users/andrewweinstein/repos/my_project/.sfdx/tools/testresults/apex --loglevel error

And running a single test without the namespace also works fine:
sfdx force:apex:test:run --tests MyTestClass.myTestMethod --resultformat human --outputdir /Users/andrewweinstein/repos/my_project/.sfdx/tools/testresults/apex --loglevel error

So it seems like "MyNS.MyTestClass" is incorrectly interpreted as a class name + test method name instead of a namespace + class name. I realize the difficulty of accepting both of those formats, because you'd have to figure out whether the first argument is a namespace or a class name and whether the second is a class name or a method name, but it seems like inconsistent behavior if a command like MyNS.MyClassName.myTestMethod works correctly and MyNS.MyClassName doesn't.
Steps To Reproduce:

Create a scratch org with a namespace.
Create an apex class in that namespace with a simple test method
Create an apex test class with a test method
Try to invoke force:apex:test:run with the namespace-prefixed name of the test class, like MyNS.MyTestClass (as seen above)

Expected result
All tests in the class should run
Actual result
The test class cannot be found
SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
sfdx-cli/7.28.7-7bceba6f24 darwin-x64 node-v10.15.3
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
@oclif/plugin-commands 1.2.3 (core)
@oclif/plugin-not-found 1.2.3 (core)
@oclif/plugin-plugins 1.7.8 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/lwc-dev-server 1.0.6
├─ @oclif/plugin-help 2.2.1
└─ @oclif/plugin-update 1.3.9

@salesforce/sfdx-trust 3.0.5 (core)
analytics 1.2.1 (core)
generator 1.1.1 (core)
salesforcedx 47.1.5 (core)
├─ force-language-services 47.5.0 (core)
└─ salesforce-alm 47.4.0 (core)

OS and version: macOS Mojave 10.14.6

see also https://github.com/forcedotcom/salesforcedx-vscode/issues/1358

@ntotten can you take a look at this?

@clairebianchi from the issue i linked in the VS code repo, it sounds like they're on it. just wasn't sure where this belonged

@ajw725 the issue on the VS code repo is closed. Just want to make sure this is no longer an issue for you before closing this. Can you please confirm? Thanks

hi @preddivari - sorry, i'm not really in a position to test now, as i no longer work on the salesforce platform. all i can tell you is that it was apparently working for me as of this comment: https://github.com/forcedotcom/salesforcedx-vscode/issues/1358#issuecomment-548832803
so you can probably go ahead and close this issue.

Thanks you for your response.

Closing the issue


fix(core): remove erroneous window.stop in EdgeRenderer

🐛 Fixes

In https://github.com/bcakmakoglu/vue-flow/commit/c62c18a20d72db1591b69ba8e2cd3fdd7872af9b#diff-67a7ade8d1cb21ddf3888d44a38161a4aa06bebaf0ef24ac97387e4d67eb61f9L51, a usage of watch was removed. This usage of watch stored the unwatch function in a local variable called stop, which was called in onBeforeUnmount(). However, the removal of this onBeforeUnmount was missed, causing the stop call to start referring to window.stop (which I had no idea existed before today).
The end result is that unmounting a VueFlow component causes all in-flight network requests to be immediately aborted.

Thanks for catching this.
I'll publish this fix in 1.17.0 =)

Thanks @bcakmakoglu! I love how quick you get things done!


Garbage AMWG plots

From a recent test of processflow-1.0.0-rc5 requesting AMWG for years 1-100. Many generated plots appear to be garbage:
https://acme-viewer.llnl.gov/golaz1/20180129.DECKv1b_piControl.ne30_oEC.edison/amwg/0001-0100/
Example

The corresponding figure for DECKv1a looks fine, so it may be that something went wrong during either the computation of climo files or generation of AMWG figures. Will try again.

I deleted to 100yr climo files and corresponding AMWG files. Restarted the processflow. Unfortunately, it looks like processflow is trying to recompute all the climo files, not just the 100yr ones.

After rerunning, the newly generated AMWG figures for years 1 to 100 now look fine. Something must have gone wrong originally with either acme1, ncclimo or AMWG, not the processflow itself. Closing the issue.


Please update for Firefox 57 Quantum

It's not working with Firefox 57, please update.
Thank you.

thumb up
yes please, if possible, update for quantum.
did someone find a good alternative?

Please update for Firefox quantom

Because I needed something similar to this extension to work in Firefox Quantum, I just released a very similar extension: tabclip. It weird to mention it in copy-urls-expert's issues, but I made it for my own needs; hopefully it's useful to others as well.

@kanink007 You're totally correct! I made a silly mistake -- I confused copy-urls-expert with yet another (Chrome-only) extension, Copy All Urls. I was subscribed to this GitHub issue for a different reason, and got this extension confused with Copy All Urls when I received a GitHub email notification for this issue.

Possibly the original author was trying to fix it here;
https://github.com/kashiif/copy-urls-expert-web-extension/tree/webpack-setup


Create Sprite for Blowtorch

Please see CONTRIBUTING.md first.
Happy Hacking! :smiley:

Can you tell me a bit more precisely how to implement that? I would like to work on this.

Hi @abhishek71994! The blowtorch is going to be a weapon, something like a clumsy and small flamethrower. If you Google blowtorch, you will get several great reference images. Which one you choose - up to your liking.
Once you have the idea how it should look I suggest you draw some monocolor outlines until you get the shape right. I'd pick the dominant colors after that and fill the sprite's surface with that palette. No detailes, just marking the areas.
Finally you could decide upon a light source and add highlights and shadows - if shading looks clumsy or sharp try anti-aliasing or dithering maybe. I'm no expert, there are plenty of techniques I suppose. :)

This will be a png file? or a psd?

Definitely PNG. :smiley:

the size wiil be an icon?

Yes.

Okay I'll try to make one using PS. First time for everything.... I'll stay close to the guidelines.

Welcome to pixel art then! PS is fine, PiskelApp is an online tool specifically for pixel art - it is free, you can check out - but you choose your tools of course. I'm not rejecting for the quality of the sprite so no worries if your first try does not turn out as the most amazing art ever made. :smiley:

So I came up with these.. I'm sure you'd like some improvements?

No, the outline is great. It is totally recognizable!  You can go ahead. :smiley:

I'll start with the coloring and detail then. I'll fork and PR by 23:00 IST(I hope to).

Take as much time as you need. No deadlines. :smiley:

I'm gonna make a PR, I think I am done. One is with flames the other is without one.

Where is a blow-torch gonna go? Weapon?

Yes. Thank you!


[bug] Type 'undefined' is not assignable to type 'Element | null'. (@web3modal/react)

Link to minimal reproducible example

Summary
Updated my packages (by running `pnpm update --latest") and noticed this:
Type error: 'Web3Modal' cannot be used as a JSX component.
  Its return type 'ReactNode' is not a valid JSX element.
    Type 'undefined' is not assignable to type 'Element | null'.

> 80 |       <Web3Modal projectId={projectId} ethereumClient={ethereumClient} />
     |        ^

For a reproducible, please provide an easily forkable Codesandbox for bug issuers.
List of related npm package versions
"@web3modal/ethereum": "^2.4.2",
"@web3modal/react": "^2.4.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@types/react": "^18.2.8",
"typescript": "^5.1.3"

I ran into this issue myself in web3modal and other projects. Seems to be related to @types/react package. What I had to do is delete my .lock files and node_modules and re-install everything fresh. That got rid of the ts errors (might need to restart your edditor as well)

Closing this for now, let me know if issue persists after doing above.

Hey! Just got back to it. Downgraded @types/react from 18.2.8 to 18.2.7 and the problem went away. Thanks for your help!

Awesome, I got it working without downgrading as well, just had to delete node_modules and package-lock.json file and re-install everything fresh


undefined method `bottle_hash' for #

make install_rust
Error: undefined method `bottle_hash' for #Formulary::FormulaNamespace2452e6c13a40981740db151ee662d25c::Libtiff:0x00007f96da47b030
Please report this bug:

brew update.


Update Introduction.md

Typos fixed.
Apologies for my amending issues...

This is actually less grammatically correct – it's not the act of visiting this location that lets you access that query.
Thanks for bringing this up, though – I'll handle rewording that from here.


Data Science with Python : Birch Algorithm (#3341)

Description 📜
I have added a video explaining the functioning and uses of BIRCH algorithm along with code snippet used in the video. I have also added a readme file briefly explaining the content
Fixes #3341

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[x] Video (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[ ] Doc#umentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[ ] C/#CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[x] Datascience with Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] Java#Script
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@prathimacode-hub I already added the .ipynb file along with presentation in the folder to showcase a working example. I have also explained the code in my video properly.


Load image policies from all namespaces.

This PR allows the image update automation to apply image update policies from namespaces other than its own, as a quick way of implementing https://github.com/fluxcd/image-automation-controller/issues/85.  This is done by loading the policies for consideration from all namespaces rather than from just the automation's own namespace.
In our company we have multiple semi-independent teams working on different
projects in our cluster and a single infrastructure team managing the
infrastructure for them, including the cluster itself.  For the purposes of
data protection we have to keep the teams isolated, so each team has a
namespace it controls, and the infrastructure team runs the system namespaces,
including flux-system, where the repository and image automation CRDs are
defined.  The individual teams control the exact set of images they generate
and push and the image selection criteria for deployment so we want to allow
them to manage the ImageRepository and ImageUpdatePolicy in their
namespaces. But with the GitRepository and ImageUpdateAutomation residing
in flux-system, they can't, unless ImageUpdateAutomation can handle policies
from other namespaces.

@vladlosev thanks for taking the time to open this PR but it’s in current form we can’t accept such a change that would break everyone’s setups. A better way of doing this, without changing the default behavior would be to introduce a namespace label selector in the API spec.

Hmm, I see what you mean - you want explicit control over which ImageUpdateAutomation applies any given ImageUpdatePolicy and you lose that control with this patch. Too bad I didn't catch that issue earlier. :-(
I could try my hand at the API change. When you talk about the API change are you talking about one of the two approaches mentioned in https://github.com/fluxcd/image-automation-controller/issues/85#issuecomment-802152827? If so, which one?

Closing in favor of #157.

@vladlosev Would it also work to define the ImageUpdateAutomation object in the user's namespace, and be able to refer to a GitRepository defined centrally?

@squaremo certainly. I'd be happy to use cross-namespace GitRepository references.


Fix example

@reflectronic : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@alvinashcraft
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"

Hi. I'm in all-day training Mon/Tue/Wed. I'll try to find time during a break or before/after training.

Looks like the wrong account is linked. Alias should be @MatchaMatch not @mikben.


Challenge #21 error

Challenge Size your Images has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
I created a smaller-image class to adjust my image width to 100 px; for some reason when I hit the 'run test' button, nothing happens. Please help!
 Your code is almost there. You haven't completed the challenge yet. Please reread the requirements again.

Create a class called smaller-image and use it to resize the image so that it's only 100 pixels wide.

This is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the "help" button on the challenge on freeCodeCamp, which will take you to the help chatroom for that specific challenge. You can also view our full list of official chatrooms.
If you think I'm wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding!


How to scale each chunk of text differently

Hello, I have to draw several chunks of text, each one has distinct values for scaling on x and y.
The first chunk of text renders fine if i use page.pushOperators(scale(0.5, 1)) before drawText.
However if for the next chunk i use page.pushOperators(scale(0.75, 1))  - notice the different scaling values - the resulted text isn't what i expect. Somehow, the two scaling instructions combine.
I need to reset somehow the scaling - how can i do that? Thanks.

Coming back to this since i haven't yet found a workaround.
Would be awesome to have an entry for scaling in the options object passed to each drawText call (along with x, y, size, rotate etc).
Or maybe could you please show an example with a workaround to this issue?
Thank you.

Hello @ezekiel747! What you are encountering is one of the quirks of the PDF graphics model. Many PDF operators do not reset the variables they affect. Instead, they add/subtract/multiply/divide the preexisting values of the variables. This is the case with the scaling operator.
If you wish to avoid this behavior, then you have to push and pop the graphics state. This can be done with the pushGraphicsState and popGraphicsState operators in pdf-lib.
I created an example script to demonstrate how this works:
import {
  PDFDocument,
  popGraphicsState,
  pushGraphicsState,
  scale,
  StandardFonts,
  rgb,
} from 'pdf-lib';

(async () => {
  const pdfDoc = await PDFDocument.create();
  const font = await pdfDoc.embedFont(StandardFonts.Helvetica);
  const size = 48;

  const page = pdfDoc.addPage([300, 350]);

  page.moveTo(0, 350);

  page.moveDown(size);
  page.pushOperators(pushGraphicsState(), scale(1.75, 1));
  page.drawText('Foobar', { font, size });
  page.pushOperators(popGraphicsState());

  page.moveDown(size);
  page.pushOperators(pushGraphicsState(), scale(1.5, 1));
  page.drawText('Foobar', { font, size });
  page.pushOperators(popGraphicsState());

  page.moveDown(size);
  page.pushOperators(pushGraphicsState(), scale(1.25, 1));
  page.drawText('Foobar', { font, size });
  page.pushOperators(popGraphicsState());

  page.moveDown(size);
  page.pushOperators(pushGraphicsState(), scale(1, 1));
  page.drawText('Foobar', { font, size, color: rgb(1, 0.25, 0.25) });
  page.pushOperators(popGraphicsState());

  page.moveDown(size);
  page.pushOperators(pushGraphicsState(), scale(0.75, 1));
  page.drawText('Foobar', { font, size });
  page.pushOperators(popGraphicsState());

  page.moveDown(size);
  page.pushOperators(pushGraphicsState(), scale(0.5, 1));
  page.drawText('Foobar', { font, size });
  page.pushOperators(popGraphicsState());

  page.moveDown(size);
  page.pushOperators(pushGraphicsState(), scale(0.25, 1));
  page.drawText('Foobar', { font, size });
  page.pushOperators(popGraphicsState());

  const pdfBytes = await pdfDoc.save();
})();

This produces the following:

I hope this helps. Please let me know if you have any additional questions!

Providing a simple API for the scaling operation does seem like a useful feature. If anybody would like to submit a PR adding scaling options to the PDFPage.draw* methods, I would be happy to merge it.


⚠ Fetchers has degraded performance

In f28e661, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 335 ms

Resolved: Fetchers performance has improved in bd48e2d.


How to set CLSComplaint false to Bond file

Hi,
I created a bond file as following
import "Ifx.bond"

namespace GrepFromIfx

struct SayIt:Ifx.PartASchema
{
    10: required int32 Act;
    20: required int32 Scene;
    30: required int32 LineNumber;
    40: required wstring Character;
    50: required wstring Words;
};

ifx is a third-party nuget package.
When I trying to compile my project, it pops an error "base type 'PartASchema' is not CLS-compliant"
Does anyone know how to resolve the error?
Thanks in advance.

I know how to disable the CLS-Complaint check in C# file. Since this is a bond file, I cannot use [CLSCompliant(false)] in the bond file. I am new to bond, so just want to ask question here to check if there is a way to stop CLSCompliant check for bond file.
Thanks.

The generated types are marked as partial, so you can add that attribute in your code.

@yuchaozh to add on what @ara-ayvazyan mentions: you should not add the [CLSCompliant(false)] on the outputted generated file since that will be rewritten everytime the codegen occurs. So by extending the partial class would be the correct approach. If you need more assistance, I'm happy to help.

@lalo I'm running into this issue, could you clarify what you mean? How can you extend the generated class?


Add the possibility to set the dev container name

By using make CONTAINER_NAME=docker-dev shell you're able to name the docker-dev container to what you want. The idea behind it is by knowing the name of your dev container you can automate easily some thing using docker exec later.
/cc @tianon @thaJeztah @cpuguy83
🐸
Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>

I wonder if we should take it one step further, and default to a standard-name. Do we know of use-cases (other than possibly CI) where I would have two separate checkouts of the docker source, and have two build containers running simultaneously ?
Alternatively;

have the Makefile set a container name (e.g. based on the branch name), and make it so that make shell detects the container is running, and if so, do a docker exec <containername>
have a make exec target that does docker exec <containername>

Both of those could be an addition to this one, i.e. allow overriding the default name with this env-var

I have multiple checkouts of the source sometimes when I am working on two different things. This week I started optimising my life by having three separate checkouts of one project I am working on, and it was pretty good, so I might have to scale up...

Thanks @justincormack, so something based on the git sha could work, or would that be risky too?

Depends on whether he's committed any changes in his current working
directory :smile:

Yes, thought about that as well after posting

How about using --cidfile for this? make shell can check if the container ID stored in the cid-file exists, and is running, and if so, docker exec into it, otherwise start a new container

@justincormack if you're using multiple checkouts, may be worth checking https://github.com/docker/docker/pull/29136, because i think you may run into issues if the same volume is used for multiple dev containers

LGTM


Object.assign issue on Android (Cordova app)

Hi, guys!
Bad news, "Ractive is not defined" exception on some Android devices (seems where webview is not Chrome-based) in Cordova app. Quick investigation showed that the problem in Object.assign usage. (legacy variant, extendObj() function, works fine) Seems, that on iOS (Safari-based webview) it won't work too.
I guess it's designed to use some polyfill for that? It's a little bit strange, because of Object.assign is a very common thing in Ractive. Though if it's "design intent", we can skip it.
Thx!

As of 0.9, polyfills were moved out of the core and into a separate polyfill file. https://ractive.js.org/get-started/support/#legacy-browsers

Hi @fskreuz ! Yep, I know! But for my opinion mobile Safari is not "legacy browser" it's severe reality ))))

Can you provide us with which version of Ractive you're using, the version of the platforms being tested, and a stack trace for both platforms? And if possible, reproducible code?

Unfortunately, I can't provide details, because I've already handled this problem and moved further. I caught this exception on emulator under 5.0 Android's version. Ractive version was latest (0.9.1). I'm sure that "Ractive is not defined" happened because of Object.assign().
Potential problems in iOS is my assumption based on this browser support info: https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/Object/assign

Just wanted to note that any flavor of internet explorer requires the polyfills to be loaded, because we no longer supply a Promise polyfill in core either. If you're supporting anything other than evergreens, you probably want to throw the polyfills in before ractive if you don't already have a set of polyfills in place.

The polyfills have been pared down to minimum and are included in the main ractive build again.


Add docstring to replay funciton

This PR adds a docstring to replay function. I used PkgTemplates.Template as a reference for the format of the docstring.

Thank you, really appreciated.


Chorus frequency property has no effect on sound

Hi,
The frequency parameter seems to not working as intended. I am not sure, if I missed something, but changing this property does not transform the output signal in any audiable way to me.

Found solution. Forget to initialize lfo's with start() method.


Update documentation for indicators enhancements.

I have made some changes to commands based on indicator work and need to update the documentation.  This involves Webget, TableMath, WriteDateValue, and ReadTableFromDelimitedFile commands.

I made the changes.  Close this issue.


use asset_timed for og:image

Description
This is a fix to overcome facebook caching of og:image ( https://stackoverflow.com/questions/7572441/facebook-like-showing-cached-version-ogimage-way-to-refresh-or-reindex-it ) - to enable new "sharing preview" after og:image is changed.
Re-using already written method asset_timed() to include timestamp in image path (e.g. <meta property="og:image" content="https://www.webumenia.sk/images/clanky/psicek-a-macicka-sa-tesia.jpg?1433999652" />)
Fixes WEBUMENIA-1513
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] I have updated the CHANGELOG
[x] I have requested at least 1 reviewer for this PR
[ ] I have made corresponding changes to the documentation

Is manually re-caching the page via https://developers.facebook.com/tools/debug not feasible?

thank you for the review @eronisko
no. re-caching via https://developers.facebook.com/tools/debug didn't help. I tried also batch invalidator ... no help.
It reloads all other data. But still cache the iamge (since the file name didn't change at all):

we already used ?v=xyz hack for og:image in our 1989.sng.sk project ... when we faced the same issue. and it helped.
I tested adding the suffix  and it works:

If you don't see any other issue - I would be happy to merge it.

I can now see how this would work, but to be honest I'm still hesitating, because now we'd have to hit the disk every time we want to render a item/author/article page, which is not great for performance.
How about generating the ?v= using current timestamp? (say, rounded to the nearest hour so we can allow some caching at least).
As an aside, I think the problem stems from the image being named the same as the ID of the collection. This can probably trip up browser caches too, not just the Facebook scraper. Could we perhaps generate a more specific file URL?

You are completely right @eronisko - and I admit it shouldn't be permanent fix.
However - in the current world we even calculate the width/height for every artwork image (e.g in catalogue 18 times on every load).
I decided to check some numbers: https://stackoverflow.com/questions/5850180/cost-of-file-modification-time-checks
And also here is quite valuable discussion: https://stackoverflow.com/questions/56588850/php-filemtime-vs-mysql-last-updated-timestamp-for-image-caching-in-cms
My proposal is to use it for now (because @ustengrav needs it now and the cost of performance/added_value is still reasonable from my perspective).
And then use the proper solution. And I am up for randomised filename (what we already do for articles)... or maybe we will come up with better idea?
To be honest - calculated timestamp sounds weird - but is not that bad idea (actually we can "fine-tune the caching by hand ...  1-12hours). And mostly - we talk here about THEIR caching. Not OURS. So I don't really mind. It is bit weird. But should be bullet proof. What is your opinion @eronisko ?

done: https://jira.sng.sk/browse/WEBUMENIA-1516


Cannot get AUTH_REQUIRED

I'm redirecting the user if he's not logged with this:
 resolve: {
                currentUser($q) {
                    if (Meteor.userId() === null) {
                        return $q.reject('AUTH_REQUIRED');
                    } else {
                        return $q.resolve();
                    }
                }
            }

And:
$rootScope.$on('$stateChangeError', (event, toState, toParams, fromState, fromParams, error) => {
            console.log('checking...');
            if (error === 'AUTH_REQUIRED') {
                console.log('PATH: '+window.location.pathname);
                if (window.location.pathname === '/login' || window.location.pathname === '/register') {
                    $state.go('food');
                } else {
                    $state.go('login');
                }
            }
        });

Can't see any console at all and I get this error:

Transition Rejection($id: 0 type: 6, message: The transition errored, detail: AUTH_REQUIRED)

This was working before on version <IP_ADDRESS>. When I updated to 1.5 it stopped to work

@erperejildo could you create a simple example repo that reproduce that issue?
thank you

Closed due to the inactivity.


feat: use timestamp in milliseconds to align with other libraries

time is displayed in milliseconds
updated dependencies to make tests work

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall first build on 8-feature-use-timestamp-in-milliseconds-to-align-with-other-libraries at 100.0%

Totals

Change from base Build 915450662:
100.0%

Covered Lines:
16

Relevant Lines:
16

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall first build on 8-feature-use-timestamp-in-milliseconds-to-align-with-other-libraries at 100.0%

Totals

Change from base Build 915450662:
100.0%

Covered Lines:
16

Relevant Lines:
16

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall first build on 8-feature-use-timestamp-in-milliseconds-to-align-with-other-libraries at 100.0%

Totals

Change from base Build 915450662:
100.0%

Covered Lines:
16

Relevant Lines:
16

💛  - Coveralls