Replace many instances of sanity, sane, and insane

This replaces many instances of the words "sanity", "sane", and "insane" with equivalents that are less likely to hurt others. For example, "sanity check" has become "safety check", and "sane" has become "sensible". I hope this change follows the spirit of other similar initiatives, not least Apple's updates to coding terminology at https://developer.apple.com/news/?id=1o9zxsxl
I have done my best to restrict these changes to comments and documentation, which means there are still some instances of "sanity", "sane", and "insane" in places where I judged it would affect functionality somehow. Replacing these might also be straightforward, but I figured that's a separate change.

@swift-ci please smoke test

I thought we had standardized on “internal invariant” to replace “sanity check”?

@xwu The original text described someone else's work as "insane", so I was hoping that "ridiculous" was an improvement. Perhaps the best change here would be for someone to amend the comment to describe the actual underlying problem this comment is describing.

I thought we had standardized on “internal invariant” to replace “sanity check”? Safety is a loaded term in Swift.

I hate to say it because it's a lot of places to update a second time, but I agree. "Internal invariant" is the better replacement for "sanity" when we're talking about checking, because we carefully sort "internal invariants that we know hold but nonetheless check in debug builds to help ourselves" vs "checks we need to keep maintain the safety the language (e.g., integer overflow checking)". The use of the term for the former is ambiguous.

I would be happy to convert all "sanity check -> "safety check" changes over to "sanity check" -> "internal invariant check". Am I okay to proceed with that, and push more changes back to my branch?

I am inclined to close this PR; it seems to be languishing.

If we can resolve the conflicts, we can get this in.

If we can resolve the conflicts, we can get this in.

@rjmccall Thank you! I have resolved the conflict, taken into account the feedback from both @xwu and @DougGregor, and pushed more changes. However, there may still be places where "safety check" remains and is ambiguous – I am happy to address those if identified, or of course someone else can do the same.

@rjmccall Thank you! I have resolved the conflict, taken into account the feedback from both @xwu and @DougGregor, and pushed more changes. However, there may still be places where "safety check" remains and is ambiguous – I am happy to address those if identified, or of course someone else can do the same.

@xwu I'm not in a position to say where each choice would be better, but I am grateful that you have taken the time to provide such comprehensive feedback to help improve the whole PR. Thank you!

@xwu I'm not in a position to say where each choice would be better, but I am grateful that you have taken the time to provide such comprehensive feedback to help improve the whole PR. Thank you!

This seems to be going nowhere, so regretfully I'm closing it.


Emoji is not supported when a profanity is found next to that character

Expected behavior
Using obscenity to censor a string containing an emoji, like this one: 🤣bummer, and a dataset that contains the word bummer.
Using this strategy,
const CENSOR_STRATEGY = (censorContext) => ''.repeat(censorContext.matchLength);

for removing the profanities,
The expected output would be 🤣.

Actual behavior
Instead, the output is this: 🤣b. It matches the word bummer correctly, BUT when the matcher tries to find the matches, there's an error in the index.
Minimal reproducible example
const {
  englishDataset,
  parseRawPattern,
  DataSet,
  RegExpMatcher,
} = require('obscenity');

const data = new DataSet()
    .addAll(englishDataset)
    .addPhrase(phrase =>
      phrase
        .setMetadata({ originalWord: 'bummer' })
        .addPattern(parseRawPattern('bummer'))
    ).build();

const matcher = new RegExpMatcher({
    ...profanityDataset, // no transformers
  });

const stringBummer = '🤣bummer';
if (matcher.hasMatch(stringBummer)) {
  const matches = matcher.getAllMatches(stringBummer, true);
  return textCensor.applyTo(stringBummer, matches);
}
return stringBummer;

Steps to reproduce
No response
Additional context
No response
Node.js version
18.17.1
Obscenity version
0.3.1
Priority

[ ] Low
[ ] Medium
[ ] High

Terms

[X] I agree to follow the project's Code of Conduct.
[X] I have searched existing issues for similar reports.

Thanks for the short repro. I think I know what the issue is and will take a stab at fixing it today.

Fix released in v0.4.0.


Allow configuring the watchdogs in the init config

Thank you for your contribution!
We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:
Submission Checklist 📝

[x] I have updated existing examples or added new ones (if applicable).
[x] I have used cargo xtask fmt-packages command to ensure that all changed code is formatted correctly.
[x] My changes were added to the CHANGELOG.md in the proper section.
[x] I have added necessary changes to user code to the Migration Guide.
[x] My changes are in accordance to the esp-rs API guidelines

Extra:

[x] I have read the CONTRIBUTING.md guide and followed its instructions.

Pull Request Details 📖
Description
Provides a way to configure watchdogs in esp_hal::init()
Testing
Tested different watchdog configurations in one example.

ESP32 hil is failing, but not related to this PR

I tested the test_feeding_timg1_wdt in H2, and, ofc its failing in all the other targets


fix input-disabled var value

Fixes the value for input-disabled var - should be gray-10 instead of gray-50.
dependency for cf-forms: https://github.com/cfpb/cf-forms/pull/37

Ha, looks like this is where that started for the other two. Whoever merges should probably just merge this one first and the other two will remove it from the diffs.
:+1:


Recent tarballs fail to extract on OTP 19 or older

E.g., country database version 2019-05-20 20:12.
Something is likely to have changed on MaxMind's exporting pipeline and the new tarballs are no longer compatible with old Erlang/OTP versions. Erlang/OTP versions 20 and 21 have no problem.
erl_tar got a big rewrite on OTP 20, which presumably fixed whatever was the issue.

Solved upstream.


how to use multi devices ?

If you mean, multi-devices are multiple login accounts. You must open this program twice in separate ports. The title whatsapp-web-multidevice refers to WhatsApp's new architecture, which allows us to login into various devices up to four.
I developed apps for multi-device login. However, this app is available to the public at https://kirimwa.me.

Website 502 gateway error

It's accessible, but we're still working on it.

Can you add buttons api

what do you mean buttons api?

Feature to send whatsapp buttons cta?

it's different topic anymore, i will close this
you can create another one


question about the predictor machanism

Hi @ptillet ,
I want to add kernels on isaac library, but have some doubt about the implementation of the tuning machanism:
1)  there are some json file in the database folder, how do you generate them, and how can i modify them to fit the new kernels?
2)  what is the mechanism about the predictor and its relationship among expression_tree, random forest, feature, threashold and values, how can I use this mechanism?

Looking forward for your replay, thx!

Hi :)
The .json file contains the predictor (random forest) to pick the right kernel template to choose given the input shapes. The predictor is trained in $PROJECT_ROOT_DIR/tune/, and serialized into a .json file (to make sure that ISAAC doesn't depend on Python.).
What kind of kernel are you trying to add?

Thanks for your reply. currently we have some fine-tuned kernel of GEMV/GEMM for Intel's graphics, the kernels have some issues:

they may not suitable for all the GEMV/GEMM parameters.
the other is that they  may not have good performance for non-Intel platform.
what is your opinion about the good solution that integrated these kernels into ISAAC?

@gongzg into discussion

Oh, yes. I've talked briefly to @gongzg about that. For now I just know that the kernels used intel subgroups extension, which is fine. I have a few questions, so that I can think about integrating them:

Does it work for all sizes of M, N, K (i.e., handles bounds-checking properly)?
Does it work for the 4 layouts (NN, NT, TN, TT)?
What are the tunable parameters (how many?). In the current GEMM generator, one parameter ("Depth") is pretty useful for handling "small M, N ; large K" situations. And I'll add another one. We can talk about adding them into your kernel template, if they're not already there.

Oh, yes. I've talked briefly to @gongzg about that. For now I just know that the kernels used intel subgroups extension, which is fine. I have a few questions, so that I can think about integrating them:
Does it work for all sizes of M, N, K (i.e., handles bounds-checking properly)?
Does it work for the 4 layouts (NN, NT, TN, TT)?
What are the tunable parameters (how many?). In the current GEMM generator, one parameter ("Depth") is pretty useful for handling "small M, N ; large K" situations. And I'll add another one. We can talk about adding them into your kernel template, if they're not already there.

Hi,
Currently our kernels support al the sizes of M, N, K, but will bring cleanup kernels.
And just work for RowMajor layout currently.
Don't have tunable parameters, but have some different kernels for different usage situation.

That could be interesting :) Is there any place where I can see and/or benchmark the code?


Investigate merging of proxy and pass-auth functionality into pass-core

The proxy dispatches unauthenticated requests to pass-auth.
Could pass-core handle the Shib protocol instead of pass-auth?
Then it seems like the proxy is not needed.
Consider local and cloud deployments  as well as security.

@rpoet-jh you noted on ticket https://github.com/eclipse-pass/main/issues/872 that it should be considered and maybe completed before this ticket - should we move this to blocked until someone looks at 872?

@dkriethof sorry, I had typos.  The dependency is the other way, 805 should be considered/possibly completed before 872/871.  I updated the text on 872/871 to be correct.

Analysis here: https://docs.google.com/document/d/1swYRvwNeouMyuG9xEbSBLFffUpBstllI1bP5Zcsx3ME/edit?usp=sharing
We should discuss with the group to decide what approach to take and if the effort would be worthwhile.


fix: remove test code

Remove test code

Pull Request Summary from Gemini
Pull Request Summary:
This Pull Request removes test code from the Hello World.ipynb notebook.
Changes:

notebooks/Hello World.ipynb: Removed a section containing test code (including a simple calculation and a markdown cell).

This change simplifies the notebook by removing unnecessary code and focuses on the core functionality of the notebook.


[ml] add gpu resource request support and update test

adds gpu resource request limit to KubernetesPodOperator
adds test for new parameter

Note that this PR mainly copies the changes from https://github.com/apache/airflow/pull/5643 into our fork


Broken link at bottom of page for "Use externally-signed certificates"

File: datacenter/ucp/2.1/guides/admin/configure/integrate-with-dtr.md, CC @joaofnfernandes

@joaofnfernandes This page has no left nav and is not in the TOC; should it even be published?

Might have been lost with a merge conflict, but it should be in the TOC


Add exec subcommand to use PIPE and REDIRECTION ?

PIPE and REDIRECTION are not working with pipenv run, because this uses pexpect.spawn.
$ pipenv run python3 -c "print('foo')" | grep foo
# => not found
$ pipenv run python3 -c "print('foo')" > bar.txt
# => bar.txt is empty

If use os.exec instead of spawn, pipe and redirection are available.
diff --git a/pipenv/cli.py b/pipenv/cli.py
index 62a4165..f48b9e7 100644
--- a/pipenv/cli.py
+++ b/pipenv/cli.py
@@ -997,7 +997,8 @@ def run(command, args, no_interactive=False, three=None, python=False):

     # Spawn the new process, and interact with it.
     try:
