[New Hub] Australia National University education pilot

Hub Description
A team at the Australia National University is interested in partnering with 2i2c to host a JupyterHub for a class this semester. The environment shouldn't be too complicated, and it can run on our shared GKE cluster.
The class is for econometrics and will have about 150 students in it (though likely not all will log on at once).
Opportunity issue: https://github.com/2i2c-org/leads/issues/69
Community Representative(s)

@mmcky will be the community representative on this one 👋

Important dates
Class start: Feb 21st (more regular use on the 28th)
Class stop: June 21st
Target start date
Feb 14th if possible, to have time to experiment
Preferred Cloud Provider
No preference (default)
Preferred Location of the Cloud Resources
No response
Do you have your own billing account?

[ ] Yes, I have my own billing account.

Hub Authentication Type
Other (may not be possible, please specify in comments)
Hub logo
No response
Hub logo URL
No response
Hub image service
No response
Hub image
No response
Extra features you'd like to enable

[ ] Dedicated Scalable Dask Cluster with Dask Gateway

Other relevant information
Authentication: They'd prefer CILogon if possible. (it's not in our dropdown menu yet)
Environment: @mmcky should set up an environment repo by following the instructions in this environment template
Hub ID
anu
Hub Cluster
pilot.2i2c.cloud
Hub URL
anu.pilot.2i2c.cloud
Hub Type
educational
Tasks to deploy the hub

[x] Engineer who will deploy the hub is assigned
[x] Deploy information filled in above
[x] Initial Hub deployment PR: https://github.com/2i2c-org/infrastructure/pull/993
[x] Administrators able to log on
[ ] Community Representative satisfied with hub environment
[ ] Hub now in steady-state

Hey @mmcky - could you help us fill in the information above to the best of your knowledge? That will help folks set up a hub for you.

hey @choldgraf for sure. I'll update this now.

Configuration Repo

I have setup: https://github.com/QuantEcon/jupyterhub-anu-emet2007 and will populate it with configuration as I learn about the setup.

OK whoever wrote the docs are absolute legends 🙏

That would be @GeorgianaElena :-D

thanks @GeorgianaElena -- nice work indeed.
@choldgraf I have now setup an initial confutation with R/RStudio
https://github.com/QuantEcon/jupyterhub-anu-emet2007
re: content (i.e. notebooks, datasets etc.) would we add it to that configuration repository?

for notebooks, you can store those wherever you like (generally people have a different repository for their content, though you could re-use your image repository if you wish). Check out: https://docs.2i2c.org/en/latest/admin/howto/content.html#distribute-content-with-nbgitpuller

Thanks @choldgraf -- oh I see. We will use the course repository for content then and use nbgitpuller -- that way students would only see the course files (rather than all the configuration files at the root level. The binder preview just brought in the repo (but that makes a lot of sense)
I'll look at seeing how nbgitpuller works.

Hey @GeorgianaElena - I think we should just deploy it with CILogon for now and see how that goes. We can use this email for an admin<EMAIL_ADDRESS>!

There is now a hub running at anu.pilot.2i2c.cloud :rocket:
@mmcky, if you'd like to test it out, it would be super nice to know that:

the login through CILogon + ANU works
you were logged into the hub with the<EMAIL_ADDRESS>username
you are an admin

Thanks so much @GeorgianaElena. It is pretty cool to have it linked to ANU login system.
I just went through the login and it links to the ANU identity manager but end up at a screen to link to ORCID(?) -- which I don't know much about. So will need to learn a bit more about this CILogon system before asking students to login through it. Is an orcid id a necessary step? Will students need to setup ORCID?

Hi @GeorgianaElena thanks for setting this up. I setup my own ORCID account that is liked to my ANU account. However I am getting the following errors:
When using a private browser session

When using the original browser session that linked the ORCID and anu accounts

Hmm, I wasn't expecting an orcid id to be required. Wondering if this is something university specific...
Unfortunately the logs don't show off a lot of info about all the redirects, so just to make sure I understand what's happening:

You select ANU identity provider in the CILogon list here:

You are redirected to the orcid login page after successfully logging in with you ANU account here:

Found these docs from ANU about ORCID but don't seem to explain why it is required in this case. But I will look into it more. Thanks for helping me debug this @mmcky :blossom:

Unfortunately the logs don't show off a lot of info about all the redirects

Roger that. OK So I think initially the only option that came up was ORCID (as default). In safari the drop down menu didn't appear to show any other options when landing on the CILogon page but when you type Aus... then the University Login option comes up as an option.

[ ] Would there be a way to make Australian National University the default? Understand this might be a CILogon thing.

I can now login via safari and it takes me through to the server 🥳 and I see two folders shared and shared-readwrite
However it is interesting when I use private window the login won't resolve and I end up at the 400: Bad Request. Must be a private window restriction issue on redirects perhaps.
I have also tried logging in now via Vivaldi and had no issues at all.
So I will write a little login guide so others don't make the same mistake I did re: ORCID and select ANU via (typing).
So the process for adding students to the cluster is:
https://docs.2i2c.org/en/latest/admin/howto/manage-users.html#to-add-users

[ ] Do I just need to add their anu email addresses?

Thanks @GeorgianaElena for working with me on setting this up.

thanks @GeorgianaElena for all your help in setting this up.

Is this a new private window? Did you manage to enter your ANU credentials or you were just redirected to this?

Yes, this was a new private window. Often use private window to login as a different user for the same service :-). I entered the ANU credentials OK but after authentication it ends up as the OAuth error. This is fine -- just thought I would feed that back.

There are some docs around logging out that might be of help also

Thanks!

The ANU hub is configured to allow anyone with a @anu.edu.au to login.

OK this is great and will require less admin. So if anyone at ANU can login we won't have to upload the class list or provide access to specific students. In theory this also means non-class students can login to the system with the ANU email. I think this is fine -- is there a way to check usage (i.e. if cluster spins up > # of enrolled students we would get notified, or are we able to restrict the slots that are available)?
I will need to add some datasets to the root level of the instance and from the docs it looks like I just add them to the shared folder and they will show up for everyone. I will test this out today.

@GeorgianaElena -- the lecturer for the course (@juergenmeinecke) was able to give this a spin today. He had some great feedback that I just wanted to pass through.
It worked really well -- and he plans to use rstudio this semester.

Would it be possible to call the "shared" folder "datasets" instead?

I see this shared folder is throughout the 2i2c documentation so I have advised this is probably not possible. One way to achieve this though would be with nbgitpuller and fetch a repo that contained a folder with datasets.
I will follow these instructions
https://docs.2i2c.org/en/latest/admin/howto/content.html

What's the correct logout/shutdown hygiene? From RStudio select "Quit the current R session" which displays a window "R Session ended" (see screenshot) and then close the browser tab?  From JupyterHub select "logout"?

When using the rstudio  -- to actually close the session and detach from the cluster should we teach students to logout of the jupyterhub window? Not just the rstudio session right.
Also jupyterhub typically uses a timeout feature for idle instances when students login. Is this value public?

It worked really well -- and he plans to use rstudio this semester.

Yuhuuuu! I'm very happy  :tada:

is there a way to check usage (i.e. if cluster spins up > # of enrolled students we would get notified, or are we able to restrict the slots that are available)?

Checking the admin panel should be the way to go I believe. In that panel should be visible all the users that logged into the hub at some point and if they have a server running at that moment.

I see this shared folder is throughout the 2i2c documentation so I have advised this is probably not possible. One way to achieve this though would be with nbgitpuller and fetch a repo that contained a folder with datasets

Yes, nbgitpuller would be the way to go here.

When using the rstudio -- to actually close the session and detach from the cluster should we teach students to logout of the jupyterhub window? Not just the rstudio session right. Also jupyterhub typically uses a timeout feature for idle instances when students login. Is this value public?

I guess the recommended way would be Close rstudio session -> close user notebook server -> logout.
But, yes, the user servers will be stopped after a certain timeout period. The defaults are:

after 60min of inactivity, the kernel will be killed
after 60min of no activity on the server (this is usually after the kernel has been stopped by the user, or killed)

But, we can definitely modify these for the ANU hub if you consider it necessary @mmcky

thanks @GeorgianaElena

Checking the admin panel should be the way to go I believe.

Roger that. I guess I was wondering if there was a grafana page but no worries if not. I'll monitor the status via the admin page to see how many students are signing up etc.

The defaults are:

after 60min of inactivity, the kernel will be killed
after 60min of no activity on the server (this is usually after the kernel has been stopped by the user, or killed)

Great Thanks. No modification needed -- just wanted to let the students know.

thanks @choldgraf and @GeorgianaElena for getting this setup so quickly for us ❤
This course will start tomorrow and students will be introduced to JupyterHub ... I am really happy to see this project off the ground at ANU.

Update: some feedback from Matt
Just had a quick chat about how things are going with Matt, some rough notes here:

In general the hub is going really well at ANU
"Jurgen was just super stoked about it, he would have paid for the service out of pocket if we hadn't gotten our budget approved"
They've run it with 20-30 students in classes. About 105 total students have logged in.
Occasionally the start times are slow for the students. (6-8 minutes). Rarely, probably related to new nodes spinning up (though 6-8 minutes seems like a lot even for expected scale-ups)
Really loves the image repo template, it was super useful in setting up their environment.
Next steps might be to ask for buy-ins at the college level.
They are fine with us sending them one invoice at the end of the semester.


Fix overlapped button, ImGui::Indent should also consider DPI scale

As the title, there is a button overlapped by other GUI elements while resolution scale is larger than 100%.  #92
Case ImGui::Indent also need consider DPI scale on Windows.
However, the real problem might be GLFW. It's using virtual resolution on macOS but real pixel resolution on Windows.
Eventually, it will have side-effect on ImGui.
Tested on:
Windows 10 Pro 21h2
macOS BIg sur 11.6.5
Not tested on Linux.

Although glfwGetWindowContentScale only takes roughly 0.03ms on my CPU, it might be better to cache the result.
I was considering saving the result into one of classes: SurfaceIO, SurfaceRHI, UIState.  After reading the source code,  I am not sure which one is the best choice.

Although glfwGetWindowContentScale only takes roughly 0.03ms on my CPU, it might be better to cache the result. I was considering saving the result into one of classes: SurfaceIO, SurfaceRHI, UIState. After reading the source code, I am not sure which one is the best choice.

I think it's a UI-related variable, so SurfaceUI or UIState may be reasonable to store it.


[Network] Fix NetworkWatcher validator

Fix #6264.  cc/ @irrogozh

This checklist is used to make sure that common guidelines for a pull request are followed.

[X] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[X] I adhere to the Command Guidelines.

View a preview at https://prompt.ws/r/Azure/azure-cli/6300
This is an experimental preview for @microsoft users.


Deprecate ANDROID_SDK_ROOT back to ANDROID_HOME 🔁

Close: #3118

https://app.circleci.com/pipelines/github/facebook/react-native-website/5682
Could not find a usable config.yml because you deleted the CircleCI OAuth app. 🤔

app.circleci.com/pipelines/github/facebook/react-native-website/5682
Could not find a usable config.yml because you deleted the CircleCI OAuth app. 🤔

Thanks for flagging this. Let me get back to you

app.circleci.com/pipelines/github/facebook/react-native-website/5682
Could not find a usable config.yml because you deleted the CircleCI OAuth app. 🤔

Thanks for flagging this. Let me get back to you

cool otherwise looks g2g after that

https://github.com/facebook/react-native-website/issues/3118#issuecomment-1316185555 prompted me to take another look
spotted and resolved a conflict https://github.com/facebook/react-native-website/pull/3266/commits/878779448ff5d2462a6d7daf9e7941c452fa1fac
prev CI issue seems to have fixed itself 🎉


Stalled

I really want this utility to work, it would be way more convenient than servefiles.py.
I select a cia file in Boop 1.3.0, open FBI 2.4.6, select remote install, receive URLs over the network, and click boop files in Boop. FBI displays the number of files I've selected in Boop and I confirm I want it to install them. It then sits at 0/1 files, 0 B/0 B, 0 B/s forever.
Strangely even B will not cancel it and I have to use the home button to escape from FBI. When I close FBI, Boop announces "Booping complete!" Turning off Windows Firewall has no effect on this.
When I use servefiles.py, FBI shows the same zero-bytes-out-of-zero-bytes progress display for under a second, then shows the proper filesize and begins downloading it.

When I do that, it shows me a list of all files in the directory containing the file(s) being booped. When I click one of them, my browser successfully downloads it. I tried putting the file in a folder by itself and giving it a name with no spaces in it. Same result.
Ah-ha! I've identified the issue. After letting it sit for long enough, FBI finally times out and displays this error:
Failed to install from URL.
http://<IP_ADDRESS>:8080/nesremix.cia
Result code: 0xD8A0A049
Level: Permanent (27)
Summary: Invalid state (5)
Module: HTTP (40)
Desc:  (73)
<IP_ADDRESS> is not my IP. It's the IP for VMware's virtual ethernet adapter. I have VMware installed on my PC and it adds some virtual network controllers for networking VMs.
Any possibility of making Boop choose what IP to grab by looking at the default route? Or just an option to see the one it detected and fix it if it's wrong?

Ohhh, another network adapter related problem...
Showing you all the network adapters is on my todo list. Good we could pinpoint the problem.


Updated docs for the 1.12.1 release.

*Need to update the list of supported runtime versions with a link to the release notes here https://github.com/dapr/dapr/releases/tag/v1.12.1

oh my GOD!

Add links to the release notes for each of the minor releases.

Done, as above ^


Exit process when tests are complete

This helps when some test code has a hanging processes.
There are no more test cases to be covered, so exit.
Best,
Barret

I have the same issue where nodeunit hangs. I am connecting to a sql database and I tried both sync and async js functions. Both methods caused nodeunit to hang at after all tests completed. After a while of debugging I found that my idleTimeoutMillis poolConfig setting caused/fixed the hang time. My setting was 60000 (1 min) but if I change 60000->1 my query finishes and nodeunit does not hang (for more than a millisecond). It seems like most people had issues with mongodb calls but perhaps there is a similar setting somewhere.

------------------------------------------------------------------------------------
* --- other modules used --- *
Fiber = require('fibers');
Tedious = require('tedious');
ConnectionPool = require('tedious-connection-pool');
Request = Tedious.Request;

------------------------------------------------------------------------------------
* --- dbConfig.js --- *
...
db.poolConfig = {
  ...
  idleTimeoutMillis: 60000 // nodeunit hangs for 1 min.
  ...
};
db.pool = new ConnectionPool(db.poolConfig, db.dbConfig);
module.exports = db;

------------------------------------------------------------------------------------
* --- dbMethods.js --- *
function getConnection() {
   var fiber = Fiber.current;
   var conn;
   db.pool.requestConnection(function(err, connection) {
      ...
      conn = connection;
      fiber.run();
   });
   Fiber.yield();
   return conn;
}

function getData(sql) {
   var sqlConn = getConnection();
   var result = [];
   var fiber = Fiber.current;
   var req = new Request(sql, function(err) {
      ...
      fiber.run()
   }).on('row', function(columns) {
      ...
      return result.push(row);
   });

   sqlConn.execSql(req);
   Fiber.yield();

   // here the connection is closed
   // so I don't think nodeunit is waiting for an open db connection to close
   sqlConn.close();

   return result;
}


docs: Fix Rendering of <AUTOGENERATED_TABLE_OF_CONTENTS> Tag on API -…

For some strange reason, the first use of `<AUTOGENERATED_TABLE_OF_CONTENTS>` in the "Generating Table of Contents" section renders as two backticks.

but the second use is rendered as expected.
I searched through the entire document to see if there was a missing or an extraneous backtick anywhere. I didn't find anything wrong (maybe I missed something).
The GitHub preview renders correctly before and after this PR.

So, I am not sure what the best way to fix this is. Seems to be a bug in the markdown parser used by Docusaurus or some other bug.
Motivation
Markup not rendering on the site as expected.
Have you read the Contributing Guidelines on pull requests?
For Docusaurus: no. For React: yes.
Test Plan
Without cloning and building the Docusaurus site locally, I don't have a plan since GitHub's preview shows everything is fine but after building and deploying the site, the markdown was not translated correctly.
I am hoping a maintainer might see an alternative solution I can implement instead of using the HACK I used. If not, then I'll go to the extra length to build locally to see if a better solution is available.

Hmm, the https://deploy-preview-1617--docusaurus-preview.netlify.com doesn't seem to contain the changes. Along with the HACK, I also had some whitespace fixes in the "Language-specific Code Tabs" section which are not showing up in the deploy-preview. Maybe I am misunderstanding the purpose of the deploy preview.

Docs change is only done on /next version of docs.


chore: Improve getNearestCommands

closes #18
closes #16
encapsulate return value for getNearestCommands for prefix+name

Pending:

Runtime check for ctx.from.language_code (IETF > iso-639), would benefit from https://github.com/grammyjs/types/pull/45/

Instead of doing all that jazz for pulling command data for each. There could be a private field _all that, at register-time, store all commands bundle of name/prefix/lang. That could prevent registering the same command name twice. Will mean some data duplication tho (extra data to store, but would prevent collision naming at runtime)

I think, since we are doing it for langs, the filtering could also be applied to the update scope

I think, since we are doing it for langs, the filtering could also be applied to the update scope. Once I refactor the toElementals function, I can add that if appears proper

I don't really get what you mean by applying the update scope. Could you give me more details, please? 😅

what you mean by applying the update scope?

Sorry I didn't express myself correctly.
getNearestCommandcalls fuzzyMatch using ctx.from.language_code for filtering / prefer command names from the user lang. The same idea could be used with ctx.chat.type

Potential addition: Encapsulating the logic for unhandled ::bot_command, using getNearestCommand, into a localizable middleware that can be easily install like:
// at the end of your command handling installs
const my404 = commandNotFound(
        [userCommands, adminCommands],
        {
            found: 'blabla command found is $COMMAND',
            notFound: 'sorry not found any command like $INPUT'
        }
    ).localize('es',
        {
            found: 'papito tu comando es $COMMAND',
            notFound: 'papi no encontre nada parecido a $INPUT'
        }
    )
bot.use(
    my404
)

Might not be necessary since similar terms can be archive using the i18n plugin + getNearestCommand.

The conflicts in the commands file is over jsdoc :sleepy: :disappointed:   :stuck_out_tongue_closed_eyes:
changes:

narrow at runtime if ctx.from.id (IETF) first portion is ISO-639 compatible
narrow all appearances of language_codes from string to LanguageCodes type
DRY toElementals
squashed some minor commits

I rebased this on  next locally. That's why the force-push :)


Limit Dataset Role permissions

Is your idea related to a problem? Please describe.
After analyzing IAM roles in data.all we noticed that the IAM role created as part of the dataset stack has some permissions that are too open (e.g. lakeformation* on *)
Describe the solution you'd like
Review and harden permissions for Dataset role
P.S. Don't attach files. Please, prefer add code snippets directly in the message body.

Closing issue - implemented in v1.6


MINOR: Add RaftReplicaManager

This adds the logic to apply partition metadata when consuming from the Raft-based metadata log.
RaftReplicaManager extends ReplicaManager for now to minimize changes to existing code for the 2.8 release.  We will likely adjust this hierarchy at a later time (e.g. introducing a trait and adding a helper to refactor common code).  For now, we expose the necessary fields and methods in ReplicaManager by changing their scope from private to protected, and we refactor out a couple of pieces of logic that are shared between the two implementation (stopping replicas and adding log dir fetchers).
Existing tests are sufficient to expose regressions in the current ReplicaManager.
We intend to exercise the new RaftReplicaManager code via system tests and unit/integration tests (both to come in later PRs).
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@rondagostino Looks like a file is missing the license:

19:18:36  Execution failed for task ':rat'.
19:18:36  > Found 1 files with unknown licenses.

All builds are green!

Thanks for this PR, @rondagostino !
I can see why you wanted to have RaftReplicaChangeDelegateHelper.  The ReplicaManager is not very easy to unit test because it has grown so large.  I don't think this delegate thing is quite the right abstraction here-- it's pretty confusing-- but I guess let's revisit this after 2.8 is finished.
I suppose one option is, once ReplicaManager is a pure interface, we can split the kip-500 update logic off into a separate set of functions that takes a ReplicaManager as an input.  Then we can easily unit-test the update logic with a MockReplicaManager.
For now I left two small comments... LGTM after those are addressed.

Thanks @rondagostino .  I left two small comments... LGTM after those are addressed.


Add IHtmlContentBuilder interface

Common interface for things that allow appending content (TagBuilder,
BufferedHtmlContent). We want to be able to expose this from APIs for
users to add content.
See discussion: https://github.com/aspnet/Mvc/issues/3087

:shipit:


175858339 ch3 ep3

Opening PR now for review. I will remove the [WIP] once I am ready for review.

@tura-david . Looks GREAT.
Are you going to add a code template under ch3/ep3 for users to start their work from?

@tura-david . Looks GREAT.
Are you going to add a code template under ch3/ep3 for users to start their work from?

Ah, yeah, I need to add the skeleton to the non-answers script. Getting that done now.


Split group

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
✔

Fixed issues
#54, #52

Good one 👍


What is the difference between the KaldiOpType and KaldiOps?

One is a enum, the other is a list.

I know they have different types. Why we create a list and an enum to represent the same thing.

To make the code safe and clean. KaldiOpType is an interface to fetch a type from KaldiOps list.


FEAT-#6325: Add GPU execution option for HDK backend

What do these changes do?

Add an option to run Modin on GPU via HDK. The behavior is controlled by an existing cpu_only config option as described in the updated doc.

[x] first commit message and PR title follow format outlined here

NOTE:  If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

[ ] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[ ] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[ ] signed commit with git commit -s
[ ] Resolves #?
[ ] tests added and passing
[ ] module layout described at docs/development/architecture.rst is up-to-date

LGTM once tests passed and my comment fixed


Xenon Valkyrie  [PCSE01191]

App summary

App name: Xenon Valkyrie+
App serial: PCSE01191
App version: 1.00

Vita3K summary

Version: v0.1.6
Build number: 3081
Commit hash: https://github.com/vita3k/vita3k/commit/8b13982b
CPU backend: Dynarmic
GPU backend: Vulkan

Test environment summary

Tested by: resaaa2023
OS: Android 12
CPU: Mediatek Helio G96
GPU: Mali-G57 MC2
RAM: 8 GB

Issues
Playable without Issues
Screenshots

Log
Recommended labels

Playable
No Issues

duplicate and invalid issue


Demo page failed open

What is the expected behavior?
shows demo
What is the current behavior?
failed in "The dependencies for this project couldn't be resolved."
What are the steps to reproduce?
open demo page in browser
https://stackblitz.com/github/dalelotts/angular-bootstrap-datetimepicker-demo
Which versions of angular-bootstrap-datetimepicker, OS, TypeScript, browsers are affected?
newest version
newest chrome
typescript 2.5+
Is there anything else we should know?

Added this to existing defect for stackblitz https://github.com/stackblitz/core/issues/1099

Related issue started today https://github.com/stackblitz/core/issues/1109


Is there 'binary mask' version of the mask JSON file instead of the COCO RLE format.

When I parsed each JSON file in the dataset, I found that doing mask. decode for each mask was time-consuming, taking approximately 100-200ms per mask, which made the processing time for each image unbearable.

you need png format?
but you need to know that:
png format is nearly impossible, since there are many points which belong to two or more instances
eg, a point on a car, it may refer to the entire vehicle body, or simply vehicle window, so one channel png is unable to deal with it. if you use multiple-channel file, that will no longer be 1-channel png, but .npy file or something else, but take huge storage

hui, could you please reopen this issue.
i also want to use SAM to segment and catagorize them in a json format
something like this from the segmenation format for garment
{
"item2": {
"segmentation": [
[
232.29572649572654, 34.447388414055126,<PHONE_NUMBER>364673,
40.57084520417861,<PHONE_NUMBER>043686, 47.089363722697165,
252.04881291547974, 49.65726495726508,<PHONE_NUMBER>179489,
51.43504273504287,<PHONE_NUMBER>00665, 50.447388414055204,
277.5446343779678, 49.12725546058881,<PHONE_NUMBER>1006657,
46.16429249762584,<PHONE_NUMBER>273506, 41.22602089268754,
299.9377967711301, 36.514245014245084,<PHONE_NUMBER>1187084,
30.588319088319132,<PHONE_NUMBER>612536, 25.65004748338083,
307.64150047483383, 23.477207977207982,<PHONE_NUMBER>3038943,
---
...
...
    30.279962013295354
  ]
],
"category_id": 1,
"category_name": "short sleeve top"

},
"item1": {
"segmentation": [
[
201.51804815682925,<PHONE_NUMBER>799914,<PHONE_NUMBER>8203712,
227.23317707223518,<PHONE_NUMBER>4824218,<PHONE_NUMBER>3373104,
...
...
<PHONE_NUMBER>7408916,<PHONE_NUMBER>1841033,<PHONE_NUMBER>8683155,
<PHONE_NUMBER>137011,<PHONE_NUMBER>9181773,<PHONE_NUMBER>3973982
  ]
],
"category_id": 8,
"category_name": "trousers"

}
}


Add Menu Item to macOS Finder Context Menu

Adds commands to install/uninstall a workflow that installs a macOS automation workflow to add an item to the finder context menu.
The only missing piece is I wasn't sure how to get the install location of the vscode app when the command is run.  The workflow action needs this, so that it can specify which app to open.  If somebody can fix this, or tell me how to access this, it is the last piece of functionality.
A few things that probably need to be updated after review.
The text for the commands and notifications
I created a new folder inside of workbench/contrib, but I am not sure if this is where it should be.
Storing the content of the workflow as two large strings at the bottom of the file, can this be done differently?
This PR fixes #1223

I am personally not a big fan of doing this via code inside VSCode as opposed to some Info.plist modification during build time or ideally some installation routine. I think I would expect a VSCode installer that:

moves VSCode to the Applications folder
does post-installation duty such as adding context menu actions to folders and/or installing code as command globally.

Maybe an issue should be created to get feedback on using an installer instead of just having the application file/folder.
I am not aware of all the complications of this. Here are just a few considerations that came to mind.
I think VSCode has an option to install on a usb, so the installer should probably allow this. Macs also have the global install in applications, or a user level install in the users applications.
What do existing users do? Run the installer to get the new functionality?
Currently, adding code to path and adding the context menu are the only additions, but it could expand more.
Is it more difficult to manage mass deployment installations when using an installer, instead of just an application that can be copied.
Is this our concern, or is that for the end users to resolve?

I just find an installer more naturally to drive this, e.g. given the user a choice to do this or not via checkbox. Now the user has to start VSCode and do this via commands for each integration. That does not sound ideal to me imho.

How does the windows installer approach this?
For example, does it have an option to add code to path? How is this process automated, in the sense that an admin can pre-configure the options for the install? Maybe we can replicate that for a macOS installer.

We are leveraging Inno Setup for our Windows installer.

It looks like the installer can have some customized options. There is also the ability to generate an xml file that can then be used as part of a silent install with pre-determined defaults.
I think this will do everything we need, but if not let me know any other items I need to figure out.  I can create a new PR once I have some work done on it.


cmake: Make install prefix of sdl2_config more compatible with SDL2

Prepend all cmake options with SDL2COMPAT_
No need for FindSDL3.cmake, all SDL3 installations ship SDL3Config.cmake or sdl3-config.cmake.
Install SDL2Config.cmake config files, who create the same targets as SDL2
Create SDL2COMPAT_VENDOR_INFO cmake option, to store a vendor string.
Set indentation of CMake to 2 (same as SDL)
Add .editorconfig, based on the one from the main SDL repo

prefix
├── bin
│   └── sdl2-config
├── include
│   └── SDL2
│       ├── begin_code.h
│       ├── close_code.h
│       ├── SDL_assert.h
│       ├── SDL_atomic.h
│       ├── SDL_audio.h
│       ├── SDL_bits.h
│       ├── SDL_blendmode.h
│       ├── SDL_clipboard.h
│       ├── SDL_config_android.h
│       ├── SDL_config_emscripten.h
│       ├── SDL_config.h
│       ├── SDL_config_iphoneos.h
│       ├── SDL_config_macosx.h
│       ├── SDL_config_minimal.h
│       ├── SDL_config_ngage.h
│       ├── SDL_config_os2.h
│       ├── SDL_config_pandora.h
│       ├── SDL_config_windows.h
│       ├── SDL_config_wingdk.h
│       ├── SDL_config_winrt.h
│       ├── SDL_config_xbox.h
│       ├── SDL_copying.h
│       ├── SDL_cpuinfo.h
│       ├── SDL_egl.h
│       ├── SDL_endian.h
│       ├── SDL_error.h
│       ├── SDL_events.h
│       ├── SDL_filesystem.h
│       ├── SDL_gamecontroller.h
│       ├── SDL_gesture.h
│       ├── SDL_guid.h
│       ├── SDL.h
│       ├── SDL_haptic.h
│       ├── SDL_hidapi.h
│       ├── SDL_hints.h
│       ├── SDL_joystick.h
│       ├── SDL_keyboard.h
│       ├── SDL_keycode.h
│       ├── SDL_loadso.h
│       ├── SDL_locale.h
│       ├── SDL_log.h
│       ├── SDL_main.h
│       ├── SDL_messagebox.h
│       ├── SDL_metal.h
│       ├── SDL_misc.h
│       ├── SDL_mouse.h
│       ├── SDL_mutex.h
│       ├── SDL_name.h
│       ├── SDL_opengles2_gl2ext.h
│       ├── SDL_opengles2_gl2.h
│       ├── SDL_opengles2_gl2platform.h
│       ├── SDL_opengles2.h
│       ├── SDL_opengles2_khrplatform.h
│       ├── SDL_opengles.h
│       ├── SDL_opengl_glext.h
│       ├── SDL_opengl.h
│       ├── SDL_pixels.h
│       ├── SDL_platform.h
│       ├── SDL_power.h
│       ├── SDL_quit.h
│       ├── SDL_rect.h
│       ├── SDL_render.h
│       ├── SDL_revision.h
│       ├── SDL_rwops.h
│       ├── SDL_scancode.h
│       ├── SDL_sensor.h
│       ├── SDL_shape.h
│       ├── SDL_stdinc.h
│       ├── SDL_surface.h
│       ├── SDL_system.h
│       ├── SDL_syswm.h
│       ├── SDL_test_assert.h
│       ├── SDL_test_common.h
│       ├── SDL_test_compare.h
│       ├── SDL_test_crc32.h
│       ├── SDL_test_font.h
│       ├── SDL_test_fuzzer.h
│       ├── SDL_test.h
│       ├── SDL_test_harness.h
│       ├── SDL_test_images.h
│       ├── SDL_test_log.h
│       ├── SDL_test_md5.h
│       ├── SDL_test_memory.h
│       ├── SDL_test_random.h
│       ├── SDL_thread.h
│       ├── SDL_timer.h
│       ├── SDL_touch.h
│       ├── SDL_types.h
│       ├── SDL_version.h
│       ├── SDL_video.h
│       └── SDL_vulkan.h
├── lib64
│   ├── cmake
│   │   └── SDL2
│   │       ├── SDL2Config.cmake
│   │       ├── SDL2ConfigVersion.cmake
│   │       ├── SDL2mainTargets.cmake
│   │       ├── SDL2mainTargets-debug.cmake
│   │       ├── SDL2-staticTargets.cmake
│   │       ├── SDL2-staticTargets-debug.cmake
│   │       ├── SDL2Targets.cmake
│   │       ├── SDL2Targets-debug.cmake
│   │       ├── SDL2testTargets.cmake
│   │       └── SDL2testTargets-debug.cmake
│   ├── libSDL2-2.0.so -> libSDL2-2.0.so.0
│   ├── libSDL2-2.0.so.0 -> libSDL2-2.0.so.2.90.0
│   ├── libSDL2-2.0.so.2.90.0
│   ├── libSDL2.a
│   ├── libSDL2main.a
│   ├── libSDL2.so -> libSDL2-2.0.so
│   ├── libSDL2test.a
│   └── pkgconfig
│       └── sdl2_compat.pc
└── share
    └── aclocal
        └── sdl2.m4

cmake -DSDL3_INCLUDE_DIRS=xxx doesn't work. Setting SDL3_DIR env var works, though.
$ cmake -DCMAKE_BUILD_TYPE=Release -DSDL3_INCLUDE_DIR=/home/ozzie/x3/include/SDL3
[.....]
CMake Warning at CMakeLists.txt:29 (find_package):
  By not providing "FindSDL3.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "SDL3", but
  CMake did not find one.

  Could not find a package configuration file provided by "SDL3" with any of
  the following names:

    SDL3Config.cmake
    sdl3-config.cmake

  Add the installation prefix of "SDL3" to CMAKE_PREFIX_PATH or set
  "SDL3_DIR" to a directory containing one of the above files.  If "SDL3"
  provides a separate development package or SDK, be sure it has been
  installed.
  [.....]
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
/home/ozzie/6/sdl2-compat/SDL3_INCLUDE_DIRS
   used as include directory in directory /home/ozzie/6/sdl2-compat

-- Configuring incomplete, errors occurred!
See also "/home/ozzie/6/sdl2-compat/b/CMakeFiles/CMakeOutput.log".

I guess X11_INCLUDE_DIR addition should be conditional:
CMake Error at CMakeLists.txt:74 (include_directories):
  include_directories given empty-string as include directory.

Mac linkage fails because of that FIXME around line 33:
ld: malformed 32-bit x.y.z version number: -current_version
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libSDL2-2.0.0.dylib] Error 1
make[1]: *** [CMakeFiles/SDL2.dir/all] Error 2
make: *** [all] Error 2

