add filter_input/1

Coverage remained the same at 100.0% when pulling 6818aa9bfa2a53248e76a0f88280262569d86d5b on filter-input into 112e4dab067b748bba300e2c19245a7b67d1e9b6 on main.


Incorrect constant lint check

Running lint checks on an app that uses the SDK yields the following error:

Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES

This happens in ApplicationUtils.java#L52:
49       return cn;
50   }
51
52   List<ResolveInfo> infos = context.getPackageManager().queryIntentServices(i, Context.BIND_AUTO_CREATE);
53
54   if (infos.isEmpty()) return null;

The Context.BIND_AUTO_CREATE is the constant lint is complaining about.
I'm guessing the desired constant is PackageManager.COMPONENT_ENABLED_STATE_DEFAULT since it has the same constant value as Context.BIND_AUTO_CREATE (0).

Actually PackageManager.COMPONENT_ENABLED_STATE_DEFAULT is not on the list either so it should probably be 0.
What was the expected behavior? None of the accepted flags match the constant value held by Context.BIND_AUTO_CREATE.


Fix docker builds by including arroyo-openapi

we could do something a bit hacky (parse the Cargo.toml, grep the dockerfiles for each of the crates)

Added a check for this in CI


Starlark in Python?

Now we got Java, Go, and Java for Starlark. What about Python version?

Feel free to write one. ;)
If you wanted to have a Starlark-in-Python implementation, I guess the first design issue is how you'd represent Starlark values internally. Would they be boxed inside some StarlarkValue class, or would they just be the underlying equivalent Python values, possibly with extra attributes added for tracking Starlark information like frozen-ness? After that you'd have to write (or generate) the parser, presumably an AST-based evaluator, etc.
You could also try to just execute Starlark code directly as Python, and in fact we do that for some of our tooling. But it's very brittle in exactly the ways you'd expect, so that doesn't really count as an implementation.
I'll close this since there's no real action item for this repo, which is concerned only with the language specification itself.

You can take a look at:

https://github.com/caketop/python-starlark-go
https://github.com/inducer/starlark-pyo3


Question: how to log internal changes

Hi,
I found this library and it seems great to my needs. I was wondering how than I log changes  (events triggering, current state, etc), can I pass Ilogger for example?
also how to write unit test that access the internal state after event was fired to verify the correct changes.

Hi!
Yes, you can pass an IExtension (https://github.com/appccelerate/statemachine/blob/6ae943467fca0472887aefeeeb9d387cb17354f4/source/Appccelerate.StateMachine/ActiveStateMachine.cs#L287). You can derive from ExtensionBase so that you don't have to implement all callback methods: https://github.com/appccelerate/statemachine/blob/6ae943467fca0472887aefeeeb9d387cb17354f4/source/Appccelerate.StateMachine/Extensions/ExtensionBase.cs#L33
For unit tests, you can use something like I did here: https://github.com/appccelerate/statemachine/blob/6ae943467fca0472887aefeeeb9d387cb17354f4/source/Appccelerate.StateMachine.Specs/Sync/CurrentStateExtension.cs#L24
A word of caution: I'm not actively working on this code at the moment. So if you need to run it on another target, the best way is to fork the repo and change the target yourself.
But if you need help, feel free to ask.

@ursenzler  thanks!

btw, any reason why the license is apache and not mit (which is commonly used I guess)?

A decision made many many years ago. Is it a problem for you?

not a problem. Thanks again.


[CAMEL-10779] Authentication : provide a way to use refresh_token mode in addition to password method

Objective is to enrich the SalesforceSession.getLoginRequest(HttpConversation) method and add
fields.put("grant_type", "refresh_token");
as an alternative to
fields.put("grant_type", "password");
jira: https://issues.apache.org/jira/browse/CAMEL-10779

@zregvart I wonder if you have time to help review this PR?

:+1: @ajaira thanks for the contribution!
@davsclaus I would update the documentation and replace == null with ObjectHelper::isEmpty, but other than that it looks good to me, I've run tests with username/password and refresh token to verify.

Hello Zoran,
I took into account your comments.
Thanks
Ajaira

@ajaira Thanks :+1:
@davsclaus this can be merged

Thanks guys will get this merge within the hour, have a built running now first

Thanks for the PR it has been merged. Do you mind closing this?

Thanks guys for merging our PR.
the Jira is also closed.


Add Uptime Accumulator between 1 minute and 1 hour

Background
Current Uptime Incentive accumulators used are
time.Nanosecond
time.Minute
time.Hour
time.Hour * 24
time.Hour * 24 * 7
time.Hour * 24 * 7 * 2
Early usage has suggested that 1 minute has a minor impact on the width of liquidity, and 1 hour is often too long for new pools with the current frontend design as forfeited incentives are not visible.
Conversely, longer periods are not used as frequently - the one 14 day uptime in use expires 3rd May, all others use 1 min, 1 hour or 1 day.
Suggested Design
Suggesting the addition of a new accumulator between 1 minute and 1 hour
Either 5 min or 15 min.
Ideally another accumulator between 1 hour and 1 day (6 hours) would be available too, however I understand that additional accumulators are resource intensive.
This could be offset by removing 7 and 14 day Uptimes.
Acceptance Criteria
New uptimes able to be set/approved by governance to be set
Existing incentives not broken (This may require a gov prop to remove new 7 and 14 uptimes if required)

Thanks for making this issue. I am in support of adding a new 15 minute one.


listener: create internal listener

Commit Message:
Implements internal listener.
This PR allows creating server connection but the abilitity to connect to such a listener is located in #18105.
Additional Description:
Risk Level: LOW. Not impacting existing TCP/UDP listener.
Testing: Mostly unit test since the dispatcher is not yet ready to create pair of internal connections.
Docs Changes:
Release Notes:
Platform Specific Features:
Runtime guard: envoy.reloadable_features.internal_address to allow/reject internal listener config.
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

Talked to @yanavlasov about this PR.
/assign yanavlasov

Thank you @yanavlasov !

/retest

/retest

Thank you @yanavlasov @rojkov !
What's the next step?

/assign-from @envoyproxy/senior-maintainers
for a final pass and merge

@ggreenway I resolve most of them except introducing the empty InternalListenerConfig interface. PTAL

/wait

/retest

/retest

/retest

/retest

Thank you @ggreenway @yanavlasov


feat: export PackageJsonObject

Hi,
I'm writing a lot of dnt scripts currently, and I want them to be supper clean.
Right now my common don't script starts like this:
// dnt deps can not be moved to dev_deps.ts
import { build, emptyDir } from<EMAIL_ADDRESS>import * as pc from<EMAIL_ADDRESS>import { PackageJsonObject } from<EMAIL_ADDRESS>
and later I write my dnt build call like that:
const packageJson: PackageJsonObject = {
  name: "....",
  author: "...",
  license: "...",
  contributors: [
    "..."
  ],
  description: "...",
  keywords: [
    "...",
    "...",
  ],
  private: false,
  homepage: "...",
  version,
  /// ...
};
await emptyDir("./npm");
await build({
  entryPoints: ["./mod.ts"],
  outDir: "./npm",
  shims: {
    deno: true,
  },
  compilerOptions: {},
  package: packageJson,
});

For a clean code, I need to explicitly use type PackageJsonObject
with that change, the top of ma build script can be written:
// dnt deps can not be moved to dev_deps.ts
import { build, emptyDir, PackageJsonObject  } from<EMAIL_ADDRESS>import * as pc from<EMAIL_ADDRESS>
that cleaner, and avoid repetition of<EMAIL_ADDRESS>I think I can be categorized as a "never nester"
I will put my ultimate dnt_build script in the doc at the end.

I'm going to rename this as PackageJson in a future PR. The Object seems unnecessary.


Use the complete branch name in DartLab yml

When branch names contain / the Build.SourceBranchName variable only includes the last part of the branch name. Build.SourceBranch includes the entire branch name.
Port of this Roslyn change https://github.com/dotnet/roslyn/pull/61821

@allisonchou Can you merge? I don't have permissions in this repo.

Sure! Thanks Joey.


feat(metadataFilling): add dropdown options

This PR adds the dropdowns options for the step 3 while waiting for the connection to ontology.
This PR is blocked by dropdowns implementation in step 3.

This PR has been closed because we now have to link select options with ontology.


Android - Fix bottom inset value when displaying edge to edge

What does the pull request do?
When displaying from edge to edge, the nav bar insets forms part of the IME insets reported by the system. This pr corrects the bottom inset value that's returned to the toplevel.
What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?
Nav bar bottom inset is no longer removed from the IME bottom inset when the view is displaying edge to edge.
Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

You can test this PR using the following package version. 11.0.999-cibuild0033142-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0033182-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]


Need pinned dependencies for rule envs

Rule ENVs need version-pinned YML environment files -- that way we don't have to worry about those ENVs degrading with future versions of the underlying software

Fixed with https://github.com/Bishop-Laboratory/RLPipes/commit/ead72f5b8b209e7bb3a919a0afb7b1f715fe4c49


Cross platform ActivityIndicator

The API for ActivityIndiatorIOS and ProgressBarAndroid is very similar and can be merged in a cross platform component that displays a circular indeterminate loading indicator.
This deprecates ActivityIndiatorIOS and non-horizontal ProgressBarAndroid in favor of this new component.
Test plan (required)
Tested with the ActivityIndicator example in UIExplorer on android and ios. Also made sure that ActivityIndicatorIOS still works and displays a deprecation warning. Also tested that ProgressBarAndroid with indeterminate == true and styleAttr != 'Horizontal' displays a deprecation warning.

cc @dmmiller

Very cool! Have you considered naming this Spinner? I hear people often refer to this component as spinner.

I think Spinner could be confusing with http://developer.android.com/guide/topics/ui/controls/spinner.html for Android devs and since we already had ActivityIndicatorIOS I went with the iOS name.

I'm with @mkonicek, I think Spinner is a better name as well.  I think it's a pretty common name outside of Android for the component.

Ok, let's change it to Spinner since you both agree on that :)

@dmmiller I also think that spinner is a better name, but this is going to cause confusion since another UI element exists with the same name.
How about calling it something like ProgressIndicator or LoadingIndicator?

There is a decent amount of cleanup mixed in here as well.  Would be nice to see that separate and then we can quickly approve that and then look at the meat of this PR.

@dmmiller Good point. I'll try to separate this in multiple commits and add notes on what I changed.

@dmmiller Split up the cleanup of ActivityIndicatorIOS in d7ecdd5, then a40fddf has most of the new stuff. Also added a few notes about stuff I wasn't 100% sure.

@satya164 ProgressIndicator and LoadingIndicator are good but why not just call it ActivityIndicator in this case since it's very similar names and ActivityIndicator is already familiar to iOS devs. I like Spinner but my only concern is that it could cause some confusion with the native android view. That's why I'm still a bit biased towards keeping ActivityIndicator.

@janicduplessis I think ActivityIndicator is very iOSy not immediately familiar to web or Android devs. I think LoadingIndicator or ProgressIndicator sound more generic and obvious.