-        c = pexpect.spawn(which(command), list(args))
+        os.execv(which(command), [command] + list(args))
+        # c = pexpect.spawn(which(command), list(args))
     except pexpect.exceptions.ExceptionPexpect:
         click.echo(crayons.red('The command ({0}) was not found within the virtualenv!'.format(which(command))))
         sys.exit(1)

$ python3 -m pipenv run python3 -c "print('foo')" | grep foo
foo
$ python3 -m pipenv run python3 -c "print('foo')" > bar.txt
$ cat bar.txt
foo

Can you add exec subcommand like bundler, or change run command to use os.exec ?
version
3.5.6, or current master (7b17058)

I've run into this issue too, whilst trying to test against the Python version inside a shell script.
Looking through the Pexpect FAQs, it seems the issue can be addressed whilst still calling pexpect.spawn.

Q: Why don’t shell pipe and redirect (| and >) work when I spawn a command?
A: Remember that Pexpect does NOT interpret shell meta characters such as redirect, pipe, or wild cards (>, |, or *). That’s done by a shell not the command you are spawning. This is a common mistake. If you want to run a command and pipe it through another command then you must also start a shell. For example:
child = pexpect.spawn('/bin/bash -c "ls -l | grep LOG > log_list.txt"')
child.expect(pexpect.EOF)

The second form of spawn (where you pass a list of arguments) is useful in situations where you wish to spawn a command and pass it its own argument list. This can make syntax more clear. For example, the following is equivalent to the previous example:
shell_cmd = 'ls -l | grep LOG > log_list.txt'
child = pexpect.spawn('/bin/bash', ['-c', shell_cmd])
child.expect(pexpect.EOF)

I hope this helps 👍

After further investigate, I found that this is caused by using pexpect.spawn.wait() with non-interactive environment.
pexpect.spawn.wait() does not read any data from child, so parent process cannot read output.

This waits until the child exits. This is a blocking call. This will not read any data from the child, so this will block forever if the child has unread output and has terminated. In other words, the child may have printed output then called exit(), but, the child is technically still alive until its output is read by the parent.
This method is non-blocking if wait() has already been called previously or isalive() method returns False. It simply returns the previously determined exit status.
http://pexpect.readthedocs.io/en/stable/api/pexpect.html#pexpect.spawn.wait

Workaround with pexpect (only stdout)
Pexpect can output result to stdout by setting logfile_read. Pipe and redirection (only stdout) works with below code.
diff --git a/pipenv/cli.py b/pipenv/cli.py
index 62a4165..e0af16c 100644
--- a/pipenv/cli.py
+++ b/pipenv/cli.py
@@ -997,7 +997,7 @@ def run(command, args, no_interactive=False, three=None, python=False):

     # Spawn the new process, and interact with it.
     try:
-        c = pexpect.spawn(which(command), list(args))
+        # use unicode mode ( https://github.com/pexpect/pexpect/pull/182 )
+        c = pexpect.spawnu(which(command), list(args))
     except pexpect.exceptions.ExceptionPexpect:
         click.echo(crayons.red('The command ({0}) was not found within the virtualenv!'.format(which(command))))
         sys.exit(1)
@@ -1011,7 +1011,9 @@ def run(command, args, no_interactive=False, three=None, python=False):

     # Interact with the new shell.
     if no_interactive:
-        c.wait()
+        c.logfile_read = sys.stdout
+        c.expect(pexpect.EOF)
     else:
         c.interact()
         c.close()

However,  pipe or redirect with stdin or stderr still not available.
$ echo "foo" | python3 -m pipenv run python3 -c "import sys; print(sys.stdin.readline())" | cat
# => no output
$ python3 -m pipenv run python3 -c "import sys; sys.stderr.write('foo')" 2> bar.txt
a
# => bar.txt is empty

All problems are solved by using os.exec. Pexpect is not required if no expects are used.
I think pipenv run should use os.exec instead of  pexpect.

Hey everyone, sorry this hasn't been addressed yet. We're trying to work through tickets as time permits. I don't see a particular reason that pipenv run needs to be a subprocess, and we have a whole list of tickets that pertain to problems because of this model. I'd like to see some formal verification that this approach doesn't break anything the subprocess currently supports though.
Using os.exec seems like it will help the honcho/coverage issues we've had in the past too. I'll need to investigate that further (or anyone with some spare time could verify that pipenv run honcho/pipenv run coverage [params] works with the os.exec model.)
@kennethreitz, do you have any particular reasoning that we need to be spawning off subprocesses for pipenv run?

Nope!

Just seemed like the best solution to me.

@nonylene can you send a pull request?

@kennethreitz OK, I will fix this !


What are all the options available, I want to be able to see some output of data that was received!

Title says all

There is no option for it, this can be add as a feature in future.


OCPBUGS-42765: Show all bootable volumes on all projects selected

📝 Description
With non-admin users and when All projects is selected, the list of bootable volumes is empty. Fetch all the bootable volumes.
How?
Create a hook that fetches all projects. If the user is not admin, use useK8sWatchResources to fetch the requested resource from all namespaces.
Cons: We fetch DataImportCron, PVC, VolumeSnapshots and DataSources on all namespaces.
This means that we'll fire 4 x NUMBER_OF_NAMESPACES requests at the same time. If we have lots of namespaces this can be an issue.
Pros: Switching to other namespaces will be faster as we cache the results for all single namespaces so we don't make other requests.
Another option to solve the problem is to disable All projects for non admin users
🎥 Demo
Before

After

/jira refresh


how to .config file edit

I am getting such an error

What am I supposed to do. Can you help me?

the whole error

thank


One line comments inside type annotations aren't supported

We are meant to support comments inside type annotations (inside of comments), as per https://apalache.informal.systems/docs/adr/002adr-types.html?highlight=Comments inside types#14-comments-inside-types.
However, it looks like the SANY importer annotation parser is stripping new lines out of the annotations, so one line comments become syntactically invalid.
For example, if we run
------------------- MODULE Test -----------------------
CONSTANT
\* @type: {
\*   // some comment
\*   f : Int
\*};
  test

============================================================

thru SanyImporter's loadFromSource, the annotation we pull out is:
@type(" { // some comment f : Int}")

While we have unit tests for the comments (e.g., https://github.com/informalsystems/apalache/blob/0cab80df2a9f6d2d54459e0f60fecdd0d5586b13/tla-types/src/test/scala/at/forsyte/apalache/tla/typecheck/TestDefaultType1Parser.scala#L190-L202), afaict we don't have integration tests to ensure that the comments can actually be parsed out of the annotations we can extract from the annotations.

I've traced the problem back to the CommentPreprocessor.


⚠ gorzdrav.org has degraded performance

In 3ad5a8d, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 3642 ms

Resolved: gorzdrav.org performance has improved in b77e83c.


Resolve file naming conflcts for Configuration artifacts

Fixes: #20642
Create more advanced ArtifactVisitor which detects file naming conflicts, and when detected
copes the file to a new temporary location with a new name.
Currently only resolves conflicts for artifacts with ModuleComponentIdentifier IDs.

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build


responseType "arraybuffer" is unsupported

I updated to 0.22.2 and now my socket.io code crashes and i get the following error message:

I just call
var io = require('socket.io-client/socket.io');
this.socket = io(this.chatUrl, {jsonp: false});

My environment: osx 10.11.3, iPhone 6 iOS 9.0 Simulator.

My workaround is extending the function _didReceiveData in the XMLHttpRequestBase.js file (react-native/Libraries/Network) like this:
 .......
  case 'arraybuffer':
    this.response = new Uint8Array(this.responseText.length);
    break;
  default: //TODO: Support other types, eg: document, arraybuffer, json
    invariant(false, `responseType "${this.responseType}" is unsupported`);
  }
  this.setReadyState(this.LOADING);

But i am not sure if this is the correct way!

My solution is to add
 transports: ['websocket']

to the io constructor configuration, so socket.io will use websocket only.
I tried to modify the XMLHttpRequestBase.js, although there is no error thrown, but it seems the socket is not receiving or sending correctly.

Thank you very much! It helped me after update react-native form 0.17.0 to 0.24.0
i received from socket.io server error with code: "parse error", when tried connect to socket.io server

Maybe a dup / can be merged with #1424 ?

Closing this in favor of the issue grabbou mentioned above


Rtsp Sample shows some frames with very large Video PTS randomly

This occurs randomly. Unsure why the best-effort timestamp is so large!


No commands work

Bug description
Whenever I try to use the play command or search command I get this in the bot console: [WARN] Errored Musikk#1352<PHONE_NUMBER>122395668) Error: Invalid URL
This also happens when I do the search command. I am not sure what I did wrong, I followed the instructions and the bot is running and online, but whenever I try the play or search command, that happens
Step to reproduce
setup the bot, run it, try the play or search command.
Operating system
Ubuntu 22.04 Linode VPS
Nodejs version
18.18.0
Errors / Logs
[WARN] Errored Musikk#1352<PHONE_NUMBER>122395668) Error: Invalid URL

did you perhaps leave some option on the env empty?

I did leave the owner and color stuff empty, but token, spotify, server and lavalink are configured.

I also got lavasource plugin and are using that. I want to play direct spotify links.

I did leave the owner and color stuff empty, but token, spotify, server and lavalink are configured.

dont leave any option in the env emptied

Ok I'll configure the rest of the options.

I also got lavasource plugin and are using that. I want to play direct spotify links.

put spsearc for DEFAULT_PLATFORM in the env

Thank you!

The plugin is only 1 file right? There were 2 release files on the github

The plugin is only 1 file right? There were 2 release files on the github

use stable one

I'm using v3.9 something. latest stable. Is the color imbed rgb values or hex? Sorry for all questions, but I am new to this.

I'm using v3.9 something. latest stable. Is the color imbed rgb values or hex? Sorry for all questions, but I am new to this.

hex withoud #

thanks! Now it loads and connects, but then I get this: Unhandled Rejection at: Promise {  TypeError: Cannot read properties of undefined (reading 'track') at Player.play (/root/Lunox/node_modules/poru/dist/src/Player/Player.js:79:31) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) } reason: TypeError: Cannot read properties of undefined (reading 'track') at Player.play (/root/Lunox/node_modules/poru/dist/src/Player/Player.js:79:31) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [AntiCrash] | [UnhandledRejection_Logs] | [end] : ===============

Search command also gives me errors.

I'm pretty sure I did everything correctly, so I don't understand why it's giving me errors.

