Locking text does not work with convertToExcalidrawElements

Expected result
When creating text container from ExcalidrawElementSkeleton with convertToExcalidrawElements if label is explicitly locked from editing it should not be editable on the canvas.
Actual result
Text can be edited.
Minimal reproduction code:
const Wrapper = () => {
  const elements = convertToExcalidrawElements({
      x: 300,
      y: 300,
      width: 300,
      height: 300,
      backgroundColor: '#ffec99',
      fillStyle: 'solid',
      strokeWidth: 1,
      strokeStyle: 'solid',
      strokeColor: 'transparent',
      roughness: 0,
      type: 'rectangle',
      label: {
        text: 'Card content',
        fontFamily: FONT_FAMILY.Helvetica,
        locked: true, // LABEL IS EXPLICITLY LOCKED
        strokeColor: '#1e1e1e',
        groupIds: ['the id'],
      },
      groupIds: ['the id']
  })
  return (
    <Excalidraw initialData={{ elements }}/>
  )
}

@ad1992 Well your solution indeed locks editing of the rectangle including text, however it prevents me from moving the rectangle or scaling. Isn't there a way to only lock the text? Maybe we could consider adding locking only text for text containers?

@ad1992 Well your solution indeed locks editing of the rectangle including text, however it prevents me from moving the rectangle or scaling. Isn't there a way to only lock the text? Maybe we could consider adding locking only text for text containers?

In text containers, text is no longer a separate element but part of the container itself hence locking just the text wouldn't make sense, either you lock the whole text container or you don't :)
However if you still want to lock just the text then you can create a separate text element instead of attaching a label to the container. That way both text and rectangle will be treated as separate elements.

@ad1992 right but then I lose benefits of text containers like automatic text wrapping when resizing right?

@ad1992 right but then I lose benefits of text containers like automatic text wrapping when resizing right?

yes, you will lose the text container behavior. Curious to know, can you please elaborate on the use case of keeping the text locked while container editable ?


package.json does not include bower as a depency, but it's required to build

Trying to npm install patternfly (which includes bootstrap-treeview) or bootstrap-treeview fails, since bower is not present, but it's required to install bootstrap-treeview:
sh: bower: command not found
npm ERR! Linux 4.4.2-301.fc23.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "i"
npm ERR! node v4.4.1
npm ERR! npm  v2.14.20
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>install: bower install
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'bower install'.
npm ERR! This is most likely a problem with the bootstrap-treeview package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     bower install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs bootstrap-treeview
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls bootstrap-treeview
npm ERR! There is likely additional logging output above.

+1

I also had this problem.
For now I did
npm install --save-dev bower
npm install --save bootstrap-treeview

But the dev-dep should definitely be in bootstrap-treeview.

Is there a reason that bower install is done as part of the npm install?
Can https://github.com/jonmiles/bootstrap-treeview/blob/master/package.json#L27 be removed so that the npm install does not require bower?

Bower has now been removed from the build process, as of v2.0.


Outdated buildToolsVersion in build.gradle

Not a serious issue. Just a slight inconvenience.

I'll get back to that. Also I do want to deploy the library somewhere, so that you don't have to clone the repository to use it.

Has also been fixed with #4. Thanks again!


Settings page doesn't have an action bar when using dark theme

Switching to the dark theme removes the action bar from the settings screen. This persists even when backing out and re-entering the settings screen.

Hi @alex-heritier, thanks for raising this issue. This is a known issue of the dark theme and I will look into it.

@alex-heritier I have rebranded and updated the app. You may download it at https://play.google.com/store/apps/details?id=com.bowenchin.android.noter
Thanks for your support!


How to find which polygon contains a specific polygon?

How to find which polygon contains a specific polygon? Similar $geoWithin in mongodb.
If this function does not exist in arangodb have you a plan to add it?

You can work with points in ArangoDB and in the upcoming 3.2 release you will also be able to use a geo_cursor https://www.arangodb.com/roadmap/. We also started to implement a powerful geo library with which you can leverage a broad variety of geo functionalities like multi point, multi lines, polygons and multi polygons. Unfortunately no ETA on that yet

I would like the Arangodb's future implementation of r-tree which deals with geographic anti-meridian correctly.
For example, see javascript-hilbert-r-tree or Geographic Bounding Boxes.

@VladimirShestakov @kkdd v3.4.0-RC.4 is out for testing and comes with more geo features: https://docs.arangodb.com/3.4/Manual/Highlights.html

This feature is implemented by the GEO_CONTAINS() function in 3.4.

GEO_CONTAINS(geoJsonA, geoJsonB) → bool
Checks whether the GeoJSON object geoJsonA fully contains geoJsonB (Every point in B is also in A). The object geoJsonA has to be of type Polygon or MultiPolygon, other types are not supported because containment is ill defined. This function can be optimized by a S2 based geospatial index.

geoJsonA (object): first GeoJSON object or coordinate array (in longitude, latitude order)
geoJsonB (object): second GeoJSON object or coordinate array (in longitude, latitude order)
returns bool (bool): true when every point in B is also contained in A, false otherwise

Please find the latest release in the download section.


Postgres

Allow other computers on the network to connect to the postgres database

I don't know if we want this actually...

I think we really only want the pi to be talking directly to the database - all queries for info should go through the API's we provide, otherwise we just open it up to security issues. For now, I'm going to close this, but we can reopen it if we want to revisit it later


use private artifactory to sync deps to module

Hi jbang members,
I've use jbang plugin for a while and cannot see any change I can configure private repo (artifactory with username and password) to sync //DEPS to module. The workaround I have right now is having a dummy project with proper maven // gradle settings to download libs to local repository than jbang idea plugin will pick them up from there.
Is there any change we can configure such behavior?
Regards,
Travis

If You have it configured it in your ~/.m2/Settings.xml it should use it.
If not that Is a bug.

I think we have a bug here. Maven settings.xml is in place.

Please open bug with example settings.xml that fail (replace secrets with bogus values) and a example of the .java file that fails for you. Thanks.


MJML v5.0 Alpha compatibility

This PR adds compatibility with the latest MJML v5.0 Alpha. The mjml2html function now returns a Promise instead of running synchronously. Compatibility is simple since we can just use a top-level await here, which will work with previous versions since await will just wrap a value in a Promise if the value is not already a Promise.
The reason for patching this and adding alpha version compatibility is due to MJML v4.0 currently relying on a package that has a high severity security vulnerability that isn't going to be patched:
https://github.com/mjmlio/mjml/issues/2589#issuecomment-2076912328
html-minifier *
Severity: high
kangax html-minifier REDoS vulnerability - https://github.com/advisories/GHSA-pfq8-rq6v-vf5m
fix available via npm audit fix --force
Will install<EMAIL_ADDRESS>which is a breaking change
node_modules/html-minifier
mjml-cli <=5.0.0-alpha.0
Depends on vulnerable versions of html-minifier
Depends on vulnerable versions of mjml-core
Depends on vulnerable versions of mjml-migrate
node_modules/mjml-cli
mjml 0.0.1-future || 2.0.0-beta.3 - 5.0.0-alpha.0
Depends on vulnerable versions of mjml-cli
Depends on vulnerable versions of mjml-core
Depends on vulnerable versions of mjml-migrate
Depends on vulnerable versions of mjml-preset-core
node_modules/mjml
mjml-core <=4.15.3
Depends on vulnerable versions of html-minifier
Depends on vulnerable versions of mjml-migrate
node_modules/mjml-core
mjml-accordion <=4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-accordion
mjml-body <=4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-body
mjml-button <=4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-button
mjml-preset-core <=4.15.3
Depends on vulnerable versions of mjml-accordion
Depends on vulnerable versions of mjml-body
Depends on vulnerable versions of mjml-button
Depends on vulnerable versions of mjml-carousel
Depends on vulnerable versions of mjml-column
Depends on vulnerable versions of mjml-divider
Depends on vulnerable versions of mjml-group
Depends on vulnerable versions of mjml-head
Depends on vulnerable versions of mjml-head-attributes
Depends on vulnerable versions of mjml-head-breakpoint
Depends on vulnerable versions of mjml-head-font
Depends on vulnerable versions of mjml-head-html-attributes
Depends on vulnerable versions of mjml-head-preview
Depends on vulnerable versions of mjml-head-style
Depends on vulnerable versions of mjml-head-title
Depends on vulnerable versions of mjml-hero
Depends on vulnerable versions of mjml-image
Depends on vulnerable versions of mjml-navbar
Depends on vulnerable versions of mjml-raw
Depends on vulnerable versions of mjml-section
Depends on vulnerable versions of mjml-social
Depends on vulnerable versions of mjml-spacer
Depends on vulnerable versions of mjml-table
Depends on vulnerable versions of mjml-text
Depends on vulnerable versions of mjml-wrapper
node_modules/mjml-preset-core
mjml-carousel <=4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-carousel
mjml-column <=4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-column
mjml-divider <=4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-divider
mjml-group <=4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-group
mjml-head <=4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-head
mjml-head-attributes <=2.0.4 || 4.0.0-alpha.1 - 4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-head-attributes
mjml-head-breakpoint <=4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-head-breakpoint
mjml-head-font 4.0.0-alpha.1 - 4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-head-font
mjml-head-html-attributes <=4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-head-html-attributes
mjml-head-preview 4.0.0-alpha.3 - 4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-head-preview
mjml-head-style 4.0.0-alpha.1 - 4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-head-style
mjml-head-title 4.0.0-alpha.1 - 4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-head-title
mjml-hero <=4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-hero
mjml-image <=4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-image
mjml-migrate 4.0.0-beta.1 - 4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-migrate
mjml-navbar <=4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-navbar
mjml-raw <=4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-raw
mjml-section <=4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-section
mjml-social <=4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-social
mjml-spacer <=4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-spacer
mjml-table <=4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-table
mjml-text <=4.15.3
Depends on vulnerable versions of mjml-core
node_modules/mjml-text
mjml-wrapper <=4.15.3
Depends on vulnerable versions of mjml-core
Depends on vulnerable versions of mjml-section
node_modules/mjml-wrapper

31 high severity vulnerabilities

Thanks!


Having issues importing this library

v6.1.0
node v16.18.1
https://github.com/juanjoDiaz/json2csv/compare/v6.0.0...v6.1.0#diff-3a108956588c19d9297e9c80997226f7df3d304f0fed9931c3a2ed5c6e839e84R28-R35
these lines result in double \src\src file path on import
[ERR_MODULE_NOT_FOUND]: Cannot find module<EMAIL_ADDRESS>imported from<EMAIL_ADDRESS>    at new NodeError (node:internal/errors:387:5)
    at finalizeResolution (node:internal/modules/esm/resolve:330:11)
    at moduleResolve (node:internal/modules/esm/resolve:907:10)
    at defaultResolve (node:internal/modules/esm/resolve:1115:11)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:837:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
    at link (node:internal/modules/esm/module_job:75:36)

