[DDC] if-case pattern does not match.

This works with dart2js, but not with ddc:
import 'dart:math';

sealed class Node {}

final class Name extends Node {}

final class Text extends Node {}

void main() {
  var node = <Node>[Name(), Text()][Random().nextInt(2)];
  print(node);

  if (node case Name node) {
    print(node); // does not print when node is a `Name` instance
  }
}

Dart 3.2.3 (stable) on "windows_x64". Related ykmnkmi/jinja.dart#26.

Looks like a duplicate of https://github.com/dart-lang/sdk/issues/54559. The fix has already landed and is currently in releases on the dev channel after 3.4.0-35.0.dev
A workaround would be to rename the local node variable that gets declared in the if case to avoid shadowing:
if (node case Name nameNode) {
    print(nameNode);
  }

@ykmnkmi can you comment on how blocking this issue is for you? Because the workaround is so easy there hasn't been any discussion to cherry pick this fix and right now it will naturally be released as part of Dart 3.4.0.

Duplicate of https://github.com/dart-lang/sdk/issues/54559, forgot to close in the previous comment, but you can still respond here if needed.


It doesnt work

I have last version of this script and last version of chrome and tampermonkey
Idk why its not work

Here is console log
https://prnt.sc/hcj0g0

Make sure it's set to:
const wantCards = false;
(and yes, this is months old, but..)


Upgrade library and plugin versions

Upgrade sbt to 1.4.4
Upgrade Play versions
Upgrade ScalaTest to 3.2.3

retest this please

retest this please

I removed the dependency on sbt-git-versioning in favor of sbt-dynver and sbt-mima plugins. The process for releasing is a little more convoluted, but it should hold until I fix the sbt-git-versioning plugin to only make mima easier to work with (removing the git versioning stuff provided by sbt-dynver)

Looks like I can't update to Scala 2.12.13 because of https://github.com/scoverage/sbt-scoverage/issues/321. I'm looking for an appropriate version of Scala 2.12 that I can use.


Auto Focus New/Reply Textfield

For the sake of better user experience, please activate the cursor in the first textfield when new/reply button is tapped/clicked.

#51


[FancyZones] Move newly created windows to current active monitor do not keep maximize state

Microsoft PowerToys version
0.74.1
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
FancyZones
Steps to reproduce

Have multiple monitor and Enable option "Move newly created windows to current active monitor".
Open application on screen 1 and make it maximized.
Close application and open on screen 2.
See result.

✔ Expected Behavior
Windows should keep maximized
❌ Actual Behavior
Windows show with default size, not maximized.
Other Software
No response
https://github.com/microsoft/PowerToys/assets/35319492/921467de-7ddd-412a-832e-d8029c010640

This has been worked on during the 0.77 Release sprint. Please update PowerToys to the latest release: https://github.com/microsoft/PowerToys/releases


Incorrect caret position if using floating keyboard on Android Device

Is there an existing issue for this?

[X] I have searched the existing issues

Flutter Quill version
10.8.2
Steps to reproduce

Run sample app. Click "Empty"
Type something with floating keyboard
Change caret position
Type something with floating keyboard

Expected results
Insert characters at the correct position.
Actual results
The caret jumps to the wrong position. Can't insert characters at the correct position.
https://github.com/user-attachments/assets/a65aacab-2ed9-46e2-aed0-d524dcfc8e84
Additional Context

Screenshots / Video demonstration
[Upload media here]

Logs
[Paste your logs here]

The root cause may relate to this issue:
https://github.com/MisterJimson/flutter_keyboard_visibility/issues/114#issue-1276026947


[Enhancement]:  there is logo in the simon game

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Game enhancement
there is no logo to the main page

Describe the solution you'd like
Solution steps
Adding a logo to the simon game in the main page
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @jayanththalla , You can't have another issue before completing the previous one 😀
you already have the following 1 open issues 👀 ! :
#4824

Hey @jayanththalla ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

Hey @jayanththalla !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign


⚠ Processors has degraded performance

In 737e9e1, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 46 ms

Resolved: Processors performance has improved in 99c8b3e.


Emit web.d.ts, svg.d.ts and native.d.ts

Problem

Importing a specific renderer directly such as "react-three-fiber/svg" or "react-three-fiber/web" gives an error that no declaration files could be found.

mentioned in https://github.com/react-spring/react-three-fiber/issues/268
What I did
Write missing .d.ts files for targets with a rollup plugin.

Long story
As I mentioned in a DM, I had an idea to use rollup to emit the types.
Tried rollup-plugin-ts.
Emitted dist looked pretty well

But the build time grew by a factor of 10 😞
./src/targets/web → dist/web.js...

Computed sizes of "dist\\web.js" with "esm" format
  bundler parsing size: 34,072 B
  browser parsing size (minified with terser): 19,513 B
  download size (minified and gzipped): 7,048 B
  treeshaked with rollup with production NODE_ENV and minified: 14,985 B
    import statements size of it: 856 B
  treeshaked with webpack in production mode: 17,151 B

created dist/web.js in 11.9s

[...]

created dist/components.js in 16.6s

./src/components → dist/components.cjs.js...

Computed sizes of "dist\\components.cjs.js" with "cjs" format
  bundler parsing size: 20,820 B
  browser parsing size (minified with terser): 18,242 B
  download size (minified and gzipped): 3,502 B

created dist/components.cjs.js in 17.3s
$ copyfiles package.json readme.md LICENSE dist && json -I -f dist/package.json -e "this.private=false; this.devDependencies=undefined; this.optionalDependencies=undefined; this.scripts=undefined; this.husky=undefined; this.prettier=undefined; this.jest=undefined; this['lint-staged']=undefined;"json: updated "dist/package.json" in-place
Done in 121.32s.

and upon further inspection turned out to be broken

The problem I wanted rollup-plugin-ts to solve is emitting the types for the targets.
tsc emits them already in a fraction of time, but we need to point to targets directory from dist.
Then it hit me.

is this one good to go?

Well, I think so.

@hasparus, thanks for checking out rollup-plugin-ts. I investigated the issue you reported with the generated declarations and fixed it. I've tested out a build and all typings are correctly generated. Feel free to try it out again with v.1.2.12 or newer.

Wow @wessberg! :D This is top-notch support! Thanks!


COMP: Address clang warnings in a remote module

Warnings were raised here: https://open.cdash.org/viewBuildError.php?type=1&buildid=9322560
Message of the first one:
Modules/Filtering/DisplacementField/include/itkTimeVaryingVelocityFieldIntegrationImageFilter.hxx:140:98: warning: instantiation of variable 'itk::NumericTraits<itk::Vector<double, 2>>::Zero' required here, but no definition is available [-Wundefined-var-template]

PR Checklist

[x] No API changes were made (or the changes have been approved)
[x] No major design changes were made (or the changes have been approved)

When merging, to be merged via merge commit (not rebase), so SHA is preserved. SHA is used in https://github.com/InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/pull/74.


return code returns None when block=False

i can get return code when i run a command with block=True but i get None when i use block=False even it finishes his job

Closing due to inactivity :+1:


Initial commit modules pinouts

@piotrdanio maybe you could choose some naming scheme for commonly used pins like for example 3V3?


docs: Fix simple typo, curent -> current

There is a small typo in web/1.0.0/hogan.js, web/builds/1.0.0/hogan.js, web/builds/1.0.3/hogan.js, web/builds/1.0.4/hogan-1.0.4.amd.js, web/builds/1.0.4/hogan-1.0.4.common.js, web/builds/1.0.4/hogan-1.0.4.js, web/builds/1.0.4/hogan-1.0.4.mustache.js, web/builds/1.0.4/template-1.0.4.js, web/builds/1.0.5/hogan-1.0.5.amd.js, web/builds/1.0.5/hogan-1.0.5.common.js, web/builds/1.0.5/hogan-1.0.5.js, web/builds/1.0.5/hogan-1.0.5.mustache.js, web/builds/1.0.5/template-1.0.5.js, web/builds/2.0.0/hogan-2.0.0.amd.js, web/builds/2.0.0/hogan-2.0.0.common.js, web/builds/2.0.0/hogan-2.0.0.js, web/builds/2.0.0/hogan-2.0.0.mustache.js, web/builds/2.0.0/template-2.0.0.js.
Should read current rather than curent.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Page has reload when session value changed.

I'm implement a simple infinite scroll with React + Iron Router
Here is my code:
Template.home.onCreated(function () {
    Session.set('limit', 20);
    Deps.autorun(function () {
        subs.subscribe('data',  Session.get('limit'))
    });
});