the git clone --single-branch --branch master https://github.com/Enour-Dev/Lunox.git command did not work on my end when setting it up, so I did just git clone repo, is that the issue here?

the git clone --single-branch --branch master https://github.com/Enour-Dev/Lunox.git command did not work on my end when setting it up, so I did just git clone repo, is that the issue here?

i'll update the repo & do some changes. try clone it once again and fill everything on the env file. even the Link details.

ok. I'll just copy out the lavalink and .env then start from scratch.

once your errors fixed, please kindly close this issue.

will do, do I use the git clone repo command or the one that's on the github page?

will do, do I use the git clone repo command or the one that's on the github page?

same thing... you choose it will clone the same repo

[DEBUG] Player Created From<PHONE_NUMBER>084948571!
[AntiCrash] | [UnhandledRejection_Logs] | [start] : ===============
Unhandled Rejection at: Promise {
 TypeError: Cannot read properties of undefined (reading 'track')
at Player.play (/root/Lunox/node_modules/poru/dist/src/Player/Player.js:79:31)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
} reason: TypeError: Cannot read properties of undefined (reading 'track')
at Player.play (/root/Lunox/node_modules/poru/dist/src/Player/Player.js:79:31)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[AntiCrash] | [UnhandledRejection_Logs]
| [end] : ===============

Looks like it's less errors than yesterday at least.

Looks like it's less errors than yesterday at least.

check your lavalink config or you join to my discord server to test your bot using the freelavalink from my server

It's connecting to the lavalink fine, as I have logs from it via the other terminal window. I do however have IPv6 turned off, could that be an issue? In discord it sends an imbed with the track that should play, so it at least finds it.

It's connecting to the lavalink fine, as I have logs from it via the other terminal window. I do however have IPv6 turned off, could that be an issue? In discord it sends an imbed with the track that should play, so it at least finds it.

i know its connecting but i think your application.yml is missing something. thats why i recomended you to test out the lavalink on my discord server. to see if it gives you the same errors

I am using dafult java from ubuntu's apt manager if that has anything to do with anything.

looks like IPV6 is not the issue.

ah ok. What is your server link?

i put it on the repo homepage


Rest API: Introduce parameter based resource definition when creating an api

Currently according to [1] a full swagger definition has to be sent via the payload to create resource etc... It would be great if parameters can be introduced for the external developer to populate and the rest be through our code for ease of use
[1] https://docs.wso2.com/display/AM210/apidocs/publisher/#!/operations#APICollection#apisPost

To create an API, yes, we need to send the full definition because we are adding an API from the scratch. We can use the update swagger definition operation whenever there is a need to update the swagger definition only.


Errors may occur after changing the batchsize and update interval of the agent

I follow the example:
https://voidful.dev/jupyter/2021/07/25/textrl-elon-musk.html
I wonder why batchsize is larger than update_ Interval, so I modify as follows:
before:
agent = actor.agent_ppo(update_interval=10, minibatch_size=2000, epochs=20)
after:
agent = actor.agent_ppo(update_interval=100, minibatch_size=10, epochs=20)
Then, the following error occurs：
ValueError: Expected parameter loc (Tensor of shape (10, 50257)) of distribution Normal(loc: torch.Size([10, 50257]), scale: torch.Size([10, 50257])) to satisfy the constraint Real(), but found invalid values: tensor([[nan, nan, nan,  ..., nan, nan, nan],         [nan, nan, nan,  ..., nan, nan, nan],         [nan, nan, nan,  ..., nan, nan, nan],         ...,         [nan, nan, nan,  ..., nan, nan, nan],         [nan, nan, nan,  ..., nan, nan, nan],         [nan, nan, nan,  ..., nan, nan, nan]], device='cuda:0',        grad_fn=<AddmmBackward0>)

Hi Rongao
Sorry for late reply,
It seems that there is some bug in https://github.com/voidful/TextRL/blob/30109590ec2fe395a2e04cca19a46f6895792b88/textrl/actor.py#L21
maybe you can change it into pfrl.policies.SoftmaxCategoricalHead
https://pfrl.readthedocs.io/en/latest/policies.html
I may need more time to further look into this issue, and the following result will be updated here.
Thank you for the issue~

Hi, voidful. I am pleased to hear from you & Thank you for your suggestion. In addition, I have a suggestion to try to adjust the discount rate to 1, because in the process of natural language generation, it is not necessary to assign rewards according to the discount of time in the policy gradient.I adjusted this point, and in the experiment, it seems to have achieved good performance.
------------------ 原始邮件 ------------------
发件人:                                                                                "voidful/TextRL"                                                                                @.>;
发送时间: 2022年8月1日(星期一) 上午10:20
@.>;
<EMAIL_ADDRESS>主题: Re: [voidful/TextRL] Errors may occur after changing the batchsize and update interval of the agent (Issue #4)
Hi Rongao
Sorry for late reply,
It seems that there is some bug in https://github.com/voidful/TextRL/blob/30109590ec2fe395a2e04cca19a46f6895792b88/textrl/actor.py#L21
maybe you can change it into pfrl.policies.SoftmaxCategoricalHead
https://pfrl.readthedocs.io/en/latest/policies.html
I may need more time to further look into this issue, and the following result will be updated here.
Thank you for the issue~
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I will try later, Thank you for your suggestion. :)

pfrl.policies.SoftmaxCategoricalHead did help me. Faster & Better.

