TomP2P Performance issues over time

I've been running some minor benchmarks on tomP2P, and I'm in need of some reference benchmarking. I'm curious whether my results are similar to the original benchmarks of the system - could you please provide me with some relevant material to help me?
I've used TomP2P in a distributed storage network, built for low latency and high reliability, with tomP2P as a third layer of storage, or rather a persistence layer, and I've seem to run into some performance issues which become apparent over time.
My test:

Nodes on different hosts [40]

Node 1 x16 peers
Node 2 x9 peers
Node 3 x15 peers

RPS: 10
Duration: 1800 sec
PUT commands only (on 8 selected storage nodes only)

from my artillery test against a rest endpoint:
All virtual users finished
Summary report @ 21:54:17(+0200) 2021-05-03
  Scenarios launched:  18000
  Scenarios completed: 13342
  Requests completed:  13342
  Mean response/sec: 9.95
  Response time (msec):
    min: 2
    max: 9995
    median: 8
    p95: 5789
    p99: 9162.1
  Scenario counts:
    peer-2: 2286 (12.7%)
    peer-1: 2159 (11.994%)
    peer-12: 2306 (12.811%)
    peer-13: 2217 (12.317%)
    peer-18: 2249 (12.494%)
    peer-4: 2328 (12.933%)
    peer-17: 2174 (12.078%)
    peer-3: 2281 (12.672%)
  Codes:
    200: 1381
    400: 14
    408: 11947
  Errors:
    ETIMEDOUT: 4200
    ECONNRESET: 458

As you can see I have a lot of timeouts and failing connections. Also Seeing quite a bit of timeout warnings as expected
WARN  TimeoutFactory - Channel timeout for channel Sender [id: 0xbd747647, L:/0:0:0:0:0:0:0:0:57213].
WARN  TimeoutFactory - Request status is msgid=-1862733718,t=REQUEST_1,c=PING,tcp,s=paddr[0x975eb768918c948a5de0dc3cc419b424bd131363[/<IP_ADDRESS>,5491]]/relay(false)/slow(false),r=paddr[0x99830ba9278cafaa6a52bda03c1755733463c0de[/<my-ip, port>]]/relay(false)/slow(false)

I'm using the latest stable version of TomP2P
I'd really appreciate any help/advice
Implementation reference - https://gitlab.com/iggydv12/nomad/-/blob/master/src/main/java/org/nomad/storage/overlay/TomP2POverlayStorage.java
Put example logs
overlay-put-test.log

@tbocek any advice? :)

After some digging I found that one of the nodes (OS X node) was causing the performance issues and causing many of the messages to time out. My current setup is definitely flawed for OS X, for some reason, or It's a bug. I'm not able to say at this point.
One thing I've noticed is that as the ring grows, the reliability successful requests goes down, it seems like for some reason the data becomes distributed (re-distributed) and is no longer available to other nodes?
For bootstrapping I don't always use the same node - I'm not sure if that is an issue?
Version 14.0 (14.0)

I'm still having some issues with reliability of the network, puts succeed 100% of the time, but my read success is more around the 50% mark, and it gets worse as the network scales. I guess this is expected, but even after using Direct replication - indirect replication does not work on the latest Beta version :(
Is there any way that you could help me out to try and make my reads more reliable @tbocek

Hi @iggydv, thanks for the detailed report. My advice is to enable as much logging as possible and go through the logs to see where it got stuck. Maybe upgrading the Netty library could help.
One problem I never could really solve is when using TCP and short lived connections. Netty does a pretty good job in client/server communication, but when it comes to fast paced short lived TCP connection (even shutting down before the connection was established), then I faced issues.
Thus, we are currently looking into a UDP-based protocol to make the connections more suitable for a P2P setting. The current repo is here: https://gitlab.com/p2p-library-in-golang/code


UG command name

I have installed Ungoogled Chromium flatpak in Ubuntu, and I want to set up a customized keyboard shortcut to open a specific webpage.
I need the command name, and there is this folder: .var/app/com.github.Eloston.UngoogledChromium but that is not the command nae, in any case it does not work.
I have scoured the internet but not been able to find it.
Please advise.

Command should be flatpak run com.github.Eloston.UngoogledChromium <url here> but it will change in a bit to a new app ID.

@rany2 Many thanks for your help, that works fine 👍
How can I keep informed as to the new ID?

@rany2 OK, that's great and the new ID is already known.
Thanks for keeping the app going after the original dev pulled out, without any notification it seems.

@DutchPete I'm not sure what you mean, I've maintained the Flatpak from the start.

@rany2 I was referring to this comment on this page

The original developer is no longer actively online and is unlikely to respond

So, it seems I misunderstood, for which I apologize, and certainly did not mean to offend you if I did.
Yes, this issue can be closed now.


Injection: Convert project to C#

What the title says.

Used SharpDevelop 4.4 to do this
http://www.icsharpcode.net/OpenSource/SD/Download/#SharpDevelop4x


dapp: prevent unintended/automatic unloading/stop

Fixes #1805
Short description
There were issues when the web-browser automatically unloads the dApp.
Especially Firefox seem to do this for memory optimization if the tab
was unused for a longer period. This leads to a stop of the Raiden
service and the user needs to reconnect. This gets prevented now.
NOTE: This feature/fix is incredibly hard to test, because it is now
reliable reproducible and costs a takes long. But long term test
attempts (over 40h) seem to show that the unload preventing
functionality works.
Definition of Done

[ ] Steps to manually test the change have been documented
[ ] Acceptance criteria are met
[ ] Change has been manually tested by the reviewer (dApp)

Steps to manually test the change (dApp)

Open the dApp and connect to it
Turn the tab of the web-browser inactive
Wait for a long time (hours)
Check that the dApp is still loaded and not the initial connection screen get shown

The code-coverage tool is not working fully correct. Moreover is this fix not really testable. Therefore I ignore this report. I resolve the merge conflicts and rebase the fixup commit. Afterwards merge it.


New routing for /api/v1/posts_cache

We should get it like
/api/v1/posts_cache/author/permlink

With that also implementing api/v1/posts_cache/author/permlink/upvotes may be a good idea. (Originally suggested by inertia on STEEM.)

also /api/v1/posts_cache/author/permlink/reblogs


fix: use invitation key for connection query

Signed-off-by: Timo Glastra<EMAIL_ADDRESS>Invitation key was not taken into account for get connections endpoint.
If possible, would like to get this in the upcoming 0.7.3 release :)

Codecov Report

Merging #1570 (491d8dc) into main (953fd32) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

:exclamation: Current head 491d8dc differs from pull request most recent head 8c1470e. Consider uploading reports for the commit 8c1470e to get more accurate results

@@            Coverage Diff             @@
##             main    #1570      +/-   ##
==========================================
- Coverage   95.76%   95.75%   -0.01%
==========================================
  Files         527      527
  Lines       32312    32310       -2
==========================================
- Hits        30942    30940       -2
  Misses       1370     1370


Low overhead interaction with Node.js

Currently Hexaville's application(ELF) is executed as a subprocess of Node.js(child_process.spawn) in Lambda.
It would be good if I make Hexaville's application as static or dynamic library for Linux and
exports it as a Node.js(V8) function to call it on Node.js world.

TODO use this mechanism
https://github.com/noppoMan/node-native-extension-in-swift


Debugging an Addin in IE That Uses the OfficeAPI

Article URL
https://docs.microsoft.com/en-us/office/dev/add-ins/testing/debug-add-ins-using-f12-developer-tools-on-windows-10
Issue
The article above described well how to get debugging setup for your addin on IE if your addin can just run correctly in the browser. The problem with our addin however is that we take advantage of the office API's dialog feature https://docs.microsoft.com/en-us/office/dev/add-ins/develop/dialog-api-in-office-add-ins to essentially open modals while working with our addin (we didn't want to just have everything live in the taskpane, if you want this elaborated on please let me know). The problem with this is that when we're in the context of just the browser we don't have access to these dialogs so debugging just by hitting the URL we point to in the manifest isn't really an option for us.
Is there no way to attach an f12 debugger to a running instance of an addin within an office app (specifically, we are a PowerPoint addin)? It looks like the instance of IE 11 that runs the addin is set in a way that blocks any sort of web-inspecting via something along the lines of a right-click and 'inspect element' which is a feature of the commercially distributed IE.
Hopefully my issue is clear, and if you have any solutions for us / have seen an instance similar to mine please let me know.
Thanks,

Hi @nickjgentile,
Thanks for sharing your debugging issues. I'm assigning @TCourtneyOwen to help investigate and report potential doc updates.

Also, @nickjgentile, have you posted any on Stack Overflow using the office-js tag? While it does seem like there is a documentation gap, the SO community may also have a solution for you.

Hi Nick - let our team know if you still need assistance. If not, we'll go ahead and close this thread. Thanks!

Hi all, I am going to close this issue but if you need any other assistance, please comment on this thread and we can reopen. Thanks!


NA in Table k

Sorry, definitely doesn't work for me. I thought the new .rds would fix it (as I mentioned in another issue), but doesn't seem to.
I'd grabbed the latest .rds file from AWS about 5pm; should be good yes?

It would be much quicker if I gave you the code to attach again as opposed to waiting for 2 hrs upload/download

Okay, just put the code here.
Though see end of #800 - I wonder if that requires rebuilding the .rds anyway?
Just re-opening this Issue (sorry!) until it's fully fixed, else it will get lost.

It's uploaded now, and has all the changes we've done the last couple days

Download the base model RDS file from S3.
Last person to check the box, close the issue:

[ ] Kelli
[ ] Andy


[rtve] detect and download 1080p videos.

[x] I'm reporting a site feature request
[x] I've verified that I'm running youtube-dl version 2020.07.28
[x] I've searched the bugtracker for similar site feature requests including closed ones

Description
Rtve.es now offers 1080p videos, but youtube-dl don't detects them just 570p vídeos.
Example:
https://www.rtve.es/alacarta/videos/somos-cine/somos-cine-lobos-sucios/5635544/
There is this version in 1080p not detected by youtube-dl
https://rtve-mediavod.secure.footprint.net/resources/TE_GLESP/mp4/4/4/1596110130044.mp4?nvb=20200802101238&nva=20200802161238&token=0fb8508c97cc61df59aaa

Now almost all videos have the FULL_HD option to download 1080p videos, maybe somebody can have a look?

Now almost all videos have the FULL_HD option to download 1080p videos, maybe somebody can have a look?

