Feature: Allow to lock a chat room

Allow user to lock a chat room - which will essentially block any other user to join the chat by clicking on the link.

If a room is locked, the user will have to enter a PIN (that was generated while link generation).

To-Dos:

[ ] Need to add a flag to the links i.e. locked: <true|false> default is false.
[ ] Any active user can lock/unlock the room, issue a "one-time" secret token to the user while locking the room.
[ ] Every 'lock/unlock' will generate a new PIN.
[ ] If a room is locked, every request needs a secret token to authenticate itself.

Why:
It adds an additional security layer and allows the user to share the chat link securely/safely as PIN will be required to join the chat. Once the room is locked, it makes sure that no one else can join the chat without the PIN.

Can I take this? or assign this to me please

Thanks, @muke1908. working on it


Update information in README

Noticed this needed a quick update to bring it in line with current links and avoid breakage. :)
(I'll leave it to you to update the LICENSE file as appropriate if necessary.)

Thanks! For some reason GitHub didn't notice when I merged this manually.


Unhandled exception. System.ObjectDisposedException: Safe handle has been closed.

Hello.
On windows 10 pro, runned with administrator privileges:
C:\distrib\clonezilla-util.v1.5.3.win-x64>clonezilla-util.exe mount --input d:\2022-06-24-12-img --mount z:\
[15:39:50 INF] clonezilla-util v1.5.3
[15:39:53 INF] [2022-06-24-12-img] [sda1] Finding optimal decompressor (seekable/sequential)
[15:39:53 INF] [2022-06-24-12-img] [sda1] Loading partition information
[15:39:56 INF] [2022-06-24-12-img] [sda2] Finding optimal decompressor (seekable/sequential)
[15:40:23 INF] [2022-06-24-12-img] [sda2] Loading partition information
[15:40:25 INF] [2022-06-24-12-img] [sda5] Finding optimal decompressor (seekable/sequential)
[15:40:35 INF] [2022-06-24-12-img] [sda5] Loading partition information
[15:40:36 INF] Waiting for z:\ to be available.

Endless waiting...

After install dokan driver:
C:\distrib\clonezilla-util.v1.5.3.win-x64>clonezilla-util.exe mount --input d:\2022-06-24-12-img --mount z:\
[16:05:06 INF] clonezilla-util v1.5.3
[16:05:06 INF] [2022-06-24-12-img] [sda1] Finding optimal decompressor (seekable/sequential)
[16:05:07 INF] [2022-06-24-12-img] [sda1] Loading partition information
[16:05:07 INF] [2022-06-24-12-img] [sda2] Finding optimal decompressor (seekable/sequential)
[16:05:18 INF] [2022-06-24-12-img] [sda2] Loading partition information
[16:05:19 INF] [2022-06-24-12-img] [sda5] Finding optimal decompressor (seekable/sequential)
[16:05:29 INF] [2022-06-24-12-img] [sda5] Loading partition information
[16:05:30 INF] Waiting for z:\ to be available.
[16:05:31 INF] [2022-06-24-12-img] [sda1] Retrieving a list of files.
Unhandled exception. System.ObjectDisposedException: Safe handle has been closed.
Object name: 'SafeHandle'.
   at System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean& )
   at System.StubHelpers.StubHelpers.SafeHandleAddRef(SafeHandle , Boolean& )
   at Interop.Kernel32.SetEvent(SafeWaitHandle )
   at System.Threading.EventWaitHandle.Set()
   at libCommon.ProcessUtility.<>c__DisplayClass0_0.<RunCommand>b__1(Object sender, DataReceivedEventArgs e)
   at System.Diagnostics.Process.ErrorReadNotifyUser(String )
   at System.Diagnostics.AsyncStreamReader.FlushMessageQueue(Boolean )
--- End of stack trace from previous location ---
   at System.Diagnostics.AsyncStreamReader.<>c.<FlushMessageQueue>b__18_0(Object )
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()

Hi zen,
Just confirming - did you install version <IP_ADDRESS>0 of Dokan? Available here?
If so, could you please post the content of clonezilla-img.
Thanks!
Fidel

Hi zen,
Have you tried using this version of the dokan driver?
https://github.com/dokan-dev/dokany/releases/tag/v<IP_ADDRESS>0
Thanks,
Fidel

Yes, that's the version I used. Just started the mount process on another machine, also Windows 10. I'll let you know the results.

[14:01:16 INF] Indexed 295 GB / 295,1 GB (100%)
[14:01:17 INF] Indexed 295,1 GB / 295,1 GB (100%)
[14:01:17 INF] Indexed 295,1 GB / 295,1 GB (100%)
[14:01:17 INF] Indexed 295,1 GB / 295,1 GB (100%)
ERROR: Compressed data error in STDIN.

[14:01:17 INF] Finished generating gzip index. Moving to final location: D:\Distrib\clonezilla-util\clonezilla-util.v1.5.4.win-x64\cache\c41e42060d6ab5c5\sda5.gztool_index.gzi
[14:01:33 INF] [2022-06-24-12-img] [sda5] Loading partition information
[14:01:40 INF] [2022-06-24-12-img] [sda5] Reading partclone content map
[14:01:48 INF] Waiting for g:\ to be available.
[14:01:48 INF] [2022-06-24-12-img] [sda1] Retrieving a list of files.
Unhandled exception. System.ObjectDisposedException: Safe handle has been closed.
Object name: 'SafeHandle'.
   at System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean& )
   at System.StubHelpers.StubHelpers.SafeHandleAddRef(SafeHandle , Boolean& )
   at Interop.Kernel32.SetEvent(SafeWaitHandle )
   at System.Threading.EventWaitHandle.Set()
   at libCommon.ProcessUtility.<>c__DisplayClass0_0.<RunCommand>b__1(Object sender, DataReceivedEventArgs e)
   at System.Diagnostics.Process.ErrorReadNotifyUser(String )
   at System.Diagnostics.AsyncStreamReader.FlushMessageQueue(Boolean )
--- End of stack trace from previous location ---
   at System.Diagnostics.AsyncStreamReader.<>c.<FlushMessageQueue>b__18_0(Object )
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()
[14:01:49 INF] [2022-06-24-12-img] [sda1] 7z.exe will be used to extract files from this partition.
[14:01:49 INF] [2022-06-24-12-img] [sda2] Retrieving a list of files.

D:\Distrib\clonezilla-util\clonezilla-util.v1.5.4.win-x64>

Thanks zen, looking into it now

Hi zen,
I've just uploaded clonezilla-util v1.5.5, which ignores the 'Safe handle has closed' exception. Could you please let me know if it improves things for you?
Thanks,
Fidel


Self-referential type annotation crashes Dart 2 when run through the test runner

The error
The following code:
class Table<T extends Table<T>> {}

void main() {
  var map = new Map<Table, String>();
}

when run in Dart 2 mode on the VM, only through the test runner, results in this error:
00:01 +0 -1: loading a.dart [E]
  Failed to load "a.dart":
  'file:///tmp/a-package/a.dart': malbounded type: type parameter 'T' of class 'Table' must extend bound 'Table<T>', but type argument 'Table<dynamic>' is
not a subtype of 'Table<Table<dynamic>>' where
    Table is from file:///tmp/a-package/a.dart
    Table is from file:///tmp/a-package/a.dart
    Table is from file:///tmp/a-package/a.dart
  'file:///tmp/a-package/a.dart': malbounded type: type 'Table<Table<dynamic>>' has an out of bound type argument
  type '_InternalLinkedHashMap<Table<Table<dynamic>>, String>' is not a subtype of type 'LinkedHashMap<Table<Table<dynamic>>, String>' of 'function result' where
    _InternalLinkedHashMap is from dart:collection
    Table is from file:///tmp/a-package/a.dart
    Table is from file:///tmp/a-package/a.dart
    String is from dart:core
    LinkedHashMap is from dart:collection
    Table is from file:///tmp/a-package/a.dart
    Table is from file:///tmp/a-package/a.dart
    String is from dart:core

  dart:core       new Map
  a.dart 6:17     main
  ===== asynchronous gap ===========================
  package:test    serializeSuite
  data:... 0:391  main

00:01 +0 -1: Some tests failed.

Reproduction steps
This was very tricky to reproduce, which... maybe will help in identifying the issue? OK steps to reproduce:

Use Dart 2.0.0-dev.52.0, maybe latest too.

Make a package that depends on the test package, and the latest analyzer package. Here's my pubspec:
name: apackage
version: 0.0.1
environment:
  sdk: '>=2.0.0-dev.16.0 <2.0.0'

dependencies:
  test: '^0.12.0'
dependency_overrides:
  analyzer: '0.31.2-alpha.2'

The test package is needed because this problem is not reproducible with dart --preview-dart-2 a.dart. The analyzer override is needed for strong mode fixes in front_end 0.1.0-alpha.12.

Write out a.dart like so:
class Table<T extends Table<T>> {}

void main() {
  var map = new Map<Table, String>();
}

Execute the code through the test package's runner:
dart \
    --preview-dart-2 \
    --packages=`pwd`/.packages /usr/local/google/home/srawlins/.pub-cache/hosted/pub.dartlang.org/test-0.12.37/bin/test.dart \
    a.dart

I got the path to the test packages runner by looking in .packages.

Twists
Now for some twists:

This bug does not reproduce when running dart a.dart.
This bug does not reproduce when running dart --preview-dart-2 a.dart.
This bug does not reproduce in DDC.

CC @natebosch @grouma who might know why the test runner plays a part. Isolates?
CC @leafpetersen @keertip working on Dart 2
CC @joshua-i who brought this to our attention

The most likely reason for package:test playing a role is the way it uses Isolates.

CC @a-siva

@a-siva - tentatively assigning to VM per suggestion this is an isolate issue.

I've tried reproducing this without the test package runner, to no avail. I've tried Isolate.spawn and Isolate.spawnUri, but I'm guessing something like... packageRoot or... automaticPackageResolution comes into play...

@jensjoha discovered the reason: it is because checked: true enables "legacy" checked mode inside a spawned isolate, which conflicts with strong mode.
Reproduction
import 'dart:io';
import 'dart:isolate';

class Table<T extends Table<T>> {}

main(List<String> args) async {

  if (args.isEmpty) {
    await spawnAndListen();
  } else {
    var map = new Map<Table, String>();
  }
}

