My repo ifmt-blog is detected as HTML, but is a Java Spring, how to i change de repo language to Java?

Preliminary Steps
Please confirm you have...

[X ] reviewed How Linguist Works,
[X ] reviewed the Troubleshooting docs,
[X ] considered implementing an override,
[X ] verified an issue has not already been logged for your issue (linguist issues).

Problem Description

https://github.com/gustavo-silvalara/ifmt-blog
Last modified on:

Expected language:

Detected language:

[X ] considered implementing an override,

Did you read the link in this step?

tnks


[USDU-347] Fix for export of Diffuse Color when a base map is set on material.

Purpose of this PR
Ticket/Jira #: USDU-347

This PR means that both the diffuse texture and the diffuse colour will both be exported to USD. As the default in Unity is white, this shouldn't have an impact on the result when it's not set.
The bug repro actually describes a round trip, which is not fixed by this PR. This is because I'm not sure whether we should be importing both the texture and the colour from USD. The default color in Unity is white (1,1,1), whereas in USD the default value for diffuseColor is grey(0.18 ,0.18, 0.18). Currently the import behaviour is to try to import a connected texture (ie a base map), and if it isn't available, fallback to importing a uniform diffuse color. If we were to switch this to always import the diffuseColor even when there is a base map, I think we could end up breaking some cases as once inside Unity they would have this grey applied. But I'm not sure, this is a complicated topic with no clear documentation on how/ when the color is combined with the map or not in USD. Maybe that default is only set when there is no base map, in which case it would be fine. I think it's too high risk to change when the Importer package already seems to handle it (I tested importing my exported test with map + color and both were imported there).
Doesn't yet include HDRP but I want opinions before I go ahead with that
Testing
Functional Testing status:

Tested manually that a GameObject with a material with both a texture and a colour set appeared the same in USDView.
Performance Testing status:

Very tiny impact of now exporting two attributes.
Overall Product Risks

Complexity: low

Halo Effect: low

Additional information
Note to reviewers:

Reminder:

[ ] Add entry in CHANGELOG.md (if applicable)

The bug report in this export case was actually wrong. The diffuse color is being correctly exported, but due to a difference in how Unity and USD materials apply textures, it is exported as a texture scale, not a diffuse color (because diffuse color is ignored when a texture is connected). I've confirmed for built in, URP and HDRP that the texture scale is correctly set on export.
The import of this texture scale to a base color in the Unity material is missing, but as this is complex to fix (it is read into the texture sample in ImportConnectedTexture, but discarded as we only use the resulting Texture2D) and will be fixed better in future, I'll close this as won't fix.


Subprocesss error with code: -9

Hi Jin, I am trying to perform HPV-EM several times already, really handy and useful. However when I tried it today, it gave me an error:

$ python2 HPV-EM.py -t 8 -o output/Cal2701 -s ../GRCh38.100 CAL_1.fq CAL_2.fq
Aligning reads to human genome
STAR --genomeDir /GRCh38.100 --readFilesIn CAL2701_1.fq CAL2701_2.fq --runThreadN 8 --chimSegmentMin 18 --outSAMtype BAM Unsorted --outReadsUnmapped Fastx --outFilterMultimapNmax 100 --outFileNamePrefix output/Cal2701.
Nov 12 15:24:19 ..... started STAR run
Nov 12 15:24:19 ..... loading genome
Subprocesss error with code: -9

Thanks a lot for your help!

Hi, I am getting same issue? Did you figure it out?


fix: deploy L1 contracts before starting node

First deploy L1 contracts before starting node/archiver/pxe

#5972
#5971
#5970
#5969  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @alexghr and the rest of your teammates on  Graphite

Benchmark results
Metrics with a significant change:

note_successful_decrypting_time_in_ms (8): 185 (+53%)
note_successful_decrypting_time_in_ms (32): 420 (+23%)
note_trial_decrypting_time_in_ms (8): 74.3 (+424%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
772
772
772

l1_rollup_calldata_gas
6,832
6,844
6,832

l1_rollup_execution_gas
587,313
587,325
587,313

l2_block_processing_time_in_ms
1,434 (-6%)
5,273 (-4%)
10,194 (-4%)

note_successful_decrypting_time_in_ms
:warning: 185 (+53%)
:warning: 420 (+23%)
718 (-1%)

note_trial_decrypting_time_in_ms
:warning: 74.3 (+424%)
16.0 (-60%)
25.3 (+6%)

l2_block_building_time_in_ms
18,771
73,354 (+1%)
146,734 (+1%)

l2_block_rollup_simulation_time_in_ms
18,552
72,592 (+1%)
145,244 (+1%)

l2_block_public_tx_process_time_in_ms
8,508
33,162 (+1%)
66,499 (+1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
15,890 (-5%)
30,577 (-4%)

note_history_successful_decrypting_time_in_ms
846 (-5%)
1,677 (-5%)

note_history_trial_decrypting_time_in_ms
61.9 (-45%)
121 (+70%)

node_database_size_in_bytes
19,189,840
35,876,944

pxe_database_size_in_bytes
29,859
59,414

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
157 (+1%)
47,763
31,978

private-kernel-inner
177 (+1%)
80,794
31,978

private-kernel-ordering
136
57,732
50,043

base-parity
73.8 (-3%)
128
265

root-parity
124
1,244
265

base-rollup
12,223 (+1%)
110,926
957

root-rollup
49.8
4,551
821

public-kernel-app-logic
1,665 (+1%)
62,017
52,067

public-kernel-tail
4,262 (+2%)
168,566
7,491

merge-rollup
3,201 (+1%)
2,760
957

public-kernel-teardown
112 (-5%)
62,017
52,067

public-kernel-setup
118 (-1%)
62,017
52,067

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
11.0 (+1%)
17.7
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.6
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.639
0.546
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
51.8
80.5 (-1%)
258 (-2%)
503
976 (-1%)
1,941
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
96.0
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.531
0.497 (-1%)
0.470 (-2%)
0.470
0.464 (-1%)
0.464
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
60.6 (+1%)
119
375 (-1%)
740
1,461
2,912
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
105
207
691
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.535
0.534
0.511
0.509
0.506
0.507
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
67.7

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
109

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.590

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
51,411
543,524

Transaction size based on fee payment method

Metric
native fee payment method
fpc_public fee payment method
fpc_private fee payment method

tx_with_fee_size_in_bytes
897
1,145
1,345

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes
2 new note hashes

tx_pxe_processing_time_ms
1,243 (-3%)
864
3,488 (+1%)

Metric
1 public data writes
2 public data writes
3 public data writes
4 public data writes
5 public data writes
8 public data writes

tx_sequencer_processing_time_ms
837 (+1%)
759
1,349
903
2,076
1,094

Merge activity

Apr 24, 6:07 AM EDT: @alexghr merged this pull request with Graphite.


Update CliffordNumbers.jl to export regressive

Update CliffordNumbers.jl to export regressive product, as well as its infix operator, ∨

This PR addresses issue #14

I actually didn't run the tests, so I'm not sure if something else needs to be done in math.jl to export the operator from there.


Error when build in ext-template

After i clone the ext-template , when run the "node build --all", have this error:
$ node build --all
Fetching EspoCRM repository...
Downloading EspoCRM archive from Github...
Unzipping...
Installing EspoCRM instance...
Creating config...
Npm install...
Building...
Install: step1...
Install: setupConfirmation...
Install: checkPermission...
Install: saveSettings...
Install: buildDatabase...
Install: createUser...
Install: finish...
Merge configs...
(node:18720) UnhandledPromiseRejectionWarning: Error: Command failed: php merge_configs.php
at checkExecSyncError (child_process.js:643:11)
at Object.execSync (child_process.js:679:15)
at D:\xampp\htdocs\projects\ext_prifix\build.js:197:12
at new Promise ()
at install (D:\xampp\htdocs\projects\ext_prifix\build.js:139:12)
at D:\xampp\htdocs\projects\ext_prifix\build.js:18:15
(Use node --trace-warnings ... to show where the warning was created)
(node:18720) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promis
e which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_u
nhandled_rejections_mode). (rejection id: 2)
(node:18720) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zer
o exit code.

Check the log in site/data/log,

I apologize. It was my fault. The relevant database was not created.
Thank you


Script will not update feature service

I have the mxd and script all in one folder, I have updated the Settings.ini and when I run the python script I get the following?  I am not a programmer so I am having trouble figuring out what is going on here:

Starting Feature Service publish process
Traceback (most recent call last):
File "C:\Python27\ArcGIS10.2\Lib\site-packages\Pythonwin\pywin\framework\scriptutils.py", line 321, in RunScript
debugger.run(codeObject, main.dict, start_stepping=1)
File "C:\Python27\ArcGIS10.2\Lib\site-packages\Pythonwin\pywin\debugger_init_.py", line 60, in run
_GetCurrentDebugger().run(cmd, globals,locals, start_stepping)
File "C:\Python27\ArcGIS10.2\Lib\site-packages\Pythonwin\pywin\debugger\debugger.py", line 655, in run
exec cmd in globals, locals
File "L:\ED\GIS CAD Systems\GIS_Projects\Outage\Python Script Test\UpdateOutagePoints_Server.py", line 5, in
import ConfigParser
File "L:\ED\GIS CAD Systems\GIS_Projects\Outage\Python Script Test\UpdateOutagePoints_Server.py", line 37, in init
self.token = self.getToken(username, password)
File "L:\ED\GIS CAD Systems\GIS_Projects\Outage\Python Script Test\UpdateOutagePoints_Server.py", line 55, in getToken
token_response = self.url_request(token_url, query_dict, 'POST')
File "L:\ED\GIS CAD Systems\GIS_Projects\Outage\Python Script Test\UpdateOutagePoints_Server.py", line 304, in url_request
response = urllib2.urlopen(req)
File "C:\Python27\ArcGIS10.2\lib\urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\ArcGIS10.2\lib\urllib2.py", line 404, in open
response = self._open(req, data)
File "C:\Python27\ArcGIS10.2\lib\urllib2.py", line 422, in _open
'_open', req)
File "C:\Python27\ArcGIS10.2\lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "C:\Python27\ArcGIS10.2\lib\urllib2.py", line 1222, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "C:\Python27\ArcGIS10.2\lib\urllib2.py", line 1184, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 10054] An existing connection was forcibly closed by the remote host>

Any help would be appreciated.
Thanks,
Laura

Here is what I get when I run it via CMD:
Starting Feature Service publish process
Traceback (most recent call last):
File "L:\ED\GIS CAD Systems\GIS_Projects\Outage\Python Script Test\UpdateOutagePoints_Server.py", line 519, in
agol = AGOLHandler(inputUsername, inputPswd, serviceName, folderName, False)
File "L:\ED\GIS CAD Systems\GIS_Projects\Outage\Python Script Test\UpdateOutagePoints_Server.py", line 37, in init
self.token = self.getToken(username, password)
File "L:\ED\GIS CAD Systems\GIS_Projects\Outage\Python Script Test\UpdateOutagePoints_Server.py", line 55, in getToken
token_response = self.url_request(token_url, query_dict, 'POST')
File "L:\ED\GIS CAD Systems\GIS_Projects\Outage\Python Script Test\UpdateOutagePoints_Server.py", line 304, in url_request
response = urllib2.urlopen(req)
File "C:\Python27\ArcGIS10.2\lib\urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\ArcGIS10.2\lib\urllib2.py", line 404, in open
response = self._open(req, data)
File "C:\Python27\ArcGIS10.2\lib\urllib2.py", line 422, in _open
'_open', req)
File "C:\Python27\ArcGIS10.2\lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "C:\Python27\ArcGIS10.2\lib\urllib2.py", line 1222, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "C:\Python27\ArcGIS10.2\lib\urllib2.py", line 1184, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 10054] An existing connection was forcibly closed by the remote host>


