Auth refresh in HA unreliable

Problem: In an HA setup, the user auth refresh logic that is triggered
from an API action did not work properly. The controllers and logic
were setup such that it would only work on the "leader" node. On
non-leader nodes, the logic would panic.
This fixes the problem by move the logic to the proper API scope,
ensuring that it is available and proeprly configured on every node.
https://github.com/rancher/rancher/issues/17939

LGTM


What is the correspondence between action values and the trajectory of the real physical world?

Thank you for open-sourcing the VLA. I'm trying to deploy this to the robot, but I found that I don't know what's the correspondence between action values and the trajectory of the real physical world. Could you please give some description about it?

To be more specific, the VLA will provide an action value after calculation, but I don't know how to use this action value.


fix(test): remove menu item Learning resources

Fixes
https://issues.redhat.com/browse/HAC-5659
Description
The "Learning resources" item was removed from a Menu. Removing it from tests.

/lgtm


Laravel Sail guide

Would it be possible to have documentation on how to set this up with Laravel Sail or possibly a demo repository?

I will update the documentation for this. 😺
Basically, you may add this to your docker-compose.yaml:
# For more information: https://laravel.com/docs/sail
version: '3'
services:
    # ...

    clusteer:
        image: 'quay.io/renokico/clusteer:3.0-16-alpine'
        environment:
            DEBUG: '1'
            MAX_BROWSERS: '1'
        ports:
            - '${CLUSTEER_PORT:-8080}:8080'
        networks:
            - sail

networks:
    sail:
        driver: bridge


xilinx: eliminate SCCs from DSP48E1 model

Since combinatorial loops cause problems in ABC9.
Passes techlibs/xilinx/test_dsp_models.h.
Should fix #2190

Actually, is there even any value in describing the combinatorial multiplier as a (really really big) white box? Perhaps only when the multiplier isn't used...

Actually, is there even any value in describing the combinatorial multiplier as a (really really big) white box? Perhaps only when the multiplier isn't used...

You mean, remove the whitebox attribute from it? Could be a good plan...

Actually, is there even any value in describing the combinatorial multiplier as a (really really big) white box? Perhaps only when the multiplier isn't used...

You mean, remove the whitebox attribute from it? Could be a good plan...

Kind of.. maybe only allow it if the arithmetic back end is used (combinatorially). A very rare scenario, but perhaps a good showcase?


Startup Performance: Why are we compiling modules all the time?

atom --profile-startup

From the above it looks like we are compiling coffee script modules (see the 90+% of Module._compile) each time we load. If that is true, is there a way to alleviate this (isn't that what the coffee cache is supposed to be doing)? Or am I just seeing smoke here. For the record this happens no matter what (multiple startups, --safe, etc.).

Unless there is an identically named method special to atom, Module._compile is a node thing, unrelated to coffee script: https://github.com/joyent/node/blob/master/lib/module.js#L380. Its expected to be run for every required file. it is the running of the file (as well as js parsing/etc).

For some reason, I was under the impression that the function was how the coffee compile hook was implemented. If its not then forget my comments.
The point still stands that we should look at this lovely profile (thanks @kevinsawicki) and figure out how to remove the few big numbers.

Just want to mention that running atom --profile-startup --safe --one is a good command to know and try as well.
This runs Atom without non-bundled packages and with deprecated APIs removed which gives a better picture of startup improvements that can be made from this repo.

@kevinsawicki For completeness I ran that command. Not much difference.

Just had a random thought? Why don't we do what chrome / chromium does and run a background process that can spawn an atom window without all this startup time lag?

Yes, once the application is running there should be very little overhead to open new windows. This is currently not the case.

Which version

I'll be back I have something

cc @as-cii

FWIW, this is still the case

And it is still the case.
Atom starts on my OSX system take over 100 times what I can settle for.  I expect editors to start sub-second.  vi does.  VSCode comes close.
Atom can take 2-3 minutes.
Please give this some priority.

The node team already worked on improving the performance of the Module.prototype._compile function and the time spend requiring modules in general: nodejs/node#5172. Hover, because Atom overrides the Module.prototype._compile function form node, not all of these improvements apply to Atom. For this reason the replacement of an regex regex with a manual parsers from the mentioned PR does not apply for Atom and with it the potential performance boost. I thought about porting these changes to Atoms own Module.prototype._compile function, but found out that #13916 reduced the amount of calls to nodes require function (and therefore calls to Module.prototype._compile)  a lot by caching snapshots. Now the Module.prototype._compile function is invoked only around 20 times during startup. Therefore optimizing this function wouldn't produce a significant performance increase.
I think this issue can be closed.

I have to correct myself the snapshots are only created for build in modules. For community modules there is probably still some space for optimization.

A few comments.  There has been quite a bit of improvement since my last post.
I just stay up to date with new versions.
I am currently seeing project start times in the 2-3 second range on OSX.  Which I can live with.
I am sure further improvements can be made, but it is much better than it was.

I am sure further improvements can be made

Just wait a few more versions :wink:.  We have some awesome PRs that will be helping startup speed such as #14080, #14038, #14024, #13949, #13940, #13916, and more!
#14080 might also be enough to close this issue.


Return empty histogram on compute() if there are no staged fills

Thanks for opening this @douglasdavis
For posterity, the slack post made earlier:
"
Some coffea2023/dask_awkward/dask_histogram testing.
If compute is called on a collection of dask objects including any un-filled histograms, it gives the semi-cryptic error message in [1]. It seems like a pruning step such as removing histograms failing
isinstance(.dask, dask.highlevelgraph.HighLevelGraph)
would work for these, but during development I'm frequently creating histograms which aren't always filled, it could be that sometimes a histogram is only filled for certain datasets or under certain conditions. Delegating this all to the user is one choice, but I'd argue in favor of prompting a warning (or an error demotable to a warning) but returning a concrete empty histogram.
"
[1]
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
Cell In[22], line 1
----> 1 dask.compute(res_ee)

File ~/tchizh/lib/python3.11/site-packages/dask/base.py:611, in compute(traverse, optimize_graph, scheduler, get, *args, **kwargs)
    566 def compute(
    567     *args, traverse=True, optimize_graph=True, scheduler=None, get=None, **kwargs
    568 ):
    569     """Compute several dask collections at once.
    570
    571     Parameters
   (...)
    608     ({'a': 45, 'b': 4.5, 'c': 1},)
    609     """
--> 611     collections, repack = unpack_collections(*args, traverse=traverse)
    612     if not collections:
    613         return args

File ~/tchizh/lib/python3.11/site-packages/dask/base.py:502, in unpack_collections(traverse, *args)
    499     return tok
    501 out = uuid.uuid4().hex
--> 502 repack_dsk[out] = (tuple, [_unpack(i) for i in args])
    504 def repack(results):
    505     dsk = repack_dsk.copy()

File ~/tchizh/lib/python3.11/site-packages/dask/base.py:502, in <listcomp>(.0)
    499     return tok
    501 out = uuid.uuid4().hex
--> 502 repack_dsk[out] = (tuple, [_unpack(i) for i in args])
    504 def repack(results):
    505     dsk = repack_dsk.copy()

File ~/tchizh/lib/python3.11/site-packages/dask/base.py:479, in unpack_collections.<locals>._unpack(expr)
    477     tsk = (typ, [_unpack(i) for i in expr])
    478 elif typ in (dict, OrderedDict):
--> 479     tsk = (typ, [[_unpack(k), _unpack(v)] for k, v in expr.items()])
    480 elif dataclasses.is_dataclass(expr) and not isinstance(expr, type):
    481     tsk = (
    482         apply,
    483         typ,
   (...)
    491         ),
    492     )

File ~/tchizh/lib/python3.11/site-packages/dask/base.py:479, in <listcomp>(.0)
    477     tsk = (typ, [_unpack(i) for i in expr])
    478 elif typ in (dict, OrderedDict):
--> 479     tsk = (typ, [[_unpack(k), _unpack(v)] for k, v in expr.items()])
    480 elif dataclasses.is_dataclass(expr) and not isinstance(expr, type):
    481     tsk = (
    482         apply,
    483         typ,
   (...)
    491         ),
    492     )

File ~/tchizh/lib/python3.11/site-packages/dask/base.py:463, in unpack_collections.<locals>._unpack(expr)
    462 def _unpack(expr):
--> 463     if is_dask_collection(expr):
    464         tok = tokenize(expr)
    465         if tok not in repack_dsk:

File ~/tchizh/lib/python3.11/site-packages/dask/base.py:214, in is_dask_collection(x)
    193 """Returns ``True`` if ``x`` is a dask collection.
    194
    195 Parameters
   (...)
    211
    212 """
    213 try:
--> 214     return x.__dask_graph__() is not None
    215 except (AttributeError, TypeError):
    216     return False

File ~/tchizh/lib/python3.11/site-packages/dask_histogram/boost.py:116, in Histogram.__dask_graph__(self)
    115 def __dask_graph__(self) -> HighLevelGraph:
--> 116     return self.dask

File ~/tchizh/lib/python3.11/site-packages/dask_histogram/boost.py:180, in Histogram.dask(self)
    177 @property
    178 def dask(self) -> HighLevelGraph:
    179     if self._dask is None:
--> 180         raise RuntimeError(
    181             "The dask graph should never be None when it's requested."
    182         )
    183     return self._dask

RuntimeError: The dask graph should never be None when it's requested.


Open Sea sales not showing up

Hi it doesn't seem to be seeing Open Sea sales

Do you have the Solscan transaction link handy?

Hey thanks I was able to fix it, forgot to update.
Due to my unfamiliarity with Akash deployments, It was just a matter of creating a new deployment to get the new git code. Its not enough to "update deployment"
It does still occasionally miss sales tho.

all problems I was having appear to be my fault and not updating or understanding akash deployments.  Thanks for the great bot.


pre-init() set queue

mostly fixed in upcoming 0.10

this is no longer an issue since the initializing state api change


Implement: KelasKita on Container Application

Hi @zuramai .
Please kindly review my Pull Request 😄
Premise
As I see, container applications are growing in popularity, helping a lot in development or deployment with their benefits, portable and fast deployment. So here I try to contribute by creating a container file, I hope it helps a lot for KelasKita's Open Source developers.
You can also push this image to Container Registry, just in case somebody need it.

Hopefully it can be useful and thank you :).

Thank you for your contribution!


Add support for undo

Add support for undoing the actions.

@charanjit-singh Hey thanks for your feedback!
There is already an undo for the following destructive actions:

"Remove Done" button: turns into "Undo Remove" for a couple of seconds
Deleting a todo: a toast component with an "Undo" button is shown at the bottom left corner for a couple of seconds

Which actions specifically would you like to add an undo for?


feat: use chat boss kc message for loot notification metadata

Closes #323 (follow-up from #299)

test #1 KBD:
The first issue makes me think of the ConfigManager problem from before, but unsure if it is.
First KC notifies with the loot tracker KC, all others afterwards use boss KC.
Banking the trip and returning the same thing happens, KC 1 uses loot tracker, all others use KC.
Doing a 1KC trip and returning, KC 1 (time wise actually 2) works as expected.

Correct, the current patch uses loot tracker kc for the first boss kill of the session & chat messages beyond that (because I'm afraid of some edge case where boss kc message happens after the loot event)

Actually I have an idea to use boss kc message if it appears before the first loot event, will implement tonight

test #2 kbd again: works as I would expect it to

test #3 hespori: failed, but hespori might not be an applicable case for this PR, as his loot comes from harvesting his corpse, not an actual loot drop

test #4 alch hydra: works

test #5 bryophyta & obor: both worked as expected, both had no loot tracker history
test #6 duke: worked as expected, had loot tracker history


Private key required when ssh-agent already populated

Hello, we are trying upterm as an alternative to tmate, and it's seems to be working great, so, first of all, thanks for this project!
On my machine though, I don't have any private key files, they are stored in a safe (KeePassXC) and, when I unlock my safe, my key is added to my ssh-agent.
My workaround for upterm is to create an ssh-key, but I wonder if we could have an option to specify an ssh-agent directly where it could retrieve the keys and the signers.
If you agree with that, I could try and create a PR

Another option from discussions in #72 is maybe we could create temporary public/private keys when running upterm host. I'm not sure the client ever cares what the private key from the server to upterm connection host is. Maybe I'm still understanding what the private key is actually used for on the host.

upterm should already read keys from ssh-agent first then fall back to key files: https://github.com/owenthereal/upterm/blob/44f1490d38e01b0901886bdc830816cc0101f652/host/signer.go#L60. Please upgrade to the latest version and let me know if that works

My use case is on temporary hosts that don't have ssh keys or ssh-agent available. In that case it would be great if there were an easier way to create the ssh tunnel connection

@rothgar upterm starts an sshd server on the host and the ssh keys are used to establish a secured tunnel between the host and the uptermd server: https://github.com/owenthereal/upterm#how-it-works. There are tools like ssh-keygen to generate keys already, are you looking for upterm generating the keys for you instead?

Yes, automatically generating a key (or having a flag to auto generate a key) is what I was thinking. I know users can create ssh keys but in the case that the machine/user doesn't have a key it would be nice to automatically generate a temporary key for the initial tunnel.
This would be especially useful on temporary cloud instances or from inside containers.

The problem is, the --private-key argument is mandatory, and I don't have one since my private key is not physically accessible (it's in my keepass2 vault)

Thanks! I'll try this soon!


[Combo-box]: Module not found error

Description
For a project I use Laravel Mix as a wrapper for Webpack. When I call npm run production I encounter this error.

ERROR in<EMAIL_ADDRESS>25:0-54
Module not found: Error: Package path ./directives/if-defined is not exported from package /workspace/node_modules/lit (see exports field in /workspace/node_modules/lit/package.json)
Did you miss the leading dot in 'resolve.extensions'? Did you mean '[".",".wasm",".mjs",".js",".jsx",".json"]' instead of '["",".wasm",".mjs",".js",".jsx",".json"]'?

Component(s) impacted
Combo-box
https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/2a94433970d4f35a6b7dea0c92264477a5056ce4/packages/carbon-web-components/src/components/combo-box/combo-box.ts#L20
When I change it to import { ifDefined } from 'lit/directives/if-defined.js';  it works fine.
Browser
No response
Carbon for IBM.com version
2.5.0
Severity
Severity 4 = The problem is not visible to or noticeable to an average user. Affects minor functionality, no workaround needed.
Application/website
custom web application
Package
@carbon/web-components
CodeSandbox example
https://codesandbox.io/p/sandbox/modest-fermi-fgs9hv
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

@kennylam Can confirm this is happening in our project as well, we are unable to fully compile carbon web components to use into our project anymore. Using Vite + Storybook 7 btw


pull request for e2e test at 12/15/2016 09:45:17

: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.


Solve little flaws in BaseRuntime

Feature Request
Currently there are two little flaws in the BaseRuntime that could be solved:

the System.exit call has no reason to be and it's better to replace it with an extension throwing, that will help the caller to understand what happened. as a positive side effect this will also provide better output on the e2e tests when they fail for runtime issues (now they fall silently)
the HealthCheckService is currently mandatory but this does not look like a good practice, because there could be the necessity to start a Runtime without that service, but now it causes an unavoidable exception.

Which Areas Would Be Affected?
boot
Why Is the Feature Desired?
Are there any requirements?
Solution Proposal
If possible, provide a (brief!) solution proposal.

Can we deal with the Healthcheck service after I split the boot services from the core services? The System.exit can be addressed independently.

@jimmarino I already opened a PR, but it can wait, no problems


[tool_requires][best-practices] Using protobuf

Depends on https://github.com/conan-io/examples2/pull/97

myserver: using protobuf as requires and tool_requires at the same time (cross-building as well)

Missing documentation link

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: memsharded:x: franramirez688You have signed the CLA already but the status is still pending? Let us recheck it.


MacOS compatibility issues

Arrow keys don't work
Netcat seems to buffer things too much. Return press after entering name doesn't get sent, until you hit Ctrl+C a bunch of times

This turns out to be a problem with how raw mode works (or doesn't work?) on macos, not with netcat. When you press a key, the bytes don't get sent to a program's standard input right away, even with raw mode enabled. We tested this by writing standard input to a file (cat > blah.txt) in one terminal, and looking at file contents (while true; do cat blah.txt; sleep 0.1; done) in another.

Based on stty manual page we tried stty raw -icanon min 1 time 0 and it didn't help.

I think I will next ask ThePhilgrim to try this on his mac (after rewriting it in python): https://stackoverflow.com/a/912184
I'm confused, because other answers on that stackoverflow seem to say that stty raw, or even just -icanon, is enough.


Document use of transformers in Code component

Description (required)
Documents new transformers property on the Cod component.
Related issues & labels (optional)

https://github.com/withastro/astro/pull/11197

For Astro version: 4.11. See astro PR #11197.

Short and sweet 😅. I wasn't sure what else to say about this.

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

en
reference/api-reference.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Container with decoration in a ListView render unexpected border line on real iPhone

Steps to Reproduce

I write a demo to reproduce this issue flutter_app
ScreenShot

Logs

[  +38 ms] executing: [/Users/ray/devenv/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +42 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/Users/ray/devenv/flutter/] git rev-parse --abbrev-ref HEAD
[  +11 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[        ] executing: [/Users/ray/devenv/flutter/] git ls-remote --get-url origin
[  +11 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[        ] executing: [/Users/ray/devenv/flutter/] git log -n 1 --pretty=format:%H
[  +12 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[        ] 5ab9e70727d858def3a586db7fb98ee580352957
[        ] executing: [/Users/ray/devenv/flutter/] git log -n 1 --pretty=format:%ar
[  +10 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[        ] 12 days ago
[        ] executing: [/Users/ray/devenv/flutter/] git describe --match v*.*.* --first-parent --long --tags
[  +24 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v0.8.2-0-g5ab9e7072
[ +296 ms] executing: /Users/ray/Library/Android/SDK/platform-tools/adb devices -l
[   +9 ms] Exit code 0 from: /Users/ray/Library/Android/SDK/platform-tools/adb devices -l
[        ] List of devices attached
[   +7 ms] executing: idevice_id -h
[  +71 ms] executing: which ideviceinstaller
[   +6 ms] Exit code 0 from: which ideviceinstaller
[        ] /usr/local/bin/ideviceinstaller
[        ] executing: which iproxy
[   +5 ms] Exit code 0 from: which iproxy
[        ] /usr/local/bin/iproxy
[  +26 ms] executing: which ideviceinstaller
[   +5 ms] Exit code 0 from: which ideviceinstaller
[        ] /usr/local/bin/ideviceinstaller
[        ] executing: which iproxy
[   +5 ms] Exit code 0 from: which iproxy
[        ] /usr/local/bin/iproxy
[  +90 ms] executing: which ideviceinstaller
[   +8 ms] Exit code 0 from: which ideviceinstaller
[        ] /usr/local/bin/ideviceinstaller
[        ] executing: which iproxy
[   +7 ms] Exit code 0 from: which iproxy
[        ] /usr/local/bin/iproxy
[   +4 ms] /usr/bin/xcrun simctl list --json devices
[ +218 ms] More than one device connected; please specify a device with the '-d <deviceId>' flag, or use '-d all' to act on all devices.
[   +6 ms] Lei.Pan           • d1f228d7daccec070524eb8dfe27bf1f3bc29ce6 • ios • iOS 12.1
[        ] Glow iPhone 6Plus • c9378576b1ae2a6b8b765f94afe2663265b019ba • ios • iOS 11.4.1
[  +18 ms] "flutter run" took 717ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:26:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:239:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:350:11)
<asynchronous suspension>
#3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:306:33)
<asynchronous suspension>
#4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#5      _rootRun (dart:async/zone.dart:1124:13)
#6      _CustomZone.run (dart:async/zone.dart:1021:19)
#7      _runZoned (dart:async/zone.dart:1516:10)
#8      runZoned (dart:async/zone.dart:1463:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:297:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:194:27)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:347:21)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#14     _rootRun (dart:async/zone.dart:1124:13)
#15     _CustomZone.run (dart:async/zone.dart:1021:19)
#16     _runZoned (dart:async/zone.dart:1516:10)
#17     runZoned (dart:async/zone.dart:1463:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#19     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:303:19)
<asynchronous suspension>
#20     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109:29)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CommandRunner.run (package:args/command_runner.dart:109:11)
#23     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:211:18)
#24     run.<anonymous closure> (package:flutter_tools/runner.dart:59:20)
<asynchronous suspension>
#25     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#26     _rootRun (dart:async/zone.dart:1124:13)
#27     _CustomZone.run (dart:async/zone.dart:1021:19)
#28     _runZoned (dart:async/zone.dart:1516:10)
#29     runZoned (dart:async/zone.dart:1463:12)
#30     AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#31     runInContext (package:flutter_tools/src/context_runner.dart:42:24)
<asynchronous suspension>
#32     run (package:flutter_tools/runner.dart:50:10)
#33     main (package:flutter_tools/executable.dart:52:9)
<asynchronous suspension>
#34     main (file:///Users/ray/devenv/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#35     _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:287:32)
#36     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)

[✓] Flutter (Channel beta, v0.8.2, on Mac OS X 10.13.6 17G65, locale en-CN)
    • Flutter version 0.8.2 at /Users/ray/devenv/flutter
    • Framework revision 5ab9e70727 (12 days ago), 2018-09-07 12:33:05 -0700
    • Engine revision 58a1894a1c
    • Dart version 2.1.0-dev.3.1.flutter-760a9690c2

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/ray/Library/Android/SDK
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 27.0.3
    • ANDROID_HOME = /Users/ray/Library/Android/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.0, Build version 10A255
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 28.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] IntelliJ IDEA Community Edition (version 2018.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 28.0.4
    • Dart plugin version 182.4323.44

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

[✓] Connected devices (2 available)
    • Lei.Pan           • d1f228d7daccec070524eb8dfe27bf1f3bc29ce6 • ios • iOS 12.1
    • Glow iPhone 6Plus • c9378576b1ae2a6b8b765f94afe2663265b019ba • ios • iOS 11.4.1

• No issues found!

Thanks for reporting.
Do you think the log output you added is related? I can#t see the relation.

I think the log output is not related, I just follow the issue steps to add it here, I guess it may be a skia's render issue on iOS.

I believe this has been fixed with a new Skia change. I don't remember the exact bug/patch but after a certain commit I was unable to reproduce anymore.


tabp/tabn breaks neovide

I'm not really sure at this point what is going on, but my best guess is that somehow this is breaking the Rust UI access to the Neovim session.  gT/gt seem fine, as is [0-9]{2.0}gt

Managed to break it without tabp/tabn and I've managed to get a warning with tabp that makes me think the problem may be related to memory.  Here it si locking up with UltiSnips:

I'll try to get a ss of the warning message next time.

I'm not sure I understand. What do you mean it breaks neovide. What happens when you do that?

I'm closing this due to lack of response

I'm closing this due to lack of response


how to send image using dio in formdata??

I have trouble upload image in dio to formdata using image_picker_web  how to upload byte image?

This is not an issue related to the package, you should search for example of image upload.


Pin configuration change in loop

I need to switch pin configuration "on the fly" how to do that with this library? Standard in rust is  what i read is something like that:
loop {
    let mut eled = pin!(pins, dig9).into_output();

    eled.set_low().unwrap();
    sleep.delay_ms(20);
    eled.set_high().unwrap();
    sleep.delay_ms(35);
    sprintln!("sent");

    let mut eled_input = eled.into_floating_input()

    while eled_input.is_high().unwrap() {};
    while eled_input.is_low().unwrap() {};
    while eled_input.is_high().unwrap() {};

}

But when i try it with this library im getting on eled.into_input(); "no such method". How it should be handled here?

Sorry but not sure which should i use. Should i use solution from link or i should try to do something like this:
#[arduino_hal::entry]
fn main() -> ! {

    let dp = arduino_hal::Peripherals::take().unwrap();
    let pins = arduino_hal::pins!(dp);
    let mut led = pins.d12.into_opendrain_high();

    loop {

        led.set_low();
        arduino_hal::delay_ms(20);
        led.set_high();
        arduino_hal::delay_ms(35);

        // let dp = arduino_hal::Peripherals::take().unwrap();
        // let pins = arduino_hal::pins!(dp);

        let mut ledin = led.into_pull_up_input();

        while ledin.is_high() {};

        let mut led = ledin.into_opendrain_high();

    }
}

?

greate now its compiling, thank you. closing ticket, when i will have problem with second solution will update its ticket


As a trainer, I can tag the clients

so that I can categorise and search for my clients easily

similar to #41


Dynamics 365 enterprise license Product List incorrect

Dear Team,
The list of related D365 Enterprise licenses includes Project Ops however license guide does not include project opts. Kindly let me know if customer voice is included with D365 Project ops.
[Enter feedback here]

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

ID: fb076b68-c826-103a-617e-0d3a54295977
Version Independent ID: 1a0830d6-601a-2e0b-c3f3-886dd4c31c70
Content: Purchase Dynamics 365 Customer Voice and additional license
Content Source: cv-docs/purchase.md
Service: dynamics-365-customervoice
GitHub Login: @sbmjais
Microsoft Alias: shjais

Thanks for your comment, @mehtaronak12. This issue has been assigned to the doc author for review.

Thanks for your feedback. We are closing this issue because we are either unable to find relevant information or reproduce this. If you're still experiencing the issue described here, please reopen or create a new issue.


Investigate awkwardness around aspnetcore's repo tasks

ASPNetCore builds a set of repo tasks as part of a pre-build script. The source-build infra inner build re-invokes the outer-build msbuild command with some extra args on the inner repo clone. This does not implicitly rebuild the repo tasks.
This is pretty awkward because it means that the source-build infra must be customized for aspnetcore in SourceBuild.props. It must first invoke a script that rebuilds the repo tasks before continuing with the build.
Are there better options? Why not just use standard project refs?
T-Shirt Size: Small (maybe not critical)

Are there better options? Why not just use standard project refs?

I think it would be best to use msbuild's short lived task concept (which invokes tasks out-of-proc and then kills the task afterwards to free the lock on the assembly). We do that in runtime when invoking the live built linker.

cc @wtgodbe


feedback: support for Code - OSS

Version
1.24.0
Areas for Improvement

[ ] UI/UX
[X] Onboarding
[ ] Docs
[ ] Chat
[ ] Commands
[ ] Context
[ ] Response Quality
[X] Other

What needs to be improved? Please describe how this affects the user experience and include a screenshot.
I am using a fork of VS Code (Code - OSS Version: 1.90.0). I can install the Cody extension from Open VSX (https://open-vsx.org/extension/sourcegraph/cody-ai). When I try to login with GitHub, after logging in the browser tries to direct me to the "official" VS Code installed on my computer.
Is there a way I can get this working with my fork?
Describe the solution you'd like to see
Support for forks of VS Code.
Describe any alternatives that could be considered
No response
Additional context
No response

Remove stale

Hey @SamEdwardes try logging in with a token:
Generate the token/key: https://sourcegraph.com/user/settings/tokens
URL to use: https://sourcegraph.com
LMK if that works or not.

Thank you I will give this a try.

Sounds good. Feel free to close if it works :)

Thank you @jdorfman. I tried today with an access token and it worked!


Appstudio update test-component-pac-xxjo

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-xxjo-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
19 seconds
init

✅ Succeeded
12 seconds
clone-repository

✅ Succeeded
2 minutes
build-container

✅ Succeeded
28 seconds
sanity-inspect-image

✅ Succeeded
28 seconds
deprecated-base-image-check

✅ Succeeded
45 seconds
clamav-scan

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
14 seconds
sbom-json-check

✅ Succeeded
14 seconds
sanity-optional-label-check

✅ Succeeded
14 seconds
sanity-label-check

✅ Succeeded
5 seconds
show-summary

Pipelines as Code CI/test-component-pac-xxjo-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
19 seconds
init

✅ Succeeded
12 seconds
clone-repository

✅ Succeeded
2 minutes
build-container

✅ Succeeded
28 seconds
deprecated-base-image-check

✅ Succeeded
28 seconds
sanity-inspect-image

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
45 seconds
clamav-scan

✅ Succeeded
14 seconds
sbom-json-check

✅ Succeeded
14 seconds
sanity-optional-label-check

✅ Succeeded
14 seconds
sanity-label-check

✅ Succeeded
5 seconds
show-summary

Pipelines as Code CI/test-component-pac-xxjo-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
18 seconds
clone-repository

✅ Succeeded
33 seconds
build-container

✅ Succeeded
11 seconds
deprecated-base-image-check

✅ Succeeded
10 seconds
clair-scan

✅ Succeeded
9 seconds
sanity-inspect-image

✅ Succeeded
33 seconds
clamav-scan

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
8 seconds
sanity-optional-label-check

✅ Succeeded
8 seconds
sanity-label-check

✅ Succeeded
7 seconds
show-summary


improvement: allow overriding FORCE_COLOR

Hello,
I have a problem with a package called @applitools/eyes-storybook under wsrun.
Basically, it spawns a process here: https://github.com/applitools/eyes.sdk.javascript1/blob/master/packages/eyes-storybook/src/storybookConnector.js#L113
The running process is a dev-server of Storybook, which can be found here emitting colored output:
https://github.com/storybookjs/storybook/blob/next/lib/core/src/server/build-dev.js#L218
This colored output gets incorrectly delivered (with encoded colors) to this line:
https://github.com/applitools/eyes.sdk.javascript1/blob/master/packages/eyes-storybook/src/storybookConnector.js#L74
which fails to match it via regex, which expects no colored output.
I don't think it's a good idea to make this regex harder to read and it's just better to allow setting FORCE_COLOR=0.
Currently I can't run my pre-push hook via wsrun because of the issue.
I think this might affect other flows where first spawn is done via wsrun, next by executed command in package inside of a repo, and another one by that command if it does colored output and second command in the chain tries to match against it.
Please let me know what you think on this.
Thanks!

Sorry, looks like I missed this PR.


Update for newer versions of pyoptsparse

The current version of pyoptsparse is v2.6.1

Addressed in new script


Nuget does not have embedded resources

Materials and sections are not compiled for the NuGet package version

[x] we can also publish with a simple line command as we do for Grasshopper
https://learn.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package-using-visual-studio?tabs=netcore-cli#publish-with-the-net-cli-or-nuget-cli

https://github.com/strusoft/femdesign-api/wiki/Development-guidelines#publish-to-nuget


Common license for all packages

Chose better way to mark repo as common license. Need consult.
Apply to all repos in DF.

Need to choose a license; code without a license is not considered free. All rights, in the absence of a license file, belong to the authors, and the code is simply open for review. This means that developers who decide to use the deep codebase for their projects or forks may potentially face legal issues.

I ask GPT about MIT and Apache licenses.
Both the MIT License and the Apache License are permissive open-source licenses, but they have some differences:
MIT License:
Simplicity: The MIT License is known for its simplicity. It allows users to do anything they want with the code as long as they include the original copyright and license notice in any copy of the work or substantial portion of it.

Patent Grant: Unlike the Apache License, the MIT License does not include a specific patent grant. This means that it doesn't provide explicit protection against patent-related claims.

Copyleft: The MIT License is considered more permissive than copyleft licenses like the GNU General Public License (GPL). It allows the code to be used in proprietary projects without making the entire project subject to an open-source license.

Apache License:
Patent Grant: One of the key differences is the explicit patent grant in the Apache License. Contributors grant a license to any patents they hold that are necessary for the practice of the project. This helps protect downstream users from patent-related issues.

Attribution: The Apache License requires that any significant contributors to the project be attributed in the notice files and, in some cases, in the user interface if the code is used in an application.

Larger Scope: The Apache License is often considered more comprehensive and suitable for larger projects with multiple contributors. It includes terms for patents, trademarks, and more detailed conditions for redistribution.

In summary, both licenses are permissive, but the Apache License is more explicit in terms of patent grants and includes additional clauses that make it suitable for larger, collaborative projects. The MIT License is simpler and may be preferred for smaller projects or when a more permissive license is desired. The choice between them depends on the specific needs and goals of the project and its contributors.

Add comment in russian in my discrod channel: https://discord.com/channels/739430470345031692/851241690261487657/1175064824405831690

This is actually done already for all repositories and packages in them.


Support Python3

Python3 is preferred because of its improved Unicode support and future.

Python3 is already supported in the develop branch.  I'm planning on getting a new release out by the end of August, but in the meantime if you need Python3 support please check out the develop branch and build with "python3 setup.py {build,install}"

That doesn't seem to work:
[ec2-user@ec2 getdns-python-bindings]$ git checkout develop
Branch develop set up to track remote branch develop from origin.
Switched to a new branch 'develop'
[ec2-user@ec2 getdns-python-bindings]$ python34 setup.py build
running build
running build_ext
building 'getdns' extension
creating build/temp.linux-x86_64-3.4
gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/local/include -I/usr/include/python3.4m -c getdns.c -o build/temp.linux-x86_64-3.4/getdns.o -g
getdns.c:38:20: fatal error: Python.h: No such file or directory
 #include <Python.h>
                    ^
compilation terminated.
error: command 'gcc' failed with exit status 1
[ec2-user@ec2 getdns-python-bindings]$

The #include <Python.h> should only be used in a Python2 program, not a python3.

Hi, Simson - that's actually not the case.  If you look at the developer documentation for 3.4.3, it says

Note: Since Python may define some pre-processor definitions which affect the standard headers on some systems, you must include Python.h before any standard headers are included.

in section 1.1 (see https://docs.python.org/3/extending/extending.html).  Please make sure that you've got python3-dev (or the appropriate development libraries and header files for your OS) installed and give it another go.
In the meantime I'm reopening this until we've confirmed that it compiles and runs for you.

Hm. Now I see:
gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/local/include -I/usr/include/python3.4m -c getdns.c -o build/temp.linux-x86_64-3.4/getdns.o -g
In file included from getdns.c:47:0:
pygetdns.h:94:5: error: unknown type name ‘getdns_transport_list_t’
     getdns_transport_list_t *dns_transport_list;
     ^
error: command 'gcc' failed with exit status 1
[ec2-user@ec2 getdns-python-bindings]$

I'm running getdns-0.2.0; will upgrade to 0.3.1 and try again.
Simson

On Aug 13, 2015, at 10:07 PM, Melinda Shore<EMAIL_ADDRESS>wrote:
Hi, Simson - that's actually not the case. If you look at the developer documentation for 3.4.3, it says
Note: Since Python may define some pre-processor definitions which affect the standard headers on some systems, you must include Python.h before any standard headers are included.
in section 1.1 (see https://docs.python.org/3/extending/extending.html https://docs.python.org/3/extending/extending.html). Please make sure that you've got python3-dev (or the appropriate development libraries and header files for your OS) installed and give it another go.
In the meantime I'm reopening this until we've confirmed that it compiles and runs for you.
—
Reply to this email directly or view it on GitHub https://github.com/getdnsapi/getdns-python-bindings/issues/31#issuecomment-130922463.

Released in v0.4.0


Store Lua script in a separate file

So that we can have editor support when writing embeded Lua scripts.

@suzaku we should support at least last three versions of Go, so we can't depend on 1.6 right now.

@davies Three versions may be too many for Go. According the the Go Developer Survey 2020, about 60% of the respondents begin evaluating a new version before or within 2 months of release. After all, unlike Python, developers are not blocked by the version of Go in deployment environment.


hass v0.79.3 could not connect BMW ConnectedDrive.

hass v0.79.3 could not connect BMW ConnectedDrive.
there are error logs:
(PS: my account & password canbe login in the BMW ConnectedDrive website)
`Error during setup of component bmw_connected_drive
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/account.py", line 89, in _get_oauth_token
expected_response=200, post=True)
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/account.py", line 134, in send_request
raise IOError(msg)
OSError: Unknown status code 400, expected 200
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 148, in _async_setup_component
component.setup, hass, processed_config)  # type: ignore
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/bmw_connected_drive/init.py", line 61, in setup
accounts.append(setup_account(account_config, hass, name))
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/bmw_connected_drive/init.py", line 90, in setup_account
read_only)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/bmw_connected_drive/init.py", line 137, in init
self.account = ConnectedDriveAccount(username, password, region)
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/account.py", line 55, in init
self._get_vehicles()
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/account.py", line 188, in _get_vehicles
self._get_oauth_token()
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/account.py", line 94, in _get_oauth_token
raise OSError(msg) from exception
OSError: Authentication failed. Maybe your password is invalid?`

This error can happen every now and then.
Can you please update this issue when the problem is still there or otherwise close it?


Fix: remove text-shadow from labels

This fixes #767.
.label inside a .dropdown-menu incorrectly get a text-shadow applied to them causing them to look blurry.

thanks!


typo in powa--4.0.0.sql in REL_4_0_0

in REL_4_0_0, the file powa--4.0.0.sql has a typo : two missing 's' line 584 and 585
    res.seq_can_per_sec = (a.seq_scan - b.seq_scan)::double precision / sec;
    res.idx_can_per_sec = (a.idx_scan - b.idx_scan)::double precision / sec;

should be
    res.seq_scan_per_sec = (a.seq_scan - b.seq_scan)::double precision / sec;
    res.idx_scan_per_sec = (a.idx_scan - b.idx_scan)::double precision / sec;

Thanks @pessonnier I'll take care of that soon!

This should be fixed as of https://github.com/powa-team/powa-archivist/commit/37a09c69a137f2f1d658132f0795c5e2ba306ce8.  Can you confirm that it solves all your issues?  If yes I'll release this version shortly.

it's look fine, no errors during create extension nor in powa-web
                                     List of installed extensions
        Name        | Version |   Schema   |                        Description
--------------------+---------+------------+-----------------------------------------------------------
 btree_gist         | 1.5     | public     | support for indexing common datatypes in GiST
 hypopg             | 1.1.3   | public     | Hypothetical indexes for PostgreSQL
 pg_qualstats       | 2.0.1   | public     | An extension collecting statistics about quals
 pg_stat_kcache     | 2.1.1   | public     | Kernel statistics gathering
 pg_stat_statements | 1.6     | public     | track execution statistics of all SQL statements executed
 pg_wait_sampling   | 1.1     | public     | sampling based statistics of wait events
 plpgsql            | 1.0     | pg_catalog | PL/pgSQL procedural language
 powa               | 4.0.1   | public     | PostgreSQL Workload Analyser-core
(8 rows)

thank you

FTR v4.0.1 was released a few days ago.


Broken image under More Services

It's expected at https://me.singly.com/dashboard/img/icons/32px/smtp.png

Who's adding an SMTP connector? What did you have in mind for an icon?


JTReg Test Failure: java/nio/file/WatchService/UpdateInterference.java

Version: JDK14 OpenJ9
Platform: Unix XL Builds
Agent communication error: java.io.EOFException; check console log for any additional details

I wouldn't normally raise these problems as they tend to have a low inconsistency and are hard to recreate. However in nightly sanity.openjdk runs, this test has around a 50% failure rate.. but I cannot seem to recreate the failure in a grinder with the exact same parameters and machine etc.
For context, this failure is thrown when the JTReg agent hits a critical failure, but it doesn't know what went wrong. It's often a problem with the test material or how the agent is configured, rather than the code it is testing. This needs further investigation but I would imagine this is low priority and wouldn't block release.

No issue with currently supported versions, close it.


dargon2_flutter_mobile not found

Hi,
I have a problem while compiling to android. I always get the error dargon2_flutter_mobile not found. Please update settings.gradle.
Can anyone help me with this?
Greetings,

@jogehl hi, I can't help you out without more information. Could you send the stacktrace of the error you get?
Additionally, it might be helpful to send over the pubspec declaration for dargon2.

Thanks a lot for your answer. The output is the following:

Launching lib/main.dart on moto g 7 in debug mode...
Running Gradle task 'assembleDebug'...
Plugin project :dargon2_flutter_mobile not found. Please update settings.gradle.

FAILURE: Build failed with an exception.

Where:
Script '/home/joshuag/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 462

What went wrong:
A problem occurred evaluating root project 'android'.

A problem occurred configuring project ':app'.
Cannot invoke method afterEvaluate() on null object

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 839ms
Exception: Gradle task assembleDebug failed with exit code 1
In the pubspec I use   dargon2_flutter: ^3.1.0

@jogehl thanks. Have you ran a pub get/update? It looks like your dependency hasn't downloaded.

No problem, I'll close this now then.

Hi, after upgrading to Flutter 3.0.3 I have exactly the same issue. I tried to run it event from cmd via flutter run, but it didn't help. I have the same stacktrace and pubspec declaration as @jogehl.

@Crudar What's listed in your pubspec for the dependency?

@tmthecoder this one dargon2_flutter: ^3.1.0

Can you run flutter pub get and flutter pub upgrade? I can't reproduce the issue on my end so far

still the same issue, tried to run it on chrome and that works well

Does the same issue come up making a completely new flutter project on your end?

I don't know what the issue was, but this helped me to fix it https://github.com/flutter/flutter/issues/57777#issuecomment-632609059**** anyway thank you for your time


how to make prediction for a new image

I have got the test-predictions-3-20.yaml file, but it seems that it only have prediction for images in the test dataset, how can I make the model predict for the image that I provide?

i have the same question, how to modify the program to do so?
Cheers.


json import cheat Import-Json fails reading docker image inspect

Describe the bug
the script cheat import-json-exec dos not work because of the format of the created json.
it is an array what will not match to the  map[string]interface structure
the error depends for the wrong expectation, we have allways a json that looks like an config file.
To Reproduce
Steps to reproduce the behavior:

set up a task
use the import-json-exec cheat like so - "#@import-json-exec IMAGE-INFO docker image inspect some-docker-image"
you will see a lot of output. scroll up until you see the error
the error is  json: cannot unmarshal array into Go value of type map[string]interface {} 32

Expected behavior
the initial import should not expect a format that is always matching to { "string" : XXX } because it is just not usual.
Desktop (please complete the following information):

OS: windows

Working on this issue in branch #81 too.

fixed width: https://github.com/swaros/contxt/pull/81
see this testcase.
https://github.com/swaros/contxt/blob/13838888b9275071eaa5d6377de5724bc5aaf9ac/docs/test/issue82/.contxt.yml#L1-L15
check the examples in the folder
and have a look how it is used.
and array based json will be converted and have at least one data key. if we will have more then ones, then we will get keys with the index like data_0
https://github.com/swaros/contxt/blob/13838888b9275071eaa5d6377de5724bc5aaf9ac/module/taskrun/varimport_test.go#L48-L96


Format of score file

This is the first 5 lines of the file I get using python LDpred.py score:
IID, true_phens, raw_effects_prs, pval_derived_effects_prs, sex
14, 1.000000e+00, -6.274195e+02, 1.954391e+00, 1,
47, 0.000000e+00, -4.218925e+02, 1.958752e+00, 2,
89, 0.000000e+00, -7.006771e+02, 2.584703e+00, 1,
105, 0.000000e+00, -1.799069e+03, 6.776581e+00, 1,

Would it be possible to have just a comma (or tabulation) separator (without an extra space) and no separator at the end?
It would be much easier to parse.
Thanks for your work updating LDpred.

I believe I fixed this now.


Phaser 3 support is broken

The example for the Phaser3 plugin no longer works as it seems like the plugin manager has been updated.

@gnesher, thanks for the bug report. Could you be more specific? The Phaser 3 plugin examples work as of the latest release, 3.16.2.

Hi @mikewesthad I've tried to follow the example under phaser-navmesh but can't seem to access the plugin. Mind you I'm fairly new to Phaser so I might be missing something.
I'll prepare an example and link it here

Great - thanks. I'll take a look whenever you get a chance to link it.
In the meantime, I added a codesandbox demo that shows how to use the library with phaser 3. It's also linked from the readme now.

Thanks for uploading the example - I was able to reproduce it locally.
The thing that confuses me - and I guess this is more to do with Phaser than your plugin is that if I add the following line
  console.log(this.navMeshPlugin.buildMeshFromTiled);

to your code example I get an error:
Uncaught TypeError: Cannot read property 'buildMeshFromTiled' of undefined

Really? That logs a function for me.
With CodeSandbox, the default hot module replacement will often error out if you make a change. So if you make a change like adding that console.log, you need to hit the refresh button in the browser tab. E.g.


Incorrect output device

https://github.com/Manza12/nnMorpho/blob/8e7931c52349a82463155de1dc2368bc44122e4d/CUDA/morphology_cuda.cu#L269
Outputs are forced onto cuda:0 regardless of original device, breaking ddp. All the cuda functions seem to have this issue.

I've fixed it, will send a PR soon.

Thank you very much, you are completely right.
However, you changed other things in your PR: you added "nnMorpho." to the imports in several places. I imagine that you have import problems but this may be because you set "nnMorpho" as the project folder instead of "nnMorpho/nnMorpho". I usually put "nnMorpho/nnMorpho" as my Python project main folder because the "nnMorpho" folder contains other things for setting up the needed stuff for uploading to PyPi (like setup.py, README.md, etc...).
May you undo this adds to your PR such that I can only accept the ones about the CUDA device?

Installing with pip the package doesn't work at all without the import changes... (from pypi or from this repo)
Currently with those changes I'm able to use the library with pip install -e . in the repo and the same in CUDA
If there is some other fix coming I can rescind the import changes...

Ok. I merged your pull request.


[InstagramBridge] RSS Bridge does not escape the filename

Describe the bug
Instagram account: bradgillette
Offending post: https://www.instagram.com/p/B24VlKygiRn/
The culprit: <video controls><source src="https://instagram.fric1-1.fna.fbcdn.net/v/t50.2886-16/0_0_0_ .mp4?_nc_ht=...
Notice that "space" before .mp4?  It's actually 0x0.  I do not know why Instagram passes that, but RSS Bridge faithfully hands it along in the RSS feed, which is now invalid XML that cannot be parsed.
To Reproduce
Steps to reproduce the behavior:

Take above feed
Pass it to LibXML

fetch error: LibXML error 9 at line 135 (column 122): Char 0x0 out of allowed range

LibXML error 9 at line 135 (column 122): Char 0x0 out of allowed range
LibXML error 77 at line 135 (column 122): Premature end of data in tag content line 135
LibXML error 77 at line 135 (column 122): Premature end of data in tag entry line 128
LibXML error 77 at line 135 (column 122): Premature end of data in tag feed line 2

Expected behavior
Maybe escape/sanitize the filename, because apparently that's the world we live in, now.
Additional context
Honestly, even Firefox and Chrome have issues with that post on Instagram's site and cannot play the video.  Very much a problem on Instagram's end, and I would not be surprised/offended if this bug just got closed due to that.

That posts shows up with this link now: here

That is a null byte. Is this still relevant?

Huh, I had completely forgotten this bug report existed.
Haven't been impacted since then, for what that's worth.  Not sure if it was just a weird one-off with Instagram, or if RSS-Bridge made a change that prevented it, or what may have happened.
Judging by the inaction, seems it's not a cause for concern.


Keepalive

POST to renew key instead of PUT since PUT will fail silently
ping LIST_SUBSCRIPTIONS every 15 min to see what stream (listen key) we are subscribed to
reconnect if the key returned from POST  is different than the current listen key that we subscribed to
Reconnect every 23 hour since Binance will do so every 24 hour
Update USDM to the new wss endpoint

import ccxt from "ccxt";

(async () => {
    const bi = new ccxt.binanceusdm({
        verbose: false,
        apiKey: "KEY",
        secret: "SECRE",
    });

    const ord = await bi.createOrder("ETH/USDT", "LIMIT", "sell", 1100, 2);
    console.log(ord);

    // await bi.fapiPrivateDeleteListenKey();
    // await bi.dapiPrivateDeleteListenKey();
})();

let binance = new BinanceFuturesUsdtmPrivateClient({
    apiKey: "key",
    apiSecret: "secret",
});

console.log("yo");
binance.subscribePrivateOrders({ id: "id" });

binance.on("orders", data => console.log("orders hook", data));
binance.on("error", err => console.error(err));

https://github.com/Crypto-Arsenal/cxws/blob/keepalive/src/exchanges/BinancePrivateBase.ts#L51
Change the constant to 10 seconds to fresh listenKey
yarn ts-node __tests__/manual/driver.ts to start WS

comment out reconnect https://github.com/Crypto-Arsenal/cxws/blob/master/src/exchanges/BinancePrivateBase.ts#L307 on ListenKeyExpired callback to simulate Binance silently expiring
delete listen key
On next renewal, we should detect a mismatch and reconnect


Feature Request: Show workspaces which the current workspace shares it's remote state file with

Problem Statement
As part of listing workspace information, there should be a method of easily getting the names/IDs of workspace(s) which the current workspace shares it's Terraform state file with. This would prove useful for potential reporting or Terraform state importing purposes.
Ultimately we need the workspace ID and the workspace name to be displayed as well as if it's globally shared or not.
One method of doing achieving this feature would be to permanently adding the information to the tfx workspace show command. Another approach could be a feature flag which optionally shows the information like tfx workspace show -n test-workspace -rs/tfx workspace show -n test-workspace --remote-state where -rs stands for remote-state.
Specifications
tfx version: 0.1.0
Terraform Cloud or Terraform Enterprise: Terraform Cloud
Terraform Enterprise Version: N/A
Terraform Code Version: 1.2.4

Great suggestion @rhughes1!
Let me proto out an option to get some thoughts!

Combining this PR for #29 for ease.
Adds the "Global State Sharing" attribute as well.
Example output:
workspace show -n tfx-test
Using config file: /Users/tstraub/.tfx.hcl
Show Workspace: tfx-test
ID:                   ws-VxepewkunumUbR9V
Terraform Version:    1.0.0
Execution Mode:       remote
Auto Apply:           false
Working Directory:
Locked:               false
Global State Sharing: false
Current Run Id:       run-tNGxao7zMos5YrY1
Current Run Status:   errored
Current Run Created:  Sun Aug 21 16:40 2022
Team Access:          appteam-read,ws-outputs
Remote State Sharing: tfx-test-workspace-16,tfx-test-workspace-17

Decided not to (at this time) implement a flag to determine which options to display, rather always show this for every show command. May revisit in the future if API calls become too much.

#41 changes the output into a more friendly list


escape html in email for /myconext/api/idp/magic_link_request and login form

This issue is imported from pivotal

(Peter Havekes - Jan 19, 2024)

https://github.com/OpenConext/OpenConext-myconext/commit/2677c6695ac1e6cd4a1150eef6e0f4b0d3fc8e9a (Peter Havekes - Jan 30, 2024)


Rewrite recursive EverCrypt.HKDF.expand_loop using C.Loops

See https://github.com/project-everest/hacl-star/blob/fstar-master/providers/evercrypt/fst/EverCrypt.HKDF.fst#L29
For specification-compliant calls, EverCrypt_HKDF_expand_loop may create a stack up to 255 frames high. This depends on the level of compiler optimization; e.g. GCC optimizes the recursion into a loop with -O2 but doesn't with -O1. Similarly, calling EverCrypt_HKDF_expand_loop with an arbitrarily large len parameter (violating the HKDF specification) may overflow the stack.
As a temporary measure, we could check that the len parameter is valid and return an error otherwise.
See also #39.

Done using Lib.Buffer.fill_blocks as part of #195.


Reverse io.jaegertracing apiGroup

The API groups are usually in the following form:

monitoring.coreos.com
rbac.authorization.k8s.io/v1
route.openshift.io

and we use io.jaegertracing
we should reconsider and change to jaegertracing.io

I wonder if this pattern/convention is documented somewhere

Not sure if directly documented but all the examples use the sub-resource.resource.domain group: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/

Done as part of #265


scikit-learn wants np.ndarray type not np.matrix

As of scikit-learn v1.0, tools in sklearn.utils.validation.py want objects of type np.ndarray  not np.matrix (the latter throws an error as of v1.2). These tools are used by svm.SVC and the afflicted lines of code are

BlackBoxAuditing.model_factories.SVM.list_to_tf_input matrix = np.matrix([row[:response_index] + row[response_index+1:] for row in data])
BlackBoxAuditing.model_factories.SKLearnModelVisitor.SKLearnModelVisitor.get_Xy: X = np.matrix([row[:self.label_index] + row[self.label_index+1:] for row in test_set])
In NeuralNetwork Line 12:  matrix = np.matrix([row[:response_index] + row[response_index+1:] for row in data])
In DecisionTree Line 12:  matrix = np.matrix([row[:response_index] + row[response_index+1:] for row in data])

For me at least, changing np.matrix -> np.array resolved the error.

Thanks for the report. We need to be careful about the downstream meaning of *; if we were using * anywhere, we could be expecting matrix multiplication. Have you reviewed the downstream code to make sure it works the same as sklearn <1.0?

I checked most of the repo manually to verify that it never uses * to multiply numpy objects, but I will not confidently assert that I checked all of it, and I did not write any tests to verify compatible behaviour between versions. Doing that should be straightforward and a good PR for anyone who reads this and is looking for their first.


Expired token

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Browser:

[X] Chrome version 69
[ ] Firefox version XX
[ ] IE version XX
[ ] Edge version XX
[ ] Safari version XX

Library version
Library version: 0.2.3

Current behavior

I'm using this library before making calls to graph api, and after SSO login from user. From fresh starts it works well, but after sometime I got expired token error from graph api. I have to clear my local storage and renew the token
Expected behavior

This should be transparent
Minimal reproduction of the problem with instructions

const msalClient = new UserAgentApplication(
    params.clientId,
    params.authority,
    acquireTokenCallBack,
    {
        logger,
        redirectUri: window.location.origin,
        navigateToLoginRequestUrl: false,
        storeAuthStateInCookie: true,
        cacheLocation: 'localStorage',
    }
)
async function getToken(email, msalClient) {
        let token = ''
        let error = null
        const queryParams = `&login_hint=${email}&domain_hint=consumers`
        const options = [
            [params.clientId],
            // params.graphScopes,
            params.authority,
            null,
            queryParams,
        ]
        try {
            token = await msalClient.acquireTokenSilent(...options)
        } catch (err1) {
            error = err1
            console.error('msalClient.acquireTokenSilent', err1)
            try {
                token = await msalClient.acquireTokenPopup(...options)
                error = null
            } catch (err2) {
                error = err2
                console.error('msalClient.acquireTokenPopup', err2)
            }
        }
        return {token, error}
}

More intel
I do create a new graph API client each time I wan to make a graph API call to be sure I get a fresh token, without luck
import {Client} from '@microsoft/microsoft-graph-client'

async function doSomeGraphAPIStuff() {
        const client = Client.init({
            authProvider: async done => {
                const {error, token} = await this.getToken()
                done(error, token)
            },
        })
    try {
        const response = await client.api('/me/calendar/events').post({
            ...
        })
        return response
    } catch (err) {
        console.error(err)
    }

}

I also have this warning
Set-Cookie header is ignored in response from url: https://login.microsoftonline.com/<tid>/oauth2/v2.0/authorize?response_type=id_token%20token&scope=openid%20profile&client_id=<client_id>&redirect_uri=https%3A%2F%2Fapp.myapp.com&state=0729f18c-4d04-41b6-8001-2e67f7cb0ea3&nonce=c5cb5103-46df-455c-99bf-3a529ca0ea3c&client_info=1&x-client-SKU=MSAL.JS&x-client-Ver=0.2.3&&login_hint=<email>&domain_hint=consumers&client-request-id=3f99fb81-8154-436a-9991-1c5179b8333c&prompt=none. Cookie length should be less than or equal to 4096 characters.

(I replaced some data on purpose)

If I deconstruct the token sent, I get the following
graph api request succeed
{
    "aud": "00000003-0000-0000-c000-000000000000",
    "iss": "https://sts.windows.net/<tid>/",
    "iat":<PHONE_NUMBER>,
    "nbf":<PHONE_NUMBER>,
    "exp":<PHONE_NUMBER>,
    "acct": 0,
    "acr": "1",
    "aio": "ASQA2/8IAAAA3km3S7SdDD5ZX+ZwxKrdW7A8/hOnGmbKuDifrhcYq88=",
    "amr": [
        "pwd"
    ],
    "app_displayname": "myapp",
    "appid": "<client_id>",
    "appidacr": "0",
    "e_exp": 262800,
    "family_name": "Steunou",
    "given_name": "JÃ©rome",
    "ipaddr": "<IP_ADDRESS>",
    "name": "JÃ©rome Steunou",
    "oid": "741ff391-a0f2-4b54-a616-5b63cb167d7b",
    "platf": "14",
    "puid": "1003BFFDADE46729",
    "scp": "Calendars.ReadWrite email openid profile User.Read",
    "sub": "70ikPjAkVEcNlKVX01w8njgiEMqwu2Li5K9NITAFp0o",
    "tid": "<tid>",
    "unique_name": "<email>",
    "upn": "<email>",
    "uti": "Sb7n7Gmq00O_H7AEttMbAQ",
    "ver": "1.0",
    "xms_st": {
        "sub": "IjHsUabw4N8rqtiWHeL00Eqq04GRU3QcUZ-mxS--zbs"
    },
    "xms_tcdt": "1399273040"
}"

graph api request failed (401)
{
    "aud": "<client_id (Whaaaaaaaaat)>",
    "iss": "https://login.microsoftonline.com/<tid>/v2.0",
    "iat":<PHONE_NUMBER>,
    "nbf":<PHONE_NUMBER>,
    "exp":<PHONE_NUMBER>,
    "aio": "ATQAy/8IAAAAC6Hibxyl5nxfO99y20pFa6z1O7GD3ThVjMadJ8yAf/hzJdtSstubMuECIqpzCqne",
    "name": "JÃ©rome Steunou",
    "nonce": "3bde1c7a-b5f5-460c-8dad-589fab1a352e",
    "oid": "741ff391-a0f2-4b54-a616-5b63cb167d7b",
    "preferred_username": "<email>",
    "sub": "IjHsUabw4N8rqtiWHeL00Eqq04GRU3QcUZ-mxS--zbs",
    "tid": "<tid>",
    "uti": "Gdnw4DZpb0esfqmZLNkYAQ",
    "ver": "2.0"
}

The one working have a lot more info, is v1, where the content of the token not working is clearly missing some data, has a aud with my client_id in it, and is v2.0
You can also notice an issue with the charset on my name ;)

@JSteunou  Msal.js doesn't renew the token automatically. It is the responsibility of the user to renew the tokens. If you are using msal-angularjs or msal-angular, library will renew tokens for you automatically. Hope this answered your question.

@nehaagrawal that the purpose of this issue. I think it would be better for every user of msal.js to add renew here instead of each implementation.


postmortem: weird xtask behavior

In https://github.com/bytecodealliance/jco/pull/187 @guybedford tracked hot-patched a bug by removing a part of xtask which copies code. This was a bug which only happened locally, but not on CI.
I've done some digging, and I've tracked down the root of this bug: xtask was copying into node_modules just fine, but the destination it was copying into was a symlink back to the source it was copying from. When Rust tries to copy a file from itself to itself, the resulting file is zero bytes. Which is the behavior we were seeing.
The solution for anyone running into this is to rm -rf node_modules and re-run npm install to recreate it. Removing the symlink in the process. We switched from a symlinking structure to file copies as part of #174, which works well - as long as you recreate your node_modules after pulling that change.

Closing this since this is only really useful if someone runs into this. Wanted to make sure the information wasn't lost.


Strategy checks don't account for "rounding up" pod counts in traffic check

Breaks strategy progression when we're looking at small pod counts, similar to #7.
A possible solution is to transform weights into percentages and use the same API used when checking Capacity progress.

Superseded by #24 -- we understood that fixing this by pulling the calculation logic up into the Strategy controller breaks the abstraction we're trying to present with the Traffic controller.


FCM.onNotification it only works in the background (7.0.0-beta.2 - Ionic-5_Capacitor-2)

Hello, first of all, congratulation on your excellent work making this plug-in, it is excellent!
I managed to implement your plugin in version 7.0.0-beta.2 with Ionic 5, Capacitor 2.
The functions:
const fcmToken: string = await FCM.getToken ();
FCM.onTokenRefresh ((fcmToken: string) => {
  // ...
})

works great, but the function:
FCM.onNotification ((payload: object) => {
  // ...
})

It has a strange behavior, the notifications that arrive while the application is in the foreground are not detected by the subscriber. But without doing anything, no changes, or anything, being in the background everything works very well, even if I close the application.
But being in the foreground, nothing happens.
Is it a bad implementation? What advice do you give me
Greetings and good vibes for you.

Interesting @Radecom, AFAIK it wasn't working at all on Capacitor. Maybe the version 2 has improved the compatibility. Would you consider creating a hello world app with the plugins to help me debug it?

Issue closed due to inactivity.


Enhance info support such as outputing title

Info outputs a list of information. Definitely we can use awk etc. to extract the Title out, but it will be more convenient to have things like chrome-cli title or chrome-cli info.title to get specific information out.

IMO this is better: https://github.com/prasmussen/chrome-cli/issues/55
allows eg:
chrome-cli --json info | jq -r .title


docs: improve yarn deps upgrade command

Pre-flight checklist

[x] I have read the Contributing Guidelines on pull requests.
[x] If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
[x] If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation

#> yarn upgrade
Usage Error: Couldn't find a script named "upgrade".

$ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] <scriptName> ...

Instead use yarn add to update to the latest version. Also don't add @latest, because that will put the @latest constraint in package.json, which can cause silent major upgrades, as it's a rolling tag.
Test Plan

Test links
It's this page: https://docusaurus.io/docs/installation

Deploy preview: https://deploy-preview-_____--docusaurus-2.netlify.app/
Related issues/PRs
None

Thanks 👍
As far as I understand it only affects newer Yarn versions where the command is now yarn up. Replacing by add looks like a nice alternative


High performance Draw3DLine

I'm tempted to rubberstamp this, but I will actually try it and merge it when I'm back to irrbaw development.

Will merge this week


"Note: Unable to create new instance of" messages

Example:
Note: Unable to create new instance of ActiveStorage::Attachment
Note: Unable to create new instance of ActiveStorage::Blob

Issue addressing this topic: https://github.com/chanzuckerberg/sorbet-rails/issues/84
TODO(48)

closing this issue


deb/rpm packaging

To spread the adaption of TUF, would deb/rpm packaging make sense? One package for maintainers, which includes signercli.py. Another package, which includes what applications could depend on.

See discussion in #263 for the current status of tuf in debian. Closing here.


Support: Amazon pay for iOS

Amazon pays support only for android only not for iOS right?

Or any other way to implement amazon pay in iOS and android for react-native?
Thanks.

This library is for native purchases. You are better off asking on Stackoverflow


allow different versions of _post_init_.

Note: The order goes from '__' -> '_' -> '' and they will all be called if multiple ones are defined.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

28 of 28 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
562

Relevant Lines:
562

💛  - Coveralls


No access to the storefront locally

Hello,
Previously, the project was working fine on my local environment, but after the structural changes with Turborepo, I can no longer access it locally.

I think you shoud editing app/page.tsx

hey @rida-rechrache, can you share how to reproduce this?
Generally, if you do the following it should work:

go to root of the monorepo
yarn install
yarn dev

It should start server & storefront. Additionally, ensure that you have atleast yarn 3

@riqwan yes, it's solved with yarn version 3.
Thank you :)

Thanks! Will make the repo require yarn 3 before launch. 🎉


ARROW-10457: [CI] Fix Spark integration tests with branch-3.0

This adds an additional docker-compose task that will test a Spark branch with the latest PyArrow, instead of the default which also builds Spark with the latest Arrow Java. This is so existing Spark releases with fixed Arrow Java dependencies can still be tested with current PyArrow changes to ensure there is still compatibility. The nightly test against Spark branch-3.0 is changed to use this new task.

@github-actions crossbow submit test-conda-python-3.7-spark-branch-3.0

@github-actions crossbow submit test-conda-python-3.7-spark-branch-3.0

@github-actions crossbow submit test-conda-python-3.7-spark-master

@github-actions crossbow submit test-conda-python-3.7-spark-master

@github-actions crossbow submit test-conda-python-3.8-spark-master

@github-actions crossbow submit test-conda-python-3.8-spark-master

@kszucs please take a look when you can, the tests passed for me locally

@kszucs please take a look when you can, the tests passed for me locally

@github-actions crossbow submit test-conda-python-3.8-spark-master

@github-actions crossbow submit test-conda-python-3.8-spark-master

@github-actions crossbow submit test-conda-python-3.7-spark-branch-3.0

@github-actions crossbow submit test-conda-python-3.7-spark-branch-3.0

gentle ping @kszucs

Sorry, I didn't see that the PR is ready. Please apply Kou's suggestion so we don't need to duplicate the compose configuration. We can pass environment variables to the builds from tasks.yml.

@github-actions crossbow submit test-conda-python-3.8-spark-master

@github-actions crossbow submit test-conda-python-3.7-spark-branch-3.0

Thanks @kou and @kszucs , I made that change and am running the tasks again to be sure


Authentication Issue on new devices.

I'm running the latest version privately and any new devices that synclounge doesn't already have Authorized get rejected. When it goes through the plex authentication process,  "You are not authorized to access this server." is displayed when it finishes logging in. Even though the account does have access to the local server.

What config options are you using?

this is my settings.json:
       "webroot":"",
       "serverroot":"",
       "accessUrl":"http://synclounge.mysite.com",
       "webapp_port":8280,
       "server_port":8281,
       "authentication":{
          "mechanism":"plex",
          "type":[
             "server"
          ],
          "authorized":[
             "40charactersypherofsomekind"
          ]
       },
       "servers":[
          {
             "name":"Watch Party",
             "location":"Hound Dog gunna eat that P***y",
             "url":"http://synclounge.mysite.com/slserver",
             "image":""
          }
       ],
       "autoJoin":false,
       "autoJoinServer":"",
       "autoJoinRoom":"",
       "autoJoinPassword":""
}```

Did you get the machine identifier following these instructions?
http://docs.synclounge.tv/self-hosted/settings/#get-your-plex-servers-machine-identifier

So.. I did.. and then I remembered that I had migrated plex servers to a new operating system. So I went and regenerated the key and it's still saying I don't have access.

No.. but I just remembered I upgraded OS on my server and I guess my ID changed.. so I grabbed it and changed the config and now I'm in


Large offsets are converted to scientific notation

It seems like kysely converts numbers to strings simply by calling .toString(). This breaks for numbers larger than one million, because those numbers are converted to scientific notation:
Example
ctx.db
  .selectFrom('person')
  .select('first_name')
  .offset(4_000_000)

Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '4e+06' at line 1

4,000,000 gets converted to 4e+06 which is $4\times 10^6$.

Kysely does no such thing https://kyse.link/a0zWb


332 colops refactor

Refactored ColOps to provide an API for column calculations.
Addressing #332

Current coverage is 85.65% (diff: 92.05%)

Merging #389 into master will increase coverage by 0.03%

@@             master       #389   diff @@
==========================================
  Files            35         35
  Lines          4339       4358    +19
  Methods           0          0
  Messages          0          0
  Branches        369        355    -14
==========================================
+ Hits           3715       3733    +18
- Misses          594        596     +2
+ Partials         30         29     -1

Powered by Codecov. Last update b4a1d20...51f8521


Just a checkbox of Squash is not enough

Why not mentioning the term "rebase"? Git has 3 idioms to handle pull request merge,

Merge, which is the same as diagram 1,
Squash + rebase, which is close to diagram 2,
Rebase, it keeps the history, but rebase to the tip.
(4. Squash + merge, rarely used)
Basically squash and rebase are orthogonal. Squash does not imply rebase, vice versa. Just provide a checkbox is very confusing.

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

ID: 56dec464-f25a-5c46-52e7-2cbf17a2db1d
Version Independent ID: bbe4d6d1-71a7-0c47-7bfb-1577760e003b
Content: Squash merge your pull requests - Azure Repos
Content Source: docs/repos/git/merging-with-squash.md
Product: devops
GitHub Login: @steved0x
Microsoft Alias: sdanie

I am passing this info along to the team. Thank you for your feedback.


"Too many listerner" ?

On a clean install of Homebridge, with this plugin only, all seems to run fine, paired to Homekit okay, but the new (Dyson) accessories on the Home App are either Updating or No Response.
Looking at the log there seems to be an issue indeed:
[14/05/2019, 12:33:59] [DysonPlatform] Finished launching. Start to create accessory from config
[14/05/2019, 12:33:59] Homebridge is running on port 51826.
[14/05/2019, 12:33:59] [DysonPlatform] Use device password from config file
[14/05/2019, 12:33:59] [DysonPlatform] Dyson IP:<IP_ADDRESS> Serial Number:DYSON-PT4-EU-HXXXXXXA-445
[14/05/2019, 12:33:59] [DysonPlatform] Device serial number format valids
[14/05/2019, 12:33:59] [DysonPlatform] Device cached. Try to update this
[14/05/2019, 12:33:59] [DysonPlatform] Init Sensor for Dyson
[14/05/2019, 12:33:59] [DysonPlatform] Init Fan State for Dyson
[14/05/2019, 12:34:00] [DysonPlatform] Auto switch found. Remove this now
[14/05/2019, 12:34:00] [DysonPlatform] Night mode button is added
HAP Warning: Characteristic 000000BF-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 000000B7-0000-1000-8000-0026BB765291. Adding anyway.
[14/05/2019, 12:34:00] [DysonPlatform] Connected to PT4-EU-HXXXXXXA. subscribe now
[14/05/2019, 12:34:11] [DysonPlatform] Request for current state update
[14/05/2019, 12:34:11] [DysonPlatform] Client is connected. Publish request now.
[14/05/2019, 12:35:26] [DysonPlatform] Request for current state update
[14/05/2019, 12:35:26] [DysonPlatform] Too many listerner. Do another publish now
[14/05/2019, 12:35:26] [DysonPlatform] Client is connected. Publish request now.
[14/05/2019, 12:35:26] [DysonPlatform] Request for current state update
** last 3 lines repeat a couple of times every time I open the Home App on my iPhone **
(node:17658) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 undefined listeners added. Use emitter.setMaxListeners() to increase limit

Any thoughts?

the log suggested that it could not get the update from dyson device and therefore it tried to continue to publish (and listen to that) and ran out of listeners.
so i would suggest to check if your router/network has blocked the mqtt /port/ ip of that

Pretty sure it was a network issue indeed... The Dyson was connected via one of the Unifi nanoHD access points in my house, which appearently blocks (some) traffic between devices in the network.  Connecting it to the WiFi of the router itself solved it.  Thanks!


Add endpoint for getting PMIDs for a single node

Similar to getting shared PMIDs.

I was unable to test these last 3 changes because I was unable to get a stable connection to the Sterling cluster, any ideas? @cbizon

Tests passed! @cbizon


Nuxt generate incorrectly translates name of recursive class-based component to its tag

When using vue-class-component (via nuxt-property-decorator) to define a class-based Vue component @Component export default class MyComponent extends Vue with name implicitly inferred from the class name instead of using export default { name: 'my-component', ..., it behaves ambiguously under different build scenarios of dev vs. generate & start when the component name differs from the file name and the component recursively references itself (needless to say, without this behavior being documented).
As a use-case, there are situations when our class name causes a variable name conflict, for example when we import something with the same name (e.g. from a library, generated API client/JSON Schema, some enum, util...), and we may prefer to rename the class to keep rest of the code consistent. To illustrate this, let's use a postfix of Component due to a lack of any recommended best practices, so we'll name the class export default class MyComponentComponent extends Vue inside a file MyComponent.vue. Inside its template we'll use <my-component-component /> to recursively include the component inside itself under some conditions. As we're using nuxt/components by configuring components: true inside nuxt.config.(js|ts), we're able to include this component from a different component (or a page) using <my-component /> (externally ignoring the class name). This behaves as expected when running dev script.
Versions

nuxt: v2.14.12
node: v10.23.0

Reproduction
https://codesandbox.io/s/nuxt-component-class-name-generate-issue-cu6c5
Steps to reproduce
In the codesandbox environment, the yarn dev is initially run, causing an expected behavior when MyComponent.vue refers to itself like this:

  Parent
  <my-component-component :parent="false" />

Child

@Component
export default class MyComponentComponent extends Vue {
  @Prop({ type: Boolean })
  parent!: boolean
}

after being included from a page using
<my-component :parent="true" />

Open a new terminal and execute

yarn generate
yarn start

Then open the browser.

What is Expected?
Displaying both Parent and Child words as an output.
What is actually happening?
The generated page only displays Parent. The <my-component-component> child component is rendered as an HTML tag, silently failing to be translated despite being an obviously non-supported tag. There is no way to get a warning, either statically, during build, or during runtime!
However, when you rename it back to <my-component>, even though the generate gets fixed, the result of dev script does the opposite and breaks down instead.
Workaround
@Component({ name: 'my-component' })`

@danielroe I opened your link (which does both nuxt-ts generate && nuxt-ts start) and I still see it reproduced there, i.e. rendering only parent without the child. Does it behave differently on your side?

@danielroe I opened your link (which does both nuxt-ts generate && nuxt-ts start) and I still see it reproduced there, i.e. rendering only parent without the child. Does it behave differently on your side?


Only first page elements can be found with selectors in Ionic 3

Bug report
Hi!
In Ionic3, I can normally find the HTML elements with '$' selector like: $('#start-game'), but when I start the game, which leads me to the next Page (executed with nav.setRoot or nav.push), then it doesn't find me any HTML elements anymore, but I get the error instead (provided below).
I already tried to set some browser.wait on hundred ways but nothing helps.

Node Version: 6.10.2
Protractor Version: 5.1.2
Angular Version: 4.1.0
Browser(s): Chrome
Operating System and Version Win 10
Your protractor configuration file: https://pastebin.com/1g7j4Ekf
A relevant example test
const goalWrapper = $('#goal-wrapper');
const until = protractor.ExpectedConditions;
browser.wait(until.presenceOf(goalWrapper), 5000, 'Element taking too long to appear in the DOM');
$('#goal-wrapper').getSize().then((size) => {           // this is not executed!           console.log(size);       });
Output from running the test
      - Failed: Timed out waiting for asynchronous Angular tasks to finish after 11 seconds. This may be because the current page is not an Angular application. Please see the FAQ for more details: https://github.com/angular/protractor/blob/master/docs/timeouts.md#waiting-for-angular     While waiting for element with locator - Locator: By(css selector, .level-complete-wrapper)
Steps to reproduce the bug: Try the code above.

Hi @sasos90
First of all the error message and the line of code it fails on don't match each other.
Your line of code that fails

$('#goal-wrapper').getSize().then((size) => { // this is not executed! console.log(size); });

Your error message

While waiting for element with locator - Locator: By(css selector, .level-complete-wrapper)

Do you have an example project on which we can verify your error?

I see, it was too late to think clearly :D
The thing is that I had more examples but they were calling the same thing "getSize", so I can simply change the selector. Let's say thisi is now relevant test example:
const levelCompletedWrapper = $('.level-completed-wrapper'); const until = protractor.ExpectedConditions; browser.wait(until.presenceOf(levelCompletedWrapper), 5000, 'Element taking too long to appear in the DOM'); $('.level-completed-wrapper').getSize().then((size) => { // this is not executed! console.log(size); });

Are you also executing some commands before you do the $('.level-completed-wrapper').getSize().then((size) => { // this is not executed! console.log(size); });? For example, can you get the title of the page
browser.getTitle().then((title) => {
    console.log('title = ', title);
});

If you also can't you have a problem with the app it self and  I would refer you to the timeouts-docs and try the solutions there and close this issue because it's then app related instead of Protractor related

browser.title works until I change the root page in Ionic.
I already checked timeouts docs but no success.
Perhaps I will turn on ionic community, because I really assume it's Ionic's navigation problem.
Thanks a lot!

Ok,
I'm going to close this issue for now. It's still open for discussion.

@sasos90 Did you found a solution? I'm having the same problem

Hey, @MattiLehtinen unfortunately not. I even tried Ionic's example but neither of tests was even working. So I am not sure how actively they're actually working on it.
I found some other tools for E2E testing, but in that time I didn't have time to try them out, how well they work with Ionic. I even left the topic there but nobody hasn't responded.

@sasos90 Any news ? I've found this related issue without response.
Is Cypress a working solution ?

I have stopped working on that specific Ionic project where I've used protractor for testing.
Cypress works as a charm.


cmd/compile: ephemeral slicing doesn't need protection against next object pointers

func f(b []byte) byte {
    b = b[3:]
    return b[4]
}

We compile this to something like (bounds checks omitted):
    p = b.ptr
    inc = 3
    if b.cap == 3 {
        inc = 0
    }
    p += inc
    return *(p+4)

The if in the middle is there to make sure we don't manufacture a pointer to the next object in memory.  But the resulting pointer is never exposed to the garbage collector, so that if is unnecessary.  Manufacturing a pointer to the next object in memory is ok if that pointer is never spilled at a safe point.  (Bounds checks will make sure such a pointer is never actually used.)
Unfortunately, I don't see an easy way to do this optimization in the current compiler.  Marked as unplanned.
See #14849

@randall77 do you happen to have any idea nowadays on how to attack this problem?

I read on some thread somewhere that @aclements is working on “safe points everywhere” which might make this infeasible.
I wonder whether it’d help to concoct a branch-free way to calculate inc.

It's already branch-free, but it's still expensive. Between this and the writer barriers, people will always have to remove slicing from performance-critical, unless we agree on a way forward.

For the reference - the write barrier at b = b[3:] might be maybe omitted: https://github.com/golang/go/issues/24314 (still waiting for @aclements feedback).

No, I'm still not sure how you would do this.  And @josharian is right, if we get safe points everywhere this gets significantly harder.

If you can ensure the out-of-bounds pointer won't be live for more than an instruction or two, it might be okay to mark those as unsafe points. We're absolutely going to need unsafe points for the write barrier, but I've been working on removing them from other compiler constructs (like range loops).


Minor patch to tutorial - Py3k compatibility.

@mattjj just a minor patch to the tutorial, nothing more than that. Merry Christmas and Happy New Year! :smile:

Thanks for the fix! Sorry for being slow to respond. Hopping to catch up on Autograd issues and emails over the next couple days.


"exteral" -> "external" misspelling fix

Fix to https://github.com/MicrosoftDocs/xamarin-docs/issues/2152

@dotcomboom : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Test changing the bump denominator to zero

This PR adds a test that changes the bump denominator of ServiceRegistry to zero.  Such a change fails with a specific error message.

I don't have a good decisive answer.  We can test changeParametersInternal() and in effect test both cases.  However, what we care ultimately is what happens on external calls.


allow CairoMakie 0.12

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 2.24%. Comparing base (97fc734) to head (eac5608).
Report is 1 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

:exclamation:  There is a different number of reports uploaded between BASE (97fc734) and HEAD (eac5608). Click for more details.
HEAD has 5 uploads less than BASE

Flag
BASE (97fc734)
HEAD (eac5608)

8
3

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #72       +/-   ##
==========================================
- Coverage   90.63%   2.24%   -88.40%
==========================================
  Files          16      16
  Lines         630     669       +39
==========================================
- Hits          571      15      -556
- Misses         59     654      +595

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


Support for es_username and es_password/ SSL connection of elasticsearch

@Karql
can you take a look?

Looks fine 👌


Add Request Context article

I'll change the date when I actually publish this. I'm thinking of thursday


A simpler example for beginners

I am considering to use netty in a Java course, to teach basics of using web services and web sockets.
I am looking for a very simple and short example to begin with;
a simple web-service (or socket) that just takes a string and returns it in reverse.
I looked at the user guide:  https://netty.io/wiki/user-guide-for-4.x.html
but, the example there looks quite long and complicated.
Is it possible to add to the documentation, a simpler start-up example?
Thanks

https://github.com/netty/netty/tree/4.1/example

I did not understand, where is the example in your link?
--- Erel Segal-Halevi   (http://erelsgl.github.io
http://erelsgl.github.io) אראל סגל הלוי
On Tue, Oct 17, 2017 at 9:25 PM, fucong.wang<EMAIL_ADDRESS>wrote:

https://github.com/netty/netty/tree/4.1/example
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/netty/netty/issues/7305#issuecomment-337323219, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABZPx2drPt9iOOHFai_JmZge2fX3-JBTks5stPEUgaJpZM4P5eIR
.

@erelsgl all the subdirectories are example projects.

@erelsgl as @johnou said... closing


Error: Merkle root from the diff doesn't match calculated merkle root after diff is applied

During registering contracts encountered error:
Error: Merkle root from the diff doesn't match calculated merkle root after diff is applied
    at SimplifiedMNList.applyDiff (dashpay-wallet/node_modules/@dashevo/dashcore-lib/lib/deterministicmnlist/SimplifiedMNList.js:85:11)
    at SimplifiedMasternodeListProvider.updateMasternodeList (dashpay-wallet/node_modules/@dashevo/dapi-client/lib/SimplifiedMasternodeListProvider/SimplifiedMasternodeListProvider.js:59:29)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async SimplifiedMasternodeListProvider.getSimplifiedMNList (dashpay-wallet/node_modules/@dashevo/dapi-client/lib/SimplifiedMasternodeListProvider/SimplifiedMasternodeListProvider.js:34:7)
    at async SimplifiedMasternodeListDAPIAddressProvider.getLiveAddress (dashpay-wallet/node_modules/@dashevo/dapi-client/lib/dapiAddressProvider/SimplifiedMasternodeListDAPIAddressProvider.js:21:17)
    at async GrpcTransport.request (dashpay-wallet/node_modules/@dashevo/dapi-client/lib/transport/GrpcTransport/GrpcTransport.js:46:21)
    at async PlatformMethodsFacade.broadcastStateTransition (dashpay-wallet/node_modules/@dashevo/dapi-client/lib/methods/platform/broadcastStateTransition/broadcastStateTransitionFactory.js:33:50)

Related to #244

I've not seen this problem for a while. I think it fixed with #1859