Added the godot color constants to gdnative::core_types::color

While I was working on the color changes for the previous PR related to the color module. I also realized that godot's predefined colors don't currently exist in the rust library. So I went ahead and ported the the predefined colors that are [defined at this linkhttps://docs.godotengine.org/en/stable/classes/class_color.html#constants) into godot rust. I added them all as public constatnts to the gdnative::core_types::color module.
One downside of this is that it clutters up the color module (especially after rust fmt expands them all to 6 lines each)
Having the color constants is very useful for any modules that need quick access to some default colors, but I would understand if this would be better moved to another module.
If there's a better place to put these definitions, please let me know and I'd be happy to make the changes.

Furthermore, is choosing colors in Rust code a typical use case?
To me colors are something that is typically selected in GDScript, in the Godot editor (with custom properties) or some other external configuration format. I'm not sure if this adds a lot of utility compared to the maintenance cost.

This is probably related to my specific use case. For my game, I'm porting an ascii game from crossterm to godot as I for the gui/particles/audio backend functionality.
As such, my use of the editor is limited and individual characters only have a foreground and background color component. To indicate render errors or other issues, I always set the fg/bg colors of an entity to something that sticks out to represent the kind of error visually like red, magenta, yellow, etc. Defining those colors multiple times prompted this change in my fork.
The main reason I didn't put these in a Color impl block was due to how it gets in the way of a bunch of autocomplete. I'd be happy to make the proposed changes if the use case sounds reasonable.
Otherwise, I could just put the predefined colors directly into my game as a utility module.
Please feel free to reject this PR if this use case feels like too much of an edge-case for the bindings.

Defining those colors multiple times prompted this change in my fork.

I'm sure you can put that into a utility module in your project, as you said below yourself?

The main reason I didn't put these in a Color impl block was due to how it gets in the way of a bunch of autocomplete.

IDEs will get better. Associated constants are being used in std so I don't see why we should avoid them.

if this use case feels like too much of an edge-case for the bindings.

I'm afraid I do think so. In fact I have never touched the constants even in GDScript. As you have said it might be useful for some cases like terminal emulation, but even then you'll eventually want to enable users to change the colors through configuration, no? All in all I'm not sure if this is worth the maintenance. Let's see if @Bromeon has any further opinions.

Another question: are the color constants somehow exported through the GDNative API, so it would be possible for us to generate them?
Other than that, the only use case I'd see is to allow quick'n'dirty debug drawing with predefined colors. More serious games usually have their own color palette, which gets tweaked anyway as a part of graphics polishing. So I'd also tend to wait until more use cases emerge; it's always possible to extend the API but harder to remove features.

are the color constants somehow exported through the GDNative API, so it would be possible for us to generate them?

Not for core types, but supposedly 4.0 has a runtime discovery API that exposes them. It's not at all obvious how we should approach that as a compiled language, though. The API is touted as a replacement for manually-written bindings, but I can see a significant performance hit with simpler types due to the FFI involved. I'm also not sure how it would work with typestates.

So I'd also tend to wait until more use cases emerge; it's always possible to extend the API but harder to remove features.

I agree. It seems like the current consensus is that we should wait until more use cases emerge, so I'm closing this for now. Thanks for contributing regardless!

Thank you for taking the time to review this PR and share your insight! It is always a pleasure to learn from you!


Access root folder / Get out of home-directory

Hey there :)
I'm using webmin for the first time and trying to figure out everything. Since NPAPI plugins won't be supported by Chrome pretty soon I was very glad to find your filemin, so I can use a file manager that still works.
One thing I'm wondering is how I can get out of the home directory when using filemin. There is no ".." or anything that is obviously navigating me out of there...

In version 0.9.2 ACL was added, you have to navigate to Webmin->Webmin Users->$YOUR_USERN_NAME->Available Webmin modules (in addition to those from group) and click Filemin. You will see "Filemin access control options", input desired paths here, like /usr/share/webmin etc, one per line. If you want a full FS access then input only one option "$ROOT" there, and you'll be happy. But be aware that you will be working with your user privileges, no sudo at this time. If you want to have "root" privileges you'll have to login as "root".

Thanks for clearing that up :).


kittycad-kcl-lsp

The kcl Language Server Protocol

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Commit message should be:

kittycad-kcl-lsp: init at 0.1.61

And then, include release notes for it at commit message body:

Release: https://github.com/KittyCAD/kcl-lsp/releases/tag/v0.1.61

There should be no "version" in commit title or PR title.
I suggest you rename PR to: kittycad-kcl-lsp

Also squash commits. Ideally it should be a single commit per package.

In case you are seeking KCL (Kubernetes) language server, I have it packaged here, and I was waiting for kcl package to be reviewed before upstreaming it.

I think I've addressed all review comments. Thanks everyone for the feedback.

You have not. Are my comments/reviews not showing up for you?

Please note the path is wrong:

pkgs/by-name/kc/kittycad-kcl-lsp/package.nix

It should be /ki/.

PR title should be:

kittycad-kcl-lsp: init at 0.1.61

@superherointj  I have changed the PR title to kittycad-kcl-lsp: init at 0.1.61.
Let me know if it conforms to the guidelines or standards.
Thanks

The commit that adds yourself as a maintainer should be a different commit.

@superherointj I have changed the PR title to kittycad-kcl-lsp: init at 0.1.61. Let me know if it conforms to the guidelines or standards. Thanks

I would separate the commit adding myself as maintainer. And would title it (for git commit):

maintainers: add jljox

The maintainer commit should precede the package commit (or else nix eval fails when doing bicep, for example).
Also I said 'commit' not PR. It should be a single PR with two commits.


Is the bot running correctly?

My PR #191 for adding a new language should have triggered the creation of a new repository last Monday to the reactjs org but it hasn't.
From the readme:

Once the PR is accepted, the bot will:

Create a new repository for you at reactjs/{lang-code}.reactjs.org
Add/invite all maintainers listed to a "reactjs.org {language} Translation" team in the reactjs organization
Create an issue from PROGRESS.template.md in the new repository to track your translation progress

The Procfile has the scripts automated to run on Mondays at 08:00.
https://github.com/reactjs/reactjs.org-translation/blob/720817338730965829cfe192ef1bbd4da47b3be5/Procfile#L1
I've already created a repository under my profile, but for the sake of consistency, I would like to migrate it under the reactjs org. Thanks!

cc @bvaughn I remember we moved the script out of Nat's Heroku instance but I can't find where we documented the new setup... Do you have access to this?

ahhh ok

It's possible the script has since stopped working (maybe a token has expired or something?) Haven't thought about the script in several months.

Hmm, is the sync script responsible for granting repo permissions? I'm looking at it now but I think it's only sending PRs. There's something else that's supposed to grant repo permissions. I'll find your post after breakfast..

To clarify, the problem isn't with the sync but with creating a fork automatically and updating translation maintainers

I don't remember but I think there may have been a manual step involved. I'd have to re-read my old notes (post)

@bvaughn Re-reading your post, it's entirely concerned with translation content syncing. All the logic for the permission syncing is still in this repo. I presume it was never hooked up to GH Actions, which is why it stopped working the moment Heroku was disconnected.

@gaearon I can believe it. It's been years since I've been involved with this and I don't even have access to my old notes or the post you're talking about.

OK that makes sense. Do you remember if there's any reason this repo has permissions set to everyone? I was thinking of moving the syncing script back, but removing permissions for everyone except org admins. So we'd review the maintainer change requests (which are rare), but the script would be public. Does this make sense?

Honestly I don't know. I thought I had setup GH actions for the permissions specifically because that seemed like a security concern. I don't have access to notes (or even the actions or org settings anymore) to confirm that or to jog my memory though, and it's been years.
You probably have more context than I do at this point regarding what makes the most sense.

@mirorauhala Apologies for this — our bad. (We were already working on the new site so didn't feel like this was urgent.) We're fixing this soon: https://github.com/reactjs/translations.react.dev/pull/285

Fixed by https://github.com/reactjs/translations.react.dev/pull/285.

https://github.com/reactjs/fi.react.dev/issues/1


Made home and contributor page font family consistent

Fixes Issue🛠 #421

Closes #421
Description👨💻
I have fixed the contributor.css file code and made the font family same for both the pages Navbar elements.

Type of change📄

[x] Bug fix (non-breaking change which fixes an issue)

How this has been tested✅

Checklist✅

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I am an Open Source Contributor

Screenshots/GIF📷
Home Page(No change)

Contributor Page (changed)

Merged 🎉 @amansgith


Fix python3 support. May break python2.

Fixes #1640
However this may break python2 support.
Before merging it should be tested if python2 projects still work fine.

This change is

I was a few minutes quicker, see https://github.com/heremaps/oss-review-toolkit/pull/1641 😋 But anyway, I'd rather have your contribution than mine, I've contributed enough already 😉

Also just saw it ;).
That is nice of you, but I also tested your PR and that also works.
So go ahead and merge yours since it will not break python2...

Ok, so closing this in favor of https://github.com/heremaps/oss-review-toolkit/pull/1641 (which will still need a peer-review before I can merge it).


Pin event model version

The dev portal was broken by a broken event model version

@keithralphs how to reproduce the issue? it's likely this is no longer an issue


oAuth not redirecting back to application

Hello Ivan,
ISSUE: The code does not seem to hit "http://localhost:4000/api/v1/auth/twitter". The popup seems to return to the callbackurl defined in the Application Settings on the developer dashboard.
EXPECTED BEHAVIOUR: I expected the popup to close and return to http://localhost:4000/api/v1/auth/twitter where the code would be verified and then saved to the user model.
I am new to Twitter API and oAuth.
I have implemented your code and the Twitter window appears.
When i authorize my application, it will then redirect to the callbackurl defined in the Application Settings.
This does not return to my current app with the token information that was requested.
This endpoint does not exist in the application.
oauth_callback: "http%3A%2F%2Flocalhost%3A3000%2Ftwitter-callback",
Should the callback be router.route('/auth/twitter')?
Should this be defined in the Application settings?

