Question: 4 devices from 12 are not working correct?

Hello,
i have 12 devices. 8 standard outlets and 4 wire outlets.
8 devices are working correct.
But 4 devices are not responding correctly.
In the apple homeapp there are in the "not responding" state.
In the tuya smart life app they are available and if i change the state from On to Off, i get some logs in the homebridge logfile.
So i guess that the devices id/key are correct.
But i can not interact with them in the homekit app.
Any ideas?
Thanks a lot,
Peter
I think this is not a environment issue...
Here is a logfile section for  TY-Licht HWR:
Mar  5 20:22:13 hbridge3 systemd[1]: Started Session c6 of user root.
Mar  5 20:22:15 hbridge3 homebridge[2321]: [Tuya DEBUG] decrementing this._connectionAttempts, currently 4
Mar  5 20:22:15 hbridge3 homebridge[2321]: [Tuya DEBUG] decrementing this._connectionAttempts, currently 3
Mar  5 20:22:16 hbridge3 homebridge[2321]: [Tuya] Socket had a problem and will reconnect to TY-Licht HWR (EHOSTUNREACH)
Mar  5 20:22:16 hbridge3 homebridge[2321]: [Tuya DEBUG] after error setting _connect in 5000ms
Mar  5 20:22:18 hbridge3 systemd[1]: Started Session c7 of user root.
Mar  5 20:22:18 hbridge3 homebridge[2321]: [Tuya] Socket had a problem and will reconnect to TY-Licht HWR (Error: ERR_CONNECTION_TIMED_OUT)
Mar  5 20:22:20 hbridge3 systemd[1]: Started Session c8 of user root.
Mar  5 20:22:21 hbridge3 homebridge[2321]: [Tuya DEBUG] executing _connect after 5000ms delay
Mar  5 20:22:21 hbridge3 homebridge[2321]: [Tuya DEBUG] reconnect called for TY-Licht HWR
Mar  5 20:22:23 hbridge3 homebridge[2321]: [Tuya DEBUG] decrementing this._connectionAttempts, currently 4
Mar  5 20:22:23 hbridge3 homebridge[2321]: [Tuya DEBUG] decrementing this._connectionAttempts, currently 3
Mar  5 20:22:24 hbridge3 homebridge[2321]: [Tuya] Socket had a problem and will reconnect to TY-Licht HWR (EHOSTUNREACH)
Mar  5 20:22:24 hbridge3 homebridge[2321]: [Tuya DEBUG] after error setting _connect in 5000ms
Mar  5 20:22:26 hbridge3 homebridge[2321]: [Tuya] Socket had a problem and will reconnect to TY-Licht HWR (Error: ERR_CONNECTION_TIMED_OUT)
Mar  5 20:22:29 hbridge3 homebridge[2321]: [Tuya DEBUG] executing _connect after 5000ms delay
Mar  5 20:22:29 hbridge3 homebridge[2321]: [Tuya DEBUG] reconnect called for TY-Licht HWR
Mar  5 20:22:31 hbridge3 homebridge[2321]: [Tuya DEBUG] decrementing this._connectionAttempts, currently 4
Mar  5 20:22:31 hbridge3 homebridge[2321]: [Tuya DEBUG] decrementing this._connectionAttempts, currently 3
Mar  5 20:22:32 hbridge3 homebridge[2321]: [Tuya] Socket had a problem and will reconnect to TY-Licht HWR (EHOSTUNREACH)
Mar  5 20:22:32 hbridge3 homebridge[2321]: [Tuya DEBUG] after error setting _connect in 5000ms
Mar  5 20:22:35 hbridge3 homebridge[2321]: [Tuya] Socket had a problem and will reconnect to TY-Licht HWR (Error: ERR_CONNECTION_TIMED_OUT)
Mar  5 20:22:37 hbridge3 homebridge[2321]: [Tuya DEBUG] executing _connect after 5000ms delay
Mar  5 20:22:37 hbridge3 homebridge[2321]: [Tuya DEBUG] reconnect called for TY-Licht HWR
Mar  5 20:22:38 hbridge3 homebridge[2321]: [Tuya] Heard back from TY-Zirkulation with command 8
Mar  5 20:22:39 hbridge3 homebridge[2321]: [Tuya DEBUG] decrementing this._connectionAttempts, currently 4
Mar  5 20:22:39 hbridge3 homebridge[2321]: [Tuya DEBUG] decrementing this._connectionAttempts, currently 3
Mar  5 20:22:40 hbridge3 homebridge[2321]: [Tuya] Heard back from TY-Zirkulation with command 8
Mar  5 20:22:40 hbridge3 homebridge[2321]: [Tuya] Socket had a problem and will reconnect to TY-Licht HWR (EHOSTUNREACH)
Mar  5 20:22:40 hbridge3 homebridge[2321]: [Tuya DEBUG] after error setting _connect in 5000ms
Mar  5 20:22:43 hbridge3 homebridge[2321]: [Tuya] Socket had a problem and will reconnect to TY-Licht HWR (Error: ERR_CONNECTION_TIMED_OUT)
Mar  5 20:22:45 hbridge3 homebridge[2321]: [Tuya DEBUG] executing _connect after 5000ms delay
Mar  5 20:22:45 hbridge3 homebridge[2321]: [Tuya DEBUG] reconnect called for TY-Licht HWR
Mar  5 20:22:47 hbridge3 homebridge[2321]: [Tuya DEBUG] decrementing this._connectionAttempts, currently 4
Mar  5 20:22:47 hbridge3 homebridge[2321]: [Tuya DEBUG] decrementing this._connectionAttempts, currently 3
Mar  5 20:22:49 hbridge3 homebridge[2321]: [Tuya] Socket had a problem and will reconnect to TY-Licht HWR (EHOSTUNREACH)
Mar  5 20:22:49 hbridge3 homebridge[2321]: [Tuya DEBUG] after error setting _connect in 5000ms
Mar  5 20:22:51 hbridge3 homebridge[2321]: [Tuya] Socket had a problem and will reconnect to TY-Licht HWR (Error: ERR_CONNECTION_TIMED_OUT)
Mar  5 20:22:54 hbridge3 homebridge[2321]: [Tuya DEBUG] executing _connect after 5000ms delay
Mar  5 20:22:54 hbridge3 homebridge[2321]: [Tuya DEBUG] reconnect called for TY-Licht HWR
Mar  5 20:22:55 hbridge3 homebridge[2321]: [Tuya DEBUG] decrementing this._connectionAttempts, currently 4
Mar  5 20:22:55 hbridge3 homebridge[2321]: [Tuya DEBUG] decrementing this._connectionAttempts, currently 3
Mar  5 20:22:57 hbridge3 homebridge[2321]: [Tuya] Socket had a problem and will reconnect to TY-Licht HWR (EHOSTUNREACH)
Mar  5 20:22:57 hbridge3 homebridge[2321]: [Tuya DEBUG] after error setting _connect in 5000ms
Mar  5 20:22:59 hbridge3 homebridge[2321]: [Tuya] Socket had a problem and will reconnect to TY-Licht HWR (Error: ERR_CONNECTION_TIMED_OUT)
Mar  5 20:23:01 hbridge3 systemd[1]: Started Session c9 of user root.
Environment (please complete the following information):

OS:
iOS version:
Homehubs:
Node Version:
Plugin Version:
Accessory Type

Additional context
Add any other context about the problem here.

I have observed similar behaviour, producing the same type of messages.  I have 5 devices: 3 smart switches and two garage doors, usually all responding after a fresh boot, then, after a while, some devices will stop responding; I have not been able to determine yet, what trips the logic into this 'not responding' problem.  I reboot and things go back to normal.

Okay. Thank you for your reply, but reboot does not help... Perhaps it is a timeout problem..?

See my last comment...

@drheck i have the same issues... some devices work fine for the first 5 minutes, then all the sudden I start getting EHOSTUNREACH error... This is very annoying.

I have the same issue .. @drheck  could you help me understand how you fixed it ?
Cc : @iRayanKhan

Tuya DEBUG] after error setting _connect in 5000ms [Tuya] Socket had a problem and will reconnect to Water Motor Switch (Error: ERR_CONNECTION_TIMED_OUT) [Tuya DEBUG] executing _connect after 5000ms delay [Tuya DEBUG] reconnect called for Water Motor Switch [Tuya DEBUG] executing _connect after 5000ms delay [Tuya DEBUG] reconnect called for OLA Charger [Tuya DEBUG] decrementing this._connectionAttempts, currently 4 [Tuya DEBUG] decrementing this._connectionAttempts, currently 3 [Tuya DEBUG] executing _connect after 5000ms delay [Tuya DEBUG] reconnect called for Kitchen Fan [Tuya] Sending first query to Kitchen Fan (3.3) [Tuya] Heard back from Kitchen Fan with command 10 [Tuya] Socket had a problem and will reconnect to Water Motor Switch (EHOSTUNREACH) [Tuya DEBUG] after error setting _connect in 5000ms [Tuya] Socket had a problem and will reconnect to OLA Charger (Error: ERR_CONNECTION_TIMED_OUT) [Tuya DEBUG] after error setting _connect in 5000ms [Tuya DEBUG] decrementing this._connectionAttempts, currently 4 [Tuya DEBUG] decrementing this._connectionAttempts, currently 3 [Tuya] Socket had a problem and will reconnect to Kitchen Fan (Error: ERR_CONNECTION_TIMED_OUT) [Tuya DEBUG] after error setting _connect in 5000ms [Tuya] Socket had a problem and will reconnect to Water Motor Switch (Error: ERR_CONNECTION_TIMED_OUT) [Tuya DEBUG] executing _connect after 5000ms delay [Tuya DEBUG] reconnect called for Water Motor Switch [Tuya DEBUG] executing _connect after 5000ms delay [Tuya DEBUG] reconnect called for OLA Charger [Tuya DEBUG] decrementing this._connectionAttempts, currently 4 [Tuya DEBUG] decrementing this._connectionAttempts, currently 3 [Tuya DEBUG] decrementing this._connectionAttempts, currently 4 [Tuya DEBUG] decrementing this._connectionAttempts, currently 3 [Tuya DEBUG] executing _connect after 5000ms delay [Tuya DEBUG] reconnect called for Kitchen Fan [Tuya] Socket had a problem and will reconnect to Water Motor Switch (EHOSTUNREACH) [Tuya DEBUG] after error setting _connect in 5000ms [Tuya] Socket had a problem and will reconnect to OLA Charger (Error: ERR_CONNECTION_TIMED_OUT) [Tuya DEBUG] after error setting _connect in 5000ms [Tuya DEBUG] decrementing this._connectionAttempts, currently 4 [Tuya DEBUG] decrementing this._connectionAttempts, currently 3 [Tuya] Socket had a problem and will reconnect to Water Motor Switch (Error: ERR_CONNECTION_TIMED_OUT) [Tuya DEBUG] executing _connect after 5000ms delay [Tuya DEBUG] reconnect called for Water Motor Switch [Tuya DEBUG] executing _connect after 5000ms delay [Tuya DEBUG] reconnect called for OLA Charger