I like Spinner but my only concern is that it could cause some confusion with the native android view. That's why I'm still a bit biased towards keeping ActivityIndicator.

I'm fine with both but still a little bit in favor of Spinner. Not very concerned with Android naming, they are very bad at naming things :) Just look at ProgressBar - we'd have a similar issue there - "but Android developers are used to referring to a spinning indicator as a Progress Bar, we cannot name an actual horizontal progress bar ProgressBar now" :)

I think ActivityIndicator is very iOSy.

Only for people who know iOS probably?

LoadingIndicator or ProgressIndicator sound more generic and obvious.

Those names are fine too. ProgressIndicator is more generic maybe as the app is not necessarily "loading" something.
I think we had this exact same discussion about naming internally and it always ends up with bikeshedding and we make no decision ;) @janicduplessis it's your call :)

"ProgressIndicator" for me implies a sense of forward progress from 0 to 100% since that's how most progress bars work. Spinner makes a lot of sense but might be ambiguous -- JSpinner in Swing (yes that Swing) means a drop-down menu: https://docs.oracle.com/javase/tutorial/uiswing/components/spinner.html

Here's what I like about ActivityIndicator

It doesn't imply any particular visual for the indicator, spinner implies it spins, what if it doesn't spin on iOS 10? (might be playing the devil's advocate here :))

It doesn't imply any determinate progress like ProgressX.

We already have ActivityIndicatorIOS and this has pretty much the same API so the name should not be confusing to anyone that used the old ActivityIndicatorIOS.

Unless someone completely disagree I think I'll go with this.

I agree with "ActivityIndicator" - the only arguments I've heard against it are that its "iOS-y" and that its not what is used on Android, both of which are basically irrelevant - if there isn't one shared name across platforms, we should look at the name independent of other platforms to pick something that makes the most intuitive sense.
On Apr 26, 2016, at 1:13 AM, Janic Duplessis <notifications<EMAIL_ADDRESS>wrote:
Here's what I like about ActivityIndicator

It doesn't imply any particular visual for the indicator, spinner implies it spins, what if it doesn't spin on iOS 10? (might be playing the devil's advocate here :))

It doesn't imply any determinate progress like ProgressX.

We already have ActivityIndicatorIOS and this has pretty much the same API so the name should not be confusing to anyone that used the old ActivityIndicatorIOS.

Unless someone completely disagree I think I'll go with this.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHubhttps://github.com/facebook/react-native/pull/6897#issuecomment-214663089

@janicduplessis updated the pull request.

Cool, agree with the naming.
@dmmiller Can we merge this?

@ericvicenti would you mind taking a look at this pull request? It's been a while since the last commit was reviewed.

ping @dmmiller :)

I pinged Dave on messenger.

Let's do it.  I think we will have some code to fix up internally that will now be deprecated but I can do it.
@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.

I tried to merge this pull request into the Facebook internal repo but some checks failed. To unblock yourself please check the following: Does this pull request pass all open source tests on GitHub? If not please fix those. Does the code still apply cleanly on top of GitHub master? If not can please rebase. In all other cases this means some internal test failed, for example a part of a fb app won't work with this pull request. I've added the Import Failed label to this pull request so it is easy for someone at fb to find the pull request and check what failed. If you don't see anyone comment in a few days feel free to comment mentioning one of the core contributors to the project so they get a notification.

@janicduplessis updated the pull request.

Can you rebase please?  It's failing on importing and applying the patch.  Also I think some of the commits could actually be separate cleanup pull requests since this will all get squashed into a single commit when it goes in.

@facebook-github-bot shipit
Let's try again.  Just saw you updated while I was commenting. :)

Yea there was a conflict, should be good now :)

@facebook-github-bot shipit

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.

I feel like we're losing flexibility on the Android side because of this.
The only way to have a bigger size than the 'large' preset is to use a scale transform, but a spinner rendered this way looks much worse than what we had with ProgressBarAndroid
Here's an example with a scale of 4 just, for the sake of argument :

It looks just like a stretched image.

@kamek-pf, to be clear, nothing stops you from using ProgressBarAndroid if you need more control.  Or you can potentially put up a PR that adds support for more sizes.

I'd be happy to keep using ProgressBarAndroid, it throws deprecation warning though :
Circular indeterminate ProgressBarAndroid is deprecated. Use ActivityIndicator instead.

I'm fine with adding something to control the size better, maybe  allow passing a number to the size prop that works only on android (could even be possible to make it work on ios by calculating a scale transform).
As for now you can always add the warning to console.ignoredYellowBox to get rid of it.

Sounds good, I think having a single component with platform specific properties makes a lot of sense in cases like this, where APIs are similar but not exactly the same.

I was not able to pull of a circular determinate progress per material guidelines here:
https://material.io/guidelines/components/progress-activity.html#progress-activity-types-of-indicators

Does anyone know how to achieve the determinate circular?


how to run_params from an outside of the repo

I wanted to define a relative data_path in a config to make it user-independent (i.e. avoid overriding results folder and configs on Github), but seems like some paths in evalzoo are defined locally.
E.g., defining data_path: "../1.load/output" and trying to run from another repo gives following:
setwd("matric")
source("run_param.R")
setwd("../../position-effect-correction/2.evalzoo")
run_param("params/params_orf_group.yaml")

gives
Error in abs_path(input) :
  The file '0.knit-notebooks.Rmd' does not exist.
In addition: Warning message:
In normalizePath(x, winslash = winslash, mustWork = must_work) :
  path[1]="0.knit-notebooks.Rmd": No such file or directory

I was able to make it work with data_path: "../../position-effect-correction/1.load/output" and
run_param("../../position-effect-correction/2.evalzoo/params/params_orf_group.yaml", results_root_dir = "../../position-effect-correction/2.evalzoo/results/")

however, it assumes both repos being located in the same directory, so doesn't fully address issues above.

Oops – I certainly put in no effort into this being more than barely usable :D

both repos being located in the same directory,

Can you clarify what you mean by "both repos"?

Oh sorry, I just meant if your evalzoo and position-effect-correction were not checked out to the same directory, then data_path: "../../position-effect-correction/1.load/output" will be incorrect, because it's a relative path from a working directory (that has to be inside evalzoo) to a file inside position-effect-correction.
Basically, when you create a new config for calculating metrics on a dataset, data_path inside this config always has to account for the relative location of of this dataset to evalzoo.
Does this make sense?

Ah got it
So in this param file, you wish you could have specified
https://github.com/broadinstitute/position-effect-correction/blob/cda9e242aebea8031bd01a5a358a2c3507f9f3cb/2.evalzoo/params/params_orf_group.yaml#LL3C11-L3C11
as
data_path: "../1.load/output"

(Now I understand your first comment)

Yep, exactly. And I think it comes down to being able to run run_params from outside of evalzoo/matric.

Got it, and that's where the current strategy of using notebooks as functions gets a bit messy :D I'll keep this open for now and see if there's an easy fix


BatchAI. Documentation fix and cleanup

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

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

Command Guidelines

[x] Each command and parameter has a meaningful description.
[x] Each new command has a test.

(see Authoring Command Modules)

@AlexanderYukhanov please rebase your changes on top of the dev. The release branch was just merged this morning and since then we checked in a few changes to stabilize the CI.

thanks, will resubmit


Session variable wasn't set.

Affected Version
SS 4.1
Description
Tried to set session variable using SS API, but looks like it wasn't happened.
Steps to Reproduce
---
Name: siteextensions
After:
  - '#requestprocessors'
  - '#coresecurity'
---

SilverStripe\Core\Injector\Injector:
  SilverStripe\Security\Security:
    properties:
      Authenticators:
        default: 'Site\Extensions\MemberAuthenticatorExtension'

namespace Site\Extensions;

use SilverStripe\Security\MemberAuthenticator\MemberAuthenticator;

class MemberAuthenticatorExtension extends MemberAuthenticator
{
public function authenticate(array $data, HTTPRequest $request, ValidationResult &$result = null)
    {
$controller = Controller::curr();
$session = $controller->getRequest()->getSession();
$session->set('user_token', 'AAAA');
...
return $controller->redirect('/aaa');
}
}

Controller at /aaa:
public function init()
{
parent::init();

        $session = $this->getRequest()->getSession();
        $userToken = $session->get('user_token');

        if (!$userToken) {
            return Security::permissionFailure();
        }

}

Returns permission failure after first (redirect) and second (typing in URL manually) requests, but on third request it finally gets session variable that was set once at MemberAuthenticatorExtension.
But it works ok, if I will set variable using $_SESSION. Guess there's some kind caching

@a2nt I think you may be misunderstanding how the authentication process works, MemberAuthenticator::authenticate() should return a Member (or null if authentication as failed), not an HTTPResponse. You also don’t need to use $controller->getRequest(), the $request variable passed into the authenticate() method already provides the current request.
You could try using $session->save($request) to manually trigger saving the session. Normally that’s triggered automatically just before the request finishes, but if you’re exiting early or something unusual like that then it may not be triggered.
I’m going to close this as I’ve just tested this by adding a $request->getSession()->set('foo', 'bar'); call to MemberAuthenticator, and it works as expected


Error when trying to use TheVolcano.ark

http://puu.sh/s1ZJx/e4920cec12.png

I'd really like to take a look at that savegame. Looks like that savegame contains something that i haven't seen/analyzed before.

http://puu.sh/s7h3N/88cd74bc0d.ark

Sorry about the increased response time, will take a look ASAP

Should be resolved with 0.4.0

I need that savegame as well, this could finally reveal the structure of those fields. TheVolcano didn't have enough data, so i had to apply a band-aid.

Hey Qowyn, I'll send you a fresh map file today with all that data.. I have to prep a new island map for the new patch coming so i'll load the SGA mod again and place a couple of gates and then send you the save file here!
Sorry for the delayed response. work/life/holidays.. fun!
Thanks

Finally fixed with the new version


ALT key doesn't toggle menu bar visibility in fullscreen mode when titleBarStyle is 'custom'

VSCode Version: 1.25.0
OS Version: Microsoft Windows [Version 10.0.16299.431]

Steps to Reproduce:

Set "window.titleBarStyle": "custom"
Restart vscode
Press F11 to enter fullscreen mode
Press ALT to show menu bar
Press ALT + F to open the file menu

Does this issue occur when all extensions are disabled?: Yes

same cause as #52954


GPU memory

I am using the Python 3.6 (branch 1.0) of your code with CUDA 10 and everything seems to be working up until the point when I try to run step 3 (training), I am using a GTX 2080 Ti with 11GB frame buffer so I was under the impression that it would have enough memory to train the model however I get this error:
RuntimeError: CUDA out of memory. Tried to allocate 392.00 MiB (GPU 0; 11.00 GiB total capacity; 7.75 GiB already allocated; 36.24 MiB free; 661.04 MiB cached)
Is there any way for me to clear the cached memory to make way for the allocation or is that a bad idea?
Also if it's the case that I simply don't have enough memory to run the training when will the lightweight (mono) model be released for python 3.6?

