Request textDocument/hover failed

I am trying to implement a onHover method on a LSP server for a custom scripting language we are using for our products. I am using this example but every time I am getting the following error:
Request textDocument/hover failed.
Message: Unhandled method textDocument/hover
Code: -32601
Do I have to add something to my client to support the hover action?  I have added this, for testing, to my server (+ declared the capability on top):
connection.onHover(({ textDocument, position }: Hover => {     return {       contents: {         kind: 'markdown',         value: 'Current word',       },     };	 });

Actually, this looks OK to me. If you provide me with a fork of the lsp-sample in this repository demoing your problem I will have a look.

Closing as more information is needed to investigate this


Classify - otus experimental had blank taxon

I ran the classify otus experimental and I was getting an error that one of the entries was a float and it couldn't parse it.  After digging into the taxonomy file, it looks like one of the entries was blank, and it was reading it as NaN, and it broke it.  Once I deleted the line, everything ran fine.  Any chance something could be coded to avoid this issue in the future?

Hi @shaekin
thank you very much for reporting this issue - and also for providing a workaround. Can you, by any chance, attach the faulty taxonomy file for debugging? And maybe the failing commands.
Thanks again,
Stefan

@thermokarst and @nbokulich
This issue might not only apply here but could be of wider impact as @shaekin initially suggested. It is true that the bug manifests in q2-fragment-insertion, however one could prevent it at importing the raw taxonomy.tsv file.
Have a look at the four example files in taxonomies.zip.
The following works as expected:
x=working; qiime tools import --input-path $x.tsv  --type "FeatureData[Taxonomy]" --output-path $x.qza
However, importing taxonomies with either blank feature ID missing_id.tsv, no lineage string missing_lineage.tsv or a blank line in the middle of the "table" blank_line.tsv all work without any notification to the user about those data issues.
Is this a feature (allow a quite general input) or a bug (not semantically checking the provided information)?


Protection from dangerous environment variables

Need to protect the build from setting GOTRACEBACK/GODEBUG.
More here: https://golang.org/pkg/runtime/#hdr-Environment_Variables

https://github.com/mvdan/garble/pull/52 should take care of that. If hideFatalErrors is enabled, all runtime print statements should be blocked. I would definitely do some testing and verify that though

I mean this

You mean the debug statements from net, net/http and crypto/tls?

Yeah, I suggest we just remove any possibility of modifying the program's behavior through debug variables.

Are those evaluated at run or compile time?

@lu4p

It only says controls run-time behaviour please test, if it actually changes anything when changing the env vars on run-time.

Pretty sure it controls behavior at runtime like it says but I haven't tested

Hmm, I seem to have overestimated the danger. hideFatalErrors levels out 80% of the danger.
More or less dangerous remain:

GODEBUG=x509ignoreCN=1
GODEBUG=gctrace=1
GODEBUG=schedtrace=X

The rest may lead to unusual program behavior (e.g. GOGC=off), but not to information leakage.

Risk is overrated


Hjerson compatibility for Windows

The execution of the external command of python fails in Windows, since a full path is required. The call should be re-written to be OS-independent

Working on it. Using "realpath" solves the problem for Windows, need to test for linux and commit


plugin: github-insights ERROR

Hi,
I installed the plugin (https://roadie.io/backstage/plugins/github-insights) in my backstage but I recive an error:"The github.com/project-slug annotation is missing. You need to add the annotation to your component if you want to enable this tool.”
In my component the annotation is present
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
  name: cdn
  description: CDN
  annotations:
    github.com/project-slug: savez/cdn

How can i solve the problem?

https://app.clubhouse.io/larder/story/3534

Hi @savez what version of @backstage/plugin-catalog-react are you running in your app? I'm wondering if you're running a different version than our plugin and this will mean useEntity returns undefined as it's accessing a different react context (AFAIK).

@backstage/plugin-catalog-react : 0.4.1

@iain-b  do you have any ideas?

Hi Team I'm having the same issue. I'm using "@backstage/plugin-catalog-react": "^0.4.2" and "@roadiehq/backstage-plugin-github-insights": "^1.1.23". Any suggestions on how to fix this? Thanks!

Hey @tszngai sorry you are experiencing issues. I am unable to reproduce it, so can you please verify once again you have the latest version of @backstage/plugin-catalog-react installed. Also, it would be helpful if there is any console output you could provide :)


Feature request: Selecting multiple clusters (>2) for comaprison

Select multiple clusters for comparison in the feature space.
All selected clusters should respective autocorrelograms and crosscorrelograms.
GUI option for changing the duration of correlograms
Firing rate for selected clusters on top of correlograms or waveforms.
Undo for splits or any other manipulation

Undo option is found on the main menu.  I will enhance correlogram view as you suggested.

Thanks for implementing the requested features.


Add WidgetsApp.debugShowWidgetInspectorOverride again (deprecated)

WidgetsApp.debugShowWidgetInspectorOverride was replaced with  WidgetsBinding.instance.debugShowWidgetInspectorOverrideNotifier in https://github.com/flutter/flutter/pull/144029.
The old API was removed, not deprecated.
It is used by some open-source projects, thus I'm making the effort of bringing the API back as deprecated.
Fixes https://github.com/flutter/flutter/issues/145333
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported.
[x] All existing and new tests are passing.

cc @polina-c @jacob314

Thank you!!!


add fingerprint NodOn

Hello,
We have added 6 products distributed as follows:
fingerprint zigbee-switch
SIN-4-1-20 + SIN-4-1-20-PRO
fingerprint zigbee-window-treatment
SIN-4-RS-20+SIN-4-RS-20-PRO
fingerprint zigbee-switch
SIN-4-2-20 + SIN-4-2-20-PRO
We have tested them.
Best regards
Emilie

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: ecolo31:x: AltyorFigYou have signed the CLA already but the status is still pending? Let us recheck it.

Hello @AltyorFig thank you for your request. Please reach out to<EMAIL_ADDRESS>to start the WWST certification process and let them know you opened this PR.
Feel free to also review the https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/blob/main/README.md if you have not already had the opportunity to as well. Thank you.

Hello @lelandblue ,
We have already spoken with<EMAIL_ADDRESS>(cf. Alicia Tackes) and have chosen not to do the WWST certification but only to push our fingerprints.
Can you validate our request?
Thanks you.
Best regards
Emilie

Closing this PR -  We need additional information. Please reach out to<EMAIL_ADDRESS>and Alicia will follow up.


status report for when endpoint doesn't have data

It is okay for a build not have any test or anything else
But it should return a status report for when you search for a build ID and it doesn't have that build
This should be the same across all the apps
Todo: give a search for best API practices for that

Think about the protagonist


⚠ Bofrost.de has degraded performance

In fb042e0, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1028 ms

Resolved: Bofrost.de performance has improved in d4d6215.


Docker ARM Image

I'm trying to install acdrarium on a raspberry pi.
When starting the container, it quits with an error:
ERROR: no matching manifest for linux/arm/v7 in the manifest list entries
Could you publish an arm v7 image?

Architecture is set in the dockerfile by the base image. I did't find any openjdk docker images including armv7.
I recommend using tomcat directly. On a system with very limited resources you'll appreciate the performance gain of a direct install as well.


Ruby wrapper for Snonatype Nexus API

@smsohan PTAL

The CHANGELOG also requires that this commit get tagged with v1.0.0 if merged.


Explain that service is not available for HMP Thameside

Draft because I'm not yet able to look at this app serving up this page locally.

yes, good idea. i forgot we had this in the help area


Require additional styling properties for Slider widget

I want to use custom indicator, currently we only have 1 indicator style and Icon property doesn't seem to render the icon and replacing with indicator.
Require tooltip styling fulfilling the following figma design:

Suggested Styling Properties for tooltip:

position
shape
and maybe require some other background color and color properties as well.

@mehsaandev current slider does not show the value under it either. If you also need that, please update the requirements.

Updated the requirements @amin-nas
@TheNoumanDev please view the updated requirements in the first comment

Below is the max level of customization can be offered right now, have created ticket for new properties (https://github.com/EnsembleUI/ensemble/issues/1724). For now, you can create a row where you can put the min/max values separately.
Example EDL
- Slider:
    initialValue: 24
    min: 18
    max: 30
    divisions: 24
    trackStyle:
      shape: circle   # circle/rectangular
      trackHeight: 8
      activeColor: "#F44336"
      inactiveColor: "#FFCDD2"
      secondaryActiveTrackColor: "#FFCDD2"
     disabledActiveTrackColor: "#FFCDD2"
     disabledInactiveTrackColor: "#FFCDD2"
     disabledSecondaryActiveTrackColor: "#FFCDD2"
    tickMarkStyle:
      showTicks: true
      shape:
        rectangle:  # circle/rectangle
          width: 2
          height: 8
      activeColor: black
      inactiveColor: green
      disabledInactiveColor: green
      disabledActiveColor:  green
      offset: 10
    thumbStyle:
      radius: 14
      thumbColor: "#F44336"
      disabledThumbColor: "#F44336"
      elevation: 3
      pressedElevation: 8
      borderWidth: 3
      borderColor: "#FFFFFF"
    overlayStyle:
      color: "#F44336"
      radius: 28
      opacity: 0.12
    valueIndicatorStyle:
      visibility: always # always / onlyForDiscrete / onlyForContinuous / never
      shape: paddle # drop/paddle/rectangular
      color: "#D32F2F"
      textStyle:
        fontSize: 16
        color: "#FFFFFF"


Fraud detection

In order to be able to detect fraud and block/unblock users next steps must be done:

[ ] Fraud db developing and test  #1260
[ ] BI Tool deployed and connected
[ ] Reports Configured
[ ] Block/Unblock User #1246
[ ] Block/Unblock MSP #1247
[ ] Block/Unblock MIS

@warehousman @Eugene Yesakov
Please, review fraud db and fraud services specifications and provide feedback

@pzhuk HW sizing
technical specification and overall diagram has been updated


Test merge master

Just thought I should call out that https://github.com/puppetlabs/puppetdb/pull/3226/commits/abdc936be752d8520f0ca63e60a46e9009b1a379 rewrites the SQL that deletes reports since in master we will be dropping partitions not truncating a table.


python3Packages.slack-sdk: 3.11.1 -> 3.11.1

Motivation for this change
Update to latest upstream release 3.11.1
Change log: https://github.com/slackapi/python-slack-sdk/releases/tag/v3.11.1
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

2 packages built:

python38Packages.slack-sdk
python39Packages.slack-sdk


Instant seal panic

For the integration tests we used to have feature-gated code duplication to not wait for finalization in the instant-seal integration tests. Since polkadot 0.9.31 finally includes the fix we have been waiting for, we shouldn't require this anymore - we should be able to use finalized events. However, when we switch to the finalized events, there is a problem that occurs only and consistently in test_automatic_rbf_succeeds, that gives the error shown below, forcing us to go back to the non-finalizing workaround we were using previously. We should investigate and make an upstream report.
Nov 23 11:50:14.364  INFO sc_consensus_manual_seal::rpc: Instant Seal success: CreatedBlock { hash: 0x85a148e068d10319110d4ffdd5fdc6876cf2bf7f3282da63829ddb4f2e21e74c, aux: ImportedAux { header_only: false, clear_justification_requests: false, needs_justification: false, bad_justification: false, is_new_best: true } }
Nov 23 11:50:14.386  WARN jsonrpsee_core::server::rpc_module: unsubscribe call `author_unwatchExtrinsic` subscription key=SubscriptionKey { conn_id: 0, sub_id: Num(4234576671114396) } not an active subscription
thread 'tokio-runtime-worker' panicked at 'failed to create block: Rpc(ClientError(Call(Custom(ErrorObject { code: ServerError(14000), message: "Consensus Error: Import failed: Potential long-range attack: block not in finalized chain.", data: None }))))', /home/sander/workspace/interlay/polkabtc-clients/runtime/src/rpc.rs:172:14

I suspect the error was not arising from upstream dependencies but rather from engine_createBlock parameters here.
Checkout the Astar readme document here.
To verify if this is the problem, the solution would be to test it on the PR #417 branch and update the engine_createBlock parameters.


typescript linting issues with bundled /src folder

Is there any reason why the src/ folder is bundled in the npm package?
It would be better to remove it to avoid conflicts with user's tsconfig.
I get this issue when running tsc --noEmit --skipLibcheck:
node_modules/.pnpm/@elysiajs+static<EMAIL_ADDRESS>   @elysiajs/static/src/index.ts:164:29 -
error TS6133: 'error' is declared but its value is never read.

My tsconfig:
{
  "compilerOptions": {
    "composite": false,
    "target": "ES2021",
    "module": "ESNext",
    "lib": ["ES2021", "DOM", "DOM.Iterable"],
    "skipLibCheck": true,
    "preserveWatchOutput": true,

    /* Bundling */
    "moduleResolution": "bundler",
    "esModuleInterop": true,
    "allowImportingTsExtensions": true,
    "resolveJsonModule": true,
    "isolatedModules": true,
    "noEmit": true,
    "declaration": true,
    "declarationMap": true,
    "inlineSources": false,
    "allowArbitraryExtensions": true,

    /* Linting */
    "strict": true,
    "strictNullChecks": true,
    "noUnusedLocals": true, // ---> this triggers the issue
    "noUnusedParameters": true,
    "noUncheckedIndexedAccess": true,
    "noFallthroughCasesInSwitch": true,
    "useDefineForClassFields": true,
    "verbatimModuleSyntax": true,
    "forceConsistentCasingInFileNames": true,

    /* Paths and files */
    "types": ["@types/node", "jest", "bun-types"]
  },
  "include": ["src", "*.ts"],
  "exclude": ["node_modules", "dist", "build", "coverage"]
}

As a temporary workaround, I am using the js dist files
import { staticPlugin } from "@elysiajs/static/dist";

Thanks for reporting this finding!
In the latest versions, the src/ folder is no longer published. Could you try it with the most recent version?


Difference in htmlelement_keys

Not really a bugreport but more of a question...
Comparing torbrowser built from sources and the prebuilt binaries from torproject I get the following differences in htmlelement_keys:
@@ -1,4 +1,4 @@
-DOCUMENT: htmlelement_keys: eb81553d
+DOCUMENT: htmlelement_keys: 1817fdbe

 [
   "toString",
@@ -291,16 +291,6 @@ DOCUMENT: htmlelement_keys: eb81553d
   "firstElementChild",
   "lastElementChild",
   "childElementCount",
-  "set innerHTML",
-  "set outerHTML",
-  "value after",
-  "value append",
-  "value before",
-  "value insertAdjacentElement",
-  "value insertAdjacentHTML",
-  "value prepend",
-  "value replaceChildren",
-  "value replaceWith",
   "getRootNode",
   "hasChildNodes",
   "insertBefore",
@@ -348,9 +338,6 @@ DOCUMENT: htmlelement_keys: eb81553d
   "DOCUMENT_POSITION_CONTAINS",
   "DOCUMENT_POSITION_CONTAINED_BY",
   "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC",
-  "value appendChild",
-  "value insertBefore",
-  "value replaceChild",
   "addEventListener",
   "removeEventListener",
   "dispatchEvent"

Do you have any insights why this might happen?

So my best guess is that NoScript is missing in one of from sources and the prebuilt binaries. IANAE on builds, maybe @PieroV can easily tell you

in #267 I found out abraham was using a different element, hence we're not the same, so I did them all :) - see https://arkenfox.github.io/TZP/tests/elementkeys.html
I plan on expanding the test on TZP to return multiple element results (they can add entropy if users change things e.g. prefs, from things not already collected, and reinforce others - never hurts to measure things multiple ways). All elements have a core set. For gecko, 159 elements return the same "core" and 1 (select) is fractionally different. Gets more funky (but also doable) in blink and webkit - there's such more splits in the common "core" sets.
Another thing I plan to add is items returned after the constructor. In gecko this is a tell tale sign that something is being tampered with by an extension
excuse the big ass picture, but here is Tor Browser with NoScript - which shows the items in red that come after constructor


Why is that

    RoomsList = {{RoomsList}} {
        width: Fill, height: Fill
        flow: Up

        list = <PortalList> {
            keep_invisible: false
            width: Fill, height: Fill
            flow: Down, spacing: 0.0

            room_preview = <RoomPreview> {}
            empty = <Empty> {}
            room_status_label = <StatusLabel> {}
            bottom_filler = <View> {
                width: Fill,
                height: 100.0,
            }
        }
    }

In the rooms_list.rs, once you change the height  under RoomsList Fill to Fit, Robrix will run with a black screen, and Large amount of memory consumption.

I have a type PeopleList, I mostly guess the reson only one of the both (RoomsList & PeopleList) can correctly display is both them two want to FILL the siderbar
So I change both them Fill to Fit, but instead of working properly, it's become more abnormal.

This issue is for pr #154

In the rooms_list.rs, once you change the height under RoomsList Fill to Fit, Robrix will run with a black screen, and Large amount of memory consumption.

Not sure, that's a Makepad thing and doesn't have anything to do with Robrix specifically. I'd say it's likely because with that change, you'd be trying to have a view with a Fill height inside of a view with a Fit height, which logically doesn't make any sense.  "Fit" is telling the layout system that you want the view to only take up as much height as is needs, while "fill" means that it should take up as much vertical space as is available. So combining those two in that way wouldn't make sense anyway. Were you trying to do that for some particular reason?

i've recently rewritten the entire backend and am about to change the way that rooms are stored and filtered/sorted in the rooms list, so a lot of this code is undergoing major changes right now.
I recommend that you wait for those changes to pan out before trying to make other major changes to the rooms list.

the changes are in, but the frontend itself (the RoomsList and RoomPreviewEntry) remains the same, for now.


Implementation Replacement

Replaced compile with implementation as it will be deprecated end 2018.

H

ty

Cheers, thanks, resolved in 556941a956fa366900820cdf703d430e5e2f22cc


⚠ Bofrost.com has degraded performance

In 8235472, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 4744 ms

Resolved: Bofrost.com performance has improved in 013a3fd after 11 minutes.


/content endpoint implementation

Description
/content endpoint implementation
Fixes #240
Type of change
Please delete options that are not relevant.

New feature (non-breaking change which adds functionality)
Documentation update

Testing steps
N/A
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report

Merging #241 (0d071a6) into master (c3b1110) will decrease coverage by 0.13%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master    #241      +/-   ##
=========================================
- Coverage    6.01%   5.88%   -0.14%
=========================================
  Files          15      15
  Lines         814     832      +18
=========================================
  Hits           49      49
- Misses        765     783      +18

Impacted Files
Coverage Δ

conf/configuration.go
0.00% <0.00%> (ø)

mock.go
0.00% <0.00%> (ø)

server/endpoints.go
0.00% <ø> (ø)

server/handlers.go
0.00% <0.00%> (ø)

server/server.go
0.00% <0.00%> (ø)

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 c3b1110...0d071a6. Read the comment docs.

Tried locally, the endpoint, data format are OK. Superficially, LGTM! thank you!


Unexpected value 'WizardModule' imported by the module 'EprimeCaptchaDemoModule'

Hi Dear Sudheerj,
First of all, I want to thank you for your efforts you are investing to build this module.
After running yo jhipster-primeng as described on a fresh installed/generated jhipster application, I've executed yarn start, but i am getting the following error :
Uncaught Error: Unexpected value 'WizardModule' imported by the module 'EprimeCaptchaDemoModule'. Please add a @NgModule annotation.
    at syntaxError (compiler.es5.js?524d:1690)
    at eval (compiler.es5.js?524d:15386)
    at Array.forEach (<anonymous>)
    at CompileMetadataResolver.getNgModuleMetadata (compiler.es5.js?524d:15369)
    at CompileMetadataResolver.getNgModuleSummary (compiler.es5.js?524d:15311)
    at eval (compiler.es5.js?524d:15384)
    at Array.forEach (<anonymous>)
    at CompileMetadataResolver.getNgModuleMetadata (compiler.es5.js?524d:15369)
    at CompileMetadataResolver.getNgModuleSummary (compiler.es5.js?524d:15311)
    at eval (compiler.es5.js?524d:15384)

Thanks for your help in advance
BR
Dias

Thanks.It is still WIP status. I'am targeting to complete the first version by this weekend. Please keep an eye for the updates.

Please try with latest version now.  Some of the components don't work properly until you copy scripts shown in the instructions or till the next release of JHipster. You can reopen the issue for any concerns.


How does the fade function transfers to Feliz.MaterialUI?

Hello!
I am just starting to use Fable/Feliz/MaterialUI and I play around with some ideas. To get comfortable, I try to replicate some examples from the material-ui webpage and now I am stuck with the fade function.
This is what I want to achieve:
    backgroundColor: fade(theme.palette.common.white, 0.15),
    '&:hover': {
      backgroundColor: fade(theme.palette.common.white, 0.25),
    },

This is part of the makeStyles function. How do I do this. I found some, probably, related stuff, but I can't make it work. Thing is, I never used react before, so I hope that is not a deal breaker.
Hope you can help me out or point me in the right direction.
Thank you.
Thomas

I didn't find a documentation, so I downloaded the material-ui source and went searching. What I found was this:
1st of all, fade got renamed to alpha.
Here is the source https://github.com/mui-org/material-ui/blob/next/packages/material-ui/src/styles/colorManipulator.js
Here is the alpha function

/**
 * Set the absolute transparency of a color.
 * Any existing alpha values are overwritten.
 * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
 * @param {number} value - value to set the alpha channel to in the range 0 - 1
 * @returns {string} A CSS color string. Hex input values are returned as rgb
 */
export function alpha(color, value) {
  color = decomposeColor(color);
  value = clamp(value);

  if (color.type === 'rgb' || color.type === 'hsl') {
    color.type += 'a';
  }
  if (color.type === 'color') {
    color.values[3] = `/${value}`;
  } else {
    color.values[3] = value;
  }

  return recomposeColor(color);
}

Not sure if that helps.

I didn't find a documentation, so I downloaded the material-ui source and went searching. What I found was this:
1st of all, fade got renamed to alpha.
Here is the source https://github.com/mui-org/material-ui/blob/next/packages/material-ui/src/styles/colorManipulator.js
Here is the alpha function

/**
 * Set the absolute transparency of a color.
 * Any existing alpha values are overwritten.
 * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
 * @param {number} value - value to set the alpha channel to in the range 0 - 1
 * @returns {string} A CSS color string. Hex input values are returned as rgb
 */
export function alpha(color, value) {
  color = decomposeColor(color);
  value = clamp(value);

  if (color.type === 'rgb' || color.type === 'hsl') {
    color.type += 'a';
  }
  if (color.type === 'color') {
    color.values[3] = `/${value}`;
  } else {
    color.values[3] = value;
  }

  return recomposeColor(color);
}

Not sure if that helps.

Thanks for digging this up!
I don't want to create bindings for something that is not publicly documented. I suggest you raise an issue on the MUI repo about documenting this.
That said, this seems to be just a normal JS function, so you can easily generate your own ad-hoc Fable binding for it and use it wherever you want. I don't use Fable anymore so I don't have this in my head, but the Fable docs should be able to help you with this.

Thanks for digging this up!
I don't want to create bindings for something that is not publicly documented. I suggest you raise an issue on the MUI repo about documenting this.
That said, this seems to be just a normal JS function, so you can easily generate your own ad-hoc Fable binding for it and use it wherever you want. I don't use Fable anymore so I don't have this in my head, but the Fable docs should be able to help you with this.

Makes sense and thank you for your time!

Makes sense and thank you for your time!


Choosing "None" value in a nodes GameObject-type field does not properly refresh the field

When having a node-field of a Unity-scene-reference type (e.g. a GameObject variable for referencing Prefabs) with either DisplayType.NodeView or DisplayType.BothViews in its GraphDisplay attribute, it is correctly possible to choose a value from Unity's selector box. However, when choosing the "None" value, the field in the node does not update to the correct value but instead stays at the last selected non-empty value.
With DisplyType.BothViews enabled, the field with the open selector box has this faulty behavior, while the other corresponding field (inspector or nodeview) does update correctly.

The video shows that de-selecting the node and then selecting it correctly refreshes the value of the field.

This is a UnityBug related to [SerializeReference] & UIElements
This video showcases the same bug happening in a default unity inspector
https://user-images.githubusercontent.com/530629/234556840-06da1b82-23d8-4afe-971b-5d9197041e13.mp4
Will update as soon as my bug report was confirmed and there is a public issuetracker link.

This issue has been reported by Unity to have been fixed.

Do I understand correctly that you will need Unity 2023.3.0+ to have this fix included?
Don't they backport such things?


@_noLocks doesn't work with @_rawLayout

Description
The new Atomic type cannot be used with @_noLocks since a simple usage reports a violation. It seems that the issue is in the implementation of Atomic and the use of @_rawLayout.
A simplified code sample is available below. Required settings:
swiftSettings: [
    .unsafeFlags(["-disable-availability-checking"]),
    .enableExperimentalFeature("StaticExclusiveOnly"),
    .enableExperimentalFeature("RawLayout")
]`

Reproduction

public struct Wrapper: ~Copyable {
    private let atomic = MyAtomic(1)

    @_noLocks
    func asdf() {
        atomic.test() // Using type 'Wrapper' can cause metadata allocation or locks
    }
}

@_rawLayout(like: Value.AtomicRepresentation) // Commenting this out resolved the error
public struct MyAtomic<Value: AtomicRepresentable>: ~Copyable {
    public init(_ initialValue: consuming Value) {
        fatalError("")
    }

    public func test() {
        fatalError("")
    }
}

Expected behavior
Performance annotation doesn't report violation
Environment
Apple Swift version 6.0-dev (LLVM 4b0b1f9e1a69523, Swift 91a3abcf816bc36)
Target: arm64-apple-macosx14.0
Additional information
No response

cc @eeckstein

https://github.com/apple/swift/pull/74259

Thank you @eeckstein. I've tried this out, and it works!
I know stumbled upon https://github.com/apple/swift/issues/74407. Please take a look if you get have some time.


chore: set explicit timeouts on webhooks

What type of PR is this?

/kind bug
What this PR does / why we need it:
It sets explicit timeouts shorter than the default. This is required by our webhook configuration static check which doesn't allowed longer timeouts than 5 seconds.
Which issue(s) this PR fixes:

Does this PR have test?

Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

Codecov Report

Merging #1075 (9b7d93f) into main (31bdd8e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1075   +/-   ##
=======================================
  Coverage   50.43%   50.43%
=======================================
  Files          42       42
  Lines        4761     4761
=======================================
  Hits         2401     2401
  Misses       2281     2281
  Partials       79       79

/test all

/ok-to-test

/test all

/test all

/test all


feat(copy_to): add initial avro support

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
API improvement; extend COPY TO command to support ORC and AVRO formats.
Please explain IN DETAIL what the changes are in this PR and why they are needed:

Summarize your change (mandatory)
How does this PR work? Need a brief introduction for the changed logic (optional)
Describe clearly one logical change and avoid lazy messages (optional)
Describe any limitations of the current code (optional)

Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link:
https://github.com/GreptimeTeam/greptimedb/issues/1550

Hi, we are going to switch to the main branch, as mentioned in https://github.com/GreptimeTeam/greptimedb/issues/3025.
I have changed the base branch of this PR to main.

Thanks for doing that @evenyag!
I would need to catchup with Ruihang on this some time next year to discuss the implementation.


Initial Commit for hkdm systemd unit

Try this

test required

@gmicroul have u test it? I do not have any mobile nixos support devices

@gmicroul have u test it? I do not have any mobile-nixos supported devices

[alice@nixos:~/mobile-nixos]$ nix-build examples/hkdm/ --argstr device oneplus-fajita -A outputs.android-fastboot-images
trace: (Using pinned Nixpkgs at d0e1602ddde669d5beb01aec49d71a51937ed7be)
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
trace: *************************************
trace: * Evaluating device: oneplus-fajita *
trace: *************************************
trace: (Using pinned nur-DataEraserC at d063c0a9cfd5696952e422514e2c357757a517b5)
running now.

OK seem like it work fine.

OK, seem like it work fine.

[alice@nixos:~]$ uname -asr
Linux nixos 6.4.0 #1-mobile-nixos SMP Tue Jan  1 00:00:00 UTC 1980 aarch64 GNU/Linux
[alice@nixos:~]$ sudo systemctl status hkdm
● hkdm.service - Hotkey Daemon (For) Mobile
Loaded: loaded (/etc/systemd/system/hkdm.service; enabled; preset: enabled)
Active: active (running) since Fri 2024-07-05 18:03:08 UTC; 8min ago
Invocation: e241e3a403044ada946c1e121a12cd41
Main PID: 906 (hkdm)
IP: 0B in, 0B out
IO: 796K read, 0B written
Tasks: 1 (limit: 8028)
Memory: 1.1M (peak: 2.2M)
CPU: 53ms
CGroup: /system.slice/hkdm.service
└─906 /nix/store/zj3h6ii0rp54hwmwhg49sycdr67xrd2r-hkdm-0.2.1/bin/hkdm -i -c /nix/store/mz93n6p8vpaj0b02506gkbks6nj6fj0a-ttyescape-unstable-2023-03-08/etc/hkdm/config.d/ttyescape>
Jul 05 18:04:14 nixos hkdm[906]: thread '' panicked at src/main.rs:238:33:
Jul 05 18:04:14 nixos hkdm[906]: Failed to run command: /nix/store/mz93n6p8vpaj0b02506gkbks6nj6fj0a-ttyescape-unstable-2023-03-08/bin/togglevt.sh inc
Jul 05 18:04:16 nixos hkdm[906]: thread '' panicked at src/main.rs:238:33:
Jul 05 18:04:16 nixos hkdm[906]: Failed to run command: /nix/store/mz93n6p8vpaj0b02506gkbks6nj6fj0a-ttyescape-unstable-2023-03-08/bin/togglevt.sh inc
Jul 05 18:04:16 nixos hkdm[906]: thread '' panicked at src/main.rs:238:33:
Jul 05 18:04:16 nixos hkdm[906]: Failed to run command: /nix/store/mz93n6p8vpaj0b02506gkbks6nj6fj0a-ttyescape-unstable-2023-03-08/bin/togglevt.sh inc
Jul 05 18:04:17 nixos hkdm[906]: thread '' panicked at src/main.rs:238:33:
Jul 05 18:04:17 nixos hkdm[906]: Failed to run command: /nix/store/mz93n6p8vpaj0b02506gkbks6nj6fj0a-ttyescape-unstable-2023-03-08/bin/togglevt.sh inc
Jul 05 18:04:17 nixos hkdm[906]: thread '' panicked at src/main.rs:238:33:
Jul 05 18:04:17 nixos hkdm[906]: Failed to run command: /nix/store/mz93n6p8vpaj0b02506gkbks6nj6fj0a-ttyescape-unstable-2023-03-08/bin/togglevt.sh reset
[alice@nixos:~]$
Service is working but can not boot into tty. just used usb network to check the result.

[sudo] password for alice:
● hkdm.service - Hotkey Daemon (For) Mobile
Loaded: loaded (/etc/systemd/system/hkdm.service; enabled; preset: enabled)
Active: active (running) since Fri 2024-07-05 18:04:05 UTC; 1min 55s ago
Invocation: b468e754028b46a6b096d958f2421707
Main PID: 837 (hkdm)
IP: 0B in, 0B out
IO: 796K read, 0B written
Tasks: 1 (limit: 8028)
Memory: 1.1M (peak: 2.1M)
CPU: 34ms
CGroup: /system.slice/hkdm.service
└─837 /nix/store/zj3h6ii0rp54hwmwhg49sycdr67xrd2r-hkdm-0.2.1/bin/hkdm -i -c /nix/store/mz93n6p8vpaj0b02506gkbks6nj6fj0a-ttyescape-unstable-2023-03-08/etc/hkdm/config.d/ttyescape.toml
Jul 05 18:04:17 nixos hkdm[837]: Failed to run command: /nix/store/mz93n6p8vpaj0b02506gkbks6nj6fj0a-ttyescape-unstable-2023-03-08/bin/togglevt.sh start
Jul 05 18:04:17 nixos hkdm[837]: note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Jul 05 18:04:18 nixos hkdm[837]: thread '' panicked at src/main.rs:238:33:
Jul 05 18:04:18 nixos hkdm[837]: Failed to run command: /nix/store/mz93n6p8vpaj0b02506gkbks6nj6fj0a-ttyescape-unstable-2023-03-08/bin/togglevt.sh inc
Jul 05 18:04:18 nixos hkdm[837]: thread '' panicked at src/main.rs:238:33:
Jul 05 18:04:18 nixos hkdm[837]: Failed to run command: /nix/store/mz93n6p8vpaj0b02506gkbks6nj6fj0a-ttyescape-unstable-2023-03-08/bin/togglevt.sh inc
Jul 05 18:04:19 nixos hkdm[837]: thread '' panicked at src/main.rs:238:33:
Jul 05 18:04:19 nixos hkdm[837]: Failed to run command: /nix/store/mz93n6p8vpaj0b02506gkbks6nj6fj0a-ttyescape-unstable-2023-03-08/bin/togglevt.sh inc
Jul 05 18:04:19 nixos hkdm[837]: thread '' panicked at src/main.rs:238:33:
Jul 05 18:04:19 nixos hkdm[837]: Failed to run command: /nix/store/mz93n6p8vpaj0b02506gkbks6nj6fj0a-ttyescape-unstable-2023-03-08/bin/togglevt.sh reset
[alice@nixos:~]$ sudo systemctl restart hkdm
[alice@nixos:~]$ sudo systemctl status hkdm
● hkdm.service - Hotkey Daemon (For) Mobile
Loaded: loaded (/etc/systemd/system/hkdm.service; enabled; preset: enabled)
Active: active (running) since Fri 2024-07-05 18:06:08 UTC; 1s ago
Invocation: abc5791ac4e546439ddb4cf53a89ce64
Main PID: 899 (hkdm)
IP: 0B in, 0B out
IO: 0B read, 0B written
Tasks: 1 (limit: 8028)
Memory: 312K (peak: 1.5M)
CPU: 20ms
CGroup: /system.slice/hkdm.service
└─899 /nix/store/zj3h6ii0rp54hwmwhg49sycdr67xrd2r-hkdm-0.2.1/bin/hkdm -i -c /nix/store/mz93n6p8vpaj0b02506gkbks6nj6fj0a-ttyescape-unstable-2023-03-08/etc/hkdm/config.d/ttyescape.toml
Jul 05 18:06:08 nixos systemd[1]: Started Hotkey Daemon (For) Mobile.
[alice@nixos:~]$


issue19 and issue59: Move query methods from the API into the TCK

Fixes issues #19 and #59

@tomjenkinson The commit (40f18f6) I just pushed reinstates the LRAClient#getStatus() method. Will you check it so that I can merge this PR.

Sure, I commented in that area

I pushed a version that returns an instance of LRAStatus instead

I squashed the last 2 commits


VMI doesn't show IO error when its access to boot disk is blocked.

/kind bug
What happened:
When a VM cannot access its boot disk, the VMI shows the following without the actual reason of failure, i.e the IO error
  Warning  SyncFailed        1s (x16 over 5m2s)  virt-handler               unknown error encountered sending command SyncVMI: rpc error: code = DeadlineExceeded desc = context deadline exceeded

What you expected to happen:
The VMI is paused with the event indicating the IO error. This is the behavior in v0.40.0.
How to reproduce it (as minimally and precisely as possible):

Create a VM using a NFS storage for its boot disk.
Create an iptable rule on the nfs server to block the access to the NFS storage from the node where the VM is on.

Anything else we need to know?:
virt-launcher log doesn't show any error. Virt-handler log is filled with the following:
{"component":"virt-handler","level":"info","msg":"Processing event default/vm2","pos":"vm.go:1554","timestamp":"2021-07-27T00:46:38.090736Z"}
{"component":"virt-handler","kind":"","level":"info","msg":"VMI is in phase: Running\n","name":"vm2","namespace":"default","pos":"vm.go:1556","timestamp":"2021-07-27T00:46:38.090779Z","uid":"22e0184e-c6c2-4b25-9b4f-3e1fd24994d1"}
{"component":"virt-handler","kind":"Domain","level":"info","msg":"Domain status: Running, reason: Unknown\n","name":"vm2","namespace":"default","pos":"vm.go:1561","timestamp":"2021-07-27T00:46:38.090805Z","uid":""}
{"component":"virt-handler","kind":"","level":"error","msg":"Synchronizing the VirtualMachineInstance failed.","name":"vm2","namespace":"default","pos":"vm.go:1693","reason":"unknown error encountered sending command SyncVMI: rpc error: code = DeadlineExceeded desc = context deadline exceeded","timestamp":"2021-07-27T00:46:58.094210Z","uid":"22e0184e-c6c2-4b25-9b4f-3e1fd24994d1"}
{"component":"virt-handler","level":"info","msg":"re-enqueuing VirtualMachineInstance default/vm2","pos":"vm.go:1350","reason":"unknown error encountered sending command SyncVMI: rpc error: code = DeadlineExceeded desc = context deadline exceeded","timestamp":"2021-07-27T00:46:58.099108Z"}

Environment:

KubeVirt version (use virtctl version): 0.43.0
Kubernetes version (use kubectl version): v1.20.8
VM or VMI specifications:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release): ubuntu 20.04
Kernel (e.g. uname -a): 5.4.0
Install tools:
Others:

Bug scrub: It sounds like virt-launcher is stuck trying to connect to NFS. This could/should be probably improved with a timeout and a meaningful error.


Nice but it has a few issues

Thanks for this great idea.
I encountered issues with some classes and escaping though. For example the divide utilities were not working,
I modified the code to this
module.exports = plugin(({ addVariant, e}) => {
    addVariant('sv-dark', ({modifySelectors, separator}) => {
        modifySelectors(({ className }) => {
            return `:global(.dark) .${e(`sv-dark${separator}${className}`)}`
        })
    })
})

and things seem fine so far.

We probably need to modify how the classes are constructed when using custom separators and so on.
I would greatly appreciate a PR on this!


Default route catch all route **

Hi guys,
Question, I notices that if I try an undefined route like /en/home2 instead of /en/home it fails trying to resolve 'enhome' ... Here is my routes definition
const routes: Routes = [
{path:'', redirectTo: 'home', pathMatch: 'full'},
{path:'home', component: HomeComponent},
...
{path:'**',  redirectTo: 'home'},      // Catch all
]
Any idea what could I be doing wrong? If I type the exact url everything work well, even language switching.
Thanks so much,

Found my newbie mistake ...
my catch all should of been like :
{path:'', redirectTo: '/**home'}


how to implement JWT authentication  in front end

I see you have a controller name jwt_auth.js
under this directory
angular/app/jwt_auth/jwt_auth.js
which can be called when i hit the url
authenticate/data
likewise an auth.js file
in the directory angular/config/auth.js
which is responsible for  calling the url api/authenticate/auth
now my question is how i can implement this on the front end
i know i will add something like this
$stateProvider
            .state('auth', {
                url: '/auth',
                templateUrl: '../views/authView.html',
                controller: 'AuthController as auth'
            })

in the route.js
directory is angular/route.js
but since the jwt_auth.js is not on the public folder.
im looking for a way to add it in the front end
since i cant add it on script tag
please help

Hi @masterpowers
Thanks for asking a question here. Please make sure to post using Markdown in order to make the question clearer. I have edited your question for now.

jwt_auth.js is concatenated and included in your js/app.js (if you're running gulp watch or gulp)
Does that make any difference? I'm not sure I got your question

I see guide on your article here
http://www.sitepoint.com/flexible-and-easily-maintainable-laravel-angular-material-apps/
I see i can add front end login by doing this at
angular/routes.js
i did add this
.state('login', {
url: '/login',
views: {
main: {
templateUrl: getView('login')
},
footer: {
templateUrl: getView('footer')
}
}
});
plus created login.html and footer.html
but i havent seen a way to consume how to implement the jwt authentication
can you point me to the right direction thanks

I see you have included a sample in the jwt_auth.html
<md-content class="Page-Container" ng-controller="JwtAuthCtrl" layout="column" layout-align="start center">

    <md-card>

        <md-toolbar>

angular/config/auth.js

        </md-toolbar>

        <md-card-content class="language-markup">

(function (){
"use strict";

    angular.module('app.config').config(function ($authProvider){
        // Satellizer configuration that specifies which API
        // route the JWT should be retrieved from
        $authProvider.loginUrl = '/api/1/authenticate/auth';
    });

})();

        </md-card-content>

        <md-card-content>

            	JWT-auth is configured to work out of the box with dingo/api. Checkout the REST API docs.

                <md-button ng-click="requestToken()">Request Token</md-button>
                <md-button ng-click="getData()">GetData</md-button>

        </md-card-content>

    </md-card>

</md-content>

I uncomment Request Token
also add GetData
but im not getting something in return.

this is what i get in the console
Failed to load resource: the server responded with a status of 401 (Unauthorized)

Yes you're on the right track.
You just need to send the token just like they mentioned here in the docs
Authorization: Bearer {yourtokenhere}
You can configure restangular to send the default header
All of these features are expected to work out of the box once I implement #41

thanks for your patience and help and reply , i really like your project.
Hopefully i can contribute in any way

@masterpowers Thanks :D
Asking questions is one of the best methods of contribution - it helps other people
Let me know if it works for you

This is how you can do it:
Restangular.defaultHeaders['Authorization'] = 'Bearer ' + token;
It sets the default headers from now on which sends the Authorization: Bearer {token} requested by JWT.
I haven't tried it though.

i tried to add
public function getData()
    {
        //auth protected data
        // return ['auth', 'protected', 'data'];
        return response($content)
            ->header('Content-Type', $type)
            ->header('X-Header-One', 'auth')
            ->header('X-Header-Two', 'protected')
        ->header('Authorization', 'Bearer ' . $token);

    }

in the AuthenticateController.php
but i still got same error in console log
POST http://rfnbeta.app:8000/api/authenticate/auth 401 (Unauthorized)

The authorization should be sent with the request. Try using my code, before doing the request

ill try now your comment

cant make it work still
i try to add that in jwt_auth.js
$scope.requestToken = function(){
			// Use Satellizer's $auth service to login because it'll automatically save the JWT in localStorage
			$auth.login(credentials).then(function (data){
				// If login is successful, redirect to the users state
				//$state.go('dashboard');
				Restangular.defaultHeaders['Authorization'] = 'Bearer ' + token;
			});

		};

Is the login API call returning 401? ($auth.login)

yes its returning 401

can you show me your routes file?

here is my route.php
Route::get('/', 'AngularController@serveApp');

Route::get('/unsupported-browser', 'AngularController@unsupported');

$api = app('Dingo\Api\Routing\Router');

$api->version('v1', function ($api) {
    /*
     * used for Json Web Token Authentication - https://scotch.io/tutorials/token-based-authentication-for-angularjs-and-laravel-apps
     * Make sure to re-enable CSRF middleware if you're disabling JWT
     */
    $api->controller('authenticate', 'App\Http\Controllers\AuthenticateController');

    $api->get('test/simple', 'App\Http\Controllers\WelcomeController@getSimple');
    $api->get('test', 'App\Http\Controllers\WelcomeController@getSample');
});

//protected with JWT
$api->version('v1', ['middleware' => 'api.auth'], function ($api) {

    $api->post('test/sample', 'App\Http\Controllers\WelcomeController@sample');

});

Seems related to #81

Fixed by PR #82
Feel free to further document your progress in this
Cheers!

@masterpowers you can check the latest commit #41


Container support

It would be nice if Saka Key could open links in container tabs.
There would need to be at least one keyboard shortcut for opening a link in a new tab with the current container (this is equivalent to ctrl+click).
It would also be nice if you could open a link in an arbitrary container tab, but I'm not sure about the UI.

Opening links in the current container is what "Open Link in Background Tab" should do. It doesn't work exactly like ctrl+click now, but that's a bug, and should be fixed eventually.
Opening a link in an arbitrary container is interesting because you'd have to let the user visually select a window. This one will be a little trickier. It's possible to render a popup containing a list of windows, and let the user scroll between entries. As the focused entry changes, the corresponding window will be brought to attention/focused.

Links opening in the same container might not be the desired behaviour ...
https://github.com/mozilla/multi-account-containers/issues/914

I would expect containers to open in the same tab as this matches what Firefox does by default when cmd+clicking a link or just clicking a link set to open in a new tab. For example, if I am in the shopping tab, I would expect f+two hint chars to open that link in the shopping tab if the HTML target is "_blank". I would not expect that to open in another container (as Saka does now)


Statusbar background color change fix for iOS 13  #27

This is the fix for ios 13 build issue because the way to access statusbar view has changed.

Cool! Can we get statusbar background color in ios13?

Hi, I've refactored and updated to get statusbar background color of as well. it seems that initial background color returns null so I've set to transparent as default. cheers

Thanks!


[feature][transform-v2] Add FilterRowKindTransform to filter rows based on row kind

Purpose of this pull request
Add FilterRowKindTransform to filter rows based on row kind
Check list

[x] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

@EricJoy2048 PTAL

@CalvinKirs Please help check the CI error↳

We need update code from upstream


Rerun release script

It looks like the release script didn't finish due to some errors with rate limiting, I think github was having some issues during this time.
Job Link
You should be able to just re-run this job and have it work.
I'm guessing this is what is used to push to NPM but I haven't looked too closely.

Yeah, this happens a lot at work too when there are many issues to cover, but the most important parts of release completed though so there is no need to worry:

releasing actual packages
marking release on github


Fix prefix example code

Believe this needs to be this.urlPrefix instead of the existing this.prefix.

ty sir!


soundmodding.rst: white noise.

Added information about white noise, but it should use https://github.com/R2Northstar/ModdingDocs/issues/81 because of OS specific apps.

as a note: i wonder whether ffmpeg could also work for stripping metadata. would have to be tested but would reduce the amount of tools needed.

as a note: i wonder whether ffmpeg could also work for stripping metadata. would have to be tested but would reduce the amount of tools needed.

Based on converter script:
shopt -s globstar nullglob
for f in *.wav **/*.wav
do
  ffmpeg -i "$f" -map 0 -map_metadata -1 -c:v copy -c:a copy "${f%.wav}.new.wav"
  mv -f "${f%.wav}.new.wav" "$f"
done

Finds all wav files, ffmpeg removes all metadata (without changing the sound quality) and then mv renames the new files to the original ones (ffmpeg cannot edit files in place).

i was more wondering if ffmpeg is able to strip it enough to work, i've heard claims it can't.
btw: the sphinx-tabs PR is up, if you want to give it a look

Closing and moving to a new pull request, as I removed the head repository..


Emoji Slider in Js.

Description
This is a project of emoji slider totally based on Javascript. It is the reference of issue no #448. Plaese, merge this.
Fixes:  #(448.)

Type of change

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Checklist:

[x] I have made this on my own
[x] I have taken help from some online resources
[x] My code follows the style guidelines of this project
[x] I have commented on my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

Remove pixel convertor files from this PR

Hii,
I have removed the pixel files please check it.


ci: TEST

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (af9f6e4) 68.30% compared to head (0d5c8a2) 64.55%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1655      +/-   ##
==========================================
- Coverage   68.30%   64.55%   -3.76%
==========================================
  Files         443      443
  Lines       28690    28690
  Branches     7630     7519     -111
==========================================
- Hits        19597    18521    -1076
- Misses       7843    10169    +2326
+ Partials     1250        0    -1250

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


No data from 0.2.2 - Docker

After updating to 0.2.2 (and defining some default values) my addon stops working properly:
2023-06-05 21:01:28,883 No vehicle handler found for VIN LSJExxxxx
2023-06-05 21:01:28,927 No vehicle handler found for VIN LSJExxxxx
2023-06-05 21:01:28,927 No vehicle handler found for VIN LSJExxxxx
2023-06-05 21:01:29,407 Registering for abnormal messages
2023-06-05 21:01:29,553 Registering for moving messages
2023-06-05 21:01:29,734 Registering for region messages
2023-06-05 21:01:29,863 Registering for engineStart messages
2023-06-05 21:01:30,020 Registering for startVehicleStatus messages
2023-06-05 21:01:30,160 Registering for offCar messages
2023-06-05 21:01:30,299 Registering for speeding messages
2023-06-05 21:02:02,988 last activity: 2023-06-05 21:02:02
2023-06-05 21:02:03,133 5 messages received

Nothing happens from now on, no engineStart detection without forcing updates. Seems that the gateway itself sleeps.
The "5 messages received" are engineStart messages.
I deleted every mqtt topic for testing, after starting the gateway it recreates any topic properly.

Setting my addon back to 0.2.1:
2023-06-05 21:26:16,111 No vehicle handler found for VIN LSJExxxxx
2023-06-05 21:26:16,152 No vehicle handler found for VIN LSJExxxxx
2023-06-05 21:26:16,152 No vehicle handler found for VIN LSJExxxxx
2023-06-05 21:26:16,582 Registering for abnormal messages
2023-06-05 21:26:16,717 Registering for moving messages
2023-06-05 21:26:16,854 Registering for region messages
2023-06-05 21:26:16,990 Registering for engineStart messages
2023-06-05 21:26:17,141 Registering for startVehicleStatus messages
2023-06-05 21:26:17,279 Registering for offCar messages
2023-06-05 21:26:17,408 Registering for speeding messages
2023-06-05 21:26:34,851 last activity: 2023-06-05 21:26:34
2023-06-05 21:26:34,991 5 messages received
2023-06-05 21:26:34,991 ID: 1533139, Time: 2023-06-05 19:49:09, Type: 323, Title: Motorstart, Content: None, Status: unread, Sender: TBOX, VIN: LSJExxxxx
2023-06-05 21:26:34,991 ID: 1532020, Time: 2023-06-05 19:12:54, Type: 323, Title: Motorstart, Content: None, Status: unread, Sender: TBOX, VIN: LSJExxxxx
2023-06-05 21:26:34,991 ID: 1531548, Time: 2023-06-05 18:58:55, Type: 323, Title: Motorstart, Content: None, Status: unread, Sender: TBOX, VIN: LSJExxxxx
2023-06-05 21:26:34,992 ID: 1529910, Time: 2023-06-05 18:15:15, Type: 323, Title: Motorstart, Content: None, Status: unread, Sender: TBOX, VIN: LSJExxxxx
2023-06-05 21:26:34,992 ID: 1528197, Time: 2023-06-05 17:35:36, Type: 323, Title: Motorstart, Content: None, Status: unread, Sender: TBOX, VIN: LSJExxxxx
2023-06-05 21:26:34,992 Motorstart detected at 2023-06-05 19:49:09
2023-06-05 21:26:35,125 Motorstart message with ID 1533139 deleted

There's a bug introduced in the last dev branch and pulled in when 0.2.2 was released that makes the thread silently crash while checking messages.
My PR fixes both the message parsing as well as the silent crash.
https://github.com/SAIC-iSmart-API/saic-python-mqtt-gateway/pull/21


Possibility to call grayskull to generate multiple recipes

So it will be possible to generate several recipes from one command
grayskull pypi pytest gsw matplotlib

each recipe will be in a different folder


Implement java-control-plane example

This is a second example of an xds server that integrates the test harness adapter.
We will use the java-control-plane as our target implementation.
This work involves:

[x] learning enough java for the project
[x] setting up a build system and development environment for implementation
[x] implementing an xds server using the java-control-plane library
[x] using build system to generate java code from our adapter.proto files
[x] implement basic working adapter
[ ] pass first subscribing test with example implementation
[ ] pass all subscribing tests
[ ] pass first unsubscribing test
[ ] pass all unsubscribing tests
[ ] pass first delta test
[ ] pass all delta tests
[ ] tasks to package example implementation for easy executables
[ ] integrate example into this repo
[ ] document its usage

Using gradle, set up a build and development environment via intelliJ.
I have an xDS server set up integrated with an adapter.  The adapter implements our api, but in the most rudimentary way possible.  It simply returns "success" no matter what is given to it.  This is of course not usable as a real adapter, but helps us make sure our general connectivity is working.
I than ran the first subscribing test:
  Scenario Outline: [<xDS>] The service should send all resources on a wildcard request.
    Given a target setup with service <xDS>, resources <resources>, and starting version <v1>
    When the Client does a wildcard subscription to <xDS>
    Then the Client receives the resources <expected> and version <v1> for <xDS>
    And the resources <expected> and version <v1> for <xDS> came in a single response
    And the service never responds more than necessary

The test failed on the step Then the Client receives the resources <expected> and version <v1> for <xDS>, which we expect.
However, to get to the test, the runner must be able to connect to an adapter and a target.  That the test ran at all means the connections worked.  Also, this test passed the first two steps.  The first step sends a request to the adapter and checks that it gets a valid response back.  The second step subscribes to the target and makes sure no error is thrown.  This means that not only can our runner connect to the java implementation, but the two servers are working as expected.
Next up is implementing the adapter in earnest and getting the remainder of these steps to pass.

Made good progress today.  Implemented all the methods for the adapter with the java control plane and all subscribing and unsubscribing tests pass for the non-incremental, non-aggregated variant.
It is not the most beautiful java, but it works.
I opened a PR (#57 ) with the code so far.
The work is far from done.  I want to make sure all tests pass for all variants, or that we can at least confirm that any failing tests are not on our side.  I also want the code to be as simple and clean as possible.  There is a lot of repetition coming from my inexperience with java convention.  I also need to set up better build tasks and logging. At the moment, this implementation is best run from within intelliJ. It would be good to have it packaged as an executable.
Regardless, a solid leap forward today, I  think!


Fixed misspelling

Found some misspelled word with client9/misspell

@aaronlehmann  make generate and commit all of changed pb.c files.
but stil ci is failed. what i have to do?
P.S I installed protobuf with brew and make all is passed in my OSX

Perhaps you are using a different protoc version. I see that CI is using 3.0.2 (from https://github.com/google/protobuf/releases/download/v3.0.2/protoc-3.0.2-linux-x86_64.zip).
If it's too much hassle to find and install the matching version, I think manually making the same comment changes in the generated files would work. As long as CI passes, it means the files you committed are the same as the ones that would be generated.
Or one of the SwarmKit maintainers can carry this change and do the protobuf generation.

@aaronlehmann  I used v3.1.0.  I found deepcopy.pb.go is re-generated although deepcopy.proto  is not modified. So i omitted deepcopy.pb.go. I check other pb.go files are not changed except comment.

Current coverage is 55.17% (diff: 100%)

Merging #1774 into master will increase coverage by 0.10%

@@             master      #1774   diff @@
==========================================
  Files           102        102
  Lines         16871      16871
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           9291       9308    +17
+ Misses         6425       6411    -14
+ Partials       1155       1152     -3

Powered by Codecov. Last update b035a18...9c77798

Thanks!


Set text background/text highlight color

I'm currently trying to customize the styles in your JavaKeywordsAsync.java example.
Say I want to give keywords a background/highlight color (the use of "highlight" might be a little confusing since the CSS property "-fx-highlight-fill" is actually a property for the selection color in JavaFX, but normally it is a term used for the background color of specific segments of text) by changing the properties in the java-keysword.css, how would I go on doing this? Is it possible?
I've tried using both "-fx-background color" and "-fx-background-fill", but neither seeems to do the trick:
.keyword {
-fx-fill: purple;
-fx-font-weight: bold;
-fx-background-color: blue;
-fx-background-fill: blue;
}
Thanks in advance!
Best regards
Jonatan

Note that JavaFX Text does not support background color. We added it in some recent release as -rtfx-background-color (see the wiki).

It seems that this issue was resolved but never closed, so I'm closing it.
If it hasn't been resolved, please reopen.


Expense losing $0.02 after submitting

I've seen this multiple times but it's only happening sporadically. I submit an expense for $x, but after clicking through, the summary shows $x-0.02 (two cents). I submitted one for $1250 and the summary showed $1249.98. I went back and edited it and it was fine, but something strange is going on there.

We got a support ticket that can be related to that a few weeks ago: https://opencollective.freshdesk.com/a/tickets/7897
My assumption was that it could be related to inadvertently scrolling into the amount input (see the screencast below) but I've since blocked this behavior to make sure it doesn't happen.
To help investigate, could you share:

The number of items and their individual amounts
Your locale (I assume it's EN_NZ)
Browser
OS

Also if you can try scrolling into the amount input to see if it changes, that'd be helpful.
Thanks!

The number of items and their individual amounts: it was one item on
the expense (invoice) and the intended amount was $1250
Your locale (I assume it's EN_NZ): yes EN_NZ
Browser: Chrome
OS: MacOS

I tried to reproduce with different scenarios but wasn't able to. I also looked at the code that handles the amounts and found nothing in there that could explain this bug. While I don't exclude that there may be a problem in the code, it's hard to investigate further without more precise steps.
Another track that I want to follow is the possibility of an UX issue, similar to the scroll behavior described above. On Chrome, if the amount input has the focus, you can increase/decrease its value using the arrow keys on your keyboard. @alanna do you think that's something you may have done?

I knew this would be painful as I was writing the issue... sorry. I will
keep my eye out to see if it happens again. I haven't seen any complaints
from users yet so we can deprioritize this until it comes up again.

I just realized that the fix I implemented for the scroll was not working on Chrome for some operating system. I just changed my OS and was able to reproduce the scroll behavior that I was previously changed. Given what I already researched, I'm pretty sure that this is the root cause for this issue. Below is a screenshot of how it happens, it's almost unnoticeable for users (because scrolling usually takes the input out of the view).
https://github.com/opencollective/opencollective-frontend/pull/4872 will close this issue by implementing a more comprehensive solution that works on Chrome. Feel free to re-open if it happens again in the future.


[Feature Request] LTSP Session Screen Script for KVM-VDI

Hello,
I created a LTSP session screen script for SPICE. It works very well using the remote-viewer package. Here is a link:http://jphein.com/spice-session-screen-script-for-ltsp-thin-clients-running-under-ubuntu/
It would be awesome for those of us who use Ubuntu LTSP for client deployment to have it integrated with KVM-VDI.

This should do it:
`cat vdi_init
#!/bin/sh

Screen script that launches KVM_VDI. Can be called from lts.conf
like this:
SCREEN_07="vdi_init"
or like this:
SCREEN_07="vdi_init"

Copyright (c) 2016 Jeffrey Hein http://jphein.com

This software is licensed under the GNU General Public License version 2,
the full text of which can be found in the COPYING file.
. /usr/share/ltsp/screen-x-common
segfaults if HOME is unset.
export HOME=${HOME:-/root}
The same screen script can be used for other KVM_VDI viewers too, by just symlinking
screen.d/{otherviewer} to screen.d/vdi_init.
basename=${0##*/}
if ! type $basename >/dev/null 2>&1; then
echo "$basename couldn't be found."
if [ "$basename" = "vdi_init" ]; then
echo "Please make sure you have installed vdi_init into your client chroot."
fi
read nothing
exit 1
fi
Make XINITRC_DAEMON default to "True", to prevent X from restarting after
logout. If you don't want that, force XINITRC_DAEMON=False in lts.conf.
export XINITRC_DAEMON="${XINITRC_DAEMON-True}"
COMMAND="$basename $*"
The following logic is described at the top of xinitrc.
exec xinit /usr/share/ltsp/xinitrc "$COMMAND" -- "$DISPLAY" "vt${TTY}" -nolisten tcp $X_ARGS >/dev/null
`

I'm not really familiar with LTSP clients. We are just using PXE/NFS booted thin clients with small Linux distribution. Where do you want me to add your script?

LTSP uses PXE/NBD. It builds the Ubuntu thinclient or fatclient for you. It also has a sweet configuration file lts.conf.  Maybe I should submit these scripts to LTSP instead. I made one for VNC, SPICE, and KVM-VDI.

LTSP already includes these ones: kiosk ldm menu rdesktop shell ssh startx telnet xdmcp xfreerdp xterm

If you wish, I can include your script to my "thin_clients" folder

That would be awesome. I need to test it first. Still trying to get KVM-VDI to install in Ubuntu 16.04.


Fix E2E for team spec

Summary
Fix E2E for team spec, affected by the guest account where Add Members was changed into Invite People.
This is also a quick fix to potentially fix the daily tests - on not exiting properly.
Ticket Link
none

Requesting review from @cpanato since current tests broke Jenkins.


Generated code for constants with negative values is incorrect

Using fastrtpsgen version 1.5, the code generated for:

const char CHAR_CONSTANT_NEGATIVE = -120;

is

const char CHAR_CONSTANT_NEGATIVE = null-120;

The source of this issue appears to be in thirdparty/idl/src/main/antlr4/omg/IDL.g4:
@init{
    String aux = null;
}
    :
        {$literalStr += _input.LT(1).getText();}
        ( MINUS | PLUS | TILDE )
        primary_expr
        { aux=$primary_expr.literalStr; $literalStr += aux;}
    |   primary_expr { $literalStr = $primary_expr.literalStr; }
    ;

Just checking whether or not this issue list is actively monitored -- could someone please confirm?

I had not time to test the issue. I will try next week.

Thanks for the confirmation!

Commit ede928724f8f670d5c83acec0d5eddd45aa76e48 updates the idl-parser thirdparty. It should resolve your problem.

@richiware, thank you! I pulled code and verified that your fix does the trick. Much appreciated.
-Ray


Newsletters: add 268 (2023-09-13)

[ ] Lede, releases/RCs, topic entries @harding
[x] Bitcoin Core PR Review Club @LarryRuane
[x] Bitcoin Core 26567 @murchandamus

Force pushed to resolve Dave's comments, thanks! (Even though I asked you a follow-up question, I decided to just go ahead and make the suggested changes.)

Force pushed for Murch's comment, good catch, thanks!

Pushed edits for all review comments (thanks @bitschmidty @murchandamus @LarryRuane!), added lede, checked for updates to the releases/RCs (no updates), and reviewed contributions (including updates) from @LarryRuane and @murchandamus (thanks!).  Also added topic entries.  Thanks everyone!

Squashed and merged 🚀


Evaluation on the synthetic data with copenet_singleview

Hi! I'm trying to run the evaluation on the synthetic data part.
cd AirPose/copenet_real
python src/copenet_real/scripts/hmr_synth_res_compile.py "model type" "precalculated results directory Path" "/path to the dataset" "your_path/AirPose/copenet/src/copenet/data/smplx/models/smplx"
I downloaded all the correct pre-trained models and datasets.
But I get some errors in the rendering part when I run the above code because of hardcoded absolute paths
(https://github.com/robot-perception-group/AirPose/blob/main/copenet_real/src/copenet_real/scripts/hmr_synth_res_compile.py#L118-L119)
I think you used some other preprocessed dataset to render the results. How can we preprocess data to render it with your rendering module?
My goal is to render the results of my trained single-view model with real data. Therefore, I'm trying to do the above task!
Thanks!

Thank you so much that worked!
Now, I'm trying to get rendering results from copenet_dji_real_data with the copenet_singleview model.
I'm trying to tweak the script file "/AirPose/copenet_real/src/copenet_real/scripts/hmr_synth_res_compile.py" to handle "copenet_dji_real_data". But currently, I met a lot of errors.
Do you think it is a good approach??
Or do you think tweaking "/AirPose/copenet_real_data/scripts/bundle_adj.py" script to use the copenet_singleview model is better??
Thanks, Nitin!


Use gmtime_r

mbedTLS uses gmtime, which is not thread-safe. It tries to fix things up by protecting its use with a mutex, but the mutex provides only an illusion of safety. The problem with gmtime is that other threads in the application could be calling it at the same time, not necessarily inside mbedTLS code.
This is a very improbable bug, but in the worst case it could enable a certificate validity check to be bypassed.
mbedTLS should use gmtime_r, which is safe, and is present on a wide variety of non-Windows platforms. We use it in our codebase, so I can confirm it's present on our supported platforms (Linux, Mac, Solaris, HP-UX, AIX, FreeBSD - any SUSv2 platform). There may be embedded/low-level platforms you support where gmtime_r is not provided.
I can submit a PR - but it's not too urgent for me. Also, you'd have to provide guidance on how you would prefer to detect presence of support for gmtime_r (detecting it in the CMake script would be fine, but then what about people not using CMake, etc).

Hi @NWilson. Nice to hear from you again!
I hadn't appreciated there was an issue here, and I think we would gratefully accept a PR in this area.
My suggestion - and I'm open to other ideas - would be to make a platform abstraction function of mbedtls_gmtime_r() which maps to gmtime_r to allow the function to be changed more easily, and change the call to gmtime() to one of mbedtls_gmtime_r().
I had planned already to abstract the function, (and as ever, hadn't gotten around to it), but not to make the change to gmtime_r().
If the function is as widely adopted as you suggest, I think it's acceptable to make it the default library function to be used. For Windows, mbedtls_gmtime_r() can call a glue function that actually calls gmtime() or something similar.

Great, since gmtime is only called from mbedtls_time, I think the existing platform time abstraction should be enough (I seem to remember there's a way to swap in your own mbedtls_time? - I'll add it if not). I'll make a PR changing mbedtls_time to use gmtime_r by default - and non-Windows platforms that don't have gmtime_r will have to provide their own mbedtls_time implementation (tough love).

This issue has now been resolved with the merge of PR #1198 and #1927.


V0.45 Update CurrentHoldingsProvider to stop including DSN6 maps

I am not as familiar with the code --- the  CurrentHoldingsProvider code removal around line 210 -- is this because the other changes no-longer has it set?

I am not as familiar with the code --- the CurrentHoldingsProvider code removal around line 210 -- is this because the other changes no-longer has it set?

@epeisach Yes exactly. Instead of creating keys "2fofc Map" and "fofc Map", it just creates a single "Map Coefficients" key.
Also FYI, this should be the only PR necessary—no changes are needed in the py-rcsb_db repository, because the workflow uses RepoHoldingsRemoteDataPrep.py (not RepoHoldingsDataPrep.py).


Ds position and calendar corrections, boxplot included

1.functionality added for  positioning behavior of dataset
2.functionality added for naming duplicated tiles
3.calendar chart chartControls bugs fixed
4.added /dc/close-all-dc api call when user logs out
5.boxPlot chart and its chartControls added

Pull request #95 is the same, with some corrections included. So closing this


Ignore iteration 0 as warmup in xunit.performance.analysis #104

Looks good to me.  @davmason should probably also have a look.

Looks good to me too


Builtin GitHub extension is disabled in untrusted workspace

The GitHub extension declares that it supports untrusted workspaces: https://insiders.vscode.dev/github/microsoft/vscode/blob/287d963f467d4c309e2e3fef804b49d567c92b93/extensions/github/package.json#L22-L26
However I see on desktop that it is disabled in an untrusted workspace:

hmm, i don't see that with a local untrusted folder, it is enabled for me. are there any other special properties about the workspace?

Hmm, something fishy is happening here. Looks like the folder is trusted after all:

Do other parts of the UI (e.g. the extension viewlet) also reflect the extension as disabled due to workspace trust?

I reloaded the page and now the extension is enabled after all, so it seems like some extension ui state got out of sync for this extension and incorrectly reported it disabled. 😕


Multisig. Create new multisig - does not depend which signatory do you select, will be used the first one

Description
https://github.com/user-attachments/assets/4c168ccd-b8ce-42db-8a1c-0b157aaf1e45
Steps to Reproduce

Add the same wallet via different wallet types (wc\polkadot vault)
Go to multisig creation
Select signatory as a wallet
Try to create wallet
Select second signatory to sign

Expected Behavior
Can switch between signatories and wallet types
Actual Behavior
Can't select which signing type will be used, always first is used
Environment
https://github.com/novasamatech/nova-spektr/commit/1b29836ffc7ca408a44df236bae6f0d8b98bf087

Status verification: ✅


upgrade to v19

close https://github.com/roapi/roapi/issues/263
issues to fix:

[ ] columnq/src/table/delta.rs

the trait From<Infallible> is not implemented for ColumnQError
the trait From<&SchemaTypeStruct> is not implemented for datafusion::arrow::datatypes::Schema
the trait datafusion::datasource::TableProvider is not implemented for deltalake::DeltaTable

[ ] df.collect() now returns "error[E0507]: cannot move out of an Arc"

move occurs because value has type datafusion::dataframe::DataFrame, which does not implement the Copy trait

[ ] columnq/src/table/mod.rs

the trait Deserialize<'_> is not implemented for datafusion::arrow::datatypes::DataType

@jychen7 let me know if you need any help finishing up this MR!

@houqp yes, I was stuck at the above 3 errors and forgot to follow up. Could you help?

I fixed two more issues and need help on columnq/src/table/delta.rs, thanks :D

Unfortunately Datafusion is already up to v22 :face_with_head_bandage:
There were a lot of API changes between v19 and v22 that we had to address in delta-rs, kind of a pain :frowning:

datafusion upgraded with #279


The primary Android example failed to run

Hi, I'm a rookie in Mediapipe, I run primary Android example failed, the website is: https://google.github.io/mediapipe/getting_started/android.html
the error is:

ERROR: /home/lzc/.cache/bazel/_bazel_lzc/6132f374fa0169e4ee8804a892485cde/external/local_jdk/BUILD.bazel:3:10: in fail_rule rule @local_jdk//:jdk:
Traceback (most recent call last):
File "/home/lzc/.cache/bazel/_bazel_lzc/6132f374fa0169e4ee8804a892485cde/external/bazel_tools/tools/jdk/fail_rule.bzl", line 19, column 13, in _fail_rule_impl
fail("%s %s" % (ctx.attr.header, ctx.attr.message))
Error in fail: Auto-Configuration Error: Cannot find Java binary bin/java in /home/lzc/.cache/bazel/_bazel_lzc/install/46850c2a96e4b4b07623822a03209f74/embedded_tools/tools/jdk/nosystemjdk; either correct your JAVA_HOME, PATH or specify embedded Java (e.g. --javabase=@bazel_tools//tools/jdk:remote_jdk11)
ERROR: Analysis of target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/basic:helloworld' failed; build aborted: Analysis of target '@local_jdk//:jdk' failed
INFO: Elapsed time: 0.114s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 2 targets conf
igured)
Fetching @remotejdk11_linux; fetching
I have no idea about to solve it, would you help me, thanks a lot.

Do you have a solution for this error ?

does someone find the solution ??
I have the same issue


add tsit54 to ode integrators

Hello and thank you for your great work creating this library!
I implemented Tsitouras 5th order method and added it to the list of integrators.
Informations about the method can be found at Runge–Kutta pairs of order 5(4) satisfying only the first column simplifying assumption.
In the testsuite it becomes quiet slow for lower tolerances ( till 1e-7) and fails for <=1e-8.
For higher tolerances it works fine. However, using standard tolerances, it still passes the high tolerance test
Maybe I have missed something there? It would be great if you could take a look at it and help me fix it.

Awesome!! 😄 And thank you! It's great that you are contributing 😃 I really appreciate it 😄
I tried implementing Tsit5 as well but I ran into the same problems as you did so there certainly is something going on :/ Do you know of any other implementations of this algorithm that does not have these issues?

It is also great that you have written your code in the same way as the already existing code, kudos to you 😉 It's easier said than done 👍

I looked at the implementation in Julias DifferentialEquations which I have used successfully in the past. However I could not spot why it works there but not here yet

Yeah they usually know what they are doing. The most probable reason then, is that the big function that does the processing between steps is doing something wrong. But it's odd that it only happens with Tsit5 and not the others.

I will take a look at it.

If I try to use the ODEoption that all the others use in the test suite, it seems as if it gets stuck somewhere. So I'm checking how many steps they are taking and with what dt and which error they think they are having:

DOPRI54: Total steps: 2010 Average dt: 0.009950248756219235 Average error: 1.104699526990206e-018 (for both tests)
TSIT5 default: Total steps: 39824 Average dt: 0.0005022097227802303 Average error: 5.901974656708697e-005
TSIT5 with oo: Total steps: 398042708 Average dt: 5.024586457188617e-008 Average error: 5.904900054415388e-009

If I increase the minDt to 1e-6 instead of 1e-8 I get: Total steps: 39817 Average dt: 0.000502298013411362 Average error: 5.903012249259565e-005 but it passes the test. I would argue that the error control is a bit off, Tsit5 thinks it's much worse than it really is

I raise minDt even higher to 1e-4 and the highest actual error we get is 1e-14 so you have definitely not done anything wrong in you implementation 😉 😄

Does this fix the problems with Tsit5?

I hope it does 😊 I will do some further testing tomorrow, but then I don't see any reason not to merge it 😄

Found a little typo in the documentation comments.
Also tried decreasing dtMin, which seems to fix tsit54. Only the low tolerance vector test takes a little long, but still way faster than before. Tsit54 now uses the same options as all the other methods

Great, good spotting! 😊👍 Thank you very much! You easily get blind to your own writing 😅
Do you mind if I ask how you found out NumericalNim? 😄 And have you tried it out and have any general feedback? 😁 Most of my work here is in my own bubble so any outside perspectives are very much appreciated.

Sure, searching the nimble package registry for a package to solve ODEs this was the only hit, if I remember correctly.
The things I tried so far worked well, so I wanted to contribute. The interfaces arena  intuitive and documentation great which made playing around easy. :grinning:
I would try to implement some higher order methods for low tolerance cases. Inspiration to me is Julia's great DifferentialEquations.jl library. They recommend Vern6, Vern7 or Vern8 for high accuracy, so I'd look further into this?
Also sorry for force pushing my last commits, but I did not want my private mail to be visible in those commits. This won't happen again. :sweat:

Ah, I see 😄 I'm glad you found it, it's always nice to interact with other likeminded people. Nim is a bit sparse on packages still but I'm sure it will change in a not too distant future.
It's great to hear that you found the first interaction with NumericalNim to be intuitive 😃 My worst fear is that people come here and can't figure out how to use it 😅 And now you have helped to make it even clearer by fixing my typos 😉👌 What kind of ODE problems are you solving? I'm working on another project which is a gravity simulator so my focus is mainly on solving Newton's equation F = ma. But not using NumericalNim, for better or worse.
JuliaDiffEq is one of my main inspirations as well 😄 It's so huge! The Vern-methods has been on my wishlist for a while so if you feel like you want to and have the time to do it, I would be hugely thankful 🙏 But no hurry at all, take the time you feel that you need 😉😃
I will have to create a Contributions page soon so people like you can get the credit they deserve 🏅
No worries 😄 I didn't even know what force pushing was prior to yesterday so you made me learn something new 😉

Yes, I hope Nim will gain some traction now that the stable 1.0.x series is around. Finding nice people with similar interests is great. Exchanging ideas and discussing makes so much fun :blush:
The examples on the front page are really helpful and ease getting started. :+1:
I am working on nonlinear dynamics and chaotic systems for example the Lorentz system. Currently I investigate the effects of noise on neuron models. Those are SDEs. What is your opinion on adding those to numericalnim in the long-term? I would like to try it for the experience of implementing these and to learn about them.
If there are any other rough edges or areas to look at I'll gladly give it a try. :grinning:

Yes, the 1.0 should really help with making people more willing to give Nim as try 😄 I hope and think we will get along really well 😉 Nice to hear that they are helpful 👍 I've been thinking of doing a more comprehensive tutorial on how you can use all the parts of NumericalNim together in a more concrete way (solving nonlinear ODEs using Newton Raphson for example or loading data from CSV file, interpolate using cubic splines and then integrating it). And one thing I think would be important then is to have real problems to solve, not just the school book examples (sin, cos, exp). If you have any suggestions for any cool problems I would be thrilled to know 😃
Non-linear dynamics and chaos sound really interesting, it's not something I have dabbled with that much in the past but it sounds fascinating 😁 The big question: does noise have an effect on neuron models? 😅 Anything that uses numerical methods is welcome to NumericalNim 😉 If you want to and have the time, I will encourage you to try it out 💯 I have learned so much by implementing the methods that we have right now so I definitely think you will deepen your knowledge on SDEs if you decide to do it. Plus others in the Nim community get to use it 😄
There are a lot of rough edges everywhere 🤣 But the most valuable help is to just use it and if you come across something that you think would be better done in a different way, just open an issue and let me know 😃 and then we can discuss it

Regarding Tsit5, I have played around with it a bit today but I can't wrap my head around it really. It is sooooo much slower than the others and is too accurate compared to the others. It should be roughly equivalent to DOPRI5 in performance but they behave so differently. I'm voting for merging this PR but adding a note on the README that it is unstable for now. Hopefully someone can come along and find a way to make it work later. What do you think about that solution? 😄

I asked on SciComp Stackexchange here and got an answer from Chris Rackauckas, one of the guys behind JuliaDiffEq.
It seems like we (mainly I) have misunderstood what the coefficient was. Those we called bHat are not the coefficients for the fourth order methods as in my other integrators but it is the difference between the coefficient of order 5 and 4 so we get the error from: error = abs(dt * (bHat1 * k1+ bHat2 * k2 + bHat3 * k3 ..........)) and it seems to work! 😄

Oh, that does explain the strange behaviour. :sweat_smile:
Your suggested fix works for scalars and vectors, but I get an error compiling because the generic abs returns a tensor in case of tensors. With a little change I got it working for me again, I will push it soon. Please take a look at it, maybe this can be done differently or more efficiently.

Yes, that will do for now 😄 👍 In the future I will try to switch all adaptive ODEs to this form and I think relative errors should be incorporated as well. But that's for another time 😅
I will do some final checks for this tomorrow and then I'll merge it 😉 same with the Vern65. You were really quick 😲💪

Great work! :-) Works like a charm now! 😄 I tested Vern65 a bit now and it is FAST 🚀 Will try to resolve the merge conflicts later today


Remove the period at the end of RPM metadata description.

Signed-off-by: Zelin Hao<EMAIL_ADDRESS>Description
Remove the period at the end of RPM metadata description for OS to be consistent with the description of OSD.
https://github.com/opensearch-project/opensearch-build/blob/cbe0f12ba5b57675e8cf2ad464cd7e0184d86117/scripts/pkg/build_templates/opensearch-dashboards/opensearch-dashboards.rpm.spec#L27-L28
Issues Resolved
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #2045 (314ae49) into main (dcfc3f0) will increase coverage by 5.76%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##               main     #2045      +/-   ##
=============================================
+ Coverage     94.23%   100.00%   +5.76%
=============================================
  Files           198         6     -192
  Lines          3902       105    -3797
  Branches         29        19      -10
=============================================
- Hits           3677       105    -3572
+ Misses          219         0     -219
+ Partials          6         0       -6

Impacted Files
Coverage Δ

tests/jenkins/jobs/RpmMetaValidation_Jenkinsfile

src/jenkins/Messages.groovy

src/test_workflow/integ_test/distribution_rpm.py

src/assemble_workflow/dist.py

tests/jenkins/jobs/PromoteArtifacts_Jenkinsfile

tests/jenkins/jobs/PostCleanup_Jenkinsfile

src/test_workflow/test_result/test_result.py

src/test_workflow/test_kwargs.py

src/run_build.py

src/ci_workflow/ci_check_gradle_properties.py

... and 182 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 dcfc3f0...314ae49. Read the comment docs.


$curbuf falls behind VIM::Buffer.current

In vim $curbuf and VIM::Buffer.current are always the same, in neovim-ruby when I open and focus a new buffer then $curbuf does not update.
Some vim scripts can be replaced by a global replace of $curbuf with VIM::Buffer.current (such as oniwabandana).

What steps can reproduce this? Both :new and :tabnew are incrementing $curbuf.number for me.

Try splitting the window and moving between them... this issue breaks the popular ctrl-p, command-t and oniwabandana extensions due to the behaviour I described. You can fix each of these extensions with a global replace of $curbuf.

This should be somewhat resolved by https://github.com/alexgenco/neovim-ruby/commit/1c2e41c56e8984d04edeb8fc61884593c1f925a5. Although command-t is still broken when run from a tab, which I believe is a neovim issue.

This should be resolved now. Lemme know if you have more issues.


side quest for screenshot diffs

@paultag forced me to add some image diffing logic to the e2e tests, not full utilized as of yet.
I'm expecting e2e test to fail until https://github.com/KittyCAD/modeling-app/pull/1154 merges

comment I left in slack

Fun fact, a bunch of my e2e were broken in CI but working locally, until a hunch told me to try pulling the lastest engine and they're broken locally to now (:raised_hands:  failing only in CI is the worst)
Maybe related to the units/grid/scale stuff? did that go live?
Because we click at exact px coords and what code that generates depends on the engine scene and it's scaling, there's naturally going to be some coupling here. It should just be a matter of me go through and updating some numbers so I'm not worried about it, and I can imagine this happening too often.

so rad, love this approach so much


Support for GovCloud Appears to be Missing

Expected Behavior
When deploying to an AWS account in the GovCloud partition (aws-us-gov) the lambda function uses the govcloud version of the datadog layers
Actual Behavior
module.my_lambda_function.aws_lambda_function.this: Creating...
╷
│ Error: creating Lambda Function (my_lambda_function): operation error Lambda: CreateFunction, https response error StatusCode: 400, RequestID: 07f20e55-59d1-4bf1-b8a4-15a5814847bf, InvalidParameterValueException: Invalid layer version arn:**aws**:lambda:us-gov-west-1:464622532012:layer:Datadog-Extension:57
│
│   with module.chip_api_token_function.aws_lambda_function.this,
│   on .terraform/modules/my_lambda_function/main.tf line 92, in resource "aws_lambda_function" "this":
│   92: resource "aws_lambda_function" "this" {
│
╵

Steps to Reproduce
Deploy terraform-aws-lambda-datadog to AWS GovCLoud
Relations
https://github.com/DataDog/terraform-aws-lambda-datadog/pull/3

Great! Looks like the changes in the pull request function correctly. I set the source attribute to my repo fork ref with the modifications and got this TF output:
 # module.chip_api_token_function.aws_lambda_function.this will be created
  + resource "aws_lambda_function" "this" {
      + architectures                  = [
          + "x86_64",
        ]
      + arn                            = (known after apply)
      + description                    = "Generate a JWT for CHIP clients"
      + function_name                  = "project-chipAPI-token-dev"
      + handler                        = "/opt/nodejs/node_modules/datadog-lambda-js/handler.handler"
      + id                             = (known after apply)
      + invoke_arn                     = (known after apply)
      + last_modified                  = (known after apply)
      + layers                         = [
          + "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Extension:57",
          + "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Node18-x:109",

Lambda creates properly and the layers exist:

I still need to test a deployment to the aws partition of AWS, but I'm confident that simple logic and metadata call will function just as well.

Hey @olivereri thanks for adding this! I tested this for both AWS Govcloud and AWS Commercial and confirmed the correct layer arns are generated. I just approved and merged the PR. I'll let you know once this is released!

GovCloud support is now available in v1.1.0!
https://github.com/DataDog/terraform-aws-lambda-datadog/releases/tag/v1.1.0


Feature/fix drawerlayout

Changes proposed in this Pull Request:

Navigate to the top of page when user selects an item from the Drawer
Fix scroll issue on mobile, the URL top bar would never disappear
DrawerLayout API remains the same, no action required from users.

I want #61 to be merged in before this PR.  I can handle the merging and there might be some tweaks required afterwards.

This PR also has a defect fix for the InfoListItem component.   The default background color of the InfoListItem was accidentally changed from 'inherit' to use a color from the applied theme palette.

I got the Showcase demo to work as expected on mobile.  When I integrate this component into the new docit, there's some funky behavior on mobile viewports.  I suspect this is because docit might not be integrating it correctly.

I got the Showcase demo to work as expected on mobile. When I integrate this component into the new docit, there's some funky behavior on mobile viewports. I suspect this is because docit might not be integrating it correctly.

Doc-it has some hacks in place to work with the old version...it'll need to be updated


Only in test environment (RSpec): callbacks are not syncing the index

Only in test environment: callbacks are not syncing the index. In a development console it works.
I'm refreshing the index after trying to index data through callbacks and also tried to sleep 30 seconds before search but no solution.
I'm using elasticsearch gem 1.0.6 and elasticsearch server 1.0.3. I also tried it with 0.2.x and 0.9.x of elasticsearch server respectively elasticsearch gem 0.4.11.
I have this test code:
# rails_helper.rb
config.before(:all)do
  ActiveRecord::Base.connection.tables.each do |table|
    klass = table.capitalize.singularize.camelize.constantize rescue nil

    if klass.respond_to? :__elasticsearch__
      klass.__elasticsearch__.delete_index!
      klass.__elasticsearch__.create_index! force: true
    end
  end
end

# spec example
movie = Movie.create(title: 'Dummy')
Movie.__elasticsearch__.refresh_index!
expect(Movie.search('Dummy').records.to_a.map(&:id)).to eq([movie.id])

You can reproduce it in this example application:
bundle install
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rspec spec/models/movie_spec.rb

There is 1 commit with customization of the Rails generator code.
The code for the movie model is located here.

I had the same problem.
After several tries, I discovered the gem test_after_commit recommended by the rails doc
It solved the problem while keep using transactional fixtures or DatabaseCleaner transaction strategy.


Tiles overlapping

I'm using google maps to display data layer on it, geojson is served using tile server, however the issue is that data layer is transparent and overlapping of tiles is visible. Any suggestions why this happens?

This is rather interesting.
Couple questions:
1.) What are you using as a client (web map)?
2.) Can you share example json that you are using?
3.) Can you provide an example of your client (web map) within a jsfiddle or similar?

Thanks on such quick response.
I'm using a google map and loading tiles on idle event, this is how my code looks like:
google.maps.event.addListener(this.map, 'idle', () => {
    const zoom = this.map.getZoom();
    const center = this.map.getCenter();

  const [x, y, z] = globalMercator.lngLatToGoogle([center.lng(), center.lat()], zoom);

  this.map.data.loadGeoJson(`http://localhost:8123/pinus-nigra/${z}/${x}/${y}.geojson`);
});

I'm using this library to get tile based on LatLng https://www.npmjs.com/package/global-mercator
And here is the file: http://cdn.ivanstanojevic.me/data/pinus-nigra.geojson
I hope I will be able to provide jsfiddle soon.

I assume the reason is that the geojson-vt, which is the lib responsible for creating the tiles, uses a buffer of a number of pixels. When using the geojson as an overlay, that makes sense, but not when it is used as a base map.
Easiest way is probably to add a new option in cli.ts, allowing you to specify the buffer size, and passing that through. A quick and dirty test is to set it manually in the generated js file and see if it fixes the problem.
If so, can you create a pull request for that?

I did exactly what you said and indeed this helped, setting a buffer size to 0 shows no overlapping. I will try to add option to cli and submit the PR in the following days. Thanks