Hi shivanathd and alejandroeclair,
i can not help you with this plugin.
Sorry. A few weeks ago i had one device which lost very few days the connection. I bought a new one...
Merry christmas.


Add Base Ui to test model

This is the Ui of the new app, tabs can be set and repurposed with new person model. Boilerplate code is already added

Codecov Report

Merging #5 (d4f022e) into master (cd6674c) will decrease coverage by 0.23%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master       #5      +/-   ##
============================================
- Coverage     72.15%   71.92%   -0.24%
  Complexity      399      399
============================================
  Files            70       71       +1
  Lines          1232     1236       +4
  Branches        125      125
============================================
  Hits            889      889
- Misses          311      315       +4
  Partials         32       32

Impacted Files
Coverage Δ

src/main/java/seedu/address/ui/MainWindow.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/PersonDetail.java
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Small correction

I recommend updating the statement "the code block for the set accessor is executed when the property is assigned a new value" to remove the word "new". I interpret that to mean that the set accessor is only called if the value that's being provided is different than the value that the property currently contains. Of course that isn't true--the set accessor is called regardless of whether the value provided is a new value. It could just be semantics but that's how I interpret it.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 322a60f9-0bd8-b432-653a-069c477a93fe
Version Independent ID: dbc29edd-b142-f2d7-4824-dec9951f32c7
Content: Using Properties - C# Programming Guide
Content Source: docs/csharp/programming-guide/classes-and-structs/using-properties.md
Product: dotnet-csharp
Technology: csharp-fundamentals
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

That's a good point @syntaxartisan
I've added this to our backlog, and added the "help-wanted" label to this issue.

would like to help

@eli-entelis Please, close this issue, it was merged.

It doesn't seem I have permission. @syntaxartisan can you close this?

Or @BillWagner could help us here too.

Thanks for the ping.
Closed as fixed in #32185


Discuss making riboviz/RiboViz canonical RiboViz repository

At present  shahpr/RiboViz is the canonical repository. All others are forks of this. The relationship between repositories can be changed so that riboviz/RiboViz would become the parent repository. Unlike GitLab, GitHub does not provide a button to do this!
Option 1. Make shahpr/RiboViz private then public again

https://help.github.com/en/articles/what-happens-to-forks-when-a-repository-is-deleted-or-changes-visibility comments that:

If a public repository is made private, its public forks are split off into a new network. As with deleting a public repository, one of the existing public forks is chosen to be the new parent repository and all other repositories are forked off of this new parent. Subsequent pull requests go to this new parent.

But it seems there is no way to select which of the forks (and there are 7 just now, most of which are no longer in use) would become the new parent.

Option 2:

Contact GitHub support, https://github.com/contact, as they have done this for others.

Closed as duplicate of #135.


fix initial state refresh

It would be good to add an explanation, either in this pull request or in the text of the commit message, about the bug this change is addressing.  For instance, what goes wrong, and is there a simple test case that illustrates the problem?
@dfloryan, probably fine to just add a comment on the github pull request.

This pull request fixes a bug where the base potential flow is not being properly initialized when loading a state from a file. For example, using a steady-state solution as an initial condition, a new simulation will exhibit transients in the state when it should just remain the same as the initial condition since that is the steady-state solution.


vieb: 5.3.0 -> 6.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/vieb/versions.
meta.description for vieb is: "Vim Inspired Electron Browser"
meta.homepage for vieb is: "https://vieb.dev/"
meta.changelog for vieb is: "https://github.com/Jelmerro/Vieb/releases/tag/6.0.0"
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

Warning: no invocation of /nix/store/y7dsvbzq33famcfn4wglyy804r4jh678-vieb-6.0.0/bin/vieb had a zero exit code or showed the expected version

0 of 1 passed binary check by having a zero exit code.

0 of 1 passed binary check by having the new version present in output.

found 6.0.0 with grep in /nix/store/y7dsvbzq33famcfn4wglyy804r4jh678-vieb-6.0.0

found 6.0.0 in filename of file in /nix/store/y7dsvbzq33famcfn4wglyy804r4jh678-vieb-6.0.0

directory tree listing: https://gist.github.com/1afb00391d67027d996afe569b080cbf

du listing: https://gist.github.com/8202ee6b9f9f19c50057acdd6eb13971

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

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
vieb

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/y7dsvbzq33famcfn4wglyy804r4jh678-vieb-6.0.0 \
  --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 vieb https://github.com/r-ryantm/nixpkgs/archive/ca122687f1f5dd659220c43f5bd21cbe4629e621.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/y7dsvbzq33famcfn4wglyy804r4jh678-vieb-6.0.0
ls -la /nix/store/y7dsvbzq33famcfn4wglyy804r4jh678-vieb-6.0.0/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:

vieb

Maintainer pings
cc @gebner @fortuneteller2k for testing.

Result of nixpkgs-review pr 137690 at ca122687 run on x86_64-linux 1

1 package built successfully:

vieb

2 suggestions:

warning: build-tools-in-build-inputs
rsync is a build tool so it likely goes to nativeBuildInputs, not buildInputs.
Near pkgs/development/tools/yarn2nix-moretea/yarn2nix/default.nix:295:7:
    |
295 |       buildInputs = [ yarn nodejs rsync ] ++ extraBuildInputs;
    |       ^

warning: build-tools-in-build-inputs
yarn is a build tool so it likely goes to nativeBuildInputs, not buildInputs.
Near pkgs/development/tools/yarn2nix-moretea/yarn2nix/default.nix:295:7:
    |
295 |       buildInputs = [ yarn nodejs rsync ] ++ extraBuildInputs;
    |       ^

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

1 package built:

vieb


Pointer

https://www.hackerrank.com/challenges/c-tutorial-pointer/problem

Please review my request and accept it.


[Bugfix] Consolidate params with orig size

Description
Previously we use sch.metadata.base_params to maintain the original parameter shape before sharding. However, the scope of schedule metadata is limited to the current schedule and won't be transferred if .replace is used, so sch.metadata.base_params won't be correct anymore in this case.
In this PR, we removed sch.metadata.base_params and directly set an attribute to sharded parameters to record their original shapes. In future, we should revisit the sch.metadata design.
Checklist

[x] PR's title starts with a category (e.g. [Bugfix], [Model], [Tutorial], etc)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[x] Code is well-documented

cc @szhengac @chhzh123

Thanks @szhengac @chhzh123


removed dlassets.microsoft.com

What CDN does this PR relate to
Xboxlive
Does this require running via sniproxy
no
Capture method
Crashed xbox Live Service pointing to dlassets.microsoft.com, checked in Logs of Lanchache DNS / Pihole DNS forwarder.
Testing Scenario
Call was visible in both logs but not in Log of Monolithic container. Result is that the game ( Forza Horizon 5 ) was not able to start friend invites, since the GUI for this kept crashing ( C:\Program Files\WindowsApps\Microsoft.GamingServices_3.59.3001.0_x64__8wekyb3d8bbwe\TCUI-App.exe ) as long as the domain as forwarded.
Testing Configuration
simple basic setup, run the basic DNS Container / Monolithic, configured for xboxlive, and try to invite a person from your friendlist in Forza Horizon 5, the Gui will crash. As soon as the DNS is not rerouted, the xboxlive module deactivated or the domain removed from the cache list, the problem will stop and the container will start to work again.

Commit message and PR description say dlassets.microsoft.com, but the committed change is removing dlassets.xboxlive.com. Can you double check that this is the correct hostname, and if so, amend the commit message and force push?

was a typo in my commit message, meant was dlassets.xboxlive.com, stated in the logs aswell.


Markdown improvements

Possibility to change source before markdown processing
Possibility to change result after markdown processing
Open link in new tab option...

Any chance of this getting merged? I would love to have the "open link in new tab option"

Thanks for merging @miaolz123 :)
@nikolasp I just realized someone needs to bump the version up and update npm.


Device object is empty on RC4. Unable to call Device.device.uuid