Custom Twitter Login content

Are you following the guide https://medium.com/@robince885/how-to-do-twitter-authentication-with-react-and-restful-api-e525f30c62bb ? I changed the .post('/auth/twitter) to .get('/auth/twitter). WHen you do this
http://localhost:4000/api/v1/auth/twitter is hit, but the res.json is returned to the pop up window.
Any update on this issue?

@Neuroforge  any luck getting it to work?

@Neuroforge @ragrag do you have any info how to solve this?


Retrieve boost log level from runtime environment

I made a small modification so that the log level for the boost unit testing framework is retrieved from the runtime environment.
I hope this helps, cheers!

Still no answer, closing


Updating RepoM when already running causes error

The RepoM installer throws the following confusing error if it is being updated without being shut down first:

I know that installing RepoM while running causes problems.
Possible solutions:

force RepoM to close from the installer
make it possible to overwrite dlls when running
install after shutdown mechanism

ideally the installer should close the app first.

https://stackoverflow.com/questions/2565215/checking-if-the-application-is-running-in-nsis-before-uninstalling


Development Merge into Stable - Winter 2020-2021

Panix 0.2 Release Candidate
Requirements before merging:

[x] Tasking with synchronization primitives (#147)
[x] Stability testing

[x] Dynamic memory
[x] Tasking

[x] Global constructors
[x] Bump version number everywhere necessary

Okay, so we're not going to bump versions in the file headers, but will instead tag the commit as 0.4 and mark it as a release.

@micahswitzer wants to have a tasking demo, so we're opting to calculate Pi and display it when complete.

Closing because the WIP bot was blocking our merge.


[EventRequest] Job.Table.al (table 167 Job)

Hi MS,
Please help us in migrating our verticalized solution by adding below events in Job.Table.al Table.
Standard Code

Modified Code

Event Signature

Thanks
SUD

Use the event OnBeforeValidateShortcutDimCode() created for https://github.com/microsoft/ALAppExtensions/issues/6315


Attempt Codecov Fix

Summary of changes
Asana Ticket: Fix Codecov for Dotcom
There are multiple ways to configure GitHub integrations with Codecov: One option is to use a “bot user” that authenticates, and another is to use the GitHub application integration. We were using both in our org, and it was messy.
So I’m trying to move away from the bot user. Apparently that means removing this line that explicitly tells Codecov to use the bot user instead of the integration.

Assigned to: @amaisano

@ianwestcott If you bring this up-to-date with master it should pass CI (flaky Elixir tests aside).


nushell: refactor

Description of changes

fix tests on darwin
respect withDefaultFeatures = false
don't use lib.optional in a list
remove libiconv from buildInputs since it is the default
formatting

Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@ofborg eval


Added all legal docs

In order to deprecate https://github.com/aragon/legal

Great, should we merge @Smokyish ?


Update README.md

Summary
SUMMARY_GOES_HERE
Full changelog

[Implement ...]
[Add related tests]
...

Issues resolved
Fix #XXX

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

ok

Closing as it seems invalid PR.


Add executors setup process

Current dependencies on/for this PR:

main

PR #2648   (this PR)

This comment was auto-generated by Graphite.


Impossible to use Flow without having to constantly restart the server

There are already a couple of open issues on the topic: #4278 #2789 and #4248
I'm running on a mac, and none of the proposed solution there worked for me. This means that I simply can't use Flow at all. Restarting the server on every file save is just not feasible.
What I would like to know is if this issue is fixable, and if I should bother investigating more.

Can you post some details about your set? OS version, flow version, etc.? Also anything else relavant to the environment: running in a VM? docker? etc.
There's something specific going on because many folks use flow on Mac without this problem, so I think we need more info to track it down.

Apology for the lack of information.
So, I'm running it on MacOs Sierra v10.12.5 with flow 0.54.0. My node version is v.8.4.0.
I'm not running any VM, docker or other stuff.
I installed flow globally and locally using both npm and yarn, and tried running it from both local and global locations, with the same result :(

3 years late, but is this still an issue? Flow tends to restart if certain things are changed. in particular, files in your lib directory (flow-typed) or changes to .flowconfig. Simply changing source code should not cause a restart.

The issue was likely fixed a long time ago.


Three-document format or one-document?

When I shared around the JSFoundation code of conduct before the January meeting, a few people responded with the general message, "where's the specificity around reporting and enforcement"? It's there, just in two separate, linked documents. This code of conduct preserves the factoring. I see a big benefit in terms of, most of the time, people should just think about the recommendations for their own conduct. However, is this format sufficient for the committee to do reviews? Should it be in a single document for ease of skimming, as most other CoCs are?

Browsing the parts of this CoC with multiple docs is comfortable and easy for me. That's my personal opinion and for sure it's not valid to everyone and neither represents a majority.
I'm neutral to any format if we decide on one based on how it is easy to be consumed.

Do we have more feedback on this?
I worked on several feedbacks and the current format was ok.

OK, seems fine to me, unless the people who mentioned this before want to raise this concern further. I just wanted to make sure the point wasn't lost.

My personal, subjective opinion so far: for the website, it's easier to read it with different pages. As the Ecma document, the same page is enough. I'll probably merge the Index with the Enforcement and Reporting files and experiment. It should be easier to release is an Ecma's document.


Added space to column table headers

Added space to column table headers for AWS & OCP details page
Fixes https://github.com/project-koku/koku-ui/issues/236
AWS details page

OCP details page

Deploy preview for project-koku ready!
Built with commit c3f0fa76de6b6c872ab8d6db4f21cdba0a5135f1
https://deploy-preview-254--project-koku.netlify.com

Codecov Report

Merging #254 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #254   +/-   ##
=======================================
  Coverage   91.92%   91.92%
=======================================
  Files         120      120
  Lines        1374     1374
  Branches      160      160
=======================================
  Hits         1263     1263
  Misses         99       99
  Partials       12       12

Continue to review full report at Codecov.

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


Add robust huber loss function

Add the robust Huber-loss function to the library. The loss function is less sensitive to outlier data and is often used with noisy data.

This function has recently been implemented in Scalismo (see https://github.com/unibas-gravis/scalismo/blob/develop/src/main/scala/scalismo/registration/MeanHuberLossMetric.scala).


Error in Spark Operator Test

I tried running this class in my Intellij. However I got the following error;
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
22/04/07 11:31:38 WARN Utils: Your hostname, xxx resolves to a loopback address: <IP_ADDRESS>; using <IP_ADDRESS> instead (on interface wlo1)
22/04/07 11:31:38 WARN Utils: Set SPARK_LOCAL_IP if you need to bind to another address
java.lang.ExceptionInInitializerError
I think it is a local machine problem in my side. If so, do we need to also add documentation for people trying to use Spark?

Sorry,
So I just need to open the terminal of the project and just type EXPORT SPARK_LOCAL_IP=MY_IP in the command line?

Yes, in a terminal or via export variables in your IDE. That should to the trick :)

Yes, I wrote a small blog post about:
https://mapredit.blogspot.com/2021/09/compile-apache-wayang-on-mac-m1.html
For OSX it's easy with brew

@regaleo605
Did you solve it?

More or less, so if you don't install Spark then you can't use the command export SPARK_LOCAL_IP in the terminal.
I assume that is also the case with sqlite and maybe other wayang platform?
Thank you in advance

Yes, you need to have access to the platforms to use Wayang. Wayang is a sublayer above the processing frameworks you want to use: wayang.apache.org/documentation
https://github.com/databloom-ai/BDE is a full prebuilt dev environment, comes also as docker container.

No wonder, then issues solved. Thank you for the clarification. It was helpful


identifiers before arrow function in Set constructor are not highlighted correctly

codes like following are not highlighted correctly.
let s = new Set(arr.filter((x) => { return x.p == 1; }));
//                 ^^^^^^^^^

I found that adding @javascriptExpression in the contains of javascriptFuncArg will solve this issue.
But I am not sure if this is the right way to solve this problem.

It works ok on webidl branch.
I am working on ti now.

This should be fixed. Please verify again. Thank you.

I downloaded the plugin yesterday and it fails on a simple
(() => false)
 ^


Enable full control of conjurations

Enable full control of conjurations from spells

conjure animals
conjure minor elementals
conjure elemental

Generally looks good, but waiting to approve until ThyWoof's comments are addressed.


Enhancement: COMORBIDITY table in CORE "pairs two FHIR Conditions recorded for the same patient"

Studies of many kinds benefit from knowing the most frequent "comorbidities", defined as two FHIR conditions in the same patient during an interval of time.
Existing examples:

https://github.com/smart-on-fhir/cumulus-library-suicidality-los/blob/main/cumulus_library_suicidality_los/suicide_los/table_comorbidity.sql
https://github.com/smart-on-fhir/cumulus-library-hypertension/blob/025bdaefb9c0dd40d6362153a0ca36123df7f9d1/cumulus_library_hypertension/htn/table_comorbidity.sql

CORE should support support comorbidity three intervals

patient lifetime (Two FHIR conditions recorded during ANY encounters)
same encounter (Two FHIR conditions recorded in the same encounter)
HPI History of Present Illness (Two FHIR Conditions in the patient history including the present encounter but not future encounters)

Joke of the day: With a username like @comorbidity would be strange for me to not assign this ticket to myself.
These are the jokes, and they aren't good :)


NEW: Appending all Net and App rules

Changes the logic:
All Trireme subnets are always going to NFQueue. All other subnets come logically after those.

Current coverage is 41.96% (diff: 0.00%)

Merging #59 into master will not change coverage

@@             master        #59   diff @@
==========================================
  Files            17         17
  Lines          1780       1780
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            747        747
  Misses          966        966
  Partials         67         67

Powered by Codecov. Last update e3f16bf...c434e67


JSON logfile is serializing pose incorrectly.

@Zeshengx received the following incorrectly formatted logfile.
Note the pose position and quaternion.
platypus_20160211_102519.txt

Fixed in #10.


Enable virtual node add-on to existing AKS cluster throws exception

Describe the bug
When adding ACI capabilities to an existing cluster, the command fails and thows the AttributeError: 'NoneType' object has no attribute 'rpartition' error below. The virtual-node-aci-linux does get added to the cluster nodes, however.
Command Name
az aks enable-addons  Extension Name: aks-preview. Version: 0.5.45.
Errors:
The command failed with an unexpected error. Here is the traceback:
'NoneType' object has no attribute 'rpartition'
Traceback (most recent call last):
  File "/opt/az/lib/python3.8/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 658, in execute
    raise ex
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 692, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/home/gandersson/.azure/cliextensions/aks-preview/azext_aks_preview/custom.py", line 2466, in aks_enable_addons
    add_virtual_node_role_assignment(
  File "/home/gandersson/.azure/cliextensions/aks-preview/azext_aks_preview/addonconfiguration.py", line 870, in add_virtual_node_role_assignment
    vnet_id = vnet_subnet_id.rpartition('/')[0]
AttributeError: 'NoneType' object has no attribute 'rpartition'

To Reproduce:
Steps to reproduce the behavior.

Create an AKS cluster with default values. Do not enable virtual nodes.
Manually add a subnet intended for ACI in the MC* resource group (needed for the command to work). Name the subnet aks-aci-subnet
Run the command: az aks enable-addons --resource-group myaksresourcegroup--name myclustername --addons virtual-node  --subnet-name aks-aci-subnet

Expected Behavior
ACI virtual node to be added to the cluster without throwing exceptions.
Environment Summary
Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.34, Ubuntu 22.04 LTS
Python 3.8.12
Installer: DEB

azure-cli 2.35.0

Extensions:
aks-preview 0.5.45
application-insights 0.1.14

Dependencies:
msal 1.17.0
azure-mgmt-resource 20.0.0

Additional Context

route to CXP team

Hello @gandersson
We are routing this issue to the service team's attention!

@gandersson Apologies for the late reply. Could you please follow the below action plan ?

Update your python libraries
Update your Azure CLI and then test the command again.

Once this is done, please test your AKS CLi command again and let me know if you see the same issue. Awaiting your reply.


Add HTTP header validation to reject certain headers in Python client

Rejects transfer-encoding: chunked HTTP header as we do not currently chunk the data in the python client, and geventhttpclient will fail if this header is passed without chunked data in the right format:

HTTP header spec: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding
geventhttpclient issue: https://github.com/geventhttpclient/geventhttpclient/issues/158

After the server side fix, both raw HTTP requests (ex: curl, urllib) that properly encode the data, and the C++ client support this header for free.

Can we add a test for this in L0_http?

Can we add a test for this PR in L0_http?

@Tabrizian added: https://github.com/triton-inference-server/server/pull/4324


[Add] Relatedness Need Satisfaction

Add a new survey to the repository according to the instructions in the package README.md.
Survey Title
Relatedness Need Satisfaction
Survey Source
Listening validation study
Survey Overview
Scale:

1 Not at all
2
3
4
5 Moderately
6
7
8
9 Very much
@Tiamoin - this scale wasn't in the document explicitly, I'm assuming it's the same as for https://github.com/Watts-Lab/surveys/issues/76?

questions

I felt closeness and intimacy.
I felt distance from others.
I felt cared about.

Aggregation/scoring function
Reverse code question 2
Tasks

[ ] Create a new folder in surveys w/ descriptive, easy-to-read name superSpecialSurvey/
[ ] Create SurveyJS .json file (e.g. superSpecialSurvey/superSpecialSurvey.json)
[ ] Create a .bib file citing your references for the survey (always: superSpecialSurvey/references.bib)
[ ] Create a readme markdown file to document (always: superSpecialSurvey/README.md)
[ ] Create file with function to aggregate survey data (e.g. superSpecialSurvey.score.js)
[ ] Create a cypress test of the survey (e.g. superSpecialSurvey.cy.jsx)
[ ] Create PR and link to this issue

Complete in https://github.com/Watts-Lab/surveys/pull/91


Possible to enable result caching to improve speed.

The macro in KM usually doesn't change that often, I am wondering for the next update is it possible to add "cache result" to improve the speed. Sometimes when I type too fast, the tiny lag cause triggering the wrong macro. Thanks for the great work, this is my most used Alfred workflow. :)

@dunkarooftop that's a really good point. When I built this I didn't consider caching at all.
The script has multiple phases:

extract all macros from keyboard maestro
parse them
search them

Caching would probably make phase 1 and 2 considerably faster. I mention this because it's not clear to me where the bottleneck in performance is. It's also completely possible that sending the results to Alfred and having them re-rendered in a new list is what's slow, not this workflow itself.
I agree that caching would be a strong choice architecturally, but I'm not convinced it would have enough benefit for me to addressing it. However, I would welcome a PR :)

@dunkarooftop the caching has been implemented in the latest release. You can install the new version by downloading and double-clicking AlfredMaestro.alfredworkflow file from the latest release page.


Supports hiding the top navigation panel or the footer panel

Hello, I just started trying to use hugo to write documents. I discovered the Hextra theme, which is very lightweight and even supports Chinese search. I like it very much.
I have some questions. as follows:
How to customize the configuration to hide the navigation at the top of the page or the panel at the footer? Just like the book theme. Or modify the height of the bottom panel. The current default is too high and there is a lot of blank space.
By the way, is it possible to increase the size of the dark mode or light mode icons, they are a bit small now and hard to notice in dark mode.
Thank you so much! English is not my first language. I hope you can understand the results of Google Translate.

Thank you for choosing the Hextra theme!

How to customize the configuration to hide the navigation at the top of the page or the panel at the footer? Just like the book theme. Or modify the height of the bottom panel. The current default is too high and there is a lot of blank space.

Just similar to Primary Color, we provide another css variable that allows you to adjust the height of the navbar: --navbar-height. You can find it using your browseer's developer tool.
Unfortunately, the navbar and bottom panel style can't be modified without overriding the template or using custom CSS rules.
For more details about how to use custom CSS, please refer to the Custom CSS section.

By the way, is it possible to increase the size of the dark mode or light mode icons, they are a bit small now and hard to notice in dark mode.

I can make the icon a bit bigger in the future. As for now, please customize it in using custom CSS rules.

Thank you for your reply, have a nice day.


Implement pretty printing for V2 results

They should implement Showable like V1 results did, so the CLI can call them here: https://github.com/RelationalAI/rai-cli/blob/a5056e3304760918f5be814ea2b898ba1e2c93ba/rai/cmds.go#L167
cc @NRHelmi. I guess we can copy what we did in the Julia SDK?

@NRHelmi: We ran into this on the CLI while you were gone. We want to upgrade the CLI to v2, but we can't do that yet until we have pretty-printing for the v2 results.
Could you implement this? It should be very similar to what we did in the Julia SDK here:
https://github.com/RelationalAI/rai-sdk-julia/pull/41

Fixed by https://github.com/RelationalAI/rai-sdk-go/pull/21

Actually, @NRHelmi can you confirm that #21 is enough to also mark the results as Showable, so that they can be pretty-printed from the CLI?
Can you also wrap up the last pieces of work to fix https://github.com/RelationalAI/rai-cli/issues/16? I think they are:

Make sure that the results are now Rai.Showable
Update the CHANGELOG to match the tagged version numbers.
Tag a new version of the SDK that now has pretty-printing of results.
Update the CLI to use the latest version (with ./tidy, i think?)
Test @vilterp's PR https://github.com/RelationalAI/rai-cli/pull/17, to make sure results look okay on v2.
Merge PR https://github.com/RelationalAI/rai-cli/pull/17.

🙏 I would super appreciate it if you can follow that through! :) Thanks in advance!

Thank you for addressing all of the above! :)

Note: This issue has been migrated to https://relationalai.atlassian.net/browse/RAI-6082.
This link is only accessible to employees of RelationalAI.


Cannot use default (singleton) router: "You should only use "next/router" on the client side of your app"

Hello! First of all thanks for awesome package, @scottrippey!
I try to mock next-router with storybook. Is it real to mock default Router as we do it for useRouter?
For instance useRouter works fine:

useRouter example
import { useCallback } from 'react'
import { useRouter } from 'next/router'

const UseRouterPage = () => {
  const router = useRouter()

  const handleClick = useCallback(() => router.push({
      pathname: router?.pathname,
      query: {
        ...router?.query,
        test: '1'
      },
    }, undefined,
    {
      scroll: false,
      shallow: true
    }), [])

  return (
    <main>
      <button onClick={handleClick}>button</button>
    </main>
  )
}

export default UseRouterPage

But with default exported Router, the next error appears:

I try use default exported Router because in this case there is no component re-render.

useRouter example
import { useCallback } from 'react'
import Router from 'next/router'

const RouterPage = () => {
  const handleClick = useCallback(() => Router.push({
    pathname: Router?.pathname,
    query: {
      ...Router?.query,
      test: '1'
    },
  }, undefined,
  {
    scroll: false,
    shallow: true
  }), [])

  return (
    <main>
      <button onClick={handleClick}>button</button>
    </main>
  )
}

export default RouterPage

Repo to reproduce: https://github.com/sedlukha/next-router-mock-example

Unfortunately, Storybook does not have a per-story way to mock imported modules.  I wish it did!
But, there still might be a solution.  I haven't tried this, but you should be able to add an alias to Storybook's webpack config.
This will globally override the router for all your stories:
.storybook/main.js
module.exports = {
  webpackFinal: async (config, { configType }) => {
    config.resolve.alias = {
      ...config.resolve.alias,
      "next/router": "next-router-mock",
    };
    return config;
  },
};

If you try this, please let me know if it works!  I'd be happy to update the documentation.
Caveat: I'll need to think about how this plays with next/link, since it uses a different import path -- you might need to use both approaches in that scenario.

@scottrippey thanks for answer!
You idea sounds great, but there is something wrongs with initial value in this case.
I pass url to MemoryRouterProvider, but here is what I get:

Yeah, here's why: the MemoryRouterProvider will only work with the useRouter() hook.  It doesn't use the singleton router, it creates its own.  So you can't use it to mock the URL.
Can you explain a little more about your use-case?  Since you're using the singleton router in your code, can I assume you're only using it for push or replace functionality?  Or, are you actually reading the URL  -- eg. pathname or asPath or query?
And, from a Storybook point-of-view, what kind of functionality would you like from next-router-mock?  Do you want to be able to use the <MemoryRouterProvider onPush={...} onReplace={...}> events?  Or do you want to actually mock the given url?
I'm asking, because I do have an idea how to integrate the singleton router with the MemoryRouterProvider, but I'd like to make sure I understand the scenario better.

My idea is this: I could add a singleton property to the MemoryRouterProvider, which would tell it to use the singleton router instead of creating its own.  When the component gets mounted, it would set the singleton's URL.
This would allow all the components to play nicely together.  I might even consider making this the default behavior, and perhaps creating an option for "isolated routers" to get the current behavior back.

@scottrippey
I use a singleton router for both: read pathname/query and push/replace.
From a Storybook point-of-view, I don't use <MemoryRouterProvider onPush={...} onReplace={...}>  events.
I mock the given URL and change it via push/replace inside the story.
My use-case is a complex search page with search results, filters, and a load more button. I write stories with the play function to check how the router changed after filters/pagination manipulations.
And everything works great with useRouter. I can write any test/story and everything will be fine.
But I prefer to use a singleton router to reduce component renders. For instance, let's take a look at the load more button. When you press it, you want to add a query (e.g. ?page=2) to the URL without the button rerender.
But if you use useRouter, there would be rerendering on every query change.
import { useCallback } from 'react'
import { useRouter } from 'next/router'

// component renders on every useRouter hook changes
const PaginationButton = () => {
  const { query, pathname, push } = useRouter()

  const handleClick = useCallback(() => push({
    pathname: pathname,
    query: {
      ...query,
      page: +query.page + 1
    },
  }, undefined,
  {
    scroll: false,
    shallow: true
  }), [query, pathname, push])

  return (
    <button onClick={handleClick}>load more</button>
  )
}

That's why I prefer to use a singleton router. In this case, I read query and push only in a callback.
import { useCallback } from 'react'
import Router from 'next/router'

// component renders only once, and use query/pathname/push only in callback
const PaginationButton = () => {
  const handleClick = useCallback(() => Router.push({
    pathname: Router.pathname,
    query: {
      ...Router.query,
      page: +Router.query.page + 1
    },
  }, undefined,
  {
    scroll: false,
    shallow: true
  }), [])

  return (
    <button onClick={handleClick}>load more</button>
  )
}

Thank you for the explanation!  That's a perfectly valid use-case for using the singleton router, so I totally get it.
I'm thinking, it might actually be best for me to update this repo's documentation.  I can add the webpack alias configuration as the default approach for mocking in Storybook, since that will cover almost all use-cases.
You wouldn't even need to use the MemoryRouterProvider component any more -- unless you wanted to tie into events, or maybe have multiple "isolated" routers in a story for demo purposes?  But I'll have to think about how useful that is, compared to just "configure and forget".

@scottrippey
In my opinion, MemoryRouterProvider should be covered in docs, because it is really important for "isolated" routers.
I can share with you my experience with next-router-mock. I use it on every story to add an isolated URL. That's why I like this package!
But as I wrote earlier, right now webpack alias doesn't work correctly. We alias I can push/replace, but can't set the URL initial value. Maybe am I doing something wrong? (working example here https://github.com/sedlukha/next-router-mock-example/tree/alias)

I hadn't thought of your use-case before, but now I'm realizing that it's a totally valid, great approach for performance. Using the singleton router (for components that don't need to rerender on URL changes) seems like the right thing to do.
So I guess I'm just trying to think of how to best integrate this with Storybook.
In your example repo, the MemoryRouterProvider is only providing an isolated router for the useRouter hook, so it won't do anything to affect the singleton router.
The only way I can think of, to set the singleton URL, per Story, is by doing something like this:
import router from 'next-router-mock';
const SingletonRouterProvider = ({ url, children }) => {
  useEffect(() => {
    router.setCurrentUrl(url);
  }, [ url ]);

  return <>{children}</>;
}

const MyStory = () => (
  <SingletonRouterProvider url="/example">
    <MyComponent />
  </SingletonRouterProvider>
);

Ok, well, I've given this more thought.

This library should support the singleton router better.  The current approach for unit tests, via jest.mock, works fine.  However, the Provider-based approach for Storybook does not work.
The only way to enable the singleton router inside Storybook is to use the webpack alias approach.
When using the webpack alias approach, the useRouter hook gets overridden, and no longer works with the Provider approach.  So the MemoryRouterProvider no longer works, and we ONLY deal with the singleton.

So I'm thinking of ways to fix  # 3...  thinking out loud:
The SingletonRouterProvider approach I posted above seems like a good way to handle it, and might work for simple cases.  However, I think there might be a lot of caveats if there's more than 1 provider for a story.  For example, if I had a global decorator that set the url to /global, then I'm not sure if I can override this for an individual story.  The useEffects trigger from inside-out, so the URL would always get set to the /global path last.
I could attempt to improve the MemoryRouterProvider by adding a Context to it, and checking for that context within the useRouter hook.  This would allow us to truly have isolated, overridable routers.  But to do this, I'd also have to orchestrate some "sync" behavior between the singleton router and the local router.  It wouldn't be terribly difficult, but it would add a new level of complexity.  We would be able to have multiple routers in a single story, but the singleton router could behave strangely with that setup.
I'll continue to problem-solve here, because I really do want to support the singleton router better.  For now, the SingletonRouterProvider approach above, along with the webpack alias, will probably work for you!

Hey @scottrippey! Thanks again for your answers.
I can confirm that SingletonRouterProvider with useEffect works great!
Can't wait to see the next-router-mock new version. But even now everything works fine.
Let me know if I can help you somehow. For example, I can add more examples in my repo and you will add them to the library

Oh! I've found new relative issue.
Link doesn't work with alias.

I've updated example repo:
https://github.com/sedlukha/next-router-mock-example/blob/alias/pages/link.js

Yes, I was going to talk about next/link because that one is interesting too...
Basically, to mock it using the alias approach, you'd need another alias, since next/link imports from a different path.
Try adding this to your webpack config:
module.exports = {
  webpackFinal: async (config, { configType }) => {
    config.resolve.alias = {
      ...config.resolve.alias,
      "next/router": "next-router-mock",
      "next/dist/client/router": "next-router-mock",
    };
    return config;
  },
};

Yes, I've tried to add this alias. But, unfortunately, doesn't work

@scottrippey  may be will be easier to fix it for next 12.2?
12.2.5 also doesn't work, but returns different error. with and without alias:

example
https://github.com/sedlukha/next-router-mock-example/tree/next.12.2

Oh, you're right.  With Next 12.2 they changed the way next/link works: #58
There's actually some sample code in that issue that fixes it, but would only work for jest.  It would require a little more work to adapt that workaround to work with Storybook.
I'll keep thinking about it, because it seems like there should be a way to expose a solution that works for all scenarios.

Hi @scottrippey ,
Any update to  make next/link (12.2) working with storybook.
I'm getting this error while running npm run storybook
ModuleNotFoundError: Module not found: Error: Can't resolve 'next/dist/next-server/lib/router-context' in 'my-project\node_modules\next-router-mock\dist\MemoryRouterProvider'

@amolagre  That's a separate issue; you can follow along here: #58

Hi @scottrippey,
Thanks for update. I see that you are already working on a solution.
And, I'm using "next-router-mock/MemoryRouterProvider" only, not the next-10 version.

@amolagre I had the same ModuleNotFoundError error as you, but it seems to work by importing the next-12 version specifically:
import { MemoryRouterProvider } from "next-router-mock/MemoryRouterProvider/next-12";

I've merged and published a new version, 0.9.1.  This includes primarily a new README, which includes instructions for using webpack aliases for Storybook, which fixes this issue.


[MBL-1441] Remove 'Report This Project' Feature Flag

📲 What
Removes Report This Project Feature Flag.
🤔 Why
It has been on at 100% for some time now. It's time to say goodbye.
🛠 How

Remove flag from RemoteConfigFeature and all subsequent tests and helpers
Remove any guards that use this feature flag. There's only one.
Verify that the feature is working as expected.

👀 See

♿ Accessibility
No changes
🏎 Performance
Same
✅ Acceptance criteria

[x] Reporting a project still works as expected from the Project Page.

⏰ TODO

[x] Update the flag in remote config to stop sending it to new builds. Eventually we'll be able to delete from there once enough users are updated to the 5.17.0 (next release)

@scottkicks I thiiiink I see the difference in the screenshots - there's an extremely, extremely small change in the spacing in some of the buttons. It's barely visible, though.

Any chance there's an Xcode/iOS SDK version difference that triggered the discrepancy?

@amy-at-kickstarter, I don't think so. Removing this flag does mean that the Project page's DataSource technically has a new item in it (Report This Project row), so maybe that's adding space here 🤔

@amy-at-kickstarter, I don't think so. Removing this flag does mean that the Project page's DataSource technically has a new item in it (Report This Project row), so maybe that's adding space here 🤔

Hrm, yeah, maybe. Some kind of gremlins in the layout engine? It's definitely unfortunate but seems fairly harmless at least. I didn't realize all these updated pngs were just from the Project page, whew.

@amy-at-kickstarter

✅  1. Update your commit message for the large screenshot update to be more descriptive (just in case someone is investigating these tests in the future, and wondering about the huge update)

✅  2. Delete any screenshots that were made defunct by swapping to orthogonalCombos


Repo sync for protected CLA branch

The pull request is created from privateToPublic-push-CLA-reviews637604489991446543 to privateToPublic-push-CLA-reviews to fix git push error for protected CLA branch

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

File
Status
Preview URL
Details

:x:Error

Details

Line 0, Column 0: [Error-docset-not-provisioned] Cannot build docset 'E2E_RepoSync_Private_PubDev' because it isn't provisioned. Please go to Docs Portal (https://ops.microsoft.com) to provision first.

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


Address Concerns on Replay

Problem : Optimus Replay interferes with the scheduled Runs by using the same Slots allotted for scheduled Jobs both from airflow/bigquery perspective.
Expectation : Replay can provide a mechanism to override configurations such that replayed jobs can consume different slots.
Initial Thoughts on Approach :

Every Transformation plugin has few configurations through which slots will be allotted for eg., BQ2BQ job EXECUTION_PROJECT, SERVICE_ACCOUNT. AIRFLOW POOL(Compile Time this can't be changed). How do we support this for replaying even downstream jobs.
Instead of submitting replayed jobs to airflow itself by clearing the dag runs Optimus can directly submit the jobs to the Kubernetes Cluster. There are 2 possibilities, for a given job if we have 10 runs to be replayed, instead of replaying all 10 runs  independently, why can't we merged all 10 runs(update the window parameters accordingly) into a single run and deploy the job. This is possible only if users are relying on window params. or submit all 10 runs  with the same configuration in a pool managed by optimus, if the replay is segregated from the normal scheduling then the sensors should not rely on airflow states rather it should rely on states managed within optimus.
Window Concept can be envisioned even better, we are dealing with resources and each job run is making data available for some time duration. Can we always associate the job run with time for which it is making available for, then that information should be leveraged for data availability. Based on this we can decide on how we can do dependency resolution.

Tracking the detailed approach as part of the https://github.com/odpf/optimus/issues/293


authoscope: renamed from badtouch

Motivation for this change
badtouch was renamed to authoscope.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 127953 run on x86_64-linux 1

1 package built:

authoscope


[PR NumbersWithUnits] A few missing patterns

Weight: Abbreviation of “toneladas” to “t” is not matching “1.450.000 toneladas de julio” “1.450.000 t de julio”
Area : Abbrevation of toneladas in “toneladas métricas” to “t métricas”
Distance: 4 polegadas recognized but 4 in is not
Speed: Abbreviation of milhas por hora to mi por hora (e.g. 188 mi por hora)
Age: 28 años not recognized as age (28 anos is correctly recognized)
Temperature: Space separating ° f doesn’t match

"años" is not used in Portuguese, so this is not a valid issue.
The Farenheit case is already supported in the latest code in the repo.
The other issues should be easy to address.

working on this


Tag Rewrites Don't Work

Hi there,
I have the fluentd docker logging driver writing to my fluentd instance running this plugin. When I use the plugin using the following configuration:
<match docker.**>
  type remote_syslog
  host <somehost>
  port xxxxx
  severity debug
  tag my.${tag}
</match>

What I would expect based on the fluent-mixin-rewrite documentation is that my tag would read my.docker.<containername>. Instead it is my.${tag} literally. I could be misconfiguring or misunderstanding this functionality... is that the case?
If not, from a glance at the docs from fluent-mixin-rewrite and your code I wonder if on this line doing the emit should be passing emit_tag instead of just tag?
Thanks in advance!

@alph486 see https://github.com/dlackty/fluent-plugin-remote_syslog/issues/1 and https://github.com/dlackty/fluent-plugin-remote_syslog/pull/2
Still not working for me :/

@scalp42 @alph486 A new release v0.3.2 was uploaded to rubygems.org. Could you give it a try and let me know if it works?
@scalp42 Sorry for the long wait. Finally found some time to maintain this gem and added some tests.

@dlackty thanks a lot for the help on this!
I'll test soon

@dlackty Thanks! Found this during a POC period. I will report back after I begin implementation.


RE: Building/Compiling

Hello,
Here is my build error:
**Install the project...
-- Install configuration: ""
-- Installing: /usr/local/include/mraa.h
CMake Error at src/cmake_install.cmake:36 (file):
file INSTALL cannot copy file "/home/debian/mraa/api/mraa.h" to
"/usr/local/include/mraa.h".
Call Stack (most recent call first):
cmake_install.cmake:37 (include)
Makefile:72: recipe for target 'install' failed
make: *** [install] Error 1**
I am stuff for now in a plethora of ideas. What should my next move be? Aw!
Seth

sudo make install

Okay...So...
This is what I know so far, i.e. if this is any help at all.
I have a BBGW (BeagleBone Green Wireless) with a Debian Stretch Distro. I think I have my MRAA installed correctly because I can use the cmd sudo mraa-gpio list and get results.
My machine belongs to me and I do not use anything but sudo instead of sudo -i. I do not want to make major mistakes. So...my folder outside of root is /home/debian as of now.
I have /home/debian/mraa instead of /home/debian/node_modules/mraa installed.
I used a couple of things to build the MRAA to what it is now. I used Python to see if the cmd line would work if I imported MRAA and then did a get Platform cmd to see if a board would appear. It showed BBB instead of the BBGW I am currently using.
I followed info. from https://iotdk.intel.com/docs/master/upm/building.html and on this site under intel-iot-devkit building ideas. I have come up empty on both fronts.
Does this help you help me?
Seth
P.S. Please reply when you have some extra time.

Hello Again,
I have not found out how to install UPM at all. Some sites state npm install jsupm_ and other sites state different things, e.g. cloning it from git.
What do you think I should do? I am at a loss.
Seth

Hello Once More,
I am so sorry for all this bugging about the UPM repository. I tried on the terminal:
sudo npm install jsupm_grovegprs.js -g
This did not work.
I got a bunch of info. stating what I should do. I would post the .log file but it is lengthy.
Seth
P.S. It seems that the grovegprs.js file is not even in the upm/npm registry.

Hello...I got where I was wrong. I went to npmjs.org and found that I was incorrect by listening.
Seth
P.S. The info. I found from you was npm install jsupm_grovegprs and that is it. Thank you.

Hello,
Once I get the jsupm_grovegprs installed, do I need to compile/build it?
Seth
P.S. I have a .js file I use with node to run it on the terminal but I get errors. Um, do you have any recommendations?

Hello Again,
My CMakeLists.txt files are not located where I need them. How can I build without these CMakeLists.txt files?
Seth

I have a GPS module SIM28 and not a cellular module (GPRS). I think somewhere along the line, some of the  info. got changed incorrectly. See here: https://www.seeed.cc/BBGW-starter-tutorial%235-Where-are-you%3F-p-1648.html.

Hi @silver2row, we support the GPS too, see the jsupm_nmea_gps driver.


Ardour crashing when loading Zyn-Fusion

I can load ZynFusion into a track in Ardour. However, when I try to open the ZynFusion UI, Ardour crashes to desktop.
The ZynFusion UI works in standalone.
OS: Ubuntu (KDE Neon)
Ardour version: 5

Thanks for the report.
To get a better idea of where the problem may exist can you follow:
https://ardour.org/debugging_ardour
From there you should be able to generate a backtrace pointing out where
the error may be.
Additionally, to confirm you have built Zyn-Fusion from this
zyn-fusion-build set of build scripts, right?

I downloaded Zyn-Fusion from the Gumroad link.

I tried the steps on the debugging page for running gdb on a version downloaded from ardour.org, and got the following messge:
Reading symbols from /opt/Ardour-5.12.0/bin/ardour-5.12.0...(no debugging symbols found)...done.

Here is the output from gdb:
ARNING: this host does not send sample-rate information for LV2 UIs, using 44100 as fallback (this could be wrong)
[INFO] Opened the zynaddsubfx UI...
[INFO] Ready to run
[INFO:Zyn] zest_open()
[INFO:Zyn] Found Assets at /opt/zyn-fusion/
[INFO:Zyn] Creating MRuby Interpreter...
[INFO] setting up runner
[debug] parsing json file
[INFO] init gl
[INFO] loading fonts
[INFO] window width=1181
[INFO] window height=659
[INFO] init window
Time for a fast load is 6.395ms load(0.007) class(0.001) spawn(6.387)...
[INFO] doing setup
[INFO] doing layout
[INFO] Running Layout Solver...
[INFO] launching program...
[INFO] ret code = 0
[ERROR] GLPSOL EXITED WITH ERROR CODE 1
[INFO] GLPK Solver finished...
[INFO] Read solution to layout...
[ERROR] The output file '/tmp/zest-w.txt' from glpsol was not found
[ERROR] This file is needed for layout
[ERROR] Please verify that there is a usable glpsol in the current directory

Thread 34 "ardour-5.12.0" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffbdcd5700 (LWP 11829)]
0x00007fffedf2ff90 in sord_find () from /opt/Ardour-5.12.0/lib/libsord-0.so.0

if it's talking about the GLPK solver, then you have downloaded a very old
version of zyn-fusion from gumroad. I'd recommend grabbing a newer version
from gumroad and you should be all set.

Aah yeah, I downloaded 3.0.0 from the top of the list. I will try with * zyn-fusion-linux-64bit-3.0.3-release.tar*

Jep, the newer version works. Thanks for your help @fundamental :-)