void spawnAndListen() async {
  Isolate isolate =
      await Isolate.spawnUri(Platform.script, ["spawned!"], "", checked: true);
  RawReceivePort port;
  void handler(message) {
    if (message != null) {
      print(message[0]);
    }
    port.close();
  }

  port = new RawReceivePort(handler);
  isolate.addErrorListener(port.sendPort);
  isolate.addOnExitListener(port.sendPort);
}

Duplicate of #33120

Excellent, thanks @mraleph and @jensjoha !

Good catch, I will change spawnURI to not turn on checked mode when running in dart2 mode.


Invalid formula: ../mod_suexec.rb - "formulae require at least a URL"

I was installing a fresh copy of Linuxbrew and attempted to brew install php71 when I get this error::
[~]$ brew install php71
==> Installing php71 from homebrew/php
==> Tapping homebrew/apache
Cloning into '/home/chap/.linuxbrew/Library/Taps/homebrew/homebrew-apache'...
remote: Counting objects: 16, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 16 (delta 7), reused 3 (delta 0), pack-reused 0
Unpacking objects: 100% (16/16), done.
Checking connectivity... done.
Error: Invalid formula: /home/chap/.linuxbrew/Library/Taps/homebrew/homebrew-apache/mod_suexec.rb
formulae require at least a URL
Error: Cannot tap homebrew/apache: invalid syntax in tap!

I also tried to install just the suspect ruby file and get this as well:
[~]$ brew install https://raw.githubusercontent.com/Homebrew/homebrew-apache/master/mod_suexec.rb
######################################################################## 100.0%
Error: formulae require at least a URL
Please report this bug:
  https://github.com/Linuxbrew/brew/blob/master/docs/Troubleshooting.md#troubleshooting
/home/chap/.linuxbrew/Library/Homebrew/formula.rb:235:in `determine_active_spec'
/home/chap/.linuxbrew/Library/Homebrew/formula.rb:189:in `initialize'
/home/chap/.linuxbrew/Library/Homebrew/formulary.rb:84:in `new'
/home/chap/.linuxbrew/Library/Homebrew/formulary.rb:84:in `get_formula'
/home/chap/.linuxbrew/Library/Homebrew/formulary.rb:255:in `factory'
/home/chap/.linuxbrew/Library/Homebrew/extend/ARGV.rb:43:in `block in formulae'
/home/chap/.linuxbrew/Library/Homebrew/extend/ARGV.rb:41:in `map'
/home/chap/.linuxbrew/Library/Homebrew/extend/ARGV.rb:41:in `formulae'
/home/chap/.linuxbrew/Library/Homebrew/cmd/install.rb:104:in `install'
/home/chap/.linuxbrew/Library/Homebrew/brew.rb:94:in `<main>'

Here's my brew config if you want that:
[~]$ brew config
HOMEBREW_VERSION: 1.1.8
ORIGIN: https://github.com/Linuxbrew/brew
HEAD: d6371b24895cb4eca83ecedf5f1dbf12743a89a2
Last commit: 9 days ago
Core tap ORIGIN: https://github.com/Linuxbrew/homebrew-core
Core tap HEAD: 7d8f4f3925b2f80ae932547b5552e996cd8d7455
Core tap last commit: 52 minutes ago
HOMEBREW_PREFIX: /home/chap/.linuxbrew
HOMEBREW_REPOSITORY: /home/chap/.linuxbrew
HOMEBREW_CELLAR: /home/chap/.linuxbrew/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://linuxbrew.bintray.com
CPU: dual-core 64-bit sandybridge
Homebrew Ruby: 2.3.1 => /usr/bin/ruby2.3
Clang: N/A
Git: 2.9.3 => /usr/bin/git
Perl: /usr/bin/perl
Python: /usr/bin/python => /usr/bin/python2.7
Ruby: /usr/bin/ruby => /usr/bin/ruby2.3
Java: N/A
Kernel: Linux 4.8.0-22-generic x86_64 GNU/Linux
OS: Ubuntu 16.10
Codename: yakkety
OS glibc: 2.24
OS gcc: 6.2.0
Linuxbrew glibc: N/A
Linuxbrew gcc: 5.3.0
Linuxbrew xorg: N/A

I'm assuming that this wont install properly because of Linuxbrew, or being on Linux vs a Mac?
Please advise, Thank you.