I think this is the only one serious bug that needs to be fixed.

I think this is the only one serious bug that needs to be fixed.


Can we refactor Subscription.UpdateNotes method?

The update notes method https://github.com/recurly/recurly-client-net/blob/master/Library/Subscription.cs#L398 currently takes a dictionary as an argument.
There's a couple reasons this is a bad idea:

No one knows what keys are excepted
The way UpdateNotes handles the dictionary you must provide all 3 notes even if you want to just update one.

I suggest we change the signature to:
public void UpdateNotes(string termsConditions, string customerNotes, string vatChargeNotes) this way you can simply pass null to any ones you don't want to update.

@MuffinMan10110 these are good points. I'm down to change the signature as long as we keep the dictionary signature available for backwards compatibility. I can update the examples in the docs to use the new signature to encourage use.

@bhelx Thanks for following up! I will move forward with this soon.

I looked into this further and I don't think it's worth the effort.

The first concern is to add an overload that takes named arguments so that you don't have to look up the documentation for the keys
This way it would be possible to only specify one note to update and pass null to the others or any empty string to actually set the note to null or empty.
The API endpoint treats null, empty string or whitespace all as null

While we can find a way around all of these I think it's more work than is practical for an endpoint that is probably very low use.


query_as! and query_file_as! macros ignore #[sqlx(default)]

Support for #[sqlx(default)] was implemented in https://github.com/launchbadge/sqlx/pull/495, but it only affects usages of the non-macro sqlx::query_as(...).
However, this doesn't work for the macros query_as! and query_file_as!.
A test similar to the the following in macros.rs should reproduce the error:
#[derive(FromRow)]
struct Foo {
    id: i32,
    #[sqlx(default)]
    name: Option<String>,
}

#[sqlx_macros::test]
async fn test_query_as_default() -> anyhow::Result<()> {
    let mut conn = new::<Postgres>().await?;

    let foo = sqlx::query_as!(Foo, "SELECT id \"id!\" from (VALUES (1)) foos(id)",)
        .fetch_one(&mut conn)
        .await?;

    println!("{:?}", foo);

    Ok(())
}

error[E0063]: missing field `name` in initializer of `Foo`

Should/Could this be supported in sqlx, either through #[sqlx(default)] or some other mechanism? I had a glance at quote_query_as, columns_to_rust and expand_with_data, but I couldn't really tell :disappointed:

This is unfortunately not possible without some unstable rust features (and a rewrite of how the type-safe macros are implemented). See https://github.com/launchbadge/sqlx/issues/514


Question: Best Practice for Updating a Language Model in a Live App

How can I best update the language model for an app that is already live without taking down all resources using azd down? The goal is to perform this update with minimal downtime or disruption to users. What is the recommended approach or best practice for handling this type of update in a live environment?

You have two options:

Go directly into the Portal and change the environment variables there. Restart the App Service.
Run the appropriate azd env set commands locally, and then run azd provision (but not azd up/azd deploy). I think that also restarts the app service, though I'm not positive. I would go for this approach since you can test the new model locally before syncing the values to your prod App Service.

The necessary env variables are described here:
https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/deploy_features.md#using-gpt-4


envVars requires forking

Problem
The envVars setting only works when fork is set to true. In my case, the application is an interactive shell that reads raw input. Unfortunately, this functionality causes problems when the process is forked.
Expectations

envVars should not require forking
The correct usage of envVars should be explained in the manual

Workaround
Set the environment variable from within the application using this code snippet.
Notes
sbt version: 1.1.0

sbt's run or test executes within the same JVM as sbt itself.
I can't see how we can append extra environment variables without forking.

If a solution relying on reflection is viable, the getModifiableEnvironmentMap function from the link above could be used.


Can I see all raw inputs to models and raw outputs from models?

When I get log from lm-eval with --log_samples argument, it creates inputs and outputs.
Are the inputs in the log samples applied by chat template, system instruct and fewshots?
In other words Are the inputs to models and the outputs from models logged?

This could be confirmed by manual inspection, but for --model hf and --model vllm types, then if you use the chat templating feature then yes, the inputs after being wrapped by a chat template should be logged!


please add and! spec

[Enter feedback here]

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

ID: 247c440d-b855-0df1-f2db-076cd3393a0b
Version Independent ID: 1cbccd4d-1721-e14f-7546-8fa868c965b1
Content: Computation Expressions - F#
Content Source: docs/fsharp/language-reference/computation-expressions.md
Product: dotnet-fsharp
GitHub Login: @cartermp
Microsoft Alias: dotnetcontent

This was fixed in #30447
Closing.


[web]: can't use web libraries in web plugin

The Flutter Web FAQ links to this guide on how to create a Flutter web plugin, but after following this guide, I am unable to import web plugins. The linter gives avoid_web_libraries_in_flutter when importing dart:html and I'm getting uri_does_not_exist when importing dart:web_audio.
According to this page, web library access is allowed in plugin packages that declare web as a supported context.
Here is my pubspec.yaml
name: projectname
description: A new Flutter project.
version: 0.0.1

environment:
  sdk: ">=2.2.0 <3.0.0"
  flutter: ">=1.10.0 <2.0.0"

dependencies:
  flutter:
    sdk: flutter
  flutter_web_plugins:
    sdk: flutter

dev_dependencies:
  flutter_test:
    sdk: flutter

flutter:
  plugin:
    platforms:
      web:
        pluginClass: MyPlugin
        fileName: myplugin.dart

I am not sure if putting that web: section in there did the trick of declaring web as a supported context.
As per the referenced guide above, the project was created with flutter create projectname because there is not yet a template for creating flutter web projects, and I added the various additional declarations to my pubspec as per the guide.
The output of flutter doctor -v is:
flutter doctor -v                                                                                git:master
[✓] Flutter (Channel beta, v1.12.13+hotfix.6, on Linux, locale en_AU.UTF-8)
    • Flutter version 1.12.13+hotfix.6 at /home/ryan/opt/flutter
    • Framework revision 18cd7a3601 (4 weeks ago), 2019-12-11 06:35:39 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /home/ryan/opt/android-sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /home/ryan/opt/android-sdk
    • Java binary at: /home/ryan/opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[!] Android Studio (version 3.5)
    • Android Studio at /home/ryan/opt/android-studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] Connected device (2 available)
    • Chrome     • chrome     • web-javascript • Google Chrome 79.0.3945.117
    • Web Server • web-server • web-javascript • Flutter Tools

! Doctor found issues in 2 categories.

I can reproduce this with the official url_launcher package developed by the Flutter team.

Clone the https://github.com/flutter/plugins/ project.
cd packages/url_launcher/url_launcher_web
run flutter pub get
open lib/url_launcher_web.dart in editor
The linter highlights the import 'dart:html' line with avoid_web_libraries_in_flutter
Adding the import 'dart:web_audio' gives uri_does_not_exist


[tensorflow/compiler/xla/client/lib/comparators_test.cc] Add calls to reserve() before populating vectors

https://github.com/tensorflow/tensorflow/pull/51739#issuecomment-940389562 told me to split the larger PR into one PR per file; thus this (thanks bash, git and gh!)

I think that you could group your change with 1 PR x folder. Eg 1 PR for all the changes for the xla folder.
If you still have too much PRs I think that you could open 1 PR for the whole parent folder compiler


match-all doesn't jump to the first match on netrw

vim.api.nvim_set_keymap('n', '/', '<cmd>lua require("searchbox").match_all()<CR>', { noremap = true })
I was trying the keymap above. It works exactly as expected in normal files (jumps to the first match after pressing enter), but in netrw it doesn't actually jump to the first match. Not sure if this is a feature/bug.
Wondering if there is some option I've missed.

Working now! thanks

Sorry to bug again.
If you have a split and it happens that each split as the same netrw, this solution jumps to the left most split. I don't think this is super relevant and I can - personally - live with it. Just fyi .

I'm afraid I can't fix that one. There are only two functions that allow me to set cursor position, none of them seem to work.

That's ok. Your first fix works 99% of the time. I just wanted to report a small detail. No worries.


docs(docs): Rebuild docs with latest fixes

:tada: This PR is included in version 2.3.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Tier 5 Spawner Stops Working - Sort Of

Issue Description:
Tier 5 Spawner bound to Zombie Pigman seems to run fine for 5-10 minutes then mysteriously goes out to lunch.
What happens:
T5 spawner stops spawning as expected. During this time I see chickens spawn but no pigmen.  Adding the small part as the full size ones are never present, only the small ones. I kill all of them but the spawner still acts "weird" and spawns chickens until I either log off for a long time [30 min] or the server is rebooted. Last time this happened, admin told me the server memory was pegged which was abnormal. Note that no one was online at the time and baseline performance was 25% or less memory in use.
Note that I was using EnderIO redstone wires to feed redstone signal to the spawner and using an EnderIO Killer Joe to kill the pigmen so it wasn't hitting the spawn cap or anything like that as it was keeping up with killing the pigmen as they spawned.
What you expected to happen:
Spawner to continue spawning. Did not have this issue with T1-T4 of the spawner as I was leveling up the soul shard [kept swapping between two]. Once I got to T5 ran into this issue.
Steps to reproduce:

Make T5 zombie pigman shard
Place in spawner
Wait 5-10 minutes
...

Affected Versions (Do not use "latest"):

Soul Shards: SoulShards-TOW-1.10.2-2.6.1-41
Minecraft: 1.10.2
Forge:  <IP_ADDRESS>0

Thanks!

I think this is fixed by 0d2569dd7c0350c7bf76c3d13a0e694bc072e9cc which I actually forgot I had committed locally.

Sweet! You da man sir!

On Aug 15, 2016, at 6:55 PM, Nick Ignoffo<EMAIL_ADDRESS>wrote:
I think this is fixed by 0d2569d which I actually forgot I had committed locally.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Should be live on Curse. Let me know if there's any continued issues.

Even better!  Thanks again


fix bug in docstring of wp_jackknife

Also see a similar typo https://github.com/astropy/halotools/pull/819


BaseOptions 中 method参数无效

版本 v2.0.14
    BaseOptions options = new BaseOptions(       baseUrl: "https://github.com",       method: "GET",     );     Dio dio = new Dio(options);     Response<String> r =         await dio.request<String>("/flutterchina/dio/issues/196");
An Observatory debugger and profiler on MI 6 is available at: http://<IP_ADDRESS>:50775/
For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".
I/zygote64(10723): Do partial code cache collection, code=29KB, data=20KB
I/zygote64(10723): After code cache collection, code=29KB, data=20KB
I/zygote64(10723): Increasing code cache capacity to 128KB
E/flutter (10723): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: NoSuchMethodError: The getter 'method' was called on null.


Support for Hashicorp Vault

Hello all!
I've been building on @bboerst 's work from his fork to add support for Hashicorp Vault as a backend for external-secrets. 🎉
I've currently got this working through the bundled Helm Chart, which I've had to tweak a little to add the necessary bits and pieces.
I've also added a first draft of documentation, please let me know what you think / what could be improved!
Fixes #62

cc @silasbw @JacopoDaeli @jeffpearce from the linked issue 👍

Alright, I've addressed all code comments; now adding unit tests as well as per @silasbw comment 👍

Think we can merge this as is once tests are in, and do a separate PR to improve kv-backend! :)

The tests are here! 🎉

Uh oh, wait a bit before merging please – I just realised that this version (post-reviews) now creates undefined keys in the Secret:
apiVersion: v1
kind: Secret
metadata:
  name: hello-service
  namespace: default
type: Opaque
data:
  undefined: b3Blbiwgc2VzYW1l

I have to leave for the day but will review this and fix it asap tomorrow.

Found & fixed the issue & rebased on top of master. This is ready to merge if approved :)

I was also perhaps a bit fast on merging #204 (meanwhile you rebased) but I can fix that part after this is merged

@Flydiverny thanks for the feedback! I've amended this PR by adding name where needed, and changing secretDescriptor to spec to align with #204.

We just released 2.1.0 which includes vault support.  thank you for  contributing this :clinking_glasses: !


Small bug in node.go

Event callbacks should call Release() not Close() now.  Sent pr #1 to fix.
Looks great!

Merged, thanks! :)


Not able to inpu

Hi, I am using the Mac app v0.0.3. I'm not seeing a way to input my IDS/Classifications or to change the speaker assignments. Is this just because that hasn't been added yet, or is it a bug in the version I have, or is it because I didn't install correctly? Screenshot included.

How will we restart if we have to pause coding partway through?

It may help to order the buttons as follows: Previous Block, Play Block, Play Clip, Next Clip, since this is the order I'd usually click through.

It may help to add all the input selections that were done via the Load Clan File button, all the associated pop-ups, and the Load Audio File to the text displayed on the left side. So the WAV file that's being used, and the folder the clips are being saved to, and the output file would all be shown.

I'm not following the numbering of coded blocks. Maybe it has to do with when the "only load blocks with at least 1 FAN/MAN tier" checkbox has been clicked. It seems to say I've coded more blocks than I have, and when I hit "Previous Block", it skips some block #'s.

Hey Anne,
To select the category labels for any given clip you need to press one of the classification keys, which are shortcuts on the keyboard. There is a list on the readme:

General Keys

shift + a : load audio file

shift + c : load clan file

shift + enter : load random block

shift + \ : load previous block

cmd   + s : save classifications (Mac)

ctrl  + s : save classifications (Linux & Windows)

Classification Keys

c : CDS

a : ADS

n : Child Noises

m : Multiple Addressee

r : Register Switch

j : Junk

Clip Keys

up : previous clip

down: next clip

left          : previous clip

right         : next clip

space         : play clip

shift + space : play block

As well as a menu in the program itself under Help -> Show Shortcuts. When pressing the categorization keys, they will be assigned to whatever the current clip is. So for example, if you want to label a clip as being CDS, you would press "c", and if you want to label it as Child Noises, you would press "n". The goal was to make it so that switching between clips, playing, and categorizing them would be as fast as possible, hence the keyboard shortcuts.
Regarding pausing halfway through and loading a partially labeled output file, this is something that's on the list of todo's, and will probably be in the next version, maybe the version after that.
I'll reorganize the buttons how you described. Also, it may be more convenient to just use the shortcut keys if you're going to be labeling a large file.
Adding all the load audio/clan and clips directory information to the GUI is a good idea. I'll add that in the next version.
Regarding the numbering of the blocks, the "coded block #x" refers to the random sequence number. All the blocks start off in order, and then they're randomly shuffled. The coded block # refers to the index within that randomized series. If the "only load blocks with at least 1 FAN/MAN tier" option is checked you'll notice this number doesn't increase by 1 with each block load, since it might have to skip some. There's a bug I'm already aware of regarding loading previous blocks with this option checked. I'll try to have it resolved by the next version. The issue is keeping track of the order of loaded blocks when the "only load blocks..." option can be turned on/off at any point. It's only an issue because of the current way it keeps track of things.

Thanks, Andrei! I see it in the README now, I guess I skimmed the README or didn't think to read back to it. A quick fix to help other readme-skimming users in future might be to just add the shortcuts to the window, or add a note telling the user to go to the dropdown window to find the shortcuts for entering classification judgments. (We'll need to fine-tune what the classifications are of course, but I think we were waiting til after we'd all tested your program.)
So now on my second time testing I noticed that things worked for me for the first two blocks I did. Then it jumped ahead from coded block #2 to coded block #7 and the block wouldn't play for me.
Thanks for all the info. about what your future to dos are. Great!


Rename Role to RightSet or PermissionSet

Role in the library refers to a set of rights. An actual Functional Role implementation will in many cases require various right sets on different scopes.

Indeed an ACL role is a technical data which is part of the authorization triangle (Authorization = Role on a Scope for a Security Identity). So the role is limited by the scope and has not the same meaning than a functional role which is represented, as you said, by several data association. So the Role, within an ACL context, has a very limited meaning.  It could be for instance Reader (with rights: Read), Writer (with rights: Read + Write), Admin (with rights: Read + Write + Delete) etc. But it is a totally different purpose that a functional role like Business Unit Manager which has a role Admin on the scope of a business unit and a role Reader on a higher structure level for example.
On the whole, RightSet or PermissionSet could be a valid name but it does not sound like an ACL standard, does it ?


kubeseal: 0.18.1 -> 0.18.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/bitnami-labs/sealed-secrets/releases.
meta.description for kubeseal is: "A Kubernetes controller and tool for one-way encrypted Secrets"
meta.homepage for kubeseal is: "https://github.com/bitnami-labs/sealed-secrets"
meta.changelog for kubeseal is: ""
Updates performed

Golang 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
found 0.18.2 with grep in /nix/store/mcxqb0q6lw3xf7jv39hc69mccrg58s8m-kubeseal-0.18.2
found 0.18.2 in filename of file in /nix/store/mcxqb0q6lw3xf7jv39hc69mccrg58s8m-kubeseal-0.18.2

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
kubeseal

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/mcxqb0q6lw3xf7jv39hc69mccrg58s8m-kubeseal-0.18.2 \
  --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 kubeseal https://github.com/r-ryantm/nixpkgs/archive/b3d71ba9d0a5ebb60662cb789aa78bc713ef0b68.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/mcxqb0q6lw3xf7jv39hc69mccrg58s8m-kubeseal-0.18.2
ls -la /nix/store/mcxqb0q6lw3xf7jv39hc69mccrg58s8m-kubeseal-0.18.2/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:

kubeseal

Maintainer pings
cc @groodt for testing.

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

1 package built:

kubeseal


#65 Fix for adding redirect rules manually

it was impossible to add a rule with an empty "oldUrl" field.
Fixes #65

I have one question. By introducing this change we are potentially allowing to create a rule that will have neither newPattern nor contentId, am I right?


PLATML 5951 - Incorporate sandbox related logic into R sample

The changes LGTM, ready to approve once the SDK version is updated and testing is complete.


Correction for raw affiliation INRAE, G-EAU, Univ Montpellier, AgroParisTech, BRGM, CIRAD, IRD, INRAE, Institut Agro, Montpellier, France

Correction needed for raw affiliation INRAE, G-EAU, Univ Montpellier, AgroParisTech, BRGM, CIRAD, IRD, INRAE, Institut Agro, Montpellier, France
raw_affiliation_name: INRAE, G-EAU, Univ Montpellier, AgroParisTech, BRGM, CIRAD, IRD, INRAE, Institut Agro, Montpellier, France
new_rors: 05kpkpg04;02kbmgc12;051escj72;05q3vnk25;03rnk6m14;003vg9w96;020g0rw41
previous_rors: 05kpkpg04;02kbmgc12;051escj72;05q3vnk25;03rnk6m14;003vg9w96
works_examples: W4220902701
contact: 67bcb582d33302f7bb2cb08bea611aa0:10a3fd9dc32818cbe0a21266bec862df8a0f @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Support 3D input for MKL-DNN softmax operator

Description

to support 3D softmax layers in GluonNLP BERT (need #14783 for better performance)
fix in-place softmax
remove ctx.is_train check so the cpp test for softmax can work
enhance the checks in SupportMKLDNNSoftmax

Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

@pengzhao-intel @juliusshufan

@TaoLv thanks for the PR.
Is there a test for the 1D softmax and could you show the performance of MKL-DNN primitive against original implementation?

Tests should be covered by
https://github.com/apache/incubator-mxnet/blob/master/tests/python/unittest/test_operator.py#L4697
and
https://github.com/apache/incubator-mxnet/blob/master/tests/cpp/operator/mkldnn_operator_test.cc#L1288.
I used below code snippet for performance benchmarking:
def test_performance():
    shapes = [(1024,), (96, 512), (96, 128, 128), (96, 256, 256), (1, 8, 1024, 1024)]
    for sh in shapes:
        a = mx.nd.random.uniform(shape=sh)
        # warm up
        b = mx.nd.softmax(a, axis=-1)
        b.wait_to_read()

        tic = time.time()
        for i in range(1000):
            b = mx.nd.softmax(a, axis=-1)
            b.wait_to_read()

        toc = time.time()
        print("softmax %s, take %f ms" % (sh, (toc - tic)/1000*1000.0))

Some performance numbers as following:
mxnet==1.5.0b20190426
softmax (1024,), take 0.103340 ms
softmax (96, 512), take 0.127465 ms
softmax (96, 128, 128), take 1.655400 ms
softmax (96, 256, 256), take 6.369653 ms
softmax (1, 8, 1024, 1024), take 11.450656 ms

This PR with MKL-DNN backend:
softmax (1024,), take 0.062743 ms
softmax (96, 512), take 0.104104 ms
softmax (96, 128, 128), take 0.385350 ms
softmax (96, 256, 256), take 0.463220 ms
softmax (1, 8, 1024, 1024), take 1.704757 ms

Pending on MKL-DNN update for better performance~

Fallback all softmax operations when axis != last dimension because they are not optimized in MKL-DNN.

@TaoLv I have merged the MKL-DNN 0.19 and please rebase the code and see if everything is OK :)

@TaoLv please rebase and retrigger again the CI issue is fixed now.

Merging now :) Thanks for your contribution.


URI resolution cannot resolve URIs that are in the middle of strings.

Describe the bug
When using Hypertext, if one needs URI resolution, URI is not properly resolved.
To Reproduce
Steps to reproduce the behavior:

Create a new project
Connect to an azure storage account(or other storage buckets) name the container "foo", upload a picture in container "picture.jpg"
set your bucket credentials in your environment
Import following task
{"html": "\n\n\n\n\n", "preview": "azure-blob://foo/picture.jpg"}
set up the labeling interface Only for hyper text, If look at Task Source now, you would see URI resolution on Hypertext as \n</body + SAS(shared signature)

Expected behavior
The regular expression for URI should end in quotes or empty space. But the current regex seemingly does support that.
Environment (please complete the following information):

OS: [e.g. ]: N/A
Label Studio Version [e.g. 0.8.0]: 1.2.0

Additional context
Following Regex is most likely the cause of this mismatch: label-studio/label_studio/io_storages/utils.py
Try the function out with appended mix of "spaces", "new lines" and "quotes"

@realabja Try to use this one:
{"html": "\n\n\n\n\n", "preview": "azure-blob://foo/picture.jpg"}

@makseq  Thanks for responding, It would resolve the URI this way. but It would not allow me to control dimensions as  tag not inside a  container. I believe (the last regex)[https://github.com/heartexlabs/label-studio/commit/2057733885fd13fae9d26948bdf26930b15483a1#diff-a4aa4d932382564595676534ecd98f7b7abb41dd48ddcb6a7bccb74476320253R9] would work perfectly. could we have white space fixes  for s3 buckets separately?

@realabja
uri_regex = r"[\s\'\"]?(?P<uri>(?P<storage>{})://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?"

do you mean this by the last?

The first Mentioned regex:  r"[\s'"]?(?P(?P{})://([^/\s]+)/(.*?[^/\s]+/?[^\s'">]+))[\s'"]?"

@makseq , I have not heard back from you for a while could please give me an update? Is the requested change possible?

@realabja Sorry for delay, yes, of course the requested change is possible, but we haven't had time for it yet. If you could make a PR, it would be great.


Remove GA-ed DisableDNSProviderManagement feature gate

How to categorize this PR?

/kind cleanup
What this PR does / why we need it:
The DisableDNSProviderManagement feature gate is locked to default and no-op since v1.52. I believe we can clean it up now.
Which issue(s) this PR fixes:
Part of https://github.com/gardener/gardener/issues/5270
Release note:

The GA-ed `DisableDNSProviderManagement` feature gate is now removed.

/hold
until 1.59 is released
/cc @MartinWeindel

/unhold

Opened #6959 instead.


Update zio, zio-test to 2.1.12

About this PR
📦 Updates

dev.zio:zio
dev.zio:zio-test

from 2.1.8 to 2.1.12
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #162.


Fix paths to scripts in developer doc

Corrects the paths to check_style and run_tests that broke in 24e3f93.

@mboersma,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


add backup api; closes #865

@fichtner as I told you less than 10 lines of code (7)

easy as that indeed, it would be good to add some simple template with a download button (+menu registration) which triggers this, so people know where to look after installation.

Isnt this something for core :)

@mimugmail https://github.com/opnsense/core/issues/2731

@AdSchellevis I don't think we should duplicate core features as you already mentioned in the ticket before. This is just for automation.

I'd prefer this to be API-only, point to the docs in the description and maybe add an XML push as well for symmetry?

@fichtner the ticket said read-only API…
Push is IMHO not so easy (XML validation) and may have other issues (new machine ist not yet set up).

ok, fine. :)

@fichtner ack, using api-backup as endpoint name, better to remove the ui/* acl as well then.

@fichtner @AdSchellevis  api-backup would move it at the top of the list of available plugins and may lead to a group of api- plugins.
If you are talking about the namespace or endpont: they cannot contain dashes.

just the name, we do the same for "theme-"

ok, no problem

We could ultimately work on fireware GUI showing "theme-" and "api-" in different blocks if you worry about ordering :)

@fichtner wait for it when it is needed

@fichtner merge now?

yes 👍


Refit does not build in TeamCity

I have a Xamarin project in which I am making use of Refit.  Lovely library by the way!
The problem I seem to be having is that TeamCity can not find InterfaceStubGenerator.exe.  My log looks like so:
/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.5/Microsoft.Common.targets: error : Command '"../packages/refit.2.2.1/tools/InterfaceStubGenerator.exe" "/Library/TeamCity/buildAgent/work/f3ff4287feddfdb3/MyApp.Core/RefitStubs.cs" "<List of files in Project>"' exited with code: 127.

For brevity I replaced my full list of files with "List of flies in project" above.
I believe this has to do with the Pre-build event that is being set on my core project.  This compiles and works just fine in Visual Studio however I am getting that error when my TeamCity server attempts to build and run my unit tests on a Mac Mini.
I've confirmed that InterfaceStubGenerator.exe exists in /packages/refit2.2.1/tools/.
Any ideas?

We're using $(SolutionDir) in the targets file, I'm not sure how that is getting set incorrectly. You probably need to write a custom shell script that makes sure you're in the solution root when you invoke mdtool

I was able to solve this for the time being by doing this:
  <PropertyGroup>
    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
	"$(SolutionDir)packages\refit.2.2.1\tools\InterfaceStubGenerator.exe" "$(ProjectDir)RefitStubs.cs" "@(Compile)"
    </PreBuildEvent>
    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
	cd $(ProjectDir);mono --runtime=v4.0 "$(SolutionDir)packages\refit.2.2.1\tools\InterfaceStubGenerator.exe" "$(ProjectDir)RefitStubs.cs" "@(Compile)";cd $(SolutionDir)
    </PreBuildEvent>
  </PropertyGroup>

Not sure if it would be useful to pull that kind of thing into your library as the conditionals might need to be more verbose...

I think I can actually fix this a different way

That just might do it!

@paulcbetts Keep in mind that the binary location will be changing soon to a user-wide/machine cache. Don't assume that it'll be in SlnDir\Packages\blah for long.
The real location may be c:\users\foo\appdata\local\nuget\blah and brought into the csproj via a variable.

are there any updates to this yet? I ran into this today and it is a bit of a blocker for my project.

This seems to work as long as you don't pass it a project instead.. or at least that seems to be what is happening. If I use fake and try to package an android app using the csproj file instead I get this:
Command 'mono "/packages/refit.2.2.1/tools/InterfaceStubGenerator.exe"

I sorted this by changing the pre build event command line to:
if '$(BuildingInsideVisualStudio)' == 'false' "$(SolutionDir)\packages\refit.2.2.1\tools\InterfaceStubGenerator.exe" "$(ProjectDir)RefitStubs.cs" "@(Compile)"

Is there a proper fix for this yet? I have tried some on the "solutions" in here and I get the error code 255, meaning I hit the character limit.

Closing as 3.x should fix this. Please re-open if still an issue.


clang.cindex.LibclangError: libclang.so

I get the following error after installing llvm, clang, libclang-dev via package manager and installing the python bindings from the link in the readme (tar file, then python setup.py install):
clang.cindex.LibclangError: libclang.so: cannot open shared object file: No such file or directory. To provide a path to libclang use Config.set_library_path() or Config.set_library_file().
Which distro did you use?
Which packages did you install?
How did you install the python bindings?

So... here comes the embarrassing part. I don't actually know what I did to set it up correctly, at least I couldn't replicate my steps for the travis build (mac => linux).
However, not all is lost. I am almost finished working on a refactor that removes the need for any binary bindings or python libraries. It uses the natural clang output from the command line to build the AST. This should make it a lot less brittle (clang AST API is not stable and has changed many times) and not require any libraries in the middle.
Stay tuned, I will post a PR for those changes shortly. I won't close this issue until that PR has been merged in 😄

Hi @robertjwright, please try again with v0.2.1. You should be able to run the same commands as travis now: https://github.com/elliotchance/c2go/blob/master/.travis.yml#L13

I am closing this since c2go no longer relies on python clang libraries.


The folder will be created only when selecting the first option

The folder will be created only when selecting the first option
# ./vansor_forensic_collector.sh
Digite o nome para a pasta de evidências:
abc
=========================================
=     __      __ ____ ______ ______     =
=     \ \    / / ____|  ___|/ ____|     =
=      \ \  / / (___ | |__ | |          =
=       \ \/ / \___ \| |__|| |          =
=        \  /  ____) | |   | |____      =
=         \/  |_____/|_|    \_____|     =
=                                       =
=             Forensic Collector v1     =
=                                       =
=                                       =
=          Vansor @ 2023-2024           =
=========================================

Data e Hora Atual: Sun Sep  8 18:16:38 UTC 2024

Selecione a operação:

1. Coletar Informações Gerais
2. Coletar Informações de Rede
3. Coletar Data e Hora
4. Coletar Histórico de Comandos
5. Coletar Usuários Logados
6. Coletar Dump de Memória
7. Verificar Processos Suspeitos
8. Verificar Módulos do Kernel
9. Verificar Portas Abertas
10. Verificar Binários Modificados
11. Verificar Acessos Sudo Suspeitos
12. Verificar Arquivos Ocultos
13. Gerar Hashes
14. Compactar e Gerar Hash de Evidências
15. Finalizar

Digite o número da operação desejada: 2
Coletando informações de rede...
./vansor_forensic_collector.sh: line 59: ./abc/ifconfig.txt: No such file or directory
Tornando arquivos imutáveis...
chattr: No such file or directory while trying to stat ./abc/*.txt

Hello @euandros
I also added a new entry that will collect all the info, in a single shot.
Thank you!

Hello @waldirio
I made the changes directly in the code, but I didn't follow the PR, because the variable was open in the PR and it was still necessary to enter the name, so that the folder could be created.
However, I have applied all of your suggestions.
Thank you very much for that.

Hello @euandros
I'm not sure if you are familiar with the github process, basically, you can create an issue, work on that issue, merge the PR created by that issue, and in case there are more changes to be implemented, they will be part of a different issue, which would result in a different PR.
In that video I shared, you can see the whole process. This will guarantee that anyone willing to help you with your code, will be able to do so, with no issue, and that their PR will get merged as well.
I have no problems with that, but just to let you know, maybe, this could reduce the # of help that you can get on your projects.
All the best to you!
Ps.: Feel free to close this issue, once you added it already.


Create hello

Hi Alenhsu1120,
Do you plan to contribute something to the start kit code?
Best,
Zhe

Sorry, I made a mistake ><


Fix FORTIFY_SOURCE flag to OS.mac only and Support Realese build

Fixed if OS.mac issue and support Release build. and

Thanks. Cmakelist.txt should so this automatically... Why doesn't it?

Maybe Homebrew always automatically resets CMAKE_C_FLAGS_***=-DNDEBUG.
Caused by this?
==> Building Neovim.
==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/neovim/0.1.2 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DDEPS_PREFIX=../deps-build/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS_RELEASE='-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1' -DIconv_INCLUDE_DIRS:PATH=/usr/include -DIconv_LIBRARIES:PATH=/usr/lib/libiconv.dylib

NOTE:
clang began to display a warning from 10.10.4. Both of Homebrew and ninja build.
But I don't know the meaning of this warning. I hope this is useful for you.
In file included from /usr/include/errno.h:23:
/usr/include/sys/errno.h:235:9: warning: 'EILSEQ' macro redefined [-Wmacro-redefined]
#define EILSEQ          92              /* Illegal byte sequence */
        ^