[SPARK-47775][SQL] Support remaining scalar types in the variant spec.

What changes were proposed in this pull request?
This PR adds support for the remaining scalar types defined in the variant spec (DATE, TIMESTAMP, TIMESTAMP_NTZ, FLOAT, BINARY). The current parse_json expression doesn't produce these types, but we need them when we support casting a corresponding Spark type into the variant type.
Why are the changes needed?
This PR can be considered as a preparation for the cast-to-variant feature and will make the latter PR smaller.
Does this PR introduce any user-facing change?
Yes.  Existing variant expressions can decode more variant scalar types.
How was this patch tested?
Unit tests. We manually construct variant values with these new scalar types and test the existing variant expressions on them.
Was this patch authored or co-authored using generative AI tooling?
No.

thanks, merging to master!


li tag

I've gotten some feedback from API team about list item tags being difficult to work with since styling is applied to the tag. We had a similar issue with the table tag, let's do the same with this li tag and  move out styles to class.

Do you know what version of CW they are using? As of 1.0 there is very minimal styling applied to the base UL / OL classes - a small font scale adjustment. LI elements themselves have a small margin-top adjustment. "Numbered" and "Plain" variants are available via helper class. If you can pass along what the difficulty was that would be helpful.

^ @asangma

@julio8a yeah we updated list styles as part of v1.0.0 to fix #866 . I don't think there is much more we can do, the li styles are largely browser default at this point and there are no nested selectors.