Same here. Trying to install PHP 5.4 (don't ask). I assume that's because mod_suexec.rb provides only URLs for different versions of macOS and none for Linux?

anybody solved this yet

i just started using yaourt since I'm on Arch, I would agree with @burknator that what it's wanting is something that Mac has that linux doesnt.

If anyone else runs into this, the ruby formula has a check at the top for what version of MacOS is being used to choose the Apache build to grab.  I just added an else with the el capitan version:

else
url "https://archive.apache.org/dist/httpd/httpd-2.4.16.tar.bz2"
sha256 "ac660b47aaa7887779a6430404dcb40c0b04f90ea69e7bd49a40552e9ff13743"
end

and then installed the formula manually.

@pgerzani can you please explain it step by step?? Thank you

@vincentendrahadi
cd /usr/local/Homebrew/Library/Taps/homebrew
git clone https://github.com/Homebrew/homebrew-apache.git
open cloned homebrew-apache folder and implement fix.

Thanks @pgerzani

Thanks @gynekolog

@gynekolog  Thanks!I am macOS High Sierra,and It worked for me.

it's work for me @gynekolog

This tap is now deprecated, sorry.


zfSnap -d command is not working

just installed zfSnap on my freebsd machine but can't get it to delete old snapshots using zfSnap -d
I can still delete them using the -D option but not sure how to get it to only delete snapshots that have gone past their TTL. please help
I'm running zfSnap v1.11.1 on a FreeBSD 12.1 virtual machine

I think you installed the "zfsnap" package.  That's the old one.  This repository corresponds to the "zfsnap2" package.

Tested and works (
zfSnap v1.11.1 by Aldis Berjoza

root@fzfs:~ # zfs list -r -t snapshot share
NAME                                      USED  AVAIL     REFER  MOUNTPOINT
share/projects@2023                         0B      -      140K  -
<EMAIL_ADDRESS>   0B      -      140K  -
root@fzfs:~ # zfSnap -d
root@fzfs:~ # zfs snapshot -r<EMAIL_ADDRESS>root@fzfs:~ # zfSnap share/projects
root@fzfs:~ # zfs list -r -t snapshot share
NAME                                      USED  AVAIL     REFER  MOUNTPOINT
share/projects@2023                         0B      -      140K  -
<EMAIL_ADDRESS>   0B      -      140K  -
<EMAIL_ADDRESS>    0B      -      140K  -
<EMAIL_ADDRESS>    0B      -      140K  -
root@fzfs:~ # zfSnap -d
root@fzfs:~ # zfs list -r -t snapshot share
NAME                                      USED  AVAIL     REFER  MOUNTPOINT
share/projects@2023                         0B      -      140K  -
<EMAIL_ADDRESS>   0B      -      140K  -
<EMAIL_ADDRESS>    0B      -      140K  -


App can’t be opened

I get this error when opening the app: Auto Clicker can’t be opened because Apple cannot check it for malicious software.

Hey! 👋
So this is as I don't have a paid developer account with Apple, I cannot sign the software with them so they can tell macOS everything is fine.
If you follow the steps in the Download section of the README, its very easy to get the app manually approved: https://github.com/othyn/macos-auto-clicker#floppy_disk-download

When first using the app, you will need to right click the app and click 'Open' from within Finder, then on the macOS popup window select 'Open' again to trust this version of the app going forward. This is as at the moment I don't have a paid Apple developer account in order to notarize the app.

That should solve your issue! 😄

Thank you for the clarification. It’s a shame Apple makes developers pay to make their app usable.

Thank you for the clarification. It’s a shame Apple makes developers pay to make their app usable.

It is indeed! One day I'll get one and notarise the app, then all will be well.
Thanks for using the app, enjoy! 😄


Annotate host public API with @ObjCName.

Resolves: https://github.com/cashapp/redwood/issues/520

@JakeWharton Ah yep, we need to add exact = true to get the behaviour we're after.
After using this annotation I feel like it's a good candidate for a compiler flag (or compiler plugin) to automate the naming.


Add eslint-plugin-nuxt to default config

#https://github.com/nuxt/eslint-plugin-nuxt/issues/110

Related issue: nuxt/eslint-plugin-nuxt#110

I would think that @nuxtjs/eslint-module could be the single point of dependency, automatically including:
"@nuxtjs/eslint-config": "^3.0.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.2.0",
"eslint-plugin-nuxt": "^1.0.0",
Then, you'd just have a single dependency in a create-nuxt-app. So instead of:
"devDependencies": {
    "@nuxtjs/eslint-config": "^3.0.0",
    "@nuxtjs/eslint-module": "^2.0.0",
    "babel-eslint": "^10.1.0",
    "eslint": "^7.2.0",
    "eslint-plugin-nuxt": "^1.0.0",
  }

You'd just have:
"devDependencies": {
    "@nuxtjs/eslint-module": "^2.0.0",
  }

or whichever package is the most encompassing as "Nuxt recommended defaults"?

eslint-plugin-nuxt's rules are mostly for Nuxt 2 and most of them are no longer useful in Nuxt 3. We had the new @nuxt/eslint-plugin introduced in #332, which is included in the new eslint-config. Consider this is resolved.


How we can contribute ?

Hey there @lefuturiste!
In addition to looking through open issues and offering help, the biggest area we need help with right now is improving the docs.
Thanks for your interest in Tailwind! 😍

This should be in the tailwindcss/discuss repo instead 🙂
tailwindcss/discuss#7 has the same question 🙂


Gitea does not accept user emails hosted at ip addresses instead of domain names.

1.14.6:
Git version: irrelevant
Operating system: OpenSUSE, 15.3, but should be irrelevant
Database (use [x]): irrelevant

[x] PostgreSQL

Can you reproduce the bug at https://try.gitea.io:

[x] Yes (provide example URL)
[ ] No

Log gist:
No log up to this point.

Description
Gitea does not accept user emails hosted at ip addresses instead of domain names.
I have a small office, and we do not run a DNS server. We exchange emails by mailing each other to<EMAIL_ADDRESS>I would like to receive notifications from Gitea at least until we can hire a system administrator.
However, Gitea does not allow registering new users with such emails, and if registered with a fake one, does not allow adding such an email address.
...

I'm fairly certain that setting up a local DNS is much less effort than making this work with gitea.
Alternatively you could make a custom build of gitea, and change the email adress validator

related: #16695
maybe the email validator needs an overhaul anyway..

For what it is worth:
https://changelog.com/posts/theres-only-one-way-to-validate-an-email-address


Explicitly opening file in non-binary mode to make it compatible with…

… Python3

Interesting. LGTM


Increase minimum PHP version to 5.6

Several vendor library requirements are now >=5.5.9 or ^5.5.9 and 5.5 is
unsupported by the core PHP team anyways.
Fixes #1398

Here is the state of PHP 5 usage overall. I can pull up internal numbers as well and send them to you personally.
https://w3techs.com/technologies/details/pl-php/5/all

Please do, that would be great, thank you.
On Tue, Mar 27, 2018 at 12:57 PM Brent Shaffer<EMAIL_ADDRESS>wrote:

Here is the state of PHP 5 usage overall. I can pull up internal numbers
as well and send them to you personally.
https://w3techs.com/technologies/details/pl-php/5/all
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/google-api-php-client/pull/1405#issuecomment-376654478,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFAP25PS0jVxKzA13QEtyCgzmAKV_vNuks5tipmygaJpZM4S9Wsf
.


[request] Display Thumbnail

It would be nice to display thumbnails with something like w3mimgdisplay or something else

I think it is not possible to display an image in terminal. We can use ascii image to show but that will not look clear and precise.

@brijsiyag It is possible to display an image in terminal with something like w3mimgdisplay, programs like ranger already implemented it.

Thank you for sharing this information @Commandcracker , but do all type of terminals support this ?

Not every terminal supports it but the most popular ones have it.
Small list of supported terminals:
Linux: xterm
Mac: iTerm2
Windows: kitty with WSL2 (here is a guide to install it) and Windows Terminal is working on it.

Displaying the image in terminal based applications is against their phylosophy.
Let's keep it simple @Commandcracker

How about using the visualization popup for this? Just add a visualization plugin that displays the thumbnail/album art.

Why does musikcube store album thumbnails if it's not going to use them?


parameter number mismatch in native lua

Related to #3
When removing the istable function, I am prompted with
table: 0x55a3aaa48770
lua: tt.lua.lua:35: attempt to index a nil value (local 'yes')
stack traceback:
	tt.lua.lua:35: in field 'greetPerson'
	tt.lua.lua:63: in main chunk
	[C]: in ?

when looking at line 35 :
greetPerson = function(self, yes)

and the call (63) :
print(t.greetPerson("test"))

As seen in the definition the function takes two parameters and putting anything as a first parameter fixes the output.
print(t.greetPerson(0, "test"))

table: 0x559080175770
yes : test

The cause is probably that it works in gmod as a lot of gmod functions have a self argument as first parameter.

I took a look at what you shared, and I think I can help you out. It seems like you're using the wrong operator to access your function.
In Lua, you can call a function using the colon syntax: t:greetPerson(player). The neat thing about the colon operator is that it automatically passes the object behind the : indexer, (in this case, t) as the first argument for you.
However, it looks like you're using the dot operator instead. You should switch to the colon operator. For example, if your function is defined as t.greetPerson = function(self, player) end, you would access it as t:greetPerson(player) (Which is the exact same as doing t.greetPerson(t, player)).
More documentation on OOP in LUA
From what you've described, it seems like the issue doesn't lie with the repository itself, but rather with how you're accessing the function. Give the colon operator a shot and let me know if the problem persists. If you need any further assistance, feel free to reopen the issue!

I am sorry for my poor knowledge, thank you for your explenation.


Should WebSocketConnection be an asynchronous iterator?

The connection object could be an iterator that yields incoming messages, i.e. as an alternative to calling get_message().
# simple WebSocket echo
async with open_websocket(…) as websocket:
    async for message in websocket:
        await websocket.send(message)

Thoughts?

Note: Aaugustin's Websockets has async iterable connection objects: https://websockets.readthedocs.io/en/stable/api.html#module-websockets.protocol

On Python ≥ 3.6, WebSocketCommonProtocol instances support asynchronous iteration:
async for message in websocket:
   await process(message)

The iterator yields incoming messages. It exits normally when the connection is closed with the status >code 1000 (OK) or 1001 (going away). It raises a ConnectionClosed exception when the connection is >closed with any other status code.

Raising only on connection error sounds good

Yes I think it's nice idea, websockets impl is here, very simple ?
https://github.com/aaugustin/websockets/blob/13eff12bb4c995b50154fdc250281c92ddccaca0/src/websockets/legacy/protocol.py#L469
Also it seems aaugustin is moving his implementation to have a sans-io base, just for FYI

Oh cool, I like aaugustin’s library, nice to hear that it is adopting sans io. This library here is not maintained anymore (I’ve changed jobs twice since I wrote it) so it would be great to have an async library with an active maintainer.


[Progress Bar] "reset" and "complete" doesn't work correctly

http://jsfiddle.net/2yw95z8u/2/
As example, call "increment/decrement" after "reset/complete" doesn't work correctly.
"Reset" and "complete" only set the percent of progress bar, but do not set the value of it.

Although in some cases it would make sense to save progress, this doesnt seem to be one of those cases.

https://github.com/Semantic-Org/Semantic-UI/blob/master/src/definitions/modules/progress.js#L90
Because it only sets percent to 0.

Sorry for the delay.


Need downloading files progress in console

While trying downloading jdk and mysql I feel like choco has freezed, but I then realized this may be because of huge download file sizes. Is there any way I can see each files download progresses, perhaps with some flags or something?

@ahmedmohiduet in both the Command Window and PowerShell Window you will get a download progress indication, as shown here:

These will disappear once the file download happens.  Anything after that is just the installation time.
Does that help?
Gary

@ahmedmohiduet in both the Command Window and PowerShell Window you will get a download progress indication, as shown here:

These will disappear once the file download happens.  Anything after that is just the installation time.
Does that help?
Gary

In my case a new blank window appeared everytime  on top of these windows before they freeze

In my case a new blank window appeared everytime  on top of these windows before they freeze

@ahmedmohiduet can you indicate the exact command you used and what shell you are using?
Also please add -debug and post back the output from that as well. I'm looking for Posh version/chocolatey version/operating system version.

@ahmedmohiduet can you indicate the exact command you used and what shell you are using?
Also please add -debug and post back the output from that as well. I'm looking for Posh version/chocolatey version/operating system version.

Hi ferventcoder! Sorry for my delay. I have actually tried it in my office pc today. But couldn't reproduce the issue. I will let know as soon as I am able to reproduce the issue again. :+1:

Can't see any download progressbar on Windows Server 10 Tech Preview 2.

@ararog you should probably look at https://github.com/chocolatey/choco and particularly https://github.com/chocolatey/choco/issues/56


I get route.exe parameter incorrect

Hi,
I'm on win10 and using the command in the same way as in the readme. In the place of ssh_server I just place my ip address of the remote host and get connected message but beforehand I get:
root@DESKTOP:/mnt/c/Windows/system32# wsshuttle -r <IP_ADDRESS> -x <IP_ADDRESS>/8 0/0
The route addition failed: The parameter is incorrect.
This makes me think this project was developed on win11 ? Was it tried with lower version of route.exe or why is that problem?
Thanks

The project is currently being developed on win11, but there is no particular change from when it was developed on win10
Run wsshuttle -r <IP_ADDRESS> -x <IP_ADDRESS>/8 0/0 --dry and please show me log.


Button variation for a split button

As discussed with @mcarrano, the Integreatly project has a need for a split button which is a button first and then a variation on top of that. This varies from the bulk selector as that component is primarily a drop-down style first. This request is for a button which has a default primary action, similar to all the other buttons it appears with in a data list. There is an alternate action for this variation though that has at least one secondary action.
We are hoping to be able to use this by the end of Oct to coincide with some changes to our home page.
Here's an example in context for our Open console button use case: https://marvelapp.com/cf986ih/screen/61486145

Thanks for filing this @tiffanynolan .  Please consider for prioritization @rachael-phillips @LHinson . I had a bit of prior discussion to @mcoker about this and there are a couple of ways we could approach it. Most likely we would create a new variant of the existing Split Button to support the needed behavior.

:tada: This issue has been resolved in version 2.41.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Noises.html : Improving on Riki's idea.

assets update : I synchronized the audio file with the trunk. The path changes : Riki's idea was assets/audio, but in the current update it's assets/aud/fbk/noises/. I used the second model because if you ever somehow want to add other's noises or something else, you can use assets/aud/{vtuber}/{type-of-voice}/.
Javascript update :

Riki's idea was putting the audio element in the same level as the button, which leads to a certain problem : The audio element interfering with the button's styling because it's either the first or the last element. I changed it to appendChild(".sound-button") and found there's no adverse effect - and it clears up styling errors too~
document.querySelector('.sound-buttons');

CSS update :

Adding noises section : sound-container-col, sound-container-row, sound-button. Adding flex-direction because bootstrap somehow align-items does not work without it.. Sound-button is a square. Sizes in px are documented inside the css.
Sync with the main trunk's css changes.

Index.html update : Sync with trunk.
Foob.html update : Sync with trunk.

Thank you for your hard work @bempfoobq052021 @steelmaker86!
Please check #6

Closing this in favor of #6


Added basic websocket client

This is a basic implementation of a websocket client that will allow communication via wifi.

How's this going?

Closing this pull request for now, if you get some more progress on it feel free to re-open :)


Accurate worker count

Is there any way to get accurate worker count?
I have a simple implementation but it is basicly a rewrite of Arc and uses lots of unsafe code (maybe incorrect).
If you are interested in the impl, I would open a PR to discuss it.

see #5

Close since poll use Pin<&mut Self>, it will not be called concurrently with workers, so the strong count is accurate.
BTW: If your are interested, there is a remove_atomic_waker branch created 2 years ago, it has unsafe code, and needs some undocumented details in Arc to prove the correctness.   see : https://zhuanlan.zhihu.com/p/463779910

Here is my idea. This commit replaces Arc with a slightly different design.
https://github.com/Nugine/waitgroup-rs/commit/22428cb3babc92b901da80b315f664cea6cad644 (about 200 loc)
When the strong count decreases to:

1  call the waker. If there is a WaitFuture, then it will be waked.
0  deallocate.

Thus we can remove the weak count and provide an accurate count of Working at any time.
I'm not sure whether there is any memory ordering bug.


✨ Consumer.source_tables with filters

Co-authored-by: Anthony Accomazzo<EMAIL_ADDRESS>

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

#107  👈
#106
main

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

Join @RTLS and the rest of your teammates on  Graphite


Patch 3

de-DE.coffee. Translated new texts. Text on /features shortened to fit better on webpage. Changed case of "Du",  "Deiner" .. to lowercase, more modern, cf. f*cebook. Implemented some requested changes. Minor changes to entry page.

Coverage decreased (-0.007%) to 56.198% when pulling 5340c0cb22421e6955900af03c7942bb37d16bc9 on joca16:patch-3 into 2cfb280b7d7c4d2b0f84669b4dee28aee4e0103d on codecombat:master.

Thanks!


Open different shell in same directory

Description of the new feature/enhancement
Sometimes, it so happens that I am in (lets say) powershell, and i am working on something, and i change directory to some location, and i find myself in need of a different shell for some reason. Just as an example, maybe i have to run a bash script present in that directory using Git Bash / Msys.
Asked this on reddit and @zadjii-msft asked to open an issue here
Proposed technical implementation details (optional)
No idea

I have read the reddit post. This is possible and was actually implemented at the early days of #8166 when we were still trying to make OSC 7 work. Later reusing the CWD was limited to only duplicating tabs/panes, to prevent the feature from being too aggressive. Maybe we can add an option for folks who do love to reuse CWD for every tab created.

This proposal is exactly the first thing I noticed "missing" when working on the new Terminal (just installed today and wasn't sure if I just didn't dive too deep). My personal use case: I'm working on Windows and writing a tool using bash and perl scripts. Still I prefer managing git through PowerShell (and access to files as well) and use cmd for local management inside Windows with the long familiar commands. Usually I just open Terminal as WSL but when I do commits or other stuff it's just easier to Shift+Right Click and open Powershell from the menu rather than opening a new tab and navigating into the directory. And IMO it defeats the purpose of having multiple different terminals inside one window. No matter how convenient it sounds (and in general it is very convenient) but in this case it's just not the most optimal way

Hmmmmmmmmmm.
Now that I'm thinking about this, and comparing more with the rest of the repo, this might be an argument in favor of option 1 in #9957. We want to duplicate the path, but change the profile.
Oh no, wait it might be more complicated than that. It's "mode: duplicatePath", not duplicateProfile. Hmm.

set default dir of opening new window to the same as the currently opened terminal's dir

oh boy that seems awfully specific - the new window duplicates the existing window's CWD? I'm cool doing this with a new tab, but the window seems like it might be confusing.
I even typed up an issue like this in the past, but I don't think I ever posted it

Add a setting to default the new tab button to "duplicate tab" instead of "open default profile"
Maybe that applies to the splitPane actions as well?
Is this just asking for "toolbar customization" though? Should this be an extension? How would we let an extension do that?
Would they get at the tab row, hide the new tab button, then add their own split button, with the same new tab menu, but with duplicateTab bound instead?

I think on discussion, we thought that this made a good extension candidate, but those are also 12+mos away, so maybe we should revisit

add an action to have an opportunity to open new tab in the same dir or in a default dir

Like, as a prompt? Like a different version of #3586? Otherwise you can of course just use duplicateTab or newTab today

(this is very theoretical) to have an opportunity to open a new tab for existing terminal window from Right clicking inside the folder - same as you can open Terminal now, but to add an option "Open as a new tab in Terminal)

That's over in #7071

oh boy that seems awfully specific - the new window duplicates the existing window's CWD? I'm cool doing this with a new tab, but the window seems like it might be confusing.

I'm so sorry for the confusion, I actually meant a new Tab. Was just in a rush to get my vision out 😒
I'm not sure how other people manage their terminals as I'm still a rookie in this, but I usually prefer having a:

"group" of terminals for one specific task/folder. It would either be one project with a need of different terminals or subfolders open in tabs.
Having a "git" terminal window with multiple repositories in tabs.

In first case I would definitely prefer to have tabs open in the same folder and then navigating to subfolder. Or simply opening a WSL/cmd/gitbash in the same folder. As you can see - it's pretty apparent why having a current folder option would be benefitial
In second case I would just open a new window - as it's working now.

That's over in #7071

This is kind of off-topic for this issue so I'll stop about that but yes, indeed. Excuse me for that as I haven't noticed the setting as I'm really really new to this Terminal

It strikes me that terminal is not at the layer that knows another shell instance's Current Working Directory.  I assume the shell tied to the terminal (tab) via stdin, stdout, and stderr that has such information, not WT.  And the shell (and any other command-line app) might not be designed to detect wiring to WT and Terminal Tabs at all.
A shell's ability to Start an asynchronous console application might be helpful, although having that wired to a new tab sort of reduces to the previously-unsolved problem.

work against this ticket for "New tab/pane" support.

I'm sold. I'll stick it on the backlog. We'll have to come up with some sort of sensible setting for this. Maybe something like an enum - useTheStartingDirectory|useTheCWD|useTheTerminalsCWD, idk.

@zadjii-msft Any update on this. I regularly duplicate the tab with same directory? But it is very hard to type every time the directory path. I really miss this feature from linux terminal

@sheikalthaf: If you're duplicating the tab, it should already be keeping the current working directory as of Windows Terminal 1.6, if you have OSC 9;9 set up.
If you don't have OSC 9;9 set up, then the docs are a bit sparse (https://github.com/MicrosoftDocs/terminal/issues/285) but there's a bunch of examples in #3158 comments for now.

I'm also looking for a way to duplicate a tab and keep existing current working directory
 cd my_path

for each duplicated tab is just an extra step which could be avoid.
This behavior should be "out of the box" when installing new version of Terminal

@scls19fr You're commenting on a ticket about new tabs or splits, not duplicating tabs or splits. Duplicating tabs is #3158, and that's already as done as possible in Windows Terminal; to be truly out-of-the-box, you need your shell to be updated to send the OSC 9;9 information so that Windows Terminal knows your "current working directory", e.g., for PowerShell there's a ticket open at https://github.com/PowerShell/PowerShell/issues/15469 requesting this.

I would suggest something like this?


[QT wallet] Unable to install QT wallet on Mac platform

Description:
Unable to install latest QT wallet build on Mac platform and getting the below error message,

Verified and able to install latest QT wallet on MAC platofrm, hence closing this ticket.


Update Sublime Text HIE command

The hie command needs to include the --lsp parameter for it to work as an LSP server.

Thank you for catching this!


Pass tqdm kwargs

Progress bar Processing OWL elements... cannot customize for now. I would like to pass some tqdm options like disable and custom desc to tqdm.

Thanks @eggplants, we did consider that but at some point I decided against it since it needs to be added to a large number of API functions and clutters the API with technical arguments. However, if this is an issue, we can revisit it and come up with some option to be able to modify the tqdm message.

How about fn(..., *, tqdm_options: dict[str, Any]|None={"desc":"foo bar"})?

I don't love the idea of adding tqdm arguments to every top-level API function but if there is no nicer way to achieve this, we might do that.

OK, instead of adding kw, I suggest to add a flag as module veriable like bool DISABLE_TQDM to model.py and refer it from from_xml / to_xml.

Something like that sounds like a good compromise, I'll implement it.

I know this feature is available with pip install git+https://github.com/indralab/pybiopax@master. But I'd appreciate if you create new release.
Changelog: 3b953fee1c5a15fcee2d8c12d654135062cc412e...7e3b3b2e9ee0d6c962b6705060addbb660f51545

I made a new release on PyPI. Thanks for the good suggestions!


Use the updated_at timestamp of the token to determine if it has been used

Update that timestamp when a token has been used for access and display that information on the dashboard.
This updated_at strategy likely won't work if we add other data (like a name/label), but just thought I would throw this up to start the convo on how we might want to approach this.

Seems reasonable to me 🤷♂


Create Post Database

Post (individual career listings) should be stored in a database. Multiple database options should be considered to pick the simplest one that serves our needs (FireBase, MySQL, MongoDB, Neo4J, Redis). A set of test posts should be created to ensure the database is working correctly. A Post should contain a title (string), a description (string), a set of tags (strings), a parent company (string), a set of requirements (strings), an image (Hard?), and a unique identifier (int). These should be stored in the database and be able to be retrieved by querying the unique identifier or by keyword matching in the title.

SQL seems like a good option for the database. + its one that I've worked with before,


getContractsForOwner returns same contract several times

[REQUIRED] Describe the problem
It is a bug for alchemy endpoint.
When using getContractsForOwner with orderBy=transferTime, it returns incorrect result.
For example,
const options = {method: 'GET', headers: {accept: 'application/json'}};

fetch('https://eth-mainnet.g.alchemy.com/nft/v2/docs-demo/getContractsForOwner?owner=0xafb3fDe713608D4276E63754F54298c050Cf6620&pageSize=100&withMetadata=true&orderBy=transferTime', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));