hi , i use the same version and hardware device and  got the same issue , how did you fix it in the end?


Some clarifications needed

I have just read through all the documentation, but not yet paid the $ to install a Rack. A few things aren't clear in my mind, which may be the case to other new users.
It says it's safe to delete the IAM convox user. Does uninstalling convox still work if that user is gone? Btw, Using the CLI Installer mentions the AWS credentials but doesn't elaborate on how to do that or people very new to AWS, likely using aws login (brew install awscli).
It's not entirely clear if run and exec run on the Rack or against a local Docker development environment. I'm presuming the former, but it could be stated more plainly.
Developing Locally uses Docker images convox/postgres and convox/redis for local development. There is also documentation on RDS and ElastiCache services. It's not clear if it's possible to setup a development environment that uses both in combination, as I presume Convox will attempt to deploy those containers as well?

Hi @nathany, thanks for the feedback and sorry about the delayed reply.
It's not entirely clear if run and exec run on the Rack or against a local Docker development environment. I'm presuming the former, but it could be stated more plainly.
I've just submitted a PR to clarify the run and exec commands, so that documentation should be much clearer soon.
Regarding the rest, I think this has gotten better since this issue was created. If not, we can take a look.

 convox/site issue triage


updated quickjs to 2020-11-08

see #89

too soon :)

Can I get an update on this? Is there anything I can do to help?

Well, the problem is the patch file which does not work anymore,  so we could either fix that (which is not my area of expertise atm) or we could see what quickjs-rs actually uses it for and find another way of doing that and delete the patch file..
i'll try to get into this this weekend, i think theduke is busy on other projects :)

sorry i did not get back to this but https://github.com/theduke/quickjs-rs/issues/92 needed some attention first :)
this is still on top of mind

i tried looking into this but it's simply out of my leage.. i'm sorry but i don't know how to fix this

i tried looking into this but it's simply out of my leage.. i'm sorry but i don't know how to fix this

i tried looking into this but it's simply out of my leage.. i'm sorry but i don't know how to fix this

No shame there, patching C code when you're not familiar with C is far from trivial, especially in a codebase like QuickJS.
Also sorry for the delay. I'm looking into it right now.

Everything seems to actually be working now, except for a failing test with Date deserialization.

Incorporated and extended in #97  (I can't push to your branch)

Now merged, will be released soon.

Awesome! Thanks, looking forward tot the release!

Already released as 0.4.


$ tab && ...

Is there a way to open a new tab && execute a command?
 $ tab && ls

...doesn't seem to work.

Solved? If so, please close


docs: notice of switching to new generation before adding any packages

As seen in the Matrix room, this worked for me and one other person having issues using the binary cache.
:fish: What?
Improved documentation.
:fishing_pole_and_fish: Why?
Faster (user) build times.
:fish_cake: Pending

[ ] Complain with linter;
[ ] Remove some temporary fix;
[ ] Publishing to news' channel.

:whale: Extras

I like chocolate cake.

It's kind of there already:
https://github.com/chaotic-cx/nyx/blob/7705ea7bb501453ffb1f085b4ddbdc606f5463f8/README.md?plain=1#L139
Since you're suggesting adding it to the troubleshooting, then it would be better as instructions to verify it instead. Rewords to the current one are also welcomed.


test

Introduces a new GCE specific cluster creation variable KUBE_PROXY_DISABLE. When set to true, this will skip over the creation of kube-proxy (whether the daemonset or static pod). This can be used to control the lifecycle of kube-proxy separately from the lifecycle of the nodes.

Hi, @saschagrunert , thanks for sharing this useful tool. I copied the release note from https://github.com/kubernetes/kubernetes/pull/91977
Although the tool successfully predicts this is a release notes, however it is labeled as kind/bug, instead of kind/feature. Could you help me to understand if this is a misprediction or expected result? Thanks.

Hey @huikang, thank you for testing the bot. :pray: The linked PR is not labeled as kind/bug from what I can see, so the prediction of 12% seems correct to me. We update the data on a daily basis and this result will be used for the training.

Closing, feel free to reopen if the issue still exist
/close


[STYLE CHANGE] White outline on hover for the 'Read' button for the Power of Knowledge Blogs section.

Description:
I want to change the Read button on the blog cards for the Power of Knowledge blogs such that a white border outline appears upon hovering.
Reason for Change:
It is an additional feature improving the look of the website, in particular the 'Power of Knowledge Blogs' section.
Current Styling:
The current styling does not have any border outline appear upon hovering, only the scale of the whole blog card being changed.
Proposed Styling:
Adding a white border outline upon hovering over each blog card.
Screenshots or Design Mockups (optional):
Before:

After:

Additional Information (optional):
Changes made to the Blog.html and newBlogStyle.css

Priority Level (optional):

[ ] Low
[x] Medium
[ ] High

Possible Implementation Approach (optional):
Modifying the newBlogStyle.css file and adding a class to the read buttons to make the changes.
Note: I have made the changes, I hope you accept my PR.

Go for it

I have made the PR for the same, please have a look and let me know.


Create GuildMemberUpdateEvent hierarchy

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[ ] Internal code
[x] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: #973
Description
This adds a new update event for guild members, and refactors the nickname update event to extend it.

Sorry about that! Should be fixed now.


Added support for bidirectional topics.

Rebased #4 on top of master.

I've addressed your comments, so have a look at the updated code, please.

Thanks, merged.


Support for Couchdb JWT Authentation

Added support for couchdb JWT Authentatication via RSA256 algorithm.
Signed-off-by: Aviral Agrawal<EMAIL_ADDRESS>Type of change

New feature

Description
Added support for token based JWT authentication supported in Couchdb by generating JWT token using RSA256 algorithm.
Related issues
https://github.com/hyperledger/fabric/issues/3317

Thanks @aviralagrawalDLT . This isn't a minor change and so I was wondering whether there was any kind of design document I could read first to get familiar with the objectives, the threat model etc. Also, curious about what you mean by RSA256 - 256 is an unusual bitlength for RSA?

Hello @ale-linux
RSA256 seems to be a typo from my end(Updated the same in description). It is RS256, which is RSA signature algorithm using SHA-256 hashing algorithm.(Reference). As per couchdb, they support RS256, RS384 and RS512(Reference ). RS256 was chosen since it is the most commonly used and while development and testing, we consumed the same. There is no major security concern apart from the fact that longer hashing algorithms are generally more secure and RS512 token generation is faster on 64bit machine while RS256 token generation is faster on 32bit machine but not considerably(Reference). Any suggestions otherwise on what to use would be helpful and appreciated.
I do not have any design document handy with me right now. Give me some time to whip something up on why this change0 is being suggested.


ERROR: column "..." being dropped, try again later when applying migrations with CRDB 23.1

Bug description
When the same column has to be dropped and re-added in a migration, this fails in CockroachDB 23.1 with the following error:
Error: P3018

A migration failed to apply. New migrations cannot be applied before the error is recovered from. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve

Migration name:<PHONE_NUMBER>2551_sec

Database error code: 55000

Database error:
ERROR: column "num" being dropped, try again later

DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState(E55000), message: "column \"num\" being dropped, try again later", detail: None, hint: None, position: None, where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("add_column.go"), line: Some(244), routine: Some("checkColumnDoesNotExist") }

This was discovered in sql-migration-tests when adding CockroachDB 23.1 to CI in https://github.com/prisma/prisma-engines/pull/4132. Looks like an upstream bug that needs to be reported to CockroachDB.
How to reproduce

Use the schema below
prisma migrate dev
Change Decimal to Boolean
prisma migrate dev

Expected behavior
The column type should have been changed successfully.
Prisma information

generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "cockroachdb"
  url = env("DATABASE_URL")
}

model A {
  id  Int      @id @default(sequence())
  num Decimal
}

Environment & setup

OS: macOS
Database: CockroachDB 23.1
Node.js version: v20.5.1

Prisma Version
prisma                  : 0.0.0
@prisma/client          : 0.0.0
Current platform        : darwin-arm64
Query Engine (Node-API) : E_CANNOT_RESOLVE_VERSION (at ../../../prisma-engines/target/debug/libquery_engine.dylib, resolved by PRISMA_QUERY_ENGINE_LIBRARY)
Schema Engine           : schema-engine-cli c2478af070f89607a31a77361e0053fd3f0ad1d4 (at ../../../prisma-engines/target/debug/schema-engine, resolved by PRISMA_SCHEMA_ENGINE_BINARY)
Schema Wasm             : @prisma/prisma-schema-wasm 5.3.0-5.018067b0442e15ab541fc2d442e5ffdc1f3a051b
Default Engines Hash    : 018067b0442e15ab541fc2d442e5ffdc1f3a051b
Studio                  : 0.494.0
Preview Features        : tracing

5.3.0-dev

It looks like a user reported this 2 weeks ago too
https://github.com/prisma/prisma/issues/20707

I found this issue on CockroachDB's GitHub which look similar but is about indexes
https://github.com/cockroachdb/cockroach/issues/98494

I believe this needs the same workaround as v22.2, as described here: https://github.com/prisma/prisma-engines/pull/3742
The specific commit that applies to this issue (for 22.2) is: https://github.com/prisma/prisma-engines/pull/3742/commits/e8f9f515e88357f9efb3b9064b1491db3631ab53
This will SET enable_implicit_transaction_for_batch_statements=false during prisma migrations and should avoid the issue. The workaround looks for 22.2, but does not have 23.1 which requires the same workaround.

Note I tried locally using CRDB v23.2.0-rc.2 and v23.1.14 and can confirm it's fixed 💯

For the fix, use Prisma 5.9.0 (will be released today)


First deployment fails and cannot restart app-service after

It seems for me my app service goes into some dead state after the initial deployment. After it the app cannot be restarted and will not generate any logging output.
In the below attached logs it can be seen that the last log entry is from
2020-01-06T16:34:07.785820230Z but I have smashed the restart button multiple times since then and also created multiple deployments.
Note: I know the app fails because nothing is listening on the port 8080. However it should try every time when I restart the app service plan.
Repro steps.

deploy an NodeJS based app
try to restart the app service via the portal Restart or Stop/Restart buttons
observe that there is no additional log is generated in

/api/vfs/LogFiles/2020_01_06_RD501AC568477E_default_docker.log (attached)
/api/vfs/LogFiles/2020_01_06_RD501AC568477E_docker.log (attached)

make a new deployment (zip or git)
observe that the deployment succeeds
observe that there is still no additional logs

I would expect at least the docker log is updated with attempted restarts.
Project structures.
Minimal demo case: build.zip
The log/error given by the failure.
There are no errors beside the application level errors. The docker and application level logs:

2020_01_06_RD501AC568477E_docker.log.txt
2020_01_06_RD501AC568477E_default_docker.log.txt