We should set dylib versions. SDL2-2.24.2 sets current version to 2401.2
2.26.0 sets its to 2601.0. For simplicity, we can start setting current version
to 2900.0 I guess. As for compatibility version: assuming that newer releases
from SDL2 series won't add new apis, we can set it to 2601.0 yes? (@icculus?)

About versioning of the linux shared library, SDL differentiates between stable and unstable release (even vs uneven number).

Is that supposed to happen???

How will sdl2-compat handle this?

Sigh.. Badly.. Worst case, we can do what we do with mac version, i.e. define multiple SDL_LIBNAME macros and handle them.

I'm not sure what you mean? The library we should load is always libSDL2-2.0.so.0. It will always be a symlink to the current version of SDL 2.x.

If you're talking about the one we load, it will always be libSDL3.so.0 on UNIX. The even/odd numbering is in the minor version, which doesn't affect the SONAME.

If you're talking about the one we load, it will always be libSDL3.so.0 on UNIX. The even/odd numbering is in the minor version, which doesn't affect the SONAME.

Well, that's a relief.

Yes, we will always load libSDL3.so.0, but I was asking about how to version the newly built shared SDL2 library here.
libSDL2.so.0 will always be created, but how about the full versioned SDL2 libraries?
Will sdl2-compat also create libSDL2-2.0.so.0.9000.X for release versions and libsSDL2-2.0.so.0.900X.0 for development versions?