it returns same contract five times:

Hello taeguk, thanks for the report! We've identified the root cause and pushed a fix for this error. As a show of appreciation for reporting this bug, and for using our product, we'd love to send you some Alchemy swag! I sent a link to your email that you can use to claim the swag. Thanks for helping make our product better! 💪

Marking the issue as closed since it's fixed on the backend!


Use our own hnrss service

Given that https://hnrss.org/ has proven to be not very reliable for us we created our own service to fetch HN rss feeds. This patch updates the url to that respective service.

Just tested this and it does not work, unfortunately. At least on my machine, it will retain the previous default value for the config. :-/

Good catch! I pushed another edge release with a fix for it.

Good catch! I pushed another edge release with a fix for it.

No prob! Looking forward to get this shipped. Btw, can me make Best default versus Newest @christian-bromann? The former is actually what the frontpage of HN is about.

👍
On Thu, Aug 25, 2022 at 11:07 AM Christian Bromann @.***>
wrote:

done
—
Reply to this email directly, view it on GitHub
https://github.com/stateful/vscode-marquee/pull/211#issuecomment-1227388709,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB5FHYLGUB5RLMATZGLJW3V26D4HANCNFSM57PIVNWA
.
You are receiving this because your review was requested.Message ID:
@.***>


right to left

This mode is also added

Please describe your needs in detail

This mode is also added

Please describe your needs in detail

This mode is also added

Please describe your needs in detail