Ionic version:  (check one with "x")
[ ] 1.x
[x ] 2.x
I'm submitting a ...  (check one with "x")
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Device object from "ionic-native" package is empty. It does not include any methods or properties to call.
In fact, if I call the "Device.device.uuid", I am not able to deploy on device or run it in the browser because i get this error:
[08:42:55]  typescript: src/pages/Jobs/Jobs.ts, line: 70
Property 'device' does not exist on type 'typeof Device'.
  L69:  if (typeof Device !== "undefined") {
  L70:      console.log(Device.device.uuid);

[08:42:55]  transpile failed
[08:42:55]  ionic-app-script task: "build"
[08:42:55]  TypeError: error.message.indexOf is not a function
Expected behavior:
I would like to call the Device.device.uuid property to get the unique identifier for device.
Steps to reproduce:
Try to call "Device.device.uuid" anywhere.
To see more details, log it in the console "console.log(Device);". You are going to see that Device object is just empty.
For Ionic 2 issues - http://plnkr.co/edit/GJte2b?p=preview
http://plnkr.co/edit/DT40EH7jTrf5tbkts4i0?p=preview
Other information:
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Your system information:

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.4
Ionic CLI Version: 2.1.17
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.47
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 3.19
Node Version: v7.2.1
Xcode version: Not installed

See https://github.com/driftyco/ionic-native/blob/master/CHANGELOG.md

I got it too, and found out that Device.device.uuid refactor as Device.uuid.

It returns object in browser. That's unexpected behavior

It works with Device.uuid. I tried to write something, but I couldn't post the message here.

@inabhi9  I'm experiencing the same behavior, I used to be able to check if Device.device.uuid == undefined, now since i'm getting an empty Object I can't do that.

@Vanclief I ended up checking its type and value since ionic fellow ain't replied on my comment

@inabhi9 Another Ionite was pretty cool about it: https://github.com/driftyco/ionic-native/issues/954#issuecomment-271395972


Including 3.12.0 in build for Android 4.2.2 fails.

[X] Bug report.

No idea, how to write a test, but as it turns out, with  `api 'com.squareup.okhttp3:okhttp:3.11.0' some builds work, which fail when I go to 3.12.0. I have written this as question and (3.11.0) workaround answer on stackoverflow: https://stackoverflow.com/questions/53429144/app-debug-gradle-builds-fail-depending-on-target-device/53429145#53429145
I am still on my way to figure, if it is an issue with my Proguard settings. If I solve it, I will report here. Meanwhile I have no idea, how a gradle build interacts with the targeted debug device.

OK, the obvious seems to do it: I added the following line to my Proguard config to make the build run.
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement. And so far the app seems to run under 4.2.2.


McAfee Flagged sdplugin-stocks.exe

My PC is basically a big landmine for viruses, so, when I saw that my precious stock plugin was flagged, I needed to know why.

Why?


Installation via scoop fails

What is the issue?
Related : https://github.com/ScoopInstaller/Main/issues/6074
Error quates;
Scoop was updated successfully!
Installing 'ollama' (0.3.3) [64bit] from 'main' bucket
OllamaSetup.exe (298.5 MB) [==================================================================================] 100%
Checking hash of OllamaSetup.exe ... ok.
Extracting OllamaSetup.exe ... ERROR Exit code was 1!
Failed to extract files from C:\Users\xialvjun\scoop\apps\ollama\0.3.3\OllamaSetup.exe.
Log file:
  ~\scoop\apps\ollama\0.3.3\innounp.log

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Main/issues/new?title=ollama%400.3.3%3a+decompress+error

Signature detected: Inno Setup Setup Data (6.3.0)
This is not directly supported, but i'll try to unpack it as version 5602
; Version detected: 6300
Critical error: The setup files are corrupted. Please obtain a new copy of the program.

OS
Windows
GPU
Other
CPU
Intel
Ollama version
0.3.3

If you want more control over how Ollama is installed on Windows, please see https://github.com/ollama/ollama/blob/main/docs/windows.md#standalone-cli - we make a standalone zip file avilable and you can wire it up as a system service using tools like NSSM.


BLDKCMF-7 Compliance Issues in Lightning

BLDKCMF-7 Compliance Issues in Lightning

Hi @Sukanya673 I have reviewed the changes.  Almost there: the changes are fine except for the three files with Metrological copyrights, because they have copyrights without a license.  Please will you add the RDK apache header back on to these files, and remove the single line "Copyright Metrological, 2017" from each file.
(In my checkout, I see these 3:
src/tree/Stage.mjs
src/tree/Element.mjs
src/platforms/browser/WebPlatform.mjs)
Thanks,
Martin

Hi @woutermeek , Please merge this change if you are Happy. Thanks!


chore: move @types/express to dependencies

We currently use this package within a package that is consumed by our applications through a shared runtime package (fig 1). Therefore our applications are not fond of express or next and don't include any types.
During the build process, Typescript will throw an error (fig 2) saying it can't find the types of express and advises us to install them.
// fig 1
// simplified dependency tree w/o node_modules/ directory
app-one
 └── next-runtime
  └── our-i18n-lib/
   └── next-i18next

app-two
 └── next-runtime
  └── our-i18n-lib/
   └── next-i18next

// fig 2
../../../node_modules/next-i18next/types.d.ts:11:25 - error TS7016: Could not find a declaration file for module 'express'. '/.../app-one/node_modules/express/index.js' implicitly has an 'any' type.
  Try `npm install @types/express` if it exists or add a new declaration (.d.ts) file containing `declare module 'express';`

11 import { Request } from 'express'
                           ~~~~~~~~~

After digging into this issue, we concluded that @types/express should be a regular dependency instead of a dev dependency.
The following two discussions do explain the reasons behind that:

https://github.com/apollographql/apollo-client/issues/713
https://github.com/microsoft/types-publisher/issues/81

I published a fork of this package with @types/express as regular dependencies for testing purposes here: https://www.npmjs.com/package/next-i18next_express-types

is this still a problem with 5.0.0-beta.2 ?

@adrai Yep, that's correct. We don't have a clear picture of when v5 will land in prod, though.


feat: use chmod flag during COPY

The extra chmod step can be carried out by Docker itself. It requires buildkit mode to be on, but it's the case when using buildx.

Are you facing a specific problem leading to this change?

Not at all, as I've been rebuilding it locally for #204, this bit got me surprised and felt it was an opportunity to remove a comment pointing to an old issue, https://github.com/open-telemetry/opentelemetry-collector/issues/1317

Before merging, can you positively confirm that you built an image with this new Dockerfile and it worked as expected?

I've pushed a fake release over there from that branch + the related changes in goreleaser.

https://github.com/greut/opentelemetry-collector-releases/pkgs/container/opentelemetry-collector-releases%2Fopentelemetry-collector
https://github.com/greut/opentelemetry-collector-releases/pkgs/container/opentelemetry-collector-releases%2Fopentelemetry-collector-contrib

@open-telemetry/collector-maintainers, @open-telemetry/collector-contrib-maintainer, this has the potential to break the release, but I believe it will not. In the worst case, the binaries in the generated images won't have the execute flag, preventing the binary from running.
In any case, my message to the next person in line to perform the release (@dmitryax?): keep this issue in mind if anything fails during the release process.


Add language detection

When no language has been specified in the temporaryEditor completion handler, the language should be inferred using https://github.com/Microsoft/vscode-languagedetection

No need to do it, it's automatic now.


Tags input is missing in documentation

Tags input is missing in documentation.

This has been just fixed.
Thanks for reporting this issue :)


Minor update: Updated Raincode Refactor to Rehost. Raincode is a Rehost solution. Updated link: https://learn.microsoft.com/en-us/azure/architecture/reference-architectures/app-modernization/raincode-reference-architecture. In this link the heading Refactor should be changed to Rehost.

Before selecting the "Create pull request" button:

Enter a meaningful title above^, using a prefix if necessary and keywords "New" or "Update" indicating the nature of changes.

Describe the summary, scope, and intent of this PR:
[REPLACE-THIS-TEXT]

Insert links(s) to any related work item(s) or supporting detail:
[DELETE-OR-REPLACE-THIS-TEXT]
Minor update: Updated Raincode Refactor to Rehost. Raincode is a Rehost solution. Updated link: https://learn.microsoft.com/en-us/azure/architecture/reference-architectures/app-modernization/raincode-reference-architecture. In this link the heading Refactor should be changed to Rehost.

AFTER YOUR PR HAS BEEN CREATED, expand this section for tips and additional instructions.
These are common guidelines for contributions across the repos managed by the Cloud Architecture Content Team (CACT). Some repositories may have additional specific requirements that are not listed here.
Guidance for all contributors

Topic
Guidance

Draft PR
If your PR will be a work-in-progress for more than a day or two, select the Convert to draft link in the upper right of the page (under Reviewers) to change it to a draft. For future reference, you can also do this using the Create pull request button drop-down during PR creation.

ms.date metadata
Don't update an article's "ms.date" metadata property unless you've done a full freshness review of the content. A full freshness review includes changes required to correct or improve the full technical accuracy of the article.Don't update "ms.date" if you're doing targeted changes to improve non-technical aspects of the article, such as editorial quality, art improvements, article template alignment, etc.If you've changed any "ms.date" properties for work that wasn't part of full review for freshness, please reset them to their previous value.

Placement and linking
If you're creating a new article or articles, include updates to the related TOC.yml file to propose where the article(s) should be placed. Also consider other places within the document set where it would be beneficial to cross-reference and link to your new article(s).

PR build
After you open your PR, and for each successive commit that you push to your branch, the publishing platform will run validation on the files in your pull request. A summary of the build results for each file will be inserted inline into your pull request, which includes any build suggestions/warnings/errors. PRs cannot be merged until all build errors and most warnings are resolved.

Publishing
Following a successful merge, most repos publish to the live site at least once per (business) day, usually around 10am Pacific.

Additional resources
Learn.Microsoft.Com contributor guide

Additional guidance for private repos and internal contributors

Topic
Guidance

PR size
If your PR is more than ~5 lines of changes, or you'd like for the changes to go through editorial or larger review, open a contribution request at https://aka.ms/Contribution and include a link to the PR in response #8. Once it's processed, you'll be notified of the next steps.

PR title prefix
Select the Edit button to the right of the PR title if you need to revise it. The following prefixes are reserved for specific contribution types:[Quality Check] - maintenance work related to content quality (edit passes, art improvements, template alignment)[LinkFix] - recurring/adhoc PRs to correct link URLs[Pipeline] - new/updated contributor success pipeline content[WIP] - a work-in-progress draft requiring several days/weeks

PR preview
Following successful build of your PR, publishable files will also include Preview URL links to staged previews of your new/updated articles. Be sure to review these for verification of your intended contributions, or to send to other internal contributors for review.

PR sign-off (public repo)
If an article you own is updated in a public repo PR, you are responsible for sign-off. You will be automatically notified via email. The PR will not be merged until you've had a chance to review and sign-off.

PR sign-off (private repo)
After you've completed your proposed changes, addressed build warnings, and completed all review work, you can begin the sign-off process for review and merge:If your PR is in draft mode, remove "[WIP]" from the title and select Ready for review button at the bottom of the PR.Enter "#sign-off" in a new comment. This comment indicates that you're confident the work meets or exceeds Microsoft's standards for publication, and will trigger the review process.Your PR may be selected for initial review by the CACT. Following CACT review, you may receive questions or requests for additional changes. You should have initial feedback from CACT review within a few business days. If you have an urgent request or need to contact the team, please mention @MicrosoftDocs/cloud-architecture-content-team-pr-reviewers in your PR and someone will get back to you. After CACT review is complete, a CACT #sign-off will be added.Final review/merge is done by the PR review team. The PR team may also respond with feedback, categorized as "Blocking" (requires action from you), or "Non-blocking" (to be addressed in a future PR).

Additional resources
Learn.Microsoft.Com internal contributor guideAuthoring templates: architecture-center-pr, well-architected-prTo contact the CACT use e-mail, or @mention our GitHub team in your PR comments using: @MicrosoftDocs/cloud-architecture-content-team-pr-reviewers

@MicrosoftDocs/cloud-architecture-content-team-pr-reviewers - Please review the proposed changes. If you want to move forward with the content, add a sign-off.
#label:"aq-pr-triaged"
#label:"pending-content-team/business-approval"
Cc: @MicrosoftDocs/public-repo-pr-review-team

CACT #sign-off
#remove-label:"do-not-merge"
#label:"ready-to-merge"

@vatseyb -- in the future, please use architecture-center-pr like we reviewed last time.  (No need to change for this pr, just for future updates!) Also, did you want to remove Jonathon from these in the metadata?

Merging now. If you need to adjust the metadata, the private repo is the best place to do that.


[BUG] Wrong check in VSelect component

The check here is wrong. You are checking for property, but isAjax is method. This will cause every searchable select to perform ajax requests.
https://github.com/area17/twill/blob/60a239b8bad3e2f2da383f88577cedadea81aee3/frontend/js/components/VSelect.vue#L192
https://github.com/area17/twill/blob/60a239b8bad3e2f2da383f88577cedadea81aee3/frontend/js/components/VSelect.vue#L181

Good catch!
Yes it should be a computed instead.

Hi guys! I fixed this for our next release, I'll close this asap.


Resize slides based on -active, -prev, -next classes (width as percentage)

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: 4.4.2

Platform/Target and Browser Versions: probably anywhere

Codepen: https://codepen.io/865678/pen/aQOrXp

What you did
I'm using an infinite loop Swiper, centeredSlides with slidesPerView on auto. The Slides get resized based on the -active, -prev and -next classes. The Slides are using a percentage width to determine the amount of visible slides. I would like to have at max 5 visible slides so my current definition is active: 30%, prev & next: 20%, normal slides: 15%.
Expected Behavior
5 visible centered variable width slides with the right arrangement.
Actual Behavior
The arrangement of the slides is not centered. If the browser gets resized or i call update() the slides are perfectly centered.

Any solution to this one ?


Text selection is "jagged" when wrapLongLines and showLineNumbers are set

Description
When both wrapLongLines and showLineNumber are true, text selection no longer works smoothly.
It looks like this is because of the display: flex applied when both of these properties are true (https://github.com/react-syntax-highlighter/react-syntax-highlighter/commit/36864299d9419f984d0345add963cbb2a9ca0524#L120)
To Reproduce

Visit the demo site: https://react-syntax-highlighter.github.io/react-syntax-highlighter/demo/prism.html
Toggle on both  "Show line numbers" and "Wrap long lines" checkboxes
Compare text selection behavior to when those settings are not checked.

Expected behavior
Text selection behavior should be smooth regardless of these settings.
This is especially important for code examples, as copy/paste from snippets is a common expectation.
Screenshots
Smooth text selection:

"Jagged" text selection

Additional context
I'm seeing this behavior in Chrome, Version 89.0.4389.90 (Official Build) (x86_64) but I expect it's the same across browsers.
My guess is that display: flex interacts oddly with the user-select property. There's nothing specific about differences between elements with different display values in the draft spec https://drafts.csswg.org/css-ui-4/#content-selection, but I might be missing something.

Encountered similar issue. When turning showLineNumbers on, the wrapping broke on simple content:


Install problems on Debian

Hi, I'm trying to install on Debian sid, I've installed all these packages:
ruby-dev libxslt-dev libxml2-dev libvirt-dev, libvirt-bin libvirt-dev, ruby2.1-dev
but when I try to install:
micah@muck:bitmask1$ vagrant plugin install vagrant-libvirt
Installing the 'vagrant-libvirt' plugin. This can take a few minutes...
Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:

An error occurred while installing ruby-libvirt (0.5.2), and Bundler cannot continue.
Make sure that `gem install ruby-libvirt -v '0.5.2'` succeeds before bundling.

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

    /opt/vagrant/embedded/bin/ruby extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/opt/vagrant/embedded/bin/ruby
	--with-libvirt-include
	--without-libvirt-include
	--with-libvirt-lib
	--without-libvirt-lib
	--with-libvirt-config
	--without-libvirt-config
	--with-pkg-config
	--without-pkg-config
/opt/vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:434:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
	from /opt/vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:519:in `try_link0'
	from /opt/vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:534:in `try_link'
	from /opt/vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:620:in `block in try_ldflags'
	from /opt/vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:613:in `with_ldflags'
	from /opt/vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:619:in `try_ldflags'
	from /opt/vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:1725:in `pkg_config'
	from extconf.rb:72:in `<main>'

Gem files will remain installed in /home/micah/.vagrant.d/gems/gems/ruby-libvirt-0.5.2 for inspection.
Results logged to /home/micah/.vagrant.d/gems/gems/ruby-libvirt-0.5.2/ext/libvirt/gem_make.out

micah@muck:bitmask1$

I followed the instructions which say:
Make sure that `gem install ruby-libvirt -v '0.5.2'` succeeds before bundling.
and indeed, it does succeed fine:
root@muck:/home/micah/.vagrant.d# gem install ruby-libvirt -v '0.5.2'
Fetching: ruby-libvirt-0.5.2.gem (100%)
Building native extensions.  This could take a while...
Successfully installed ruby-libvirt-0.5.2
Parsing documentation for ruby-libvirt-0.5.2
Installing ri documentation for ruby-libvirt-0.5.2
Done installing documentation for ruby-libvirt after 1 seconds
1 gem installed
root@muck:/home/micah/.vagrant.d#

but the vagrant plugin still wont install.
I'll note that the /opt/vagrant/embedded/bin/ruby seems to be 2.0, but I do not have 2.0 development packages available, just 2.1.
Thanks!

You have to install development tools first.
try to install ruby-libvirt by dpkg or apt-get
may be also missed some dev packages - like ruby-devel or libvirt-devel
as option - use vagrant from official website, not from repo

Hi,

try to install ruby-libvirt by dpkg or apt-get

I did not have ruby-libvirt installed, but installing that did not seem to change the situation.

may be also missed some dev packages - like ruby-devel or libvirt-devel

As I mentioned in the original report, I have already ruby-dev libxslt-dev libxml2-dev libvirt-dev, libvirt-bin libvirt-dev, ruby2.1-dev installed. On debian there is no such thing as 'ruby-devel' or 'libvirt-devel', but I believe that the packages 'libvirt-dev' and 'ruby-dev' are these packages.

as option - use vagrant from official website, not from repo

I am using the vagrant from the official website.
I dont think that this issue is resolved.

@pronix i think you closed the bug too early ! Please have a second look, your suggestions were already satisfied.

@pronix I found the issue - it seems that there are a few problems:

debian sid no longer provides ruby2.0 support. When installing vagrant-libvirt it attempts to build against the vagrant ruby environment. If you install the upstream vagrant package (ie. NOT from Debian), then it embeds a ruby environment that is at ruby 2.0 (in /opt), but it doesn't provide the development files for that version, instead you need to install them outside of the vagrant system, such as through the package management on debian. Because Debian sid doesn't include ruby2.0 anymore, and it doesn't include the development libraries, if you install 'ruby-dev' you are getting the development libraries for ruby2.1, which wont work. I find it a bit weird this requirement of mixing the non-distro package with the distro packages, because you can't get this tight coupling of dependency resolution.

You recommend not using vagrant from the official repo. Unfortunately, because of #1 does not work. If I install vagrant from the debian repository, then it provides the correct ruby environment through the dependency management that Debian is known for handling very well, and vagrant-libvirt is able to build fine.

ruby-fog is needed by sahara:

/home/micah/.vagrant.d/gems/gems/sahara-0.0.17/lib/sahara/session/libvirt.rb:1:in `require': cannot load such file -- fog (LoadError)

this is easy to install and resolved that problem quickly.

regarding the cannot load such file -- fog (LoadError) error, i fixed it on my machine using:
vagrant plugin install fog


pull request #85 broke locally hosted Hugging Face models

Locally hosted Hugging Face models return tokens as a list of ints rather than a list of strings. Pull request #85 changed the LMModelChoice class to only accept tokens as a list of strings so that the OpenAI API would work properly.
Suggested fix: Change
class LMModelChoice(BaseModel):
    """Model single completion."""

    text: str
    token_logprobs: Optional[List[float]] = None
    tokens: Optional[List[int]] = None
    tokens: Optional[List[str]] = None

to
class LMModelChoice(BaseModel):
    """Model single completion."""

    text: str
    token_logprobs: Optional[List[float]] = None
    tokens: Optional[List[int]] = None
    tokens: Optional[List[Union[str, int]]] = None

Fixed on main!


Document the Max Clustered Elements project setting

This closes https://github.com/godotengine/godot/issues/56591.

Thanks!


How to set default response?

This tutorial is awesome. I have a simple question? how to add default bot responses? example : i have set of intents and questions and answers, if user enter new questions i will send message "sorry, i cant understand". how to set default messages?.

@Selvaganapathi06 I replied to you on Gitter. This either sounds like a Rasa Core use case or you can look at the blog post I mentioned on Gitter. If you still have questions feel free to re-open this issue or create one on the Rasa Core repo.


Adding pipeline_planner to documentation index for melodic

I'd like pipeline_planner to be indexed and documented on ros.org.

Holding for sync


Performance optimizations

Premise:
I've been using this library to compare very large hashes. The test hashes I used were both built from 10k+ lines of YAML and I found calculating the diff between the two hashes took around 90 seconds (304 seconds when profiling). I used ruby-prof to try and find some room for improvement, and managed to find a couple of easy wins.
Changes:

Instead of checking is_a?, extend Object, Array and Hash with their own count_nodes methods

This dropped the total time from 304 seconds to around 270

Cache the count of the nodes in Hash objects

This dropped the total time from 270 to about 197
There wasn't much to be gained from caching the count for Array objects
I think this is safe - from my understanding of the code, it does not add/remove objects from the original hashes so the count would not change after the first calculation

Concerns:
Although this is a pretty significant time savings (for me at least - without profiling I dropped the calculation time from 90 seconds to about 65 seconds), extending/modifying classes and the original objects may be undesirable for whatever reason. I leave this up to your judgment @liufengyun.

Thanks @kgooble , it's nice you've run the program against a large data set.
I definitely welcome performance improvement. In this specific case, I think the performance gain is not significant enough to justify messing with Array, Hash and Object. If the performance gain is say several times, I'll merge the PR without hesitation.

Understood - thanks for the feedback @liufengyun !


Glorfindel: Blacklist trybionutra.com

Glorfindel requests the blacklist of the following website(s):

trybionutra.com - MS search

trybionutra.com has been seen in 4 true positives, 0 false positives, and 0 NAAs.


Issue with ngModel [(text)]

When I configure the ace-editor component to include an ngModel i.e. [(text)]="text" The behaviour of the editor is not correct. For example
If I type public static void main() {
//and I then type in this code block, only the first character is on this line and then the line below this is highlighted and the rest of the line is type next to the closing bracket below.
}//this line is highlighted, see attached screen shot.

If I remove the ngModel [(text)]="text" the behaviour is as expected. See attached screenshot.

here is the html:
<ace-editor class="ace-editor"
[(text)]="text"
[mode]="'java'"
#editor style="height:150px;">

here is the component:
import {Component, ViewChild} from '@angular/core';
import 'brace/theme/eclipse';
import 'brace/mode/html';
@Component({
selector: 'tn-editor-ace',
templateUrl: './editor-ace.component.html',
styleUrls: ['./editor-ace.component.scss']
})
export class EditorAceComponent {
@ViewChild('editor') editor;
text: string = "";
ngAfterViewInit() {
this.editor.setTheme("eclipse");
this.editor.getEditor().setOptions({
  showPrintMargin: true,
  showInvisibles: false,
  highlightGutterLine: false,
  highlightActiveLine: true,
  showLineNumbers: true,
  showGutter: true,
});

}
}

Hi,
I have the same problem. I think it is because of the two-way binding. The cursor always move to the end of the document. This may be due to an enable auto scrolling options.
This append when the editor auto-close brackets or every time a character is typed in the middle of a line/word.
I disable the two-way binding ( [(text)] --> [text] ) to be able to use it. But it will be nice to have this option.
  ngAfterViewInit() {

    this.editor.getEditor().setOptions({
      highlightSelectedWord : true

  });
    this.editor.getEditor().$blockScrolling = Infinity; //Disable warning
  }

      <ace-editor
        [text]="scripsData[indexSelectedScript].code"
        [mode] = "'r'"
        [theme] = "'xcode'"
        #editor></ace-editor>

Hello,
I found the solution.
It's a big mistake and a simple fix.
I think, the new version (0.1.6) solve this problem.
sorry everybody

This still happens in 0.3.9. Any update or tip on how to avoid this behavior?


Filter env used for command config out of environment

We follow a linux process model where any environment that is available to buildkite-agent start gets passed down to buildkite-agent bootstrap and then onto the actual job environment.
This includes env used for configuring those commands, for instance things like BUILDKITE_AGENT_TOKEN and other more minor things like BUILDKITE_AGENT_TAGS. These filter down to the execution environment for jobs, which creates a really wide API that is hard to keep up to date in docs.
This change filters out any environment used for command config. They are unset, which means they need to be explicitly set by the job runner that creates the environment for the job.
Note that things other than env used for config are still passed down from the parent environment.

I think this is a good change! It really clears up "Set these envs to configure the agent" vs "These are envs available in your job’s environment".
What's the story with things such as BUILDKITE_DISABLE_GIT_SUBMODULES?
As for roll-out, perhaps we just disappear them in buildkite-agent v4? And we could just list them in the deprecated envs in the docs?

Is there a point release version of this we could get out, that only filters the agent token?

Yeah, I was thinking exactly that @toolmantim.

What's the story with things such as BUILDKITE_DISABLE_GIT_SUBMODULES?

As in, why does it exist vs BUILDKITE_NO_GIT_SUBMODULES @toolmantim? Basically just legacy.

I don't even remember why I asked about BUILDKITE_DISABLE_GIT_SUBMODULES — sorry! 🤭


Unable to navigate to rendered documentation for Copy Offload API

When I select the CreateRequest API  link from the last paragraph of the fully rendered Data Movement  documentation, I am taken to the readme markdown document for the  nnf-dm deamons.  The API Definition  section within this readme file offers a link to the Copy Offload API Documentation which takes me to the html source code for the offload API.
My expected behavior is to have a link to the rendered documentation so that I may read it.

@mcfadden8, this has been fixed and the API docs have been added to the development version of our documentation: https://nearnodeflash.github.io/dev/guides/data-movement/copy-offload-api.html
Links have been added for the Copy Offload API and the link in the last paragraph of the Data Movement Documenation has been fixed to point to it.

Unfortunately, this problem is still happening to me.

You will need to make sure you are viewing the dev version of the documenation: https://nearnodeflash.github.io/dev/
You can get to this from the dropdown on the top of the page:

You can then navigate to the Copy Offload API docs directly (or use the link in that last paragraph):

The next release will include this change and you will not need to use the dev version.


set GA4 to 5.0.0.RELEASE.

Please review #196.
set Google Analytics4 to 5.0.0.RELEASE.
This modification has resulted in a large number of non-GA4 differences, but they are due to different versions of sphinx.
relates to TSF4J5-2930, TSF4J5-2931.

The PR is withdrawn due to unstable behavior of the generated screens.


Implement a mechanism for device authentication

Before sending PINs or other sensitive data to the device, users might want to ensure that the device has not been tampered with (e. g. exchanged or reset).  This could be implemented by signing a nonce or a hash of the configuration or state with the Trussed device key.
Please upvote :+1: this issue if you would like to see this feature implemented.

I take it this would have to be designed in a way where the user would have to manually perform this verification i.e. via command line, or via the nk-app2? Is it even possible to do in an automated fashion? Maybe by the nk-app2 upon device insertion? But there are multiple PIN's available for different functions of the Nitrokey 3. Suppose a user plugs in NK3 on a device with only PGP support, and enters the PIN to perform some email cryptography. What then?

Yes, the idea is that our tooling (pynitrokey, Nitrokey App 2) would check it when connecting to a device.  If we have such a feature, we can see how it can be integrated with other applications – maybe wrapping the relevant tools or integrating it upstream.


Help

Description

Expected Behavior

Actual Behavior

Possible Fix

Steps to Reproduce

Context

Your Environment

Version used:
Environment name and version (e.g. Chrome 39, node.js 5.4):
Operating System and version (desktop or mobile):
Link to your project:

@MortalCatalyst Is there anything we can help?

Will close this issue since this issue seems inactive


Windows build is broken in 3.4.1

Describe the bug
Windows build process fails after updating from 3.3.0 to 3.4.1. Reverting back to 3.3.0 fixes the issue.
The only logs I get:
Building Windows application...
Build process failed.

Does it related to
[ ] App Links (Android)
[ ] Deep Links (Android)
[ ] Universal Links (iOS)
[ ] or Custom URL schemes? (iOS)
[x] Windows
Does the example project work?
[ ] Yes
[ ] No
[x] Irrelevant here
Did you fully read the instructions for the targeted platform before submitting this issue?
Uploaded your files to webserver, HTTPS, direct connection, scheme pattern setup, ...
[ ] Yes
[ ] No
[ ] Irrelevant here

You must update the include directive.
Reame.md file has been updated accordingly.

I am facing the same issue, except I didnt upgrade. I just included app_links into my app, setup the windows part and get the same build error


jupyter.runAndDebugCell always appears in command palette

Ideally it should only appear when a Jupyter notebook has focus and debugging is supported.

https://github.com/microsoft/vscode-jupyter/issues/7728


support new zstd library in java 8

As we know orc 2.0 drop Java 8 and make Java 17 by default.
But support new zstd impl [zstd-jni]  at the same time.
We really need the new zstd library (can change level & better performance) but we also want to use it in java 8
thanks

Ya, you are correct, @zyl891229 . That's the community direction in Apache ORC 2.0 and Apache Spark 4.0.
Although Apache ORC 1.9.x will be supported according to the three-year support policy, new features and improvements are not the scope of backporting because Apache ORC follows Semantic Versioning policy.
May I ask

What is your environment?
Why you cannot use Java 17+?
Which Apache ORC versions are you using currently?
How you use Apache ORC Java library?

@dongjoon-hyun thanks for response

What is your environment?
We want to use dataLake(icebreg/hudi) in production, with data files in orc format.
We use zstd high level compression to achieve the goal of reducing storage costs.

Why you cannot use Java 17+?
The production cluster environment is java8 and cannot be upgraded for a while.

Which Apache ORC versions are you using currently?
1.8.3  , this version cannot support change zstd level (airlift compress) , with worse performance than zstd-jni(luben zstd-jni)

How you use Apache ORC Java library?
Write impl is by the datalake sdk using orc.

Thank you for the info.

Here are my thoughts.

Mismatched Versions: Apache ORC community intentionally aligns the dev cycles with Apache Spark. In principle, both Apache Spark and ORC community don't recommend to use Apache ORC 1.8 with Spark 3.3 because it's beyond of the community test coverage.

Apache ORC 1.7.x -> Apache Spark 3.3.x
Apache ORC 1.8.x -> Apache Spark 3.4.x
Apache ORC 1.9.x -> Apache Spark 3.5.x
Apache ORC 2.0.x -> Apache Spark 4.0.x

End-Of-Life: Apache Spark 3.3 is in the end of support status and I was the release manager for that EOL release (Apache Spark 3.3.4). Apache ORC has been supporting Apache ORC 1.7.x and will reach the EOL in six months. Only one or two bug fixes are expected (if exists.)

https://spark.apache.org/releases/spark-release-3-3-4.html
https://orc.apache.org/releases/

Given that (1) and (2), I don't think that there is a way for both Apache Spark and ORC community's next release to be able to help you officially.

Let me close this issue first. We can continue to discuss about this topic on this thread.


Lighthouse jemalloc, Prysm change messages, web3signer

Lighthouse source build uses jemalloc and builds with slasher support
Prysm defaults changed so credential change messages can be sent via REST
web3signer.yml added - very early and experimental support


Function to increment pointer by one word in small fields.

Extracted from poseidon_bb, but can be used in poseidon2_bb, sha256bb, keccak16...

Looking at the execution times, even if there is redundant work, the split seems to pay off.

Has conflicts.
@chriseth ?

Has conflicts.
Fixed.


docs(release): Tier policies summary in the Supported platforms docs might be confusing

Motivation
The summary text for Tiers in Supported Platforms might be confusing, taking into consideration an actual summary from Target Tier Policies

I don't know how to schedule this ticket, because I'm not sure what the exact problem is.
Feel free to re-open it with a specific description of what we need to change.


Added user profile edit option

Describe the changes you've made
User can change their password and update their profile from "user" drop down in navigation bar.
Fixes: #194
##Working video
https://drive.google.com/file/d/1jWD6C4rjfXPN8mGnFF7JhL8w25DIc-g4/view?usp=sharing
##Project set up
python manage.py makemigrations
python manage.py migrate
Making migrations is necessary to migrate created models.
Type of change
User can now edit their details
Example how to mark a checkbox :-

[x] My code follows the code style of this project.
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
By deploying in localhost
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
A clear and concise description of it.
Checklist:

[x]  My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] New and existing unit tests pass locally with my changes.
[x] Any dependent changes have been merged and published in downstream modules.

##Screenshots

@SnehaVeerakumar If the email id is already registered and then user is changing its email then did it show that email is available or not ?

@SnehaVeerakumar If the email id is already registered and then user is changing its email then did it show that email is available or not ?

username and email cannot be changed as it is unique and verified at the time of registration

If the email and username should be changed, I need to connect this with "users" field but you cannot have other fields such as contact number, age, gender.

I think it's best to leave out the useremail unchanged.

I think it's best to leave out the useremail unchanged.

Yes, in this code username cannot be changed

Working demo :
https://1drv.ms/v/s!AhQCqna6zNwBjimSQPH1mWovWGcS?e=vGV8eB

Working demo :
https://1drv.ms/v/s!AhQCqna6zNwBjimSQPH1mWovWGcS?e=vGV8eB

@swapnilsparsh @khanfarhan10

@swapnilsparsh @khanfarhan10 Any updates?

[ ]  Update password is displayed on the navbar only for home, not for other pages. The navbar should be the same for every page.
[ ]  Add the dropdown to the username and in that dropdown add Profile and logout option.
[ ]  Add better hovering effects for the username and update password
[ ]  In profile page, align SAVE CHANGES button to the center.
[ ]  On right side column of age add contact number field and likewise adjust city and gender side by side.

Thank you for the review. I will update it by tomorrow

@sakshikhachane  I have added only profile update which is through user name click. Now that will be added to the dropdown. Please correct me if I am wrong.

@sakshikhachane I have added only profile update which is through user name click. Now that will be added to the dropdown. Please correct me if I am wrong.

Yes, you are right.

@sakshikhachane I have added only profile update which is through user name click. Now that will be added to the dropdown. Please correct me if I am wrong.

Yes, you are right.
Have you included update password?

Yes, I got your point which says the fields added by this PR will be in the dropdown of username including logout option.

Changes made :

All the links are now accessible from anywhere navigation bar is available.
In profile page and contact page, SAVE CHANGES button is alligned to center.
Allignment in profile edit section have been made.
Dropdown has 3 fields : Update profile, Update password, logout

Screenshots :

Video demonstrating the links are accessible from other pages :
https://1drv.ms/v/s!AhQCqna6zNwBjis8U4RTIjktiWA9?e=wRI7Ax

All the mentioned changes have been made. Also, in changes password page, I have aligned SAVE CHANGES to center.
Screenshots and video :
https://1drv.ms/u/s!AhQCqna6zNwBjjLPAKq_0FskGfw0?e=Xcb8F0
@sakshikhachane @swapnilsparsh @khanfarhan10

Any updates ?
@sakshikhachane @swapnilsparsh @khanfarhan10

[ ]  Remove the update password page as it is created in #197.
[ ]  Add heading/title to the profile page.
[ ]  For smaller devices, the form should be in the center and increase the font size as well.
[ ]  Reduce the width of Save Changes button
[ ]  On clicking the Save changes button, I am getting this error.

Note -I have logged in through the google account.

Email field must be removed by the suggestion of project admin.. i thought i did. I will check it once.

@SnehaVeerakumar Any updates?

@SnehaVeerakumar Any updates?

I will update by tomorrow. Sorry for the delay

I am so sorry. I am almost done and my PR will be all set to review tomorrow early morning. Due to hackathon I couldn't keep up the word. Sorry :(

@sakshikhachane  I am facing an issue. The same file works fine in local machine but when I try to clone and run, I am getting "data referenced before assignment" error after "save changes"
Video of perfectly working project : https://1drv.ms/v/s!AhQCqna6zNwBjjQjY-dQWXQ7zqa4?e=4X9oAT
Kindly suggest me a way.. both the codes are same and I have no idea why I get that error..
There are 3 possibilities now. You can run this repo and see if you get the same error or you can add someone with me in this issue to help me or unassigning me. The last option is in worst case please, I have put so much effort in this issue. It is your call now !
Thank you for being patient !

@SnehaVeerakumar I will have a talk with Project Admin and will let you know.

@SnehaVeerakumar I will have a talk with Project Admin and will let you know.

Once you try running the program ! What if it works as it is working in my local machine


[ContainerResetExtension] Memory leak in unserialize & gc_collect_cycles taking about 40% of all execution time

Hi,
When we fixed problem Too many connections error from ticket https://github.com/oroinc/platform/issues/754 (more easy set in postgresql.conf max_connections = 20000). We noticed a serious regress of performance related with persistent_services (may be related with oro_featuretoggle.configuration.provider). This is due to the fact that the garbage collector can not remove some objects, because the references to these objects exist in some persistent_services this leads to serious memory leaks
For test we use STR from issue https://github.com/oroinc/platform/issues/754.
Result testing in PROD!!! mode (in dev exist leak related with logs handler processors)

Number of messages processed since last restart MQ
Speed. message per sec.
Memory usage MB
GC time to total time
Profiler

10
10.2
69.4
< 1%
blackfire

100
8.8
128
9%
blackfire

1000
4.7
701
39%
blackfire

On next plot shows depends speed MQ (message per sec.) on number of messages processed since last restart MQ

CRE - ContainerResetExtension
Memory leak in MQ

As you see memory leak do not occur if remove from app.yml all persistent_services or disable ContainerResetExtension

Thank you for reporting the issue!
INTERNAL ID: BAP-15540

fixed in https://github.com/oroinc/platform/commit/2e716817997601c065199e3fcf226a12e3b02d4b


Response stream does not actually use deadline

See : https://github.com/google/aiyprojects-raspbian/blob/aiyprojects/src/aiy/_apis/_speech.py#L327:L329
As a result, this defaults to I'm guessing 185 seconds (the GRPC default), which is probably undesirable...

The reason I point this out is that this fix should allow users to exit quickly on failures. Sometimes my response stream hangs and it takes several minutes to exit out with one of the following errors,

  code: 3
  message: "Client GRPC deadline too short. Should be at least: 3 * audio-duration + 5 seconds. Current deadline is:<PHONE_NUMBER>0778475 second(s). Required at least: 139 second(s)."
}```

This is an intentional choice, to allow users to use the full 60 seconds allowed for a query. However, it's possible that most queries are much shorter so we don't need such a large deadline.
@proppy, do you have any data on the durations of queries used on the Assistant Service?


Integration with blackdoc

blackdoc allows to run black on Python code snippets integrated inside docstrings, i.e. function usage examples and doctests. We are using it in addition to normal black, and it would be great to integrate it with this extension, allowing us to reformat documentation improvements without leaving the editor.

Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

I investigated this. Unfortunately, blackdoc does not support formatting over stdin. A requirement for this extension is that we need to be able to format a file before its contents are saved to disk. This means that tools need to be able to work with content passed in via stdin.


Roll Flutter Engine from 716bb9172c0d to 687e3cb0fbe2 (2 revisions)

https://github.com/flutter/engine/compare/716bb9172c0d...687e3cb0fbe2
2023-01-10<EMAIL_ADDRESS>Roll Dart SDK from 418bee5da2e2 to 8d7a6aabd3a3 (2 revisions) (flutter/engine#38738)
2023-01-10<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from ORxExaprF9fW5d4MP... to zC90VpkAGMG1jJ-BK... (flutter/engine#38734)
Also rolling transitive DEPS:
fuchsia/sdk/core/mac-amd64 from ORxExaprF9fW to zC90VpkAGMG1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


[Bridge UI] Use multicall for RADAR <> xRADAR exchange

Problem
What problem are we solving?
We request 2 transactions right now from the user when sending RADAR, one for the exchange and one for the xcall. Should combine both.
Impact
Why does this matter? Who does it impact? How much does it impact them? What is the urgency?
Users who miss the 2nd transaction get stuck with xRADAR and would have to exchange it back manually or figure out how to xcall it manually.
Proposed Solution
[OPTIONAL] Thoughts on solution design. We could do  to solve this problem.
Acceptance Criteria
From an end user perspective, the below criteria must be met to consider this done:

[ ]

we are moving forward with permit2, @just-a-node if you can share the latest update here.

PR sent to wonderland repo, Creed notified. Next step is to prepare UI-side PR to accommodate the permit2 flow.

Thanks for the update! @just-a-node can you add an estimate to this issue?

pr is created, waiting for the audit from creed

waiting for creed to response

Q about smart contract wallets that can't sign. Need to investigate the flow here.


Add Skype Web Plugin v<IP_ADDRESS>

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[x] Named the cask according to the token reference.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.
[x] Checked there are no open pull requests for the same cask.
[x] Checked that the cask was not already refused in closed issues.

Thank you for the contribution. It needed some fixes, so they were made in 4b33059c510304d264fd886ae1ac13aceabc22fb. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.


[SUPPORT] Request for support for Azure Blob Storage Events Source and Events Hoodie Incr Source in DeltaStreamer

Tips before filing an issue

Have you gone through our FAQs?

Join the mailing list to engage in conversations and get faster support at<EMAIL_ADDRESS>

If you have triaged this as a bug, then file an issue directly.

Describe the problem you faced
Since Streaming ingestion using DeltaStreamer from DFS that contains parquet files has a problem as explained in this blog here https://medium.com/apache-hudi-blogs/reliable-ingestion-from-aws-s3-using-hudi-b7d5590c78a9 here, I'm working on implementing a similar setup described in the above mentioned blog for ingesting parquet files stored in Azure blob storage and enable event triggers to Azure storage queue.
Currently, hudi-utilities/sources contains support only for S3 events source (S3EventsSource.java) and incremental pulls from S3 (S3EventsHoodieIncrSource.java). The ingestion pattern doesn't seem to support equivalent Azure cloud stack.
To Reproduce
Expected behavior
Suggested Ingestion Path (Just an example):
  1                                                       2                                                                      3                                               4

Azure Blob Storage -----> Azure Event Grid (for notifications) ------> Azure Storage Queue -----> DeltaStreamer Pull (Hudi Metadata table)
  5                                                         6                                             7                                        8

Hudi Metadata table------> DeltaStreamer Incr Pulls-----> Azure Blob Storage ---> Hudi Source Table.
Support request for reliable ingestion of azure blob storage events from azure storage via azure event grid and azure storage queue to hudi. Reference: https://medium.com/apache-hudi-blogs/reliable-ingestion-from-aws-s3-using-hudi-b7d5590c78a9
Environment Description

Hudi version : 0.12.0

Spark version : 3.3

Hive version :

Hadoop version :

Storage (HDFS/S3/GCS..) : Azure Blob Storage / Azure Storage Queue

Running on Docker? (yes/no) : No

Additional context
Could you please provide any recommendation or ETA on this support request for doing reliable ingestion from Azure Blob Storage/Storage queue using DeltaStreamer ?
Stacktrace
Add the stacktrace of the error.

@nsivabalan, Could you please provide any timeline on when we can expect this feature in DeltaStreamer?

@rtdt99 i've filed this https://issues.apache.org/jira/browse/HUDI-5202
This kind of feature is mostly community-driven so there is no specific timeline. Anyone interested can pick it up and submit a PR for review. cc @kywe665

Hi @rtdt99 Thanks for raising the feature request!  This is useful for Azure Blob Storage users.  The overall flow looks good.  We encourage you to put up the full and detailed design in an RFC (you can follow the RFC process here).  The community can help review the RFC and the implementation.
Let's follow up in the JIRA ticket: HUDI-5202.  Closing this issue now.


SlideCountdown does not work with onChanged.

SlideCountdown does not work with onChanged.
It works in SlideCountdownSeparated, but the minute is reduced not seconds.

Hi @melow2 thanks for report this issue, I can reproduce this isssue, i will fix it soon in my freetime.

Fixed in slide_countdown 0.3.1


The TinyMCE javascript code is not being loaded in the admin

I'm using Django 3.2 and django-tinymce 4.0.0.
"tinymce" is included in the installed apps and I have added the line path('tinymce/', include('tinymce.urls')), to my urls.py file.
The only "non standard" thing I have is that I have created a subclass of admin.AdminSite.
I don't know when this stopped working, but it was working on Django 1.11.29 (I know, quite old) with django-tinymce 2.6.0.
When I look at the html source code of an admin page supposed to have tinymce widgets, the class "tinymce" is present in the texarea but there is no call to the js. Checking in chrome dev tools -> network, I can confirm that no js is being requested.
What could be the issue here ?

In my setups, I've downloaded the tinymce source code and in Django settings I set the js file so django-tinymce can read it.
TINYMCE_JS_URL = os.path.join(settings.STATIC_URL, "tinymce/tinymce.min.js")
Another reason I can think of making the js files not loading is incorrect usage. Do you load the tinymce widget in TextFields and CharFields?
body = TextField(
       required=False,
       widget=TinyMCE(),
   )

Experiencing the same issue.  Getting 200 responses for all the requested media files from within the admin:
June 02, 2024 - 13:24:46
Django version 5.0.6, using settings 'settings'
Starting ASGI/Daphne version 4.1.2 development server at http://<IP_ADDRESS>:8000/
Quit the server with CTRL-BREAK.
 If you customized TINYMCE_JS_URL, double-check its content.';     }
Have tried both overriding the TINYMCE_JS_URL in the setting.py file and using the default.

I just tested in one of my projects and the TinyMCE widget was loading fine. Something should be wrong in your setup. I'll close the ticket, but if you give us some sample code, maybe someone can continue to give you help.


Receiving NaN values while disposing

Executing the dispose method of a binding while dragging it, triggers an update with a NaN value (while dealing with number). This behavior is not excepted, and is causing me some problems.
this.pane?.dispose();

This is an unexpected usage. Disposing of a binding while dragging it means that the binding will be removed during the dragging process. I think this is strange behavior for users.

Feel free to reopen the issue if you have any updates.


pkg/cover, syz-manager: introduce the /cover?debug=1 parameter

Debugging coverage point validation warnings may require looking at specific addresses, which are not printed anywhere. Add a URL parameter that can be passed to prepareFileMap() to print a more meaningful error message.

Before sending a pull request, please review Contribution Guidelines:
https://github.com/google/syzkaller/blob/master/docs/contributing.md

PTAL. An alternative would be to always print the mismatching addresses (but there might be tens of thousands of them).

@eprucka3 fyi

@a-nogikh PTAL


Minimum Requirements For Mentees to be in the program

Next action item from the last mentorship meeting.  :)
We had a discussion of what exactly mentees needed to have before they were admitted to the mentorship program.  I am just going to summarize my notes below and would love any input as we try to get the next cohort going.

There was a concern that the mentees didn't have a basic knowledge of how to do a pull request or do simple tasks and that the mentors were spending valuable time teaching them these things instead of what their specialties are.
Some thoughts on making sure the mentees had basic skills were:

perhaps list a PR that they have submitted to a repo to prove they can do it.  There was some concern here that Node is a hard one to submit your first PR to so perhaps another open source project could work too.
A Questionaire - Perhaps we could develop a questionaire to ask the applicants where there skill level is.  The downfall to this is that we are relying on the applicants to be accurate and perhaps we don't want to set a high bar to entry.

Love your thoughts and input!

I came here to ask what the Mentorship committee was looking for in mentee applicants for future cohorts. Once you have settled on exactly what you are looking for, it would be helpful for potential mentees if the README.md of the Mentorship team listed some basic qualifications or skills that it is looking for in new mentees. Taking things a tiny bit further, it would be amazing if there were some kind of resources to help get people up to speed on the basics so they could make the most of their time in the program. Just my 2 cents. I really appreciate everything everyone here is doing!

some kind of resources to help get people up to speed on the basics

For the very basics of getting an initial commit into Node.js, there's https://www.nodetodo.org/getting-started/. Hope that's helpful to some folks.

Thanks @Trott that's exactly what we needed!


Endianness of axis_fifo_adapter

I'm using the axis_fifo_adapter with an input data width of 32 and output data width of 8. I was surprised to see that the output data stream seems to come out in little endian. For example if the input data word is "DEAD_BEEF", it's coming out of the FIFO as "EF", "BE", "AD", "DE".
Is this by design? I would have expected the fifo to use Netowrk byte order or have an option to do that. Am I doing something wrong?

This is how ordering in AXI stream works.  For a byte-oriented stream, tdata[7:0] is the first byte, tdata[15:8] is the second, etc.  So if you convert from 32 bits to 8 bits, tdata[7:0] comes out first, then tdata[15:8], then tdata[23:16], then tdata[31:24], then tdata[7:0] of the next input word, etc.  See the AXI stream spec for more information - ARM IHI 0051A section 2.3.1.  How those bytes are interpreted in terms of most/least significant (endianness) is out of scope.  If you want to send the MSB first, then you need to byte-reverse the data before sending it over AXI stream.  There is no option to change that because it would break basically all of the AXI stream components that expect the first byte in tdata[7:0].

Thank you so much for taking the time to explain.  This makes sense


LargeObject support via OID

Feature Request
PostgreSQL supports two type of large object:

byte array (R2DBC SPI supports it with Blob)
oid as a reference (of course the SPI has no such support)

Here are the differences:

Characteristic
BYTEA
OID

Max. allowed space
1 GB
2 GB

Data access
As a whole
Stream-style

Storage
In defined table
In pg_largeobject system table

Data manipulation
Using SQL and escaping sequnces
Only within transaction block by special functions

Loading
Preload
On demand

Stream-style makes it possible to implement a server that supports HTTP range requests.
Is it possible to create an extension for r2dbc-postgresql to support LargeObject with OID?
Describe the solution you'd like
Blob from the SPI can not be used because data manipulation of a LargeObject is not possible with insert/update clauses.
io.r2dbc.postgresql.api.PostgresqlConnection could provide something like:

Publisher<ByteBuffer> readLargeObject(long oid)
Publisher<ByteBuffer> readLargeObject(long oid, Range range)
Mono<Long> createLargeObject(Publisher<ByteBuffer>)
Mono<Void> deleteLargeObject(long oid)

The Range can be described with two attribute:

start index: long starts from zero
size limit: long maximum number of requested bytes (optional)

Thanks for your proposal. How does this work right now with PGJDBC? Ideally, we can reuse Blob as the streaming interface is already available there.

Here is the API of PGJDBC
Connection of PGJDBC provides LargeObjectManager via connection.unwrap(PGConnection.class).getLargeObjectAPI()
Methods of LargeObjectManager:

LargeObject open(long oid, int mode) opens an existing large object, based on its OID
long create(int mode) creates a large object, returning its OID
void delete(long oid) deletes the large object

Argument mode can be READ, WRITE, READWRITE
LargeObject is a stream-like object with seek support.
Methods of LargeObject:

OutputStream getOutputStream() returns an OutputStream to the large object
InputStream getInputStream(long limit) returns an InputStream that will limit the amount of data that is visible
InputStream getInputStream() returns an InputStream from the large object
byte[] read(int length) reads some data from the object, and return as a byte[] array
int read(byte[] buffer, int offset, int length) reads some data from the object into an existing array
void write(byte[] buffer) writes an array to the object
void write(byte[] buffer, int offset, int length) writes some data from an array to the object
seek(long position, int reference) sets the current position within the object
long tell() the current position within the object
long size() the size of the large object - inefficient, as the only way to find out the size of the object is to seek to the end, record the current position, then return to the original position

Argument reference can be SEEK_SET, SEEK_CUR, SEEK_END
Internally LargeObject uses Fastpath API.

I reconsidered my request. LargeObject is memory efficient because the client code uses the same byte array in a loop. With reactive stream data is immutable so we can consume only ByteBuffer chunks. With a large file maybe the overhead of the chunks are worse than the memory requirement of a new thread that can use the blocking API. Or not?

Thanks for the details. The Large Object API is pretty different from a plain Blob, so it seems using io.r2dbc.Blob isn't necessarily a suitable approach.

is memory efficient because the client code uses the same byte array in a loop

With this API being a driver-specific API, we can use Netty's ByteBuf which can be pooled buffers so we have GC pressure covered. Looking at PGJDBC's LargeObject we should be able to mirror the same API with using reactive types along (e.g. Mono<ByteBuf> read(int length), ByteBufFlux read() corresponding withgetInputStream(), Mono<Long> write(Flux<ByteBuf>) corresponding with getOutputStream()).
The FastPath API is largely deprecated with the background of using parameterized statements. Maybe @davecramer can shed a bit of light here.

@mp911de what is the question ?
see https://www.postgresql.org/docs/current/libpq-fastpath.html for the reasoning for the deprecation

The actual question is how the replacement should look like. I wasn't able to find an example how to call functionality required for the Large Object API such as lo_close, loread, lo_tell and others via SQL.

Interesting looks like the driver still uses FastPath and we don't have any tests for it. Honestly I don't use it but could probably figure it out when I have some time. If they happen to figure it out first that would be awesome

Thanks, Dave. I marked this ticket as ideal for contribution.
It makes sense to add such a feature to our library and we can work out the actual API when we receive a design proposal in form of a PR.

@fzoli You can call any of those functions without driver's explicit support. Take a look here.
But there's one bad thing in reading: backend will send data by 65536 bytes chunks, but our driver won't decode it until it will receive full packet. So we have to rework our receiving process to support lazy decoding or we have to call lo_get multiple times with reasonable for parameter until the whole file is here.

In JDBC, the OID-based large objects are exposed as java.sql.Blob. I've not really looked at R2DBC, but I don't see why the io.r2dbc.Blob interface wouldn't be suitable for the common case (read/write a stream).

That was at first also my thought.  We need a bit of code to see how this enhancement goes and how the API shapes up.

So is LO support a necessity? I don't really see many people using this in JDBC ?

I don't know as I'm not so much involved in how folks use Postgres with large objects. I don't mind making sure our driver is able to work with server-side functions so that this feature could live also outside of the driver.

Makes sense I guess. I probably wouldn't prioritize it.

As an actual Postgres user, blob support is crucial. A bytea is not a blob.
This is like arguing you don’t need to support char because you don’t see many people using it.

Speaking from some authority as primary maintainer for the PostgreSQL JDBC driver and major contributor for Postgres and long time user (since 1999) I honestly don't see a lot of use of large objects. Now perhaps I am myopic, I don't know. That said I didn't say don't support it, I said I wouldn't prioritize it.

If by "large objects" you mean LargeObjects then perhaps that's fair, but most people will use large objects in Java via Blob.

Yes I was referring to LargeObjects.


Revert error message to use full stops after numbers

What is the context of this PR?
We should use full stops after numbers in error messages e.g. 1., as of this PR we were incorrectly using ) eg. 1).
How to review
Check that we now use full stops after numbers in error messages
Checklist