Hi @oliverfoster ,
Thanks for letting me know.
That's odd because there is imports from the tests and other modules, as well as from my own projects, and I haven't notice any  problem.
Can you give a sample project or some guidelines to replicate the issue?

Oddly not. I tried to replicate this morning and couldn't. The only thing I've changed is nvm-windows and node versions. So I'll assume it's nothing to do with this project. Thanks for responding.


include: Add const to *ptr argument of cbor_tstr_encode_ptr

The function is often, indirectly, used to encode constant strings
and without the change compiler issues warnings on discarded
const qualifiers.
Signed-off-by: Dominik Ermel<EMAIL_ADDRESS>

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


fixed scaling for Grollemund2015

Ahh, the fun problem is that the original summary.trees is in centuries but posterior is in years 🤷♂. I'll fix the summary...


Change relative path to absolute

Hello, why when I change the line
https://github.com/rafal-szypulka/itm_exporter/blob/74c9b849d5d819558f137c3bec872f059649f46c/main.go#L331
to
yamlFile, err := ioutil.ReadFile("/etc/itm_exporter/config.yaml")
Is the exporter unable to display all the parameters that exist in the .YAML file?

Support for custom config file name and location added in version 0.6: https://github.com/rafal-szypulka/itm_exporter/releases/tag/v0.6
Use -c /path/to/configfile.yaml

Very good, thanks a lot!

Very good, thanks a lot!


Auto expand fails in other languages than English

The current implementation fails to find any expandable nodes if the language isn't English:
https://github.com/howdy-tsc/LemmyTools/blob/111f1b8cd8e60f02380c9a54b7c2a191bb6c3cc0/lemmyTools.js#L471
E.g. German needs:
- clickableImages = document.querySelectorAll('[aria-label="Expand here"]');
+ clickableImages = document.querySelectorAll('[aria-label="hier erweitern"]');

However, this seems like a really fragile way to do this.

I've seen you comments under the various keyboard navigation scripts and those have the same problem:
- const buttonText = event.code === nextPageKey ? "Next" : "Prev";
+ const buttonText = event.code === nextPageKey ? "Weiter" : "Zurück";

Thank you for the reports and thank you for chiming in. Right now, Manipulating the DOM objects are limited and we are using what is being given to us with lemmy-ui. Im an amateur and doing this with my limited know how and learning a lot! If anyone has a better idea than me please help out. I admittedly made the function quickly with what seemed obvious. Perhaps there is something I am overlooking to make this work without the literally query all selector being required for functionality like this.
We are doing a code clean up right now which will give me some time to pause and revaluate some functions as the script is going to look vastly different on 0.2
Thank you.

@csm10495 implemented a fix that looks for the classname versus the language dynamic text of the expand link. Should fix it.Thank you @csm10495!!! It's in as of <IP_ADDRESS>


Failed to start Portal service (Hyprland implementation).

Hyprland Version
Hyprland, built from branch main at commit 6fb1b89b982eea26ecae75b93f1742537c4f31ae dirty (makefile: add rm hyprpm for uninstall (4086)). Tag: v0.33.1-9-g6fb1b89b
Bug or Regression?
Bug
Description
after the update every time i boot the system waybar and firefox take a very long time to lunch fixes suggested in the wiki dont work
How to reproduce
happens after the latest update of hyprland with rebooting the system
Crash reports, logs, images, videos
results of the systemctl --user status xdg-desktop-portal-hyprland
× xdg-desktop-portal-hyprland.service - Portal service (Hyprland implementation)
     Loaded: loaded (/usr
/lib/systemd/user/xdg-desktop-portal-hyprland.service; static)
     Active: failed (Result: exit-code) since Sat 2023-12-09 14:44:11 +0330; 5min ago
   Main PID: 2729 (code=exited, status=127)
        CPU: 1ms

Dec 09 14:44:11 haku systemd[2370]: xdg-desktop-portal-hyprland.service: Scheduled restart job, r
estart counter is at 5.
Dec 09 14:44:11 haku systemd[2370]: xdg-desktop-portal-hyprla
nd.service: Start request repeated too quickly.
Dec 09 14:44:11 haku systemd[2370]: xdg-desktop-portal-hyprla
nd.service: Failed with result 'exit-code'.
Dec 09 14:44:11 haku systemd[2370]: Failed to start Portal service (Hyprl
and implementation).

hyprland.log

wrong tracker


Dying on a horse causes a bugged state sometimes in the player

It seems like the player cannot detach fully from the horse after they've died.

Horses have been removed


Unable to remove initial water in scenario 74

Affected Scenario(s):
scenario 74 - Merchant Ship
Describe the bug
Scenario starts with water on tile B but unable to remove initial water tiles.  We can add and remove new single hex water tiles.  Work around was to "summon" other tiles to cover the purple tiles.
To Reproduce
Steps to reproduce the behavior:

Load scenario 74 which populates tile B with purple water tiles.
Unable to remove initial water tiles.

Browser : [e.g. Chrome, Firefox]
Safari, Chrome, and Safari.

Duplicate of issue #65.
/close

Hey I noticed that this is now fixed as of April 27th.  If you need help verifying bugs or corrections or anything I would be more than happy help out.  I have access to Safari on Mac, and Firefox and Chrome on both Windows and Mac.  I also have access to an Ipad and I believe an old Android tablet if needed as well.

Thanks fo rthe offer @cafelizardo  :-D I'll definitely keep that in mind and let you know if I have anything! :-)


 IF YOU DO NOT FOLLOW THE FORMAT OR MAKE A GENERIC TOKEN REQUEST YOUR ISSUE WILL BE DELETED WITHOUT COMMENT
YOUR JUSTLIST MUST FOLLOW THE JSON SPECIFICATION
https://github.com/justswaporg/justlists/blob/main/example.justlists.ts
Checklist

[x] I understand that this is not the place to request a token listing.
[x] I have tested that my JustList is compatible by pasting the URL into the add a list UI at justswap.org.
[x] I understand that filing an issue or adding liquidity does not guarantee addition to the justlists website.

Please provide the following information for your token.
JustList URL must be HTTPS.
JustList URL:
JustList Name:
Link to the official homepage of the JustList manager:

اريد المساعده في فهم هذا الرمز وكيف لي ان استفيد واتمم عمليه السحب الخاصه بهذا الرمز


Publish json-schema files at www.qooxdoo.org/schema or at purl.org

"$schema": "https://raw.githubusercontent.com/qooxdoo/qooxdoo-compiler/master/source/resource/qx/tool/schema/Manifest-1-0-0.json" is not very pretty as a json-schema address, but also we might want to move the source files in the repo one day. It would be better to use a canonical address such as www.qooxdoo.org/schema (which requires publishing the files when deploying to the website) - or we use a persistent redirection service such as https://archive.org/services/purl/

I would go for something below qooxdoo.org ... this is under our control

I don't know if you agree, but I think this is a "blocker" issue that should be fixed before release, once we have the new website ready. @oetiker Do you have an idea how we can configure the server to transparently serve the github raw file contents via the qooxdoo url?

you can not do it transparently, BUT the files can be copied along with all the other stuff on deployment.

True..

Done


add conductr-lib

fyi @huntc
I can't actually test this quite yet because of another failure elsewhere in the build. I'll come back to it

ok, now we can test: https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/1068/consoleFull

oops, that was testing the wrong thing, try again: https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/1071/consoleFull (404 til Jenkins gets his woofers re-coned)