And my router file is got in project/lib/router.js (It's global both server & client)
Router.route('home', {
    path: '/',
    waitOn () {
        return subs.subscribe('anotherData');
    },
    fastRender: true
});

Emmmmm, i'm replace SubsManager with Meteor, it's fixed. Maybe i should move this issue to SubsManager.


transferable objects

is it possible to set property value or pass method arguments with transferable objects?

Unfortunately not, currently no functionality for transferable objects


Integrate ros2_control and add user documentation

Changes Made
This is a pretty significant PR that makes several API-breaking changes. In particular, the following breaking changes were made:

blue_dynamics has been ported to hydrodynamics. The new project cleans up the original dynamics implementation and will also make it easier to add new features that are unrelated to Blue (e.g., parsing hydrodynamic parameters from a URDF/SDF file).
blue_control has been re-written using ros2_control and ported to auv_controllers. Controllers will now be easier to implement and are vehicle-agnostic.
ArduSub-specific packages/files including sitl.launch.py, blue_joy, blue_manager, and the PWM passthrough handling have all been ported to ardusub_driver.

In the new repo, SITL, MAVROS, and the ArduSub manager can all be launched using the launch files available in
ardusub_bringup.
PWM passthrough is now accomplished in the thruster_hardware package and is implemented as a ros2_control
hardware interface
blue_manager now lives in ardusub_manager and has been cleaned up.
The blue_joy package has become ardusub_teleop and now has a joystick configuration file tailored specifically to
ArduSub.

Launch files were re-written using the new YAML syntax. The new launch files are a MAJOR improvement over the verbose Python launch files that were originally used.
blue_utils has been removed.

Outside of these breaking changes, user documentation has been added with pipelines that deploy the documentation on push to main. The documentation is written using Docusaurus.
Associated Issues

Closes #33
Closes #111
Closes #77

Testing
Testing was done in simulation using SITL.

CI will continue to fail for rolling until the newest version officially releases here in a month

@mergify backport humble

@mergify backport iron


perf: use new PluginDriver cache

What?
This is a pre-emptive PR on https://github.com/rollup/rollup/pull/2382 - to help guide the implementation of PluginDriver.cache.
Why?
The intent is to greatly speed up how this plugin works, and also give an idea of how Rollup core might implement a cache layer.
This will speed up resolving because as opposed to reading and stating multiple files, it should reduce the load to just stating files it needs to, and returning the same result.
How?
This checks to see if this.cache exists, and if it does it will attempt to read from that cache. A successful read of the cache is then checked for validity, and returned instead of executing the entire resolve algorithm. If the cache is not present or invalid, then the algorithm is run as normal.
What consitutes a valid cache? Every file that was read as part of the algorithm (this includes files that don't actually exist, but the algorithm needs to check for existence) is stated and the mtimeMs and size are stored. The validation routine then checks the cached values of those, against a live stat call and compares the result. If any result is different the cache is blown away. In other words if the user changes or adds a package.json or index.js file, or changes the importee, importer, then the cached result is disregarded as it is assumed unsafe.
It still has to stat a lot of files to ensure the cache is valid, but on the other hand, the number of files read is reduced to 0 on a hot cache. This should make a significant difference to resolve times. Even if the cache is marked as invalid, the work is not wasted as all stat calls get cached for the duration of the build and so subsequent stat calls happen with no IO.

@keithamus is this one you'd like to see merged? We're getting ready to move this plugin to https://github.com/rollup/plugins and are tying up loose ends before that happens.

I'm not sure what the situation is with the PluginCache currently; I'll need to spend time time investigating it all. We can close it for now and I'll renew it at a later time.

Thank you for following up.


Make postgres pool public

Situation
Currently only the type PostgresPool is public, and when accessing the individual connections we are using borrow, and on return we recycle and shuffle.
Purpose for the PR
When using prepared statements we need to initiate the statements for each connection. By making the pool public we can iterate over each connection to ensure, that prepared statements are initialized correctly.
Example after PR
import ./waterpark/postgres

let pg = newPostgresPool(3, "localhost", "pguser", "dietcoke", "test")

for db in pg.pool.items():
  let p = prepare(db, "myExampleInsert", sql"""SELECT name FROM user WHERE id = $1""", 1)

pg.withConnection conn:
  echo getValue(db, "myExampleInsert".SqlPrepared, "4")

Without the PR
Without the PR we need to keep track of each thread and if the prepared statements are initialized or implement an overhead and catch each error:
Error: unhandled exception: ERROR:  prepared statement "myExampleInsert" already exists
 [DbError]

Just making pool public is quite consequential. The those entries are only present if they are not borrowed, and can only safely be iterated if nothing will attempt to borrow them. Accessing them without taking the lock first is also problematic etc.
In general its only possible to do this safely during the set-up phase of a program. For this reason, I suggest instead, just create a PostgresPool of size 0 and then create new connections manually, set them up as you want, then add them to the pool using recycle. Could this work instead?

Ohh, that's absolutely a better approach; haven't thought about that. I would like to be able to set the size of 0, but when using that approach a solution without changes could just be. Up to you.
# Pool of 1 connection
let pg = newPostgresPool(1, "localhost", "pguser", "dietcoke", "test")
pg.withConnection conn:
  let p = prepare(conn, "myExampleInsert", sql"""SELECT name FROM user WHERE id = $1""", 1)

# Add 3 more conns, prepare statements, and recycle them
for i in 0..2:
  let db = open("localhost", "pguser", "dietcoke", "test")
  let p = prepare(db, "myExampleInsert", sql"""SELECT name FROM user WHERE id = $1""", 1)
  pg.recycle(db)

for i in 0..6:
  pg.withConnection conn:
    echo getValue(conn, "myExampleInsert".SqlPrepared, "4")

Tagged in release 0.1.7


Updating the Node pages to reflect the new requirements

rancher/dashboard#241

Based on screenshots, the only thing is that the filter in the "Addresses" tab seems unnecessary.

I've updated to reflect all of the requested changes.

@codyrancher I don't see any new commits?

@codyrancher I don't see any new commits?

looks like the push had failed due to a lint error. It's pushed now.


[FSDE-280] Improve the way that the tooltip is being loading in data table

hey @janibolkvadze @jllr please review this

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-94/1/. :white_check_mark:

You can check this PRs instance in https://6cdf0de03ab276e65bd00a02b0160c47d0cdd4d4-chi-pr.enterprise.ctl.io

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-94/2/. :x:

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-94/3/. :x:

@SergioQCL Could you review this PR, please?

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-94/4/. :white_check_mark:

You can check this PRs instance in https://6e1550b6bef99c09d357eb7da8018056b3faf8d9-chi-pr.enterprise.ctl.io

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-94/5/. :white_check_mark:

You can check this PRs instance in https://fd69ba49abc05db634a9f646697e055c38b270cd-chi-pr.enterprise.ctl.io

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-94/6/. :x:

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-94/7/. :x:

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-94/8/. :white_check_mark:

You can check this PRs instance in https://e22dc61185ea07de44152bf2fc5e80b5cddb7476-chi-pr.enterprise.ctl.io

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-94/9/. :x:

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-94/10/. :white_check_mark:

You can check this PRs instance in https://f683b039d94a4640332cb95fe3707df09eedc893-chi-pr.enterprise.ctl.io

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-94/11/. :x:

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-94/12/. :x:

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-94/13/. :white_check_mark:

You can check this PRs instance in https://8f8d90d8c2ac6ab49ff1e3e3e1f98f4119d0097e-chi-pr.enterprise.ctl.io

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-94/14/. :x:

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-94/15/. :x:

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-94/16/. :x:

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-94/17/. :white_check_mark:

You can check this PRs instance in https://989dc8c59d6c7a42c10524bf9fbe8b2debaba28d-chi-pr.enterprise.ctl.io


Removing govendor and use modules

This will remove the govendor dependency and use the go modules to
handle dependencies. This should make building this project much
easier

someone please review and merge this, please

Doesn't seem like much is happening in this project, I wonder if it's dead?

@hatchan You there man ? 😄

@floryut Sorry, I cannot merge as I no longer work for Wercker or Oracle anymore.

indeed, this project is no longer maintained. Not sure how I found my way here, but this is the current project if anyone else is looking: https://github.com/stern/stern


Getting started example does not work

I followed the getting started tutorial in the readme and can't get the example working.
The domain I had was the TLD associated with cloudflare account, and I used httpbin.${mydomain.com} as the host configuration in an ingress deployment file.
FWIW, when I used cloudflared directly to tunnel, I was able to see a dns record in my cloudflare account and it also worked.

However, no such record got created when I tried to setup argo tunnel via the ingress controller. I tried using both the TLD as well as a subdomain for the domain passed in as cloudflare-argo/domain and neither approach worked.
Here are the logs from argo tunnel pod when I try to apply the ingress kubectl create -f argo.ingress.yaml
I0813 02:30:46.467708       1 controller.go:185] Annotation kubernetes.io/ingress.class=argo-tunnel
I0813 02:30:46.467780       1 controller.go:610] creating tunnel for ingress httpbin, default/httpbin/httpbin
I0813 02:30:46.476709       1 round_trippers.go:436] GET https://<IP_ADDRESS>:443/api/v1/namespaces/default/secrets/cloudflared-cert 200 OK in 8 milliseconds
I0813 02:30:46.478739       1 controller.go:636] created tunnel for ingress httpbin,  default/httpbin/httpbin
I0813 02:30:46.478779       1 controller.go:699] Validation ok for running default/httpbin/httpbin with 1 endpoint(s)
I0813 02:30:46.478841       1 controller.go:723] Starting tunnel to url httpbin.default:80
I0813 02:30:46.485156       1 round_trippers.go:436] GET https://<IP_ADDRESS>:443/apis/extensions/v1beta1/namespaces/default/ingresses/httpbin 200 OK in 6 milliseconds
I0813 02:30:46.489599       1 round_trippers.go:436] PUT https://<IP_ADDRESS>:443/apis/extensions/v1beta1/namespaces/default/ingresses/httpbin/status 200 OK in 3 milliseconds
I0813 02:30:46.489817       1 controller.go:185] Annotation kubernetes.io/ingress.class=argo-tunnel
I0813 02:30:46.489849       1 controller.go:185] Annotation kubernetes.io/ingress.class=argo-tunnel

And here are the logs when I delete it kubectl delete -f argo.ingress.yaml
I0813 02:31:10.058995       1 controller.go:185] Annotation kubernetes.io/ingress.class=argo-tunnel
I0813 02:31:10.059101       1 controller.go:770] Removing tunnel default/httpbin/httpbin
I0813 02:31:10.059132       1 controller.go:502] Error processing delete:default/httpbin/httpbin: lookup cftunnel.com on <IP_ADDRESS>:53: no such host
I0813 02:31:10.064582       1 controller.go:770] Removing tunnel default/httpbin/httpbin
I0813 02:31:10.064626       1 controller.go:502] Error processing delete:default/httpbin/httpbin: Tunnel not found for key default/httpbin/httpbin
I0813 02:31:10.075053       1 controller.go:770] Removing tunnel default/httpbin/httpbin
E0813 02:31:10.075128       1 controller.go:508] Dropping object "delete:default/httpbin/httpbin" out of the queue: Tunnel not found for key default/httpbin/httpbin

I've got the same issue, seems like Argo is trying to open a tunnel with {serviceName}.default:{port}

I believe this is resolved in version 0.5.2 because of various dependency updates.  At the very least there will more logging information available.

Hey Nate,
Don't if related to this new version but my tunnels unregister after a period of time without re-initializing. Do you have an idea of what could be the reason?

@stephane-cloudflare I don't have an explanation for this unregistration, we'll have to dig into this more deeply.

Nevermind nate, was using the registry version with the hash tag before the 0.5.2 has been released, using the 0.5.2 tag now work as excepted! Thanks for your support,

@ntfrnzn to confirm, if I want to expose a service running at service.staging.tld.com, should domain passed in as cloudflare-argo/domain be set to tld.com or staging.tld.com? And what should the domain in the ingress be?

@tonyxiao the value of cloudflare-argo/domain should be the same as the cloudflare site you manage at https://dash.cloudflare.com/, for instance tld.com.  The value specified in the ingress, (.spec.rules[0].host) should be service.tld.com
I believe that the certificate managed by cloudflare will not support arbitrary multiple levels like service.something.tld.com

True, the Origin Certificate covers by default the APEX and wildcard at the first level so not for service.staging.tld.com. @tonyxiao, feel free to generate one directly through your interface in the Crypto tab for the good level you're trying to publish your application on and use this new one for your ingress controller.

@stephane-cloudflare your suggestion worked. Thank you!

@tonyxiao I've also added a miniature walk-through/guide that should help,

Agro Subdomain Tunnels


More helpful error if missing lsb_release

Just getting started with pony lang for the first time today! Hopefully more actually helpful commits soon!

What problem does this solve?

I was trying to create a pony project while developing in a distrobox container. Most containers do not come with lsb_release by default, so the install fails. Just makes the error more obvious

