Upgrade k8s libraries

Why is this PR needed?
Updating kubernetes to 1.18 requires us to update also the libraries used in skuba
k8s.io/api v0.17.5 -> v0.18.2
k8s.io/apimachinery v0.17.5 -> v0.18.2
k8s.io/client-go v0.17.5 -> v0.18.2
k8s.io/cluster-bootstrap v0.17.5 -> v0.18.2
k8s.io/kubernetes v1.17.5 -> v0.18.2

Fixes https://github.com/SUSE/avant-garde/issues/1575
Reminder: Add the "fixes bsc#XXXX" to the title of the commit so that it will
appear in the changelog.
What does this PR do?
please include a brief "management" technical overview (details are in the code)
Anything else a reviewer needs to know?
Special test cases, manual steps, links to resources or anything else that could be helpful to the reviewer.
Info for QA
This is info for QA so that they can validate this. This is mandatory if this PR fixes a bug.
If this is a new feature, a good description in "What does this PR do" may be enough.
Related info
Info that can be relevant for QA:

link to other PRs that should be merged together
link to packages that should be released together
upstream issues

Status BEFORE applying the patch
How can we reproduce the issue? How can we see this issue? Please provide the steps and the prove
this issue is not fixed.
Status AFTER applying the patch
How can we validate this issue is fixed? Please provide the steps and the prove this issue is fixed.
Docs
If docs need to be updated, please add a link to a PR to https://github.com/SUSE/doc-caasp.
At the time of creating the issue, this PR can be work in progress (set its title to [WIP]),
but the documentation needs to be finalized before the PR can be merged.
Merge restrictions
(Please do not edit this)
We are in v4-maintenance phase, so we will restrict what can be merged to prevent unexpected surprises:
What can be merged (merge criteria):
    2 approvals:
        1 developer: code is fine
        1 QA: QA is fine
    there is a PR for updating documentation (or a statement that this is not needed)

In preparation for the transition to V5 this PR this PR has changed the target branch from master to experimental-v5. There are some opened PRs required for transitioning from v4 to v5:

#997
#1107
#1132
#1138
#1140
#1141

We want to merge them all into an experimental branch so we can actually test it all together before merging it to master.
Note this PR commits are expected to get into master along with #1137


Typo fix

Before submitting a pull request, make sure it's targeting the right branch:

For fixes to Ink 1.0, use master.
For fixes to Foundation for Emails 2, use v2.0.

Happy coding! :)

Thanks!


Update bitcoin_nl.ts v.1

Cleaning up the translation into Dutch...Work in progress...

Thank you. I really appreciate your work on this.


Install Stave via pip

This PR fixes #183.
Description of changes

Add setup.py and MANIFEST.in to package Stave. MANIFEST.in includes two paths, i.e., sample_sql/ and build/, which are not included in this PR but will be generated when running Github workflow pypi.yml. package-lock.json is included to ensure that workflow can work. The workflow will run the following steps to construct a package structure:

Install npm and generate build folder, which will then be moved to the package path stave/simple-backend/nlpviewer_backend/lib/build.
Copy sample_sql/ to stave/simple-backend/nlpviewer_backend/sample_sql/.
settings.py is modified to reroute database to the new path and to hide SECRET_KEY. The updated settings.py is stored under scripts and will be moved to package path during the workflow.