akka24ConductRClientLib needs akka-sse. new run: https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/1072/consoleFull (404 til Jenkins picks all the lemons in the neighbors' backyard)

@huntc I'm seeing compile errors like:
[conductr-lib] [error] /Users/tisue/community.212/target-0.9.7-RC1/project-builds/conductr-lib-665de1fd0541e59f8aa87181f02f7642f7fe3a22/akka24-conductr-client-lib/src/main/scala/com/typesafe/conductr/clientlib/akka/BundlesConnector.scala:21: object pattern is not a member of package de.heikoseeberger.akkasse
[conductr-lib] [error] import de.heikoseeberger.akkasse.pattern.Streams
[conductr-lib] [error]                                  ^

I believe it's because you're using an old version of akka-sse.
in your build I see this comment:
// Cannot use the client lib with 2.12 until Play also moves there, and we use an akka-sse
// for 2.12.

what way forward here do you suggest? can you upgrade and use the latest akka-sse? or should we not even try to build akka24ConductRClientLib here, for now?

That particular lib shouldn't be processed. We are using sbt-doge to provide +compile.

ok, trying again without akka24ConductRClientLib : https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/1075/consoleFull
(I don't follow what you're saying about sbt-doge, but maybe I don't need to?)

Thanks Seth. In essence only each sub project that has a cross build setting for 2.12 needs including. There are quite a few that are required to be excluded.

here's where we stand on what subprojects we are currently attempting to build:
[conductr-lib] [info] These subprojects will be built: root, play25ConductRBundleLib, play25ConductRClientLib, javaConductRBundleLib, javaTestLib, akka24ConductRBundleLib, scalaConductRClientLib, play25Common, scalaConductRBundleLib, akka24Common, scalaCommon, conductRBundleLib, javaCommon, common, akka24TestLib

do you see anything there you know right away I should throw out? (The community build has Akka 2.4 and Play 2.6, so maybe for starters I should throw out the play25 things? I think 2.6 hasn't diverged that much yet, so not sure...)

trying it without the Play ones: https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/1076/consoleFull

sweet, sweet green!

Looks good. Thanks again Seth.
We cannot upgrade Akka-SSE right now (breaking changes). Thanks for working around all that.


Toy backend for easier testing

As a developer, it would be nice to test the editor in real conditions with real data (e.g. CSV files or a toy mongo database).
One could imagime something like:
git clone https://github.com/ToucanToco/vue-query-builder/issues/new
python examples/toy-backend.py my-config-file.yml
yarn start-demo

yo @adimascio we could maybe do this using node rather than python ? It avoids having two lang and al. to install

https://www.npmjs.com/package/mongodb-memory-server
https://www.npmjs.com/package/csv

If you agree with this approach, happy to try to do something.

yo @adimascio we could maybe do this using node rather than python ? It avoids having two lang and al. to install

Hey @piotch. Indeed, we could definitely go with a pure JS approach to avoid mixing languages and package managers.


Update CMakeLists.txt to fix #237 Add fatal error to cmakelists if debug + gpu is enabled with NVHPC <= 22.11

Add fatal error to cmakelists if debug + gpu is enabled with NVHPC <= 23.0

I found that I cannot build --debug with NVHPC + CPU on new nor old NVHPC versions. I have updated the CMakeLists to reflect the current state.

For review + squash-merge by @henryleberre

Update: I found that even after removing all of the CMakeLists.txt compiler flag additions, the debug CPU build with NVHPC v23.5 does not work. The CMakeCache shows that debug NVHPC builds automatically add flags -g -O0 -Mbounds.
I assume it's -Mbounds that's causing the problem.


Investigate implementing a Skia renderer

https://shopify.github.io/react-native-skia/ is extremely cool and brings infinitely smoother drawing capabilities (after trying out their small demo).
Once #21 is done, we could support both an SVG and a Skia renderer, depending on the implementation of drawing using Skia

I have a prototype with the Skia renderer and its giving a wonderful performance boost - simply need to refactor the internal of this library to more easily support a different renderer.

Any news on this?

Sorry, it's been a while since I've working on this. I had a skia renderer working and was wayyy smoother than the SVG one, although there's is not much new news about this..


Beautification of Contact Us Page

I am GSSOC participant , i would like to beautify contact us page by adding hover effect to submit button and change colours etc in the contact us form.
Please assign me this issue .

Hey, someone has already worked on this and their PR has already been merged. I request you to not create the same issues. Please comment on the older ones instead.


fix Fix cloudInstanceStatusChecker npe when ms not start

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run performance


Allow function pick link element to push data

Prerequisites

[ ] I read the contribution guidelines
[ ] I checked the documentation and found no answer.
[ ] I checked existing issues and found no similar issue.
[ ] I checked the community forum for related discussions and found no answer.
[ ] I'm requesting the feature to the correct repository (see also speckle-server, speckle-sharp, specklepy, speckle-docs, and others)

What package are you referring to?

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

Describe the solution you'd like
It will be useful if we allow user pick element in link to push not is all at the moment, some more option can think :

Select : Link Element and element
Select : Link Element

Additional context

Related issues or community discussions

Hi @chuongmep are this options for sending linked elements not enough? https://speckle.guide/user/revit.html#sending-linked-models

Hi @teocomi, in my case, I just push all element of linked model on crop box view and select some element from linked to send, at the moment just have function push all element from linked model.


Client name not visible in logs?

I'm using .NET library (StackExchange.Redis) to communicate with KeyDB.
Client version: 2.8.0
Server version (KeyDB): 6.2.2
I'm trying to set client name by simply set ClientName in configuration but on server it looks like below
id=54637111 addr=<IP_ADDRESS>:62494 laddr=666.666.666.666:666 fd=49 name= age=163 idle=13 flags=N db=11 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 argv-mem=0 obl=0 oll=0 omem=0 tot-mem=20504 events=r cmd=get user=default redir=-1
I tried everything from client side and even ask there for help https://github.com/StackExchange/StackExchange.Redis/issues/2749 but I'm stuck and now I'm searching on server side. Is there any configuration I could miss in keydb to display name of the client?

I finally found a problem - admins was blocking CLIENT command


need asynchronous network request demo

I have a web application. When I click the login button on the page, it sends an HTTP post request to the server and then receive the response from the server. The whole process is required to be asynchronous.
While waiting for the server to respond, a loading animation is placed on the page.
Can you give me a demo of this scenario?
Finally, I will use flet build web to package and deploy this web application.

When the web application starts, I create a session by session = aiohttp.ClientSession().
Then, in each page of the web application, I use this session object to communicate with the server.
When the web application exits, I want to call await session.close(). How can I do this?


Filters parsing logic for servers

Follows from #25530

HttpConnectionManager is filtered from LdsResponseParseClient() so that it can be called from server side parsing logic too.
As part of FilterChain we are only supporting HttpConnectionManager as a filter right now and it is a mandatory filter.
Each XdsHttpFilterImpl now sports two additional methods IsSupportedOnClients() and IsSupportedOnServers() to check whether that particular filter is supported on clients/servers.

This change is

Thanks for reviewing!


Add multiple tab support for search view (add setting "search.mode": "newView")

I love the new Search Mode setting (introduced by #112588) to be able to keep multiple search results quickly accessible by opening multiple editors for them! And at the same time I'd like to keep the benefits of the search view:
a) quickly collapsible and most importantly
b) double-clicking results open them in the "main" area.
My feature idea is probably most easily explained by the workaround I tried to achieve this:
I set "search.mode": "newEditor", started a search, dragged the new editor to the left of my working area and reduced it's width so that it kind of looks like a panel:

The problem is of course, that the search results open in the same (small) area instead of the main one. (Also, when focus is in the main area, Ctrl + Shift + F won't open the search editor in the "panel" on the left.)
Solution idea 1
Make the search view work like a bunch of search editors docked to the left abandon the search view. (Although I see that there are subtle differences between the two: the search view will show an entry for every occurrence within a line, while the search editor only shows one entry per line.)
Solution idea 2
Add multi-tab support to the search editor (so it keeps its behavior but still allows for a "history" of results being open).

The problem is of course, that the search results open in the same (small) area instead of the main one. (Also, when focus is in the main area, Ctrl + Shift + F won't open the search editor in the "panel" on the left.)

You can set "search.searchEditor.doubleClickBehaviour": "openLocationToSide" to address the first point, for the second point I can see value in opening the new search editor in the same view as the prior, either as an option or just replacing the current behaviour.

Thank you for submitting your feature request and everyone who considered it! Unfortunately, this issue did not receive enough votes over the allotted time, and so we are closing the issue. PRs are welcome so you can create a PR that fixes this if you are passionate about getting this feature across the finish line. Thanks!


Build context and vim backup files (..gitignore.un~)

Hi,
I've noticed a regression with Docker 1.5.0 (did not notice this issue with Docker <=1.3).
Error is as follows:
Sending build context to Docker daemon 81.94 MB
Sending build context to Docker daemon
FATA[0000] Error: Untar exit status 1 "..gitignore.un~" is outside of "/"

Script to reproduce issue:
#!/bin/bash

# Simulate a vim backup file
touch "..gitignore.um~"

cat - > Dockerfile <<EOF
FROM scratch
EOF

docker build -t test .

Running this script yields:
$ ./test.sh
Sending build context to Docker daemon 3.584 kB
Sending build context to Docker daemon
FATA[0000] Error: Untar exit status 1 "..gitignore.um~" is outside of "/"

Work around is to remote any vim backup files by doing:
find . -type f -name "*~" -delete

This seems to be due to ".." in the file name... trying to pinpoint where this is happening.
cc @tiborvass @duglin

yup - I see what's going on - I'll take this one.

oops didn't notice @jsdir already did it - thanks!

Alternative work around while waiting for this to get into a released version of docker:
echo '..*' >> .dockerignore


[Function Expose] PurchaseUpdateTotalsControls in "Document Totals" Codeunit

We need the function PurchaseUpdateTotalsControls to be external in codeunit 57 Document Totals
The reason we need this is to re-calculate the global variables "TotalPurchaseLine" and "TotalPurchaseHeader", which are inaccessible on a page extension of multiple pages (54, 55, 97, 98, 139, 141).  There is no way for us to access global variables, so we'll have to re-calculate our own to be able to do calculations on it and show it on the pages... .  Highly inefficient, but I don't see another solution.  If you have any, I'm all ears ;-).

We'll look into it :-)

Hi, we have accepted your request. You'll see it in the next minor release. Congrat's on helping the extension development community!


Sometimes driver wont work 'Invalid device pointer. Aborting!'

I'm not sure what causes this, I had this driver working for a few days in a row. But right now when running the code it always returns 'Invalid device pointer. Aborting!'
The controller has the home button stuck with the blue LED on, apart from that I have no more context or additional debugging information to provide.

This has happened to me today.
I simply disconnected the controller, pressed the "sync" button so that the light turned off and plugged it back again. After doing this I executed the driver as root and it seemed to work ok.
Beware with bluetooth. If you have a device synced with the controller some odd things might happen. At the beggining I was powering up my Steam link without realising it.

I forgot to update it here, but I got a consistent way of making it work again. Just like @hluaces said, I disconnect the controller and press the sync button to turn it off and try again. It sometimes takes a few tries, but eventually the controller is working again.


Fix BZ 64513 - bndlib is not needed, normalize the name to bnd everyw…

…here
Signed-off-by: Raymond Augé<EMAIL_ADDRESS>

Applied manually so I could add a change log entry.

@markt-asf if there is some way for me to include the changelog update let me know and I will include that in the future :)

ah never mind, I found the changelog. I will update that from now on.


Perf test - HTTP1.1 Vs HTTP2

Description:
$subject (before update 2 release)
Related Docs:
https://docs.google.com/spreadsheets/d/1mB1eYwu4s219_p3XjBmhEBAqtg7-UVsBGhTJ9Y8t_80/edit?usp=sharing
https://docs.google.com/spreadsheets/d/1KfMXPbXbWIGbRNY4gtljRRIRqabhdUs8DHRLVaCM52k/edit#gid=0
Sample back-end and payload:

ldclakmal/ballerina-http-test-suite

Performance Test Environment:

Concurrency: 100
Duration: 30 min
Memory: 350MB

HTTP Pass-through Tests
Sample Code
// `httpListener` can be HTTP 1.1/HTTP 2.0 (with/without SSL)
service /passthrough on httpListener {
    resource function post .(http:Caller caller, http:Request clientRequest) returns error? {
        // `backendClient` can be HTTP 1.1/HTTP 2.0 client (with/without SSL)
        http:Response response = check backendClient->forward("/service/EchoService", clientRequest);
        return caller->respond(response);
    }
}

Results

The above doesn't have number of users.

Please find the load test comparison did before/after HTTP2 target channel improvement
https://github.com/ballerina-platform/ballerina-standard-library/issues/494#issuecomment-1196453207

Did a retest on h1c-h1c passthrough. Please find the result below (same limitations applied as above tests):

Label
# Samples
Average
Median
90% Line
95% Line
99% Line
Min
Max
Error %
Throughput
Received KB/sec
Std. Dev.
# Users

H1C-H1C
17529130
10
9
17
20
26
0
315
0.00%
9738.4
1711.8
5.19
100

Did a re-test on h1c-h1c passthrough with SL Update 2 RC1 pack. Following is the results:

Label
# Samples
Average
Median
90% Line
95% Line
99% Line
Min
Max
Error %
Throughput
Received KB/sec
Std. Dev.
# Users

50B Payload
17758921
9
9
17
19
26
0
325
0.00%
9866.2
1734.3
5.08
100

Did a re-test on h2-h2 passthrough to validate the underlying tcp-connections. It seems like the HTTP client is using one channel to send the requests.

@chamil321 / @shafreenAnfar any thoughts ?

Did a re-test for h1c-h1c and h2c-h2c with following configurations:

Memory : 350MB
Concurrency : 100
Payload : 1KB
Duration : 30 min

Label
# Samples
Average
Median
90% Line
95% Line
99% Line
Min
Max
Error %
Throughput
Received KB/sec
Std. Dev.
# Users

H1C-H1C
15804058
11
10
19
22
31
0
312
0.00%
8780.1
9997.7
6.04
100

H2C-H2C
7083843
24
23
37
43
61
1
1801
0.00%
3935.2
4673.1
19.52
100

Did a re-test on h2c-h2c and verified that there were 100 tcp-connections created from the perf-test client to the passthrough service.
Also did a periodical JFR recordings throughout the perf-test duration. JFR recordings could be found here.

Did a re-test on h2c-h2c after removing the log entry. Following are the results:

Label
# Samples
Average
Median
90% Line
95% Line
99% Line
Min
Max
Error %
Throughput
Received KB/sec
Std. Dev.
# Users

H2C-H2C
9083313
19
18
31
35
49
0
445
0.00%
5046.5
5992.7
9.39
100

JFR for h2c-h2c after removing the log entry could be found here.

Did re-test for h1c-h1c and h2c-h2c with h2load bench-marking tool. Following is the results:
H1C-H1C
Configurations:

Payload - 50B
Concurrency - 10
Number of pipe-lining requests - 10
Memory Limit - 350MB

Command:
h2load http://localhost:9090/passthrough -d 50B.json --header 'Content-Type: application/json' -n100000 -c10 -m10

Results:
starting benchmark...
spawning thread #0: 10 total client(s). 100000 total requests
Application protocol: http/1.1
progress: 10% done
progress: 20% done
progress: 30% done
progress: 40% done
progress: 50% done
progress: 60% done
progress: 70% done
progress: 80% done
progress: 90% done

finished in 6.29s, 14317.36 req/s, 2.43MB/s
requests: 100000 total, 90001 started, 90000 done, 90000 succeeded, 10000 failed, 10000 errored, 0 timeout
status codes: 90000 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 15.28MB (16020000) total, 7.98MB (8370000) headers (space savings 0.00%), 4.29MB (4500000) data
                     min         max         mean         sd        +/- sd
time for request:      268us     25.42ms       625us       347us    94.10%
time for connect:       67us       532us       282us       142us    60.00%
time to 1st byte:     1.80ms      2.49ms      2.19ms       229us    66.67%
req/s           :       0.00     1606.03     1438.04      505.29    90.00%

H2C-H2C
Configurations:

Payload - 50B
Concurrency - 10
Number of concurrent streams - 10
Memory Limit - 350MB

Command:
h2load http://localhost:9090/passthrough -d 50B.json --header 'Content-Type: application/json' -n100000 -c10 -m10

Results:
starting benchmark...
spawning thread #0: 10 total client(s). 100000 total requests
Application protocol: h2c
progress: 10% done
progress: 20% done
progress: 30% done
progress: 40% done
progress: 50% done
progress: 60% done
progress: 70% done
progress: 80% done
progress: 90% done
progress: 100% done

finished in 12.29s, 8137.07 req/s, 564.69KB/s
requests: 100000 total, 100000 started, 100000 done, 100000 succeeded, 0 failed, 0 errored, 0 timeout
status codes: 100000 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 6.78MB (7106289) total, 296.97KB (304099) headers (space savings 94.85%), 4.77MB (5000000) data
                     min         max         mean         sd        +/- sd
time for request:      307us    656.37ms     12.00ms     22.27ms    96.31%
time for connect:      263us      1.46ms       801us       379us    60.00%
time to 1st byte:   516.62ms    568.40ms    528.96ms     16.25ms    90.00%
req/s           :     813.78      841.84      832.05        9.23    70.00%

** Note: When we run the same test again on the H2C-H2C the results were improved **
Resutls:
starting benchmark...
spawning thread #0: 10 total client(s). 100000 total requests
Application protocol: h2c
progress: 10% done
progress: 20% done
progress: 30% done
progress: 40% done
progress: 50% done
progress: 60% done
progress: 70% done
progress: 80% done
progress: 90% done
progress: 100% done

finished in 5.34s, 18728.32 req/s, 1.27MB/s
requests: 100000 total, 100000 started, 100000 done, 100000 succeeded, 0 failed, 0 errored, 0 timeout
status codes: 100000 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 6.78MB (7104150) total, 294.88KB (301960) headers (space savings 94.88%), 4.77MB (5000000) data
                     min         max         mean         sd        +/- sd
time for request:      271us     58.77ms      5.31ms      2.70ms    80.41%
time for connect:      105us       576us       308us       145us    70.00%
time to 1st byte:    39.14ms     59.37ms     45.71ms      7.11ms    70.00%
req/s           :    1872.94     1892.54     1880.25        6.27    70.00%

Other Observations

When running the test multiple times it was observed that the h2load tool freezes for both H1C-H1C and H2C-H2C.

As per the latest load test results, HTTP2 outperforms by a significant margin.


To be able to accept all current/incoming changes when solving merge conflicts in a file

When merging a branch, we can accept the current/incoming/both changes.
Sometimes, it happens I already know I need to accept all current (or incoming) changes. I would like to do it using a button on top of the conflicting file, to automatically allow all current changes (and discard the incoming) if I click on an "accept all current" changes.
To discuss if "accept all changes" (which would do an "accept both changes") button would be worth.

There are context menu actions in the SCM viewlet (https://github.com/microsoft/vscode/issues/53133). Does that address your request?

Absolutely! Thank you @chrmarti


[request to join the open source community]

What would you like to share?
Hello, my name is Chris and I would love to be part of the open-source community. I am a full-stack web developer winding up on the Django framework currently. I have seen your videos and I have interest in taking part in open-source contribution. please consider reaching back to me soon and thank you.
Additional information
No response

I love your videos and they have inspired me to try out open source development.

Great! 👍
From our GitHub Org here are the recommended steps to get started


[Quais] - Support multiple transactions

@kiltsonfire please add more context here.
Users should be able to submit more than one transaction in one call.
Right now we use "sendRawTransaction". we should be able to use "sendRawTransactions"
This should be applied for the following:
Multiple Quai transactions
Multiple QI transactions
Multiple Quai and Qi transactions

@mibuono I need more context about the purpose of this ticket.

@rileystephens28 more context is above.  I think the use case is basically batching transactions.

This is blocked by GoQuai adding this method to the RPC.


Parallelize Java precommits

Splits out slow Dataflow precommit tasks into separate Gradle
subprojects.
Adds a 'publish' flag to JavaNatureConfiguration, that controls Maven
publishing.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.

R: @boyuanzz, @pabloem
CC: @kennknowles

@kennknowles note that I removed WindowedWordCountIT from examples-streaming, since it runs the same tests (!) regardless of --streaming setting. I would similarly like to modify WordCountIT to have batch and streaming test cases and remove examples-streaming precommit altogether.

retest this please

retest this please

The reason that doesn't work is that not all runners have distinct streaming and non-streaming modes. It wouldn't make sense to run the same test twice on e.g. the DirectRunner, Gearpump, Apex, Samza, Flink*.
*FlinkRunner does have streaming/non-streaming modes but I don't think it needs them so they might go away and become automatic.

Yea, nice.


[CINFRA] Replication2 adaptation of shell-transaction-intermediate-commit-cluster

Scope & Purpose
This PR provides the necessary adaptations for the shell-transaction-intermediate-commit-cluster.js suite, making it run-able with replication2 default.
Most of these changes revolve around the following two differences:

In replication2 we do not "drop" followers
In replication2, followers do not perform intermediate commits by themselves, unless the leader replicates an IntermediateCommit operation. This means that if intermediate commits are disabled on the leader, they are inherently disabled on the follower.

Although they were initially targeted at replication1-specific behavior, I believe the suite is still relevant for replication2, at least from the perspective of a more general sanity check: making sure we don't crash, and the leader and follower are kept in sync.

[ ] :hankey: Bugfix
[ ] :pizza: New feature
[ ] :fire: Performance improvement
[x] :hammer: Refactoring/simplification

Suggestions addressed in https://github.com/arangodb/arangodb/pull/20240/commits/5df1bcefc29cc6872cbee2542e17b2ed77b2d80f#diff-cbb9de024c04b9a4ad56dcf5241810530885e3ade5cd8ab52ab7fc7057c38f57


changing the "metric" parameter requires destroy and create

To change the "metric" parameter in host and service metric monitor, destroy and create are required, so I added "ForceNew".
Also, I changed the test so that TestAcc will fail if there is no "ForceNew."


edit button not working correctly

edit button not working correctly so we can remove it most probably to fix the issue

Issue resolved on released v1.0.0


Use govet plugin instead of maligned

Change Overview
https://github.com/mdempsky/maligned is deprecated.
maligned | The repository of the linter has been archived by the owner. Replaced by govet 'fieldalignment'.
Hence changed maligned plugin to govet.
Pull request type
Please check the type of change your PR introduces:

[ ] :construction: Work in Progress
[ ] :rainbow: Refactoring (no functional changes, no api changes)
[x] :hamster: Trivial/Minor
[ ] :bug: Bugfix
[ ] :sunflower: Feature
[ ] :world_map: Documentation
[ ] :robot: Test

Issues
Test Plan

[ ] :muscle: Manual
[ ] :zap: Unit test
[ ] :green_heart: E2E

@shahpratikr Please rebase onto master just the changes corresponding golangci-lint
I'd be happy to approve after that.

@julio-lopez rebased with master. changed base branch to master as well.


Develop to next post 2.2.5

Had to update the implementation of #5722 a bit in that last commit, as it was running afoul of additional validation of GFKs in Django 4 (https://github.com/django/django/pull/15613).


"Error: Not a terminal" when attempting to type capital letters in the CLI

Describe the bug
When using tauri init, attempting to type any letter while the shift key is held causes the CLI to fail with exit code 1 and the error "Not a terminal"
To Reproduce
Steps to reproduce the behavior:

Open a new directory and set up a node project following the steps in the tutorial in the docs, up to the point where you must run tauri init.
Run the CLI with npm run tauri init.
Hold the shift key, and then attempt to type anything (IE a capital letter, a colon, an underscore).

Expected behavior
The CLI allows me to type capital letters and other characters that require the shift key, and does not crash.
Screenshots

Shown here in Git Bash, using Hyper as the terminal emulator.  The same error also occurs in Git Bash using Terminus, Powershell using Terminus, and Powershell using the default Powershell window (interestingly enough, in Powershell you do not actually have to hold the shift key or type anything to crash the CLI.  Simply pressing the shift key seems to be enough).
The H on the last line is the letter I was typing which crashed it.
Platform and Versions (please complete the following information):

OS: Windows, version 10.0.19042 X64
Node: v14.16.0
NPM: .14.11
Yarn: (not installed)
Rustc: rustc 1.51.0 (2fd73fabe 2021-03-23)
Additional context
As said under the screenshot, the behavior is slightly different in Powershell.  Rather than crashing when shift and another key are pressed, simply pressing the shift key will crash the CLI.
Stack Trace

It is already reported and tracked at #1492


Fix #5 Allow to use triple dashes as a slide separator

Fixes #5
Changes Introduced

Allow using triple dashes as a slide separator
Keep old slides separator for backward compatibility

This is fantastic, thank you so much for the contribution!

Btw, I would be happy to add you as a collaborator if you would like! Let me know :)


Don't check versions of local images

Don't check versions of local images.
After DnD local image at the scheme, I see this error

Hi @igor-lemon ... Any update on this bug?

Hi @enlightenedmouse. I fixed it many months ago but I still can't publish updates because I didn't complete checking v1.6 release.


AT command answer too fast loosing start characters

Answers checklist.

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

General issue report
I have a problem with the esp32 answering some commands and I don't get some of the start characters. For example, see the answering time of these logs for the serial communication:
16:28:04.321 --> AT
16:28:04.321 --> K

Here, the answer to AT should be OK but it is often responding just with K. It is happening with other commands also like AT+CIPSNTPTIME? or AT+CWJAP?.
Is there a way to setup a delay to the esp32 answers? Or am I doing something wrong so I don't get all the characters from the interrupt?

Here the answer to your questions:
1. ion:<IP_ADDRESS>-dev(s-ef96eaf - ESP32 - Feb 24 2023 09:12:48)
SDK version:v5.0-541-g885e501d99
compile time(3d6e43c):Dec 11 2023 12:00:26
Bin version:2.5.0(WROOM-32)
2. PCB Design
3. USB powered
4. UART hardware flow control is not enabled
5. Yes, I use the CubeIDE logic analyzer and it is working perfectly.
When I run the code normally, is when I have missing letters.

This is my interrupt logic:
void HAL_UARTEx_RxEventCallback(UART_HandleTypeDef *huart, uint16_t Size) {

	/* This Data Receiving from User-Terminal driver */
	if (huart->Instance == USART2) {
		// Save RX Data
		memcpy(main_buffer, uart_dma_rx_buffer, Size);
		size_t eeprom_command_prefix_length = strlen(EEPROM_COMMAND_PREFIX);
        if (strncmp( (char*)main_buffer, EEPROM_COMMAND_PREFIX, eeprom_command_prefix_length) == 0) {
            eeprom_command_to_be_processed_length = Size - eeprom_command_prefix_length;
            memcpy(eeprom_command_to_be_processed, main_buffer + eeprom_command_prefix_length, eeprom_command_to_be_processed_length + 1);
        }else{
            char *s = "Terminal -> Target\n";
            HAL_UART_Transmit(&UART_TERMINAL, (uint8_t*) s, strlen(s), 10);
            HAL_UART_Transmit(&UART_WIFI, uart_dma_rx_buffer, Size, 10);
        }

        // activate RX DAM Interrupt again
        HAL_UARTEx_ReceiveToIdle_DMA(&UART_TERMINAL, uart_dma_rx_buffer, UART_BUFFER_DMA_SIZE);
    }

	/* This is ESP32 Wifi Data Receiving Driver */
	if (huart->Instance == USART1) {
		/* terminate incoming data */
		memset(&esp_dma_rx_buffer[Size], '\0', 1);
		memcpy(at_command_response, esp_dma_rx_buffer, Size);

		if (strstr((char*) esp_dma_rx_buffer, "+MQTTSUBRECV:")) {
			myprintf("Put Fifo\n");
			/* new style with cube talk and nonPeriodicTask handler
			 * save incoming data to fifo, handle later in super loop */
			wifi_module_mssg_t element;
			element.eventType = eUART_WIFI_REQUEST;
			element.len = Size + 1;
			memcpy(element.mssg, esp_dma_rx_buffer, element.len);
			circular_buf_put(&wifi_fifo, &element);
		}

		/* Loop Back - Echo Data To Terminal (UART2) */
		HAL_UART_Transmit(&UART_TERMINAL, esp_dma_rx_buffer, Size, 10);
		/* restart UART RX DMA Interrupt again */
		HAL_UARTEx_ReceiveToIdle_DMA(&UART_WIFI, esp_dma_rx_buffer, ESP_BUFFER_DMA_SIZE);
	}

	/* this is Modbus Client (Master) Receive Driver */
	if (huart->Instance == UART4) {
		//app_HomeCube_UART4_Callback(Size);
	}
}

@cjoecker Sorry, I am not familiar with your MCU test code. I suggest that as a test, before communicating between the ESP32 module and the MCU, you can try to first communicate between the ESP32 module and a PC to see if it works properly, ensuring that your ESP32 module itself and the AT software are not the issue.

@ustccw we tried with a USB-TTL Serial Modul FT232RL FTDI without flow control and it worked correctly.

Good to know~ it seems that the AT firmware and the ESP32 module itself are fine. The issue lies with the MCU side, so you will need to troubleshoot the relevant problems on the MCU side~

I will check my MCU then closely. I will close the issuer for now. Thanks for your support.


How to use webhook response instance

The Webhook::read function will return a Notification instance. Please, explore the different notifications availables.
I am getting the instance , but those properties are private, i can access directly, So how can i access that properties.. ??

There are public methods provided to access the entries. Follow the location where those properties have been declared and you'll find the methods to use. Some examples for Text instance:
$message_text = $webhook->message();
$userid = $webhook->customer()->id();
$user_name = $webhook->customer()->name();
$messageid = $webhook->id();


No explanation given to why password prompt appears when running get-server.sh

Is your feature request related to a problem? Please describe.
It's not so much a problem as usability/trust issue 😄
So I run this as per installation instructions in readme:
curl https://download.daytona.io/daytona/get-server.sh | bash

then I get this...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1272  100  1272    0     0    498      0  0:00:02  0:00:02 --:--:--   498
Downloading server from https://download.daytona.io/daytona/latest/daytona-darwin-arm64
Password:

At this point I was confused to what the password is for so I hit Ctrl-C and then get
sudo: a password is required

So now I know you want my login password... but there's no explanation as to why?  Being brainwashed by so many info-sec zealots, I decide too risky and so I Ctrl-C again... but I have to repeat several times to get back to the command line.  Being a safe little developer, I check the readme for an explanation, but nothing there also.  I abort it all having initially been quite excited to try out Daytona and pen this issue... sorry, I'd have rather added a contribution myself but I still have no idea if daytona will be something I need.
Describe the solution you'd like
The best alternative would be to avoid attempting to script anything that requires elevation.  Change the installation path, make daytona per-user rather than trying to do something system wide.  Runtime tools like mise and asdf do this well.  I can't really comment on the solution because I haven't looked at the code, you peeps are the experts.
Describe alternatives you've considered
I guess worst case you could do something before prompting for sudo password like
"You are about to be prompted for your sudo password.  This is required because ..."

#105 was merged and will be deployed. @zzorica or @Tpuljak can you mark this closed when it hits prod?

Very nice work and pro-level turnaround, thanks @metcalfc and crew!


YouTube channel no longer available

The YouTube channel VueConf EU is no longer available. At least not with the link https://www.youtube.com/channel/UC9dJjbYeXjirDYYVfUD3bSw

Closing as it seems to work now.


Good textboxes.

Good textboxes.
Closes #23

All looking good now. I'll check how well it works later, and then merge the changes.

Okay, I noticed some more problems while testing.
First of all, you seem to be drawing the selection over the text instead of under, which causes poor contrast on dark mode.

It would also cause the text to be tinted if the selection color is, well, a color, instead of just grayscale.
Second, it seems that Ctrl+Left/Right only skip until they hit the first whitespace character. They don't skip continuous spans of spaces, which isn't how usual text boxes behave.
Third, selection is retained when a textbox is unfocused, which leads to this:

Instead, the anchor should be merged with the cursor position.
Missing keyboard shortcuts:

Ctrl+Backspace
Ctrl+Delete
Shift+Tab, to focus the previous text box. This should be implemented in ui::chain_focus.

Also, Shift+Tab seems to be broken as it doesn't wrap around to the last text box when the first text box is focused.

Fixed.

I just noticed Shift+Home and Shift+End are missing as well, but we can add that after this is merged.


Lab tech - handle scenario where lab result inputted by lab tech results in diagnostics of urgent diagnosis

#1151
Fix for https://github.com/TIP-Global-Health/eheza-app/issues/1151#issuecomment-2120161656


Extract text styling?

I'm wondering if it's possible to extract styling (ie if text is bold or italic) from pdfs, in addition to their content? Is this information accessible from the pdf?

Check with the upstream Apache Tika ([dev<EMAIL_ADDRESS>or Apache PDFBox lists.


Refactoring User with LdapUser

Here are the results of our refactoring sessions, and some additional work I did which mostly extends what we initially started doing.
Comments? @cam156 @hectorcorrea? I don't know where Dan and Derek are on Github.

:+1: Looking good!  I'm glad we can remove User from the rubocop ignore now!

:+1: ship it!

@hectorcorrea if you're good, I'm good. I've addressed @cam156 comments and it's ready to go.


Port to tomselect

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Ports selectize selects to TomSelect.

What is the current behavior? (You can also link to an open issue here)

Selectize is used to select elements

What is the new behavior (if this is a feature change)?

TomSelect is used

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

no.

Other information:

Closed in favour of #396


Duplicate IDs for Heart icon

There are two icons with an ID of "heart":

body/heart
Example: public/icons/svg/filled/body/heart.svg
Metadata
{
  "id": "heart",
  "category": "body",
  "path": "body/heart",
  "tags": [
   "Cardiac",
   "Cardiologist",
   "Cardiology",
   "Coronary",
   "Heart",
   "Organ"
  ],
  "title": "Heart"
 }

symbols/heart
Example: public/icons/svg/filled/symbols/heart.svg
Metadata
{
  "id": "heart",
  "category": "symbols",
  "path": "symbols/heart",
  "tags": [
   "Cardiology",
   "Favorite",
   "Like",
   "Love",
   "dhis2:heart"
  ],
  "title": "Heart"
 }

The latter overwrites the former, therefore we're never able to use the body/heart icon.
Suggested fix
Update the ID of one of the icons to avoid ID clash.

This if fixed in Figma. Will be fixed live the next time we do an export (later this week).


Review the Onboarding Screen

Scope: ADS review for Onboarding screen.
https://www.figma.com/file/xeV5IrjyJtYQi27oORHLao/Basic-Onboarding-Guide?type=design&node-id=7%3A11775&mode=design&t=CXOLHaa8FkLJncoG-1

The review is done and updated the comment.,


docs: Add examples for open issue questions

Description

Add examples for open issue questions

Motivation and Context

Resolves #155
Resolves #187

Breaking Changes

Nope, just examples

How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects
[x] I have executed pre-commit run -a on my pull request

This PR is included in version 5.11.1 :tada:


Send Silently config option for Telegram messages.

Love the plugin! I wanted the notifications to be silent on my phone and you can do that by using the disable_notification API prop. https://core.telegram.org/bots/api#sendmessage

The baseOptions, chatId and sendSilently are remove from the send, edit, and pin method parameters as they are common. I updated the constructor to include those additional params.
Refactored away from using anonymous HashMaps and added a baseOptions for common telegram API properties.
Updated README to include new sendSilently config option

I noticed you were initializing HashMaps with the anonymous class style. This can cause unnoticed side effects outlined in this blog.
I just converted them to use Kotlin's immutable maps and mutable maps were applicable, but happy to revert those changes if you want this PR to just adding the send silently prop.

also need to add these new property to /src/main/resources/config.yml

sorry for the long answer, unfortunately I don't have time to support this project yet, but the project is not abandoned and I'm going to develop it in the future

sorry for the long answer, unfortunately I don't have time to support this project yet, but the project is not abandoned and I'm going to develop it in the future

Gotcha! Ya. I'm on vacation right now and I'll make the changes you requested when I get back in a couple days.

@kkroboth thanks for contributing to the project


Terraform module oci_oke broken: oci_core_images data source returning empty images for bastion

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version and Provider Version

Affected Resource(s)

Terraform Configuration Files

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file.
# Please remove any sensitive information from configuration files before sharing them.

Debug Output

Panic Output

Expected Behavior

Actual Behavior

Steps to Reproduce

terraform apply

Important Factoids

References

Please see customer note  and let me know, if you need more info on this. Thanks.
we are using terraform module https://github.com/oracle-terraform-modules/terraform-oci-oke at v5.0.3
Our Spacelift (automated tf state management) detected drift and found that the tf module is unable to plan now due to unable to find any image IDs for bastion.
I've created and applied this data source
data "oci_core_images" "bastion" {
// compartment_id           = data.terraform_remote_state.oci_core.outputs.root_tenancy_ocid
compartment_id = data.terraform_remote_state.oci_core.outputs.compartment_id
operating_system         = "Oracle Autonomous Linux"
operating_system_version = "8.7"
shape                    = "VM.Standard.E4.Flex"
state                    = "AVAILABLE"
sort_by                  = "TIMECREATED"
sort_order               = "DESC"
filter {
name   = "launch_mode"
values = ["NATIVE"]
}
}
This emulates all the values in our cluster
and this is the output
bastion_image_ids = {
"compartment_id" = "ocid1.compartment.oc1..aaaaaaaanydaqleheyo7hepeg6lsvplv7igvfarnomdigsk253h3mxkxjocq"
"display_name" = tostring(null)
"filter" = toset([
{
"name" = "launch_mode"
"regex" = false
"values" = tolist([
"NATIVE",
])
},
])
"id" = "CoreImagesDataSource-148668681"
"images" = tolist([])
"operating_system" = "Oracle Autonomous Linux"
"operating_system_version" = "8.7"
"shape" = "VM.Standard.E4.Flex"
"sort_by" = "TIMECREATED"
"sort_order" = "DESC"
"state" = "AVAILABLE"
}
as you can see... images field is an empty list. I had tried the same with 8.9 and it also returns an empty array for images.
I found the OCID for this image v8.9 (https://docs.oracle.com/en-us/iaas/images/image/a6afa61a-881a-4eee-acbd-e2267837275a/) and  v8.7 (https://docs.oracle.com/en-us/iaas/images/image/d92c5776-cc18-472d-9f64-26dffa6bdd7d/). changed the bastion_image_type = "custom" and then applied, both 8.9 and 8.7 image ocids work. However, no images are found when I set bastion_image_type="platform"

Hi,
I can replicate the error. Can you please the image_type = customer and set the ocid for now until we've fixed it?

Hi,
in the operating system version, can you try setting only the major version "8"  instead of also including the minor version?

Thanks Team, is that something customer can do. Please let me know.

The problem is the data resource query. We changed nothing and now cannot create new clusters. We do not set any custom bastion variables; just create_bastion = true
https://github.com/oracle-terraform-modules/terraform-oci-oke/blob/v5.1.5/module-bastion.tf#L5
Returns none and therefore fails.

A successful workaround for us is to define:
bastion_image_os_version = 8
Now the data resource works.

Thanks @hyder  Please see customer update.
I just tried this out with the steps I listed. using data source oci_core_images to look up bastion images (Oracle Autonomous Linux 8.7). It is still not image to return any images.


Prevent compaction partial failure if possible, recover from it if necessary.

Two complementary changes here:

Add shutdown hook to let compaction operations to complete.
Check for inconsistency in update operation and delete stray Cosmos record.

Codecov Report

Merging #1485 into master will decrease coverage by 0.01%.
The diff coverage is 52.08%.

@@             Coverage Diff              @@
##             master    #1485      +/-   ##
============================================
- Coverage     73.39%   73.37%   -0.02%
- Complexity     7899     7913      +14
============================================
  Files           561      561
  Lines         43738    43811      +73
  Branches       5508     5516       +8
============================================
+ Hits          32100    32146      +46
- Misses        10038    10061      +23
- Partials       1600     1604       +4

Impacted Files
Coverage Δ
Complexity Δ

...java/com/github/ambry/cloud/CloudBlobMetadata.java
90.75% <0.00%> (+0.07%)
41.00 <2.00> (+2.00)

.../github/ambry/tools/admin/AzureCompactionTool.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...m/github/ambry/cloud/azure/CosmosDataAccessor.java
63.82% <41.66%> (-1.91%)
27.00 <2.00> (+2.00)
:arrow_down:

.../com/github/ambry/cloud/CloudStorageCompactor.java
70.75% <53.57%> (-6.75%)
20.00 <3.00> (+2.00)
:arrow_down:

...ithub/ambry/cloud/azure/AzureCloudDestination.java
73.25% <90.00%> (+1.46%)
35.00 <0.00> (+2.00)

...main/java/com/github/ambry/config/CloudConfig.java
100.00% <100.00%> (ø)
1.00 <0.00> (ø)

...c/main/java/com/github/ambry/cloud/VcrMetrics.java
100.00% <100.00%> (ø)
2.00 <0.00> (ø)

.../com/github/ambry/cloud/VcrReplicationManager.java
72.44% <100.00%> (+1.17%)
15.00 <2.00> (+2.00)

...java/com/github/ambry/store/CompactionManager.java
90.47% <0.00%> (-1.79%)
25.00% <0.00%> (ø%)

.../main/java/com/github/ambry/store/ScanResults.java
81.25% <0.00%> (-1.57%)
16.00% <0.00%> (-1.00%)

... and 12 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 32dbd47...35ab8f5. Read the comment docs.


Update debugging_tips.py

simple typo. Not sure if this will create a PR based on where I'm logged in right now. If it doesn't, I'll try to remember to do this from a dev machine when I'm back.

@googlebot I signed it!

Thanks for the PR! Please also fix the typo in the generated ipynb and md files.

Got those too!


Assessment of performance impact.

Hello everythingfunctional
Thank you for your programming effort.
While browsing the 'quaff' project I was seeing many times a scalar quantities .e.g angle wrapped in large amount of Fortran object-orientation layer.
I deal on daily base with software performance and analysis, hence I wanted to ask you a question in regards to performance of this kind of implementation of simple quantities like scalar angle.
I'm mainly interested in Compiler ability to peel off the OO layer and auto-vectorize the intrinsic AoS (Array-of-Struct) derived types, especially in the case of various operators acting on those quantities.
Best regards
Bernard
P.s.
Here is an example of 'manual vectorization' of various rotational computations
https://github.com/bgin/Guided_Missile_Simulation/blob/master/Mathematics/GMS_avx512_rotations.f90

I'm seeing no response, hence I'm closing the issue.


batch insertAll has no effect when tx commited

Hi ,
I'm using version 6.1.1 of ebean, and integration it with spring .
when batch insertAll commited via spring's tx , it takes no effect , I found  com.avaje.ebeaninternal.server.persist.BatchControl#flush(boolean) method did not called from spring's tx commit , anything wrong?

Maybe, the ebean spring project is a bit behind so yes there is a chance
something got broken. Any chance of creating a test case and pull request
against avaje-ebeanorm-spring?
On 27 July 2015 at 21:20, xxcode-monkey<EMAIL_ADDRESS>wrote:

Hi ,
I'm using version 6.1.1 of ebean, and integration it with spring .
when batch insertAll commited via spring's tx , it takes no effect , I
found com.avaje.ebeaninternal.server.persist.BatchControl#flush(boolean)
method did not called from spring's tx commit , anything wrong?
—
Reply to this email directly or view it on GitHub
https://github.com/ebean-orm/avaje-ebeanorm/issues/357.

ok , later

If you like ... create an issue on the avaje-ebeanorm-spring project and
put in the issue some pseudo code & spring version and observed behaviour.
In case I get to it before you get a test case pull request in.
Cheers, Rob.
On 27 July 2015 at 21:36, xxcode-monkey<EMAIL_ADDRESS>wrote:

ok , later
—
Reply to this email directly or view it on GitHub
https://github.com/ebean-orm/avaje-ebeanorm/issues/357#issuecomment-125146318
.

Interesting enough this is a bug in core (not spring specific). The underlying issue is that the 'many' property is initialised in the constructor - for this associated test case we initialised with ArrayList() but the code in the ebeanorm-spring project initialised a HashSet().
The fix is to include a test for 'vanilla' collections (HashSet, ArrayList) so BeanCollection was correctly skipping the save call to the 'many' property but this was not being skipped for HashSet, ArrayList. As the skipping of the save call to the 'many' property was not being skipped the batch insert was effectively flushing after each insert (and that was what you saw in the logs).
Summary:
Fix adds checks for empty vanilla collections in BeanPropertyAssocMany. isEmptyBeanCollection()


Added additional documentation in JOBS.md and DEPLOY.md

Added documentation on AWS Batch executable and creating IAM roles for the job.

Thanks for the approval; please merge whenever you see fit.


4.0.0 producing an exception

Even with:
builder.Services.AddControllers().AddJsonOptions(options =>
{
options.JsonSerializerOptions.PropertyNamingPolicy = JsonNamingPolicy.CamelCase;
......
Is producing an exception since 4.0.0. The request is in camelCase. I also checked the patch before being applied, and the keys are in camelCase... so.. something is wrong

Can you provide more details of the payload, models, exception etc.

I'm having the same issue. It seems is happening with nullable integers? For example, hoy make a request with a nullable int, in camel case and is throwing an exception. This happens only with version 4

Can you show the request payload / model / naming convention?

Nevermind. The problem is when you send the path in lowercase. When you do that and you create a new Document for the entity (for example when sending a Dto document), then you need to convert the path to PascalCase.

The problem with this is that maybe you have configured camelCase for you api controllers and that's fine, but if you pass for example in your Path, something like "user" instead of "User", it will fail. Before this change, that worked in the past, and we are talking about the value, not the key.

The path must follow the API serialization configuration, previously it was ambiguously matching case insensitively anything that it found from the model, making PascalCase and CamelCase behave incorrectly when the model has "name" and "Name" properties defined. It would patch the property which it found using FirstOrDefault() which could be anything.
Same way when POSTing a request to controller it matches only to the property which matches the naming convention.
This is a breaking change and thus the major version was bumped.
If the naming convention is correctly set in the request and the PATCH does not match to the property accordingly then that is a bug, but we need an example of the payload and model so we can fix it and create test case to avoid regression

I'm having the same issue too. The serialization is okay to be applied to keys, but not to values. That does not make any sense! JSON configuration for controllers can be configured in camelCase but class names will be always in PascalCase so will never work. This introduces a problem!

I agree. JSON settings should be apllied only in keys, not in the value of the key, or maybe I'm missing something.

Given following model:
class Foobar {
  public string Name { get; set; }
  public string name { get; set; }
  public int Age { get; set; }
}

If one has configured STJ naming contention camelCase and sends a regular POST request to asp.net endpoint
{ "Age": 10 }

That does not match anything the input model would have default value for all its fields, name(s)null, age 0,
Now in 4.0.0 the PATCH follows same convention
The following request:
[{"op": "replace", "path": "Age", "value": 50}]

Does not match anything
Similarly prior to version 4
[{"op": "replace", "path": "name", "value": "test"}]

Would have changed value of property Name instead of name because it did not follow STJs naming convention

I agree. JSON settings should be apllied only in keys, not in the value of the key, or maybe I'm missing something.

Can you provide an example please.
Its difficult to follow what is the value in this context, are you referring to path value or do you have nested object serialized into the value field of the operation

Okay I know what's happening. The problem is when you try to generate your own PatchDocument. Let's say you get a:
JsonPatchDocument patchDocument
Sometimes, in complex scenarios, you need to receive that patchDocument and iterate through the operations. To create a new JsonPatchDocument patchDocument (to convert from Dto to Entity and do some changes in the values).
If I save the changes will fail because because is not converting the received path to PascalCase. In other words, if you manually do this, will fail:
var document1 = new JsonPatchDocument<Customer>();
document1.Operations.Add(new Operation<Customer>("replace", "name", null, "name"));
document1.ApplyTo(customer);
await context.SaveChangesAsync();

If you do this:
var document1 = new JsonPatchDocument<Customer>();
document1.Operations.Add(new Operation<Customer>("replace", "Name", null, "name"));
document1.ApplyTo(customer);
await context.SaveChangesAsync();

Will work (no matter your JSON configuration).
This used to work fine before 4.0.0.

Does anybody know if its possible to inject default options from the WebApi settings?

Oh, gotcha! Thanks for that!

I updated the example in the readme to show how to pass the options. I'm closing this issue. If there is still an issue please create a new issue with repro


somatic calling error 35

Hi!!
I have use this comand in somatic:
/illumina/software/PROG2/VarDict/vardict -G /illumina/software/database/database_2016/hg19_primary.fa -f 0.01  -N 415_tumor -b "/mnt/ALIGN/415/Coclean/415.sorted.dup.recal.cleaned.bam|/mnt/ALIGN/415/Coclean/416.sorted.dup.recal.cleaned.bam" -c 1 -S 2 -E 3 -g 4 /illumina/software/database/database_2016/TARGET/BED_chromosome/my.chr12.bed| testsomatic.R |var2vcf_paired.pl -N "415_tumor|416_normal" -f 0.01 -v 5  > 415_416_vardict_chr12.vc
Now I use to divede my exome  bed on chromosome but I have this error;:
`
Use of uninitialized value in concatenation (.) or string at /illumina/software/PROG2/VarDict/var2vcf_paired.pl line 3`5.

What is right way to do somatic calling with the new version
thanks so much!

You can typically ignore those warnings. It should still run through. They can be caused by improper CIGAR strings if you used an explicit indel realigner (which we recommend against).

No the script stops...
the problems remain..it is not closed

The first part of script gave me a results but  testsomatic.R and var2vcf_paired.pl  not working

Sorry I was too quick to close the issue. What error do you get in testsomatic.R? Maybe that's a clue. And also what's the last line in the text file from the first step - maybe that's close to the problem region.
Is there any way you could access a more recent cluster? By running VarDict via bcbio would really help you focus on what's important, i.e. interpreting the data and not debugging algorithms..

Thanks so much for the help. Unfortunately I can't use that.
So the first step work without error:
415_tumochr12   133810869-1338101338108690942   G	A	144153	90	0	1	G/A	0.0069	2;0	41.0	0	30.0	0	60.0	2.000	0.0072	0	1.0	152	2	45	105	1	1	G/A	0.0132	2;2	29.5	1	30.0	1	60.0	4.000	0.0138	0	1.0	0	1.000	1	AGTCCCGGCACAGTCTGCCC	CAAGGGTCACCAGCTCCGCC	chr12:133810692-133810942	LikelyLOH	SNV
the problems is when I use testsomati.R there is not error but don't gave eany type of error:
I try also this:

cat 415_416_vardict_chr12.vcf |testsomatic.R
[sbsuser@compute-00-00 Prova3]
```$

Just to clarify, 415_416_vardict_chr12.vcf is not a vcf file but the output of the first VarDict command, right? I.e. a tab delimited file like the one you pasted above (415_tumochr12 133810869-1338101338108690942 ...)? testsomatic.R doesn't operate on vcf files but text files.
If this is the case, then I'm confused as testsomatic.R should output as many lines as it sees in the input. I wonder if you open R manually, read a text file from VarDict and check what the R script is doing. Maybe that gives you a clue as to why there is no output.

So I try to use .txt not vcf but not change the results. It is a txt file tab delimited.
So I try to debug the data but I have one error:
<- read.table( "415_416_vardict_chr12.vcf", sep = "\t", header = F, colClasses=c("character", NA, NA, NA, NA, "character", "character", NA, NA, NA, NA, NA, NA, "character", NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, "character", NA, "character",  NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, "character", "character", "character", "character"))
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,  :
 line 1 did not have 50 elements

So the first error is the expect 50 columns but obtain 51. Why this difference?

Would you be able drop a file of, say, the ten first entries here (head -n10 415_416_vardict_chr12.vcf > test.txt)?

All the rows have 51 rows...

If you don't want to share your data, can you try running VarDictJava to output the initial text file and see if it also has 51 columns? You need Java version 8. Further, please paste the entire java command here.

So if I use  the java version for the first 10 lines seem work.. Ok whit this comand work
/illumina/software/PROG2/VarDictJava-1.4.8/bin/VarDict -G /illumina/software/database/database_2016/hg19_primary.fa -f 0.01  -N 415_tumor -b "/mnt/ALIGN/415/Coclean/415.sorted.dup.recal.cleaned.bam|/mnt/ALIGN/415/Coclean/416.sorted.dup.recal.cleaned.bam" -c 1 -S 2 -E 3 -g 4 /illumina/software/database/database_2016/TARGET/BED_chromosome/my.chr22.bed|/illumina/software/PROG2/VarDictJava-1.4.8/VarDict/testsomatic.R |/illumina/software/PROG2/VarDictJava-1.4.8/VarDict/var2vcf_paired.pl -N "415_tumor|416_normal" > provami_tomerge.vcf
However if I send this command using qsub I have some errors but this is another  problem... So I post another ticket..thanks so much!! So there is a problem on the perl script...
Thanks so much!

Well good to hear Java gives you the correct output. It's 20x faster than the Perl script anyways and we're in the process of deprecating support for the Perl version.
One quick question, are you defaulting to bash shell? When we were using CentOS5 for some reason the default was tcsh or some other exotic shell. They spell trouble, so I suggest defaulting to bash in case you're not.
Regarding SGE and other queuing systems I'm afraid they're outside the scope of our support for VarDict.


fix: Fix failure launching windows pod when instance type isn't in vpc resource controller config

Fixes #N/A
Description
This change fixes a bug in the returned instance types from the Windows AMI to ensure that we don't allow instance types that don't have PrivateIPv4Addresses reported on the VPC limits.go file to be launched with the Windows AMI. Even though we can know the private IP address count from the EC2 DescribeInstances API, the vpc.amazonaws.com/PrivateIPv4Address resource won't be reported unless the VPC resource controller is aware of it.
How was this change tested?
make presubmit
/karpenter snapshot
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

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

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

Details

15 of 15 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 79.208%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
5802

Relevant Lines:
7325

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

15 of 15 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 79.208%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
5802

Relevant Lines:
7325

💛  - Coveralls

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

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

Details

15 of 15 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 79.254%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
5799

Relevant Lines:
7317

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

17 of 17 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall first build on fix-windows-vpc-resource-controller at 78.434%

Totals

Change from base Build<PHONE_NUMBER>:
78.4%

Covered Lines:
5801

Relevant Lines:
7396

💛  - Coveralls


Commands cause Obsidian's listCommands function to throw an error if no note is open

Nevermind - wasn't from my plugin.


Error during installation

This is a fantastic integration!
Unfortunately I cannot install it on my home assistant:
Der Konfigurationsfluss konnte nicht geladen werden:           © 2023 Synology Inc.
Any help is appreciated.
Regards
Christian

Hi Christian!
Did you try to install via HACS?
KR
Nazze

Yes. I have installed it via HACS.
After that I try to add the integration…..
Damn. Now it works! 😊
Sorry!
Von: Nazze @.>
Gesendet: Donnerstag, 21. Dezember 2023 15:07
An: Nazze/ha_best_bottrop_garbage_collection @.>
Cc: cnbe70 @.>; Author @.>
Betreff: Re: [Nazze/ha_best_bottrop_garbage_collection] Error during installation (Issue #5)
Hi Christian!
Did you try to install via HACS?
KR
Nazze
—
Reply to this email directly, view it on GitHubhttps://github.com/Nazze/ha_best_bottrop_garbage_collection/issues/5#issuecomment-1866321906, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6XLQRHQYQRRY4A5KAI5JK3YKQ7APAVCNFSM6AAAAABAYE5CLGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRWGMZDCOJQGY.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

I de-installed and installed again, and it was working for me, too. Glad that it is working for you as well.
Seems to be related to this error:
https://community.home-assistant.io/t/hacs-installing-problem-via-integration-error-config-flow-could-not-be-loaded/314501
Anyway, have fun :-)


Update forecast post for Firebase

Update the post forecast to add Firebase Link and Status.
Note: I didn't have the ETA

Thanks for the update @alallema
all lgtm! Merging it
Regarding the ETA, I'd say 2 weeks after you're done with the first draft. So you have to give a tentative date for your first draft and add 2 weeks


Add a simple text viewer

This adds a "view" command to the Vernier CLI. Right now, it just prints a table of the top 20 most sampled leaf methods. This is equivalent to viewing the inverted call graph in the Firefox profile viewer.
Here's what it looks like:
$ ruby -I lib exe/vernier view ~/git/profile20240814-33519-taluco.vernier.json
+---------+------+------------------------------------------------------------+
| Samples | %    |                                                            |
+---------+------+------------------------------------------------------------+
| 10639   | 60.8 | Thread::Queue#pop                                          |
| 3036    | 17.4 | Thread#value                                               |
| 738     | 4.2  | Thread#join                                                |
| 369     | 2.1  | Gem::Version#<=>                                           |
| 141     | 0.8  | Kernel#require_relative                                    |
| 131     | 0.7  | Kernel#require                                             |
| 118     | 0.7  | Gem::Requirement.parse                                     |
| 116     | 0.7  | Array#<=>                                                  |
| 84      | 0.5  | Digest::Base#<<                                            |
| 64      | 0.4  | Array#==                                                   |
| 59      | 0.3  | Array#flatten                                              |
| 59      | 0.3  | IO#readline                                                |
| 58      | 0.3  | Bundler::GemVersionPromoter#sort_versions                  |
| 56      | 0.3  | Kernel#`                                                   |
| 51      | 0.3  | Class#new                                                  |
| 49      | 0.3  | Bundler::Resolver::Candidate#sort_obj                      |
| 48      | 0.3  | Bundler::CompactIndexClient::Parser#parse_version_checksum |
| 46      | 0.3  | Hash#key?                                                  |
| 41      | 0.2  | Bundler::Resolver::Candidate#<=>                           |
| 40      | 0.2  | Gem::Version#prerelease?                                   |
+---------+------+------------------------------------------------------------+

Here's what the help text looks like.
No args:
$ ruby -I lib exe/vernier
vernier: Usage: vernier run [FLAGS] -- COMMAND

FLAGS:
        --output [FILENAME]          output filename
        --interval [MICROSECONDS]    sampling interval (default 500)
        --allocation_sample_rate [ALLOCATIONS]
                                     allocation sampling interval (default 0 disabled)
        --signal [NAME]              specify a signal to start and stop the profiler
        --start-paused               don't automatically start the profiler
        --hooks [HOOKS]              Enable instrumentation hooks. Currently supported: rails

Usage: vernier view [FILENAME]

FLAGS:
        --top [COUNT]                number of frames to show

Just "run":
$ ruby -I lib exe/vernier run
vernier: Usage: vernier run [FLAGS] -- COMMAND

FLAGS:
        --output [FILENAME]          output filename
        --interval [MICROSECONDS]    sampling interval (default 500)
        --allocation_sample_rate [ALLOCATIONS]
                                     allocation sampling interval (default 0 disabled)
        --signal [NAME]              specify a signal to start and stop the profiler
        --start-paused               don't automatically start the profiler
        --hooks [HOOKS]              Enable instrumentation hooks. Currently supported: rails

Just "view":
$ ruby -I lib exe/vernier view
vernier: Usage: vernier view [FILENAME]

FLAGS:
        --top [COUNT]                number of frames to show

Since the default for vernier run is to output .gz files, we should probably make vernier view understand when it's looking at a gz file.  I just wanted to push this up for now.

Since the default for vernier run is to output .gz files, we should probably make vernier view understand when it's looking at a gz file. I just wanted to push this up for now.

ok, I did that.

Thank you!


Ingest https://github.com/psf/advisory-database/tree/main/advisories

@oliverchang Would be happy to help out implementing this. I saw in the contributing guide it mentioned creating an issue but not much else, is there anything I can help with?

Thanks for reaching out!
https://github.com/psf/advisory-database/tree/main/advisories appears to all be keyed on commits, so there's not much to do here other than for us to set up the infra config to start importing. We'll get to it this week :)

https://oss-vdb-test.wl.r.appspot.com/vulnerability/PSF-2023-9 got on our radar because it's invalid to have an ECOSYSTEM range without an affected[].package field.
OSV.dev will attempt to enumerate affected[].versions for GIT ranges as part of the importing process, so there's no need to supply them.

https://oss-vdb-test.wl.r.appspot.com/vulnerability/PSF-2023-9 got on our radar because it's invalid to have an ECOSYSTEM range without an affected[].package field.
OSV.dev will attempt to enumerate affected[].versions for GIT ranges as part of the importing process, so there's no need to supply them.

+1 see the example linked:

These are dervied from git tags that match the provided git ranges.

Got it, one hitch to that is it seems that historical git branches get deleted from the GitHub repository after they're no longer supported, so advisories affecting versions before 3.8.0 might not get populated?

Also looks like the advisory https://oss-vdb-test.wl.r.appspot.com/vulnerability/PSF-2023-8 isn't rendering correctly, I'm assuming that I'm encoding the newlines incorrectly.

Got it, one hitch to that is it seems that historical git branches get deleted from the GitHub repository after they're no longer supported, so advisories affecting versions before 3.8.0 might not get populated?

Hmm, we managed to extract older versions (including 2.x) for https://oss-vdb-test.wl.r.appspot.com/vulnerability/PSF-2023-8. Perhaps that's a non-issue?

Also looks like the advisory https://oss-vdb-test.wl.r.appspot.com/vulnerability/PSF-2023-8 isn't rendering correctly, I'm assuming that I'm encoding the newlines incorrectly.

https://github.com/psf/advisory-database/blob/4d5ebbc62f10b00e10f10e165587aedfd85134da/advisories/python/PSF-2023-8.json#L10 looks to have double quoted newlines.

Got it, one hitch to that is it seems that historical git branches get deleted from the GitHub repository after they're no longer supported, so advisories affecting versions before 3.8.0 might not get populated?

Hmm, we managed to extract older versions (including 2.x) for https://oss-vdb-test.wl.r.appspot.com/vulnerability/PSF-2023-8. Perhaps that's a non-issue?

That is missing a lot of tags for v2.x so it's not a complete import, the 2.7.x series went until v2.7.18.

Got it, one hitch to that is it seems that historical git branches get deleted from the GitHub repository after they're no longer supported, so advisories affecting versions before 3.8.0 might not get populated?

Hmm, we managed to extract older versions (including 2.x) for https://oss-vdb-test.wl.r.appspot.com/vulnerability/PSF-2023-8. Perhaps that's a non-issue?

That is missing a lot of tags for v2.x so it's not a complete import, the 2.7.x series went until v2.7.18.

Hmm, that's rather unfortunate. Without historical branches the analysis is purely on the main and available branches, which is probably why we're missing later versions in older CPython branches that branched off main. Is there any way to advocate for keeping these branches?
In any case, having ECOSYSTEM ranges is not valid when there is no defined ecosystem, and will break our import sadly.

and will break our import sadly.

More to the point it currently doesn't break our import and we're winding up with vulnerabilities that don't meet certain assumptions and that causes all sorts of issues :-(

@sethmlarson any chance we can remove the ECOSYSTEM ranges for now to unblock our ingestion? As @andrewpollock correctly pointed out, technically it doesn't fully break our ingestion, but it does break other parts of our UI/infra in subtle ways.
Assuming that the branch heads to all the historical released versions of cpython still exist (e.g. via tags), there's likely a technical solution that will enable us to enumerate every version correctly (i.e. correctly enumerating all the way up to v2.7.18 per https://github.com/google/osv.dev/issues/1552#issuecomment-1692593964). The challenge for us is doing this efficiently, but I've filed #1590 to track this.

I can remove the ecosystem version ranges, it would be good to somehow capture the correct affected versions though. Would listing out the tags in "affected[].versions" work for that purpose?

I've updated the records to remove the ECOSYSTEM type: https://github.com/psf/advisory-database/pull/21

Would listing out the tags in "affected[].versions" work for that purpose?

https://ossf.github.io/osv-schema/#affectedversions-field
OSV.dev, as part of the importing process will do its best to enumerate the versions between the introduced and fixed (and soon to be last_affected) GIT ranges. I'd have to go back and review the code involved to refresh my understanding of how it treats a pre-supplied affected[].versions field.

I can remove the ecosystem version ranges, it would be good to somehow capture the correct affected versions though. Would listing out the tags in "affected[].versions" work for that purpose?

This would work. Our own tag enumeration would only add new tags that we match that don't already exist to the original  record. We don't ever delete things already in affected[].versions.

@oliverchang I talked with Release Manager Lukasz and he mentioned that while branches are deleted all of the commits are maintained, so in theory by cloning the entire repository all of the tags should be discoverable. What may be the problem is if the discovery process starts by looking at every branch instead of every tag?

@oliverchang I talked with Release Manager Łukasz and he mentioned that while branches are deleted all of the commits are kept in the repo, so in theory by cloning the entire repository all of the tags should be discoverable. Maybe this is causing an issue in the discovery process?

Thanks for checking! Yep, this is what we will be trying as part of https://github.com/google/osv.dev/issues/1590

These are now ingested in our prod instance. e.g. https://osv.dev/vulnerability/PSF-2019-7
https://github.com/google/osv.dev/issues/1590 tracks the remaining git enumeration improvement

Awesome, thanks @oliverchang and @andrewpollock! :muscle: