[Bug] INTERNAL_ERROR]Unknown expr node type: 0

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
Git : git://VM-16-12-centos@30d35c414034a82a66ab8064de2076cea77ac38c
Version : doris-2.0.1-rc04
BuildInfo : VM-16-12-centos
BuildTime : Tue, 29 Aug 2023 10:35:46 UTC
What's Wrong?
Run query failed with error message [INTERNAL_ERROR]Unknown expr node type: 0
What You Expected?
Empty set (0.00 sec)
How to Reproduce?
CREATE TABLE `t0` (
  `c0` date NULL COMMENT ""
) ENGINE=OLAP
DUPLICATE KEY(`c0`)
COMMENT "OLAP"
DISTRIBUTED BY HASH(`c0`) BUCKETS 1
PROPERTIES (
"replication_num" = "1",
"in_memory" = "false",
"storage_format" = "DEFAULT"
);

SELECT
  e.c0 as date,
  ifnull(
	  count( DISTINCT  HOUR ( e.`c0` ) ),
	  0
  ) AS val
FROM t0 e
  GROUP BY date

1105 - errCode = 2, detailMessage = (****)[INTERNAL_ERROR]Unknown expr node type: 0, Time: 0.037000s

Anything Else?
But after deleting the alias the result is correct
SELECT
  e.c0,
  ifnull(
	  count( DISTINCT  HOUR ( e.`c0` ) ),
	  0
  ) AS val
FROM t0 e
  GROUP BY e.c0

Empty set (0.00 sec)

Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

You need to use datetime instead of date

You need to use datetime instead of date

Using datetime instead of date has the same issues
drop table `t0`;
CREATE TABLE `t0` (
  `c0` datetime NULL COMMENT ""
) ENGINE=OLAP
DUPLICATE KEY(`c0`)
COMMENT "OLAP"
DISTRIBUTED BY HASH(`c0`) BUCKETS 1
PROPERTIES (
"replication_num" = "1",
"in_memory" = "false",
"storage_format" = "DEFAULT"
);

I tested it according to your sql script and got the result

I tested it according to your sql script and got the result

Which version are you using? I have no problem using 2.0.0, but there is a problem with 2.0.1

I tested it according to your sql script and got the result

Which version are you using? I have no problem using 2.0.0, but there is a problem with 2.0.1

doris-2.0.1-rc04

I tested it according to your sql script and got the result

Which version are you using? I have no problem using 2.0.0, but there is a problem with 2.0.1

doris-2.0.1-rc04


Adding GUI Mirroring - issue #890

This pull request will solve most of mirroring issues.
others issues will be solving at another PR as I need to add some changes at .js files.

Coverage remained the same at 88.294% when pulling 5ca54e4df84eb57b628ea0f9a22915529042f906 on Ashamandi:0.15.0 into 722b31edee341c4634b81c983d8db71e5fd9dc57 on node-red:0.15.0.

Hello @ceejay,
Could you please review this changes ?

css looks fine
two thoughts - 1) there are a lot of lines like   if ($("body").attr("dir") == "rtl") {
Is there not (or could there be) an overall global already defined in the js somewhere that could be used rather than going through jquery every time ?
2) the fa-icons have the classes to rotate and flip already - see http://fontawesome.io/examples/
not sure if it would be easier to use them or not.

Coverage decreased (-0.02%) to 88.275% when pulling 7ac9691e719bae99e70ac32f59e70ef57092f966 on Ashamandi:0.15.0 into 722b31edee341c4634b81c983d8db71e5fd9dc57 on node-red:0.15.0.

About your thoughts:
1- I agree with you, so please review my last commit
2- about fa-icons, using different class name to rotate fa-icons will require to append this class using js code, so I preferred to rotate it myself at scss files using the existing classes .... please let me know if you prefer the other approach.

Hi,

hmm - was more thinking there must already be some variable that this (larger bidi/rtl) work is already setting via some option... so will need integrating with the wider team and shouldn't need to add another one. (but maybe it's needed for stand-alone testing)

I have no preference - just making sure we hadn't missed something. Happy to leave as you have it.


Add export button

The files are written to the Desktop at the moment. Planning to add directory selection.


[📑 Docs]: NEW streetlights tutorial diagram

What Dev Docs changes are you proposing?
Our Streetlights tutorial would benefit from having a diagram to illustrate what we're building.
This issue can be completed AFTER the community has voted and agreed on technology to use for our diagrams via https://github.com/asyncapi/website/issues/849.
Code of Conduct

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

@starlightknown go ahead and add your diagram to this ticket and keep an eye on when you can update the tutorial with it.
Besides creating a PR to get a technical review on your diagram, we need to wait and confirm via https://github.com/asyncapi/website/issues/849 what tool we're using for diagrams.

Yep, thank you!

Hey @starlightknown do you happen to have a MermaidJS LIVE editor link to the markdown diagram you created for this one?
We want to actually have the markdown for this vs only the imported png file because if we go the MermaidJS route, we want this ticket to include all markdown to recreate it 😄

Hey @starlightknown do you happen to have a MermaidJS LIVE editor link to the markdown diagram you created for this one?
We want to actually have the markdown for this vs only the imported png file because if we go the MermaidJS route, we want this ticket to include all markdown to recreate it smile

yes https://mermaid.live/edit#pako:eNq1ksFKxDAQhl9lmJNiqWx7CyIs6NGD7B5zSZuxHUzSkkwOsvTdLe1WcGFBROcU_nwfPwNzwnawhApbZ1J6YtNF43WAeV5ej0d4KEs4SCQSx10vO1Aw5sZx6mEJ7j2ZlCPZ6071C6f-iVOWj7AfR8etER6CgpSb1EZu6MKBXVEVtQ6ru2z6banT-gFwx0HAZU8hKai_0pnl0AHbm9vLLFGQvWz5dKWh-veG-q8bNmgdLNBT9IbtfCpLlUbpyZNGNT-tie8adZhmLo_WCD1bliGiejMuUYEmy3D4CC0qiZk26HxuZ2r6BGLdzOM
`classDiagram
MQTT <.. Streetlight1 : publish light/measured
MQTT <.. Streetlight2 : publish light/measured
MQTT <.. Streetlight3 : publish light/measured
MQTT ..> Application: subscribe light/measured 1,2,3
class Streetlight1{
  +int lumens: 3
  +String id()
  +String sentAt()
}
class Streetlight2{
  +int lumens: 3
  +String id()
  +String sentAt()
}
class Streetlight3{
  +int lumens: 3
  +String id()
  +String sentAt()
}

        `


add motor bike parking category

There is no possibility to add a motor bike parking.
We can only put car or bike parkings currently.

http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dmotorcycle_parking


Update nav slot tags in AppLayouts to improve markup semantics

I think using a svelte:fragment tag here could be the cleanest solution for the default, resulting in the least amount of redundancies in required class assignments and tags in the final markup.
Refs.: https://svelte.dev/docs/special-elements#svelte-fragment, https://learn.svelte.dev/tutorial/svelte-fragment
If the suggestion is appropriate, please also update the PR message if there is something that fits better.

Great suggestion, thanks @ttytm!  I also updated my other usage / references (LayerChart, Github Analysis, and Strava Analysis).


Is there a way to add cursor?

Great Job, this is the only library I've seen that allows animating react components and not just plain strings. But I'm using it on a terminal-like component, so I'm wondering if there's a way to add a cursor.
Thanks so much for your efforts.

Hi @yinkakun, thanks for the kind words.
How about adding a cursor like this?
<>
  <WindupChildren>
    This looks like I'm typing it!
  </WindupChildren>
  <img src="blinking-cursor.gif" />
</>

That img could be a component rendering your cursor however you want, of course. Just make sure that it uses display: inline in its css so that it renders on the same line as your text.


fix issue #15

Flatten the loss returned from method total_loss so that the code could run with scipy>=1.5.0

Sorry, I try to change the corresponding code, but it dosen't work


Fix redirects

Pre-submission checklist:
Please check each of these after submitting your pull request:

[x] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[x] Is your project closed source or, if it is open source, does your project have at least 250 GitHub stars?
[x] Have you picked the single best (existing) category for your project?
[x] Does it follow the other guidelines from the new entries section?
[x] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[x] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[x] Does your project/product name match the text on the logo?
[x] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[x] ~5 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Deploy preview for landscape ready!
Built with commit 69dd619c4b2832cd36c8718e4f0783a958eecbdb
https://deploy-preview-1291--landscape.netlify.com

LGTM

Deploy preview for landscape ready!
Built with commit bc1263c127bf4e44a32f711d39ab59f2ed5dcec4
https://deploy-preview-1291--landscape.netlify.com

That was a lot of updates!


feat(projects): add projects component

Adds project component and appends it to the about page
Changes

Add project component
Add project item component
Add project item model
Add project JSON Resume adapter
Add projects service

Current dependencies on/for this PR:

main

PR #118   👈

This comment was auto-generated by Graphite.


find_split_concat fix

Fix a bug that caused an exception in torch-migraphx benchmarks.  Closes Issue https://github.com/ROCm/AMDMIGraphX/issues/3009

I would assume a test for concat(relu, slice, relu, slice) should reproduce the issue. If that doesnt trigger the issue then we can investigate why. We can use MIGRAPHX_TRACE_MATCHES=1 to see if another matcher is being triggered over this one, and from there we can tweak the test to avoid that.


Implement LogSettings::enable_trace

Fixes: #465
Signed-off-by: Felix Abecassis<EMAIL_ADDRESS>

Since this is (hopefully) a minor fix, any chance this can be applied today?
Thanks

Ping @tjablin

Also ping @guschmue - would be great if you or Tom could review & merge this PR.

I agree with Dilip that this PR looks good and ought to be merged urgently, but I don't feel comfortable merging this request without a thumbs up from either Guenther or Brian.

lgtm


Customer Personality Analysis training + flask app

Made a machine learning training pipeline for Customer Personality Analysis. The training pipeline contains 4 components- Data Ingestion, Data Validation, Data Transformation, and Model Trainer. The data is downloaded from the S3 bucket in the data ingestion component. The trained model is deployed in the Flask app, where we can perform single prediction as well as re-training using /train API. The problem is actually a clustering problem. I did modular coding and made a small package of customer_personality.

Reviewed the files and LGTM. Have you tried to deploy the app?

Yes


Rb v1.1.0

Peer review for v1.1.0

Changes look good and the ARD metadata support is working well.


Generate unit tests for discogapic

Codecov Report

Merging #1859 into master will increase coverage by 0.14%.
The diff coverage is 82.05%.

@@             Coverage Diff              @@
##             master    #1859      +/-   ##
============================================
+ Coverage     84.68%   84.83%   +0.14%
- Complexity     4633     4684      +51
============================================
  Files           438      440       +2
  Lines         18405    18507     +102
  Branches       1953     1967      +14
============================================
+ Hits          15587    15700     +113
+ Misses         2140     2104      -36
- Partials        678      703      +25

Impacted Files
Coverage Δ
Complexity Δ