The case statement isn't an appropriate place to check for that. It would be appropriate to check to see if lsb_release is installed before the command is executed and report back if it isn't. But at that point we are getting into other issues as well such as "what if curl isnt installed?" Having a check for one dependency being missing, but not others doesn't feel great to me.
What did you get as output from running the init script before you installed lsb_release?
I think at minimum it makes sense that we document what tools are required for the script to run. And perhaps before running any command, we check for its existence and print a message if it isn't installed (although that's not particularly "unix-y", but i'm not worried about being "particularly unix-y").
I've used an awful lot of base images for containers and they have all had lsb_release. What is the set of containers that you use that don't contain lsb_release?

I tend to agree with all of your points above. Just didn't want to step in suggesting other than the bare minimum for my first PR to the project :)
$ distrobox create temp --image fedora:latest
$ distrobox enter temp
$ sh -c "$(curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/ponylang/ponyup/latest-release/ponyup-init.sh)"
sh: line 94: lsb_release: command not found
~~ SNIP ~~

I guess it doesn't fail for lsb_release reasons explicitly, but later it does fail without me setting  ponyup default x86_64-unknown-linux-gnu, and I mixed those two up in my head.
But a quick check for missing dependencies might be nice anyway!

FYI: ponyup default x86_64-unknown-linux-gnu was deprecated a while ago so, those will be some old compiler versions. Are you planning on using Pony with a particular Fedora where having a prebuilt compiler would be helpful?

Ah that makes sense why I was having build issues with that. Thank you for the heads up. A deprecation notice for that might be helpful?
I did manage to get ponyc working by installing via the nix package manager. It looks like that one is old too though. I can make myself useful and update that over there. Sorry for this becoming a longer thread than intended. We can close this, but if you would like me to try opening a PR for either a deps check and/or a deprecation warning on the unknown-linux-gnu, please let me know!

@13r0ck a deprecation notice would be nice. would welcome a PR for that.
is there a particular fedora you are looking to target? if there's a specific version we could look into adding builds for it. i'd need some assistance from you as i dont know fedora well.

Will do!
When I am using fedora it is usually in a distrobox container using fedora:latest because I want to do something else that requires newer packages than what ubuntu's repos have. Very much willing to help if I can, but I personally am not looking for a hard and fast prod environment yet

Ok, so, would Fedora 39 work? Given that is what latest is now?
If yes, then what would be needed is the Fedora 39 based version of this Dockerfile:
https://github.com/ponylang/ponyc/blob/main/.ci-dockerfiles/x86-64-unknown-linux-ubuntu22.04-builder/Dockerfile
In particular, the software installation bits. If you can get me a Dockerfile that should match, I can try it out locally as an environment to test and build ponyc in.
Are you on the Zulip? If you are up for helping with the Dockerfile, then coordinating in the zulip here https://ponylang.zulipchat.com/#narrow/stream/190359-ci in the ci stream would be the easiest.

Will do! I will also move this chat over to zulip once I get that working. Thanks for the chat today, I hope you have a great rest of your weekend!


pan gesture switchability

Allow to enable/disable pan gesture recognizer at any time

We really need to merge this.
I just experienced a misbehaviour with moving rows in a UITableView, because the UIPanGestureRecognizer property cancelTouchesInView is set to NO (false) by default.
This cancels the drag gesture when reordering rows.


Responses class

Trying to combine the code locally before pr so as not to have to deal with many merge conflicts, just wondering what the Response class is being used for. Are the jsonified error and successes being accessed and rendered in the frontend?

Yea that was used originally used as it was supposed to be accessed and rendered in front end but flask flash is more suitable. Will take out of models.py


Read the raw bytes from miekg dns package to return back to the pu client

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0
[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1647",
    "commit-sha": "0759e309d84f7e821946bf35f934e985afa0816e",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "1020",
    "commit-sha": "9652afd54bac4797599aef0cadc8db0767079db2",
    "pipeline": "master"
  }
]

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0
[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1647",
    "commit-sha": "0759e309d84f7e821946bf35f934e985afa0816e",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "1020",
    "commit-sha": "9652afd54bac4797599aef0cadc8db0767079db2",
    "pipeline": "master"
  }
]

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0
[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1647",
    "commit-sha": "0759e309d84f7e821946bf35f934e985afa0816e",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "1020",
    "commit-sha": "9652afd54bac4797599aef0cadc8db0767079db2",
    "pipeline": "master"
  }
]

/build


Local settings

close #4.

マージするなら、これも実装する
https://github.com/mattn/vim-lsp-settings/pull/441

Will this PR be merged soon?

Is there anything blocking this that I can help with?

@cweagans I'm sorry. It's due to my motivation.
I am not motivated because I have to rewrite a lot of code...

Don't be sorry! That's totally normal. Can I help somehow? Do you just need this redone against HEAD?

Yes. That's right.
I would also like to apply the https://github.com/mattn/vim-lsp-settings/pull/441 changes.
If possible, I would like you to do it for me, is that okay?

Ah, looks like you beat me to it. Apologies for the delay. I was busy with family the past couple of days. Do you still need https://github.com/mattn/vim-lsp-settings/pull/441 done?

No, no, it's not your fault. It's Christmas and it's good to spend time with family :christmas_tree:
Your comment has motivated me. Thank you.
Since dangerous settings such as cmd are not configurable in nlsp-settings.nvim, we decided that it was not necessary to include mattn/vim-lsp-settings#441.
If you have any problems, please let me know.

Sounds great! Thanks for getting this across the finish line. This will be very helpful to me!!


Integrate AVD accelerator with new AVD multi-region docs

link from AVD accelerator to BCDR to get more details
Multiregion BCDR for Azure Virtual Desktop - Azure Architecture Center | Microsoft Docs

Migrated to ADO


EmrEtlRunner: determine path to Hadoop Enrich based on its version

Is it:
"#{assets_bucket}3-enrich/hadoop-etl/snowplow-hadoop-etl-#{hadoop_enrich_version}.jar"

if the first digit of the version is 0, and
"#{assets_bucket}3-enrich/scala-hadoop-enrich/snowplow-hadoop-enrich-#{hadoop_enrich_version}.jar"

otherwise?

Correct!


Expose search functionality in API

This PR exposes the search functionality available in the web UI through the API. It closes #269.
The search functionality is exposed via the query parameter search to the existing collection endpoint of /api/v2/dataset-urls. This parameter can be mix with other parameters at that endpoint to create more restricted searchs.
Note: The changes in this PR has been applied to the live instances of DL-Registry.

is there much more to it besides adding a test case or two?

is there much more to it besides adding a test case or two?

No. The tests are added.

Great, thanks!


Reporting "bc not found" when build rkt on a clean ubuntu distro

After autogen.sh and configure.sh, make still fails on a clean ubuntu distro:
/bin/sh: 1: bc: not found
make[3]: *** [include/generated/timeconst.h] Error 127
make[2]: *** [prepare0] Error 2
make[1]: *** [sub-make] Error 2
stage1/usr_from_kvm/kernel.mk:46: recipe for target '/home/yifan/gopher/src/github.com/coreos/rkt/build-rkt-1.0.0+git/stamps/__stage1_usr_from_kvm_kernel_mk_bzimage.stamp' failed
make: *** [/home/yifan/gopher/src/github.com/coreos/rkt/build-rkt-1.0.0+git/stamps/__stage1_usr_from_kvm_kernel_mk_bzimage.stamp] Error 2

After install bc, it fails again because of the missing of the libssl-dev:
/home/yifan/gopher/src/github.com/coreos/rkt/build-rkt-1.0.0+git/tmp/usr_from_kvm/kernel/linux-4.3.1/scripts/sign-file.c:23:30: fatal error: openssl/opensslv.h: No such file or directory
compilation terminated.
make[3]: *** [scripts/sign-file] Error 1
make[2]: *** [scripts] Error 2
make[1]: *** [sub-make] Error 2
stage1/usr_from_kvm/kernel.mk:46: recipe for target '/home/yifan/gopher/src/github.com/coreos/rkt/build-rkt-1.0.0+git/stamps/__stage1_usr_from_kvm_kernel_mk_bzimage.stamp' failed
make: *** [/home/yifan/gopher/src/github.com/coreos/rkt/build-rkt-1.0.0+git/stamps/__stage1_usr_from_kvm_kernel_mk_bzimage.stamp] Error 2

$ uname -a
Linux yifan-ubuntu-box 4.2.0-27-generic #32-Ubuntu SMP Fri Jan 22 04:49:08 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