/tmp/neovim20160406-84999-pc3hu9/neovim-0.1.2/src/nvim/iconv.h:38:12: note: previous definition is here
#   define EILSEQ 123
           ^
1 warning generated.

Oh, CI is failed :(
* `head block` (line 53) should be put before `option` (line 5)

Not related this pull request, but I'm fixed.

@justinmk Sorry, ping

@zchee Thanks for fixing the build too!


private registry functionality is broken when credentials are required

Description
Yesterday with a customer we stumbled upon this problem which very likely is a bug. We configured a windows/linux cluster and started off with an unauthenticated private registry. Now when we wanted to migrate to the authenticated one to reach the compliance level of their company, it can pull with the pullsecrets provided the main image. But it fails to pull  the system images.
Error details
FailedCreatePodSandBox Failed to create pod sandbox: rpc error: code = Unknown desc = failed pulling image "artefact-repo.de:5001/rancher/pause:3.1": Error response from daemon: Get https://artefact-repo.de:5001/v2/rancher/pause/manifests/3.1: no basic auth credentials FailedCreatePodSandBox Failed to create pod sandbox: rpc error: code = Unknown desc = failed pulling image "artefact-repo.de:5001/rancher/pause:3.1": Error response from daemon: Get https://artefact-repo:5001/v2/rancher/pause/manifests/3.1: no basic auth credentials

As you can see it complains about the pause container. It can indeed not deploy a single container and is ignoring the authentication (via rancher cluster settings (rke)) completely for some reason as the error states no credentials provided...
We tried a few different accounts to make sure there is no problem with special characters in the username, but whatever we set, it will fail to utilize this credentials and use them properly for pulling the system images.
Environment
OS: Linux (CentOS)
Rancher: v2.3.6
K8s: v17.x

Hi @wzrdtales, could you provide the exact steps allowing us to reproduce the issue? Thanks!

it turned out back then, that there is a problem with special characters in the name of the user "~" in this case. But only from the private registry option side, not everywhere else

no one looked at it again that there is problem with special chars in the username


feat: enable pre-emptive async oauth token refreshes

The current implementation of oauth refresh offloads the IO to a separate executor, however when a token expires, all calls to getRequestMetadata would hang until the token is refreshed.
This PR  tries to improve the situation by adding a stale state to token. If a token is within a minute of expiration, the first request to notice this, will spawn a refresh on the executor and immediately return with the existing token. This avoids hourly latency spikes for grpc.
The implementation uses guava's ListenableFutures to manage the async refresh state. Although the apis are marked BetaApi in guava 19, they are GA in guava 30

The class introduces 3 distinct states:

Expired -  the token is not usable
Stale - the token is useable, but its time to refresh
Fresh - token can be used without any extra effort

All of the funtionality of getRequestMetadata has been extracted to asyncFetch. The new function will check if the token is unfresh and schedule a refresh using the executor
asyncFetch uses ListenableFutures to wrap state: if the token is not expired, an immediate future is returned. If the token is expired the future of the refresh task is returned
A helper refreshAsync 	& finishRefreshAsync are also introduced. They schedule the actual refresh and propagate the side effects
To handle blocking invocation: the async functionality is re-used but a DirectExecutor is used. All ExecutionErrors are unwrapped. In most cases the stack trace will be preserved because of the DirectExecutor. However if the async & sync methods are interleaved, it's possible that a sync call will await an async refresh task. In this case the callers stacktrace will not be present.
Special care is taken to make sure that the lock is released when the token is being refreshed

Hey @igorbernstein2 ! Thx a lot for the PR, from my side everything looks good. Looking forward to testing this in the next bigtable client release :)

I created cl/373364841, I had to hand edit a couple of irrelevant files:

added missing RunWith on unrelated tests
added missing deps in BUILD

I requested a global tap presubmit
Also, I updated the codestyle suggestions from critique


bug mac os x python -  not found.

We need to update the clang code-gen tool to add necessary mac os x compiler headers.

fixed with ad413fdb9daeb0ffab2d6f0093201f9e18af8c48


readme error

@Abiji-2020 You have placed solution in Python Column for todays problem

This issue is resolved


Zoom for tensor view

Is your feature request related to a problem? Please describe.
I'd like to inspect some values in a tensor, however, the tensor view doesn't allow zooming and also has no detail popup on hover (see #4307) like the image view does.
Describe the solution you'd like
Support zoom in the tensor view and add a detail popup similar to the image view to be able to inspect the actual value in the tensor.
Related issues

#1630
#1510
#4307

Seconding this - it would be an extremely useful feature @Wumpf
Pretty much same dialog as for images/depth/videos that would work in tensor view and allow to inspect the actual numerical values.


REQUEST: API to fetch all orders

I don't know if this is already on your agenda @cpacia, apologies if it is, but we could surely use an API to retrieve all of the orders a node has received. I suggested GET /ob/orders, with limit and offset accepted as parameters.
As for the response, each order in the array may contain (and this is totally open for discussion):

Buyer GUID
Order ID
State of the order
Funded (true/false)

It's a todo, but it will probably be broken up by purchases, sales, and cases.

No problem.


Build a learning resources page

Build an html page in the docs directory to provide links to helpful learning resources in an organized manner.
add a link to the index.html page in the docs directory leading to the new learning resources page.

Hi @motosharpley I can take a crack at this...

Hey thanks @tanyagupta that would be great.


feat(runtime): avoid system exit and make health check service optional

What this PR changes/adds
Makes runtime error finish with an exception.
Make HealthCheckService optional
Why it does that
Explained in #4060
Further notes

made the BaseRuntimeFixture simpler by removing custom logic and dealing with mocking of ServiceLocator

Linked Issue(s)
Closes #4060
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

Codecov Report
Attention: Patch coverage is 90.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 74.06%. Comparing base (7f20ba5) to head (7fd940c).
Report is 177 commits behind head on main.

Files
Patch %
Lines

...g/eclipse/edc/boot/system/runtime/BaseRuntime.java
90.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4061      +/-   ##
==========================================
+ Coverage   71.74%   74.06%   +2.32%
==========================================
  Files         919      989      +70
  Lines       18457    20088    +1631
  Branches     1037     1122      +85
==========================================
+ Hits        13242    14879    +1637
+ Misses       4756     4730      -26
- Partials      459      479      +20

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


Reproduce MOSEI dataset result in MockingJay paper

Hello, thanks for the good code.
I'm wondering how does the sentiment classification task in MockingJay paper
is implemented.
In the mosei downstream, the default config use 2 class and perform
utterance-wise classification. In  Mockingjay paper, classification is done by a rnn classifier,
so it perform frame-wise classification? how about the class number, it's 2 or 7?

Hi,
In the Mockingjay paper, we use RNN and take only the final hidden state for the utterance-wise classification, and use the class number of 2.


shutdown: fix system test failure in error.log sanity check

With this change tests should finish with sane logging for the current test workload,
which means all pending requests and NgxBaseFetch instances are handled.
We might also want to add more tests for the shutdown and reload where:

very slow to respond pages are proxied.
very long running chunky html pages are proxies
with pages that reference very slow resources to stress the shutdown of the fetchers

This change also has some minor cleanup

LGTM


Generating SW without having to write it to a file

Library Affected:
workbox-build/generateSW
Browser & Platform:
NodeJS
Issue or Feature Request Description:
Please be able to receive the code of the generated Service Worker directly in runtime, without having to write it to a file.
import {generateSW} from 'workbox-build'

devServer.onRequest('sw.js', () => {

  const code = await generateSW(...)
  return code

})

This is very useful when working with a dev server such as Vite or Snowpack.

Could you clarify what the actual benefit would be? Are you hoping that this would lead to better performance, or developer ergonomics, or something else?
You should note that using a service worker with precaching tends not to work well with development environments, especially "live-reload" ones, as serving previously precached assets with a cache-first strategy defeats the purpose of live-reload. My general recommendation is to not enable service workers at all during day-to-day web app development, and only turn them on when you are specifically working on the caching functionality or are deploying to a staging environment.
Also, you can approximate your workflow right now by writing to a temporary file, along the lines of:
// See https://github.com/sindresorhus/tempy
import tempy from 'tempy';
import {generateSW} from 'workbox-build'
import {readFileSync} from 'fs';

devServer.onRequest('sw.js', () => {
  const swDest = tempy.file({extension: 'js'});
  const code = await generateSW({
    swDest,
    // other options,
  });
  return readFileSync(swDest, {encoding: 'utf8'});
})

turn them on when you are specifically working on the caching functionality

Actually, this is one of the usage scenarios.
In my last project (this is an electron program) no precaching is used. The ServiceWorker work exclusively with runtime caching of requests to API and media streams.
Debugging this causes some pain, and all existing solutions what I know are "production-only". Like you, no one recommends using caching in a developer environment, but in some cases it is necessary.
I would like to write a simple plugin for a workbox that will generate an ServiceWorker in development runtime.

If you're only using runtime caching, there's no need to use generateSW.
All of the config options in generateSW map directly to calls to the underlying Workbox runtime modules. If you're unsure about any mapping, you could take a look at sw-template.ts and runtime-caching-converter.ts.
For instance, if you're passing the following in:
generateSW({
  runtimeCaching: [{
    urlPattern: /api/,
    handler: 'NetworkFirst',
    options: {
      cacheName: 'api-cache',
    },
  }, {
    urlPattern: ({request}) => request.mode ===  'navigate',
    handler: 'StaleWhileRevalidate',
  }],
  // ...other options...
});

then you could get the equivalent functionality with a hand-coded service worker:
import {registerRoute} from 'workbox-routing';
import {NetworkFirst, StaleWhileRevalidate} from 'workbox-strategies';

registerRoute(
  /api/,
  new NetworkFirst({cacheName: 'api-cache'})
);

registerRoute(
  ({request}) => request.mode = 'navigate',
  new StaleWhileRevalidate({cacheName: 'api-cache'})
);

If having to bundle that code prior to using it (which is something that generateSW would handle for you) is a stopper for you, then using the CDN copy of the pre-bundled Workbox runtime via workbox-sw is another alternative.


chore(ci): remove unnecessary actions

Description

No need to create .npmrc file because the setup-node action does it.
refer to:
https://github.com/actions/setup-node/blob/5c355be17065acf11598c7a9bb47112fbcf2bbdc/src/authutil.ts#L16
https://docs.github.com/en/github-ae@latest/actions/publishing-packages/publishing-nodejs-packages
Additional context

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[x] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Ideally, include relevant tests that fail without this PR but pass with it.

We copied this from another project and then modified the action. Good catch.
I'll merge this in a few days.


feat: @someone command as slash command

nvm all the comments I wrote :), it's "ephemeral" instead of "ephermal"

