libressl: 3.5.3 -> 3.6.0

Description of changes
Release notes.
I kept the patch from 3.5, as https://github.com/libressl-portable/portable/pull/771 is still open, and the patch still applies.
We should also remove 3.4, as it will become unsupported in a week (one year after the OpenBSD 7.0 release), but some packages explicitly depend on it, so I'm not removing it yet in this PR.
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, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

some packages explicitly depend on it

It seems like that's mainly stuff that I (tried to) drop from nixpkgs in #150880, because it was incompatible with the openssl_1_1 api, but was kept around/brought back, because libressl_3_4 still had them and was supported.

nixpkgs-review reveals no new failures, macos 10.15 & nixos x86_64. pkgsMusl, pkgsStatic & pkgsCross.aarch64-multiplatform variants build. Builds, nixos aarch64.


[crypto] Make cryptolib status codes compatible with status_t.

Updated version of https://github.com/lowRISC/opentitan/pull/18523
Resolves https://github.com/lowRISC/opentitan/issues/17803
This change makes cryptolib error codes bit-compatible with status_t, so that testing infrastructure built for status_t works on the cryptolib. To the caller of the cryptolib API, the error codes are still just a few hardcoded values, but now we can call TRY() in tests and get readable error messages rather than checking against the "OK" value and getting just a pass/fail. This also makes it easier to write code for the cryptolib without having to juggle two types of error codes; everything uses the OTCRYPTO_OK/OTCRYPTO_BAD_ARGS/... family of macros, regardless of whether it returns status_t or crypto_status_t.
A configurable compile-time option changes the cryptolib status behavior to simplify debugging; with this option on, the cryptolib will return module/line numbers just like other code in the OT repo. For example, if I deliberately introduce a bug in the SHA-256 test, I get an error message like this by default:
I00005 sha256_functest.c:168] Starting test one_update_streaming_test...
E00006 sha256_functest.c:168] Finished test one_update_streaming_test: InvalidArgument:["@@@",2037].

The 2037 above is meaningless; it's just the hardened value for kCryptoStatusBadArgs. However, if I run the same test with --define crypto_status_debug=true, then I get:
I00005 sha256_functest.c:168] Starting test one_update_streaming_test...
E00006 sha256_functest.c:168] Finished test one_update_streaming_test: InvalidArgument:["HAS",363].

This leads me straight to where the error originated: line 363 of hash.c. Debugging is much faster this way!
@y-srini : This PR changes the exact values of cryptolib status codes, although the interface for the caller remains pretty much exactly the same. The caller does now have to extract the value with <status>.value or a cast to int32_t, but hopefully that's not too big of a burden; I tried to minimize the impact to the caller here as much as possible.

--define crypto_status_debug=true

It would be nice to have this documented in a README.md. Along with the style conventions :)

It would be nice to have this documented in a README.md. Along with the style conventions :)

Added to https://github.com/lowRISC/opentitan/issues/17775!

Everything passed except Kokoro and this doesn't touch RTL, so I'm considering it safe to merge.


middleware/kubernetes: Service token use support

Automatically use a service token as described in #248 . Currently you get the error:
2016/10/04 18:37:02 middleware/kubernetes: invalid configuration: no configuration has been provided

working on it

Closed via PR #349


Fix to progress bar when max_value set too low

This is a fix for https://github.com/Princeton-CDH/ppa-django/issues/482

Up to you! My argument for keeping it would be: in all the instances it's used in a manage.py command to do pretty labor intensive things (generate_corpus, hathi_import and index_pags) and I'm not sure a progressbar's wrong estimate of the total count should be given the power to kill that work with an Exception.
Also, any idea why the javascript unit tests are failing?

.... My argument for keeping it would be: in all the instances it's used in a manage.py command to do pretty labor intensive things (generate_corpus, hathi_import and index_pags) and I'm not sure a progressbar's wrong estimate of the total count should be given the power to kill that work with an Exception.

Good logic! Sold.

Also, any idea why the javascript unit tests are failing?

I think we've had an occasional error cropping up — looks like it passed when I re-ran it. 🤷


Configurable protocol versions

Issue

Fixes https://github.com/input-output-hk/ouroboros-network/issues/1971
Makes network protocol versions configurable: can be specified in
configuration.yaml file.  The default option is to use all supported protocols.
This PR does not result in breaking changes to upstream dependencies.

Checklist

[x] This PR contains all the work required to resolve the linked issue.

[x] The work contained has sufficient documentation to describe what it does and how to do it.

[x] The work has sufficient tests and/or testing (in ouroboros-network).

[x] I have committed clear and descriptive commits. Be considerate as somebody else will have to read these.

[x] I have added the appropriate labels to this PR.

@mrBliss if you don't mind 'aeson' dependency in ouroboros-consensus (and ouroboros-consensus-byron) I can move the orphaned FromJSON instances for NodeToNodeVersion and NodeToClientVersion to ouroboros-consensus-byron.

@mrBliss if you don't mind 'aeson' dependency in ouroboros-consensus (and ouroboros-consensus-byron) I can move the orphaned FromJSON instances for NodeToNodeVersion and NodeToClientVersion to ouroboros-consensus-byron.

I'm not keen on doing this. Do they have to be instances here? Doesn't aeson provide a way to use explicit parsers (in combination which parseJSONList). Moreover, aren't there tons of orphans already in cardano-node, e.g., for tracing?

I though so :);

Doesn't aeson provide a way to use explicit parsers (in combination which parseJSONList).
It seems so - the FromJSON instance has a default implementation for parseJSONList.

stale PR, closing

Re-openned - at some point this will be updated.

Spoke with @coot who agreed to close this


Calculate norms in loop and compare to vectorized for testing.

This PR does the following.

Make norm testing more explicit with per vector norm in loop for calculating gold.
It filters out repeated words in the embeddings files
Fixes non breaking spaces getting skipped in Glove and Word2Vec

I tested this change against SST2 and CONLL2003.  No regressions seen in performance.  Will merge this soon


Increase test coverages by adding invalid CNTK usecases

This PR adds invalid CNTK tests for the current following missing lines:
keras/backend/cntk_backend.py              1524    198    87%

The results are:
keras/backend/cntk_backend.py              1524    192    87%

Before
After

Python 2.7 + C
87.75%
87.81%

Python 3.5 + C
87.71%
87.76%


Add Multiple Status Objects Into LdapHandlerResults

Give option for return multiple statuses for a single action.   Mostly in the case of adding to / removing from multiple groups at once.

Decided to create a one to one mapping of objects in the request to objects in the response.
Response objects can have multiple statuses associated with them :

User Created
User Added To Group 1
User Added To Group 2


Add preloader library and logic for site / background loading

https://www.npmjs.com/package/preloader

This is the ideas I have on mind for the preloader approach to support out of the box.
https://docs.google.com/document/d/136QJsdogmPsHAjxPRdh8MfxV63tUXkSV-CLi_zHI5so/edit


Change default favicon

Current favicon is the default Gatsby logo.
Great UI BTW 😄!

Lotsa new things, including the favicon coming with the next push


null cache

Hi,
I wonder if I can use alluxio to replace null cache as petastorm cache.  do you see performance gain by using alluxio ?

also i wonder if the cache is shared across all trainer processes and across all epoches ? will that cache invalidated after each epoch train ?

I am not familiar with alluxio. Implementing a new cache version and plugging it in should be pretty easy. The cache is not automatically shared across processes. However, if you are using a shareabe storage (e.g. local disk for processes running on the same machine), then the cache will be shared (as long as the storage/cache-class implementation) properly handles race conditions.

If you'd like to take a shot implementing an alluxio based cache, I would be happy to help with a review.

thanks for the info. it's helpful.  we will do some investigation and contribute back to community if possible.


Support line numbers

Can we add line number to the code field？

Highlight.js doesn't support line number.
But it should be good if we can do this.

https://github.com/wcoder/highlightjs-line-numbers.js is the main plugin for adding line numbers, which works quite well.

@lights0123 Wow! Interesting. I'll try it myself.

@gluons I created a combination of this project and that plugin, which is available as a Gist here. Unfortunately, that plugin requires running on a browser, meaning that I needed to make this a browser-only component. Things like Nuxt will be unable to render line numbers on the server side.

I know it's been a year and a half, but any progress on this? :)

I know it's been a year and a half, but any progress on this? :)


<Separator/> cannot be used inside server component.

As mentioned, I got this error below:
./src/app/page.tsx
ReactServerComponentsError:

You're importing a component that needs flushSync. It only works in a Client Component but none of its parents are marked with "use client", so they're Server Components by default.

   ,-[/home/tech/Documents/github/portfolio-next/node_modules/.pnpm/@radix-ui+react-primitive@1.0.3_@types+react-dom@18.0.11_@types+react@18.0.37_react-dom@18.2.0_react@18.2.0/node_modules/@radix-ui/react-primitive/dist/index.mjs:1:1]
 1 | import $4q5Fq$babelruntimehelpersesmextends from "@babel/runtime/helpers/esm/extends";
 2 | import {forwardRef as $4q5Fq$forwardRef, useEffect as $4q5Fq$useEffect, createElement as $4q5Fq$createElement} from "react";
 3 | import {flushSync as $4q5Fq$flushSync} from "react-dom";
   :         ^^^^^^^^^
 4 | import {Slot as $4q5Fq$Slot} from "@radix-ui/react-slot";
 5 |
   `----

The error was caused by importing<EMAIL_ADDRESS>in './src/app/page.tsx'.

Maybe one of these should be marked as a client entry with "use client":
  ./src/app/page.tsx

Hi @TechTheAwesome, can I see your component.json file?

Hi @TechTheAwesome, can I see your component.json file?
Below is my file :smiley:

{
  "$schema": "https://ui.shadcn.com/schema.json",
  "style": "default",
  "rsc": true,
  "tailwind": {
    "config": "tailwind.config.js",
    "css": "src/app/globals.css",
    "baseColor": "slate",
    "cssVariables": true
  },
  "aliases": {
    "components": "@/components",
    "utils": "@/lib/utils"
  }
}

You probably imported the Separator component from @radix-ui/react-separator and not from the ui component file.

Oh this was indeed the issue

You probably imported the Separator component from @radix-ui/react-separator and not from the ui component file. Change the import like this:
- import { Separator } from '@radix-ui/react-separator';
+ import { Separator } from '@/components/ui/separator';

Oh, this was indeed the issue! Thanks for your help @ /dan5py .
Closing the issue as solved.


Feature Request: Option to not mute video audio

I would very much like it, if there was an option to always have the video audio be audible (not muted). If I need to edit some file using notepad to accomplish this that would work for me.
Side note: I love the theme, its basically perfect for my usecase!

So I assume you are talking about the fullscreen theme, right?
If so, you can set the volume to a value between 0 and 1 here: https://github.com/felixkmh/DH_Themes/blob/58f80a064a78c8e8f772b78ffcdf3a4c8621bd0f/source/Blur/Views/GameDetails.xaml#L58

Thanks it worked. Yes sorry it relating to fullscreen.
I also had to change the following values, otherwise it would re-mute itself if you scrolled down.


Rapsberry 4

hi,
when i try to install your plugin on a Rapsberry 4, i have this error:
sudo npm run start -- auto-auth

<EMAIL_ADDRESS>start /home/pi/homebridge-freebox-home
node src/index.js "auto-auth"

/home/pi/homebridge-freebox-home/node_modules/better-logging/dist/lib/logger.js:30
const implementationArray = [implementation].flatMap(v => v)
^
TypeError: [implementation].flatMap is not a function
at new LoggerContext (/home/pi/homebridge-freebox-home/node_modules/better-logging/dist/lib/logger.js:30:54)
at Object.exports.CustomInstance (/home/pi/homebridge-freebox-home/node_modules/better-logging/dist/api.js:17:22)
at Object. (/home/pi/homebridge-freebox-home/node_modules/better-logging/dist/api.js:20:33)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: node src/index.js "auto-auth"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-07-24T08_51_05_841Z-debug.log
pi@raspberrypi:~/homebridge-freebox-home $ sudo npm run start -- auto-auth

<EMAIL_ADDRESS>start /home/pi/homebridge-freebox-home
node src/index.js "auto-auth"

can you help me to install on a rapsberry for have one Homebridge install for my all domo ?
Thanks

Can you provide your setup spec ? node & npm version ?

node v10.21.0
npm v6.14.7
Linux raspberrypi 5.4.51-v7l+ #1327 SMP

So you are about 6 major version behind the supported node version.
I suggest you use the n node version manager.
sudo npm install -g n
sudo n 12.16.2

This will update your node to 12.16.2.

thanks it's better.
root@raspberrypi:/home/pi/homebridge-freebox-home# sudo npm run start -- auto-auth

<EMAIL_ADDRESS>start /home/pi/homebridge-freebox-home
node src/index.js "auto-auth"

[14:36:49][7/24/2020] [-] Store file already present
[14:36:49][7/24/2020] [!] Token has nil value
but nothing on the freebox ...

Remove the auto-auth parameter, I need to update the readme.
This parameter should be there only if you already have credentials.

the same : sudo npm run start

<EMAIL_ADDRESS>start /home/pi/homebridge-freebox-home
node src/index.js

[15:02:56][7/24/2020] [-] Store file already present
[15:02:56][7/24/2020] [!] Token has nil value

What happened here is the previous start (auto-auth) created a store file with a nul value.
You have to delete it (src/.store) and re-run the serveur.
Another option would be to manually request credentials buy calling this endpoint :
http://{your_raspberry_pi_ip_adresse}:8888/api/fbx/auth

I might rename the auto-auth by something more consistent and less deceptive like use-stored-cred, and create a "real" auto-auth.

ok i'm not an expert on Linux sorry,
where i delete the (src/.store) ?
and http://{your_raspberry_pi_ip_adresse}:8888/api/fbx/auth with the ip of the raspberry is page not found.
with a netstat, nothing listen on 8888 ...
Thanks

Make sure your server is running (sudo npm run start) while requesting the api/fbx/auth.
To delete the .store, simply go on the cloned repository, and type rm src/.store.

ok is good after restart the server, i try ta view the authentication on the freebox and give the rights on freeboxOS.
But when i go on http://rapsberry:8888/api/homebridge/conf, i have a connection refused.

Ok. Not sure I got your last message.
Before calling homebridge/conf, make sure :

The server is still running.
You have a running Homebridge instance.
All three permissions required has been granted on FreeboxOS.

it work, but not  automatically, i do start the server, how i can run this instance automaticaly when raspberry start or on service ?

To make you raspberry pi automatically start the server and homebridge, I suggest to use PM2 as a process manager.
sudo npm install -g pm2

Start Homebridge
pm2 start homebridge

Start Homebridge-Freebox-Home
pm2 start src/index.js

then save the config, and add to startup
pm2 save
pm2 startup


fix: add cached shortcuts to the imports

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

cachedFunction
cachedEventHandler

We may need to update the example to cachedFunction as well here: https://nitro.unjs.io/guide/cache.html#examples
📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Thanks!


Routing updates (post RC1 features)

Middleware later in the pipeline can access route data using HttpContext extension methods. See https://github.com/aspnet/Routing/blob/dev/src/Microsoft.AspNetCore.Routing.Abstractions/RoutingHttpContextExtensions.cs

#1077


New debugger displays warnings about speeds using cython not found

Old version of PTVSD didn't display this warning, new version of PTVDS does.
Here's the old version:

Here's the output from the new version:

I consider this a P0, as we're displaying warnings that we didn't (removed) in previous versions. This will end up confusing users.

Resolved upstream


Make generateProto compatible for Windows

This fix makes generateProto work on Windows. Now it results in this error:
--as_out: protoc-gen-as: %1 is not a valid Win32 application.

thanks for the PR. I will publish it


Playwright tips updates

Affected Components

[ ] Content & Marketing
[ ] Pricing
[ ] Test
[x] Docs
[ ] Learn
[ ] Other

Updating Playwright e2e tips
Most e2e examples updated except for the Live & Google login approaches. I have more examples ready to update, but wanted to give this a pass first.

@ragog @modern-sapien can we close or merge this?


how to download in es-LA or es-MX

i tried to download in spanish latam audio but i can't find the correct code, but if i tip es-ES, it download in spain audio, need help

Maybe the anime you are trying to download don't have the dub in Spanish Latam.
Have you checked it?

Also, if you type:
crunchy-cli search --help you can see all the options available, like this:
Search in videos

Usage: crunchy-cli search [OPTIONS] <INPUT>

Arguments:
  <INPUT>

Options:
      --audio <AUDIO>
          Audio languages to include. Available languages are:
            ar-ME  → Arabic
            ar-SA  → Arabic (Saudi Arabia)
            ca-ES  → Catalan
            de-DE  → German
            en-IN  → English (India)
            en-US  → English (US)
            es-419 → Spanish (Latin America)
            es-ES  → Spanish (European)
            es-LA  → Spanish (Latin America)
            fr-FR  → French
            hi-IN  → Hindi
            id-ID  → Indonesian
            it-IT  → Italian
            ja-JP  → Japanese
            ko-KR  → Korean
            ms-MY  → Malay
            pl-PL  → Polish
            pt-BR  → Portuguese (Brazil)
            pt-PT  → Portuguese (Europe)
            ru-RU  → Russian
            ta-IN  → Tamil
            te-IN  → Telugu
            th-TH  → Thai
            tr-TR  → Turkish
            vi-VN  → Vietnamese
            zh-CN  → Chinese (China)
            zh-CN  → Chinese (China)
            zh-TW  → Chinese (Mandarin)

          [default: en-US]

So, if you are sure the anime have the audio, you can try one of the options above.

yes es-419 worked after trying es-LA with errors


radialBar should support NON percentage value and also min max options

Is your feature request related to a problem? Please describe.
radialBar seems to work only with % which in most cases should work well. And we know we can calc % from our known max and min values.
We saw we can format the label by removing also the % symbol and at this point we can also calc from percentage to your value.
But isn't this a little bit tricky??
Would it not nice to have a min, max value and the % symbol should be added only with formatter and not as default? This behavior would be much more general purpose
Thx a lot

Good suggestion. Will think of it in future releases.
Closing it as it is a duplicate of #449


Spread operator typescript 1.4.1

Versions

tslint: 2.1.1
typescript: 1.4.1

I'm using gulp-tslint which in turn uses tslint.
private func(arg1: (...any) => string): string {}
I have a function that uses the spread operator in the type definition, this is to allow me to call func with
public exampleOne(str: string): string or
public exampleTwo(str: string, radix: number): string as arg1
This gives me the error:
expected parameter: 'any' to have a typedef
Is there any other way of achieving this?

Update
private func(arg1: (any) => string): string {} and
private func(arg1: () => string): string {}
both pass the linting process but typescript fails to compile.

Solution
The following works as expected. I forgot to specify the argument name.
private func(arg1: (...args: any[]) => string): string {}


Load widget scripts from all known Jupyter paths

Fixes #10722

Codecov Report

Merging #10726 (b65ca65) into main (d701ada) will decrease coverage by 0%.
The diff coverage is 37%.

:exclamation: Current head b65ca65 differs from pull request most recent head 82e53e4. Consider uploading reports for the commit 82e53e4 to get more accurate results

@@          Coverage Diff           @@
##            main   #10726   +/-   ##
======================================
- Coverage     62%      62%   -1%
======================================
  Files        476      476
  Lines      32985    33048   +63
  Branches    5356     5379   +23
======================================
+ Hits       20732    20762   +30
- Misses     10261    10291   +30
- Partials    1992     1995    +3

Impacted Files
Coverage Δ

src/kernels/raw/finder/jupyterPaths.node.ts
54% <37%> (-10%)
:arrow_down:

src/notebooks/outputs/tracebackFormatter.ts
93% <0%> (-7%)
:arrow_down:

.../standalone/survey/dataScienceSurveyBanner.node.ts
66% <0%> (-6%)
:arrow_down:

...rc/kernels/debugger/debugLocationTrackerFactory.ts
96% <0%> (-4%)
:arrow_down:

src/platform/common/utils/decorators.ts
90% <0%> (-1%)
:arrow_down:

src/kernels/helpers.ts
61% <0%> (-1%)
:arrow_down:

src/platform/msrCrypto/msrCrypto.js
16% <0%> (-1%)
:arrow_down:

src/platform/vscode-path/map.ts
10% <0%> (+<1%)
:arrow_up:

...lPythonAndRelatedNonPythonKernelSpecFinder.node.ts
71% <0%> (+<1%)
:arrow_up:

src/platform/common/process/proc.node.ts
82% <0%> (+1%)
:arrow_up:

... and 5 more


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 930 ms

Resolved: Bofrost.de performance has improved in 2b00756.


invalid .names entry

I am trying out the arachne-pnr on a blif file generated with yosys, and it fails on invalid .names entry.
I am using these versions:
Yosys 0.6+209 (git sha1 9b8e06b, gcc 6.1.1 -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fPIC -Os)
arachne-pnr 0.1+171+0 (git sha1 52e69ed, g++ 6.2.1 -O2)
The build script I am using with yosys is:
read_verilog verilog/Simple/counter.v
read_verilog verilog/Simple/Simple_a4.v
read_verilog verilog/Simple/Simple_binaryTo7Segment_0.v
read_verilog verilog/Simple/Simple_binaryTo7Segment.v
read_verilog verilog/Simple/Simple_BitPackBitVector1.v
read_verilog verilog/Simple/Simple_BitPackBitVector2.v
read_verilog verilog/Simple/Simple_bundler_sbundler.v
read_verilog verilog/Simple/Simple_countThe_scountThe.v
read_verilog verilog/Simple/Simple_debounce.v
read_verilog verilog/Simple/Simple_limiter.v
read_verilog verilog/Simple/Simple_released.v
read_verilog verilog/Simple/Simple_toggle.v
read_verilog verilog/Simple/Simple_topEntity.v

hierarchy -check -top counter

proc;    opt
memory;  opt
techmap; opt
flatten; opt

write_blif -unbu counter.blif

I added the flatten command because before that the generated blif file contained .subckt definitions which currently are not supported by arachne-pnr #21 .
I then invoke arachne-pnr like this:
arachne-pnr -d 1k -p Go_Board_Constraints_arachne_pnr.pcf -P vq100 -o counter.asc counter.blif
The error message I then get from arachne-pnr is:
seed: 1 device: 1k read_chipdb +/share/arachne-pnr/chipdb-1k.bin...   supported packages: cb121, cb132, cb81, cm121, cm36, cm49, cm81, qn84, swg16tr, tq144, vq100 read_blif counter.blif... counter.blif:11: fatal error: invalid .names entry
The first content (including the line of the error) of the blif file used is:
# Generated by Yosys 0.6+209 (git sha1 9b8e06b, gcc 6.1.1 -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fPIC -Os)

.model counter
.inputs i_Switch_1 system1000 system1000_rstn
.outputs o_LED_1 o_Segment1_A o_Segment1_B o_Segment1_C o_Segment1_D o_Segment1_E o_Segment1_F o_Segment1_G
.names $false
.names $true
1
.names $undef
.names Simple_topEntity_inst.Simple_binaryTo7Segment_0_result_0.map[6].Simple_BitPackBitVector1_0.result o_Segment1_A
0 1

counter.blif.txt
I should mention that I am a beginner in FPGAs.
I don't know whether this is a bug or me not using the tools correctly.

You have to map your design to the iCE40 architecture in your Yosys script. You don't do that. Instead you generate a logic-level blif file like one would use as input to ABC.
Mapping to iCE40 cells is usually done using the command synth_ice40. See literally any IceStorm example or tutorial for a usage example.
In your case, instead of running
hierarchy -check -top counter

proc;    opt
memory;  opt
techmap; opt
flatten; opt

write_blif -unbu counter.blif

Simply run:
synth_ice40 -top counter -blif example.blif

If you don't want to use the synth_ice40 command, see help synth_ice40 for more information on how the command does what it does, and use that as a starting point for your custom script.

Thank you so much, sorry for the unnecessary report! It is working like expected with the synth_ice40 command.


wip conductor fixes

Part of https://github.com/flutter/flutter/issues/81491
Changes in this PR:

conductor pushes local engine changes to mirror
conductor rolls cherrypicks engine hash to the framework - fixes https://github.com/flutter/flutter/issues/85795
conductor pushes local framework changes to mirror
various updates to logging to clarify process

Is this ready for review?

Is this ready for review?

Yes it is, I updated the title


fix: validate perspective config

@snorrees do you know how we can widen the perspective type to allow strings, without losing IDE autocomplete?

@snorrees do you know how we can widen the perspective type to allow strings, without losing IDE autocomplete?

Only for IntelliJ, not VsCode unfortunatly (MyType | string).

@snorrees do you know how we can widen the perspective type to allow strings, without losing IDE autocomplete?

Only for IntelliJ, not VsCode unfortunatly (MyType | string). Whats in the PR works for IntelliJ.
Could try function overloading and see if it changes anything (guessing here)?

Try this. It was suggested recently for core apis but there it lead to cascading inferrence issues. You probably wont have that problem here.
https://github.com/microsoft/TypeScript/issues/29729#issuecomment-567871939

Unable to get it to work, but if 5.2 fixes it maybe that's ok for now @snorrees?


single include header file is outdated (release v3.12.0)

Hey,
first of all: thank you very much for your great work! I just realized that the published release v3.12.0 contains an outdated single-include header file (single_include/entt/entt.hpp). This also affects the current master branch. The single header file reports:
#define ENTT_VERSION_MAJOR 3
#define ENTT_VERSION_MINOR 11
#define ENTT_VERSION_PATCH 0

Strangely, this is not the previous release v3.11.1, but the one before that.
Best regards,
Michael

Oh, yeah, I never remember to update it. 😅
I'm about to create a v3.12.1 to get backward compatibility with the snapshot class. I'll fix the single include file there too. 👍
Thanks for pointing this out.

Updated with the last tag (v3.12.1) and on the wip branch (soon master).


Add simple substitution for Maven project.version into "index.html"

What this PR does:
Injects project.versions from Maven build into Quarkus webapp home page "index.html" so that we can easily see version of (REST) API deployed.
Note: at first only added for REST API but can easily add to other APIs if we like the idea
Which issue(s) this PR fixes:
Fixes #2285
Checklist

[x] Changes manually tested
[ ] Automated Tests added/updated
[ ] Documentation added/updated
[x] CLA Signed: DataStax CLA

Do we really need this? Would the git changes here be handled by the PR that is bumping the version?

Seems nice to have a way to see the actual build version, not mandatory of course.
Replacer simply uses active value from Maven build to modify file mechanically, not relying on git per se. As far as I know it works fine under all circumstances.

Do we really need this? Would the git changes here be handled by the PR that is bumping the version?

Seems nice to have a way to see the actual build version, not mandatory of course.
Replacer simply uses active value from Maven build to modify file mechanically, not relying on git per se. As far as I know it works fine under all circumstances.

Yea sure, there are no constant git changes here.. Would this work if defined in commons with the regex for targetting the index.html files in all sub-modules?

Wait merged, what about other APIs?

@ivansenic Ah. Sorry, yes, it would make sense to update others -- will do that as follow-up.


Would like to have a field based custom validation

I would like to implement specific field based validations. I was looking if I could register a regular expression there.
I could do it in the onValidation handler but I could not find, how to report the problems in the same way as w2ui builtin validation does.

Here is an example how you can report errors back
onValidate: function(event) {
    var date1 = w2utils.isDate(this.record.date1, null, true); // returns JS Date object
    var date2 = w2utils.isDate(this.record.date2, null, true); // returns JS Date object
    if (date1 > date2) {
        event.errors.push({
            field: this.get('date1'),
            error: 'Registration date should be prior to submission date'
        });
    }

I have added it to the docs in 1.5 branch


[AutoPR migrateprojects/resource-manager] Swagger closure for Azure Migration Hub Operations

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4330

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/3266


Issue to use this site on Cloudflare pages. #803

Checklist

[ ] I have read the tutorials and know the correct effect of the functional design.
[ ] There are no similar reports on existing issues (including closed ones).
[ ] I found the bug on the latest code of the master branch.

Describe the bug
@cotes2020  @ZakKemble  @GriceTurrble  @joshjohanning
issue to use this site on Cloudflare pages.
2022-12-22T14:17:44.188434Z	Cloning repository...
2022-12-22T14:17:45.279906Z	From https://github.com/Nexus-Gits/jekyll-theme-chirpy
2022-12-22T14:17:45.280511Z	 * branch            ccf4490c0c3755ded2a5bb46b29413b0da9f013a -> FETCH_HEAD
2022-12-22T14:17:45.280758Z
2022-12-22T14:17:45.366865Z	HEAD is now at ccf4490 Update jekyll-theme-chirpy.gemspec
2022-12-22T14:17:45.367461Z
2022-12-22T14:17:47.314413Z	Submodule 'assets/lib' (https://github.com/cotes2020/chirpy-static-assets.git) registered for path 'assets/lib'
2022-12-22T14:17:47.315064Z	Cloning into '/opt/buildhome/clone/assets/lib'...
2022-12-22T14:17:47.315283Z	Submodule path 'assets/lib': checked out 'e372141074f370c6f03b68b5264e7663f2b7477c'
2022-12-22T14:17:47.315508Z
2022-12-22T14:17:47.348171Z	Success: Finished cloning repository files
2022-12-22T14:17:48.097339Z	Installing dependencies
2022-12-22T14:17:48.110563Z	Python version set to 2.7
2022-12-22T14:17:51.796084Z	v12.18.0 is already installed.
2022-12-22T14:17:53.003606Z	Now using node v12.18.0 (npm v6.14.4)
2022-12-22T14:17:53.23106Z	Started restoring cached build plugins
2022-12-22T14:17:53.246858Z	Finished restoring cached build plugins
2022-12-22T14:17:53.766385Z	Attempting ruby version 2.7.1, read from environment
2022-12-22T14:17:57.60592Z	Using ruby version 2.7.1
2022-12-22T14:17:57.990754Z	Using PHP version 5.6
2022-12-22T14:17:57.991589Z	Started restoring cached ruby gems
2022-12-22T14:17:58.008585Z	Finished restoring cached ruby gems
2022-12-22T14:17:58.009273Z	Installing gem bundle
2022-12-22T14:17:58.304999Z	[DEPRECATED] The --path flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use bundle config set path '/opt/buildhome/cache/bundle', and stop using this flag
2022-12-22T14:17:58.467374Z	[DEPRECATED] The --binstubs option will be removed in favor of bundle binstubs
2022-12-22T14:18:01.185657Z	Fetching gem metadata from https://rubygems.org/..........
2022-12-22T14:18:01.370992Z	Fetching gem metadata from https://rubygems.org/.
2022-12-22T14:18:01.486636Z	Resolving dependencies...
2022-12-22T14:18:01.54181Z	sass-embedded-1.57.1-x86_64-linux-gnu requires rubygems version >= 3.3.22, which
2022-12-22T14:18:01.542253Z	is incompatible with the current version, 3.1.2
2022-12-22T14:18:01.576867Z	Error during gem install
2022-12-22T14:18:01.584031Z	Failed: build command exited with code: 1
2022-12-22T14:18:02.469245Z	Failed: an internal error occurred

To Reproduce
Steps to reproduce the behavior:

Expected behavior

Screenshots

Environment

Command
Version

ruby -v

gem -v

bundle -v

bundle exec jekyll -v

bundle info jekyll-theme-chirpy

Desktop

Smartphone

Additional context

Hi @Nexus-Gits, I saw you made a duplicate issue at the main repository here. As that is the main repo, I'm going to close your issue here as cotes2022 is way more knowledgeable than I.
However, I think this PR will fix your issue: https://github.com/cotes2020/jekyll-theme-chirpy/pull/826


0.73 Yeelight problems :(

Home Assistant release with the issue:
0.73 & 0.73.1

Last working Home Assistant release (if known):
0.72.x
Operating environment (Hass.io/Docker/Windows/etc.):
Raspbian
Component/platform:
Yeelight
Description of problem:
After upgrade HA from 0.72.x to 0.73 (and 0.73.1) YEELIGHT doesn't works
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
Upgrading to the new HA version appears a message :

pyowm 2.8.0 has requirement requests<2.19,>=2.18.2, but you'll have requests 2.19.1 which is incompatible.

Traceback (if applicable):

Additional information:

Please check https://github.com/home-assistant/home-assistant/issues/15333 for details and a potential temporary fix

@Pharizna @fabaff PyOWM 2.9 is out, it should fix the
pyowm 2.8.0 has requirement requests<2.19,>=2.18.2, but you'll have requests 2.19.1 which is incompatible.

issue

Thank you...but the Yeelight problem has been solved and it’s not related with pyowm.
It seems that with the last firmware upgrade for this lamp, “forgot” the LAN mode. Reconfigurating it from the app...now the Yeelight is wokimg fine again :)


Example app might block

I believe there's a bug in the example app:
Android, MainActivity:
        MethodChannel(flutterEngine.dartExecutor, CHANNEL).setMethodCallHandler { call, result ->
            if (call.method == "initialLink") {
                if (startString != null) {
                    result.success(startString)
                }
            }
        }

In most cases, the app is launched "normally" and not through a deep link, which means startString would be null.
if startString is null or if the method is not initialLink, no result will be sent to the Flutter end.
If the caller is using await, the code would block indefinitely.
In your Flutter code, you use then on the future, and therefore do not see the blocking issue:
    _startUri().then(_onRedirected);

But if your code would have used async/await it would not have worked.
A possible solution would be to send a result in any case:
        MethodChannel(flutterEngine.dartExecutor, CHANNEL).setMethodCallHandler { call, result ->
            if (call.method == "initialLink") {
                result.success(startString)
            }

            result.error(...)
        }

https://github.com/appcues/appcues-flutter-plugin/blob/68c35fb8e62e2cc5b8836b2f273a4cda0791e51e/example/android/app/src/main/kotlin/com/appcues/samples/flutter/MainActivity.kt#L25

https://github.com/appcues/appcues-flutter-plugin/blob/68c35fb8e62e2cc5b8836b2f273a4cda0791e51e/example/lib/src/app.dart#L64

Thank you for the feedback, we will look into that


Use this approach for 5000x5000pixels

Hi, can we use this approach for HD images like satellite images - 5000x5000px to 10000-10000px

Thanks for your interest. Theoretically, you can as long as the model fits into your memory. However, I would recommend downsizing the image if possible.


Acrylic style selection does not show windows behind taskbar

Actual Behavior
Acrylic Style

Expected Behavior
More like the Blur Style

Steps to Reproduce the Problem

TaskbarX Configurator
Style
Acrylic
Apply
Move a window behind the taskbar

Specifications

App Version: <IP_ADDRESS>
Windows Version: 1909 - 18363.836

Other

Tested between two different installs of Windows (same version and builds)
Tested with both AMD and NVIDIA gpus

@primes1022 Well sometimes it does and sometimes it doesn't. Sadly Acrylic is buggy and i can't fix that. The problem is that the taskbar itself reacts so different to it :/


Redirect to review page of place

Steps to reproduce

Submit a feedback.

What happens
You are redirected to the page with all the feedback entries.
What should happen
You are redirected to the page with the feedback entries of the corresponding place. This would make it easier to spot your submitted review. Alternatively or additionally, it could be scrolled to or highlighted for a moment to further improve its visibility.

Hi, I'm a first-time contributor and would love to work on this issue! Do let me know if it's possible. Thank you!

I had a look at this yesterday evening and made this PR: https://github.com/yunity/karrot-frontend/pull/2417

@esharb - sorry for not coming back to you earlier! In case you're still around, maybe you're interested in https://github.com/yunity/karrot-frontend/issues/2318?


[R] Fix duplicated libomp.dylib error on Mac OSX

Addresses #5496. The relevant error is
OMP: Error #15: Initializing libomp.dylib, but found libomp.dylib already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program.

This should also fix the CRAN check failure: https://www.r-project.org/nosvn/R.check/r-oldrel-osx-x86_64/xgboost-00check.html

@hcho3 This sounds great! Let me see if I have time this week, if not then the weekend after NeurIPS deadline.

@hetong007 Thanks, and good luck with the NeurIPS submission. I'm submitting one myself.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #5701   +/-   ##
=======================================
  Coverage   82.17%   82.17%
=======================================
  Files          12       12
  Lines        2732     2732
=======================================
  Hits         2245     2245
  Misses        487      487

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 1ba24a7...99b84ae. Read the comment docs.

@hetong007 Any updates on the CRAN submission? Anything I can help?

I tested with the 1.1.0 release branch. There's one warning from the auto-check:
* checking whether package 'xgboost' can be installed ... WARNING
Found the following significant warnings:
  amalgamation/../src/c_api/c_api.cc:184:64: warning: narrowing conversion of 'len' from 'xgboost::bst_ulong' {aka 'long long unsigned int'} to 'xgboost::common::Span<const int>::index_type' {aka 'unsigned int'} inside { } [-Wnarrowing]
See 'd:/RCompile/CRANguest/R-release/xgboost.Rcheck/00install.out' for details.

Reference: https://win-builder.r-project.org/t7317n4Hy8es/00check.log

@hcho3 is there any chance to have your help on this warning? Thanks!

@hetong007 See #5777

Awesome! I'm submitting to pre-test now.

@hetong007 Any update on the submission?

@hcho3 On its way to CRAN. So far all <IP_ADDRESS> results are good! https://cran.r-project.org/web/checks/check_results_xgboost.html


Update for docker container

Hi @jepbura,
Thank you for creating repository and docker node for gaganode.
I tried to use docker pull but the it shows manifest unknown.
Could you please update the app in docker hub platform.
https://hub.docker.com/r/jepbura/gaganode
Thank you

Hi @engageub,
The problem is solved.
You can use jepbura/gaganode:2 version 2.

Hi @jepbura,
Thank you for the update. I see your code supports arm64 architecture. Could you please add that to docker also.
From the list of tags I only see amd64.
https://hub.docker.com/r/jepbura/gaganode/tags
Thank you

I tried to do docker pull but the access is denied.
The error shows "pull access denied for jebpura/gaganode, repository does not exist or may require 'docker login': denied:   request access to the resource is denied".
Could you please provide permissions in dockerhub for public access.
Thank you

@engageub
You should have used the following command:
pull access denied for jebpura/gaganode: 2
But in any case, I made it this way now
pull access denied for jebpura/gaganode
So it doesn't matter which one you use.

@engageub
In the meantime, I check the type of CPU model with the following commands:
if [ "${cpu_arch}" = "x86_64" ]; then DOWNLOADLINK=$AMD FILENAME="app-linux-amd64.tar.gz" elif [[ "${cpu_arch}" = "arm64" ]] || [[ "${cpu_arch}" = "aarch64" ]]; then DOWNLOADLINK=$ARM FILENAME="app-linux-arm64.tar.gz" else echo "Your CPU type dose not support"  exit 1 fi
that x86_64 is for amd64's model.

@jepbura,
Thank you for the update. The latest version is working fine for amd64. I see the node online.
Could you please update architecture in docker for arm64 also.
https://hub.docker.com/r/jepbura/gaganode/tags
Thank you

@engageub
Solved,
Use docker pull jepbura/gaganode:arm64 for arm64.
And use docker pull jepbura/gaganode:amd64 for amd64.

@jepbura ,
Thank you for the update.
Could you please update meson nodes also similarly. The last update was 5 months back and it has the same problem.
https://hub.docker.com/r/jepbura/meson/tags
Thank you

@engageub
Solved,
Use docker pull jepbura/meson:arm64 for arm64.
And use docker pull jepbura/meson:amd64 for amd64.
But because I don't have an active server, I couldn't test it.

Thank you for the update.
Meson node was not showing online. I tried it in the following website. gaganode works fine.
https://labs.play-with-docker.com/
The logs don't show any errors.
If you want to test docker, you may use the following. It resets every ~4 hours.
https://labs.play-with-docker.com/

@engageub
It's interesting,
I can't even run Meson on a server without docker.
I wrote this Dockerfile a few months ago.
Unfortunately, it doesn't work now

@engageub
It ran without any problems for me.

Just note that the port you choose in ENV must be kept open at the same time:
docker run -d -p 9222:9222 -e TOKEN=xxxxxxxxx -e PORT=9222 --name meson jepbura/meson:latest
And that it takes a while for Node to appear in user_node.

Thank you for the response. Could you please update this in your instructions also. If space or cache-size is variable, could you please add this variable as part of environment variable instead of hardcoding it in the script. This will let users to set the size based on the availability of diskspace.
Keeping the default value if nothing is specified for cache-size will be fine.
If possible can mount point to specified for the cache size allocation before the container starts. This is to ensure there is no data loss when containers are deleted.
Thank you

@engageub
I added CACHE_SIZE to Meson's docker image.


Strange spectral rays in the output

First, thanks for this great job, it is very, very useful to test, evaluate, compare...
I have one question about the pretrained model (Cosentino/ConvTasNet_LibriMix_sep_noisy, mpariente/DPRNNTasNet_WHAM!_sepclean ...):
My input is 8 kHz signal. Why do I have a spectral ray at 1 kHz + all harmonics into the output ?
Thanks in advance

Thanks for the kind words !
See #255 please.
Can you update to 0.3.4 and see if this is still the case?

 I forgot to look into the closed issues !!!!
Thanks for the quick answer.
I do the test right now

Works well now with the last version, thanks for your help
And sincerely, it's a very good job.


ldap connection_auto_bind pr

hi, i found that out LDAP flexible for tls bindings settings, pls merge it ?
default are the same.
thanks !

more correct, sorry :

  connection_auto_bind = TLS_BEFORE_BIND # available options: NONE | TLS_AFTER_BIND | TLS_BEFORE_BIND | NO_TLS

  connection_auto_bind = NONE # available options: NONE | TLS_AFTER_BIND | TLS_BEFORE_BIND | NO_TLS

travis-ci failed cause i can`t found there is default airflow.cfg stored ... plz fix it

You also need to add a few lines in configuration.py to 1-set a default, and 2-have it documented as part of the auto-generated airflow.cfg

Hi @zstan . Thanks for the contribution! After you updated the PR with mistercrunch recommendation please follow these http://chris.beams.io/posts/git-commit/ guidelines for your commit message. It helps creating changelogs and release notes in the future. In this case a more descriptive and imperative title and a description that makes clear what and why your are updating.

mistercrunch@ i hope i fix all you told, bolkedebruin@ thanks i would follow this !
don`t know why travis-ci false ...


Update default network provider.

Default when using ./rke config and also described here:
https://rancher.com/docs/rke/v0.1.x/en/config-options/add-ons/network-plugins/

@moelsayed @galal-hussein In RKE CLI, do we default to flannel or canal?
@drewgwallace In Rancher, we default to canal through the UI but not sure if that's the case in RKE CLI.

@deniseschannon in RKE cli we default to canal: https://github.com/rancher/rke/blob/master/cluster/defaults.go#L29


fix: check if url (puppetmaster endpoint) start with http

@jframos

LGTM, but CLAUDIA-4940 should be solved ASAP to get the puppetdb endpoint from keystone service catalog.


Add web manifest

📓 Documentation Update
What part of documentation was unclear or wrong?
Our documentation can be added on the Home Screen on smartphones and tablets. It will look like a native app on those devices.
We can add a web manifest to docs in order to have our logo and avoid having a generic logo provided by default

Close: Implemented in the PRs #358 #362 #363


whois command is not preinstalled on Ubuntu 20 so a quick installation line added.

Hello alibk95, thank you for your PR. But this command is not useful in this kind of cheatsheet.


Initialize vectors on first use, not statically.

@umar456 sorry to mess up your pretty code; forced by style guide.

Looks good to me.

-1
I still think this is forbidden by the style guide.
https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables
In particular:
"Objects with static storage duration, including global variables, static variables, static class member variables, and function static variables, must be Plain Old Data (POD): only ints, chars, floats, or pointers, or arrays/structs of POD."
And then explains why: indeterminate destruction order in this case, and the potential for keeping references to data that has already been destroyed.
Yes, these have static storage duration, as per:
http://en.cppreference.com/w/cpp/language/storage_duration#Storage_duration
because the variables are marked "static", even though they are function static.
Sure, you could argue it's not a problem now in the (test) code. But same was true before this CL.
Seems a sideways move. Not really solving the problem.

@dneto0 Um, pointers? ;)

must be Plain Old Data (POD): only ints, chars, floats, or pointers, or arrays/structs of POD.

Whoops.  I missed seeing that it's a "new", and hence my whole interpretation is wrong.
This leaks an object, but I'm ok with that in test code, and it's the recommended solution for this kind of thing.
+2


For storyboard file, handle projects where the primary component is invoked by a ReactDOM.render call, but is otherwise inaccessible.

A common pattern in projects which are an application is the following:
const App = ...

ReactDOM.render(<App />, ...)

Ideally the use of ReactDOM.render should indicate a component that is more likely to be the "main" component over any other.
For those projects that have an unexported component referenced in this way, should make that be exported if possible. Otherwise perhaps add the storyboard to that file itself.

Definitely agree that ReactDOM.render should indicate the component most likely to be the main component. I think for these types of projects it would be acceptable to update their file to export that component (since that would be less intrusive than adding the storyboard to that file itself).


Add data/cache to gitkeep

Add data/cache to gitkeep to prevent checkout of project to different location from throwing non-existent directories warning.

Maybe it should be hotfix also to master (v2)?

We only created data/cache for v3.

Thanks, @alextech!


temporal: 1.22.0 -> 1.22.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/temporalio/temporal/releases.
meta.description for temporal is: A microservice orchestration platform which enables developers to build scalable applications without sacrificing productivity or reliability
meta.homepage for temporal is: https://temporal.io
meta.changelog for temporal is: https://github.com/temporalio/temporal/releases/tag/v1.22.1
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 1.22.1 with grep in /nix/store/8q8vz5sm6mjvcx8adphgxy84nhq9q1q0-temporal-1.22.1
found 1.22.1 in filename of file in /nix/store/8q8vz5sm6mjvcx8adphgxy84nhq9q1q0-temporal-1.22.1

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
temporal

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8q8vz5sm6mjvcx8adphgxy84nhq9q1q0-temporal-1.22.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A temporal https://github.com/r-ryantm/nixpkgs/archive/b60a84bb8ac2faccc866d9d36aa8ee357ea58db5.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/b60a84bb8ac2faccc866d9d36aa8ee357ea58db5#temporal

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8q8vz5sm6mjvcx8adphgxy84nhq9q1q0-temporal-1.22.1
ls -la /nix/store/8q8vz5sm6mjvcx8adphgxy84nhq9q1q0-temporal-1.22.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

temporal

Maintainer pings
cc @titanous for testing.

ofborg says
building '/nix/store/b0f4fnc0acswkvxfrf7qbnz22wl3bzrx-temporal-1.22.1-test-version.drv'...
Version string '1.22.1' not found!
The output was:
temporal version 1.22.0
error: builder for '/nix/store/b0f4fnc0acswkvxfrf7qbnz22wl3bzrx-temporal-1.22.1-test-version.drv' failed with exit code 1;
       last 3 log lines:
       > Version string '1.22.1' not found!
       > The output was:
       > temporal version 1.22.0
       For full logs, run 'nix log /nix/store/b0f4fnc0acswkvxfrf7qbnz22wl3bzrx-temporal-1.22.1-test-version.drv'.

1.22.2 is out, please open a new PR.


Investigate potential exploits with the movableSpawners and movableEndPortalFrames carpet rules

Potential exploit for the rules movableSpawners and movableEndPortalFrames carpet rules that needs investigating and testing.
When a block is pushed by a piston, it enters a state where it has 0 blast resistance. If tnt explodes whilst in this state it will drop the item. Need to check if the spawners and portal frames will not drop in this state. If they do, probably want an item to change the mechanism to prevent this by default, but it would be cool to allow this behavior for those who want it.
Result of investigation will be to create new work items, either a bug or an improvement (or both!)

Not exploitable!


Add reproducible comparison tests on windows

Issues:

[x] https://github.com/adoptium/infrastructure/issues/3453
[x] Auto trigger by upstream( beta-trigger) , figure out the jdk and sbom file - adding reproducible.mk
[x] workdir doesn't work with jenkins user,
[x] install apt-cygwin - no permission @steelhead31 if apt-cygwin is must we will have to ask infra to install it on the jenkins agents?
[x] Invalid build.sh option: --with-version-opt
[x] configure: error: Your base path is too long. It is 170 characters long, but only 100 is supported.
[ ] Error: Cannot locate spec.gmk, given by SPEC=win_x86-64. https://github.com/adoptium/temurin-build/issues/3711#issuecomment-2025880943

@sophia-guo the requirement for apt-cygwin is no longer relevant, as the playbooks have been updated to install jq , so there is no need for this... I'll put a PR in for this update.

Invalid build.sh option: --with-version-opt
14:11:15  Building JDK...
14:11:15  Starting ./makejdk-any-platform.sh to configure, build (Adoptium)OpenJDK binary
14:11:16  Parsing opt: --clean-git-repo
14:11:16  Possible opt arg: --jdk-boot-dir
14:11:16  Parsing opt: --jdk-boot-dir
14:11:16  Possible opt arg: /cygdrive/c/jenkins/workspace/Grinder/aqa-tests/TKG/output_17110446512142/Rebuild_Same_JDK_Reproducibility_Test_win_0/cmp20240321181053/jdk-20.0.2+9
14:11:16  Parsing opt: --with-version-opt
14:11:16  Possible opt arg: ea--target-file-name
14:11:16  Invalid build.sh option: --with-version-opt
14:11:16  cp: cannot stat '/cygdrive/c/jenkins/workspace/Grinder/aqa-tests/TKG/output_17110446512142/Rebuild_Same_JDK_Reproducibility_Test_win_0/cmp20240321181053/temurin-

https://ci.adoptium.net/view/Test_grinder/job/Grinder/9240/console

configure: error: Your base path is too long. It is 170 characters long, but only 100 is supported
Top dir

I'm at /cygdrive/c/jenkins/workspace/Grinder/aqa-tests/TKG/output_17113746753551/Rebuild_Same_JDK_Reproducibility_Test_win_0/cmp20240325135117/temurin-build/workspace/build/src

JDK build top dir:
16:06:01  Currently at '/cygdrive/c/workspace/openjdk-build/workspace/build/src'

This is specific to windows. In beta jdk build the TOPDIR is set as /cygdrive/c/workspace/openjdk-build, which is nothing related with the jenkins build job name. See the linux top dir is /home/jenkins/workspace/build-scripts/jobs/jdk21u/jdk21u-linux-x64-temurin/workspace/build/openjdkbuild. That is for windows due to the path lenght the topdir has been explicitly set to avoid this. In reproducible script it might also need to think about. @steelhead31 @andrew-m-leonard

configure: error: Your base path is too long. It is 170 characters long, but only 100 is supported
Top dir

I'm at /cygdrive/c/jenkins/workspace/Grinder/aqa-tests/TKG/output_17113746753551/Rebuild_Same_JDK_Reproducibility_Test_win_0/cmp20240325135117/temurin-build/workspace/build/src

JDK build top dir:
16:06:01  Currently at '/cygdrive/c/workspace/openjdk-build/workspace/build/src'

This is specific to windows. In beta jdk build the TOPDIR is set as /cygdrive/c/workspace/openjdk-build, which is nothing related with the jenkins build job name. See the linux top dir is /home/jenkins/workspace/build-scripts/jobs/jdk21u/jdk21u-linux-x64-temurin/workspace/build/openjdkbuild. That is for windows due to the path lenght the topdir has been explicitly set to avoid this. In reproducible script it might also need to think about. @steelhead31 @andrew-m-leonard

I think this is why I explicitly set a path from root originally , before I made the recent update to make it relative to the current working directory.

                            [def workspace = 'C:/workspace/openjdk-build/'](https://github.com/adoptium/ci-jenkins-pipelines/blob/master/pipelines/build/common/openjdk_build_pipeline.groovy#L2046)

I could update my script to have the WORK_DIR passed as the 3rd parameter, would that help ?

I think we might just set similar to def workspace = 'C:/workspace/openjdk-build/'. As long as it's not the root one?

@steelhead31 I think that should work

@sophia-guo yeah I am not surprised by Windows, there is fudge for ci-jenkins-pipelines to do the same:
https://github.com/adoptium/ci-jenkins-pipelines/blob/d966e612efa09a83175debe08fa187c2d07e9c2c/pipelines/build/common/openjdk_build_pipeline.groovy#L2042

@sophia-guo the PR for this script has now been merged :)

@steelhead31 I didn't see the update of the WORKDIR ( working dir for build jdk) ? Build_JDK()  . WORK_DIR="$CURR_DIR/cmp$(date +%Y%m%d%H%M%S)" will cause the configure: error: 'Your base path is too long ' in jenkins test environment.

I'll take a look...

@sophia-guo here is a PR, #3734  sure what happened to the first commit... Now uses "C:/workspace/comp-jdk-build/" as a workdir

14:29:08  make[5]: Entering directory '/cygdrive/c/comp-jdk-build/temurin-build/workspace/build/src'
14:29:08  Error: Cannot locate spec.gmk, given by SPEC=win_x86-64.
14:29:08  /cygdrive/c/comp-jdk-build/temurin-build/workspace/build/src/make/Init.gmk:124: *** Cannot continue.  Stop.
14:29:08  make[5]: Leaving directory '/cygdrive/c/comp-jdk-build/temurin-build/workspace/build/src'
14:29:08  OpenJDK make failed, archiving make failed logs
14:29:08  Archiving and compressing with gzip
14:29:08  Your archive was created as /cygdrive/c/comp-jdk-build/temurin-build/workspace/build/src/build/windows-x86_64-server-release/OpenJDK.zip
14:29:08  Moving the artifact to location /cygdrive/c/comp-jdk-build/temurin-build/workspace/target//OpenJDK21U-makefailurelogs_x64_windows_hotspot_21.0.2_13.zip
14:29:08  archive done.
14:29:08  Failed to make the JDK, exiting
14:29:08  cp: cannot stat '/cygdrive/c/comp-jdk-build/temurin-build/workspace/target/OpenJDK21U-jdk_x64_windows_hotspot_21.0.2_13.zip': No such file or directory
1

@sophia-guo I think the issue is the path again... have you definitely picked up my changes to fix the windows_repro_build_compare.sh script working directory... ?
Line 43:
WORK_DIR="/cygdrive/c/comp-jdk-build"
14:56:42  configure: error: Your base path is too long. It is 170 characters long, but only 100 is supported 14:56:42  configure exiting with result code 1 14:56:42  make[5]: Entering directory '/cygdrive/c/jenkins/workspace/Grinder/aqa-tests/TKG/output_17113746753551/Rebuild_Same_JDK_Reproducibility_Test_win_0/cmp20240325135117/temurin-build/workspace/build/src' 14:56:42  Error: Cannot locate spec.gmk, given by SPEC=win_x86-64.

@steelhead31 I believe i picked up the changes. The grinder was not there anymore. I will rebase and rerun.


NacosConfigListener not valid

Did not enter target function with annotation NacosConfigListener.
Software

Spring Boot 2.1.3.RELEASE
Spring Cloud Greenwich.SR1
Nacos 1.0.0-RC1
spring-cloud-alibaba-dependencies 0.2.2.BUILD-SNAPSHOT

Describe the bug
No error occurred
IDEA print  INFO logs:
2019-03-19 17:29:00.559  INFO 21760 --- [8a-8fe85d626ae2] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$3c7c5c6c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-03-19 17:29:03.632  INFO 21760 --- [8a-8fe85d626ae2] o.s.c.a.n.c.NacosPropertySourceBuilder   : Loading nacos data, dataId: 'api-gateway-dev.yml', group: 'DEFAULT_GROUP'
2019-03-19 17:29:03.642  INFO 21760 --- [8a-8fe85d626ae2] b.c.PropertySourceBootstrapConfiguration : Located property source: CompositePropertySource {name='NACOS', propertySources=[NacosPropertySource {name='api-gateway-dev.yaml'}, NacosPropertySource {name='api-gateway.yaml'}, NacosPropertySource {name='api-gateway-dev.yml'}]}
2019-03-19 17:29:03.644  INFO 21760 --- [8a-8fe85d626ae2] o.s.boot.SpringApplication               : The following profiles are active: dev
2019-03-19 17:29:03.667  INFO 21760 --- [8a-8fe85d626ae2] o.s.boot.SpringApplication               : Started application in 6.608 seconds (JVM running for 1228.035)
2019-03-19 17:29:03.790  INFO 21760 --- [8a-8fe85d626ae2] o.s.c.e.event.RefreshEventListener       : Refresh keys changed: [name]

To Reproduce
Steps to reproduce the behavior:

@NaconsConfigListener code block

    @NacosConfigListener(dataId = "${spring.application.name}-${spring.profiles.active}.yml", timeout = 500)
    public void onChanged(String value) throws Exception{
        Thread.sleep(100);
        log.info("onReceived(String) : {}", value);
    }

bootstrap.yml

spring:
  profiles:
    active: dev
  application:
    name: api-gateway
management:
  endpoints:
    web:
      exposure:
        include: "*"
---
spring:
  profiles: dev
  cloud:
    bootstrap:
      enabled: true
    nacos:
      config:
        ext-config[0]:
          data-id: api-gateway-dev.yml
          refresh: true
        file-extension: yaml
        server-addr: localhost:8848
        namespace: 4b8a8698-5274-4617-8c8a-8fe85d626ae2
      discovery:
        server-addr: localhost:8848
        namespace: 4b8a8698-5274-4617-8c8a-8fe85d626ae2

Get dataId api-gatway.dev.yml from nacos server successful and register finished into nacos

Expected behavior
Get changed content by @NacosConfigListener
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Windows 10, Java8

NacosConfigListener is implmented by nacos-spring-context, spring-cloud-nacos-config only publish RefreshEvent when configuration changed, you can handle RefreshEvent instead of using NacosConfigListener.
If you want to use NacosConfigListener, you can refer this page. https://github.com/nacos-group/nacos-spring-project


Infinite loop on Read when no connection (default socket)

In testing for Websockets and standard TCP error code comparisons, I've run into an infinite loop when I purposefully perform a read on a default socket.
I should not be trying to read from a Websocket if there is no connection (listener timed out) but running the test below on a TCP read would simply return "Error 1: Invalid argument".

In the screenshot above, the probe on (33) shows that the Websocket is default value and the socket object is of type "Socket.lvclass". I entered an infinite loop where the Internal Read would time out, but be floored at 0ms and repeat itself without stopping. The workaround was to ensure that I had a TCP socket in my default Websocket object, even though the TCP connection ID is invalid.
I believe it should terminate the loop when the timeout for the Calculate Timeout method (outside the loop) is Elasped = True, before getting into the loop and actually waiting for frames.

An equivalent TCP operation would be a 0ms timeout on the Read method... Even if there are bytes (frames) on the bus, it should return immediately.

Performing this simple fix solved my issue. However, I'm not sure it should even call the "Low Level Read" function if the timer is elapsed...

Thanks for raising this - as with the other issue I will review them both and consider your pull requests 👍


[PR #1357 patch 1] Fix Tabular tutorials for Pytorch TextPredictor

This is to fix small issues when using the new Pytorch TextPredictor in the Tabular tutorials.

Removed the legacy "presets" of MXNet TextPredictor in tabular-gpu.md and added new configuration introduction.
Removed one legacy preset string "medium_quality_faster_train" in autogluon.tabular.configs.hyperparameter_configs.
Resolved one bug of converting pandas' category column to text data.

Job PR-1547-5 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1547/5/index.html

We may try to enable the SwinTransformer + ELECTRA-small model for the PetFinder dataset since it's essentially directly integrating AutoMMPredictor

Enabling the SwinTransformer + ELECTRA-small model in the tabular tutorial needs to add a new model class in the tabular code and other possible code changes in its trainer/learner. I think we can leave this to next version. For now, we can change the customization tutorial in text to introduce how to configure AutoMMPredictor.

This PR looks good to me once the version cap is fixed. The general rule is to make the supported version strictly smaller than the next minor version,e.g. xxx<1.2. For common packages, these are covered in https://github.com/awslabs/autogluon/blob/master/core/src/autogluon/core/_setup_utils.py#L16

Job PR-1547-6 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1547/6/index.html

Regarding tutorial, I think we can add an experimental tutorial about the new AutoMMPredictor that is similar to https://auto.gluon.ai/stable/tutorials/tabular_prediction/tabular-multimodal.html . We may also use the PetFinder dataset. (This should be in a follow-up PR as the major focus of this PR is bugfix).

Job PR-1547-8 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1547/8/index.html

Job PR-1547-9 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1547/9/index.html

Job PR-1547-10 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1547/10/index.html

Job PR-1547-12 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1547/12/index.html

Job PR-1547-14 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1547/14/index.html


ModuleNotFoundError: No module named 'utils'

Traceback (most recent call last):
File "/home/halilugur/miniconda3/envs/omni/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 85, in exec_func_with_error_handling
result = func()
File "/home/halilugur/miniconda3/envs/omni/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 576, in code_to_exec
exec(code, module.dict)
File "/home/halilugur/mini-omni2/webui/omni_streamlit.py", line 18, in
from utils.vad import get_speech_timestamps, collect_chunks, VadOptions
ModuleNotFoundError: No module named 'utils'

I am having same issue, I tried placing init.py in the utils folder still getting the same error.. how to fix this

well well well. GOT the FIX
quick fix....just copy webui/omni_streamlit.py in the root folder (where server.py is) and run streamlit run omni_streamlit.py
from oneof the closed issue section someone said this thanks....


use full path on killall to make f27 systemd happy

With systemd-234 in Fedora 27, it complains about the service file for imagefactoryd saying that 'killall' needs to be an absolute path. When I patch the file by hand, it works and systemctl stops complaining.

@imcleod can this be reviewed

LGTM


Spacing Idea/Question

Hi @aXenDeveloper,
You've been releasing great updates - thanks for that!
Quick question: would you be able to add an option to set the spacing between group icons? My settings are set to show icons only, but the space between them is a bit too large.
Or could you tell me where to find that in your codes?
Thanks!

You can add style in your theme yourself.

You can add style in your theme yourself.

Sure thing, but could you tell me how to change the spacing between group icons then, if I choose to display icons only?

.cAuthorPane_info > li[data-role="axen-group-icon"],
.cAuthorPane_info > li[data-role="axen-group-icon-secondary"] {
  border-bottom: 1px solid #000;
}

.cAuthorPane_info > li[data-role="axen-group-icon"],
.cAuthorPane_info > li[data-role="axen-group-icon-secondary"] {
  border-bottom: 1px solid #000;
}

Thanks @aXenDeveloper. I've added that to custom.css but it actually added a spacing line. What I meant to change was the gap/distance between group icons - how distant or close they are from one another. I tried replacing border-bottom with margin but still no luck.


Process always crash while running HOG detection on high resolution image

face_recognition version: 1.3.0
Python version: 3.9.12
Operating System: Windows 10 x64

Description
The HOG detection always crash the python process abruptly without printing any kind of error while running it over a (2472, 3296) resolution personal photo, even if the photo is resized to 1024 max dimension before. Maybe this is caused by some specific characteristic of the image, not sure. I can send you the triggering image privately since it is a personal photo of a colleague of mine. What email should I send the photo to?
What I Did
To reproduce, download this script:
https://github.com/sepinf-inc/IPED/blob/master/iped-app/resources/scripts/tasks/FaceRecognitionProcess.py
Run it passing these parameters (they mean max_resolution, detection_model, upsampling):
python.exe FaceRecognitionProcess.py 1024 hog 1
The script will wait some input from stdin. First is the full path to the image + newline. Then the image orientation/rotation + newline, in the case of the triggering image it is 8. Then the script should print the number of detected faces, their locations, then face encodings. Debugging, it crashes at line 107 - face_locations(...) method call.
Thank you for this library and thank you in advance for your help!

PS: Running CNN model, it works. But it is too slow for our purposes/hardware.

PS2: Passing a lower resolution JPG of the same image with (960, 1280) dimension, it works. That is weird because the script is resizing the image to 1024 max resolution correctly if it is bigger than that...

Triggering photo sent by email to @ageitgey

Is anyone able to reproduce this?

Hey Luis, I had the same issue when working with the facerec_from_video_file.py script. Once the input frame had a dimension larger than 1000 the face_recognition.face_locations(rgb_frame) function would crash.
For me it worked to change
   rgb_frame = frame[:, :, ::-1]
to
rgb_frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
Hope that helps :)
Best regards
Manuel

Thank you @Manuel2195! I'll try to always convert BGR to RGB and see if that works.

Just tested, cv2.cvtColor(img, cv2.COLOR_BGR2RGB) fixed the crash indeed, thanks. But I'm always converting images to RGB before using this function:
https://github.com/sepinf-inc/IPED/blob/master/iped-app/resources/scripts/tasks/FaceRecognitionProcess.py#L39
So I became in doubt if numpy.array(pil_image) could change RGB to BGR under the hood, I didn't find info in numpy docs... Then I added code below after img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) call:
pil_img = Image.fromarray(img, mode='RGB')
pil_img.save('E:/face.jpg')
The resulting image was with wrong colors, towards blue. So the original image was already using RGB and the cv2.cvtColor(img, cv2.COLOR_BGR2RGB) method, although it fixes the crash, is inverting the colors of my triggering image.

Got an idea and converting the numpy array from RGB -> BGR -> RGB using cv2 fixes (actually workaround) the crash and keeps the original colors correct:
import cv2
img = cv2.cvtColor(img, cv2.COLOR_RGB2BGR)
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)

This is really weird... I tried to make above conversions using pillow (before converting the image to a numpy array) to avoid cv2 dependency but I didn't succeed.
Anyway I'll keep this issue open since I think the process shouldn't crash abruptly and silently but at least throw a descriptive exception.

Above makes me think maybe numpy.array(pil_image) is generating an inconsistent image representation... (or at least unexpected by this library)

Just tested the performance impact on a small case and it is not noticeable, so I'll apply the fix.

Sorry, the comment was to another project, just deleted it.


Physics in Safari behave slightly different.

I've been playing with Particles demo and I've noticed different behaviour comparing the same example in Safari and other browsers (Chrome & Firefox).
On Chrome, when I hit random particle with the one I have attached to my cursor, it feels like a real collision – it changes the direction of movement and speed as well. When I do the same action on Safari, the particle kinda sticks to my cursor for a while (not always but most of the time). That behaviour feels definitely less natural.
Here's screen recording of the same demo file.

Left is Safari 11.1.2 (13605.3.8)
Right is Chrome 68.0.3440.84

Running on macOS HighSierra 10.13.6, MBP Retina.

Thanks @ludwiczakpawel for the detailed bug report and screen capture. I can reproduce it in Safari too. Very strange -- will investigate.


Add new templates for other integration types

What does this PR do?
Add tile and jmx templates for creating a new integration.
Motivation
We need ways to quickly allow internal developers and contributors to create different integrations types, whether that just be for tiles, jmx, or fully coded python integrations.
Review checklist

[ ] PR has a meaningful title or PR has the no-changelog label attached
[ ] Feature or bugfix has tests
[ ] Git history is clean
[ ] If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo

Additional Notes
Anything else we should know when reviewing?

Codecov Report

Merging #2285 into master will decrease coverage by 10.73%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #2285       +/-   ##
===========================================
- Coverage   85.58%   74.84%   -10.74%
===========================================
  Files         184       17      -167
  Lines       12508      493    -12015
  Branches     1319       57     -1262
===========================================
- Hits        10705      369    -10336
+ Misses       1426      105     -1321
+ Partials      377       19      -358


Feat: QLinearSigmoid

Implement QLinearSigmoid operator.

I couldn't find this operator along with some of the other QLinear ones in the link. Is there an updated version somewhere?

Hmm you are right it has been deprecated. I will close that issue. Thanks!


Cannot pair the Coral Dev Board Mini with a DualShock 4 controller via bluetooth

Description
bluetoothctl fails when trying to connect a DS4 controller to the board via bluetooth.
This has been tried with several boards and several DS4 controllers (both official and third-party) with the same result.
(Note: the same procedure works perfectly on raspberry pis)
bluetoothctl:
Discovery stopped
[bluetooth]# trust 8C:41:F2:AC:CF:41
[CHG] Device 8C:41:F2:AC:CF:41 Trusted: yes
Changing 8C:41:F2:AC:CF:41 trust succeeded
[bluetooth]# pair 8C:41:F2:AC:CF:41
Attempting to pair with 8C:41:F2:AC:CF:41
[CHG] Device 8C:41:F2:AC:CF:41 Connected: yes
[CHG] Device 8C:41:F2:AC:CF:41 Modalias: usb:v054Cp09CCd0100
[CHG] Device 8C:41:F2:AC:CF:41 UUIDs: 00001124-0000-1000-8000-00805f9b34fb
[CHG] Device 8C:41:F2:AC:CF:41 UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device 8C:41:F2:AC:CF:41 ServicesResolved: yes
[CHG] Device 8C:41:F2:AC:CF:41 Paired: yes
Pairing successful
[CHG] Device 8C:41:F2:AC:CF:41 ServicesResolved: no
[CHG] Device 8C:41:F2:AC:CF:41 Connected: no
[bluetooth]# connect 8C:41:F2:AC:CF:41
Attempting to connect to 8C:41:F2:AC:CF:41
[CHG] Device 8C:41:F2:AC:CF:41 Connected: yes
Failed to connect: org.bluez.Error.Failed

bluetooth.service status:
(base) mendel@king-kid:~$ sudo systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2023-02-07 23:30:59 UTC; 18min ago
     Docs: man:bluetoothd(8)
 Main PID: 605 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           └─605 /usr/lib/bluetooth/bluetoothd

Feb 07 23:30:59 king-kid systemd[1]: Starting Bluetooth service...
Feb 07 23:30:59 king-kid bluetoothd[605]: Bluetooth daemon 5.50
Feb 07 23:30:59 king-kid systemd[1]: Started Bluetooth service.
Feb 07 23:30:59 king-kid bluetoothd[605]: Starting SDP server
Feb 07 23:30:59 king-kid bluetoothd[605]: kernel lacks bnep-protocol support
Feb 07 23:30:59 king-kid bluetoothd[605]: System does not support network plugin
Feb 07 23:30:59 king-kid bluetoothd[605]: Bluetooth management interface 1.14 initialized
Feb 07 23:30:59 king-kid bluetoothd[605]: Sap driver initialization failed.
Feb 07 23:30:59 king-kid bluetoothd[605]: sap-server: Operation not permitted (1)
Feb 07 23:36:57 king-kid bluetoothd[605]: Can't open HIDP control socket

Click to expand!
Issue Type
Bug
Operating System
Mendel Linux
Coral Device
Dev Board Mini
Other Devices
No response
Programming Language
No response
Relevant Log Output
No response

The Sap driver might be a red herring, I think the real issue is in the last line "Can't open HIDP control socket". The kernel might be missing L2CAP support.


Feature/handle with theme

@all-contibutors please, add @lubien for review

@all-contributors please, add @lubien for review

Thanks! @holopin-bot @DaywisonSilva


Modify logout to use optional ip filtering

I am considering adding ip filtering to the logout calls, but this would first require modification of superlogin to work.  The idea is that since superlogin already stores the original ip address that started a session, you could use the ip to filter out calls to logoutAll or logoutOthers in the case where a user maybe logged in on separate devices.  Just thinking at this point and the ip could be used to do addition authentication as well to enhance security.  The ip is already stored by superlogin on the user sessions and even though I do not see it being leveraged, I think it was added for some future possible uses.  There is more related discussion I have added over at the superlogin repo issue 179, that gives more background on how this came about.
This may not be a good idea because I suppose the ip could change from the time of login to eventual logout, so it may not be worth the effort.  In that case, using logoutAll and logoutOthers as they stand now assume that there is only ever one session active at any given time for one user, but the api does not have an option to prevent more than one user from logging in with the same user pass.
The biggest downside of adding the ip filtering option on logoutAll and logoutOthers is that you may end up with orphaned sessions, but the bonus would be to allow a user to login on multiple devices and still be able to have a better chance of cleaning up any orphaned sessions by using logoutAll and logoutOthers.  I described some scenarios in the superlogin 179 issue, but would be interested in hearing any other take on the value of using the ip for this or any other purpose?

This seems to be 100% backend related. Not sure what we can add here

Only wanted to discuss it here because it would also require a change to superlogin-client, just changing the server would not be enough.


Change Plan Page to Save Offline Map

[ ] user can specify a shape, or shapes (via kml) that is relevant
[ ] user can choose layers relevant to them, and choose to save them
[ ] mandatory layers are indicated (at least for plants and animal users)
[ ] spatial data is cached.  keep populating the 'trip' geos, as the cycle trip function is useful on the main map

@hpertaia and @micheal-w-wells and @plasticviking  to meet thursday at 420pm pst.

@plasticviking bug me on discord and we can chat through it - we're going to reference these shapes from the records page when we cache, and layer caching will be simplified to "cache all layers for selected trips"


Made a Flink demo tutorial

As title. I made a video Flink demo tutorial by using the Flink OceanBase CDC connector as an example.
Reference doc: https://github.com/ververica/flink-cdc-connectors/blob/master/docs/content/connectors/oceanbase-cdc.md
https://github.com/ververica/flink-cdc-connectors/blob/master/docs/content/快速上手/oceanbase-tutorial-zh.md
Video:
Bilibili
YouTube

@Amber1990Zhang So cool！！ Would you like to open a PR to add the video links to the document?


Cannot select from index when class indexed on embeddedset field

May be related to #4254
orientdb-community-2.1-rc3
create class test extends v
create property test.embset embeddedset string
create index test.embset unique
create vertex test set embset = 'asdf'

select from index:test.embset where key = 'asdf'
select from index:test.embset where key = ['asdf']

Neither of the select statements return any result.

hi @Ziink
fixed in 2.1.x.
Will land in the next hotfix
https://github.com/orientechnologies/orientdb/issues/4951


Autowiring issue

I'm having some issues with the ReflectionContainer and autowiring. I tried digging into the code to do a PR, but I could not really figure out the problem yet.
In my example, I share a specific instance of a class first:
$container = new League\Container\Container;

$container->delegate(
    new League\Container\ReflectionContainer
);

$container->share('App\Client', function()
{
    return new App\Client('test', 'test');
});

And I have another class called App\SDK which requires a App\Client instance from the constructor. Here comes the bad part. When I try to create an instance of App\SDK using reflection, I'm getting a lot of errors:
$container->get('App\SDK');

PHP Fatal error:  Uncaught exception 'League\Container\Exception\NotFoundException' with message 'Unable to resolve a value for parameter (username) in the function/method (__construct)' in .../vendor/league/container/src/Argument/ArgumentResolverTrait.php:66

It seems like it tries to create the App\Client even though I have already bound an instance of it to the container. While digging into the code, I have noticed that $this->getContainer() returns NULL in the ArgumentResolverTrait. Shouldn't this contain the original container instance?

@jenssegers
Can you provide a test case?

I'll try to add it to the unit tests.

I was able to fix the issue by adding this to the delegate method from the Container:
    /**
     * Delegate a backup container to be checked for services if it
     * cannot be resolved via this container.
     *
     * @param  \Interop\Container\ContainerInterface $container
     * @return $this
     */
    public function delegate(InteropContainerInterface $container)
    {
        if ($container instanceof ImmutableContainerAwareInterface || $container instanceof ContainerAwareInterface) {
            $container->setContainer($this);
        }

        $this->delegates[] = $container;

        return $this;
    }

But it doesn't feel pretty...

Is there a reason why there are 2 almost identical interfaces ContainerAwareInterface and ImmutableContainerAwareInterface?

Yes, because the containers they accept are different, I think I know the issue but not at a computer so will fix later
—
Sent from Mailbox
On Sat, Sep 5, 2015 at 11:37 AM, Jens Segers<EMAIL_ADDRESS>wrote:

Is there a reason why there are 2 almost identical interfaces ContainerAwareInterface and ImmutableContainerAwareInterface?
Reply to this email directly or view it on GitHub:
https://github.com/thephpleague/container/issues/78#issuecomment-137941572

Unit test as example:
    public function testDelegateSharesContainer()
    {
        $container = new Container;

        $container->delegate(new \League\Container\ReflectionContainer);

        $container->share('League\Container\Test\Asset\Bar', function () {
            $bar = new Asset\Bar();
            $bar->setSomething('bar');
            return $bar;
        });

        $bar = $container->get('League\Container\Test\Asset\Bar');
        $foo = $container->get('League\Container\Test\Asset\Foo');
        $this->assertEquals($foo->bar, $bar);
    }

Thanks, will get to it asap
—
Sent from Mailbox
On Sat, Sep 5, 2015 at 11:49 AM, Jens Segers<EMAIL_ADDRESS>wrote:

Unit test as example:
    public function testDelegateSharesContainer()
    {
        $container = new Container;
        $container->delegate(new \League\Container\ReflectionContainer);
        $container->share('League\Container\Test\Asset\Bar', function () {
            $bar = new Asset\Bar();
            $bar->setSomething('bar');
            return $bar;
        });
        $bar = $container->get('League\Container\Test\Asset\Bar');
        $foo = $container->get('League\Container\Test\Asset\Foo');
        $this->assertEquals($foo->bar, $bar);
    }

Reply to this email directly or view it on GitHub:
https://github.com/thephpleague/container/issues/78#issuecomment-137942823

@jenssegers
Your solution is the way, though - see https://github.com/thephpleague/container/pull/79!

Thanks guys! Looking forward to the next tag! :)

Pushed and tagged along with another fix cc8ff4811351d7c94a01fe3d1f720111f98c8f66


"ModuleNotFoundError: No module named 'transformer'"

"from transformer import decoder_stack" lead to the above error. I tried deactivating and then reactivating my virtual environment without success. I tried 'pip3 install transformers' without success. I get "Python 3.11.3 (v3.11.3:f3909b8bc8, Apr  4 2023, 20:12:10) [Clang 13.0.0 (clang-13<IP_ADDRESS>)] on darwin" if I run 'python. I am running a script that needs to import 'alphageometry.py' but not run 'run.sh' in the folder where every AlphaGeometry Github files lie. I use Mac with VScode.

I have same issue here. If you solved this error, please help me out. Thank you.

Has it been solved?


API documentation: query parameters are four asterisks ("****")

See for example the documentation for list for Pod:

/triage duplicate
This looks duplicate of an issue we already have https://github.com/kubernetes/website/issues/47694

/close


depends on openssl though conan index has now OpenSSL

it seems like on windows this package depending on openssl and other depending on OpenSSL causes issues, as the windows file system is not case sensitive.
I guess the solution here would be to upgrade the conanfile.py to use the lib with the name OpenSSL instead of openssl
...
[cmake] WARN: OpenSSL/1.0.2o@conan/stable: requirement zlib/1.2.11@conan/stable overridden by Poco/1.9.4@pocoproject/stable to zlib/1.2.11
[cmake]
[cmake] boost/1.69.0@conan/stable:
[cmake] WARN: Setting 'cppstd' is deprecated in favor of 'compiler.cppstd', please update your recipe.
[cmake]
[cmake] WARN: boost/1.69.0@conan/stable: requirement zlib/1.2.11@conan/stable overridden by your conanfile to zlib/1.2.11
[cmake]
[cmake] ERROR: Requested 'openssl/1.0.2t' but found case incompatible 'OpenSSL'
[cmake] Case insensitive filesystem can't manage this
....

Actually, it is the other way around.
All recipes in the Conan Center Index (CCI) are lowercase.
Once recipes are migrated to CCI the old versions aren't maintained anymore.
Therefore openssl/1.x.y is here to stay. Other packages using the old references need to be updated.
Unfortunately, for Windows installations who already have the uppercase OpenSSL you first need to remove these packages. Conan 2.0 or another future Conan release might handle this better.

Also, also: OpenSSL/1.0.2t does not exist. It is either openssl/1.0.2t or OpenSSL/1.0.2t@conan/stable


Info addon markdown with inline code (backtick `) is broken