They are both known dependencies in kvm flavor build flow (kernel build dependencies to be more precise).
A while ago @krnowak updated autoconf setup to not check for deps specific to kvm flavor, leaving this described as "build dependencies for kernel/lkvm" in https://github.com/coreos/rkt/blob/master/Documentation/dependencies.md#specific-dependencies-for-the-kvm-flavor
Do you think that this should be described more in detail? IMO @krnowak proposal is quite good (but requires more knowledge from package maintainer - what's quite fine for me).

Yeah, I'm tempted to WONTFIX it. I don't think I want to keep the checks in configure.ac in sync with real build time deps of external projects.
What I could do is to make these messages somehow more visible - msg for src flavor and msg for coreos/kvm flavors

I would also prefer not to have to keep in sync the list of deps of external projects.
Note that there are currently several places where we need that list anyway:

scripts/install-deps-fedora-22.sh (building with rkt-build-rkt)
scripts/install-deps-debian-sid.sh (building with rkt-build-rkt)
Documentation/rkt-build-rkt.md
hacking.md (building with Docker)
cloudinit files like tests/cloudinit/fedora.cloudinit for tests/aws.sh

I don't know if we should do something there.

I would replace them with something like dnf builddep kernel and similar in Debianese.


Weechat rendering improperly

Hi
I'm not sure who is wrong between weechat (the irc client) and alacritty, but it seems to render improperly in alacritty.

You can see on the attached picture, the vertical line of blue X should be a thin bleu line. And the horizontal status line should be blue not just around the word but from beginning to end.
I can provide better comparison screenshoot or debuging info if needed. I'd just rather avoid publishing too many info about my chats online.

The xs are due to a lack of graphics mode support. We've got an issue for that: #263.
The horizontal bar is either improperly displaying some invisible characters or it's the same issue as with htop: #195.

What is your $TERM set to ($ echo $TERM)?
This issue doesn't seem to occur if you're using screen or screen-256colors. It seems to only happen to me when it's set to xterm or xterm-256colors.

The xs should be fixed on master, and the color issue is easy now that we know what the problem is.

@xyin96 the reason it doesn't work with xterm and xterm-256colors is that they both claim to support background color erase which Alacritty doesn't but should (we are claiming to be xterm-256colors).


[YBUG.IO] this site is not working. i...

this site is not working. i think there is a bug
Source url: https://live.sovryn.app/
Reported by:
Reported at: 14 Apr at 05:02 UTC
Location: CA, Ontario, Thornhill
Browser: Chrome 89.0.4389.114
OS: Windows 10.0
Screen: 1366x768
Viewport: 1341x636
Screenshot:

For more details please visit report page on Ybug:
https://ybug.io/dashboard/reports/detail/46jg94ntd2qtf5kd8xv1

Possibly duplicate of #695


DESIGN DISCUSSION: How to execute a DAG of IO and compute tasks? 2 Tokio threadpools? Or Tokio + Rayon?

Andrew Lamb at InfluxData wrote a blog post (in 2022) making compelling arguments for scheduling CPU-bound tasks using Tokio. The essential "trick" is to use two Tokio threadpools: one for IO, and another for CPU-bound tasks (so that CPU-bound tasks don't block IO tasks).
For hypergrib, it might be nice to be able to use Rust's async API to naturally express a directed acyclic graph (DAG) of tasks. For example:
graph TD
    L1[Load GRIB message 1] --> D1[Decode msg 1] --> M[Merge into final array]
    L2[Load GRIB message 2] --> D2[Decode msg 2] --> M[Merge into final array]

Andrew Lamb's blog post suggests using two Tokio threadpools. Andrew's implementation involves ~750 lines of custom Rust code (including tests).
If we really wanted to avoid using Rayon (and use two Tokio threadpools) then I think we could do it by "just" creating two Tokio threadpools. Something like:
use tokio::runtime::Runtime;

// Create the runtime
let cpu_runtime  = Runtime::new().unwrap();

// Execute the future, blocking the current thread until completion
cpu_handle = cpu_runtime.spawn(cpu_main);

let io_runtime = Runtime::new().unwrap();
io_handle = io_runtime.spawn(io_main);

cpu_handle.await??;
io_handle.await??;

(Although I'm really not sure if that'll work! And I'm not sure how to pass Futures between the two runtimes?)
On ballance, I think I prefer Alice Ryhl's recommendation of using Tokio with Rayon, and using a tokio::sync::oneshot::channel to pass things between Tokio and Rayon. I'm 99% sure this'll still allow us to construct a DAG of tasks. And feels like it'll result in less code in hypergrib. And, crucially, we may have tasks that run a long time (seconds?), but Andrew Lamb suggests that, even when using two tokio threadpools, tasks in the CPU threadpool still shouldn't block for more than something like 100ms. But it does add a pretty heavyweight dependency (Rayon).
Further reading

Andrew Lamb: Using Rustlang’s Async Tokio Runtime for CPU-Bound Tasks

The latest IOx code: https://github.com/influxdata/influxdb3_core/blob/main/executor/src/lib.rs

Alice Ryhl: What is blocking?
Tokio docs: CPU-bound tasks and blocking code
Stack Overflow: How to create a dedicated threadpool for CPU-intensive work in Tokio?
Reddit: Tokio for CPU intensive work
Status quo stories: Niklaus Builds a Hydrodynamics Simulator (Which actually suggests that Rust's async API isn't a great choice for CPU-intensive tasks)
Stack Overflow: How can I create a Tokio runtime inside another Tokio runtime without getting the error "Cannot start a runtime from within a runtime"?

Actually, on second thoughts, maybe it's easy to just have a struct which holds the two Runtime instances, and we pass around that struct, and call struct.cpu.spawn. Or we don't pass the struct around and just have a single function which sends tasks to the Runtimes.
Although it's possible that Tokio doesn't allow multiple Runtimes to be installed on the same thread, hence the complexity in Andrew Lamb's solution.

This post seems to suggest that it's fine to start multiple Runtimes from the same thread: https://matthewtejo.substack.com/p/building-robust-server-with-async

There's still the concern that some of our tasks might take a long time (multiple seconds). I should write a little test to check the tokio scheduler can still run. For example, start a runtime with 2 worker threads. Submit one 1-sec task and ten 100ms tasks, and check that Tokio can schedule the 100ms tasks on the second thread. The whole thing should execute in 1 sec.

I've written a little test, where I submit some 1s tasks, and some 100ms tasks to the same tokio scheduler and it "does the right thing"! Code here: https://github.com/JackKelly/learning_rust/blob/main/tokio_long_tasks/src/main.rs

OK! I think I've got it working nicely with two runtimes, and without much additional complexity.
Here's the code: https://github.com/JackKelly/learning_rust/blob/e06d97a409bfe6afea4e1a5ce5409a78ba7128c0/tokio_two_runtimes/src/main.rs
And here's an example output:
jack@jack-NUC:~/dev/rust/learning_rust/tokio_two_runtimes$ time cargo run --release
   Compiling tokio_two_runtimes v0.1.0 (/home/jack/dev/rust/learning_rust/tokio_two_runtimes)
    Finished `release` profile [optimized] target(s) in 0.94s
     Running `target/release/tokio_two_runtimes`

ThreadId(1) RuntimeId(1) Starting main_rt!
tokio::time::sleep on main_rt
Finished tokio_time::sleep on main_rt
ThreadId(3) RuntimeId(1) Spawning tasks on main_rt!
ThreadId(3) RuntimeId(1) Ending tasks on main_rt!
ThreadId(2) RuntimeId(1) ** Starting 100ms task 3 ^^!
ThreadId(3) RuntimeId(1) ** Starting 100ms task 9 ^^!
ThreadId(5) RuntimeId(2) Starting tasks on cpu_rt_handle!
ThreadId(5) RuntimeId(2) Ending tasks on cpu_rt_handle!
ThreadId(5) RuntimeId(2) ** Starting 1s task 1 ^^!
ThreadId(4) RuntimeId(2) ** Starting 1s task 0 ^^!
ThreadId(1) RuntimeId(1) Ending main_rt!
ThreadId(2) RuntimeId(1) ** Finished 100ms task 3 ##!
ThreadId(2) RuntimeId(1) ** Starting 1s task 0 ^^!
ThreadId(3) RuntimeId(1) ** Finished 100ms task 9 ##!
ThreadId(3) RuntimeId(1) ** Starting 100ms task 4 ^^!
ThreadId(3) RuntimeId(1) ** Finished 100ms task 4 ##!
ThreadId(3) RuntimeId(1) ** Starting 100ms task 5 ^^!
ThreadId(3) RuntimeId(1) ** Finished 100ms task 5 ##!
ThreadId(3) RuntimeId(1) ** Starting 100ms task 6 ^^!
ThreadId(3) RuntimeId(1) ** Finished 100ms task 6 ##!
ThreadId(3) RuntimeId(1) ** Starting 100ms task 7 ^^!
ThreadId(3) RuntimeId(1) ** Finished 100ms task 7 ##!
ThreadId(3) RuntimeId(1) ** Starting 100ms task 8 ^^!
ThreadId(3) RuntimeId(1) ** Finished 100ms task 8 ##!
ThreadId(3) RuntimeId(1) ** Starting 100ms task 1 ^^!
ThreadId(3) RuntimeId(1) ** Finished 100ms task 1 ##!
ThreadId(3) RuntimeId(1) ** Starting 100ms task 0 ^^!
ThreadId(3) RuntimeId(1) ** Finished 100ms task 0 ##!
ThreadId(3) RuntimeId(1) ** Starting 100ms task 2 ^^!
ThreadId(3) RuntimeId(1) ** Finished 100ms task 2 ##!
ThreadId(5) RuntimeId(2) ** Finished 1s task 1 ##!
ThreadId(4) RuntimeId(2) ** Finished 1s task 0 ##!
ThreadId(2) RuntimeId(1) ** Finished 1s task 0 ##!

real    0m3.093s
user    0m3.151s
sys     0m0.228s

Conclusion
Let's use two Tokio runtimes (using the method outlined in the comment immediately above). Let's not use Rayon.
This has several advantages:

Don't have to depend on Rayon. (Rayon is great! But it's large, and so will increase compile time)
Only need to use a single programming model (async/await). (Instead of also using Rayon's programming model)
This should make it a little easier to define and run DAGs which include IO and computation.


[Dialog] Also take fixed element into account

Closes #7096

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

just now i upgrade to1.0.0-beta.2  (windows system , chrome browser)
it's remove popover and use menu
the problem is : if the body is long and has vertical scrollbar it's ok,
when the boby is short, add padding-right to body
every open cause the  page layout change (a little strange)
follow is picture
short body normal
short body open menu
is this a right thing ?  if  you can understand this words , please reply me

I'm not sure, it would be great to have a reproduction example.

upload code take some times...
this is the demo website

@DsAco Sounds like an issue yes. It would be perfect to have a small reproduction example on codesandbox or webpackbin to further investigate.

this is codesandbox url


fix transform() function

hi @johannesschobel , can you release this?

this is already released in 2.4.8

thank you @johannesschobel

you're welcome


[CP][beta channel] 243fb5c - analyzer: Support non-proper rename type alias constructor tear-offs

commit(s) to merge:   243fb5c383416fb82b6852a83ad3c4449683858a
merge instructions: merge https://dart-review.googlesource.com/c/sdk/+/218746
What is the issue: analyzer's support for the constructor-tearoffs feature is incomplete without this CL; without this CL there is no notion of proper rename type aliases; the analyzer may report certain constructor tear-offs as identical or as not identical, incorrectly, in const contexts.
What is the fix: This CL landed in main after the beta branch cut; it completes analyzer's support for the constructor-tearoffs feature.
Why cherrypick: This is the last CL for analyzer's support of the constructor-tearoffs feature, which is enabled by default with Dart Language Version 2.15.
Risk: None that I am aware of
/cc @devoncarew

@leafpetersen to weigh in on the cherry pick request

I am in favor of taking this.

approved!

Merged to beta in c8b50bd835770529f30c6079376c824264a57e2c (2.15.0-268.8.beta).


token changed event

Hi,
Is would be excellent to broadcast an event from $auth service when the token is set, changed or removed in the localstorage?
Generally once a user is logged in, his information should probably be displayed somewhere (e.g. in the top-right corner). And generally a label is bound to a varible in the $rootScope or at a scope which is at least somewhere high up in the DOM tree. Also when the user logs out we again need to set this variable. Another case is when the app is bootstrapped and the token exists in the local storage.
We could use the event like this;
$rootScope.$on($auth.TOKEN_CHANGED, function(event, token){
if(!token)
$rootScope.currenctUser = null;
else
$rootScope.currenctUser = $auth.getPayload().getUserInfoFromPayload;
});

See https://github.com/sahat/satellizer/issues/152 and https://github.com/sahat/satellizer/issues/202.
You can do all that yourself at the app level instead of having Satellizer pollute global $rootScope with events.


Refresh tokens no issued as result on refresh_token grant_type

refresh token grant type section is wrong - using refresh_token grant returns only Access and ID tokens if requested

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

ID: 5399f381-2744-9012-2575-b2d1dd110040
Version Independent ID: c816cb8d-b7b5-6fe7-bcca-b5d0da9efefc
Content: AD FS OpenID Connect/OAuth flows and Application Scenarios
Content Source: WindowsServerDocs/identity/ad-fs/overview/ad-fs-openid-connect-oauth-flows-scenarios.md
Service: windows-server
Sub-service: security
GitHub Login: @billmath
Microsoft Alias: billmath

Thank for submitting this. I have created a work item for it and will reviewing this in the coming weeks. I am not sure what the timeline will be, so I am going to close this for now. But once I have an update I will drop it in here and let you know.
Thank you!
Bill
#please-close


Fix Docker XIO create problem

This commit fixes a problem where the docker volume create command was not working. The fix to ensure there is no error being sent back in the case of a volume not found.
This should not be merged until it is rebased from https://github.com/emccode/rexray/pull/296
Intentional since the context configuration is set in this PR expecting the merge to occur at core.

Please rebase per your note above, then it LGTM

@akutz This has been rebased.


Feature request

I'm looking at using Streeng to replace a trio of other string manipulation add-ons -- Low Replace, Excerpt and Stringy. It appears that Streeng can do everything that these others can do (yay!) with the exception of a couple of handy features that Stringy has that Streeng seems not to. Specifically:

{exp:stringy:shuffle} (shuffling the characters between the tag pair);
{exp:stringy:length} (returns the number of characters between the tag pair);
{exp:stringy:numberformat decimals="0" dec_point="." thousands_sep=","} (optionally adds decimal point and trailing zeros, define characters for decimal point and thousands separator).

Is there any chance of incorporating those features into Streeng somehow so that I can have a single string-manipulation tool that handles everything? That would be great. Thanks.

Hello there. I think length is a great suggestion, we can get that added by allowing count="*" or something like that with the existing syntax. Can you give me the use case for shuffle? Not sure I'm seeing the value of adding that one.
As for the mathematical operations, I'm not sold on us doing that, given that Streeng is based around a single tag pair with parameters. We have all that logic in https://github.com/caddis/math and it would really start muddying up Streeng.

Hi there, Yes, I entirely take your point about doubling up with Math, so that's dealt with. And shuffle was always a fringe use-case, so yes, ignore that by all means. If I ever build an anagrams site I'll come back to you. Interesting about making length part of count -- tbh, count and splits are the two parameters of Streeng that I don't quite get my head around very well, at least not from the documentation. Can you explain how they work? I assume that the 'supplied string' is the parameter's value ("|" in the example) so count will find how many times that string/value appears in the text between the tag pair, right? But I'm still a bit confused about splits and what result that returns. Also, if you use count as a way of implementing Stringy's length option in the way you describe above, would that not (assuming that I'm correctly understanding how to use count) simply count how many asterisks appear in the text? (Sorry to be dense).

Splits would essentially explode the string on that character and let you know how many pieces there are after the split. Count would just look for that character so essentially splits is count + 1 in essence. You are correct about it counting the * character unless we used that as a reserved pattern which may not be the best thing to do. Allowing count to support regex could be an option. Any thought on that?

Streeng 1.8 has been published with a count="ALL" option to count all characters. Hope this helps you consolidate addons.

Great stuff, thanks!


PPF-349: fix badge colors

Codecov Report
Patch and project coverage have no change.

Comparison is base (e6db2f8) 100.00% compared to head (94dfccc) 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff            @@
##            master      #350   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           18        18
  Lines          585       585
=========================================
  Hits           585       585

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

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


Add fallible accessors to ThreadLocal.

Problem
I'm working on a custom global allocator that tracks allocation and deallocation events for the purpose of tracking memory consumption/usage and attributing it to different components. As such, for fast/uncontended access to update the statistics of a particular component, I use ThreadLocal to hold the necessary data structures, and then scatter/gather them in a background thread.
Since the allocator is intercepting all allocations and deallocations, this means that when TLS destructors are run for ThreadLocal itself, specifically THREAD_HOLDER, it triggers calls into my custom allocator, which result in hitting the normal "get the statistics for the given component" logic, which tries to access the ThreadLocal... and ends up panicking due to the access after destruction.
The custom allocator already tries to avoid reentrantly tracking (de)allocations but since the TLS destructor is the root of the stack, as it were, and there's no way that I know of to check that the key is in fact destroyed, I can't detect what's happening out-of-band, and need the access to THREAD_HOLDER to be able to bubble that up.
Solution
I've added fallible variants of all of the accessor methods: try_get, try_get_or, try_get_or_try, and try_get_or_default. They simply call out to thread::try_get, which is itself a fallible variant of thread::get. Ultimately, we're just bubbling up the already-available AccessError.
Testing
I added two tests for ensuring the fallible try_* variants work, but I was struggling to conceive a unit test that represented my particular example, given the need for a custom allocator to be in place to affect THREAD_HOLDER in the necessary way, and to that end... I wonder if it even necessarily matters: we're really just surfacing existing LocalKey methods.

I don't think this crate is the right place to work around this issue. Have you considered wrapping the ThreadLocal in a wrapper object that sets a thread-local bool flag when it is in used. You could use ManuallyDrop to ensure the flag is set when it is being dropped.

I guess I'm not sure what you mean when you say "this issue".
The existence of the fallible accessors on LocalKey make a pretty compelling argument that having to handle such cases is not atypical, and the notion of using yet another variable when the TLS destructor information is already available seems silly.


clrDgHideableColumn change detection

I want to know if it is possible to capture the event when the visibility of a column changes,
Because I want to save the changes of the user to not always be configuring what to show, what not to show.

@Kevin2iBi check this


Revert "[smithsonian] Set minimum nodepool size to 5"

Reverts 2i2c-org/infrastructure#2856
Event is over and we can scale the cluster down now, ref: https://github.com/2i2c-org/infrastructure/issues/2854#issuecomment-1671328207

I have completed the scale-down


Adding Proof Configuration to Signature

Description
PR to include the proof configuration in the final hash during the process of creating and verifying the proof.
Therefore, the verification process should fail if any values in the Proof Configuration attributes change.
This PR should fix #34, also it's merge  #38

Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

@DominikPinsel @matgnt  @borisrizov-zf @bjoern-arnold, please for your review.

I would leave this to the others to review. I'm not a Java developer and don't know the libraries internal structure.

@koptan you should rebase, because of #44

@borisrizov-zf  Rebase is done, you can merge it 👍

@koptan Hi, still many more files have the docs deleted, and the copyright year is not 2024. I haven't marked them explicitly, due to the sheer quantity of files. Please review them and fix these issues, before I can continue.

@koptan can you point me in the right direction about the following:
verification method can be either a multibase string or a map, but I cannot see where transformation is taking place. The interface which binds these seems to be missing the option to easily extend to something like publicKeyJWK with an EC cipher. Am I missing something?

@borisrizov-zf transformation is happening in TransformedLinkedData, we accept any JsonLD object as parameter.

@koptan Hi, the branch needs rebasing, you're out of sync with main.


Add missing fields to VkRenderPassCreateInfo2KHR struct

Not all compilers clear structs resulting in unpredictable behavior (i.e. crashes), this PR clears 2 missing fields when calling vkCreateRenderPass2KHR when setting up our splash screen.
Should fix #63207

Confirmed fixes #63207 :smile:

Thanks!


Nanoserver-iis Sample doesn't Work

It throws exception: "The Deployment "nanoserver-iis" is invalid: spec.template.metadata.labels"
https://github.com/virtual-kubelet/virtual-kubelet/issues/384

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

ID: acfb234b-c0db-3e6a-7938-cab614d530c0
Version Independent ID: 2adff671-6ccb-d84a-f689-8b0d72b1577c
Content: Run Virtual Kubelet in an Azure Kubernetes Service (AKS) cluster
Content Source: articles/aks/virtual-kubelet.md
Service: container-service
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

Thanks for the feedback! We are currently investigating and will update you shortly.

https://github.com/MicrosoftDocs/azure-docs/pull/17859 has already been signed off to address this.

Thanks @iainfoulds
@robbiezhang as mentioned, this is addressed in #17859
Changes will go live shortly.


log in security for admin panel.

Login security like what we have in tp link routers
If you give 5times wrong password it will stop for 10min

This is a nice feature to have

I thank Zeus that luci does not include 💩 like this, because who would be so smart to expose their router to le Interwebz to necessitate something like this? If you don't want to get brute-forced, don't expose the attack surface.


Lookup transform expression not defined during ingest from kafka

Affected Version
master
Description
When trying to resolve an attribute via a lookup at ingestion time I get the following error:
2019-05-21T21:06:54,247 ERROR [KafkaSupervisor-example] org.apache.druid.indexing.seekablestream.supervisor.SeekableStreamSupervisor - SeekableStreamSupervisor[example] failed to handle notice: {class=org.apache.druid.indexing.seekablestream.supervisor.SeekableStreamSupervisor, exceptionType=class org.apache.druid.java.util.common.RE, exceptionMessage=function 'lookup' is not defined., noticeClass=RunNotice}
org.apache.druid.java.util.common.RE: function 'lookup' is not defined.
        at org.apache.druid.math.expr.ExprListenerImpl.exitFunctionExpr(ExprListenerImpl.java:303) ~[druid-core-0.15.0-incubating-SNAPSHOT.jar:0.15.0-incubating-SNAPSHOT]
        at org.apache.druid.math.expr.antlr.ExprParser$FunctionExprContext.exitRule(ExprParser.java:212) ~[druid-core-0.15.0-incubating-SNAPSHOT.jar:0.15.0-incubating-SNAPSHOT]
        at org.antlr.v4.runtime.tree.ParseTreeWalker.exitRule(ParseTreeWalker.java:71) ~[antlr4-runtime-4.5.1.jar:4.5.1]
        at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:54) ~[antlr4-runtime-4.5.1.jar:4.5.1]
        at org.apache.druid.math.expr.Parser.parse(Parser.java:85) ~[druid-core-0.15.0-incubating-SNAPSHOT.jar:0.15.0-incubating-SNAPSHOT]
        at org.apache.druid.math.expr.Parser.parse(Parser.java:72) ~[druid-core-0.15.0-incubating-SNAPSHOT.jar:0.15.0-incubating-SNAPSHOT]
        at org.apache.druid.segment.transform.ExpressionTransform.getRowFunction(ExpressionTransform.java:68) ~[druid-processing-0.15.0-incubating-SNAPSHOT.jar:0.15.0-incubating-SNAPSHOT]
        at org.apache.druid.segment.transform.Transformer.<init>(Transformer.java:50) ~[druid-processing-0.15.0-incubating-SNAPSHOT.jar:0.15.0-incubating-SNAPSHOT]
        at org.apache.druid.segment.transform.TransformSpec.toTransformer(TransformSpec.java:122) ~[druid-processing-0.15.0-incubating-SNAPSHOT.jar:0.15.0-incubating-SNAPSHOT]
        at org.apache.druid.segment.transform.TransformingStringInputRowParser.<init>(TransformingStringInputRowParser.java:44) ~[druid-processing-0.15.0-incubating-SNAPSHOT.jar:0.15.0-incubating-SNAPSHOT]
        at org.apache.druid.segment.transform.TransformSpec.decorate(TransformSpec.java:108) ~[druid-processing-0.15.0-incubating-SNAPSHOT.jar:0.15.0-incubating-SNAPSHOT]
        at org.apache.druid.segment.indexing.DataSchema.getParser(DataSchema.java:125) ~[druid-server-0.15.0-incubating-SNAPSHOT.jar:0.15.0-incubating-SNAPSHOT]
        at org.apache.druid.indexing.seekablestream.SeekableStreamIndexTask.<init>(SeekableStreamIndexTask.java:102) ~[druid-indexing-service-0.15.0-incubating-SNAPSHOT.jar:0.15.0-incubating-SNAPSHOT]
        at org.apache.druid.indexing.kafka.KafkaIndexTask.<init>(KafkaIndexTask.java:70) ~[?:?]
        at org.apache.druid.indexing.kafka.supervisor.KafkaSupervisor.createIndexTasks(KafkaSupervisor.java:246) ~[?:?]
        at org.apache.druid.indexing.seekablestream.supervisor.SeekableStreamSupervisor.createTasksForGroup(SeekableStreamSupervisor.java:2492) ~[druid-indexing-service-0.15.0-incubating-SNAPSHOT.jar:0.15.0-incubating-SNAPSHOT]
        at org.apache.druid.indexing.seekablestream.supervisor.SeekableStreamSupervisor.createNewTasks(SeekableStreamSupervisor.java:2306) ~[druid-indexing-service-0.15.0-incubating-SNAPSHOT.jar:0.15.0-incubating-SNAPSHOT]
        at org.apache.druid.indexing.seekablestream.supervisor.SeekableStreamSupervisor.runInternal(SeekableStreamSupervisor.java:1012) ~[druid-indexing-service-0.15.0-incubating-SNAPSHOT.jar:0.15.0-incubating-SNAPSHOT]
        at org.apache.druid.indexing.seekablestream.supervisor.SeekableStreamSupervisor$RunNotice.handle(SeekableStreamSupervisor.java:264) ~[druid-indexing-service-0.15.0-incubating-SNAPSHOT.jar:0.15.0-incubating-SNAPSHOT]
        at org.apache.druid.indexing.seekablestream.supervisor.SeekableStreamSupervisor.lambda$tryInit$3(SeekableStreamSupervisor.java:723) ~[druid-indexing-service-0.15.0-incubating-SNAPSHOT.jar:0.15.0-incubating-SNAPSHOT]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_181]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_181]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_181]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_181]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]