[ ] New static content marked up for translation
[ ] Newly defined schema content included in eq-translations repo

 Reinstate numbers to have full-stops following them, rather than brackets

Given that this was raised as a bug, this should have a test to ensure it doesn't get regressed again.

I've added a test 😀


Python 3 compatibility

Fix prints, divides, etc so it works. Do this for bat_eval at the very least.

Achieved with this commit


Mistake in eval_textvqa

When I run the script sh ./scripts/eval/textvqa.sh, I found that the evaluation scripts seems wrong?
The model inference and save question_id  for each image case in  model_vqa_loader.py
, and compare the result vs ground-truth json in eval_textvqa.py.
I run this but get mistake, I find the reason might be: code A save "(image_id, question)" as key, but use the key in code B by "(question_id, question)". I think the code A and B 'key pair should be consistent

Could you please send your error message?

Could you please send your error message?

The original error is :

but I have change to code to annotations = {(annotation['question_id'], annotation['question'].lower()): annotation for annotation in annotations}, so this mistake disappear.
By the way, I haven't find the file 'llava_textvqa_val_v051_ocr.jsonl' for textvqa eval, but only find the file 'TextVQA_0.5.1_val.json'. I just generate the former json from the latter by removing the answer

You can find llava_textvqa_val_v051_ocr.jsonl at eval.zip (after extracting it). You can then re-evaluate it with the new file to see if similar errors still occur.


