#192 fix - Separating the description

Separated the description to separate entries in the DB, added them to the marker class in process.py and sent them as integers.
The interpretation from integer to string is now done in Marker.js with the help of the new localization.js as a dictionary (previously used in localization.py)

@galraij To my understanding accidents in freeways and intersections only have a junction name (SHEM_ZOMET) rather than an address, while urban accidents don't have that parameter but have an address. My fix is based on this assumption.
Can you confirm this?

Will merge after the critical period.

Perfect thanks.
Once it's merged I'd like to work quickly on adding all other fields available in localization in separate fields too, so we can replicate the current behavior using separate fields for every field available.

@danielhers I've changed the localize function as you requested.
Took care of marker.js indentation it looks okay now isn't it?
Anything else regarding this fix?

There doesn't seem to be a problem. I think your last commit will simply be ignored when merging.
Your changes look fine, there are just still some indentation changes in marker.js (e.g. in clickShare).
Also, per https://github.com/samuelregev/anywayAndroidApp/issues/50, we should leave the description field in the DB and in serialize for now, and delete them later when the Android app supports the new format. So that's less code to delete, sorry ;)

You're right about the indentation, but doesn't the change actually align better than the origin?
clickShare should be indented backwards to align with the other methods...
I'll have description brought back and commit again

Sorry, you're right. You replaced tabs with spaces which is fine.
Thanks

Regarding the description - replace it only in the DB, or does this require bringing load_extra_data back and the fields in marker class in process.py?
marker.js is irrelevant here right? I shouldn't bring it back there too...

Right, you need to bring back the function that loads it.
Right again, in the client side only the new fields should be read.
On Thu, May 21, 2015 at 11:35 AM omerxx<EMAIL_ADDRESS>wrote:

Regarding the description - replace it only in the DB, or does this
require bringing load_extra_data back and the fields in marker class in
process.py?
marker.js is irrelevant here right? I shouldn't bring it back there too...
—
Reply to this email directly or view it on GitHub
https://github.com/hasadna/anyway/pull/254#issuecomment-104181346.

I think that does it :)

something went wrong
http://oway.org.il/markers?ne_lat=32.08599332534196&ne_lng=34.778186939656734&sw_lat=32.083670510194274&sw_lng=34.77612666785717&zoom=18&start_date=1356998400&end_date=1388448000&show_fatal=1&show_severe=1&show_light=1&show_inaccurate=0&format=

It required rebuilding the DB. populating should take several hours

Fixed


Build version is not working

I tried to yarn build and serve -s build, but empty page,

Hello, @cgrewon ! Thanks for using our products! Do you have any errors in the console, or anything that indicates where the error comes from? My version works well.
Regards, Vlad.

Closed since there was no further details provided.


Include Accept/Reject in History

When the user presses the "Apply", "Accept", or "Reject" buttons, Void should add these events to the global VS Code history. If the user undoes a change, the Diffs should once again appear.
Right now Void just forgets that a diff happened.

Fixed by #139


Supply tracker (Food, ammo, trident casts, and teleport tabs/scrolls)

Automatically keeps track of all consumables, ammo, trident casts, teleport tablets, and teleport scrolls used during the session and allows user to add, edit, or delete the amount.(Additions are right click submenu, Amount edit is pulls up a new gui element)
Works for all consumables, ammo, throwing weapons(including chins), trident casts(seas, swamp, sang, and their (e) versions), teleport scrolls, and teleport tablets.
Works with tick eating.
Built in protection against spam clicking adding too many of one item.
Arrow tracking works even if ammo type is switched or more of the same type is added.
Main Features
Longer session test
Arrow tracking
Throwing weapon Tracking
Add items from sub-menu
10 trip Zulrah test

I remember seeing this last week in Reddit, it's amazing and thanks for all the work you put into it :) Hope to see it merged soon!

You should try to make this plugin fit more into the client's design style, pm me on discord and I can give you some tips on it

Will do!

Also was thinking about this, does it happen to handle things like Pot Share yet? Where it would cost both the runes and the X number of sips used?

At the moment it doesn't track spells hoping to add that later. The only way to track something like that would be to right click the item and edit the amount

What happened?

What happened?


Bump 7.10 branch to 7.10.1-SNAPSHOT

This PR bump chart version and Docker images to 7.10.1-SNAPSHOT version to test 7.10.1 development version.
See New branching model for more details.

some issue with expected version in apm-server tests => pending observability team
kibana failing upgrade test may be related to goss run in an old kibana container

Note that metricbeat upgrade tests should be re-enable after this

some issue with expected version in apm-server tests => pending observability team
=> should be fixed by https://github.com/elastic/apm-server/pull/4455 in next snapshot build

kibana failing upgrade tests should be fixed by #935

Note that metricbeat upgrade tests should be re-enable after this

=> #940 (will be backported to other branchs)


fix time units

fixes #312
cc @wietsefranssen

@wietsefranssen - mind reviewing this?

@jhamman - Looks better now: the start time is correct now (also with other OUT_TIME_UNITS like DAYS or MINUTES)
There is still something not good, but probably with an other cause:
if you for example run for three days and OUT_TIME_UNITSis DAYS, I get three days of output (this seems correct. But if you set OUT_TIME_UNITS on eg HOURS you get 49 timesteps of output. the first 3 timesteps are the same as OUT_TIME_UNITSis DAYS, so it seems that VIC is still running at a days time step. but what are the 46 other timesteps then?
Shall we talk further about this on gitter (I am online the next 6hours)?

There is still something not good, but probably with an other cause:
if you for example run for three days and OUT_TIME_UNITSis DAYS, I get three days of output (this seems correct. But if you set OUT_TIME_UNITS on eg HOURS you get 49 timesteps of output. the first 3 timesteps are the same as OUT_TIME_UNITSis DAYS, so it seems that VIC is still running at a days time step. but what are the 46 other timesteps then?

That seems like a bug in make_dmy.  Not sure why that would happen.
So no comments on these changes?

The change from global_param.time_unitsto TIME_UNITS_DAYS is as far as I can see the right one.
So, no further comments on this

merged since failing test is unrelated (#318)


Is it the paper‘s code“LSTD: A Low-Shot Transfer Detector for Object Detection”？

This code just tries to implement the architecture of LSTD, the code for this paper provided by author is https://github.com/Cassie94/LSTD


refactor: playground docs

I have no authorization to request reviewers. so just @sunng87 @paomian @alili


Remote proxy keeps re-installing

Lapce Version
The Lapce version you are using, which can be found in "About Lapce" at the top right settings icon.
0.2.6
System information
Host: OSX
Remote: Linux
Describe the bug
It keeps reinstalling lapce-proxy if the Lapce is reopened
Additional information
Other information that can be used to further reproduce or isolate the problem.
This commonly includes:

screenshots
logs
theories about what might be going wrong
workarounds that you used

[2023-03-02][15:26:15][lapce_data::proxy::upload_file][DEBUG] [DEBUG]: Current proxy version: Lapce 0.2.6
[DEBUG]: New proxy version: v0.2.6
Proxy outdated. Replacing proxy

Workaround:
Open Lapce and establish the remote connection. Open a separate terminal and connect to the remote machine using SSH, and make the following changes to /tmp/lapce-proxy.sh.
-  lapce_installed_ver=$("${lapce_dir}/lapce" --version | cut -d'v' -f2)
+  lapce_installed_ver=$("${lapce_dir}/lapce" --version | cut -d' ' -f2)

-   if [ "${lapce_installed_ver}" = "${lapce_new_ver}" ]; then
+   if [ "v${lapce_installed_ver}" = "${lapce_new_ver}" ]; then

And then use chattr +i /tmp/lapce-proxy.sh to make the file readonly.

I think the reason why it keeps reinstalling - it fails to recognize where is current version of lapce installed. On windows it downloads installer and install Lapce into default program location - "C:\Program Files\Lapce". If lapce was build from source or installed via cargo and exists in PATH it will launch outdated version, and since it's binary wasn't affected - will try to suggest to install newer version.

I think the reason why it keeps reinstalling - it fails to recognize where is current version of lapce installed. On windows it downloads installer and install Lapce into default program location - "C:\Program Files\Lapce". If lapce was build from source or installed via cargo and exists in PATH it will launch outdated version, and since it's binary wasn't affected - will try to suggest to install newer version. Similar behaviour must be on the linux.

Nope, it is different here. As you can see in the log, the version is correctly detected, just the format doesn't match.

@panekj It seems this issue is still here. I have Lapce 0.3.0.

Log:
+ lapce_new_ver=v0.3.0
+ eval 'lapce_dir='\''/home/admin/.local/share/lapce-stable/proxy'\'''
++ lapce_dir=/home/admin/.local/share/lapce-stable/proxy
+ case "${lapce_new_ver}" in
++ echo v0.3.0
++ cut -dv -f2
+ lapce_new_version=0.3.0
+ lapce_new_ver_tag=v0.3.0
+ '[' -e /home/admin/.local/share/lapce-stable/proxy/lapce ']'
++ /home/admin/.local/share/lapce-stable/proxy/lapce --version
++ cut '-d ' -f2
+ lapce_installed_ver=v0.3.0
+ printf '[DEBUG]: Current proxy version: %s\n' v0.3.0
[DEBUG]: Current proxy version: v0.3.0
+ printf '[DEBUG]: New proxy version: %s\n' 0.3.0
[DEBUG]: New proxy version: 0.3.0
+ '[' v0.3.0 = 0.3.0 ']'
+ printf 'Proxy outdated. Replacing proxy\n'
Proxy outdated. Replacing proxy

New workaround for 0.3.0:
Open Lapce, establish the remote connection and wait for the button to become green. Open a separate terminal and connect to the remote machine using SSH, and then:
cd ~/.local/share/lapce-stable/proxy
mv lapce lapce.real
cat > lapce << EOF
#!/bin/bash

if [[ "$@" == "--version" ]]; then
  ~/.local/share/lapce-stable/proxy/lapce.real $@ | tr -d 'v'
else
  ~/.local/share/lapce-stable/proxy/lapce.real $@
fi
EOF
chmod +x lapce

And then you may restart Lapce.


Fixed typo in authorisation method

Thanks @danieladarve took me minutes to find the difference between, was a hard typo to find.


Unable to prevent iOS edge swipe gesture when swiping in a ScrollView

Steps to reproduce
I have a pushed route, where the page contains a horizontally scrolling view. If I try to scroll from the left edge, instead of scrolling the view it initiates the iOS "swipe back" gesture. This is confusing to the user when the intent is to scroll the view. I do want to support the swipe back gesture, but to conditionally disable it when the swipe begins within the scrollview. I tried to use a GestureDetector on the scrollview, combined with a PopScope widget to achieve this, but it fails with an assertion. See the code sample.
Expected results
There should be a way to conditionally prevent the swipe back gesture when the gesture is consumed by a scrollview.
Actual results
The current approach that I described is crashing with the following assertion:
Assertion failed: file:///opt/flutter/packages/flutter/lib/src/cupertino/route.dart:246:12
_isPopGestureEnabled(route)
is not true

I would appreciate either a fix for the crash or description of another approach to achieve what I am trying to achieve.
Code sample
Code sample
import 'package:flutter/material.dart';

void main() => runApp(const NavigatorPopHandlerApp());

class NavigatorPopHandlerApp extends StatelessWidget {
  const NavigatorPopHandlerApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      initialRoute: '/home',
      routes: <String, WidgetBuilder>{
        '/home': (BuildContext context) => const _HomePage(),
        '/two': (BuildContext context) => const _PageTwo(),
      },
    );
  }
}

class _HomePage extends StatefulWidget {
  const _HomePage();

  @override
  State<_HomePage> createState() => _HomePageState();
}

class _HomePageState extends State<_HomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text('Page One'),
            TextButton(
              onPressed: () {
                Navigator.of(context).pushNamed('/two');
              },
              child: const Text('Next page'),
            ),
          ],
        ),
      ),
    );
  }
}

class _PageTwo extends StatefulWidget {
  const _PageTwo();

  @override
  State<_PageTwo> createState() => _PageTwoState();
}

class _PageTwoState extends State<_PageTwo> {
  var _allowSwipeBack = true;

  @override
  Widget build(BuildContext context) {
    return PopScope(
      canPop: _allowSwipeBack,
      child: Scaffold(
        appBar: AppBar(actions: []),
        backgroundColor: Colors.grey,
        body: Center(
          child: SizedBox(
            height: 200,
            child: GestureDetector(
              onTapDown: (_) => setState(() => _allowSwipeBack = false),
              onTapUp: (_) => setState(() => _allowSwipeBack = true),
              onTapCancel: () => setState(() => _allowSwipeBack = true),
              child: ListView(
                scrollDirection: Axis.horizontal,
                children: [
                  for (final color in [
                    Colors.red,
                    Colors.green,
                    Colors.blue,
                    Colors.brown,
                    Colors.black
                  ])
                    Container(color: color, height: 200, width: 250),
                ],
              ),
            ),
          ),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration - the video shows the problem I am trying to solve
https://github.com/flutter/flutter/assets/18295993/71e152f7-9241-435c-8c46-06676023b7f3

Logs
Logs
The following assertion was thrown while handling a gesture:
Assertion failed: file:///opt/flutter/packages/flutter/lib/src/cupertino/route.dart:246:12
_isPopGestureEnabled(route)
is not true

When the exception was thrown, this was the stack

Handler: "onStart"
Recognizer:
  HorizontalDragGestureRecognizer#74c28
════════════════════════════════════════════════════════════════════════════════════════════════════
Another exception was thrown: Assertion failed: file:///opt/flutter/packages/flutter/lib/src/cupertino/route.dart:650:12

Flutter Doctor output
Doctor output
    • Framework revision 395cbfbd60 (4 days ago), 2024-02-15T00:00:00.000
    • Engine revision 3af336bfb2
    • Dart version 032323fa53

[✓] Android toolchain - develop for Android devices (Android SDK version Stable)
    • Android SDK at google3
    • Platform Stable, build-tools Stable
    • Java binary at: /Applications/Android Studio with Blaze.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] GoogleMac (on macos)
    • AppleWWDRCA installed.
    • Google development certificate installed.
    • Device 00008130-000A03E22EB8001C is whitelisted
    • Device 00008110-001015CA2104801E is whitelisted

[✓] VS Code (version 1.86.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version null

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C65

[✓] Connected device (4 available)
    • iwilkins-iPhone-Pro-Max (mobile) • 00008130-000A03E22EB8001C            • ios          • iOS 17.2.1 21C66
    • Ian's iPhone Mini (mobile)       • 00008110-001015CA2104801E            • ios          • iOS 17.2.1 21C66
    • iPhone 15 (mobile)               • 4AF02F6A-D256-4E1E-9CAE-0292C9A2DED6 • ios          •
      com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
    • macOS (desktop)                  • macos                                • darwin-arm64 • macOS 14.3.1 23D60 darwin-arm64
      (Rosetta)

You should be able to fiddle with panSlop / DeviceGestureSettings to adjust the priority of the two gestures

Thanks for filing this @chickenblood and @moffatman for your input.
Please can you try adjusting the priority with https://api.flutter.dev/flutter/gestures/DeviceGestureSettings/panSlop.html as suggested in https://github.com/flutter/flutter/issues/143715#issuecomment-1953152419 to see if it suits your use case?

@moffatman panSlop sounds interesting. Do you have an example of how to use it? The documentation does not make it clear how I need to change my widget tree in order to use it.

(aside) It looks like https://github.com/flutter/flutter/issues/28045 is almost a dupe of this bug. However the solution there is to make a custom slider and don't position it so close to the edge of the screen. That's not really a reasonable solution for the ScrollView in this case.

You can play around with the math below, I think dividing by two should make the inner child myScrollView always win over any outer recognizer.
TransformedMediaQuery(
  transformation: (context, data) => data.copyWith(
    gestureSettings: DeviceGestureSettings(
      touchSlop: (data.gestureSettings.touchSlop ?? kTouchSlop) / 2
    )
  ),
  child: myScrollView
)

TransformedMediaQuery is just some simple widget I use in my app for better performance to avoid rebuilding too many things when MediaQuery changes (which could be really often e.g. keyboard open/close animation)
class TransformedMediaQuery extends StatelessWidget {
	final Widget child;
	final MediaQueryData Function(BuildContext context, MediaQueryData) transformation;

	const TransformedMediaQuery({
		required this.child,
		required this.transformation,
		Key? key
	}) : super(key: key);

	@override
	Widget build(BuildContext context) {
		return MediaQuery(
			data: transformation(context, MediaQuery.of(context)),
			child: child
		);
	}
}

transformation: (context, data) =>

Awesome. That worked! Thanks @moffatman

Thanks for your input @moffatman.
Per your last comment @chickenblood, I think it's safe to close this issue as solved.
Closing from here, if you disagree, please comment and I'll reopen this.
Thank you!


Browser build does not follow master?

Can't find createReducer in the browser build (for 9.0_rc2), does it not follow the master or am I missing sth ?
Thanks.

Oops, I forgot to push the new version of the docs and and the browser builds. It should work now, given that you clear your cache.


README doesn't say if this works with CalDAV

I know it says works locally and with Google, but I'd expect an open-source tool to work with the open standard.   I realize from #62 that this is future work.
It would be great for the README to clarify this, perhaps with a simple
(Saturn does not currently support CalDAV.)
which both conveys status and (very softly) telegraphs your stated intention to have it work eventually.

I added #64 to cover this issue. The readme is already quite long and I don't see the value in listing things the project doesn't support. I think it's safe to assume it doesn't support them if they're not mentioned.


Fix problem with LocalDateTimeArgument and LocalDateTimeMapper

LocalDateTimeArgument would persist a timestamp that was incorrect. It only took the seconds and would loose the millisecond information.

@joschi Would be great if you could merge this and make a new release.
Thanks

@carlo-rtr can you look at this

Looks good. Thanks!


Support replicate component as resource

Example with Health component. On server there will many players each have one Health component, but on the client there is only one Health component, having to query it each is really verbose, accessing it directly with Res<Health> is more ergonomic.
Block on https://github.com/cBournhonesque/lightyear/issues/540 otherwise multiple components replication will override the resource

I'm not sure I understand how this would work.
You mean that the component is authoritative on the server and lives on an entity, but when it's replicated it gets replicated on a resource?
I think that's probably an anti-pattern, you would need Health to be both a component and a resource, you would need different ways of handling it for client/server code. I think this kind of pattern is not very bevy-like; I would suggest to simply create an entity on the client as well. (what if you want to add co-op and have 2 player entities on the client? or bots?)

I agree this kind of pattern is anty-pattern. I think I can create a system to sync the replicated component with the resource for my use case instead.


fix: complete keystone/glance list filter

这个 PR 实现什么功能/修复什么问题:
补充keystone、glance缺少的List过滤器
是否需要 backport 到之前的 release 分支:
None
/cc @zexi @yousong
/area keystone image

Codecov Report

Merging #5411 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #5411      +/-   ##
==========================================
- Coverage       7%    6.99%   -0.02%
==========================================
  Files         599      605       +6
  Lines      101249   101426     +177
==========================================
+ Hits         7091     7093       +2
- Misses      93586    93762     +176
+ Partials      572      571       -1

Flag
Coverage Δ

#aFlag
6.99% <0%> (-0.02%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/cloudcommon/db/tenantcache.go
1.28% <ø> (ø)
:arrow_up:

pkg/keystone/models/identity_provider.go
1.72% <0%> (-0.02%)
:arrow_down:

pkg/keystone/models/groups.go
5.08% <0%> (-0.06%)
:arrow_down:

pkg/keystone/models/userresource.go
0% <0%> (ø)

pkg/keystone/models/serviceresource.go
0% <0%> (ø)

pkg/keystone/models/regionresource.go
0% <0%> (ø)

pkg/keystone/models/domains.go
3.48% <0%> (-0.07%)
:arrow_down:

pkg/keystone/models/endpoints.go
3.91% <0%> (-0.11%)
:arrow_down:

pkg/keystone/models/credentials.go
5.45% <0%> (-0.47%)
:arrow_down:

pkg/keystone/models/users.go
1.6% <0%> (-0.05%)
:arrow_down:

... and 13 more

Continue to review full report at Codecov.

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


Cannot deploy this is what happens when I say Report Issue

Does this occur consistently?
Repro steps:

Action: appService.Deploy
Error type: Error
Error Message: Failed to get status of deployment.
Version: 0.18.0
OS: win32
OS Release: 10.0.18363
Product: Visual Studio Code
Product Version: 1.47.2
Language: en

Call Stack
Object.<anonymous> extension.bundle.js:1:524220
fulfilled extension.bundle.js:1:522468
processTicksAndRejections task_queues.js:85:5

Closing as a dupe of https://github.com/microsoft/vscode-azureappservice/issues/1425


Add new unit tests

This adds more unit tests for ReconcileBroker, specifically for testing
cases where: the catalog isn't able to be retrieved, the service class
isn't able to be retrieved, and when authentication fails due to a
secret not being defined.
Also adds some error logging in the event the broker condition status
fails to update properly.

LGTM once CI is happy


Taskcat communicates with the sts endpoint in the China partition even though it is not specified in an aws profile or taskcat config

Describe the bug
When trying to determine partition, taskcat times out when trying the sts endpoint in the China partition : sts.cn-north-1.amazonaws.com.cn.  I am running taskcat in a highly restricted environment, and calls to endpoints outside the US are blocked.
My aws profile and the .taskcat.yml specify only the us-gov-west-1 region.  I would expect that Taskcat would not make calls to partitions whose regions are not specified in my aws profile or the .taskcat.yml file
taskcat is executed using this command:  taskcat --profile pipeline test run
My aws config looks like this:
[profile pipeline]
region = us-gov-west-1
See additional context below for more information.
To Reproduce
Steps to reproduce the behavior:

Are you testing a QuickStart or Custom template?  Custom template
Attach or link a copy of the template if possible (remove any sensitive info)

project:
name: demo
package_lambda: false
template: ./some-template.yml
regions:
- us-gov-west-1
auth:
default: pipeline
tests:
default:
s3_regional_buckets: true
parameters:
pDesiredCount: 1
pEcrName: "TEST-redacted"
pEcsClusterName: "TEST-redacted"
pSecurityGroupIds: $[taskcat_secretsmanager_redacted/redacted/securitygroupid]
pVpcId: $[taskcat_secretsmanager_redacted/redacted/vpcid]
pSubnetId: $[taskcat_secretsmanager_redacted/redacted/subnetid]
3. Provide the parameters that you passed. (remove any sensitive info)
4. How did you install taskcat? (docker or pip3). pip3
5. Are you using a profile, an instance role or  access keys to run taskcat?  profile
6. Is your AWS environment configured via aws configure? yes
Expected behavior
Taskcat determines the partition to be aws-us-gov without making calls to the Canada partition.
Screenshots
If applicable, add screenshots to help explain your problem.
**Version (Please make sure you are running the latest version of taskcat)
0.9.54
Python:  3.12.3
Additional context
When inspecting the code that determines the partition (specifically _get_partition in _client_factory.py), it looks like the code tries the commercial partition (aws) first, then it tries China (aws-cn), finally it tries GovCloud (aws-us-gov).  What is happening in my environment is when the code tries to make calls to the China partition, taskcat times out trying to communicate with the "cn-north-1" sts endpoint because any call outside the US is blocked in my environment (i.e., https://sts.cn-north-1.amazonaws.com.cn/ is blocked and taskcat times out waiting for a response).
I fully own that this is due to the environment I'm running taskcat in, however, I imagine this could be an issue for other folks running taskcat in the govcloud partition that are subject to similar network restrictions.

@tlindsay42 , apologies - I thought cn was Canada.  I edited the original post to reflect that it's the China partition I'm having issues with.
My use case is to only deploy/test in GovCloud regions.  The problem is that taskcat tries to communicate with the sts endpoint in China, even though I don't specify it in my aws profile or in taskcat.  Network traffic to China is blocked in my environment, and taskcat times out. There doesn't seem to be a way to tell taskcat not to communicate with the China sts endpoint.  In the additional context, it looks like taskcat tries to determine the partition using an array that it loops through.

Got it. Skimmed on the first read. As evident from my response, I thought there was a misunderstanding about aws partitions & regions. Makes sense now. Looking now.

That... shouldn't be doing that.

Would you be open to submitting a pull request for this?

yep


An error occurred while processing your request. unsupported_response_type

Hi,
I got an error "unsupported_response_type". I already put the appId and appSecret on the Web.config. When the "Sign in with Microsoft" clicked, it redirected to Microsoft login page https://login.microsoftonline.com/common/oauth2/v2.0/. However, after e-mail field was filled, it redirected to the app home page with unsupported_response_type error. As suggested by other source, I already tried to add "/signin-microsoft" on the redirect URL, but doesn't work.
Thank you very much.

You might see that error if your client isn't correctly configured. Did you use the app registration portal (https://apps.dev.microsoft.com/) instead of the Azure portal to register your client? And did you add the Web platform and redirect URI to the client? Sometimes people forget to save changes and updates after they've added the Web platform, and that can lead to this problem.

I don't know what triggered the error at my first attempt.
However, I generated the solution file via https://developer.microsoft.com/en-us/graph/quick-start and it worked fine.
Thank you @jamescro


[#7433] Add Epoll option

Codecov Report

Merging #7434 (f4aa348) into master (b9dcd98) will increase coverage by 0.00%.
The diff coverage is 91.66%.

@@           Coverage Diff           @@
##           master    #7434   +/-   ##
=======================================
  Coverage   38.76%   38.77%
=======================================
  Files        3324     3324
  Lines       96035    96053   +18
  Branches    11861    11861
=======================================
+ Hits        37226    37242   +16
- Misses      55903    55907    +4
+ Partials     2906     2904    -2

Impacted Files
Coverage Δ

...m/navercorp/pinpoint/grpc/client/ClientOption.java
83.51% <90.00%> (+0.38%)
:arrow_up:

...m/navercorp/pinpoint/grpc/server/ServerOption.java
86.23% <90.00%> (+0.09%)
:arrow_up:

...ctor/config/GrpcPropertiesServerOptionBuilder.java
100.00% <100.00%> (ø)

...rp/pinpoint/grpc/client/DefaultChannelFactory.java
78.02% <100.00%> (ø)

.../navercorp/pinpoint/grpc/server/ServerFactory.java
88.76% <100.00%> (ø)

...int/profiler/context/grpc/GrpcTransportConfig.java
81.33% <100.00%> (+0.12%)
:arrow_up:

...uster/zookeeper/exception/ConnectionException.java
0.00% <0.00%> (-28.58%)
:arrow_down:

...p/pinpoint/rpc/stream/StreamChannelRepository.java
75.00% <0.00%> (-10.00%)
:arrow_down:

...r/zookeeper/ZookeeperClusterDataManagerHelper.java
80.00% <0.00%> (-4.45%)
:arrow_down:

...rver/cluster/zookeeper/CuratorZookeeperClient.java
87.61% <0.00%> (-1.91%)
:arrow_down:

... and 5 more

Continue to review full report at Codecov.

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


fix: enable IN operator for comma+space delimited segment values

@novakzaballa I removed the extraneus error handling. Could you please take another look?


create spiderlightning-pubsub interface proposal (mention slightfile config additions)

~ see: https://github.com/deislabs/spiderlightning/pull/259#issuecomment-1338031976


workflows: Schedule benchmark to run every few days

The previous benchmark results are stored in the GitHub Cache, but cache entries are deleted if they are not accessed in over 7 days. And if the cache is empty, we will not detect that the rules are slower.
So schedule the benchmark to run automatically every Tuesday and Friday at 05:00 in the morning, to avoid this deletion.  It might also be helpful as a double-check.
The scheduled run will be on the develop branch.

Merging without review, as it's a small change in the benchmark workflow.


monitoring-influxdb-67f8d587dd-2js7vf  log show " POST /write?consistency=&db=k8s&precision=&rp=default HTTP/1.1" 204 0

[run] 2017/11/24 15:39:36 InfluxDB starting, version unknown, branch unknown, commit unknown
[run] 2017/11/24 15:39:36 Go version go1.7.4, GOMAXPROCS set to 1
[run] 2017/11/24 15:39:36 Using configuration at: /etc/config.toml
8888888           .d888<PHONE_NUMBER>b.  888888b.
888            d88P"  888                   888  "Y88b 888  "88b
888            888    888                   888    888 888  .88P
888   88888b.  888888 888 888  888 888  888<PHONE_NUMBER>888K.
888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
888   888  888 888    888 888  888   X88K   888    888 888    888
888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
8888888 888  888 888    888  "Y88888<PHONE_NUMBER>888P"  8888888P"
[store] 2017/11/24 15:39:36 Using data dir: /data/data
[subscriber] 2017/11/24 15:39:36 opened service
[monitor] 2017/11/24 15:39:36 Starting monitor system
[monitor] 2017/11/24 15:39:36 'build' registered for diagnostics monitoring
[monitor] 2017/11/24 15:39:36 'runtime' registered for diagnostics monitoring
[monitor] 2017/11/24 15:39:36 'network' registered for diagnostics monitoring
[monitor] 2017/11/24 15:39:36 'system' registered for diagnostics monitoring
[shard-precreation] 2017/11/24 15:39:36 Starting precreation service with check interval of 10m0s, advance period of 30m0s
[snapshot] 2017/11/24 15:39:36 Starting snapshot service
[continuous_querier] 2017/11/24 15:39:36 Starting continuous query service
[httpd] 2017/11/24 15:39:36 Starting HTTP service
[httpd] 2017/11/24 15:39:36 Authentication enabled: false
[httpd] 2017/11/24 15:39:36 Listening on HTTP: [::]:8086
[retention] 2017/11/24 15:39:36 Starting retention policy enforcement service with check interval of 30m0s
[run] 2017/11/24 15:39:36 Listening for signals
[monitor] 2017/11/24 15:39:36 Storing statistics in database '_internal' retention policy 'monitor', at interval 10s
[httpd] <IP_ADDRESS> - root [24/Nov/2017:15:39:39 +0000] "GET /ping HTTP/1.1" 204 0 "-" "heapster/v1.4.3" aeb7d494-d12d-11e7-8001-000000000000 109
[shard] 2017/11/24 15:39:50 /data/data/_internal/monitor/1 database index loaded in 16.07µs
[query] 2017/11/24 15:40:05 CREATE DATABASE k8s WITH NAME "default"
[httpd] <IP_ADDRESS> - root [24/Nov/2017:15:40:05 +0000] "GET /query?db=&q=CREATE+DATABASE+k8s+WITH+NAME+%22default%22 HTTP/1.1" 200 181 "-" "heapster/v1.4.3" be0d66f7-d12d-11e7-8002-000000000000 9630
[shard] 2017/11/24 15:40:05 /data/data/k8s/default/2 database index loaded in 5.73µs
[httpd] <IP_ADDRESS> - root [24/Nov/2017:15:40:05 +0000] "POST /write?consistency=&db=k8s&precision=&rp=default HTTP/1.1" 204 0 "-" "heapster/v1.4.3" be120177-d12d-11e7-8003-000000000000 30431

Solved, restart the dashboard panel you can see the graphics


dibs: implement scale-generator

Going to start another one of these.

Hmm I think I put this in the wrong place.


Changing multiple fields of cluster while update is not working

Rancher version:
Rancher - v2.9-f1b43d2568d7c53c3adf45d9ffd74a04ea65fc22-head
aks-operator:v1.9.2-rc.2
Cluster Type: Downstream AKS cluster
Describe the bug:

Provision cluster with multiple Nodepools and wait for it to be Active
Edit the cluster: delete any Nodepool and enable HTTP Application routing, click Save.

Spec is updated with changes applied.
Only the change to routing gets applied, and Nodepool remains intact after the update.
aksConfig:
    authBaseUrl: https://login.microsoftonline.com/
    authorizedIpRanges: null
    azureCredentialSecret: cattle-global-data:cc-j7sg7
    baseUrl: https://management.azure.com/
    clusterName: cpinjani-aks
    dnsPrefix: cpinjani-aks
    dnsServiceIp: <IP_ADDRESS>
    dockerBridgeCidr: null
    httpApplicationRouting: true
    imported: false
    kubernetesVersion: 1.29.0
    linuxAdminUsername: azureuser
    loadBalancerSku: Standard
    logAnalyticsWorkspaceGroup: null
    logAnalyticsWorkspaceName: null
    managedIdentity: null
    monitoring: null
    networkPlugin: kubenet
    networkPolicy: null
    nodePools:
      - availabilityZones:
          - '1'
          - '2'
          - '3'
        count: 1
        maxPods: 110
        maxSurge: '1'
        mode: System
        name: np1
        orchestratorVersion: 1.29.0
        osDiskSizeGB: 128
        osDiskType: Managed
        osType: Linux
        vmSize: Standard_DS2_v2
    outboundType: loadBalancer
    podCidr: <IP_ADDRESS>/16
    privateCluster: false
    privateDnsZone: null
    resourceGroup: cpinjani-aks
    resourceLocation: eastus
    serviceCidr: <IP_ADDRESS>/16
    subnet: null
    tags:
      Account Type: group
    userAssignedIdentity: null
    virtualNetwork: null
    virtualNetworkResourceGroup: null

Logs:
2.9:
time="2024-09-16T11:03:50Z" level=info msg="Checking configuration for cluster [cpinjani-aks (id: c-jm2vn)]"
time="2024-09-16T11:03:50Z" level=info msg="Updating HTTP application routing to true for cluster [cpinjani-aks (id: c-jm2vn)]"
time="2024-09-16T11:06:27Z" level=error msg="Error recording akscc [ (id: )] failure message: resource name may not be empty"
time="2024-09-16T11:06:28Z" level=info msg="Checking configuration for cluster [cpinjani-aks (id: c-jm2vn)]"
time="2024-09-16T11:06:28Z" level=info msg="Configuration for cluster [cpinjani-aks (id: c-jm2vn)] was verified"
time="2024-09-16T11:06:29Z" level=info msg="Checking configuration for cluster [cpinjani-aks (id: c-jm2vn)]"
time="2024-09-16T11:06:30Z" level=info msg="Configuration for cluster [cpinjani-aks (id: c-jm2vn)] was verified"

2.8:
time="2024-09-16T10:42:39Z" level=info msg="Checking configuration for cluster [cpinjani-aks28]"
time="2024-09-16T10:42:40Z" level=info msg="Updating HTTP application routing for cluster [cpinjani-aks28]"
time="2024-09-16T10:42:45Z" level=info msg="Waiting for cluster [c-zw6hc] to finish updating"
time="2024-09-16T10:43:15Z" level=info msg="Waiting for cluster [c-zw6hc] to finish updating"
time="2024-09-16T10:43:46Z" level=info msg="Waiting for cluster [c-zw6hc] to finish updating"
time="2024-09-16T10:44:17Z" level=info msg="Waiting for cluster [c-zw6hc] to finish updating"
time="2024-09-16T10:44:48Z" level=info msg="Checking configuration for cluster [cpinjani-aks28]"
time="2024-09-16T10:44:49Z" level=info msg="Removing node pool [pool3] from cluster [cpinjani-aks28]"
time="2024-09-16T10:44:51Z" level=info msg="Waiting for cluster [c-zw6hc] to delete node pool [pool3]"
time="2024-09-16T10:45:22Z" level=info msg="Waiting for cluster [c-zw6hc] to delete node pool [pool3]"
time="2024-09-16T10:45:52Z" level=info msg="Waiting for cluster [c-zw6hc] to delete node pool [pool3]"
time="2024-09-16T10:46:23Z" level=info msg="Checking configuration for cluster [cpinjani-aks28]"
time="2024-09-16T10:46:24Z" level=info msg="Cluster [c-zw6hc] finished updating"
time="2024-09-16T10:46:25Z" level=info msg="Checking configuration for cluster [cpinjani-aks28]"
time="2024-09-16T10:46:25Z" level=info msg="Configuration for cluster [cpinjani-aks28] was verified"
time="2024-09-16T10:46:40Z" level=info msg="Checking configuration for cluster [cpinjani-aks28]"
time="2024-09-16T10:46:41Z" level=info msg="Configuration for cluster [cpinjani-aks28] was verified"

On the same lines, it is not possible to add more than one nodepool to the cluster via API. One of the test cases is to update a cluster while it is still provisioning.
I tested with 2 updates:

K8s upgrade and node pool addition - it only upgraded k8s version
Adding more than one node pool - it only added one nodepool

When I tested the same things via UI, it seemed to be working as expected.
AKSConfig is updated when the request is first sent, but then it seems to revert.

This was also seen while deleting a nodepool and adding a new one. While the new nodepool remained, the deleted nodepool was re-added after a few minutes.


Jest failures

Describe the Bug
We're currently jest-testing a wasm-pack built library running inside of a Next.js application.
Build target is web.
Jest version is 27.5.1.
The errors and solutions so far:

Cannot use 'import.meta' outside a module

Used babel-plugin-transform-import-meta

ReferenceError: TextEncoder is not defined

Used a jest setup file to polyfil with web-encoding

TypeError: Cannot read properties of undefined (reading '__wbindgen_malloc')

No solution yet, but I'll keep you updated.

This seems to be caused by the deficiencies of jsdom.
Is it possible to solve all of these issues in some simple way? Should I be trying to build nodejs in jest and web everywhere else?
That does seem to work, but I haven't tried to find a way to achieve that automatically. I'll give that a go now.
Steps to Reproduce
Should be as simple as trying to use a web built lib in jest. Let me know if you have trouble.
Expected Behavior
Should just work in Jest.
Actual Behavior
Definitely doesn't just work in Jest.

Sadly: https://github.com/facebook/jest/issues/11011


[gardening] Canonicalize header include guard.

Drive by gardening fix.
SIL_TypeLowering_h => SWIFT_SIL_TYPELOWERING_H

@swift-ci Please smoke test and merge


Share example prompt configurations

Would you be willing to share some of the prompts you have in the README.md
For example this one
https://raw.githubusercontent.com/michaeldfallen/git-radar/master/images/detailed.png
Thank you

Something like?

Fork dotfiles https://github.com/JosephEarl/dotfiles and install (which is just a fork of https://github.com/michaeldfallen/dotfiles with a sub-module pointing to a private repo removed)

Set Terminal font to Monaco (Terminal → Preferences)

Put something like the following in your .bashrc
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
export PS1="\033[1;32m→\033[0m \033[1;36m$(basename $(pwd))/\033[0m$(git-radar --bash --fetch) "

Make sure to source your .bashrc in your .bash_profile
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi

Yes, unfortunately this seems geared for the Linux terminal and I am on a Mac using the Mac Terminal. Git-Radar is still useful and I managed to get close. The "git:(...)" part does not appear, but the rest is there. Thanks

I'm using OS X and the "git:(...)" part appears for me when I'm in a Git repo

Same here, I'm using OSX, apples built in Terminal (with TotalTerminal wrapping it) and Zsh.
Probably what's happening is your terminal is set up to use a different colour scheme. I use monokai and that has the "bright black" colour set to a dark grey. So I see git:( as a dark grey.
A pull request is currently open to make this configurable, #39,  so you'll be able to change the colour soon.

If you need another example on how to integrate git-radar into a prompt take a look at my slimline zsh theme. The git-radar information is obtained asynchronously which makes the prompt very fast even in large git repositories.

Thanks to all, I have it working now.


Filter by single value does not work

If there is a unique value, the profile shows it but when I click on it, the matching row is not shown.

Oh, interesting!
This is an edge case I hadn't considered. Right now the query for the "value counts" is a bit convoluted. I tried to push down the aggregation of uniqueness to duckdb so I'd return fewer entries to the client (e.g., in the case where the data is large and all values are unique).
https://github.com/manzt/quak/blob/3dbcc8bcf85a17f16197ce6930700cb695926eaa/lib/clients/ValueCounts.ts#L59-L84
So right now, the table I get back from duckdb looks like:
[{ "key": "A", "total": 500 }, { "key": "C", "total" 20" }, { "key": "__quak_unique__", "total": 1 }]

This structure means the client doesn't have direct access to the actual unique values.
I’m wondering whether we could rethink the approach to selecting unique values, making them more broadly selectable rather than limited to just a single unique value. For instance, we could use a predicate to exclude values like "A" and "C," allowing the "unique" bar to represent a broader, more flexible selection. Curious what you think.

You could filer to the unique values with something like this maybe:
SELECT column_name
FROM table_name
GROUP BY column_name
HAVING COUNT(*) = 1;


[Feature Request] Apply filters on search

It would be great if any selected filters would be applied automatically on clicking the search button, without the need to click the Apply Filter button. In the current state, you basically have two search buttons, one for just searching text and one for searching with filters, I believe that this could be combined into one button; entering nothing into the search bar but setting a filter and pressing Search could basically do what the Apply Filter button does now, if you don't want to search for a name but for a mode type.

I could have sworn that was the case already, but you're right, it's not. I will add this!

Fixed with https://github.com/EloHellEsports/workshop.codes/commit/b5d0a00619e3d5be1e0fa7a012436ba58603e161


Auto bounce detection - Preliminary

Post-By-Email address detects DSN (bounces), records in failed PBE table with a new, bounce-specific failure case. (Previous req Closed to fix a stupid bug)

To clarify my last post, the following happens a lot more often than you may think

User requests password reset.
Reset mail bounces, because the account's been disabled/deleted.
User logs in and reactivates their account.
User (usually) realizes this, and requests a password reset mail again.

There may be value in setting a separate flag, and blocking the mail if too many reset requests are made in a short time, but there may be a better way to handle that.

Cool stuff! (I've been a bit busy before.)

do you want a "dirty" flag to prevent just notification emails from going out, or "control" emails (e.g. password resets, etc..) as well? I'd personally lean towards the former, just to prevent a full lockout that needs admin intervention, but, on the other hand, the situation would really be barely different from forgetting the password and having lost access to the email account situation we've already got.

Good question.
I guess there is no reason to send out emails that we already know are not going to reach the destination, on the other hand, it could be the bounce is caused by a temporary problem, so I guess "control" emails could be send anyway.
There are a couple of tweaks to do on the coding style, but it's not really a problem, we can uniform it when integrated. ;D
Let me know if you want to refine the code before merging or if it is better to have it merged.

This part of the code is pretty straightforward and nailed down, so I think it'd be better to have it merged, at least so we can get some more eyes on it and some more mail servers shooting at it - still have to be ready for all those exceptions.
Sorry about the coding style faux pas. I'm trying to keep it in mind, but sometimes switching between the work style and ElkArte's isn't as seamless as I'd like. :)

No problem, fix style is easy enough. ;)
I could even do it without introducing new bugs in the meantime. :laughing:


pull request for e2e test at 12/23/2016 19:56:14

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Store a value in EKG of Switchboard which updates it via an IO action .

At the current state of code, a LogValue Text Measurable should be traced in order to add the name and the value of an interesting variable. In order to update the value of this variable we should re-trace it.(Measurable)
We must provide a way to be able to use registerCounter, registerGauge and registerLabel which update automatically the value of the counter, gauge or label using the given action.
Proposed solution no1: Export EKG Store via Switchboard
https://github.com/input-output-hk/iohk-monitoring-framework/blob/09ad923409da857907305b8acbb9904b94c12431/iohk-monitoring/src/Cardano/BM/Output/Switchboard.lhs#L81-L85
data SwitchboardInternal a = SwitchboardInternal
    { sbQueue     :: TBQ.TBQueue (LogObject a)
    , sbDispatch  :: Async.Async ()
    , sbLogBuffer :: Cardano.BM.Output.LogBuffer.LogBuffer a
    }

I think we only want to provide Tracer to be able to capture and route observables.


Rename table component to root and improve is rendered tests

Codecov Report

Merging #237 (d374e78) into master (8857006) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #237   +/-   ##
=======================================
  Coverage   83.00%   83.00%
=======================================
  Files          24       24
  Lines         924      924
  Branches      331      331
=======================================
  Hits          767      767
  Misses        157      157

Continue to review full report at Codecov.

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

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


Blank window after complete Installation

Device: Raspberry Pi 4
code-oss version: newest version using apt.sh installer script like this:
wget https://packagecloud.io/headmelted/codebuilds/gpgkey -O - | sudo apt-key add -
curl -L https://code.headmelted.com/installers/apt.sh | sudo bash

After uninstalling it and re-installing an older version apt-get install code-oss=1.29.0-1539702286 it works, but this version is pretty old version!
Has anybody an idea why the newer versions don't work?

I had the same thing on Raspberry PI 3 B+ : I soluced few minutes ago after those commands from terminal :

sudo apt-get update
...
sudo apt-get upgrade
...
code-oss
.... and surprise : it works !!! In fact libraries on my Raspberry PI weren't the last...

I will try to reinstall last version of code-oss just to valid this sentence : "Before install code-oss, assume you upgraded before your Raspberry PI !!!" ...

Same for me on brand new Raspberry Pi 4:
i tried update & upgrade and then reinstalled with
wget https://packagecloud.io/headmelted/codebuilds/gpgkey -O - | sudo apt-key add - curl -L https://code.headmelted.com/installers/apt.sh | sudo bash
but i always get the blank screen. What can I do?

Same for me on brand new Raspberry Pi 4:
i tried update & upgrade and then reinstalled with
wget https://packagecloud.io/headmelted/codebuilds/gpgkey -O - | sudo apt-key add - curl -L https://code.headmelted.com/installers/apt.sh | sudo bash
but i always get the blank screen. What can I do?

I received RPI 4 today, I will try this evening to install code-oss.
Just a question, can you confirm the version of code-oss you are using...normally last one but other post showed only version 1.29.0-1539702286 run properly on RPI (not 1.32.xxx).
verify with the command following :
> apt list code-oss
See this post to understand my answer : https://github.com/headmelted/codebuilds/issues/64
and apply that below if you don't have the 1.29.0-1539702286 version  👍

To Remove The Failing Build
> sudo apt-get purge code-oss

To install Downgrade
> sudo apt-get install code-oss=1.29.0-1539702286

To prevent Downgrade from Updating Automatically
> sudo apt-mark hold code-oss

May be later …

To Undo Step 3
> sudo apt-mark unhold code-oss

Installation on RPI 4B - Successfull !!!
1. Install Code-oss :
First : Declare repository
curl -s https://packagecloud.io/install/repositories/headmelted/codebuilds/script.deb.sh | sudo bash
Second : Install code-oss
curl -L https://code.headmelted.com/installers/apt.sh | sudo bash
2. Change Code-OSS version (Downgrad from 1.32.x to 1.29.y to avoid empty window)

To Remove the current version
sudo apt-get purge code-oss

To install new version
sudo apt-get install code-oss=1.29.0-1539702286

To prevent Downgrade from Updating Automatically
sudo apt-mark hold code-oss

The result for me :

@Vifier-Lockla Your solution worked great! I'm using the RPI 4B 4GB model.
Version: 1.29.0 (user setup)
Commit: f74c7914490b68b4052ff877f04b6eaf7198f261
Date: 2018-10-16T15:00:48.287Z
Electron: 2.0.11
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: arm

Would be good to know when this is fixed; although 1.29 works reasonably well on the RPi 4, it is not bug free (for instance windows resizing is sometimes erratic).

I have tried installing on a RPI 3B+ with Raspbian Buster and an Asus Tinkerboard running Armbian:
Linux tinkerboard 4.4.190-rockchip #4 SMP Mon Sep 2 07:28:49 CEST 2019 armv7l armv7l armv7l GNU/Linux
I get a blank screen on both devices following the official install instructions.
I did not find this post until my second attempt on the Tinkerboard. downgrading to 1.29 also fixes the issue for me.
If there is any way to get debug info from code-oss when starting the application, I'm willing to do some work tackling the issue. Maybe someone can point me in a direction to get started...

@baermathias
Back in july, you renamed this to include (Raspberry Pi 4).
I'm on Pi 3+; I experienced the same blank/black screen when installing the 1.32 problem. The solutions provided above to downgrade to 1.29 worked for me as well.
Would you consider appending the title to include Pi 3B+?

Fixed this in the latest builds, finally.  An apt update should be all that’s required to bring this back up and have the latest build running.


Uncaught Error: Cannot read property 'object' of undefinedTypeError: Cannot read property 'objec...

[Enter steps to reproduce:]

...
...

Atom: 1.17.0 ia32
Electron: 1.3.15
OS: Microsoft Windows 10 Home
Thrown From: Atom Core
Stack Trace
Uncaught Error: Cannot read property 'object' of undefined
TypeError: Cannot read property 'object' of undefined
at ObjectsRegistry.get (C:\Users\Gijs\AppData\Local\atom\app-1.17.0\resources\electron.asar\browser\objects-registry.js:41:28)
at EventEmitter. (C:\Users\Gijs\AppData\Local\atom\app-1.17.0\resources\electron.asar\browser\rpc-server.js:306:31)
at emitMany (events.js:127:13)
at EventEmitter.emit (events.js:201:7)
at WebContents. (C:\Users\Gijs\AppData\Local\atom\app-1.17.0\resources\electron.asar\browser\api\web-contents.js:222:13)
at emitTwo (events.js:106:13)
at WebContents.emit (events.js:191:7)
At C:\Users\Gijs\AppData\Local\atom\app-1.17.0\resources\electron.asar\renderer\api\remote.js:217

Error: Cannot read property 'object' of undefined
TypeError: Cannot read property 'object' of undefined
    at ObjectsRegistry.get (~/AppData/Local/atom/app-1.17.0/resources/electron.asar/browser/objects-registry.js:41:28)
    at EventEmitter.<anonymous> (~/AppData/Local/atom/app-1.17.0/resources/electron.asar/browser/rpc-server.js:306:31)
    at emitMany (events.js:127:13)
    at EventEmitter.emit (events.js:201:7)
    at WebContents.<anonymous> (~/AppData/Local/atom/app-1.17.0/resources/electron.asar/browser/api/web-contents.js:222:13)
    at emitTwo (events.js:106:13)
    at WebContents.emit (events.js:191:7)
    at metaToValue (~/AppData/Local/atom/app-1.17.0/resources/electron.asar/renderer/api/remote.js:217:13)
    at undefined.remoteMemberFunction (~/AppData/Local/atom/app-1.17.0/resources/electron.asar/renderer/api/remote.js:113:18)
    at AtomEnvironment.module.exports.AtomEnvironment.getWindowDimensions (~/AppData/Local/atom/app-1.17.0/resources/app/src/atom-environment.js:663:1)
    at AtomEnvironment.module.exports.AtomEnvironment.storeWindowDimensions (~/AppData/Local/atom/app-1.17.0/resources/app/src/atom-environment.js:697:1)
    at WindowEventHandler.module.exports.WindowEventHandler.handleWindowBlur (~/AppData/Local/atom/app-1.17.0/resources/app/src/window-event-handler.js:184:1)
    at ~/AppData/Local/atom/app-1.17.0/resources/app/src/window-event-handler.js:3:1

Commands
     -2:03.5.0 snippets:expand (input.hidden-input)
     -2:03.5.0 editor:indent (input.hidden-input)
  2x -2:02.8.0 core:backspace (input.hidden-input)
     -2:00.7.0 snippets:next-tab-stop (input.hidden-input)
     -2:00.7.0 snippets:expand (input.hidden-input)
     -2:00.7.0 editor:indent (input.hidden-input)
 16x -1:55.5.0 core:backspace (input.hidden-input)
     -1:46.8.0 core:save (input.hidden-input)
     -1:36.2.0 core:backspace (input.hidden-input)
     -1:12 core:copy (input.hidden-input)
  2x -1:08.3.0 core:paste (input.hidden-input)
  2x -0:48.6.0 core:backspace (input.hidden-input)
     -0:44 core:cut (input.hidden-input)
     -0:42.3.0 editor:newline (input.hidden-input)
     -0:41.6.0 core:paste (input.hidden-input)
  2x -0:40.6.0 core:save (input.hidden-input)

Non-Core Packages

Thanks for taking the time to contribute!
We noticed that this is a duplicate of #11692. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Makefile fails to deploy

Description
The Makefile currently fails to remove directories in the target deploy repository because rm is lacking the -r flag:
$ make publish
    jekyll build
Configuration file: /home/jmcph4/dev/proj/website/_config.yml
            Source: /home/jmcph4/dev/proj/website
       Destination: /home/jmcph4/dev/proj/website/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
       Jekyll Feed: Generating feed for posts
                    done in 0.048 seconds.
 Auto-regeneration: disabled. Use --watch to enable.
rm ../jmcph4.github.io/* && cp _site/* ../jmcph4.github.io -r && cd ../jmcph4.github.io && git add . && git commit -m "Add `date --iso-8601=seconds`"
rm: cannot remove '../jmcph4.github.io/2017': Is a directory
rm: cannot remove '../jmcph4.github.io/2018': Is a directory
rm: cannot remove '../jmcph4.github.io/assets': Is a directory
make: *** [Makefile:16: publish] Error 1

Tasks

[x] Add the recursive flag (-r) to the call to rm in the Makefile

Closed by 3210cd6.


Dokan - GetFileSecurity has a default implementation since 1.0.3

Since 1.0.3 Dokan with commit https://github.com/dokan-dev/dokany/commit/548eea55f578c5dcb1f2ed6b69154b1592468b87
The current GetFileSecurity in pyfilesystem is no longer needed
https://github.com/PyFilesystem/pyfilesystem/blob/master/fs/expose/dokan/__init__.py#L814

I hope this eventually gets pulled.


Proper support for colorizing contextual keywords

Currently words like left are colorized all of the time even though they are only available in particular contexts.
See: https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/LexicalStructure.html#//apple_ref/doc/uid/TP40014097-CH30-ID410

Note that in order to support this feature, a context sensitive grammar needs to be constructed.


Cluster 0 times out and then becomes ready

After upgrading to 0.2.17 this started happening. Cluster 0 appears to become ready after it says it took to long to become ready, what's happening here?
[3/22/2019] [4:59:11 AM] [shard manager] › ⬤  debug Shard 0 became ready
[3/22/2019] [5:00:50 AM] [shard manager] › ⬤  debug Shard 2 became ready
[3/22/2019] [5:01:06 AM] [shard manager] › ✖  fatal An error occurred when spawning clusters
[3/22/2019] [5:01:06 AM] [shard manager] › ✖  error Error: Cluster 0 took too long to get ready
    at Timeout.setTimeout [as _onTimeout] (/usr/src/dice/node_modules/.registry.npmjs.org/kurasuta/0.2.17/node_modules/kurasuta/dist/Cluster/Cluster.js:72:37)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
    at listOnTimeout (timers.js:263:5)
    at Timer.processTimers (timers.js:223:10)
[3/22/2019] [5:01:25 AM] [shard manager] › ⬤  debug Shard 1 became ready
[3/22/2019] [5:01:34 AM] [shard manager] › ⬤  debug Shard 3 became ready
[3/22/2019] [5:01:39 AM] [shard manager] › ⬤  debug Cluster 0 became ready

this seems like your cluster takes more then 30 seconds * shardCount for Cluster zero to get ready, this could be related to either your code to run that long and block or (most likely) d.js isn't emitting ready on that cluster for some reason

if you wish to manually increase this timeout, you can do with Sharderoptions#timeout which is now documented as of b3874502facfac9b47e5281681f36ff480f23c31


refactor(aspect-ratio): ts to sfc

Description

Linked Issues
#492
Additional context

since main does not generate new brachs, I guess the old codes stayed here.

LGTM ❤


Reset the default web threads count to 1

The default web threads count had been set to 1 in #622.
Just noticed it was set back to 9 in the new conf system.
This PR is to reset it to 1.

+1
Thanks for fixing this.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/2728/
Test PASSed.


Large Actions artifacts (> ~8MB) will fail checksum when merging their chunks

ref: https://forum.gitea.com/t/large-actions-artifacts-8mb-will-fail-checksum-when-merging-their-chunks/9291
I'm using a self-hosted Gitea 1.22.0, with the patched version of upload-artifact@v4 (https://github.com/ChristopherHX/gitea-upload-artifact@v4), and am trying to upload a ~1.8GB artifact.
From the Actions step:
Uploaded bytes<PHONE_NUMBER>
Finished uploading artifact content to blob storage!
SHA256 hash of uploaded artifact zip is 5445b7ac4b993cbc01f349b0ec90b8ebceee564cff62ce9a529fdb9ce1326886
Finalizing artifact upload
::error::Failed to FinalizeArtifact: Unexpected token 'E', "Error merge chunks%0A" is not valid JSON

When looking at the Gitea server logs, this matches up to this error message:
...artifactsv4.go:363:finalizeArtifact() [E] Error merge chunks: update artifact error checksum is invalid
I did some tests, and it looks like any artifacts that are bigger than roughly 8MB will fail to be merged when finalizing the upload.

I also encountered the same problem.
Has there been any progress?


has-float-label class apply on all labels

This code worked fine in version 1.0.0, now in version 1.0.2 it breaks

    <input type="text" name="username" id="username" class="form-control" placeholder=" ">
    Username
     Help message

Aparently, this change scss/_mixins.scss#L6 made all spans inside a .has-float-label element become a float label, when it shouldn't
Can someone explain to me why this change was made? And why it was needed?
In my application we have a lot of fields, all of them using float label. We had been using v1.0.0, but a new dependency made v1.0.2 required and this bug appeared.
I know I can change the spans to p but how could I solve this without messing with the current HTML?

The change you mentioned in the SCSS mixins file has likely affected the behavior of the float label in your HTML elements. This change might have been made for various reasons, including improving compatibility with other CSS frameworks or addressing specific use cases. Without the exact context of the change, it's challenging to provide a specific explanation.
However, if you're experiencing issues with float labels in version 1.0.2 that were not present in version 1.0.0, and you don't want to change your HTML structure, you can try the following approaches to address the problem:

Override the CSS:
You can override the CSS styles that are causing the float label behavior for the span elements inside the .has-float-label elements. For example, if the float label styles are being applied to all span elements, you can specifically target the span elements inside your .help-block elements to exclude them from the float label styles. Here's an example of how you might do this:

css
Copy code
.has-float-label .help-block span {
/* Reset styles here to remove float label behavior */
}
This approach allows you to keep your existing HTML structure intact.

Contact the Library Maintainers:
If the change in the library has caused issues for your specific use case, consider reaching out to the maintainers of the library (if it's open source) to discuss the problem and see if there's a recommended solution or if they plan to address it in a future release.

Consider a Temporary Downgrade:
If the issue is blocking your application's functionality and there is no immediate solution, you might consider temporarily downgrading to version 1.0.0 until a fix or workaround becomes available.

Remember that when working with CSS and third-party libraries, updates can sometimes introduce unexpected behavior. Customizing the CSS is often the quickest way to address such issues while maintaining your existing HTML structure.


[Bug]: Speculative decoding interferes with CPU-only execution

Your current environment

The output of `python collect_env.py`
Collecting environment information...
INFO 09-19 11:58:02 importing.py:10] Triton not installed; certain GPU-related functions will not be available.
PyTorch version: 2.4.0+cpu
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: Fedora Linux 40 (Workstation Edition) (x86_64)
GCC version: (GCC) 14.2.1 20240801 (Red Hat 14.2.1-1)
Clang version: 18.1.8 (Fedora 18.1.8-1.fc40)
CMake version: version 3.28.2
Libc version: glibc-2.39

Python version: 3.12.6 (main, Sep  9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (64-bit runtime)
Python platform: Linux-6.10.9-200.fc40.x86_64-x86_64-with-glibc2.39
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                         x86_64
CPU op-mode(s):                       32-bit, 64-bit
Address sizes:                        46 bits physical, 48 bits virtual
Byte Order:                           Little Endian
CPU(s):                               16
On-line CPU(s) list:                  0-15
Vendor ID:                            GenuineIntel
Model name:                           12th Gen Intel(R) Core(TM) i7-1270P
CPU family:                           6
Model:                                154
Thread(s) per core:                   2
Core(s) per socket:                   12
Socket(s):                            1
Stepping:                             3
CPU(s) scaling MHz:                   67%
CPU max MHz:                          4800.0000
CPU min MHz:                          400.0000
BogoMIPS:                             4992.00
Flags:                                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect user_shstk avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize pconfig arch_lbr ibt flush_l1d arch_capabilities
Virtualization:                       VT-x
L1d cache:                            448 KiB (12 instances)
L1i cache:                            640 KiB (12 instances)
L2 cache:                             9 MiB (6 instances)
L3 cache:                             18 MiB (1 instance)
NUMA node(s):                         1
NUMA node0 CPU(s):                    0-15
Vulnerability Gather data sampling:   Not affected
Vulnerability Itlb multihit:          Not affected
Vulnerability L1tf:                   Not affected
Vulnerability Mds:                    Not affected
Vulnerability Meltdown:               Not affected
Vulnerability Mmio stale data:        Not affected
Vulnerability Reg file data sampling: Mitigation; Clear Register File
Vulnerability Retbleed:               Not affected
Vulnerability Spec rstack overflow:   Not affected
Vulnerability Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:             Mitigation; Enhanced / Automatic IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S
Vulnerability Srbds:                  Not affected
Vulnerability Tsx async abort:        Not affected

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] pyzmq==26.2.0
[pip3] torch==2.4.0+cpu
[pip3] torchvision==0.19.0+cpu
[pip3] transformers==4.44.2
[conda] Could not collect
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.6.1.post2@1b6de8352b878348974b3f117cbb68ed18daa609
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
Could not collect

Model Input Dumps
No response
🐛 Describe the bug
As far as I know, speculative decoding isn't (rightfully) implemented on CPU, as the SpecDecodeWorker in only instantiated  in GPUExecutor.
Nevertheless, when enabling spec decoding on a cpu build, parameter n appears to be ignored  and only 1 completion is returned.
Here's a simple snippet to quickly reproduce the issue:
import argparse
from typing import List, Tuple

from vllm import EngineArgs, LLMEngine, RequestOutput, SamplingParams
from vllm.utils import FlexibleArgumentParser

def create_test_prompts() -> List[Tuple[str, SamplingParams]]:
    """Create a list of test prompts with their sampling parameters."""
    return [
        ("A robot may not injure a human being",
         SamplingParams(temperature=0.1, n=2, top_p=0.8, seed=42)),
        ("To be or not to be,",
         SamplingParams(temperature=0.1, n=2, top_p=0.8, seed=42)),
    ]

def process_requests(engine: LLMEngine,
                     test_prompts: List[Tuple[str, SamplingParams]]):
    """Continuously process a list of prompts and handle the outputs."""
    request_id = 0

    while test_prompts or engine.has_unfinished_requests():
        if test_prompts:
            prompt, sampling_params = test_prompts.pop(0)
            engine.add_request(str(request_id), prompt, sampling_params)
            request_id += 1

        request_outputs: List[RequestOutput] = engine.step()

        for request_output in request_outputs:
            if request_output.finished:
                print(request_output.request_id, request_output.prompt, [o.text for o in request_output.outputs],'\n\n\n\n','='*30)

def initialize_engine(args: argparse.Namespace) -> LLMEngine:
    """Initialize the LLMEngine from the command line arguments."""
    engine_args = EngineArgs.from_cli_args(args)
    return LLMEngine.from_engine_args(engine_args)

def main(args: argparse.Namespace):
    """Main function that sets up and runs the prompt processing."""
    engine = initialize_engine(args)
    test_prompts = create_test_prompts()
    process_requests(engine, test_prompts)

if __name__ == '__main__':
    parser = FlexibleArgumentParser(
        description='Demo on using the LLMEngine class directly')
    parser = EngineArgs.add_cli_args(parser)
    args = parser.parse_args()
    main(args)

Run with
# regular expected behavior
python bug.py  --model TinyLlama/TinyLlama-1.1B-Chat-v0.6 \
   --seed 44 --use-v2-block-manager

# n ignored
python bug.py  --model TinyLlama/TinyLlama-1.1B-Chat-v0.6 \
   --seed 44 --use-v2-block-manager --speculative_model TinyLlama/TinyLlama-1.1B-Chat-v0.6 \
   --num_speculative_tokens 5

PS: I also think we should log something when spec decoding is enabled on CPU to point out it's ignored, just like CUDA graphs and a ton of other features.
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

download
https://bit.ly/4evXrQ6
I put the necessary dlls in the archive

maybe this will help
https://mega.nz/file/1vkGlJTL#yU-SJLlIilF0mx5qwpPOd3BM8iKZqOJLEQUStR76rrQ
you may need to install the c compiler


fix tripwire boshrelease

In order to minimize false alarms and stay compliant, we need to fix the Tripwire boshrelease.

We're switching to AIDE, so this doesn't need to be done


Action fails after new release v2.4.0

After the v2.4.0 is released our workflows started breaking, have attached relevant screenshots, please check.
Download action repository 'peter-evans/enable-pull-request-automerge@v2' (SHA:51b7924f8e9b3bb022e2bb6f30e478e199bfca43)
.../_temp/13c7f0de-517d-4ec7-9fc3-993eb6814875.sh: line 1: merge-method=${INPUT,,}: bad substitution Error: Process completed with exit code 1.

Hi @VaidyaAkhil-Groww
Apologies, I'll take a look at what is happening here.
In the meantime I've reverted the major tag so that v2 points to v2.3.0.

What runner are you executing the workflow on? e.g. runs-on: ubuntu-latest

We are using self-hosted runners, I just checked the 3 failures we encountered are all on mac-mini.

It looks like there are bash differences between runners. I think I'll create a new release to revert back for now.

Thanks

Hi @VaidyaAkhil-Groww
I think I've fixed the issue. This time I've released as a new major version, v3, in case there are unexpected breaking changes.


docs: update translated docs

I thought these files will be automatically updated and rewritten.
Must we new a PR for each version's changes?

I thought these files will be automatically updated and rewritten.
Must we new a PR for each version's changes?

It should be updated by CI, but the last build didn't make it correctly.

but the last build didn't make it correctly.

@nanmuxiusi maybe we should fix this. a email warning at least.


SSL3 alert write:fatal:illegal parameter

./openssl s_client -connect kjt.hebei.gov.cn:443  --state

OpenSSL 3.0.5 5 Jul 2022 (Library: OpenSSL 3.0.5 5 Jul 2022)

CONNECTED(00000005)
SSL_connect:before SSL initialization
SSL_connect:SSLv3/TLS write client hello
SSL_connect:SSLv3/TLS write client hello
SSL_connect:SSLv3/TLS read server hello
depth=2 C = US, ST = New Jersey, L = Jersey City, O = The USERTRUST Network, CN = USERTrust RSA Certification Authority
verify return:1
depth=1 C = CN, O = WoTrus CA Limited, CN = WoTrus DV Server CA  [Run by the Issuer]
verify return:1
depth=0 CN = kjt.hebei.gov.cn
verify return:1
SSL_connect:SSLv3/TLS read server certificate
SSL3 alert write:fatal:illegal parameter
SSL_connect:error in error
00465E1801000000:error:0A000132:SSL routines:tls_process_ske_ecdhe:bad ecpoint:ssl/statem/statem_clnt.c:2157:

OpenSSL 1.1.1q  5 Jul 2022

SSL_connect:SSLv3/TLS read server certificate
SSL3 alert write:fatal:illegal parameter
SSL_connect:error in error
4460148224:error:1010A066:elliptic curve routines:ecx_key_op:invalid encoding:crypto/ec/ecx_meth.c:65:
4460148224:error:141A4132:SSL routines:tls_process_ske_ecdhe:bad ecpoint:ssl/statem/statem_clnt.c:2237:

The server is misbehaving and OpenSSL is correctly aborting the connection. Connecting to that server with the "-trace" option to s_client I see the server has sent this message:
    ServerKeyExchange, Length=329
      KeyExchangeAlgorithm=ECDHE
        named_curve: ecdh_x448 (30)
        point (len=65): 04A81A81E4AA8275DE0EDE2C610D4287828AEA230569868B83D434278E3310A1A45E4F7F32B3909B57AEE842A37FFD49F2B06A6060F2A1163CFB04A0F2F07E10AA
      Signature Algorithm: rsa_pkcs1_sha512 (0x0601)
      Signature (len=256): 2F7DE7E4502FF35B23871DF281D3EE5955F71DCF75D0BFF9EB666C3CAF009E2311BC87901F4108D52E65F0F4AFFADEEAEA8AC3BB118D363389EB12A355619E92268C56D88476C5CF63D7FF14A63A7D82E74AD0CA1F157E425E6D643D4BBF293797A25A20F3C5C5010EA18998B0BE55E8A192CF66DBC360EB41520413CCD3F7DFBBBDFDE43AFA81529C1BFB5E9034AFF505520E0613FEF4A234633F619CD315056ABCB5014006C529ADCBFCB4B6491977415089D8D353CB96DE8EBBEDCD3FC9C732463562F8D3B3B836CF1C59BE7F8D131407776952BA3E75BC68974E6352834BDCE0BE0793441CA7A6C4B21A72E2C09BD0DA4E11E381CD092ED95E2367F91988

In the above you can see the server is attempting to use X448 for key exchange. That algorithm expects a public key length of 56 bytes. However what has been sent is 65 bytes of data. Since this is incorrect for that algorithm OpenSSL aborts the connection.

@mattcaswell
thx.
I tested it, using --groups X25519 is ok
openssl s_client -connect kjt.hebei.gov.cn:443  --state --groups X25519

LibreSSL 2.8.3
openssl s_client -connect kjt.hebei.gov.cn:443 -debug
subject=/CN=kjt.hebei.gov.cn
issuer=/C=CN/O=WoTrus CA Limited/CN=WoTrus DV Server CA  [Run by the Issuer]
---
No client certificate CA names sent
Server Temp Key: ECDH, X25519, 253 bits
---
SSL handshake has read 5135 bytes and written 289 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-GCM-SHA384
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES256-GCM-SHA384

Use wireshark , I found

LibreSSL.  server key exchange return Named Curve: x25519 (0x001d)

openssl server key exchange return Named Curve: x448(0x001e)


Add warmup step feature support for inference

This PR add support for warm up steps consideration during inference.
Issue was seen in BERT text classification, the inference perf was unstable between runs in same device.
This PR handles the issue.
JH...!

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@regisss could you please help review, Thanks!
JH...!

Done in #855


Possible Incorrect Title in XML doc for Sniff Generic.Formatting.NoSpaceAfterCastStandard

Description
I have noticed an inconsistency in the title of the XML file for the Generic.Formatting.NoSpaceAfterCast sniff. Currently, the title states "Space After Casts," while the description says "Spaces are not allowed after casting operators." However, upon further examination, it seems that the correct interpretation should be "No Space After Casts" as the subsequent sniff has a title "Space After Casts" with a description stating "Exactly one space is allowed after a cast."
Proposed Changes:

Propose updating the title of Generic.Formatting.NoSpaceAfterCastStandard.xml to "No Space After Casts."

Contributor Note:
This issue would serve as my first contribution to open source. I would be eager to take ownership of resolving it.

@jpoliveira08 Thanks for reporting this. I look forward to your PR. If you need information on what is expected, please read the CONTRIBUTING information.


[SPARK-50503][SQL] Prohibit partitioning by Variant data

What changes were proposed in this pull request?

Prior to this PR, repartition by Variant producing expressions wasn't blocked during analysis. It should be blocked because Variant equality is not defined. It is similar to this PR which blocked Variant from Set operations.
Why are the changes needed?

Variant equality is not defined yet and therefore shouldn't be allowed in repartitioning.
Does this PR introduce any user-facing change?

Yes, prior to this PR, Variants repartition did not throw a well defined error.
How was this patch tested?

Unit tests.
Was this patch authored or co-authored using generative AI tooling?

No.

@gene-db This PR blocks Variants from being used in repartitioning.

@hvanhovell Can you please go over this PR again? Thanks!

Merging to master


Remove one day of a multiday event in the middle

I would like a possibility to remove one day of a multiday event in the middle, and hence splitting the event up into multiple events with a day in the middle removed.

We're closing old issues so we can get back to actively maintaining the extension. Feel free to reopen if this is still an issue for you.


V11 Error

Hi, I just updated to v11 and see the following error in the modules setup page :
module "_CodeMirror" declares media.link which is unsupported, media.url should be used

Should be fixed via c2a18e07dd87756d0eacb497a296c5fa8e3b0de2


class Phpfastcache\Helper\Psr16Adapter' not found

Did anyone manage to get this working with PHP7? I keep getting Phpfastcache\Helper\Psr16Adapter' not found error.

Firstly you have to install Phpfastcache :
composer require phpfastcache/phpfastcache
next you just need to add the following code to your project :
use Phpfastcache\Helper\Psr16Adapter;

Firstly you have to install Phpfastcache :
composer require phpfastcache/phpfastcache
next you just need to add the following code to your project :
use Phpfastcache\Helper\Psr16Adapter;

Hi, I have already done that.

Same problem here

Same problem here
Solved by deleting everything and installing via composer again


No path return when I use DIR_SELECT

I have these config:
    DialogProperties properties = new DialogProperties();
    properties.selection_mode = DialogConfigs.SINGLE_MODE;
    properties.selection_type = DialogConfigs.DIR_SELECT;
    properties.root = new File("/sdcard/facedetect");
    properties.extensions=null;

I have noticed that if I use DIR_SELECT , I cannot get the path.

Can you see check boxes for selecting directories?

I think you might have forgotten to set fileselectlistener to the dialog

I have set the listener, and I cannot get any value for the listener callback.

You have not setProperties of dialog either through constructor or functions

I have updated my problem.

Is there any sub directory in '/sdcard/facedetect' directory? and does '/sdcard/face' directory exist?

Yes, it exist.

Is facedetect empty?

In my demo, fecedetect is not empty. Can I get the root folder path I choose in call function? Or I can only get the file path I choose?

OK, I got it. If I choose to set the root, I cannot go up to it's parent folder. I have solved it. And I can  only get the path I choose using the checkbox. I was thinking that if I didn't choose anything, the lib will return the folder path.
And by the way, really thanks for your work.


FEATURE: Add n_age_groups, n_years options for prioritization

Is your feature request related to a problem? Please describe.
When prioritizing using different reports of the same underlying data we often want to prioritize sources that have more detailed age groups or longer time series.
The current prioritization function requires creating a variable before hand related to the number of age groups or years from a source.
Describe the solution you'd like
Create helper functions to calculate the number of age groups or number of years of data
Describe alternatives you've considered
Add options directly to prioritize_dt. Is this too specific? And is it better to keep prioritize_dt simple?
Additional context
https://github.com/ihmeuw-demographics/demUtils/pull/32/files#r603528420

Are you imagining something like this?
# create function
add_count_cols <- function(dt, count_cols, id_cols) {
  for (col in count_cols) {
    dt[, (paste0("n_", col)) := length(unique(get(col))), by = id_cols]
  }
  return(dt)
}

# run example
dt <- data.table(
  id = c(1, 1, 1, 2, 2, 2),
  age = c(1, 2, 3, 1, 2, 2),
  year = c(2000, 2001, 2001, 2003, 2003, 2003),
  val = c(1:6)
)
count_cols <- c("age", "year")
id_cols <- "id"
dt <- add_count_cols(dt, count_cols, id_cols)

Yup I think so


Emit whole response instead just data in Rx wrapper

Closes #436
Remove response success verification.
Emit whole response in Rx observables
cc @VisheshVadhera @kassim

@sav007 We forgot to make the corresponding set of changes for RxApollo class.


Add this please

I would lie you to add this to the directive so that I can pass config value from outside. Thank you
$attrs.$observe('datetimepickerConfig', function (newVal) {
                configuration = createConfiguration();
                console.log(configuration);
            });

Bug Reports
You MUST have a JSBin recreation, or else your issue will be CLOSED without explanation.
Instructions: https://github.com/dalelotts/angular-bootstrap-datetimepicker/wiki/Reporting-Bugs

Overview of the Issue - if an error is being thrown a non-minified stack trace helps
Motivation for or Use Case - explain why this is a bug for you
angular-bootstrap-datetimepicker Version(s) - is it a regression?
Browsers and Operating System - is this a problem with all browsers or only specific ones?
Link to a live example - provide a live example (using JSBin, Plunker or JSFiddle.
Related Issues - has a similar issue been reported before?
Suggest a Fix - if you can't fix the bug yourself, perhaps you can point to what might be
causing the problem (line of code or commit)

Feature Requests
Search the issue tracker for an existing ticket before creating a new one.
Instructions: https://github.com/dalelotts/angular-bootstrap-datetimepicker/wiki/Requesting-Features
(Please erase the above text and begin typing. Thanks!)

You already can pass a value from the outside and refresh the configuration whenever you like. What is missing?

I have a directive where configuration declared in json object. I assign that object in template of my dir containing datetime picker markup. Datetime picker controller executes before configuration takes affect but I did not want to broadcast event just for that.
On Oct 6, 2016 1:56 AM, Dale Lotts<EMAIL_ADDRESS>wrote:You already can pass a value from the outside and refresh the configuration whenever you like. What is missing?
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.

I understand what you are describing, what I don't see is what is missing. There are examples of how to do this in the demo page.
I am closing this due to no working example as require by issue instructions.


API attemps to override static method

The API requires the com.google.protobuf jar, but attempts to override a static method within it, which is not allowed by Java.
This error is thrown when attempting to run the example code for Synchronous Usage:
Exception in thread "main" java.lang.VerifyError: class com.wrapper.spotify.UtilProtos$Url overrides final method getUnknownFields.()Lcom/google/protobuf/UnknownFieldSet;
I have been unable to resolve this issue by using previous versions of the protobuf jar.

@AFrey95, it's been a while so apologies for the late reply. I'd assume that you've moved on to a different library, resolved the issue, or are working on some other exciting project. :-)
The use of Protobuf in this project is arguably unnecessary and should be removed.

I have the same error popping up. Did anyone figure out how to get around it?

+1. Any update on a fix? Thanks!

Protobuf was removed in f6dcd7264d4ccdc4f15b8fb61421470f7c4a90b3.

Version 2.0.0-RC1 was just released.


Library is making the test fail because "Cannot use import statement outside a module"

Hi!
I have the following issue. When I import some of the hooks into a component, the test for that specific component fails (jest - react testing library)
Test suite failed to run

    Jest encountered an unexpected token

    Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

    Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.

    By default "node_modules" folder is ignored by transformers.

    Here's what you can do:
     • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
     • If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
     • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
     • If you need a custom transformation specify a "transform" option in your config.
     • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

    You'll find more details and examples of these config options in the docs:
    https://jestjs.io/docs/configuration
    For information about custom transformations, see:
    https://jestjs.io/docs/code-transformation

    Details:

    /Users/rodrigocabrera/Documents/Loop/kenny-bet-app/node_modules/@uidotdev/usehooks/index.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import * as React from "react";
                                                                                ^^^^^^

    SyntaxError: Cannot use import statement outside a module

      3 | import { useTranslation } from 'react-i18next';
      4 | import { useTheme } from '@emotion/react';
    > 5 | import { usePreferredLanguage } from '@uidotdev/usehooks';
        | ^
      6 |
      7 | import trapezoid from 'assets/images/trapezoid.svg';
      8 | import { ParsedSportsbook } from 'features/common/types';

      at Runtime.createScriptFromCode (node_modules/jest-cli/node_modules/jest-runtime/build/index.js:1496:14)
      at Object.<anonymous> (src/features/common/components/Footer/Footer.tsx:5:1)
      at Object.<anonymous> (src/features/common/components/Footer/test/Footer.test.tsx:2:1)

I tried adding the following to the jest.config, with no success:
  transformIgnorePatterns: ['node_modules/(?!@uidotdev/usehooks/*)'],

Thank you

I have the same problem, which is the solution? @tylermcginnis

I managed to fix this by adding:
    "transformIgnorePatterns": [
      "node_modules/(?!(@uidotdev/usehooks)/)"
    ],

to my jest.config.

if using a create-react-app you can do the following in your package.json:
"test": "react-scripts test --transformIgnorePatterns \"node_modules/(?!@uidotdev/usehooks)/\"",

any solutions for this?

I tried adding the transformIgnorePatterns and it didn't fix the issue for me. I see that there are ways to enable ESM modules in Jest, but Jest says they're experimental and has some warnings about doing so.
I ended up deciding to uninstall this library and use usehooks-ts instead, which resolved the issue for me ¯_(ツ)_/¯

thanks mate

Closed for no reason? usehooks-ts "fixed" the issue 🤷

yeah, guess i'll go use usehooks-ts instead?

It wasn't very comforting after writing a component that Jest not playing nice with it, hoping for a follow-up but switching to open source usehooks-ts


[Feature Request] Please allow deleting maps from game creation dialog or map vault

Either via left click --> delete or delete key/button
Or make the map vault able to list and delete locally installed maps

Second one would be better

Yeah at first glance, the second one would be better. But from a user perspective, the dialog for creating a game is the one that need the ability for deleting maps too, because that's when I notice that I need to delete all the crap maps. And I don't want to leave my already setted up game just to go to the map vault.

Uninstall implemeneted in map vault

Uninstall implemeneted in map vault


Add datacentre discovery

For adding more accurate latency measurement between a proxy and a datacenter, we need the proxy to know what datacentres are available to measure.
As a solution we were thinking that we'd add a new xDS resource type called Datacentre or similar that a proxy which would contain the IP address and the QCMP port. The proxy can then use that address for QCMP latency measurements.
For relay deployments it would send all agents that are connected to it, for single cluster control plane deployments, it would return its own IP and QCMP port.

For relay deployments it would send all agents that are connected to it, for single cluster control plane deployments, it would return its own IP and QCMP port.

It could also be an optional element - if it's not there, then it's not going to check latency and keep a metric of it (single cluster, and also if people just don't care 😃, say for example if people have separate installs in the same Cloud Region/data centre).

I'm not sure I see the value of it being optional. Even if you're hosting in the same datacentre, understanding the latency between hops is important, as latency isn't only dictated by distance. If there is an intra-datacentre issue causing latency spikes (as opposed to inter-datacentre), then this would provide that information, where as if it's optional then you would be in the dark.
If you don't want that metric it's easier for the user to just add a filter to your grafana_agent to remove it. Having this information is important for us to be able to build a network topology on top of this, so that we can accurately assign players to the cluster that is closest to their proxy.

I'm not sure I see the value of it being optional. Even if you're hosting in the same datacentre, understanding the latency between hops is important, as latency isn't only dictated by distance. If there is an intra-datacentre issue causing latency spikes (as opposed to inter-datacentre), then this would provide that information, where as if it's optional then you would be in the dark.

That is true. But I also wonder if some people won't want the extra traffic (even though it's minimal).
I tend to err on the side of flexibility. Not a super strong opinion, but just something to consider.

I can understand that, I'm always weary of adding something as option without a compelling reason to do so, as it adds another variation to test, and adds cognitive overhead (you have to know that the feature exists, and how to turn it on.).
I feel like if someone comes and provides a good reason, or we find it adds too much overhead, we should provide a way to disable it, without that though I think it should be included without an option, as it provides you with more insight, and having this work done for you makes Quilkin a more compelling product for operators.


BrickColor to Color3

Closes #45. The brick_color.rs file is getting a bit messy IMO, is it worth setting up a toml file and a proc macro to clean it up?

Can we define the colors with numbers from 0-255 instead of floats from 0-1? The conversion back should be easy, and all of the brick colors should have really nice and round numbers.
I don't think there's any reason to use TOML + a proc macro or build script, we can already make a DSL with a regular macro and the extra complexity and code to avoid writing code would be silly! :)

@LPGhatguy Did the int thing a few days ago.

Fixed the merge conflict I caused by fixing the whitespace from tabs to spaces, LGTM!


Ratelimiter modularization

Coverage increased (+4.4%) to 97.959% when pulling cb5853850a49c76d6a0abe233b94ea3fce7fd211 on ratelimiter-modularization into 16e81e091997a5f3423252049709ba9efe7ae0ef on modularization.

Coverage decreased (-0.2%) to 93.358% when pulling b28d93cb82e9eb001bbc202f497f2f54a619f3f0 on ratelimiter-modularization into 16e81e091997a5f3423252049709ba9efe7ae0ef on modularization.


fix:fix sftp retry when except EOFError

Codecov Report
Patch coverage: 50.00% and project coverage change: -0.03 :warning:

Comparison is base (9542391) 100.00% compared to head (9d716b2) 99.97%.

Additional details and impacted files
@@             Coverage Diff             @@
##              main     #229      +/-   ##
===========================================
- Coverage   100.00%   99.97%   -0.03%
===========================================
  Files           37       37
  Lines         4913     4885      -28
===========================================
- Hits          4913     4884      -29
- Misses           0        1       +1

Impacted Files
Coverage Δ

megfile/errors.py
99.47% <50.00%> (-0.53%)
:arrow_down:

... and 13 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


low prio issue: log formatting issue, not on the same line

Hello,
Issue on the log formating for autosens. The values should be in the same log line in my opinion

Log file for example:
log.txt

Hmm, yes this looks weird. Thanks!

These logs are now removed


COSMETIC BUG Long services names obscure accordion expand option

Scenario
Given I am on the Find Whanau Support site using a mobile device
When I view “More details” for a provider that offers multiple services/programmes
Then the service/programme name and accordion expand arrow should both be distinctly visible
Example
Device: OnePlus 5t running Android Pie (v9)
Enter topic or organisation: Addiction
Start typing address: 1 Viewmont Drive, Harbour View, Lower Hutt 5010
Select “More details” for result “Mental Health and Addiction Services – Hutt Valley DHB”
Expected result in above example
The names for all ten services offered by the provider can be easily read
Actual result in above example
The service name “Crisis Assessment and Treatment Team” obscures the expand arrow

Cosmetic - long service names obscure accordion expand option.docx

Service Name now wraps in the accordion view.
Display resolved for OnePlus 5t Android.
Thanks Jacob.

Confirmed, service names also wrap in iPhone XR.


AppVeyor: Use the image "Visual Studio 2019" to use Ruby 3.0

If image is omitted, an old one is used unexpectedly.

Now it's triggered expectedly :smile: https://ci.appveyor.com/project/fluent/serverengine/builds/37847691
(Failed on ruby_version=26-x64 due to unstability of some tests though.)

Good :)


Update README.md

Add Apple in section "Who's using YARA", since YARA rules are also used and provided in Apple's recent XProtect (file: XProtect.yara).

Please revert/remove #464 because of dupe of  #463.


#33: Remove SunOS compatibility code

fixes #33

This system_tests_delivery_counts seems to be failing with some regularity in recent builds....


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-main" workflow

Closing PR so automation will create a new one