Oh whoops, sorry about that!


use cgroup driver "systemd" by default

What is the problem you're trying to solve
Using kubeadm 1.24.4 and containerd 1.6.8 I had a hard time setting up a k8s cluster "the hard way" via kubeadm, even though it was just one node. Apparently kubeadm v1.22+ uses the systemd cgroup driver by default. containerd 1.6.8 does not. There was no indication why k8s failed to start (AFAICS).
Describe the solution you'd like
I would suggest to use the systemd cgroup driver by default, as applicable.
Additional context
Debian sid, amd64, cgroupv2 only, iptables-nft
https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver/#configuring-the-kubelet-cgroup-driver

You can follow https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver/#configuring-the-kubelet-cgroup-driver to config cgroup driver of kubelet with kubeadm.
The behavior of kubeadm is not changed since https://github.com/kubernetes/kubernetes/pull/99471, see the release note.

Changing the default is a breaking change and isn't going to happen in containerd 1.7, but we can revisit this in containerd 2.0.

Added this to the "2.0" milestone, but this doesn't mean this change is planned for 2.0. Just means that this change won't happen until 2.0.

Somewhat relevant;

https://lists.freedesktop.org/archives/systemd-devel/2022-July/048115.html
https://github.com/systemd/systemd/pull/24086

@AkihiroSuda, I understand your concerns. Doing the switch for 2.0 would be perfect.

+1 on making this change by default in future for 2.0

/cc @haircommander
As he proposed an automatic cgroup driver mathcing between kubelet and CRI design in SIG-Node weekly meeting.

/assign

@AkihiroSuda What suggestions do you have for using systemd as the cgroup driver by default?
Since kubeadm v1.22+ uses the systemd cgroup driver by default, I think it can be set to default from containerd2.0.

The cgroup driver is now auto-detected

https://github.com/containerd/containerd/pull/8722


Use Datastore VM Path if scan_via_host is true

Use the datastore vm path if regardless of whether or
not scan_via_host is true.  Previously if it was
true then the host path was used, and only if it
was false (and the scan was via the vCenter host)
was the datastore path used.
@roliveri @Fryguy @chessbyte please review.

Is this related to a Bugzilla issue?  Why are we making this code change?  Did the VMware API change?

I don't understand where scan_via_host fits into this...it's not in the code anywhere?  Also, yeah, does this have a corresponding BZ?

@Fryguy if scan_via_host is true then @ost.miqVim.isVirtualCenter? on line 84 will be false (we're scanning via ESX, not vCenter).
@Fryguy and @chessbyte this was a  fix for https://bugzilla.redhat.com/show_bug.cgi?id=1148985 proposed by VMware Engineering, but it turned out they were incorrect about it fixing the issue. However, while it didn't fix the issue detailed in that BZ, it did work in the non-error case. After discussing with @roliveri we decided that it still made sense to implement this since we would be using the same path to the vmdk regardless of whether scan_via_host was true or false (whether we were fleecing via ESX or vCenter).

Should this code then have that BZ number in the commit message for tracking?

Oh I misunderstood your message...it still doesn't really fix the issue in that BZ....nvm :)


Scroll being called while swiping

Describe the bug
When I'm swiping an item the scroll event may be fired which means is it not disabled while swiping. We have combined recycle list view and row swipe like @tomasmozeris did in the issue 513#.
To Reproduce
We have our list :
      <RecyclerListView
        layoutProvider={this._layoutProvider}
        dataProvider={this.state.dataProvider}
        rowRenderer={this._rowRenderer}
        extendedState={{
          selectionMode: this.props.selectionMode
        }}
        directionalLockEnabled={true}
      />

And each swipeable row rendered :
  _rowRenderer(type, data, index) {
    return (
      <SwipeRow style={{ flex: 1, backgroundColor: "red" }}
        leftOpenValue={hiddenButtonWidth * 3}
        rightOpenValue={-hiddenButtonWidth}
        stopLeftSwipe={hiddenButtonWidth * 3}
        stopRightSwipe={-hiddenButtonWidth}
        swipeToClosePercent={15}
        swipeToOpenPercent={20}
        disableLeftSwipe={this.props.selectionMode}
        disableRightSwipe={this.props.selectionMode}
        friction={100}
        tension={100}
        recalculateHiddenLayout={true}
        directionalDistanceChangeThreshold={5}
        swipeGestureBegan={(value) => {
          this.currentOpenRowRef = React.createRef();
          if (this.state.currentOpenRowIndex != null && this.state.currentOpenRowIndex != index) {
            this.rowsRef[this.state.currentOpenRowIndex].closeRow();
          }
          this.setState({currentOpenRowIndex: index})
        }}
        onRowClose={(value) => {
          index == this.state.currentOpenRowIndex ? this.setState({ currentOpenRowIndex: null}) : this.setState({ currentOpenRowIndex: index }) ;
        }}
        ref={(elm) => {
          this.rowsRef[index] = elm;
        }}
      >
        {this._renderHiddenItem(data, index)}
        {this._renderItem(data, index)}
      </SwipeRow>
    );
  }

Screenshots
https://user-images.githubusercontent.com/26652057/105335437-5447fe80-5bd8-11eb-839e-8e26c4163625.mp4
Do I have to open an issue aswell in the RecycleList repo ? Is there any way to detect the scroll distance vertically and to prevent the user to scroll unless a certain distance is reached ?
Environment :

OS: Android 10
RNSLV Version: [3.2.5]
RN Version: [0.63.3]

I have tested with https://www.npmjs.com/package/react-native-swipeable-row and the scroll is locked when I am swiping the rows.

I have tested with https://www.npmjs.com/package/react-native-swipeable-row and the scroll is locked when I am swiping the rows.

Hey @ingerable SwipeRow has a prob called setScrollEnabled, you can pass a function that takes a bool to enable or disable scroll on the parent list view
This is done by default for you when you use both the SwipeListView and the SwipeRow but since in this case the package has no access to the parent ListView, you have to pass the prop yourself.
Give it a try and LMK how it works for you!

Hey @ingerable SwipeRow has a prob called setScrollEnabled, you can pass a function that takes a bool to enable or disable scroll on the parent list view
This is done by default for you when you use both the SwipeListView and the SwipeRow but since in this case the package has no access to the parent ListView, you have to pass the prop yourself.
Give it a try and LMK how it works for you!

Yes it is working thanks !
For SwipeRow component:
       setScrollEnabled={(enable) => {           this.setState({enableScroll: enable})         }}
To add on RecycleListView (or any flatlist):
scrollEnabled={this.state.enableScroll}

Yes it is working thanks !
For SwipeRow component:
       setScrollEnabled={(enable) => {           this.setState({enableScroll: enable})         }}
To add on RecycleListView (or any flatlist):
scrollEnabled={this.state.enableScroll}


2FA authentication question

Hello! Just a question: is there any way to add/enable any 2FA for login?

There is nothing bild into cockpit directly yet. Here are some official plugins https://discourse.getcockpit.com/t/list-of-cockpit-addons/234 among them Auth0 I belive you could build 2FA with them. I wouldn't recommend giving controll of authentication to a service provider though.

@stephanoshadjipetrou have you seen this plugin https://github.com/agentejo/2FA?

@laphilipa thanks! how could I use this in cockpit?

Just clone the git repo in the addons direcotry of your cockpit installation. Cockpit will then detect it automatically. In your account settings on the bottom you get a QR code for the 2FA app.

thanks @laphilipa! cloned the repo in addons dir as you said, but when navigating to my account page get a 500 error

Are you using the official docker image or are you deploying some other way? Is there an error message with more information? Usually cockpit displays the error on the same site it happened if not try checking the apache/ngix logs.

Nope. Following the "Traditional Installation" from here. Also not much on the error returned, just the document.title renders "Internal Server Error". But ye, will check the nginx logs to see if can find anything related. Thanks once again :)

I tested it and it worked for me. I wrote instructions that you find here: https://github.com/agentejo/2FA/pull/1/files

@patrickuhlmann nice! yes that's handy :)
but still not working for me. followed the instructions and this what see in /accounts/account page

checked in console, nginx access & error logs, php logs and couldn't find something related to this.

@stephanoshadjipetrou any update on this?


pm: going to PM_STATE_SOFT_OFF in pm_policy_next_state causes assert in some cases

Describe the bug
Using the PM, it is possible to suspend devices. This can be done in two ways:

use the pm_device_action_run on a device
automatically when entering a system-wide soft-off by returning this as next state in pm_policy_next_state