Question: how to watch for cluster events?

Hi,
i'm on a 3 node CoreOS and i want to listn to cluster events, i think fleet does this allready, doesn't it?
I need to know as fast as possible if one node is down, so that i can switch my ClusterIP's
etcd knows allready when a node is available or not so how can i listn to that events?
I don't want to call /health every few seconds, i think there must be a elegant way.
regards
celevra

There is no magic way to do that actually. Internally, etcd also does simple health checking between every pairs of nodes. Externally, you have to ping each node to know its status against your local node since connectivity it per node not per cluster.

If you are talking about actual cluster events like remove/add nodes, there is already an issue for it :https://github.com/coreos/etcd/issues/5277

Thanks for the answer
If Polling for /health is the right way how fast can I do it without disturbing etcd? Every 2 seconds?

Von: Xiang Li<EMAIL_ADDRESS>Gesendet: 17.05.2016 4:58 vorm.
An: coreos/etcd
Cc: Philipp Zeitschel; Author
Betreff: Re: [coreos/etcd] Question: how to watch for cluster events? (#5357)
If you are talking about actual cluster events like remove/add nodes, there is already an issue for it :#5277
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub


There is possible memory leak and bug leads to many listeners. It is …

…necessary to remove listener before creating new object. Problem occurs when componentWillReceiveProps is called, then another listener is added, but old one is not removed.

ah, thanks!


Footer minor fixes

Brief description:

Put icons in circles
Footer has weird whitespace underneath it on Samsung Fold resolution and the text positions itself weirdly
The year should 2023

@Aleks1908 make them gray as they are in hubconf and add an additional prop for tweaking the color. Ask @r-mishev if you have any questions about the footer.


false publish Promise

I'm testing rabbot with a single connection to a VM of RabbitMQ. In my testing if I kill the network card to replicate a lost connection, the publish still resolves until failed is emitted. Can you double check this?

@brandonpsmith - I found the problem, despite how the documentation of the amqplib is written, the publish call behaves differently from sendToQueue, and returns true or false, rather than a promise. The way the iomonad around channels in rabbot behaves is that it resolves the promise if the underlying result of a call is a scalar value instead of a promise itself.
It looks like the publish call in amqplib does take a old-school callback but there is nothing in the documentation about it. I'll have to do some experimenting to see if that will resolve the issue.

@brandonpsmith - I think I have a fix for this, based on what you described. I don't currently have a test for it since I'll need to find a way to kill/restore TCP/IP connectivity via Node in a test (that would be fun).
I did some manual testing from a REPL though and was finally getting rejected promises. Let me know if this appears to be working for you. I'll wait a day or so before closing the defect.


replaceCommand and addCommandList crash blink from time to time

Spotted in crashlogs from App Store.

iOS 11,12
devices: iPhone, iPad

I think the last line of replaceCommand should be:
commandList = [mutableDict copy];

instead of:
commandList = [mutableDict mutableCopy];

See commit  ea25d0e.


Implement on the Snapshot Testing with report + PR comment by Github Action

What's in this PR?
This PR is probably an extremely poor-man, quick-and-dirty solution to achieve what we might be looking for kub.

We run verifyRoborazziDebug by the CI
Check whether compare files are found

If yes, generate a report and comment it back into PR
If no, do nothing

In any case, we upload artifacts into our checks

In this PR, I also add a phantom type SnapshotTests to categorize test classes so that the snapshot test is only run by the gradle task with (-Psnapshot) parameter in the verifyRoborazzi call.

It looks like GITHUB_TOKEN doesn't have enough permission kub. I think someone need to add correct GITHUB_TOKEN (with permission to add comment into the PR for me) 🙏

ผมรู้สึกว่ามันถูกแล้วนะ เกี่ยวกับที่ว่าเป็น pr จากพี่หรือป่าวนะ 🤔

"Note: In public repositories this action does not work in pull_request workflows when triggered by forks. Any attempt will be met with the error, Resource not accessible by integration. This is due to token restrictions put in place by GitHub Actions. Private repositories can be configured to ..."
ไปเจอมาจาก https://github.com/peter-evans/create-or-update-comment?tab=readme-ov-file#action-inputs เดี๋ยวผมขอลองเช็คให้ก่อนนะครับ

It's worked!

No SnapshotTest anymore 😂

Lol ... Shall we revert back to pull_request?

Let me try to reopen this pull request first krub

Nope ... negative lol...

Nope haha ... but I think you are right kub, it might be something to do with my fork repo :)