I would say tell them to update to the latest and greatest and see if that fixes their issues.

This is the bit that was poking me in the eye.
li {
  margin-top: .25em; }

But after a chat with @macandcheese, I understand that changing that would break the Internet. For now, we can either fix at the app level or by explicitly setting margins for relevant li elements.
...until we are all one. ☁

okay, closing this out. Thanks all.


How to use XmlHttpRequest?

I write XmlHttpRequest like:
  let xhr = XmlHttpRequest::new().unwrap();
    xhr.open_with_async(url, "GET", false).unwrap();
    let closure: Closure<FnMut()> = Closure::wrap(Box::new(move || {
           web_sys::console::log_1(&JsValue::from("here"));
    }));
    (xhr.as_ref() as &web_sys::EventTarget).add_event_listener_with_callback("readystatechange",closure.as_ref().unchecked_ref());
    closure.forget();
    xhr.send();

error at   xhr.open_with_async(url, "GET", false).unwrap();   maybe async Promise. how to solve ?

You need to use xhr.open_with_async(url, "GET", true), synchronous XMLHttpRequest is deprecated.

thanks for your request. But How I get data from server?  like example fetch?

Thanks for the report @oldtree2008! It looks like though this is a general question about how to use XMLHttpRequest which is probably best suited for MDN's documentation and sites like stack overflow. If there's a wasm-bindgen-specific question though we can definitely help out!