A lot of drivers implement a pm callback for setting the underlying IC in different power states. (2) is running the pm callback from the idle thread. The problem is that a lot of these drivers (for example vcnl4040) assume that this is not done from the idle thread. From the idle thread, things like k_sem_take, k_msleep and so on can't be used because an assert in sched.c checks if the current thread is the idle thread.
https://github.com/zephyrproject-rtos/zephyr/blob/e8f93a915def87b9c7e1bce3323bec996d7863da/kernel/sched.c#L186
Now, there are workarounds that can resolve this, like done here https://github.com/zephyrproject-rtos/zephyr/issues/41944 but not being able to use thread objects when powering down is a huge pain. Want to use i2c? Forget it.
In my project, I call a self-developed callback to manually put the devices into SUSPEND mode before I signal to pm_policy_next_state to enter SOFT_OFF so it's done in a thread-context. But there has to be a better way to do this on a kernel level. Maybe launch a task with co-op priority which suspends all devices?
Or am I missing something?
To Reproduce
Steps to reproduce the behavior:

Build sample for vcnl4040
implement pm_policy_next_state and return PM_STATE_SOFT_OFF from it
see assert

Expected behavior
The kernel can be used as usual when suspending devices, when entering system-wide SOFT_OFF
Impact
There are workarounds, as mentioned, but there has to be a better way to do this
Environment (please complete the following information):

OS: Ubuntu 21.04
Zephyr SDK
Zephyr v3.0.0

@carlescufi we are building for a custom board we have made with the vcnl4040 mounted on (using the stm32h743, but I don't think that matters). But to verify, if anybody has has the adafruit feather board, that one has the vcnl4040 on it.
Thanks!

FYI, https://github.com/zephyrproject-rtos/zephyr/pull/43724 proposes a new API to detect wether you are allowed to block or not on the pm_action callback.

FYI, #43724 proposes a new API to detect wether you are allowed to block or not on the pm_action callback.

It allows you to detect that condition, but doesn't fix the underlying problem.
IMO the best option is to use device runtime PM for any devices that need to block in transitions, and be explicit in your application code about when they need to powered.

FYI, #43724 proposes a new API to detect wether you are allowed to block or not on the pm_action callback.

It allows you to detect that condition, but doesn't fix the underlying problem. IMO the best option is to use device runtime PM for any devices that need to block in transitions, and be explicit in your application code about when they need to powered.

Agreed

In my opinion this is a fairly wide topic that would benefit from as much input as possible from experienced contributors.
My take on this is that the PM action callback when entering system-wide soft-off has to run in a task with highest priority. A work would be the best. I know the system queue is usually at a cooperative priority, and the inherent use case as such is to schedule work which is not blocking for a long time, so it should be available. How about running this work there? If some pm action callback cancels work on the system workq it's not started yet so it will not deadlock.

Actually it runs with the lowest priority, basically it only runs if there is nothing else to be executed. What happens if you have a separated workq suspending devices and have another task running  that require a particular device that was suspended ?


Add option to provide extra codecs

Add options to provide extra codecs to the tracer. This allows extending
or overriding the tracer's codec during initialization.

Coverage decreased (-0.3%) to 93.952% when pulling 2870b0328f022af1b0d446e7e25dc710cdc6f641 on philipgian:overrideextracodecs into 1c928abb1f2ed740e53602ca833926ddf3ef0998 on uber:master.

Can you add a unit test for the new option?

Awesome, thanks.


Label for daily load only for compact card on v5.3.0

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
the label for Daily load is not working for the full card version
Steps To Reproduce
No response
Expected behaviour
editable label for Daily load on all card types
Card Version
5.3.0
Home Assistant Version
2024.10.4
Configuration
No response
Relevant log output
No response

Thank You very much for the prompt support.


Reject on timeout, throw on timeout and on abort

Landed in https://github.com/metarhia/metautil/commit/fed9dc4a109436ecc4ea0e2aab18067a33b93445


Some conversations stall for an excessive amount of time

Don't see any server side errors. Is this a long OpenAI delay? They eventually unblock. We should make sure a timeout is being enforced.

I get similar issue.

[CONVEX ?(engine:tick)] [DEBUG] 'Didn't tick: all agents thinking'


Expects and promises

Hi 👋
I recently found this gem https://github.com/adomokos/light-service and one thing I liked was the fact that you can specify what's expected from the context and what will be set on the context.
class LooksUpTaxPercentageAction
  extend LightService::Action
  expects :order
  promises :tax_percentage

I've been doing delegate calls to mimic the expects functionality, I have nothing for the promises.
Is that something you would welcome a PR for?

I think this would be a worthwhile addition. I've just added comments at the top of the class about what's required input and what is expected output. Defining it might clean up some of the boilerplate code I create like this:
    if context.location.blank? || context.calibration.blank?
      Rails.logger.info 'AddCalibrationLocation [ SKIPPED - MISSING INFO ]'
      return false
    end

Hey, take a look at Hanami::Interactor - it's simpler than collectiveidea's interactor (no Organizaer, callbacks, rollback) but thanks to its API you can clearly see the input and the output :)

You could also try this out: https://github.com/michaelherold/interactor-contracts
It takes what light-service does, and quite a bit further.


Check sounds

some sounds that aren't in the resourcepack:

[ ] upward travelling bubbles when something is in it

I haven't done much looking around for sounds, I just noticed this one

Unless we're actually changing the game's sounds, we shouldn't have any in the pack. Default sounds are all distributed and updated separately from the base game.

I know, I just wanted to have a list of things that we might want to add.
Also, after doing some investigation, what I thought was from the resourcepack was vanilla. so nevermind


I don't have an account and password, so I can directly use iqn lun to connect and configure Storage class

I don't have an account and password, so I can directly use iqn lun to connect and configure Storage class

This project is no longer maintained. I invite you to check seagate-exos-x-csi


feat: validators stake sepETH to join the validator set

To prevent sybil abuse, validators on Testnet need to stake sepETH to join the validator set.

L1 rollup contract must reference sepETH
Decide on optimal sepETH minimum staking requirement. 0.5 sepETH seems acceptable

Closing this because we have decided to implement a custom ERC20 for validator set sybil, instead of sepETH.


Heimdall for Mac build is outdated

Heimdall for Mac build is outdated and a lot of users are blocked. I built myself a version from the main branch in github. It's stable I used it just a few hours ago to flash my phone.
If you want, you can add them to the download website.
Heimdall.zip