Another option is invite you into this project but we shouldn't do that 😂

If you can't invite then, it is okay kub, you can take my work from here and continue further

Yes, I can. But it doesn't make sense if we have to invite every contributors into the project 😂
So the better approach is do something that this thing works!

I think you should push your branch into origin repository then recreate the pull request to make the Actions works

Thanks kub! Accepted! Wait ... the report seems to be working but we don't have a comment 🤔 ?

@kittinunf it's the result from #53
Try to create your own PAT then put it in secrets with 'SNAPSHOT_TEST_RESULT_COMMENT' key name.

Ok!! Let me re-create this PR without the fork then :)

Supersede with #56


Use macro callsite spans in backtrace

This mirrors what we do in the debuginfo used for runtime backtraces.

Nice!
@bors r+

:pushpin: Commit 8e8828259ac1433dd3981fcec9670d7394c2ade5 has been approved by oli-obk

:hourglass: Testing commit 8e8828259ac1433dd3981fcec9670d7394c2ade5 with merge 47133cbc205ffcc58f852941840dc43c3b1e4cfe...

:boom: Test timed out

@pietroalbini @lzutao looks like gating on GHA didn't work properly? CI passed fine but bors did not notice...

@RalfJung https://github.com/rust-lang/miri/pull/1571 is not merged yet