AFAICS, with current version, libSDL2-2.0.so.2.90.0 and other libSDL2-2.0.so, libSDL2-2.0.so.0 and libSDL2.so symlinked to it, and 90 incremented as version numbers increase. The problem here is 90 looks like a bad version number considering incremented versions will quickly go past 99.

-DSDL3_INCLUDE_DIRS=xxx now works.

Remaining cmake issues:

For macOS, we should set DYLIB_COMPAT_VERSION and DYLIB_CURRENT_VERSION as mentioned above
X11_INCLUDE_DIR addition should be conditional as mentioned above
testgles2 and testgles2_sdf builds fail miserably when GLES2 isn't installed, such as the case on my system: We should add checks for HAVE_OPENGLES and HAVE_OPENGLES2, possibly copying the checks from SDL tree, instead of hard-coding them.

AFAICS, with current version, libSDL2-2.0.so.2.90.0 and

I was wrong about this: I though the cmake'ry in here did the right thing.
However, SDL's SDL2 branch creates libSDL2-2.0.so.0.2700.0, so, as
@madebr said, we should create libSDL2-2.0.so.0.2900.0


Support for visionOS

When will the support for visionOS be provided, for both simulator and physical device?
We have a SDK which consumes swift-cryto as a package dependency (v 2.1.0). We are updating our codebase to support the new OS from Apple. The SDK builds for iOS and MacCatalyst on intel and M1 machines.
Right now when i build from cli with command:
xcodebuild -workspace MySDK.xcworkspace -configuration Debug -sdk xrsimulator build -derivedDataPath ./out -scheme MySDK -destination "generic/platform=visionOS Simulator,OS=latest,name=Apple Vision Pro" "ARCHS=\x86_64 \arm64
if fails with the error:
no such module 'CCryptoBoringSSL'
@_implementationOnly import CCryptoBoringSSL

v2.1.0 is very old, it was released in April 2022. Can you update to 2.6.0 and tell me if this reproduces?

After updating to v2.6.0 we are getting the following compilation error

Here you suggested to change the build setting BUILD_LIBRARY_FOR_DISTRIBUTION as false which is not possible in our case.
And regarding the consumption of these APIs we are already importing using the @_implementationOnly import statement.
Can you please guide on how to fix this?

You must change the build setting for swift-crypto to disable BUILD_LIBRARY_FOR_DISTRIBUTION: we do not have a stable ABI and we don't support this build mode.
You may subsequently link this library into a different library that you own which does have a stable ABI, which is where @_implementationOnly will be helpful.

Additionally: are you actually using _CryptoExtras? If not, you could drop the dependency.

Changing the build setting BUILD_LIBRARY_FOR_DISTRIBUTION also didn't help and it fails with the same error
I had updated this setting for both the targets (Crypto, _CryptoExtras) like below:

Also, _CryptoExtras is required by us and cannot be removed. We use _RSA.Signing.Padding from this module.
Btw this error can be seen in a standalone project as well when we try to archive it by running cli command.
Anything else that we can try?

Sorry, how do you reproduce this in a standalone project?

Btw the failure is not related to visionOS, it fails for iphoneos as well (havent checked for other destinations) .

So I believe that BUILD_LIBRARY_FOR_DISTRIBUTION=YES may be overriding the build setting in the package. Can you provide the build log?

archive-failed.txt
I noticed the archive commands succeeds when i remove BUILD_LIBRARY_FOR_DISTRIBUTION=YES from the command. But it is one thing we can't remove.

Yeah, that setting is overriding your change to the Package. Why can't you change the build setting for the package?

Renaming the issue to reflect the issue is not related to visionOS

Yeah, that setting is overriding your change to the Package. Why can't you change the build setting for the package?

I did change the build setting for the Crypto and _CryptoExtras in my fork and used it in my code but still got the same error.

Sorry, I meant to say: why does your project require setting BUILD_LIBRARY_FOR_DISTRIBUTION=YES on all targets in your project?

Not all the targets in the project require this setting, just two of them.

Is there any reason you cannot set this setting only for those two?

@Lukasa can you help me tell how to set the build setting for individual targets?. Should i set this setting in xcode build settings ui and let terminal use the values from there or in command line i have to pass the setting to each target.
For the latter case how will the xcodebuild command look like.

You would set this in the Xcode build settings UI for the specific targets.

Thanks @Lukasa i will try what you suggested.
I also found this when looking for a solution. The archive command succeeds with this change.
archive-success.txt
Will removing @inlineable like in above cause any kind of problem in our code?

It may lead to worse performance, but that’s it

Thanks @Lukasa for being patient in answering all the questions i have and for actively replying.
The performance degrade youre saying is only during build time or when the code gets used when app is running?
Also I tried what you suggested above and it fixes the archive failure problem, the only thing i want to know now is that we have 6 targets in our workspace (framework targets, unit tests, app targets) the setting BUILD_LIBRARY_FOR_DISTRIBUTION=YES is just to be passed to the framework target right?.
We distribute xcframework so i guess only having this setting in framework target is enough but want your opinion on it.

The performance degradation will be while the app is running.
And yes, you should only need to pass that value to the framework target.

Okay Thank you very much @Lukasa 🤝🎉


reduce surprise in choice of CASE/String/STRING by doing case-independent comparisons

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

Where should this change be documented?
possibilities: https://www.openssl.org/docs/manmaster/man5/x509v3_config.html https://www.openssl.org/docs/manmaster/man3/ASN1_generate_nconf.html

Maybe add your description as to the why this is needed into the commit message?

Document it like this:
diff --git a/doc/man3/ASN1_generate_nconf.pod b/doc/man3/ASN1_generate_nconf.pod
index bf22e3624c..256ed9f99c 100644
--- a/doc/man3/ASN1_generate_nconf.pod
+++ b/doc/man3/ASN1_generate_nconf.pod
@@ -42,8 +42,9 @@ I<value> and I<modifier> are explained below.

 =head2 Supported Types

-The supported types are listed below. Unless otherwise specified
-only the B<ASCII> format is permissible.
+The supported types are listed below.
+Case is not significant in the type names.
+Unless otherwise specified only the B<ASCII> format is permissible.

For a test, take one of the existing "cnf" files and change the capitalization, perhaps the ca-and-certificate.cnf file.