Here is the ingestion spec:
{
  "type": "kafka",
  "dataSchema": {
    "dataSource": "example",
    "parser": {
      "type": "string",
      "parseSpec": {
        "format": "json",
        "timestampSpec": {
          "column": "timestamp",
          "format": "posix"
        },
        "flattenSpec": {
          "fields": [
            {
              "type": "path",
              "name": "item_id",
              "expr": "$.parameters.item_id"
            }
          ]
        },
        "dimensionsSpec": {
          "dimensions": [
            "item_id",
            "item_lang"
          ],
          "dimensionExclusions": []
        }
      }
    },
    "metricsSpec": [
      {
        "type": "count",
        "name": "count"
      }
    ],
    "transformSpec": {
      "transforms": [ {
        "type": "expression",
        "name": "item_lang",
        "expression": "lookup(item_id, 'item-lang-lookup')"
      }]
    },
    "granularitySpec": {
      "type": "uniform",
      "segmentGranularity": "DAY",
      "rollup": true
    }
  },
  "tuningConfig": {
    "type": "kafka",
    "maxRowsPerSegment": 2000000
  },
  "ioConfig": {
    "topic": "topic",
    "consumerProperties": {
      "bootstrap.servers": "kafka:9092"
    },
    "taskCount": 1,
    "replicas": 1,
    "taskDuration": "PT1H",
    "useEarliestOffset": true
  }
}