Please update to the latest version

ss

Hello
How do I solve this problem?

@fakhravari What's your flutter version?

@fakhravari What's your flutter version?

Flutter 3.22.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision a14f74ff3a (3 weeks ago) • 2024-05-22 11:08:21 -0500
Engine • revision 55eae6864b
Tools • Dart 3.4.1 • DevTools 2.34.3

@fakhravari Try to update to the latest version. 3.22.2

@fakhravari Try to update to the latest version. 3.22.2

The problem was solved with the latest version
Thankful

It shows only 1 level out of 3 levels
How should I fix it?
You can download the source in the link below
Thanks
https://biaupload.com/do.php?filename=org-52749f38afbf1.rar

@fakhravari Please update to the latest version.


python312Packages.agate: 1.9.1 -> 1.11.0

Description of changes
Diff: https://github.com/wireservice/agate/compare/refs/tags/1.9.1...1.11.0
Changelog: https://github.com/wireservice/agate/blob/1.11.0/CHANGELOG.rst

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

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

46 packages built:

csvkit
csvkit.dist
dbt (python312Packages.dbt-core)
dbt.dist (python312Packages.dbt-core.dist)
python311Packages.agate
python311Packages.agate-dbf
python311Packages.agate-dbf.dist
python311Packages.agate-excel
python311Packages.agate-excel.dist
python311Packages.agate-sql
python311Packages.agate-sql.dist
python311Packages.agate.dist
python311Packages.dbt-adapters
python311Packages.dbt-adapters.dist
python311Packages.dbt-bigquery
python311Packages.dbt-bigquery.dist
python311Packages.dbt-common
python311Packages.dbt-common.dist
python311Packages.dbt-core
python311Packages.dbt-core.dist
python311Packages.dbt-postgres
python311Packages.dbt-postgres.dist
python311Packages.dbt-redshift
python311Packages.dbt-redshift.dist
python311Packages.dbt-snowflake
python311Packages.dbt-snowflake.dist
python312Packages.agate
python312Packages.agate-dbf
python312Packages.agate-dbf.dist
python312Packages.agate-excel
python312Packages.agate-excel.dist
python312Packages.agate-sql
python312Packages.agate-sql.dist
python312Packages.agate.dist
python312Packages.dbt-adapters
python312Packages.dbt-adapters.dist
python312Packages.dbt-bigquery
python312Packages.dbt-bigquery.dist
python312Packages.dbt-common
python312Packages.dbt-common.dist
python312Packages.dbt-postgres
python312Packages.dbt-postgres.dist
python312Packages.dbt-redshift
python312Packages.dbt-redshift.dist
python312Packages.dbt-snowflake
python312Packages.dbt-snowflake.dist


Adapt gardener-dashboard component

How to categorize this PR?
/area usability
/kind enhancement
What this PR does / why we need it:
This PR adapts the Gardener Operator logic for the Dashboard component to incorporate the latest improvements made in gardener/dashboard
Which issue(s) this PR fixes:
Fixes #10116
Special notes for your reviewer:
/cc @petersutter @holgerkoser
Release note:

NONE

/retest

Also update the text here accordingly to indicate that the clientSecret is optional https://github.com/gardener/gardener/blob/6fa98900c70d16a25c34a7da2b050da5926cd489/docs/concepts/operator.md?plain=1#L328?

This function is used only once like this:
sessionSecretPrevious, previousExists := g.getPreviousSessionSecret()

I think this is as understandable
 sessionSecretPrevious, previousExists := g.secretsManager.Get("gardener-dashboard-session-secret", secretsmanager.Old)secretsmanager.Old)

Therefore I think we don't have to wrap g.secretsManager.Get("gardener-dashboard-session-secret", secretsmanager.Old)secretsmanager.Old) in getPreviousSessionSecret

/assign

/approve

/retest


Stack bar chart for timeseries, columnar data  generates overlapped bars

The below code generates overlapped bars.
var chart = c3.generate({
data: {
x: 'x',
columns: [
['x', '2013-01-01', '2013-01-02', '2013-01-03', '2013-01-04', '2013-01-05', '2013-01-06'],
['data1', 30, 200, 100, 400, 150, 250],
['data2', 130, 340, 200, 500, 250, 350]
],
colors: {
data1: '#F00',
data2: '#000',
},
names: {
data1: "test1",
data2: "test2",
},
types: {
data1: 'bar',
data2: 'bar',
},
groups: [
['data1', 'data2']
]
},
legend: {
show: false
},
axis: {
x: {
type: 'timeseries',
tick: {
format: "%e %b %y"
},
}
}
});
please have a look at this one

Sorry this is a bug and I think it's has been fixed now.

Unfortunately, this case may be resolved but it is still possible to have overlapping bars (stacked or not).
See:
https://jsfiddle.net/mcd6ucge/31/
With the following config:
var chart = c3.generate({
    data: {
        x: 'x',
        type: 'bar',
        columns: [
            ['x', '2016-01-05', '2016-01-06', '2016-01-10'],
            ['data1', 50, 56, 75],
            ['data2', 2, 2, 2]
        ],
        groups: [
['data1', 'data2']
]
    },
    axis: {
        x: {
            type: 'timeseries',
            tick: {
                format: '%Y-%m-%d'
            }
        }
    }
});

It appears that the bug occurs when the data are not evenly distributed over time. The bars' width are scaled according to the number of values whereas their X position is based on their date.

Thanks for checking and opening a new issue. Let's fix this in #1386 and let me close this issue for 0.4.11 release.

data : {
xFormat: '%Y-%m-%d %H:%M:%S',
columns: []
},
axis: {
x: {
type: 'timeseries',
tick: {
format: '%Y-%m-%d %H:%M:%S'
}
}
}
actually we need to specify  xFormat field in data


Create a pdf download button

Have it create a pdf of the page and download.

Use weasyprint. Make a /weasyprint handler within tornado. It is passed json containing basic html, CSS, and the results json.  The handler then inserts the results into the html and then passed the resulting html and CSS to weasyprint. See if https://mildrenben.github.io/surface/ fulfills the need of supplying basic css only material design styling.

Don't use weasyprint. Just use https://developer.mozilla.org/en-US/docs/Web/API/Window/print. Far easier.

In the end at the bottom there will be three buttons, "Print", "Save", and "Source"

Also need to make it so that there is margin at the bottom of the form that leaves ample room for the buttons so that the buttons don't obscure the bottom of the form.

Don't use a pinned floating button. Make a toolbar similar to jupyterlab extension toolbars. It will then align nicely when I use it within jupyterlab. Also, the pinned floating buttons get in the way.

Complete.


(server): process can't exit correctly

press 'e' in cmd. when using fastify/h3,process can't exit correctly
port is still in use

it's not about framework ;
it seems that pkg 'tree-kill' doesn't work in sometimes

something about exec(may be shell)
and has to wait 'exit' event from child process


Support HTTP Head Request

Please first read the documentation. Problems affecting the client, e.g. Plex or Emby should be reported there in the forum.
Describe the bug
When starting a HEAD request to get the media type (new Jellyfin 10.9 behavior) Threadfin starts buffering content instead of responding with 405/501.
Server (please complete the following information):

OS: Docker (Debian host)
Arch x64
Threadfin Version and Build: 1.0 build 27

To Reproduce
Steps to reproduce the behavior:

curl --head {threadfin}/stream/{streamId}
Observe no response

Expected behavior
Either return an error code, or return the proper headers.

This will now simply do a HEAD request and forward all headers from the provider

@Fyb3roptik Is there a rough ETA for a new release to go out with the fix? Thanks in advance for the great work.

This seems to fix the issue: https://github.com/Threadfin/Threadfin/commit/659b4a06a17036067b900c4bcc245a3ca98f134a#diff-becc32fd3d606f0831d42532d5da41f646265f1532b9e345d0a6154bf9294436R137-R165

1.1.0 release fixes this

Hello,
this new behavior from Jellyfin and this patch introduces a side effect. Some providers under DoS attacks reject HEAD requests with TCP RST.
[Threadfin] [ERROR] Head "http://tvprovider.example.com:NNNN": read tcp <IP_ADDRESS>:56774->A.B.C.D:NNNN: read: connection reset by peer (Unknown error / warning (XXXX)) - EC: XXXX
In such a case, Threadfin replies with a 502 status code. Could'nt be possible to return a 405 or 501 for some specific errors like this one ?

Yeah I can have it return 405

I have a similar issue, as my provider uses UDP for the streams, which obviously does not support HEAD:
[Threadfin] [ERROR] Head "udp://@239.XX.YY.ZZ:5000": unsupported protocol scheme "udp" (Unknown error / warning (1502)) - EC: 1502
It would be great if threadfin could also return 405 in this case.

1.1.2 Resolves this


Cannot Back Out of "Choose a Team" Screen

I confirm (by marking "x" in the [ ] below):

[X] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/.
[X] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[X] I have read contributing guidelines.

Summary
Cannot back out of team selection to enter another server/team path.
Steps to reproduce

Pick a server on which you are not part of any team
Pick a team and fail to log into it
Try to change to another server to log into a team you are part of