...codegen/transformer/csharp/CSharpSurfaceNamer.java
91.37% <ø> (ø)
78 <0> (ø)
:arrow_down:

...le/api/codegen/viewmodel/testing/TestCaseView.java
100% <ø> (ø)
2 <0> (ø)
:arrow_down:

...codegen/viewmodel/testing/MockServiceImplView.java
100% <ø> (ø)
2 <0> (ø)
:arrow_down:

...le/api/codegen/transformer/GapicMethodContext.java
93.93% <ø> (ø)
12 <0> (ø)
:arrow_down:

...e/api/codegen/transformer/InitCodeTransformer.java
94.41% <ø> (+4.08%)
80 <0> (ø)
:arrow_down:

...odegen/discogapic/transformer/DiscoGapicNamer.java
70.12% <100%> (-1.67%)
24 <3> (+1)

...pi/codegen/transformer/ApiCallableTransformer.java
96.7% <100%> (-0.03%)
34 <0> (ø)

...former/csharp/CSharpGapicSmokeTestTransformer.java
78.57% <100%> (ø)
8 <0> (ø)
:arrow_down:

...ansformer/ruby/RubyGapicSurfaceDocTransformer.java
95.4% <100%> (ø)
18 <0> (ø)
:arrow_down:

...nsformer/ruby/RubyGapicSurfaceTestTransformer.java
100% <100%> (ø)
24 <0> (ø)
:arrow_down:

... and 55 more

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 5d3928b...6575795. Read the comment docs.

@pongad could you do a first pass?

Made changes. PTAL

LGTM, @garrettjonesgoogle should +2

Removed the http_unit_test.snip and just applying Discogapic to the mock.snip and mock_service_impl.snip and test.snip for now. The mock HTTP transport layer still has to be designed and created before it's worth putting effort into making unit tests for HTTP-based clients.
PTAL


Uncaught Error: Cannot find module './view/open-files-view'

[Enter steps to reproduce:]

...
...

Atom: 1.22.0 x64
Electron: 1.6.15
OS: Unknown Windows version
Thrown From: Atom Core
Stack Trace
Uncaught Error: Cannot find module './view/open-files-view'
At C:\Users\liang\AppData\Local\atom\app-1.22.0\resources\app\static\<embedded>:1