Response from /api/deployments
[
{
"id": "925874959ff34f5ea1a3d96ad4ae9de1",
"status": 4,
"status_text": "",
"author_email": "N/A",
"author": "N/A",
"deployer": "Push-Deployer",
"message": "Created via a push deployment",
"progress": "",
"received_time": "2020-01-06T17:48:26.7418959Z",
"start_time": "2020-01-06T17:48:26.8530566Z",
"end_time": "2020-01-06T17:48:27.8402908Z",
"last_success_end_time": "2020-01-06T17:48:27.8402908Z",
"complete": true,
"active": true,
"is_temp": false,
"is_readonly": true,
"url": "https://ap-scheduler-test.scm.azurewebsites.net/api/deployments/925874959ff34f5ea1a3d96ad4ae9de1",
"log_url": "https://ap-scheduler-test.scm.azurewebsites.net/api/deployments/925874959ff34f5ea1a3d96ad4ae9de1/log",
"site_name": "ap-scheduler-test"
},
{
"id": "a7f79e7cef334efaa0f528af8e1f258a",
"status": 4,
"status_text": "",
"author_email": "N/A",
"author": "N/A",
"deployer": "Push-Deployer",
"message": "Created via a push deployment",
"progress": "",
"received_time": "2020-01-06T17:36:50.9406306Z",
"start_time": "2020-01-06T17:36:51.0839857Z",
"end_time": "2020-01-06T17:36:52.3178566Z",
"last_success_end_time": "2020-01-06T17:36:52.3178566Z",
"complete": true,
"active": false,
"is_temp": false,
"is_readonly": true,
"url": "https://ap-scheduler-test.scm.azurewebsites.net/api/deployments/a7f79e7cef334efaa0f528af8e1f258a",
"log_url": "https://ap-scheduler-test.scm.azurewebsites.net/api/deployments/a7f79e7cef334efaa0f528af8e1f258a/log",
"site_name": "ap-scheduler-test"
},
{
"id": "cd3137a5b3ab020a57590d7711231cda618b5474",
"status": 4,
"status_text": "",
"author_email"<EMAIL_ADDRESS>"author": "Attila Olah",
"deployer": "$ap-scheduler-test",
"message": "release: testing release",
"progress": "",
"received_time": "2020-01-06T17:26:36.9965979Z",
"start_time": "2020-01-06T17:26:37.5002727Z",
"end_time": "2020-01-06T17:26:48.7958949Z",
"last_success_end_time": "2020-01-06T17:26:48.7958949Z",
"complete": true,
"active": false,
"is_temp": false,
"is_readonly": false,
"url": "https://ap-scheduler-test.scm.azurewebsites.net/api/deployments/cd3137a5b3ab020a57590d7711231cda618b5474",
"log_url": "https://ap-scheduler-test.scm.azurewebsites.net/api/deployments/cd3137a5b3ab020a57590d7711231cda618b5474/log",
"site_name": "ap-scheduler-test"
},
{
"id": "fe504b60c4355dee63a3cc3e98061b01f2be5e69",
"status": 4,
"status_text": "",
"author_email"<EMAIL_ADDRESS>"author": "Attila Olah",
"deployer": "$ap-scheduler-test",
"message": "chore: trigger deploy",
"progress": "",
"received_time": "2020-01-06T16:53:35.5545991Z",
"start_time": "2020-01-06T16:53:36.1086516Z",
"end_time": "2020-01-06T16:54:11.0857579Z",
"last_success_end_time": "2020-01-06T16:54:11.0857579Z",
"complete": true,
"active": false,
"is_temp": false,
"is_readonly": false,
"url": "https://ap-scheduler-test.scm.azurewebsites.net/api/deployments/fe504b60c4355dee63a3cc3e98061b01f2be5e69",
"log_url": "https://ap-scheduler-test.scm.azurewebsites.net/api/deployments/fe504b60c4355dee63a3cc3e98061b01f2be5e69/log",
"site_name": "ap-scheduler-test"
},
{
"id": "ec4f4653af5c7bd37ed431b1a73efda08a48ece4",
"status": 4,
"status_text": "",
"author_email"<EMAIL_ADDRESS>"author": "Attila Olah",
"deployer": "$ap-scheduler-test",
"message": "release: test release",
"progress": "",
"received_time": "2020-01-06T16:32:56.9023956Z",
"start_time": "2020-01-06T16:32:57.5184647Z",
"end_time": "2020-01-06T16:33:33.8531562Z",
"last_success_end_time": "2020-01-06T16:33:33.8531562Z",
"complete": true,
"active": false,
"is_temp": false,
"is_readonly": false,
"url": "https://ap-scheduler-test.scm.azurewebsites.net/api/deployments/ec4f4653af5c7bd37ed431b1a73efda08a48ece4",
"log_url": "https://ap-scheduler-test.scm.azurewebsites.net/api/deployments/ec4f4653af5c7bd37ed431b1a73efda08a48ece4/log",
"site_name": "ap-scheduler-test"
}
]

Debug your Azure website remotely.

it is recommanded that you share your Web App name, directly or indirectly
we can take a look at what's going on.

https://ap-scheduler-test.azurewebsites.net

Closing as no response from the team, and we moved to docker-based version as a solution.


What is the theme being used for Windows in the main readme.md picture?

Looks very clean and I wanted to ask what the theme is.

Scratch that, seems like a GTK theme.


About NetworkError: GATT operation already in progress.

Hi all. I'm trying to send notifications in the draw function but I keep receiving "NetworkError: GATT operation already in progress". If I lower down the framerate the issue will be solved. I believe it is because the p5 sketch is sending notifications too fast and the BLE has a delay. I am wondering if that is possible to have a boolean function that detects whetehr there is anything busy or in the queue. Many thanks!

Ok I created another function to send notifications at intervals, problem solved!


Research start-ups

Focus on Start-ups in Munich:

local events/meet ups/talks
websites & facebook (munich start up)

Research doc: https://docs.google.com/document/d/10wo0lZzXW2ZpIBm8pawHhUZJPaD7VBC-6K4YUtHT6a4/edit


stuck on propagation check failed DNS record not yet propagated

Describe the bug:
The cert-manager container is stuck in a loop outputting the following error message, but failing to progress:
E1017 16:19:41.560836       1 sync.go:190] cert-manager/challenges "msg"="propagation check failed" "error"="DNS record for \"auth.example.com\" not yet propagated" "dnsName"="auth.example.com" "resource_kind"="Challenge" "resource_name"="auth-jt5dj-1674015084-2821633056" "resource_namespace"="default" "resource_version"="v1" "type"="DNS-01"

Expected behaviour:
Expected it to eventually succeed. But cert-manager is stuck in the loop way longer than the DNS propagation time.
Steps to reproduce the bug:

Configure cert-manager as https://github.com/rgl/terraform-azure-aks-example/blob/master/cert-manager.tf.

This essentially configures the Staging Let's Encrypt DNS-01 challenge to a new Azure DNS zone.
Please note that for practical purpose the domain does NOT exists until, I, as the Human Operator, manually create the DNS delegation. So Its expected that cert-manager will loop for a lot of time until the Human Operator actually does the DNS delegation, and it properly propagates (10m).

Let cert-manager loop with the mentioned expected error of DNS record not yet propagated.
Manually delegate the domain to the Azure DNS zone (also created by the terraform code).
Observe that even after the DNS propagation time (10m), cert-manager does NOT recover, and does not create the certificate.

To unstuck cert-manager, I basically deleted the cert-manager pod (and ONLY this pod; the other two pods, cert-manager-cainjector and cert-manager-webhook were not touched).
After k8s recreates the cert-manager pod, it works as expected.
Anything else we need to know?:
Environment details::

Kubernetes version: 1.24.6
Cloud-provider/provisioner: Azure AKS/terraform/helm/Staging Let's Encrypt DNS-01
cert-manager version: 1.10.0
Install method: helm

/kind bug

/remove-lifecycle stale

Similar problem here:
E0322 07:01:38.272728       1 sync.go:190] cert-manager/challenges "msg"="propagation check failed" "error"="DNS record for \"example.com\" not yet propagated" "dnsName"="example.com" "resource_kind"="Challenge" "resource_name"="test-certificate-g8bxx-3196794878-1434474755" "resource_namespace"="default" "resource_version"="v1" "type"="DNS-01"

Here it's Route 53, the domain exists, _acme-challenge.example.com is successfully created without any problem/delay, yet cert-manager pod is stuck in this.
More info:

Version: 1.11.0
k8s: 1.26.1
Install method: Helm
route53 dns01 challenge
ClusterIssuer with spec.acme.server: https://acme-staging-v02.api.letsencrypt.org/directory

@rgl @umi0410 Solved!
After some digging I've ran into https://gitlab.com/smueller18/cert-manager-webhook-inwx/-/issues/6, and it helped me to solve. Obviously it is related to split DNS configuration... The mentioned issue points to the solution at https://cert-manager.io/docs/configuration/acme/dns01/#setting-nameservers-for-dns01-self-check. In short, I've just changed values.yaml file for cert-manager to:
installCRDs: true

extraArgs:
  - --enable-certificate-owner-ref=true
  - --dns01-recursive-nameservers-only
  - --dns01-recursive-nameservers=<IP_ADDRESS>:53,<IP_ADDRESS>:53

prometheus:
  enabled: true
  servicemonitor:
    enabled: true

There I've just added --dns01-recursive-nameservers-only and --dns01-recursive-nameservers=<IP_ADDRESS>:53,<IP_ADDRESS>:53. Then I've did helm upgrade, and just in case deployment restart, and everything works now.
Honestly, I'm bit dissapointed that cert-manager cannot handle this kinda automatically, like certbot does... But at least there's solution.

For me, this was due to using my router (pfSense as the DNS server for my k8 nodes) and forgot I had an A record in pfSense for my domain hosted in route53 for internal use. Setting the dns challenge works as described above works, hope this helps for others doing the same thing and forgot about it

I had a simular problem today, but the root of the problem was not related to cert-manager.
For tests purposes  we had added an _acme-challenge  entry to our DNS pointing to other place.
Just removed those entries and everything start working

@rgl @umi0410 Solved!
After some digging I've ran into https://gitlab.com/smueller18/cert-manager-webhook-inwx/-/issues/6, and it helped me to solve. Apparently, it is caused by split DNS configuration... The mentioned issue points to the solution at https://cert-manager.io/docs/configuration/acme/dns01/#setting-nameservers-for-dns01-self-check. In short, I've just changed values.yaml file for cert-manager to:
installCRDs: true

extraArgs:
  - --enable-certificate-owner-ref=true
  - --dns01-recursive-nameservers-only
  - --dns01-recursive-nameservers=<IP_ADDRESS>:53,<IP_ADDRESS>:53

prometheus:
  enabled: true
  servicemonitor:
    enabled: true

There I've just added --dns01-recursive-nameservers-only and --dns01-recursive-nameservers=<IP_ADDRESS>:53,<IP_ADDRESS>:53. Then I've did helm upgrade, and just in case deployment restart, and everything works now.
Honestly, I'm bit dissapointed that cert-manager cannot handle this kinda automatically, like certbot does... But at least there's solution.

