Package/bower

Tiny detail, but I think we may want to opt into using the non minified versions in the main directory. This would make debugging easier and will allow the implementor to make minification part of their build process.
bower.json specification also states not to include minified versions in the build process:

Use source files with module exports and imports over pre-built distribution files.
Do not include minified files.
Do not include assets files like images, fonts, audio, or video
Filenames should not be versioned (Bad: package.1.1.0.js; Good: package.js).
Globs like js/*.js are not allowed.

Sounds good!


fix: Allow individual icon imports

I was tinkering with making Palmetto Components' Icon tree-shakeable and this is a first step that I landed on. I haven't messed with the Icon component in P-C to test that this actually works. Wanted to open this PR to formally start discussion about this.
Relevant issue in P-C repo: https://github.com/palmetto/palmetto-components/issues/593
This seems to be back-compat with existing implementation. Tested with npm link in p-c with storybook. Need to try linking to a dependent of p-c to ensure that still works.
Importing an icon through `import { IconName } from '@palmetto/palmetto-design-tokens/build/icons/react' seems to work in p-c storybook as well.

feel free to re-open

@nathanyoung


Adds instanceErrorCount field for server map API response

Codecov Report

Merging #3236 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #3236      +/-   ##
=========================================
- Coverage    39.1%   39.1%   -0.01%
=========================================
  Files        2069    2069
  Lines       68070   68078       +8
  Branches     9475    9477       +2
=========================================
+ Hits        26618   26621       +3
- Misses      38848   38853       +5
  Partials     2604    2604

Impacted Files
Coverage Δ

...om/navercorp/pinpoint/web/view/NodeSerializer.java
0% <0%> (ø)
:arrow_up:

...pinpoint/rpc/ChannelWriteFailListenableFuture.java
42.85% <0%> (-28.58%)
:arrow_down:

...vercorp/pinpoint/rpc/packet/ClientClosePacket.java
55.55% <0%> (-11.12%)
:arrow_down:

...navercorp/pinpoint/rpc/common/SocketStateCode.java
82.92% <0%> (-2.44%)
:arrow_down:

...corp/pinpoint/rpc/stream/StreamChannelManager.java
70.68% <0%> (-1.73%)
:arrow_down:

...java/com/navercorp/pinpoint/rpc/DefaultFuture.java
70.83% <0%> (-1.67%)
:arrow_down:

...m/navercorp/pinpoint/test/OrderedSpanRecorder.java
72.11% <0%> (ø)
:arrow_up:

...point/rpc/client/DefaultPinpointClientHandler.java
71.6% <0%> (+0.3%)
:arrow_up:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
80.27% <0%> (+0.69%)
:arrow_up:

.../com/navercorp/pinpoint/profiler/context/Span.java
52.63% <0%> (+1.75%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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


bump ruby gems version?

any chance of getting the laste code released as a gem version? The regex origin would be a useful feature instead of pulling from git.

this has been done.


Nested Loc/LocText in FormatSegment1 etc. of LocText not working anymore with 3.1.x

I'm still using LocText and its FormatSegement functionality in one of my projects.
As I experienced a memory leak with 3.0.1 I switched to 3.1.2 and that problem was solved but now a nested Loc or LocText in a FormatSegment doesn't work anymore.
I've attached this sample project which at the moment is using .Net 4.7 but switching .Net Frameworks didn't solve the problem for me.
As with the new Version of WPFLocalizationExtension also comes a new XAMLMarkupExtensions version it could also be a problem of the new XAMLMarkupExtensions version.
Is there an alternative to LocText and its FormatSegment, Suffix/Prefix functionality?

Ok after a deeper investigation it might be a problem of the new XAMLMarkupExtensions version and so I created an issue there: https://github.com/MrCircuit/XAMLMarkupExtensions/issues/13

Close with the prerelease nuget package of XAMLMarkupExtensions please just update


Status?

Is this still working out with the current releases of Nanobox or will it be superseded by their multi-app per server work that's not yet finished due to their rework?

Sorry for the incredibly late response, just now noticed your issue. To be honest I have no idea, I've moved away from Nanobox since a long time. If I find the time this week I'll do some tests.

Thanks @kristoftorfs that's great. Have you moved to something comparable or superior? Nanobox is really slick, but the inability to do this and to integrate with cPanel makes life challenging given our customers' wants...

For local development I use ddev, and for deployment I use Laravel Forge. I really liked Nanobox, but I was paying (quite a lot) for support and they didn't deliver at all.
About the integration with cPanel, I'm afraid you won't find anything like Nanobox for that and will have to resort to separate tools like Deployer or Laravel Envoyer.


Add detection for Intel Advanced Matrix Extensions (AMX) instructions

Tested using intel SDE: https://www.intel.com/content/www/us/en/download/684897/intel-software-development-emulator.html
Test scripts:
bash scripts/local-build.sh

ISAS=()
OPTIONS=()
PLATFORMS=()

OPTIONS+=(-quark); PLATFORMS+=("Quark")
OPTIONS+=(-p4); PLATFORMS+=("Pentium4")
OPTIONS+=(-p4p); PLATFORMS+=("Pentium4 Prescott")
OPTIONS+=(-mrm); PLATFORMS+=("Merom")
OPTIONS+=(-pnr); PLATFORMS+=("Penryn")
OPTIONS+=(-nhm); PLATFORMS+=("Nehalem")
OPTIONS+=(-wsm); PLATFORMS+=("Westmere")
OPTIONS+=(-snb); PLATFORMS+=("Sandy Bridge")
OPTIONS+=(-ivb); PLATFORMS+=("Ivy Bridge")
OPTIONS+=(-hsw); PLATFORMS+=("Haswell")
OPTIONS+=(-bdw); PLATFORMS+=("Broadwell")
OPTIONS+=(-slt); PLATFORMS+=("Saltwell")
OPTIONS+=(-slm); PLATFORMS+=("Silvermont")
OPTIONS+=(-glm); PLATFORMS+=("Goldmont")
OPTIONS+=(-glp); PLATFORMS+=("Goldmont Plus")
OPTIONS+=(-tnt); PLATFORMS+=("Tremont")
OPTIONS+=(-snr); PLATFORMS+=("Snow Ridge")
OPTIONS+=(-skl); PLATFORMS+=("Skylake")
OPTIONS+=(-cnl); PLATFORMS+=("Cannon Lake")
OPTIONS+=(-icl); PLATFORMS+=("Ice Lake")
OPTIONS+=(-skx); PLATFORMS+=("Skylake server")
OPTIONS+=(-clx); PLATFORMS+=("Cascade Lake")
OPTIONS+=(-cpx); PLATFORMS+=("Cooper Lake")
OPTIONS+=(-icx); PLATFORMS+=("Ice Lake server")
OPTIONS+=(-knl); PLATFORMS+=("Knights landing")
OPTIONS+=(-knm); PLATFORMS+=("Knights mill")
OPTIONS+=(-tgl); PLATFORMS+=("Tiger Lake")
OPTIONS+=(-adl); PLATFORMS+=("Alder Lake")
OPTIONS+=(-mtl); PLATFORMS+=("Meteor Lake")
OPTIONS+=(-rpl); PLATFORMS+=("Raptor Lake")
OPTIONS+=(-spr); PLATFORMS+=("Sapphire Rapids")
OPTIONS+=(-gnr); PLATFORMS+=("Granite Rapids")
OPTIONS+=(-gnr256); PLATFORMS+=("Granite Rapids (AVX10.1 / 256VL)")
OPTIONS+=(-srf); PLATFORMS+=("Sierra Forest")
OPTIONS+=(-arl); PLATFORMS+=("Arrow Lake")
OPTIONS+=(-lnl); PLATFORMS+=("Lunar Lake")
OPTIONS+=(-future); PLATFORMS+=("Future chip")

ISAS+=("AMXBF16")
ISAS+=("AMXTILE")
ISAS+=("AMXINT8")
ISAS+=("AMXFP16")

SDE_BIN="/home/mingfeim/packages/sde-external-9.33.0-2024-01-07-lin/sde"

for I in "${!PLATFORMS[@]}"; do
  echo "${PLATFORMS["${I}"]}"
    for J in "${!ISAS[@]}"; do
      "${SDE_BIN}" "${OPTIONS[$I]}" -- ./build/local/isa-info | grep ${ISAS[$J]}
    done
done

Results:
Quark
SDE-ERROR: 64 bits applications are not supported by input chip: PENTIUM or by the input cpuid definition file
SDE-ERROR: 64 bits applications are not supported by input chip: PENTIUM or by the input cpuid definition file
SDE-ERROR: 64 bits applications are not supported by input chip: PENTIUM or by the input cpuid definition file
SDE-ERROR: 64 bits applications are not supported by input chip: PENTIUM or by the input cpuid definition file
Pentium4
SDE-ERROR: 64 bits applications are not supported by input chip: PENTIUM4 or by the input cpuid definition file
SDE-ERROR: 64 bits applications are not supported by input chip: PENTIUM4 or by the input cpuid definition file
SDE-ERROR: 64 bits applications are not supported by input chip: PENTIUM4 or by the input cpuid definition file
SDE-ERROR: 64 bits applications are not supported by input chip: PENTIUM4 or by the input cpuid definition file
Pentium4 Prescott
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Merom
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Penryn
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Nehalem
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Westmere
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Sandy Bridge
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Ivy Bridge
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Haswell
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Broadwell
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Saltwell
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Silvermont
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Goldmont
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Goldmont Plus
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Tremont
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Snow Ridge
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Skylake
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Cannon Lake
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Ice Lake
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Skylake server
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Cascade Lake
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Cooper Lake
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Ice Lake server
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Knights landing
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Knights mill
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Tiger Lake
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Alder Lake
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Meteor Lake
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Raptor Lake
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Sapphire Rapids
        AMXBF16: yes
        AMXTILE: yes
        AMXINT8: yes
        AMXFP16: no
Granite Rapids
        AMXBF16: yes
        AMXTILE: yes
        AMXINT8: yes
        AMXFP16: yes
Granite Rapids (AVX10.1 / 256VL)
        AMXBF16: yes
        AMXTILE: yes
        AMXINT8: yes
        AMXFP16: yes
Sierra Forest
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Arrow Lake
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Lunar Lake
        AMXBF16: no
        AMXTILE: no
        AMXINT8: no
        AMXFP16: no
Future chip
        AMXBF16: yes
        AMXTILE: yes
        AMXINT8: yes
        AMXFP16: yes

@malfet @xuhancn @jgong5 could you please help review this one ? thx!

The indentation looks problematic (guess tab vs. space). Others LGTM.

Fixed!

Overall LGTM, but let's add a separator for those names to match how it's done for AVX512.
Another question: are there CPUs on the market that say has fp16 but not int8 AMX support?
Would be good to add a much more details description with links back to the docs explaning what those extensions do and what CPUs support them

Currently we do not have platforms that supports amx-fp16 but not amx-int8.
I put a note in before the amx detection functions:
/* [NOTE] Intel Advanced Matrix Extensions (AMX) detection
 *
 * I.  AMX is a new extensions to the x86 ISA to work on matrices, consists of
 *   1) 2-dimentional registers (tiles), hold sub-matrices from larger matrices in memory
 *   2) Accelerator called Tile Matrix Multiply (TMUL), contains instructions operating on tiles
 *
 * II. Platforms that supports AMX:
 * +-----------------+-----+----------+----------+----------+----------+
 * |    Platforms    | Gen | amx-bf16 | amx-tile | amx-int8 | amx-fp16 |
 * +-----------------+-----+----------+----------+----------+----------+
 * | Sapphire Rapids | 4th |   YES    |   YES    |   YES    |    NO    |
 * +-----------------+-----+----------+----------+----------+----------+
 * | Emerald Rapids  | 5th |   YES    |   YES    |   YES    |    NO    |
 * +-----------------+-----+----------+----------+----------+----------+
 * | Granite Rapids  | 6th |   YES    |   YES    |   YES    |   YES    |
 * +-----------------+-----+----------+----------+----------+----------+
 *
 * Reference: https://www.intel.com/content/www/us/en/products/docs
 *    /accelerator-engines/advanced-matrix-extensions/overview.html

If you find a better place to put this note, please let me know!


How to interrupt localhost traffic?

Hi.
I am using Titanium Proxy 3.1.1397.
Generally it works very well.
But there is one problem.
If it is localhost traffic, the proxy does not seem to be able to handle it.
For example, if i type http://localhost/index.php, it is not detected by Proxy's OnRequest Callback.
I need to redirect localhost traffic to server.
This is my source code.
                proxyServer.BeforeRequest += OnRequest;
                proxyServer.BeforeResponse += OnResponse;
                proxyServer.ServerCertificateValidationCallback += OnCertificateValidation;
                proxyServer.ClientCertificateSelectionCallback += OnCertificateSelection;
                proxyServer.EnableTcpServerConnectionPrefetch = false;
                proxyServer.EnableConnectionPool = false;

                explicitEndPoint = new ExplicitProxyEndPoint(IPAddress.Any, 8000, true)
                {

                };

Thank you for your help.

How do you set to use the proxy? Manually in your OS/broswer? Usualy you have to enable it for localhost separatly.

I've made a comment in another thread which explains how to do it:
https://github.com/justcoding121/titanium-web-proxy/issues/954#issuecomment-1509708306


[W5.11][F10-2] Ong Jia Jian

Made 'find' case insensitive and updated expected output and user guide
Ready for Review!

Simple but very practical enhancement. Great job

A necessary improvement as users might not remember how the contact was saved in terms of case sensitivity

An improvement that is very considerate of users. Nice!


Examples needed fixing for legibility and Windows environments

Bug report
I've added a pull request #218 to fix a few issues with the examples documentation, especially when using on Windows environments. The formatting was also fairly inconsistent, and I feel the updates I did makes it more legible.
Welcome any changes of course.

I should note, the instructions for running the node server are also incorrect.
cd server/node
# There's a README in this folder with instructions to run the server and how to enable Stripe Tax.
npm install
npm start

The packages.json is in the root folder, and this repo does not include the node/server.js folder/file.
Error: Cannot find module 'C:\tools\checkout-single-subscription\server\node\server.js'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}


Added few more examples for Text Modifiers & layout priority.

Hi Barbara, thank you for this awesome repo.

This pull request includes the following additions  and updates:

Examples Added:

ActionSheet
Confirmation dialog
ZIndex
Layout priority
Offset
Fixed size view

Updates:

ContentView to reflect the new examples.
Added a few text modifiers for enhanced text styling.

Hi @meetAhmed, I was on holidays for some weeks, I will review your contribution. Thanks for adding it.

Hi @barbaramartina, I have removed duplicated code. Please take a look when you get some time. Thank you.

Thanks for your contribution, I am incorporating it today to the main code. Have a good weekend.


HiveMetastoreClient fails to throw exception

创建CnchHive引擎表失败，这边的hive使用的是cdh5.8.4,带kerberos认证
Bug Report
byconity server端报错

client 执行报错

执行的时候元数据返回空

不知道是否认证不通过才返回空？
Briefly describe the bug
The result you expected
How to Reproduce
Version
使用的是0.1.2版本

https://github.com/ByConity/ByConity/blob/02a0aa6403ff4374d6454964a25671d35215f9e6/src/Storages/Hive/HiveMetastore.cpp#L425 bug at hivemetastore, should be i >= settings.max_hive_metastore_client_retry. therefore, the exception is not thrown.

@inewzone can you help test on the latest code again?

@inewzone can you help test on the latest code again?

if you supply rpm,i can try testing on the new version


alsa broken for speaker-test, aplay and mpv, but not for vlc and jack.

Issue description
When playing audio on alsa, I get the following errors:

speaker-test: Setting of hwparams failed: Invalid argument
aplay file.wav: aplay: set_params:1403: Unable to install hw params:
mpv file.wav: [ao/alsa] Unable to set hw-parameters: Invalid argument

Playing audio trough vlc or jack, both using alsa, works fine.
Oddly, speaker-test -c 2 gives sound as well.
Technical details
 - system: `"x86_64-linux"`
 - host os: `Linux 4.20.5, NixOS, 19.03pre167858.f2a1a4e93be (Koi)`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2`
 - channels(bart): `""`
 - channels(root): `"nixos-19.03pre167858.f2a1a4e93be"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Latest unstable has the same issue:

system: "x86_64-linux"
host os: Linux 4.20.6, NixOS, 19.03pre168320.2d6f84c1090 (Koi)
multi-user?: no
sandbox: yes
version: nix-env (Nix) 2.2
channels(bart): ""
channels(root): "nixos-19.03pre168320.2d6f84c1090"

Fixed after upgrading to 19.03pre169108.36f31600749


[TensorFlow] Make TensorDataType.cDataType public

Making this property public allows us to use it when constructing #tfop() statements which require a dtype attribute, in code that isn't built as part of the standard library.

@swift-ci please test tensorflow Linux

@swift-ci please test tensorflow linux

@swift-ci please test tensorflow Linux

@swift-ci please test tensorflow Linux

@swift-ci please test tensorflow Linux

@swift-ci please test tensorflow Linux


Could you update docker image?

Sure, once I complete bot's codes I will update the docker image, also provide a tutorial to support private-deploy.

Thanks, I am working on a mai bot also.


tracing-agent: API key sanitization

There are many places in Datadog Agent code base where API key is read from config structs. It is sanitized in some cases, but not others. That costed me quite some time debugging (see #6960). I wonder if this is intentional or should be fixed? It seems like centralizing the API key reads would be a good solution, but I'm reluctant to do the change because it'd touch a lot of files and is thus unlikely to get accepted.

We should probably be sanitizing the key whenever we use it, or maybe we should sanitize it when reading the config.


add validation to type no more then 3 characters

add validation to type no more then 3 characters

issue# 6 is solved


Select option for category in create product screen

This PR resolves #91.
Added pre - defined options to category field in create product screen and product edit screen.

@roopeshsn I have made changes. Can you please check?

Could you share a screenshot? "--Select one--" is also an option right? What if the admin chooses "--Select One--" and proceeds to create a product?

Could you share a screenshot? "--Select one--" is also an option right? What if the admin chooses "--Select One--" and proceeds to create a product?

yes i have made changes so when admin chooses "--Select one--" option this message will be shown

Have you formatted the code?

Done


Docker file missing DMG extension for x86 variant.

File: desktop/install/mac-install.md
FYI the downloaded file is "Docker" and needs to be renamed to "Docker.dmg"

Thanks for the report. We checked everything on our side and it turns out it is a bug in Firefox 102 and it should be fixed in the next Firefox release.


adding dshape parameter to CSV

This resolves part of #461 issue, so that when dshape is provided, it is taken by CSV.
However, this does not resolve the root of data type mismatch in #461.

@kwmsmith, since we are adding the datashape parameter for a very specific purpose, that is to allow user force one when he's not satisfied with the discovered one, I figure it's better to use a different variable name, user_dshape, to make it more explicit, and avoid conflicts with any internal use of "dshape" parameter by odo. This will require us to update blaze doc accordingly.


mime upgrade 1.x -> 2.x

Upgraded mime package lookup ->  getType bumbed version

Thanks for contributing. Check PR right now


fix(docs): nuxt-configuration redirect descriptions

🔗 Linked issue
No linked issue, just fixing a typo
❓ Type of change

[x] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 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)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
I think the descriptions got swapped in the docs for guestRedirectTo and authenticatedRedirectTo
📝 Checklist

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

Thanks ❤


re-sort Travis Scala/scalaz matrix for consistency across branches

Travis jobs are numbered XXXX.Y.  Currently Y == 1 on release-0.16.x is Scala 2.12 with scalaz 7.2.  On release-0.15.x, it is Scala 2.10 with scalaz 7.1.  The inconsistency makes it harder to spot patterns when builds fail, e.g. for #1055.

@rossabaker Feel free to close this if you don't see the need for it or if it might create problems.  Ideally release-0.15.x stops getting regular builds soon anyhow.

Codecov Report

Merging #1094 into release-0.15.x will increase coverage by 0.06%.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##           release-0.15.x    #1094      +/-   ##
==================================================
+ Coverage            68.9%   68.97%   +0.06%
==================================================
  Files                 211      211
  Lines                4432     4432
  Branches              445      445
==================================================
+ Hits                 3054     3057       +3
+ Misses               1378     1375       -3

Impacted Files
Coverage Δ

core/src/main/scala/org/http4s/HttpVersion.scala
87.5% <0%> (-6.25%)
:arrow_down:

.../scala/org/http4s/testing/ArbitraryInstances.scala
82.35% <0%> (+23.52%)
:arrow_up:

Continue to review full report at Codecov.

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


webview_flutter how to replicate cookie manager behavior

How can I set this properties using the webview_flutter plugin?
CookieSyncManager.getInstance().startSync();
CookieManager cookieManager = CookieManager.getInstance();
cookieManager.setAcceptCookie(true);
CookieManager.getInstance().setAcceptThirdPartyCookies(registrarTarjetaWebView, true);
Thanks for the help in advance

Hi @andoni97, The webview_flutter plugin doesn't support this behaviour as of today and there's already an open issue describing this case https://github.com/flutter/flutter/issues/86677. You may follow up there for further updates.
Thank you.

Thanks for the quick response, I'll keep an eye out for it.
On Tue, Jul 20, 2021 at 3:53 AM Mahesh Jamdade @.***>
wrote:

Closed #86677 https://github.com/flutter/flutter/issues/86677.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/86677#event-5042710756, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADHSDMHDS3RNCLGLPUITNQTTYUTP5ANCNFSM5AUOCEPQ
.

--


Update knn index default to always do approximate search in test

Description
Update knn index default to always do approximate search in test cases
Related Issues
Resolves #2329

Check List

[ ] New functionality includes testing.
[ ] New functionality has been documented.
[ ] API changes companion pull request created.
[ ] Commits are signed per the DCO using --signoff.
[ ] Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

There might be test cases which use custom setting instead of default setting. We need to update those cases as well.

There might be test cases which use custom setting instead of default setting. We need to update those cases as well.

like what? Can you share the test that you are referring to?

There might be test cases which use custom setting instead of default setting. We need to update those cases as well.
@heemin32 I realized what you mean by custom mapping. I searched for index.knn is set true and updated those index setting with approximate threshold parameter


Create previous and next button feature in quiz page

Is your feature request related to a problem? Please describe.
Currently we have only next button, on clicking next button it submits the answer and moves to next question
Problem: User is not able to move to previous or next question without answering the current question
Describe the solution you'd like...

You must make the previous and next button feature so that the user moves to the previous or next question
Add the save button to save the answer

Describe alternatives you've considered?
A clear and concise description of any alternative solutions or features you've considered.
Approach to be followed (optional):
A clear and concise description of the approach to be followed.
Additional context
Add any other context or screenshots about the feature request here.
Screenshots Or Video

Attach screenshots or video if applicable

Hii ! I would like to work on this .Can I be assigned !

Hii ! I would like to work on this .Can I be assigned !

Yes go ahead!

@sripor62 Any updates??

@sripor62 Any updates?

Go ahead @m-a-rahul

Hey @coding-geek21
I met with the challenge while customising this feature and I want your help with that. First of all, I will share my progress.
Progress

Added two buttons namely, PREVIOUS and NEXT which has been even validated against boundary conditions.
Along with that I've added the dashboard that displays a range of numbers according to the total no of questions in the quiz.
Also, the saved answers will be highlighted in green.
On clicking the SAVE button the particular answer gets saved and the user is redirected to the first index of the unanswered questions.

Issues Faced
So I am trying to display an update form if the user wants to revisit the saved question but since there are no connections between the Questions and the Answers table in the quiz I am not able to identify the particular instance and render an Update form.
Solution Discussion
According to my point of view, It might not be feasible to run a quiz application where there is no direct relation between the particular questions and the corresponding set of answers. So, we should update the quiz input pattern or the way we gather questions and answers from the faculties.
Kindly, write back at your convenience

Yeah i got the point.. you can update the quiz in such a way that you can take the options (4 options) in Quiz table itself so you need to update the models for which you can create another level3 issue and work on it after working on that you can come here make changes and make PR @m-a-rahul

Thanks for acknowledging the query will follow the instructions provided and get back to you once I am complete @coding-geek21

Yeah i got the point.. you can update the quiz in such a way that you can take the options (4 options) in Quiz table itself so you need to update the models for which you can create another level3 issue and work on it after working on that you can come here make changes and make PR @m-a-rahul

Hey, I've actually customised the functionality without creating that new direct relation between the table and created the pull request. Try going through the changes at your convenience, if it meets your expectations then we can cancel the new issue  #69 created.


fairseq version does not exist

fairseq@git+git://github.com/pytorch/fairseq@801a64683164680562c77b688d9ca77fc3e0cea7 seems to be not existing, could you update another version that is compatible to the code? Thanks a lot!

@Harry-hash Thanks for your interest on our work! Since fairseq has not released their v1.0.0 until now and I cannot guarantee the stableness of the master branch, I recommend you to install the 801a64 version. To install it, you should first install Git.

@Harry-hash Hello, anything esle I can help?

Sorry for the late reply! Thanks a lot for generous help!


[ie/Bluesky] Add extractor

IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information
Adds an extractor for bsky.app.
Fixes https://github.com/yt-dlp/yt-dlp/issues/10987
Template
Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Fix or improvement to an extractor (Make sure to add/update tests)
[x] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

This failed to get the cid correctly when I tested it today on a (private, so I shall not share it) bluesky post with an embedded video. As is, this branch resulted in an attempt to download a URL with &cid=None.
I haven't attempted to read traverse_obj or understand how it works, so I don't have a solution per se. But I inserted some debugging code to dump the post object. There was a reference to a m3u8 playlist in post["embed"]["media"]["playlist"]. No guarantees that naive traversal always works, but it did in my case.
Here's a copy of post["embed"] but anonymized:
{"$type": "app.bsky.embed.recordWithMedia#view", "media": {"$type": "app.bsky.embed.video#view", "cid": "somecid", "playlist": "https://video.bsky.app/watch/did%3Aplc%3A<something>/somecid/playlist.m3u8", "thumbnail": "https://video.bsky.app/watch/did%3Aplc%3A<something>/somecid/thumbnail.jpg", "aspectRatio": {"height": 1080, "width": 1920}}

Just noticed the playlist stuff already there. I'm not willing to spend the time going through the rigmarole necessary to fork and submit a PR to the bluesky branch, but the changes were simple:

traversals from embed -> playlist and embed -> thumbnail should have a middle "media" step, e.g., traverse_obj(post, ('embed', 'media', 'playlist'))
if blob_cid is falsey, don't append to formats

That worked fine for my single URL of interest.

The correct CID can be obtained from
post["embed"]["video"]["ref"]["$link"] or
post["embed"]["video"]["cid"]

Sometimes there's an extra media in embed. In that case
post["embed"]["media"]["video"]["ref"]["$link"] or
post["embed"]["media"]["video"]["cid"]

This seems to work for gallery-dl, at least (https://github.com/mikf/gallery-dl/commit/4c391805de49c7b7f1b98357c2bd0096a5e88fce).

Updated to include the above paths (with the slight tweak that we go through "record" first, which gallery-dl also does). For example:
post["record"]["embed"]["video"]["ref"]["$link"]

@gavinbeatty your example should work now if the post only has the m3u8 playlist. Thanks!

Yep, your branch works for me now, thanks 👍

Thanks for the redesign @seproDev! I made a few modifications before committing:

A raise_no_formats was added if no entries are found
I modified the traverse_obj in get_service_endpoint (it was always returning the default before)
A test was added for an at-uri (lovely touch!).
Added a language field to the info dict. Because it's supposed to be a language code string and not a list of languages, I just grab the first one.

Happy to make whatever changes are needed to help you get this ready for the next release, and I'm the one who should apologize for this taking so long :)


[test] Ensure SHA3 is idle before using KMAC

In some situations software seems to work fast enough that it can try to use KMAC before SHA3 is idle after the previous use. Our testutils check for this condition but error out rather than try to recover from it. This change uses a very small timeout since it should become idle very quickly ideally.
The error condition was being observed when #22033 was applied. With this change, the error does not fire.

Why don't you instead check if it's idle and if so you wait for it to be? Then if it's still not idle after a reasonable period do error out.


Relative relocation entries in ELF RELR section are not processed upon import

Describe the bug
When an ELF file is imported which has relative relocation entries in a section of type SHT_RELR, these relocations are not processed.
The ElfRelocationTable.parseRelrRelocations() method decodes the relocation entries, calling ElfRelocationTable.addRelrEntry() and ElfRelocationTable.addRelrEntries() to add them to a list of ElfRelocations. These call the ElfRelocation.createElfRelocation() method with the r_info argument set to zero.
These relocations are later examined by the ElfProgramBuilder.processRelocationTable() method, which skips past every ElfRelocation with a r_info of zero (as the getType() method called below returns the value of r_info):
...
		for (ElfRelocation reloc : relocs) {

			monitor.checkCancelled();
			monitor.incrementProgress(1);

			long type = reloc.getType();
			if (type == 0) {
				continue; // ignore relocation type 0 (i.e., ..._NONE)
			}
...

This has the effect of not processing any ElfRelocation created from the RELR section relocations.
It seems that the intended behavior for these relocations is for the relocation type (r_info) to be set to relrRelocationType:
...
			if (relrRelocationType != 0) {
				type = relrRelocationType;
				reloc.setType(relrRelocationType);
			}
...

However, as this is after the continue statement above, and relrRelocationType != 0 only when type == 0, this branch will never be reached for RELR relocations.
Possible fixes:

Add a condition to the zero type check so that RELR relocations are excluded:

			if (type == 0 && relrRelocationType == 0) {
				continue; // ignore relocation type 0 (i.e., ..._NONE)
			}

Or, move the relrRelocationType check before the type check so it has an opportunity to overwrite the type:

...
		for (ElfRelocation reloc : relocs) {

			monitor.checkCancelled();
			monitor.incrementProgress(1);

			if (relrRelocationType != 0) {
				type = relrRelocationType;
				reloc.setType(relrRelocationType);
			}

			long type = reloc.getType();
			if (type == 0) {
				continue; // ignore relocation type 0 (i.e., ..._NONE)
			}
...

To Reproduce
Steps to reproduce the behavior:

Create this test program:

int main() {}
const void *fptr = (void *) main;

Compile it with the --pack-dyn-relocs=relr linker option in Clang. For example, using a Clang compiler from the Android NDK:

$ aarch64-linux-android33-clang -Wl,--pack-dyn-relocs=relr test.c -o test

Confirm that the output binary contains a RELR section with relative relocation entries:

$ llvm-readelf -S -r test
There are 27 section headers, starting at offset 0xfe8:

Section Headers:
  [Nr] Name              Type            Address          Off    Size   ES Flg Lk Inf Al
...
  [ 8] .relr.dyn         RELR<PHONE_NUMBER>000478<PHONE_NUMBER>18 08   A  0   0  8
...

Relocation section '.relr.dyn' at offset 0x478 contains 5 entries:
    Offset             Info             Type               Symbol's Value  Symbol's Name
00000000000028a0<PHONE_NUMBER>000403 R_AARCH64_RELATIVE
00000000000028a8<PHONE_NUMBER>000403 R_AARCH64_RELATIVE
00000000000028b0<PHONE_NUMBER>000403 R_AARCH64_RELATIVE
00000000000028b8<PHONE_NUMBER>000403 R_AARCH64_RELATIVE
00000000000038f0<PHONE_NUMBER>000403 R_AARCH64_RELATIVE
...

Import the output binary into Ghidra and open it.

Observe that fptr (offset 0x38f0 in the above readelf output) has not been relocated - it should point to the main function, but does not:

                     undefined main()
     undefined         w0:1           <RETURN>
                     main                                            XREF[3]:     Entry Point(*), 00100504,
                                                                                00100598(*)
   00101644 e0 03 1f 2a                   mov        w0,wzr
   00101648 c0 03 5f d6                   ret

...

                     fptr                                            XREF[3]:     Entry Point(*), 00100168(*),
                                                                                _elfSectionHeaders::00000550(*)
   001038f0 44 16 00 00 00 00 00 00       addr       DAT_00001644

Expected behavior
The relocation entries in the RELR section should have been relocated.
In the test program above, fptr should have looked like this:
                     fptr                                            XREF[3]:     Entry Point(*), 00100168(*),
                                                                                _elfSectionHeaders::00000550(*)
   001038f0 44 16 10 00 00 00 00 00       addr       main

Environment (please complete the following information):

OS: Linux
Java Version: 17.0.5
Ghidra Version: 10.3.2
Ghidra Origin: official GitHub distro

From testing this patch (https://github.com/NationalSecurityAgency/ghidra/commit/e0110d54089a3882327e695f74c09967f875dd84) over the past few days on several Android ELF executables with RELR relocations, and also other binaries, it seems to fix the issue without any unintended side effects:
@@ -989,6 +989,10 @@ private void processRelocationTableEntries(ElfRelocationTable relocationTable,
 			monitor.checkCancelled();
 			monitor.incrementProgress(1);

+			if (relrRelocationType != 0) {
+				reloc.setType(relrRelocationType);
+			}
+
 			long type = reloc.getType();
 			if (type == 0) {
 				continue; // ignore relocation type 0 (i.e., ..._NONE)
@@ -1006,11 +1010,6 @@ private void processRelocationTableEntries(ElfRelocationTable relocationTable,

 			long[] values = new long[] { reloc.getSymbolIndex() };

-			if (relrRelocationType != 0) {
-				type = relrRelocationType;
-				reloc.setType(relrRelocationType);
-			}
-
 			Status status = Status.SKIPPED;
 			int byteLength = 0;
 			try {


Image display enhancement

Image ratio
Images with non-standard size (e.g. large height but small width) are filled in projects image blocks, which changed the ratio.
How to keep the original ratio?
Image rotation
Is it possible to automatic read the rotation property from exif, so that to get the right rotation.
Something like:
img {
    image-orientation: from-image;
}

I tried to add this css to assets/custom.css, but with no success.
Just minute ago, I found the wrong rotation is caused by the resize process. So it is necessary to get the right rotation property after resize the images.

@mingsu Can you please share a screenshot and a sample image?


Sampler gradient not returning consistent number of gradients

Environment

Qiskit Terra version: 0.23.0rc1
Python version: 3.9.13
Operating system: macOS 13.1

What is happening?
When applied to a parameterised circuit with n >= 14 qubits, the sampler gradient does not always return the correct number of gradients. It should return 2ˆn gradients for each parameter in the circuit, but it sometimes returns fewer. I have only tested this with ParamShiftSamplerGradient and LinCombSamplerGradient on a single-layer RealAmplitudes circuit.
In the code below with fixed numpy seed for reproducibility, the first 10 calls to the sampler gradient correctly return 2ˆ14 = 16384 gradients for the zeroth parameter, but the 11th incorrectly returns 16376 gradients.
How can we reproduce the issue?
import numpy as np
np.random.seed(42)

from qiskit.algorithms.gradients import ParamShiftSamplerGradient, LinCombSamplerGradient
from qiskit.circuit.library import RealAmplitudes
from qiskit.primitives import Sampler

num_qubits = 14

qc = RealAmplitudes(num_qubits, reps=1)
qc.measure_all()

sampler = Sampler()
sampler_gradient = ParamShiftSamplerGradient(sampler)
sampler_gradient = LinCombSamplerGradient(sampler)

def get_grads():
    weights = np.random.uniform(0, np.pi, qc.num_parameters)
    grad_job = sampler_gradient.run(circuits=[qc], parameter_values=[weights], parameters=[qc.parameters[:1]])
    # Get gradients for zeroth (and only) circuit and zeroth parameter
    grads = grad_job.result().gradients[0][0]
    return grads

for _ in range(11):
    grads = get_grads()
    print(len(grads))

What should happen?
Observed output:
16384
16384
16384
16384
16384
16384
16384
16384
16384
16384
16376 <--- not the right number!

Expected output:
16384
16384
16384
16384
16384
16384
16384
16384
16384
16384
16384

Any suggestions?
No response

@a-matsuo do you have any idea why that could come up? Maybe something with the ThreadPoolExecutor? 🤔

The issue is reproducible in my environment as well. I increased the number of repetitions from 11 to 100. Then I got  like this. It rarely happens, but the error always occurs at certain times i.e. 11, 62, and 77. 🤔

It's the input weights that matter - if you np.random.seed(1) for the weights = np.random.uniform(...) you get the wrong number every time.

I think the sampler results with probability 0 (which are removed) are causing this and the behavior is as expected. I increased the number of repetitions from 11 to 100. Then I got  like this. It happens rarely, but it always happens at a certain time, i.e. 11, 62, and 77.
For example, when I checked the sampler results for instance no. 11, the number of sampler results was less than 16384. So the number of sampler gradient results will also be less than 16384 (It maintains the property of being sparse).

It turns out our assumption was wrong: the gradient dictionary does not include all 2^n probability gradients, but only thosw which are nonzero. This is per design, as otherwise we'd always have an exponentially large dictionary, see also #9248 on the same topic 🙂
So the length not being consistent just means that some of the probability gradients are zero. To handle that your code would need to be changed to work on dictionaries, or you could turn the dictionary into a sparse vector to keep the efficient representation.

Thank you @a-matsuo and @Cryoris for clarifying! I didn't realise that the sampler only returned non-zero gradients. That makes sense.


Try to fix CFF for NLeSC repositories

Plan:

Fork
Change cffversion to 1.2.0
Create cffconvert.yml
Run validator
If validation work, make a PR with updated CITATION.cff and cffconvert.yml
If validation does not work, assess the error and decide on a case-by-case basis

The list of repositories with invalid CITATION.cff file is in the file below.
rsd_invalid_cff_repos.txt

Last review of open issues: 18-02-2022


The setup method cannot internally fetch the $Route object through the instance returned by getCurrentInstance

Version
4.0.0-beta.11
Reproduction link
https://jsfiddle.net/posva/3yq6ojLv/5
Steps to reproduce
setup() {
const { ctx }:any = getCurrentInstance();
ctx.$route.  //Can't get
}
What is expected?
You can get $route in setup
What is actually happening?
Setup does not fetch $route

Please check the documentation https://next.router.vuejs.org/guide/advanced/composition-api.html


ParseException

Hi,
I just tried to run Cron2English.parse('57 10 * * 2-3,6-7').join(' '), and it gave the following error -
Cron2English::ParseException: Unparseable crontab spec: field 5: "2-3,6-7"

Looks like you're right. I'll see if I can make a fix for you.

Fixed; please update to version 0.1.7. Thanks for the bug report!

Thanks @pjungwir


Add Derivative: Art (for Loot)

Art (for Loot) has been added.

Project Name: Art (for Loot)
Website: https://opensea.io/collection/suprematism-regenesis
Twitter: https://twitter.com/lootzart

Please add "Art (for Loot)" to the Resources section on the Loot website.
This is an NFT art collection inspired by the Loot project. 50% of artworks will be distributed to Loot holders.
Website: https://opensea.io/collection/suprematism-regenesis

LGTM! Thanks for your contribution.


How to mint on OpenSea from code

I tried following Hashlips video but i get stuck at the 12:00 point (He uses V3, which is different from the version I'm using... I think I use the newer one, either V4 or main, I am not too sure). I am a complete noob to code and would appreciate if someone could help me out. his instructions arent working at all for me...

I used the main branch too , and my NFTs are now live! What issue do you have though I couldnt understand from your description

I just solved an issue I've had for like five hours lol. But please stand by... I know Ill have more issues soon. Will I have to watch both parts of his videos to finish uploading or will I be done after I finish the first one?

Ok. Do I have to use Afrihost? Id rather not pay... what alternatives are there?

Use infinityfree. Its free

Alright @Ponda1  Using infinityfree now. The webside still hasnt generated... says allow 72 hours. For the website that i put for the uri, do i just put https://[the website name I made]/htdocs ?? Also, how do I upload all 20,000 files (10000 pngs and 10000 json) to the folder?


Failed to initialize the driver

Can't seem to get it to work. I did also try the official add-on "Z-Wave JS" and although no UI, it was able to see my devices. I removed that and installed this one but keep getting this error.
Complete log output: https://pastebin.com/Ci2QuEB6
My hardware:
serial:
  - /dev/ttyUSB0
  - >-
    /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_81300EB9-if00-port0
  - /dev/ttyUSB1
  - >-
    /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_81300EB9-if01-port0

The official add-on used /dev/ttyUSB0. I tried that and the full /dev/serial/by-id/.....
I don't have any secure devices but I was still able to get the network key from my HA .storage/core.config_entries file.

Same here and the same USB dongle.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
Add-on: Z-Wave JS to MQTT
Fully configurable Z-Wave JS to MQTT gateway and control panel
Add-on version: 0.3.0
You are running the latest version of this add-on.
System: Home Assistant OS 5.10  (amd64 / qemux86-64)
Home Assistant Core: 2021.2.1
Home Assistant Supervisor: 2021.01.7
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] configuration.sh: executing...
[cont-init.d] configuration.sh: exited 0.
[cont-init.d] nginx.sh: executing...
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[09:58:56] INFO: Starting the Z-Wave JS to MQTT...

|___  /                      ()   |__ \                | | | |
/ /      ____ ___   _____ _ ___   ) |_ __ ___   __ | || |_
/ /\ \ /\ / / \ \ / / _ \ / __| / /| '_ _ \ / ` | __| |
/ /\ V  V / (| |\ V /  _/ _ / /| | | | | | (| | || |_
/|_/_/ _,| _/ _| |/|| || ||_, |_|_|
/ |                      | |
|__/                       ||
2021-02-05 09:58:56.496 WARN STORE: scenes.json not found
/bin/sh: git: not found
2021-02-05 09:58:57.337 INFO APP: Version: 1.0.5
2021-02-05 09:58:57.338 INFO APP: Application path:/opt
2021-02-05 09:58:57.364 INFO MQTT: MQTT is disabled
2021-02-05 09:58:57.372 INFO ZWAVE: Connecting to /dev/ttyUSB0
09:58:57.373 DRIVER   ███████╗ ██╗    ██╗  █████╗  ██╗   ██╗ ███████╗             ██╗ ███████╗
╚══███╔╝ ██║    ██║ ██╔══██╗ ██║   ██║ ██╔════╝             ██║ ██╔════╝
███╔╝  ██║ █╗ ██║ ███████║ ██║   ██║ █████╗   █████╗      ██║ ███████╗
███╔╝   ██║███╗██║ ██╔══██║ ╚██╗ ██╔╝ ██╔══╝   ╚════╝ ██   ██║ ╚════██║
███████╗ ╚███╔███╔╝ ██║  ██║  ╚████╔╝  ███████╗        ╚█████╔╝ ███████║
╚══════╝  ╚══╝╚══╝  ╚═╝  ╚═╝   ╚═══╝   ╚══════╝         ╚════╝  ╚══════╝
09:58:57.374 DRIVER   version 6.1.2
09:58:57.374 DRIVER
2021-02-05 09:58:57.392 INFO APP: Listening on port 44920
2021-02-05 09:58:57.407 INFO ZWAVE-SERVER: ZwaveJS server listening on port 3000
[09:58:57] INFO: Starting NGinx...
09:59:00.201 CNTRLR   beginning interview...
09:59:00.202 CNTRLR   querying version info...
09:59:01.283 CNTRLR   Failed to execute controller command after 1/3 attempts. Scheduling next try i
n 100 ms.
09:59:02.386 CNTRLR   Failed to execute controller command after 2/3 attempts. Scheduling next try i
n 1100 ms.
09:59:04.493 DRIVER   Failed to initialize the driver: Timeout while waiting for an ACK from the con
troller
2021-02-05 09:59:04.494 INFO ZWAVE: Controller status: Driver: Failed to initialize the driver: Timeout while waiting for an ACK from the controller
[09:59:07] INFO: Successfully send discovery information to Home Assistant.

at Scheduler.process (/opt/node_modules/xstate/lib/scheduler.js:60:13) This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: ZWaveError: Timeout while waiting for an ACK from the controller     at Object.sendDataErrorToZWaveError (/opt/node_modules/zwave-js/src/lib/driver/StateMachineShared.ts:69:11)     at /opt/node_modules/zwave-js/src/lib/driver/SendThreadMachine.ts:437:4     at /opt/node_modules/xstate/lib/utils.js:410:33     at Array.reduce (<anonymous>)     at Object.updateContext (/opt/node_modules/xstate/lib/utils.js:400:25)     at Object.resolveActions (/opt/node_modules/xstate/lib/actions.js:409:19)     at StateNode.resolveTransition (/opt/node_modules/xstate/lib/StateNode.js:787:35)     at StateNode.transition (/opt/node_modules/xstate/lib/StateNode.js:733:21)     at StateNode.resolveRaisedTransition (/opt/node_modules/xstate/lib/StateNode.js:738:22)     at StateNode.resolveTransition (/opt/node_modules/xstate/lib/StateNode.js:873:39)     at StateNode.transition (/opt/node_modules/xstate/lib/StateNode.js:733:21)     at /opt/node_modules/xstate/lib/interpreter.js:602:34     at Object.provide (/opt/node_modules/xstate/lib/serviceScope.js:11:18)     at Interpreter.nextState (/opt/node_modules/xstate/lib/interpreter.js:601:38)     at /opt/node_modules/xstate/lib/interpreter.js:124:39     at Scheduler.process (/opt/node_modules/xstate/lib/scheduler.js:60:13) [12:58:19] INFO: Starting the Z-Wave JS to MQTT... 2021/02/05 12:58:20 [error] 416#416: *1574 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: a0d7b954-zwavejs2mqtt, request: "GET /socket.io/?EIO=4&transport=polling&t=NTpM48T&sid=ua0bdKg440XdjKC_AAAE HTTP/1.1", upstream: "http://<IP_ADDRESS>:44920/socket.io/?EIO=4&transport=polling&t=NTpM48T&sid=ua0bdKg440XdjKC_AAAE", host: "<IP_ADDRESS>:8123", referrer: "https://<IP_ADDRESS>:8123/api/hassio_ingress/2lkk8f-QRCzDZErOvVrRFrWghGiyOkrOEalhs-sUysw/" 2021/02/05 12:58:20 [error] 416#416: *1574 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: a0d7b954-zwavejs2mqtt, request: "POST /socket.io/?EIO=4&transport=polling&t=NTpM48p&sid=ua0bdKg440XdjKC_AAAE HTTP/1.1", upstream: "http://<IP_ADDRESS>:44920/socket.io/?EIO=4&transport=polling&t=NTpM48p&sid=ua0bdKg440XdjKC_AAAE", host: "<IP_ADDRESS>:8123", referrer: "https://<IP_ADDRESS>:8123/api/hassio_ingress/2lkk8f-QRCzDZErOvVrRFrWghGiyOkrOEalhs-sUysw/"

@jjmuriel Use triple backticks to wrap code/text/logs 😉

@jjmuriel Use triple backticks to wrap code/text/logs 😉

Thanks!

I fixed this. Mine is now working.
Follow this guide here: https://community.home-assistant.io/t/switching-from-zwave-1-4-to-zwave-js/276718
In short, if you still have the old Zwave integration installed then it will have total control over your Zwave USB stick. You need to remove the integration and reboot your host.  Just follow the guide I linked and you should be good. The ONLY part of the guide I changed is I installed zwavejs2mqtt rather than the official zwavejs add-on.


jitter_generate(): Properly mix in the additional input

By adding the additional input directly to the pool we were using just the additional input.

This pull request is ready to merge

Merged to the master branch. Thank you for the reviews.


Update docstring documetation for methods in Channel

Update argument documentation for request_serializer and response_deserializer
in:

unary_unary
unary_stream
stream_unary
stream_stream

@nathanielmanistaatgoogle please take a look.

I think we should also do this against 1.0.x rather than master.

Closing in favour of #8038


Fix Fixed the issue where uncompletedMpuPendingUploads did not remove objects correctly.

Proposed changes
Fix Fixed the issue where uncompletedMpuPendingUploads did not remove objects correctly.

run buildall


Create a website

Create a dynamic website where the visitor can see all the available templates in the repo.

[ ] Design UI
[ ] Website should be dynamic(i.e. it should automatically add new templates added in the repo)
[ ] Add search feature
[ ] Add feature to copy the code from website itself

Create a dynamic website where the visitor can see all the available templates in the repo.

* [ ]  Design UI

* [ ]  Website should be dynamic(i.e. it should automatically add new templates added in the repo)

* [ ]  Add search feature

* [ ]  Add feature to copy the code from website itself

Hello Mudit
The dynamic feature is easy you can get data from API
First We want to A Designer to make the Design UI
Who can do that ?

Let's see about the design. Can you implement other features with basic design and when the main UI is ready we can implement it later?

Created a discussion for this issue #84 . Let's discuss the ideas there.

Let's see about the design. Can you implement other features with basic design and when the main UI is ready we can implement it later?

Ok
How we will Start ?


Can't remove empty pointers

This only happens under some circumstances (don't know which), not always.

I'm hoping this was taken care of by the big copy-paste rework (which resolved some bugs very similar to this one). If we encounter this issue open, I'll re-open.


Upgrade apache poi-ooxml from 3.17 to 4.0

This fixes #39.

Thanks for your contribution!
Much appreciated 🎉


Add eval_type_backport to handle union operator in older Pythons

Change Summary
Replaces all calls (outside v1) to typing._eval_type with the new typing_extra.eval_type_backport which uses AST modification to convert X | Y to Union[X, Y] when needed. This is only used when an appropriate TypeError is raised so it should usually only kick in on older Python versions. It might also help with cases like https://github.com/pydantic/pydantic/issues/7875 where | is simply unimplemented but probably shouldn't be treated as a complete solution for that kind of thing.
Related issue number
Closes https://github.com/pydantic/pydantic/issues/7873
Checklist

[x] The pull request title is a good summary of the changes - it will be used in the changelog
[x] Unit tests for the changes exist
[x] Tests pass on CI
[x] Documentation reflects the changes where applicable
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Selected Reviewer: @hramezani

please review

@PrettyWood tried this long ago, I personally think it's too complicated and confusing to be worth while.

I personally think it's too complicated and confusing to be worth while.

But I also think it's very hacky as it's more an extension of python itself than pydantic.

Closing this 👍

Well that's disappointing. I questioned whether it was worth it in the original issue and I explained that I was going to use AST modification. @PrettyWood your last comment there seemed OK with this approach, did I misunderstand or was this not what you were expecting?

I personally think it's too complicated and confusing to be worth while.

@samuelcolvin was this referring to @PrettyWood's approach that manipulated tokens, or the AST approach here? I'm honestly surprised to hear that it's considered complicated/confusing/hacky, it's a small amount of pretty straightforward code that's working well and has no issues that I know of.
What if we make it optional and off by default, so you have to e.g. turn on an environment variable to enable it? Everything would still go through eval_type_backport but when it sees the right kind of exception it checks whether the feature is enabled, and if it isn't then it tells the user what they can do to enable it?

I didn't say I'm against it. I'm just a contributor and I see the added value.
I just don't know if it's pydantic job to add that kind of logic.

Hi @alexmojaki sorry to disappoint.
I'm just a bit scared that:

It ends up introducing more and more issues, and since we're started to support it, we then have to fix those issues.
It's conceptually confusing to both experienced and inexperienced developers - the whole issue of what you can use in what version of python is already confusing, as is runtime use of type hints, adding "but you can actually use newer type hints in older code if you do this special "future" import that isn't actually going to be the future import then reply on this library to backport some, but not all new syntax" definitely adds significant complexity.

Still, I have wanted this a number of times, so here's my proposal.
@alexmojaki would you consider packaging this as a new library, pydantic can add it as an optional depedency and try to import it and fall back to the current behaviour when it's not installed, or not required. We can add some explanation and a link to the package's docs to our docs.
That way it's isolated, off by default and the code doesn't need to live in pydantic or have the same quality/maintenance guarentees that pydantic does. WDYT?

Thanks, that's a fair and helpful explanation. I was also thinking that a separate library was a likely solution, I'll do that.

PR with separate library: https://github.com/pydantic/pydantic/pull/8209


Bisect tool for canary releases

Right now you have to manually enter commit hashes and since they are all hosted on different subdomains, any user preferences are not maintained between versions.

This was added in https://github.com/rendajs/domain-server/commit/869f58789e2b651d997a6b2dba587046b66b4e49


Ports view: too many different font weights and sizes

Testing #117250
Compare the font, weight and size of the new table headers with the rest, I think they do not look like they belong there:

@joaomoreno do you think it is worth providing different defaults for the table?

What is the suggestion? All caps? I'm not so sure that's such a good idea. And actually 8080 is the one that stands out the most for me, since it uses a lower font size than the workbench default.
I'd leave this for @misolori to tweak.

In my picture we have 3 times "Port" and the one that should be the smallest imho stands out most. I would bring the font weight and style closer to the content of the table.

Worth noting: @bpasero  you have an extra "Ports" in there, probably from moving the view about in the past:

Yeah I did that on purpose to show what kind of labels you can end up with.

Font size is not specific to the ports view, it's coming from
https://github.com/microsoft/vscode/blob/9394e571e5508d476a97acb937f422f9683edf24/src/vs/workbench/browser/media/part.css#L92-L94

In my picture we have 3 times "Port" and the one that should be the smallest imho stands out most. I would bring the font weight and style closer to the content of the table.

Font size is exactly the same, just bold.

All of our table headings are the same font-size and font-weight, so they are consistent in that regard:

I think this is more of an issue with views and titles and their hierarchy (which IMO is not a table issue). Ideally you'd want the highest items to have the highest font-size and then cascade down like:

But that's a different discussion 😄  happy to bring it up in the next ux sync or post in our ux channel


Error during pub install

[user feedback]
Just upgraded the editor but get the following editor when pub installing.
--- 10-Oct-2013 14:07:06 Running pub install ... ---
Pub install failed, [254] 'file:///e:/b/build/slave/dart-editor-win-trunk/build/dart/sdk/lib/_internal/pub/bin/pub.dart': Error: line 19 pos 37: unexpected token ';'
final pubArgParser = initArgParser();
                                    ^
** Warning: Application may fail to run since packages did not get installed.Try running pub install again. **
////////////////////////////////////////////////////////////////////////////////////
Editor: 0.8.1_r28355 (2013-10-08)
OS: Windows 7 - amd64 (6.1)
JVM: 1.7.0_25
projects: 3
open dart files: 2
auto-run pub: true
localhost resolves to: <IP_ADDRESS>
mem max/total/free: 1778 / 808 / 357 MB
thread count: 29
index: 205977 relationships in 43412 keys in 240 sources
SDK installed: true
Dartium installed: true

This issue has been moved to dart-lang/pub#660.


Configurations/*.tmpl: overhaul assembler make rules.

NOTE: Not Configurations/unix-Makefile.tmpl, as that was done 4 years
ago, in commit a23f03166e0ec49ac09b3671e7ab4ba4fa57d42a.
So far assembly modules were intended to be built as .pl->.S->.{asmext}
followed by .{asmext}->.o.  This posed a problem in build_all_generated
rule if it was executed on another computer, and also turned out to be
buggy, as .S was also translated to .{asmext} on Windows and VMS.
Both issues are fixed by changing the rule sequence to .pl->.S and then
.S->.s->.o, with the added benefit that the Windows and VMS build file
templates are more in sync with unix-Makefile.tmpl and slightly simpler.
Fixes #19594

I've checked that this patch applies cleanly on 3.1 and 3.0.
It does.
I've also checked that the resulting build files ("Makefiles") get
appropriate changes.
This is marked urgent, because VMS builds are broken as soon as
the ias compiler is present (with default configuration).

I agree with urgent.

Will merge it in an hour ('cause ongoing meeting)

Merged
master:
b8d3cf0954737a9665e3b2bff25bc689a5114010 Configurations/*.tmpl: overhaul assembler make rules.
3.1:
6f6d7eeda1d62affc379b0b91c851d1a17f149d1 Configurations/*.tmpl: overhaul assembler make rules.
3.0:
4aabade09f98a6eea3d78d841ec93396309fdf28 Configurations/*.tmpl: overhaul assembler make rules.


Fails to build with only BUILD_SINGLE and BUILD_DOUBLE on Windows

Building OpenBLAS fails on Windows when enabling only single and double (-DBUILD_SINGLE=ON -DBUILD_DOUBLE=ON
[2868/5474] Building C object driver/others/CMakeFiles/driver_others.dir/blas_server_win32.c.obj
FAILED: driver/others/CMakeFiles/driver_others.dir/blas_server_win32.c.obj
D:\Programs\msys64_test\clang64\bin\clang.exe  -ID:/dev/MINGW-packages/mingw-w64-openblas/src/OpenBLAS-0.3.21 -ID:/dev/MINGW-packages/mingw-w64-openblas/src/build-CLANG64-32 -DHAVE_C11 -DMS_ABI -Wall -m64 -DSMALL_MATRIX_OPT -DDYNAMIC_ARCH -DSMP_SERVER -DMAX_CPU_NUMBER=64 -DMAX_PARALLEL_NUMBER=1 -DNO_AFFINITY -DVERSION="\"0.3.21\"" -DBUILD_SINGLE -DBUILD_DOUBLE -O3 -DNDEBUG -MD -MT driver/others/CMakeFiles/driver_others.dir/blas_server_win32.c.obj -MF driver\others\CMakeFiles\driver_others.dir\blas_server_win32.c.obj.d -o driver/others/CMakeFiles/driver_others.dir/blas_server_win32.c.obj -c D:/dev/MINGW-packages/mingw-w64-openblas/src/OpenBLAS-0.3.21/driver/others/blas_server_win32.c
D:/dev/MINGW-packages/mingw-w64-openblas/src/OpenBLAS-0.3.21/driver/others/blas_server_win32.c:298:40: error: use of undeclared identifier 'ZGEMM_P'
              sb = (void *)(((BLASLONG)sa + ((ZGEMM_P * ZGEMM_Q * 2 * sizeof(double)
                                              ^
D:/dev/MINGW-packages/mingw-w64-openblas/src/OpenBLAS-0.3.21/driver/others/blas_server_win32.c:298:50: error: use of undeclared identifier 'ZGEMM_Q'
              sb = (void *)(((BLASLONG)sa + ((ZGEMM_P * ZGEMM_Q * 2 * sizeof(double)
                                                        ^
D:/dev/MINGW-packages/mingw-w64-openblas/src/OpenBLAS-0.3.21/driver/others/blas_server_win32.c:301:40: error: use of undeclared identifier 'CGEMM_P'
              sb = (void *)(((BLASLONG)sa + ((CGEMM_P * CGEMM_Q * 2 * sizeof(float)
                                              ^
D:/dev/MINGW-packages/mingw-w64-openblas/src/OpenBLAS-0.3.21/driver/others/blas_server_win32.c:301:50: error: use of undeclared identifier 'CGEMM_Q'
              sb = (void *)(((BLASLONG)sa + ((CGEMM_P * CGEMM_Q * 2 * sizeof(float)
                                                        ^
D:/dev/MINGW-packages/mingw-w64-openblas/src/OpenBLAS-0.3.21/driver/others/blas_server_win32.c:567:30: warning: cast to 'void *' from smaller integer type 'long' [-Wint-to-void-pointer-cast]
                                     blas_thread_server, (void *)i,
                                                         ^~~~~~~~~
1 warning and 4 errors generated.

does it work without -DBUILD_SINGLE -DBUILD_DOUBLE ? I guess these defines are not needed on Windows.

Should I rephrase it "It fails when disabling complex".
Because of https://github.com/xianyi/OpenBLAS/blob/develop/CMakeLists.txt#L119

Oops, looks like I missed this file when I added the ifdef's in #2852


ci: partial nix docker support (PROOF-537)

Rationale for this change
This is a step towards migrating our docker container to use nix.
Some parts still need work (noted in comments), but this gets us part of the way there.
What changes are included in this PR?

Adds a docker target to the nix flake.

Are these changes tested?
Yes, ran manually.

:tada: This PR is included in version 1.15.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


tests: Conditionally compile MKFS Fat FS test

This is a hotfix to work around build issues due to this FS test using the flash API innappropriately.

This comments ifdefs entire unit, just use CMakeLists if to do this.

This comments ifdefs entire unit, just use CMakeLists if to do this.

*_sources_ifdef(CONFIG_X	x.c)

@decsny Can you explain the problem a little bit? How to reproduce the problem?

If you are using the fat fs on a non flash device there will be a build error. The test is for fat fs not for flash, so there should not be flash functions in the test without some compilation guard.

@decsny Can you explain the problem a little bit? How to reproduce the problem?

If you are using the fat fs on a non flash device there will be a build error. The test is for fat fs not for flash, so there should not be flash functions in the test without some compilation guard.

You mean that when you build for FAT FS via disk access on non-flash device?

@decsny Can you explain the problem a little bit? How to reproduce the problem?

If you are using the fat fs on a non flash device there will be a build error. The test is for fat fs not for flash, so there should not be flash functions in the test without some compilation guard.

You mean that when you build for FAT FS via disk access on non-flash device?

when you build this fat_fs_api test for a non flash device yes

Related issue: https://github.com/zephyrproject-rtos/zephyr/pull/53021


Configuration metadata for clientRegistrationId is missing/wrong

Describe the bug
clientRegistrationId config value is needed by Oauth2FeignConfiguration but spring-configuration-metadata.json file has it as  registrationClientId
    {
      "name": "spring.cloud.openfeign.oauth2.registrationClientId",
      "type": "java.lang.String",
      "description": "Provides a clientId to be used with OAuth2.",
      "defaultValue": ""
    }

Sample
It confused me, one of them should be replaced in my opinion.

Thanks for reporting this, @xnart. That's right. Will fix it.


The new highlight color scheme is confusing

Issue Type: Feature Request
The new highlight color scheme for Javascript is confusing. It makes the color of the array different from that of the array within it. This is also reflected in objects, code blocks, and other identifiers.
Please revert to the previous color scheme.
VS Code version: Code 1.67.0 (57fd6d0195bb9b9d1b49f6da5db789060795de47, 2022-05-04T12:06:02.889Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

Maybe this is what you are referring to.
https://code.visualstudio.com/updates/v1_67#_bracket-pair-colorization-enabled-by-default

Maybe this is what you are referring to.
https://code.visualstudio.com/updates/v1_67#_bracket-pair-colorization-enabled-by-default

Thanks. But I think this feature could be better. At least don't let the bracket pairs of the same usage have different colors.


Issues running server on Windows & Kali

I have run the server on both Windows and Kali, the server starts fine, however, when I attempt to connect to it via smbclient or by mounting a cifs share on Kali, it has errors.
C:\Users\tester\Desktop\smb_test\test\node_modules\node-smb-server>node index.js info: [SRV] logging initialized. info: [SRV] configuration successfully read: C:\Users\tester\Desktop\smb_test\test\node_modules\node-smb-server\config.json info: [SRV] [13220] SMB server started listening on port 8445 info: [SRV] established client connection #1 from [<IP_ADDRESS>:54703] -> [<IP_ADDRESS>:8445] error: [SRV] uncaught exception: Cannot read property 'negotiateMsg' of undefined TypeError: Cannot read property 'negotiateMsg' of undefined     at handle (C:\Users\tester\Desktop\smb_test\test\node_modules\node-smb-server\lib\smb\cmd\session_setup_andx.js:142:15)     at C:\Users\tester\Desktop\smb_test\test\node_modules\node-smb-server\lib\smb\handler.js:76:9     at C:\Users\tester\Desktop\smb_test\test\node_modules\async\lib\async.js:181:20     at iterate (C:\Users\tester\Desktop\smb_test\test\node_modules\async\lib\async.js:262:13)     at Object.async.forEachOfSeries.async.eachOfSeries (C:\Users\tester\Desktop\smb_test\test\node_modules\async\lib\async.js:281:9)     at Object.async.forEachSeries.async.eachSeries (C:\Users\tester\Desktop\smb_test\test\node_modules\async\lib\async.js:214:22)     at Object.handleRequest (C:\Users\tester\Desktop\smb_test\test\node_modules\node-smb-server\lib\smb\handler.js:63:9)     at C:\Users\tester\Desktop\smb_test\test\node_modules\node-smb-server\lib\smbconnection.js:96:13     at C:\Users\tester\Desktop\smb_test\test\node_modules\async\lib\async.js:181:20     at Object.async.forEachOf.async.eachOf (C:\Users\tester\Desktop\smb_test\test\node_modules\async\lib\async.js:233:13)
I've tried the NPM version and cloning the repo, I get the same error with both versions, same error if I host it on Windows 10 or Kali.
Happy to provide any further information that is needed.

thanks for reporting this issue. it seems like there's a problem with the initial handshake (sessionKey
passed in SMB_COM_SESSION_SETUP_ANDX msg seems to be invalid). this is most likely a client issue. have you tried to access the same server using Finder on a mac?
Finder is currently the only tested client. support for other clients and platforms is on the TODO list but, due to limited time, frankly not a very high priority.

I don't own a Mac lol, ggwp
On May 13, 2017 12:23 AM, "Stefan Guggisberg"<EMAIL_ADDRESS>wrote:

thanks for reporting this issue. it seems like there's a problem with the
initial handshake (sessionKey
passed in SMB_COM_SESSION_SETUP_ANDX msg seems to be invalid). this is
most likely a client issue. have you tried to access the same server using
Finder on a mac?
Finder is currently the only tested client. support for other clients and
platforms is on the TODO list but, due to limited time, frankly not a very
high priority.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/adobe/node-smb-server/issues/38#issuecomment-301090634,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADlKDu-smSCu-Km1EZhSUxqTscXYcY0xks5r5GtZgaJpZM4NYwHh
.

PC support would be awesome!

duplicated by https://github.com/adobe/node-smb-server/issues/43


notify() contract consistant with Airbrake/Airbrake-js

Is there a compelling reason for the airbrake.notify() contract to differ from the contract outlined in the airbrake-js module: https://github.com/airbrake/airbrake-js#notice-annotations?

No reason. This module existed before airbrake-js.


Support nested quotes

Hi 👋 🙂
I encountered an edge case with the Regex currently used to parse placeholders.
payload ->> '$."value-1"' = :value1
OR
payload ->> '$."value-2"' = :value2

ℹ  " are needed here to escape the - special character in the field's name
The problem with the current (["\'])([^"\']*\1) regex is that it tries to exclude ' AND " in the middle of a string. If this is a simply quoted string we should exclude only simple quotes.
I found a way to negate a backreference in stackoverflow.
~Unfortunately, I totally failed to run tests locally, so I didn't add corresponding test... but I would love to if you have some helping instructions~
~[Edit] it seems that locally I got the same errors encountered by the CI, so maybe the issue is not related to my local setup but to master branch...~
[Edit 2 ] tests added 🎉
Thanks for you work 🙏

Just fixed the build with https://github.com/staabm/phpstan-dba/pull/652
please try again while making sure you are running the tests with doctrine/dbal:^3 like I did in above PR

Thank you!


Update composer.json

Added terraformers so packagist will update with correct link. Also I guess packagist will need to be updated? I assume this will also affect a lot of the rebelalliance modules

I think we'll also want to set up a "replaces" for silverstripe-rebelalliance/youtubefield.

@edlinklater what needs to happen to add a 'replaces'? Just following this up ; )

Fixed in #19


[Proposal] Automatically exclude create and edit from resource routes?

I find that when I'm building $api-resource() routes, i nearly always end up passing the option ['except' => ['create', 'edit']], because I don't think they make any sense for an API.
Is it worth excluding those by default for API resources? Would certainly make my routes file a lot cleaner.

I'd be happy to accept a PR for this, because yes, you're right, they're essentially pointless routes in terms of an API.


Move Facing Enum to CameraActivity

CameraActivity should not be exposing implementation, and there is no compelling reason why the Facing enum has to be implemented anywhere other than CameraActivity, so move the definition there.

Released in v0.2.0


[Backport release-24.11] coolercontrol.*: 1.4.0 -> 1.4.5

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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

[x] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

(cherry-pick-check failure is due to release-24.11 having d9d87c51960050e89c79e4025082ed965e770d68, which required adjustments to some of the commits)

@ofborg build coolercontrol


.NET 6 support

There no error in my project, but when running project i got error when build

This may about compatibility Framework?

https://github.com/m0a0k0s/EasyMigrator

I'd like to pull in .Net 6 and schema and property support, but removing field support is not an acceptable change to me.

I just have no time to make proper support for switching fields/properties. Please not that I also had issue supporting tests, because net .core doesn't support RunAndSave options, have no idea how to save generated code to dll file.


Support for TLV record Type 8

As seen in https://otr.cypherpunks.ca/Protocol-v3-4.1.1.html:
OTR version 3 defines an additional symmetric key that can be derived by the communicating parties to use for application-specific purposes, such as file transfer, voice encryption, etc. When one party wishes to use the extra symmetric key, he or she creates a type 8 TLV attached to a Data Message (see above).
Is there a plan to include this useful feature in otr4j?

I looked into this some time ago. It is not hard to implement, and indeed I did most if not all of the work already. However, I know of no application anywhere in any language that uses this feature.
Furthermore, TLV type 8 is only a sort of "signal" to notify the client on the other side to start using the extra symmetric key that can be derived from the session's secret. However, it is not completely clear on how we do this, and there is no implementation to match it to. For example, do we add additional information to the type 8 TLV that explains how or what to use the extra symmetric key for. Do we send TLV type 8 with the first data packet? ... and already have the packet symm. encrypted? Or do we send it while establishing the out-of-band communication session? Do we include extra information in the TLV type 8 packet, for example the address on which to establish the symm. encrypted communication?
I'd love to see some example(s) or have some standardization on how it should be used.
If you're interested to try it out, I have a branch from a year or so ago where I've implemented most of this, although I wasn't able to test any of it due to lack of another client. (Testing only against own client is not as reliable.) Please see branch https://github.com/cobratbq/otr4j/tree/tlv8 (It has fallen a bit behind because of recent improvements.)

Thank you for such a detailed answer. I'm hardly a crypto expert, even less an OTR one, so I can't help you here unfortunately. It's just I'd like to have a symmetric key backed by the session's secret in my messenger and this seemed like an elegant way (didn't want to use two different crypto stacks/libs).
Aren't you in touch with the otr people on their mailing list? (https://otr.cypherpunks.ca/index.php#lists) Perhaps you could ask the question in a more sophisticated way than I would. :-)

Well, actually, I haven't done so yet. And I have no good reason for why not. I may still do this, once I have some time. Also, any examples of how this feature is used by other OTR-enabled apps are very welcome.


Update npm package to latest version

Current Snap.svg version is 0.4.1 but version in npm is 0.4.0

+1!

+1. I'm having a bug that was fixed in April 2015 (#364)

+1

@DmitryBaranovskiy ?
:+1:

+1

+1

+1

@achicu
@alharding
@cantrell
@edankwan
@emalasky
@jacobgoldstein
@lmclister
@mvujovic
@oslego
@piatra
@silverma
@vhardy

+1

+1
It just needs to be published.

+1

+1

The npm version is updated to 0.5. This can now be closed.


Implement fetching on-chain data

Implement fetching on-chain data from Api3ServerV1 to be compared with the API data.

This will be done in a single RPC call when fetching the dAPIs batch.


SQL katas fail to match correct results

Often when I get a solution correct for an SQL kata I get an error in the results matching that says:
should should return the expected results
✘ expected true to respond to true? or perhaps you meant be true or be_truthy
I think this happens more often for katas I have already completed in the past. It may only occur for katas I have completed in the past, I can't say for sure.

Please provide a specific set of reproduction steps. Which kata? Which solution?

Steps to reproduce:
Load an SQL Kata. Press Skip until you find a Kata with a Past Solution. Cut and paste the past solution in to Solution field. Click Run Examples.
Sometimes you don't get an error, but here are three that gave me the error pasted above.
Kata:
https://www.codewars.com/kata/5811501c2d35672d4f000146/train/sql
Solution:
WITH special_sales
AS (
SELECT * FROM sales WHERE price > 90
)
SELECT * FROM departments
WHERE id IN (SELECT department_id AS id FROM special_sales)
ORDER BY id;
kata:
https://www.codewars.com/kata/5811527d9d278b242f000006/train/sql
Solution:
CREATE VIEW members_approved_for_voucher
AS
SELECT q.id, m.name, m.email, q.total_spending
FROM members as m
JOIN (
-- find members with $1000 in purchaes from $1000 depts list
SELECT s.member_id AS id, SUM(p.price) AS total_spending
FROM sales AS s
JOIN members AS m ON m.id = s.member_id
JOIN products AS p ON s.product_id = p.id
JOIN departments as d ON s.department_id = d.id
WHERE d.id IN (
-- Find depts with over $10000 in sales
SELECT s.department_id FROM sales AS s
JOIN products AS p ON s.product_id = p.id
GROUP BY s.department_id
HAVING SUM(p.price) > 10000)
GROUP BY s.member_id
HAVING SUM(p.price) > 1000
ORDER BY s.member_id)
AS q ON m.id = q.id;
SELECT * FROM members_approved_for_voucher
Kata:
https://www.codewars.com/kata/58164ddf890632ce00000220/train/sql
Solution:
SELECT age, COUNT(name) AS total_people
FROM people
GROUP BY age
HAVING COUNT(name) > 9;

@jhoffner I second this. All SQL kata's using compare_with expected including mine are broken probably because rspec was upgraded.
Hopefully it can be fixed ASAP.

Should be fixed now

@jhoffner Thank you! 👍