ca-and-certificate.cnf
I looked through the test/*.cnf, include ca-and-certs.cnf, and I don't see any attributes in these files that would apply.
Most of the .c tests use the #define for these attributes.
I grep'ed through the tests to see if I could find an obvious place where I could change the case, but I didn't find something.

So replace one of the defines with a mixed-case identifier.  :)

So replace one of the defines with a mixed-case identifier. :)

In the CNF files, there are no cases where the relevant strings are used.
In the C code, they are #define, which are not strings that get evaluated. Changing the defines into a mixed-case will just result in a compiler failure.

I meant the value of a define.  But I guess there are no defines that have ASN1 in them.  Oh well.


Design, debug and visualise document

we need a document to link the output with visualise.

Resolved in commit https://github.com/MAPF-Competition/Start-Kit/commit/fbe6cd0e5fa75cee0cd7cdc9f6258446ef983a25 on the release of v1.1.3.


Integrated the options into environment options by implementing INTAA…

…ddInOptions

Thank you @uschuster ! Merged.


To include management fc-port for the forwarding ApprovingApplicationCausesResponding

In the following forwarding , the port-direction of the "local-id": "000" should be "core-model-1-4:PORT_DIRECTION_TYPE_MANAGEMENT"
{
                "uuid": "ro-2-1-0-op-fc-is-060",
                "name": [
                  {
                    "value-name": "ForwardingKind",
                    "value": "core-model-1-4:FORWARDING_KIND_TYPE_INVARIANT_PROCESS_SNIPPET"
                  },
                  {
                    "value-name": "ForwardingName",
                    "value": "ApprovingApplicationCausesResponding"
                  }
                ],
                "fc-port": [
                  {
                    "local-id": "000",
-                   "port-direction": "core-model-1-4:PORT_DIRECTION_TYPE_INPUT",
+                   "port-direction": "core-model-1-4:PORT_DIRECTION_TYPE_MANAGEMENT",
                    "logical-termination-point": "ro-2-1-0-op-s-is-003" //  /v1/regard-updated-approval-status
                  },
                  {
                    "local-id": "100",
                    "port-direction": "core-model-1-4:PORT_DIRECTION_TYPE_INPUT",
                    "logical-termination-point": "ro-2-1-0-op-s-is-003"
                  },
                  {
                    "local-id": "200",
                    "port-direction": "core-model-1-4:PORT_DIRECTION_TYPE_OUTPUT",
                    "logical-termination-point": "ro-2-1-0-op-c-im-tar-2-0-1-007"
                  }
                ]
              }

Also see : https://github.com/openBackhaul/RegistryOffice/issues/533

Changed as proposed.


Update func to use extends instead of the decorator

We decided to just keep the decorator. Other ways ended up being much more verbose


Backend analytics implementation

Implement #375
Implementation details:

A recurring daily ETL job is scheduled via the Bull queueing framework.
The job goes thru every shop in the system and extracts data either from the DB, the shop's config, it's IPFS deployment or from its staging area
Data is persisted in a new table "etl_jobs" which has a flat structure to make it easy to query/analyze. There will be one entry per job per ETL run.

Merging this in to test on staging. Happy to address any further comments as a separate PR.


STYLE: Deprecated FixedArray member functions rBegin() and rEnd()

Declared FixedArray member functions rBegin() and rEnd()
legacy-only, as they are superseded by rbegin() and `rend()'.
The new reverse iterators can be passed directly to an std algorithm,
e.g., std::sort(fixedArray.rbegin(), fixedArray.rend()). Unlike the
old reverse iterators, the new ones support random access iteration.
Deprecation suggested by @dzenanz while discussing pull request #850

Thanks, @dzenanz and @thewtex
Force-pushed, just to fix the deprecation warnings in itkFixedArrayTest.cxx, to preserve the unit test added by @maekclena even when legacy is removed (ITK_LEGACY_REMOVE), and to clarify the documentation + commit message.


Sum of Linked List Python

💥 Proposal
Sum of LinkedList Python.
I am a GSSOC'21 participant. Kindly assign me the same.
Have you read the Contributing Guidelines on Pull Requests?
Yes

/assign


LLM Bros the next Crypto Bros?

Speculations arise that the new AI fad is being pushed by the same people who lead us down the failed path of crypto currency, altcoins, and web 3.0.
A wolf in sheep's clothing would pass as a human to this "doctor" of yours.
You're going to get people killed. And then get sued. Then you'll go to jail.

Claims without evidence are my favorite.  Let's all speculate about things and see who can spread the biggest rumor!

Hitchens' Razor does not apply when there are laws on the books that prevent people without licenses from making doctoral claims. This is the exact same thing. The author wrote code, that code is making doctoral claims. In the court of law, the author is at fault for any issues that arise from the use of this software. That included malpractice.

+100 @LogoiLab ...Who thought this was a good idea?!


[5.4] Don’t require PhpRedis extension for tests

Followup on https://github.com/laravel/framework/pull/17882.

Wait so now the Predis tests won't run on my machine if I don't have PHPRedis installed?

No, same like before. Predis will run as long as host/port are configured. If not they are not set, PHPUnit will skip the tests.
PhpRedis will only be tested if the extension is installed. If not, only Predis is tested.


Raw Image Select

Allow the user to select whether the result image(s) have the raw background image.

Pull request #63 closes this issue.


[161] Issue #161 - June 4, 2020

To contribute to this issue, simply leave a comment here. Please also review our contributing guidelines.
The current draft for this issue in _drafts/. If you want to contribute directly, feel free to open a pull request.

Replace the reference types weak and unowned with nonstrong
https://forums.swift.org/t/replace-the-reference-types-weak-and-unowned-with-nonstrong/36740

https://twitter.com/AirspeedSwift/status/1264664397504372736

Deriving the Combine’s Publisher type from Swift’s Sequence protocol 📝 https://twitter.com/jasdev/status/1265030587523502081

https://twitter.com/maxdesiatov/status/1265555090204700673

"llbuild2 is an experimental, Swift native, fully async, NIO futures-based low level build system. Started as the cevobuild experiment in llbuild, this repository aims to continue that exploration".
https://github.com/apple/swift-llbuild2
(More details here: https://forums.swift.org/t/llbuild2/36896)

Swift on Server WorkGroup May 13th, 2020 meeting notes
https://forums.swift.org/t/may-13th-2020/36929

https://twitter.com/gregheo/status/1265677772527038466
Good reviser.

https://twitter.com/ServerSideSwift/status/1265679330279067651

https://idk.dev/continuous-delivery-with-server-side-swift-on-amazon-linux-2/

https://swift.org/blog/aws-lambda-runtime/

https://fabianfett.de/getting-started-with-swift-aws-lambda-runtime

Pitch: non-public conformances implementing public API
https://forums.swift.org/t/pitch-non-public-conformances-implementing-public-api/37159

Automatic Requirement Satisfaction in plain Swift
https://forums.swift.org/t/automatic-requirement-satisfaction-in-plain-swift/37158

@BasThomas If there is nothing incredibly important. I would like to suggest postponing this issue until next week, given the unrest across the US right now.

An Implementation Model for Rational Protocol Conformance Behavior
https://forums.swift.org/t/an-implementation-model-for-rational-protocol-conformance-behavior/37171

@BasThomas If there is nothing incredibly important, I would like to suggest postponing this issue until next week, given the unrest across the US right now.

Sure, I'm ok with that. While I also wouldn't mind to publish (it might be a welcome distraction to some) postponing a week works, too.

For your information, I then do plan to write and publish issue 162 on June 18, a week after this issue, as there's a sponsorship that I don't feel like moving around :)

Sure, I'm ok with that.

Thank you @BasThomas @fassko. I appreciate you ❤

While I also wouldn't mind to publish (it might be a welcome distraction to some) postponing a week works, too.

Yes, perhaps. However, I would argue that the luxury of distraction is mostly (or only) afforded to folks whose communities have the privilege of not being directly affected by police violence.

https://twitter.com/mattt/status/1268611341557719040

“Loops” with Futures
https://forums.swift.org/t/loops-with-futures/37216

SE-0282 (Review #2): Interoperability with the C Atomic Operations Library
https://forums.swift.org/t/se-0282-review-2-interoperability-with-the-c-atomic-operations-library/37360

Draft PR: Multi-statement closure type inference.

Introduce support for type inference of closures with multiple
statements. Type inference flows from the closure parameters through
the body of the closure to determine the return type. This, for example,
allows a "map" closure with multiple statements to infer the result type
based on the "return" in the body:
let _ = ints.map { i in
 let value = i + 1
 return String(value)
}

https://github.com/apple/swift/pull/32223


Typo in ice_plot() regarding _get_quantiles()

There is a typo in the ice_plot() function when calling the _get_quantiles() function.  In lines 124 and 137,  the ice_plot() calls __get_quantiles() (which is undefined) instead of _get_quantiles(), which results in an error if trying to use quantiles or center the ICE curves.

Came on here to report the same issue with __get_quantiles() with an extra underscore. Is d-ICE supported in this package? Is that in the pipeline?

Hello, I just installed pycebox and am facing this issue. Has this been resolved or is there any idea why I would still be facing this issue? Thanks.

How did you install PyCEbox? Since this isn't actively maintained, I don't believe I released the version with the change to PyPI.  Perhaps you could try installing from Gitub and see if you get the fix?

One way to fix this is to monkey patch the pycebox.ice module as the original code calls this function instead of the coded _get_quantiles...
import pycebox.ice as icebox
def __get_quantiles(x):
    return np.greater.outer(x, x).sum(axis=1) / x.size
icebox.__get_quantiles = __get_quantiles

How did you install PyCEbox? Since this isn't actively maintained, I don't believe I released the version with the change to PyPI. Perhaps you could try installing from Gitub and see if you get the fix?

I tried installing from github but it still shows the same issue

One way to fix this is to monkey patch the pycebox.ice module as the original code calls this function instead of the coded _get_quantiles...
import pycebox.ice as icebox
def __get_quantiles(x):
    return np.greater.outer(x, x).sum(axis=1) / x.size
icebox.__get_quantiles = __get_quantiles

this worked for me , thank you "dmbaker"


Add two more tests to Linodes page

Coverage increased (+0.5%) to 67.835% when pulling d3d1ee905e95544b6ddfa30cbd4d381bd6df382d on eatonphil:testing/indexpage-button-and-select into c7d728fe4264bac67021a556c6438d7a77790680 on linode:master.

Coverage increased (+0.5%) to 67.835% when pulling 9e511403331fb98fea243780359c4b1e0cdef232 on eatonphil:testing/indexpage-button-and-select into c7d728fe4264bac67021a556c6438d7a77790680 on linode:master.

Ready for merge.

thanks


Add known wallet, add owner information, update Discord handles

Add Nanswap permanent address for Nano-GPT's bot on Banano Discord server.
Add some owner information.
Update Discord handles.

Thanks for the updates!


Linux 运行时报以下错误

failed to tokenize string!

运行环境：Centos 7
编译环境：cmake-3.26.3 gcc-11.2.1 make-4.3
模型：chatglm-6b   模型直接从huggingface下载的

输入是什么内容啊？

相同的输入，我测试没有问题

尴尬，这个怎么排查是哪的问题，有log没
ps：我在mac上编译运行可以，就是centos不行

Cmake 编译一个debug版本，gdb 看一看

好吧，我研究一下，cpp不太熟其实🤣

我找到问题了，但是不会解，发现是词表加载那块std::map的问题，已经加载的词会丢失，不知道是不是我centos机器太老的，标准库没升级

问题已解决，close

问题已解决，close

how did you fix it? i got the error like this:
failed to tokenize string!
[root@VM-0-15-centos build]# ./llama -m chinese-alpaca-7b-q4.bin -t 2
main: seed =<PHONE_NUMBER>
model is new , version = 1
load: n_vocab         = 49954
load: n_ctx           = 2048
load: n_embd          = 4096
load: n_mult          = 256
load: n_head          = 32
load: n_layer         = 32
load: n_rot           = 128
load: model ftype     = 2
total weight length =<PHONE_NUMBER>
main: interactive mode on.
sampling parameters: temp = 0.100000, top_k = 40, top_p = 0.950000, repeat_last_n = 64, repeat_penalty = 1.300000
== Running in chat mode. ==

Press Ctrl+C to interject at any time.
If you want to submit another line, end your input in ''.
failed to tokenize string!
Killed

failed to tokenize string!
Num     Type           Disp Enb Address            What
1       breakpoint     keep y   0x000000000040dc49 in inferllm::ModelImp::tokenize(std::string const&, bool) at /root/InferLLM/src/core/model_imp.cpp:83
breakpoint already hit 1 time
(gdb) bt
#0  inferllm::ModelImp::tokenize (this=0x7191b0, text=" Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n", bos=true) at /root/InferLLM/src/core/model_imp.cpp:83
#1  0x000000000040d57c in inferllm::ModelImp::prefill (this=0x7191b0, promote=" Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n") at /root/InferLLM/src/core/model_imp.cpp:23
#2  0x0000000000409344 in inferllm::Model::prefill (this=0x719180, promote=" Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n") at /root/InferLLM/src/core/model.cpp:33
#3  0x0000000000407131 in main (argc=5, argv=0x7fffffffe268) at /root/InferLLM/application/llama/llama.cpp:216
(gdb) c
Continuing.

failed to tokenize string

请问这个最后怎么解决的啊


Fixing whitespace issue

Description
Removing an extra space in the pubspec as per the issue.
Related Issues
Closes #41703
Tests
I added the following tests:
Just white space change so didn't add tests.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x] No, this is not a breaking change.

This is on purpose like this.

Are we sure @dariotrombello ? According to @escamoteur he tagged it as an issue

But I think these should even have 2 leading spaces like the fonts.

I checked it with a project which I created about 5 days ago. But I can do again with newly created one o current master

@zanderso for whom was that last comment?

So, is this okay or is this not needed? I can close the PR I was just trying to get involved and tackle the first easy issue.

@Alec13355 Thanks for doing this! I also wonder what's the status. We have to wait a bit I guess.

Ahh, sorry I misread the change. I see that this PR does update the templates. However, it looks like a space should be added rather than removed. The result of uncommenting should have the '-' under 'assets:' be under the second 's'.

@zanderso yes exactly.

@Alec13355 are you interested in continuing with this PR?


Put edgee sdk in a dedicated crate

The Edgee JS SDK is currently processed and rendered directly in this repo, but also in other repos.
It would make more sense to deport it to a dedicated crate, managed from the sdk repo itself.

Yes, I think you should reorganize a little the code using crates (Rust) & packages (JS/Typescript) root directories.
And add a private root package.json to handle workspaces.
edgee-react repo could be in packages and splitted to separate typing definitions, react/next in differents packages.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/1023 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target.git

Docs Build status updates of commit bd41870:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RepositoryUnauthorizedWithSourceCommit] Git data access to 'https://github.com/opstest2/docs-archive-test-source' (branch: Release_Archive_main_2022-02-07-02-13-46) is not authorized.. It looks like this might be the first time user: v-alji submitted a pull request to this repo. Before user can run builds in a pull request, he/she can enable 'v-alji' GitHub account in Docs by visiting Docs Portal (https://ops.microsoft.com). After enabling his/her account (v-alji), close and then reopen this pull request to start another build.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Overlay crash /stop?

I have tried it in a few games, and it seems that the overlay crash after sometime in game. The last 'overlay' that was draw its keeped on screen. I wish i could post any erros here, but on visual studios shows no erros, and even when i try to attach a debugger point on it, it nevers hits. Its seems like the loop inside of it its 'dead' or i don't know.

Try to reproduce the error in a little console app.
And please use "Debug" build configuration to debug your project.
No one can Help you with the given informations


create a pnotify directive

I expected <pnotify></pnotify> could be put in any page and then that could be triggered by $scope.

Cannot find good use case.


RHEL9 drops /etc/sysconfig/nfs

According to the RHEL9 release notes, /etc/sysconfig/nfs is no longer supported in RHEL9.  Folks are advised to use /etc/nfs.conf and /etc/nfsmount.conf

I ended up building : https://github.com/jcpunk/puppet-nfs

Thanks for the info!


[FileReaderProcessor, GithubDiscoveryProcessor] Detected conflicting entityRef after renaming the entity definition file

Hello,
I'm using the file reader processor as a source for my catalog location when running Backstage locally. It's set up with a wildcard target, so .e.g I have a single folder with multiple files, let's call it catalog and the target is configured as catalog/*.yaml. I've noticed that changing a name of any of the entity definition files causes the catalog processor to throw the following warning:

Detected conflicting entityRef system:default/x already referenced by file:old-file.yaml and now also file:new-file.yaml type=plugin

In fact, this also happens when moving existing entities between files, e.g. when ownership of those entities changes.
This issue prevents those affected entities to be reprocessed and their old versions remain in the catalog indefinitely until deleted manually.
I use github-discovery in production instead, but also with a centralised catalog location using a wildcard on a single folder, so I'm suspecting the same issue might also exist there, but I'll test that separately and confirm.
edit: I can confirm this issue also happens for the GithubDiscoveryProcessor.
This looks quite similar to #11483, except that it's related to the file reader location source.
Expected Behavior

I'd expect Backstage to detect when the existing entities have changed a location and process them successfully if there are no duplicates, i.e. if they don't exist in more than one location.
Actual Behavior

Backstage throws a warning (Detected conflicting entityRef) which prevents those affected entities to be processed automatically.
The only way to resolve this is to manually delete the existing entity and Backstage will process the new entity, however this is impractical to do for a non-small collection of entities.
Steps to Reproduce

Define a file location for the catalog in app-config.local.yaml, e.g.:
catalog:
  locations:
    - type: file
      target: ../../catalog/*.yaml

Create a simple entity definition file (e.g. test.yaml) in the catalog/ directory located at the root of the project, e.g.:
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
  name: test-group
  description: Test group
spec:
  type: organisation
  profile:
    displayName: Test Group
  children: []
---
apiVersion: backstage.io/v1alpha1
kind: System
metadata:
  name: test-system
  description: Test System
spec:
  owner: test-group

Run Backstage and let it process those entities.

Stop Backstage and rename the file, e.g. test2.yaml.

Re-run Backstage and see the conflicting entityRef warnings in the terminal, e.g.:

Detected conflicting entityRef system:default/test-system already referenced by file:/project-path/catalog/test.yaml and now also file:/project-path/catalog/test2.yaml type=plugin

Your Environment

Output of yarn backstage-cli info:
OS:   Darwin 21.6.0 - darwin/arm64
node: v16.16.0
yarn: 1.22.19
cli:  0.18.1 (installed)
backstage:  1.5.0

Dependencies:
  @backstage/app-defaults                          1.0.5
  @backstage/backend-common                        0.15.0
  @backstage/backend-plugin-api                    0.1.1
  @backstage/backend-tasks                         0.3.4
  @backstage/catalog-client                        1.0.4
  @backstage/catalog-model                         0.7.10, 1.1.0
  @backstage/cli-common                            0.1.9
  @backstage/cli                                   0.18.1
  @backstage/config-loader                         1.1.3
  @backstage/config                                0.1.15, 1.0.1
  @backstage/core-app-api                          1.0.5
  @backstage/core-components                       0.11.0, 0.9.5
  @backstage/core-plugin-api                       1.0.5
  @backstage/errors                                1.1.0
  @backstage/integration-react                     1.1.3
  @backstage/integration                           1.3.0
  @backstage/plugin-api-docs                       0.8.8
  @backstage/plugin-app-backend                    0.3.35
  @backstage/plugin-auth-backend                   0.15.1
  @backstage/plugin-auth-node                      0.2.4
  @backstage/plugin-catalog-backend-module-github  0.1.6
  @backstage/plugin-catalog-backend                1.3.1
  @backstage/plugin-catalog-common                 1.0.5
  @backstage/plugin-catalog-graph                  0.2.20
  @backstage/plugin-catalog-import                 0.8.11
  @backstage/plugin-catalog-node                   1.0.1
  @backstage/plugin-catalog-react                  1.1.3
  @backstage/plugin-catalog                        1.5.0
  @backstage/plugin-circleci                       0.3.8
  @backstage/plugin-explore-react                  0.0.20
  @backstage/plugin-explore                        0.3.39
  @backstage/plugin-github-actions                 0.5.8
  @backstage/plugin-org                            0.5.8
  @backstage/plugin-permission-common              0.6.3
  @backstage/plugin-permission-node                0.6.4
  @backstage/plugin-permission-react               0.4.4
  @backstage/plugin-proxy-backend                  0.2.29
  @backstage/plugin-scaffolder-backend             1.5.0
  @backstage/plugin-scaffolder-common              1.1.2
  @backstage/plugin-scaffolder                     1.5.0
  @backstage/plugin-search-backend-node            1.0.1
  @backstage/plugin-search-backend                 1.0.1
  @backstage/plugin-search-common                  1.0.0
  @backstage/plugin-search-react                   1.0.1
  @backstage/plugin-search                         1.0.1
  @backstage/plugin-tech-radar                     0.5.15
  @backstage/plugin-techdocs-backend               1.2.1
  @backstage/plugin-techdocs-module-addons-contrib 1.0.3
  @backstage/plugin-techdocs-node                  1.3.0
  @backstage/plugin-techdocs-react                 1.0.3
  @backstage/plugin-techdocs                       1.3.1
  @backstage/plugin-user-settings                  0.4.7
  @backstage/release-manifests                     0.0.5
  @backstage/test-utils                            1.1.3
  @backstage/theme                                 0.2.16
  @backstage/types                                 0.1.3, 1.0.0
  @backstage/version-bridge                        1.0.1
✨  Done in 0.80s.

In the mean time, there are some scripts floating around for auto-deleting orphaned entities, contributed by the community, for example this one https://github.com/backstage/backstage/blob/089fffc3e1d94e75bf95bb180cc49f3ce16d8c85/contrib/scripts/orphan-clean-up

Is it also the intention thaht it detects even if the locations are the same and the strings differ only in URL encoding? For example:
Detected conflicting entityRef location:default/main-index already referenced by url:
https://dev.azure.com/organization/Project/_git/repo?path=%2Fbackstage.yaml
and now also url:
https://dev.azure.com/organization/Project/_git/repo?path=/backstage.yaml
Can you handle this at the *Processor component level, or do I still need to delete such entities using the script above? Often this is an index and affects hundreds of entities.

Yes, we've discussed having some form of canonicalization of location URLs, but right now it's up to the providers to make sure they only use a single form of the URL. Of course this might be quite tricky when dealing with the location store, and it could be worth introducing some URL translation there


Issue on page k8s-1.21/ValidatingWebhookConfiguration

Description of issue

ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.

This looks like it was moved to v1.22 https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-22

Thanks for reporting this, I missed this issue getting opened and I apologize.
I just updated all the kubernetes openapi specs with the latest from the kubernetes repo. Unfortunately, they are the maintainers of the spec so if its still wrong I'd suggest opening an issue with them. The specs in this repo are just mirrors of the official spec here. They'd be the ones to maintain that.


Remote indicator stuck in 'Initializing' when resolver fails

Version: 1.58.0-insider (user setup)
Commit: 012b14606f75ec4fed90d7ab4154f63dffab9503
Date: 2021-06-11T05:14:11.473Z
OS: Windows_NT x64 10.0.19043

run from sources
in the settings set "testresolver.startupError": true,
open a testresolver window
the resolver fails (as configured), a dialog shows up, press ignore
the remote indicator continues to spin, the workbench is blocked

The workbench is stuck in _startLocalExtensionHost:
https://github.com/microsoft/vscode/blob/edba477349fbf7b7caee6ed553f511eb5754d923/src/vs/workbench/services/extensions/electron-browser/extensionService.ts#L421
_startLocalExtensionHost (extensionService.js:301)
_scanAndHandleExtensions (extensionService.js:264)
processTicksAndRejections (internal/process/task_queues.js:93)
await in processTicksAndRejections (async)
_initialize (abstractExtensionService.js:382)
(anonymous) (extensionService.js:43)
requestIdleCallback (async)
exports.runWhenIdle (async.js:665)
(anonymous) (extensionService.js:42)
Promise.then (async)
ExtensionService (extensionService.js:40)
_createInstance (instantiationService.js:90)
_createServiceInstance (instantiationService.js:197)
_createServiceInstanceWithOwner (instantiationService.js:185)
_createAndCacheServiceInstance (instantiationService.js:175)
_safeCreateAndCacheServiceInstance (instantiationService.js:128)
_getOrCreateServiceInstance (instantiationService.js:115)
get (instantiationService.js:38)
initLayout (layout.js:145)
(anonymous) (workbench.js:69)

Pushed a fix for this issue to main.


add interfaces for direct path, and StreamingEngineClient

Add interfaces/classes for direct path:
ProcessWorkItemClient
Exposed to ProcessWorkItem to give access to route GetData and CommitWork stream RPCs to the same workers where GetWork was called (currently StreamingDataflowWorker#process).
ProcessWorkItem
Replaces WorkItemReceiver, same but takes and exposes ProcessWorkItemClient instead of WorkItem.  Since  ProcessWorkItemClient needs a way to get data for work, refresh work, get side input data, and commit work, the place where its created (GrpcGetWorkStream) needs to be modified to accept GetDataStream (for keyed/state data), GetDataStream (global side input data), and a CommitWorkStream.
GetWorkBudget
A struct to model item and byte budgets for how much work a user worker can handle.  This is passed in GetWorkRequest(s) to Windmill to control how many items/bytes of Work is returned.
GetWorkBudgetDistributor
Given a set of WindmillStreamSender(s) and GetWorkBudget, distributes the budgets to the WindmillStreamSender(s) in some manner.
WindmillStreamSender
When the Grpc*Stream(s) are created, they immediately start the underlying grpc stream (startStream is called, and has protected access).  To be able to assign budgets and get the streams ready to be started (similar to GetWorkClientSender), WindmillStreamSender wraps the 3 WorkItem API RPC streams, and exposes a startStream, and closeAllStreams to manage the underlying streams. Once the streams are started they are cached (via thread safe memoization).  Once certain endpoints are stale, the closeAllStreams gives a way to close all of the underlying streams un a WindmillStreamSender instance.   This will also be an interface to adjust budget in the GetWorkStream as well as track windmill/backend worker backlog in the future.
DispatcherClient
Manages/vends out stubs and the dispatcher
Thread safe via synchronization on reads and writes.
Add StreamingEngineClient
Manages the available backend Windmill workers via GetWorkerMetadata.  This runs on a backround daemon thread.  Gets started via GrpcWindmillServer which handles the healthchecks for all unclosed streams.  We never close this stream.
Given a total budget, divides it amongst the available backend Windmill workers (represented as Endpoints, Connections, and WindmillStreamSenders) starts GetWorkStream(s).
Closes streams via WindmillStreamSender#closeAllStreams when the endpoint for the stream is not available in updated worker metadata.
Future changes need still:

Have GrpcGetWorkStream accept a GrpcGetDataStream and GrpcCommitWorkStream so that it can construct a ProcessWorkItemClient and pass it onto the ProcessWorkItem (replaces  current behavior whereWorkItem being passed to the WorkItemReceiver).
Integrate with StreamingDataflowWorker, might be worth having 2 different implementations of StreamingDataflowWorker since current MetricTrackingWindmillServer is used for GetData (keyed and global) fetches.
GetWorkBudgetDistributor implementation that distributes the budget evenly
A way to trigger budget rebalances in StreamingEngineClient.  Once we receive a change in the endpoint mappings, we need a way to redistribute the budget to the new worker set.  I have been looking for a publish/subscribe or observable pattern to do this.
Need to figure out a way to batch commits since they need to go to the same origin worker

R: @scwhittle
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] 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.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

still working on changes will ping when done @scwhittle
Changes are:

Also adding a unit test for StreamingEngineClient.

Instead of having raw threads in StreamingEngineClient I am opting for using 3 ExecutorService(s)  that are single threaded to handle the GetWorkerMetadata and budget refreshes

ExecutorService for starting the GetWorkerMetadataStream
ScheduledExecutorService for recurring budget refreshes
ExecutorService that has a runnable listening to  SynchronizedQueue, for triggered budget refreshes.

triggered when work is completed
triggered when WorkerMetadata is consumed

Thank you!

ready for another look thanks ! @scwhittle

@scwhittle added a lot of the refactoring changes to https://github.com/apache/beam/pull/29156
I will continue to work on this one while the other one is getting reviewed (addressing other comments and writing tests)

back to you @scwhittle !

thanks!
back to you @scwhittle !

@m-trieu Looks like there is an unvendored jar pulled in from the failing dependecy analysis test.

changed the imports to the vendored/java versions!
ready to merge @scwhittle
thank you!

Run Dataflow Streaming ValidatesRunner

rerunning the runner but seems to be an unrelated failure due to timeouts @scwhittle

Run Java PreCommit

rebased to master and rerunning precommit, it was previously timing out and not sure why.

rebase to master did it!

Thanks!

Hi, it appears a unit test added in this PR is flaky (could stuck indefinitely), see https://github.com/apache/beam/issues/28957#issuecomment-1852651527. @m-trieu would you mind taking a look? CC: @scwhittle


Benchmark wrong measure over 20000 iteration

Laravel Version: 9.46
PHP Version: 8.1

Description:
The following code took over 2 seconds:
Benchmark::measure(fn() => data_get([], 'a.b.c'), 20000)

But it returns:
0.0011045550000002

The reason for this is that the measurement setup utilizing 20000 iterations is both time- and memory-intensive. However, the resulting average speed for that specific closure is 0.0011045550000002.


Service Down

This service has gone down in the last week. Any idea if it will be back up?

Just wanted to bump this, https://master-server.opengsq.com/ is still showing 503 error


Will Nyancat be published in NuGet for .NET 6?

Hello!
I wanted to know if Nyancat will be published for .NET 6 in NuGet.org anytime soon because, after installing it as a global .NET tool in a machine with the SDK of .NET Core 3.1, .NET 6 and .NET 7 installed, this error is displayed when trying to run it:
You must install or update .NET to run this application.

App: C:\Users\Jorge\.dotnet\tools\nyancat.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '5.0.0' (x64)
.NET location: C:\Program Files\dotnet\

The following frameworks were found:
  3.1.32 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  6.0.20 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  7.0.9 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

Learn about framework resolution:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=5.0.0&arch=x64&rid=win10-x64

I can see that Nyancat is compatible with .NET Core 3.1 and .NET 5 in NuGet.org:
https://www.nuget.org/packages/nyancat#supportedframeworks-body-tab
However .NET 5 is out of support since May 2022, according to the support lifecycle:
https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core
And according to the code, there is support for .NET 6 in the Nyancat.csproj file, so I think the code is not the issue. Maybe the GitHub Action workflow has to be run to push the .NET 6 compatible version?
Thanks for your help on this!

Ah, I see what happened now. I never tagged up the repo, so a new version with .net 6 never went out to Nuget. Thanks for flagging this. I'll have a look at it this week. :+1:

Hi @vandycknick is there any update on this one? There is no recent version compatible with .NET 6 in NuGet yet.


REQ: Remove-Service cmdlet

Hi,
Since we have get-service,start-service,and some other functions about windows service.
Is it possible to add intall-service and uninstall-service?
I am using installutil.exe tool to do the installation and uninstallation.
sometimes, the uninstallation did not work.
installutil /u

then I need to switch to cmd prompt,and use
 sc delete

If you can support install and uninstall service,it will be great.
Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      6.0.0-beta
PSEdition                      Core
GitCommitId                    v6.0.0-beta.6
OS                             Microsoft Windows 10.0.10586
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

By the way, when the installutil.exe /u did not work. It is something like this.

Install-Service named New-Service:
name    New-Service
Creates a new Windows service.
but ps team not give us remove-service.

@chuanjiao10  thanks,new-service works.

There isn't a Remove-Service.  If needed, it would be an enhancement.

@SteveL-MSFT  Would you add remove-service to an enhancement list?

@chucklu I've updated the title of this to reflect the ask, currently no plans to implement this

@SteveL-MSFT  Thanks,I wish you guys can implement it  in the future.

@chucklu workaround for now:
get-ciminstance win32_service -filter "name='yourservicename'" | remove-ciminstance

@SteveL-MSFT  thanks,I also find the command in powershell doc
PS C:\> sc.exe delete TestService
- or -
PS C:\> (Get-WmiObject win32_service -Filter "name='TestService'").delete()

It's not convenient, if you can support Remove-Service, it would be great.

Get-WmiObject is deprecated and replaced by Get-CimInstance

thanks

Closed by #4858


Publish DID method crates with ssi v0.3

Increment the version of the DID method workspace crates, to prepare for publishing to crates.io.
Summary of changes
For more details, see the Changelog, commit history, and issue/pull-request threads.
Common changes

Update versions. Update from 0.0.x to 0.1.0 for some, so that dependents can use ranges.
Remove unnecessary contentType and created DID resolution metadata.
Improve CAIP-2 conformance in blockchainAccountId

Crate changes
did-pkh

v0.0.1 → v0.1.0
Remove incorrect crate keyword
Use CAIP-26 in Tezos blockchainAccountId
Add did:pkh:celo and did:pkh:poly (Note: these will be deprecated in favor of did:pkh:eip122 in #279/#286)

did-tz

v0.1.0 → v0.1.1
Remove libsecp256k1 dependency
Use api.tzkt.io instead of better-call.dev
Use CAIP-26 for chain id in blockchainAccountId.

did-ethr

v0.0.1 → v0.1.0
Support public key DID variant.

did-web

v0.1.0 → v0.1.1
Add User-Agent header in requests.
Fix returning notFound error code.
Fix typo in readme.

did-onion

v0.1.0 → v0.1.1
Add User-agent header in requests

did-key

v0.1.1 → v0.1.2
Support BLS 12381 G2 (did:key:zUC7K)
Use EC compression for P-256 (did:key:zrur → did:key:zDna)
Fix JSON-LD document results

did-webkey

v0.1.0 (initial release)

Publish commands
Remove --dry-run to publish for real (with permission).
cargo publish --dry-run --manifest-path did-tezos/Cargo.toml --features ssi/ring,ssi/rand
cargo publish --dry-run --manifest-path did-ethr/Cargo.toml --features ssi/ring,ssi/rand
cargo publish --dry-run --manifest-path did-pkh/Cargo.toml --features ssi/ring,ssi/rand
cargo publish --dry-run --manifest-path did-key/Cargo.toml --features ssi/ring,ssi/rand
cargo publish --dry-run --manifest-path did-web/Cargo.toml --features ssi/ring,ssi/rand
cargo publish --dry-run --manifest-path did-onion/Cargo.toml --features ssi/ring,ssi/rand
cargo publish --dry-run --manifest-path did-webkey/Cargo.toml --features ssi/ring,ssi/rand

Published

did-webkey v0.1.0
https://github.com/spruceid/ssi/releases/tag/did-webkey/v0.1.0
https://crates.io/crates/did-webkey/0.1.0
https://github.com/rust-lang/crates.io-index/commit/95be579179e6a351a9c8029c7093bc556fd78f2c

did-web v0.1.1
https://github.com/spruceid/ssi/releases/tag/did-web/v0.1.1
https://crates.io/crates/did-web/0.1.1
https://github.com/rust-lang/crates.io-index/commit/fb48f2a8179b76c4425a2ea81cdb727c73634513

did-method-key v0.1.2
https://github.com/spruceid/ssi/releases/tag/did-method-key/v0.1.2
https://crates.io/crates/did-method-key/0.1.2
https://github.com/rust-lang/crates.io-index/commit/df31eaaf36e45c4ae2ee40355513be5cd72d6ba0

did-ethr v0.1.0
https://github.com/spruceid/ssi/releases/tag/did-ethr/v0.1.0
https://crates.io/crates/did-ethr/0.1.0
https://github.com/rust-lang/crates.io-index/commit/a93fd77a55bc2b565b7ea1d241e7636e992c1ccb

did-tz v0.1.1
https://github.com/spruceid/ssi/releases/tag/did-tz/v0.1.1
https://crates.io/crates/did-tz/0.1.1
https://github.com/rust-lang/crates.io-index/commit/80a6a4269d966c08888cc3eec46e2fdf0332e782

did:pkh v0.1.0
https://github.com/spruceid/ssi/releases/tag/did-pkh/v0.1.0
https://crates.io/crates/did-pkh/0.1.0
https://github.com/rust-lang/crates.io-index/commit/68ccf4b840f81a9687d60df8da7238eb51c30a16

did:onion v0.1.1
https://github.com/spruceid/ssi/releases/tag/did-onion/v0.1.1
https://crates.io/crates/did-onion/0.1.1
https://github.com/rust-lang/crates.io-index/commit/c8901e6c48f41c5eedf0781b810e6bf323196d32


Fix comparison sample/patient removed check

Sample and patient removals not being detected for:
Rscript genie-bpc-quac.R -c NSCLC -s all -r comparison -l error -v

Default for conversion of timezones for date compare was using the system timezone as the current.  By the Synapse client ModifiedOn attribute is always in 'UTC'.  Need to change default to 'UTC".


[Android] load multiple image at once problem

When we try to load multiple image instance on the same time, the android app display some images while other are not shown!
After reviewing the code, and debug the app and stop it on loadBitmap function in ImageShadowNode it seems that the app working correctly because of the delay between the image loads.
Is there any workaround? and can we use on disk cache nested of the current bitmap cache implementation?

I have the same issue when I'm trying to render multiple images at the same time.
Sometimes when I reload my page, all the images are rendered. I tried to reduce my images' resolution but I still have this problem.
If there is a workaround I'll also take it!

@yermangderrff we use disk cache to overcome this problem and it's works for us.
Here is the modified android ImageShadowNode class
@Override
    public void draw(final Canvas canvas, final Paint paint, final float opacity) {
        if (!mLoading.get()) {
            final ImageSource imageSource = new ImageSource(getThemedContext(), uriString);

            final ImageRequest request = ImageRequestBuilder.newBuilderWithSource(imageSource.getUri()).build();
            if (Fresco.getImagePipeline().isInBitmapMemoryCache(request)) {
                tryRender(request, canvas, paint, opacity * mOpacity);
            } else {
                loadBitmap(request, canvas, paint, opacity * mOpacity);
            }
        }
    }

with
@Override
   public void draw(final Canvas canvas, final Paint paint, final float opacity) {
       if (!mLoading.get()) {
           final ImageSource imageSource = new ImageSource(getThemedContext(), uriString);

           final ImageRequest request = ImageRequestBuilder.newBuilderWithSource(imageSource.getUri()).build();

           if (Fresco.getImagePipeline().isInDiskCacheSync(request)) {
               tryRender(request, canvas, paint, opacity * mOpacity);
           } else {
               loadBitmap(request, canvas, paint, opacity * mOpacity);
           }
       }
   }

and
private void loadBitmap(ImageRequest request, final Canvas canvas, final Paint paint, final float opacity) {
        final DataSource<CloseableReference<CloseableImage>> dataSource
            = Fresco.getImagePipeline().fetchDecodedImage(request, getThemedContext());
        dataSource.subscribe(new BaseBitmapDataSubscriber() {
                                 @Override
                                 public void onNewResultImpl(Bitmap bitmap) {
                                     mLoading.set(false);
                                     SvgViewShadowNode shadowNode = getSvgShadowNode();
                                     if(shadowNode != null) {
                                         shadowNode.markUpdated();
                                     }
                                 }

                                 @Override
                                 public void onFailureImpl(DataSource dataSource) {
                                     // No cleanup required here.
                                     // TODO: more details about this failure
                                     mLoading.set(false);
                                     FLog.w(ReactConstants.TAG, dataSource.getFailureCause(), "RNSVG: fetchDecodedImage failed!");
                                 }
                             },
            UiThreadImmediateExecutorService.getInstance()
        );
    }

with
private void loadBitmap(ImageRequest request, final Canvas canvas, final Paint paint, final float opacity) {

       final DataSource<Void> dataSource = Fresco.getImagePipeline().prefetchToDiskCache(request, getThemedContext());

       dataSource.subscribe(new BaseDataSubscriber<Void>() {
           @Override
           protected void onNewResultImpl(DataSource<Void> dataSource) {
               mLoading.set(false);
               SvgViewShadowNode shadowNode = getSvgShadowNode();
               if (shadowNode != null) {
                   shadowNode.markUpdated();
               }
           }

           @Override
           protected void onFailureImpl(DataSource<Void> dataSource) {
               // No cleanup required here.
               // TODO: more details about this failure
               mLoading.set(false);
               FLog.w(ReactConstants.TAG, dataSource.getFailureCause(), "RNSVG: fetchDecodedImage failed!");
           }
       }, UiThreadImmediateExecutorService.getInstance());
   }

Where do i find this file


DrawingManager markercomplete example

I'm trying to get the gps of a marker when added to the map, I understand I'm supposed to use the Device Manager and markercomplete but I can't get it to work. Wondering if anyone had an example they could share? I was going to post this on stackoverflow but I didn't see a react-google-maps tag.
Thanks

We're going to look into this shortly.
We're also looking for maintainers. Involve in #266 to help strengthen our community!


Fix: disable git's safe.directory handling completely

Starting with GIT 2.35.3, GIT disallows operating on directories owned by other users.
This is to prevent hooks from taking over the system, but this container is a single-user
environment, and hooks are generally not configured on checkout anyway.
This container has a different $UID/$GID than the parent worker, which performs git clone.
With this git config change, we ignore this security scenario completely.
Ref: https://stackoverflow.com/questions/71849415/i-cannot-add-the-parent-directory-to-safe-directory-in-git/71904131#71904131

Q
A

Documentation
no

Bugfix
yes

BC Break
no

New Feature
no

RFC
no

QA
no

Reference: https://git-scm.com/docs/git-config/2.35.2#Documentation/git-config.txt-safedirectory

Thanks for the quick review, @froschdesign!

This needs to be replicated to operate with testuser. My steps in Dockerfile are applying this change for root :facepalm:


Is possible to define the network interface (Question)

Hello,
Is possible to define the network interface where we want to search the Instances(mdns)?
Thanks

Yes, this is already supported via the Query.runOnceOn() method.

Sorry, I was using the version in maven repository and in there that function doesn't exist

Ack, sorry about that. I'll get an updated release pushed as soon as I can
:)
On Mon, Oct 3, 2016 at 9:49 AM, aabf<EMAIL_ADDRESS>wrote:

Sorry, I was using the version in maven repository and in there that
function doesn't exist
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/fflewddur/hola/issues/5#issuecomment-251159733, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFSZ_YKF_oRTbBlyv3B5F6ycRB2a_56uks5qwTIrgaJpZM4KMku5
.

Thanks :-) When you update the maven can you tell me? Thanks

Sorry it took so long, but I just updated maven.

No problem. :-)
Thank you very much


Help with reddit API

I am trying to create something similar using Go language called go-wallpaper.
I am using reddit API too. It worked fine in the beginning, but after some time I started to get 429 Too Many Requests. I don't know what I am doing wrong, I tried to change user-agent header as well but can't get it to work. Could you please help me out?

Thank you for anwering me on Telegram. I closed this


Clean up proof_allocators

Description of changes:
Refactor the proof_allocators used by CBMC, which clearer comments.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The fix to CBMC has been merged, rebasing this PR onto latest master should do the trick.

@danielsn is it necessary to have static versions of everything? The static-removal patch is merged into CBMC, does that help?


(Ideology) Some social opinion modifiers originating from ideos not showing in pawns' social tabs

IMPORTANT:
Please first search existing bugs to ensure you are not creating a duplicate bug report!
Make sure you have the latest version of Rimworld!
Describe the bug
Noticed first with Blindness meme. The modifiers [Blind (Ideoligion): +50] and [Sighted (Ideoligion): -30] disappeared from my colonists' opinions of each other when I added RimThreaded. Did some testing after with new colonies; seems to happen with other precepts as well but not all. Try the steps below:
Steps to reproduce the behavior (VERY IMPORTANT)

Start new colony (default until ideo page)
Choose an preset ideo (next steps are for "Nature over Man")
Accept random colonists and start game in temperate zone
Have a colonist strip all clothes and have another cut down a tree
In vanilla+Royalty+Ideology, after a few seconds, colonists will have an [Uncovered Groin/Chest (Ideoligion): -18] opinion debuff for the first colonist and [Cut Tree (Ideoligion): -8] debuff for the other.
With Rimthreaded enabled, only the cut tree debuff appears; wait for a few days to confirm

HugsLib log
https://gist.github.com/HugsLibRecordKeeper/f01842407ba4af798e196cec86c6ef46
Save File
nature over man rimthreaded.zip
Mod list (For vanilla report, it has to be same as below list.)

Harmony
Core
Royalty (Optional)
Ideology (Optional)
HugsLib
RimThreaded

thanks for the report.
you can attach the save file if you zip it first.
that could be helpful if you could edit your report with the save

ok, i added the save file now, my script-blocker was stopping the upload

That problem occurs for me for also social impact. Not working since forever (experimental also doesnt work), are passive social impacts generated via second hand events. F.e Boddy modders. They usally have a +8 Opinion towards each other for every part, stacking to +40.
Social impacts generated via direct/ active events, such as "mother/ father", "son/sister" work fine.
Passive impacts of Ideology dont work neither, with the same system then social ones not applying.
Debuffs generated passive (like missing roles) do not work. Active buffs/ debuffs caused via active events (such as stated before, a "living" mother), such as Kills, Suicides, Events like parties, executions, mod related events work fine.
So its seems the check for inactive/ passive events/ moodles is not working correctly if I take that wide guess.