worked to me.
thanks

solution works for us
https://artifacthub.io/packages/helm/cert-manager/cert-manager
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
  name: &app cert-manager
  namespace: &namespace infra-system
spec:
  interval: 15m
  chart:
    spec:
      chart: *app
      version: '1.15.2'
      sourceRef:
        kind: HelmRepository
        name: *app
      interval: 12h
  releaseName: *app
  targetNamespace: *namespace
  install:
    remediation:
      retries: 3
  upgrade:
    cleanupOnFail: true
    remediation:
      retries: 3
  uninstall:
    keepHistory: false
  values:
    enableCertificateOwnerRef: true
    dns01RecursiveNameserversOnly: true
    dns01RecursiveNameservers: "<IP_ADDRESS>:53,<IP_ADDRESS>:53"
    crds:
      enabled: true

/reopen

We had similar issues with cert-manager v.1.15 running on AKS 1.27 on Azure with mostly default settings. We are using the ZeroSSL provider for creating test-environment certs in large volumes. @peske's suggestion lead us to realising that this was indeed an issue with DNS resolution. Enabling logging on CoreDNS was able to showcase the requests to DNS that was stuck in the loop. These attempt eventually succeeded when setting those mentioned settings.


Use external lib for labelling alternative routes

Description
Replace the internal implementation of the alternative route labeller by a dependency to https://www.npmjs.com/package/alt-route-labeller (which is the same algo anyway :))
Why
Less code to maintain!

@fatal69100 Thanks for your review!
I had actually forgotten to push the latest version using v0.3… Great you noticed it :)
The 0.3 is better as it can work directly on an array of geometries, removing the need for the featureCollection transformation, which can be costly on long routes.


Chocolatey Install Fails With Error Messages

Hello,
I'm unable to install Chocolatey on Windows 8.1 Enterprise.
I tried running the command via command line and when that failed (got the same error), I tried Powershell directly.
If I navigate to the 7za.exe file and attempt to run it, I get an error message:

I tried disabling SmartScreen & UAC and got the same result.

PS C:\Users\Alex> iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
Downloading http://chocolatey.org/api/v2/package/chocolatey/ to C:\Users\Alex\AppData\Local\Temp\chocolatey\chocInstall\
chocolatey.zip
Download 7Zip commandline tool
Downloading https://github.com/chocolatey/chocolatey/blob/master/src/tools/7za.exe?raw=true to C:\Users\Alex\AppData\Loc
al\Temp\chocolatey\chocInstall\7za.exe
Extracting C:\Users\Alex\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip to C:\Users\Alex\AppData\Local\Temp\ch
ocolatey\chocInstall...
Start-Process : This command cannot be run due to the error: The specified executable is not a valid application for
this OS platform..
At line:47 char:1
+ Start-Process "$7zaExe" -ArgumentList "x -o`"$tempDir`" -y `"$file`"" -Wait
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
    + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

Installing chocolatey on this machine
& : The term 'C:\Users\Alex\AppData\Local\Temp\chocolatey\chocInstall\tools\chocolateyInstall.ps1' is not recognized
as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:58 char:3
+ & $chocInstallPS1
+   ~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Alex\A...ateyInstall.ps1:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Ensuring chocolatey commands are on the path
PS C:\Users\Alex> chocolatey
chocolatey : The term 'chocolatey' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ chocolatey
+ ~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (chocolatey:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

I'm getting the exact same error on Windows Server 2012 R2, using the admin command prompt command. I manually downloaded 7za.exe and chocolatey.zip and tried again and nothing changed. I eventually decided to extract the zip manually and tried the install command and the first error showed up but the install finished successfully.
However, installs all fail with The underlying connection was closed: An unexpected error occurred on a send.
It would be nice to be given a list of things to troubleshoot when this happens.

I'm not sure that your error has the same causation as those from a couple of years ago. The 7za.exe and choco come from https://chocolatey.org now.

@jnm2 Can you log this recent issue to choco instead of this repository?

I'm certain you're right about that. Sure thing. https://github.com/chocolatey/choco/issues/662


Provide --token-file option analogous to --password-file

This way they too do not have to be typed in the command prompt but can be put in files with proper access controls.

Also maybe make the location configurable where tableau_auth.json is stored. Apart from the fact that it should be in ~/.cache or maybe ~/.local/state on linux according to the XDG Base Directory Specification it should definitely not be world readable as it apparently contains the raw token!

Yes, good suggestions. The json file shouldn't contain any tokens any more: it should really just be a config file. Configurable location seems like a nice option too.
I have been using --password-file to pass in a token or password, but it causes pretty complex login logic when trying to guess which one the user thinks they are using, so I'll probably add --token-file in the next update (which will also include logic to use the OS username if no username is given).

(this is not yet done for 2.0.7)

example usage:
python -m tabcmd login --server https://tableau.net/ --site tabcmd --token-name jac --token-file jac.txt


Add wip category and application needle

Adds a Coming Soon section to the application page and adds the wip app needle

Did you rebase on master? I think you are missing some stuff (e.g., on master the citation doesn't show an error if you do not provide a citation)

@eseiler Thanks for the tip. :)

ty ❤


libcbor doesn't install their pkgconfig files correctly

Describe the bug
Packages depending on libcbor can not be built  as pkgconfig files seem installed in the wrong place. So things depending on it don't work properly.
We need to patch the make install step I think?  it seems to be installing it in $out/$out instead of in $out
To Reproduce
$ nix-build  '<nixpkgs>' -A libcbor && find result/
/nix/store/7hm6jjs84za1sjaxyvyb6gfr4pscy6zd-libcbor-unstable-2019-07-25
result/
result/include
result/include/cbor
result/include/cbor/arrays.h
result/include/cbor/bytestrings.h
result/include/cbor/callbacks.h
result/include/cbor/common.h
result/include/cbor/configuration.h
result/include/cbor/data.h
result/include/cbor/encoding.h
result/include/cbor/floats_ctrls.h
result/include/cbor/internal
result/include/cbor/internal/builder_callbacks.h
result/include/cbor/internal/encoders.h
result/include/cbor/internal/loaders.h
result/include/cbor/internal/memory_utils.h
result/include/cbor/internal/stack.h
result/include/cbor/internal/unicode.h
result/include/cbor/ints.h
result/include/cbor/maps.h
result/include/cbor/serialization.h
result/include/cbor/streaming.h
result/include/cbor/strings.h
result/include/cbor/tags.h
result/include/cbor.h
result/lib
result/lib/libcbor.so
result/lib/libcbor.so.0.5.0
result/nix
result/nix/store
result/nix/store/7hm6jjs84za1sjaxyvyb6gfr4pscy6zd-libcbor-unstable-2019-07-25
result/nix/store/7hm6jjs84za1sjaxyvyb6gfr4pscy6zd-libcbor-unstable-2019-07-25/lib
result/nix/store/7hm6jjs84za1sjaxyvyb6gfr4pscy6zd-libcbor-unstable-2019-07-25/lib/pkgconfig
result/nix/store/7hm6jjs84za1sjaxyvyb6gfr4pscy6zd-libcbor-unstable-2019-07-25/lib/pkgconfig/libcbor.pc

Expected behavior
pkg-config should be able to understand libcbor and it currently can't as it can't find the libcbor.pc file
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

If you were wondering "Why did this work in the first place"
libfido2 has the following workaround in their makefile:
https://github.com/Yubico/libfido2/blob/68c06c15d847a88d5b54a4a4342fe7dc01e24508/CMakeLists.txt#L84

@GrahamcOfBorg build libcbor


Access attributes in ignored paths

Let's say I have a route \publicinfo that is accessible to both guests and registered users ('ignore' => ['/publicinfo']). How can I access the jwt attributes using $request->getAttribute("jwt") for registered users when they access \publicinfo? Since \publicinfo is added to ignore, the jwt attributes are never added to the $request object. However, if I remove \publicinfo from ignore, guests are not able to reach the route.

I did it another way:
Let your /publicinfo path in path so that the user has to have a valid JWT.
When a guest user tries to access it, the middleware will return a 401, which is expected.
The trick is to use the error option of the middleware to catch this situation and do whatever you want.
$app->add(new Tuupola\Middleware\JwtAuthentication([
    "path" => ["/publicinfo"],
    "error" => function($response, $arguments) use ($container) {
        if ($response->getStatusCode() === 401) {
            // The user is NOT authenticated, maybe display the login form:
            $response = $container->get('renderer')->render($response, 'publicinfo.html');
        } else {
            // Another error happened. Display an error message.
            $response = $container->get('renderer')->render($response, 'error.html');
        }

        return $response;
    },
]));


use Luhn to calculate ar_SA id numbers.

Anything new about this pull request?

I have made the changes as I understand how they should be done. Please check.

Excellent, thanks for your contribution!

Thank you too for help me through it.


feat: Dev Branch Merge 7/31/2021 Morning

Small code refactors & added a couple of new reactions.

Just did so, merging!


Device physical orientation isn't landscape

Hello!
Gyro sensors behaviour is different from stock OS. At first I was sure that it's a good thing that behaviour is changed to smartphone-like but now I'm experiencing problems in a lot of games.
So, AIDA64 shows that X and Y gyro axes are swapped and works like device physical orientation is portrait, but actually it's not.
Can you please make sensors to work as they are on stock OS? I'm using it for aiming in some old shooters ports and it's pretty important thing IMO.

I too have 90 degree rotated text during boot, as well as the taskbar on the right hand side instead of the bottom.
Also the performance/standard mode settings aren't saved during a reboot.

Not sure if this is related, but I noticed that when you apply a shader with scanlines, they appear vertical rather than horizontal.

Yes the 405 series has a portrait display, this makes sensors behave a bit differently. 405V is even worse in this regard.
I will need to investigate and fix this in Android.

Please tell if you need any help with that, I can spend some time to test, try and inspect different solutions. I have RG505 though


--prometheus.http-client-file  Format exam?

Is your proposal related to a problem?

--prometheus.http-client-file= Path to YAML file or string with http client configs. see Format details : ...
Describe the solution you'd like
Format exam?
I want --prometheus.http-client-file  Format exam!!!

sidecar
caller=sidecar.go:172 msg="failed to fetch prometheus version. Is Prometheus running? Retrying" err="expected 2xx response, got 401. Body: Unauthorized\n"

We do need documentation for this. Help wanted.

For reference, I've had trouble getting the following format to work in this file for basic authentication to prometheus:
basic_auth_users:
  test: ydgt87y37yt7y437to7y43o7ygfohuhiuehfiudfukfsfgfiurhfre

However I have had success with the following:
basic_auth:
  username: test
  password: test


custom_jvp of while_loop failes on reverse mode.

Description
I'm working on a library for numerical quadrature in JAX, with derivatives defined via Leibniz rule. I've defined custom_jvp for my quadrature functions and it works fine in forward mode, but when trying reverse mode AD I get a NotImplementedError

@functools.partial(jax.custom_jvp, nondiff_argnums=(0,))
def dummy_integrate(fun, a, step, *args):

    def condfun(state):
        x, f, fx = state
        return abs(fx)/abs(f) > 1e-2

    def bodyfun(state):
        x, f, fx = state
        x += step
        fx = fun(x, *args)
        f += fx
        return x, f, fx

    return jax.lax.while_loop(condfun, bodyfun, (a,fun(a, *args), np.inf))[1]

@dummy_integrate.defjvp
def _dummy_integrate_jvp(fun, primals, tangents):
    a, step = primals[:2]
    args = primals[2:]
    adot, stepdot = tangents[:2]
    argsdot = tangents[2:]
    f1 = dummy_integrate(fun, *primals)

    # ignoring boundary terms, derivative of integral is integral of derivative
    def df(x, *args):
        return jax.jvp(fun, (x, *args), (jnp.zeros_like(x), *argsdot))[1]

    f2 = dummy_integrate(df, *primals)
    return f1,  f2

fun = lambda x, c : jnp.exp(-c*x)
a = 1.
step = 0.01
c = 1.2

def bar(c):
    return dummy_integrate(fun, a, step, c)

# this runs fine
jax.jacfwd(bar)(1.2)

# this fails with the error below
jax.jacrev(bar)(1.2)

The error:
File ~/miniconda3/envs/desc/lib/python3.10/site-packages/jax/_src/interpreters/partial_eval.py:481, in JaxprTrace.post_process_custom_jvp_call(self, out_tracers, _)
    477 def post_process_custom_jvp_call(self, out_tracers, _):
    478   # This path should only be reachable if we expose a partial eval API
    479   # unrelated to autodiff, since we raise an error when differentiation with
    480   # respect to values over which a custom_jvp function closes is detected.
--> 481   raise NotImplementedError

NotImplementedError:

As far as I understand, reverse mode should work here, since the jvp is defined in terms of calls to the primal function. Is there something I'm missing?
What jax/jaxlib version are you using?
No response
Which accelerator(s) are you using?
No response
Additional system info
No response
NVIDIA GPU info
No response

You might be interested in this,
https://github.com/patrick-kidger/equinox/blob/main/equinox/internal/_loop/loop.py

I seem to get the same error when using scan, so it may not be unique to while loops.

This is interesting. I have no problems using while_loop with custom JVP rule in my case but don't know what is happening in your case (I reproduced the error). Maybe using dummy_integrate twice in _dummy_integrate_jvp caused the error. I defined dummy_integrate2, which is exactly the same as dummy_integrate and replaced the second dummy_integrate with dummy_integrate2. I got the following error:
ValueError: Reverse-mode differentiation does not work for lax.while_loop or lax.fori_loop with dynamic start/stop values. Try using lax.scan, or using fori_loop with static start/stop.
This was interesting because I thought JAX does not differentiate _dummy_integrate_jvp function!

@f0uriest -- I think the issue you're seeing here is because the df function (defined inside the custom JVP rule) closes over argsdot, but is then passed as a nondiff_argnum to dummy_integrate (the one that returns f2).
When using a custom_jvp or custom_vjp rule, you must ensure any function-valued arguments don't close over any tracers. (Typically I'd recommend always making them global functions as a way to avoid any possibility of this.) You should rewrite things so that the argsdot tracers are passed as formal arguments.
@ToshiyukiBandai -- Right, you're now bumping into the second issue with the original code (and which f0uriest will hit after having fixed the above issue)!
Explaining this one requires knowing a bit about JAX internals. Buckle up, this gets a bit complicated.
JAX performs VJPs (backpropagation) by first figuring out what the tangent part of a JVP rule looks like, and then transposing it (loosely speaking, the "transpose" here is the "run it backwards" part of backpropagation). In terms of public JAX APIs, what this corresponds to is that jax.grad is built by applying  jax.linear_transpose to the tangent inputs and outputs of jax.jvp.
Unfortunately, jax.lax.while_loop does not support transposition. Backpropagating through a while loop would require saving the result of every step. As it's a while loop, the number of steps is not known at compile time. That means the amount of memory needed is not known at compile time. And the XLA compiler only performs static memory allocation. Thus, no backpropagating through jax.lax.while_loop.
The error message you're seeing is to help catch the common case when jax.grad(jax.lax.while_loop), i.e. basically jax.linear_tranpose(jax.jvp(jax.lax.while_loop)).
In the case of this example, then as you note, we're already inside the JVP rule. Thus what we're actually doing is jax.linear_transpose(jax.lax.while_loop). This is an equally impossible operation to perform, it's just that the error message is only designed to help with the common error described in the previous paragraph.