Update StaveViewer interface: remove the build_path parameter since it is already copied to the same directory of stave_viewer.py. manageproject.py is also updated to reflect this change.
Add load_database() to StaveViewer to support initializing database db.sqlite3 and loading data from sample_sql/*.sql.
Fix issues in stave_project.py to allow overwriting textpacks with the same index.

Possible influences of this PR
Demonstration of results

Install
The source archive and built distribution are already uploaded to TestPyPI. Run the following command to install:

pip3 install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple stave==0.0.1.dev0

Test Snippet

from nlpviewer_backend.lib.stave_viewer import StaveViewer
sv = StaveViewer(in_viewer_mode=False)
sv.run()
sv.load_database(load_auth=True, load_samples=True) #Optional
sv.open()

Stave CLI (entry_points.console_scripts) will be separated to another PR for better tracking.

scripts/settings.py and package-lock.json are removed. The latest package for test is stave==0.0.1.dev4, which can be installed via

pip3 install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple stave==0.0.1.dev4


USP-05 - style the dashboard with a style sheet template

As a developer, I want the ability to style the dashboard by a style sheet.

Style dashboard according to rules set by a style guide.

This issue needs a bit more context and a few issues streamlined:

[ ]  create short style guide on implementation detail, e.g. margins, fonts, etc.
[ ] clean up variables according to style guide in sass
[ ]  refactor variables to functions in sass
[ ] generate CSS from sass

This user story has to do with some of the current styling decisions for the Flask front-end. I'm not happy with how the containers are defined, they're a little messy which results in a long sass file with a lot of repetitions. By implementing Sass functions some of the headaches are potentially minimized.


Misspelling (/poor grammar) in locked out message

Should it not read

There have been too many attempts . . .

Fixed in the API


Update APIs in UMKURLEncodedParameterStringParser

-stringByReplacingPercentEscapesUsingEncoding: is deprecated in iOS 9.
The change to replace it cascaded into NSDictionary+UMKURLEncoding and
the tests as well.
@prachigauriar please review.

:+1:


Add min time to histogram chunks

This fixes root cause of compactor failures with many chunks non-completely outside the block time range.
You can test TestPopulateWithTombSeriesIterators before and after the latest commit to verify that it fails before and passes after.
The new expectedMinMaxTimes in the unit tests may not be necessary as they can be inferred from expectedChks. Not sure if we want to include it just as an actual check though (in case the inference from expectedChks can be buggy somehow).
So the bug that this fixes is that previously, when the deletion interval removes the earlier part of a integer/float gauge/counter histogram chunk, the minTime is not updated. For example, when the true time range of the chunk is 200-300, it may be recorded as 100-300. (Previously we only tested the removal of the later part and maxTime, which already works.) You don't need to have mixed types of chunks in a block.

This is now top of my review list.
@zenador could you update the PR text to the current state of research? In particular, if this is a relevant bug fix, we should probably merge it into release-2.48 first.

Thanks! Updated.

Will merge on green.


[Hotfix] Un-xfail Kingfisher and ReactiveKit after #688

We now skip armv7 and armv7s architecture (#688)
These projects only failed before for those specified architectures. This PR removes those xfails to prevent unexpected passes from occuring.
Failing builds seen here:
https://ci.swift.org/job/swift-PR-source-compat-suite-test-macOS/38/
https://ci.swift.org/job/swift-PR-source-compat-suite-test-macOS/37/console
Verified locally that the UPASS's no longer appear with this change

cc @shahmishal

@swift-ci test

+ ./swift-source-compat-suite/utils/format_projects_list.py swift-source-compat-suite/projects.json

Going to merge this to unblock CI.

@shahmishal if you need this to unblock CI I'll leave that merge to you as I don't have admin access on this repo.


Broken image link in the quickstart document

https://github.com/huggingface/pytorch-image-models/blob/a02b1a8e79bd5050c7ce5a863f178c822b24ef1f/hfdocs/source/quickstart.mdx?plain=1#L167
This is a broken link. I can create a PR to replace this with another image so that the image below does not break too.

@ariG23498 sure, PR would be great. Should probably be another image on a HF server to avoid any upset people :) Not 100% what example images are used in transformers docs .. I know there is a beignet one but not sure it's best for ImageNet-1k classifiers, heh..

I was thinking the same. I have seen this image to be widely used in the transformers docs. Would you like for me to use this?

Note: This image is hosted in the cocodataset. We could upload the image to a folder inside the hf docs dataset named timm. I can take care of this as well. WDYT?

@ariG23498 that'd be perfect

@rwightman could you approve and merge this PR?
That would un-block me into adding the image to the docs. TIA!

@ariG23498 hmm, it's asking me to do a full sign on with Kolide to access that repo. I'm away from my normal machine over holidays so can only access the open source stuff I'm working on :/

@rwightman I have merged the PR in HF, and have also started #2381 in timm.

@ariG23498 thanks! merged


Deep clone to copy any events attached to slides

Came across this issue when using slick combined with knockout bindings.  The click bindings on the slides worked fine, however the clones didn't retain their events.  This solved the issue.

@kenwheeler Any update on this?

@aaronincincy is there any chance you a working example with knockout or any tips? We're having trouble... some bindings aren't working like ones bound to selects.

I don't have anything distilled down to an example handy, but if you look at the slider at the bottom of http://www.macyscollege.com/ you can see what I was able to get working.


New-ComplianceSearch - just the hard way of doing work

Searching a single mailbox using this PowerShell command is convoluted and ridiculous.
The Compliance methods are not designed around actually searching individual mailboxes or working with small data sets like searching mailboxes.
The split should be reinitialized and put Search-Mailbox back into the environment so one mailbox can be searched and use Compliance Searches for true and real data set style searches.   When it takes me days to figure out how to do a simple search of a mailbox for a specific email because the search method is too complex to be setup quickly it is a tool that has no real value.
If I need to do a Compliance Search for legal purposes for many mailboxes across my organization then I will dig into this tool but for a quick search of a specific mailbox this is just too much work.    I don't know who made this decision or who is thinking this is a good thing just never has worked on the smaller side.

@ChrisNic817, you should open a support ticket about this. All we can do here is fix documentation.

@ChrisNic817 Hope this comment is helpful for you. Considering the nature of the issue, as advised, please open a service ticket in your tenant and follow with them for the resolution. We proceed to close it as here we are limited to documentation fixes and improvements only.
We will be very happy if you can share the outcome or resolution with us if you see documentation update is required. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Docker authentication using desktop as credsStore not working

What happens?
After upgrading to version 0.3.8, I am experiencing following issue when attempting to pull a image from docker hub:
`Error: key "auths" not found in dictionary

Why does it happen?
After a fresh install of Docker on macOS and login in via the terminal, the config.json looks like:
% docker login
Authenticating with existing credentials...
Login Succeeded

Logging in with your password grants your terminal complete access to your account.
For better security, log in with a limited-privilege personal access token. Learn more at https://docs.docker.com/go/access-tokens/
% cat  ~/.docker/config.json
{
	"auths": {
		"https://index.docker.io/v1/": {}
	},
	"credsStore": "desktop"
}%

Workaround
For those who wants to work around this, you can update config.json with "credsStore": "" and then login again. This will populate the auth field in the dictionary for https://index.docker.io/v1/.

fixed by #131


add project entry points for new function

I've done the following:

added an alias to the hub_predtimechart function called "ptc_generate_json_files", so that it's more clear what is happening
added ptc_generate_FluSight_targets to point to generate_target_json_files_FluSight.py

I'm fairly confident this should work based on the setup tools page on entry points:

Our plugin could have also defined multiple entry points under the group timmins.display.
For example, in src/timmins_plugin_fancy/__init__.py we could have two display()-like
functions, as follows:
def excl_display(text):
    print('!!!', text, '!!!')

def lined_display(text):
    print(''.join(['-' for _ in text]))
    print(text)
    print(''.join(['-' for _ in text]))

The configuration of timmins-plugin-fancy would then change to:
pyproject.toml
[project.entry-points."timmins.display"]
excl = "timmins_plugin_fancy:excl_display"
lined = "timmins_plugin_fancy:lined_display"

The python packaging tutorial is the first thing that I've found to clearly explain what's going on.

I've tested this by installing from this branch and can confirm that the entry points work:
pip install git+https://github.com/hubverse-org/hub-dashboard-predtimechart@zkamvar-patch-1
ptc_generate_json_files --help
ptc_generate_FluSight_targets --help


ladle, empty and filled with soup versions

    show ladle_empty # TODO: ladle, empty and filled with soup versions

https://github.com/pixequil/oso-game-1/blob/4a7f7a45ae16f5ff6c209df539b1f7a2bfad9690/game/room004-museum_blue.rpy#L44

https://github.com/pixequil/oso-game-1/blob/c9953ec3e6480bd1dfa989c34c13f39644383997/game/room004-museum_blue.rpy#L47

ASSETS:
Empty Ladle: https://drive.google.com/file/d/12HNz0fWmfY0MpCPaF0VzGgX2y14L6l_q/view?usp=drive_link
Full Ladle: https://drive.google.com/file/d/1oes5KtiSq3ItErvIwlGqwHl0vt5tiFQ-/view?usp=drive_link

Credits go to Faye's_odd.5450 (that's how they want to be credited)

needs implementing

ASSETS: Empty Ladle: https://drive.google.com/file/d/12HNz0fWmfY0MpCPaF0VzGgX2y14L6l_q/view?usp=drive_link Full Ladle: https://drive.google.com/file/d/1oes5KtiSq3ItErvIwlGqwHl0vt5tiFQ-/view?usp=drive_link

btw these assets are 500 x 500 px, there's another version that's 70 x 70 in the google drive, but they're a little blurry. I don't know if it'd be better to resize them in the engine.


In Chrome: Clicking outside of a step causes an error

Seen in Google Chrome 17.0.963.66, works ok in Safari 5.1.3
Clicking outside of a step sometimes leads to the target being the HTML node which skips the check for document.body in the while loop in the onclick handler.
Uncaught TypeError: Cannot read property 'tagName' of null impress.js: 373
and
Uncaught TypeError: Cannot call method 'contains' of undefined  impress.js:397
Not sure why this is bypassing the actual target and the BODY node.
Also links in a step that has been rotated around do not seem to receive the target, eg:

         www.example.com

Well spotted!
Clicking on  is disabled in CSS with pointer-events: none so when you click on the body element click actually hits root element (skipping the body).
I'll fix that.
I'm not sure what you mean with the other part about clicking on a links in rotated steps.
Clicking on a link doesn't work?

It should be fixed now. Thanks!

Thanks for the fix.  Love impress.js BTW - great work!
Yes, I am referring to links in Google Chrome and maybe even Safari as well..
Check out this example http://jsfiddle.net/ZcgFA/1/embedded/result/
I cannot click on the Yahoo link. Can you?


improve lighthouse score

Above pull request did prove to be a perfect lighthouse score, so this can be closed!


How do I make it so that I can just use flight whenever without conditions?

Basically what the title says. The scripting thing (at least in-game) doesn't work at all for me
(Nevermind) For the poeple looking to do this, just go in config, open the .json file for creative flight survival and change false to true

duplicate of #20


Roll Flutter Engine from 14be26c91620 to 9569af6620ce (1 revision)

https://github.com/flutter/engine/compare/14be26c91620...9569af6620ce
2023-08-21<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from iQbvLoFBbhU8pkkqw... to lDn2QLh1I7rtNu01y... (flutter/engine#44895)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from iQbvLoFBbhU8 to lDn2QLh1I7rt
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jsimmons@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


CAMEL-10947 Fixed missing alignment on ${htmlunit-version} property

I guess this is fixed already here: https://github.com/apache/camel/commit/9fc4ca4e44e0b425c501df811027ffc67282e9a1

Can you close this? Thanks :-)


refactor: [M3-6790] – MUI v5 Migration - Components > Divider

Description 📝

Move Divider.tsx out of /core
Use the styled() API in Divider.tsx
Add some CSS in AddNewMenu.tsx to keep Create menu matching prod

How to test 🧪
Look over the app and ensure that <Divider /> appears as expected.

Also, can we add a Storybook Story just so the component is documented? This is all we'd need:
import React from 'react';
import { Meta, StoryObj } from '@storybook/react';
import { Divider } from './Divider';

const meta: Meta<typeof Divider> = {
  title: 'Components/Flag',
  component: Divider,
};

type Story = StoryObj<typeof Divider>;

export const Default: Story = {
  render: (args) => <Divider {...args} />,
};

export default meta;


Added alias

Alias is a vector of strings containing alternate names for a device object.

included un #3


New mechanics for handling path types

What's changing
This PR overhauls the path specification mechanics in the library. Instead of using config data classes, I implement a validation type called AssetPath that validates a string for having a prefix in the following:

hf:// for huggingface repos
file:// for direct file paths
wandb:// for fully qualified W&B paths

This approach is analogous to how many other libraries specify paths, and I believe is a more direct way of doing so. It also lets me change the config field from load_from to path, which makes much more semantic sense in my head.
Follow-ups
You'll also notice that I changed the result types from the jobs a bit, to actually include the W&B artifacts directly. In a follow-up, I plan to centralize where the artifact logging is occurring within the LMBuddy class, which should simplify much of the conditional logic that is currently found within the job entrypoints.

How much of this will we be able to port to the platform if we need to?

I think it will help with the platform a lot! For instance, being able to specify hf:// vs file:// vs s3:// will likely be the difference between raw HF models and internal models that we have trained.
It's good groundwork for some of those goals IMO.


Converted sliders that go through the 0 angle mark (i.e. swipe through the top of the playfield) are not placed in.

I found this issue when attempting to do a simple curve from the right to the left at a slow speed, I found in the TauBeatmapConverter that the reported values go above 0.6 and infact go to 17. A better way to check this is to either add in a toggle to disable this in the Lite mod or to make sure the wrapped around angles are accounted for by getting only the shortest angle difference and not the longer difference.
https://github.com/taulazer/tau/blob/7f9e3b322ee9fc4a4508a0b47a428a0c6fdf2a33/osu.Game.Rulesets.Tau/Beatmaps/TauBeatmapConverter.cs#L55

Can you give an example beatmap on where this is present?

Slime Girls - Intro.zip
Here is a recreation of thee original tau level which uses the sliders that go around 0 twice

I feel like it'd be best if we iterate through the surrounding angles and see if they are larger than a certain threshold rather than comparing the current angle and the last angle. @LumpBloom7 Opinions?

Just got reminded about this issue not too long ago, and I've tested it with the new overhaul and it seems like this issue isn't present anymore (w/o impossible sliders).


ControllerTest: use pytest.fail() instead of bare asserts

using the bare asserts doesn't integrate with the pytest output like it would if using an assert inside a test_...() function.

actually.. seems to be working fine.. I definitely noticed this before, but for whatever reason now, I'm getting the proper rewritten assert messages.


Fix a typo in the documentation of IOptions.cs

@mlaily,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

Looks good. I'll get this merged once the repo completes building.

Thanks for the PR!

Thank you :)


What does "No support for subdir base url" mean?

I am the developer of the bearplus theme and I see that it's listed under non-elegible thems because "No support for subdir base url". What does this mean?
I'm not sure if it's referring to this, but note that until recently, the theme demo used a subdirectory (salcc.github.com/zola-bearplus) as a base_url (https://github.com/salcc/zola-bearplus/compare/14becb9..49c5557). Some days ago I started using a custom domain for my personal webpage and now the demo is hosted in the subdomain https://theme.marçal.cc, but using a subdirectory for base_url like before still works correctly.

Hi. Your theme uses absolute path for css files: href="/style.css".
I am using the following base_url addresses:
http://<IP_ADDRESS>:1111/demo/bearplus/
https://salif.github.io/zola-themes-collection/demo/bearplus/

As a result, style.css is located at the following addresses:
http://<IP_ADDRESS>:1111/demo/bearplus/style.css
https://salif.github.io/zola-themes-collection/demo/bearplus/style.css

But your theme expects style.css to be located at the following addresses:
http://<IP_ADDRESS>:1111/style.css
https://salif.github.io/style.css

Thanks for the explanation. I fixed it now.

Thanks. I added bearplus in 38b4313c71cd3a6c03fbe085f3fafe3e7462ff62.


Create riceindia.txt

@praisey6 The first verification stage is complete: the official domain for  Adamas University is adamasuniversity.ac.in, to the best of my knowledge. This is just an informational note. The pull request is still under review. The review may take some more time. I greatly appreciate your patience. Here is the proof of domain ownership: https://qaa.adamasuniversity.ac.in/wp-content/uploads/sites/41/2024/05/Mr.-Anish-Kumar.pdf

@praisey6 Thank you for your patience while waiting for a review and processing your request. Pull request merged.
Please start requesting the licenses in about an hour, to let the changes to propagate through our system.


Update ML.Net package version doesn't work on VS2022 int preview

Model Builder version: latest main
Visual Studio version: Version 17.1.0 Preview 2.0 [32001.329.main]
I'll reach out to vs discuss thread for solution

full log
Updating nuget dependencies...
Starting update NuGet dependencies async.
Installing nuget package, package ID: Microsoft.ML, package Version: 1.7.0
Specified method is not supported.
   at Microsoft.VisualStudio.ProjectSystem.ProjectSerialization.CachedProject.GetItemProvenance(String itemToMatch, String itemType, EvaluationContext evaluationContext)
   at Microsoft.VisualStudio.ProjectSystem.Items.MSBuildGlobUtilities.TryGetLatestExactMetadataElement(ProjectItem item, ProjectRootElement containingProjectXml)
   at Microsoft.VisualStudio.ProjectSystem.Properties.ItemProperties.ProjectMetadataElementCache.<GetValueAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.VisualStudio.ProjectSystem.Properties.ItemProperties.<GetProjectItemAndMetaElementAsync>d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.ProjectSystem.Properties.ItemProperties.<SetPropertyValueAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.ProjectSystem.Properties.ItemPropertiesWithCatalog.<SetPropertyValueAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.ProjectSystem.Properties.ProjectPropertiesBase.<>c__DisplayClass31_0.<<Microsoft-VisualStudio-ProjectSystem-Properties-IProjectProperties-SetPropertyValueAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Threading.JoinableTask.<JoinAsync>d__76.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.ProjectSystem.ProjectLockService.<ExecuteWithinLockAsync>d__129.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.VisualStudio.ProjectSystem.ProjectLockService.<ExecuteWithinLockAsync>d__129.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.PackageManagement.VisualStudio.CpsPackageReferenceProject.<InstallPackageAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at NuGet.PackageManagement.NuGetPackageManager.<ExecuteBuildIntegratedProjectActionsAsync>d__82.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.PackageManagement.NuGetPackageManager.<ExecuteNuGetProjectActionsAsync>d__79.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.PackageManagement.NuGetPackageManager.<InstallPackageAsync>d__48.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.PackageManagement.NuGetPackageManager.<InstallPackageAsync>d__47.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.VisualStudio.VsPackageInstaller.<InstallInternalCoreAsync>d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at NuGet.VisualStudio.VsPackageInstaller.<InstallInternalAsync>d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at NuGet.VisualStudio.VsPackageInstaller.<InstallInternalAsync>d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
   at NuGet.VisualStudio.VsPackageInstaller.InstallPackage(String source, Project project, String packageId, String version, Boolean ignoreDependencies)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at NuGet.VisualStudio.VsPackageInstaller.InstallPackage(String source, Project project, String packageId, String version, Boolean ignoreDependencies)
   at Microsoft.ML.ModelBuilder.Utils.Utilities.<InstallNugetPackageAsync>d__17.MoveNext() in C:\Users\xiaoyuz\source\repos\machinelearning-tools\src\Microsoft.ML.ModelBuilder\Utils\Utilities.cs:line 319
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.<UpdateNugetDependenciesAsync>d__123.MoveNext() in C:\Users\xiaoyuz\source\repos\machinelearning-tools\src\Microsoft.ML.ModelBuilder\ViewModels\TrainViewModel.cs:line 1037
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.<GenerateCodeBehindFilesAsync>d__122.MoveNext() in C:\Users\xiaoyuz\source\repos\machinelearning-tools\src\Microsoft.ML.ModelBuilder\ViewModels\TrainViewModel.cs:line 981

Related with https://github.com/NuGet/Home/issues/11427

fix: update to latest VS

@LittleLittleCloud , I can update the Microsoft.ML to latest 1.7.0 from NuGet Package Manager without error, not sure whether have verified this issue? if not, could you help to provide me the repro steps?
My steps:

Install Microsoft Visual Studio Enterprise 2022 (64-bit) - Int Preview Version 17.1.0 Preview 4.0 [32119.435.d17.1];
Update ML.Net Model Builder VS2022 to latest main;
Open NuGet Package Manager and install Microsoft.ML to 1.6.0;
Update Microsoft.ML to 1.7.0

ML.Net Model Builder VS2022: <IP_ADDRESS>6901
Microsoft Visual Studio Enterprise 2022 (64-bit) - Int Preview Version 17.1.0 Preview 4.0 [32119.435.d17.1]

@LittleLittleCloud any update about my validation steps?

@vzhuqin
Nope, the fix is on VS side so we don't have to validate anything at this time point


Panic on colon :

I'm using Atom and atom-racer on Windows 8.1 x64, which recently has been telling me that racer exited with code 101. This is with racer tag v1.0.0. I have narrowed down this issue to racer itself (outside of atom/atom-racer) with this file:
struct Foo {
    value : i32,
}

fn bar(data : u8) { }

Save that as main.rs, then call racer. Both of these lines cause a racer panic:
racer.exe complete 2 11 /path/to/main.rs
racer.exe complete 5 13 /path/to/main.rs

Output:
PREFIX 11,11,
thread '<main>' panicked at 'index 0 and/or<PHONE_NUMBER>3709551615 in `:` do not lie on character boun
dary', ../src/libcore\str/mod.rs:1284

The 2:11 and 5:13 are both on the colon separating the field/parameter and its type.
I had this happen with Rust 1.2 beta and now Rust 1.3 beta.
It is distracting when using racer in an IDE because racer invocations seems to crash randomly when typing code.

Thanks for filing the issue Joshua, I'll take a look

Great, thanks!


Define hit area or dead zones

Is there any way to define which portion of the View will trigger the interaction? For example I'm trying to do a side menu where swiping to the right moves the content and opens the side menu, but I only want it to happen if they start the swiping from the left edge of the screen

Did you find an answer to this? It might be relevant to a problem I am facing.


Implement zigup default master

It just removes the explicit check as missing of master symlink would already get detected by setDefaultCompiler().
Implements as per discussed on discord/issue topic.
I noticed that you aren't doing zig fmt, so I didn't did it either.
Closes #33

I have also rebased it to master

Ok I finished the implementation and added a test to make sure that we get a good error when master is not fetched.  I'll give you a change to review the code before merging.

Ohh it makes sense now, looks good


Retrieve all TPFs per chip

Issue description
Is it possible to call for the TPFs as a function of the chip? Or even "all per campaign"
Example
import lightkurve
TPFs = lightkurve.KeplerTargetPixelFile.from_archive(chip=42, campaign=0)

Expected behavior
I expected that the chip kwarg is would exist and that the target kwarg would not be required; much like campaign vs quarter, I was expecting chip to replace target.
I would like to download the TPF files from every target observed, per chip per campaign. Or at least be able to list the EPIC numbers for each TPF per chip per campaign.
Environment:

platform: OSX
lightkurve version: 1.0b19
installation method: pip

Unfortunately the MAST Portal API does not support queries on mission-specific meta data at this, such as Kepler CCD identifier.  So far the only work-around is to query targets manually using e.g. the web-based Kepler or CasJobs interfaces at MAST, or to use the older MAST web services (cf. https://archive.stsci.edu/vo/mast_services.html).
Supporting CCD-based searches is on our wish list but we are waiting for the MAST Portal API to support such queries.  Until then, I am going to close this issue.
/cc @mustaric @scfleming

I wrote this code snippet to do the job; but it requires downloading the entire K2 database from
https://exoplanetarchive.ipac.caltech.edu/cgi-bin/TblSearch/nph-tblSearchInit?app=ExoTbls&config=k2targets
I stored the csv file [updated as of 10/14/2018] on my personal website for me + others to wget:
# full exoplanetarchive download: 44MB
wget http://www.astro.umd.edu/~jfraine/k2targets.csv

# Only the 2 columns in the full exoplanetarchive download required for this script: 7.3MB
wget http://www.astro.umd.edu/~jfraine/k2targets_campaigns_and_epicIDs_only.csv

import pandas as pd
import numpy as np
import lightkurve as lk

try:
    from tqdm import tqdm # progress bar
except:
    print('`pip install tqdm` to make this procedure prettier')
    tqdm = lambda iterable, total=None: iterable

try:
    k2targets = pd.read_csv('k2targets.csv')
except:
    k2targets = pd.read_csv('k2targets_campaigns_and_epicIDs_only.csv')

# Array of possible campaign values in the `k2_campaign` column
campaign_options = np.array(list(set(k2targets['k2_campaign'].values)))

# Array of campaign values in the `k2_campaign` column in order
campaigns_ = k2targets['k2_campaign'].values

c_start = 14 # arbitrary # Campaign start for iterable list
n_campaigns = 1 # number of campaigns to download: set to 1, just to get the ball rolling
n_IDs = 10  # number of EPIC ids to download; set to 10 for test case

# This list can be set to `campaign_options` if all campaigns are desired
campaign_list = campaign_options[c_start:c_start+n_campaigns]

# Setup dict to store values if desired -- not required
k2_lightkurves = {}

# Here we loop over the `campaign_list`, which is defined above as just 1 campaign;
#    but this can be expanded to any number of campaigns (in sequence of not)
for campaign in tqdm(campaign_list, total=len(campaign_list):
    # Allocate the exact EPIC ids to download in the next for loop
    EPIC_ids = k2targets['epic_number'][campaigns_ == campaign].values
    k2_lightkurves[campaign] = {}
    for epic_id in tqdm(EPIC_ids[:n_IDs], total=len(EPIC_ids[:n_IDs])):
        # loop of the allocated EPIC ids and download them one-by-one
        k2_lightkurves[campaign][epic_id] = lk.KeplerTargetPixelFile.from_archive(target=epic_id);

Some good news on this front: we have made a new column to CAOM called "sequence_number" available in the table.  This is an integer column that, when populated, will contain the K2 Campaign number and the TESS sector number, meaning you will be able to do a direct query on Campaign/Sector.
Note that the sequence_number values aren't populated yet for K2 or K2 HLSP, but they will be in the future.
We are planning on splitting up the Kepler data to so you could then do a filter on Quarter number, but that work is further in the future.

@exowanderer Thank you for sharing this snippet!  Perhaps we should add support for querying the old API.
@scfleming Do you expect queries based on CCD number will be possible in the future, or would you encourage us to script around the old API?

(Also: @scfleming thank you for the fantastic news about the extra CAOM column for campaign/quarter number!!)

I would script around for CCD number at this point, that's less likely to be included as part of the data model, at least in the near future.

@scfleming Do you expect the old API be supported indefinitely?

At this point, my best guess is that the old API will be supported until and unless that functionality is made available in the new API.  So I guess my answer is "no", since it's possible that functionality moves into the new API, and at that point we would almost certainly shut down the old API.

Thanks for the info @scfleming!

This is all very useful. Thank you both for the helpful conversation.
At this point, does the information that lightkurve grabs (even if not in the TPF class) include the chip number? I see channel; but I don't know what that means.
If tpf.channel is the chip number, then I'm perfectly happy to reconfigure the above script to store the lightkurve output as k2_lightkurves[campaign][channel][epic_id].


Threads getting blocked in RsaVerifier.

I'm running into a behaviour which causes threads to block when verifying RS256-signed JWT tokens. The problem seems to be caused by https://github.com/spring-projects/spring-security-oauth/blob/master/spring-security-jwt/src/main/java/org/springframework/security/jwt/crypto/sign/RsaVerifier.java#L50. Here's a thread dump:
java.security.Provider.getService(java.lang.String, java.lang.String) (line: 1035)
sun.security.jca.ProviderList$ServiceList.tryGet(int) (line: 437)
sun.security.jca.ProviderList$ServiceList.access$200(sun.security.jca.ProviderList$ServiceList, int)
sun.security.jca.ProviderList$ServiceList$1.hasNext()
java.security.Signature.getInstance(java.lang.String) (line: 228)
org.springframework.security.jwt.crypto.sign.RsaVerifier.verify(byte[ ], byte[ ]) (line: 50)
(...)

Provider.getService is synchronized, which (I believe) is what is causing threads to block (https://bugs.openjdk.java.net/browse/JDK-7092821). Is there anything that could be done from Spring's side regarding this? Like, for example, caching the Signature instance or providing an aspect that caches the Provider?

@dsyer would it be safe to cache Signature instances using a thread-local?

The only downside is the additional complexity in the code I would say. I guess we can look at a pull request?


Firebase Authentication currentUser() returns null

This is about Flutter Firebase Authentication plugin. I am trying to send a verification email after creating a new user, but sendEmailVerification() internally uses currentUser(). The error is the same on Android and IOS.
First two lines successfully return FirebaseUser. The third returns null. Forth, if third is commented throws a null reference error.
Thanks,
Boris
user = await _auth.createUserWithEmailAndPassword(email: email, password: password);
// result is FirebaseUser
user = await _auth.signInWithEmailAndPassword(email: email, password: password);
// result is FirebaseUser
user = await _auth.currentUser();
// result is null
await user.sendEmailVerification();
//null reference, because it internally uses .currentUser()

This has posted as StackOverflow question: https://stackoverflow.com/questions/50439051

@kroikie Why is this closed?! There's no resolution!


Crash in extendBasis (“should never happen”).

Reproducible test case:
d3.packSiblings([
  0.5672035864083508,
  0.6363498687452267,
  0.5628456216244132,
  1.5619458670239148,
  1.5658933259424268,
  0.9195955097595698,
  0.4747083763630309,
  0.38341282734497434,
  1.3475593361729394,
  0.7492342961633259,
  1.0716990115071823,
  0.31686823341701664,
  2.8766442376551415e-7
].map(r => ({r: r})));

/cc @robinhouston

Almost certainly the issue is the tiny circle since that is smaller than our epsilon.

Seems like the quickest fix would be to change encloses:
function encloses(a, b) {
  var dr = a.r - b.r, dx = b.x - a.x, dy = b.y - a.y;
  return dr > -1e-6 && dr * dr + 1e-9 > dx * dx + dy * dy;
}

That will fail for large-radius circles in d3.packSiblings, or when the input circles to d3.packEnclose are far apart, though. So I suppose we could say something like this:
function encloses(a, b) {
  var dr = a.r - b.r, dx = b.x - a.x, dy = b.y - a.y;
  return dr >= -1e-6 && dr * dr * (1 + 1e-9) >= dx * dx + dy * dy - 1e-6;
}


pandas and pyarrow upgrade required

While running the TTM colab notebook, we get the following error. Seems some library in public tsfm needs upgrade. After upgrading pandas and pyarrow to the latest version in the notebook, the error is resolved..
cudf-cu12 24.4.1 requires pandas<2.2.2dev0,>=2.0, but you have pandas 2.2.2 which is incompatible.
cudf-cu12 24.4.1 requires pyarrow<15.0.0a0,>=14.0.1, but you have pyarrow 16.1.0 which is incompatible.
google-colab 1.0.0 requires pandas==2.0.3, but you have pandas 2.2.2 which is incompatible.
google-colab 1.0.0 requires requests==2.31.0, but you have requests 2.32.3 which is incompatible.
ibis-framework 8.0.0 requires pyarrow<16,>=2, but you have pyarrow 16.1.0 which is incompatible.

If we want to honor google-colab 1.0.0 requires pandas==2.0.3 and similar constraints it might require a separate release or branch/tagging strategy per platform as other platforms might bring in their own constraints.

Documenting here, from internal discussions.
Currently, some operations we do are not compatible with pandas==2.0.3. However, if you pip install as follows, the pyarrow and requests issues are resolved:
!pip install git+https://github.com/IBM-granite/granite-tsfm.git "datasets<2.20"

Tagging this with help wanted. Tests are currently failing for a downgraded version of pandas. There have been numerous changes in the pandas 2.x series of releases -- looking for someone to help identify fixes for these issues. I believe there are issues with options supported by group-by (and the default behavior) as well as how pandas defines frequency / period specifiers for daterange.

@wgifford I'll see if I can make any headway tomorrow.


Settings directory deleted

This is  a bug.

Prerequisites

[x] Are you running the latest version?
[x] Are you reporting to the correct repository?
(enso is made of many specialized packages: https://github.com/laravel-enso)
[x] Did you check the documentation?
[x] Did you perform a cursory search?

Description
The settings directory was deleted resources\js\core\structure
Steps to Reproduce
Expected behavior
Works
Actual behavior
Doesn't :)

It was renamed to ‘menu’ please read the changelog

And you can find Settings.vue in the menu directory can you?
Please try a brand new clean install and tell me it works!

Sorry I didn't mean to be offensive there 😔

Ah I see..

that's strange.. run php artisan vendor:publish --tag=enso-assets or composer update (will run the same command in post-update-cmd)

fixed in the main repo too ( 7ef28b3c )

Thankyou, I will have to try this when I get back to work tomorrow.
On another note the yarn.lock was looking for a fortawesome package from npm.fortawesome.com hence having to delete the lock file to prevent yarn install  throwing a 401 exception.


Minor fixes to build in 6.3

Implements fixes identified by @gabriel-jones in #31 to build in release version of Xcode 6.3

Thank you


fix: Fix green screen issue on Edge with mixed content

On Edge, to properly play mixed content, we need to insert init segment twice for clear part - once as encrypted, and immediately again as clear. Otherwise we may encounter green screen and errors from video decoder.

On Edge, to properly play mixed content, we need to insert init segment twice for clear part - once as encrypted, and immediately again as clear. Otherwise we may encounter green screen and errors from video decoder.

The latest Edge (for several years) is based on Chromium, so this shouldn't be an issue on desktops.  Is there a particular platform that has a legacy version of Edge that has this problem?  This is the case on our Xbox, for example.

@joeyparrish unfortunately is is the issue even on current Edge Chromium when using PlayReady.

@joeyparrish unfortunately is is the issue even on current Edge Chromium when using PlayReady.

If Widevine is used, it doesn't happen?

@avelad yes, it seems we don't need this workaround when Widevine is used.

@avelad yes, it seems we don't need this workaround when Widevine is used.

So, this should be taken into account in the code, because right now it applies to ClearKey, PlayReady and Widevine.

@joeyparrish can review it again? Thanks!


Memory leak when a retry policy triggers a retry

See https://github.com/MassTransit/MassTransit/issues/1334 for full description.
Issue is present in GreenPipes code through the BaseRetryPolicyContext and RetryFilter implementation

Nice catch, who knew.


tarp mold with default fields

++tarp is defined like this:
++  tarp  {d/@ud h/@ud m/@ud s/@ud f/(list @ux)}        ::  parsed time

Is the below line correct behaviour?
I would except s to be 56
> (tarp 63.701.625.176 7 52 56)
[d=63.701.625.176 h=7 m=52 s=0 f=~]

You generally don't want to actually call the type to cast your data, but alright:
> (tarp 63.701.625.176 7 52 56)
[d=63.701.625.176 h=7 m=52 s=0 f=~]
> (tarp 63.701.625.176 7 52 56 ~)
[d=63.701.625.176 h=7 m=52 s=56 f=~]

I think this has to do with how type gates fail when the input doesn't nest. For your input, when it gets to the {s/@ud f/(list @ux} part of the type (after having successfully filled in all preceding values), all input that remains is a @ud. That's an atom, not a cell like it still expects, so it throws its hand in the air and gives up.

If you want to use the bunted type, with some values changed, the pattern is this:
> %*(. *tarp h 5, m 6)
[d=0 h=5 m=6 s=0 f=~]

Nice! Closing then.


Upgraded to Spring Boot 2.0.0.RC1.

Actuator endpoint configuration has changed since 2.0.0.M7. The default
management.endpoints.web.base-path has been changed from "/application"
to "/actuator" hence failsafe's default actuator endpoint is updated
accordingly.
Endpoint exposure has been changed as well in 2.0.0.M7, hence updated
FailsafeEndpoint's configuration to expose the endpoint consistent to
other default actuator endpoints.
Updated the endpoint URL in the documentation & sample app's banner.
Updated sample's application.properties per configuration changes.

Ref: https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0.0-M7-Release-Notes
Related issue: #43

:+1:

:+1:


WIP: Snail mail feature branch

Hi all,
This is the WORK IN PROGRESS version of integrating mail-your-rep into defund12.org
I think were we to release this quickly, I'd take out the entries in EmailList, so these could only be deep linked to, test that for a day or two, and then consider integrating it into the main list?
I still need to

test that it all works (filling in the template is broken, about to fix that)
make it easier/work to specify "officials" (I am debating between just using the google roles/levels: https://developers.google.com/civic-information/docs/v2/representatives or abstracting that into something simpler like citycouncil | mayor | statelegislator | governor | us-senator | us-representative | vice-president | president
move stripe keys to site config
consider moving the backend functions to defund12 also (I'd rather focus on frontend for now and move the backends separately - they're CORS'd such that any frontend can use them)
probably a bunch of style and file naming clean up - some things currently called EmailX might need to change

notes:

the google API key in here is request scoped for defund12.org and I'm happy to pay if it exceeds free usage tier

to be very clear on how $$ works

it costs $0.70 to send a one page letter, $0.80 to send a two page letter.
it costs $0.33 to process a credit card transaction

so on every one page letter I lose 3 cents, on a letter with a long body I lose 13 cents, on a user sending two one page letters in one go I make 27 cents (each letter costs me 0.70, only pay transaction fee once - $1.73 vs $2). I am not trying to make money here, I am trying to keep the $ logic simple and easy. If they sent two two page letters I would make 7 cents ... seems like this will all be a wash ...
right now this is on the mail email list with different emojis:

and the form kinda looks like this

I think the most helpful feedback now would be

how do people feel about the template structure
how would people like to specify
how far is this PR from something that you'd consider merging / what major work do it would need
major code/style critiques

This is now working for me to send letters in TEST (no payment, no actual sending) from localhost
To test the test payment flow,  you can use the credit card number "4242 4242 4242 4242" with any other information around it

putting @Ceshion's feedback here so I can address it in a bit
(transcribed instead)

use a media-query for field width, horizontally stack the fields unless we're on a small screen
on hold for now pending bingbong vs ceshion fight to the death over stacked vs aligned mode
we should consider more consistent language for placeholders (always "your x"?) so that form labels appear consistent
we should also clarify "your email address" so that field could not be confused for a heading
reduce spacing between header and form start, 32 pixels from the header content to the section break, 24 pixels from the section break to the top of the first form label
reduce spacing between form groups, 18-22 pixels as long as it's consistent
set a css variable and use a more fitting color for darkmode, for the background on .bodyWrapper, or remove the background? if not removed, add a border-radius of 4 pixels.
(image 1)
adjust letter form submit button styling to be consistent with the form fields
(image 2)
fit success message into the container bounds, revise content to remove personal reference ("Letters Sent! You should get an email in no more than 15 minutes confirming your letters have been sent. If you do not receieve a confirmation, email us at mail-your-rep@blackmad.com"). Is there an easy way with our current setup for the email to be forwarded from defund12's domain so we could use i.e<EMAIL_ADDRESS>(image 3)

on hold for now
changed all the letter variables to be YOUR X
change to be YOUR EMAIL ADDRESS in the code, not changing all the email templates
I think this is already 32? It appears identical to me b/w email and letter. Fixed the spacing at the top of the letter form section.
padding between form inputs reduced
changed the color in both, moved to a var. There appears to be something overall broken with background colors rendering in dark mode - notice that even in prod none of the section backgrounds render - https://defund12.org/nyc?browse
adjusted

waiting on @bingbongle to verify<EMAIL_ADDRESS>on my sendgrid account

overall looks like this now


Create impersonation_mailgun.yml

Description
rework of #1670  @peterdj45  please let me know what you think.
Associated samples
Only in body

Sample 1
Sample 2

In Subject

Sample 1

In Sender

Sample 1

Associated hunts

Hunt 1

Looks good to me! Thank you for your help rewriting this.

/update-test-rules

/udpate-test-rules

/update-test-rules

/update-test-rules

Updated hunt:
Messages that will no longer match

Test rules data is a bit inconclusive, but every commit has gotten better.  pretty low volume at this point.  L14 in Shared EMLs looks good.

Let's ship it if the volume looks low, we can continue to tweak as needed.


Platform: Mac App Store support

MAS platform support
Entitlements (optional) are supported to sign apps, not just with a certificate
Made it easier to sign for MAS distribution, may fallback to default entitlements file

Please update the rest of the "darwin platform only" references to be "darwin/mas platforms only".

This would solve #163 (or at least part of it). I'm going to wait on @maxogden's opinion on this before merging, as he had some concerns in the linked issue.
If someone with a Mac could test this, it would be appreciated.

Here's my opinion:

Looks pretty solid + straightforward, however:
I think there needs to be some mention somewhere in the readme that mas means "Mac App Store" just to help user friendliness
The fact that we're adding a bunch of code signing specific code with no tests makes me really nervous. I would really prefer it at this point if all the codesigning stuff got moved into a separate standalone module that we could depend on. This kind of patch is a big red flag to me

I think there needs to be some mention somewhere in the readme that mas means "Mac App Store" just to help user friendliness

:+1: - also, linking to the Electron docs would be helpful.

The fact that we're adding a bunch of code signing specific code with no tests makes me really nervous.

Yeah, me too. The problem I have is that I don't know what a reasonable way to programatically test this looks like.

I would really prefer it at this point if all the codesigning stuff got moved into a separate standalone module that we could depend on. This kind of patch is a big red flag to me

:+1:

The problem I have is that I don't know what a reasonable way to programatically test this looks like.

Agreed, it's a hard one. I think in place of proper tests the next best thing would be to put all the signing code into a new module, e.g. electron-sign, and then at least it can have a dedicated issue tracker, version number, external API, and maintainers.
Is anyone up for writing + maintaining a electron-sign module?

Putting the codesign into a separated module for building and testing could be a nice track, as testing online proves hard for signing with certificates, needing manual help after all. I'll see if I could start a module integrating the OS X codesign command later.
Here's a list of things I guess might be confusing for those packing the mac apps:

The certificates for packing an app for distributing outside/in the Mac App Store are different.
Distributing outside the Mac App Store doesn't necessarily need the entitlements, as they are for sandboxing as the main purpose (to my perspective).
From my reading online, I found code signing each file in the project is recommended(?) by Apple as Xcode does so, with --deep ignored.
For distribution within the Mac App Store, an installer package should be required for uploading the app to iTunesConnect for reviewing (so I may put up a electron-sign with installer)

Here's what I've got from today: https://github.com/sethlu/electron-sign
Tbh, only those with the dev program could have the code tested.

@sethlu Wow!! Amazing work. That looks really good so far. I looked at the code and didn't see any obvious problems. It's great that you have a test suite and standard hooked up too :)
When you are ready, do you want to make a PR to electron-packager that integrates with electron-sign? I can also add you to the electron-packager collaborators so you can help maintain the integration in the future.

(Maybe electron-mac-sign or something, since Windows Electron apps also require signing?)

@cjb is there any existing code for that? if if's not too hairy maybe it could live in electron-sign too?

@maxogden @cjb I've renamed the project to electron-osx-sign and it should avoid some issues with understanding from simply reading the command, as it is OS X only now. Seems that there is as well some sorts of code signing with Windows, but I wouldn't get into that too much now for Electron as distribution to OS X's a bit more complex in following the steps, and it's quite needing.
An updated repo: https://github.com/sethlu/electron-osx-sign
I'll see how I could have my electron-packager fork updated with code-sign and make several tests before doing anything further.

@sethlu excellent, sounds good, thanks!

Regarding signing packages on Windows: #32

I'm not quite sure about the code signing for the Windows platform as I do most of my work on my Mac.
I haven't replaced the testing procedures for codesign around test/mac.js:181, not sure if to remove it as the code signing's been moved to a separate module.

protip, if you use npm install --save some-dependency then npm will automatically add it to the dependencies in package.json and alphabetize it for you :)

@maxogden Wow, thanks! I'll have it a try the next time I need to have the package description sorted.
On the travis build, I'm thinking about pulling the timeout longer for testing as it frequently does.

Oops

Here is what I think the status of this PR is:

[ ] Rebase on master
[ ] Needs docs updated (ref) - I can help with that, if you like.
[ ] Reduce the amount of duplicated code between test/mac.js and test/mas.js. A good chunk of that can be put into a separate common module (test/common-mac.js?).
[ ] Squash commits

Once these are all done, I think we're good to merge.

Would love to see this! Was the decision in the end to include mas functionality in this package, or a separate one?

@marbemac in this package, with signing in (one or more) separate modules.

Hi, I've merged some pull requests for the signing module, as previously some parts within the framework were not covered for codesign. With further testing on this additional module, I could start fine-tune some updates for the MAS distribution packing.

Hi, I've just found my issue reported to electron mentioned in the documentation as a known bug here https://github.com/atom/electron/blob/master/docs/tutorial/mac-app-store-submission-guide.md. Thus I'll currently recommend MAS builds before 0.36.0.
I'll be posting some updates later today, which may include fixes for https://github.com/sethlu/electron-osx-sign/issues/4 & https://github.com/maxogden/electron-packager/issues/261 that will keep a consistency in the renaming of helper applications.

So far I've done the following:

Rebased on master
Squashed test/mac.js and test/mas.js to a common and generalized testing script test/mac.js, which will be called inside test/darwin.js and test/mas.js with different baseOpts.

Could you add tests for your fixes to #261 (asserting that the files are named correctly)?

I dont know if this is the correct place, but using Umlauts or special characters in the name of the application causes these to appear in the bundle-identifiers of the helpers and thus signing is failing. (Signing itself works, but verifying yields a broken signature)

@d-schloss-mvg I think this is an issue with electron-osx-sign.
I've already added in the support for special characters in binaries and other paths.

The problem are the special characters in the bundle-identifier. Even using the command line tool codesign directly - without any node stuff - fails (so it has nothing to do with electron-osx-sign, right?) if there are these special characters in the bundle-identifier of the helpers.
See Apple Documentation
Quote: "The bundle ID string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters"
non alphanumeric characters like "ä,ö,ü,é" are not filtered out right now.

@d-schloss-mvg I'll have a test with bundle ids with special characters. Sorry I thought this is about the signing; it now appears to be with the plists that are modified.
Anyway, the signing of apps with special characters in names should now be fixed.

Yeah, its definitley the plists. If you just (manually) edit the bundle identifiers in the plists, codesigning works again.

@d-schloss-mvg Great. I guess replacing those special characters with standard characters, like mapping ä to a should be quite pleasant. Or could replace/remove all of them.
I'm not sure which of the two may be better?

@d-schloss-mvg In my latest commit, all special characters will be removed for the CFBundleIdentifiers in all plists.

Wow, thanks for the fast solution!

@sethlu could you add a test for eb2e4ff (if you aren't doing so already)?

I've made some documentation changes from a fork of this PR, which hopefully clarifies what MAS is and perhaps the difference between mas and darwin.
@sethlu if the doc changes look reasonable, feel free to cherry-pick the commit into this PR.

Once we resolve the documentation situation and the commits are squashed appropriately (see the end of the new section of the contributing docs for for more details), I will happily merge this PR.

@malept just rebased on electron-packager/master, not sure if it's correct.
I'll still have to amend a few usage/readme notes before eventually closing this.

Er, don't squash my readme commit.

@sethlu here's a better squash/rebase (took me two tries to get it in this state): https://github.com/maxogden/electron-packager/compare/master...malept:mas-squashed
What is left in terms of readme and usage changes?

Do you think it's worth noting somewhere/somehow that --platform=all is now going to end up including mas?  (i.e. if people want to continue building for the targets that all used to mean, they'd have to use --platform=darwin,linux,win32 instead; not sure if this should also mean a major version bump)

Do you think it's worth noting somewhere/somehow that --platform=all is now going to end up including mas?

Yes, this is actually a good impetus for creating a NEWS.md in the spirit of http://keepachangelog.com/ (after this PR is merged).

not sure if this should also mean a major version bump

I'm not sure either. At minimum, we need to clarify that --all and --platform=all means that all supported platforms are going to be built (and similar for --arch=all, I don't want to have the same conversation whenever it is we're unblocked on the arm7 PR). I would like to do this after this PR is merged.

Sorry, misclicked.

@malept Just added in the rest of the documentation, and separated your commit for the basic Mac App Store docs in this PR.
I guess the --platform=all option might now mean to add platform mas into what were previously included, the darwin, linux and win32. As the version check for mas is not currently included in the script, an error message will be thrown when someone wants to have --platform=all with Electron earlier than v0.34.0. Otherwise, we could have mas separated, remaining the all option as it is now; so going for --platform=all will yield darwin, linux and win32. And if wanting another mas build together as well, they could do --platform=mas?

Just added in the rest of the documentation, and separated your commit for the basic Mac App Store docs in this PR.

The PR says there are still merge conflicts (and the GitHub diff is very messy). I suggest:

check out https://github.com/malept/electron-packager/tree/mas-squashed
add your commit to add additional documentation
force push onto https://github.com/sethlu/electron-packager/tree/master

@malept Just found that I previously rebased on your branch. Now it's done again on maxogden/electron-packager master. (Now it turns out that Travis comes back again, which is great.)
I'll have a check with the code and readme/usage notes first and then git cherry-pick your added docs.

@malept The diffs except test/mac.js should be quite neat. As I have to reduce the amount of testing script written for darwin and mas, the test/mac.js thus becomes a script shared by test/darwin.js and test/mas.js, each line with an indentation starting from the first testing function.
Also, the NSHumanReadableCopyright had earlier been added, with --app-copyright as the option, which fixes part of https://github.com/maxogden/electron-packager/issues/163 (1).

The docs don't match what the code does: the code says the option name is app-human-readable-copyright while the docs say it's app-copyright.
Could you please refrain from adding more features to this PR? It's getting pretty difficult to see what your new changes are. I've also been holding off on merging other PRs because this one touches so much code.

It's getting pretty difficult to see what your new changes are.

This is also why in my rebase/squash branch of your PR, I split out your MAS changes from your "filter special characters in bundle ID" changes.

@malept Just separated the commits to make each change clearer. Mind having another check?

Once the app-copyright docs are updated, I'm going to merge this. (Unless one of the other contributors raises concerns soon - @kfranqueiro's concern about whether adding this feature constitutes a major or minor version bump will be addressed in #266. Hopefully I didn't miss anything.)

@malept The readme.md has been updated with app-copyright.
I'm not sure but there's really quite a lot of working in changing the plist properties from my commits.

Excellent, I'm going to merge this later today.

I'm not sure but there's really quite a lot of working in changing the plist properties from my commits.

Yes, @maxogden had a similar observation in a different PR: https://github.com/maxogden/electron-packager/pull/253#issuecomment-180172918

@malept cool! After this I could join their discussions on plists, just to minimize the amount of code based on file modifications.

Oops, forgot to merge this last night. I will do so now.
Thanks @sethlu for all the work you've done on this pull request!

Fantastic work guys!

@sethlu @malept, if you're ever in Oakland, CA, I owe you a beer!


[FEATURE] Order of Authentication

Hello
we can set order of auth in opensearch
config:
      dynamic:
        http:
          anonymous_auth_enabled: false
          xff:
            enabled: false

        authc:
          # oidc with jwks_uri
          jwks_auth_domain:
            description: "Authenticate via JWKS"
            http_enabled: true
            transport_enabled: false
            order: 0
            http_authenticator:
              type: openid
              challenge: false
              config:
                jwt_header: "Authorization"
                jwt_url_parameter: null
                subject_key: "sub"
                roles_key: "scp"
                jwks_uri: {{ jwksUri }}
            authentication_backend:
              type: noop

          # basic auth, using internal user db
          basic_internal_auth_domain:
            description: "Authenticate using HTTP basic against the internal users database"
            http_enabled: true
            transport_enabled: false
            order: 1
            http_authenticator:
              type: basic
              challenge: true
            authentication_backend:
              type: internal

but dashboards not
so In dashboards, jwt and basic_auth cannot be used simultaneously

I hope it will support like opensearch

@10000-ki That's correct, its not currently supported at the moment. For multi-auth, the currently supported options are openid, saml and basic. List of supported options: https://github.com/opensearch-project/security-dashboards-plugin/blob/main/server/auth/types/multiple/multi_auth.ts#L55-L100
I believe it would be possible to add JWT here, but there should be testing done with different combinations.
When JWT is enabled as a sign in option for dashboards you supply the token through a URL param and avoid the login page entirely.

When JWT is enabled as a sign in option for dashboards you supply the token through a URL param and avoid the login page entirely.

i see
For token-based authentication, the login screen should not be visible
And for basic_auth-based authentication, the login screen should be visible
So Are you saying that the test for this situation is complicated?

[Triage] Hi @10000-ki, thanks for filing this issue. From the conversation, it looks like the goal here is to add multi-auth support for dashboards to be able to support both Basic auth and JWT auth. I have renamed this issue for you and we can go ahead and close this when:

[ ] There is correct UI handling for the login skip
[ ] Tests are added on the cypress suite for checking the correct auth flows

@scrawfor99

[Triage] Hi @10000-ki, thanks for filing this issue. From the conversation, it looks like the goal here is to add multi-auth support for dashboards to be able to support both Basic auth and JWT auth. I have renamed this issue for you and we can go ahead and close this when:

[ ] There is correct UI handling for the login skip
[ ] Tests are added on the cypress suite for checking the correct auth flows

yes i agree

Is this currently being worked on? It is a feature I will be needing.

Hi @merlinz01, thanks for reaching out. This change is not currently being worked on. That being said, I did a very similar change here: https://github.com/opensearch-project/security-dashboards-plugin/pull/2076
If you are interested in contributing this feature, you could use my change as an example.

Great! I'll consider contributing.

@stephen-crawford Can you provide any help on to how to debug my changes?
https://forum.opensearch.org/t/how-to-enable-react-developer-environment/20980

This is added as part of: https://github.com/opensearch-project/security-dashboards-plugin/pull/2107. I will close this issue and merge the backport.


The game won't start in minecraft version 1.15 with forge

When the game is started, the game will be terminated with a Runtime Error while the mod is being loaded.
I suspected a Mod conflict, so I removed all the other Mods and started it, but it still didn't work.
The log file is attached.
debug.log
OS: macOS Mojave 10.14.6
Forge Version: 1.15.2-forge-31.2.0

Sorry, I made a mistake in the repository to post.


T265 will not connect to realsense viewer

Hello,
Just wanted to say that without your tutorials I would probably not have gotten this far!  But I have had issues trying to get the T265 to be seen on the TX2 (using your tutorials) and now tried it on my nano as well.  I get the same issue where it is detected in lsusb as 03e7:2150 which under dmesg is listed as Movidius.  I did a fresh install onto SD card of the Nano image, and followed your scripts, not sure what I am missing.  I have tried the camera directly connected to the nano, I have tried to a powered usb 3.0 hub and they both pop up with the same 03e7:2150.  But trying to run any of the samples and realsense viewer it does not detect it.  I did notice with your TX2 tutorial I got the D435 to show up at least as Intel Corp in lsusb but as USB 2.1(another issue I will tackle on your other github haha).  Forgot to add that I did have the T265 working on my windows PC.
Thanks!

You need to add a flag to the cmake call to enable the T265, add-DBUILD_WITH_TM2=ON

Please try the later installLibrealsense.sh script which should handle this issue. If you encounter further problems, please open a new issue.


CVE-2022-37620 & switch to htmlnano

it appears the CVE-2022-37620 won't get fixed in the html-minify package, not maintained anymore as it appears, see https://github.com/kangax/html-minifier/issues/1135
On alternative would be to switch to https://github.com/posthtml/htmlnano.

Might be a good alternative as its roughly the same size as html-minifier

has anyone found a combination of htmlnano options and preset that works well everywhere?
I tried

minifyCss: false
preset "safe"

but emails are rending blank for some customers of us...

has anyone found a combination of htmlnano options and preset that works well everywhere?
I tried
* minifyCss: false

* preset "safe"

but emails are rending blank for some customers of us...

fixed by https://github.com/posthtml/htmlnano/pull/278

any updates on this?

Minifier-terser is at least 4x the size of htmlnano so it’s not considered as a replacement for us.On 14 May 2024, at 20:53, Peter Law @.***> wrote:
https://github.com/terser/html-minifier-terser might be another alternative. From my experience (one fairly small project, CLI usage only) the options are pretty much completely compatible, so making the move miiight be simpler than htmlnano.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Forgot to mention in this thread, but MJML 5 is available in experimental
branch https://www.npmjs.com/package/mjml/v/5.0.0-alpha.4 fixing this CVE
with htmlnano + prettier as a 1-1 replacement.
I'm not entirely convinced about prettier as a replacement of js-beautify
but couldn't find a minimalistic formatter for MJML yet.
If this CVE could affect you in some way, you should go on experimental
branch for now.

Message ID: @.***>

The first call to mjmlto2html on the experimental branch seems to take a long time.  The ANR stack trace I have shows htmlnano/minifyCss as the culprit, but I don't really know why since it's explicitly disabled:
https://github.com/mjmlio/mjml/blob/fix/replace-html-minifier/packages/mjml-core/src/index.js#L404
For now I'm warming this call on application start until I can investigate this further.

https://www.npmjs.com/package/html-minifier-terser
someone forked html-minifier this could be a quick win ?

Any updates on this?

Hello! @iRyusa can we have any updates on this? Its being almost an year since openning now. And i dont really know where to follow if this is being acted on.
Thanks!

As said earlier there’s an experimental branch with latest alpha available.On 31 Oct 2024, at 17:47, Eduardo Marques Balbo @.***> wrote:
Hello! @iRyusa can we have any updates on this? Its been almost an year since openning now. And i dont really know where to follow if this is being acted on.
Thanks!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

I see, i found it as "replace-html-minifier".
Is there any ETA for its merging or is there some milestones that need to be achieved on the development for it to be merged?
Thanks!

Readme and docs are not yet up to date to reflect those changes. So for now it can’t be merged as long as the doc is still mentioning v4 and older dependencies.On 31 Oct 2024, at 20:06, Eduardo Marques Balbo @.***> wrote:
I see, i found it as "replace-html-minifier".
Is there any ETA for its merging or is there some milestones that need to be achieved on the development for it to be merged?
Thanks!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


Implement clean up actions

It seems like the k3d cluster was not destroyed post action. This means things lie https://github.com/nektos/act cannot operator correctly without manually deleting the existing nodes.

@somaritane , @jkremser  Guys, if you have any suggestions, or tou like to  oppose, let us know here. PR already exists. For me it's not a bad idea, I wrote some comments on the PR.


Feature/Code Interpreter

@HenryHengZJ  been looking forward to this one! Apologies if it's a known issue but I'm finding that it's not possible to add credentials for E2B. Sharing just in case it's helpful.

@HenryHengZJ > been looking forward to this one! Apologies if it's a known issue but I'm finding that it's not possible to add credentials for E2B. Sharing just in case it's helpful.


IXFR falls back to AXFR when an earlier IXFR is in process of being applied

We do not have this issue, it was not us.


NTRN-260 slinky bindings (market map & oracle)

Bindings for neutron. Slinky-related. Task
Oracle:

GetPrice
GetAllCurrencyPairs

Marketmap:

Params
MarketMap
LastUpdated

Related PRs:

 neutron-sdk
dev-contracts
integration tests
njs

https://github.com/neutron-org/neutron-tests/actions/runs/9104146345
finally

https://github.com/neutron-org/neutron-tests/actions/runs/9104146345

https://github.com/neutron-org/neutron-tests/actions/runs/9104146345


Unable to copy CJK characters from WSA

Steps to reproduce

Open any WSA application (e.g., "File").
Enter CJK characters in any input box within the application.
Select the text and copy/cut.
Paste in Windows.

✔ Expected Behavior
Copy "测试文本" in WSA, the pasted text in Windows should be the same as the copied one, not "æµè".
❌ Actual Behavior
Copy "测试文本" in WSA and paste it in Windows to get "æµè".
Other Software
No response
Please specify the version of Windows Subsystem for Android
2308.40000.3.0

Thanks for raising this issue. We plan to address this in an upcoming update to WSA.


Handle new lines in prompt

Shows new lines in the list of responses
Avoids weird behaviour like this

Apologies, latest code was not pushed. Please fix conflicts and I will merge.

Done 😉

Merged and deployed.


De-vendor tl-optional

Fix https://github.com/conda-forge/manif-feedstock/issues/2 .
Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender


Emissive objects?

Hey there!  Thanks for releasing such an amazing project!!
Are emissive textures supposed to work?  They seem to have no effect, even when creating some random messages to test it out.
I'm trying to get a video texture to reflect on the floor like in one of your old examples but nothing seems to pick up light from emissive textures.
I just want to make sure I'm not missing something!

Hmm ok thanks!  I tried with non-animated textures, and with/without any combination of ambient/directional/environment lighting.  I will try to create a minimal reproduction example and link it here!
Perhaps it could be something in one of my custom Shader Materials or custom EffectPasses, because my scene also has this warning firing off like crazy:
[.WebGL-0x138051ace00] GL_INVALID_OPERATION: Active draw buffers with missing fragment shader outputs.
Seems to be something regarding MRT?

Interesting, this should definitely not come up because when it comes up usually your G-buffers will be messed up and tracing won't work at all.
It has something to do with MRT but I'm not sure what could be triggering it. Is your browser version older?


Alpine TypeError: expected str, bytes or os.PathLike object, not NoneType

Hi!
I'm trying to build a program in Alpine Linux docker container and get the error TypeError: expected str, bytes or os.PathLike object, not NoneType.
The minimal example in docker on Ubuntu:
docker run --rm -it alpine

apk update && apk add --update musl-dev gcc python3-dev py3-pip chrpath git vim mc wget make openssh-client
pip3 install -U pip nuitka

nuitka3 --version
# 0.6.10
# Python: 3.8.2 (default, Jul 18 2020, 19:35:03)
# Executable: /usr/bin/python3.8
# OS: Linux
# Arch: x86_64

echo 'import uuid' > /tst.py
nuitka3 --python-flag=no_site --python-flag=no_warnings --standalone --follow-imports /tst.py

Output:
Nuitka:INFO: Starting Python compilation.
Nuitka-Plugins:WARNING: Use '--plugin-enable=pylint-warnings' for: Understand PyLint/PyDev annotations for warnings.
Nuitka:INFO: Completed Python level compilation and optimization.
Nuitka:INFO: Generating C source code for backend compiler.
Nuitka:INFO: Running data composer tool for optimal constant value handling.
Nuitka:INFO: Running C level backend compilation via Scons.
Nuitka-Scons:INFO: Backend C compiler: gcc (gcc).
Nuitka-Scons:WARNING: You are not using ccache.
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/nuitka/__main__.py", line 196, in <module>
    main()
  File "/usr/lib/python3.8/site-packages/nuitka/__main__.py", line 189, in main
    MainControl.main()
  File "/usr/lib/python3.8/site-packages/nuitka/MainControl.py", line 758, in main
    addIncludedEntryPoints(Plugins.considerExtraDlls(dist_dir, module))
  File "/usr/lib/python3.8/site-packages/nuitka/plugins/Plugins.py", line 218, in considerExtraDlls
    for extra_dll in plugin.considerExtraDlls(dist_dir, module):
  File "/usr/lib/python3.8/site-packages/nuitka/plugins/standard/ImplicitImports.py", line 1434, in considerExtraDlls
    dist_dll_path = os.path.join(dist_dir, os.path.basename(uuid_dll_path))
  File "/usr/lib/python3.8/posixpath.py", line 142, in basename
    p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType

What I'm doing wrong?
I tried the similar commands on Ubuntu and it works perfect. Also I tried to remove  --standalone and run again on Alpine and it works too.
Thanks!
For community:
⬇  Please click the 👍 reaction instead of leaving a +1 or 👍  comment

Can you fix locateDLLFromFilesystem in nuitka.utils.SharedLibraries to work with the uuid argument. I guess, it needs to check for filename with .so suffix, it was once contributed by an Alpine user. I don't have the system.

The solution turned out to be simple:
apk add libuuid

Thanks!

The cause of the error here:
https://github.com/Nuitka/Nuitka/blob/2a3471c060101f19c0388acaf5550199d3c73b03/nuitka/utils/SharedLibraries.py#L50-L52
This code returns None because there is no uuid library installed.
The solution turned out to be simple:
apk add libuuid

Thanks!

Duplicate of #1046 but the way you are reporting seems to suggest it worked in Python, but I now believe it never did due to lack of the library.

Removing for lack of feedback.


My local k6 extension wants to use my own local projects

i use xk6 to build my k6 extension, which uses my own local projects. I add my local projects in the extension go.mod by go “replace”. But in the extension, when i use xk6 build --with command to build extension, xk6 plugin just finds some packages in my extension in the website, which is contain in my local projects. I think it should find these packages in my local projects not website.  What can i do?

I had solved the problem. When building the extension, just using --replace commands, followed the --with, to add your local package into the extension.


git: 2.18.0 -> 2.18.1 (CVE-2018-17456)

Motivation for this change
Patch CVE-2018-17456 (arbitrary command execution vulnerability on git clone --recursive)
Things done

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

[ ] 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 nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Success on aarch64-linux (full log)
Attempted: git
Partial log (click to expand)
All tests successful.
Files=817, Tests=19075, 86 wallclock secs ( 9.18 usr 31.86 sys + 535.85 cusr 2935.72 csys = 3512.61 CPU)
Result: PASS
make clean-except-prove-cache
make[2]: Entering directory '/build/git-2.18.1/t'
rm -f -r 'trash directory'.* 'test-results'
rm -f -r valgrind/bin
make[2]: Leaving directory '/build/git-2.18.1/t'
make[1]: Leaving directory '/build/git-2.18.1/t'
/nix/store/9x3gqwzrhg11pcazl2wnr2qf7bklj5y9-git-2.18.1

Success on x86_64-linux (full log)
Attempted: git
Partial log (click to expand)
All tests successful.
Files=817, Tests=19075, 204 wallclock secs ( 5.10 usr  0.84 sys + 268.96 cusr 262.64 csys = 537.54 CPU)
Result: PASS
make clean-except-prove-cache
make[2]: Entering directory '/build/git-2.18.1/t'
rm -f -r 'trash directory'.* 'test-results'
rm -f -r valgrind/bin
make[2]: Leaving directory '/build/git-2.18.1/t'
make[1]: Leaving directory '/build/git-2.18.1/t'
/nix/store/3dm45p4sgba9g8lk6pza40sl2rhnzghx-git-2.18.1


Register first keydown on the editableCell component

When using the editableCell, on the first keydown the key value isn’t being set to state, and so requires 2 key presses to register the key value:

Functionality changes made in this PR:

The first keydown value is registered
Capital letters are registered on keydown

Ah, I see the problem is that you want editable cells to become active when tab focusing them? (the same as clicking into them?)

Talking with @mshwery on Slack, there was a potential race condition/delay between the value coming through as props.children or state.value.

@mshwery refactored!


styled-jss not overriding material-ui styles when using &:hover (codesandbox included)

When setting up styled-jss, the only JSS option allowing proper CSS syntax highlighting in the editor that I know of, I came across an issue where the &:hover selector wouldn't override the material-ui styles. I've tried the fixes referenced by other issues and the documentation to no avail, including but not limited to the && hack and stylesheet injection in head (not sure it's even relevant in this case).
Also, on chrome but not firefox, text-decoration: none isn't applied.

[x] This is a v1.x issue (v0.x is no longer maintained).
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
The button should change color on hover.
Current Behavior
Material-ui styles take over this hover pseudo-selector
Steps to Reproduce (for bugs)

Add jss, react-jss, jss-template, and styled-jss to your project

"dependencies": {
    "@material-ui/core": "^1.2.1",
    "jss": "^9.8.7",
    "jss-template": "^1.0.1",
    "prop-types": "^15.6.1",
    "react": "^16.4.1",
    "react-dom": "^16.4.1",
    "react-jss": "^8.5.1",
    "react-router-dom": "^4.3.1",
    "react-scripts": "1.1.4",
    "styled-jss": "^2.2.3"
  },

Create a JssProvider component and configure your jss as suggested by the docs to use template literals. Wrap component over App.

import React from 'react';
import { create } from 'jss';
import template from 'jss-template';
import JssProvider from 'react-jss/lib/JssProvider';
import { createGenerateClassName, jssPreset } from '@material-ui/core/styles';

// Configure JSS
const jss = create({ plugins: [...jssPreset().plugins, template()] });

function JssTemplate(props) {
  return (
    <JssProvider jss={jss} generateClassName={createGenerateClassName()}>
      {props.children}
    </JssProvider>
  );
}

export default JssTemplate;

Implement a button with a hover effect and add it to your component tree at desired location.

import React from 'react';
import styled from 'styled-jss';
import Button from '@material-ui/core/Button';
import { Link } from 'react-router-dom';

const StyledButton = styled(Button)`
  text-decoration: none;
  background-color: #15df89;
  color: #fff;
  font-size: 2em;
  font-weight: 500;
  padding: 15px 50px;
  margin: 15px 0 25px 0;

  &:hover {          <---- NOT WORKING
    background-color: #15df89;
  }
`;

const RegisterButton = () => (
  <Link to="/login">
    <StyledButton variant="contained" size="large">
      Register
    </StyledButton>
  </Link>
);

export default RegisterButton;

Submit an issue to material-ui.

Context
Explained above.
Your Environment

Tech
Version

Material-UI
v1.?.?

React

browser

etc

Neither it's working with a native button: https://codesandbox.io/s/5k917959kp. So, Material-UI is outside of the equation. Be aware of the payload overhead of styled-jss, you might want to use a small wrapper instead: https://material-ui.com/customization/css-in-js/#styled-components-api-15-lines-

Thanks for the quick answer. The issue I encountered with this wrapper is that its syntax doesn't trigger CSS highlighting which was the main objective.
Is there a way in Material-UI to declare CSS in a template literal like so?
styled(Component)`CSS goes here`

Is there a way in Material-UI to declare CSS in a template literal like so?

Yes, the same way you would do it with styled-jsx: https://codesandbox.io/s/0q03lz6pxv.
Hum, I fear nesting isn't supported by jss-template. You have to fallback to the JavaScript approach :/.


Fix loading imports for dotnet2

Fix loading imports for dotnet2

travis build issue with encrypted stuff, I'm sure this is fine.

fix dotnet 2.0 loading on mono.  [release patch]


Allow non-default gaia home folder

The gaia_calls library assumes Gaia is installed in the default folder (~/.gaia).
Add an argument to all the functions that call gaiad so other locations can be used.

Closed via #5


Update aws-kinesis-gluejob construct to allocate a capacity of 2 in the default props (instead of 100).

Issue #, if available:
Description of changes:
The CfnJobProps, default property did not set the maximum DPUs to use for streaming ETL jobs. This meant that the Glue service would create upto 100 DPUs. The default props now explicitly set the capacity to the minimum available value which is 2. When using the construct, you can always override the default configuration.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-fkVQbXRiQi6A
Commit ID: 1ab1c91a00b8aa96e7b6bd6b641d3cfb29a9dfc9
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Replacing it with another one.


let user choose storage directory of books in config file

I hope the title explains it well, would be a nice to have!

Yes, it is :)
It is possible to code this :)


connection string is unnecessarily limited

If I do
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -20,9 +20,9 @@ pub trait ViewGenerator {
 }

 pub fn lookup_parser(connection_string: &str, schema_name: String) -> Box<dyn SqlERDataLoader> {
-    if connection_string.starts_with("postgres") {
+    //if connection_string.starts_with("postgres") {
         return Box::new(PostgreSqlERDLoader::new(connection_string, schema_name));
-    }
+    //}
     panic!("Appropriate parser is not found :(");
 }

I can connect with a connection string like
host=/tmp/.tmpFXjbNd user=postgres dbname=butane_test_2d8e5d818d914100a098817c08599faf
This is the connection string style used by https://github.com/Electron100/butane , which I would like to use together with sqlant

Hi @jayvdb
I agree with you we can do this.
Would you like to prepare PR?

Ok, I can do it.


incorrectly set ForeColor ?

I am struggling with one form
there are CheckBoxes contained in GroupBoxes.
all the elements have default ForeColor, it is not explicitly set neither in the designer generated code nor in my own code.
For some strange reason, texts within one of the GroupBoxes are black.
I tried debugging it and found that when entering ThemeControl(), all CheckBoxes (the 'good' as well as the 'bad' ones) have ForeColor set to "{Name=ffb0b0b0, ARGB=(255, 176, 176, 176)}" , so this block is not executed for them:

      if (control.ForeColor == SystemColors.ControlText || control.ForeColor == SystemColors.WindowText)
      {
        control.GetType().GetProperty("ForeColor")?.SetValue(control, OScolors.TextActive);
      }

So far, I am not able to make any sense of it. Any suggestions?

my mistake.... I forgot that the GroupBox was programmatically set as "disabled"