I think this is happening because the overlord doesn't load lookups and doesn't have a lookup module, and so, it doesn't know about the lookup function. Something here should be lazier than it is… the overlord shouldn't need to be instantiating parsers.

Potentially related #5727 and #7082

I raised https://github.com/apache/incubator-druid/pull/7729 which makes the runner and parser initialization lazy, so it won't happen on the overlord. I think this is good even if we end up fixing #5727 some other way, since it's senseless for the overlord to be making these objects.
By the way, I don't think that #7729 would fix #5727 too. That's happening because the overlord can't figure out how to make a LookupReferencesManager. Maybe a nice way to address that would be to extend #7222 to put the LookupSerdeModule on the overlord and MM too.

Maybe a nice way to address that would be to extend #7222 to put the LookupSerdeModule on the overlord and MM too.

Ah, it seems like you already had the same idea @clintropolis: https://github.com/apache/incubator-druid/pull/7082#discussion_r264888771


Replace various  test ophyd-async devices function with ophyd-async helper functions

Dodal developers have produced various useful ways to test ophyd-async devices, and we have implemented some of these functions back into ophyd-async (see function implemented.
This issue to find and replace these Dodal functions with their ophyd-async counterparts.
Acceptance Criteria

[ ] Replacement of superseded function.

@Relm-Arrowny is this still relevant? are there any blockers?

@Relm-Arrowny is this still relevant? are there any blockers?

Most likely not I think these functions are broken pending some kind of fix? https://github.com/bluesky/ophyd-async/issues/618


change images

Codecov Report

Merging #234 (30fcbb4) into master (129d0a4) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #234   +/-   ##
=========================================
  Coverage     73.37%   73.37%
  Complexity      684      684
=========================================
  Files           106      106
  Lines          2047     2047
  Branches        235      235
=========================================
  Hits           1502     1502
  Misses          475      475
  Partials         70       70

Continue to review full report at Codecov.

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


Utilize Quickfix window in Neovim

Motivation
This would allow Typst compiler errors to be easily visible. Currently, LSP integration allows most errors to be seen on their respective lines, but something like the following is not visible. The goal is to have this visible in the Quickfix window.
#import "@preview/physica:0.9.3": *
$ dv(x) $

In this example, dv(x) should be dv(,x). The full compiler error is below. This does not get shown in the buffer, so there is no way to know the document failed to compile and where the error is without manually running typst compile in another terminal.

Description
Integrate with Quickfix in Neovim
Examples/Questions
Below is how this feature looks in Vimtex, for inspiration:

To be clear, is it the problem of tinymist or QuickFix plugin? This question is raised because tinymist should have shown the diagnostic message on some LSP clients (VS Code).

This error is definitely shown in the lsp error, thus could be found if you setup quickfix or trouble properly. You cannot see this error might because this error is not considered to appear in the current file, but in the physica module

In other word, Tinymist cannot tell that this error is in current buffer for now.

@Eric-Song-Nop Could you please share your Neovim setup in the screenshot that allowed you to see the error in the physica module?

I am using the trouble.nvim plugin

Thank you! Fixing my setup did the trick.


Implemented toggle visibility of widgets on click functionality

This pull request implements an interactive widget that expands to show additional information when clicked, with smooth transition effects.

This pull request implements an interactive widget that expands to show additional information when clicked, with smooth transition effects.

The implementation of the interactive widget with smooth transition effects looks great.

To enhance the user experience further, add a functionality where the widget closes automatically if the user interacts with other elements on the website while the widget is open. The current behavior of closing the widget when the user clicks on it again is correct and should remain unchanged.

Added the functionality to close the widget upon user interaction.


utils: port hooks to Python

Please test on Windows

Please test with ngl-desktop/ngl-control on Windows

ngl-control does not work under Windows currently. This two commits have been tested on Windows (MSVC) by using the hooks manually.

Overall I don't really mind (except the loss of the log tracing that bugs me a bit), but since it doesn't directly help the Windows support (which seems to require transforming the executables/scripts into a Python API and not just Python scripts), I'm not so sure about it?

Windows support doesn't require transforming the scripts into a Python API?
My initial attempt to port ngl-control/ngl-desktop involved reusing the bash scripts but changing the path params.
I'm ok with these changes and switching to python scripts, as long as the functionality works.  Its up to you guys

my only suggestion is that it's nice to be able to run the hooks manually, with or without the gui, but that's already supported with this change, and I think we're on the same page?

my only suggestion is that it's nice to be able to run the hooks manually, with or without the gui, but that's already supported with this change, and I think we're on the same page?

Yes, the hooks can still be executed without ngl-control or any GUI.


Final testing before accepting 2.1.0

Looks like we have fixed all the issues that were blocking final django-1.3 compatibility release. We have put the changes into proposals/2.1.0 branch (last changes in commit 0b5f605a46). Please, have a look at this version and report any new errors.
Just to let you know, this has been put into proposals so we are not accepting any new features, only bug fixes related to Django 1.3 compatibility.

Hey, thanks for all the work.
I would have a simple wish for 2.1.0: remove all one-time apps that aren't going to be used:

catlocks
contact_form
db_templates
discussions
ellaexports ??
ellatagging (as discussed in #33)
oldcomments
ratings
sendmail

I am not saying they don't wok (even though in some cases it's true) but they are not up to standard and have generally no place in a generic CMS because their functionality is very limited. For some of those, external apps exist that could replace them, others are boken and others can be made into a fully external module.
Can we do this in time for 2.1.0 ? I will be happy to do the removal myself, just want to make sure evryone is more or less OK with the idea.

@xaralis yep!
@HonzaKral If i remember, this cleanup was planned for 3.x branch. No problem to do it earlier for us, but just except ellatagging app. Or to have new external tagging app that can migrate data from old one.

@whit oh, sorry, didn't remember about the plans. ignore me then and wake me up when it's time for 3.x and I will be happy to do it.

@HonzaKral It's time just now! If you can do this work, create new branch "3.x" or "future/3.x" and hurry to cleanup :)

be careful with encouraging @HonzaKral in deleting stuff. he enjoys that very much ;).

Looks like no complaints whatsoever. Are we ready for release then?


Fatal error when building from source due to missing lib9p.h

When building from source, starting from these commands:
export GO15VENDOREXPERIMENT=1
go get -u github.com/zchee/docker-machine-driver-xhyve

Setup fails here:
Developer/code/Go/src/github.com/zchee/docker-machine-driver-xhyve/vendor/github.com/hooklift/xhyve/pci_virtio_9p.c:49:10: fatal error:
      'lib9p.h' file not found

Same here.

I'm also experiencing this - wondering if anyone can help a noob out?

Sorry late a reply.
Now, does not support go get install.
Please
go get -d -u github.com/zchee/docker-machine-driver-xhyve
cd $GOPATH/src/github.com/zchee/docker-machine-driver-xhyve
make install

It will work!

That works, thanks @zchee!


Simplify to the extreme