Phew! Okay, what are the possible fixes? You've got a few possible options:

write a custom JAX primitive. This will allow you to define both JVP and transposition rules to your heart's content.
fix the issue I first described, then use jax.custom_vjp. This won't allow you to perform forward-mode autodiff, though.

FWIW, this highlights a use-case for  #17840, which adds support for jvp-of-custom_vjp. If the approach there can be accepted + the PR finished off, then you'll be able to do use custom_vjp without having to sacrifice support for JVPs.

@patrick-kidger Thank you, it was very educational! Hope your PR or something similar will be approved. I also want to have a way to define both vjp and jvp for large-scale inverse problems.

Thanks for all the information.

Thanks for all the help @patrick-kidger. I finally got around to working a bit more on this and running into what might be a related problem. I've fixed df to not close over anything, and I'm using scan instead of while_loop so I think it should be fine to transpose.
Updated code:
def bounded_while_loop(condfun, bodyfun, init_val, bound):
    """While loop for bounded number of iterations, implemented using cond and scan."""
    # could do some fancy stuff with checkpointing here like in equinox but the loops
    # in quadax usually only do ~100 iterations max so probably not worth it.

    def scanfun(state, *args):
        return jax.lax.cond(condfun(state), bodyfun, lambda x: x, state), None

    return jax.lax.scan(scanfun, init_val, None, bound)[0]

@functools.partial(jax.custom_jvp, nondiff_argnums=(0,1,2))
def dummy_integrate(fun, a, step, args):

    def condfun(state):
        x, f, fx = state
        return abs(fx)/abs(f) > 1e-2

    def bodyfun(state):
        x, f, fx = state
        x += step
        fx = fun(x, *args)
        f += fx
        return x, f, fx

    return bounded_while_loop(condfun, bodyfun, (a,fun(a, *args), np.inf), bound=100)[1]

@dummy_integrate.defjvp
def _dummy_integrate_jvp(fun, a, step, primals, tangents):
    assert len(primals) == len(tangents) == 1
    args = primals[0]
    argsdot = tangents[0]
    assert isinstance(args, tuple)
    assert isinstance(argsdot, tuple)
    assert len(args) == len(argsdot) == 1
    assert args[0] == 1.2
    assert a == 1
    assert step == 0.01

    f1 = dummy_integrate(fun, a, step, args)

    # ignoring boundary terms, derivative of integral is integral of derivative
    def df(x, vargs, vargsdot):
        return jax.jvp(fun, (x, *vargs), (jnp.zeros_like(x), *vargsdot))[1]

    f2 = dummy_integrate(df, a, step, (args, argsdot))
    return f1,  f2

fun = lambda x, c : jnp.exp(-c*x)
a = 1.
step = 0.01
c = 1.2

def bar(c):
    return dummy_integrate(fun, a, step, (c,))

# this runs fine
jax.jacfwd(bar)(1.2)

# this fails with the error below
jax.jacrev(bar)(1.2)

I'm now getting an assertion error from _scan_transpose about undefined primals:
JaxStackTraceBeforeTransformation: AssertionError

The preceding stack trace is the source of the JAX operation that, once transformed by JAX, triggered the following exception.

--------------------

The above exception was the direct cause of the following exception:

AssertionError                            Traceback (most recent call last)
Cell In[23], line 63
     60 jax.jacfwd(bar)(1.2)
     62 # this fails with the error below
---> 63 jax.jacrev(bar)(1.2)

File ~/miniconda3/envs/desc/lib/python3.10/site-packages/jax/_src/api.py:901, in jacrev.<locals>.jacfun(*args, **kwargs)
    899   y, pullback, aux = _vjp(f_partial, *dyn_args, has_aux=True)
    900 tree_map(partial(_check_output_dtype_jacrev, holomorphic), y)
--> 901 jac = vmap(pullback)(_std_basis(y))
    902 jac = jac[0] if isinstance(argnums, int) else jac
    903 example_args = dyn_args[0] if isinstance(argnums, int) else dyn_args

    [... skipping hidden 8 frame]

File ~/miniconda3/envs/desc/lib/python3.10/site-packages/jax/_src/lax/control_flow/loops.py:707, in _scan_transpose(cts, reverse, length, num_consts, num_carry, jaxpr, linear, unroll, _split_transpose, *args)
    705 ires, _ = split_list(consts, [num_ires])
    706 _, eres = split_list(xs, [sum(xs_lin)])
--> 707 assert not any(ad.is_undefined_primal(r) for r in ires)
    708 assert not any(ad.is_undefined_primal(r) for r in eres)
    710 carry_avals, y_avals = split_list(jaxpr.out_avals, [num_carry])

AssertionError:

any ideas?

Hmm. So 'undefined primals' actually refer to the tangents -- here, argsdot -- whose values aren't available when transposing. Somehow the JVP rule of the scan is saving such an undefined primal as one of its residual values (those values that the forward pass saves for the backward pass).
If you figure this out then I'd be curious to know the answer!


Emphasized URL with underscores

After upgrading marked from 0.3.3 to 0.3.4 I noticed a different output for the following call:
echo "_https://reddit.com/r/science/comments/5yde1e/its_official_time_crystals_are_a_new_state_of/_" | marked

This is was I got so far in marked 0.3.3 – which is also what I would expect:
https://reddit.com/r/science/comments/5yde1e/its_official_time_crystals_are_a_new_state_of/

https://reddit.com/r/science/comments/5yde1e/its_official_time_crystals_are_a_new_state_of/

However, in marked 0.3.4 and greater the output becomes this:
_https://reddit.com/r/science/comments/5yde1e/its_official_time_crystals_are_a_new_state_of/_

_https://reddit.com/r/science/comments/5yde1e/its_official_time_crystals_are_a_new_state_of/_

Please also note that Github’s markdown implementation behaves like 0.3.3:
_https://reddit.com/r/science/comments/5yde1e/its_official_time_crystals_are_a_new_state_of/_

came to file this same bug/regression. current test was @ 0.3.6 ... will move back to 0.3.3 it seems.

#984

this seems to be fixed in the latest version of marked. demo


[Feature Request] Link to docker hub

The image view shows details of an image, including its hash, etc.
It would be very useful to have a link to the image's page on docker hub.

FYI
Typical url:

https://hub.docker.com/r/organization_name/image_name
e.g. https://hub.docker.com/r/portainer/portainer

Official docker images:

https://hub.docker.com/_/image_name
e.g. https://hub.docker.com/_/mariadb, https://hub.docker.com/_/nginx