internlm2-chat-7b 加载lora权重后，使用cli_demo.py报错

Reminder

[X] I have read the README and searched the existing issues.

Assistant: Traceback (most recent call last):
  File "src/cli_demo.py", line 50, in <module>
    main()
  File "src/cli_demo.py", line 40, in main
    for new_text in chat_model.stream_chat(messages):
  File ".conda/envs/llama_factory/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 35, in generator_context
    response = gen.send(None)
  File "src/llmtuner/chat/chat_model.py", line 125, in stream_chat
    gen_kwargs, _ = self._process_args(messages, system, tools, **input_kwargs)
  File "src/llmtuner/chat/chat_model.py", line 40, in _process_args
    prompt, _ = self.template.encode_oneturn(
  File "src/llmtuner/data/template.py", line 49, in encode_oneturn
    prompt_ids = prompt_ids + encoded_pairs[-1][0]
IndexError: list index out of range

Expected behavior
No response
System Info

transformers version: 4.36.2
Platform: Linux-5.15.0-91-generic-x86_64-with-glibc2.35
Python version: 3.10.13
Huggingface_hub version: 0.20.2
Safetensors version: 0.4.1
Accelerate version: 0.26.1
Accelerate config:    not found
PyTorch version (GPU?): 2.1.2 (True)
Tensorflow version (GPU?): not installed (NA)
Flax version (CPU?/GPU?/TPU?): not installed (NA)
Jax version: not installed
JaxLib version: not installed
Using GPU in script?:
Using distributed or parallel set-up in script?:

Others
No response

本地复现不出来，请更新代码后重试

本地复现不出来，请更新代码后重试

更新最新代码后，问题解决


Remove file system based "is file" check from is_symbolization_releva…

…nt()
The proc maps logic for filtering of relevant entries currently makes a system call to get file system information about whether the provided path is a file or not. It's not entirely clear why we need that: if the path starts with a slash (which we already check) it will presumably always be a file, or at least it's not clear what else it could be. Omit this addition check via system call.

Sorry, this pull request was meant to go out before 327f2884205d5f3e7b24dc8b06f9bd9a40d71f2f. It's basically no longer needed now.


Provide better errors messages, if user passes a single column name instead of a list of columns

Currently, if a user specifies only one column name instead of a list of column names, the resulting error messages may occur late in execution and be opaque (see #152). This PR adds better error messages for this case.

I think a changelog entry could be useful!


Fatal Exception: java.lang.IllegalStateException

Admobadapter version or commit:
Latest (v1.4.6)
Android compileSdkVersion:
27
Issue description briefly:
After deploying the library on my app, I get the following exception:
Fatal Exception: java.lang.IllegalStateException
The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread. Make sure your adapter calls notifyDataSetChanged() when its content changes. [in ListView(2131296540, class android.widget.ListView) with Adapter(class com.clockbyte.admobadapter.bannerads.AdmobBannerAdapterWrapper)]

Steps to reproduce:
I have not been able to reproduce this locally, so I do not know how to reproduce this.
I'm trying to figure out if this is a problem with the library, the ads, or my original adapter. Please keep in mind that I never got a crash report regarding my adapters before adding the admobAdapterWrapper in my app, and that's why I dont think it has to do with my adapter.
If you have any ideas/suggestions, please let me know.

please pay attention to all the places where you get a response from your webservice (or something) and try to update results to your adapter (wrapped with banner wrapper adapter). Do you update it in the UI thread?

Unfortunately I can't reproduce the issue locally, this is comming from my crashlytics crash reports. I will go tomorrow over every single adapter notificaiton and make sure once again.
As I've seen your code, I know that all your calls to notifyDataStateChanged() are on the main thread, I'm trying to figure out what's wrong with my adapters combined with the admobWrapper.
I will let you know when I have more info

I am getting the same error:
java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread. Make sure your adapter calls notifyDataSetChanged() when its content changes. [in ListView(2131230874, class android.widget.ListView) with Adapter(class com.clockbyte.admobadapter.bannerads.AdmobBannerAdapterWrapper)]
Steps to reproduce:
It's kind of hard to reproduce:

Fling/scroll listview super fast
Stop scroll suddenly at an area where adview will appear
Click a listitem quickly before adview appears

I am using the admob mediation with facebook ads so this could have something to do with it.


Outdated dependencies

Hi. I have a question about some dependencies that this module uses. I'm using this module for one of my projects and NodeSecurity.io verified that this module has 2 outdated dependencies resulting in 2 vulnerabilities. I don't know much about this, which is why I'm just asking to make sure that it exists.
You can find these 2 vulnerabilities here:
https://nodesecurity.io/advisories/566
https://nodesecurity.io/advisories/664
My guess is that the first vulnerability can be patched by updating node-pre-gyp so that the vulnerable module ''hoek'' gets updated, resulting in patching the vulnerability. I have no idea about the second vulnerability.

My guess is that the first vulnerability can be patched by updating node-pre-gyp so that the vulnerable module ''hoek'' gets updated

I tried that, but there were breaking changes in node-pre-gyp (yes, without a semver-major release :disappointed:) that I was unable to fix.
The same goes for the second vulnerability, although it’s worth pointing out that if you are still running v4.x, then you’re already insecure by default and no updating of dependencies is going to help with that.
Neither of these vulnerabilites affect this library but I can understand that you want to upgrade it. I’ll see what I can do when I find the time.

Yeah that's a weird thing. Well I hope you can find a fix. You can close it from here, I got enough information 👍


Connections for dependencies are not loaded

Suppose I have systems defined as follows:
test-system-a.asd:
(defsystem "test-system-a"
  :components ((:file "test-system-a"))
  :defsystem-depends-on ("asdf-system-connections"))

(defsystem-connection "test-system-a/b"
  :requires ("test-system-a" "test-system-b")
  :components ((:file "test-system-ab")))

test-system-b.asd:
(defsystem "test-system-b"
  :components ((:file "test-system-b")))

test-system-c.asd:
(defsystem "test-system-c"
  :depends-on ("test-system-a"
               "test-system-b")
  :components ((:file "test-system-c")))

Then, loading system test-system-c loads test-system-a and test-system-b but not their connection test-system-a/b. It would be great if the connections for dependencies (and their dependencies in turn) are loaded too.
The files are attached with this issue: test-systems.tar.gz

The issue does not occur if asdf-system-connections is loaded prior to loading system test-system-c above, or equivalently, modifying the test-system-c.asd to:
(defsystem "test-system-c"
  :depends-on ("test-system-a"
               "test-system-b")
  :defsystem-depends-on ("asdf-system-connections")
  :components ((:file "test-system-c")))

This atleast works as a temporary fix, but this means that every user of a system using asdf-system-connections must be aware of asdf-system-connections. In a way, I find it a good practice to notice the dependencies of your dependencies. That way. one can see if they want to cut something down to make dependencies more minimal, and thus, make the project more maintainable in the long run.

I agree with you but no longer maintain this code. Feel free to take it over if you’d like.

Thanks for getting back! In that case, you can transfer the repository ownership to lisp-maintainers - me and a few other lispers maintain over there. That way, even if I become passive in lisp some day, someone else can maintain it.

GitHub says that I “don’t have permission to create public repositories on lisp-maintainers.”Please advise,Carefully crafted using only the finest bytes and freshest electrons.On Feb 15, 2024, at 11:48 PM, Shubhamkar Ayare @.***> wrote:
Thanks for getting back! In that case, you can transfer the repository ownership to lisp-maintainers - me and a few other lispers maintain over there. That way, even if I become passive in lisp some day, someone else can maintain it.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

I have sent you an invitation - accepting it should let you create new repositories at lisp-maintainers.

Great. Thank you and … done.

Thanks a lot to you for this project :)!

I have been trying things in the load-systems-driven branch and the linked PR. Unfortunately, this way of fixing this issue (and perhaps any other way too!) can break other systems.
The current design lets users implicitly assume a certain load order. Fixing this issue requires changing the load order. However, if this load order changes, there's no telling if the 332 quicklisp systems that directly or indirectly depend on asdf-system-connections continue to load. And perhaps, there will be other systems not in quicklisp too. Some of these systems might as well be unmaintained.
I'll instead fix this issue in a fork of this repository and only issue non-breaking fixes to this repository.


For CI runs, run each sample in a dedicated space with long living service dependencies

Is your feature request related to a problem? Please describe.
Azure pipelines have a time limit of 1 hour.  Periodically, and more frequently of late, jobs that create services on CloudFoundry exceed the time limit.  The amount of time required to create and subsequently delete a service can take upwards of 20 minutes.  Some jobs go though several iterations of this process.
Describe the solution you'd like
If a sample's dependent service is reused across runs, the time required to run jobs would significantly decrease.
Describe alternatives you've considered
An alternative is to increase the time limit for jobs runs.  Although less work, significantly shortening the length of a job makes better use of the project's finite resources.
Additional context
A prototype for a sample project, probably MySQL Connector, should be done so that any improvements are empirically documented.

Completed


Numpad error on Ubuntu 16.04

Hey i just started using the Steambot and put it on an Ubuntu 16.04 VPS an when i run the bot the numpad is not functionig right.
0 = p
1 = q
2 = r
3 = s
4 = t
5 = u
6 = v
7 = w
8 = x
9 = y
+ = l
- * / dont work.

It does not matter if the numpad is active it is always this output.
When i use this bot on my Windows 7 pc it woks just fine.

#427 #527

I am not writing this to get help here. I reported an Issue the SteamBot has.
So exaxtly what this is for.

Ok, so I will check that later.

Do you have the same issue in other programs on that VPS?

Are you using PuTTY ?
It is standard problem with this shell.
This applies to all programs not only to SteamBot
So of course this is not a bug in SteamBot


State: Provide access to config routes

Add State.config_iface_routes property to get order indexed config routes.

Coverage increased (+0.2%) to 70.047% when pulling 6af3dcbdbe7247d1035bc98cc867251ad48d4391 on cathay4t:nm_route_apply_2 into c9a140060620f8f5a3b413c627671a9940a57d8f on nmstate:master.

Wait on PR #357

@EdDev New patch uploaded.
Changes:

Add test case for empty routes.
Test case updated based on feedback of preview review.


[Enhancement] Implement methods from storage-plugin.admin rocketmq

从EM的storage.admin中实现方法 并尝试做一些拓展，方便后续对其他指标进行监控

[X] Yes I am willing to submit a PR

Completed in https://github.com/apache/eventmesh-dashboard/pull/66


Consider removing or control by flag extra output

In particular I found this instance: https://github.com/LionWeb-io/lionweb-typescript/blob/ebec1be4480cd8353d34d480ea93493fc1f4a5d1/packages/validation/src/diff/LionWebJsonDiff.ts#L164

You are right, will remove all console.* and put make them configurable.

I am working on PR around that for the lionweb-repository

The PR for the lionweb-repository that I was talking about is this one: https://github.com/LionWeb-io/lionweb-repository/pull/27

I think this issue is still (somewhat) relevant. There are 19 occurrences of the use of console.log in the @lionweb/validation package, as well as 15 commented-out ones.


How to forward arguments to parent class?

I'm using the dry-initializer gem (trying to switch to literal) and have things setup this way:
class ParentClass
  option :collapsable, default: proc { false }
  option :collapsed, default: proc { false }
  option :icon, optional: true
end

class ChildClass < ParentClass
  option :label
end

With dry-initializer, any extra options passed to the child class are automatically forwarded to the parent class. So, ChildClass.new(label: '..', collapsable: '...', ...) is similar to calling super within the initialize method of the ChildClass. Is there a similar way to do this with literal?
I read the README and there's no mention of anything like this. Does this mean, I can't used literal in this situation?

We use literal this way across our codebase and don't have any issues. It's a bit confusing with positional arguments but otherwise works great.

How this works at the moment is instead of passing arguments to the super initialzer, the sub initializer just inherits all the properties defined on the super class.


Simplification refactorings + primitive property deduplication

Move property simplification from ProjectPropertiesReader to transformation
Create PropertyDeduplicationTransformation
Move code from ProjectWriter to DefaultAssemblyReferenceRemovalTransformation (closes #116)
Fix for CPS projects $(Configurations) and $(Platforms) reading
Fix and move around tests to match changes
Move Pre and Post transformations to ConversionOptions
Simplify ProjectConverter methods

I think this is a good change but there is no way to now make this break... @mungojam can you have a look as well, you might be one of the (few) people to be using the nuget package? I need to do a pass on the public API, if we're going to make a 2.0 I want to use it as a cleanup.


Failure on startup if "journal" is symbolic link: error creating directory /data/db/journal: File exists: "/data/db/journal"

Issue: On startup, docker tries to create a journal folder in the data directory. This fails if a symbolic link called journal is already present, and causes the container to error and stop.
Background:
It's recommended to host the journal on a different volume from the data files, for performance reasons. MongoDB doesn't have an option to set the location of the journal, so this is achieved in practice by creating a symbolic link called journal in the data directory, pointing to the different volume, thus:
lrwxrwxrwx 1 mongodb mongodb   18 Jan 14 16:47 journal -> /data/otherjournal
Effect
When I start the mongo docker container, it fails on startup as follows:

2016-01-14T16:48:17.749672599Z 2016-01-14T16:48:17.749+0000 I JOURNAL  [initandlisten] journal dir=/data/db/journal
2016-01-14T16:48:17.749964076Z 2016-01-14T16:48:17.749+0000 I JOURNAL  [initandlisten] error creating directory /data/db/journal boost::filesystem::create_directory: File exists: "/data/db/journal"
2016-01-14T16:48:17.750154274Z 2016-01-14T16:48:17.749+0000 I STORAGE  [initandlisten] exception in initAndListen std::exception: boost::filesystem::create_directory: File exists: "/data/db/journal", terminating
2016-01-14T16:48:17.750255150Z 2016-01-14T16:48:17.750+0000 I CONTROL  [initandlisten] now exiting

(full log attached: MongodbDockerLog.txt )
Comments
This does not seem to be a permissions problem; the symbolic link journal is owned by (and therefore completely visible to) the user mongodb with uid 999.
As a workaround for now, we are advising customers to allow the docker container to create the journal in the default location i.e. in a subfolder of the data directory.

Seems to work fine here, and you don't even need a symlink! :smiley_cat:
$ mkdir mongo-data mongo-journal
$ docker run -d -v ~/mongo-data/:/data/db/ -v ~/mongo-journal/:/data/db/journal/ mongo
$ ls -ln mongo-*/
mongo-data/:
total 104
-rw-r--r-- 1 999 1000 16384 Jan 27 15:10 collection-0--5103028317213166617.wt
drwxr-sr-x 2 999 1000  4096 Jan 27 15:10 diagnostic.data
-rw-r--r-- 1 999 1000 16384 Jan 27 15:10 index-1--5103028317213166617.wt
drwxr-sr-x 2   0 1000  4096 Jan 27 15:09 journal
-rw-r--r-- 1 999 1000 16384 Jan 27 15:10 _mdb_catalog.wt
-rw-r--r-- 1 999 1000     2 Jan 27 15:09 mongod.lock
-rw-r--r-- 1 999 1000  4096 Jan 27 15:09 sizeStorer.wt
-rw-r--r-- 1 999 1000    95 Jan 27 15:09 storage.bson
-rw-r--r-- 1 999 1000    49 Jan 27 15:09 WiredTiger
-rw-r--r-- 1 999 1000  4096 Jan 27 15:09 WiredTigerLAS.wt
-rw-r--r-- 1 999 1000    21 Jan 27 15:09 WiredTiger.lock
-rw-r--r-- 1 999 1000   910 Jan 27 15:10 WiredTiger.turtle
-rw-r--r-- 1 999 1000 20480 Jan 27 15:10 WiredTiger.wt

mongo-journal/:
total 307212
-rw-r--r-- 1 999 1000 104857728 Jan 27 15:10 WiredTigerLog.0000000001
-rw-r--r-- 1 999 1000 104857728 Jan 27 15:09 WiredTigerPreplog.0000000001
-rw-r--r-- 1 999 1000 104857728 Jan 27 15:09 WiredTigerPreplog.0000000002

Ah, of course; mapping the data and the journal volumes separately. I've tried it out and it is working for me here too, so I can now recommend this technique to our customers who wish to separate journal and data volumes.
One caveat: the mongo container does still create the journal subfolder in the data directory, even if it's not actually using it because of the separate journal mapping.


Minify dist output

GitHub Actions require all external dependencies to be bundled up. Right now we are using @zeit/ncc for that but we haven't minified the code yet.

We removed ncc currently for some licensing reasons. Once we have bundling back in, this should be added though.


Multiple-letter violation codes are not displayed by Vim Syntastic syntax checker

This is not a bug with your plugin but I'm raising this here for your awareness, since you use multiple-letter violation code(s).
I've filed an issue with vim-syntastic: https://github.com/vim-syntastic/syntastic/issues/2163.
The resolution of that bug may be of interest to you.  If not, please disregard this report, with my apologies.

Hi @myii,
Thank you for bringing this to my attention! 👍
Technically we could change the CNL100 violation code to CNL1. It would be 4 characters and compliant. What do you think?

@AlexanderVanEck You're welcome.
Actually, the problem is not the length of the code but that it uses 3 letters at the beginning rather than one.  For Syntastic, it will still fail with CNL1, the same way it fails with CNL100.
But there is nothing wrong with using the 3 letters, since Flake8 3.0+ allows this and other plugins are doing the same thing.
Syntastic is looking for a fixed format that begins with 1 letter only.  It is time for them to upgrade their flake8.vim to be able to deal with these new formats.

Ah ok. Seems like a won't fix for flake8-class-newline then.
Thanks again, appreciate it 👍

@AlexanderVanEck No problem, wontfix is exactly right.  Just for your information, in case you get any users complaining that your plugin isn't working with Vim, Atom, etc.  It isn't your fault but rather the editor syntax checkers need updating.
By the way, thanks for developing your plugin!


Cant Find Variable contactData

Hey Joshua. every time i run the function to add a contact it throws an error at me saying it can't find the variable "contactData". Am I placing the variable in the wrong location?
Thank you
Rajan

Try placing your let contactData declaration inside of your _addContact() function.


Small cleanups

Is this ready for merging?

Yes!

Let's get this change in here. Then it looks good to me 👍

Oh never mind, just realized that PR that introduced the max_concurrency parameter was merged into the romac/remove_runtime branch.


New Git tasks to better support moving between environments using Git Push and Sync for Namespace Files

Feature description
Goals of new tasks

Separate Flows vs. Namespace Files, as coupling them into single Push and Sync tasks has caused confusion and unnecessary complexity, especially for users who want to integrate Git only for flows or only for Namespace Files.
Allow pushing only specific Namespace File(s) to a specific Git directory.
Use the API Token in EE to allow the system flow pattern. This way, the flow implementing the Git Push operation can be located in the system namespace and used to push/sync files regularly.

PushNamespaceFiles task
type: "io.kestra.plugin.git.PushNamespaceFiles"

Commit and push Namespace Files created from kestra UI to Git.

Using this task, you can push one or more Namespace Files from a given kestra namespace to Git. Check the Version Control with Git documentation for more details.
Examples

Push all saved Namespace Files from the dev namespace to a Git repository every 15 minutes.

id: push_to_git
namespace: system

tasks:
  - id: commit_and_push
    type: io.kestra.plugin.git.PushNamespaceFiles
    namespace: dev
    files: "*"  # optional list of Regex strings; by default, all files are pushed
    kestraApiToken: "{{ secret('KESTRA_API_TOKEN') }}"
    gitDirectory: _files # optional path in Git where Namespace Files should be pushed
    url: https://github.com/kestra-io/scripts # required string
    username: git_username # required string needed for Auth with Git
    password: "{{ secret('GITHUB_ACCESS_TOKEN') }}" # optional, required for private repositories
    branch: dev # optional, uses "kestra" by default
    commitMessage: "add namespace files" # optional string
    dryRun: true  # if true, you'll see what files will be added, modified or deleted based on the Git version without overwriting the files yet

triggers:
  - id: schedule_push_to_git
    type: io.kestra.core.models.triggers.types.Schedule
    cron: "*/15 * * * *"

Manually push a single file specified in the input to Git.

id: myflow
namespace: system

inputs:
  - id: file_to_commit
    type: STRING

tasks:
  - id: commit_and_push
    type: io.kestra.plugin.git.PushNamespaceFiles
    namespace: dev
    files: "{{ inputs.file_to_commit }}"
    kestraApiToken: "{{ secret('KESTRA_API_TOKEN') }}"
    url: https://github.com/kestra-io/scripts
    username: git_username
    password: "{{ secret('GITHUB_ACCESS_TOKEN') }}"
    branch: kestra
    commitMessage: "add {{ inputs.file_to_commit }}"

Properties
url

Type: string
Dynamic: ✔
Required: ✔

The Git repository URI that kestra will clone and push Namespace Files to. Repository URI is the only required property (apart from authentication-specific properties).

branch

Type: string
Dynamic: ✔
Required: ❌
Default: kestra

The branch to which Namespace Files should be committed and pushed. If the branch doesn’t exist yet, it will be created. If not set, the task will push the files to the kestra branch.

namespace

Type: string
Dynamic:  ✔
Required: ❌
Default: the namespace of the current flow i.e. {{ flow.namespace }}

The namespace from which files should be pushed to the gitDirectory.

gitDirectory

Type: string
Dynamic: ✔
Required: ❌
Default: _files

Directory to which Namespace Files should be pushed. If not set, files will be pushed to a Git directory named _files. See the table below for an example mapping of Namespace Files to Git paths:

Namespace File Path
Git Directory Path

scripts/app.py
_files/scripts/app.py

scripts/etl.py
_files/scripts/etl.py

queries/orders.sql
_files/queries/orders.sql

queries/customers.sql
_files/queries/customers.sql

requirements.txt
_files/requirements.txt

files

Type: object
Dynamic:  ✔
Required: ❌
Default: "*"

Which Namespace Files should be included in the commit. By default, kestra will push all Namespace Files from the specified namespace. If you want to push only a specific file or directory e.g. myfile.py, you can set it explicitly using files: myfile.py. Given that this is a Regex string (or a list of Regex strings), you can include as many files as you wish, provided that the kestraApiToken is authorized to access that namespace.

kestraApiToken

Type: string
Dynamic: ✔
Required: ❌

An API token for a service account or user, indicating which Namespace Files can be accessed by the Push operation. If not set, the task can only push Namespace Files from the current namespace. If the kestraApiToken doesn’t have permission to the declared namespace, the task will fail with an Unauthorized message.

dryRun

Type: boolean
Dynamic: ✔
Required: ❌

If true, the task will only display modifications without syncing any Namespace Files yet. If false (default), all listed Namespace Files will be pushed to Git immediately.

commitMessage

Type: string
Dynamic: ✔
Required: ❌

Git commit message. By default, set to "Add files from XYZ namespace", where XYZ is the value of namespace property.

username

Type: string
Dynamic: ✔
Required: ❌

The username or organization.

authorEmail

Type: string
Dynamic: ✔
Required: ❌

The commit author email; if null, no author will be set on this commit

authorName

Type: string
Dynamic: ✔
Required: ❌

The commit author name; if null, the username will be used instead

passphrase

Type: string
Dynamic: ✔
Required: ❌

The passphrase for the privateKey.

password

Type: string
Dynamic: ✔
Required: ❌

The password or personal access token.

privateKey

Type: string
Dynamic: ✔
Required: ❌

PEM-format private key content that is paired with a public key registered in Git. To generate an ECDSA PEM format key from OpenSSH, use the following command: ssh-keygen -t ecdsa -b 256 -m PEM. You can then set this property with your private key content and put your public key on Git.

Outputs
commitId

Type: string
Dynamic: ❓
Required: ❌

ID of the commit pushed.

compareURL

Type: string
Dynamic: ❓
Required: ❌

URL to see what’s changed or to start a new pull request. Example format for GitHub: https://github.com/username/your_repo/compare/main…kestra.

SyncNamespaceFiles task
type: "io.kestra.plugin.git.SyncNamespaceFiles"

Sync Namespace Files from Git to kestra.

This task syncs Namespace Files from a given Git branch to a kestra namespace. If the delete property is set to true, any Namespace Files available in kestra but not present in the gitDirectory will be deleted, allowing to maintain Git as a single source of truth for your Namespace Files. Check the Version Control with Git documentation for more details.
Examples

Sync Namespace Files from a Git repository. This flow can run either on a schedule (using the Schedule trigger) or anytime you push a change to a given Git branch (using the Webhook trigger).

id: sync_flows_from_git
namespace: system

tasks:
  - id: git
    type: io.kestra.plugin.git.SyncNamespaceFiles
    namespace: prod
    gitDirectory: _files # optional; set to _files by default
    delete: true # optional; by default, it's set to false to avoid destructive behavior
    url: https://github.com/kestra-io/flows
    branch: main
    username: git_username
    password: "{{ secret('GITHUB_ACCESS_TOKEN') }}"
    kestraApiToken: "{{ secret('KESTRA_API_TOKEN') }}"
    dryRun: true  # if true, the task will only log which flows from Git will be added/modified or deleted in kestra without making any changes in kestra backend yet

triggers:
  - id: every_minute
    type: io.kestra.core.models.triggers.types.Schedule
    cron: "*/1 * * * *"

Properties
branch

Type: string
Dynamic: ✔
Required: ✔

The branch from which Namespace Files will be synced to kestra.

url

Type: string
Dynamic: ✔
Required: ✔

The Git repository URI that kestra will clone and sync Namespace Files from.

cache

Type: boolean
Dynamic:  ✔
Required: ❌
Default: false

Whether you want to cache the cloned repository in kestra’s internal storage. When syncing Namespace Files often, this property might improve performance. If set to true, kestra will clone the given repository once, cache it in internal storage, and then only pull changes in the subsequent task runs. Changing this property back to false will ignore (and effectively invalidate) the cache.

namespace

Type: string
Dynamic:  ✔
Required: ❌
Default: the namespace of the current flow i.e. {{ flow.namespace }}

The namespace from which files should be synced from the gitDirectory to kestra.

gitDirectory

Type: string
Dynamic: ✔
Required: ❌
Default: _files

Directory from which Namespace Files should be synced. If not set, this task assumes your branch includes a directory named _files.

kestraApiToken

Type: string
Dynamic: ✔
Required: ❌

An API token for a service account or user, indicating which namespaces can be accessed by the task. If not set, the task can only sync Namespace Files from Git to the current namespace. If the kestraApiToken doesn’t have permission to use the namespaces, the task will fail with an Unauthorized message. Note that this property is only available in the Enterprise Edition.

delete

Type: boolean
Dynamic:  ✔
Required: ❌
Default: false

Whether you want to delete Namespace Files present in kestra but not present in Git. It’s false by default to avoid destructive behavior. Use with caution because when set to true, this task will delete all Namespace Files which are not present in Git.

cloneSubmodules

Type: boolean
Dynamic: ❌
Required: ❌
Default: false

Whether to clone submodules.

dryRun

Type: boolean
Dynamic: ❌
Required: ❌

If true, the task will only display modifications without syncing any files yet. If false (default), all Namespace Files will be synced from Git directly.

username

Type: string
Dynamic: ✔
Required: ❌

The username or organization.

password

Type: string
Dynamic: ✔
Required: ❌

The password or personal access token.

passphrase

Type: string
Dynamic: ✔
Required: ❌

The passphrase for the privateKey.

privateKey

Type: string
Dynamic: ✔
Required: ❌

PEM-format private key content that is paired with a public key registered on Git. To generate an ECDSA PEM format key from OpenSSH, use the following command: ssh-keygen -t ecdsa -b 256 -m PEM. You can then set this property with your private key content and put your public key on Git.

Outputs
files

Type: object
Dynamic: ❓
Required: ❌

A map of outputs with the following keys: deletions, additions and changes. For example, to access additions, use {{ outputs.git.files.additions}}. In the example below, this will output ["_ffiles/myscript.py"].

{
  "files": {
    "deletions": [
      "_files/queries/myquery.sql"
    ],
    "additions": [
      "_files/myscript.py"
    ],
    "changes": [
      "_files/script/etl.py"
    ]
  }
}

alternative output: ION file with one row per file:
{
  "file": "scripts/main.py",
  "additions": +3 ,
  "deletions": -3 ,
  "changes": 0
}


idf v4.3.2运行main_task到vTaskDelete(NULL);后没有释放main_task的heap资源 (IDFGH-8541)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v4.3.2
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
No response
Development Kit.
custom
Power Supply used.
External 5V
What is the expected behavior?
idf v4.3.2运行main_task到vTaskDelete(NULL);后没有释放main_task的heap资源
What is the actual behavior?
idf v4.3.2运行main_task到vTaskDelete(NULL);后没有释放main_task的heap资源
Steps to reproduce.

Step
Step
Step
...
idf v4.3.2运行main_task到vTaskDelete(NULL);后没有释放main_task的heap资源

Debug Logs.
No response
More Information.
No response

static void cli_diag_mem_task(void)
{
#ifdef CONFIG_HEAP_TASK_TRACKING
static size_t count;
static heap_task_totals_t totals[MAX_TASK_NUM];
static heap_task_block_t blocks[MAX_BLOCK_NUM];
heap_task_info_params_t heap_info;
size_t total_size = 0;
size_t total_count = 0;
char *task_name;
char *p;
char c;
int i;
int j;
count = 0;
memset(&heap_info, 0, sizeof(heap_info));

heap_info.totals = totals;
heap_info.num_totals = &count;
heap_info.max_totals = MAX_TASK_NUM;
heap_info.blocks = blocks;
heap_info.max_blocks = MAX_BLOCK_NUM;

heap_caps_get_per_task_info(&heap_info);

printcli("\nheap usage by task:");
printcli("   %20s %6s %6s %12s", "task", "size", "count", "handle");

for (i = 0 ; i < count; i++) {
	task_name = "_none_";
	p = NULL;
	if (heap_info.totals[i].task) {
		task_name = "_unknown_";
		p = pcTaskGetTaskName(heap_info.totals[i].task);
		/*
		 * Only use returned name if it is valid ASCII.
		 * FreeRTOS assumes the task handle is good when it
		 * may not be.
		 */
		for (j = 0; j < 20; ++j) {
			c = p[j];
			if (c < ' ' || c > '~')  {
				break;
			}
		}
		if (j < 20 && c == '\0') {
			task_name = p;
		}
	}
	printcli("   %20s %6u %6u %12p",
	    task_name,
	    heap_info.totals[i].size[0],
	    heap_info.totals[i].count[0],
	    heap_info.totals[i].task);
	total_size += heap_info.totals[i].size[0];
	total_count += heap_info.totals[i].count[0];
}
printcli("   %20s %6u %6u", "TOTAL", total_size, total_count);

#endif
}

I think this is as expected. heap_caps_get_per_task_info will show which task allocated memory, but this memory is not supposed to be cleaned-up when the task is deleted.
FreeRTOS will only free memory that is directly allocated for the purpose of task creation, e.g. a task's stack, task control block++.
Any memory allocated in the task function itself (i.e. in main_task in this case) must be cleaned up by the user by calling the appropriate clean up functions (e.g. free if you allocated the memory yourself with malloc)

static void main_task(void* args)
{
#if !CONFIG_FREERTOS_UNICORE
// Wait for FreeRTOS initialization to finish on APP CPU, before replacing its startup stack
while (port_xSchedulerRunning[1] == 0) {
;
}
#endif
// [refactor-todo] check if there is a way to move the following block to esp_system startup
heap_caps_enable_nonos_stack_heaps();

// Now we have startup stack RAM available for heap, enable any DMA pool memory

#if CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL
if (g_spiram_ok) {
esp_err_t r = esp_spiram_reserve_dma_pool(CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL);
if (r != ESP_OK) {
ESP_EARLY_LOGE(TAG, "Could not reserve internal/DMA pool (error 0x%x)", r);
abort();
}
}
#endif
//Initialize task wdt if configured to do so

#ifdef CONFIG_ESP_TASK_WDT_PANIC
ESP_ERROR_CHECK(esp_task_wdt_init(CONFIG_ESP_TASK_WDT_TIMEOUT_S, true));
#elif CONFIG_ESP_TASK_WDT
ESP_ERROR_CHECK(esp_task_wdt_init(CONFIG_ESP_TASK_WDT_TIMEOUT_S, false));
#endif
//Add IDLE 0 to task wdt

#ifdef CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0
TaskHandle_t idle_0 = xTaskGetIdleTaskHandleForCPU(0);
if(idle_0 != NULL){
ESP_ERROR_CHECK(esp_task_wdt_add(idle_0));
}
#endif
//Add IDLE 1 to task wdt
#ifdef CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1
TaskHandle_t idle_1 = xTaskGetIdleTaskHandleForCPU(1);
if(idle_1 != NULL){
ESP_ERROR_CHECK(esp_task_wdt_add(idle_1));
}
#endif
app_main();
vTaskDelete(NULL);

}
有没有示例去释放上面的heap_caps_enable_nonos_stack_heaps();所分配的heap

heap_caps_enable_nonos_stack_heaps release stack/memory used during the bootup process and adds it to the heap pool, but this is done automatically for you before app_main runs.
Not sure what exactly you are asking for here. Please try to describe in details what your issue is and only include code where it is actually relevant for the question.

Marking this as answered, feel free to reopen if there is anything left unresolved.


SimpleLink WiFi Driver with wifi_mgmt functions, based on PR #5251

This cc3220sf board sample shows how one can invoke WiFi offload management operations
for the SimpleLink WiFi driver via the proposed wifi_mgmt.h APIs in PR #5251.
It shows the usage model for requesting and listening for notifications of WLAN and IPV4 events using the Zephyr network event management framework.  This PR includes updates and fixes to #5251, required to get the WiFi offload driver to compile and work.
Goal is to give a working example of the wifi_mgmt API usage model.
Todo:

[ ] Modify and Rebase on PR #5251 once merged.

Codecov Report

Merging #6466 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #6466   +/-   ##
=======================================
  Coverage   53.16%   53.16%
=======================================
  Files         431      431
  Lines       41085    41085
  Branches     7900     7900
=======================================
  Hits        21843    21843
  Misses      16035    16035
  Partials     3207     3207

Impacted Files
Coverage Δ

include/net/net_if.h
54.66% <ø> (ø)
:arrow_up:

subsys/net/ip/net_mgmt.c
71.75% <ø> (ø)
:arrow_up:

subsys/net/ip/net_if.c
55.07% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Yes, I see the cause of that now, in one of the first commits.   Looking to resolve...

Pushed updates to fix some issues in the net/mgmt PRs that had removed OPENTHREAD_L2 and needed to build l2/openthread, which was breaking the build of nrf52840_pca10056.

Hi @tbursztyka,
Trying to prove out the WiFi mgmt APIs, so this PR includes the commits in PR #6466.
The first of those commits fails shippable on net_if.h with error:

ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop #1050: FILE: include/net/net_if.h:1390:

See:  https://app.shippable.com/github/zephyrproject-rtos/zephyr/runs/11964/4/tests
However, this is the same macro style used elsewhere in net_if.h (which also gives error if checkpatch.pl is used on the whole net_if.h), and device.h too (which doesn't throw an error).
Is this a shippable bug, or a known issue with plans to change the include/net headers?

recheck

@nashif, @tbursztyka : is this checkpatch.pl issue something we really need to fix in the include/net headers, or do we need to exclude them?  It seems device.h passes checkpatch.pl, yet uses the same kind of macro definition.

@GAnthony no it's fine to keep it as it is.

I have similar issue in one of my PRs with checkpatch which complains about macro definition. This needs either be fixed in checkpatch.pl or then is overriden when applying the commit (a.k.a force apply).

@GAnthony Thanks for investigating this, I updated PR #5251 according to your findings (I backported one of your patch btw). For the circular dependency I made it differently, the original commit including the net mgmt info max size macro was putting it in the wrong place as it should not be public anyway.
Also the scan results: no index, this is too much hw/hal related, user does not care. I added a scan done event to know when we don't need to wait for other results.

@tbursztyka , thanks for updating the PR #5251, and writing the wifi_shell.

For the circular dependency I made it differently, the original commit including the net mgmt info max size macro was putting it in the wrong place as it should not be public anyway.

Yes, that's better.

Also the scan results: no index, this is too much hw/hal related, user does not care. I added a scan done event to know when we don't need to wait for other results.

OK, looks good.  Supplicant can keep an internal counter anyways.
I'll give it a test with SimpleLink.

@GAnthony Any news on that front?

I did get it (sort of) working (with one little bug fix).
Have been delayed debugging usage_faults, especially when SYS_LOG is enabled.   Need to find cause of this before pushing my PR.
In the meantime, although I was able to get the wifi shell working, the wifi mgmt interface implied semantics do not match up well with SimpleLink scan, connect and disconnect behaviors, which I think might create headaches for other offload devices.    I can detail those in a later post.

Closing this PR, as the PR #5251 on which this is based has already been merged, and so will be re-submitting this PR from a fresh branch.


Need to include session information in Receive Messages WebHook

Hello guys,
So I have two open sessions in PLUS. I need to know where is the message coming from. I suggest to include session name in the webhook event. This way, we know from which session we should respond.
Another solution is to make a webhook related to each open session. Meaning, we should be able to configure a uniquie webhook for each session.
Any thoughts would be nice.

Hi!
For now it's easy to add session parameter as you suggested, so the payload looks this way:
{
  "event": "message",
  "session": "default",
  "payload": {}
}

We'll add this soon, great suggestion!
We'll work on more flexible webhooks a bit later, so you'll be able to setup webhooks and events per session - https://github.com/devlikeapro/whatsapp-http-api/issues/68

Thank you @allburov. For now. it is great!

+1 to this.
As a alternative I'm saving the WhatsApp phone number on my side with the session key, that way I can look it up.

Added session field in 2023.3.28!


Sync zh_cn.lang translation with en_us.lang

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


WIP support for Scan

Fixes #105

I figure most scans can be created from folds, so we'll need less in this module? But we could also blanket reexport them.

Figured out the reason for the CPP and trying to fix it.

@Ericson2314: I think it's fine if the suite of Scan utilities is sparse for now or requires wrapping Folds into Scans.  Just having the type and the instances is already a huge improvement

Oh pre AMP haskell...

Looking at the failures, oh pre AMP Haskell...

@Ericson2314: I'm fine dropping support for those versions.  Let me update the Travis Script to omit them

@Ericson2314: Alright, if you merge master into your branch then it should turn green

@Gabriel439 just rebased onto master after my other PR was merged, but this was green and should turn green again. Anything else that should be done here?

This is perfect!  Thanks a lot for all your work on this 🙂


Update RNMLKitFaceDetection.podspec

upgrade GoogleMLKit/FaceDetection to 6.0.0
issue: https://github.com/a7medev/react-native-ml-kit/issues/52

Hi @allangomessl! Thanks for the contribution 🙏🏼
If we're going to upgrade one of the packages to a new ML Kit version we'd need to upgrade the ML Kit version for the rest of the packages as well to maintain interoperability.
Can you please update the PR to upgrade the rest of the packages to the same version?

@a7medev yes, of course. Thank you!


encoding/openapi: add ability to add additional schema constraints

This makes https://github.com/cue-lang/cue/discussions/2522 possible.
Basically we add a Value -> Raw OpenAPI schema. This allows users to add arbitrary addition OpenAPI constraints.
The existing Cue -> OpenAPI validation provides a solid base, but not that many validations can be expressed. This gives full flexibility.
In the PR I added a test that shows an example deriving an additional validation from comments. This showcases a similar implementation to what is seen in kubebuilder (which converts Go types to OpenAPI (as k8s CRD, specifically).

/assign @mpvl as I think you are the one who developed this part of the code

Is there some process I need to go through to get a review on this?

One major hurdle I am running into is something like:
#HTTPRouteDestination: {
	headers:     [...#Headers]
}
// validateme:"message"
#Headers: {
    name: string
}

We end up building something that looks like
[...{
	name: string
}] [] path=[#HTTPRouteDestination headers]

So we aren't actually building #Headers really, but more the anonymous struct we happened to assign to #Headers (terminology may be off).
Now, we do also later build #Headers, but with ExpandReferences=true it doesn't matter, that ends up being discarded.

We decided to move off Cue for this use case (https://github.com/istio/tools/pull/2674). Nothing against Cue, but using it strictly as intermediate state was causing more headaches than it was worth; direct translation from protobuf -> OpenAPI gives us a lot simpler codepath with more flexibility.
I think this PR is pretty hyper-focused only for our use case, so probably makes sense to close this. If anyone wants to pick this up though, feel free to. Thanks for all the help


KCL sandbox submission review

KCL has been proposed to CNCF sandbox. This issue is to track discussions and reviews of KCL to help with deciding whether to accept it in CNCF sandbox.
We've asked @Peefy and team to join an upcoming TAG meeting to discuss the following about the project:

the values KCL proposes to end users
KCL's high-level technical architecture
the project's near-term roadmap
state of the project's community and governance
comparison with existing projects (e.g. helm, kustomize/kpt, ytt)

Thank you @Peefy for presenting at the last TAG meeting.

Notes are here: https://docs.google.com/document/d/1OykvqvhSG4AxEdmDMXilrupsX2n1qCSJUWwTc3I7AOs/edit#heading=h.hvn2d1nejnj5
Recording is here: https://youtu.be/nZcMMluQF9g?t=956

In this initial review we learned that KCL provides structured configuration templating and rendering, complementing the likes of CNCF projects like Helm, kpt, ytt (Carvel) and even Crossplane XRM. We also learned of some significant companies that are using KCL in China. From these perspectives it's a good fit for CNCF Sandbox.

KCL has been accepted to sandbox! Looking forward to working with you.


Update FluentUI to 4.10.0

Description
FluentUI 4.10.0 is out and fixes the issue with menu popups being hidden by the details view.
There is one outstanding issue to do with resize options:

Issue created for FluentUI at https://github.com/microsoft/fluentui-blazor/issues/2635
Checklist

Is this feature complete?

[ ] Yes. Ready to ship.
[ ] No. Follow-up changes expected.

Are you including unit tests for the changes and scenario tests if relevant?

[ ] Yes
[ ] No

Did you add public API?

[ ] Yes

If yes, did you have an API Review for it?

[ ] Yes
[ ] No

Did you add <remarks /> and <code /> elements on your triple slash comments?

[ ] Yes
[ ] No

[ ] No

Does the change make any security assumptions or guarantees?

[ ] Yes

If yes, have you done a threat model and had a security review?

[ ] Yes
[ ] No

[ ] No

Does the change require an update in our Aspire docs?

[ ] Yes

Link to aspire-docs issue:

[ ] No

Microsoft Reviewers: Open in CodeFlow

Lets wait on a fix or the next version. The introduced bug is worse than what is fixed.


ShellEnvSerializer: handle Duration

This change is useful when generating environment variables.
The use-case was a blueprint that took a map of values, turning it into an env variable that is a json string. If that map contained a Duration, then the env variable would contain something like {"delay": {"nanos": 30000000}}. With this change, it will instead generate {"delay": "5m"}.

PR could do with a description.

Thanks @duncangrant - I've changed the description. I've also added another test that the environment variable is really set as expected. Once jenkins confirms the tests pass, I'll merge it.


Use Django 1.7+ migrations

This will cause issues with Django 1.5 and 1.6 which are currently supported. No South migrations will be provided.

FYI it looks like setup.py isn't installing the migrations when this package is pip installed. One way to get them to show up is to add them like this https://github.com/mfogel/django-simple-email-confirmation/blob/develop/setup.py#L34

Thanks for the heads-up, I'll keep this in mind. This functionality is not finished (as is the whole package), all very much alpha/beta, so it will be fixed later on.

Migrations have been added, issue as observed by @mfogel has been fixed in #15.


How to access DbUtils in a way that works when deployed to Databricks?

This documentation explains how to get an instance of the DbUtils class in Python in a way that works both locally and in the cluster but doesn't mention how to achieve this in Scala.
Simply doing val dbutils = com.databricks.service.DBUtils doesn't work when deploying the .jar to Databricks. Job fails with error saying it can't find that class.

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

ID: 3642022f-a58f-6290-ecf1-3c551a9bfc96
Version Independent ID: cf117e4e-c261-858c-517e-04d67e44c35e
Content: Databricks Connect - Azure Databricks
Content Source: databricks/dev-tools/databricks-connect.md
Service: azure-databricks
GitHub Login: @mamccrea
Microsoft Alias: mamccrea

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

We have assigned the issue to the content author . They will evaluate & update the document as appropriate

Hi @eparizzi! The libraries utilities in DBUtils only work on Python. Here is some additional information: https://docs.microsoft.com/en-us/azure/databricks/dev-tools/databricks-utils#--library-utilities

@mamccrea What you have linked seems to have nothing to do with what I'm asking. I'm asking about Databricks Connect.
But then, there's also a Databricks Utilities API, which seems to be a whole different way to get this DbUtils class in development just to be able to build the project.
Databricks Connect works. I can execute code locally, debug it, all great. But this is pretty much useless if then I can't deploy my application to a Databricks cluster and set a job to run the .jar.
So, two different ways to get this DbUtils class, but both are somewhat incompatible with each other or there's a lack of proper documentation on how to set this up for both local development environment and production deployment.
I repeat, just using Databricks Connect it's not enough. The code val dbutils = com.databricks.service.DBUtils, which works locally, just doesn't work when deployed as a jar package to Datatabricks. Job fails with error saying that com.databricks.service.DBUtils couldn't been found.
I've been struggle to find a solution to this for days. I've asked everywhere. Databricks forum, Stackoverflow, Azure support. Nobody seems to know how to achieve this basic scenario. If this is not supported, then Databricks is clearly not for production use. Notebooks are fine for simple tasks. But for bigger Spark applications is mandatory to have the code properly organized as an Spark application with the ability to run locally, debug, test and finally deploy a working solution to production.

#duplicate https://github.com/MicrosoftDocs/azure-docs/issues/43492

#please-close


Test reproducibility notebooks

We should do a test of our paper reproducibility notebooks to make sure our latest API changes didn't break anything:

[ ] Xenium+Visium

[ ] 00_xenium_and_visium.ipynb
[ ] 01_xenium_and_visium.ipynb

[ ] lundeberg.ipynb
[ ] nsclc_cosmx.ipynb (small notebook)

I will list opened issues regarding notebooks here

https://github.com/scverse/spatialdata-io/issues/63

Thanks @melonora. Now some issues are fixed.
Furthermore I have created this extra low priority issue from your last comment: https://github.com/orgs/scverse/projects/17/views/1?pane=issue&itemId=31959761
Re the import, let's just remove them when we see them. I was coding with jupyterlab so unused import where not automatically marked as such, but now I am using VS Code, so I will spot them if I open that notebook.

Thanks @melonora. Now some issues are fixed.
Furthermore I have created this extra low priority issue from your last comment:
* issue: [Replace `os.path` with `Path` and "unzip" with `shutil.unpack_archive` spatialdata-notebooks#40](https://github.com/scverse/spatialdata-notebooks/issues/40)

Re the import, let's just remove them when we see them. I was coding with jupyterlab so unused import where not automatically marked as such, but now I am using VS Code, so I will spot them if I open that notebook.

I can push the notebooks later. Kinda had to change it already because of testing on windows. I am on travel at the moment and it was the only laptop on which I could test:)

Thanks. Please be aware that the notebooks will need to be merged as I have slightly updated them meanwhile. VS Code has a nice interface for diffs between notebooks.

Added in the data CI. If something breaks and we need to fix it I get email notifications.


Resets grpc properly between runs (prevent random thread / process crashes)

Grpc has a nasty habit of hanging during SIGHUP rather than exiting cleanly when restarting tensorflow clusters via tmux session-kill calls. This issue (or one like it) is mentioned in passing here (https://github.com/openai/universe-starter-agent/issues/44)
This bug isn't ubiquitous, but it's definitely present. It's annoying when it poisons the processing environment and leaves it littered with defunct / oprhaned grpc processes that are blocking the ports you're about to re-open when restarting the agents.
I'll eventually fix Tensorflow itself. But for now, this patch resets the the environment more fully between runs so others don't end up with errors like the one below (which don't leave a trace in logs, BTW).
Please cherry pick just 3614229.
[ Sorry my PRs are gross. I'm new here. :D I know how to remove the extra 3 commits from your side if that helps. Let me know. ]
CUDA_VISIBLE_DEVICES= /usr/bin/python worker.py --log-dir /tmp/pong4579 --env-id PongDeterministic-v3 --num-workers 16 --visualise --job-name ps
[2017-02-24 17:17:08,231] Writing logs to file: /tmp/universe-21944.log
E0224 17:17:08.289240788   21944 server_chttp2.c:159]        {"created":"@1487931428.289200252","description":"No address added out of total 1 resolved","file":"external/grpc/src/core/ext/transport/chttp2/server/insecure/server_chttp2.c","file_line":125,"referenced_errors":[{"created":"@1487931428.289197827","description":"Failed to add port to server","file":"external/grpc/src/core/lib/iomgr/tcp_server_posix.c","file_line":634,"referenced_errors":[{"created":"@1487931428.289162540","description":"OS Error","errno":97,"file":"external/grpc/src/core/lib/iomgr/socket_utils_common_posix.c","file_line":260,"os_error":"Address family not supported by protocol","syscall":"socket","target_address":"[::]:12222"}{"created":"@1487931428.289189647","description":"Unable to configure socket","fd":15,"file":"external/grpc/src/core/lib/iomgr/tcp_server_posix.c","file_line":355,"referenced_errors":[{"created":"@1487931428.289183016","description":"OS Error","errno":98,"file":"external/grpc/src/core/lib/iomgr/tcp_server_posix.c","file_line":331,"os_error":"Address already in use","syscall":"bind"}]}],"target_address":"ipv4:<IP_ADDRESS>:12222"}]}
Traceback (most recent call last):
  File "worker.py", line 170, in <module>
    tf.app.run()
  File "/usr/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 44, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "worker.py", line 165, in main
    config=tf.ConfigProto(device_filters=["/job:ps"]))
  File "/usr/lib/python3.6/site-packages/tensorflow/python/training/server_lib.py", line 144, in __init__
    self._server_def.SerializeToString(), status)
  File "/usr/lib/python3.6/contextlib.py", line 89, in __exit__
    next(self.gen)
  File "/usr/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 466, in raise_exception_on_not_ok_status
    pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.UnknownError: Could not start gRPC server

Added to master, thanks!


On screen keyboard

Sometimes one might want to enter text from their remote. Allow entering text!!

I have a solution that calls a prompt to input text. It's nice as it allows android users to use swype and this doesn't need to download/create a whole new virtual keyboard. Would that suffice or do we want an entire virtual keyboard to appear on the screen?

Yes, absolutely. For the prompt, we can customize such that the user actually does not see the characters there. It could just relay the key presses to the server. Just an idea, but feel free to suggest alternatives.

Sorry, I think I misspoke; my solution calls window.prompt() so there isn't much room for customization there to my knowledge

Ah, I see. So instead of relaying key presses, we first take the input from the user and then pass on the string.
The user needs to make sure to select some active text input on their computer (using the trackpad), and then write their string in the prompt which we send over to the server and make pyautogui copy the text to the actual input.
I can see this totally working, but I am thinking about the flow between the user and the computer: Say I want to search for "The Office" on Netflix. I'd probably write "The O" and the autocomplete on Netflix will suggest "The Office" based on my history. If I type letter-by-letter, it works better most of the times and feels natural (since most use cases of this will be search).
Anyway, this was just a thought, which by the way is totally okay to park for later. Let me know what you think.

The autocomplete is a good point - we rarely type things in their entirety before seeing the target in the suggestions. I'll take a deeper look into making this more of an instant-feedback keyboard option then

Can I work on this issue? Is this repo still active?

Hi Avijit, feel free to work on this. I have fallen behind on time

Thanks Brandon and Shubham. I will start working on it.

@AvijitReact feel free to use this thread for any discussions as you make progress on the task.


Import your TechEd BUILD project into SAP Web IDE

First problem: import it from the WebIDE. When I try to create the project importing it as a Build template I get this prompt:

I type my email/password used for the BUILD's login but it asks me again (I'm correctly logging on it on the private session with no cookie/login active).
So I tried to import the project from the ZIP archive I've downloaded from the BUILD (as suggested by your tutorial).
When I try to run the web application I get this error:

Could you please help me?

Yes when I followed the next steps I understood that they made a mistake https://twitter.com/StErMi/status/1030386660700303360

@StErMi Are you OK now?

@thecodester I'm ok but you have to change the tutorial because if you follow the twitter link you're asking the user to run the oData index when oData is not configured yet ;)

Hi all,
Thanks for bringing this to my attention! This is a result of a change in the code generation when importing the BUILD project. An older version of the code preset the mock service for you. I have updated the directions and screenshots to reflect the new path to get a running app. Once you run as "testFLPServiceMockService.html", the 404 error should be resolved as well.
Let me know if you have any additional questions!
Thank you,
Meredith


RAG evaluation using RAGAS

Issue #, if available:
Description of changes:
RAG Evaluation using RAGAS. Evaluating metrics - faithfulness, answer_relevancy, context_precision, context_recall.
The evaluation is performed on a set of questions and ground truths and the output is visualized using a pandas dataframe.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Feedback provided, author will use the new branch.


[SPARK-47803][FOLLOWUP] Fix cast binary/decimal to variant.

What changes were proposed in this pull request?
This PR fixes issues introduced in https://github.com/apache/spark/pull/45989:

VariantBuilder.appendBinary incorrectly uses the type tag for the string type.
VariantExpressionEvalUtils.buildVariant misses the decimal types.

Why are the changes needed?
It is a bug fix and allows Spark to read a map schema with variant value (for example, map<string, variant>) correctly.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
New unit tests. We ensure that at least all supported types are covered (scalar types, array, map, struct, variant).
Was this patch authored or co-authored using generative AI tooling?
No.

the failed docker test isn't related. Thanks, merging to master!


Should we increment "failed_runs" when error is "ResponseAlreadyComputedError"?

Related to https://github.com/huggingface/datasets-server/issues/1464: is it really an error?

does not exist anymore


Issue with .net core 2.0 JWT

Guys, time to time getting 500 Error. When looking as AI:

Any idea what might be wrong here?

@nicksav could be a bug. Can you sent me the jwt?

@nicksav This is not an IdentityModel bug. The null ref is thrown inside System.Text.
I opened: https://github.com/dotnet/corefx/issues/22646


MultivariateNormal?

https://pytorch.org/docs/stable/distributions.html?highlight=multivariate_normal#multivariatenormal
Bases: Distribution
MultivariateNormal.cs
Creates a multivariate normal (also called Gaussian) distribution parameterized by a mean vector and a covariance matrix.

// m = MultivariateNormal(torch.zeros(2), torch. Eye(2))
// m.sample()  // normally distributed with mean=`[0,0]` and covariance_matrix=`I`  tensor([-0.2102, -0.5429])

namespace TorchSharp
{
    using Modules;

    namespace Modules
    {
        /// <summary>
        /// Creates a multivariate normal (also called Gaussian) distribution
        ///  parameterized by a mean vector and a covariance matrix.
        /// </summary>
        public class MultivariateNorma: torch.distributions.Distribution
        {
        }
    }
}


Enable RemoteData to take a promise

Under the hood right now Remote Data uses fetch directly, but in many real world apps (like the one I'd like to use this in!) this is a problem, because we use our own API client that has special headers, etc, etc set up.
Rather than pass all this into RemoteData it would be much better if along with calling fetch you could also give it a promise that should resolve or error accordingly.
Doing this would:

give you a RemoteData that's immediately in the PENDING state (and not fire an onChange for the NOT_ASKED => PENDING transition
If the promise resolves, we go to SUCCESS and provide whatever the promise resolved with as the data
If it rejects, we go to FAILURE and provide the error data.

I think this should be a new method on RemoteData ? Could be something like:
// 1
import RemoteData from 'remote-data-js'

const myPromise = myHttpClient.get('/foo')
const customRemote = RemoteData.fromPromise(myPromise, {
  onChange: newRemote => {
     // either succeeded with the data or failed
  }
})
customRemote.isPending() => true

// OR:

const customRemote = RemoteData.fromPromise(myPromise).onChange(fn)

@isaacseymour I feel like you might have thoughts :)

Also if we did this it might be nice to hide the actual class under the hood and turn the top level API into:
import { fromPromise, fromFetch } from 'remote-data-js'

const remoteData  = fromPromise(promise, { onChange })
const remoteData = fromFetch(url, {onChange, fetchOptions, ...})

Would prevent more breaking changes in the future.

Hi @jackfranklin Any updates with this?

No - not yet! PRs' welcome :)

@joshhornby
You can now do import { withPromise } from 'remote-data-js'
Not yet got the fromFetch API (see README for current details).


Remove the dependency on Metaflow #82

BTW, we may need to update the documentation accordingly?

@pombredanne the only reference to Metaflow in the docs is this:

ScanPipe was originally developed using Django, ScanCode Toolkit, and Metaflow to help boost productivity of code analysts who work on a wide variety of software composition analysis projects.


Would it be possible to train a German model?

Hi,
I recently tested this repo as nuget package and it seems to be a very good Paddle OCR solution for .NET. Would it be also possible to train/finetune a German model (maybe locally) or use the inference model from 'https://github.com/PaddlePaddle/PaddleOCR/issues/1048'?
It's quite similar to English, but you have 4 more characters (ä, ö, ü, ß). At the moment, the model recognizes them as (a, o, u) without the dots above. It would be great.
Kind regards,

It's quite similar to English, but you have 4 more characters (ä, ö, ü, ß).

https://en.wikipedia.org/wiki/List_of_Latin-script_letters
https://en.wikipedia.org/wiki/Template:ISO_15924_script_codes_and_related_Unicode_data
https://knowyourmeme.com/memes/theyre-the-same-picture
In fact, every model can ONLY recognize chars out of the predefined characters dictionary at the train time since recognize will just output a list of index for each character in the dictionary, so if you match dict.txt other than the dictionary being used while training, indexes won't match together and leads to meaningless chars
https://github.com/PaddlePaddle/PaddleOCR/blob/1bc550064457b9ab7821f92f16ac5629239ae95a/doc/doc_ch/models_list.md?plain=1#L45 They claimed the latest v4 model of ch_PP-OCRv4_det is suited for 【最新】原始超轻量模型，支持中英文、多语种文本检测 but there are some missing Latin letter variants in the dictionary so they will never get recognized as it should be:
https://github.com/sdcb/PaddleSharp/blob/167e7601c62d3bcbae9db2f9f46d32f45ba9ca37/src/Sdcb.PaddleOCR.Models.Online/LocalDictOnlineRecognizationModel.cs#L38

ppocr_keys_v1.txt
https://github.com/sdcb/PaddleSharp/blob/167e7601c62d3bcbae9db2f9f46d32f45ba9ca37/src/Sdcb.PaddleOCR.Models.Shared/dicts/ppocr_keys_v1.txt#L5841
ö not exists
https://github.com/sdcb/PaddleSharp/blob/167e7601c62d3bcbae9db2f9f46d32f45ba9ca37/src/Sdcb.PaddleOCR.Models.Shared/dicts/ppocr_keys_v1.txt#L6274
ß not exists

and there's a v3 model that is trained with a latin_dict.txt contains more variant letters:
https://github.com/sdcb/PaddleSharp/blob/167e7601c62d3bcbae9db2f9f46d32f45ba9ca37/src/Sdcb.PaddleOCR.Models.Online/LocalDictOnlineRecognizationModel.cs#L194

latin_dict.txt
https://github.com/sdcb/PaddleSharp/blob/167e7601c62d3bcbae9db2f9f46d32f45ba9ca37/src/Sdcb.PaddleOCR.Models.Shared/dicts/latin_dict.txt#L134
https://github.com/sdcb/PaddleSharp/blob/167e7601c62d3bcbae9db2f9f46d32f45ba9ca37/src/Sdcb.PaddleOCR.Models.Shared/dicts/latin_dict.txt#L151
https://github.com/sdcb/PaddleSharp/blob/167e7601c62d3bcbae9db2f9f46d32f45ba9ca37/src/Sdcb.PaddleOCR.Models.Shared/dicts/latin_dict.txt#L156
https://github.com/sdcb/PaddleSharp/blob/167e7601c62d3bcbae9db2f9f46d32f45ba9ca37/src/Sdcb.PaddleOCR.Models.Shared/dicts/latin_dict.txt#L129

If you want to use the oldest v2 model german_mobile_v2.0_rec_infer from https://github.com/PaddlePaddle/PaddleOCR/issues/1048#issue-731551692 which seems to be trained with german_dict.txt
public static LocalDictOnlineRecognizationModel GermanV2 => new("german_mobile_v2.0_rec_infer", "german_dict.txt", new Uri("(https://paddleocr.bj.bcebos.com/dygraph_v2.0/multilingual/german_mobile_v2.0_rec_infer.tar"), ModelVersion.V2);

but this shouldn't work due to all dictionaries are bundled in Sdcb.PaddleOCR.Models.Shared as assembly resource
https://github.com/sdcb/PaddleSharp/blob/167e7601c62d3bcbae9db2f9f46d32f45ba9ca37/src/Sdcb.PaddleOCR.Models.Shared/Sdcb.PaddleOCR.Models.Shared.csproj#L29-L44 for https://github.com/sdcb/PaddleSharp/blob/167e7601c62d3bcbae9db2f9f46d32f45ba9ca37/src/Sdcb.PaddleOCR.Models.Shared/SharedUtils.cs#L21 to read https://github.com/sdcb/PaddleSharp/blob/167e7601c62d3bcbae9db2f9f46d32f45ba9ca37/src/Sdcb.PaddleOCR.Models.Online/LocalDictOnlineRecognizationModel.cs#L31

Thank you very much! I've overlooked the latin_dict. The mentioned 4 chars are there, being also recognizable. So it's already working when selecting LocalFullModels.LatinV3 as model. I'm going to optimize it, thx!


404 issue on site login with invalid password

Tested with Antimatter, and latest betas.
When shoppingcart plugin is active, and when accessing site login with valid user but invalid password, the error is 404, but not displayed in error.html.twig, and error message:
[2016-05-13 19:32:42] grav.CRITICAL: Page Not Found - Trace:
#0 /Users/J/Launch/official_store_beta/user/plugins/shoppingcart/shoppingcart.php(375): Grav\Plugin\ShoppingCart\Controller->execute()
#1 /Users/J/Launch/official_store_beta/user/plugins/shoppingcart/shoppingcart.php(136): Grav\Plugin\ShoppingcartPlugin->initializeController('login.login', Array)
#2 [internal function]: Grav\Plugin\ShoppingcartPlugin->onPagesInitialized(Object(RocketTheme\Toolbox\Event\Event), 'onPagesInitiali...', Object(RocketTheme\Toolbox\Event\EventDispatcher))

And continued up to #13, but think this is most significant.
Any idea why?

Right, replicated. Fixed


Upgrade packaging to latest version to avoid tailing 0 issues

Description
Upgrade packaging to latest version to avoid tailing 0 issues
Issues Resolved
https://github.com/opensearch-project/opensearch-build/issues/4929
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thanks for the fix @peterzhuamazon

https://build.ci.opensearch.org/job/packer-build/102/console
https://build.ci.opensearch.org/job/packer-build/103/console


Connexion 3 ambiguous API routing confuses connexion validation

Description
If we have two endpoints in the open API spec that have a similar routing path, then connexion gets confused and adds the same validation to both endpoints.
In the example below we have two endpoints:
/v1/{first}/{last}
/v1/bye/{param1}
Both take string parameters but the hello also expects a header. When running this, we can see that connexion expects both endpoints to have the header, which is incorrect.
openapi: "3.0.3"
info:
  title: Helloworld API
  description: API defining the operations available in the Helloworld API
  version: 0.1.0
servers:
  - url: "https://localhost/"
    description: Production API endpoint for the Hello World API

paths:
  /v1/{first}/{last}:
    get:
      summary: Retrieve a greeting message
      operationId: asgi.get_greet
      parameters:
      - name: title
        in: header
        schema:
          type: string
        required: true
      - name: first
        in: path
        schema:
          type: string
        required: true
      - name: last
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Hello, World!
  /v1/bye/{param1}:
    get:
      summary: Retrieve a greeting message
      operationId: asgi.get_bye
      parameters:
      - name: param1
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Hello, World!

Expected behaviour
Header Validation should only apply to the "hello" endpoint and not the "bye" endpoint.
Actual behaviour
# Correct validation
> curl -s localhost:8000/v1/alan/plonk -H 'title: mr'
"Hello mr alan plonk"

# Incorrect validation, title is not relevant for this endpoint
> curl -s localhost:8000/v1/bye/alan
{"type": "about:blank", "title": "Bad Request", "detail": "Missing header parameter 'title'", "status": 400}

# If header is passed, it works
> curl -s localhost:8000/v1/bye/alan -H 'title: mr'
"Goodbye alan"

Steps to reproduce
Create file called run.py
from connexion import FlaskApp
from connexion import request
import traceback

app = FlaskApp(__name__)

def get_greet(first, last):
    return f"Hello {request.headers['title']} {first} {last}", 200

def get_bye(param1):
    return f"Goodbye {param1}", 200

app.add_api("openapi.yaml")

Run using uvicorn run:app
Additional info:
Output of the commands:

Python 3.10.12
Connexion Version: 3.0.6

Just a note that this used to work on Connexion 2.x and is holding us up from migrating to Connexion 3

This is an issue with Starlette route priority.
https://www.starlette.io/routing/#route-priority
The recommendation is to order the routes such that more specific (e.g. my bye example) routes are placed first.
This however impacts the end-user of these APIs as it will then dictate the swagger-ui ordering.
I realise this isn't an issue with connexion per-se, but it does feel a little clunky.

I have found an acceptable workaround. If you use tags, swagger ui orders them alphabetically within the tag.
I'm happy to close this as it is no longer a blocker, but I still think it's important to call this out for anyone upgrading from connexion 2.x as the behaviour is different.


Column Formatting doc - Predefined classes

[ ] Question
[ ] Typo
[x ] Bug
[ ] Additional article idea

Expected or Desired Behavior
Predefined classes table is misleading. Predefined class only define background color. It does not include icon. But pictures shown in the table display both background color and icon. All pictures should be modified without icon. Or add a note to explain it clearly.
Observed Behavior
Predefined classes table not only show define background color but also icons. Predefined classes do not include icons.
Steps to Reproduce

Open https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting
Scroll down to "Predefined classes" section. Look the table for predefined classes.

A note was recently added to the docs indicating that icons are NOT included in the predefined classes. Thanks!
https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting#style-guidelines


Fix architecture terminology

Changed the naming of P and Z which are IBM brands to the respective architectures to be consistent with listed x86 architecture example.

@jenkins-droid Test this please

There's no jenkinsfile in the gh-pages branch, presumably since there is nothing to build. @AlexandreEichenberger

LGTM, thanks for switching to the proper naming.
FYI, grepping for Z in md files, I also found this, in case it also needs fixing.
Neural Network Processing Assist Facility (NNPA) is implemented on processor units of IBM z16. Onnx-mlir can use it via  [IBM Z Deep Neural Network Library (zDNN)](https://github.com/IBM/zDNN). Building and lit tests runs on other IBM Z systems(eg. z15), but numerical tests need to run on z16.

The brand are correct there, but I leave it to you to determine if the capitalization of Onnx-mlir in that quote is correct.

@AlexandreEichenberger I think it has to do with the branch that @tehbone is trying to merge into. He specified onnx:gh-pages instead of onnx-mlir. @tehbone Can you do me a favor and make the update in  onnx-mlir/main/docs/ONNXAI.md from the main branch in onnx-mlir instead of from gh-pages?

@hamptonm1 The webpage (https://onnx.ai/onnx-mlir/) is served from gh-pages, not from the other branches. That branch is the 'main' for the web serving content.

Ah! I see there is automation in place to push from main to here. I will update this PR accordingly.

Ah! I see there is automation in place to push from main to here. I will update this PR accordingly. Thank you @hamptonm1 !

You are welcome :)


Program crashes on launch with FileNotFoundError

Debug info

slips@sliPC
-----------
OS: Arch Linux x86_64
Host: Satellite P755 PSAY1U-03W027
Kernel: 5.13.6-arch1-1
Uptime: 8 mins
Packages: 1259 (pacman)
Shell: zsh 5.8
Resolution: 1366x768
WM: dwm
Theme: Raleigh [GTK2/3]
Icons: breeze [GTK2/3]
Terminal: kitty
CPU: Intel i7-2670QM (8) @ 3.100GHz
GPU: Intel 2nd Generation Core Processor Family
Memory: 1127MiB / 5844MiB
Battery1: 63% [Discharging]
Disk (/): 153G / 926G (18%)
[KeyError]: 'Font:'[KeyError]: 'Font:'----run_rpc----

uptime in epoch:<PHONE_NUMBER>.0
cpuid:<PHONE_NUMBER>37650473
cpuappid:<PHONE_NUMBER>19187335
termappid:<PHONE_NUMBER>50824725
Unknown motherboard, contact us on github to resolve this.
hostappid:<PHONE_NUMBER>79197462
1259 (pacman)
----out.py----

----DE/WM----
[KeyError]: 'DE:'
deid: n/a
wmid: dwm
wmline item 0: dwm

----TERMINAL----

[KeyError]: 'Font:'
fontline: Font: N/A
termid:<PHONE_NUMBER>50824725
termline item 0: kitty
themeline: Raleigh [GTK2/3]

----HOST INFO----

hostline: Satellite P755 PSAY1U-03W027
batteryline:  63% [Discharging]
resline: 1366x768

----GPU INFO----

gpuinfo: Intel 2nd Generation Core Processor Family
gpuvendor: intel

----CPU INFO----

cpuvendor: intel
cpumodel: Intel i7
cpuinfo: Intel i7-2670QM (8) @ 3.100GHz
cpuline item 0: Intel i7-2670QM (8) @ 3.100GHz
memline: 1127MiB / 5844MiB

----OS INFO----

sysosline: Arch Linux x86_64
sysosid:<PHONE_NUMBER>37650473
diskline: /): 153G / 926G (18%)
packagesline item 0: 1259 (pacman)

----testing.py----
----DE/WM----

[KeyError]: 'DE:'
deid: n/a
wmid: dwm

----TERMINAL/SHELL----

termid:<PHONE_NUMBER>50824725
shellid: zsh

----HOST INFO----

hostid:<PHONE_NUMBER>79197462

----GPU INFO----

gpuvendor: intel

----CPU INFO----

cpumodel: Intel i7

Operating system & way of installation
Arch Linux, fetchcord currently installed via pip3, although issue also occurs on AUR version
Error/issue
This error occurs every time the program is run.
('DEFAULT', <Section: DEFAULT>)
('cycle_0', <Section: cycle_0>)
('cycle_1', <Section: cycle_1>)
('cycle_2', <Section: cycle_2>)
('cycle_3', <Section: cycle_3>)
Unknown motherboard, contact us on github to resolve this.
{}
cycle0 not in : True
try_connect(key="cycle0") on <pypresence.presence.Presence object at 0x7f0e63b61610>
Traceback (most recent call last):
File "/home/slips/.local/bin/fetchcord", line 8, in
sys.exit(main())
File "/home/slips/.local/lib/python3.9/site-packages/fetch_cord/main.py", line 117, in main
run.run_loop(computer)
File "/home/slips/.local/lib/python3.9/site-packages/fetch_cord/run_rpc.py", line 63, in run_loop
self.try_connect(self.loops_indexes[i])
File "/home/slips/.local/lib/python3.9/site-packages/fetch_cord/run_rpc.py", line 78, in try_connect
self.rpcs[key].connect()
File "/usr/lib/python3.9/site-packages/pypresence/presence.py", line 43, in connect
self.loop.run_until_complete(self.handshake())
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/usr/lib/python3.9/site-packages/pypresence/baseclient.py", line 128, in handshake
self.sock_reader, self.sock_writer = await asyncio.open_unix_connection(self.ipc_path, loop=self.loop)
File "/usr/lib/python3.9/asyncio/streams.py", line 111, in open_unix_connection
transport, _ = await loop.create_unix_connection(
File "/usr/lib/python3.9/asyncio/unix_events.py", line 244, in create_unix_connection
await self.sock_connect(sock, path)
File "/usr/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect
return await fut
File "/usr/lib/python3.9/asyncio/selector_events.py", line 507, in _sock_connect
sock.connect(address)
FileNotFoundError: [Errno 2] No such file or directory
Other notes(optional)
I believe this to possibly be an issue with pypresence, since i have similar issues with other pypresence-based RPC programs.

It is also worth noting that, upon inspection, all of these files do exist.
dir /usr/lib/python3.9/site-packages/pypresence
__init__.py  baseclient.py  exceptions.py  presence.py
__pycache__  client.py	   payloads.py    utils.py

dir /usr/lib/python3.9/site-packages/fetch_cord
Cycle.py     __main__.py  computer	     cycles.py    run_command.py
Logger.py    __pycache__  config.py	     debugger.py  run_rpc.py
__init__.py  args.py	 config_schema.json  resources    update.py

dir /usr/lib/python3.9/asyncio/
__init__.py	   constants.py       log.py		  staggered.py   unix_events.py
__main__.py	   coroutines.py      proactor_events.py  streams.py	 windows_events.py
__pycache__	   events.py	      protocols.py	  subprocess.py  windows_utils.py
base_events.py	   exceptions.py      queues.py	  tasks.py
base_futures.py     format_helpers.py  runners.py	  threads.py
base_subprocess.py  futures.py	      selector_events.py  transports.py
base_tasks.py	   locks.py	      sslproto.py	  trsock.py

Hello, I have a question, was Discord running when it crashed ?


Grant the permissions

Can you review this step ?,https://docs.microsoft.com/en-us/power-bi/developer/embedded/register-app#apply-permissions-to-your-application-within-azure-ad  the procedure is outdated with the new app registration experience. It is not possible to add permissions to the Master Account. Without the account having at least the Application Administator role

In tenant it is enabled, that the user can give consent.

https://stackoverflow.com/questions/59950232/how-is-the-grant-permissions-button-in-legacy-azure-ad-app-registration-differ
This is de missing:
If you're not allowed to do tenant-wide admin consent, the button attempts to grant the permissions for your account only:

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

ID: d4dd93dd-c3a9-fccc-3a74-cebd6bf09067
Version Independent ID: 0f61cf44-982a-1fcd-1396-4f3da8a40af2
Content: Register an app to embed Power BI content - Power BI
Content Source: powerbi-docs/developer/embedded/register-app.md
Service: powerbi
Sub-service: powerbi-developer
GitHub Login: @KesemSharabi
Microsoft Alias: kesharab

Thanks for the input, @javirivas80. I'm assigning this issue to the author so that they can review the step you've flagged.

Hi @javirivas80,
Thanks for pointing out that the information in the Register an Azure AD application to use with Power BI article is outdated.
I will add this article to my queue of articles to update, and will do it as soon as possible.
Thanks again for your comment,
Kesem


Fix spelling mistake in AU deck

The inevitable heath death of the universe.
->
The inevitable heat death of the universe.

As a rule, I don't fix typos in that file since

it won't ever make it to the live server
the cards were sourced from a spreadsheet provided by CAH so the typos are their own, and if that import is ever run again, they will come back.
it will break card play statistic aggregation as that is based on the card text


Cleanup of the method hasAccess.

Labels

cleanup

Description
As per the discussion comment on the PR, This PR is just a followup change and making sure the endpointUrl should be passed in all the calls. I have looked at all the method calls, and we are passing endpointUrl.  Very minor cleanup changes.
cc:  @soumitra-st , @zhtaoxiang

Codecov Report
Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (59551e4) to head (a001e05).
Report is 772 commits behind head on master.

Files
Patch %
Lines

...t/controller/api/resources/PinotQueryResource.java
0.00%
1 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (59551e4) and HEAD (a001e05). Click for more details.
HEAD has 53 uploads less than BASE

Flag
BASE (59551e4)
HEAD (a001e05)

integration
7
1

integration2
3
1

temurin
12
1

java-21
7
1

skip-bytebuffers-true
3
1

skip-bytebuffers-false
7
0

unittests
5
0

unittests1
2
0

java-11
5
0

unittests2
3
0

integration1
2
0

custom-integration1
2
0

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #13633       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436     2480       +44
  Lines        133233   137038     +3805
  Branches      20636    21306      +670
=============================================
- Hits          82274        0    -82274
- Misses        44911   137038    +92127
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <0.00%> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <0.00%> (ø)

java-11
?

java-21
0.00% <0.00%> (-61.63%)
:arrow_down:

skip-bytebuffers-false
?

skip-bytebuffers-true
0.00% <0.00%> (-27.73%)
:arrow_down:

temurin
0.00% <0.00%> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.