Add validation events decorators

Description of changes:
Adds a new interface ValidationEventDecorator that libraries can implement and plug into Smithy by making those discoverable using the java builtin ServiceLoader. All of the ValidationEventDecorator instances are loaded and each ValidationEvent is passed to each of the decorators. The decorators can make use of the ValidationEvent#eventId() method to quickly filter out the events that it knows how to decorate form the events it does not care about, and the ValidationEvent#toBuilder() to create a builder that can be used to mutate the instance.
The current use case is to add hints to a know set of events to point the user into the right solution for it (e.g., you need to pull X or Y dependency for this unresolved shape). Since often these solutions might require specific details about the environment in which Smithy is being used, those decorators cannot be part of Smithy itself but now can be implemented by libraries and loaded automatically by Smithy in a similar way in which validators are currently loaded.
For instance, a decorator that suggest the user to use or remove unused structures might look like this
    @Override
    public ValidationEvent decorate(ValidationEvent ev) {
        if (ev.containsId("UnreferencedShape")) {
            if (ev.getMessage().contains("The structure ")) {
                return ev.toBuilder()
                    .hint("Consider using this structure in your service or remove it from the model")
                    .build();
            }
        }
        return ev;
    }

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Approved offline after the last requested change to change loadBuiltinDecorators to loadDecorators.


Marker class should set the default anchor point correctly

Issue Type
[ ] Bug
[ ] Improvement
Description and/or steps/code to reproduce the problem
The class Marker, when using the default icon, does not set the "anchor point" correctly. The default icon is the teardrop icon. The logical point is actually the center bottom of the icon, not the center point of the image. Being set to the center point causes the teardrop to appear to drift when zooming. This is an easy fix, however changing the default setting can cause some issues.
I'm going to change this so that when setIcon is called, it will set the anchor point to the center (just like it is now) or to the correct anchor point if the default icon is used

@MKergall any reservations on this change?


Hash function for inverse-hessian-vector is not working well, when weight is changed.

not a bug
add test for weight differentiation


Appstudio update test-component-pac-jcny

Pipelines as Code configuration proposal

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

StatusDurationName

✅ Succeeded
17 seconds
init

✅ Succeeded
4 minutes
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
50 seconds
inspect-image

✅ Succeeded
2 minutes
deprecated-base-image-check

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
41 seconds
sbom-json-check

✅ Succeeded
32 seconds
optional-label-check

✅ Succeeded
1 minute
label-check

✅ Succeeded
7 seconds
show-summary

✅ Succeeded
14 seconds
show-sbom

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

StatusDurationName

✅ Succeeded
17 seconds
init

✅ Succeeded
4 minutes
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
50 seconds
inspect-image

✅ Succeeded
2 minutes
deprecated-base-image-check

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
41 seconds
sbom-json-check

✅ Succeeded
1 minute
label-check

✅ Succeeded
32 seconds
optional-label-check

✅ Succeeded
14 seconds
show-sbom

✅ Succeeded
7 seconds
show-summary

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

StatusDurationName

✅ Succeeded
17 seconds
init

✅ Succeeded
4 minutes
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
50 seconds
inspect-image

✅ Succeeded
2 minutes
deprecated-base-image-check

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
41 seconds
sbom-json-check

✅ Succeeded
32 seconds
optional-label-check

✅ Succeeded
1 minute
label-check

✅ Succeeded
14 seconds
show-sbom

✅ Succeeded
7 seconds
show-summary

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

StatusDurationName

✅ Succeeded
15 seconds
init

✅ Succeeded
11 seconds
clone-repository

✅ Succeeded
33 seconds
build-container

✅ Succeeded
12 seconds
sbom-json-check

✅ Succeeded
47 seconds
deprecated-base-image-check

✅ Succeeded
11 seconds
clair-scan

✅ Succeeded
50 seconds
clamav-scan

✅ Succeeded
20 seconds
inspect-image

✅ Succeeded
6 seconds
label-check

✅ Succeeded
6 seconds
optional-label-check

✅ Succeeded
7 seconds
show-sbom

✅ Succeeded
6 seconds
show-summary


EA4 blocker isn't working.

After the patch on the 5th, the EA4 blocker is no longer blocking elevate at all. If I check my current EA4 config, I get an output of all the incompatible packages that are currently installed:
[root@10-2-64-21 ~]# /usr/local/bin/ea_current_to_profile --target-os=AlmaLinux_8 | head -20
The following packages are not available on AlmaLinux_8 and have been removed from the profile
    ea-php54
    ea-php54-libc-client
    ea-php54-pear
    ea-php54-php-bcmath
    ea-php54-php-calendar
    ea-php54-php-cli
    ea-php54-php-common
    ea-php54-php-curl
    ea-php54-php-devel
    ea-php54-php-fpm
    ea-php54-php-ftp
    ea-php54-php-gd
    ea-php54-php-iconv
    ea-php54-php-imap
    ea-php54-php-litespeed
    ea-php54-php-mbstring
    ea-php54-php-mysqlnd
    ea-php54-php-pdo
    ea-php54-php-posix

But when I try to run elevate, I do not get any warnings about these packages and elevate is not blocked:
* 06-15:14:49 (2753) [INFO] Checking EasyApache profile compatibility with Almalinux 8.
* 06-15:14:49 (1414) [INFO] Running: /usr/local/bin/ea_current_to_profile --target-os=AlmaLinux_8
* 06-15:14:50 (1435) [INFO] Backed up EA4 profile to /etc/cpanel/ea4/profiles/custom/current_state_at_2022-04-06_15:14:50_modified_for_AlmaLinux_8.json
* 06-15:14:50 (1172) [INFO] ******************************************************************************************
* 06-15:14:50 (1173) [INFO] *
* 06-15:14:50 (1174) [INFO] * /!\ Warning: You are about to convert your cPanel & WHM CentOS 7 to Almalinux 8 server.
* 06-15:14:50 (1175) [INFO] *
* 06-15:14:50 (1176) [INFO] ******************************************************************************************

We need to double check we are using the latest version of ea4 tools
The last version of ea_current_to_profile with the dropped_pkgs is probably not published yet.
We can use development feed
[EA4-developer-feed]
name=EA4 Developer Feed
baseurl=https://build.dev.cpanel.net:444/EA4/CentOS_$cp_centos_major_version
gpgkey=http://build.dev.cpanel.net/RPM-GPG-KEY-OBS.public
gpgcheck=1
enabled=1
cost=40

We need to double check we are using the latest version of ea4 tools The last version of ea_current_to_profile with the dropped_pkgs is probably not published yet.
We can use development feed
[EA4-developer-feed]
name=EA4 Developer Feed
baseurl=https://build.dev.cpanel.net:444/EA4/CentOS_$cp_centos_major_version
gpgkey=http://build.dev.cpanel.net/RPM-GPG-KEY-OBS.public
gpgcheck=1
enabled=1
cost=40

I confirm this was due to the EA4 checker not fully published. Closing this issue.


Add a comment to explain why we have a long wait_until_pods_running function

Add a comment to explain why we have a long wait_until_pods_running function
/cc @coryrc

/lgtm


Wrong Version Published to Atmosphere?

Having a bit of an issue figuring out what's up with the version of this package right now.  Seems like something is out of sync somewhere, assuming that we're working off the master branch and not develop (which had a version bump recently, but not sure why?).
tl;dr: I think the develop branch might have accidentally got version-bumped and pushed to atmosphere.
abernix@host:~/Dev/Project (master)$ meteor update
yogiben:autoform-file               0.2.7* File upload for AutoForm

* New versions of these packages are available! Run 'meteor update' to try to update those packages to their latest versions. If your packages cannot be updated further, try typing
  `meteor add <package>@<newVersion>` to see more information.

So, after an meteor update, it's still there, saying there's an upgrade... Okay, let's see what's up - the git repo master branch just got a bump to 0.2.8, so...
abernix@host:~/Dev/Project (master)$ meteor add<EMAIL_ADDRESS> => Errors while parsing arguments:

While adding package<EMAIL_ADDRESS>error: no such version<EMAIL_ADDRESS>
Hmm... no such version 0.2.8?  Let's look at Atmosphere...

Ok, looks like a weird jump from 0.2.7 to 1.0.1... but I'll try it...
abernix@host:~/Dev/Project (master)$ meteor add<EMAIL_ADDRESS> => Errors while adding packages:

While selecting package versions:
error: Conflict: Constraint<EMAIL_ADDRESS>is not satisfied by aldeed:autoform 5.3.2.
Constraints on package "aldeed:autoform":
*<EMAIL_ADDRESS><- abernix:autoform-semantic-ui 0.4.5
*<EMAIL_ADDRESS><- yogiben:autoform-file 1.0.1

Yea... something seems out of pitch.  Did the develop branch get accidentally bumped and published to atmosphere? :eyes:

That seems to be an accident definitely :)


Share with same CSS as Theme

Would be nice if when shared the same styling is applied to the published site as in my editor. I can make a PR when I have some time