Update vendored version of yaml.v2 for license compatibility

The currently vendored version is LGPL licensed. Newer versions are Apache 2.
This is the commit where the license changed: e4d366fc3c7938e2958e662b4258c7a89e1f0e3e

personally don't like the GPL family, sigh :-<

fixed in #1336


GO:0004085 butyryl-CoA dehydrogenase activity

GO term ID and label for which you request a new superclass
GO:0004085 butyryl-CoA dehydrogenase activity

New superclass (parent) suggested
GO:0003995 acyl-CoA dehydrogenase activity

butyryl-CoA dehydrogenase activity has EC:<IP_ADDRESS> (Short-chain acyl-CoA dehydrogenase), and other acyl-CoA dehydrogenase GO terms all have 'GO:0003995 acyl-CoA dehydrogenase activity' as parent.

Done in #23497


fixed vout id

This fixes issue where multiple vouts come from the same txid

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


Add improved Logging

The logging needs to be improved:

indentation based on chain execution depth
stream item logging

added logging chains (for atomic values and streams)


Hidden message reply

A reply feature that will hide the text for other readers
Will be nice and useful to have a way to reply to somebody, but only that user could see the text.
Other stackers MUST pay a fee to see it.
The fee could be defined by the OP when is replying.
This could be very useful when stackers are talking about some more private information but still want to share it with others.
Could have many use cases on SN.
Please consider it.

I like the private reply idea! I'm not sure about people paying to see it, but I definitely like private messages!

but I definitely like private messages!

you mean in a different way than just #56 ?

#56 is something different.
Hidden message is a public message with the option to be hidden for the rest but also option of pay to view.
The fee could go to SN pool just fine.

Yes, I understood, was just wondering in what way this here would be different from #56 without the paywall (which I am also not sure about).

This could be very useful when stackers are talking about some more private information but still want to share it with others.

Can you share some examples? This sound like a oxymoron for me. If something is truly private, I don't want other people to see it even if they pay for it

If something is truly private, I don't want other people to see it even if they pay for it

Same.

you mean in a different way than just https://github.com/stackernews/stacker.news/issues/56 ?

Yes, because a private reply inherits the context of the thread. In a way, it's more natural and fits within existing ergonomics. A DM is like it's own thing.
It'd be cool if we can design a DM/private reply system that is somehow a hybrid of these ideas rather than independent things, but I'm not sure.

Somewhat, but still not the same. I updated my comment.
These are 3 different problems and 3 different solutions. It'd be nice to solve them all with 1 solution but it might not be possible.

Maybe I want to send a PR-13 meme in a reply.
Like k00b said to me that is not nice to post them.
So I could hide them behind a paywall for example.
Maybe I want to send a reply with some text that is dedicated and related to previous comments, but want to be shown first only to the OP. If others really want to see it, must pay to SN pool. Is more like a game let's say.

Added blocked label because we want private replies to be E2EE.


Use GMPWraper/scripts for scripts

BEGINRELEASENOTES

Use standard Gaudi locations for executables

ENDRELEASENOTES

runit.py is the example steering file, not a script to execute

runit.py is the example steering file, not a script to execute

I still view that as part of the scripts, but it should have its own folder as it defines the algorithms to run. Something like scripts/definitions folder.

based on https://github.com/key4hep/k4-spack/pull/54#discussion_r490124463 we want to put runit.py in share

Please rebase and flatten the history.

I fixed an issue with the installation directory.

This is all good now?


Embbedding models are broken

I was testing all-MiniLM: https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2
After loading the model and trying to generate an embedding, the app crashes on this function:
std::vector<float> getEmbedding()
    {
        static const int n_embd = llama_n_embd(llama_get_model(ctx));
        if (!params.embedding)
        {
            LOG_WARNING("embedding disabled, embedding: %s", params.embedding);
            return std::vector<float>(n_embd, 0.0f);
        }
        const float *data = llama_get_embeddings(ctx);  // this returns 0x0
        std::vector<float> embedding(data, data + n_embd);  // crashes here!
        return embedding;
    }

For whatever reason, llama_get_embeddings(ctx) returns 0x0 which I assume is due to a nullptr.

After some further testing, it seems that if params.pooling_type is not LLAMA_POOLING_TYPE_NON, this will fail. A check has to be added for different pooling types:
float *data;

if(params.pooling_type == 0){
    data = llama_get_embeddings(ctx);
}
else {
    data = llama_get_embeddings_seq(ctx, 0);
}

if(!data) {
    return std::vector<float>(n_embd, 0.0f);
}

Plus, there is no support for encoder-decoder style models.

Yep, my fixes were added to it, apologies for not updating this earlier!
That said, encoder-decoder model support is still missing. That said, there are few and not really used aside niche cases.


Feature/multipart upload

Added the ability for multipart uploads.  Let's get this baby reviewed, refined, and into rotation ;)

This doesn't build on Carthage for the same reason master doesn't (Something about "Result" being built with a different version of the compiler). Looking into it now.

Thanks Justin, let us know when this is ready for a final look over :+1:

Uhh, strange issue... The project doesn't build if Demo/ is present, probably due to the shared schemes in the xcworkspace. @ashfurrow, @orta, Do they have to be shared for Cocoapods?


Automatically label issues

It would be nice if highfive could automatically attach labels to issues that clearly mention what they’re related to in their title. So an issue titled something like ‘rustdoc: foobars create broken links’ would automatically add an ‘A-rustdoc’ label to the issue.
I’m not sure if this is within the scope of highfive, but it’s still a nice thing that could be automated.

:+1:
I spend a lot of time trying to ensure that issues all have labels. There are several of these that could be semi-audited.


@conda-forge-admin rerender

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I rerendered the recipe in conda-forge/des-desmeds-feedstock#15.


Printers should have useful names

In the catalog preferences, under System → Devices → Printers, all of the indexed printers are named “PrinterProxy”. Ideally, they’d be assigned the name in System Preferences.

At the moment, a basic file scanner is used to populate this catalog list.
I don't understand why the names PrinterProxy are used, as a basic file object is created which initially has the name of the file.