Website -- wrong links for Mock Functions

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Click on Introduction -> Mock Functions and get routed to https://facebook.github.io/jest/docs/en/mock-function-api.html#content
Click on API Reference -> Mock Functions and get routed to
https://facebook.github.io/jest/docs/en/mock-functions.html#content
Seems like it should be the opposite.
Otherwise thanks for creating/maintaining Jest. Makes my life much easier!

Do you mind sending a PR to fix it? The docs are in the docs/ folder in this repo.

Oh man, beat me to it!


Use let const as blockscoped variables

What kind of change does this PR introduce?
refactoring
Did you add tests for your changes?
N/A
If relevant, link to documentation update:
N/A
Summary
During the refactoring a lot of the var assignments where translated to let, const without taking into account that they are blockscoped.
On top of that let should only be used when a reference is reassigned in the code.
This allows for easier reading as something defined as a const can be considered "never reassigned" while something explicitly labeled as let will be reassigned later on.
Does this PR introduce a breaking change?
No
Other information
There are a couple of interesting finds that i stumpled upon while doing this change:

in https://github.com/timse/webpack/commit/c3abf8f5cc6103480f04b101f6b80d081b232c0e some variables are assigned and checked and reassigne but are always false
was this console.log intended? https://github.com/timse/webpack/commit/bd386ecf06c0886504fe2e957fc108b2c0b96b3a
one assignment here will always be overridden, was that intended? https://github.com/timse/webpack/commit/424a0aead9fdf53f2eb5a0d1c72a42bcdbe2278b