This completely guts the existing code base in favor of a thin wrapper around mcgonagall and kubectl, which vastly reduces complexity across everything.
We've removed the server portions since it violates the declarative contract we would prefer to have.
This requires that https://github.com/npm-wharf/mcgonagall/pull/8 and https://github.com/npm-wharf/mcgonagall/pull/9 are merged and the dependency updated here so that we're generating valid specs that kubectl will not complain about.
This is a work in progress!
TODO:

[ ] add logging (some indication that it's doing stuff would be nice, i don't believe it needs to be very verbose)
[x] write tests
[ ] DRY the repeated bits where it makes sense
[x] validate that kubectl exists and can be run
[x] validate that the passed in kubectl context exists
[x] for the run command, validate that the job the user asked to run exists in the spec
[ ] general polish?
[x] add a run command

Coverage increased (+18.6%) to 51.977% when pulling fb46cbb70f7b1c1cc940dae19929a3db027d67fd on simplify into f0d7131ac606350d6431632cf0b99f45abb4ac7b on master.


Client Allocation Request for: Please delete this i will re-submit application

Client Allocation Questions
@choibs95 Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Closing issue as requested by client.


Fix IAM KMS missing permissions

This PR should fix missing IAM permission in Staging org:
	* google_storage_bucket.exported-logs-custom-encryption: googleapi: Error 403: Permission denied on Cloud KMS key. Please ensure that your Cloud Storage service account has been authorized to use this key., forbidden

Changes introduced:

Add roles/cloudkms.cryptoKeyEncrypterDecrypter to projectowner svc account

Downtime:
None expected this is a zero-downtime change.
Testing:
Tested in dev environment.

LGTM!


Autostake derivation paths and config

Set the correct slip44 path with autostake.correctSlip44: true or autostake.slip44: 852
Allow override of autostake batch TX size with autostake.batchTxs: 69. Default is 50.
Handle chain connection failure and skip to the next network
Show a warning in autostake output when using the 'wrong' derivation path
Improve logging a bit more
Improve example docs a bit more

Resolves #78


fix(aruba): add additional programs for aruba

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


Get all system services using si.services("*")

Expected behavior

Using "*" instead of a service name would return all system services

Actual behavior

Using "*" instead of a service name returns [ { name: '*', running: false, pcpu: 0, pmem: 0 } ]

Steps to reproduce the problem
si.services("*",function(data,error){
    console.log(data);
});

Specifications

package version:3.31.2
operating system:Ubuntu 17.04
hardware:

Problem and possible solution
I would like to ask if there is a way to get all system services using "*" instead of a service name like this:
si.services("*",function(data,error){
    console.log(data);
});

Yes, I will think of a modification to get all services. Great Idea!
The problem I see here ist to distinguish between processes running and "true" services (which you probably want to see in the list).
This could be an approach:
ps axfc -o comm  | grep -v '\\'

Can you post the output of that command from your machine and describe in the comments if this is a correct list from your perspective?

COMMAND
kthreadd
systemd
systemd-journal
lvmetad
systemd-udevd
systemd-timesyn
avahi-daemon
dbus-daemon
acpid
ModemManager
thermald
accounts-daemon
rsyslogd
bluetoothd
cron
NetworkManager
systemd-logind
cupsd
cups-browsed
smartd
snapd
irqbalance
polkitd
colord
sshd
systemd-resolve
mysqld
lightdm
timidity
agetty
wpa_supplicant
apache2
whoopsie
nmbd
smbd
master
rtkit-daemon
systemd
gnome-keyring-d
ibus-daemon
ibus-x11
pulseaudio
at-spi2-registr
upowerd
gsd-printer
geoclue
udisksd
fwupd
sublime_text
chromium-browse
terminix
packagekitd
anacron

As i can see, there are also some non services listed (sublime-text, ...). What would be the output of
s axfc -o pid,ppid,comm  | grep -v '\\'

Maybe this would give some additional information.
One more comment: I see, that this is not that easy on OSX ...

   As you already mentioned in your first comment this was supposed to be for linux. The thing is, that I would like to introduce new functionality for all supported platforms (this means also Win and OSX), so I have to make some more investigation for the other two.
And as we can see, with the proposed approach there is no additional hint to distinguish between services and normal processes (like sublime-text, ...). The process list processes() should anyway give you a list of all processes but this is probably not what you thought about, right??

Yeah it's not.I am making an open source app for ubuntu that lists all services  and adds some buttons toenable/disable and restart a service

here one more suggestion:
ps -C "$(xlsclients | cut -d' ' -f3 | paste - -s -d ',')" --ppid 2 --pid 2 --deselect -o tty,uid,pid,ppid,args | grep ^?

just curious if this can lead into the right direction.

This one could also be useful:
service --status-all

Can you post the output?
If this shows, what you want to see, I will implement something using this approach.

@sebhildebrandt I have used the last solution in my app.This shows what I want however I had to maually do some string manipulations to get the status of each service.

Here's the output for service --status-all
 [ + ]  acpid
 [ - ]  alsa-utils
 [ - ]  anacron
 [ + ]  apache-htcacheclean
 [ + ]  apache2
 [ + ]  apparmor
 [ + ]  apport
 [ + ]  avahi-daemon
 [ + ]  bluetooth
 [ - ]  console-setup.sh
 [ + ]  cron
 [ - ]  cryptdisks
 [ - ]  cryptdisks-early
 [ + ]  cups
 [ + ]  cups-browsed
 [ + ]  dbus
 [ + ]  grub-common
 [ - ]  hwclock.sh
 [ + ]  irqbalance
 [ - ]  kerneloops
 [ - ]  keyboard-setup.sh
 [ + ]  kmod
 [ - ]  laptop-mode
 [ + ]  lightdm
 [ - ]  lvm2
 [ + ]  lvm2-lvmetad
 [ + ]  lvm2-lvmpolld
 [ + ]  mysql
 [ + ]  network-manager
 [ + ]  networking
 [ + ]  nmbd
 [ - ]  plymouth
 [ - ]  plymouth-log
 [ + ]  postfix
 [ - ]  pppd-dns
 [ + ]  procps
 [ - ]  prometheus
 [ + ]  resolvconf
 [ - ]  rsync
 [ + ]  rsyslog
 [ + ]  samba
 [ - ]  samba-ad-dc
 [ - ]  saned
 [ + ]  smartmontools
 [ + ]  smbd
 [ + ]  speech-dispatcher
 [ + ]  ssh
 [ + ]  thermald
 [ + ]  timidity
 [ + ]  tlp
 [ + ]  udev
 [ + ]  ufw
 [ + ]  unattended-upgrades
 [ - ]  uuidd
 [ + ]  whoopsie
 [ - ]  x11-common

+1 this enhancement would be fantastic - specially if some reasonable windows equivalent was possible

Hi,
yes for windows this is actually quite easy. I started to work on this ... but as I am a little bit to busy right now, it might take 2 or 3 weeks to complete this.

Just published a version that supports "*" for all services - but actually at the moment linux only. Windows will follow very soon. For macOS I did not found a way to reliably identify services ...

Just added also the windows version for this feature request. Version 3.50.1 just published. Closing it for now.


CANVAS-28 - Clean library resources analytics

@rlorenzo https://gist.github.com/finnzink/6c8e2639be25eef3763a8b0bf2946b92

@finnzink I fixed some bugs in b4ae3400d29a8dfe5ee80e1735e114253e825d4b

Fixed bug in which stats reported for course reserve and research guides were flipped
Fixed bug iwth isStudent() function in CheckRole.js


Fix to not connect when opening connection dialog

Discussed here: https://github.com/microsoft/azuredatastudio/issues/25055#issuecomment-1830834739
Fixes an issue where command line interface always connects connection profile despite user specifying 'openConnectionDialog'.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 41.604%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
30818

Relevant Lines:
69389

💛  - Coveralls


Specify runtime-file for appimagetool

Is it possible somehow to specify the --runtime-file (or any other) parameter for appimagetool invocation? I'm trying to create an AppImage for raspberry from the cross compiled artifacts on an x86_64 machine. pkg2appimage respects the ARCH environment variable but at the end the resulting AppImage is still not in ARM format, only the inside data like the AppRun executable.
According to https://github.com/AppImage/pkg2appimage/blob/04166f66368d545764cddf387cb6fd089f323100/pkg2appimage#L487
the updateinformation argument can be abused to pass the --runtime-file argument as well, but is there a better way?
Maybe this should even be done automatically?

I don't think it is implemented. To create AppImages for ARM using this tool, best run pkg2appimage on ARM (or in QEMU).


Finish rewriting initial documentation & shift to Wild Magic/Wild Mage.

The initial documentation was basically removed due to the changes coming with the new spell staff interface & the modifiers & the imposer, etc.
These all need to be rewritten and a new introduction needs to be written. We should take this opportunity to remove the "Druid" branding in favor of "Wild Mage", as previously established and discussed by the team, in order to reduce any confusion with Druidcraft & to prevent people from saying "oh, XYZ shouldn't be allowed because D&D/WoW/generic druids don't do that".

See #542.


investigate sic codes

@lizgzil has spotted a potential bug with a SIC name:
have you seen that when 'sic_name'= 'ACTIVITIES OF EXTRATERRITORIAL ORGANISATIONS AND BODIES', then sic_id is "na". Don't suppose it matters too much, but worth noting

have a look at the sic name/code/dictionary to ensure that its being correctly mapped.

part of me wonders if there is a small bug and this is why we originally had 80% coverage of SIC codes that went down to 65% after making post-processing changes...

this isn't a bug with the SIC mapper, it's a bug with the way the SIC 2 was calculated in process_ojo_green_measures.py!
When we do:
sic_data = load_sic()
sic_names = dict(
        zip(sic_data["Division"].tolist(), sic_data["Description"].tolist())
    )

it creates a {'na': 'ACTIVITIES OF ....'} key (since the dataset has 'na' as a string not a null).
Then when we do
all_green_measures_df["SIC_2_digit"] = all_green_measures_df["SIC"].apply(
        lambda x: str(x)[0:2] if x else None
    )

it converts the None's into string "nan" and then "nan"[0:2] maps to "na"!!!
Furthermore (and this is a biggie!), when we do:
sic_names = dict(
        zip(sic_data["Division"].tolist(), sic_data["Description"].tolist())
    )

we aren't actually getting the division name we are getting the sub class name!
It's all fixed by
sic_data = load_sic()
    sic_data = sic_data[sic_data["Level headings"]=='Division']
    sic_names = dict(
        zip(sic_data["Division"].tolist(), sic_data["Description"].tolist())
    )

    # Add these new columns
    all_green_measures_df["SIC_2_digit"] = all_green_measures_df["SIC"].apply(
        lambda x: str(x)[0:2] if pd.notnull(x) else None
    )
    all_green_measures_df["SIC_2_digit_name"] = all_green_measures_df[
        "SIC_2_digit"
    ].apply(lambda x: sic_names.get(x) if pd.notnull(x) else None)