@RalfJung #1571 is not merged yet

Sure but that should not be a problem -- we have a dummy GHA job.

@RalfJung bors is listening for a job named "bors build finished", which is currently not present.

Yeah I am trying to add one in https://github.com/rust-lang/miri/pull/1576... the dummy job @lzutao was supposed to be enough but it seems it is not.

@bors retry

:hourglass: Testing commit 8e8828259ac1433dd3981fcec9670d7394c2ade5 with merge 6a342a6ecb305b6d789646036ae463f8ebfc6f6f...

:sunny: Test successful - checks-actions, checks-travis, status-appveyor
Approved by: oli-obk
Pushing 6a342a6ecb305b6d789646036ae463f8ebfc6f6f to master...


Improvement for k8s.io/docs/tasks/administer-cluster/configure-upgrade-etcd/

This is a...

[ X] Feature Request
[ ] Bug Report

Problem:
etcd backups are vital to cluster health, however the amount of information on backing up etcd is very limited or requires juju in the official kubernetes docs.  This is just a request for more thorough documentation on this subject, perhaps a dedicated page with multiple methods.
Proposed Solution:

Offer a more thorough example such as:

ETCDCTL_API=3 etcdctl --endpoints https://<IP_ADDRESS>:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key /etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save ./snapshot.db