Eslint have suitable rule prefer-const - http://eslint.org/docs/rules/prefer-const

i think i need a little help for the statsCases test order, when is there a case where the asset contains a "!"?

i. e. stats: { modulesSort: "!id" }. It sorts by id but in inverse order.

Thanks for the great work. I see that there happened a lot weird stuff during ES6 migration.

Thanks

thanks for merging :)


Incorrect macro expansion in extendWithPath

λ(data, path) -> extend(data, { path: path });

Gets expanded to:
function (data$2, path$2) {
  return extend(data, { path: path$2 });
};

Causing the novel loading to fail.
Probably related to some recent change in Sweet.js in how parenthesised expressions are handled, but needs further investigation :/

is that the reason i end up with this start screen since the last update.

how do i open my last written novel?
was that (auto)saved?
what does the × do?

Yes.
It auto-saves novels, so after you create one, the first screen will try to show all the novels you've created, but since the macro-expansion fails, it also fails to load the novels and present that screen. The error would be more obvious (i.e.: shown on the screen) if it wasn't for this: https://github.com/folktale/control.async/issues/8.
The x at the top closes the application, the button to the left of that toggles between full-screen and windowed mode. I need to add some tooltips to that :/

*something something accessibility something something*


Snapping after bounce

I'm seeing a minor (~2px) snapping after setting the pane view controller. After the bounce, the pane view is positioned ~2px to the left, and it snaps back into the position where it should be a second after.
Any suggestions?

Yes, I have the same problem and it gets annoying.
I tried to figure out the problem, but there are some calculations that didn't make sense to me, like setting the origin to (-1, -1) or adding 2 points to the offsets, etc.
Hope anyone come up with a solution.

This sounds like a similar issue to https://github.com/erichoracek/MSDynamicsDrawerViewController/issues/131. The only resolution to that issue was to try out the 'next' branch, which seems to correct this issue. I've since forked this repo to continue work with the 'next' branch.

@paulpilone Thanks, switching to the next branch fixed my problems. I understand that it's under development, but the new API is pretty cool!


Master branch links are broken for branches with a / in the branch name

Master branch links are broken for branches with a / in the branch name.
eg. branch sk/dev links to [repo]/tree/master/dev
bug is here: https://github.com/sindresorhus/refined-github/blob/master/source/features/branch-buttons.tsx#L78
and here: https://github.com/sindresorhus/refined-github/blob/master/source/libs/page-detect.ts#L84

Can you post a real link to that so I don't have to go hunting for one? 😅

https://github.com/simonkotwicz/refined-github/tree/branch/name

master links can be fixed but it needs to get the branch name from the branch selector dropdown instead of just the URL
shortened URLs can't be fixed because we can't tell branch/file apart from branch/still-branch just by looking at the URL: https://github.com/bfred-it/shorten-repo-url/issues/9

right I guess the only other option would be change the format of the shortened URLs to be:
owner/repo:branch/still-branch/folder
OR
owner/repo/tree(or blob)/branch/still-branch/folder

What do you think about changing:
https://github.com/sindresorhus/refined-github/blob/master/source/features/branch-buttons.tsx#L78
TO
master/source/features/branch-buttons.tsx#L78
That way at least the shortened URLs always work.

I think the special branch formatting inside links is a little strange as well

I don't: commits, branches, tags, are all just git references, so https://github.com/bfred-it/shorten-repo-url tries to treat them all the same.
simonkotwicz/refined-github:branch/still-branch/.travis.yml#L6  is still hard to parse compared to:
https://github.com/simonkotwicz/refined-github/blob/branch/still-branch/.travis.yml#L6
At most I'd try:
simonkotwicz/refined-github/branch/still-branch/.travis.yml#L6

If anyone wants to pick this up, change this line to use the URL from the branch selector instead of location.pathname. This would fix the master button on https://github.com/simonkotwicz/refined-github/blob/branch/still-branch/.travis.yml#L6

@bfred-it I would love to help! Maybe I can find time doing it later today.


[build] Enable swift parser integration in linux lldb preset

swift-backtrace currently doesn't build property in 'bootstrapping' mode. Although we should fix the 'bootstrapping' issue separately, since lldb should be built with parser integration, enable it.
rdar://116470411

preset=linux_lldb
@swift-ci Please test with preset Linux Platform

@swift-ci Please smoke test


should nixos-rebuild switch warn instead of silently failing to replace regular files with a symlink?

https://github.com/NixOS/nixpkgs/issues/22062 was caused by nixos-rebuild switch silently failing to update /etc/cups/cupsd.conf, which (for a trivial, boring reason) was a regular file on my system (as opposed to a Nix-controlled symlink to /nix/store), and which, to my demise, I failed to notice.
Such silent divergences from a declaratively stated configuration should be proclaimed, instead of ignored in silence.
There's also an accompanying issue to this (silent overwrites of regular files in /etc/ by generated symlinks): https://github.com/NixOS/nixpkgs/issues/22005
Therefore, it appears as if there's not even a coherent policy on what happens -- sometimes the regular file silently wins, sometimes it's silently overwritten.
It seems like some design work is due on the combined issue..

Isn't this basically a duplicate of #22005? (i.e. the same topic)

@vcunat, it's the dual opposite, actually -- #22005 is about silent overwrites, whereas this is about silent failures to overwrite.

Are there any updates to this issue, please?

I just came across this or a similar issue: not directly after nixos-rebuild switch, but the CUPS service does not link files existing in /etc/cups, and my configuration silently failed.


Bug: TypeError on return redirect(url) in routes/account/upgrade.ts file after run deno task ok on local machine