Versions

@storybook/react v3.2.4
@storybook/addon-info v3.2.4

Example input
This entry in the official example
storiesOf('Button').addWithInfo(
  'simple usage (custom propTables)',
  `
      This is the basic usage with the button with providing a label to show the text.
      Since, the story source code is wrapped inside a div, info addon can't figure out propTypes on it's own.
      So, we need to give relevant React component classes manually using \`propTypes\` option as shown below:
      ~~~js
      storiesOf('Button')
        .addWithInfo(
          'simple usage (custom propTables)',
          <info>,
          <storyFn>,
          { inline: true, propTables: [Button]}
        );
      ~~~
    `,
  () => (

      <Button label="The Button" onClick={action('onClick')} />

  ),
  { inline: true, propTables: [Button] }
);

Notice the propTypes is enclosed in backticks.
Expected output
The word propTypes is shown in monospaced font, alongside with the sentence it belongs to.
Current output
The word propTypes becomes an empty

 element, as shown below.

Suspected cause

The default component for backtick is , which is implemented as  inside
, which is a block element that breaks the sentence into two.
 renders text from this.props.code, but the actual text is in this.props.children.

@MrOrz I faced this issue as well and going to fix it in this PR #1501
Thanks for the help!

It's great hearing that!
For now, I will just overwrite marksyConf to workaround this issue, so no hurries on that ;)
ex:

import React from 'react';
import { configure } from '@storybook/react';
import { setDefaults } from '@storybook/addon-info';

function Code({ children }) {
  return {children};
}

function loadStories() {/* loading stories here */}

setDefaults({ marksyConf: { code: Code } });
configure(loadStories, module);

Looks like code used for both inline and block code sections.
For inline code it should render props.children but for code block props.code


Any ideas about the meaning of these types?

Do you have any ideas what these equity types means?

COM NEW
NOTE 1.125%10/1
*W EXP 11/05/202
RIGHT 04/04/2023

Hi @CaledoniaProject, these are values that are passed through directly from SEC filings themselves. I suspect that "W" stands for Warrants, and "notes" probably refer to convertible notes, but again it's just whatever the filer puts in the form, and I have no specific knowledge about any filings
You can see a full list of 13f securities on the SEC's website here: https://www.sec.gov/files/investment/13flist2023q1.pdf
I'm going to close this issue as I don't think it's within scope of the GitHub repo, thanks


pull request for e2e test at 01/31/2017 23:45:54

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.