Expected behavior
I expect to be able to change server at any point.
Observed behavior
I'm stuck at the Choose a Team/Create a Team screen. I'm unable to back up to enter in a different server.
I'm not 100% sure how I started down the path to get to the Choose a Team screen because I can't go back (I can't reproduce because I'm stuck at this one screen and can't go anywhere).
Note: I can edit the server settings to get this straightened out. Reporting an issue with the UI, not that I'm blocked.
Possible fixes
Add a link to go back up a step.

Hey @seanodell, thanks for the note.
If you go to File > Settings, you'll be able to update your server information (either edit existing or add a new one).
With #415 you'll also be able to add a new server from the server tab bar, to make that experience better.

Note: I can edit the server settings to get this straightened out. Reporting an issue with the UI, not that I'm blocked.

Sorry, I missed this note on my first read.
Any suggestions on how we would make it easier to edit server information on the UI?

@seanodell We've made an update on the Mattermost server side where you should be able to go back from the "Choose a Team" screen to the previous page in the webview.
Hopefully this will help in the future,


Improvement: start using modern Class capabilities

Might be about time to move to the Class capabilities introduced in PowerShell v5 -- the "hopefully find and eventually refer to some DLL" game grows ever less fun, and we can modernize the module a bit, anyway.
That we already require the VMware.VimAutomation.Core module will have us already ready to use many VMware type references in our new PowerShell classes.

Working on this in branch feat_PSClasses

Completed in 49fef76. Hurray!


Using it along with Spatie fractalistic

Hi,
I was triying to use the links method on a Fractal transformer but it didn't go well:
<?php

namespace App\Workspace\Transformers;

use App\Workspace\Controllers\WorkspaceController;
use App\Workspace\Models\Folder;
use League\Fractal;
use Spatie\Fractalistic\ArraySerializer;

class FolderTransformer extends Fractal\TransformerAbstract
{
    public function transform(Folder $folder)
    {
        return [
            'id'       => (int)$folder->id,
            'label'    => $folder->name,
            'url'      => 'http://example.lab',
            'links'    => $folder->links(WorkspaceController::class),
            'children' => fractal($folder->children, new FolderTransformer())->serializeWith(new ArraySerializer())->toArray()
        ];
    }
}

Symfony\Component\Debug\Exception\FatalThrowableError
Call to a member function parameters() on null

\lab\vendor\spatie\laravel-resource-links\src\LinkResource.php:96

 public function toArray($request)

    {

        return $this->linksGroup

            ->getLinkTypes()

            ->mapWithKeys(function (LinkType $linkType) use ($request) {

                $linkType->parameters($request->route()->parameters());

                if ($linkType instanceof ControllerLinkType) {

                    return $this->resolveLinksFromControllerLinkType($linkType);

                }

                return $linkType->getLinks($this->resource);

            });

    }

I didn't take the time to look at it, but wondering if anyone knows something.

My bad :( I was setting the HasLinks trait on the model instead of a new ModelResource class.
I will do it manually or creating my own "from resource id to resource links"


JL Condas and JL UI container namespace fixes

Description:
Replace with description of the changes
Issue Reference URL
https://github.com/awslabs/aws-eks-data-maker/issues/

Do not change content below. Mark applicable check boxes only.
Thank you for submitting a contribution to AWS Orbit Workbench.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a ISSUE associated with this PR?
[ ] Does your PR title start with ISSUE-XXXX where XXXX is the issue number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[ ] Has your PR been rebased against the latest commit within the target branch (typically 'main')?
[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] Have you ensured that the full suite of tests is executed?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under Apache License 2.0?

Created https://github.com/awslabs/aws-orbit-workbench/issues/702 to analyze the behavior of kernel python pointing to base conda env instead of selected kernel.


Addressed issue, moved VPC section.

Also moved VPC section to be closer to CloudHub content.

#287 supersedes the "Open a Support ticket.." change made here.

I will address the edits required for #287 in another sprint.


rpc xdag_new_address error

array(1) { [0]=> array(1) { ["block"]=> string(32) "4Q8CT7iZ3The6HzUTAgMufI9PAYDMm1V" } } err 2 result errno:-32601 msg: Method not found. array(0) { }

method not found?  why ? its not complicate?

RPC is not finished yet. Please wait some time for full RPC release.


Laravel recipe artisan:migrate task does not honor default_timeout = null

Deployer version: 7.0.2
Deployment OS: Ubuntu 20

deploy.php
<?php

namespace Deployer;

require 'recipe/laravel.php';

set('default_timeout', null); // because of long-running migrations
set('shared_dirs', [
    'storage',
    'uploads',
]);

host('<host>')
    ->setLabels([
        'stage' => 'staging',
    ])
    ->setRemoteUser('<user>')
    ->setDeployPath('<path>');

task('deploy', [
    'deploy:prepare',
    'artisan:storage:link',
    'artisan:optimize:clear', // clear all caches
    'artisan:config:cache',
    'artisan:route:cache',
    'artisan:view:cache',
    'artisan:event:cache',
    'artisan:down',
    'artisan:migrate',
    'deploy:symlink',
    'artisan:up',
    'artisan:horizon:terminate',
    'deploy:unlock',
    'deploy:cleanup',
    'deploy:success',
]);

after('deploy:failed', 'deploy:unlock');

Hello, I recently upgraded to Deployer 7 and I just encountered a long-running migration that caused the deploy to fail after 300 seconds, despite default_timeout being set to null.
This used to work in Deployer 6 so not too sure what's going on...

Update:
Everything appears to be working correctly when default_timeout is set on the host level, not sure if this is the intended behaviour or not but it's not reflected in the docs from what I could tell...
The below code works:
// ...
set('default_timeout', null); // does NOT work
set('shared_dirs', [
    'storage',
    'uploads',
]);

host('<host>')
    ->set('default_timeout', null); // works
    ->setLabels([
        'stage' => 'staging',
    ])
    ->setRemoteUser('<user>')
    ->setDeployPath('<path>');

// ...

How was this completed, as I've been getting a broken pipe for the last day or so for a long-running migration (large CSV file). How can I rule this out? default_timeout config option is set to 6000 but I get a client_loop: send disconnect: Broken pipe error after about 5 minutes of migrating, and the changing SSH/server configs doesn't seem to make a difference.


getting error while creating ionic app

Creating Ionic app in folder D:\prashant\App based on tabs project
Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
Error with start Error: getaddrinfo EAI_AGAIN github.com:443
at Object.exports._errnoException (util.js:1008:11)
at errnoException (dns.js:33:15)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:79:26)
Error Initializing app: Error: getaddrinfo EAI_AGAIN github.com:443
Error: getaddrinfo EAI_AGAIN github.com:443
at Object.exports._errnoException (util.js:1008:11)
at errnoException (dns.js:33:15)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:79:26)
Caught exception:
Error: getaddrinfo EAI_AGAIN github.com:443
at Object.exports._errnoException (util.js:1008:11)
at errnoException (dns.js:33:15)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:79:26)
How can I get Solution for this?

I too got this error once today. I tried again and command worked without


Job duration incorrectly reported when timed out