Hey voidful! I am still studing your project——Textrl. I am wandering is it possible for to add batch decode when the actor interacting with environment?
------------------ 原始邮件 ------------------
发件人:                                                                                "voidful/TextRL"                                                                                @.>;
发送时间: 2022年12月5日(星期一) 下午5:06
@.>;
<EMAIL_ADDRESS>主题: Re: [voidful/TextRL] Errors may occur after changing the batchsize and update interval of the agent (Issue #4)
Closed #4 as completed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

environment

Hey voidful! I am still studing your project——Textrl. I am wandering is it possible for to add batch decode when the actor interacting with environment?
…

It seems to be possible since PFRL do support batch training, i need to modify the environment a bit to support this feature. Hopes I can get back soon.


Switch ONNX ops test suite to use iree-org/iree-test-suites.

This test suite has moved from https://github.com/nod-ai/SHARK-TestSuite/tree/main/iree_tests/onnx to https://github.com/iree-org/iree-test-suites/tree/main/onnx_ops (see also the related RFC: https://groups.google.com/g/iree-discuss/c/GIWyj8hmP0k). I refactored the underlying code quite a bit and some test cases were regenerated, so some test pass/fail results are expected to change.
Also:

Updated docs at https://iree.dev/developers/general/testing-guide
Moved config files from build_tools/pkgci/external_test_suite/ to tests/external/

ci-exactly: build_packages, regression_test

Merging without waiting for the other tests to run since there is a multi-hour queue again. Trusting the previous test results.


update json-smart to 2.4.2

For issue Update net.minidev:json-smart in com.azure.spring:azure-spring-boot to v2.4.x
Please don't merge before @yiliuTo finishing spring release.
Reminder: @yiliuTo @chenrujun  I also changed spring_managed_external_dependencies.txt

Closing this PR, because the version in master branch already updated: https://github.com/Azure/azure-sdk-for-java/blob/96e8d627470e7dd21df7bc4a1fe7c3a5ff48dbde/eng/versioning/external_dependencies.txt#L70


T-T

My play store cannot download block laucher just keep error i try everything cannot still error help me zzz

@minespot Which device are you using? Which version of Android and which version of MCPE?


Test HTTPServer: Minor improvements and fix for errors on Ubuntu20.04

Running some tests multiple times would eventually show an error on
Ubuntu20.04 (approx 5-12%). This seems due to using multiple writes on
the reply socket, so these are merged into one write in
writeData(header:bodyData).

Add server debugging enabled by an environment variable
SCLF_HTTP_SERVER_DEBUG=YES

Remove the ServerSemaphore and use a DispatchGroup() to wait for the
server thread to start. ServerSemaphore has been moved to FTPServer
but will be removed from there at some point.

Simplify the writeData() function to remove the unused sending delays
and remove the now unneeded _send() function.

@swift-ci test

@swift-ci test


New jit less mode

Implement a new JITLess mode by patching SideStore/AltStore so that:

Constantly renew JITLess cert is no longer needed
The setup procedure is faster
Hopefully eliminate all issues related to setting up JITLess mode for both stores.

Moves some LiveContainerUI's file to LiveContainerSwiftUI and removed unused files.
Updated readme.md

Just tested this new build and it worked great. Jit-less patch was successful.

Works great.


Issue #9: Add Loading Skeletons

Description:
Implement loading skeleton states for various components to improve user experience during data fetching.
Tasks:

[ ] Create reusable skeleton component
[ ] Add skeleton state to Contributors page
[ ] Add skeleton state to Dashboard cards
[ ] Implement fade animation
[ ] Add skeleton to profile section

Technical Requirements:

React components
Tailwind CSS animations
Basic TypeScript knowledge

Acceptance Criteria:

Skeleton components display during loading
Smooth fade animations
Responsive design
Consistent styling with theme

can u assign this to me ?

Ping me about your progress when you start working on this

@nolostra any progress? Are you still working on this issue??

i am working on it , i work so might need some time

Ok Ping me as you make progres

hey @Siddheshuncodes something came up on end , might not be able to create a PR apologies
i am unassigning myself


[wish] move messages to a specified index path

To solve the following app use-case :
GIVEN message sending has failed
WHEN resending succeeds
THEN message timestamp is changed to latest time and it should be moved to the bottom of the screen

    open func moveMessage(
        _ message: GeneralMessengerCell,
        to index: Int)
    {
        precondition(Thread.isMainThread)
        precondition(0 != self.state.itemCount)

        let table = self.messengerNode

        let bottomIndexPath =
            IndexPath(
                row: index,
                section: NMessengerSection.messenger.rawValue)

        self.waitForMessageLock
        {
            [weak self] in

            guard let strongSelf = self,
                  let messageIndexPath = table.indexPath(for: message)
            else
            {
                self?.state.messageLock.signal()
                return
            }

            if let messageIndexInBuffer = strongSelf.state.cellBuffer.index(of: message)
            {
                strongSelf.state.cellBuffer.remove(at: messageIndexInBuffer)
                strongSelf.state.cellBuffer.insert(message, at: index)
            }

            DispatchQueue.main.async
            {
                precondition(Thread.isMainThread)
                table.moveRow(at: messageIndexPath, to: bottomIndexPath)
            }

            strongSelf.state.messageLock.signal()
        }
    }

    open func moveMessageToBottom(_ message: GeneralMessengerCell)
    {
        precondition(Thread.isMainThread)
        precondition(0 != self.state.itemCount)

        let isInverted = true
        let bottomIndex: Int = (isInverted) ? 0 : (self.state.itemCount - 1)

        self.moveMessage(message, to: bottomIndex)
    }

No luck so far. The messages disappear but some blank space appears at the bottom.
Will workaround with "delete + add" so far.

Add + remove works only with `. scrollsToMessage =true"
    private func implMoveMessage(
        _ message: GeneralMessengerCell,
        to index: Int,
        completion: (()->Void)? = nil)
    {
        precondition(Thread.isMainThread)
        precondition(0 != self.state.itemCount)

        self.removeMessagesWithBlock(
            [message],
            animation: .none)
        {
            DispatchQueue.main.async
            {
                self.addMessagesWithBlock(
                    [message],
                    scrollsToMessage: true,
                    withAnimation: .bottom,
                    completion: completion)
            }
        }
    }

Otherwise it crashes since .state.cellBuffer is out of sync with the moved cell index.


PRD: PLG users can manage their local embeddings

Description:

PLG users (both free and pro) will be able to generate local embeddings up to certain rate limits. (Embeddings for enterprise users are managed by an admin and cannot be generated by individual users.) We need UX to support several scenarios:

Embeddings that were initially generated through the app and have now been "transferred over" and are available locally through the extension itself
New embeddings that the user can generate for an open project through the extension
Embeddings that are available via open source projects indexed on dotcom

Objectives:

Make it clear to the user when embeddings are or are not available to a user for an open project, and enable them to generate embeddings for an open project (when possible) up to their individual rate limit.
The acceptance criteria below reflect MVPs, but in the future, we'll want to iterate on providing more visibility into the "freshness" of embeddings and whether they reflect remote or local versions.
Acceptance Criteria:

As a user who generated embeddings for my-project through the Cody app, I see via the context selector that embeddings for my-project are available.

As a user working in a project that hasn't been embedded yet (either through the app or the extension), I see via the context selector that I can generate embeddings for the open project.

As a user working in an open source project that has embeddings on Sourcegraph.com, I see via the context selector that embeddings are available and inherited.

As a user who wants to generate embeddings for a project, but the project would exceed my embeddings quota, I see that I cannot generate embeddings for the project and an explanation for why.
@toolmantim Is there already a design for this that I've missed? In place of the "The repository's contents will be uploaded to OpenAI . . ." copy, I think we need a notification and link to sourcegraph.com/cody/manage where users can view their various rate limit quotas or upgrade. "Generating embeddings for this repository would exceed your rate limit. Upgrade [link]." Note: the PLG team is handling sourcegraph.com/cody/manage and users' visibility into their rate limit quotas.
As a user who wants to remove embeddings that I've generated for my project, I can remove them via TODO but I understand that this will not change my remaining embeddings quota.
@toolmantim what do you think is the best UX for this? I can imagine a section in the Cody Setting with a list of all the projects that have embeddings generated and options to delete them, or potentially an option within the "Enhanced Context" window (though I worry that may feel busy and give us less room to explain what is happening when a user removes local embeddings.
Design Tasks:
### Design Tasks

Engineering Tasks:
### Engineering Tasks

Related Docs:

PRD: Cody Chat and Commands
PRD: Cody Context
Cody App Sunset Plan PRD

@toolmantim, @taylorsperry there's another reaction I had while testing local embeddings. This is me as a user. If I start a job, and open a different workspace, does indexing pause? (Today we keep churning in the background.)

Another thought just occurred to me, @toolmantim and @dominiccooney: When a user clicks the "Enable embeddings" button, I assume that the "Embeddings" context source in the Enhanced Context selector will update to show something like this. Correct? They don't need to click anything else?

I can dig into these.
What are some use cases/scenarios for them wanting to remove embeddings?

@taylorsperry yep, it would change to indexing

"As a user who wants to generate embeddings for a project, but the project would exceed my embeddings quota, I see that I cannot generate embeddings for the project and an explanation for why."

@taylorsperry I like the words you suggested: "Generating embeddings for this repository would exceed your rate limit." — is "rate limit" the right word to be using for quota/usage though? @chenkc805 what words are we using on the PLG side?
@dominiccooney will there need to be a "Calculating estimated embeddings size…" stage with a spinner etc that needs to happen?

We should market it not as a rate limit (ie. implies it resets after some period of time), but instead as a lifetime quota. So something like:

Generating embeddings for this repository would exceed your total embeddings quota of {200mb|1 GB}

For the design, let's start by adding usage estimates in a paragraph of text here:

I accidentally closed the ticket. But I think this is probably good to close yeah @taylorsperr?


flow output not paired up precisely

Looking at the flow data from cassandra, I noticed a mismatch on bookend annotations.
For example, something is logging ["cs", "sr"] on a root span. This is a bit odd, as root spans either start with a "cs" or an "sr", and end (respectively) with an "cr" or "ss". This leaves the following normal combinations, none of which being ["cs", "sr"].
["cs", "cr"]
["sr", "ss"]
["cs", "sr", "ss", "cr"]
Reason I mention this is that I'm working on cassandra tuning of zipkin, and the input data having root spans like ["cs", "sr"] leaves no means to accurately compute the span's duration (since neither the client was closed, nor the server opened). If we can change the code to generate one of the above forms, the test I'm doing will be more realistic.
{"traceId":"0000000000000546","name":"Put","id":"0000000000000546","annotations":[{"endpoint":{"serviceName":"cassandra.*.*..www00...www.denominator","ipv4":"<IP_ADDRESS>","port":8080},"timestamp":1460925455820459,"value":"cs"},{"endpoint":{"serviceName":"cassandra.us-east-1.*..www-elb00...www-elb.elb","ipv4":"<IP_ADDRESS>","port":8080},"timestamp":1460925455820515,"value":"sr"}]}

But,
"There are four annotations the one span must have in order to construct a
full-view of a RPC call (in chronological order): cs, sr, ss, cr,
in which c stands for the client, s stands for the server and the
second s stands for send, the second r stands for receive. Please note
that these annotations does not have to be all present in one span"
On Mon, Jul 4, 2016 at 8:21 PM, Adrian Cole<EMAIL_ADDRESS>wrote:

Looking at the flow data from cassandra, I noticed a mismatch on bookend
annotations.
For example, something is logging ["cs", "sr"] on a root span. This is a
bit odd, as root spans either start with a "cs" or an "sr", and end
(respectively) with an "cr" or "ss". This leaves the following normal
combinations, none of which being ["cs", "sr"].
["cs", "cr"]
["sr", "ss"]
["cs", "sr", "ss", "cr"]
Reason I mention this is that I'm working on cassandra tuning of zipkin,
and the input data having root spans like ["cs", "sr"] leaves no means to
accurately compute the span's duration (since neither the client was
closed, nor the server opened). If we can change the code to generate one
of the above forms, the test I'm doing will be more realistic.
{"traceId":"0000000000000546","name":"Put","id":"0000000000000546","annotations":[{"endpoint":{"serviceName":"cassandra....www00...www.denominator","ipv4":"<IP_ADDRESS>","port":8080},"timestamp":1460925455820459,"value":"cs"},{"endpoint":{"serviceName":"cassandra.us-east-1.*..www-elb00...www-elb.elb","ipv4":"<IP_ADDRESS>","port":8080},"timestamp":1460925455820515,"value":"sr"}]}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/adrianco/spigo/issues/75, or mute the thread
https://github.com/notifications/unsubscribe/ACWGWAs2p9iayCRZ2v_S0XATjABGydWkks5qSc3FgaJpZM4JEv82
.

@hubayirp I'm aware of what the annotations are used for, I'm just curious what your comment is eluding to.
Can you be more precise with your recommendation?

In Spigo, there is no acknowledgement of a Put. That might be the issue.
It you look at a GetRequest/GetResponse you should see the full set of four
annotations.
Adrian
On Monday, July 4, 2016, Adrian Cole<EMAIL_ADDRESS>wrote:

@hubayirp https://github.com/hubayirp I'm aware of what the annotations
are used for, I'm just curious what your comment is eluding to.
Can you be more precise with your recommendation?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/adrianco/spigo/issues/75#issuecomment-230384125, or mute
the thread
https://github.com/notifications/unsubscribe/AAG0VCzfkxf2odplG7mBFTRyvF4iapbMks5qSdnJgaJpZM4JEv82
.

ic, so this is about a fire-and-forget operation. duration is tricky to derive since we can't derive the time spent doing the Put from annotations. One way is we could fabricate the time spent doing the put (ex adding span.duration). Another way is for me to find another file to look at :)

seems to also be the case in a root span of type GetRequest in netflixoss_flow.json. I'd imagine the trip back to be in the same span.
  {
    "traceId": "0000000000000292",
    "name": "GetRequest",
    "id": "0000000000000292",
    "annotations": [
      {
        "endpoint": {
          "serviceName": "netflixoss.*.*..www00...www.denominator",
          "ipv4": "<IP_ADDRESS>",
          "port": 8080
        },
        "timestamp":<PHONE_NUMBER>460220,
        "value": "cs"
      },
      {
        "endpoint": {
          "serviceName": "netflixoss.us-east-1.*..www-elb00...www-elb.elb",
          "ipv4": "<IP_ADDRESS>",
          "port": 8080
        },
        "timestamp":<PHONE_NUMBER>506919,
        "value": "sr"
      }
    ]
  }

The getresponse should be the same traceid to complete the flow
I could generate a response for a put, it's needed to simulate failures to
write.
Adrian
On Monday, July 4, 2016, Adrian Cole<EMAIL_ADDRESS>wrote:

seems to also be the case in a root span of type GetRequest in
netflixoss_flow.json. I'd imagine the trip back to be in the same span.
{
"traceId": "0000000000000292",
"name": "GetRequest",
"id": "0000000000000292",
"annotations": [
{
"endpoint": {
"serviceName": "netflixoss....www00...www.denominator",
"ipv4": "<IP_ADDRESS>",
"port": 8080
},
"timestamp":<PHONE_NUMBER>460220,
"value": "cs"
},
{
"endpoint": {
"serviceName": "netflixoss.us-east-1.*..www-elb00...www-elb.elb",
"ipv4": "<IP_ADDRESS>",
"port": 8080
},
"timestamp":<PHONE_NUMBER>506919,
"value": "sr"
}
]
}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/adrianco/spigo/issues/75#issuecomment-230385944, or mute
the thread
https://github.com/notifications/unsubscribe/AAG0VCNnBIYsBo4VotVU20HzqCR7xVkfks5qSd9ZgaJpZM4JEv82
.

maybe something isn't emitting the GetResponse events to the flow json
recorder thing for the root span. I spot checked a couple, and they don't
seem to have the closing event.
https://github.com/adrianco/spigo/blob/master/json_metrics/netflix_flow.json
https://github.com/adrianco/spigo/blob/master/json_metrics/lamp_flow.json

Ok. I'll take a look.
On Monday, July 4, 2016, Adrian Cole<EMAIL_ADDRESS>wrote:

maybe something isn't emitting the GetResponse events to the flow json
recorder thing for the root span. I spot checked a couple, and they don't
seem to have the closing event.
https://github.com/adrianco/spigo/blob/master/json_metrics/netflix_flow.json
https://github.com/adrianco/spigo/blob/master/json_metrics/lamp_flow.json
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/adrianco/spigo/issues/75#issuecomment-230398649, or mute
the thread
https://github.com/notifications/unsubscribe/AAG0VE06G_VTv6Z88lRGF0hbm_oGMTssks5qSfySgaJpZM4JEv82
.


Add unit testing for the Edit, Mark as Done and the Clear done functions

Use jest framework for testing.
Create a test file(s) ([..].test.js) for a file(s) containing the following functions:
a function for editing the task description.
a function for updating an item's 'completed' status.
the "Clear all completed" function.
Use the mock storage object you have created in Part 1 of this project to mock the localStorage updates.
Mock the HTML elements to test DOM manipulation functions.
Make sure you group your tests using the describe() method.

Hi @kkolade, @maherramadan78 and @shobeee,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project, that fails to run the test correctly. After npm i, npm run test failed but npm run dev passed and worked. Let us kindly fix our test script

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

@addod19 thanks for your prompt review, please I believe the error is from your computer, look at the error message carefully and you will see that it is from your node modules


Glyphicons should be a dependency

I'm looking to replace glyphicons by another font, and the solution is quite hard as it will then be boring for the future updates.
What I suggest is to move glyphicons in a gem and update the README.md in order to suggest to add that gem.
This would allow anyone to use another gem adding another font.
For instance, let say someone want to use the standard stack, he would have in his Gemfile
source 'https://rubygems.org'

...
gem 'bootstrap-sass'
gem 'font-glyphicons-sass'
gem 'sass-rails'
...

while another guy would like to use another font
source 'https://rubygems.org'

...
gem 'bootstrap-sass'
gem 'font-awesome-sass'
gem 'sass-rails'
...

This solution would avoid any difficulties to upgrade Bootstrap. Another advantage is that when an update of the font is done, only the glyphicons gem would be updated limiting the download size, and vise-versa.

Follow the instructions here to disable the Glyphicons component.
We don't usually change the file naming between minor versions, and v4 drops Glyphicons, so we are unlikely to make this change.


[TheWitcher] fix some css issues and rework background tab

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[ ] I have followed the Character Sheets Standards when building this sheet.

[ ] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Character Sheet Info Roll20 Internal Use only.

Hey there @Stexinator, there are some conflict in your pull request within wichersheet.html. Could you rebase and fix the issues and update you PR? Thanks for all the work you do.

Miguel

@mperes its done. It was quite hard this time due to Esper Generation introducing wrong line endings. You really should introduce a policy regarding forced line endings

https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings

Sorry to hear that @Stexinator, I am aware this is a recurring issue, I will take this to our daily meeting today and see if we can come up with a solution for it.


Retains dimensions of flags from the original HTML in the output DITA

Fixes #639.

Thanks Robin,
I was just "kicking the tyres" a little, and moved the France1.1 flag to go immediately before the h2 title, instead of after it:

The code fell over at this line, though it looks like country_flag isn't used anywhere, and can be deleted:
https://github.com/DeepBlueCLtd/LegacyMan/pull/646/files#diff-4b3d0c7b7f7b179f5eae8ad9d87891455caf6f2e18e73b59cc9eb93a3bc4886aL246
File "/Users/ian/git/LegacyMan/parser/lman_parser.py", line 215, in process_sub_region
       if does_image_links_table_exist(self.root_path / path):
File "/Users/ian/git/LegacyMan/parser/parser_utils.py", line 246, in does_image_links_table_exist
    country_flag = title.find_next("img")["src"]
TypeError: 'NoneType' object is not subscriptable

I removed that line, and then the parse fell over at:
  File "/Users/ian/git/LegacyMan/parser/lman_parser.py", line 219, in process_sub_region
    self.process_category_pages(
  File "/Users/ian/git/LegacyMan/parser/lman_parser.py", line 425, in process_category_pages
    flag_img["src"], flag_img.get("width"), flag_img.get("height")
TypeError: 'NoneType' object is not subscriptable

I can't verify this scenario as being present until PM on Monday, but it wouldn't surprise me at all if the flag didn't always come immediately after the h2.  Where it doesn't happen I can probably fix them manually, but it would be easier for me if the parser logged a "missing flag" error to the console than if it fell over.

Hmm, that's interesting - that's a different use of the country_flag that I wasn't aware of, in a different function.
I suspect if it hadn't crashed in that function it would have crashed in one of the places that country_flag is used (and one of the places I recently updated it). I'll add some code to print an error if it can't find the flag rather than crashing.

that sounds great, thanks.

Fixed now, it gives an warning of:
WARNING:  Cannot find flag image in page ../France1/France1.1.html

And replaces the URL to the non-existent image with a filename of FlagImageNotFound.jpg, so we get a sensible error in the publish step where it can't find the image referred to.

We're correctly passing the height and width parameters.
But, when I go to check spain.dita it does not contain the flag data at all.  I put in trace lines, and saw the flag data was collated, and the flag-section created, and present in the output to file.  It appears that Spain.html is being processed twice: once as a category page (which picks up the flag data), and once as a generic file (which ignores the flag data).
I started to capture this as an unrelated issue, but am starting to wonder if it's related to the collection of flag data.  Since the flag images link back to the country, could that mean that the country page gets added to the "shopping list", which makes it get processed as a generic file?  (so over-writing when it got processed as a category page).


need Gadget to attach on jailed iOS; its default location is: /Users/imac/.cache/frida/gadget-ios.dylib

Start the target app com.xxxxx
need Gadget to attach on jailed iOS; its default location is: /Users/imac/.cache/frida/gadget-ios.dylib

https://github.com/frida/frida/releases/download/14.2.2/frida-gadget-14.2.2-ios-universal.dylib.gz
Download this and perform the following steps. it works fine for me :)
$ gunzip frida-gadget-14.2.2-ios-universal.dylib.gz
$ mkdir -p ~/.cache/frida
$ cp frida-gadget-14.2.2-ios-universal.dylib ~/.cache/frida/gadget-ios.dylib

https://github.com/frida/frida/releases/download/14.2.2/frida-gadget-14.2.2-ios-universal.dylib.gz
Download this and perform the following steps. it works fine for me :)
$ gunzip frida-gadget-14.2.2-ios-universal.dylib.gz
$ mkdir -p ~/.cache/frida
$ cp frida-gadget-14.2.2-ios-universal.dylib ~/.cache/frida/gadget-ios.dylib

invocation of 0x10ce18000 crashed at 0x10ce18034: TARGET_EXC_BAD_ACCESS, EXC_BAD_ACCESS, [ 0x1, 0x10 ]
REGISTERS:
x0: 0x000000010ce1c000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
x4: 0x0000000000000000   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000000
x8: 0x0000000000000000   x9: 0x0000000000000000  x10: 0x0000000000000000  x11: 0x0000000000000000
x12: 0x0000000000000000  x13: 0x0000000000000000  x14: 0x0000000000000000  x15: 0x0000000000000000
x16: 0x0000000000000000  x17: 0x0000000000000000  x18: 0x0000000000000000  x19: 0x0000000000000000
x20: 0x0000000000000000  x21: 0x0000000000000000  x22: 0x0000000000000000  x23: 0x0000000000000000
x24: 0x0000000000000020  x25: 0x0000000000000000  x26: 0x0000000000000000  x27: 0x0000000000000000
x28: 0x0000000000000000   fp: 0x000000016eeb7a70   lr: 0x0000000000000539   pc: 0x000000010ce18034
sp: 0x000000016eeb7a10
LOCATION:
0x000000010ce18034	0x10ce18034

invocation of 0x10ce18000 crashed at 0x10ce18034: TARGET_EXC_BAD_ACCESS, EXC_BAD_ACCESS, [ 0x1, 0x10 ]
REGISTERS:
x0: 0x000000010ce1c000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
x4: 0x0000000000000000   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000000
x8: 0x0000000000000000   x9: 0x0000000000000000  x10: 0x0000000000000000  x11: 0x0000000000000000
x12: 0x0000000000000000  x13: 0x0000000000000000  x14: 0x0000000000000000  x15: 0x0000000000000000
x16: 0x0000000000000000  x17: 0x0000000000000000  x18: 0x0000000000000000  x19: 0x0000000000000000
x20: 0x0000000000000000  x21: 0x0000000000000000  x22: 0x0000000000000000  x23: 0x0000000000000000
x24: 0x0000000000000020  x25: 0x0000000000000000  x26: 0x0000000000000000  x27: 0x0000000000000000
x28: 0x0000000000000000   fp: 0x000000016eeb7a70   lr: 0x0000000000000539   pc: 0x000000010ce18034
sp: 0x000000016eeb7a10
LOCATION:
0x000000010ce18034	0x10ce18034

invocation of 0x10ce18000 crashed at 0x10ce18034: TARGET_EXC_BAD_ACCESS, EXC_BAD_ACCESS, [ 0x1, 0x10 ]
REGISTERS:
x0: 0x000000010ce1c000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000000 x9: 0x0000000000000000 x10: 0x0000000000000000 x11: 0x0000000000000000
x12: 0x0000000000000000 x13: 0x0000000000000000 x14: 0x0000000000000000 x15: 0x0000000000000000
x16: 0x0000000000000000 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000000000000
x20: 0x0000000000000000 x21: 0x0000000000000000 x22: 0x0000000000000000 x23: 0x0000000000000000
x24: 0x0000000000000020 x25: 0x0000000000000000 x26: 0x0000000000000000 x27: 0x0000000000000000
x28: 0x0000000000000000 fp: 0x000000016eeb7a70 lr: 0x0000000000000539 pc: 0x000000010ce18034
sp: 0x000000016eeb7a10
LOCATION:
0x000000010ce18034 0x10ce18034

beware of the version of the gadget-ios.dylib you put in, is the same version of frida you install on your mac (use frida --version to check it out, and use sudo pip install frida='version number' to specify the correct version to install)

facing same issue, Any solution?

frida on Mac and iPhone should be the same version

ever figure how to solve this?


Most users don't know about adding https:// before their urls. We should assume that many will freehand a url and omit the https://

Most users don't know about adding https:// before their urls. We should assume that many will freehand a url and omit the https:// thoughts on opening a ticket to resolve this issue?
Originally posted by @FrederickEngelhardt in https://github.com/zenoamaro/react-quill/issues/529#issuecomment-568080144

This is a behavior of the Quill editor. While I agree with your suggestions, I can't implement them in ReactQuill. Please open a ticket here: https://github.com/quilljs/quill/issues

@jurisjansons
you can prepend http scheme to urls for your users:
import Quill from 'quill'
const Link = Quill.import('formats/link');
Link.sanitize = function(url) {
  // quill by default creates relative links if scheme is missing.
  if (!url.startsWith('http://') && !url.startsWith('https://')) {
    return `http://${url}`
  }
  return url;
}

