greedy lexer definition

For greedy lexer /aaa/, /a+b+z/, /b+x/ we will not be able to sample string aaabbx even though it would be in some sense "valid".
We start with all three lexemes as possible, after first a the /b+x/ is impossible, and after the first b we also reject /aaa/, and the remaining doesn't match /a+b+z/.
We require the lexer to be able to determine lexeme boundaries based on a single byte lookahead.
Now, it seems it wouldn't be a problem for a typical programming language lexer with /if/, /while/, etc and an identifier rule /[a-z]+/, so it's probably OK.
Also, for a lexeme like /"[^"]+"/ it doesn't matter if it's greedy or lazy, since it's "self-limiting"; this probably applies to lots of lexers.
The issue is to document all this, and possibly (unlikely) change the behaviour.
Thank you @v-jkegler for finding the issue
cc @hudson-ai

@v-jkegler says that in Marpa parser he keeps the most recent lexeme match; thus when we get to x which would normally fail, we can just fall back to the cached match, scan it, and then re-run the lexer on bbx; if there was no /b+x/ lexeme, this would be an error (correctly placed at x, since if x was z instead, we would be OK) and otherwise we're good.

And there won't be an error, since you use the Ruby Slippers to constrain your generated input to valid inputs.


added user testes

Is your feature request related to a problem? Please describe.
In the test.py file of the user model, we want to add tests.

@harsh-9in I would like to work on this issue.

assigned to @Akshi149


Update da-sqs-client to 0.1.68

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

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "uk.gov.nationalarchives", artifactId = "da-sqs-client" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "uk.gov.nationalarchives", artifactId = "da-sqs-client" }
}]

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

Superseded by #100.


libFirebaseCppApp-5.com::google::firebase::messaging::cpp::SerializedEvent::event_type() const

Please fill in the following fields:
Unity editor version: 5.6.4p2
Firebase Unity SDK version: 5.2.1
Firebase plugins in use (Auth, Database, etc.): Auth, Database, Messaging, RemoteConfig
Additional SDKs you are using (Facebook, AdMob, etc.): Admob, Facebook
Platform you are using the Unity editor on (Mac, Windows, or Linux): Mac
Platform you are targeting (iOS, Android, and/or desktop): Android and iOS
Please describe the issue here:
Here is our stacktrace. I'm sorry for that I couldn't reproduce. I already did insert code about check CheckAndFixDependenciesAsync before using firebase module.
Fatal Exception: java.lang.Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 19a9022f
Build fingerprint: 'samsung/goyave3gub/goyave3gsea:4.4.4/KTU84P/T116BUUBU0ARE1:user/release-keys'
Revision: '4'
pid: 2134, tid: 2899, name: GC_start_routin  >>> com.bitmango.go.lollipopmatch3 <<<
r0 72fe6c9c  r1 19a9022f  r2 00000000  r3 75554aa4
r4 72fe6c9c  r5 400b6e34  r6 75554b38  r7 72fe6be0
r8 75554b19  r9 000000a7  sl 74d28790  fp 72fe6c08
ip 0b534001  sp 75554ab0  lr 74c6aa45  pc 74c6ba56  cpsr 55544b2f
   at libFirebaseCppApp-5.com::google::firebase::messaging::cpp::SerializedEvent::event_type() const(libFirebaseCppApp-5.java:3)
   at libFirebaseCppApp-5.firebase::messaging::ProcessMessages()(libFirebaseCppApp-5.java:1660)
   at libFirebaseCppApp-5.firebase::messaging::MessageProcessingThread(void*)(libFirebaseCppApp-5.java:124)
   at libc.__thread_entry(libc.java:72)
   at libc.pthread_create(libc.java:240)

Please answer the following, if applicable:
Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)? I could no. Sorry.

Hi @HeeChangJung this was fixed in Unity SDK 5.6.0 (see https://github.com/firebase/quickstart-unity/issues/294 ).  There was a bug where it was possible for a corrupted message cache file to cause the application to segfault when it starts up.  Please give 5.6.0 or newer a try and please reopen if this is still an issue.


Fix PulseAudio driver for audio devices that report unknown number of channels

For example PulseAudio reports 12 channels for my Focusrite Scarlett 6i6 device, this PR forces to use stereo for this kind of audio devices.

I think that may explain the troubles I have with audio. I'm using a Fast Track Ultra, which has 8 inputs and outputs. Maybe the driver thinks it is a 7.1 surround system?

Yeah, that should be the problem. Maybe we can improve the detect_channels function so that it checks for the device channel map, I have a Fast Track Pro somewhere so I can use that for testing this :).


[cloud_functions] Public callable functions aren't executed and fail with exception UNAUTHENTICATED

Describe the bug
Recently created firebase callable functions are not executed, and fail with the following exception:

stack trace
E/flutter (29437): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: PlatformException(functionsError, Cloud function failed with exception., {code: UNAUTHENTICATED, details: null, message: UNAUTHENTICATED})
E/flutter (29437): #0      StandardMethodCodec.decodeEnvelope
package:flutter/…/services/message_codecs.dart:572
E/flutter (29437): #1      MethodChannel._invokeMethod
package:flutter/…/services/platform_channel.dart:161
E/flutter (29437): <asynchronous suspension>
E/flutter (29437): #2      MethodChannel.invokeMethod
package:flutter/…/services/platform_channel.dart:334
E/flutter (29437): #3      MethodChannelCloudFunctions.callCloudFunction
package:cloud_functions_platform_interface/src/method_channel_cloud_functions.dart:43
E/flutter (29437): #4      HttpsCallable.call
package:cloud_functions/src/https_callable.dart:33
E/flutter (29437): #5      _MessageBoxState.build.<anonymous closure>.<anonymous closure>
package:pocket_pro/lesson.dart:505
E/flutter (29437): #6      _rootRunUnary  (dart:async/zone.dart:1198:47)
E/flutter (29437): #7      _CustomZone.runUnary  (dart:async/zone.dart:1100:19)
E/flutter (29437): #8      _FutureListener.handleValue  (dart:async/future_impl.dart:143:18)
E/flutter (29437): #9      Future._propagateToListeners.handleValueCallback  (dart:async/future_impl.dart:696:45)
E/flutter (29437): #10     Future._propagateToListeners  (dart:async/future_impl.dart:725:32)
E/flutter (29437): #11     Future._completeWithValue  (dart:async/future_impl.dart:529:5)
E/flutter (29437): #12     _AsyncAwaitCompleter.complete  (dart:async-patch/async_patch.dart:40:15)
E/flutter (29437): #13     _completeOnAsyncReturn  (dart:async-patch/async_patch.dart:311:13)
E/flutter (29437): #14     DocumentReference.get (package:cloud_firestore/src/document_reference.dart)
E/flutter (29437): <asynchronous suspension>
E/flutter (29437): #15     _MessageBoxState.build.<anonymous closure>
package:pocket_pro/lesson.dart:504
E/flutter (29437): #16     _InkResponseState._handleTap
E/flutter (29437): #17     _InkResponseState.build.<anonymous closure>
package:flutter/…/material/ink_well.dart:1098
E/flutter (29437): #18     GestureRecognizer.invokeCallback
package:flutter/…/gestures/recognizer.dart:184
E/flutter (29437): #19     TapGestureRecognizer.handleTapUp
package:flutter/…/gestures/tap.dart:524
E/flutter (29437): #20     BaseTapGestureRecognizer._checkUp
package:flutter/…/gestures/tap.dart:284
E/flutter (29437): #21     BaseTapGestureRecognizer.acceptGesture
package:flutter/…/gestures/tap.dart:256
E/flutter (29437): #22     GestureArenaManager.sweep
package:flutter/…/gestures/arena.dart:158
E/flutter (29437): #23     GestureBinding.handleEvent
package:flutter/…/gestures/binding.dart:224
E/flutter (29437): #24     GestureBinding.dispatchEvent
package:flutter/…/gestures/binding.dart:200
E/flutter (29437): #25     GestureBinding._handlePointerEvent
package:flutter/…/gestures/binding.dart:158
E/flutter (29437): #26     GestureBinding._flushPointerEventQueue
package:flutter/…/gestures/binding.dart:104
E/flutter (29437): #27     GestureBinding._handlePointerDataPacket
package:flutter/…/gestures/binding.dart:88
E/flutter (29437): #28     _rootRunUnary  (dart:async/zone.dart:1206:13)
E/flutter (29437): #29     _CustomZone.runUnary  (dart:async/zone.dart:1100:19)
E/flutter (29437): #30     _CustomZone.runUnaryGuarded  (dart:async/zone.dart:1005:7)
E/flutter (29437): #31     _invoke1  (dart:ui/hooks.dart:267:10)
E/flutter (29437): #32     _dispatchPointerDataPacket  (dart:ui/hooks.dart:176:5)
E/flutter (29437):

This is similar to https://github.com/FirebaseExtended/flutterfire/issues/2374, but that was caused by outdated firebase-tools and upstream firebase changes that prevented public access to the callable.
Newly created firebase callable functions that are causing this error have public access, and work properly using the javascript sdk. Note that these functions are not executed when this exception is thrown, and no info is provided in the firebase logs.

Previously created functions can be updated and still work. If a function is deleted and recreated, it begins to cause the same issue.
To Reproduce
Steps to reproduce the behavior:

Create new firebase callable function (not a different function with an existing name)
Call the function from a flutter app

Expected behavior
Function executes
Flutter doctor
Run flutter doctor and paste the output below:

flutter doctor -v
flutter doctor -v
[✓] Flutter (Channel beta, 1.20.0-7.2.pre, on Linux, locale en_US.UTF-8)
    • Flutter version 1.20.0-7.2.pre at /home/j/flutter
    • Framework revision a2bde82fbd (5 weeks ago), 2020-07-18 15:16:35 -0700
    • Engine revision 60b269d898
    • Dart version 2.9.0 (build 2.9.0-21.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /opt/android-sdk
    • Platform android-30, build-tools 30.0.0
    • ANDROID_HOME = /opt/android-sdk
    • ANDROID_SDK_ROOT = /opt/android-sdk
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Android Studio (version 4.0)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[!] Android Studio
    • Android Studio at /home/j/android-studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (1 available)
    • Pixel (mobile) • FA68H0304357 • android-arm64 • Android 10 (API 29)

! Doctor found issues in 1 category.

Restarting my flutter project from scratch seems to have fixed this. I am not sure what I might have changed in my previous configuration that would cause this, though.


added ./wvtest to make test

Script to run all tests and linters locally from one script call.

Gonna merge both of these straightaway, feel free to discuss this further on IRC


[PT]The value of Connection properties is deleted

[Summary]
The value of Connection properties is deleted.
[Product name and version]
V16.1 GA1
[Client IDE]
OS      : Windows10
Browser : Edge(25.10586.0.0)
[Reproduce frequency]
always
[Bug Classification]
Short Name:PB-InvFun
Fundamental Function:No
Workaround:Yes
Severity:Minor
[How to reproduce]
1.Open the "Manage billing system".
2.Click "Add".
3."Billing system ID" is input.
4.Click "+" button four times.
5.The property value is input.
6.Click "-" button of top field.
[Expected result]
Clicked "-" button line is deleted.
[Observed result]
Clicked "-" button line is deleted.
And the value of other lines is deleted.
[Detail]
Clicked "-" button line is deleted and value of other lines is deleted.
An unrelated value should not be deleted.
[Message and logs]
nothing

[Build] 2016/08/18 verified FF, Edge, Chrome, IE11

The compare method on ConnectionProperty has been written with not all cases taken into consideration. Because of that identification of row, which has been removed, did not worked properly while removing object from tree collection. Proxy mechanism has been implemented to care about uniqueness and proper removal and addition of the rows.


Add a Motor device

Add a Motor device to picozero to support single motors which are driven by a motor controller.
Initial thoughts on constructor methods etc.
Constructor
__init__(self, forward_pin, backward_pin, pwm=True)

Methods
.forward(speed=1)
.backward(speed=1)
.stop()

Properties
.value # -1 to 1
.is_active # True if the motor is moving

Maybe I'm confused but they sound more like methods for a vehicle with two motors? I don't tend to think of a single motor in forward/backward or left/right terms. Clockwise and anti/counter clockwise? I've always liked the Scratch/LEGO this way/that way. Let's make sure that it's intuitive to build a device like a fan, windmill, turntable or pulley.
An option would be this style of API: https://en.scratch-wiki.info/wiki/Motor_Blocks. Direction (clockwise anti/counter-clockwise) could be included in the on method. Having methods that run the motor for a number of seconds is great for beginners (and most beginner APIs take this approach.) You would want an option to keep the motor running in a direction until you stop. A reverse method is also useful. Also it's useful to have a default direction when you don't care which way the motor goes, you just want it to go.

Added first prototype for Motor to the motor branch. https://github.com/RaspberryPiFoundation/picozero/blob/motor/picozero/picozero.py#L1114
I went with forward backward for the move methods. Suggest we gather opinions as alias as appropriate.
Added t and wait to forward and backward so you can specify how long it should move and whether it should wait before returning.
e.g.
    def forward(self, speed=1, t=None, wait=False):
    def backward(self, speed=1, t=None, wait=False):

Im thinking Motor need an on  or move method as to @tracygardner 's comment.

Also it's useful to have a default direction when you don't care which way the motor goes, you just want it to go.

on / move parameters?
def move(self, speed=1, t=None, wait=False)

speed would accept values between -1 and 1 - moving either "forward" or "backward"

Added a move method and created an alias between move and on and stop and off.

Also added tests

Fyi - as a coincidence of adding t and wait to PWMOutputDevice (so we can control motors in that way) you can now also do similar with the on method for other output devices e.g. LEDs, Buzzers, etc.
e.g. if you wanted to turn an LED on for 2 seconds and then have it automatically turn off you would use.
l = LED(1)
l.on(t=2)

Feedback that move should be renamed as start. That makes sense to me.

Release with v0.3.0

After renaming from move to start one should adjust the Recipe in the docs.
picozero.readthedocs.io
Once again, thank you for this great work!


Feature/add suport for zigbee tenky temphumid sensor

Is the same with zigbee_zb10wt_temphumid_sensor, only that the scale for battery is 1 instead of 10.

I think this is the same as the sensor in PR #1136


Filter out aliases in interpreter list?

Virtual env has python, python2 and python2.7 which as all the same thing. Perhaps we should drop aliases from the list?

We should also use
https://stackoverflow.com/questions/1871549/determine-if-python-is-running-inside-virtualenv
for virtual env detection, it works reliably in all cases


Cycle Unified update

I have a fork which updates to Unified.  It requires a PR (https://github.com/cyclejs/cyclejs/pull/552)
to be merged into cyclejs/history, but other than that it works.  I'll post the PR when (assuming) that history PR gets merged.  You can view/test the changes here: https://github.com/ntilwalli/cyclic-router
The above linked repo includes a cyclejs submodule that needs to be pulled in and switched to the cyclic-history branch for the 'npm install' to succeed.
The update introduces a breaking change in that the create function no longer takes options. You'll have to instantiate your history object externally (where you can apply your options).
Reviews/critiques are welcome.

@stevenmathews

Hi, I was also working on updating this to Unified but hadn't opened an issue first. Lesson learned :-)
Main difference is that I was requiring people to pass in a history driver but ran into problems when I didn't have access to the createHref method.

@stevenmathews adding a history driver which allows injecting the history object externally is exactly the PR I've submitted to @cycle/history.  See the linked PR in initial comment.

Another option would be not to depend on the history driver

@TylorS did you see the PR I submitted?  It's a trivial change/addition to @cyclejs/history and made updating this driver relatively simple.  I'd have to think about your suggestion but it sounds like that would mean replicating the logic in the history driver over here.  Is that correct?  Assuming the above PR gets merged, I'd lean towards keeping the current architecture since it's more compositional...

Released via https://github.com/cyclejs-community/cyclic-router/pull/186


Release/Revision Code_Change_Requests_Iteration.md

This issue was created to collect comments about the upcoming metrics release.
This thread is for comments about Code_Change_Requests_Iteration.md
GitHub location: https://github.com/chaoss/wg-evolution/blob/master/metrics/Code_Change_Requests_Iteration.md
See all release candidates: https://chaoss.community/metrics/

Name change revision - From "reviews to "change request"

Not part of the release - closing


Gracefully handle various errors as NoSuchProcess

Traceback (most recent call last):
File gprofiler/profilers/java.py, line 321, in make_application_metadata
File gprofiler/profilers/java.py, line 336, in get_jvm_flags_serialized
File gprofiler/profilers/java.py, line 342, in get_jvm_flags
File gprofiler/profilers/java.py, line 391, in get_supported_jvm_flags
File gprofiler/profilers/java.py, line 239, in run
File gprofiler/utils/__init__.py, line 300, in run_process
gprofiler.exceptions.CalledProcessError: Command ['/tmp/_MEIagB051/gprofiler/resources/java/asprof', 'jcmd', '--jattach-cmd', 'VM.flags -all', '12156'] returned non-zero exit status 1.
stdout:
stderr: Process 12156 not found

If we run jcmd and it exits with the message Process {pid} not found, and the PID is indeed dead, raise NoSuchProcess instead of this generic exception (so it's handled gracefully).

Similar:
Traceback (most recent call last):
File gprofiler/metadata/application_metadata.py, line 52, in get_metadata
File gprofiler/profilers/ruby.py, line 45, in make_application_metadata
File gprofiler/profilers/ruby.py, line 40, in _get_ruby_version
File gprofiler/metadata/application_metadata.py, line 40, in get_exe_version
File gprofiler/metadata/versions.py, line 29, in get_exe_version
File granulate_utils/linux/ns.py, line 259, in run_in_ns
File granulate_utils/linux/ns.py, line 247, in _switch_and_run
File gprofiler/metadata/versions.py, line 27, in _run_get_version
File gprofiler/utils/__init__.py, line 250, in run_process
File gprofiler/utils/__init__.py, line 149, in start_process
File subprocess.py, line 971, in __init__
File subprocess.py, line 1847, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: '/proc/8091/exe'

in Ruby _get_ruby_version (or rather, can be handle in get_exe_version).

Traceback (most recent call last):
File gprofiler/metadata/application_metadata.py, line 52, in get_metadata
File gprofiler/profilers/java.py, line 316, in make_application_metadata
File granulate_utils/linux/process.py, line 75, in get_mapped_dso_elf_id
File granulate_utils/linux/elf.py, line 42, in inner
File granulate_utils/linux/elf.py, line 28, in inner
File granulate_utils/linux/elf.py, line 98, in get_elf_id
File contextlib.py, line 135, in __enter__
File granulate_utils/linux/elf.py, line 62, in open_elf
FileNotFoundError: [Errno 2] No such file or directory: '/proc/12460/root//usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/server/libjvm.so'

The idea is - if the process truly just went down, gProfiler handles it gracefully and doesn't log a nasty error log.

Btw. this error:
Traceback (most recent call last):
File gprofiler/metadata/application_metadata.py, line 52, in get_metadata
File gprofiler/profilers/java.py, line 316, in make_application_metadata
File granulate_utils/linux/process.py, line 75, in get_mapped_dso_elf_id
File granulate_utils/linux/elf.py, line 42, in inner
File granulate_utils/linux/elf.py, line 28, in inner
File granulate_utils/linux/elf.py, line 98, in get_elf_id
File contextlib.py, line 135, in __enter__
File granulate_utils/linux/elf.py, line 62, in open_elf
FileNotFoundError: [Errno 2] No such file or directory: '/proc/12460/root//usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/server/libjvm.so'

should already be handled by:
https://github.com/Granulate/granulate-utils/commit/724d3e82446b172386fb397c446b250677dd8112
I checked manually if it works and it worked on my env. I guess your pid "12460" was alive but I am not sure what happened then. Maybe PID re-usage?

I checked manually if it works and it worked on my env. I guess your pid "12460" was alive but I am not sure what happened then. Maybe PID re-usage?

Perhaps PID reuse and perhaps the file was deleted (while being loaded in the maps of the process), for example due to JDK upgrade.
I am closing the issue now as 2 cases were solved in #803 and the last one, we're not sure anymore if relevant or not. Will re-open if it is..


Add Ribbon buttons and/or context menu buttons for the different application endpoints

The addin functionality is exposed via hash based urls for different functionality e.g. /#TermSearch for the termSearch component. All Endpoints need a respective UI element in Excel.
This would be much simpler when considering #8

For now Swate navigation is more streamlined with a central entry button and in-app navigation. As i think #8 is too much effort for what we gain i think we should also close this issue for now. See issue #86 for some minor additional info on this topic.

For now Swate navigation is more streamlined with a central entry button and in-app navigation. As i think #8 is too much effort for what we gain i think we should also close this issue for now. See issue #86 for some minor additional info on this topic.


feat(Buttons): Adds alternative (or secondary modes) styles to buttons and fleshes out stories

Overview

PR Checklist

[ ] Related to designs:
[ ] Related to JIRA ticket: ABC-123
[ ] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.17-alpha.d6f71b.0@codecademy/gamut-labs@7.16.5-alpha.d6f71b.0@codecademy/gamut@20.0.4-alpha.d6f71b.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.17-alpha.d6f71b.0@codecademy/gamut-labs@7.16.5-alpha.d6f71b.0@codecademy/gamut@20.0.4-alpha.d6f71b.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60134cc251f4171e62b91706--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://60134cc251f4171e62b91706--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.17-alpha.1214b0.0@codecademy/gamut-labs@7.16.5-alpha.1214b0.0@codecademy/gamut@20.0.4-alpha.1214b0.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.17-alpha.1214b0.0@codecademy/gamut-labs@7.16.5-alpha.1214b0.0@codecademy/gamut@20.0.4-alpha.1214b0.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60134e7d06b3051b06cd8d0c--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://60134e7d06b3051b06cd8d0c--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.38-alpha.33580a.0@codecademy/gamut-labs@10.0.4-alpha.33580a.0@codecademy/gamut@22.0.2-alpha.33580a.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602c2794700bf21c7b9a7373--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.38-alpha.9f873f.0@codecademy/gamut-labs@10.0.4-alpha.9f873f.0@codecademy/gamut@22.0.2-alpha.9f873f.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602c2ae1bfaabd009c2cc60e--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.41-alpha.eb6c56.0@codecademy/gamut-labs@10.0.7-alpha.eb6c56.0@codecademy/gamut@23.0.1-alpha.eb6c56.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602c2f9b4acc390ad2de7090--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.41-alpha.e7070c.0@codecademy/gamut-labs@10.0.7-alpha.e7070c.0@codecademy/gamut@23.0.1-alpha.e7070c.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602c33ed4b3b4500c1930927--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.41-alpha.c2cac6.0@codecademy/gamut-labs@10.0.7-alpha.c2cac6.0@codecademy/gamut@23.0.1-alpha.c2cac6.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602c3740d1bce800e951f153--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.41-alpha.df6d1f.0@codecademy/gamut-labs@10.0.7-alpha.df6d1f.0@codecademy/gamut@23.0.1-alpha.df6d1f.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602c39b49f0927008f9c91e8--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.41-alpha.8f439a.0@codecademy/gamut-labs@10.0.7-alpha.8f439a.0@codecademy/gamut@23.0.1-alpha.8f439a.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602c494d5b3a5218a0e33631--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.41-alpha.4ef4dc.0@codecademy/gamut-labs@10.0.7-alpha.4ef4dc.0@codecademy/gamut@23.0.1-alpha.4ef4dc.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602c4b3266cb0118c666a24d--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.41-alpha.0e6672.0@codecademy/gamut-labs@10.0.7-alpha.0e6672.0@codecademy/gamut-styles@8.0.2-alpha.0e6672.0@codecademy/gamut-tests@2.0.2-alpha.0e6672.0@codecademy/gamut@23.0.1-alpha.0e6672.0@codecademy/markdown-overrides@0.5.2-alpha.0e6672.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602c5094d1bce81c3a51f190--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.41-alpha.8ff3ee.0@codecademy/gamut-labs@10.0.7-alpha.8ff3ee.0@codecademy/gamut-styles@8.0.2-alpha.8ff3ee.0@codecademy/gamut-tests@2.0.2-alpha.8ff3ee.0@codecademy/gamut@23.0.1-alpha.8ff3ee.0@codecademy/markdown-overrides@0.5.2-alpha.8ff3ee.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602c55744b3b45268393094c--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.41-alpha.621f0f.0@codecademy/gamut-labs@10.0.7-alpha.621f0f.0@codecademy/gamut-styles@8.0.2-alpha.621f0f.0@codecademy/gamut-tests@2.0.2-alpha.621f0f.0@codecademy/gamut@23.0.1-alpha.621f0f.0@codecademy/markdown-overrides@0.5.2-alpha.621f0f.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602c66766ce2a34ac4df0f70--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.41-alpha.a84a45.0@codecademy/gamut-labs@10.0.7-alpha.a84a45.0@codecademy/gamut-styles@8.0.2-alpha.a84a45.0@codecademy/gamut-tests@2.0.2-alpha.a84a45.0@codecademy/gamut@23.0.1-alpha.a84a45.0@codecademy/markdown-overrides@0.5.2-alpha.a84a45.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602c6d2366cb013c7066a43c--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.41-alpha.c47d1f.0@codecademy/gamut-labs@10.0.7-alpha.c47d1f.0@codecademy/gamut-styles@8.0.2-alpha.c47d1f.0@codecademy/gamut-tests@2.0.2-alpha.c47d1f.0@codecademy/gamut@23.0.1-alpha.c47d1f.0@codecademy/markdown-overrides@0.5.2-alpha.c47d1f.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602c7e344aad500bf3753479--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.41-alpha.b64ddd.0@codecademy/gamut-labs@10.0.7-alpha.b64ddd.0@codecademy/gamut-styles@8.0.2-alpha.b64ddd.0@codecademy/gamut-tests@2.0.2-alpha.b64ddd.0@codecademy/gamut@23.0.1-alpha.b64ddd.0@codecademy/markdown-overrides@0.5.2-alpha.b64ddd.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602c98236f7bb82c3704a17a--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.42-alpha.aed65c.0@codecademy/gamut-labs@10.0.8-alpha.aed65c.0@codecademy/gamut-styles@8.0.2-alpha.aed65c.0@codecademy/gamut-tests@2.0.2-alpha.aed65c.0@codecademy/gamut@23.0.2-alpha.aed65c.0@codecademy/markdown-overrides@0.5.2-alpha.aed65c.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602ca6f46a016e3eda4301cb--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://602d1828eafe6900f534423d--gamut-preview.netlify.appDeploy Logs


Feedback on design

Hello team,
Like you I'm writing my own neural network library for a super niche language, Nim. I'm always interested into what other niche languages devs are doing in the NN domain (D, Elm, Elixir, Rust, Ocaml, Clojure ...) and I see that you are taking a completely different approach from most and from the state of the art (Tensorflow, PyTorch, Caffe, Mxnet) which I find interesting but also questionable.
Let's start with the interesting part.
I find your neurons/synapses approach interesting, is there any research or documentation that highlights the benefits of this modelization? I know that there was some research on modelling AI like a brain (visual cortex, sound, memory separated, a thinking part ...) that was completely put aside with the advance of gradient descent techniques, but I have a hard time getting my hands on that.
Especially I'm looking into the NEURON_TYPES = ["memory", "eraser", "amplifier", "fader", "sensor"] and the Synapse type and what would be future applications that would be eased by that approach?
Questionable design
While I find the neurons/synapses approach interesting, I have several reserves considering your current implementation, some are fixable but other might require a complete rewrite:

No matrix, ndarrays, tensor type. You probably want to define custom matrix types with common functions instead of having all layers define its own loops.

Storing by one neuron at a time is inefficient. I don't think the current architecture can scale to networks with millions of parameters. I don't know how Crystal classes work but if they allocate on the heap each access to a neuron will require pointer dereferencing. The main bottleneck in NN is memory access and that will make it much worse.
Furthermore, this is unmappable to BLAS, Cuda or OpenCL for efficient computations.

Synapse will be a performance bottleneck, the connection of neurons between 2 fully connected/dense/linear layers can just be represented as a matrix multiplication both for the forward and the gradient.

In the roadmap ?
Depending on your use case (research vs production), you might want to add a way to slice the data.

Hi @mratsim,
Thank you for taking the time to go over the code, it is very appreciated.
First a few words regarding SHAInet. It is a free-time project, happily hosted by NeuraLegion that was created as part of some internal research. As mentioned, we started it with research in mind, rather than production, and just kept going, also thanks to members of the community.
We decided to share it with the community as an open-source project, in the hope it will grow into something useful.
Regarding the interesting parts:
Personally, I'm a biologist (M.Sc), and wanted to try and implement some inspiration from the biological world into this project. In addition to that, we wanted to try an approach to NN using object-oriented modeling instead of matrices. The main reason behind that was, as you keenly noticed, to try new types of neurons aiming for more robust learning (if possible) or at least have more fine-tuned control over the manipulation of each neuron (which is difficult using a matrix-driven approach).
A little about Neuron types. In biological systems, there are different types of neurons with different roles that can interpret the same signals differently. A crude example of that would be, a hormone (signaling molecule) can have different, even opposite, effects on different neurons (or many other types of cells to be more accurate). Although we don't understand how the brain works, we do know that the variety is critical for the extremely complex functions the brain can perform.
So, with that in mind we thought to try and introduce similar logic to NNs. Here is a bit of what we thought of doing with different neuron types:

Memory - Basically a standard container for the numbers in the NN, a matrix of these neurons is the same as just a regular number matrix. This neurons' job is to store information and pass it forward.
Eraser - Pretty much the opposite of a memory neuron. The idea is that these neurons with get information, but instead of passing it onward as a memory neuron would, they erase some of the data (based on some specific criteria) before passing it. It might sound similar to something like, ReLU, but the idea was that we could combine different such neurons in each layer (with the purpose of more robust behavior)
Amplifier - Quite simple. Get a weak signal, amplify it.
Fader - Opposite from Amplifier.
Sensor - This one is tricky, the idea is that it will be outside the regular network, and connect to the output, or other layers, directly and introduce some manipulations on other neurons based on a more "big picture" view. This idea needs some more polishing of however.

Now, with those ideas in mind, the strongest point we were trying to achieve was to increase internal layer complexity without the necessity of pre-design. For example, imagine that a layer could be constructed with multiple types of neurons in a random distribution within the layer, potentially providing more robust behavior than "specialized" layers.
Regarding performance
We started with the assumption of a research project, and performance wasn't in mind, we quickly noticed however that Crystal using LLVM optimizations can run with this design style faster then another CPU bound NN lib like FANN for example.
This for us is more then enough right now, we do acknowledge that in some future we might hit the "this is too slow for real wold usage" because there is no GPU support, and so projects like jet have emerged.
We don't totally dismiss the idea of having GPU support in SHAInet but due to our lack of Matrix based logic it might be hard to add.
Some more thoughts
Regarding your suggestion of data slicing, we agree that a more established Data class is needed. We had some help with this from the community, we do however want to improve this point further.
As a final note, this being a "free time open source project", the progress depends on our free time :)
We try our best with improving and implementing, but we are very welcoming of any type of help.

Since my questions were answered I'm closing this. Thank you again.


Add configuration parameter

Add parameter to allow the configuration (i.e. debug or release) to be specified that should be updated with the given specifier.  If not set, all configurations are updated (current behavior).

Just wanted to note that I did see this. Super busy at the moment though, so it might be a few days before I can pull it in, test it, and publish the updated gem.

Sorry that took so long.


Develop

Type of MR:

[x] Feature
[ ] Fix
[ ] HotFix

Small description:

CI updated to upload coverage to codecov
Badge added to README

Checklist:

[x] My code follows the styleguides of the project (successfully pass linters)
[x] I tested my code.
[ ] I commented/docummented my code in a way that complex parts are explained.
[x] If required, i updated project's README file.
[ ] I added/updated tests that tests my changes in code.
[x] All previous and new tests pass.
[ ] I commit any new dependency.
[ ] I updated UML diagram in confluence if any model was modified in this MR.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@9c6a34d). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #37   +/-   ##
=======================================
  Coverage        ?   99.63%
=======================================
  Files           ?       32
  Lines           ?     1101
  Branches        ?      260
=======================================
  Hits            ?     1097
  Misses          ?        4
  Partials        ?        0

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Error while retrieving firmware file

Using 'COM3' as serial port.
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Detecting chip type... ESP32
Connecting...
Chip Info:

Chip Family: ESP32
Chip Model: ESP32-D0WDQ5-V3 (revision v3.1)
Number of Cores: 2
Max CPU Frequency: 240MHz
Has Bluetooth: YES
Has Embedded Flash: NO
Has Factory-Calibrated ADC: YES
MAC Address: 24:DC:C3:C2:9D:58
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 1500000
Changed.
Flash Size: 4MB
Unexpected error: Error while retrieving firmware file 'https://raw.githubusercontent.com/Jason2866/ESP_Flasher/factory/bootloader/esp32/bin/bootloader_dout_40m.elf': 404 Client Error: Not Found for url: https://raw.githubusercontent.com/Jason2866/ESP_Flasher/factory/bootloader/esp32/bin/bootloader_dout_40m.elf

Tasmota does not use mode dout for esp32

With a factory binary it worked thank you.
However, i'm about to tasmotize a zb-gw03 with Ethernet on it. The binary that i was able to flash does not support the ethernet port.
I've seen you have some tasmota binaries, can you suggest one that supports ethernet as well on zb-gw03 using for Zigbeebridge.

It works! Thank you!


@clerk/nextjs logs are truncated on netlify

[x] I have reviewed the documentation
[x] I have searched for existing issues
[x] I have ensured I am on the most recent version, and checked the changelog for that version
[x] I have provided the Frontend API key from my application dashboard: pk_test_Y2hlZXJmdWwtbWFtbW90aC00OC5jbGVyay5hY2NvdW50cy5kZXYk
[ ] I have provided a minimal reproduction or replay recording below

Brief Summary of the Issue
I'm unable to view the full output of the debug logs on netlify as netlify seems to cap the length of it. This is because the package emits all logs on one line instead of one per debug statement.
It would be great if this decision was either reconsidered, or a logger instance of our own could be passed in to workaround this problem. It seems to be a problem in vercel environments too considering the truncate function.
Minimal Reproduction or Replay

We require either a minimal reproduction or a replay recording to be able to address a bug report. Any issues lacking a minimal reproduction or replay recording will be closed.

This line in the debug logger causes all log lines to be emitted in one console.log
I appreciate that netlify's handling is out of your control, but the decision to combine all logs into one call has made for an extremely frustrating debugging experience
A repro/recording here really wouldn't tell you anything more than the ticket/screenshot
See the logs here are truncated before the headers have even finished printing (this is datadog, but it's the same in the netlify log streaming UI)

Patching the package (using pnpm patch<EMAIL_ADDRESS>and to make each .debug() call trigger a console.log immediately allows me to inspect all logs, and finally see the auth state log section

Browser/OS
N/A
Package + Version

[x] @clerk/nextjs 4.23.0

Thanks @BRKalow! I ran into the same issue yesterday so glad to see it’s already been fixed for a while


Support limited substitution syntax in env var values

I think we should support a limited substitution syntax for env var values.  The specifics:

Should support $VAR and ${VAR}
Resolution should happen after runtime-resolved variables are resolved (ie, fieldRef for EnvVarSource)
Should only support kubernetes vars, ie:

Service env vars
Env vars in the container's env

@smarterclayton @thockin

Context is that docker is not doing this in 1.6 for env, it's almost impossible to actually build URLs to kube services using the env var mechanism, and command + args is horribly ugly and I die a little time everytime I make someone use it.
Here's a relatively real world example of a server running in a namespace that needs to publish its public URL (so that it can provide it for others to access):
https://github.com/smarterclayton/origin/blob/31a74c16259c7f576417990882cbc8696d3b50b6/examples/gitserver/template.yaml
          env:
          - name: PUBLIC_URL
            value: "http://gitserver.myproject.local:8080"

I can't use DNS or someone can only run this into one namespace (whichever one I hardcode).  I can't use service ports because I can't expand the service env var in the local step.  Ideally I'd be able to do:
          env:
          - name: PUBLIC_URL
            value: "http://${GITSERVER_SERVICE_HOST}:${GITSERVER_SERVICE_PORT}"

or
          env:
          -
          - name: PUBLIC_URL
            value: "http://gitserver.${POD_NAMESPACE}.local:${SERVICE_PORT}"

@thockin, @smarterclayton -
Isn't this kind of a 1st step into configuration language space here?

Technically having ENV vars is probably that step.  This is the next logical step.  I'm happy to draw this line hard, because we already have tools for describing the structural relationships (selectors, objects, etc).  I'd argue more about this is purely to bring workloads into Kube and stop people from creating wrapper layers.  But that's a line in my head, and I'm sure everyone has said that before.
----- Original Message -----

@thockin, @smarterclayton -
Isn't this kind of a 1st step into configuration language space here?

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/issues/7739#issuecomment-100316407

I agree with @smarterclayton and @pmorie that finding an easy solution for automatic ENV variable resolution is something good for v1. I've worked with a number of clients who are just starting out with k8s and almost every one of them has hit an issue around this.
Sometimes it involves confusion around the k8s command/args to docker cmd/entrypoint mappings, but that is another topic.
IMHO, this is one of those little things that can make working with k8s smooth and enjoyable.

It's also muddled by Docker's bizarre "sometimes it is a shell, sometimes
not" semantics.  I agree it is pretty obvious, the question I have is
mostly timeframe.
On Fri, May 8, 2015 at 11:57 AM, BC Broussard<EMAIL_ADDRESS>wrote:

I agree with @smarterclayton https://github.com/smarterclayton and
@pmorie https://github.com/pmorie that finding an easy solution for
automatic ENV variable resolution is something good for v1. I've worked
with a number of clients who are just starting out with k8s and almost
every one of them has hit an issue around this.
Sometimes it involves confusion around the k8s command/args to docker
cmd/entrypoint mappings, but that is another topic.
IMHO, this is one of those little things that can make working with k8s
smooth and enjoyable.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/7739#issuecomment-100327617
.

fwiw I was planning on looking into https://github.com/hashicorp/hcl & https://www.terraform.io/docs/configuration/syntax.html in the post 1.0 timeframe to address some other orthogonal issues, but they related to these set of problems.
However,  I think I'm in agreement with @thockin on timeframe, because it would be difficult if we put something out-there only to deprecate it shortly after.

It's also muddled by Docker's bizarre "sometimes it is a shell, sometimes not"
semantics.

IMO this is one of the worst pieces of the docker API.
On Mon, May 11, 2015 at 11:11 AM, Timothy St. Clair <
<EMAIL_ADDRESS>wrote:

fwiw I was planning on looking into https://github.com/hashicorp/hcl &
https://www.terraform.io/docs/configuration/syntax.html in the post 1.0
timeframe to address some other orthogonal issues, but they related to
these set of problems.
However, I think I'm in agreement with @thockin
https://github.com/thockin on timeframe, because it would be difficult
if we put something out-there only to deprecate it shortly after.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/7739#issuecomment-100939206
.

Resolved by #7936 and #8149

cc @ghodss @jackgr


How about CanFulfillIntentRequest?

Hi!
How about CanFulfillIntentRequest?
Tnx.

Hi, good point. Library is currently not actively maintained, and doesn't support any features released since yearly 2018.
Any PRs to improve support of latest features are welcome!


haskellngPackages: Should env provide cabal-install?

The new haskellngPackages gives us the very nice env attribute, and when combined with cabal2nix --shell it's trivial to enter a build environment for projects. However, the build environment doesn't contain cabal itself, which means that we have to manually edit the shell.nix to bring that tool in.
@peti, what do you think about having env always depend on cabal-install?

IMHO it's better to install cabal-install into your normal profile and to start nix-shell without --pure. That works fine for me, and the generated environment doesn't befenit on the --pure flag. Adding cabal-install into the generated expression would cause all kinds of trouble for packages that are dependencies of cabal-install, obviously, and I woudn't know to resolve that.
I suppose we could add some boolean flag to the generated shell.nix file, say withCabal, and include cabal-install when the user specifies that flag on the command line. Then the choice is up to the user ...

I see here you demonstrate just building Setup.hs, but for day-to-day Haskell development this isn't particularly standard.

Heh, nice timing! Using a non-pure enivorment could work, but I've had problems in the past with other Haskell executables I use interfering with my build env. However, now that we're not relying on the wrapper - maybe all those problems are solved?

Yes, those problems are solved. The nix-shell environment does essentially nothing except prepending the new ghc binary to your $PATH so that it's found before the one you normally use.

Awesome, in that case lets close this - I'm happy with that solution. Thanks for helping (and all the awesome work you're doing at the moment!)

You're welcome. :-)


[c#] Exclude files in output dir from implicit codegen

Bond's implicit code generation includes any .bond files in the
project's output directories (e.g., bin/ or
obj/debug/netstandard1.0). Some projects that copied .bond files into
their output directories would then encounter codegen issues when gbc
was run on these .bond files implicitly, particularly during incremental
builds.
Omit any .bond files that match $(DefaultItemExcludes) or
$(DefaultExcludesInProjectFolder) from implicit codegen.
Add a regression codegen test.
This behavior now matches what the .NET SDK does for .cs files.

The person who was hitting the underlying bug has tried a preview release of the package and confirmed the fix is working. Merging now.


Can't deploy application or retrieve existing applications in WasmCloud

I am trying to deploy a new application in the wasmcloud using the following command
wash app deploy wadm.yaml
It gives the following error,
Error making model request: no responders: no responders
The same error appears when I try to list down the existing application.
wash app list
Error making model request: no responders: no responders

What can be the reason for this

Hey @hasinthajanaka this looks a lot like https://github.com/wasmCloud/wasmCloud/issues/2204 where @thomastaylor312 answered, I don't mind where we track this issue but once you give it a try let's either continue in #2204 or here 🙂

Closing in favor of #2204


Update Ignition rosdep keys

Originally on #24934 we added rosdep keys that matched the debian package names as recommended by the reviewers: https://github.com/ros/rosdistro/pull/24934#discussion_r427444961.
However, this makes usage of these keys complicated when compiling Ignition libraries (pure CMake packages) and ROS packages together in the same colcon workspace (our team often does this).
Here's an example that can be in the same colcon workspace as Ignition:
  <depend>ignition-msgs5</depend>
  <depend>ignition-transport8</depend>

However, the above doesn't work with rosdep install. Ideally, we'd declare Ignition dependencies once, and they would work with either rosdep or colcon.
Therefore, I propose here that we change the -dev keys to match the CMake project names.
Let me know if this is a big taboo and we can discuss alternatives.
CC @j-rivero @sloretz @dirk-thomas

Sounds reasonable to me. (To pass CI the renamed entries must be moved into alphabetical order.)

@tfoote has been the driving editorial force behind rosdep keys. I'd like to give him the opportunity to review or explicitly abstain from doing so.

you do not have the ability to explicitly call out the runtime libraries

So... I left the lib* keys in, so people can still use those for runtime dependencies. And I turned the lib*-dev keys into ignition-*. Not sure if it was a good idea, the assumption is that when compiling from source, you often want the -dev packages.

That's a good compromise.


Transform SQL Server preview documentation into permanent documentation

https://www.prisma.io/docs/concepts/components/preview-features/sql-server needs to be replaced with permanent documentation across all docs when we want to go GA with SQL Server.

Additional information:

https://github.com/prisma/prisma/issues/4039#issuecomment-860564629

When connecting to Azure SQL, you need to escape at least the user in the connection string (because of the "@" between username and server name). Figuring out how to do that in JDBC connection strings took a bit of time (put the value in curly braces), as that wasn't needed with the SQL server we used locally for development.


[contrib] Stop building ICU tools to fix gcc Envoy build

Commit Message:
Clang and gcc are subtly different and it seems to be the cause of contrib build failures reported in
https://github.com/envoyproxy/envoy/issues/31807 (e.g., when using gcc to link the final binary it results in a bunch of essential for gcc C++ symbols like __gxx_personality_v0).
This issue could be addressed (i.e., Envoy can be built using gcc). However, given that it only happens when we build ICU binary tools and those tools aren't used by Envoy directly or the build system, we can just not build them and address the issue this way.
Additional Description:
It addresses the immediate problem reported in https://github.com/envoyproxy/envoy/issues/31807, but by itself it's not enough to fix gcc builds, so I'm not marking this PR as fixing that issue because of that, since ultimately we want to achieve successful gcc builds.
Risk Level: Low
Testing: building contrib and non-contrib Envoy using --config=gcc and --config=docker-gcc
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Argh... It seems like we have tests that need those tools that I overlooked. Closing this PR and will look for a different solution.


why must read os.Args?

When I use go-micro client as a part of my project，I don't want to init it with my cmd args.
I must add os.Args=os.Args[0:1] before service init. Otherwise, it will exit without panic.
Do I have a parameter to skip os.Args?
I am a novice, if there is anything wrong, please forgive me.

If you're only using the client you don't need to call service.Init. You can also initialise values yourself by passing as options.

sorry,It looks like I used service.Init incorrectly. I should just use micro.NewService() with my values.
Thank you very much!


Incorrect device_class for D230 doorbell battery sensor.

Description
I have a Tapo D230 doorbell connected via an H200 hub. The integration is exposing all its attributes correctly except that the sensor.xxxx_battery battery level percentage is being given a device class of 'mdi:battery' and not 'battery' and so is not showing up in battery-filtered cards, automations etc. For now I've corrected it in my customization YAML file.
Reproduction Steps

Install the Tapo app on Android device.
Add the H200 hub.
Add the D230 doorbell.
Install Tapo: Cameras Control from HACS.
Add the hub to the integration - doorbell auto-detected and configured.
Check in Developer Tools->States -- device_class shows as 'mdi:battery'.

Expected behavior
The device class should be the string 'battery' not 'mdi:battery'.
If applicable, add error logs.
No response
Device Firmware
D230 1.1.14, H200 1.3.1
Integration Version
5.4.18
Using stream component
Yes
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
Yes
HASS Environment
Vanilla HAOS image on x86_64 PC.
Search for similar issues
Yes
Additional information
Core 2024.5.3, supervisor 2024.05.1, OS 12.3, frontent 20240501.1.

Problem is a one-liner in the TapoBatterySensor class constructor.
https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/blob/88949f32742659fd8ba805d00b8bfb63c87d2681/custom_components/tapo_control/sensor.py#L215
I'll try to find time to clone, fix & pull request but I'm busy elsewhere so might not be soon.

Fixed in https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/releases/tag/5.4.24


New SSL API to replace redisSecureConnection().

Just FYI ,I integrated the new API in a project and it looks great. I found a minor issue, but unrelated with this PR. Thanks!

@michael-grunder Can you have a look as well please? It should be fairly trivial but I'd be happy for another set of eyes on this...
I guess over time we may want to improve OpenSSL defaults for better security, OpenSSL compatibility and sanity (or, more realistically, just any two of those).

@yossigo Happy to take a look.  I'll run the new API through the allocator stress test I created for #800 as well.
@carlosabalde Your issue should be fixed in f5d258504333d5598428853b7293e26814f65acf.  Let me know if it's still causing issues.

Merged, thank you @yossigo!


Demo with typeahead.js

:warning: This PR is above jquery-autocomplete! :warning:
Issue: same as https://github.com/novafloss/django-agnocomplete/pull/10

it looks a bit ugly here: is it normal or can we improve the look'n'feel?

all right, it looks like typeahead is ugly because of the utf8 chars in fixtures. We'll try to introspect into that at some point.


marconi CLI list index PLT-599

Add optional cli param to specify list of utxo script addresses to index in the Address->Utxo indexer. and filter for those indices only.  See PLT-862 for additional detail

Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[ ] Formatting, PNG optimization, etc. are updated

PR

[x] Self-reviewed the diff
[ ] Useful pull request description
[ ] Reference the ADR in the PR and reference the PR in the ADR (if revelant)
[x] Reviewer requested

Did you try out the CLI command on mainnet?


New supported language Portuguese (Brazil)

This commit include a new support for brazilian portuguese language.

Muito obrigado ;)

Pillars not have pt_BR :)