I can confirm from the logs that this job successfully erred after 30s (which was it's timeout).
However, subsequent calls to list-job show that its duration continues to grow:
18-01-30[17:05:35]:pachyderm:0$pc list-job
ID                                   OUTPUT COMMIT                                                           STARTED       DURATION       RESTART PROGRESS  DL UL STATE
35f5fa44-d68b-4a4b-9177-6fcc60796b34 user_foo/-                                          5 minutes ago 4 minutes      0       0 + 0 / 2 0B 0B failure
18-01-30[17:07:27]:pachyderm:0$
18-01-30[17:07:34]:pachyderm:0$
18-01-30[17:07:34]:pachyderm:0$pc list-job
ID                                   OUTPUT COMMIT                                                           STARTED       DURATION       RESTART PROGRESS  DL UL STATE
35f5fa44-d68b-4a4b-9177-6fcc60796b34 user_foo/-                                          5 minutes ago 5 minutes      0       0 + 0 / 2 0B 0B failure
9678a530-ea6c-41c9-bf1a-726646ac700d user_foo/17be0ee2b3274d8d8968591714d70f46 5 minutes ago 5 seconds      0       2 + 0 / 2 0B 0B failure
18-01-30[17:08:51]:pachyderm:0$pc list-job
ID                                   OUTPUT COMMIT                                                           STARTED       DURATION       RESTART PROGRESS  DL UL STATE
35f5fa44-d68b-4a4b-9177-6fcc60796b34 user_slow_job6YRSA_inference/-                                          6 minutes ago 6 minutes      0       0 + 0 / 2 0B 0B failure
9678a530-ea6c-41c9-bf1a-726646ac700d user_foo/17be0ee2b3274d8d8968591714d70f46 6 minutes ago 5 seconds      0       2 + 0 / 2 0B 0B failure

In the pods logs I see ...
{"pipelineName":"user_slow_job6YRSA_inference","jobId":"35f5fa44-d68b-4a4b-9177-6fcc60796b34","workerId":"pipeline-foo","datumId":"b7013d47c2bd7d233933b27932ade99cae033613012430a4b9ca55484f76b69d","data":[{"path":"/bar.txt","hash":"Q1Nid2NMrWnO3b++MkETZJkf/XGsRbupwt6iwo7pksE="}],"ts":"2018-01-31T01:02:55.579729822Z","message":"finished running user code - took (29.04555303s) - with error (context canceled)"}
{"pipelineName":"user_slow_job6YRSA_inference","workerId":"pipeline-foo","ts":"2018-01-31T01:02:55.599211213Z","message":"worker: error running the worker process: error from acquireDatums: rpc error: code = Canceled desc = context canceled; retrying in 468.857094ms"}
{"pipelineName":"user_slow_job6YRSA_inference","workerId":"pipeline-foo","master":true,"ts":"2018-01-31T01:02:56.299464194Z","message":"error in waitJob rpc error: code = DeadlineExceeded desc = context deadline exceeded, retrying in 693.478123ms"}
{"pipelineName":"user_slow_job6YRSA_inference","workerId":"pipeline-foo","master":true,"ts":"2018-01-31T01:02:56.995667515Z","message":"error in waitJob rpc error: code = DeadlineExceeded desc = context deadline exceeded, retrying in 1.335175957s"}
{"pipelineName":"user_slow_job6YRSA_inference","workerId":"pipeline-foo","master":true,"ts":"2018-01-31T01:02:58.417779588Z","message":"error in waitJob rpc error: code = DeadlineExceeded desc = context deadline exceeded, retrying in 954.512469ms"}
{"pipelineName":"user_slow_job6YRSA_inference","workerId":"pipeline-foo","master":true,"ts":"2018-01-31T01:02:59.437265009Z","message":"error in waitJob rpc error: code = DeadlineExceeded desc = context deadline exceeded, retrying in 1.661814363s"}

Which keeps backing off. It seems like we're not exiting a retry loop somewhere.

Confirmed that this is no longer an issue, duration stops counting when the datum or job timeout occurs.


[Feature Request] - N-Number/Hex Code Database for OwnShip(rental a/c)

Since we are moving to an sqliteDB maybe we could add to the list of wants the ability to add Hex Codes to a table for recall in ownship filtering.
Table:

ACID
N-Number
HEX

1
N12345
A34D3E

2
N54321
A66DE2

Then you could modify this in the webui and select the current ownship you want to use.
I am looking at a page that would list the stored A/C in the table:

ACID
N-Number
HEX
Delete/Add

1
N12345
A34D3E
X

2
N54321
A66DE2
X

3
blank
blank
+

Then a dropdown list of all the a/c and you would just select your current a/c to be ownship.
This would allow people who rent a/c or flight train with multiple a/c easier to filter.
What do you think.
I know this would be pretty far down on the list but still possible...

I think this would be a great idea.  I'm in a club with six aircraft, and this would be a useful, time-saving feature.

That would be easy and also useful if you want to do things like:

Track your friends
Figure out who to yell at if you have a near-miss

Anyone know how often the registry data gets updated?
On Wed, Apr 20, 2016 at 11:22 AM, JohnOCFII<EMAIL_ADDRESS>wrote:

I think this would be a great idea. I'm in a club with six aircraft, and
this would be a useful, time-saving feature.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/395#issuecomment-212499816

--
Steven Sokol
408 Camelot Drive
Liberty, MO 64068
mobile: +1<PHONE_NUMBER>
fax: +1<PHONE_NUMBER>

Start doing stuff like that and you might want to use a 64 or 128 Gb SD card.  (Can the Pi's address the 128 Gb cards?)

So maybe??

ACID
N-Number
HEX
Notes

1
N12345
A34D3E

2
N54321
A66DE2
That guy that almost hit me

Hah.  Be nice to flag NORDO birds that share the patterns.
On Wed, Apr 20, 2016 at 12:59 PM, peepsnet<EMAIL_ADDRESS>wrote:

So maybe??
ACID N-Number HEX Notes
1 N12345 A34D3E
2 N54321 A66DE2 That guy that almost hit me
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/395#issuecomment-212536307


Incorrect description for dotnet nuget push --no-symbols

Incorrect description:
-n|--no-symbols true

Doesn't push symbols (even if present).

dotnet nuget push --help returns different description:
Run dotnet nuget push src\**.nupkg --api-key *** --source https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols
Specify --help for a list of available options and commands.

Usage: dotnet nuget push [arguments] [options]

Options:
  -h|--help                      Show help information
  -n|--no-symbols          If a symbols package exists, it will not be pushed to a symbols server.

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

ID: b363ab07-ea19-574f-e0db-25fd5702255d
Version Independent ID: 6fa9479a-85db-5498-6b7e-2418fc7bac32
Content: dotnet nuget push command - .NET CLI
Content Source: docs/core/tools/dotnet-nuget-push.md
Product: dotnet-fundamentals
Technology: dotnet-cli
GitHub Login: @karann-msft
Microsoft Alias: tdykstra

Hello. This description is still accurate even if it doesn't use the same exact words.
Although, the true seems out of place according to the help.
If you would like to contribute, you can submit a fix by editing the original article. Click on the Content Source link at the bottom of your original comment. To learn how to edit, see the Editing files in a repository article from GitHub.
Thanks again!

Hello. This description is still accurate even if it doesn't use the same exact words.
Although, the true seems out of place according to the help.
If you would like to contribute, you can submit a fix by editing the original article. Click on the Content Source link at the bottom of your original comment. To learn how to edit, see the Editing files in a repository article from GitHub.
Thanks again!


Netdata component gives incorrect config validation error

Home Assistant release with the issue:

Docker:
homeassistant/raspberrypi3-homeassistant   latest              9caae3676697        2 days ago          1.04GB
From my logs:
/var/lib/docker/containers/c9deacdffa7f82f074891f3f97e0b7bc14bfd45611ff9aa839b0363adff1dd02/c9deacdffa7f82f074891f3f97e0b7bc14bfd45611ff9aa839b0363adff1dd02-json.log:{"log":"2018-06-05 19:33:57 INFO (SyncWorker_0) [homeassistant.config] Upgrading configuration directory from 0.68.1 to 0.71.0b0\n","stream":"stderr","time":"2018-06-05T23:33:57.607441027Z"}
Last working Home Assistant release (if known):
0.68.1
Operating environment (Hass.io/Docker/Windows/etc.):

Docker
Component/platform:

https://www.home-assistant.io/components/sensor.netdata/
Description of problem:
Fails with config error Invalid config for [sensor.netdata]: expected a dictionary for dictionary value @ data['resources']. Got ['memory_free', 'swap_free', 'system_load'].
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
sensor:
  - platform: netdata
    host: netdata
    resources:
      - memory_free
      - swap_free
      - system_load
      - uptime
      - disk_free

Traceback (if applicable):
None supplied. Full relevant part of logs here: https://hastebin.com/ozocijixic.txt
Additional information:
This config parameter is documented as an array, not a dict.
Additionally, I tried experimenting with replacing each - resource entry with resource: resource and got this:
2018-06-05 23:02:12 ERROR (MainThread) [homeassistant.config] Invalid config for [sensor.netdata]: expected a dictionary for dictionary value @ data['resources']['disk_free']. Got 'disk_free'

Finally, this parameter is documented as optional, but when I tried omitting it, I got
2018-06-05 23:10:26 ERROR (MainThread) [homeassistant.config] Invalid config for [sensor.netdata]: required key not provided @ data['resources']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/sensor.netdata/

0.71.0b0 contains a re-worked version of the netdata sensor which was introduced with #14613.
For the new configuration style please check https://next.home-assistant.io/components/sensor.netdata/

The new version of the netdata sensor was released.


Add storage_options kwarg to get_or_create_project_task

Is your enhancement request related to a problem? Please describe
I want to use Rubicon's prefect workflow to access an S3 bucket that requires special storage_options
Describe the solution you'd like
Add a storage_options kwarg passthru in get_or_create_project_task
Describe alternatives you've considered
I could write my own tasks to get or create a project, but that would duplicate code for a small reason

@jdawang we'll get this released soon!


release(0.5.0-rc.1): release 0.5.0-rc.1 pre release

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

Coverage remained the same at 52.233% when pulling 23ab4f991786c561a48352c3b5b5fa92602fa8ec on vthinkxie:release-0.5.0-rc.1 into d4a6aa198de4178a5974c21f26c19421225ea193 on NG-ZORRO:master.

Coverage remained the same at 52.233% when pulling ecc6d6376933c0da4a05adca4dea46c2daa27092 on vthinkxie:release-0.5.0-rc.1 into d4a6aa198de4178a5974c21f26c19421225ea193 on NG-ZORRO:master.


GetRoles without Custom Authentication Requirement

Is your feature request related to a problem? Please describe.
The tutorial provided requires an Azure Active Directory. The documentation states that The ability to assign roles via a function is only available when custom authentication is configured.
My scenario is very simple. I would like to be able to 'Query a database to determine which roles a user should be assigned' as stated in the documentation.
Describe the solution you'd like
The ability to use this functionality without the need for custom authentication.
The authentication service provided by SWA and it's built in providers removes that burden from the developer. Managing the roles for a small number of users could easily be handled in the backend.
Describe alternatives you've considered

Using OpenID Connect/Auth0- feels like overkill for my requirements.
Adding claims - have not attempted yet.

Additional context

Hi, This is something we don't support right now but can look into supporting in the future. For the meantime, would configuring the built-in providers for custom authentication (AAD/Facebook/GitHub/Google/Twitter/etc) work for you so that you don't have to go as far as configuring a custom OpenID Connect provider?

@mkarmark
I'm not sure what you mean. I'm trying to avoid having to do any custom authentication. I would just like to augment the roles returned when using any of the built-in providers.
A really simplistic example would be to hardcode adding the admin role to a specific identityProvider and userDetails in GetRoles.  Thus, this individual would automatically be given admin rights to the site.


Is update possible?

https://www.pessmokepatch.com/2022/10/spfl23.html?lr=1
this is exactly the same game (with some tampering) but the table doesn't work. Was wondering if update is possible for this one, Thanks in advance

that's too bad, alright then


geopmanalysis requires SLURM or COBALT node ENV variables

When checking launch options in the main function of analysis.py, SLURM_NNODES and COBALT_NODEFILE are checked to determine num_nodes even if SLURM isn't being used.
If neither env var is found num_nodes is set to -1 which results in a RuntimeError (if num_nodes != the command line num_nodes).
Run command:
GEOPM_RM=IMPI geopmanalysis freq_sweep  -N1 -n1 --min-freq 1e9 --max-freq 2e9  -- ~/build/bin/geopmbench
Error:
RuntimeError: Launch must be made inside of a job allocation and application must run on all allocated nodes.

I think this requirement has been removed.  It is now the responsibility of users to make sure they use the same set of nodes from an allocation.

Not sure if it's our responsibility to tell users they should use the same set of nodes for comparisons.  Such advice could maybe go in the same place as #691

This message has been removed.  The documentation needs to be added.


StandardMapper ignores PUT, DELETE overides

The ResourcesMapper uses RestfulHttpMethodConstraint which allows a POST to be treated as a PUT, if there's a hidden input (_method or X-HTTP-Method-Override) but the StandardMapper doesn't.
I can tap both on the end: '...Allow(HttpVerbs.Post).Allow(HttpVerbs.Put);' but it feels like it should behave the like the resources, as override is not limited to restful resources, it's just a way to allow PUT, DELETE in browsers that don't support the verbs.
Just wanted to get your opinion. If you think it should behave that way, I'll popover a patch.

Yep, that's right.
It also means I can do away with the constraint on the controller. As I have at the mo I have:
.Allow(HttpVerbs.Post, HttpVerbs.Put);

and on the action method
[HttpPut]
public ActionResult ....

If that is the case then that does look like a bug. Go for it. After this change I'll push to NuGet.
Kind Regards,
Khalid Abuhakmeh
On Feb 3, 2012, at 7:01 AM, tommysqueak<EMAIL_ADDRESS>wrote:

Yep, that's right.
It also means I can do away with the constraint on the controller. As I have at the mo I have:
.Allow(HttpVerbs.Post, HttpVerbs.Put);

and on the action method
[HttpPut]
public ActionResult ....

Reply to this email directly or view it on GitHub:
https://github.com/stevehodgkiss/restful-routing/issues/47#issuecomment-3795679


training error (can't create chained action because it needs training phrases)

Issues
Pretty sure this a bug. on 22.0 looks like it treats a chained action like a normal saying. When I hit Train, I get the error "must have multiple training phrases for the action."
I was just creating a simple thanks, to be chained when an order was completed.

And strange enough, it does have 2 examples in though they are not training phrases:

I double checked back on 21.1, I did not have training phrases (sayings using the chained action) in order for the chained actions to work or train.
Also, it says there's only one training phrase which is also wrong, because there were none.
Had to add these training phrases in, for in order it to work:

Again on the previous 21.1, did not have to do this.
Step 13.63 on script
Please describe the issue you are having here and answer the question below.

Did you download a release or pull from Master? Which release?
release 22.0
What operating system are you running?
10 pro
Are you running locally or in the cloud
local

I can't reproduce this. Can you try to reproduce and provide an agent export if you can?

I think this is related to #739

Reproduced.
Export:
pizzabot-0.22.zip

Confirmed related to #739


Compatibility issue with CloudFlare's 'Rocket Loader' – ?

Hi there,
Firstly, well done for having developed a brilliant script! I highly appreciate it, so thanks.
I am not entirely sure if I'm on the right track here as I am not actually a developer myself, however, I recently started using CloudFlare for one of my websites and turned on the 'Rocket Loader' function (https://www.cloudflare.com/features-optimizer), which sounded like a really good idea. However, about a day later I experienced that the site wouldn't show my content (although the site appeared as if it was fully loaded; it was basically just a white page on which I could scroll up and down)?! After examining the issue I realised that the site would work again if I turned off either the Rocket Loader or the QueryLoader2 script, which makes me think that there's potentially a compatibility issue. Could I be right in that? And if so, do you think this is something that can be fixed or should I just live with one or the other?
Thanks,
Jonas

UPDATE
The problem might actually be with CloudFlare's Rocket Loader alone, which seems to be pretty harsh on all scripts. I'll send them a bug note now. I'll keep you update here if I hear anything back.

Thanks for the extensive bug report. Really appreciate it when people take the time to explain the problem.
I can't really tell what Rocket Loader is doing since I have not dug into it yet. The script might change a few things so mine won't work. Let me know if they have an answer, if not: I can look into this.

Hi Gaya,
No problem – thanks for the wonderful script! :-)
Unfortunately I've had no luck in my end. Here's what the CloudFlare support team replied:
—
Thanks for contacting CloudFlare support.
Unfortunately it seems as if you'll need to choose whether you'll want to use Rocketloader or that 3rd party script.
Best Regards,
—
Anyway, it might not be worth for you to look into as Rocketloader seems to be quite incompatible in general, but of course, if it's something you'd be keen on fixing anyway, then that would be great – and highly appreciated (sorry I cannot help myself; my coding skills unfortunately doesn't reach that far I am afraid).
For now I've simply just deactivated the Rocketloader as I felt that it was more important to have QueryLoader2 running.
Thanks for listening and responding to my message.
Best,
Jonas

I've decided not to fix this since it's probably way too much work to go into this for a compatibility issue. Thanks for digging into this so much @jonasskafte

Hi Gaya,
Fair enough and thanks for letting me/us know.
Keep up the good work and thanks for a brilliant contribution to the WP community!
Best,
Jonas


fs: support rewinding a directory

TODO: write desc after seeing if windows bombs

After this, directory_seek passes on the rust wasi-testsuite, leaving 5 failures left.


added validation for image in reciept scan

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/27389
PROPOSAL: https://github.com/Expensify/App/issues/27389#issuecomment-1718299207
Tests

[ ] Verify that no errors appear in the JS console
On Android and IOS device -

Navigate to Request Money -> Scan
Upload a Image more than 24 mb.
Verify Error modal with "Attachement too large" message appears

Offline tests

QA Steps

[ ] Verify that no errors appear in the JS console
On Android and IOS device -

Navigate to Request Money -> Scan
Upload a Image more than 24 mb.
Verify Error modal with "Attachement too large" message appears

PR Author Checklist

[ ] I linked the correct issue in the ### Fixed Issues section above
[ ] I wrote clear testing steps that cover the changes made in this PR

[ ] I added steps for local testing in the Tests section
[ ] I added steps for the expected offline behavior in the Offline steps section
[ ] I added steps for Staging and/or Production testing in the QA steps section
[ ] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[ ] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[ ] I included screenshots or videos for tests on all platforms
[ ] I ran the tests on all platforms & verified they passed on:

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

[ ] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[ ] I followed proper code patterns (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[ ] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I followed the guidelines as stated in the Review Guidelines
[ ] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] I verified that if a function's arguments changed that all usages have also been updated correctly
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS
https://github.com/Expensify/App/assets/104348397/3d930575-33db-4dc3-b1ec-2368f80b211d

Android
https://github.com/Expensify/App/assets/104348397/3ebb4c41-4407-4660-a091-f0dcc3e01824

@allroundexperts looks like the utility for file validation is removed in this PR, so I stick with my orignal proposal

@allroundexperts Can you review changes and give feedback?

@allroundexperts Thanks for reviewing, added require changes.

@allroundexperts can you clarify questions above

@allroundexperts Added changes

gentle Bump @allroundexperts

HI @allroundexperts, can you please priortize the review for this.

Web

https://github.com/Expensify/App/assets/104348397/7cdbc397-f684-4b93-bedd-12b716e92d35

Mobile Web - Chrome

https://github.com/Expensify/App/assets/104348397/d8647b61-0494-44d1-b4a9-b7521103001f

Mobile Web - Safari

https://github.com/Expensify/App/assets/104348397/6c40831f-9da2-4ca4-8632-f7234b8b9458

Desktop

https://github.com/Expensify/App/assets/104348397/42bc02c7-d090-44c2-8246-61ce5deed991

iOS

https://github.com/Expensify/App/assets/104348397/c30d9e93-8c1b-42de-8896-80ff2505d902

Android
https://github.com/Expensify/App/assets/104348397/0614bdb2-7348-4b62-b50a-265e3bba8518


Testing the check_text function using an image generator and a color generator

Due to the fact that I need to test the check_test function, and the number of images created by the generator is 16.777.216, I will test 2000 images with the same blue background, but different font colors

I'm closing the PL because it contains the old code


Feature Request?

Hi.
Any interest on adding capability to work with Investigations via Python with the API?
I am really enjoying your work with Log Search so thank you.

Hey thanks for the request, and sorry for the slow reply! I think this sounds like a great addition to InsightIDR4Py. I've just written to the folks at Rapid7 to request access to a development sandbox environment so I can continue the development of this tool. I will keep this issue open.

Hi @antmar90, just a heads up that I've added extensive capabilities to this project, including working with Investigations, saved queries, and threats. I've also added the project to the Python Package Index: https://pypi.org/project/InsightIDR4Py/. Check it out when you have a chance and let me know what you think!

Awesome, ill be sure to check it out this week!

would you be able to assist on setting up keyring in my Ubuntu WSL?


no colors in TTY

suplemon renders colors perfectly in a graphical terminal, yet it does not issue colors in a standard TTY on my machine. It may have to be double checked as my machine could be unusual.

Thanks, I'll look into this.

I checked this, and I have the same problem. I'll see how to fix this.

Apparently Suplemon tries to use better colors event when the TTY only supports 8 colors.
Suplemon simply tries to use colors that aren't supported (color number > 8). Will fix this.

My assumption was correct. Suplemon uses colors 11-17 wich won't work when only 8 colors are supported.

Now fixed in 0.1.2.
Just make sure your TERM variable is set to "xterm" when using a TTY.


Change -k management

Negative PIDs in list may cause clash after all numbers are though (long running experiments)
Move negative PIDs to the end of the list and break at the first occurrence <0. However, I need a guard for the list to not get too big.

Newer kernels have now 32bit pids, so number limit is not a problem anymore

68c4a94


Official image_picker vs image_picker_web

Hi, is this plugin still needed after the official image_picker added support for web through the getImage function? How do they differ? Thanks

Hi @mzimbres
congratulations, that you found the official implementation.
I wouldn't recommend to use this package, use the official Image_Picker. They implemented an interface of image_picker including the new: PickedFile.
Archiving this package due to this.
Thanks for your reminder :).


Git Repository view can't reload a package

Fixed in https://github.com/feenkcom/gt4git/commit/c56c9c2cc1a5c5839c286417b0328aba008df201


Workflow permission required when there are updates in github workflows

Refs. https://github.com/cucumber/cucumber-ruby-wire/runs/3440750908?check_suite_focus=true
If there are some updates in the github workflows as part of the changes about to be released, the action fails because of lacking some permissions:
To https://github.com/cucumber/cucumber-ruby-wire
 ! [remote rejected] release/v6.1.1 -> release/v6.1.1 (refusing to allow a GitHub App to create or update workflow `.github/workflows/release.yaml` without `workflows` permission)
error: failed to push some refs to 'https://github.com/cucumber/cucumber-ruby-wire'

What a pain.
From what I've read, we'd need to run this workflow/action using a PAT to work around this. I'm not sure of the security implications of that. I guess we could create a specific bot account with limited permissions. @runkalicious I'd like your advice on this one, if you can get your head around it.

From what I've read, we'd need to run this workflow/action using a PAT to work around this. I'm not sure of the security implications of that.

That is also what I found after investigating.
Maybe that would not be required if the action was part of the cucumber organization itself? Not sure.

I guess we could create a specific bot account with limited permissions. @runkalicious I'd like your advice on this one, if you can get your head around it.

We already have cuke-bot for that purpose I guess?

This error occurs when the action does something (e.g., push a new branch) that would cause another automated workflow to start (in this case, the actions defined in release.yml). The special workflow scope is needed for that, which is unavailable on the GITHUB_TOKEN, so a PAT is required (as the most common option).
This is discussed in detail (and really helped me), along with some other strategies, in docs associated with a popular PR action: https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs

This error occurs when the action does something (e.g., push a new branch) that would cause another automated workflow to start

Huh. So that's a good thing, because we wouldn't want to run the release workflow until this PR is merged.
Right now, we force push to the release/vX.Y.Z branch to point to the previous release tag each time this action runs. In reality this commit is unlikely to move, so we could change the action to only do that once. Even so, I guess even that initial creation of the release branch might trigger the release workflow as things stand.
So maybe we need to trigger the release workflow a bit differently, like on the PR merge or something.

Maybe we could continue to use the push event but have a conditional on the before and after commit shas, so we only run the workflow if they are different. I'm not sure whether that would be enough to prevent https://github.com/cucumber-actions/create-release/issues/1.

This also happens if the commit to be added to the release branch contains changes to workflow files. I think we need to just present the user with an error message showing them how to create the branches / PR by hand.

This also happens if the commit to be added to the release branch contains changes to workflow files.

Well, that was the initial report actually

I think we need to just present the user with an error message showing them how to create the branches / PR by hand.

👍