@heyalexchoi that means I need to add an extra dependency(quill) to the project and make the bundle size more heavy?

@Puspendert Quill is a dependency of React-Quill already


python312.jaxlib-bin: throw on missing gpuSrc

Better throw than to do an uncatchable missing attribute error
https://www.github.com/NixOS/nixpkgs/pull/338199
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

I think the offenders are users like
  passthru.tests = {
    test_cuda_jaxlibSource = callPackage ./test-cuda.nix {
      jaxlib = jaxlib.override { cudaSupport = true; };
    };
    test_cuda_jaxlibBin = callPackage ./test-cuda.nix {
      jaxlib = jaxlib-bin.override { cudaSupport = true; };
    };
  };

I think we should default src to some placeholder value (like null or "") and set broken or limit platforms to prevent these tests from being evaluated on darwin


Add exclude_modules option for _collect_instances

This PR adds the ability to exclude specified import paths from calls to collect_instances, collect_subclasses or walk_modules. This might be desirable if some module (or its submodules) contain imports of libraries you only have installed in a dev configuration, or if you have large/slow modules to walk.

thanks for the PR!
I can definitely see how excluding modules would be useful in practice and your implementation looks solid, but I'd prefer to keep these functions as-is
My hesitation is mostly with the interface of a list of stringified module names as an argument. It makes sense since we're trying to avoid importing those modules but I'm not sure it'd be obvious to users without tracking down the test case.
Since the function is the experimental module and generic (not coupled to alembic_utils) keeping it in a separate module feels like the right choice