Hi! There are no plans for applying your Obsidian theme's or snippets' styling, and it's not something I'm interested in being part of JSP at the moment, sorry :(
It's a core part of JSP's design to upload the text and images only, and no other data or content. That's why I made the decision to have notes uploaded as Markdown rather than HTML or some other "exported" format.


cabot instances continuously restarting

ps aux | grep cabot
one runs as root, the other runs as ubuntu
the pids change every so often
both appear to have the same export settings
Here is an example from the log, /var/log/cabot/web-1.log

2015-03-30 20:14:31 [14626] [INFO] Starting gunicorn 18.0
2015-03-30 20:14:31 [14626] [ERROR] Connection in use: ('<IP_ADDRESS>', 5000)
2015-03-30 20:14:31 [14626] [ERROR] Retrying in 1 second.
2015-03-30 20:14:32 [14626] [ERROR] Connection in use: ('<IP_ADDRESS>', 5000)
2015-03-30 20:14:32 [14626] [ERROR] Retrying in 1 second.
2015-03-30 20:14:33 [14626] [ERROR] Connection in use: ('<IP_ADDRESS>', 5000)
2015-03-30 20:14:33 [14626] [ERROR] Retrying in 1 second.
2015-03-30 20:14:34 [14626] [ERROR] Connection in use: ('<IP_ADDRESS>', 5000)
2015-03-30 20:14:34 [14626] [ERROR] Retrying in 1 second.
2015-03-30 20:14:35 [14626] [ERROR] Connection in use: ('<IP_ADDRESS>', 5000)
2015-03-30 20:14:35 [14626] [ERROR] Retrying in 1 second.
2015-03-30 20:14:36 [14626] [ERROR] Can't connect to ('<IP_ADDRESS>', 5000)
2015-03-30 20:14:36 [14642] [INFO] Starting gunicorn 18.0
2015-03-30 20:14:36 [14642] [ERROR] Connection in use: ('<IP_ADDRESS>', 5000)
2015-03-30 20:14:36 [14642] [ERROR] Retrying in 1 second.
2015-03-30 20:14:37 [14642] [ERROR] Connection in use: ('<IP_ADDRESS>', 5000)
2015-03-30 20:14:37 [14642] [ERROR] Retrying in 1 second.
2015-03-30 20:14:38 [14642] [ERROR] Connection in use: ('<IP_ADDRESS>', 5000)
2015-03-30 20:14:38 [14642] [ERROR] Retrying in 1 second.
2015-03-30 20:14:39 [14642] [ERROR] Connection in use: ('<IP_ADDRESS>', 5000)
2015-03-30 20:14:39 [14642] [ERROR] Retrying in 1 second.
2015-03-30 20:14:40 [14642] [ERROR] Connection in use: ('<IP_ADDRESS>', 5000)
2015-03-30 20:14:40 [14642] [ERROR] Retrying in 1 second.
2015-03-30 20:14:41 [14642] [ERROR] Can't connect to ('<IP_ADDRESS>', 5000)

They are both trying to bind to the same port (5000) - you should change in production.env and redeploy. You will need to make sure that your nginx or whatever is pointing at the correct one though.

Thanks.
Any idea how I ended up with 2 instances?

No idea, sorry!


[FLOC-3982] Upgrade pbr to 0.11.1.

https://clusterhq.atlassian.net/browse/FLOC-3982

Merge when green.


surface: remove wlr_surface.texture

The texture is managed by the surface's wlr_buffer now. In
particular, the buffer can destroy the texture early if it becomes
invalid.
cc @ongy @Timidger @ammen99: this is a breaking change.

the buffer can destroy the texture early if it becomes invalid

Can you elaborate on this? I had seen that it's available over two paths now, and thought it's just for backwards compat naming.
Is there a semantic difference between the wlr_buffer::texture and the previous wlr_surface::texture?

ah, sorry just read the code comments in this PR, this makes it clear

This has been merged into #1062.


Added constant mappings

@jayoshih Just to be sure, there are no "outward" API changes as a result of this, right?
I.e. we don't need to notify Kolibri team about changes about how they use le-utils?


row limits

seems as if the drop down list box has a hard row limit.  would save a lot of time if you would post the limit in the documentation

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

ID: 57642536-b4f2-4a73-4fbf-a6e084aaf4bd
Version Independent ID: 946306ff-1045-052e-6ec0-5df3cef4a236
Content: Drop down control: reference - PowerApps
Content Source: powerapps-docs/maker/canvas-apps/controls/control-drop-down.md
Service: powerapps
GitHub Login: @fikaradz
Microsoft Alias: fikaradz

There are no hard limits on the control.  However if the data source does not support delegation, there is an app-level limit.  Default is 500 rows, but it can be increased by going to File, Advanced setting, Data row limit, when editing the app.  Max value is 2000.

I take that back.  There is a hard limit of 500 records for Dropdown and Listbox controls.  This is for performance issues, but also those controls are not really usable with that many items.  If you have a large number of items, we recommend using Combo box control, which supports searching.   Good point about publishing this limit, I'll update the docs.


How to use wptreport?

This repo's README says:

To add new tests results:
[...]
3. Generate the report using wptreport https://www.npmjs.org/package/wptreport

But wptreport's npm page doesn't include any documentation or links to other websites (e.g. GitHub repo, website homepage) with documentation on how to use it.

Superseded by https://github.com/darobin/wptreport/issues/8


@import url(http://fonts.googleapis.com/css?family=Open+Sans);

@import url(http://fonts.googleapis.com/css?family=Open+Sans);
Will not compile because lessc cannot find it, that makes sense. What is non-inuitive is that you cannot escape the value, or do anything to prevent it trying to find it except add '.css' to the end of the url, and since it isn't really a .css but rather a part of a request that is not a valid option.
It would be awesome to be able to do something like:
@import !url(http://fonts.googleapis.com/css?family=Open+Sans);
or similar to tell lessc to ignore the url, not try and resolve it, just echo it.
Is this a valid point or am I missing a simpler solution? :P
Thanks!

There's a related error: @import url(http://fonts.googleapis.com/css?family=Josefin+Sans|Merriweather); doesn't work because URL parsing stops at the |. Escaping it as %7c tries to load the file locally.
In lessc 1.1.3 (from npm<EMAIL_ADDRESS>not sure about the version mismatch?)


Use ResponseError on FailedLockToken type

The FailedLockToken type exposes ErrorCode/ErrorDescription properties. We should use ResponseError here instead to provide a consistent experience across the SDK.

This is being done in the tsp https://github.com/Azure/azure-rest-api-specs/pull/25421


About the Spring blog engine

Spring is a blog engine written by GitHub Issues, or is a simple, static web site generator. No more server and database, you can setup it in free hosting with GitHub Pages as a repository, then post the blogs in the repository Issues.
You can add some labels in your repository Issues as the blog category, and create Issues for writing blog content through Markdown.
Spring has responsive templates, looking good on mobile, tablet, and desktop.Gracefully degrading in older browsers. Compatible with Internet Explorer 10+ and all modern browsers.
Get up and running in seconds.

踩，记得回访


Link "Dispatch an Event Grid Event" under heading Next Step links to this document.

As @kitingChris said a couple of weeks back, the link under the heading Next Step, "Dispatch an Event Grid Event", doesn't link to another page where dispatching events is described. It instead links to itself, where recieving events is described. My guess is it should point to https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-event-grid-output?tabs=csharp, but that needs to be verified by the author.

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

ID: f79bffab-0af8-75fc-f800-73eb979611ad
Version Independent ID: ca382131-4030-d1ba-44d4-35309bb91f94
Content: Azure Event Grid trigger for Azure Functions
Content Source: articles/azure-functions/functions-bindings-event-grid-trigger.md
Service: azure-functions
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

Hi @qfyra Thanks for your feedback. We will review and update as appropriate.

@qfyra PR has been created for this which will address this. Thanks so much for providing the feedback that help us in improving the documentation. For now I will proceed with closure of this and If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Integration spec and fix n+1

In this PR, I did -

N+1 problem is solved when fetching all posts and their comments for a user.

screenshots of your app's logs before and after the fix**

before --

After --

Integration specs

Use Capybara to write integration tests for each view in your project.

Think on the flow of things and group the tests of page in a way that makes sense. For example, one test would check for the things in the page and another test for clicking links on it.

User index page:

I can see the username of all other users.
I can see the profile picture for each user.
I can see the number of posts each user has written.
When I click on a user, I am redirected to that user's show page.

user show page:

I can see the user's profile picture.
I can see the user's username.
I can see the number of posts the user has written.
I can see the user's bio.
I can see the user's first 3 posts.
I can see a button that lets me view all of a user's posts.
When I click a user's post, it redirects me to that post's show page.
When I click to see all posts, it redirects me to the user's post's index page.

User post index page:

I can see the user's profile picture.
I can see the user's username.
I can see the number of posts the user has written.
I can see a post's title.
I can see some of the post's body.
I can see the first comments on a post.
I can see how many comments a post has.
I can see how many likes a post has.
I can see a section for pagination if there are more posts than fit on the view.
When I click on a post, it redirects me to that post's show page.

Post show page:

I can see the post's title.
I can see who wrote the post.
I can see how many comments it has.
I can see how many likes it has.
I can see the post body.
I can see the username of each commentor.
I can see the comment each commentor left.

Thanks, @tugsem for requesting the changes, I will make the changes to the code 🙋🏿♂.


swift: add Codable implementation for sum-of-product types

Support sum-of-product types in Swift by generating Codable implementations.
There are a couple of dimensions here, so I attempted to cover them all in tests:

encoding style: TaggedObjectStyle, TaggedFlatObjectStyle
case constructor: no fields, single unnamed field (linked record type), multiple named fields (only seen in TaggedFlatObjectStyle with record constructors)

In order to support "unknown" cases instead of throwing an error, the decoding logic needs to know the "unknown" field name at codegen time, so we are strongly nudged into making "unknown enum cases" a supported feature. This is done by adding enumUnknownCase :: Maybe String to Options and a corresponding enumEnumUnknownCase to MoatEnum. Only sum-of-product decoding takes this into account when decoding; the unknown case is generated for all enums as it doesn't hurt anything, but clients will have to implement their own Codable extensions to fall back to the unknown case for bare ("C-style") enums. We could implement that if desired, but I left that for a future improvement.

Swift models diff here: https://github.com/MercuryTechnologies/mercury-web-backend/pull/25210/files#diff-fc7abc0a0d261322ca6274b8c1aa926e0d46c23a93a67ba5946cd5c9b8df94e8

LGTM from the Haskell end. My swift knowledge is limited but based on our internal implementation this all seems reasonable to me!


Code review of hulse-py v0.0.0

General
-Use of dot env seems to be good, but environment variables can get scary and nasty.
What are all the uses of environment variables that we are using? Just want to stay on top of these now.
Review by file
cli.py
LGTM!
client.py
Add function return signature to query
Is there a reason why post_query is in util and client? Seems kind of like duplicate.
Maybe move post_query to client?? It makes sense that handling the stream_data would be a util,
but maybe not post_query? IDK open to discussion.
errors.py
Look good- Are these handled anywhere??? Didn't see it but its good to plan for the future!
settings.py
Is settings.py for internal settings or external settings? Is this editable by users?
What is the goal of the supported tasks as a setting? Do we want users to be able to add supported tasks?
Why is get_auth_headers in settings??
Maybe put it in client since thats where the API key is stored?
Or put it in utils?
utils.py
process_stream_data
Suggest minor change to improve readibility and remove variable re-use
Including a sample Response may help with readability :)
handle_consumer_stream
LGTM!
handle_producer_stream
Suggest clarity change to docstring
Just to be sure, we know there will be task and data keys because we know what the Response looks like
But maybe add a little check just in case anything changes in future? Could add check to process_stream_data?
What is a qid? Queue id?
post_query
LGTM!
get_clusters
LGTM!
run_host
Does the requests.get spin here because of the Stream= true ? Is it a loop?
What causes it continue running handle_producer_stream?
I tried to look into this online but didn't see very much documentation at all.
I get what the goal is here, just confused how exactly it's happening.
Compliments
Dude, this code is really good. Modular, easy to change!
Really happy with the code in general, you've done a good job making it easy to read and understand!
Using click for cli is great!

Comments
Thanks for the quick PR! Here are some answers to your points:

Agree with you on the post_query, makes the query method in the client kind of a useless placeholder.
For errors, yes if you look in the utils.py file you'll find that there are some errors used, and in client, UnsupportedTaskError is accounted for (in case someone tries to do something not yet supported).
The settings.py file is intended for module-wide variables, things like storing a configuration or loading env vars.
The referenced tasks are NLP tasks from Hugging Face. Other tasks are available there (like computer vision tasks), but these would require supporting more input data types, which require server setups, so no not really modifiable by users, more just here to explicitly constrain users to the supported tasks. Also, I put this in settings but if you think I'd better serve as something in a config file then loaded there feel free to suggest modifs.
I agree that get_auth_headers should be in utils (it's used in multiple spots), it wraps the API key into a dict with the proper format to be employed in an HTTP request headers.
process_stream_data: yes good suggestion! the streaming request basically sends chunks of data from the server to the requesting client, having an example would make things clearer, logging this as an issue.
Task and data are required, for now, adding a check would make sense. qid stands for query id.
On utils.run_host I think requests.get yields an iterator that blocks iteration until new data becomes available at the underlying socket connection (see here and here for more info).


Added caching of go modules

Signed-off-by: Juraci Paixão Kröhling<EMAIL_ADDRESS>

I think there's some caching happening at some level already. This is the current master, without this PR.  I'm therefore closing this, but will open a new one with the fixes to the "publishing images" workflow.


Crash when launching

https://pastebin.com/4WJ1hFyU

Are you sure it only happens if this mod is in, because the error shows names of like 6 mods (which I think is the most I've ever seen in a single error, that must be a record), none of which is SoulGuard. I think the best starting point would probably be to report to the author of diagonalblocks

only if this mod is in, our pack runs fine without it.

Hmm, which launcher are you using?

Just to be clear, I don't think it's the launcher's fault, but I'm wondering if the error that's actually crashing the game is even in the log. As some launchers like Modrinth's have the crashes in a separate file for some reason

It's on modrinth yeah, it didnt generate a crash report so i had to grab the logs instead

Can you include the crash that's located in the "crash report" folder instead of the "logs" folder?

it didnt make a crash report

Hmm, can you provide the modpack you're using so I can debug tomorrow night?

Cobblemon Fabric * Fortune
This one includes craft tweaker, which seems to cause a crash with soulguard, but even after removal it still wont launch


Heroku app sleeping

Hi,
I used the "lazy" method of deploying to Heroku and the app appears as "sleeping" on my Personal Heroku app list. I've put the token and I configured a BOT on Slack but the bot appears to be offline and I don't really know how to start it. Any tips?
Thanks!

You should be able to hit the endpoint, e.g. http://calm-monkey-255.herokuapp.com to wake it back up after about 20 seconds. That's our approach, as they eliminated the tier where you could leave a single dyno running in perpetuity. If you attempt one the approaches below, you'll get a daily email letting you know that the app is forced "sleeping" unless you're up for the $7 or so a month charge.
Related: https://quickleft.com/blog/6-easy-ways-to-prevent-your-heroku-node-app-from-sleeping/

That worked perfectly, thanks, great tip!

The one downside I've seen is that if you play for over an hour, the app can go to sleep in the middle of a game and the bot will disconnect.
I'm currently testing a fork where I'm doing an http.get for the heroku app every 10 minutes inside main.js (from the first method listed in the article linked by @stephenyeargin), but it only starts the interval when a game starts and clears the interval when the game ends.
I think this should work nicely since free heroku apps are allowed to be awake for 18 hours in any 24 hour rolling window which shouldn't be an issue unless you are playing a lot of Slack poker :smile:

That doesn't seem right. Heroku shouldn't sleep if there is an active socket.

I'm probably wrong. I only remember the bot disconnecting during a game, so it could've been for other reasons. That was my first guess, but I never investigated further to confirm.


QPS is not displaying

QPS is all the time showing
"Waiting for timeseries data" - is it an issue? Or there is something wrong with how I set up the docker?

It's usual for the display to look like this if you haven't run any traffic through the instances, or temporarily for new instances.
If it continues to look like this, it usually means that fluxweb can't contact Prometheus. Either Prometheus isn't running, or isn't running where you told fluxweb.
Things to check:

can you see a running Prometheus?
did you supply -e PROMETHEUS_ADDRESS to the fluxweb container?
can you visit $PROMETHEUS_ADDRESS in a browser yourself? (i.e., is it a proper address)
does $PROMETHEUS_ADDRESS/status indicate that Prometheus is polling fluxd on your hosts?

Yes, Prometheus is running docker:
d04da58e887e        weaveworks/flux-prometheus-etcd   "/bin/prometheus-wrap"   About an hour ago    Up About an hour    <IP_ADDRESS>:32770->9090/tcp                                prometheus9
I checked that echo $PROMETHEUS_ADDRESS gives me proper address and it is available in browser.
$PROMETHEUS_ADDRESS/status gives me output:

OK so it looks like it's all connected up fine. Are you running traffic through the service? A caveat is that traffic going through the edge balancer to the instances won't get reported (since we don't "see" it in fluxd). It's a limitation we're still figuring out how best to overcome.

so as far as I could understand it won't work righ now? :( still! thanks for insanely great work. :+1:

so as far as I could understand it won't work righ now

Not for seeing traffic coming through the edge balancer -- sorry! Working on it ...


how to open the PDFs?

i assume that in the current solution i won't be able to open the PDFs with the built-in reader. just want to verify my assumption.
If that's correct, is it possible to change that so I can use the built-in PDF reader that comes with rm?

No, actually, I designed this to be able to work with Xochitl, which is the built-in reader for remarkable. It uses a flattened filesystem that relies on .content and .metadata files to create the hierarchy, and I created functions that make those files in the functions file.
Did you try it and is it not working for you?

I have not tried it. Do i need a subscription for NY Times? i don't. my usecase is viewing articles on the rm but I don't mind testing it on the NY Times just to help you out.
Currently I download the website as PDF, connect the rm with USB, and than I use this bash script:
curl --form file="@$1" http://<IP_ADDRESS>/upload

For what I currently have set up you'd need an NYT subscription since I only really have a crossword script set up, but the next thing on my todo list is to make it more generic so it can automatically pull pretty much any url that can resolve to a pdf. I'll probably get to that in the next couple of days, so if you have a particular website you'd like me to use for my testing I'd be happy to do that to make sure it works for you.

That's fantastic and will make this tool very useful. I don't have a specific website. Btw, it will be awesome to figure out how to print a reddit and hackernews discussion into a PDF format but that's probably a different challenge.

btw, in my current work flow I first get rid of any ads and sidebars, and increase the font size using Firefox Reader View or by deleting DOM elements manually and than I print as PDF.

I've made the tool able to pull from any url that resolves to a pdf file, which I think it really all this issue is addressing. If I am mistaken please feel free to open a new issue with a specific problem or requested enhancement, but I'm closing this one for now.


add google colab support

Hi,
Thank you for providing this binary version. It works very well.
In my case, I often use google colab to run some projects that depend on gpu.
I wrote simple support for colab according to version 20200606.
if you needed,  I will create a pull request.

Hi
You made it work with google colab? can you share how? thanks

Hi
You made it work with google colab? can you share how? thanks

You can try this,But it was made four months ago,I'm not sure if it still applies


New uplink item - Secret Storage Crate.

About the PR
This PR adds a stealth box-like crate to the uplink in the Utilities category.
Why / Balance
This innovation in the game will perfectly allow traitors to conveniently hide their things in an invisible crate (or hide in case of danger) for 2 TK. However, it will not replace the stealth box;
UPDATE: The syndicate's symbols attract too many eyes, and the crate does not allow entities to pass through
Technical details
PR takes the syndicate crate as a base and adds two stealth-related components to it.
Media
https://github.com/space-wizards/space-station-14/assets/152051971/1fcc6eca-6b27-4410-80ab-be648272e830

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

P.S
I am sorry for my English
Changelog

tweak: Price change (from 4 to 2 TC)

I don't see the point. You can just as easily use a stealth box, but it's 1 TC more expensive, and the box lets entities through while the secret crate doesn't.
I don't find your arguments convincing.

make it foldable :trollface:

I don't see the point. You can just as easily use a stealth box, but it's 1 TC more expensive, and the box lets entities through while the secret crate doesn't. I don't find your arguments convincing.

In such cases, I can do it cheaper, for example the same 2 TC. Because crates have many disadvantages: syndicate symbolism, etc.  Well, this is my first PR, there are also some mistakes.

storage implant is 1 more tc and has no non meta counters

ok I'll change the price now

I don't see the point. You can just as easily use a stealth box, but it's 1 TC more expensive, and the box lets entities through while the secret crate doesn't.

There is still a risk. A person can simply stumble upon an invisible space that does not allow him to pass, and he can calmly open it, call security or scientists.

you spend your TK if you want to hide something with a slightly increased chance that it won’t be found, and for only a small price.

change id to something nore obvious, like CrateSyndicateStealth
also since this, i dont think it needs new name and desc, so just add suffix: Stealth

ok

hmm, I forgot about the thief, I’d better close PR


Propose GNU-style command line option keywords for ScalaTest

Hi Peter,
We have been using Unix style command line options for using ScalaTest both via Runner and sbt, and we are about out of letters. Also there are so many options that they are quite hard to remember. There is a nice description of these two kinds of command line option schemes here:
http://homepage.cs.uri.edu/~thenry/resources/unix_art/ch10s05.html
Please look through the existing features of ScalaTest and propose --keyword variants of them. What I'd like to do is continue to support the Unix style options forever, but to augment those with GNU style.  The description of these commands is on the Runner Scaladoc:
http://doc.scalatest.org/3.0.0/index.html#org.scalatest.tools.Runner$
This is repeated in the User Guide here (though this may be missing a few command line args, which is one thing Samantha should update):
http://www.scalatest.org/user_guide/using_the_runner
The sbt instructions are in the user guide here by the way:
http://www.scalatest.org/user_guide/using_scalatest_with_sbt
Instructions for Maven and Ant may also give you some inspiration for naming of the GNU style keywords:
http://www.scalatest.org/user_guide/running_your_tests
For example, -s is how you specify a suite in ScalaTest:
-s the.path.to.my.test.Class
So the GNU variant for this might be --suite, as in:
--suite the.path.to.my.test.Class
Some of these commands take options that people place right next to the single letter, like -oW means standard output reporter without color. (The -o means standard output reporter, and the W next to it configures that standard output reporter to not include the ANSI color commands.) I'm not sure how such options of options would translate to GNU style, but I'm sure there's a standard or expected way that's done.
Thanks.
Bill

Word Document was delivered via Slack a bit ago after our edit volleys, so I'm reassigning to bvenners as you'll be shepherding fanout to other reviewers in Artima.


Pre-pop From and TO fields in flights widget

I've been told this use to work.
The FROM and TO fields of the flights widget needs to be pre-populated
From is based on IP sniffing - airport nearby
TO is the destination of the page you are on
The widget is at..
http://www.lonelyplanet.com/france/transport/getting-around/flights

@lemmiestone It seems skyscanner finally fixed that (see. latest Neal Gilliland email). I tested for Floris ip and it works. Can be closed.


arm64, armv7, armv7s architecture targets

Dependencies:

j2objcTest dependsOn test (java plugin task)
j2objcAssemble no longer dependsOn j2objcTest
j2objcXcode dependsOn j2objcAssemble

Other:

podspec debug library support
j2objcHackToForceCompilation to better indicate purpose
inline getInputStaticLibraryPath() as it's only used one place
update list of main j2objc tasks

@advayDev1 @confile - please take a look

@brunobowden LGTM pending 1 minor comment

btw @confile to provide some context, @brunobowden and i discussed in person refactoring our dependencies to look more like java plugin.  namely if you ask for a j2objcAssemble (like java assemble) it will just create and copy the final binaries.  if you ask for a j2objcTest (like java test) it will just create and test the test binaries.  if you ask for a build, everything will occur.  no longer does every assembly require a test - so 'skipTest' becomes obsolete.

speaking of which, @brunobowden , perhaps you want to remove testSkip flag ?

removed comment
removed testSkip
other refactoring mentioned in comments and tested out


Fix Build status link to show GH Actions info

Fixes https://github.com/OCA/oca-addons-repo-template/issues/104
@Tecnativa

@joao-p-marques I assume these branches give the status for the default branch ? Wondering if there is a way to give the status for a specific branch.

@joao-p-marques I assume these branches give the status for the default branch ? Wondering if there is a way to give the status for a specific branch.

I just added it. Thanks for the suggestion! :+1:

Manually added in one repo in https://github.com/OCA/l10n-spain/commit/e2600bf28febf44537e764fab34cb043d199e00b to check the result

@sbidoul I think this is ready to merge if CI passes

I think we should massively update all 15.0 branches with this.

LGTM although I'm not sure my the badge says No status in this example.

Mmm that's weird, indeed. I guess it could be because of the test name changes not being merged yet. If you check this link:
https://github.com/acsone/mis-builder/actions/workflows/test.yml/badge.svg?branch=14.0-test-gha-names-sbi

from the branch you are changing the test names, it already returns the correct status...
I think it would be fixed once the PR gets merged...

Please resolve conflicts

Please resolve conflicts

Done. After all the approvals, I am going to enable auto-merge on this...


Create production and dev token files in code

[ ] Production tokens will resolve primitives token values
[ ] Dev tokens will keep references to primitives
[ ] Add prod and dev suffixes to file names

Initial issue in old repo: https://github.com/equinor/design-system-tokens/issues/237

We created a solution where we output a version of the variables trimmed and verbose. The trimmed version outputs the raw values of the tokens without any references. This saves 20 kb compared to the verbose variables that include the referenced tokens. By default, importing the variables will use the trimmed version.


no click event triggered on textblocks inside a stackpanel inside a scrollviewer.

i like to add a menu with GUI.TextBlock() entries in a GUI.StackPanel() as child of a GUI.ScrollViewer(). but it makes no sense, because the menu entries aren't clickable. an added onPointerClickObserverable event listener will not get fired. neiter on TextBlock or StackPanel or ScrollViewer().
Bugs

Bug repro on playground:

https://playground.babylonjs.com/#W622AS

Expected result:
a fired onPointerClickObservable event

Current result:
no event

ty.

Hey please use the forum before posting bugs reports :)

sorry, no time for that.

cool. Here is your "fix": https://playground.babylonjs.com/#W622AS#1


Manifold Editor

The Manifold Editor is our game engine environment / asset editor built around the glTF standard. Both the interchange and authoring format will utilize glTF and should be capable of producing content for Third Room as well as exporting glTF content for use elsewhere.
The todo list below represents the tasks needed for a feature-complete 1.0 release. We plan on tackling this list in chunks, focusing on iteratively improving our demo environments.

[ ] Scene Hierarchy Panel

[ ] UI

[x] Hierarchy Panel
[x] Tree View
[ ] Context Menu

[ ] Rename Entity
[ ] Delete Selection
[ ] Duplicate selection
[ ] Copy Selection
[ ] Paste Selection
[ ] Group selection

[ ] Create Entity Button / Dropdown / Combobox

[ ] Pick from list of prefabs

[ ] State (Game Thread -> Main Thread)

[x] Scene hierarchy
[x] Selected / active entities
[x] Entity names
[ ] Prefabs

[ ] Commands (Main Thread -> Game Thread)

[x] Set Selection
[x] Add Selection
[x] Toggle Selection
[ ] Focus Entity
[ ] Rename Entity
[ ] Reparent Entities
[ ] Remove Entities
[ ] Add Entity
[ ] Duplicate entities

[ ] Misc

[ ] Figure out cross-thread Tree View canDrop implementation

[ ] Properties Panel

[ ] UI

[ ] Properties Panel
[ ] Input Field / Row
[ ] Input Section / Group / Component
[ ] String Input (string)
[ ] Checkbox Input (boolean)
[ ] Select Input (enum)
[ ] Number Input (number)
[ ] Vector2 Input (vec2
[ ] Vector3 Input (vec3)
[ ] Euler Input (euler/quat)
[ ] Slider Input (number)
[ ] Color Picker Input (color)
[ ] File Input w/ DnD support (file)
[ ] Property Panel Button (command)
[ ] Add Component Button / Dropdown / Combobox
[ ] Remove Component

[ ] State (Game Thread -> Main Thread)

[ ] Selected / active entities
[ ] Active entity components and initial values
[ ] Component schemas

[ ] Commands (Main Thread -> Game Thread)

[ ] Add Component
[ ] Remove Component
[ ] Set component property
[ ] Set Transform properties (relative to active entity)

[ ] Components

[ ] Transform
[ ] Renderable? (More likely components for each renderable type which update renderable when edited)

[ ] Lights
[ ] Cameras
[ ] Meshes

[ ] Rigid Body
[ ] Audio Emitter
[ ] Spawn Point

[ ] Assets Panel

[ ] UI
[ ] Prefabs

[ ] Entity
[ ] Cameras

[ ] Perspective Camera
[ ] Orthographic Camera

[ ] Lights

[ ] Directional Light
[ ] Point Light
[ ] Spot Light

[ ] Audio

[ ] Audio Emitter

[ ] Meshes

[ ] Box
[ ] Cylinder
[ ] Cone
[ ] Capsule
[ ] Plane
[ ] Circle
[ ] Dodecahedron
[ ] Icosahedron
[ ] Octahedron
[ ] Ring
[ ] Sphere
[ ] Tetrahedron
[ ] Torus
[ ] TorusKnot

[ ] Misc

[ ] Spawn Point

[ ] Assets

[ ] Add to room state on upload?
[ ] gltf
[ ] images
[ ] audio

[ ] Viewport

[ ] Fly controls
[ ] Mouse selection
[ ] Transform controls
[ ] Grab controls
[ ] Helpers
[ ] Command Keybindings

[ ] Copy / Paste
[ ] Delete
[ ] Grab
[ ] Translate, rotate, scale
[ ] Transform space
[ ] Transform origin
[ ] Duplicate selection
[ ] Focus selection
[ ] Add/remove from selection

[ ] Toolbar

[ ] Transform controls mode
[ ] Transform space
[ ] Transform origin
[ ] Snap settings
[ ] Grid settings
[ ] Save
[ ] Publish
[ ] Export

[ ] Scene Editor (Compose a scene using referenced glTFs, save root gltf with references to assets)

[ ] Set opened glTF as scene
[ ] Render glTF hierarchy but disable transform / reparenting of referenced glTFs

[ ] Use glTF MX_ref/id extension for adding components to nodes

[ ] Save root gltf
[ ] Export entire scene as glb

[ ] Asset Editor (Edit glTFs and export modified glTF)

[ ] Set opened glTF as active scene
[ ] Render entire glTF hierarchy
[ ] Allow for glTF modifications

[ ] Use glTF MX_ref/id extension for adding components to nodes
[ ] Use glTF MX_ref/id extension to reference individual nodes when reparenting / deleting etc.

[ ] Save root gltf with modifications / references
[ ] Export entire scene as glb

[ ] Serialization

[ ] ECS -> glTF
[ ] Reference external glTF files

[ ] Deserialization

[ ] glTF -> ECS
[ ] Load referenced glTF files

[ ] Import

[ ] Load gltf
[ ] Generate thumbnail
[ ] Save to room state

[ ] Export

[ ] Export entire scene as single glb

Hierarchy Panel and Properties Panel Design:
Editor state is shared from GameWorker to MainThread in two SABs

First is the same TripleBuffer as the render thread (hopefully at least, need to figure out sync mechanics since we swap buffers there, may need to be another triple buffer with just hierarchy data)

This would contain: parent, firstChild, prevSibling, nextSibling and a new hierarchyChanged flag used in the UI to perform efficient updates to the tree view component

Second is the active entity buffer

This SAB is included in the selection changed postMessage any time the active entity changes
That post message already contains the selected entity ids and their initial values. We'd remove the initial values though and replace with this SAB
This SAB would contain:

The values for every editor exposed component on the active entity
Including a flag for any property that changed which forces the component to rerender. This flag is set by checking each property against the prev SAB value and the current value

The first SAB is used to render the hierarchy panel and the second is for the properties panel.
Strings and other non-serializable fields are sent via post message as property changed events.
Every game tick we iterate over all the editor exposed properties of the active component and check for changed properties and copy to the SAB. If the field is a complex value (string, etc) we check for equality and then send a property updated post message. Dirty flags are reset at the beginning of each tick. If the active entity changes we create a new SAB and post message to the main thread. Getters for component properties are defined in component schemas. Complex equality operations should be defined here as well.
For the hierarchy data we set that dirty flag inside our transform component methods on the game thread. All of this data is stored in a SAB and syncs like any other triple buffer. No post message required.
For node names we'll want to create a component for storing names of nodes that will also store a dirty flag. We'll post message any changes to names from the game thread to main thread.
The main thread hierarchy view iterates over all the hierarchy info every animation frame and mutates its representation of the scene graph. It can be efficient about this by only updating the parts that actually changed.
The main thread property panel uses the component schemas it gets from another post message based API and the active entity buffer to render the component properties. Because it reads from a SAB, the inputs will be super responsive for any component property changes. Even if we're in play mode and observing an entity while it's in motion or animating, etc.
Big design points here are:

Less postMessage use == less GC pressure
Animation frame synchronized SABs == highly responsive UI even when lots of things are changing

All mutations from the Editor UI are made via postMessage to the GameThread. Setters for these properties are defined in component schemas.

Hi I had a question regarding the direction of how the Editor will be integrated.
Mainly I want to know if there has been any thoughts around being able to use the editor while in XR. It would be great to be able to directly create UGC and manipulate the scene without ever having to exit VR for example. This is especially useful in a collaborative setting where mutliple people can work on world or experience on any device they're using.
Some great inspiration for would be for example NeosVR, where almost everything beside assets are created in-game. here's quick video showcasing how the scene editor for example works: https://youtu.be/dqsjidSmlJk?t=197

Hey @hazre we're slowly working towards a collaborative XR editor but there are some smaller milestones that we plan to reach beforehand. Our next step is to finish the property panel which will allow you to start inspecting all of the data in your scene by pressing the tilde key. Then we'll add single player editing. Then multiplayer and so on. Editing in XR is on our roadmap though!

Hey @hazre we're slowly working towards a collaborative XR editor but there are some smaller milestones that we plan to reach beforehand. Our next step is to finish the property panel which will allow you to start inspecting all of the data in your scene by pressing the tilde key. Then we'll add single player editing. Then multiplayer and so on. Editing in XR is on our roadmap though!

Oh okay sounds good, I just didn't see it on the issue itself, so I thought it wasn't considered. Glad to hear that's on the roadmap. I do wonder though how that's going to work if the desktop UI is in React; would the XR UI be in WebGL? if so, I feel like maintaining two different UI systems might be troublesome, maybe there should be some thoughts in place on a unified UI that works on all platforms?


[JAX] Update sparse_bcoo_matvec benchmark test with indicies dtype.

@yashk2810 @jakevdp

Can you show me the results? (best if you run it internally)

One idea here: we could swap out this code for sparse.random_bcoo, which didn't exist when I wrote the benchmark: https://github.com/google/jax/blob/0d71bff7b974bc037dc873beb4bfd5be53350de9/jax/experimental/sparse/random.py#L25-L26
We could add an indices_dtype argument to that to control this dtype.

Can you show me the results? (best if you run it internally)

name                                     cpu/op
sparse_bcoo_matvec                       8.12ms ± 1%
sparse_bcoo_matvec_jit                   37.7µs ±11%
sparse_bcoo_matvec_compile               46.7ms ±13%

Duplicate [JAX] Requires indices to be sorted and of int32 in _sparse_bcoo_matvec test. #9021


fix: use strconv.ParseInt instead of strconv.Atoi

Regarding:
https://github.com/kha7iq/pingme/issues/47

Thank you @brenkem for taking the time to make the changes.
Everything is good to merge now, you have not set the username for your github when you made the commits.
You can do so by setting it this way.
git config --global user.name "yourusername"
git config --global user.email<EMAIL_ADDRESS>
Although its not an issue and i can merge, i will be happy if you get the recognition for your contributions.
Do let me know if you would like to rebase and fix the commits, or should i continue to merge.

I do only work under my account name. No need to change anything here. You can go and merge the change. No extra work needed here.
Thanks for your nice tool, have fun.

Well noted, and thanks once again


Delete Message Fixed #5788

Issue Reference
Link: https://github.com/bagisto/bagisto/issues/5788

Found some more messages fixing all.


cli skips option to create new column when created nosql storage

Describe the bug
While going through the storage setup for dynamo, the cli will seemingly skip questions. It was defaulting to "true" for each "Would you like to add another column" and on a second try it defaulted to "false" after first column and went directly to primary key.
To Reproduce
Steps to reproduce the behavior:

cli: amplify storage add
nosql
Enter resource label
enter table name
name first column "name" and set type as String
yes to add new column
name second column "test" and set type as List
at this point mine will skip the next "would you like to add another column" and default to true and ask for the name of the new column

Expected behavior
Will be prompted for each column setup
Screenshots

Desktop (please complete the following information):

OS: MacOS 10.14.1

Additional context
cli version: 0.1.34

Same issue with cli version 0.1.35 on macOS.

@cityzen what version of node do you have installed?

@yuth I have issue with node 10.13.0

@yuth I am also experiencing the same issue with both<EMAIL_ADDRESS>and<EMAIL_ADDRESS>on node 8.11.0.

@yuth I'm on node 10.11.0

The issue is here:
https://github.com/aws-amplify/amplify-cli/blob/d5401ba3d9ce1fee19a921e3267160f7c57d6966/packages/amplify-category-storage/provider-utils/awscloudformation/service-walkthroughs/dynamoDb-walkthrough.js#L176
I suspect there is an issue with context.prompt.confirm, but I'm having trouble finding where that is defined.

@zjullion context.prompt.confirm is declared in gluegun.
The funny things is I can reproduce this issue and one of my co-worker has identical setup and everything work on in his machine.

From our testing, it doesn't always seem to return the value from the previous call - it will sometimes (seemingly randomly) return another value.
A simple work to work around this is the following:
    const continueQuestion = {
      type: 'confirm',
      name: 'continue',
      message: 'Wanna add another column?',
    };
    const continueAnswer = await inquirer.prompt([continueQuestion]);
    continueAttributeQuestion = continueAnswer.continue;

It's a little strange to me that amplify-cli hooks into gluegun's use of [enquirer] (https://github.com/enquirer/enquirer) for some prompts, while mostly using [inquirer] (https://github.com/SBoudrias/Inquirer.js/). Should all the calls to context.prompt.confirm maybe be refactored to inquirer calls?

It's a little strange to me that amplify-cli hooks into gluegun's use of enquirer for some prompts, while mostly using inquirer. Should all the calls to context.prompt.confirm maybe be refactored to inquirer calls?

Using glueguns confirm makes the code lot more readable. But yes we should move all our interaction code to use inquirer which is a little more involved as we have this in bunch of places

@yuth I can open a PR for this, if you like.  It should be ready to go sometime tomorrow at the latest.

I already have a fix. PR coming right up in a bit

You've updated the prompts in /packages/amplify-category-storage/provider-utils/awscloudformation/service-walkthroughs/dynamoDb-walkthrough.js, but gluegun's `context.prompt.confirm' is also used in a number of other files - is it worth updating those as well?

The fix has been released in 0.1.36


Add support for C++

I am also interested in C++ support. Is there anything I can help with. In order to move this PR forward?


Update KOReader to v2021.05

reMarkable specific changes:

CoverImage plugin: Remarkable-specific alternative

@raisjn will you have a chance to review this soon?


Updating package.json version to 2.4.1

Can we get this in before we do this? https://github.com/18F/cg-style/pull/250. It fixes some regressions from the release.

or we could do a 2.4.2, whatever you prefer.


Updates packaged CMake to version 3.13.4.

This enables the use of object libraries, which would substantially help the build process.
Several GPL-ish files in the LexerParser directory had to be replaced.
The log for how this was done is checked in.

Also, the minimum cmake version is now 3.12.

Please also update the Travis CI config to download and use the CMake binary from
https://github.com/Kitware/CMake/releases/ (hopefully it should work on Travis). Otherwise we'll be compiling CMake from source on every Travis CI build, which pushed us over the 2 hour limit on most builds last time I accidentally caused it.


Wrong error SA1008 : "Opening parenthesis must be spaced correctly" for c# 7 Value type tuple

public static (double? From, double? To) xyz(...)
{
.....
}
This gives error at method return type declaration that SA1008 : Opening parenthesis must be spaced correctly

What version of StyleCop.Analyzers are you using? I can't reproduce this error in 1.1.0-beta006.

The latest one : 1.0.2, and I'm using .Net Core

For C# 7.0 features you need to use 1.1.0-beta006 or higher, as these features are not supported in 1.0.2.

The quality of the beta version is quite close to a release version, it just hasn't passed the stabilization phase yet. A discussion on the next release can be found in #2585.


No way to ignore variable renames

Hello! This is a super cool tool, but it doesn't quite do what I want. I recently made a change renaming a variable used in ~300 different places, and I'd like to show everything except the rename itself. I tried running difft on the change, but it shows the rename and doesn't seem to have an option to disable that. Is there a way to do this?

https://github.com/rust-lang/rust/pull/98975/commits/6a8cf2dcd5a0cf1284bf68fdf8e558aef3fc590d
$ difft --version
Difftastic 0.30.0
$ uname -a
Linux pop-os 5.17.5-76051705-generic #202204271406~1653440576~20.04~6277a18-Ubuntu SMP PREEMPT Thu Ma x86_64 x86_64 x86_64 GNU/Linux

I don't really understand what you're asking here. Difftastic shows what's changed, and as you mention the method name has changed.
What would you expect in this case? How would you characterise the subset of changes that you want to see?

I would like an option to either:
a) collapse all these changes into one (maybe showing only the change in the struct definition?), or
b) ignore all changes from debugging_opts to unstable_opts
This is the subset of changes I'd like to see:
diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs
index e7717f1367c..9f17fbaede1 100644
--- a/compiler/rustc_session/src/config.rs
+++ b/compiler/rustc_session/src/config.rs
@@ -781,7 +781,7 @@ pub fn get_symbol_mangling_version(&self) -> SymbolManglingVersion {
     }
 }

-impl DebuggingOptions {
+impl UnstableOptions {
     pub fn diagnostic_handler_flags(&self, can_emit_warnings: bool) -> HandlerFlags {
         HandlerFlags {
             can_emit_warnings,
@@ -1402,6 +1402,7 @@ pub fn rustc_short_optgroups() -> Vec<RustcOptGroup> {
 /// long-term interface for rustc.
 pub fn rustc_optgroups() -> Vec<RustcOptGroup> {
     let mut opts = rustc_short_optgroups();
+    // FIXME: none of these descriptions are actually used
     opts.extend(vec![
         opt::multi_s(
             "",
@@ -1410,7 +1411,7 @@ pub fn rustc_optgroups() -> Vec<RustcOptGroup> {
             "NAME[=PATH]",
         ),
         opt::opt_s("", "sysroot", "Override the system root", "PATH"),
-        opt::multi("Z", "", "Set internal debugging options", "FLAG"),
+        opt::multi("Z", "", "Set unstable / perma-unstable options", "FLAG"),
         opt::opt_s(
             "",
             "error-format",
@@ -1652,12 +1653,12 @@ pub fn parse_crate_edition(matches: &getopts::Matches) -> Edition {
     edition
 }

-fn check_debug_option_stability(
+fn check_error_format_stability(

None of those are a syntactic change from debugging_opts to unstable_opts, and it's easy to miss them because the rest of the commit is so large.

It feels like this would need to integrate a chunk of the compiler to do this, as how else would you know if a name change is to the same type?

I'm afraid this is out of scope for difftastic: it's not capable of doing this.
Difftastic parses code to a tree-sitter AST, converts that to a simple s-expression representation (everything is a list or an atom), and then performs a structural diff. The structural diff has no notion of specific syntactic positions, and doesn't even have a notion of a rename (every s-expression is either added, removed or unchanged).


java.net.ConnectException: Connection refused on Windows WSL2

I've just open an issue in maestro but it seems more like the problem is in dadb, can you check it?
https://github.com/mobile-dev-inc/maestro/issues/595

Any news? I've the same problem


[BEAM-10961] enable strict dependency checking for sdks/java/io/file-based-io-tests

Split from #13688
R: @ibzib
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Java PreCommit

Run Java PreCommit


🧙 [Shard Request] -  UO Strange-Earth

Shard Name
Strange-Earth
Shard admins
Hephaestus
Shard Logo
https://iili.io/Ham9TjS.png
Shard Discord
https://discord.gg/aQqsYZh296
Shard Region/Country
US
Shard ip/port
<IP_ADDRESS>,2593
Shard description
Our team of dedicated developers is passionate about bringing the nostalgia of UO to life while also adding modern quality of life features to enhance your gaming experience. We're constantly adding new content and features to keep the game fresh and exciting, and our roadmap promises endless hours of monster mashing fun.
Shard type
PvM, PvP
Shard era
HS
What customisations does your shard currently have?
Assets (modified UOP/MUL etc)
Link to shard files
https://drive.google.com/drive/folders/1suY9bBjrSzuZ4Welrw3O8ywNX5NoHnMU?usp=share_link
Version used for the basis of you shard files
<IP_ADDRESS>
List of modified UO assets
I built a custom client patcher and server side script that constantly keeps track and uploads fresh changes to that google drive link listed above. Current focus of custom files include *.mul & *.enu files.

ClassicUO Customisations
None yet but this does spark some ideas.
Comments/Requests
I have over 20 years in the tech industry. With that experience I plan on making this the # 1 shard around. My team and I have built out a road map, run sprints weekly, pull community feedback, and are publishing constantly. TLDR: we have plans to keep the community and GM's entertained for years to come.
Thank you for entertaining our application today,
Hephaestus
Code of Conduct

[X] I agree to be patient and acknowledge that the CUO devs are working on their own free time to help me.

This is such awesome news! I shared it back to the team as soon as I read
it.
I might need a day or two before I can do a deep dive into the patching
process.
Currently I've been tasked to hunt down a bug as it related to the
customize house function. Symptom includes the gump becoming unresponsive
as soon as the feature is triggered causing the adventure to get locked
into customization mode.
I'll be sure to you on speed dial should I run into any troubles with
setting up the patching process. Thank you again for this opportunity.
Hephaestus
On Wed, Mar 1, 2023 at 4:31 AM Jabin @.***> wrote:

Hi @HephaestusShardBuilder https://github.com/HephaestusShardBuilder,
happy to add your shard, since you have custom files can you please follow
the patching process https://classicuo.org/docs/shard-owners/patching/,
feel free to reach out to me on Discord if you have any questions.
—
Reply to this email directly, view it on GitHub
https://github.com/ClassicUO/classicuo-web/issues/51#issuecomment-1449953524,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5QMZ3WFSWWRG4AOPSH3ZYDWZ4XSZANCNFSM6AAAAAAVLD7VIE
.
You are receiving this because you were mentioned.Message ID:
@.***>


ClusterManager does not handle correctly jobs termination in adaptive mode

This is for the moment a theorical assumption, but I think that since I introduced the ClusterManager and precisely the _target_scale attribute, a JobQueueCluster in adaptive mode will not spawn new workers when old ones are stopped due to reaching job walltime.
See https://github.com/dask/dask-jobqueue/blob/master/dask_jobqueue/deploy/cluster_manager.py#L157?
The _target_scale attribute should be updated when jobs are stopped, but this does not seem as simple as that.
Perhaps the answer is a mix between _target_scale and current "real state", not sure. It will proves even more difficult in the medium term target of separating Scheduler process from ClusterManager.

Closing this because of #306.


eval: default value resolution issue

What version of CUE are you using (cue version)?

$ cue version
cue version 0.3.0-beta.5 linux/amd64

Does this issue reproduce with the latest release?
Yes
What did you do?
Following on #763, there is still some funking things going on.
While the repro case of #763 is fixed if I add another level it fails the same:
-- x.cue --
package x

#A: {
	v: "a" | "b" | "c" // change to string to fix
}

h: [string]: #A

h: a: {
	v: *"a" | string
}

h: [=~"^b"]: {
	v: *h.a.v | string
}

h: [=~"^c"]: {
	v: *h.b.v | string
}

h: b:   _
h: boo: _

h: c:   _
h: coo: _

What did you expect to see?
h: {
    a: {
        v: "a"
    }
    b: {
        v: "a"
    }
    boo: {
        v: "a"
    }
    c: {
        v: "a"
    }
    coo: {
        v: "a"
    }
}

What did you see instead?
beta.4
h.b.v: incomplete value "a" | "b" | "c"
h.boo.v: incomplete value "a" | "b" | "c"
h.c.v: incomplete value "a" | "b" | "c"
h.coo.v: incomplete value "a" | "b" | "c"

beta.5
h.c.v: incomplete value "a" | "b" | "c"
h.coo.v: incomplete value "a" | "b" | "c"

This could be. As the release notes remarked (IIRC), the implementation is not entirely correct.
We have slightly changed the definition and reimplemented it. Funnily enough the bug of  #763 was fixed initially by this change as a result of the restructuring, but then the new semantics reintroduced the bug (completely different mechanism, same result). The issue is that an existing optimization is no longer valid under the new semantics. We plan to undo that optimization anyway as part of a different effort, so we decided to do this later. The commit message of the fix and comments in the code explain it in a bit more depth.
We didn't expect that users would go "a level deeper" that quickly. :) To help us prioritize, is this a blocker for you?

Not really as I can just use string instead of the disjunction in the meantime. And that will work

Thanks for the quick intial fix btw :)

This issue has been migrated to https://github.com/cue-lang/cue/issues/770.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


how to apt install the newest xrdp version?

the xrdp and xorgxrdp version in apt are 0.9.5-2
are there any apt resources which include the newest version of xrdp 0.9.8?

ask your distro team.


Archiving fails only with fastlane gym, if the project is using new Swift macros.

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
Archiving the project fails only if I'm using fastlane gym.
So far I've tried with Xcode 15.0 - 15.0.1 (RC) - 15.1 (Beta). Also tried with another Macbook to see if the problem is with my local environment.
If I use Xcode directly to archive the project everything works as expected.
If I use command-line and run the same xcodebuild command from fastlane gym logs, it also succeeds.
But when I run fastlane gym either from my own lane or directly from terminal it fails with Exit status: 65. And log says this;
"<unknown>:0: warning: compiler plugin not loaded: '\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/usr\/bin\/swift-plugin-server; failed to initialize\n\/Users\/name\/Desktop\/Projects\/ProjName\/WatchWidgetsExtension\/WidgetName\/WidgetEntryView.swift:60:1: error: external macro implementation type 'PreviewsMacros.Common' could not be found for macro 'Preview(_:as:widget:timeline:)

To make sure it is possible to replicate the problem I've created a test project with the targets:

iOS App
Independent watchOS app
watchOS Widget extension

When I try to run fastlane gym in this new empty project, I got Exit status: 65 again. With a similar error in log:
{
  "kind": "finished",
  "name": "compile",
  "pid": 80495,
  "output": "<unknown>:0: warning: compiler plugin not loaded: '\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/usr\/bin\/swift-plugin-server; failed to initialize\n\/Users\/name\/Desktop\/OpenSource\/FastTestProject\/FastTestProject\/FastTestProject\/ContentView.swift:22:1: error: external macro implementation type 'PreviewsMacros.SwiftUIView' could not be found for macro 'Preview(_:body:)'\n#Preview {\n^\nSwiftUI.Preview:2:41: note: 'Preview(_:body:)' declared here\n@freestanding(declaration) public macro Preview(_ name: String? = nil, body: @escaping @MainActor () -> View) = #externalMacro(module: \"PreviewsMacros\", type: \"SwiftUIView\")\n                                        ^\n",
  "process": {
    "real_pid": 80495
  },
  "exit-status": 1
}

Command executed
❌ fastlane gym
✅ $ set -o pipefail && xcodebuild -scheme FastTestProject -project ./FastTestProject.xcodeproj -destination 'generic/platform=iOS' -archivePath /Users/name/Library/Developer/Xcode/Archives/2023-10-18/FastTestProject\ 2023-10-18\ 14.26.58.xcarchive archive | tee /Users/name/Library/Logs/gym/FastTestProject-FastTestProject.log | xcpretty
Complete output when running fastlane, including the stack trace and command used

 [REPLACE THIS WITH YOUR INFORMATION]

Environment

 ✅ fastlane environment ✅ (Got this from new empty test project directory mentioned above.)
Stack

Key
Value

OS
14.0

Ruby
2.7.5

Bundler?
false

Git
git version 2.39.3 (Apple Git-145)

Installation Source
/usr/local/lib/ruby/gems/2.7.0/bin/fastlane

Host
macOS 14.0 (23A339)

Ruby Lib Dir
<EMAIL_ADDRESS>

OpenSSL Version
OpenSSL 1.1.1l  24 Aug 2021

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
15.0

Swift Version
5.9

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.216.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.6.3

artifactory
3.0.15

babosa
1.0.4

colored
1.2

highline
2.0.3

commander
4.6.0

dotenv
2.8.1

emoji_regex
3.2.3

faraday_middleware
1.2.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.5

faraday-cookie_jar
0.0.7

gh_inspector
1.1.3

jwt
2.7.1

naturally
2.2.1

optparse
0.1.1

rubyzip
2.3.2

security
0.1.3

terminal-notifier
2.0.0

terminal-table
3.0.2

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

word_wrap
1.0.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.1

uri
0.12.1

public_suffix
5.0.3

addressable
2.8.5

aws-eventstream
1.2.0

aws-sigv4
1.6.0

aws-partitions
1.832.0

jmespath
1.6.2

aws-sdk-core
3.185.0

aws-sdk-kms
1.72.0

aws-sdk-s3
1.136.0

bundler
2.4.10

rexml
3.2.6

CFPropertyList
3.0.6

excon
0.104.0

ruby2_keywords
0.0.5

faraday-retry
1.0.3

faraday-rack
1.0.0

faraday-patron
1.0.0

faraday-net_http_persistent
1.2.0

faraday-net_http
1.0.1

multipart-post
2.3.0

faraday-multipart
1.0.4

faraday-httpclient
1.0.1

faraday-excon
1.1.0

faraday-em_synchrony
1.0.0

faraday-em_http
1.0.0

faraday
1.10.3

fastimage
2.2.7

webrick
1.8.1

httpclient
2.8.3

multi_json
1.15.0

signet
0.18.0

os
1.1.4

googleauth
1.8.1

mini_mime
1.1.5

retriable
3.1.2

trailblazer-option
0.1.2

declarative
0.0.20

uber
0.1.0

representable
3.2.0

google-apis-core
0.11.1

google-apis-androidpublisher_v3
0.50.0

google-apis-playcustomapp_v1
0.13.0

rake
13.0.6

digest-crc
0.6.5

google-apis-storage_v1
0.19.0

google-apis-iamcredentials_v1
0.17.0

google-cloud-errors
1.3.1

google-cloud-env
1.6.0

google-cloud-core
1.6.0

google-cloud-storage
1.44.0

json
2.6.3

mini_magick
4.12.0

plist
3.7.0

simctl
1.6.10

unicode-display_width
2.5.0

nanaimo
0.3.0

colored2
3.1.2

claide
1.1.0

atomos
0.1.3

xcodeproj
1.23.0

forwardable
1.3.3

logger
1.5.3

cgi
0.3.6

date
3.3.3

timeout
0.3.2

stringio
3.0.5

openssl
3.1.0

ipaddr
1.2.5

zlib
3.0.0

mutex_m
0.1.2

connection_pool
2.4.0

net-http-persistent
4.0.2

patron
0.13.3

ostruct
0.5.5

strscan
3.0.6

io-console
0.6.0

delegate
0.3.0

fileutils
1.7.1

singleton
0.1.1

open3
0.1.2

yaml
0.2.1

psych
5.1.0

generated on: 2023-10-18

Hey @enoktate 👋
Thanks for reporting the issue. Do you mind attaching a test project you created to help us reproduce the issue? 🙏

Hey @mollyIV, thanks for looking into this. Sure, here is the project I mentioned in the issue.
Just changing the team in signing and running fastlane gym replicates the issue for me and my colleague.
FastTestProject.zip

rosetta error: Failed to open libRosettaRuntime
 760
{
  "kind": "finished",
  "name": "compile",
  "pid": 6745,
  "output": "\/Users\/******.swift:49:1: error: external macro implementation type 'PreviewsMacros.SwiftUIView' could not be found for macro 'Preview(_:body:)'\n#Preview(\"****\") {\n^\nSwiftUI.Preview:2:41: note: 'Preview(_:body:)' declared here\n@freestanding(declaration) public macro Preview(_ name: String? = nil, body: @escaping @MainActor () -> View) = #externalMacro(module: \"PreviewsMacros\", type: \"SwiftUIView\")\n                                        ^\n",
  "process": {
    "real_pid": 6745
  },
  "exit-status": 1
}

We're also having the same problem with above error. Is there any solution to that, yet ?

We're also facing the same issues. In our case, the pipelines at least succeed after a couple of retries though.

I was getting the same error.
In my case it was ruby using x86_64 instead of arm64 architecture that was causing the problem.
It was confusing because the terminal itself was using arm64, but commands run from a ruby script were using x86_64.
I didn’t investigate it further, I just reinstalled ruby, rbenv and brew. I’m guessing the old brew installation might have something to do with it.
You can try to run the arch command from a ruby script to see what architecture will be used.

I was getting the same error.
In my case it was ruby using x86_64 instead of arm64 architecture that was causing the problem. It was confusing because the terminal itself was using arm64, but commands run from a ruby script were using x86_64.
I didn’t investigate it further, I just reinstalled ruby, rbenv and brew. I’m guessing the old brew installation might have something to do with it.
You can try to run the arch command from a ruby script to see what architecture will be used.

This helped me. After prepending the fastlane command with arch -arm64 bundle exec fastlane..., it worked. The right fix might be to re-install brew, rbenv and one ruby version, but i will do that next time i have issues with ruby & fastlane.

I was getting the same error.
In my case it was ruby using x86_64 instead of arm64 architecture that was causing the problem. It was confusing because the terminal itself was using arm64, but commands run from a ruby script were using x86_64.
I didn’t investigate it further, I just reinstalled ruby, rbenv and brew. I’m guessing the old brew installation might have something to do with it.
You can try to run the arch command from a ruby script to see what architecture will be used.

Thank you, @piotr-dudek. I reinstalled Brew and rbenv. Previously, I was using Ruby 2.7.5; this time, I've installed 3.2.2. I tried this on two Macs with M1 chips, and Fastlane is working again.

Thanks everyone for the tip that it has to do with the architecture Fastlane is executed from. 🙏
Our problem was the following: Our build servers (M1 Mac Minis) are Jenkins nodes. Because these nodes ran on Java 11, our shell scripts in our Jenkins jobs were executed over the i386 (x86_64) architecture. Java 11, at least the version we used, runs on Intel only. Installing openjdk 17 over brew resolved the issue.
More about Java & M1 macs can be found here: https://stackoverflow.com/questions/69497067/java-sdk-reporting-wrong-architecture-on-mac-m1

In my case the same error was caused by Intel gitlab-runner executable on the arm machine. Accidentally upgraded from a wrong url. Upgrading gitlab-runner from sudo curl -o /usr/local/bin/gitlab-runner "https://s3.dualstack.us-east-1.amazonaws.com/gitlab-runner-downloads/latest/binaries/gitlab-runner-darwin-arm64" solved it.
Previos comment with SO post helped to track down the issue with the Activity monitor 👍


[BUG] Color Icon not showing when adding new colors

Description
When i added a new colors it didn't showed the color icon like the previous two colors
Screenshots

Additional information
No response
🥦 Browser
Brave
👀 Have you checked if this issue has been raised before?

[X] I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

[X] I have read and understood the rules in the Contributing Guidelines

Are you willing to work on this issue?
Yes I am willing to submit a PR!

That can't be fixed because it's from the library itself and we were trying to achieve something, that the library doesn't handle


Update policy schema to include people

Adds "people" to the list of valid links on a policy

I think you should have made people an optional link rather than a required one, no?

Cheers @heathd, now fixed.


Update platform specs in README

Hi,
I think the platform comparison table should be corrected. My proposal follows:

#
Element
EV3 P-Brick
Raspberry Pi 3 Model B+

1
Platform
EV3 Brick
BrickPi+,  BrickPi3, PiStorms

2
SoC
TI Sitara AM1808
Broadcom BCM2837

3
CPU
1× ARM926EJ-S @ 300MHz (max 456MHz)
4× ARM Cortex-A53 @ 1400MHz

4
RAM
64 MB LPDDR
1024 MB LPDDR2 (900 MHz)

5
USB Host
1× USB 1.1  (without onboard hub)
4× USB 2.0 (from onboard hub)

6
Year
2010
2018

The most problematic thing is the amount of RAM available on EV3: 16KB of Instruction Cache, 16KB of Data Cache, 8KB of RAM (Vector Table), 64KB of ROM => 40 kB of special-purpose RAM + 64 kB ROM. The RAM size wasn't mentioned.
Regards

It is perfect.
Create a branch from #443 with the change and we will merge next week.

Merged


[Feature]: Cross target .NET 8.0

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Once .NET6.0 goes out of support in November, we should consider targeting net47 and net8 ONLY, and removing the .NETSTANDARD targets. The remaining targets (outside of NET462+  and .NET8+) will no longer be supported after November.
Motivation
No response
Code of Conduct

[X] I agree to follow this project's contribution guidelines

Just to add: there's no harm in targeting an old version of .NET for a library. The library will run on whatever runtime the user compiles their application for.
Targeting .NET Standard 2.0 just means that you will run on the set of APIs available on .NET Standard, and anything later. It does not mean that this library requires some old version of .NET in order to run. If it can run just fine on .NET Standard 2.0, there's absolutely nothing wrong with continuing to target it. That way, you continue to support anyone stuck on .NET Standard (including Mono, Unity, Xamarin, etc etc, although I'm not sure whether Yubikey supports those anyway!), as well as everything which comes after, including the latest .NET version.

Hi @canton7, while newer frameworks will run against the .NETStandard2.0 abstraction, it's no-longer necessary when targeting .NETFramework and .NET{5+} directly.
Unless the library intends to explicitly support Unity, Xamarin [1] (which has reached end of life), and Mono [2] (with their last major release in July 2019, and recently donated to the Wine Project), keeping the .NETStandard2.0 target may create a false sense of support for these runtimes.
Of course, if the library intends to continue to support Unity, or any these legacy runtimes -- the target should be kept.
[1] https://dotnet.microsoft.com/en-us/platform/support/policy/xamarin
[2] https://www.mono-project.com/

keeping the .NETStandard2.0 target may create a false sense of support for these runtimes.

That's not normally a concern. Targetting .NET Standard 2.0 just means that you only need the set of APIs available in .NET Standard in order to run. If you don't need APIs which are only available in later .NET versions, there's normally no need to target them.
(That's not quite true: there are some areas where you'll get access to slightly better-performing method overloads etc if you target a newer .NET version, but most of what Yubikey does is working against Windows/etc APIs).
I don't think there's any need to target a newer .NET version just because .NET Standard is old, or various .NET versions are going out of support. Like it or not people are stuck on old .NET versions (I've spoken to 3 already this week), and the only effect of targeting a later .NET version when you don't actually need to is that you break those people.


Deploy script defaults to moloch address instead of execution safe

https://github.com/HausDAO/protocol-guild-contracts/blob/207fcf5d2399563811c198b1f47124de000f1738/deploy/002_deploy_PGRegistry.ts#L36C79-L36C79
Can probably remove the moloch address because there probably is no reason for it to have ownership

Fixed in 8466a1d


Missing packages after switch to bookworm / removal of buster

Greetings! We've been using python3.8-slim image for our projects. This morning we discovered that our deployment pipeline no longer works because many packages seemed to be missing.
The issue started appearing after the switch to bookworm.
I might be missing something, but is there some way to switch back for some time to the older image until it's resolved? It seems to be reasonable. Thank you.
Package ttf-ubuntu-font-family is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package ttf-unifont is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  fonts-unifont

Package xfonts-cyrillic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'ttf-unifont' has no installation candidate
E: Package 'xfonts-cyrillic' has no installation candidate
E: Package 'ttf-ubuntu-font-family' has no installation candidate

E: Package 'python-dev' has no installation candidate
The command '...' returned a non-zero code: 100

For now, switching to 3.8-slim-bullseye seems to be doing the trick.

@jesuisnaz Based on the fact that the issue is related to the distribution version and the package is not associated with Python, it's worth considering whether this is a problem with a Debian image rather than a Python image. Could it be that the Debian maintainers are responsible here?

Same issues.  GLIBC is missing or something.
/usr/local/bin/python3.8: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/bin/python3.8)
/usr/local/bin/python3.8: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /usr/local/bin/../lib/libpython3.8.so.1.0)
/usr/local/bin/python3.8: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /usr/local/bin/../lib/libpython3.8.so.1.0)
/usr/local/bin/python3.8: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /usr/local/bin/../lib/libpython3.8.so.1.0)
/usr/local/bin/python3.8: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/bin/../lib/libpython3.8.so.1.0)```

Reset to 3.8.16 resolves the problem for me.

If you are having issues with the new bookworm based images, then switching to the *-bullseye images is the correct workaround. There is likely little we can do to help you transition from bullseye to bookworm; this is the regular square wheel Debian Stable update that often requires users to reassess which packages they install and ensuring that distribution release matches across used images.

Same issues. GLIBC is missing or something.

I am unable to reproduce. Are you perhaps trying to move that venv to a different container or mounting it from elsewhere? If you are moving it across images, then it will need to have the same base libc available -- easiest way is to match distribution release, i.e. Debian Bookworm or Debian Bullseye.
$ docker run -it --rm --platform linux/arm64/v8 python:3.8-bookworm bash
root@74945d174d36:/# /usr/local/bin/python3.8 -m venv /home/a/.venv/d
root@74945d174d36:/# ls -l /home/a/.venv/d/
total 16
drwxr-xr-x 2 root root 4096 Jun 15 16:45 bin
drwxr-xr-x 2 root root 4096 Jun 15 16:45 include
drwxr-xr-x 3 root root 4096 Jun 15 16:45 lib
lrwxrwxrwx 1 root root    3 Jun 15 16:45 lib64 -> lib
-rw-r--r-- 1 root root   76 Jun 15 16:45 pyvenv.cfg
root@74945d174d36:/#

Closing; Solution is to use the -bullseye tagged images to stay on the older release. The Debian Bullseye based images will continue to be maintained/updated until the respective Python end of life or the next Debian release, Debian Trixie.


Add support for making assets out of LaserScan and MultiEchoLaserScan.

PTAL.

This changed a bit, PTAL.


Question: openly available training materials?

Hi @constantinpape ,
I'd like to talk about micro-sam in my teaching course at the university and I`m seaching for slides, I could possibly reuse. I would like to reshare them unter a CC-BY license (in this repository) and would of course acknowledge the original authors.
Are there slides about micro-sam available online, e.g. on Zenodo or F1000?
Big thanks!
Best,
Robert

I have two presentations that I can share. (Have to double check later if I need to remove something but can share it in the evening.)

Are there slides about micro-sam available online, e.g. on Zenodo or F1000?

I can upload them to zenodo. What's the best practice, upload as pdf or as pptx?

Fantastic @constantinpape !!
pptx would be great! I could then just copy-paste slides and figures. I also often upload PDFs as well, because these can be rendered as preview in zenodo.

I have uploaded two recent talks here: https://zenodo.org/doi/10.5281/zenodo.11265037

Fantastic, thanks so much @constantinpape ! 🤩


Update cats-effect to 3.3.6

Updates org.typelevel:cats-effect from 2.5.4 to 3.3.6.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Applied Scalafix Migrations

org.typelevel:{cats-effect,cats-effect-laws}:3.0.0 (created no change)

github:typelevel/cats-effect/v3_0_0?sha=v3.0.0

org.typelevel:{cats-effect,cats-effect-laws}:3.3.0 (created no change)

github:typelevel/cats-effect/v3_3_0?sha=series/3.x

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "cats-effect" } ]

labels: library-update, early-semver-major, semver-spec-major, scalafix-migrations, commit-count:1

Superseded by #199.


Query on Docker Remote API

Hi Team,
I am trying to create a container using the Remote API "containers/create".
I am able to create the container successfully, but the container got created with a random name.

I would like to know the way to pass a name to the container while creating it.
Is there a way to override the existing container?
(I knew the workaround of removing the existing container and the recreating a new one. But, I    am looking for a single call which will override the existing container)

Quick help is very much appreciated.
Thanks,
Pavan

Hi @pavanadepu, the GitHub issue tracker is more for reporting bugs and feature requests.
Could you close this issue and ask you question on the #docker IRC channel, forums.docker.com or docker-user GoogleGroup?

@pavanadepu Support for the remote API isn't provided directly via GitHub issues. Many similar issues have been reported in the past, but there was no code attached and providing any kind of assistance was impossible.
There are Docker client libraries in many languages. Please look at those to see how those libraries handle the features of the remote API you're interested in using. A good list of remote API clients can be found here: https://docs.docker.com/reference/api/remote_api_client_libraries/
Please post this question and similar questions on the docker-user Google group (https://groups.google.com/forum/#!forum/docker-user) or on the forums (https://forums.docker.com/).
This issue tracker is meant solely for the following: 1) reporting bugs, 2) requesting features, 3) reporting unusual behavior which might be a bug 4) submitting proposals and 5) sending pull requests to contribute changes to the code.
Please use the following resources to learn more about Docker and how to use it:

go through the tutorial at https://www.docker.com/tryit/
read the docs at https://docs.docker.com/
ask questions on https://forums.docker.com/ or https://groups.google.com/forum/#!forum/docker-user
join the #docker channel on Freenode

Since your question has been answered, I'm going to close this issue. Please take a look at points 3) and 4) from the list above in order to get help in the future.


Add [x] science updated from SpaceDock

This pull request was automatically generated by SpaceDock on behalf of Jeronimus_II, to add [x] science updated to CKAN.
Mod details:
name = /mod/2026/%5Bx%5D%20science%20updated
author = Jeronimus_II
abstract = An Updated version of [x] science https://spacedock.info/mod/234/[x] Science!
license = MIT
Homepage =
description = This is your mod listing! You can edit it as much as you like before you make it public.
To edit this text, you can click on the "Edit this Mod" button up there.
By the way, you have a lot of flexibility here. You can embed YouTube videos or screenshots. Be creative.
You can check out the SpaceDock markdown documentation for tips.
Thanks for hosting your mod on SpaceDock!
Please direct questions about this pull request to Jeronimus_II.

#rebuild

Looks like an unofficial re-listing of xScienceContinued. Source code link is the same.


Timed out waiting for packet header

Hi,
after succesfully testing the basic examples I uploaded a more complicated sketch to the board. Everything works fine except I cannot upload anything anymore. I always get the timed out waiting for packet header error. I've tried to use the boot button as well as the reset button. Could you offer me some assistance.

I guess it is caused by the poor contact of U2T. It is recommended that you try to read the serial port information, and press the reset button repeatedly, until the serial port returns information, which proves that the communication is normal, and then upload the program.

The problem is too long, you can open it again if necessary


Feature/add arg

why

no setup.py file

what
− added setup.py

now you you can execute

python setup.py install

Hello! Thank you for your interest in the library and the PR.
However, I am afraid I have to decline it with the following reasons.
First, please note that the current API already supports both video files and webcam in a general manner, you can see the usage section for more details.
The proposed videofile.py does not add value to the library and it's limited to a very specific use case, e.g., you want to do something like python videofile.py <file_path>. Such script is better to keep for your local usage.
The same goes for webcam.py. In fact the infinite while loop also looks strange, unless you desire to have your webcam keep being switched on again and again after each time closing it. :thinking:
On setup.py, please note that it is strongly not recommended to do python setup.py install according to the latest recommendation. You should use pip instead for installing this library as suggested in the installation section.
Therefore, the proposed changes are not suitable for the library and this PR will be closed.
Thank you for your understanding.


Some questions about the preprocessed data

Through analyzing your training script, it seems to me that the pre-processed visual features you stored on Baidu's cloud storage service have already undergone the project layer, is that correct? In other words, these pre-processed visual features are not the pixel-based data prior to extraction via the LanguageBind visual feature extractor mentioned in your paper. I am not sure whether my understanding is accurate, so please correct me if I'm wrong. Thank you.

No, the data on Baidu's cloud is raw data (e.g, xx.mp4). We just re-organized them.

Sorry, that was my mistake. Thank you for your response. Your work is very impressive and attractive!@LinB203


Jenkins 2.0 Package

This PR adds jenkins-dcos 2.0.0-2.7.2 to the Universe.

Currently using this PR for TeamCity to generate a local universe for testing the 2.0.0-2.7.1-rc1 tag. Do not merge yet.

Looks like this won't merge cleanly due to https://github.com/mesosphere/universe/pull/620/files. I'll work on a rebase.

We'll also want to generate a new configuration reference and update our docs site.

@ssk2 Tested this on DC/OS 1.8-dev and everything seems to be working as expected 🎉

Hey @ssk — Just pushed up some fixes based on your PR review comments. Thanks!

Hi,
It was meant to be sent to @ssk2 not @ssk. :-)
Sam
On Mon, Aug 29, 2016 at 11:39 AM, Roger Ignazio<EMAIL_ADDRESS>wrote:

Hey @ssk https://github.com/ssk — Just pushed up some fixes based on
your PR review comments. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mesosphere/universe/pull/586#issuecomment-243214645,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGt8V1ju_upEnz2WbxVYdFJyaPeXKEQks5qkydggaJpZM4JUktn
.

--
Sam S. Kong

Sorry about that!

Upgrade was successful on our internal production cluster, releasing the package!