also listing where the etcd database is actually located would also help, for example /var/lib/etcd/member ....

A method of manually backing up the db snapshot would also help.

Page to Update:
https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/#backing-up-an-etcd-cluster

I also thought the same thing.
It is tentative, but we are thinking of two ways.
I think both are essentially the same as you suggested.
# in master node
$ docker run -e ETCDCTL_API=3 \
  -v $(pwd)/baks/:/baks/ \
  -v /etc/kubernetes/pki/etcd:/etc/kubernetes/pki/etcd \
  --rm -it $(kubectl get po -n kube-system etcd-controller -o jsonpath='{.spec.containers[].image}') \
  sh -c 'etcdctl --endpoints=https://$ENDPOINT:2379 --cert=/etc/kubernetes/pki/etcd/server.crt --key=/etc/kubernetes/pki/etcd/server.key --cacert=/etc/kubernetes/pki/etcd/ca.crt snapshot save /baks/snapshotdb'
Snapshot saved at /baks/snapshotdb
$ ls -alh ./baks/
total 3.2M
drwxr-xr-x 2 root root 4.0K Jun 16 12:12 .
drwx------ 5 root root 4.0K Jun 16 12:12 ..
-rw-r--r-- 1 root root 3.2M Jun 16 12:12 snapshotdb

or
# in master node
$ kubectl exec -n kube-system -it etcd-controller -- sh -c 'ETCDCTL_API=3 etcdctl --endpoints=https://$ENDPOINT:2379 --cert=/etc/kubernetes/pki/etcd/server.crt --key=/etc/kubernetes/pki/etcd/server.key --cacert=/etc/kubernetes/pki/etcd/ca.crt snapshot save snapshotdb'
$ kubectl cp -n kube-system etcd-controller:/snapshotdb $(pwd)/snapshotdb
$ kubectl exec -n kube-system -it etcd-controller -- sh -c 'ls -alh; rm snapshotdb; ls -alh'
Snapshot saved at snapshotdb
tar: removing leading '/' from member names
total 3228
drwxr-xr-x    1 root     root        4.0K Jun 16 12:14 .
drwxr-xr-x    1 root     root        4.0K Jun 16 12:14 ..
-rwxr-xr-x    1 root     root           0 Jun 16 11:55 .dockerenv
drwxr-xr-x    2 root     root       12.0K Oct  1  2018 bin
drwxr-xr-x    5 root     root         360 Jun 16 11:55 dev
drwxr-xr-x    1 root     root        4.0K Jun 16 11:55 etc
drwxr-xr-x    2 nobody   nogroup     4.0K Oct  1  2018 home
dr-xr-xr-x  172 root     root           0 Jun 16 11:55 proc
drwx------    2 root     root        4.0K Oct  1  2018 root
-rw-r--r--    1 root     root        3.1M Jun 16 12:14 snapshotdb
dr-xr-xr-x   13 root     root           0 Jun 16 11:54 sys
drwxrwxrwt    2 root     root        4.0K Oct  1  2018 tmp
drwxr-xr-x    1 root     root        4.0K Nov 30  2018 usr
drwxr-xr-x    1 root     root        4.0K Jun 16 11:55 var
total 44
drwxr-xr-x    1 root     root        4.0K Jun 16 12:14 .
drwxr-xr-x    1 root     root        4.0K Jun 16 12:14 ..
-rwxr-xr-x    1 root     root           0 Jun 16 11:55 .dockerenv
drwxr-xr-x    2 root     root       12.0K Oct  1  2018 bin
drwxr-xr-x    5 root     root         360 Jun 16 11:55 dev
drwxr-xr-x    1 root     root        4.0K Jun 16 11:55 etc
drwxr-xr-x    2 nobody   nogroup     4.0K Oct  1  2018 home
dr-xr-xr-x  171 root     root           0 Jun 16 11:55 proc
drwx------    2 root     root        4.0K Oct  1  2018 root
dr-xr-xr-x   13 root     root           0 Jun 16 11:54 sys
drwxrwxrwt    2 root     root        4.0K Oct  1  2018 tmp
drwxr-xr-x    1 root     root        4.0K Nov 30  2018 usr
drwxr-xr-x    1 root     root        4.0K Jun 16 11:55 var
$ ls -alh | grep snapshot
-rw-r--r--  1 root root 3.2M Jun 16 12:14 snapshotdb

I feel that it is difficult to write concrete content up to this point or just to explain the argument.

Backups matter
/priority important-longterm