Insofar as this function is useful in the first place (which i definitely think it is!) for finding alembic-utils objects (like views defined throughout a set of database models), the current implementation suffers from lack of flexibility.
If, for whatever reason you cannot import a module or package in the greater context of your root package. Say, like @srohr said, due to dev-deps or optional deps. or maybe side-effects, the mutation of the MetaData as you import models, comes to mind). But whatever the reason, your only options are:

change your organization strategy, colocate all alembic-utils-defined objects in one root location (maybe fine, but kind of annoying)
use a series of calls for known-okay paths. (at which point it kind of defeats the purpose; you might as well individually import them)
fork the implementation (sad)

Truly, I think an explicit exclusions list is the most direct and least ambiguous way of solving the problem.
But an alternative that comes to mind is you might instead
try:
    module = importlib.import_module(module_import_path)
except ImportError:
    continue
else:
    yield module

This seems less ideal to me, but is really the only other obvious solution to the problem.


Chap 5 - Add Tour operator app 🌍 with function calling

https://www.youtube.com/watch?v=tLeqCDKgEDU
https://github.com/andfanilo/social-media-tutorials/blob/master/20231116-st_assistants/streamlit_app.py
https://github.com/opengeos/streamlit-map-template

https://github.com/widgetti/wanderlust
https://github.com/achultman/wanderlust
https://github.com/serpapi/Wander

Wanderlust by Fanilo

Look into pydeck chart as alternative to mapbox in v1.39:
📍 st.pydeck_chart can return selection events!

instead of approximatively providing the latitudes and longitudes of the markers, use the mapbox api to locate them precisely. For instance Notre Dame Cathedral location is 48.8529682,2.3499021
def add_markers_state(place_names=None, latitudes=None, longitudes=None, labels=None):
    """OpenAI tool to update markers in-app using precise geocoding"""
    if place_names is not None:
        # New format: use geocoding
        latitudes = []
        longitudes = []
        labels = []
        for place in place_names:
            result = geocode(place)
            if result:
                lat, lon = result
                latitudes.append(lat)
                longitudes.append(lon)
                labels.append(place)
    elif latitudes is not None and longitudes is not None and labels is not None:
        # Old format: use provided coordinates
        pass
    else:
        return "Invalid input format"

    if latitudes and longitudes:
        st.session_state[markers_state] = {
            "lat": latitudes,
            "lon": longitudes,
            "text": labels,
        }
        return f"Markers added for: {', '.join(labels)}"
    return "No valid locations found"

def geocode(place_name):
    """Use Mapbox Geocoding API to get precise coordinates"""
    base_url = "https://api.mapbox.com/geocoding/v5/mapbox.places/"
    url = f"{base_url}{place_name}.json?access_token={mapbox_token}"
    response = requests.get(url)
    if response.status_code == 200:
        data = response.json()
        if data['features']:
            lon, lat = data['features'][0]['center']
            return lat, lon
    return None


Load specific types of entities only for read, improving the performance

Is your feature request related to a problem? Please describe.
No, it's a feature request.
Describe the solution you'd like
I want to load only specific type of entity, using less time to read the DWG.
The main goal mine is read the attributes from inserted blocks.

Hi @xaotix,
if this feature is quite complicated and I will have to investigate if is worth for time/resources wise, to give you some context about how the file reading works this is the minimal workflow to follow until you get to the objects:
FileHeader --> DocumentHeader --> DxfClasses --> Handles --> Objects
This is the minimum to get enough information to read the objects section. Once in the Objects Section we could test to add a filter by ObjectType or DxfClass considering that some objects go by one or the other (for example, the Hatch entity has an ObjectType but also a DxfClass depending on the version or the file itself).
This seems easy but the problem is that in the Handles section, sometimes, is not complete, meaning that you find the different objects by reading their parent object, so to get the Attributes of an inserted block we may found some cases where they are missing because the handles are not there and you have to read the whole block to access to them.
Considering all this, we could investigate the amount of time and resources that we could spear by reading an specific ObjectType and without building the whole document.

@DomCR thank you for the clarification.
I tried changing the code to only load the basic entities and the attributes. And it happened as you described: some objects returned missing or corrupted information.

Closing this issue due inactivity, please feel free to push a PR with a propose or open a discussion for further support.


Container runtimes

The command gives un error in ubuntu :
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add --keyring /etc/apt/trusted.gpg.d/docker.gpg -

@rpiteira I think this is a duplicate of issue #24723
Would you have time to check that and confirm?
/language en

(if it's not a duplicate, please provide the error message and mention the version of Ubuntu that you were using when you saw that error)

Hi @sftim , It's a duplicate, the problem is the same ;)


Can't add script component

When dragging Fluid script to water plane I get a "Can't add script " error ~ because the script class can't be found.
Also from inside the BoatEx ~the associated script cant be loaded
Unity 2021.3.8f1

Hi thank you for opening an issue. I was not able to recreate the issue. Would you mind sending me a copy of the Unity Project or a Unity Project where this happens? Do you have any compile errors on the scripts?


[WIP] Add Adaptive Sampling Support for gRPC Remote Storage

Which problem is this PR solving?

Towards: #3305

Description of the changes

How was this change tested?

Not tested yet

Checklist

[ ] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
[ ] I have signed all commits
[ ] I have added unit tests for the new functionality
[ ] I have run lint and test steps successfully

for jaeger: make lint test
for jaeger-ui: yarn lint and yarn test

Creating a draft PR to get reviews if I am on the right track or probably missing something.

I was thinking of using one of the already created backend implementation with a gRPC connection.

ok. Maybe start with that.


Don't set application_name for Oracle databases

Required since Oracle databases don't accept application_name to be set as part of the connection string

@shatteringlass This is in 1.6.0, now on PyPI!


Optimize bullet collision check

If x coordinate (+bulletsize) of rightmost bullet of left player is lower than x coordinate of right player
--> rest of bullets also not in range yet (don't have to be checked)

range check and continue inefficient


Fontsize of image description

Where can I change the fontsize of image description?

Use custom CSS, like
#theImageComment h4 {
  font-size: 1.25rem;
}

(1.25rem basically makes it a h5, which will be the default in next version)

Danke!

Bitte! ;-)


feat(workflow): improve DX by triggering rebuild on changes

Changes

closes #869
improvements in DX

package.json will be changed during init to invoke shopware-pwa dev or shopware-pwa build
files are watched and proper commands are invoked on those changes

it watches for those events (test scenarios):

override component
change anything in CMS components
change something in local plugins
change local translations
change local plugins translations

Checklist

[x] I followed contributing guidelines

I can confirm that rebuilding is triggered by:
:heavy_check_mark: override component
:heavy_check_mark: change anything in CMS components
:heavy_check_mark: change something in local plugins
:white_check_mark: change local translations
:white_check_mark: change local plugins translations


KAFKA-13133 Replace EasyMock and PowerMock with Mockito for AbstractHerderTest

Builds on top off https://github.com/apache/kafka/pull/11137 by @wycccccc which seems to have gone stale (so they should be credited as a co-author if this PR is merged)
Rebased onto latest trunk, fixed conflicts and replaced usage of EasyMock with Mockito in newly added tests
Addressed review comments by @mimaison on https://github.com/apache/kafka/pull/11137

https://github.com/apache/kafka/pull/12473 got here first, closing this one :)

#12473 got here first, closing this one :)

Ah duplicated effort! Please assign the JIRA to yourself (or add a comment) if you beginning to work on something. I helps avoid the wasted effort. Meanwhile if you are looking for more tests to fix, please grab some from https://issues.apache.org/jira/browse/KAFKA-14132


fixup docs/readme

Pull Request Test Coverage Report for Build 558492365

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.264%

Totals

Change from base Build 558284104:
0.0%

Covered Lines:
2350

Relevant Lines:
2493

💛  - Coveralls


bower.json is wrong

you forgot  to add css in the main .
the package offer 2 main files javascript for the same bower.json. This is inconsistent. 		"./jquery.qtip.js",
"./basic/jquery.qtip.js"

This is fixed as of v3.0.0


OpenGL depth issues in Ocarina of Time (probably others too)