Hi aviallon,
Thanks for the build. however I still have a problem running it. The  app is not launching. I get this message:
Dyld Error Message:
Library not loaded: /opt/local/libexec/qt5/lib/QtWidgets.framework/Versions/5/QtWidgets
Referenced from: /Users/USER/Downloads/*/heimdall-frontend.app/Contents/MacOS/heimdall-frontend
Reason: image not found
Do you have an idea what's the problem?

There's already a more recent Mac build available in these Github issues. It's built by myself and properly signed (including the kext). Please use the search feature.


docs: release notes for the v12.2.13 release

Cherry-picks the changelog from the "12.2.x" branch to the next branch (master).

Skipped CI since this is just a changelog update.


Why are the full models, and not just adapters, pushed to hub?

I'm wondering why not just push the adapter model alone? That would seem sufficient?

Hi @RonanKMcGovern thanks for you interest of our work. LoftQ changes the backbone for better LoRA fine-tuning.
Specifically, LoftQ optimizes the following objective:
$$\underset{Q, A, B}{\mathrm{min}} ||W - Q - AB^{\top}||_{\mathrm{F}}^2.$$
$W$ is the high-precision weight, $Q$ is the quantized weight (it doesn't necessarily have to be quantized directly from $W$), and $A,B$ are the adapters. We solve the above optimization in an alternating way, so $Q$ is not $q(W)$ any more. That's why we need to upload a new backbone. And since bitsandbytes (the quantization backend we use) doesn't support to upload quantized weight, we have to upload the quantization equivalent high-precision weight to Huggingface. Users need to download it and quantize it before starting to use.

Thanks, makes sense.


Remove Individual member assigning for environments.

Remove Individual member assigning for environments.
Use Group / Parent Group for organising Roles.
Use Roles attached to Groups for Permissions.
E.g.
{Parent Group} -> {Group} -> {Role}
MPIGOVT -> Instance Manager -> IM_ACCESS
MPIGOVT -> Backup Instance Manager -> BIM_ACCESS
Assign Group to Environment Permissions.
E.g.
CanDeploy -> MPIGOVT-Instance Manager, MPIGOVT-Backup Instance Manager
When addin a new user, only need to add them to the corresponding group within the parent.
(does not need to be added to parent).
E.g.
{Member} -> {Group}
John Doe -> MPIGOVT-Instance Manager

I am unsure whether this is a good change.
For smaller users of deploynaut, being able to assign single users is a good thing. This is also used internally at SilverStripe Bespoke.
Changing the UI, making it hidden if you choose to hide it, I'm okay with, but otherwise I think this is a bad change.
Also, tests are failing!


[UX] Account DropDown switch should stay on same page

When for example switching account when accessed the market page ... i'll redirected to account overview page .. from UX point of view this is a bit disadvantageous IMO

I agree this should be a simple switch, not take you to the account page as well. @valzav ?


Fix build

Codecov Report

Merging #5 (e5deb9f) into develop (063fc18) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head e5deb9f differs from pull request most recent head 2bfabc5. Consider uploading reports for the commit 2bfabc5 to get more accurate results

@@            Coverage Diff             @@
##             develop       #5   +/-   ##
==========================================
  Coverage      74.32%   74.32%
  Complexity       173      173
==========================================
  Files             27       27
  Lines            409      409
  Branches          43       43
==========================================
  Hits             304      304
  Misses            65       65
  Partials          40       40

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 063fc18...2bfabc5. Read the comment docs.


align the page section on right correctly #298

What does this PR do?
The section consisting of light mode toggle, signup/register, instructions etc. has been aligned correctly to the right side of web page so that the website looks more responsive.
Also the color of text music Volume is white now which makes its visibility better.

Fixes #298

before:

after:

Type of change

Bug fix (non-breaking change which fixes an issue)

How should this be tested?

[X] Test A
[X] Test B

Mandatory Tasks

[X] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

@YadavAkhileshh Please merge this.


feat(consensus): change the channel type for Peering to SingleHeightConsensus messages

This is because SHC is dropped after each height, and async_channel allows cloning the Receiver.
So the manager can hold a Receiver and clone a new one to pass to SHC for each height.

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2069  👈
#2064
#2059
#2058
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @matan-starkware and the rest of your teammates on  Graphite


[bug 1205370] Add smoketest for qunit tests

I lifted this code from Kitsune and modified it slightly so it works in the Fjord smoketest system.
Quick r?

/me looks

I set up the smoke tests and ran them. This test ran, and it passed. This approach worked fine on Sumo for a while, so this all looks good.
r+

Thank you!


Fonts and sizes for Info don't stick

General troubleshooting tips
Before logging an issue please check that:

[x] You have the latest version installed (There may be a beta version that fixes your issue), see here for the latest releases and bug fixes: https://github.com/JohnCoates/Aerial/releases
[x] Your issue isn't already mentioned in our issues. You may find a workaround there or a similar request already made.
[ ] Your problem isn't mentioned in the troubleshooting section.

If none of this fixes your issue, tell us about the problem you are experiencing or the feature you'd like to request.
Required information
In order to help us sort your issue, we ask that you provide the following information:

[x] Mac model:
[x] macOS version:
[x] Monitor setup:

If appropriate, please enable Debug mode and Log to disk in Advanced tab and replicate your bug, then attach the AerialLog.txt file (You can access this file through the Advanced tab).
Description of issue / Feature request
{{Replace this}}

2019 MacBook Pro 10.15.4 Single monitor.
The Fonts stick for location and battery, but not the sizes. Neither font nor size changes seem to work on the clock.

2019 MacBook Pro 10.15.4 Single monitor.
The Fonts stick for location and battery, but not the sizes. Neither font nor size changes seem to work on the clock.

Hi @tomwolsky
Oops, I'll have a look today. I did rush the release of 1.7.0 a bit with the arrival of the new videos, so I didn't put as much testing as I liked. I'll get back to you, sorry about the bug in any case !

Hi again, so, I did double check and this seems to work here. Please tell me, after you change the font/size, do you try to immediately launch the screensaver without pressing the "Done" button ? It's a bit weird, but some settings only gets saved when you press that button. All settings (clock, battery, location) work with size and font changes here, as long as I press the "Done" button.
This is probably your issue, and I probably should save settings more often than that, so please let me know if this is it.

Thanks Guillaume. I think I was just trying the hot corner without closing out the options pane.

Technically speaking, when you launch a hot corner, you are launching a separate instance of Aerial that will reload preferences, that's why you experienced that issue.
It's still very not user friendly, I'll have a look at making sure that every change gets saved instantly (instead of waiting for macOS's API to periodically to it on its own), this should be a good improvement.
Thanks for the report !

@tomwolsky it was a really quick fix, I've added it last minute to 1.7.1 here : https://github.com/JohnCoates/Aerial/releases/download/v1.7.1/Aerial.saver.zip
You will now see the settings reflected immediately on hot corner launches, which is a whole lot better ! Take care.


Prompt

Could i use the API but add a new prompt? Or is that not possible.

Hey @RazvanMihaiPopa, happy to allow for custom prompting.
We can make that an optional field to override the default prompt. I'll take a look at that sometime this week.

@RazvanMihaiPopa I have raised a PR https://github.com/getomni-ai/zerox/pull/21 which is not merged yet but you can go ahead and test it, you can pass custom system prompt to override zerox's default system prompt.
Install python package: pip install git+https://github.com/pradhyumna85/zerox.git@multi-provider-support-pysdk
Follow this readme example: here


"API token is invalid" on production

Hi,
I am working on a web platform using Nuxt 3 and Notion as my backend through this SDK. Everything is working great on localhost:3000 but when I deploy my website to Vercel, I have this error message :
WARN @notionhq/client warn: request fail { code: 'unauthorized', message: 'API token is invalid.' }
It is really strange because I have the same NOTION_API_KEY (as localhost) inside my .env...
Here is my package.json :
{
  "private": true,
  "scripts": {
    "build": "nuxt build",
    "dev": "nuxt dev",
    "generate": "nuxt generate",
    "preview": "nuxt preview"
  },
  "devDependencies": {
    "@nuxtjs/supabase": "^0.1.16",
    "@nuxtjs/tailwindcss": "^5.1.2",
    "@tailwindcss/forms": "^0.5.2",
    "@tailwindcss/typography": "^0.5.2",
    "nuxt": "3.0.0-rc.4",
    "sass": "^1.53.0",
    "sass-loader": "^10.3.0"
  },
  "dependencies": {
    "@fortawesome/fontawesome-svg-core": "^6.1.1",
    "@fortawesome/free-brands-svg-icons": "^6.1.1",
    "@fortawesome/free-regular-svg-icons": "^6.1.1",
    "@fortawesome/free-solid-svg-icons": "^6.1.1",
    "@fortawesome/vue-fontawesome": "^3.0.1",
    "@headlessui/vue": "^1.6.4",
    "@heroicons/vue": "^1.0.6",
    "@notionhq/client": "^2.2.1",
    "highlight.js": "^11.6.0",
    "vue-gtag-next": "^1.14.0"
  }
}

Screenshots

Have you ever encountered this scenario?
Thanks for your clarifications !
Thibaud

I had to

@Athios-dev what was the issue?


fix(deps): update terraform-module

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/base-ocp-vpc/ibm (source)
module
patch
3.10.1 -> 3.10.2

terraform-ibm-modules/observability-agents/ibm (source)
module
patch
1.12.1 -> 1.12.2

Release Notes

terraform-ibm-modules/terraform-ibm-base-ocp-vpc (terraform-ibm-modules/base-ocp-vpc/ibm)
v3.10.2
Compare Source
Bug Fixes

deps: update terraform terraform-ibm-modules/cos/ibm to v7.0.5 (#293) (6914e78)

terraform-ibm-modules/terraform-ibm-observability-agents (terraform-ibm-modules/observability-agents/ibm)
v1.12.2
Compare Source
Bug Fixes

deps: update icr.io/ext/logdna-agent docker tag to v3.8.9-20231113.3d09f4dc47c1f590 (#229) (0df1ceb)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

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


cmd + , does not work for opening settings view on macOS on lastest vscode insiders

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: Version: 1.72.0-insider (Universal) Commit: c4722f1bb292284e0437eb7547808a5788fe6430
OS Version: macOS 12.5.1（21G83）

Steps to Reproduce:

Use latest VSCode Insiders
Press cmd + ,

Added macos label because it seems to work fine on Windows.

@rzhao271 my screenshot was from a Windows instance of Insiders.

It might be caused by that commit, but I'm still unable to repro the issue on Windows 10 or macOS Big Sur.

When I downloaded the latest Insiders to the Download folder and ran it, this did not reproduce.
It may happen when updating a global install, but I have not been able to verify this yet.


how to configure static files path?

images are located under "C:\Program Files\JetBrains\PyCharm 2021.3.3\jbr\bin\static"
I am using PyCharm and I don't know why it use this path as default. I copied all the folders to the static folder under this project then it works.
How can I set the static file path?

I am not really sure. I develop this in VSCode on Mac so I am not sure how to change it. But I will possibly modify the path ion the project.

Currently made a new change that could possibly solve your problem

Thank you! It works.


Extension

Hello,
I'm getting an error while pressing F5 i.e. error AL1022: A package with publisher 'Microsoft', name 'System', and a version compatible with '<IP_ADDRESS>' could not be found in the package cache folder 'e:\Nav Extension Example\New Folder.alpackages'
Error: The package could not be created.
My app.json file is:
{
"id": "e2c4c4be-87eb-46ea-af54-55ca01e861e2",
"name": "New Extension",
"publisher": "stanuj",
"brief": "",
"description": "",
"version": "<IP_ADDRESS>",
"compatibilityId": "<IP_ADDRESS>",
"privacyStatement": "",
"EULA": "",
"help": "",
"url": "",
"logo": "",
"capabilities": [],
"dependencies": [],
"screenshots": [],
"platform": "<IP_ADDRESS>",
"application": {
"version": "<IP_ADDRESS>",
"locale": "W1"
},
"idRange": {
"from": 50100,
"to": 50149
}
}
My launch.json file is:
{
"version": "0.2.0",
"configurations": [
	{
		"type": "al",
		"request": "launch",
		"name": "stanuj",
		"server": "http://localhost:7046/DynamicsNAV100",
		"serverInstance": "DynamicsNAV100",
		"tenant": "default",
		"authentication": "Windows",
		"startupObjectId": 22
	}
]

}
Please help me to sort out this problem.
Thanks in advance.

What happens if you choose "AL: Download symbols" from the Command Palette?
What version of the server are running? The latest version contains symbols with version <IP_ADDRESS>.

I got no errors while downloading reference symbols.
I'm also using latest version with <IP_ADDRESS>, to remove error I only changed it to <IP_ADDRESS>
Please look below image:

What is the content of
'e:\Nav Extension Example\New Folder.alpackages'

contents in this folder are:

It looks like we are constructing a path without the last backslash. Can you retry in a folder structure that doesn't contain spaces?

Hi StanislawStempin,
It contains last backslash like e:\Nav Extension Example\New Folder.alpackages,
while pasting error, unfortunately , it was deleted.

How did you create the environment? Did you use aka.ms/navdeveloperpreview?

Yes, i used aka.ms/navdeveloperpreview.


GFLOPs and Throughput

Hi,
Thanks sharing this awesome work,
can you elaborate more on how you measure the GFLOPs and Throughput reported in the experiments ?
Thanks,

Hi, thanks for your interest in our work. We measure the FLOPs by manually writing down the complexity of each type of layer and summing them up using a simple script. The throughput is measured on a single 3090 GPU with batch size fixed to 32.

I thinks the flops can be calculate using the fvcore. Just add model.eval() before you invoke the FlopCountAnalysis function.


Source Controller shows unexpected files

Does this issue occur when all extensions are disabled?: Yes
VS Code Version: 1.63.2
OS Version: Windows 10
I'm trying to hide or delete this list of unexpected files, it comes from my personal files (C:/Users/ME/)

I know it's a clone from the #141885 but it closed for inactivity, so a recreate it
Thanks a lot for your help !

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.67.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

@lszomoru Last time you said that:

I don't really understand, could you explain please ???

@AZERTY442005, apologies for not getting back to you on this until now. Based on the shared screenshots it seems to me that there is a git repository in the "C:\Users\enoal" folder and that is what is discovered by VS Code. Have you ever run git init in the "C:\Users\enoal" folder? Do you expected to have a git repository in the "C:\Users\enoal" folder?
Could you please check whether there is a "C:\Users\enoal.git" folder present?
If so, could you please close VS Code and move the ".git" repository out of the "C:\Users\enoal" folder?

Yes I confirm what you said, there was a Repository in this folder.
I currently solved this myself
I just forgot to specify a Repository folder, so VSCode used this one