Describe the bug
error: TS2345 [ERROR]: Argument of type 'string | null' is not assignable to parameter of type 'string'.
  Type 'null' is not assignable to type 'string'.
    return redirect(url);
                    ~~~
    at file:///....../...../saaskit/routes/account/upgrade.ts:31:21

To Reproduce

Run deno task ok on the local machine

Desktop

OS: Window 11
Browser N/A
Version: Deno 1.33.2

Do you have Stripe set up as per the instructions?

ya


Who else is "in/on"

Wouldn't it be nice, if like etherpad or Google Docs, you had a way of knowing that other people are using the app, and who? e.g. in Shared Notes, who is grey, blue and orange.

Agreed

Added code to track and list who uses it, with the color they type in. In rev 822eb4ce664aa6b385ef1d956640adb9bae37257


Bounty for b2 flysystem adapter

Hiya!
Just to let you know, there's a small bug bounty at https://www.bountysource.com/issues/26874333-backblaze-b2-adapter for implementation of B2 into flysystem... looks like you're the first to publish something that's in progress, so feel free to claim it once the basic functionality is in place ;)

Hey Mark,
Thanks for the info. Sorry about late reply. My package is already being listed on thephphpleague site. Here is the link: https://github.com/thephpleague/flysystem

Looks like there's a couple of methods that don't do anything yet.. read, readStream, rename, getMetaData and getMimetype methods just return false. Are you planning to add those? Especially the read and metadata ones seem rather important ;)

Yes, I'm planning to work on that in next couple of weeks. So hope, it would be done in a while.

@mhetreramesh - Did you complete getMetaData() function? Unless I did something completely wrong, files can not be deleted since getMetadata() returns false.
I was able to get it working via...
` public function getMetadata($path)
{
$file = $this->getClient()->getFile(['FileName' => $path, 'BucketName' => $this->bucketName]);
    return $this->getFileInfo($file);
}

`

@cyimking I don't remember changing anything on the code. Seems like this part was pending to implement & I'm not actively using Blackbaze now. Would be great for others too if you just send a PR.


Automator: update istio/api@master dependency in istio/istio@master

Generated by Automator - 2020-02-20T13:49:55+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-local-tests_istio
e3b4c8e684d485e992de04a5b5902cdacaf8598a
link
/test integ-local-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Nice viewing of dataframes?

It's much nicer working with dataframes in IJulia than in the atom client. Would it be possible to add a dataframe panel like Rstudio has? That would be very useful, especially if it some basic interactions (e.g. sorting) implemented.

This would certainly be possible (and a great feature to have), but it would take a solid week's work to get a prototype going and much more to make it polished/usable. So this comes under the very indefinite "when I have time / when someone else volunteers / when someone pays Julia Computing" label.
See also this prototype, though.

Does https://github.com/queryverse/ElectronDisplay.jl help on this?

No, but https://github.com/JuliaComputing/TableView.jl does/will.


Help on your code

Hi Kenny,
I’m working in NLP for French https://github.com/oeuvres/Alix
I’m providing WordClouds with morpho-syntactic infos (nouns, names, verbs…).
http://obvil.lip6.fr/alix/wordcloud.jsp?bibcode=hugo_miserables&frantext=on
This javascript lib provide a nice result, but is client side and do not allow caching.
I have started a java implementation with an HTML output.
https://github.com/oeuvres/Alix/blob/master/java/alix/viz/Cloud.java
Your result is far more nicer but your code do more than I need.
HTML rendering will not be pixel perfect compared to PNG but offers other advantages.
An HTML renderer needs only the collision result as a tuple (x, y, angle).
I will try to understand your code and find the central core, all your advice is welcome.

For clientside word clouds I recommend checking out: https://github.com/jasondavies/d3-cloud
Our company uses this for our client facing word clouds as well. :)
Let me know all the issues you run into or things that Kumo can't do, feature wise, as I'd likely be interested in adding them to kumo as well.

Hi Kenny,
Sorry to have miss your comment, I was busy on other tasks.
I will recheck jasondavies. I’m afraid of Javascript freeze on client  because I want to display dozens of wordclouds as search results in a bibliographic base.
I will give you news here when I will have found my solution, thanks for advice.


Fix behavior of multiple SIGTERM on client

@alokmenghrajani @mcpherrinm @sqshh
Fix behavior of multiple SIGTERM on client: if we receive multiple SIGTERM signals, the client should always shut down. To do so, we unregister the signal handler for SIGTERM before exiting the client signal handler function. Also, this adds a hard timeout of 5 minutes for graceful shutdown after which we terminate even if there are still open connections.

👍 but @mcpherrinm had previously mentioned we shouldn't do this. I forget why.

lgtm with flag


Completed the requirements for Ex03-Part2

Moved all java files to src/main/java
Moved the test file to src/test/java
Edited the sh file so it can find the java files including the test file
Edited the sh file so the complied classes will be moved to the build folder
Edited the sh file so it can run junit.test on the test file

Merging the move-to-dir branch to the main branch to reflect the changes


Query Side for User Schemas / Objects

As a ZITADEL Admin I am able to read User Schemas through the API, to be able to find out how my users objects should look like and how the different types of users can authenticate.
Acceptance Criteria

[ ] ListUserSchemas: lists latests states schemas
[ ] UserSchemaByID: shows details of a specific schema

Additional Information
User Schema

id: read only unique identifier
state: state of the schema
type: single word which describes the schema
revision: read only version of the schema, each update increases the revision
schema: describes the user
possibleAuthenticators: defines the possible types of authenticators. this allows creating different user types like human/machine without usage of actions to validate possible authenticators. Removal of an authenticator does not remove the authenticator on a user

TODO: move user.isOrgSpecific to here (on username and idp)

permission
Following permissions are allowed r (4), w (2), rw (6)

admin: defines the permissions of the admin
user: defines the user of the user

@eliobischof @stebenz can you please estimate this issue?

Depend on #7306 for content
depend on #7314 for possibleAuthenticators
technical estimation:

projection definition: 1d
unit tests: 1d
permission checks: 1d
proto definitions: 1d
integration tests: 1d


Documentation: Readme as Overview, Quick setup, and Table of Content

Documentation: Readme as Overview, Quick setup, and Table of Content
Description
Provides overview of project, introduction, quick setup and test.
Also provide links to API schema and Design docs

See README.md


Wait for replication to catch up before moving to next broker when restarting

This depends on #252
The idea here is to wait for the restarted broker to get back into the ISR set for all topics before continuing to the next broker.

Closing due to #260


Edge: scrollbars on landing page

There is enough space, no need for scrollbars. Firefox ok.

Fixed!


Integrate docs into the main repo

Related to the discussion in dev ML
The main advantage for doing it are:

No need to create a separate PR for features. Less efforts to update docs.
Make it easier to generate releases. Release notes track source changes.
Speed up ./configure as there one less dependency to fetch.

One of the objections of this approach, as discussed in the ML, was that docs PRs have a lightweight CI and we'd want to preserve that. This PR attempts to address that with the changes to the Jenkinsfile.pr (thanks to @big-r81 for the idea in the ML) where the following logic is used in the when ... stage triggers.

If any docs files are changed, run docs make check (a quick format check for docs)
If only docs changed, then docs make is run, like in the previous separate docs repo. All the other CI steps are skipped.
If other files are changed, not just docs, then the full CI is run. As part of that make dist also builds docs. If this happens there is not need to also run the "Build Docs" so that can be skipped.

In the case case of this PR the build stages would look something like this:

There were docs changed, so make check was was run there.
Since there were other changes besides the docs folder, "Build Docs" stage was skipped, as docs are built as part of the made dist stage later.

Good points, @big-r81
RTD allows configuring which branches/tags to build. I think we could keep stable (which is an alias to 3.2.2) and latest. latest is automatically built from main. stable can be either an explicit branch, or if that's missing it's automatically the highest semver release tag (the one we use). But our 3.2.2 tag in the main repo won't build the moved docs. So thinking of making a 3.2.2.post1 tag/branch (see https://peps.python.org/pep-0440/#post-releases about semver for post releases) with the integrated docs for 3.2.2 for that case.
As for archiving we could just update the main branch and put just a readme file indicating to move the pull request to the main repo.. After some time we can archive it too.
Unfortunately the pending PRs would have to be re-targeted for the main repo.
I think there would be some links / example readme changes.

Maybe it’s a good idea to define an .editorconfig for the project / projects?

Have a few comments, but it appears I was too late!

It’s never too late! Will fix it in a separate PR. Thanks for taking a look, @jaydoane

I tried this in .emacs:
'(groovy-indent-offset 2)

I'll reformat both the full and pr files

@jaydoane https://github.com/apache/couchdb/pull/4171

Maybe it’s a good idea to define an .editorconfig for the project / projects?

I wonder if emacs could read that? For erlang it's relatively straightforward as we're using erlfmt but for other languages it's a bit unspecified.

Maybe it’s a good idea to define an .editorconfig for the project / projects?

I wonder if emacs could read that? For erlang it's relatively straightforward as we're using erlfmt but for other languages it's a bit unspecified.

https://github.com/editorconfig/editorconfig-emacs


Upgrade to the last version of Alice

Ah damn forgot to check that whilst doing the releases yesterday, thanks for it


Should backward function be written every time I add a model

Then it's very time consuming

Hi @thtb, in PyTorch, you won't need to write a backward function for your model, the autograd library will handle it for you.
But if you're quoting the backward function I kept in LeNetSplit model and ResNetSplit model, please ignore them. Those are for trials of my another project. I will delete those blocks of code soon to avoid making people confused.
Hope this helps.


Float16 optimal formatting

Extend SwiftDtoa to provide optimal formatting for Float16 and use that for Float16.description and Float16.debugDescription.
Resolves rdar://61414101

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha -<PHONE_NUMBER>2596028d1db730836923ac7c6e1668