This is no longer happening as of 3f5bf10987512c80ae9c79468cfb6ce430a4b00d for this particular case, will re-open if this reappears for an other rom.


Fix Docker image to use CUDA 11.1

Reverts cupy/cupy#4738

I confirmed docker image built locally. LGTM!


Update Projects

Order projects by recent activity, most active projects first.
Remove broken links.
Mark discontinued projects.
Add project oh2fih/securitytxt-tools

Should this be formatted as a table instead of a list?

Any feedback on this, @EdOverflow?

Cool! Well, it is now a table, but looks fine to me at https://securitytxt.org/projects.


[fix] default to being more secure with https

Enables the proper cipher suites to be properly forward secure and all that jazz. These are the defaults for iojs but we should default them here so our users can be more secure.
See https://certsimple.com/blog/a-plus-node-js-ssl

Lets add something to README.md so that users know we've gone out of our way to make this better.

@indexzero will do

:+1: +1 lgtm


Fetch blob as stream

Here we need this functionality: https://github.com/tailhook/vagga/pull/572

Looks good! Lets add some unit tests - i.e. https://github.com/vrutkovs/dkregistry-rs/commit/325e87b2f8663a2897c6735cd18512cba2c09e18

Looks good! Lets add some unit tests - i.e. vrutkovs@325e87b

Oh, thanks. Yesterday also wanted to add tests but don't find out why network tests failed.

Network tests are passing, but in Github Actions we get 429 from quay. Investigating this in #222

@vrutkovs We want to display a progress bar while downloading a layer. At the moment we cannot do that as there is no api to know layer's size. I suggest to slightly change a fetching blob api like following:
let blob_resp = dkclient.get_blob_response().await?;
let blob_size = blob_resp.size();
let blob_stream = blob_resp.stream();

Implemented getting blob size when using stream api.

This looks great, thank you! Lets merge this now and adjust later if necessary


assert in write_cxxrtl