Disponha!


The approximate training time for the video generation model

Hello,
Thank you for your excellent work! I would like to ask about the approximate training time for the video generation model. I followed the instructions from this link and used the command scripts/dist_train.sh 8 runner=8gpus_t +exp=rawbox_mv2.0t_0.4.3 for training. However, it took me over 30 hours to train for 5000 steps. I would like to know if this is normal because it was mentioned that approximately 80,000 steps are needed for training, which would take a considerable amount of time.
Thank you very much for your help!

On our V100 servers, it takes about 13h for 500 steps. Please consider using the map cache as described here for speedup and use as many CPU workers as you can.

So may I ask how long did the baseline model provided in the pic take to train for roughly? I also wonder is the baseline model trained with 61 frames with sweeps and generated annotations or just 16 frames?

It takes about 10 days to train with 8V100. If you have more GPUs or larger GPU mem, the training should take shorter time by adjusting the batch size and learning rate.
The baseline model only train with 16-frame generation. We train another model for 61-frame generation with the new configuration.


[REVIEW] OpenSource for Everyone

Project link
https://github.com/PulkitSinghDev/OpenSource-for-Everyone

I quickly reviewed the repository, and overall it looks good, except for those weird skeletons 😅 IMO, they should be removed.

Hey @Panquesito7 , thanks!
I have added those skeletons just for making folks more friendly with the repository