One interesting nit:  When encoding NaNs, Swift sets the top payload bit if this is a regular "quiet" nan and the next-most-significant payload bit if this is a "signaling" NaN.  For Float, Double, and Float80, SwiftDtoa uses the first of these to distinguish the two cases.  However, that logic doesn't work for Float16.  It appears that when converting Float16 to and from Float, the encoding for NaNs gets altered:  the most significant payload bit is always set, and the next-most-significant is set for signaling NaNs.  I've altered the SwiftDtoa logic accordingly for Float16 only.  I'm not sure whether this encoding change should be considered a bug in our Float16 support or whether SwiftDtoa should be consistently keying on the second-most-significant bit instead of the first.

For those interested in arcane details:  Following gdtoa, SwiftDtoa produces the exact form for integral Float16 inputs, instead of the optimal (shortest) form.  For example, the 0x1p13 formats as 8192.0 instead of the optimal 8190.0.  Similarly, the maximum Float16 is 65504.0 (exact) instead of 65500.0 (optimal).  Since these numbers are too small to render in exponential format, it just seems pointless to use the true optimal with trailing zeros when those same digits could be exact.

Re sNaN: an unfortunate divergence from other types, mostly unavoidable, but not strictly a violation of IEEE 754. You have to either print a string that indicates signaling, or signal invalid. The conversion routine signals invalid.

Build failed
Swift Test Linux Platform
Git Sha -<PHONE_NUMBER>2596028d1db730836923ac7c6e1668

@swift-ci Please test

I'm satisfied with this now.

@swift-ci Please test and merge

@swift-ci Please test and merge

@swift-ci Please test and merge

@swift-ci Please test Linux


Add in_response_to from saml_session to SAML2 validator

This PR should fix the failed CI tests of PR #55.
The request ID is extracted from saml_session's cache an provided to Saml2ResponseValidator with the option in_response_to (into method djangosaml2_spid.views.AssertionConsumerServiceView.custom_validation()).
I left a comment about the opportunity to filter cache's values on destination path (/spid/echo_attributes), particularly if the cache contains more values. Currently this is not clear to me.

@brunato feel free to merge dev into main branch and please go ahead with a new release


Links in example/ docs are wrong

Some links under examples/ docs are wrong. I guess as a result of the migration from grpc-common.
Part of #3139 fixes the C++ links.

@ejona86 @iamqizhao you may want to check too~


[Exclusivity] Enforce exclusive access for class offsets in KeyPaths

Add dynamic enforcement of exclusive access when a KeyPath directly accesses a final
stored property on an instance of a class. For read-only projections, this begins and ends
the access immediately. For mutable projections, this uses the ClassHolder to perform
a long-term access that lasts as long as the lifetime of the ClassHolder.
rdar://problem/31972680

Updated to add additional comments about allocation and initialization of ClassHolder instances. Also rebased on top of master.

@swift-ci Please smoke test and merge

Rebase on top of @atrick 's recent 'noNestedConflict' changes. In SILGenBuiltin.cpp I've made emitBuiltinBeginUnpairedModifyAccess() have 'noNestedConflict' set to false and emitBuiltinPerformInstantaneousReadAccess() have it set to true. @atrick does this seem right to you?

@swift-ci please smoke test

@devincoughlin that looks good to me.

@swift-ci smoke test OS X Platform.

@devincoughlin you can either set noNestedAccess to false and let the future optimization handle it, or wait until this PR is merged and retest: https://github.com/apple/swift/pull/15659

@swift-ci smoke test.

@swift-ci Please smoke test

Interpreter/enforce_exclusive_access.swift

19:58:09 [ RUN      ] ExclusiveAccess.KeyPathInoutDirectWriteClassStoredProp
19:58:09 expecting a crash, but the test did not crash
19:58:09 [     FAIL ] ExclusiveAccess.KeyPathInoutDirectWriteClassStoredProp
19:58:09 [ RUN      ] ExclusiveAccess.KeyPathInoutDirectReadClassStoredProp
19:58:09 expecting a crash, but the test did not crash
19:58:09 [     FAIL ] ExclusiveAccess.KeyPathInoutDirectReadClassStoredProp

So, the IRGen "fix" I mentioned above,
https://github.com/apple/swift/pull/15659, should not have changed any functionality. Skipping the endAccess runtime call is purely an optimization (which is why I originally lumped it in with my
optimization pass). If the beginAccess isn't tracked, then the scratch buffer will be invalid and endAccess will do nothing.
What's more, I don't think the no_nested_conflict changes should have any effect on the KeyPathInoutDirectWriteClassStoredProp test that is failing (there's no instantaneous access in that test).
So, was the test ever passing? I looked into it and noticed that it requires the standard library to emit the unpaired access markers. We had never intended to enable access markers in the standard library because, once it's been tested, there's no point shipping it with extra checks. This is generally the right strategy, but doesn't work for the Builtin checks, which actually form an outer access scope surrounding user code.
I'm tempted to suggest handling the Builtins specially, and unconditionally emitting markers. But first we should consider whether there are other instances of this issue. Maybe the solution needs to
be generalized. As long as the stdlib doesn't instantiate internal classes with materializeForSet properties, I don't think this problem will show up elsewhere. @rjmccall can you think of any other places that we need to emit stdlib checks to pick up on user violations?

Oof. That explains why the test passes locally. I'm using a debug version of the standard library.

I would hope that the standard library generally doesn't need dynamic checks because it can just use static enforcement.  So the approach I would suggest would be to look at all the dynamic checks that we do emit and either (1) decide they're statically okay (and disable them with an attribute?) or (2) leave them in as dynamic checks.  A base policy of disabling all the checks feels like going the wrong way about it.

@gottesmm plans to add a function-level @semantics attribute to disable access marker elimination (i.e. force them to be emitted). That should unblock this fix.
rdar://problem/39335800 Add a function attribute to KeyPath to force exclusivity enforcement.

@devincoughlin I am going to chop off a part of this commit since I need it to test my semantics thing. Specifically I am just going to cut off the builtin emission part.

@devincoughlin, Since @gottesmm is testing this in conjunction with his changes, he'll probably end of staging it back in as two parts it in new PRs.


Fix image deletion conflicts with search

Removed images were not cleaned up from the
digest-set that is used for the search index.
This also caused a flaky test in #18437
Fixes #18437
@aaronlehmann @dmcgowan @estesp
Signed-off-by: Tonis Tiigi<EMAIL_ADDRESS>

LGTM

LGTM

LGTM.. thanks @tonistiigi

LGTM


errors in build are not listed in console output

E.g. merge with conflicting archive filenames without setting the overwriteoption.
C:\projects\sc-pp\test>broccoli-clext build --no-watchman
Building.BroccoliArchiver.prototype.build
Building...saving keys to C:\projects\sc-pp\test\tmp\broccoli_archiver-cache_path-py60Jvic.tmp/lastKeys.json
BroccoliArchiver.prototype.build
saving keys to C:\projects\sc-pp\test\tmp\broccoli_archiver-cache_path-QOZNIY55.tmp/lastKeys.json

Build failed.

Note that no information about why the build failed makes it to the console. This makes debugging really hard.

class Foo extends require('broccoli-plugin'){
  build() {
    throw 'OMG';
  }
}

module.exports =  new Foo(['foo']);

running:
broccoli serve

Produces:
Error: OMG
    at wrapPrimitiveErrors (/Users/spenner/tmp/broc-demo/node_modules/broccoli/lib/builder.js:546:12)
    at new BuildError (/Users/spenner/tmp/broc-demo/node_modules/broccoli/lib/builder.js:345:19)
    at /Users/spenner/tmp/broc-demo/node_modules/broccoli/lib/builder.js:107:19
    at tryCatch (/Users/spenner/tmp/broc-demo/node_modules/rsvp/dist/rsvp.js:525:12)
    at invokeCallback (/Users/spenner/tmp/broc-demo/node_modules/rsvp/dist/rsvp.js:538:13)
    at publish (/Users/spenner/tmp/broc-demo/node_modules/rsvp/dist/rsvp.js:508:7)
    at publishRejection (/Users/spenner/tmp/broc-demo/node_modules/rsvp/dist/rsvp.js:443:3)
    at flush (/Users/spenner/tmp/broc-demo/node_modules/rsvp/dist/rsvp.js:2415:5)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Build failed

Clearly this error logging could be improved. Example of much better output is: https://github.com/ember-cli/console-ui/pull/14#issuecomment-346495211


Fix map->string and hash->string

Printing maps and hash tables currently gives you the built-in string representation for JavaScript Maps, which just says [object Map] (for maps), and the representation for Immutable.js Maps (for hash tables), which does at least give you a list of the keys and values even if it doesn't look very Lisp-y.
Need to build in toString methods that print a proper Lisp representation of the data structures.

Fixed and merged.


Better Discord makes discord unmovable?

I noticed that discord couldn't be moved when in full or windows mode an after uninstalling it an bd then reinstalling discord i could move it again but once better discord was reinstalled discord became unmovable again just sitting in the middle of my screen an nothing works to move it.

scratch that noticed a better discord folder i missed an deleted it seems to have fixed my problem for now...
so i have no idea what it was might have been a corrupted theme or plugin...

ok idk what to think it happened again his time after i changed my default screen... once again i remember the better discord folder that holds the themes an plugin's an it goes away >.>....
Since this once was a fresh reinstall all i had on was NotAnotherAnimeTheme.theme .... everything else was default...
so any one have any ideas? i woul like to have themes back on :( lol


Add a blog to 2022 June blog list

Contribute to Identity Beyond Borders

We strongly recommend adding the blog to Identity Beyond Borders
publication maintained by WSO2 Identity Server team. Follow the guide to add yourself as a writer.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.shanggeeth kanagalingam seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.