m68k.v is the result of sv2v on fx68k
Do:
read -vlog95 m68k.v
hierarchy -top fx68k
write_cxxrtl m68k.cc
The write_cxxrtl step asserts in dump_sigchunk with a WireType::UNUSED that is not lhs.
ERROR: Assert `is_lhs' failed in backends/cxxrtl/cxxrtl_backend.cc:897.
m68k.zip

mem.zip
Missing mem files

mem.zip
Missing mem files

I've looked at this a bit and the issue appears to be that during write_cxxrtl it detects the wire as unused at optimization level -O5 or above. Those allow "public" wires (iirc this is Yosys slang for "named in the design but not an output), to be marked as LOCAL which means they're not exposed outside the eval() method for CXXRTL.
This later leads to the wire in question (in this case nDecoder.pcRelDbl) being marked as UNUSED because it ends up being able to be totally optimized out of the design (not 100% sure about the details on how that optimization takes place, but I'm assuming it's valid and that the tree of wires it connects to eventually terminates as unused).
Because the wire is UNUSED, this means that nothing should assign to it ever leading to the reason for the failing assert to exist. However, during -g4 (the highest debug info setting), debug info is created for all public signals in the design, including those that are optimized out. In order to do this it actually generates a secondary eval() method that includes such unoptimized signals in the design, running through the passes but with for_debug = true.
This shouldn't fail because theoretically there's a separate WireType mapping for the wires in debug mode, where UNUSED should be mapped to something else.  I think the actual issue is the use of || instead of && here
https://github.com/YosysHQ/yosys/blob/01626e6746e85832d5b75785b9e45f39ff8eb299/backends/cxxrtl/cxxrtl_backend.cc#L2650
Since some wires will be in one set but not the other, and that check actually tests for the wire being unused in both sets. Patching that seems to resolve the issue and I'll submit a PR.

I've looked at this a bit and the issue appears to be that during write_cxxrtl it detects the wire as unused at optimization level -O5 or above. Those allow "public" wires (iirc this is Yosys slang for "named in the design but not an output), to be marked as LOCAL which means they're not exposed outside the eval() method for CXXRTL.
This later leads to the wire in question (in this case nDecoder.pcRelDbl) being marked as UNUSED because it ends up being able to be totally optimized out of the design (not 100% sure about the details on how that optimization takes place, but I'm assuming it's valid and that the tree of wires it connects to eventually terminates as unused).
Because the wire is UNUSED, this means that nothing should assign to it ever leading to the reason for the failing assert to exist. However, during -g4 (the highest debug info setting), debug info is created for all public signals in the design, including those that are optimized out. In order to do this it actually generates a secondary eval() method that includes such unoptimized signals in the design, running through the passes but with for_debug = true.
This shouldn't fail because theoretically there's a separate WireType mapping for the wires in debug mode, where UNUSED should be mapped to something else.  I think the actual issue is the use of || instead of && here
https://github.com/YosysHQ/yosys/blob/01626e6746e85832d5b75785b9e45f39ff8eb299/backends/cxxrtl/cxxrtl_backend.cc#L2650
Since some wires will be in one set but not the other, and that check actually tests for the wire being unused in both sets. Patching that seems to resolve the issue and I'll submit a PR.


GH-37712: [Go][Parquet] Fix ARM64 assembly for bitmap extract bits

Rationale for this change
The linked issue discovered a problem with the ARM64 implementation of the extractBits functionality which was being hidden because until go1.21, it looks like golang.org/x/sys/cpu wasn't properly detecting the ASIMD bit flag on the ARM processors and so it was using the pure go implementation. So we fix the assembly and add a test which was able to reproduce the failure without the fix on an ARM64 machine.

What changes are included in this PR?
There was a problem with the assembly as it existed as the short circuit case where the selection bitmap is 0 wasn't actually setting the 0 value back onto the stack as a return. The assembly which initialized that register to 0 only occurred AFTER the CBZ instruction which would jump to the bottom and return. This means that we actually returned whatever happened to be on the stack at that location (i.e. garbage!). This only occurred if you were using the ARM64-specific assembly implementation, not the amd64 or pure go versions.
We also include a test to ensure we get the correct values for a variety of bitmaps and selections, along with this ensuring there's enough data on the stack so that if this problem re-occured we would catch it in this test.
Are these changes tested?
Test is added.

Closes: #37712

Ugh, looks like ALL the neon assembly is borked, it just wasn't ACTUALLY being run because golang.org/x/sys/cpu wasn't registering the ASIMD bit, but github.com/klauspost/cpuid/v2 DOES correctly recognize it and now we're seeing it die.
I guess I'll take a stab at fixing and debugging that tomorrow.

Interestingly, it's only failing on linux/arm64 not macOS ARM64.... which is, well, odd. sigh Why can't things be easy. I'm guessing there's probably a feature flag that i should be checking for that I'm not

@cyb70289 @pitrou  holy crap i got it to work! :grin: now i just gotta document what i did before i forget so i never have to do this again lol

@cyb70289 @pitrou this is ready for another look over and review now! thanks. Given the complexity i'm going to punt creating actual automation for the ARM assembly generation to follow-up PR instead

Regardless of automation, there should be READMEs explaining the rationale and motivations, and also how to generate those files anew.

@pitrou fair point, I'll update / write the README stuff for this today.

I just read the README. This is horrifying :-o

I just came across this and confirmed that it fixes the panic I found in #37968.

@tschaub Can you please try testing with the latest version of this branch/PR and confirm for me that everything is still working on your end and there's no performance degradation vs the previous fix? I agree with @pitrou's statement that it's unlikely the generic memset/memcpy were giving us much of a benefit over a simple fixed length loop, but it'd be nice to confirm that there's no negative effects

@zeroshade - I only tested a couple different cases, but I don't see any negative effect with the latest changes.
Here are some benchmarks transforming a small.parquet file (2400 rows, 20 physical columns, uncompressed):
Benchmark 1: ./gpq-noasm convert small.parquet small-noasm.parquet
  Time (mean ± σ):      72.2 ms ±   2.2 ms    [User: 103.9 ms, System: 25.2 ms]
  Range (min … max):    68.0 ms …  77.4 ms    41 runs

Benchmark 2: ./gpq-before convert small.parquet small-before.parquet
  Time (mean ± σ):      68.6 ms ±   2.2 ms    [User: 99.9 ms, System: 25.1 ms]
  Range (min … max):    63.1 ms …  74.9 ms    42 runs

Benchmark 3: ./gpq-after convert small.parquet small-after.parquet
  Time (mean ± σ):      68.5 ms ±   2.6 ms    [User: 99.0 ms, System: 24.5 ms]
  Range (min … max):    63.5 ms …  73.5 ms    40 runs

Summary
  ./gpq-after convert small.parquet small-after.parquet ran
    1.00 ± 0.05 times faster than ./gpq-before convert small.parquet small-before.parquet
    1.05 ± 0.05 times faster than ./gpq-noasm convert small.parquet small-noasm.parquet

And here are some numbers from a medium.parquet file (162709 rows, 20 physical columns, uncompressed):
Benchmark 1: ./gpq-noasm convert medium.parquet medium-noasm.parquet
  Time (mean ± σ):     986.3 ms ±  12.3 ms    [User: 1456.6 ms, System: 281.5 ms]
  Range (min … max):   965.2 ms … 1007.7 ms    10 runs

Benchmark 2: ./gpq-before convert medium.parquet medium-before.parquet
  Time (mean ± σ):     878.9 ms ±   7.2 ms    [User: 1343.1 ms, System: 269.5 ms]
  Range (min … max):   865.4 ms … 888.1 ms    10 runs

Benchmark 3: ./gpq-after convert medium.parquet medium-after.parquet
  Time (mean ± σ):     879.1 ms ±   9.7 ms    [User: 1341.6 ms, System: 268.6 ms]
  Range (min … max):   858.7 ms … 891.8 ms    10 runs

Summary
  ./gpq-before convert medium.parquet medium-before.parquet ran
    1.00 ± 0.01 times faster than ./gpq-after convert medium.parquet medium-after.parquet
    1.12 ± 0.02 times faster than ./gpq-noasm convert medium.parquet medium-noasm.parquet

So no significant difference in those between the before (c9693c5f9b33) and after (9d4c29b390a2) cases.  The other case is a build with -tags noasm.

Thanks for checking @tschaub! looks great

Thanks @pitrou I'll hold off on merging till the end of the week to give @cyb70289 a chance to approve


Please add raylib-4 support

Raylib-4 got a lot of incompatible changes

Raylib-4 got a lot of incompatible changes

check it out it's been added for a couple months, full raylib 4 support


Blank page after activating Activitypub, debug with PHP Fatal error:  Uncaught Error: Call to undefined function Activitypub\register_post_meta()

Quick summary
ActivityPub installs correctly, but when trying to activate I get a blank page.
Steps to reproduce

Install ActivityPub
Activate plugin
Blank page

What you expected to happen
Get a working ActivityPub plugin. First attempt in this blog.
What actually happened
Blank page. Above debug log.
Impact
All
Available workarounds?
No and the platform is unusable
Logs or notes
WP 4.9.5, PHP 7, Apache 2 on Ubuntu Linux 18.04.6 LTS (I have my own server with Wordpress).
Activating the debug mode, I get this error log:
[23-Dec-2023 18:51:00 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function Activitypub\register_post_meta() in /data2/www/wordpress/wp-content/plugins/activitypub/includes/class-activitypub.php:361
Stack trace:
#0 /data2/www/wordpress/wp-content/plugins/activitypub/includes/class-activitypub.php(43): Activitypub\Activitypub::register_post_types()
#1 /usr/share/wordpress/wp-includes/class-wp-hook.php(286): Activitypub\Activitypub::init('')
#2 /usr/share/wordpress/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#3 /usr/share/wordpress/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#4 /usr/share/wordpress/wp-settings.php(450): do_action('init')
#5 /etc/wordpress/config-reprobio.unileon.es.php(108): require_once('/usr/share/word...')
#6 /usr/share/wordpress/wp-config.php(19): require_once('/etc/wordpress/...')
#7 /usr/share/wordpress/wp-load.php(37): require_once('/usr/share/word...')
#8 /usr/share/wordpress/wp-admin/admin.php(31): require_once('/usr/share/word...')
#9 /usr/share/wordpress/wp-admin/plugins.php(10 in /data2/www/wordpress/wp-content/plugins/activitypub/includes/class-activitypub.php on line 361

I am sorry, we missed to update the requirements of the Plugin, but it does no longer work with WP 4.9.5!
register_post_meta was introduced in WP 4.9.8 https://github.com/WordPress/wordpress-develop/blob/6.4/src/wp-includes/post.php#L2585-L2589
I will check what the minimum required version is and will update the "WordPress Version" setting.

Thank you! I suppossed that was the reason, but it seemed odd that it allowed me to installing the plugin. I will wait until that version is in the repository for upgrading.


Pull request failing and failure to render quarto files locally

I've rebased the swfsc-sardine branch but am still not able to get the quarto files to render. The code is crashing when trying to build the FIMS model for the nefsc-yellowtail example with the following specs:

R_version
[1] "R version 4.3.2
TMB_version
[1] "1.9.11"
FIMS_commit
[1] "9f13e8d"

The nefsc-yellowtail example works fine if I manually load the packages and run the code outside of the quarto workstream

@peterkuriyama-NOAA. The issue has been resolved with PR #37. Please check out the sardine case study online and feel free to modify the qmd file as needed.


Work on docstrings for drug response application

The files included are:

config.py
drug_utils.py
omics_utils.py
drp_utils.py

@adpartin I'll work on this, and have it tested and completed by next week (11/14).

Pull request per file was submitted @adpartin. Tested all files together in this branch with tCNNS preprocess script and it worked.


Missing support for other languages

Hi,
I'm testing the new UCI api and i notice all code is written for the English user interface, the xpaths are on labels.
We use dutch for the user interface.
For example the function OpenSubArea, this uses xpath to find label ‘All Areas’ in dutch it is ‘Alle gebieden’.
Could you add support for other languages?

Thanks for raising this request @scubaracer. I've taken this request and added to our backlog to enhance the underlying code to use elements that would not be specific to a locale.
I've included your example, but this will take some time for a broad sweep and correction for additional scenarios where the code is currently locale specific.
Best Regards,
-Tyler

Hi,
A method to overwrite the xpaths would also be a possibility and likely less work to support all other languages.
Kind regards,
Daniel
From: Tyler Olson<EMAIL_ADDRESS>Sent: woensdag 15 augustus 2018 22:13
To: Microsoft/EasyRepro<EMAIL_ADDRESS>Cc: scubaracer<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Microsoft/EasyRepro] Missing support for other languages (#168)
Thanks for raising this request @scubaracerhttps://github.com/scubaracer. I've taken this request and added to our backlog to enhance the underlying code to use elements that would not be specific to a locale.
I've included your example, but this will take some time for a broad sweep and correction for additional scenarios where the code is currently locale specific.
Best Regards,
-Tyler
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/EasyRepro/issues/168#issuecomment-413320770, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ah4Pi4d8ILq0l5gM5ouvG7jLGdEmozsWks5uRIDBgaJpZM4VzVON.


make repo public

@Cheafitz25 note that you aren't watching the repo at present: you may want to do so now that it's public.


failure with Unresolved requirement: Import-Package: com.google.common.cache; version="[32.1.0,33.0.0)"

Hello! I'm trying to use the extension to develop bazel itself. I:

updated my JDK to 22
cloned the bazel project
opened vscode with the bazel-vscode-java extension enabled (along with the standard java extension owned by Microsoft).

And I have the following error:
Apr 16, 2024 8:22:16 AM org.apache.aries.spifly.BaseActivator log
INFO: Registered provider ch.qos.logback.classic.servlet.LogbackServletContainerInitializer of service jakarta.servlet.ServletContainerInitializer in bundle ch.qos.logback.classic
Apr 16, 2024 8:22:16 AM org.apache.aries.spifly.BaseActivator log
INFO: Registered provider ch.qos.logback.classic.spi.LogbackServiceProvider of service org.slf4j.spi.SLF4JServiceProvider in bundle ch.qos.logback.classic
[Error - 8:22:22 AM] Apr 16, 2024, 8:22:17 AM FrameworkEvent ERROR
org.osgi.framework.BundleException: Could not resolve module: com.salesforce.bazel.sdk [123]
  Unresolved requirement: Require-Bundle: com.salesforce.bazel.importedsource; bundle-version="2.0.0"
    -> Bundle-SymbolicName: com.salesforce.bazel.importedsource; bundle-version="2.0.0.v20240203-1430"
       com.salesforce.bazel.importedsource [122]
         Unresolved requirement: Import-Package: com.google.auto.value; resolution:="optional"
         Unresolved requirement: Import-Package: com.google.errorprone.annotations; resolution:="optional"
         Unresolved requirement: Import-Package: com.github.benmanes.caffeine.guava; version="3.1.8"
           -> Export-Package: com.github.benmanes.caffeine.guava; bundle-symbolic-name="com.github.ben-manes.caffeine.guava"; bundle-version="3.1.8"; version="3.1.8"; uses:="com.github.benmanes.caffeine.cache,com.google.common.cache"
              com.github.ben-manes.caffeine.guava [117]
                Unresolved requirement: Import-Package: com.google.common.cache; version="[32.1.0,33.0.0)"

	at org.eclipse.osgi.container.Module.start(Module.java:493)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:2073)
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:143)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:2064)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:2004)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1967)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1883)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:341

Any pointers on where to look?

The pre-release version fixed the issue partly! thank you.
The next issue is that there are still packages that cannot be resolve - but it brought the errors down from 10k to 2k:

with imports failing like com.google.common.collect.ImmutableList, which seems to come from com.google:guava: https://github.com/google/guava/blob/master/guava/src/com/google/common/collect/ImmutableList.java.
it looks like the file should find the dep ok too (likely aliased as //third_party: https://github.com/bazelbuild/bazel/blob/master/src/java_tools/buildjar/java/com/google/devtools/build/buildjar/BUILD#L68.

Closing this as a dup of #109. I published a new release to the marketplace yesterday.
The error you are seeing is related to lack of support of how the Bazel project itself imports jars. I have not had time to look into it in more details. Rules JVM External should be supported, though.


RFC: change repo name to react-native-template

I'm sure there's a good reason behind it but I'm thinking since this repo belongs to the "echobind" GitHub org, we could remove the company name in the repo name.
In addition, I'm hoping when we publish to npm, we can call this:
@echobind/react-native-template

@cball @rynatk @isaiahgrey93 thoughts?

If this weren't being leveraged by the cli I'd totally agree. If the package is prefixed with react-native-template-<whatever> then the cli will pick it up and you should be able to install it automagically via react-native init --template=echobind

Actually this may have changed since we last looked at it. Give your comment in https://github.com/echobind/react-native-template-echobind/issues/59, you're saying it's possible to provide any package as an argument?

I believe so. That screenshot was taken from the docs here

I'm 👍 with it. Upon reading that it actually looks like we may be able to replace some of the things we were doing manually as well:
// template.config.js
module.exports = {
  placeholderName: 'ProjectName',
  titlePlaceholder: 'Project Display Name',
  templateDir: './template',
  postInitScript: './script.js',
};

Oh nice! I'll make that a separate issue

Going to rename the repository to react-native-template
Then, I'll publish it to npm as part of #59


Embed Iframe into Streamsync

Dear all,
I want to embed a web page into streamsync using html element but it wont work
For example I want the page http://24h.com.vn
Please help

You can also use the existing html component with the following parameters. It should work

Thanks a lot for your help. It works for normal website but for me I want to ask more specific case.
For example if I have a localhost (like http://localhost:8888/tree) website or LAN network url (like http://<IP_ADDRESS>:8888/tree) - jupyter notebook for specific.
When I inserted {"src":"http://<IP_ADDRESS>:8888/tree"} into streamsync, I got <IP_ADDRESS> refused to connect.
Could you help me to fix this.
Many thanks!

I don't understand what you are trying to do but if you are using the browser from inside of the local network you should be able to access those pages. We need more information about your use-case.
Join our discord server, I'm sure we will be able to find solution for you there ;)
https://discord.gg/nMn9YPRGSY

Jupyter has several security mechanisism active by default to improve daily security.
If you need to embed a jupyter notebook into streamsync, you will find all the response in this page : https://jupyter-notebook.readthedocs.io/en/6.2.0/public_server.html#running-a-public-notebook-server and in section https://jupyter-notebook.readthedocs.io/en/6.2.0/public_server.html#embedding-the-notebook-in-another-website

For this example, I bypass many security rule, generating a configuration file to disable the Content-Security-Policy, then running the command.
don't use this configuration in unsafe network, I give you info to help you find the best way to configure your policy and showing it's working
jupyter notebook --ServerApp.disable_check_xsrf=true --ServerApp.allow_origin='*' --ServerApp.token=''

Generate jupyter configuration
jupyter notebook --generate-config

/home/${USER}/.jupyter/jupyter_notebook_config.py
c.NotebookApp.tornado_settings = {
    'headers': {
        'Content-Security-Policy': ""
    }
}

The iFrame component was released in 0.4.0.