Yeah, I just checked and the string “PrinterProxy” doesn’t appear anywhere in the code. But here’s a clue:
% mdls ~/Library/Printers/*.app | grep PrinterProxy
kMDItemCFBundleIdentifier      = "com.apple.print.PrinterProxy"
kMDItemCFBundleIdentifier      = "com.apple.print.PrinterProxy"
kMDItemCFBundleIdentifier      = "com.apple.print.PrinterProxy"
kMDItemCFBundleIdentifier      = "com.apple.print.PrinterProxy"
kMDItemCFBundleIdentifier      = "com.apple.print.PrinterProxy"


(merge this first) small css improvements & small enhancements

Coverage remained the same at 39.445% when pulling c575c4aae0353d1e409528472a6f485b1d490aad on fuck-travis into cacbceb9e201c9294fcfe8b8a42acd6eef681e5b on dev.

Coverage remained the same at 39.445% when pulling c575c4aae0353d1e409528472a6f485b1d490aad on fuck-travis into cacbceb9e201c9294fcfe8b8a42acd6eef681e5b on dev.


JSONDecodeError: Unexpected UTF-8 BOM (decode using utf-8-sig)

Hi. I'm not sure what's wrong with my JSON file, but I keep getting this error when trying to run the program.  I'm not even sure if this is the correct place to ask you about it.)
INFO: Country: us
INFO: Accounting Method: fifo
ERROR: Fatal exception occurred:
Traceback (most recent call last):
File "c:\dev\2021-taxes\venv\lib\site-packages\rp2\rp2_main.py", line 73,
2021_tax.txt
in rp2_main_internal
configuration: Configuration = Configuration(
File "c:\dev\2021-taxes\venv\lib\site-packages\rp2\configuration.py", line 98, in init
json_configuration: Any = json.load(configuration_file)
File "C:\Program Files\Python38\lib\json_init.py", line 293, in load
return loads(fp.read(),
File "C:\Program Files\Python38\lib\json_init_.py", line 337, in loads
raise JSONDecodeError("Unexpected UTF-8 BOM (decode using utf-8-sig)",
json.decoder.JSONDecodeError: Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char 0)
INFO: Log file: ./log/rp2_2022_04_15_12_49_50_163788.log
INFO: Generated output directory: output
INFO: Done
My JSON file looks like this:
{
"in_header": {
"timestamp": 1,
"exchange": 3,
"transaction_type": 5,
"crypto_in": 6,
"asset": 7,
"spot_price": 8,
“crypto_fee”: 9,
"fiat_fee": 10,
"unique_id": 11,
"notes": 12,
"holder": 13
},
"out_header": {
    "timestamp": 1,
    "exchange": 3,
    "transaction_type": 5,
    "crypto_out_no_fee": 6,
    "asset": 7,
    "spot_price": 8,
    “crypto_fee”: 9,
    "fiat_fee": 10,
    "unique_id": 11,
    "notes": 12,
    "holder": 13
},

"intra_header": {
    "timestamp": 1,
    "from_exchange": 3,
    "to_exchange": 4,
    "crypto_sent": 5,
    "crypto_received": 6,
    "asset": 7,
    "spot_price": 8,
    "unique_id": 11,
    "notes": 12,
    "from_holder": 13,
    "to_holder": 14
},

"assets": [
    "ADA",
    "ALGO",
    "AVAX",
    "CRO",
    "stETH",
    "ETH",
    "SHIB",
    "xSHIB"
],
"exchanges": [
    "Bank",
    "Binance.US",
    "Coinbase",
    "Coinbase Pro",
    "Trust Wallet (BSC Smart Chain)",
    "Trust Wallet (BNB BEP-2)",
    "Trust Wallet (ETH & ERC-20)",
    "Trust Wallet (ALGO)"
],
"holders": [
    "Me"
]

}
What am I doing wrong?  Any help would be greatly appreciated. Thank you.

You're using invalid quotes for crypto_fee both in the in_header and out_header sections: it should be " instead of “.

You're awesome. Thank you so much.

:-)


Fixed constructor issue

I was doing the getting started and I found this issue :
Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.   function Migrations() {   ^ (Relevant source part starts here and spans across multiple lines).
Thanks by advance

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

Hey @mathlet0x thank you for this contribution! Can you sign the CLA before I merge it 🙌
If you have any other question during the tutorial reach us on #dev-help chat.
Also if you would like to get more involved we have some bounties: here and here.


async-http-client-backend-zio_2.13/3.0.0-RC11 is not released

For Scala 2.13, async-http-client-backend-zio's version 3.0.0-RC-11 doesn't seem to be released.
You'll see there's no 3.0.0-RC11 here:

Why I'm assuming such version exists:

Thank in advance for the help :)

Oops, my bad, was using:
"com.softwaremill.sttp.client"  %% "async-http-client-backend-zio" % sttpVersion

instead of:
"com.softwaremill.sttp.client3"  %% "async-http-client-backend-zio" % sttpVersion


[HIVEMALL-301] Remove macros and replace them with UDF

What changes were proposed in this pull request?
Remove macros and replace them with UDF
What type of PR is it?
Improvement, Refactoring
What is the Jira issue?
https://issues.apache.org/jira/browse/HIVEMALL-301
How was this patch tested?
manual tests
Checklist

[x] Did you apply source code formatter, i.e., ./bin/format_code.sh, for your commit?
[ ] Did you run system tests on Hive (or Spark)?

create temporary macro max2(x DOUBLE, y DOUBLE)
if(x>y,x,y);

create temporary macro tfidf2(tf DOUBLE, df_t DOUBLE, n_docs DOUBLE)
tf * (log(10, n_docs / max2(1,df_t)) + 1.0);

create temporary macro tfidf3(tf DOUBLE, df_t DOUBLE, n_docs DOUBLE)
tf * (log10(n_docs / max2(1,df_t)) + 1.0);

WITH data AS (
  select
   0.023809524 freq,
   2 as docs,
   3 as total_docs
)
select
  tfidf(freq, docs, total_docs) as tfidf_udf,
  tfidf2(freq, docs, total_docs) as tfidf_macro,
  tfidf3(freq, docs, total_docs) as tfidf_macro2
from
  data;

tfidf_udf       tfidf_macro     tfidf_macro2
0.02800217305867646     0.02800217305867646     0.02800217305867646


Add handler for jlink error when using Java 21

Fixes https://github.com/flutter/flutter/issues/156304.
Also fixes https://github.com/flutter/flutter/issues/155449.
Unfortunately, because the error handler only sees one line at a time, it is hard to make this handling any more specific than this. If we run in to another jlink related error (unlikely) between now and when we phase out support for AGP 8.2.0 and below, we might have trouble differentiating them. We should delete the error handler when we phase out support for those versions.
Example of handled error output:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':shared_preferences_android:compileReleaseJavaWithJavac'.
> Could not resolve all files for configuration ':shared_preferences_android:androidJdkImage'.
   > Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
      > Execution failed for JdkImageTransform: /Users/mackall/Library/Android/sdk/platforms/android-34/core-for-system-modules.jar.
         > Error while executing process /Users/mackall/Desktop/JDKs/21/jdk-21.0.2.jdk/Contents/Home/bin/jlink with arguments {--module-path /Users/mackall/.gradle/caches/8.9/transforms/2890fec03da42154757073d3208548e5-79660961-f91d-4df2-90bc-b9a3f2a270bd/transformed/output/temp/jmod --add-modules java.base --output /Users/mackall/.gradle/caches/8.9/transforms/2890fec03da42154757073d3208548e5-79660961-f91d-4df2-90bc-b9a3f2a270bd/transformed/output/jdkImage --disable-plugin system-modules}

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 1s
Running Gradle task 'assembleRelease'...                         2,100ms

┌─ Flutter Fix ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ [!] This is likely due to a known bug in Android Gradle Plugin (AGP) versions less than 8.2.1, when                                   │
│   1. setting a value for SourceCompatibility and                                                                                │
│   2. using Java 21 or above.                                                                                │
│ To fix this error, please upgrade your AGP version to at least 8.2.1. The version of AGP that your project uses is likely defined in: │
│ /Users/mackall/development/BugTesting/fifth/android/settings.gradle,                                                                  │
│ in the 'plugins' closure (by the number following "com.android.application").                                                         │
│  Alternatively, if your project was created with an older version of the templates, it is likely                                      │
│ in the buildscript.dependencies closure of the top-level build.gradle:                                                                │
│ /Users/mackall/development/BugTesting/fifth/android/build.gradle,                                                                     │
│ by the number following "com.android.tools.build:gradle:".                                                                            │
│                                                                                │
│ For more information, see:                                                                                │
│ https://b.corp.google.com/issues/294137077                                                                                │
│ https://github.com/flutter/flutter/issues/156304                                                                                │
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Gradle task assembleRelease failed with exit code 1

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Also confirmed that the error is fixed on AGP 8.2.1+.


Better keepkey enumeration

Since Trezor and Keepkey both use the Trezor library for everything, sometimes the stated device type gets mixed up in enumeration when something goes wrong. To try to avoid this, do some additional filtering on the USB vendor id if it is available. Otherwise, fallback to the original filtering. This should work for all physical devices, and the fallback is only for the simulators.
Fixes #230

perhaps this fixes #190?

I don't know if this fixes #190, but it definitely should fix #230

I tried to test if it fixed #190 but travis blocked HWI on my account, so I'm waiting for them to unblock that =/

@jb55 did you get unblocked?

@jb55 did you get unblocked?

oh yeah and then I forgot about this. will try again soon


CA - Transmission Errors

Problem statement
During our monthly check-in with California.  They mentioned an issue for Fresno County.  They noticed that the dates being reported through CDC ReportStream/SimpleReport appear incorrectly on CALREDIE.
Also, Incidents do not make it to Fresno County even though patient has a Fresno County address.  In conclusion, missing Incidents when checking received vs sent cases.
##Background Information
Here are some examples of the date uplift issue that Fresno County was noticing. I’m attaching their list of a subset of the affected accessions, and including here in the email body two examples they sent with full details. Please let me know if you need more info!

update from user
Morning! Just wanted to do a quick check on this ticket, see if it had moved up much in the queue yet.
Thanks!

update from user
Hello all! Just wanted to check in on this, see if we were any closer to research/resolution. Thanks!

@brick-green do we have an update for Teddy? It can be small :) I just want to provide something

@LaFreda1 Unfortunately this data has passed the 60day mark and has been purged from the system. So I can't verify the issue. I'm also a bit confused because there are multiple accession numbers referenced in the screenshots. Can we check with CA to see if this issue is ongoing with more recent examples?

Hi Teddy,
Thanks for clarifying! Unfortunately, the information for ticket #8185 has been deleted from the system since it was out of date by 60 days. In the screenshot provided (see below), there are multiple ascension numbers referenced. Will you clarify where the issue lies? Have you experienced this issue recently? If so, will you provide those screenshots? Thanks!
image.png
Best,
LaFreda

It's true that we don't have the accessions CA referenced. But I did just make a test file and confirmed the behavior described. So I can work with what I have.

Sent eon 3/13/23:
Hi Teddy,
Happy Monday! We do not have the ascensions referenced in the screenshot. Brick made a test file this morning and confirmed the described behavior, so he can work on this issue with these data. I will update you as soon as he makes progress on it.
Best,
LaFreda

Lovely, thank so much for the update LaFreda!

Found the issue. It's in the DateUtilities. When we receive a date from a sender in a field with type datetime, we are zeroing out the time and offset. Then when it goes to a receiver that wants that dates in local time the conversion to local is pushing the date back a day because it thinks the time is midnight UTC.

@brick-green Got it! I will send this update to Teddy. Is this an easy fix? Will we just stop zeroing out the time and offset?

It's not too difficult of a fix. Hopeful to have it ready for next thursday's deploy. The fix will be to ignore dates that come in with zero'd out time and offset so that the system doesn't try to convert them to the local time for the jurisdiction.

@brick-green Will this be ready for deployment tomorrow?

code has been merged and included in the deploy for today(3/28)

Code has been deployed. I will talk to teddy about this then close the ticket


x/net/trace: support lazy logging in EventLog

Trace supports LazyLog/LazyPrintf which delays rendering of the event message until (and more importantly if) it is being displayed. This would be useful for EventLog as well, where large messages can cause noticeable slowdown.
I can work on the change if there is agreement on the new API. We can:

add LazyPrintf/LazyErrorf primitives, or
leave the current Printf/Errorf interface as is but document that the string is lazily generated.

Any thoughts? I will work on the change, I just need some guidance wrt to the options I mentioned.


[6.1.x] status improvements

Description

Backport of https://github.com/gravitational/gravity/pull/1707.
Type of change

Bug fix (non-breaking change which fixes an issue)
Internal change (not necessarily a bug fix or a new feature)
This change has a user-facing impact

Linked tickets and other PRs

Refs https://github.com/gravitational/gravity/issues/1521, https://github.com/gravitational/gravity/issues/1641

TODOs

[x] Self-review the change
[x] Perform manual testing
[x] Address review feedback

Implementation

Testing done

Install an arbitrary configuration multi-node cluster.
flip agent on nodes to trigger cluster to degrade

Status on the node with inactive planet agent:
Before
Cluster name:		<unknown>
Cluster status:		degraded
Gravity version:	5.5.48-dev.11 (client) / n/a (server)
Periodic updates:	Not Configured
Remote support:		Not Configured
Last completed operation:
    * operation_expand (c51c6316-81e3-4ba3-870f-47f92557d7e7)
      started:		Mon Jun 15 20:46 UTC (15 hours ago)
      completed:	Mon Jun 15 20:48 UTC (15 hours ago)
Cluster endpoints:
    * Authentication gateway:
    * Cluster management URL:

After:
Cluster name:		dev.test
Cluster status:		degraded (one or more of cluster nodes are not healthy)
Application:		telekube, version 5.5.48-dev.11
Gravity version:	5.5.48-dev.11 (client) / 5.5.48-dev.11 (server)
Join token:		schmoken
Periodic updates:	Not Configured
Remote support:		Not Configured
Last completed operation:
    * operation_expand (c51c6316-81e3-4ba3-870f-47f92557d7e7)
      started:		Mon Jun 15 20:46 UTC (15 hours ago)
      completed:	Mon Jun 15 20:48 UTC (15 hours ago)
Cluster endpoints:
    * Authentication gateway:
        - <IP_ADDRESS>:32009
    * Cluster management URL:
        - https://<IP_ADDRESS>:32009
Cluster nodes:
    Masters:
        * dmitri-centos-node-0 (<IP_ADDRESS>, node)
            Status:		offline
            Remote access:	online
    Nodes:
        * dmitri-centos-node-1 (<IP_ADDRESS>, knode)
            Status:		offline
            Remote access:	online

Additional information

Merging as all robotest failures are unrelated to changes this PR introduces and are due to https://github.com/gravitational/gravity/issues/1209


[REVIEW] My Profile!

Github Profile Link:
https://github.com/daggy1234
Projects:
https://github.com/daggy1234/dagbot
https://github.com/daggy1234/dagpi
You can also join the discord community here
Feel free to check out other cool repositories of EddieHub Community here

@Daggy1234 did you mean to close this?

Oh Whoops @eddiejaoude so sorry, must have been by mistake. Love  your vids btw!

consider removing the profile view count due its inaccurate :)

Oh sure thanks

Thank you for sharing, we will review on a live stream soon 👍 It looks like you are getting great community feedback already 💥

Please review my repo.

Reviewing profile on live stream https://www.youtube.com/watch?v=XT3_O4jULRE
(please raise new issues for the other projects)

Bio is funny but could be used better for give a good first impression
love the list of skills
love the top projects and that it is collapsable
love love the gpg key
your profile is very commit heavy, try doing pull requests, issues and review


Clarity on how to use and why content is outside NSF

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