Error: Cannot find module './view/open-files-view'
    at Module._resolveFilename (module.js:470:15)
    at Module._resolveFilename (~/AppData/Local/atom/app-1.22.0/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.22.0/resources/app/src/module-cache.js:354:58)
    at Module.require (/app.asar/static/index.js:40:43)
    at require (~/AppData/Local/atom/app-1.22.0/resources/app/src/native-compile-cache.js:66:33)
    at Object.showOpenFiles (/packages/remote-edit2/lib/main.coffee:126:22)
    at /packages/remote-edit2/lib/main.coffee:92:76)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.22.0/resources/app/src/command-registry.js:381:36)
    at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.22.0/resources/app/src/command-registry.js:266:23)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (~/AppData/Local/atom/app-1.22.0/resources/app/src/atom-environment.js:1382:34)
    at EventEmitter.outerCallback (~/AppData/Local/atom/app-1.22.0/resources/app/src/application-delegate.js:335:31)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands
     -8:11.2.0 remote-edit:new-host-sftp (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
  2x -7:58.7.0 tree-view:toggle (input.hidden-input)
     -7:57.1.0 settings-view:open (div.tool-panel.tree-view)
     -7:46.4.0 core:paste (input.hidden-input)
     -7:28.8.0 remote-edit:new-host-sftp (input#remote-edit2.filterHostsUsing.alias.input-checkbox)
     -6:44.9.0 core:backspace (input.hidden-input)
     -6:44.8.0 core:confirm (input.hidden-input)
     -2:48.5.0 remote-edit:new-host-sftp (input#toggleKeybindings.input-checkbox)
 13x -2:40.4.0 core:backspace (input.hidden-input)
     -1:40 core:confirm (input.hidden-input)
     -1:18.6.0 remote-edit:browse (div.package-detail.panels-item)
     -1:12.8.0 remote-edit:new-host-sftp (input.hidden-input)
 12x -0:58.5.0 core:backspace (input.hidden-input)
     -0:27.8.0 remote-edit:browse (input.hidden-input)
     -0:25.4.0 core:confirm (input.hidden-input)
     -0:19 remote-edit:show-open-files (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)

Non-Core Packages
remote-edit 1.9.0
SquirrelTemp undefined

Thanks for contributing!
It appears that this is being caused by the remote-edit2 package, not Atom itself. It may be that there is still a bug in Atom. If so, we'll need the maintainer of the package that is causing the problem to help track that down. You should file this issue on their repository so they can either fix the problem or tell us where the problem is coming from. The Atom FAQ has information on how to contact the maintainers of any Atom community package or theme.


NIFI-3372 Adding capability for PutSQL to handle BIT fields generated…

… by ConvertJSONToSQL.

Hey @ryanpersaud, it LGTM, could you just rebase against master and I'll merge into master.

Ok, I believe I got it rebased to master and pushed (I see the check mark and 'This branch has no conflicts with the base branch.)  Let me know if I botched it.

Yes perfect @ryanpersaud, thanks! It's merged.


Feature/1825 pmt closed lost

Warning
Info
Issues
Fixes #1643
Fixes #1825

@davidhabib ready for review


Table supports single object along with array of objects

Description
https://github.com/user-attachments/assets/0d48b6a8-4fdd-4804-95ab-5139743270a0
Related Issue(s)
https://github.com/FlowFuse/node-red-dashboard/issues/255
Checklist

[x] I have read the contribution guidelines
[ ] Suitable unit/system level tests have been added and they pass
[x] Documentation has been updated

[ ] Upgrade instructions
[ ] Configuration details
[ ] Concepts

[ ] Changes flowforge.yml?

[ ] Issue/PR raised on FlowFuse/helm to update ConfigMap Template
[ ] Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

[ ] Includes a DB migration? -> add the area:migration label

Hey @gayanSandamal - I think you've misunderstood what the request was here... The idea is that if you send in a message with. a single object, it would append to the existing table's data.
So, yes, in the case where you have no data, and send a single object in, this is fine. If I've already sent 100 rows of data via an array, then send a single object, that object should append to the existing 100 objects.
I do now realise though, that we're missing the "Action" option on tables, like we have with Charts, so could you add that in too please as part of this PR?
Then, a user can choose "Append" or "Replace", with the former, single data objects would append to any existing data, the later, it would replace.

Hey @gayanSandamal - I think you've misunderstood what the request was here... The idea is that if you send in a message with. a single object, it would append to the existing table's data.
So, yes, in the case where you have no data, and send a single object in, this is fine. If I've already sent 100 rows of data via an array, then send a single object, that object should append to the existing 100 objects.
I do now realise though, that we're still missing the "Action" option on tables, like we have with Charts, so could you add that in too please as part of this PR? It was mentioned on the attached issue here. Then, a user can choose "Append" or "Replace", with the former, single data objects would append to any existing data, the later, it would replace.

@joepavitt thank you for clarification on this. I will update this PR

payload || []

@joepavitt I'm marking this as draft for now, as there’s still an issue with appending table data on the server side. It continues to replace instead of appending. However, it works fine on the frontend since I’ve added a separate new mutation for that. I'll investigate the backend behaviour further.

Not sure I understand why the new store mutation is needed?
You just need to maintain a local data variable, and store the data there? Append if appropriate, replace if appropriate?
For the server-side, just store the messages as history like chart, no need to do anything else.
Om load, cycle through the history and handle the data points accordingly.

Not sure I understand why the new store mutation is needed?
You just need to maintain a local data variable, and store the data there? Append if appropriate, replace if appropriate?
For the server-side, just store the messages as history like chart, no need to do anything else.
Om load, cycle through the history and handle the data points accordingly.

Thanks for the quick reply!
You're absolutely right. I added the new mutation just to keep things clean, and yes, that can be handled in the UITable component. I'll make the changes as you suggested.

Not sure I understand why the new store mutation is needed?
You just need to maintain a local data variable, and store the data there? Append if appropriate, replace if appropriate?
For the server-side, just store the messages as history like chart, no need to do anything else.
Om load, cycle through the history and handle the data points accordingly.

@gayanSandamal Updated the PR and this is ready for reaview
tested flow
[{"id":"aa6c78ebcce24f22","type":"inject","z":"80a7b66be7ea4735","g":"f7336d85cc21fa5c","name":"Array payload (prepend)","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[{\"colA\":\"A\",\"colB\":\"Alpha\",\"colC\":1},{\"colA\":\"B\",\"colB\":\"Bravo\",\"colC\":2}]","payloadType":"json","x":300,"y":5000,"wires":[["a60d56eb82660a88"]]},{"id":"a60d56eb82660a88","type":"junction","z":"80a7b66be7ea4735","g":"f7336d85cc21fa5c","x":480,"y":5120,"wires":[["992a534fd22cd77a"]]},{"id":"30d7f1f9477ae6d9","type":"inject","z":"80a7b66be7ea4735","g":"f7336d85cc21fa5c","name":"Object payload","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"colA\":\"W\",\"colB\":\"Wheels\",\"colC\":23}","payloadType":"json","x":280,"y":5100,"wires":[["a60d56eb82660a88"]]},{"id":"69c91b9e795a5625","type":"inject","z":"80a7b66be7ea4735","g":"f7336d85cc21fa5c","name":"Set null payload","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"null","payloadType":"json","x":280,"y":5160,"wires":[["a60d56eb82660a88"]]},{"id":"27267da96a18fd10","type":"inject","z":"80a7b66be7ea4735","g":"f7336d85cc21fa5c","name":"Set an empty array payload","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[]","payloadType":"json","x":320,"y":5220,"wires":[["a60d56eb82660a88"]]},{"id":"a2100ad44fb3ae3a","type":"inject","z":"80a7b66be7ea4735","g":"f7336d85cc21fa5c","name":"Array payload (append)","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[{\"colA\":\"U\",\"colB\":\"Uniform\",\"colC\":21},{\"colA\":\"V\",\"colB\":\"Victor\",\"colC\":22}]","payloadType":"json","x":300,"y":5040,"wires":[["a60d56eb82660a88"]]},{"id":"992a534fd22cd77a","type":"ui-table","z":"80a7b66be7ea4735","g":"f7336d85cc21fa5c","group":"6d04cd4bc990040a","name":"","label":"text","order":1,"width":0,"height":0,"maxrows":0,"passthru":false,"autocols":true,"showSearch":true,"selectionType":"none","columns":[],"mobileBreakpoint":"sm","mobileBreakpointType":"defaults","action":"append","x":610,"y":5100,"wires":[[]]},{"id":"fe3f41285e532c17","type":"inject","z":"80a7b66be7ea4735","g":"f7336d85cc21fa5c","name":"Array payload","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[{\"colA\":\"C\",\"colB\":\"Charlie\",\"colC\":3},{\"colA\":\"D\",\"colB\":\"Delta\",\"colC\":4},{\"colA\":\"E\",\"colB\":\"Echo\",\"colC\":5},{\"colA\":\"F\",\"colB\":\"Foxtrot\",\"colC\":6},{\"colA\":\"G\",\"colB\":\"Golf\",\"colC\":7},{\"colA\":\"H\",\"colB\":\"Hotel\",\"colC\":8},{\"colA\":\"I\",\"colB\":\"India\",\"colC\":9},{\"colA\":\"J\",\"colB\":\"Juliet\",\"colC\":10},{\"colA\":\"K\",\"colB\":\"Kilo\",\"colC\":11},{\"colA\":\"L\",\"colB\":\"Lima\",\"colC\":12},{\"colA\":\"M\",\"colB\":\"Mike\",\"colC\":13},{\"colA\":\"N\",\"colB\":\"November\",\"colC\":14},{\"colA\":\"O\",\"colB\":\"Oscar\",\"colC\":15},{\"colA\":\"P\",\"colB\":\"Papa\",\"colC\":16},{\"colA\":\"Q\",\"colB\":\"Quebec\",\"colC\":17},{\"colA\":\"R\",\"colB\":\"Romeo\",\"colC\":18},{\"colA\":\"S\",\"colB\":\"Sierra\",\"colC\":19},{\"colA\":\"T\",\"colB\":\"Tango\",\"colC\":20}]","payloadType":"json","x":590,"y":5220,"wires":[["992a534fd22cd77a"]]},{"id":"6d04cd4bc990040a","type":"ui-group","name":"#255 Add rows to ui-table without Array structure","page":"c2a6a254b088c41d","width":"6","height":"1","order":4,"showTitle":true,"className":"","visible":true,"disabled":"false"},{"id":"c2a6a254b088c41d","type":"ui-page","name":"1111","ui":"a171c8195c1b8e57","path":"/page1111","icon":"wifi","layout":"grid","theme":"0d92c765bfad87e6","order":18,"className":"","visible":"true","disabled":"false"},{"id":"a171c8195c1b8e57","type":"ui-base","name":"My Dashboard","path":"/dashboard","includeClientData":true,"acceptsClientConfig":["ui-control","ui-chart","ui-form","ui-file-input","ui-button","ui-button-group","ui-dropdown","ui-slider","ui-switch","ui-text","ui-markdown","ui-notification","ui-template","ui-table"],"showPathInSidebar":false,"showPageTitle":true,"navigationStyle":"icon","titleBarStyle":"fixed"},{"id":"0d92c765bfad87e6","type":"ui-theme","name":"Basic Blue Theme","colors":{"surface":"#4d58ff","primary":"#cc00a7","bgPage":"#eeeeee","groupBg":"#ffffff","groupOutline":"#cccccc"},"sizes":{"pagePadding":"12px","groupGap":"12px","groupBorderRadius":"4px","widgetGap":"12px","density":"default"}}]

https://github.com/user-attachments/assets/a69c7372-e168-48ce-a0a1-8ca0acd26add


Always add P in String() method

As of now, when I create a duration like
duration.Duration{Minutes: 10}

and then calling String() returns T10M when PT10M is expected.

Ah good catch. I had misread that part of the spec. Could you fix the failing test cases?

Any update?

This is looking really good. Left a couple more comments.

@astappiev Merged! Thanks for putting this together. :)


Improve serialization: Particularly Dates

Before the default Date serialization was to as a number or a formatted string, with special support for Object property to serialize as { class: Timestamp, value: #### }.
Now we always serialize as { class: Timestamp }... however Date properties contains a custom toJSON to only serialize as the number or formatted string.
This means that serialization should work out of box no matter where we do it, and Date properties should continue to be efficient.
We also fixed a bug in the Class support for serializing class references.
This change includes an end to end JSON Serialization test. The test makes an object with most of the known serializable properties, goes to/from JSON once on the client, send the object to the server, goes to/from JSON on the server, send the object back to the client, and then compares that result with the initial object.
There is an outstanding bug due to disagreement on Java on whether we should deserialize class references to ClassInfo or the real Class object.  As such this portion of the test is disabled.

ping

As disucssed offline with Kevin, this does not affect performance of DAO operations, and will be going ahead.


Update README.md

Added GIF of dump1090
Changed size from 718px → 600 px on the other images to not look tacky with the GIF being a different size.
Let me know your thoughts, Joe.

Looks good to me. Going to go ahead and merge this into the master branch now.


Update models and interface tests for tracing and tempo_cluster to match current state

This PR updates tracing and tempo_cluster interface definitions and their respective interface tests. It also:

retires tracing v0 interface that is no longer supported by any of the tempo charms
adds tempo-coordinator to charms that support tracing v2

In order for the tests to pass, this PR requires https://github.com/canonical/tempo-worker-k8s-operator/pull/27 and https://github.com/canonical/tempo-coordinator-k8s-operator/pull/32 to be merged first.
Context

tracing interface has been under development for the last 2 cycles. As the interface has already stabilised on v2 and we've migrated all the charms and documentation to use v2, we dropped support for older tracing versions in tempo charm: https://github.com/canonical/tempo-k8s-operator/pull/108 ; we also made sure that any user of the older tracing interfaces has migrated to the new one.
tempo_cluster is a new interface that we're implementing in the in-development Tempo HA charms: https://github.com/canonical/tempo-coordinator-k8s-operator and https://github.com/canonical/tempo-worker-k8s-operator . This interface is responsible for passing data between coordinator and worker charms. An early version of this interface was pushed out in #158, however since that push we have aligned the three sets of charms following the same coordinator-worker pattern (Tempo HA, Loki HA and Mimir HA) to use common code objects (see https://github.com/canonical/observability/blob/main/decision-records/2024-06-14--coordinated-multirole-workers.md ) for the decision spec. Part of the change was switching to a shared databag model, using worker_config instead of the dedicated config names for each of the solutions.
this PR is aiming to reflect these changes that don't have an impact on any of the end users as the only consumers of these interfaces were either internal (development-only) or have already migrated away from the retired protocol.

@benhoyt @tonyandrewmeyer @dimaqq @IronCore864: could one of you have a look at this one? I preferably don't want to approve my own team's PRs.

Main question: what does "to match current state" (PR heading) mean?
Context additional to the PR description would also help 🙏🏻

Main question: what does "to match current state" (PR heading) mean? Context additional to the PR description would also help 🙏🏻

@dimaqq: I have added an explanation in the description of the PR. Hope it explains the changes well enough but please feel free to ask to clarify anything that still seems off.

For the failing tests, I think @canonical/charm-tech need to do some additional work in getting both this repo and pytest-interface-tester to be fully Scenario 7 compatible. @IronCore864 and/or I will work on that today.

Per discussion on Mattermost, this PR has been reviewed and tested locally, and everything passes. Regarding the failed quality checks (unit tests and integration tests), please merge the main branch (which contains the fix here). @mmkay


Supported markup formats field for each Infobox

Hi,
I would like to suggest that each infobox (i.e., the infoboxes shown for each static site generator [SSG] at staticgen's homepage, staticgen.com) also includes a field that shows the supported markup formats for the SSG in question. Similarly to how each infobox also lists supported templating engines. Now I know that many SSGs have some default (or out-of-the-box) supported formats, but they also have optional extensions that add support for additional formats, so I suggest that those that are supported by default and those that require some extra configuration (like the installation of optional extensions) be distinguished from one another, somehow. Perhaps by italicizing those that aren't supported out-of-the-box.
The reason for this suggestion is pretty simple. I personally, as someone interested in SSGs (and I doubt I'm the only one), am interested in which SSGs support which markup formats. As it makes it easier for me to search for those that are say compatible with posts written in asciidoc and those that only support markdown posts.
Thanks for your time,
Brenton

Please and thank you. When it comes to a static site generator, the way I'm going to be writing content is just as important as knowing what language(s) I have to setup to run the tool.

Would absolutely take a PR for this. Apart from the UI of sowing the field, the major work to get this done is for someone to actually categorize all the existing static site generators based on what markup formats they support...

This is a dupe of #49.

Closing in favor of #49.


suggestion: catch two common mistakes

Summary
I have noticed two common mistakes people make when using Assertj. Both these mistakes can be caught using static analysis, but it wouldn't hurt if the library caught them at runtime.
The first mistake is to call .equals instead of .isEqualTo. The second mistake is to write code such as assertThat(some boolean expression) and forgetting the isTrue() call.
In AbstractAssert, the code could maintain a boolean flag checking if the object has been "consumed" by one of the isFoo methods. In the destructor, the code could check the flag and throw an exception.
What do you think?

equals is deprecated on Assert objects.
the second problem is trickier, we have a findbugs rule to detect that but if you have a better solution I'm happy to hear it.

@alokmenghrajani any thoughts ?

For the second problem something like a JUnit Rule (I don't know the alternative for TestNG) could work. The only thing is that all the assert methods will need to register themselves that they have been invoked (or have some sort of spy that will track the called methods), the registrations can be done in the constructor of the root assert.

The findbugs rule works for me on some codebases. I noticed it didn't catch things in travis, I'll setup a test repo and share a concrete example.
The JUnit Rule approach seems like a good idea. The overhead of having every assert method register itself sounds like it would be something minimal.

https://github.com/alokmenghrajani/assertj-test shows a repo where mvn test findbugs:check doesn't run findbugs on the test files. It catches any issues in App.java, but not AppTest.java. Any idea why?

@alokmenghrajani The findbugs check was added in assert-j 2.5.0/3.5.0 (additional checks will be done in 2.7.0/3.7.0 see: https://github.com/joel-costigliola/assertj-core/issues/914 https://github.com/joel-costigliola/assertj-core/commit/ff53cee098dc2f421bea0aae58875ab991f185a1), but you example project uses 3.0.0.

I poked around a little with finalizers and JUnit, and I couldn't find any way to write an object that can fail the current test. Throwing an exception in the finalizer doesn't seem to do anything. Hooking into JUnit using a RunListener requires having the current JUnitCore object.
Findbugs works great with the caveat that it needs to be setup right :)
Feel free to close this task unless you can think of some clever way to do this at runtime?

With JUnit @Rule you can do what you are trying to do. Have a look at the ExpectedException from assertj.

As this problem is easily solved by using static code analysis tools, I'm closing this issue.


fix(clerk-react): Add redirectWithAuth to isomorphicClerk

Type of change

[ ] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[ ] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/fastify
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore

Description

[ ] npm test runs as expected.
[ ] npm run build runs as expected.

Adds redirectWithAuth to IsomorphicClerk, so it is correctly returned by useClerk during runtime

If we are going to keep the IsomorphicClerk, i think we should use an interface to make IsomorphicClerk and Clerk expose the same methods to avoid future inconsistencies.

If we are going to keep the IsomorphicClerk, i think we should make IsomorphicClerk use the same interface with Clerk to enforce exposing the same methods. This will allow us to avoid future inconsistencies.

We definitely should. Alternatively, we can re-open a previous PR that replaced isomorphicClerk with a dynamic proxy-based object.
We're closer but still a good deal away from removing hotloading completely, so let me try to find the PR i mentioned above


enhancement of the way of jumping between node with keyboard

jumping between node with keyboard been so confusing as it moving by chosing the relative distance between the current node with node to the direction
as when navigating with keyboard the node sometime jump to another branches
current way of jumping between node is by using traverse Depth First. but the current implementation is by full traverse all the tree node from the root to find the closest one to the selected node relative to the arrow key
in here i propose the way of navigating base on its hierarchy
here the demo
https://github.com/khad1r/obsidian-enhancing-mindmap/assets/60246846/bd66e58d-8dcc-4899-8a5e-95b66fb409ba
here are the rule

if moving up/down then switch between sibling
- if the current node is the first or the last of parent.chlldren then back to parent
- if the parent distance is far enought then moving using _selectnode so might jump to another branch
moving left/right is depent on root direction
- if moving toward root then goes to the parent
- if moving away from root then goes to closest child

this feature is actualy work best with my other the pull request #138
here some demo with default navigation but ctrl + [arrow-up|down|left|right] from #138  is using this PR feature to moving between node
https://github.com/khad1r/obsidian-enhancing-mindmap/assets/60246846/1b0ebc16-3cd0-4a14-96dc-18515935720b

[!NOTE]
when using default layout / clockwise when moving using up or down at root children might moving not the way you expect as the way this implemented is by moving throught root.children array

good work!

Thank you @MarkMindCkm
But this PR is independent from #138
So I might have to create another PR to actually integrated this feature
Gonna look at it again later this day


Request for new synonym [Huppke-Brendel syndrome]

Mondo term
MONDO:0013772
Synonyms
Huppke-Brendel syndrome
Synonym type
exact
Additional comments
related to https://github.com/monarch-initiative/mondo/issues/6765

@nicolevasilevsky there is an updated comment to pause on this change until expert panel review.


Adding Dockerfile for custom ci bin image

Adding docker file to build bin image for ci pipeline

@shawn-hurley I am skeptical about adding OWNERS file here, we can remove the file if you feel it's not needed.

I think we have to keep the owners file for the robot to know who can launch a test so that someone can't ddos the test farm from creating bad PRs


Creating databases ontop of shares/from replicas failing due to SQL parsing errors

Provider Version
Latest. We started seeing this in 0.71 and it still continues in 0.75
Terraform Version

v1.3.4
v1.4.6
v1.5.7

Describe the bug
Weird SQL syntax/parsing errors.
Creating a database from a snowflake share fails due to a syntax/parsing error.
Examples
module.snowflake-inbound-cross-region[0].snowflake_database.from_share: Creating... ╷ │ Error: error creating database CLIENT1_SHARE: 001003 (42000): SQL compilation error: │ syntax error line 1 at position 69 unexpected 'prod'. │  │   with module.snowflake-inbound-cross-region[0].snowflake_database.from_share, │   on snowflake-inbound-cross-region-subaccount/snowflake_db.tf line 1, in resource "snowflake_database" "from_share": │    1: resource "snowflake_database" "from_share" { │  ╵ Operation failed: failed running terraform apply (exit 1)
│ Error: error creating database CLIENT2_SHARE: 001003 (42000): SQL compilation error: │ syntax error line 1 at position 51 unexpected 'PE_PROD'. │  │   with module.snowflake-inbound-cross-region[0].snowflake_database.from_share, │   on snowflake-inbound-cross-region-subaccount/snowflake_db.tf line 1, in resource "snowflake_database" "from_share": │    1: resource "snowflake_database" "from_share" { │  ╵ Operation failed: failed running terraform apply (exit 1)
Creating a database from replica fails due to a syntax/parsing error.
Example
module.snowflake-inbound-cross-region[0].snowflake_database.from_replica: Creating... ╷ │ Error: error creating database CLIENT3_CROSS_REGION_SHARE: 001003 (42000): SQL compilation error: │ parse error line 1 at position 153 near '<EOF>'. │ syntax error line 1 at position 153 unexpected '<EOF>'. │  │   with module.snowflake-inbound-cross-region[0].snowflake_database.from_replica, │   on snowflake-inbound-cross-region-subaccount/snowflake_db.tf line 28, in resource "snowflake_database" "from_replica": │   28: resource "snowflake_database" "from_replica" { │  ╵ Operation failed: failed running terraform apply (exit 1)
Expected behavior

Create a database on top of a share from another account
Create a secondary duplicate database and replicate to a third account

Code samples and commands
`resource "snowflake_database" "from_share" {
provider = snowflake.subaccount
name     = "${local.client_name_upper}_SHARE"
comment  = "Database on top of ${var.client_name}_SHARE - Managed by Terraform"
from_share = {
provider = "${var.client_snowflake_orgname}"."${var.client_snowflake_account_id}"
share    = var.inbound_share_name
}
data_retention_time_in_days = 1
lifecycle {
ignore_changes = [data_retention_time_in_days]
}
}
resource "snowflake_database" "with_replication" {
provider = snowflake.subaccount
name     = "${local.client_name_upper}_CROSS_REGION_SHARE"
comment  = "Duplicate database, replicated into primary snowflake account - Managed by Terraform"
replication_configuration {
accounts             = ["REDACTED"]
ignore_edition_check = true
}
depends_on = [snowflake_database.from_share]
}
//  primary account setup - Create database, assign permissions
resource "snowflake_database" "from_replica" {
name         = "${local.client_name_upper}_CROSS_REGION_SHARE"
comment      = "Database replica from ${var.subaccount_region} "
from_replica = "REDACTED"."${local.tf_account_name_alternative}"."${snowflake_database.with_replication.name}"
depends_on = [snowflake_database.with_replication]
}`
Additional context
This is blocking a workflow in our production environment, so I would consider this a high priority.

Hey 👋, so I was trying to reproduce the first case (creating a database from Share) and I'm not sure if that was intentional or a copy-paste error, but snowflake_database.from_share has an invalid identifier at from_share.provider (VSCode was underlining that and Terraform said it's an invalid attribute name), but nevertheless I've modified a bit the resource to use my data and It worked. Here's the config I've used.
Terraform version v1.5.7
Snowflake provider version v0.75.0
resource "snowflake_database" "from_share" {
  name = "SHARE_TEST_DB"
  data_retention_time_in_days = 1
  comment = "some comment"

  from_share = {
    provider = "\"ORG_NAME\".\"ACCOUNT_NAME\""
    share = "TEST_SHARE"
  }

  lifecycle {
    ignore_changes = [data_retention_time_in_days]
  }
}

But looking at the error message it seems like there might be an issue with unnecessary single quoting around identifiers or how they're specified (in config) in a way that Snowflake doesn't expect. In both cases, it's more of a Snowflake error, not a Terraform Provider error. Let me know if that's the case.

hey @sfc-gh-jcieslak these are being passed in as variables so provider = "${var.client_snowflake_orgname}"."${var.client_snowflake_account_id}" would look something like the string "simon.em12345"
This has been working for several months and we are starting to see these errors as early as version 0.70.1, when we try to setup this for a new workspace in terraform.
Unfortunately we cannot downgrade the provider further as there are separate bugs.
This is a snowflake/sql error, but it only happens when running terraform. If we manually run the command directly in the UI it works.

hey @christyvp, what I meant about the pasted provider is that in Terraform you cannot do two strings with the dot in between like provider = "string"."string" and you should get
│ Error: Invalid attribute name
│
│   on main.tf line 16, in resource "snowflake_database" "from_share":
│   16:     provider = "org"."acc"
│
│ An attribute name is required after a dot.

and your error message looks like it's indicating a wrong ID which most probably could come from an invalid variable value (could be empty or contain special characters which should be enclosed). Just to make sure, could you check on terraform apply if the properties are filled properly? For example
  # snowflake_database.from_share will be created
  + resource "snowflake_database" "from_share" {
      + comment                     = "some comment"
      + data_retention_time_in_days = 1
      + from_share                  = {
          + "provider" = "simon.prod"
          + "share"    = "TEST_SHARE"
        }
      + id                          = (known after apply)
      + is_transient                = false
      + name                        = "SHARE_TEST_DB"
    }

If they're not correct, then there might be some issues with variables, etc.
If they seem alright, I need more context like

Have you tried to hardcode the values instead of getting them from variables or other sources (similar to my example from the first response)
What SQL do you expect to be executed? (you can paste the one you were trying manually)
What values are you expecting in the resource properties? (some of the fields like IDs cannot contain special characters, etc. If they have any, they should be enclosed by double quotes)
What version worked for you? I've checked a few changes between different releases and nothing was suspicious of causing such errors

@sfc-gh-jcieslak

Yes - but since we are using terraform cloud we can only run the plan with hard-coded values. Which shows no errors, but then when we apply in terraform cloud we see the errors.
CREATE DATABASE "CLIENT_SHARE" FROM SHARE "CLIENT"."ACCOUNTNAME"."DATA_SHARE" COMMENT = 'Database on top of CLIENT_SHARE - Managed by Terraform'
I'm not sure what is supposed to show in the ID field - I think just an auto-generated string?
We've been running this terraform code since October/November last year. I'm not sure of the exact release at that point, our code indicates provider 0.47 or later. I believe we started seeing various errors introduced at version 0.56. We are using terraform cloud and have around 15 workspaces using this code. The errors always only impact a portion of them (seemingly random) even though the code is the same across all of them.

Most of the previous errors were cleared up after the 0.70.1 release. But it seems each time an error/bug is resolved a new one is introduced, and then affects random workspaces. We don't see these errors in the terraform plan, they always seem to happen when running the apply - and again only hit a few workspaces. (Sometimes workspaces that have successfully run to completion in the past, and the resources already exist). This PR related to shares was added in release 0.70.1 ... not sure if this had any impact: https://github.com/Snowflake-Labs/terraform-provider-snowflake/pull/2040 - because when I downgrade to 0.69 I don't get the error related to the share, I get the error related to the replica - and I can see in the snowflake UI that the database was created on top of the share.
When we downgrade we have other breaking errors so it's really hard to tell.
Examples of other errors we have received and they all affect random workspaces but not all:
https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/1763
https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/1774We were pinned to version 0.70.1 and it is working for all but 3 workspaces.
Would it be easier to setup a call / screenshare to work through this?

@christyvp Hey, I've consulted with the team and maybe the best way to quickly find the issue is to see what exact configuration you're running. Could you share your configuration through the Snowflake representative you have contact with?

@sfc-gh-jcieslak  I have sent this over via slack

Hey @christyvp could you confirm the issue was resovled ?

We are still seeing this issue

Hey @christyvp, any updates on the latest version?
cc: @sfc-gh-asawicki @sfc-gh-swinkler

@sfc-gh-jcieslak @sfc-gh-asawicki @sfc-gh-swinkler When trying to move to the latest provider we encounter new errors so we can't determine if it has been resolved.


feat(lang): add ansible support

Additionally I used to create such autocommand to set proper filetype on ansible files.
-- Set proper filetype for ansible files
vim.api.nvim_create_autocmd({ "BufNewFile", "BufRead" }, {
  pattern = {
    "*/playbooks/*.yml",
    "*/playbooks/*.yaml",
    "*/roles/*/tasks/*.yml",
    "*/roles/*/tasks/*.yaml",
    "*/roles/*/handlers/*.yml",
    "*/roles/*/handlers/*.yaml",
  },
  callback = function()
    vim.bo.filetype = "yaml.ansible"
  end,
})

Maybe there is any other way to set proper filetype.

I'm using it: https://astronvim.com/Recipes/yaml_ansible

I'm using it: https://astronvim.com/Recipes/yaml_ansible

I've found the "mfussenegger/nvim-ansible" plugin that seems to set the filetypes properly.

when it will be possible to merge  this wonderful extras  ? =D

Can you also add LSP config for ansible-language-server?

Merged. Thanks!
For home assistant (which also uses ninja2), I actually use the twig grammar and it seems to be pretty close.


Added naive string equality for LocalRoomName

This allows comparison between LocalRoomName and &str, String, or &String.
Internally, this simply formats the LocalRoomName and compares, but this can be improved with parser-like behaviour if profiling deems it necessary.

I think I'd be more happy using parse_or_cheap_failure than formatting / allocating a string, but I guess it can be optimized later.
@ASalvail any thoughts on this?

Since it can't be done by them locally, it's not a bad thing. I don't suppose there's going to be that many string comparisons happening, so the string allocation might not be so bad.
We could add an issue to track switching to a cheaper alternative.


Tex use

LaTeX is an implicit dependency for cosmoplots. Here, we make the dependency explicit in the Readme.
Also, since Computer Modern is the default LaTeX font, we change to this - anyone with a working LaTeX installation should have access to this font, unlike 'Times' (which is not by default available on Fedora / Arch).

@engeir I've added you to check if this works on ubuntu.
@auroradh same for Mac.

I guess this depend on the latex distribution that the user has installed? Using tinytex, I run into four missing packages: (with texlive-full i guess it will just work?)
Input

Example from README

import matplotlib.pyplot as plt
import cosmoplots
plt.style.use(["cosmoplots.default"])
import numpy as np

a = np.exp(np.linspace(-3, 1, 100))

# Plotting
fig = plt.figure()
ax1 = plt.gca()
ax1.set_xlabel("X Axis")
ax1.set_ylabel("Y Axis")
base = 2  # Default is 10, but 2 works equally well
# Do plotting ...
ax1.semilogx(a)
# It is recommended to call the change_log_axis_base function after doing all the
# plotting. By default, it will try to infer the scaling used for the axis and only
# adjust accordingly.
cosmoplots.change_log_axis_base(ax1, base=base)
# Plotting
fig = plt.figure()
ax2 = plt.gca()
ax2.set_xlabel("X Axis")
ax2.set_ylabel("Y Axis")
base = 2  # Default is 10, but 2 works equally well
cosmoplots.change_log_axis_base(ax2, "x", base=base)
# Do plotting ...
# If you use "plot", the change_log_axis_base can be called at the top (along with add_axes
# etc.), but using loglog, semilogx, semilogy will re-set, and the change_log_axis_base
# function must be called again.
ax2.plot(a)
plt.savefig("test.png")  # also jpg, pdf

Issues
# issue 1
! LaTeX Error: File `type1cm.sty' not found.
$ tlmgr install type1cm
# issue 2
! LaTeX Error: File `type1ec.sty' not found.
$ tlmgr install cm-super
# issue 3
! LaTeX Error: File `underscore.sty' not found.
$ tlmgr install underscore
# issue 4
...
RuntimeError: Failed to process string with tex because dvipng could not be found
$ tlmgr install dvipng

Successful run

@engeir Try with Latin Modern instead.

As I expect most (of our) users to have some form of texlive (I had not heard of tinytex before), I think a mention in the Readme is good enough.
On Computer Modern vs Latin Modern, it seems there are reasons to prefer Latin Modern: https://github.com/matplotlib/matplotlib/issues/28172
If none of us have problems with Tex Live + Latin Modern, we stick to that.

We have confirmed it works out of the box on mac as well.


mmcsd: add multi partitions support

Summary
include boot0,boot1,gp1,gp2,gp3,gp4,rpmb
Impact
mmcsd
Testing
cortex M55

[Experimental Bot, please feedback here]
No, this PR does not meet the NuttX requirements.
Here's why and how to improve it:

Missing Essential Information: The provided description lacks crucial details needed for reviewers to understand and evaluate the changes.

How to Fix:

Expand the Summary:

Why is this change necessary?  Clearly state the problem this PR addresses. Is it a bug fix, new feature, optimization, or something else?
What part of the code is affected? Be specific about the modules, files, or functions modified.
How does it work? Explain the technical details of your implementation.
Link any relevant issues: Connect your PR to existing issues on the NuttX and/or NuttX Apps repositories if applicable. This provides context and tracks progress.

Complete the Impact Section:

Provide specific details for each "YES" answer. For example, if there's an impact on the build process, explain what changes users need to make.
Be thorough.  Even seemingly small changes can have unintended consequences. Consider all aspects listed in the requirements.

Enhance the Testing Section:

Provide build host details:  Specify the operating system, CPU architecture, and compiler version used for testing.
Target details are insufficient:  "cortex M55" is not enough information. Specify the exact board and configuration used.
Include relevant log snippets:  The current logs are placeholders. Include the relevant portions of your logs that demonstrate the problem before the change and the improvement after your change.

Example Improvement
## Summary

This PR adds support for booting from SD/MMC devices on the Cortex-M55 platform.  It includes modifications to the boot loader stages (boot0, boot1) and the MMC/SD driver to enable loading the NuttX kernel from an SD card.

This change addresses [NuttX Issue #1234](https://github.com/apache/nuttx/issues/1234) which reported the inability to boot from SD cards on the M55.

## Impact

* **Is a new feature added?** YES - Support for booting from SD/MMC on Cortex-M55.
* **Impact on user:** YES - Users will need to configure their SD cards with a bootable NuttX image. Instructions on how to do this will be added to the documentation.
* **Impact on build:** NO
* **Impact on hardware:** YES - This specifically affects Cortex-M55 platforms and requires an SD/MMC card connected to the appropriate pins.
* **Impact on documentation:** YES - Documentation will be updated with instructions for booting from SD/MMC on the M55.
* **Impact on security:** NO
* **Impact on compatibility:** NO
* **Anything else to consider:** N/A

## Testing

**Build Host:**
* OS: Ubuntu 20.04 LTS
* CPU: Intel Core i7-10700K
* Compiler: GCC 9.4.0

**Target:**
* Arch: Cortex-M55
* Board: [Name of your M55 board]
* Configuration: [Specify the board configuration used]

**Testing logs before change:**

[Relevant log output showing boot failure from SD card]

**Testing logs after change:**

[Relevant log output showing successful boot from SD card]

can not reproduce ci error locally

@xuxin930 @cuiziwei1 please look

@xuxin930 @cuiziwei1 please look

@xiaoxiang781216 sure, let me clear this warning

@xuxin930 @cuiziwei1 please look

@xiaoxiang781216 Toolchain.defs needs to be include before Config.mk in all boards, which means that the common judgment of GCC version in Config.mk will cause the Toolchain variables to not be seen.
It seems that Toolchain also needs to be defined in each arch. CC @cuiziwei1


Ensure iFrame is correct height on desktop, mobile and tablet

Assuming that the correct height just means that it looks reasonable, and not something more specific, it looks good to me. I've attached some screenshots taken from manipulating my browser window size and user agent with Chrome devtools.
Desktop

Tablet (looks like the right height but the close widget "X" button needs to be moved)

Mobile (same issue as tablet view)

Yep, I tested this yesterday as well and it looked good to me. Closing this issue.


Implement NibbleIterator for enhanced Nibble

added NibbleIterator to the Nibbles struct for iteration over individual nibbles

Thanks but this exists already through deref to <[u8]>::iter


[B13] Am I dumb? What am I supposed to do? (taint)

Early on in learning the TC6 changes, I was experimenting with alchemy, and got a quest advising me to "let the Flux build", so that's what I did.  Turns out it tore a hole in reality outside my house.

Now, a few minutes later, it looks like this:

I tried planting silverwood trees nearby after seeing online and recalling from previous TC versions that they reduce flux, but after monitoring the level in the aura for a while, they don't seem to be doing anything.  I guess without nodes, there are no "pure nodes" anymore.
The page on Flux now advises me I should "look into ways to minimize flux", but gives no further information as to how to do that.
After running away into exile to do more research, looking around for ages for new materials, scanning everything I could find, and dying way more times than I care to count (losing several thaumometers and thaumonomicons in the process), I finally managed to get close enough to the tainted seed to scan it, and I get this text:

There's a problem, though.  I can't get anywhere near the seed at this point, because the taint has spread far enough that if I come close, I get this insane poison that kills me almost immediately.  If I just rush the seed and start swinging, I die after getting one or two hits in.  But then I lose my weapon.
I get that ranged attacks might be better (though I also lost my caster's gauntlet early on, when the seed formed outside my house and somehow I got taint poison on me INSIDE the house before I realized what was going on), and that this isn't exactly a "bug", but I wanted to lodge a complaint, I guess, related to how this all gets handled from the player experience POV.
Right now, the text in the Thaumonomicon encourages the player to raise the level of Flux in an area.  That might not be the greatest idea, especially considering how crazy the taint seems to be in 6.  Additional guidance might be warranted as to how to remove or reduce Flux or Taint, also, since right now the only guidance I have from the book (which has otherwise been really good about walking me through everything) is to kill this seed, which I can't do.  It's also not entirely clear what's going on with the Taint Poison II effect.  I'm not touching a tainted block when it hits me.  Is it supposed to be from the tainted air?  If so, how am I supposed to deal with this at all?  Is my house just done for?
I like that magic has this air of danger to it now, and that the cost is higher for dabbling in what you don't understand and being careless.  But imo this is a bit much.  The player shouldn't be punished so harshly for following directions.
I would also like to note that the framerate near my house dropped into slideshow territory after this happened until I disabled TC's shaders.
Granted, this made for some great motivation and a fun little adventure.  But it's only really THAT fun if I can eventually overcome the adversity and succeed, lol.

Ya at the moment I don't believe there is a way to evade taint, even with precautionary measure, it will eventually happen, I think this is because flux just doesn't go down, there's a moderate issue opened about at #681 with a bunch of suggestions and ideas for balance, and I also agree the poison is way too high.

The only way I've found of dealing with a Taint seed so far is to 1. not deal with the seed at all: wrap the general area of the rift in a small lava pond before the seed sprouts, the lava just kills the seed upon spawning.
Or 2. get really good with a bow and kill it at range. Not possible if the seed is indoors anywhere though so... Yeah.

FWIW you can tweak taint spread in the mod options. setting both parameters to 0 is "wuss mode".

Yeah but you can't currently alter the range or strength of the Taint Poisons AFAIK.

Liberal application of TNT works wonders.

when you make taint it will build up but once it reaches a certain threashold it will create one of these "rifts" which act something like a black hole or a sun in wehich it slowly voids the taint (very VERY slowly may i add) and eventually it will return back to normal levels however the more bad the taint level is, the worse damage it does to the environment and has a higher chance to spawn monsters through the fracture.
note however that the taint is only in one chunk but it does spread to other chunks but at a rate that is almost ignorable unless its over 3,000.
playing on a server with my friends, we get taint crystals through this method by throwing all sorts of junk into a crucible and then breaking it. we did this in the mining world and waited for the "fun" to start happening but as soon as i saw a taint seed spawn i said "run... just RUN!" but they all hesitated and died. when they tried to retrieve their corpses they couldnt get within 32 blocks(ish) of it but i told them that you have to use a ranged weapon like a bow.
after a while whisps started to spawn and they were VICIOUS!
but hey.. least we got the crystals!
(oh and a final note... it was over 10,000 taint which made the thaumic dioptra spike almost go outside of the block!... yeah took too many hours to clear away so the owner removed it with a creative "sponge")
i think that using a "bolt" spell may not be far enough reach to the spores since it only does a 16 block range and im not sure if the thaumic crossbow will work however other ranged weapons such as a bow definitely work and is highly advised against the spores/seeds and i would also reccoment the thaumcraft bolt weapon against wisps as it has near nstant impact with no delay.

Liquid death works nicely


Simple WITH_ASE

@lzhan55 - This is what we meant

OK. It might be confusing for people, but it works.

I will merge it into lzhan55/ase_plugin9. Thanks.


Check for asyncio.exceptions.CancelledError when py38+ in unit test

Hi,
I was testing an application I work on and that uses pyzmq with the latest version of Python. While setting up the environment, I ran into #1315 , then decided to build locally (which works fine). But running the tests with Python 3.8.0b3 (built from master yesterday), gives me a CancelledError on this test.
Looks like after 3.8, asyncio will raise asyncio.exceptions.CancelledError, not concurrent.futures.CancelledError, due to https://bugs.python.org/issue32528. So added an if similar to another one in the same file, but checking for 3.8.
That way this test passed on Python 3.8.0b3, and also on local Python Anaconda 3.7.3.
Cheers
Bruno

Thanks!


Scrapoxy waiting for 120 secs for every new spider, even if the proxy ip servers are running

Hi,
i am trying to run multiple spiders at once, so when a new spider is started, scrapoxy is making it wait 120 secs initially to proceed the scrapping. why not it just checks weather it is alrady fully scaled so that spiders doesn't need to wait.

Hello @isaichandra ,
Do you have blacklisting mechanism implemented in your Scrapy project ?
Thx,
Fabien.

Hi @fabienvauchelles ,
but i took care of it with the settings of   CONCURRENT_REQUESTS_PER_DOMAIN and CONCURRENT_REQUESTS_PER_IP in scrapy

Yes but I cannot work!
Can you check this solution #28 ? It could help you.

thanks @fabienvauchelles
will look into it.


Feature Request: Catch-All validation function.

This is a convenience feature request.
Problem: I have lots of roles, the user is either in them or not, there is no complex logic.  An angular service is holding an array of all the roles the current user is in.  Currently with angular-permissions, I have to define every role, and write essentially the same function for each one.  I imagine this is a pretty common scenario.
Proposed Solution: Allow the developer to specify a "catch-all" validation function that is used for any undefined roles at the time the user tries to navigate to the route.  It would need to differ slightly from the existing validation functions, in that it would need an input parameter stating the role name that is being checked for.  But I think this would be a good addition to the existing validation functions anyway.

After some thought I think this role based access are currently the way to go, It is how the module is currently being used. I think the idea of permissions is quite interesting but it doesn't fit the current implementation. So for now I will not move forward on this idea.

Just want to throw my vote in here for this feature. Not sure why we have to sit there and define every single row one by one instead of being able to define them in an array.


Discription of Line weight

What is line weight? how is it converted to real thread's thickness?

Yes, what is the use of this line weight ??? And what is the radius of the circle in reality? Answer my two questions as soon as possible @halfmonty @JahanviSapoliya

Yes, what is the use of this line weight ??? And what is the radius of the circle in reality? Answer my two questions as soon as possible @halfmonty @JahanviSapoliya

To explain the Line Weight I'll have to explain a bit about how the algorithm works. The way the algorithm works is, for it to determine where to draw a line/string it checks the pixel value of the source image between each possible pin to determine which is the darkest and then it draws a line. The line weight is the value that is subtracted from the source image's pixels. You have to subtract some value or else the same line will always be considered the darkest each time you run the algorithm.
Each pixel has a maximum possible darkness value of 255, so a line weight of 20 means that when the algorithm draws a line over a certain pixel, it subtracts 20 from the value, so 255 becomes 235, meaning that a completely black area of a picture will take about 12-13 lines overlapping to represent because 255 / 20 is 12.75. Realistically you don't tend to get that much overlapping because as you draw lines and subtract the line weight, other areas of the picture become the next darkest. So this line weight doesn't represent any real world value but it can be tweaked in order to better represent reality.
For example if you were to make a very large string art ring and use a very thin string, a line weight of 20 might be too high of a value that your resulting image would be too see-through and the dark areas of the string art wouldn't be dark enough. You could then tweak this line weight to be a smaller number to cause the algorithm to use more lines/string to represent dark areas.
Should you need to tweak this number? Idk, but that goes into your next question "What is the radius of the circle in reality". I don't know precisely. What I did when I made this generator was do my best to match the results of the guy who inspired me to make this, which you can find here: https://www.reddit.com/r/DIY/comments/au0ilz/made_a_string_art_portrait_out_of_a_continuous_2/
He appears to be using a circle about the size of a bicycle tire. The line weight I chose and other defaults of this generator were more or less arbitrarily chosen by me to match the results in that reddit post with a radius of about a bicycle wheel with standard thread. I made them variable in case you want to make something bigger or smaller or use thicker or thinner string. As for how much exactly you should change those variables, that's up to you.

To explain the Line Weight I'll have to explain a bit about how the algorithm works. The way the algorithm works is, for it to determine where to draw a line/string it checks the pixel value of the source image between each possible pin to determine which is the darkest and then it draws a line. The line weight is the value that is subtracted from the source image's pixels. You have to subtract some value or else the same line will always be considered the darkest each time you run the algorithm.
Each pixel has a maximum possible darkness value of 255, so a line weight of 20 means that when the algorithm draws a line over a certain pixel, it subtracts 20 from the value, so 255 becomes 235, meaning that a completely black area of a picture will take about 12-13 lines overlapping to represent because 255 / 20 is 12.75. Realistically you don't tend to get that much overlapping because as you draw lines and subtract the line weight, other areas of the picture become the next darkest. So this line weight doesn't represent any real world value but it can be tweaked in order to better represent reality.
For example if you were to make a very large string art ring and use a very thin string, a line weight of 20 might be too high of a value that your resulting image would be too see-through and the dark areas of the string art wouldn't be dark enough. You could then tweak this line weight to be a smaller number to cause the algorithm to use more lines/string to represent dark areas.
Should you need to tweak this number? Idk, but that goes into your next question "What is the radius of the circle in reality". I don't know precisely. What I did when I made this generator was do my best to match the results of the guy who inspired me to make this, which you can find here: https://www.reddit.com/r/DIY/comments/au0ilz/made_a_string_art_portrait_out_of_a_continuous_2/
He appears to be using a circle about the size of a bicycle tire. The line weight I chose and other defaults of this generator were more or less arbitrarily chosen by me to match the results in that reddit post with a radius of about a bicycle wheel with standard thread. I made them variable in case you want to make something bigger or smaller or use thicker or thinner string. As for how much exactly you should change those variables, that's up to you.


Unable to build pyrealsense2_net

Required Info

Camera Model
D435i

Firmware Version
<IP_ADDRESS>

Operating System & Version
Linux

Kernel Version (Linux Only)
4.9.253-tegra

Platform
NVIDIA Jetson Nano B01

SDK Version
2.47.0 / 2.49.0

Language
Python

Segment
Robot

Issue Description
Hi,
I am trying to build the Python realsense library pyrealsense2_net and run the net_viewer.py example to get frames from a networked realsense device. The remote device is a Raspberry Pi 4 setup via the guide to ethernet networking.
I am building realsense from source using the commands:
cmake .. -DBUILD_NETWORK_DEVICE=ON -DBUILD_PYTHON_BINDINGS=ON -DPYTHON_EXECUTABLE=$(which python3) -DBUILD_SHARED_LIBS:BOOL=ON
make
sudo make install

I have also tried with only the first two flags but added shared_libs and python_executable based on comments on some similar issues.
Running the above commands successfully builds pyrealsense2 and a folder for pyrealsense2_net but the network library has almost no methods and does not implement net_device which is critical for using networked cameras.
Here is what happens if I import the two libraries and see their methods:
>>> import pyrealsense2
>>> dir(pyrealsense2)
['BufData', 'D400', 'DEPTH', 'L500', 'SR300', 'STAEControl', 'STAFactor', 'STCensusRadius', 'STColorControl', 'STColorCorrection', 'STDepthControlGroup', 'STDepthTableControl', 'STHdad', 'STRauColorThresholdsControl', 'STRauSupportVectorControl', 'STRsm', 'STSloColorThresholdsControl', 'STSloPenaltyControl', 'T200', 'TRACKING', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', '__version__', 'align', 'any', 'any_intel', 'auto_calibrated_device', 'calib_target_type', 'calibrated_sensor', 'calibration_change_device', 'calibration_status', 'calibration_type', 'camera_info', 'color_sensor', 'colorizer', 'composite_frame', 'config', 'context', 'debug_protocol', 'debug_stream_sensor', 'decimation_filter', 'depth_frame', 'depth_huffman_decoder', 'depth_sensor', 'depth_stereo_sensor', 'device', 'device_calibration', 'device_list', 'disparity_frame', 'disparity_transform', 'distortion', 'dsm_params', 'enable_rolling_log_file', 'event_information', 'extension', 'extrinsics', 'filter', 'filter_interface', 'firmware_log_message', 'firmware_log_parsed_message', 'firmware_logger', 'fisheye_sensor', 'format', 'frame', 'frame_metadata_value', 'frame_queue', 'frame_source', 'hdr_merge', 'hole_filling_filter', 'intrinsics', 'l500_visual_preset', 'log', 'log_message', 'log_severity', 'log_to_callback', 'log_to_console', 'log_to_file', 'max_usable_range_sensor', 'motion_device_intrinsic', 'motion_frame', 'motion_sensor', 'motion_stream', 'motion_stream_profile', 'non_intel', 'notification', 'notification_category', 'option', 'option_range', 'options', 'pipeline', 'pipeline_profile', 'pipeline_wrapper', 'playback', 'playback_status', 'pointcloud', 'points', 'pose', 'pose_frame', 'pose_sensor', 'pose_stream', 'pose_stream_profile', 'processing_block', 'product_line', 'quaternion', 'recorder', 'region_of_interest', 'reset_logger', 'roi_sensor', 'rs2_deproject_pixel_to_point', 'rs2_fov', 'rs2_project_color_pixel_to_depth_pixel', 'rs2_project_point_to_pixel', 'rs2_transform_point_to_point', 'rs400_advanced_mode', 'save_single_frameset', 'save_to_ply', 'sensor', 'sequence_id_filter', 'serializable_device', 'software_device', 'software_motion_frame', 'software_notification', 'software_pose_frame', 'software_sensor', 'software_video_frame', 'spatial_filter', 'stream', 'stream_profile', 'syncer', 'temporal_filter', 'terminal_parser', 'texture_coordinate', 'threshold_filter', 'timestamp_domain', 'tm2', 'units_transform', 'updatable', 'update_device', 'vector', 'vertex', 'video_frame', 'video_stream', 'video_stream_profile', 'wheel_odometer', 'yuy_decoder', 'zero_order_invalidation']
>>> import pyrealsense2_net
>>> dir(pyrealsense2_net)
['__doc__', '__loader__', '__name__', '__package__', '__path__', '__spec__']

I have tried SDK versions 2.47.0 and 2.49.0 and they seem to work the same.
Is there something I am missing here? Additional flags I need to set or libraries to install?
Thanks,
Colin

Hi @colinmsnow   The ethernet guide recommends including the CMake build flag -DFORCE_RSUSB_BACKEND=ON when building the SDK from source on Raspberry Pi.  This advice also applies to building the SDK from source on Jetson, as demonstrated by the Jetson Nano compatible installation guide at https://github.com/IntelRealSense/librealsense/issues/6964#issuecomment-707501049

I tried again building with:
cmake .. -DBUILD_NETWORK_DEVICE=ON -DBUILD_PYTHON_BINDINGS=ON -DPYTHON_EXECUTABLE=$(which python3) -DBUILD_SHARED_LIBS:BOOL=ON -DFORCE_RSUSB_BACKEND=ON -DCMAKE_BUILD_TYPE=release -DBUILD_EXAMPLES=true -DBUILD_GRAPHICAL_EXAMPLES=true

It builds successfully but I still have the same problem with missing methods in pyrealsense_net. I have been following the instructions in  #20 and have moved the init.py file to the directory that holds the python package. This makes pyrealsense2 work but there is no equivalent init.py for the net module. I tried it with the same init file as pyrealsense2 and also a blank init and neither caused any change.
The build put the python packages in /usr/local/lib/python3.6 and the pyrealsense_net folder contains the following files:
pyrealsense2-net.cpython-36m-aarch64-linux-gnu.so  pyrealsense2-net.cpython-36m-aarch64-linux-gnu.so.2.47  pyrealsense2-net.cpython-36m-aarch64-linux-gnu.so.2.47.0

This seems like it should be correct but I have no way of verifying whether these files are flawed or whether they are not being imported properly.

The instructions in https://github.com/IntelRealSense/meta-intel-realsense/issues/20#issuecomment-687180484 relate to a branch of Linux called Yocto and not Ubuntu.
After having installed the pyrealsense2 wrapper and included net support in the build with -DBUILD_NETWORK_DEVICE=ON, what happens if you then attempt to launch the net_viewer.py example?

I built it using the flags:
cmake .. -DBUILD_NETWORK_DEVICE=ON -DBUILD_PYTHON_BINDINGS=ON  -DBUILD_SHARED_LIBS:BOOL=ON -DFORCE_RSUSB_BACKEND=ON -DCMAKE_BUILD_TYPE=release -DBUILD_EXAMPLES=true -DBUILD_GRAPHICAL_EXAMPLES=true

Running make and sudo make install results in the folder /usr/local/lib/python3.6/pyrealsense2 that contains the files:
pybackend2.cpython-36m-aarch64-linux-gnu.so         pyrealsense2.cpython-36m-aarch64-linux-gnu.so         pyrealsense2-net.cpython-36m-aarch64-linux-gnu.so
pybackend2.cpython-36m-aarch64-linux-gnu.so.2       pyrealsense2.cpython-36m-aarch64-linux-gnu.so.2.49    pyrealsense2-net.cpython-36m-aarch64-linux-gnu.so.2.49
pybackend2.cpython-36m-aarch64-linux-gnu.so.2.49.0  pyrealsense2.cpython-36m-aarch64-linux-gnu.so.2.49.0  pyrealsense2-net.cpython-36m-aarch64-linux-gnu.so.2.49.0

If I run net_viewer.py in this folder I get an import error saying that pyrealsense2_net does not exist (though it successfully imports pyrealsense2 first):
Traceback (most recent call last):
  File "test_realsense_net.py", line 12, in <module>
    import pyrealsense2_net as rsnet
ModuleNotFoundError: No module named 'pyrealsense2_net'

This makes sense because there is no folder for pyrealsense2_net and python does not know how to find it, but the folder for pyrealsense2 appears to contain the net libraries. Is this the expected behavior? And if so how do I get python to recognize these pyrealsense2-net.cpython files as a library?

Another RealSense user in https://github.com/IntelRealSense/librealsense/issues/7606 also encountered the ModuleNotFoundError: No module named 'pyrealsense2_net' error when trying to import pyrealsense2-net.  A RealSense team member asked whether they had rs-server running on Linux.  I therefore wonder whether rs-server should be active first before the net-viewer.py example program is run.
Thanks very much for your patience during this case!

After reading the link you provided it seems like the problem encountered in the issue was that rs-server only supports Linux and so it is not possible to compile pyrealsense2_net on windows. I am working on Linux and building the SDK successfully builds rs-server and puts it in /usr/local/bin/rs-server. I assume this is what is needed to build pyrealsense2_net. I can run rs-server and it works fine but it doesn't do anything because there is no realsense connected to the local device.
/usr/local/bin$ ./rs-server
Rs-server is running
Waiting for Device...

Running rs-server has no effect on the python modules and I still get the same error.

If this were the open source ethernet networking project then I would expect to have to make an SSH connection to rs-server from the host computer before being able to stream data from the remote camera to the host.  The net-viewer.py Python example has no accompanying documentation to indicate what prerequisites and procedures are needed in order to establish a network connection though.
As the available investigative leads about this subject have been covered already in this discussion, since you are using Linux and Python it may be worth considering using EtherSense instead, which was a RealSense networking project designed for Python that was the predecessor of rs-server.
https://github.com/krejov100/EtherSense

I think my last post might have been a bit confusing... I have a remote device (Raspi 4) which is running rs-server and streaming data to the Jetson. I know this works as I can access the stream both through the realsense-viewer and the c++ API. The net_viewer.py file is failing before it even attempts to make this connection when it tries to import the library pyrealsense2_net. The issue is not with anything at runtime but with either the library files or the way they are set up on the computer when it is built by the SDK. Is there any prebuilt version of librealsense which includes net libraries I could take a look at to see how the files are arranged? Or any other documentation on pyrealsense_net besides that one example file? I suspect it might be a problem with how the SDK places the build files after building.
I would like to avoid using EtherSense as my server computer is already set up and working reliably and future plans for this project will likely depend on using both c++ and python to access the remote device which is only possible with realsense-net.

In the ethernet networking white-paper, Intel provide a pre-built 3 GB Raspberry Pi 4 SD card image containing librealsense 2.34.0 and the networking files for testing purposes and to compare the file structure to your own project.
https://dev.intelrealsense.com/docs/open-source-ethernet-networking-for-intel-realsense-depth-cameras#section-2-3-preparing-the-sd-card

I am using that image on my remote device and to my knowledge, while it does build the net device, it does not build python bindings so does not have pyrealsense2 or pyrealsense2_net.

I reviewed the case again from the beginning but did not find any further leads that mat be helpful unfortunately, as rs_viewer.py was introduced relatively recently in SDK 2.49.0 and so there are few references about it at the time of writing this.  I do apologize.

I tried the same set of actions on another computer (Dell Latitude running Ubuntu 18.04) and got exactly the same result so I suspect it is not an issue with my machine or configuration but rather in either how the installer places files or a lack of documentation on how to use them after they are built. I noticed that @maloel wrote the net_viewer example and a few others including @lramati seem to be actively developing the python net module. Would any of you be able to provide some clarity on this or @MartyG-RealSense do you know anyone else who might have knowledge about it? Assuming this is not a computer-specific issue it seems like it is something that is pretty essential to the use of the pyrealsense2_net project.

I have highlighted this case to Intel to seek advice.  Thanks very much for your patience.

Hi @colinmsnow and @michezio  Intel are still investigating this issue.  Thanks very much for your patience!

There is currently no further information from Intel to report about this issue.

Hi @Adamskiiiiii  The most recent discussion of the ModuleNotFoundError: No module named 'pyrealsense2_net' error was a week ago at the time of writing this at https://github.com/IntelRealSense/librealsense/issues/10218 though that was again an Ubuntu related case.
The next version of the RealSense networking API is being worked on and due "soon", though I do not have an estimate of a release timetable to provide.

I have no further information from Intel to provide at the time of writing this.
@colinmsnow  @michezio  @Adamskiiiiii  Could each of you update me about whether you are still experiencing problems with pyrealsense2.net please.  Thanks!

@michezio  Thanks for the information!

@MartyG-RealSense Hello, I have also switched to C++ but now I am having another issue. I have been following the instructions of the ethernet networking whitepaper, up to section 3.4 of the ethernet networking whitepaper. After adding the following line:
#include <librealsense2-net/rs_net.hpp>
to my cubemos cpp_realsense code sample on visual studio, these 2 errors appeared:
C1083	Cannot open include file: 'librealsense2-net/rs_net.hpp': No such file or directory
E1696	cannot open source file "librealsense2-net/rs_net.hpp"

(This is to show that the .hpp file does exist, I think)

(I then added the highlighted line, as instructed under section 3.4 of the same paper, the errors persist still)
If it wasn't obvious enough by now, I am a complete beginner and don't really know what I am doing. I would appreciate any help I can get, perhaps in the form of more detailed, explicit instructions since I have slowly come to realize I am in fact, borderline computer illiterate.
Thank you for your help in advance!

@MartyG-RealSense pyrealsense2.net still doesn't work, so I have switched to C++ networking instead (and encountered a different issue, at #10262). Thank you for the update anyway!

Thanks very much @Adamskiiiiii  for your update!  I have replied to https://github.com/IntelRealSense/librealsense/issues/10262
@colinmsnow  I will close this case after 7 days from the time of writing this if I do not hear from you.  Thanks!

I was never able to resolve this issue or get pyrealsense2.net working in any capacity. We have moved on to another solution.
Thanks so much for trying!

Thanks very much @colinmsnow for the update!  As everyone involved in this case has either moved to C++ or chose another solution, I will close this case.  Thanks again!

Hello MartyG,
I am also facing the same problem, Is there any update from intel side.

Hi @deepak-asink   There is no update to provide regarding issues with pyrealsense2.net.  Intel are working on the next version of RealSense networking, although I do not have a time estimate available for its release.
You could explore whether the Python EtherSense ethernet networking project in the link below that was the predecessor of the current networking system can meet your needs.
https://github.com/IntelRealSense/librealsense/tree/master/wrappers/python/examples/ethernet_client_server

Thanks @MartyG-RealSense , I am able to use Ethersense for my project but the frames I am getting are at very low fps on client side. Can you suggest some fix for that.

A general rule for RealSense ethernet networking will be that the connection will have a faster data transfer rate than USB 2 but slower than USB 3.  This is described in the table below,.

At https://github.com/IntelRealSense/librealsense/issues/8213#issuecomment-769048556 there was also a case with a Python ethernet setup resembling the EtherSense project where connection problems were found to be caused by use of USB 2 cabling instead of USB 3.

I solved the problem by replacing import pyrealsense2_net as rsnet with from pyrealsense2 import pyrealsense2_net as rsnet.

Excellent to hear, @Adamskiiiiii - thanks so much for sharing the solution that worked in your particular case  :)

from pyrealsense2 import pyrealsense2_net as rsnet

I tried to replacing the code with from pyrealsense2 import pyrealsense2_net as rsnet, but I got an error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'pyrealsense2_net' from 'pyrealsense2' (.../Anaconda/anaconda3/envs/KAN-Forest/lib/python3.10/site-packages/pyrealsense2/pyrealsense2.cpython-310-x86_64-linux-gnu.so)

Could you please tell me how you managed to install the pyrealsense2_net module?

Hi @CharmingZh
The realsense2_net library, and its accompanying Python module, have been deprecated and are no longer available except in older versions of the library. It is no longer supported.

@maloel Okay, that's soooo sad ; (
thanks bro, it seems that I have to switch my project into C++.


The 'select' area is larger than 'click to open detail' area

It's possible to click right at the beginning or at the end of the WorkItemList entry and achieve the 'Item' showing as 'selected', but not details being updated.
https://youtu.be/AMv7uMC8_ZM

I am not following your question here....? The blue is indicating selected
item, but I don't see this behavior in the video (which is a great tool to
communicate with!!) and I am not grasping the question....
Can you clarify for me?
Thanks,
Monica
On Sun, Dec 4, 2016 at 9:48 AM, Aslak Knutsen<EMAIL_ADDRESS>wrote:

It's possible to click right at the beginning or at the end of the
WorkItemList entry and achieve the 'Item' showing as 'selected', but not
details being updated.
https://youtu.be/AMv7uMC8_ZM
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/almighty/almighty-ui/issues/422, or mute the thread
https://github.com/notifications/unsubscribe-auth/ARTwq7fq8IRtMh6bTt_vk9qFYi9UCkI7ks5rEtKpgaJpZM4LDmf5
.

This issue is blocked by an issue in the library we are using for dropdown.
https://github.com/pleerock/ng2-dropdown/issues/13

@Mgranfie try clicking at the edges of an item, it does select the item but it doesn't open the details page or change the url.


terminating with uncaught exception of type syntax_error: Invalid operator: -

Followed the directions fore getting started; compiles fine but when running I'm getting this error:
terminating with uncaught exception of type syntax_error: Invalid operator: -
File: main.cpp
#include <iostream>
#include "shunting-yard.h"

int main() {
    TokenMap vars;
    vars["pi"] = 3.14;
    std::cout << calculator::calculate("-pi+1", &vars) << std::endl;

    return 0;
}

Hello @chrisabrams,
I made a small test here and I think I know what is going on, tell me if I am wrong:
I first ran the make release recipe, it compiled fine but shown some warnings (I have to look into them, they're probably from the last PR)
Then I compiled your file (I saved it as main.cpp) twice, the first one including the builtin-features the second one ignoring it here are the results:
vingarcia@vingarcia-dito:~/projects/cparse$ g++ -Wall -pedantic core-shunting-yard.o builtin-features.o main.cpp
vingarcia@vingarcia-dito:~/projects/cparse$ ./a.out
-2.14
vingarcia@vingarcia-dito:~/projects/cparse$ g++ -Wall -pedantic core-shunting-yard.o main.cpp
vingarcia@vingarcia-dito:~/projects/cparse$ ./a.out
terminate called after throwing an instance of 'syntax_error'
  what():  Invalid operator: -
Aborted (core dumped)

Is this what you are seeing?

If it is, the problem is just that you are missing the builtin features, I made them like that because someone might not like the default operators and want to create something from 0.

Yes that is the error I got! Ok, I will try to figure out how to add builtin-features.o to Xcode.

Figured out Xcode, I will try to make a PR to add OS X/Xcode to the instructions.


Require image for ARM64 architecture

Hi team,
I am trying to use the rancher/server image on the arm64 platform but it is not available for arm64 in dockerhub. There is no dockerfile available for rancher/server on master branch of this git repository and it looks like the server module is removed after tag v1.6.30.
Do you have any plans on releasing arm64 images?
It will be helpful if the image is released for the ARM64 platform. If required, I am happy to contribute. But as a start, can you please provide me with Dockerfile source for rancher/server image?

Are you deliberately looking for rancher/server images (for 1.x of Rancher, now retired) or for 2.x (in active development)

Rancher 1.x is not supported anymore. Rancher 2.x in general does not support arm64 at this time as there are several complications with it. There are other issues here that track adding support for it.


how to update knowledge files and ollama model

Gretting~
i use the docker-compose up to bulid anything llm,also use the local ollama llm bound on anything
but when i update the knowledge and ollama model,actually i can't find the newer knowledge and ollama models
### 1.knowledge e.g.

i already upload the 5 files,but when i ask anying and get the answer just the 2 files

### 2.ollama model e.g.
the local ollama model include the 6 models

but the anything webui can't find the all models

if i want choose the llama3, can't choose this model on anything
anything command i shoud command update or any tips?
tks

I see you have all your documents pinned, you cannot pin 10K of context into an 8K context window, so in this case, i am pretty sure that is what is preventing the rest of the files from showing during retrieval. Unless all of those file together result in < 8K context that is what is going on there.
As for the second item, did you scroll the input - it may be below phi? I am assuming you did, in which case you are able to see llama3 in the main LLM preference but not in workspace? Correct?

@timothycarambat
Gretting~
1.so the major reason it's over 8k, later will not pinned after try it.
2.yes,i pretty sure scroll the input ,can't find match all Model on workspace,also finally checklist again
local ollama list model---->Model have 6

but the workspace---->Model have 6

but something different,
may i know the workspace the config choose the Ollama should be concurrent match the true all-config,
but actually not really,and i'm make sure when i install the anything llm from docker install,
after something modify the local ollama models del or add,
so after result the Model can't really match ,but i don't have idea how to update the anytingllm to match local Model

Is it possible you have two ollama instances running? One on the host and one in docker? Im going to close & mark this as unable to replicate as nobody else has reported this issue so I'm unsure how you can get two different model responses from the same ollama instance since we ping the provider URL directly. The fact we get responses at all means that the AnythingLLM side of things is working, but there is something going on with your setup/configuration as it is clearly pulling some other set of models?


jump of pts should use pts(4)

Shouldn't it be preferred to use .. how should i put it... core manpages instead of the ones from additional packages?
https://manpages.debian.org/pts -> https://manpages.debian.org/bookworm/openafs-client/pts.1.en.html
At least i would prefer it and i think most users which look for it will likely not thinking about openafs-client's manpage.

The current search order is determined by the manpage section order: https://github.com/Debian/debiman/blob/4afba3a1fef8fc4215d59c13926082ac1001a987/internal/redirect/redirect.go#L155-L156
This matches the behavior of man(1): When I run man pts on a Debian system with openafs-client installed, I see pts(1) instead of pts(4).
Your argument seems to be that the manpages package should be preferred. That’s a reasonable feature request, but a request for consistency with man(1) would be just as reasonable. It’s not clear to me whether diverging from consistency is bottom-line better (because it handles redirects like the pts one better) or will just result to a different set of people being confused by the behavior.

with openafs-client installed
ahh, silly me didn't even think of that.

You are right, that would lead to even more confusion.
I was gonna look at something now but nothing works anymore..dyn.manpages...
Well, maybe later.

The debiman-auxserver process wasn’t running anymore on one of the two machines it’s installed on.
Unfortunately, last time I asked, DSA denied my request to set up auxserver as a systemd service with logs and automated restart, so I lack any sort of insight into why the process wasn’t running anymore. I have set up a prober now, so hopefully I will at least be notified should it go down again.


Declaration file is not exporting types.

Describe the bug
When building my package using Vite and vite-plugin-dts the outputted types are not exported from the d.ts file.
My outputted file looks like this:
import { ReactElement } from 'react';
import { ReactNode } from 'react';

declare const Blog: ({ allBlogs, paramKey, headers }: BlogProps) => ReactElement;
export default Blog;

// omitted for brevity.

declare type ReadTimeType = number | string;

export { }

As you can see, nothing bar the default export which is the root index.tsx file is exported. None of the config options seem to change this feature.
I am using Vite library and my config looks like this:
import react from '@vitejs/plugin-react';
import { defineConfig } from 'vite';
import dts from 'vite-plugin-dts';
import viteTsconfigPaths from 'vite-tsconfig-paths';

export default defineConfig({
  plugins: [
    react({ include: /\.(ts|tsx)$/ }),
    viteTsconfigPaths(),
    dts({
      rollupTypes: true,
    }),
  ],
  assetsInclude: ['**/*.md'],
  build: {
    lib: { entry: './src/index.tsx', name: 'react-blogs', fileName: 'index' },
    rollupOptions: {
      external: ['react'],
      output: {
        globals: {
          react: 'react',
        },
      },
    },
  },
});

Reproduction
https://github.com/norvalbv/react-blogs
Steps to reproduce

yarn install
yarn build

System Info
System:
    OS: macOS 12.4
    CPU: (8) arm64 Apple M1 Pro
    Memory: 97.41 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.16.0 - /usr/local/bin/node
    Yarn: 3.6.1 - /usr/local/bin/yarn
    npm: 9.5.1 - /usr/local/bin/npm
  Browsers:
    Chrome: 116.0.5845.187
    Firefox: 117.0.1
    Safari: 15.5
  npmPackages:
    @vitejs/plugin-react: ^4.0.4 => 4.0.4
    vite: ^4.4.9 => 4.4.9
    vite-plugin-dts: ^3.5.3 => 3.5.3

Validations

[X] Read the FAQ.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

Because you are using rollupTypes: true, it will make all types into one declaration file. You can remove it and try again.

Yes, that's because I want all types in one declaration file. If they're not all in one file I have an excessive amount of files for types, which is not needed. However, like I said the types are not being exported from the one file, which is strange.

The types which you want to export you need to export them in your entry file (index.tsx):
// ...
export default Blog;

export * from './types';
// export type * from './types';

Apologies for the late reply, thank you for this. It makes sense. :)