Consider removing the package and hiding the package

Looks good

Hide wiki if not using
Add security policy: https://github.com/PulkitSinghDev/OpenSource-for-Everyone/security
Add contributing guidelines (Check out: https://github.com/PulkitSinghDev/OpenSource-for-Everyone/community)
Add PR template (Check out: https://github.com/PulkitSinghDev/OpenSource-for-Everyone/community)

Looks good, reviewed on live stream https://www.youtube.com/watch?v=afo0E5RrJYA

suggest hiding packages if not used
missing contributing file
hide wiki if not being used


CFP: Include CiliumNetworkPolicy to ensure connectivity between hubble-ui and hubble-relay

Hello. I deploy the Cilium Helm chart with policyEnforcementMode: always, and it would be convenient to optionally deploy CiliumNetworkPolicy to ensure connectivity between hubble-ui and hubble-relay.

apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
  name: hubble-relay
  namespace: kube-system
spec:
  endpointSelector:
    matchLabels:
      k8s-app: hubble-relay
  egress:
    - toEntities:
        - host
        - remote-node
      toPorts:
        - ports:
            - port: "4244"
              protocol: TCP
  ingress:
    - fromEndpoints:
        - matchLabels:
            k8s-app: hubble-ui

apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
  name: hubble-ui
  namespace: kube-system
spec:
  endpointSelector:
    matchLabels:
      k8s-app: hubble-ui
  egress:
    - toEndpoints:
        - matchLabels:
            k8s-app: hubble-relay

/assign


Gradle annotation processor and BOM support does not work correctly with Eclipse or Visual Studio Code

Originating issue: https://github.com/micronaut-projects/micronaut-profiles/issues/124
We are trying to migrate Micronaut from the Spring Dependency Management plugin and the net.ltgt.apt plugins for annotation processing however IDE import is currently broken.
Expected Behavior
You should be able to import a Micronaut project into Visual Studio Code or Eclipse with the BuildShip plugin and run the application and and tests without issue without having to delegate to Gradle.
Current Behavior
IDE import is broken since no .factorypath is built when running ./gradlew eclipse which sets up the annotation processors. Note this this works fine with Maven.
Context
It makes it hard to recommend moving away from existing plugins to built in features if IDEs are not supported correctly.
Steps to Reproduce
See https://github.com/micronaut-projects/micronaut-profiles/issues/124

This is unrelated to BOM support. Gradle has never generated a factorypath, so using the net.ltgt.apt is still necessary.
Marking as a duplicate of https://github.com/gradle/gradle/issues/2300

@oehme as @graemerocher has pointed out in https://github.com/micronaut-projects/micronaut-profiles/issues/124 the issue stems from a difference in UX from the POV of the developer that performs a migration from Gradle 4.x, Spring's dependency-management plugin, and the net.ltgt.apt to Gradle 5.x only.
You may be right, the underlying cause is not BOM support but there's a clear difference in behavior when Gradle's annotation support and BOM support are used instead of third party plugins. The build file linked in https://github.com/micronaut-projects/micronaut-profiles/issues/124 is not final, as platform suggestions are only applied to  compile  and not annotationProcessor. You might remember we briefly discussed this on Slack and you mention one alternative would be configurations.configureEach { /* apply it */ } without actually showing how the applying code would look like. But in any case, the provided build file works on the command line perfectily well, but it leads to failure on IDEs, which is why @graemerocher reached out.
The point of this issue is to figure out if we're missing something from the Gradle side, besides contacting IDE vendors to let them know what they may be missing to handle Gradle 5 correctly.
Is it documentation that we're missing? Hope so. Is it engineering effort? Let's find out.

But in any case, the provided build file works on the command line perfectily well

It doesn't, it the wrong version of the annotation processor on the command line too. You just notice that more acutely in the IDE.
If this issue is just about documenting how to apply a BOM for annotation procesors, then we should change the title. There is no problem in BOM support, it works as intended/advertised.


fix(table): 明细表数据为空时添加兜底

👀 PR includes
明细表数据为空时，滚动坐标、计算 index、dataset 的逻辑添加兜底。防止报错。

:tada: This PR is included in version @antv/s2-v1.4.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add support for TLS client authentication

This PR can be closed in favour of #408

closing this, as #408 provides this functionality


Apple TV remote touch pad not working when build with Xcode 15, but working fine when building with Xcode 14.3.1

Description
I have recently updated my machine, so I had to install Xcode 15. But when I tried to use the touchpad on Apple TV remote. I noticed that the touchpad is getting hanged at the input keyboard and unable to move further.
But I can confirm this issue does not happen in Xcode 14.3.1, I ran the same project on my old machine. it's working fine [there](url)
React Native Version
<EMAIL_ADDRESS>Output of npx react-native info
System:
OS: macOS 14.1
CPU: (10) arm64 Apple M2 Pro
Memory: 483.08 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.18.2
path: /opt/homebrew/opt/node@18/bin/node
Yarn:
version: 1.22.19
path: /opt/homebrew/bin/yarn
npm:
version: 9.8.1
path: /opt/homebrew/opt/node@18/bin/npm
Watchman:
version: 2<IP_ADDRESS>
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.14.2
path: /Users/mehthabmusambil/.rvm/gems/ruby-2.7.4/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.0
- iOS 17.0
- macOS 14.0
- tvOS 17.0
- watchOS 10.0
Android SDK: Not Found
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10811636
Xcode:
version: 15.0.1/15A507
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.21
path: /usr/bin/javac
Ruby:
version: 2.7.4
path: /Users/mehthabmusambil/.rvm/rubies/ruby-2.7.4/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native: Not Found
react-native-macos: Not Found
react-native-tvos:
installed: 0.72.6-0
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
Steps to reproduce
Try to build the tv app in Xcode 15

Snack, code example, screenshot, or link to a repository

Interesting... I just built a demo app with text inputs using RNTV 0.72.6-0 and do not see an issue on the Apple TV simulator. I'm running Xcode 15.0. Maybe 15.0.1 changed some behavior in the simulator. I'll do further testing, but not sure I can help with this.

@douglowder . Could you please check in physical device
thank you

Same here, Xcode 15+, reproduces only on physical Apple TV. Xcode 14 works fine. It can be reproduced using the attached code snippet, press on buttons, and at some point focus will get stuck on one of them
import React, {useState} from 'react';
import {Text, TouchableHighlight, View} from 'react-native';

const Button = ({color = 'red', setColor, currentColor}) => {
  return (
    <TouchableHighlight
      onPress={() => setColor(color)}
      style={[
        {
          backgroundColor: 'black',
          marginBottom: 20,
          borderRadius: 5,
          paddingLeft: 40,
        },
      ]}
      underlayColor={'grey'}>
      <Text style={{color: 'white', fontSize: 36}}>
        {color} {color === currentColor ? '  V' : ''}
      </Text>
    </TouchableHighlight>
  );
};

const App: () => React.ReactElement = () => {
  const [color, setColor] = useState('black');
  return (
    <View style={{flex: 1, backgroundColor: color, paddingHorizontal: 240}}>
      <Button currentColor={color} color="red" setColor={setColor} />
      <Button currentColor={color} color="green" setColor={setColor} />
      <Button currentColor={color} color="blue" setColor={setColor} />
      <Button currentColor={color} color="purple" setColor={setColor} />
      <Button currentColor={color} color="orange" setColor={setColor} />
      <Button currentColor={color} color="yellow" setColor={setColor} />
      <Button currentColor={color} color="grey" setColor={setColor} />
      <Button currentColor={color} color="silver" setColor={setColor} />
    </View>
  );
};

export default App;

Test on a real device. I found two things:

The problem is reproducible on a real device if building a release build
If I instead do a debug build (but force building main.jsbundle and don't use packager), then the application works correctly on the real device.

So there is some issue with Xcode 15, specifically regarding release builds. Will continue testing this.

I'm also looking at this note in the tvOS 17 changelog from Apple, which calls out some changes in the default behavior of gesture recognizers.
https://developer.apple.com/documentation/tvos-release-notes/tvos-17-release-notes#UIKit

Thank you @douglowder for checking it out

@misha-belokon @mehthabux could you try out the patch in #601 for non-Fabric apps, and see if that fixes the issue for you? It does appear to work for me with a tvOS 17.1 device.

@douglowder Thank you! I can confirm that the provided patch fixes the issue for me. Xcode 15.0.1, tvOS 17.1


Add support for Unit structs/enums ?

Followup from #5
If Selector attribute is provided (and maybe Parse), it may be possible to parse a Unit struct/enum. Something like:
#[nom(Selector="u8")]
pub enum U {
  #[nom(Selector="0")]
  Foo,
  #[nom(Selector="_")]
  Bar
}

Remark: the annotations/structure declaration ratio is not very efficient

Additional note: the example above is equivalent to a From implementations, with extra steps ...

Doing some cleanup, so closing:

fieldless enums (example from this issue) are supported using selector
fieldless enums with a #[repr(<type>)] are implemented in f68928426a32490f903465557b0e014b0909a4c4
enums with values in variants are already supported (named and unnamed)


chore(shell.nix): remove HISTFILE

Some users use zsh, so we shouldn’t break their history with this
hack.
If you want a good shell that understands locality, try using fish, it
will prefer commands that have been run the same directory.

[ ] Amended the changelog in release.nix (see release.nix for instructions)

failures from unrelated lints fixed in other commits.


documentation not consistent with behavior

After getting the November update, I created a new notebook, connected it to SQL, & added a code block, as per the top of this page... when I clicked Run, I expected it to run the query & show results, as described in this page... instead I got a rotating arrow indicator labelled "PowerShell" in the status bar & nothing in the notebook... after a minute I killed it, opened a new Query, pasted in the same query and hit Run... had my results in a second or 2

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

ID: bf4558fc-19ae-bc48-0f83-2c83aee01252
Version Independent ID: 5e391c2c-49ed-9a44-7980-ba8db5a26b2d
Content: Run notebooks in Azure Data Studio - SQL Server big data clusters
Content Source: docs/big-data-cluster/notebooks-guidance.md
Product: sql
Technology: big-data-cluster
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@af4jm -- John, thank you for your feedback.
@MikeRayMSFT -- Mike, please look into this issue 3619.

@af4jm - thank you for your feedback. I'm sharing this with the tools team.

@af4jm Hi John, thanks for your feedback. I was unable to reproduce the issue you described. If it occurs again, could you please refile this issue on the Azure Data Studio repository with more detail? Screenshots and gifs help us a lot in resolving bugs quickly.
Azure Data Studio repo: https://github.com/microsoft/azuredatastudio


Integration in Home Assistant via iframe disables HA return button

Hi I just found your beautiful extension for the LMS and I wanted it to integrate into my home assistant via iframe.
The issue is whenever the iframe with the lms-material plugin is embeeded in a Sub-view of an Home assitant dashboard the return button in the main navigation of HA isn't working any more.

Its not a normal link but a button so i guess history.back() or something is triggered when the button is clicked.
When included on a normal dashboard view all main navigations links to other sites of the dashboard are still working.
Also navigation via buttons on the dashboard itself also works without any issue.
Only on subviews the back-button isn't working.
Do you have perhaps an idea what this could be or what i could perhaps check?
This is how i added the page to Homeassistant:
type: iframe
url: >-
  http://<IP_ADDRESS>:9000/material/?layout=mobile&page=now-playing&player=00:04:20:2e:27:c3
aspect_ratio: 100%
view_layout:
  place-self: stretch stretch
  justify-self: stretch

What I tested:

The dashboard back button works for "normal" websites included via iframe.
the back button works when the lms-material player isn't fully loaded yet.
the back button triggers when clicking multiple times really fast.
the issue happens on mobile and desktop browsers
on mobile phone the back button gesture also wouldn't change back to the previous view/url
the browser back button on desktop browser also doesn't react on click
also happens with the desktop layout of lms-material

I see no javascript error in the browser console.
Do you maybe prevent/change the browser history?
Perhaps you or someone else is also using Home assitant and might have an idea what causes this?
Example of an Home assistent test dashboard with Home and a Subview called sub-page.
On both Home and the sub-page the player is included via iframe.
views:
  - title: Home
    cards:
      - type: iframe
        url: >-
          http://<IP_ADDRESS>:9000/material/?layout=mobile&page=now-playing&player=00:04:20:2e:34:18
        aspect_ratio: 100%
        view_layout:
          place-self: stretch stretch
          justify-self: stretch
      - show_name: true
        show_icon: true
        type: button
        tap_action:
          action: navigate
          navigation_path: /test-dashboard/sub-page
        icon: mdi:button-pointer
        hold_action:
          action: navigate
          navigation_path: /test-dashboard/sub-page
  - title: sub-page
    path: sub-page
    subview: true
    icon: mdi:play
    cards:
      - type: iframe
        url: >-
          http://<IP_ADDRESS>:9000/material/?layout=mobile&page=now-playing&player=00:04:20:2e:34:18
        aspect_ratio: 100%
        view_layout:
          place-self: stretch stretch
          justify-self: stretch
      - show_name: true
        show_icon: true
        type: button
        tap_action:
          action: navigate
          navigation_path: /test-dashboard/0
        icon: mdi:button-pointer
        hold_action:
          action: navigate
          navigation_path: /test-dashboard/0

Material intercepts the browser's back button to navigate back in its views, etc. I think this is what might be causing the issue here.
I've just updated the code to add support for a URL query parameter to stop this happening. So, if you used http://server:9000/material/ using http://server:9000/material/?dontTrapBack should then stop this. You need to be using a checkout of git/master to try this.

Thank you very much for the quick response.
Can you help me how i can use the git/master version in my LMS?
Because I only add the repository by addin this https://raw.githubusercontent.com/CDrummond/lms-material/master/public.xml which installs the 4.4.0 release.
And every js file is minified and also combined (e.g. I can't find a utils.js file iin the installed plugin)
OK i guess i found out. If I manually checkout the repository locally and exchanged the "MaterialSkin" folder in my LMS Plugins directory with the fresh one it still works. So no manual installation process is needed.
And i can say the fix worked perfectly!
Thank you very much.
Could you create a release version from that so that the automatic update from LMS could still be used.

Thanks for the confirmation. Fix will be in 4.4.1 - I don't make a release per fix, sorry. But will probably release at the weekend.


Arc Postgres - Rename shards to workers

In the Arc Postgres backend spec.scale.shards was renamed to spec.scale.workers.  This PR updates the model in the azdata extension with the new field.
Also removes an old integration test.  It was based on the old private preview backend and needs to be re-written to run the notebook through ADS anyway.

Pull Request Test Coverage Report for Build 334455702

0 of 6 (0.0%)  changed or added relevant lines in 2 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.03%) to 39.637%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/arc/src/models/postgresModel.ts
0
2
0.0%

extensions/arc/src/ui/dashboards/postgres/postgresComputeAndStoragePage.ts
0
4
0.0%

Files with Coverage Reduction
New Missed Lines
%

extensions/arc/src/ui/dashboards/postgres/postgresComputeAndStoragePage.ts
1
2.0%

extensions/notebook/src/jupyter/serverInstance.ts
4
73.61%

Totals

Change from base Build 334430252:
-0.03%

Covered Lines:
20625

Relevant Lines:
47773

💛  - Coveralls

Resent due to problems resolving merge conflicts: https://github.com/microsoft/azuredatastudio/pull/13122


Major Backend Works

Good Morning.
Sadly the days of clef are coming to an end... nooooooo!!!
As a result we've only got a short period of time to remove clef from our Wordpress installations.
What will this mean to you? Well it's going to cause a few issues here and there.
Our installations have used clef for a long time now, and removing clef could prove a bit more time consuming.
Removing clef will not compromise your data under any circumstances. We take privacy very seriously, and are doing all we can to make sure that our strategic approach to how we progress without clef, is well thought.
We will provide updates as they become available, please do check this status page frequently.
Thank You. - MPM

Sadly Clef is now gone 😢
We're now completing some works to migrate to a new service.
Thank You. - MPM

Works were completed with no issues.
Apologies for the late update 👍
Thank You. - MPM


Optimize compile time of Deserializer trait methods

We can instantiate the control flow in these methods once per Read type rather than once per Visitor type. This reduces compile time of https://github.com/serde-rs/json-benchmark by 44% as measured by cargo clean && RUSTFLAGS='-C codegen-units=1' cargo build --release --no-default-features --features parse-struct,lib-serde,all-files -Ztimings, with 0-13% impact on performance.
Before
   Completed serde_json v1.0.55 in 3.8s
   Completed json-benchmark v0.0.1 bin "json-benchmark" in 18.1s

                                DOM                  STRUCT
======= serde_json ======= parse|stringify ===== parse|stringify ====
data/canada.json         270 MB/s              620 MB/s
data/citm_catalog.json   390 MB/s              950 MB/s
data/twitter.json        270 MB/s              560 MB/s

After
   Completed serde_json v1.0.55 in 3.7s
   Completed json-benchmark v0.0.1 bin "json-benchmark" in 10.1s

                                DOM                  STRUCT
======= serde_json ======= parse|stringify ===== parse|stringify ====
data/canada.json         250 MB/s              540 MB/s
data/citm_catalog.json   380 MB/s              850 MB/s
data/twitter.json        260 MB/s              560 MB/s

This could be done in a safe manner though I guess there would be some additional branches unless the unreachable!() branches are made unreachable_unchecked. https://github.com/Marwes/json/tree/safe_once_dispatch
It is only a POC but I'd expect the vtable from the trait to end up the same as this unsafe impl.

cc #313


Better management for version upgrades

I'm currently upgrading to a newer version of aerospace via brew upgrade. However, after every upgrade, MacOS fails to run the binary, marking it as spam even though the installation was done via --no-quarantine flag. I manually kill the old process ID via ps aux | grep aerospace and kill -9 $PROCESS_ID, but when I try to restart aerospace again, nothing happens.
Eventually, I have to restart my mac to make everything work again.

same issue here on MacOS Sonoma

We may need to set an ENV, in the formula to respect the --no-quarantine flag used with the install.
ENV["HOMEBREW_CASK_OPTS"] = "--no-quarantine"

I can't test at the moment, but will fork the tap and test later.
If anyone gets on to it before I do, please report back.

@thelazyoxymoron no need to restart, I usually quit & re-open aerospace.
Then when running the binary via cli, the first it will fail because of the unknown/unsigned developer. It's a matter of opening Settings > Privacy & Security and click allow open.

MacOS fails to run the binary, marking it as spam

What do you mean by "spam" exactly? Is it "AeroSpace.app" can't be opened because Apple cannot check it for malicious software., or is it something different?

I get a warning that the app is from an unidentified developer. Need to go into security settings and allow each time.

What do you mean by "spam" exactly? Is it "AeroSpace.app" can't be opened because Apple cannot check it for malicious software., or is it something different?

No, nothing different, this same warning.

When the next release is published, let's please capture what is the exact message the dialog says.
I suspect that the warnings that @stephen776 and @thelazyoxymoron get might be different.
During the updates, I also receive a warning but it's something like "brew downloaded it from the internet, are you sure you want to run the binary?" and simply need to press "OK" in the dialog, no need to go to the security settings

0.8.3 to 0.8.4 update on my machine
All I see after the update is this dialog:

“AeroSpace.app” is an app downloaded from the internet. Are you sure you want to open it?

But I am not a typical user. The signature is issued to my Apple ID and I updated from locally built version to homebrew installed version.
Would be good to hear from you, what messages you get after the update

This is what I get:

Funnily enough I don't seem to be getting this message after initial installation. I've gone through 3 updates by now and the only thing I had to do was quit aerospace and re-open it.
I installed it initially with --no-quarantine flag but from that point on all I ever do is brew update && brew upgrade -g. I don't have any env flags set in my zsh config for homebrew either.

I have made the installation script to manually delete the quarantine attribute after the installation (now --no-quarantine flag is no longer required) https://github.com/nikitabobko/homebrew-tap/commit/8f99ddca416ea54a1f27f0371a43a6d0860f7c25
And have added a disclaimer in README https://github.com/nikitabobko/AeroSpace/commit/356d1f15c4d835324e59feac10ac788ad7564edf
Hopefully, it will fix the problem

I'm closing this issue for now, because it should be fixed
But feel free to leave a comment if you don't think it's fixed

I got a crash recently and now started getting this popup whenever I tried to run AeroSpace.

I tried clearing this with xattr -rd com.apple.quarantine but no matter what I do, the OS is refusing to run this.
Attaching the crash logs just in case if it is useful.
panic(cpu 0 caller 0xfffffe0012a3ef8c): Kernel data abort. at pc 0xfffffe0014108e4c, lr 0xfffffe0014108b04 (saved state: 0xfffffe882269f9c0)
	  x0:  0x0000000000000002 x1:  0x0000000063000000  x2:  0x0000000000003400  x3:  0x000000000000003f
	  x4:  0x0000000000000000 x5:  0xfffffe882269feb8  x6:  0xfeedfacefeedfad3  x7:  0xfffffe001593e7f0
	  x8:  0x0000000000002ca5 x9:  0xfffffe64adcd2fd4  x10: 0xfffffe64adcd1000  x11: 0x0000000000000016
	  x12: 0x000000000000fe01 x13: 0x000000000000fe00  x14: 0xfffffe64adcd1094  x15: 0x0000000000000016
	  x16: 0x0000000000000040 x17: 0xfffffe64adcd114c  x18: 0x0000000000000000  x19: 0xfffffe882269fd90
	  x20: 0xfffffe2a001f97c8 x21: 0x0000000000000001  x22: 0x0000000000000001  x23: 0xfffffe64adcd1000
	  x24: 0x0000000000000000 x25: 0xfffffe1ba0a9cff8  x26: 0x0000000000069000  x27: 0xfffffe1b9ed4e180
	  x28: 0xfffffe1ba0a9d360 fp:  0xfffffe882269fd70  lr:  0xfffffe0014108b04  sp:  0xfffffe882269fd10
	  pc:  0xfffffe0014108e4c cpsr: 0x60401208         esr: 0x96000005          far: 0x000000000000002c

Debugger message: panic
Memory ID: 0x6
OS release type: User
OS version: 23D60
Kernel version: Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:44 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6000
Fileset Kernelcache UUID: 0E02CD2367D1B2B18CA8BF7EFFECF3E3
Kernel UUID: 03C8D3FE-5C3A-3507-A45C-863373B0479A
Boot session UUID: F8E9993A-CEE7-4C75-912D-29AAB97A2DB5
iBoot version: iBoot-10151.81.1
secure boot?: YES
roots installed: 0
Paniclog version: 14
KernelCache slide: 0x0000000009c90000
KernelCache base:  0xfffffe0010c94000
Kernel slide:      0x0000000009c98000
Kernel text base:  0xfffffe0010c9c000
Kernel text exec slide: 0x000000000b1c4000
Kernel text exec base:  0xfffffe00121c8000
mach_absolute_time: 0x1b708b9f2a0
Epoch Time:        sec       usec
  Boot    : 0x65d781ff 0x0001f761
  Sleep   : 0x65d9ed75 0x00010dd6
  Wake    : 0x65d9f135 0x000df40a
  Calendar: 0x65da42ef 0x000a6049

Zone info:
  Zone map: 0xfffffe106cf64000 - 0xfffffe306cf64000
  . VM    : 0xfffffe106cf64000 - 0xfffffe1539c30000
  . RO    : 0xfffffe1539c30000 - 0xfffffe16d35c8000
  . GEN0  : 0xfffffe16d35c8000 - 0xfffffe1ba0294000
  . GEN1  : 0xfffffe1ba0294000 - 0xfffffe206cf60000
  . GEN2  : 0xfffffe206cf60000 - 0xfffffe2539c2c000
  . GEN3  : 0xfffffe2539c2c000 - 0xfffffe2a068f8000
  . DATA  : 0xfffffe2a068f8000 - 0xfffffe306cf64000
  Metadata: 0xfffffe102d258000 - 0xfffffe1035258000
  Bitmaps : 0xfffffe1035258000 - 0xfffffe1040f54000
  Extra   : 0 - 0

TPIDRx_ELy = {1: 0xfffffe2a04a88838  0: 0x0000000000000000  0ro: 0x0000000000000000 }
CORE 0 PVH locks held: None
CORE 1 PVH locks held: None
CORE 2 PVH locks held: None
CORE 3 PVH locks held: None
CORE 4 PVH locks held: None
CORE 5 PVH locks held: None
CORE 6 PVH locks held: None
CORE 7 PVH locks held: None
CORE 8 PVH locks held: None
CORE 9 PVH locks held: None
CORE 0 is the one that panicked. Check the full backtrace for details.
 MacOS is a PITA sometimes with all these code signings.


Wrong column displayed with self join queries

Hi, i think i've discovered a quite subtle UI bug in DBeaver 3.6.2. When i run a query that brings in the same column multiple times from a self-join, like this:
select a1.item_type, a1.id_item as one, a2.id_item as two
from items a1
join items a2 using(item_type)
where a1.id_company=1
and a2.id_company=3

... the results pane shows the correct data at the first execution. If i re-execute the same query repeatedly, after the third time, the third column "two" disappears and gets replaced by an exact copy of the second column, "one" (same header and data).
The problem occurs only when i choose "Grid" mode in the output pane, while in text mode everything is ok.
I've encountered the problem using MySQL (on different server versions) using mysql-connector-java 5.1.38 JDBC driver. Haven't tested on other DB engines.
I am running DBeaver on Linux x86_64 and Oracle JDK 1.8.0_74.
Apart from this, DBeaver is awesome! Keep up the good work :-)

This is a known issue (although it was found in PostgreSQL/Vertica).
It is already fixed. Thanks for report anyway.

Please reopen if this issue will still happen in 3.6.3.


[FLINK-31176] [sql-gateway] correct the description of sql gateway configuration

What is the purpose of the change
correct the description of sql gateway configuration:
1.sql-gateway.session.idle-timeout 、sql-gateway.session.check-interval  description in SqlGatewayServiceConfigOptions
2.GetSessionConfigHeaders  and TriggerSessionHeartbeatHeaders class description
Brief change log
remove the 'or negative value' description and correct the class description
Verifying this change
Please make sure both new and modified tests in this PR follows the conventions defined in our code quality guide: https://flink.apache.org/contributing/code-style-and-quality-common.html#testing
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (100MB)
Extended integration test for recovery after master (JobManager) failure
Added test that validates that TaskInfo is transferred only once across recoveries
Manually verified the change by running a 4 node cluster with 2 JobManagers and 4 TaskManagers, a stateful streaming program, and killing one JobManager and two TaskManagers during the execution, verifying that recovery happens correctly.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@WencongLiu Would you mind taking a look this?

@flinkbot run azure


az cli logs sensitive info in --DEBUG mode

Related command
 az cli logs sensitive info in --DEBUG mode
Is your feature request related to a problem? Please describe.

Run "az ml data create --debug --file some_dataset.yaml" with your default workspace and resourcegroup.
Check the debug output. It contains something like this:
azure.core.pipeline.policies._universal: {
"secretsType": "AccountKey",
"key": "2ww2c/dCC42vx********************"
}
Describe the solution you'd like

No secrets are getting exposed from any of the az commands when executing in DEBUG mode.

@jiasli for awareness

I am not aware of az data. Are you developing your own extension?

Also, what version of Azure CLI you are using? The HTTP log should now be logged by cli.azure.cli.core.sdk.policies, instead of azure.core.pipeline.policies._universal.

As for sensitive information shown in debug log, I think this is a common issue.
az storage commands once face the same issue. https://github.com/Azure/azure-cli/pull/10473 disabled HTTP trace for Track 1 SDK:
https://github.com/Azure/azure-cli/blob/93bbc71faccbef32fe3df3fc5cc953fa1277208d/src/azure-cli/azure/cli/command_modules/storage/_client_factory.py#L144-L147
but client.config.enable_http_logger = False was removed during Track 2 migration (#15845)
https://github.com/Azure/azure-cli/blob/b40afb9cdde133f135fc2c4332b94c9f159734ff/src/azure-cli/azure/cli/command_modules/storage/_client_factory.py#L148-L150
making keys appear again in the debug log:
> az storage account keys list -n myst --debug
...
cli.azure.cli.core.sdk.policies: {"keys":[{"creationTime":"2021-09-24T05:54:33.0930905Z","keyName":"key1","value":"HzdZdX6...","permissions":"FULL"},{"creationTime":"2021-09-24T05:54:33.0930905Z","keyName":"key2","value":"Ht1KOxV...","permissions":"FULL"}]}

--debug logging sensitive information is by design, as the very purpose of --debug is to print the raw HTTP trace. To prevent unexpected credential leak, please do not use --debug for sensitive commands.
If you can provide strong business justification that we should make --debug mask secrets and introduce additional switch such as --debug-with-secrets for the original behavior, we are very willing to discuss with our PMs about it.

I'd recommend adding a --debug-no-secrets switch. The business justification is that we will be submitting bug reports for Azure CLI and the issue template requires us to paste full debug output.

similar ask https://github.com/Azure/azure-cli/issues/29409


Make uProxy for Chrome's window's position and size behavior more consistent with Firefox's

uProxy for Firefox's window is not resizable, and its position stays anchored to its icon:

This matches how just about every other browser extension I've seen that has a popup-UI behaves.
For some reason, uProxy for Chrome's window is resizable and free-floating, meaning when you click the icon, it can pop up anywhere on the screen, can be moved anywhere, resized to an unusably-small (leading to issues like #2403)
or -large size, and on some systems (e.g. OS X), if the parent Chrome window is fullscreen, the uProxy window is also made fullscreen and put in a new "Space" (aka virtual desktop), which totally disorients users and, due to the system autohiding the undo-fullscreen button when a window is made fullscreen (you have to know to move the mouse to the top of the screen to get it to reappear), has led to users getting stuck in the uProxy Space without knowing how to get back to their browser window (which is now in another, hidden Space). The over-resizability of the window also leads to other usability problems, such as #2403.
By default, Chrome extension windows are not resizable and their position is anchored to their icons in the extension area of the toolbar. Taking the extensions I currently happen to have installed as a "random" sample, all of the following prominent extensions use this default (and more usable) behavior:

Google Translate
Google Analytics
Google Inbox
ChromeCast
BeyondCorp
uBlock origin
qSnap

FWIW, I dug up a screenshot of ancient version of uProxy, and it looks like it used to use this more usable default behavior too:

Not sure why this was changed at some point, but given all of the above, can we change it back?
ref:

Closing as this is not a priority right now.


Why do you include non ECO codes in eco.obo ?

Hi, we use the ECO ontology for annotations integrated in our platform www.nextprot.org. I noticed that many terms in the eco.obo are not ECO codes, among which:

620 GO terms
482 OBI terms
...

It seems that no GO term is involved in the definition fo any ECO terms, so why are there in the file ?
Thanks for your response

Hi @pamichel - these are part of the ECO-OBI mapping project to increase logic within ECO. We can create an "eco-basic" OBO file if you'd like, see #169. We will be creating an "eco-basic" OWL file, so it won't be difficult to just convert it to OBO.

Hi again - we have removed the imports from the eco.obo file so these terms will no longer appear as of the most recent release. Please reopen if you have any other questions!


[Bug] Interface keeps opening by itself, interrupting the game every time.

Checklist

[X] I will only use English in my report.
[X] I have used the search function for open and closed issues to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

Questions

[ ] xCloud officially supports my country/region.
[ ] The bug doesn't happen when I disable Better xCloud script.
[ ] The bug didn't happen in previous Better xCloud version (name which one).

Device
Laptop
Device
MacBook Air M1 (2020)
Operating System
MacOS 15.0
Android app/Browser Version
Microsoft Edge Version 129.0.2792.65 (Official build) (arm64)
Better xCloud Version
5.7.7
Game list
Skyrim, Crash bandicoot, Gears of war 3, FC24, Plants vs Zombies, etc
Reproduction Steps
It happens randomly and with no specific previous actions for it to happen.

Open game
Play for a couple of minutes
Out of nowhere, the BxC interface opens by itself (interrupting gameplay)
I close it manually, resume my gameplay
Again, out of nowhere, the BxC interface opens by itself (interrupting gameplay)
Repeat steps 2 to 5, multiple times during the gameplay

Screenshot/video
This is the interface that automatically pop-ups and interrupts the gameplay:

Fixed https://github.com/redphx/better-xcloud/raw/refs/heads/typescript/dist/better-xcloud.user.js


when user log out

GameHelper.java
public void onActivityResult(int requestCode, int responseCode,
Intent intent) {
debugLog("onActivityResult: req="
+ (requestCode == RC_RESOLVE ? "RC_RESOLVE" : String
.valueOf(requestCode)) + ", resp="
+ GameHelperUtils.activityResponseCodeToString(responseCode));
if (requestCode != RC_RESOLVE) {
debugLog("onActivityResult: request code not meant for us. Ignoring.");
    // add start
        if (requestCode == RC_YOUR_UNIQUE_ID && responseCode == GamesActivityResultCodes.RESULT_RECONNECT_REQUIRED)
        {
        	onConnectionSuspended(requestCode);
        }

// add end
return;
}

I am sorry, but I don't quite understand what you mean. If you are referring to the GameHelper.java, it is not part of this repository nor of this project, it is part of Google's BaseGameUtils(https://github.com/playgameservices/android-basic-samples/tree/master/BasicSamples/libraries/BaseGameUtils). If you want to propose a change to that file, please open a pull request at their repository.


[5.6] Add noContent response type

Inspired by this Twitter thread You can now do:
return response()->noContent();

Instead of:
return response('', 204);

It is very useful for cases when you successfully fulfilled the request and that there is no additional content to return to the user.

FYI, in case this isn't merged, Response is macroable for things like this. Mine has methods like created, deleted, notFound etc.
I like it though :+1:

I think it will be better to put it into 5.7.
Because we added one more method to the contract.

Please send to master branch.