What a triple pronged issue!!! Anyway, fixing this will change our industry results quite a bit I think - since all the sic 2 names are actually much more granular than they should be.


Uninstallable file and missing setup.py file in translation training benchmark

When I run the following command: sudo docker run     --runtime=nvidia     -v $(pwd)/translation/raw_data:/raw_data     -v $(pwd)/compliance:/training/compliance     -e "MLPERF_COMPLIANCE_PKG=/training/compliance"     -t -i $IMAGE "./run_and_time.sh" $SEED | tee benchmark-$NOW.log
I get the following issue: Directory '/training/compliance' is not installable. File 'setup.py' not found.
Additionally, after running download_dataset.sh, and verify_dataset.sh I got the following error:
OK: correct tensorflow/newstest2014.en OK: correct tensorflow/newstest2014.de ERROR: incorrect raw_data/ ERROR: expected 8fd41a5c658948dfbc1ec83751d9c7fe  - ERROR: found b21fdd71ac1056a4be466617501bdecf

what's the result of pwd ?

pwd gives me the following
/home/user/training/translation/tensorflow

You might need tf>=1.11.

Thanks, it fixed it!

You might need tf>=1.11.

I met with exactly the same problem, but with tf 1.13.1>1.11. you mentioned above
++++++++++++
source verify_dataset.sh
OK: correct tensorflow/newstest2014.en
OK: correct tensorflow/newstest2014.de
ERROR: incorrect raw_data/
ERROR: expected 8fd41a5c658948dfbc1ec83751d9c7fe  -
ERROR: found b21fdd71ac1056a4be466617501bdecf  -

print(tf.version)
1.13.1
++++++++++++++++++++++++


login to azure through cli as in the tutorial does not work

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az webapp up
Errors:
Please run 'az login' to setup account.

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az webapp up --runtime {} --sku {} --logs

Expected Behavior
Environment Summary
Windows-10-10.0.19044-SP0
Python 3.10.5
Installer: MSI

azure-cli 2.39.0

Additional Context

@MonivaPython az login is a prerequisite that you must run before any commands, to set the context to your subscription and ensure you have access to those resources.
More information here https://docs.microsoft.com/en-us/cli/azure/authenticate-azure-cli

route to CXP team


Add support for annotated bibliography

Originally posted by @HiramTheHero in https://github.com/zepinglee/citeproc-lua/issues/17#issuecomment-2137649875

In my case I need to create an annotated bibliography using APA 7 formatting. It requires me to use the \fullcite command.

As far as I know, it's easier to create an annotated bibliography with the apa-annotated-bibliography.csl style. Yet there are some problems with the current citeproc-lua engine implementation. I'll fix them later.

See the test example annotated-bibliography.lvt.

Thank you for the work on this package.
I forgot about other .csl styles that could address my use case of needing full citations.
According to the APA 7 Publication manual, the APA 7 Annotated Bibliography looks like the following:

This formatting requires a full citation to be done, and then the writer gives a synopsis about the citation. Recreating this requires that a full citation is created every time the \cite command is used. The apa-annotated-bibliography.csl doesn't provide this functionality. Ever time the \cite command is used with this style, it creates an in-text citation like the normal APA styling. The difference between the two is in the formatting of the formal bibliography at the end of the paper. However, the apa-cv.csl does create a full citation when using the general \cite command.
So, for my use case of the APA 7 Annotated Bibliography, using the apa-cv.csl style gets the job done well.
I hope this gives insight and provides some closure on the use case I specified. Please let me know if you have any questions, or if I didn't explain things clearly.

This formatting requires a full citation to be done, and then the writer gives a synopsis about the citation. Recreating this requires that a full citation is created every time the \cite command is used.

My previous understanding was that such annotated bibliography was created from a \printbibliography command which did the formatting jobs like line spacing and hanging indentation. Is it more convenient to use \cite-like commands with an explicit list environment (perhaps description)?

The apa-annotated-bibliography.csl doesn't provide this functionality. Ever time the \cite command is used with this style, it creates an in-text citation like the normal APA styling.

The \nocite command doesn't produce in-text citation but adds the entry into the \printbibliography. I'm not sure if this is suitable in your case.
I'm still a little confused after reading section 9.51. Do you mean the items in the annotated bibliography are not cited in the main text? Then what about the cited references? Does the article have a separated list of cited work along with the annotated bibliography?
The \fullcite command you mentioned is possible to implement. However it's not trivial since we need to add a new mode in the Lua citeproc engine. I'll have a try.

Thank you for your response.

I'm still a little confused after reading section 9.51. Do you mean the items in the annotated bibliography are not cited in the main text?

That is correct. In the case of my assignment, my professors want me to create an annotated bibliography of all the academic sources I researched outside of course work. There is no article I'm creating in conjunction with the annotated bibliography. There is just me putting down the full citation for the resource and then writing a description about the resource. No additional bibliography is appended to the end of the document. So, in the case of my assignment, I don't even use the \printbibliography command.

The \fullcite command you mentioned is possible to implement. However it's not trivial since we need to add a new mode in the Lua citeproc engine. I'll have a try.

In my case, the benefits of a \fullcite command would be that I could have just chose the apa style when loading the citation-style-language package and then could use the \fullcite command instead of having to hunt down the apa-cv.csl style file.
Thank you for your work on this excellent software.

That is correct. In the case of my assignment, my professors want me to create an annotated bibliography of all the academic sources I researched outside of course work. There is no article I'm creating in conjunction with the annotated bibliography. There is just me putting down the full citation for the resource and then writing a description about the resource. No additional bibliography is appended to the end of the document. So, in the case of my assignment, I don't even use the \printbibliography command.

Ah, I see.
I've just added the \fullcite command. Can you test it with the GItHub main branch of the repository? I'll then make a release to CTAN if it works.

Thank you for your hard work.
I tested the update and it is ALMOST there. The new \fullcite command creates a full citation, but it does not format multiple authors names properly. It looks like it is formatting the authors name similar to a \cite command. To my understanding the \fullcite should create the same entry that would be found in the bibligraphy. See the attached screenshot for an example. To my understanding the result of the \fullcite should not create an "et al" in it, but list the authors names like in the bibliography entry. Please let me know if you have further questions, or if I need to clarify. Thank you, again, for your amazing work on this package.

Latex code is below:
\documentclass{article}

\usepackage{citation-style-language}
\cslsetup{style = apa}
\addbibresource{annotated_bib_year_2.json}  % or example.bib or example.yaml

\begin{document}

This is from a cite command: \cite{acheampongExaminingVaccineHesitancy2021}.
\vspace{1cm}

This is from a fullcite command:

\vspace{.5cm}
\fullcite{acheampongExaminingVaccineHesitancy2021}.
\vspace{.5cm}

This is from a printbibliography command:

\printbibliography

\end{document}

CSL JSON entry is below:
{
    "id": "acheampongExaminingVaccineHesitancy2021",
    "abstract": "The impact of COVID-19 vaccination programmes on disease transmission, morbidity and mortality relies heavily on the population’s willingness to accept the vaccine. We explore Ghanaian adult citizens’ vaccine hesitancy attitudes and identify the likelihood of participation or non-participation in the government’s effort to get citizens vaccinated. A fully anonymised cross-sectional online survey of 2345 adult Ghanaians was conducted from 23 to 28 February 2021. Differences in intentions regarding COVID-19 vaccination were explored using Pearson Chi-square tests. Additionally, multinomial logistic regression was used to analyse the factors associated with willingness to receive vaccines. Responses were weighted using the iterative proportional fitting technique to generate a representative sample. About half (51%) of mostly urban adult Ghanaians over 15 years are likely to take the COVID-19 vaccine if made generally available. Almost a fifth (21%) of the respondents were unlikely to take the vaccine, while another 28% were undecided. Additionally, we find differences in vaccine hesitancy among some socio-demographic characteristics such as age, gender, and primary sources of information. Attaining the proverbial 63% to 70% herd immunity threshold in Ghana is only possible if the preventive vaccination programmes are combined with an enhanced and coordinated public education campaign. Such a campaign should focus on promoting the individual and population-level benefits of vaccination and pre-emptive efforts towards addressing misinformation about vaccines.",
    "author": [
      {
        "family": "Acheampong",
        "given": "Theophilus"
      },
      {
        "family": "Akorsikumah",
        "given": "Eli A."
      },
      {
        "family": "Osae-Kwapong",
        "given": "John"
      },
      {
        "family": "Khalid",
        "given": "Musah"
      },
      {
        "family": "Appiah",
        "given": "Alfred"
      },
      {
        "family": "Amuasi",
        "given": "John H."
      }
    ],
    "citation-key": "acheampongExaminingVaccineHesitancy2021",
    "container-title": "Vaccines (Basel)",
    "DOI": "10.3390/vaccines9080814",
    "event-place": "BASEL",
    "ISSN": "2076-393X",
    "issue": "8",
    "issued": {
      "date-parts": [
        [
          "2021"
        ]
      ]
    },
    "language": "English",
    "page": "814",
    "publisher": "Mdpi",
    "publisher-place": "BASEL",
    "title": "Examining Vaccine Hesitancy in Sub-Saharan Africa: A Survey of the Knowledge and Attitudes among Adults to Receive COVID-19 Vaccines in Ghana",
    "type": "article-journal",
    "URL": "https://go.exlibris.link/sSD3QCCZ",
    "volume": "9"
  }

Yes, I can reproduce this bug. It is because the configurations for name abbreviation (et-al-min and et-al-use-first) are incorrectly taken from the <citation> element rather than <bibliography>.
https://github.com/zepinglee/citeproc-lua/blob/31ebc1d22b83ebe2a03ceb2d0901127389f0f24b/submodules/styles/apa.csl#L1805
https://github.com/zepinglee/citeproc-lua/blob/31ebc1d22b83ebe2a03ceb2d0901127389f0f24b/submodules/styles/apa.csl#L1820
This should be fixed in 49799fd.

I just tested the package with your new commit and it is working great. Thank you, again, for your excellent work.

I've released v0.5.0 to CTAN. Please let me know if you have further issues.


add old optimizer initializers back

Per @rxwei's suggestion in https://github.com/tensorflow/swift-apis/pull/28, adds the old initializers back, to maintain backwards-compatibility with a bunch of existing code and notebooks.

As a result, in general, I am biased towards doing whatever is going to make clean APIs for the future, and also make things easier for us to maintain / evolve going forward.

If you meant to propose making the init(for:...) the only API available, I don't think I would agree with that. Taking a dummy instance for type inference is not idiomatic in Swift (no precedents) and taking a metatype where it can take a generic type parameter is even more unswifty. Quite the opposite, I think SGD<Model, Float>() is the cleanest API out there and it's sufficiently Swifty. We added init(for:...) just for ML programmers to ramp up and discover the API quickly.