Run Issue

ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
Exception: Gradle task assembleDebug failed with exit code 1

This issue seems to be more of a JAVA problem and that it is not in your path.
You have to add it to your path or set JAVA_HOME variable to the right path.
Please provide us with flutter doctor -v.
And a quick google search about adding java to path or setting JAVA_HOME will probably solve your issue.

Hi @umar195
This is not an issue with Flutter itself, you're misisng JAVA_HOME environment varaiable
Please point JAVA_HOME to your Android Studio JAVA or java 1.8, point to the same JAVA_HOME
export JAVA_HOME=/home/your_user/Code/android-studio/jre
If the problem persists after this change, Can you please provide your flutter doctor -v your flutter run --verbose and a complete reproducible minimal code sample
Thank you

Thank You so much for this helping.
On Wed, Dec 9, 2020, 7:00 PM Taha Tesser<EMAIL_ADDRESS>wrote:

Hi @umar195 https://github.com/umar195
This is not an issue with Flutter itself, you're misisng JAVA_HOME
environment varaiable
Please point JAVA_HOME to your Android Studio JAVA or java 1.8, point to
the same JAVA_HOME
export JAVA_HOME=/home/your_user/Code/android-studio/jre
If the problem persists after this change, Can you please provide your flutter
doctor -v your flutter run --verbose and a complete reproducible minimal
code sample
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/71996#issuecomment-741789091,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARWWZSVNXEIAQ5KABYNAS4DST57IXANCNFSM4UTPEERQ
.

Hi @umar195
Given your last message I feel safe to close this issue, if you disagree please write in the comments and I will reopen it.
Thank you


Add GhciStderr::get_buffer

Current dependencies on/for this PR:

main

PR #73

PR #74

PR #75

PR #76

PR #77   👈

This comment was auto-generated by Graphite.

Current dependencies on/for this PR:

main

PR #73

PR #74

PR #75

PR #76

PR #77   👈

This comment was auto-generated by Graphite.


NodeSelector parse error in configfile

I am  trying to add a node selector into the into the generated config.yaml file. This is because I want the pods that run the steps to land on a specific node. Adding a node selector to the deployment lands the agent on that node but does not ensure that the pods that run the steps also land on that node.
Adding it into the pod spec patch in the configmap like this:
pod-spec-patch:
      nodeSelector:
        kubernetes.io/hostname: "wrk-4"
      containers:
      - name: agent
      - name: checkout
      - name: container-0
        image: image-registry.openshift-image-registry.svc:5000/buildkite/vllm-main-test:latest
      initContainers:
      - name: copy-agent

Yields this error:
Error: failed to parse config: failed to parse config: 1 error(s) decoding:

* 'pod-spec-patch.nodeSelector[kubernetes]' expected type 'string', got unconvertible type 'map[string]interface {}', value: 'map[io/hostname:wrk-4]'
2024/12/11 20:29:02 failed to parse config: failed to parse config: 1 error(s) decoding:

* 'pod-spec-patch.nodeSelector[kubernetes]' expected type 'string', got unconvertible type 'map[string]interface {}', value: 'map[io/hostname:wrk-4]'

I get the same error wrapping the label in quote i.e, "kubernetes.io/hostname"

Hi @tssala23, thanks for raising the issue.
Can you confirm which version of the stack this is running on? This looks like the bug fixed by #409, released in v0.18.0.

@DrJosh9000 Thank you for the response.
I installed using helm template a couple months back so I think you may be right.
Would the quickest solution be to just change to controller image in the deployment?

@DrJosh9000 Brilliant, that worked, thank you very much for the help


add tolerance as a new input to Rectangle.contains. Pass the test

Finished Ex03 task B

This work has some conflicts with mine, I will merge your work but we have to work together to include both tasks.


Automated Package Upgrade

:tada: This PR is included in version 7.7.94 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fuzziness alignment for MatchQueryDescriptor

Allows a Match query to take one of the following for Fuzziness:

.Fuzziness() (for Auto)
.Fuzziness(double)
.Fuzziness(int)

This matches the docs at http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-match-query.html#_boolean
I've seen that there are two ways this kind of fuzziness is implemented in Nest.
There is this style that's used in some of the Suggestors, like the FuzzySuggestDescriptor: https://github.com/elasticsearch/elasticsearch-net/blob/develop/src/Nest/DSL/Suggest/FuzzySuggestDescriptor.cs
And then there is another style, basically taking all fuzziness values and calling .ToString() on it so they can all fit in a String field. This is used in the FuzzyQueryDescriptor: https://github.com/elasticsearch/elasticsearch-net/blob/develop/src/Nest/DSL/Query/FuzzyQueryDescriptor.cs
I feel the IFuzziness way is cleaner :)
This PR does not break anything, since the signature still matches the old signature. The main thing I don't like is the changes I had to do to MatchQueryJsonConverter.cs, to have the Fuzziness deserialize properly. I see that there is a FuzzinessConverter already that does the same thing, but not sure how I could use that from the ReadJson in the MatchQueryJsonConverter.

Is this fix not applied on 1.7? is it only for 2.0.x versions? I would like to know if there is any workaround on 1.7 version because 2.0 version has a lot of changes and it will take so much time to upgrade from 1.7 to 2.0 and I see that it is not very stable. Can you please advise? thanks


Inconsistent Automatic TLS

Kubernetes will restart the pod after a while, as Caddy will not report healthy until it has successfully acquired TLS certs for all the domains its asked to. After a few restart attempts it eventually succeeds, but the issue with so many failed attempts is that you will quickly hit the LetsEncrypt rate limits.
Attempt 1:
[INFO] acme: Registering account for<EMAIL_ADDRESS>[INFO][cluster.thezikes.com] acme: Obtaining bundled SAN certificate
[INFO][cluster.thezikes.com] AuthURL: https://acme-staging.api.letsencrypt.org/acme/authz/wMXzt79qxO0V6qLwv2FfYRPuBcuwao4cNw6p3WswDaQ
[INFO][cluster.thezikes.com] acme: Could not find solver for: dns-01
[INFO][cluster.thezikes.com] acme: Trying to solve HTTP-01
[ERROR] SIGUSR1: [cluster.thezikes.com] failed to get certificate: acme: Error 400 - urn:acme:error:connection - Could not connect to cluster.thezikes.com
Error Detail:
 Validation for cluster.thezikes.com:80
 Resolved to:
   <IP_ADDRESS>
 Used: <IP_ADDRESS>

Attempt 2:
[INFO] SIGUSR1: Reloading
[INFO] Reloading
[INFO] acme: Registering account for<EMAIL_ADDRESS>[INFO][cluster.thezikes.com] acme: Obtaining bundled SAN certificate
[INFO][cluster.thezikes.com] AuthURL: https://acme-staging.api.letsencrypt.org/acme/authz/pwA4Gdxft9WolY8uB5wwkMHp3nWv2u5v0Axqf95nFmc
[INFO][cluster.thezikes.com] acme: Trying to solve TLS-SNI-01
[ERROR] SIGUSR1: [cluster.thezikes.com] failed to get certificate: acme: Error 400 - urn:acme:error:connection - Failed to connect to <IP_ADDRESS>:443 for tls-sni-01 challenge
Error Detail:
 Validation for cluster.thezikes.com:443
 Resolved to:
   <IP_ADDRESS>
 Used: <IP_ADDRESS>

Attempt 3:
[INFO] acme: Registering account for<EMAIL_ADDRESS>[INFO][cluster.thezikes.com] acme: Obtaining bundled SAN certificate
[INFO][cluster.thezikes.com] AuthURL: https://acme-staging.api.letsencrypt.org/acme/authz/8cQ5faPYMaopxJLLoFmmE7o3Jhwog_ObMV13LYoiVzc
[INFO][cluster.thezikes.com] acme: Could not find solver for: dns-01
[INFO][cluster.thezikes.com] acme: Trying to solve TLS-SNI-01
[INFO][cluster.thezikes.com] The server validated our request
[INFO][cluster.thezikes.com] acme: Validations succeeded; requesting certificates
[INFO] acme: Requesting issuer cert from https://acme-staging.api.letsencrypt.org/acme/issuer-cert
[INFO][cluster.thezikes.com] Server responded with a certificate.
[INFO][cluster.thezikes.com] Certificate written to disk: /root/.caddy/acme/acme-staging.api.letsencrypt.org/sites/cluster.thezikes.com/cluster.thezikes.com.crt
[INFO] Reloading complete
http: Server closed

The ingress controller is exposed via a LoadBalancer type service, defined by ingress-service.yaml:
$ kubectl describe svc caddy-ingress --namespace=kube-system
Name:                   caddy-ingress
Namespace:              kube-system
Labels:                 k8s-app=caddy-ingress-controller
Selector:               k8s-app=caddy-ingress-controller
Type:                   LoadBalancer
IP:                     <IP_ADDRESS>
LoadBalancer Ingress:   <IP_ADDRESS>
Port:                   port-1  80/TCP
NodePort:               port-1  31583/TCP
Endpoints:              <IP_ADDRESS>:80
Port:                   port-2  443/TCP
NodePort:               port-2  32100/TCP
Endpoints:              <IP_ADDRESS>:443
Session Affinity:       None

The LoadBalancer created by GCE:

And of course DNS for the domain is pointing to the LoadBalancer Ingress:
$ dig cluster.thezikes.com
...
cluster.thezikes.com.   300     IN      A       <IP_ADDRESS>
...

Are you able to point the TLS certificate to a path?
It's possible that the Caddy / LetsEncrypt sync isn't Kubernetes-ready, so maybe using kube-lego would be a better alternative for now?

Yup, I just ran into the dreaded rate limit using docker-compose without setting up a persistent cache layer.
I landed here to see if I could get us a little more "production-ready" with k8s. I am very green on k8s (just got nginx-ingress working today!), but I am fairly up to date on caddy v2 API, and it may be less work for me to try and get this working than to recreate all the functionality provided by caddy-auth-portal.
I think the way to go about this is some kind of "Stateful Set," ...but I just found out that was even a thing a few hours ago.
I have yet to see if I can be of much help here, but at the very least I should be able to contribute my caddy-builder and caddy-server, the latter of which should (now) define volumes for XG_CONFIG and XG_DATA locations. I can submit a small PR for this before I start any other work if you think this may be helpful at all.


Add property for extruding polygon entties down to terrain

Move GroundPrimitive min/max terrain height code out into ApproximateTerrainHeights static class
Added MinimumTerrainHeightProperty, which takes a property for the positions and computes the height based on those positions
Added sandcastle example for using this option with a polygon entity
Minimal doc cleanup

@hpinkos, thanks for the pull request! Maintainers, we have a signed CLA from @hpinkos, so you can review this at any time.
:warning: I noticed that CHANGES.md has not been updated. If this change updates the public API in any way, fixes a bug, or makes any non-trivial update, please add a bullet point to CHANGES.md and comment on this pull request so we know it was updated. For more info, see the Pull Request Guidelines.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:

@mramato can you review this?

Will check it out tonight.

Eventually, TerrainProvider will have a method on it for getting accurate min/max values, so when that happens, we'll make this property take an optional TerrainProvider as well, but I guess we'll always keep approx terrain heights around as a fallback.

I think that's all I have.

@mramato ready

@mramato can you review my RelativeToTerrainHeightProperty class?  I want to make sure I'm on the right track before I add specs
I updated the Sandcastle example to use this property too

@mramato can you review my RelativeToTerrainHeightProperty class? I want to make sure I'm on the right track before I add specs

Nothing crazy jumped out at me, I still have reservations as to how specific or general these properties should be.  I'm leaning towards more general (as I'm sure you can tell by my comments).


Sort out what to do with HAL tokens in Silicon Labs code

Problem
"IAS Zone" server cluster uses halCommonGetToken/halCommonSetToken and we don't have those implemented so far.
Proposed Solution
Figure out whether we actually need those bits and if so how to implement them.

Not implementing halCommonGetToken/halCommonSetToken also disables part of the on/off cluster.
OnWithRecallGlobalScene  and OffWithEffect
The existing code appears to be storing these on/off global scenes in RAM. Check cluster/scene/scene.h

Yes, scenes are not supported at all in Matter 1.0.

Scenes is being switched to Matter storage.


pip installation problem

Hi,
On Mac OS 10.9.2/Python 2.7.5 I tried to install fig using
sudo pip install -U fig

When I try
fig --version

I get
Traceback (most recent call last):
  File "/usr/local/bin/fig", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module>
    working_set.require(__requires__)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: six>=1.3.0,<2

I interpret this to mean that I need six version 1.3.0 or higher (but less than 2). Seems like I already have that:
$ pip freeze |grep six
Warning: cannot find svn location for mercurial==2.6.2-20130606
six==1.8.0

Any idea what the problem is? BTW, this comes after attempting the
regular install  and getting Illegal instruction: 4  when trying to run the resulting binary.

I agree the docs could be better.  I just arrived here with the same problem and now I need to learn what virtualenv means.


Improve error handling for (slow) DNS queries

Description
TL;DR: I was having some trouble getting Zap working, and while I have solved my specific issue, this could be fixed so that other users don't run into the same problem.  (Apologies in advance if this isn't the right repo to open this issue; I'm not sure if the relevant config is handled by Zap or by some component in another repo.)
I downloaded the Zap AppImage to run on my Linux desktop, but I couldn't get it to start the initial sync; it was stuck on "Fetching latest data from the blockchain" and the progress bar never initialized.  I even left it running overnight and that didn't help, so I started looking for logs.
In .config/Zap/lnd/bitcoin/mainnet/wallet-1/logs/bitcoin/mainnet/lnd.log, I saw some lines like this:
unable to lookup IP for mainnet3-btcd.zaphq.io: lookup mainnet3-btcd.zaphq.io on [gateway]:53: read udp [local]:42996->[gateway]:53: i/o timeout

I hadn't had any recent problems with DNS not resolving, so I tried a manual nslookup mainnet3-btcd.zaphq.io:
Server:         [gateway]
Address:        [gateway]#53

Non-authoritative answer:
Name:   mainnet3-btcd.zaphq.io
Address: <IP_ADDRESS>

That looked fine to me, but I noticed it took a few seconds to return a result.  Additionally, after I had done this I switched back to Zap and discovered the progress bar had initialized and it now showed the sync was in progress.  Repeating the same nslookup command returned a result much faster, so I assume that was because the result was cached, and that probably prevented the timeout error above.
To give some more concrete numbers, the cached DNS lookup took about 5 seconds total:
$ time nslookup mainnet3-btcd.zaphq.io
Server:         [gateway]
Address:        [gateway]#53

Non-authoritative answer:
Name:   mainnet3-btcd.zaphq.io
Address: <IP_ADDRESS>

real    0m5.041s
user    0m0.013s
sys     0m0.000s

while a "fresh" lookup took about 10 seconds:
$ time nslookup mainnet2-btcd.zaphq.io
Server:         [gateway]
Address:        [gateway]#53

Non-authoritative answer:
Name:   mainnet2-btcd.zaphq.io
Address: <IP_ADDRESS>

real    0m10.060s
user    0m0.012s
sys     0m0.000s

Expected Behavior / Possible Fix
Ideally, I would expect it to wait a little longer for the DNS result, just in case the response is slow coming in.  It would also be nice if it would eventually give up and report an error rather than looping retries indefinitely.
Your Environment

Zap version: 0.7.6-beta
Operating System and version: Debian GNU/Linux 11 (bullseye)

I had a similar problem after the initial sync when Zap was trying to bootstrap the Lightning graph.
I saw these messages in the logs:
[INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
[INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
...
[ERR] LNWL: unable to query web api for fee response: Get "https://nodes.lightning.computer/fees/v1/btc-fee-estimates.json": dial tcp: i/o timeout
...
[ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
[DBG] SRVR: Waiting 1m0s before trying to locate bootstrap peers (attempt #374)

I tried doing a manual nslookup again, but after a couple rounds of that it didn't seem to help.
So instead I started a manual connection (to a Bitrefill Lightning node I found online) with:
lncli --lnddir ~/.config/Zap/lnd/bitcoin/mainnet/wallet-1 --rpcserver localhost:11009 connect 030c3f19d742ca294a55c00376b3b355c3c90d61c6b6b39554dbc7ac19b141c14f@<IP_ADDRESS>:9735

and it finally started populating Lightning network data.
So it appears this issue occurs more broadly, not just during the inital sync.


PoC: resource-based subscriptions

Following some internal discussion we've been having, I'd like to raise this proposal which uses a resource-based approach, following the line of react's docs for concurrent patterns.
The idea is that we let the consumer decide when they want to subscribe and unsubscribe from a stream, and use that subscription to read values from it.
Something worth noting is that this can be achieved in a separate package, that uses the streams created by bind, so it could be considered as a potential framework on top of react-rxjs.
It's a PoC - it passes all the tests from connectObservable except for the ones that deal with subscriptions/unsubscriptions (they don't apply). We need to think if this makes sense in the "core" library, try for factory observables and think of more edge cases.

I like the idea of having a "secondary" package with this API. Although, I think that @react-rxjs/resource would be to @react-rxjs what react-router-config is to react-router. Meaning that this is not the API that we would want to promote, because its a lot less ergonomic and reactive. However, it does have its use-cases and it would be a very valuable addition.
A couple of thoughts about this, though:
We should probably create a @react-rxjs/internals package from where we would expose things like: SUSPENSE, the internal shareLatest, defaultStart and others (the nested dict, etc). That package would purposely not adhere to semver, as its only meant for exposing some implementation details for our packages. That would allow for @react-rxjs/resource not to have any sort of dependency on @react-rxjs/core, which would enable a better API that's also more consistent with core. For instance, instead of this:
import { bind } from "@react-rxjs/core"
import { createSubscription } from "@react-rxjs/resource"

const [, shareObservable$] = bind(someColdObservable$.pipe(startWith(0)))
const sub = createSubscription(shareObservable$)

we would be able to do this:
import { createSubscription } from "@react-rxjs/resource"

const [sub, shareObservable$] = createSubscription(someColdObservable$.pipe(startWith(0));

Agreed - It's a path we might want to explore but we will focus in the current release and research this later.


smug: add man page

Motivation for this change
Man page for smug is missing.
Things done
Added man page to the derivation so it is available to users.

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

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

1 package built:

smug

It's clearer to fetch upstream tag rather than a commit id to see immediately it is indeed the version we claim it is.
You're also missing ldflags to pass to Go build so the tool report its version instead of "dev".
As for installing  the man page, we have a convenient shell function installManPage making this easier.

You would end up with:
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:

buildGoModule rec {
  pname = "smug";
  version = "0.2.7";

  subPackages = [ "." ];

  src = fetchFromGitHub {
    owner = "ivaaaan";
    repo = "smug";
    rev = "v${version}";
    sha256 = "178125835dhnaq9k42yv4pfxpyhgb5179wrxkimb59fy0nk8jzx8";
  };

  vendorSha256 = "1rba5rpvlr8dyhj145b5i57pm4skfpj3vm7vydkn79k6ak6x985x";

  nativeBuildInputs = [ installShellFiles ];

  ldflags = [ "-X=main.version=${version}" ];

  postInstall = ''
    installManPage ./man/man1/smug.1
  '';

  meta = with lib; {
    homepage = "https://github.com/ivaaaan/smug";
    description = "Smug - tmux session manager";
    license = licenses.mit;
    maintainers = with maintainers; [ juboba ];
  };
}

Feel free to reuse that and make it your own. :)

@c0bw3b Thanks a lot!


How to use custom css for markdown in editor and viewer

Summary
I would like to use custom css file for the markdown elements. i.e. only to change, how the markdown content is displayed - in both editor and viewer. I'd moreover like to exchange the css file dynamically as the program runs. Is it possible?
Thank you!
Version
3.0.0

yes, override the CSS by manually targeting classes,

@JakubGIT
Sorry for late replying.
As mentioned above, I think it's the best way to override CSS class.
Thanks!

Thank you both for the replies.
I'm not 100% sure, how to do it though. Let's say I have these components:
import React from 'react';
import {Editor, Viewer} from '@toast-ui/react-editor';
// Import language file
import '@toast-ui/editor/dist/i18n/de-de';
import<EMAIL_ADDRESS>
export const MyEditor = (reference: React.LegacyRef<Editor>, content: string): JSX.Element => (
    <Editor
        ref={reference}
        height="600px"
        initialEditType="markdown"
        initialValue={content}
        language="de"
        previewStyle="tab"
        useCommandShortcut

    />
);

export const MyViewer = (reference: React.LegacyRef<Editor>, content: string): JSX.Element => (
    <Viewer
        ref={reference}
        initialValue={content}
    />
);

and let's say I add a property cssFile: string, which contains the css code I want to use. The signatures would look like that:
export const MyEditor = (reference: React.LegacyRef<Editor>, content: string, cssFile: string): JSX.Element
export const MyViewer = (reference: React.LegacyRef<Editor>, content: string, cssFile: string): JSX.Element

if I understand correctly what you say, the cssFile should contain thing like
.toastui-editor-md-heading1 {
  font-size: 666px;
}

with 666px being different to the value in @toast-ui\editor\dist\toastui-editor.css, which is 24px
How do I tell the ToastUI Editor and Viewer to prefer cssFile to @toast-ui\editor\dist\toastui-editor.css?
thank you very much!

See
.toastui-editor-contents h2 {
  border-bottom: 0px;
}

.toastui-editor-contents a{
  text-decoration: none;
}

// ... so  on

OK, thanks - still - how to tell the editor and viewer to prefer my values to the values in the @toast-ui\editor\dist\toastui-editor.cssfile?

If the above dose't worked, then force it to use your css by !important
.toastui-editor-contents a{
  text-decoration: none !important;
}

Hi, what is the best way to change the font?
Or just the font size globally within the editor?

ok, for the record, auto answer:
    <style>

        .toastui-editor-contents,.ProseMirror {
            font-family:  "YourFont Sans", ... ;
            font-size: 14px;
        }

    </style>


Update getting started doc about npx install

You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.1).

We no longer support global installation of Create React App.

I have this bug like many others when I run npx install, even after removing the global package.
So the fix can be to precise lastest version (for the moment).
https://github.com/facebook/create-react-app/issues/11816#issuecomment-998811990
edit : I just registered to CLA

You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.1).

We no longer support global installation of Create React App.

I have this bug like many others when I run npx install, even after removing the global package.
So the fix can be to precise lastest version (for the moment).
https://github.com/facebook/create-react-app/issues/11816#issuecomment-998811990
edit : I just registered to CLA


Time for a new release?

Hi,
Could we proceed with a new general release of Golden-Layout merging last PR that has passed checks? I think that improvements are already quite important...
In addition, we should pay attention and take decisions to "how" improve Official Docs with all new features of last months

I'm happy to do a release whenever: I've been on vacation and am only just back. There's a bunch of PRs to look at too.

Hi,
When can we expect the new release :)
Thanks

Hi!
Sorry I've been very busy. I'll get the release out today!
On Fri, Jul 28, 2017 at 7:24 AM, Tanya Madurapperuma <
<EMAIL_ADDRESS>wrote:

Hi,
When can we expect the new release :)
Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/deepstreamIO/golden-layout/issues/313#issuecomment-318638573,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmsdXbVXgEByrFHL2GRhjHf0JOrBTvxks5sSdMSgaJpZM4OOI39
.

Great news Matt, Please, merge also pending PR before tagging new release :-)

New release: 1.5.9 is out!


add blj emote for johnny

did i do it right? i noticed the emote system changed

There was no need for this, I messaged snuffy about it already...

There was no need for this, I messaged snuffy about it already...

oook...

oook...

You prob should delete is as it wont be needed

You prob should delete is as it wont be needed

so... no blj emote?

so... no blj emote?

not noice

not noice


[Snyk] Security upgrade ubuntu from jammy to noble-20241009

Snyk has created this PR to fix 2 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):

release/7-2/ubuntu22.04-arm32v7/docker/Dockerfile

We recommend upgrading to ubuntu:noble-20241009, as this image has only 5 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

CVE-2023-4039 SNYK-UBUNTU2204-GCC12-5893601
  300

CVE-2023-4039 SNYK-UBUNTU2204-GCC12-5893601
  300

CVE-2023-4039 SNYK-UBUNTU2204-GCC12-5893601
  300

CVE-2024-26462 SNYK-UBUNTU2204-KRB5-6281073
  300

CVE-2024-26462 SNYK-UBUNTU2204-KRB5-6281073
  300

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

This

This should fix

This should fix


Bug: Select Download File Type for Hourly Emissions

Steps to Reproduce

Step
Action
Expected
Status

1
Select Preview Dataset
The system displays a data table with the option to select csv and json file type (csv is the default). There is an option to download
Fail

Actual Results
Step 1 failed because in Firefox the file types are cut off

Requirements
User Story
As a CAMPD custom data download user I want to select a file type so that my customized dataset is in my desired file format #989
Acceptance Criteria
Given that a user has previewed their dataset
When the data preview functionality is displayed
Then it includes the option to select a CSV or JSON file type (CSV is the default) and download

https://epacamd.testquality.com defect D28. Do not remove or edit.

Defect D28 closed


Test: pasting code block in chat input

ref https://github.com/microsoft/vscode-copilot/issues/10859

[x] anyOS @lszomoru
[x] anyOS @minsa110
[x] anyOS @chrmarti

Complexity: 3
Create Issue

We wanted to allow users to paste code blocks into chat, with additional context including line numbers, what file it was from, the language, and such. This led to the code blocks as attachments in chat! Please try it out and let me know if you have any feedback or see any bugs.
Steps

Copy some code from a text file in VS Code
Paste it in the chat input
A paste widget should appear. Click on it and you should see "Paste as Code Attachment" or "Insert Plain Text"
Click on "Paste as Code Attachment"
To have it always paste as attachment, you could alternatively click on "Configure preferred paste action" to add "chat.attach.text" or add "editor.pasteAs.preferences": ["chat.attach.text"] directly
You can hover over the attachment to see the attached code. Check the hovers in both chat and in history.
Try this with undo/redo as well!
Try in different languages and files to make sure we render the icons/attachments properly.

Closing due to all assignees completing the TPI.


Fix InteractiveBrowserCredential caching

With these changes, InteractiveBrowserCredential delegates refresh token handling to MSAL, and so should only open a browser to login once (fixes #8339). This script provides a quick validation:
from azure.identity import InteractiveBrowserCredential

cred = InteractiveBrowserCredential()
tokens = {cred.get_token('https://management.azure.com/.default').token for _ in range(2)}
assert len(tokens) == 1

It should open a browser exactly once, and not raise AssertionError.
These changes also fix #8340, which was caused by calling super on HTTPServer (an old-style class).

Can one of the admins verify this patch?

/azp run python - identity

python - identity - tests is the live test pipeline. I ran it against this branch before opening this PR. It failed as expected (because of #8314) but DevOps apparently associated that run with the commit, so this PR had failing (non-CI) tests the moment I opened it 🤷♂
Upshot: if not for this unexpected DevOps behavior, this would be a green PR.

/azp run python - identity - tests


Reserved instance specification

How do I specify the Reserved  instance ID while provisioning a VM thru Powershell?

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

ID: 43730e28-6408-6201-4d64-39051d5d1319
Version Independent ID: b0420753-5d4a-66af-85b9-c7f150d5256f
Content: Common PowerShell commands for Azure Virtual Machines
Content Source: articles/virtual-machines/windows/ps-common-ref.md
Service: virtual-machines-windows
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@Ayanmullick You assign RI benefits at the enrollment or subscription levels, and easily change assignments post purchase, as necessary. Assignment allows you to decide whether the reservation is applied at the Azure account/enrollment or subscription level.
So you do not create a VM as a reserverd instance per say. Rather you setup the reserverd instance billing then the discount price will apply to the VMs that match that critera.
Suggest you look at the FAQ located here: https://azure.microsoft.com/en-us/pricing/reserved-vm-instances/
I will close this for now but if you have additonal questions please reopen and we can continue.


Log rotate patch

Add install hook, that create sudoers cfg for running "lib/dokku-cfg-logrotate" command which update /etc/logrotate.d/dokku-app.d/$APP rotate cfg (logrotate require these cfg be as root owner and 644).
Update Readme for installing and logrotate
Fix progrium/buildstep, supervisor command now /exec_svd, which is copy of /exec generated by "builder".
Some indent of echo

Arguably, log rotation is out of scope for this plugin. In fact I handle log rotation elsewhere in my infrastructure and this would definitely collide there.

Yes, that out of scope.
So don't want make another-not-maintainable fork :)
Logrotate maybe disabled by default.

Shall we close this PR then?

Sure


Is it possible to mix parallax animation with a css hover state animation?

I've got an image button that shifts the image to the up a little when you hover over it.
I also want to have parallax effect on it. Is it possible at all to mix these?
I don't think I've ever seen two animations mixed in this way so I assume it's not but I've also never seen explicitly not to be, and I've never heard an explanation of why it wouldn't.

Oh hey, sweet I got it to work! I just applied the rellax to a container of the image. Woo!

Hi, glad you got it working.
The reason why it's "not" possible* is because Rellax does its thing by changing the style="" property of the element(s) it's applied to, and uses the transform property for the animations.
*(given that you're also using transforms for the animation and, styling the rellax element's :hover)
Two possible solutions are:

(the one you went for) applying Rellax and the hover styles to different elements, or
using a different property, other than transform, for the :hover animation/transition (IE. top/bottom, margin, etc)

The problem is, the properties inside style="" have a higher CSS Specificity (the highest, I think), which means these properties' values will override all the other values of the same property.
(Sorry if that was a bit confusing... I'm not a native English speaker. 😅
A quick search about CSS Specificity should get you there.)
Hope it helps. 🙂

Yes, thank you! I had read that CSS specificity was higher for inline styles but I didn't know if that was overridden by a new event or something like hover. But hover is treated more like a state than an event I guess.
Thanks!

Yup.
To sum it up, it has the same specificity as "Class selectors (e.g., .example), attributes selectors (e.g., [type="radio"]) and pseudo-classes (e.g., :hover)".
So it could be overridden by ID selectors, and will always be overridden by inline styles.


Add method internal_memory_builder_partitioned_phf::build_from_hashes

This mirrors internal_memory_builder_single_phf::build_from_hashes

Also this one is not actually needed...
PS. Are you using PTHash for some of your projects? I'm curious.

I'm working with @vigna on porting https://docs.softwareheritage.org/devel/swh-graph/ to Rust and we're considering switching from GOV and GOV3 to PTHash. So right now I'm writing Rust bindings for PTHash here: https://gitlab.softwareheritage.org/swh/devel/pthash-rs
The reason I'm interested in build_from_hashes is that I effectively can't call templated C++ functions from Rust, except through a function with a concrete type. This prevents me from giving users of the Rust crate the ability to pass me arbitrary key iterators I could pass directly to internal_memory_builder_partitioned_phf::build_from_keys.
So instead I build an array of hashes (which is usually smaller than an array of keys, so it's okay-ish to keep it in RAM) and pass it to to a concrete-ized internal_memory_builder_partitioned_phf::build_from_hashes, like this one: https://gitlab.softwareheritage.org/swh/devel/pthash-rs/-/blob/b28d91baf80a15998e8b10ecda41e1b7d716d26e/src/backends.rs#L57-62

Oh that makes a lot of sense then. I'll merge the PR.
You might also be interested in PTHash-PHOBIC: https://github.com/jermp/pthash/tree/phobic.
PHOBIC adds some optimizations to PTHash regarding space usage and construction under space-efficient configurations.
The pre-print is forthcoming.
Thanks!


Add time travel icon button

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 99.693%

Totals

Change from base Build<PHONE_NUMBER>0:
0.01%

Covered Lines:
13409

Relevant Lines:
13410

💛  - Coveralls


Docs correction request

stable / latest
with self.client.get won't work with FastHttpLocust:
**FastHttpLocust** doesn't support **with** interface:
AttributeError: __enter___

I'm referring to this code fragment:
with self.client.get("/", catch_response=True) as response:
    if response.content != b"Success":
        response.failure("Got wrong response")

I'm pretty sure, I submitted an it a while ago, but cannot find it...

There are passing tests with FastHttpLocust response as a context e.g: https://github.com/locustio/locust/blob/2d0cc6769c1a8527fbf559e0dc892f28bf647e91/locust/test/test_fasthttp.py#L436
So it's likely something else. Can I see more of the code that got you this error?

HeyHugo,
Here we go:
from locust import HttpLocust, TaskSet, task, between
from locust.contrib.fasthttp import FastHttpLocust

class WebsiteUser(FastHttpLocust):
	wait_time = between(0.025, 0.050)

	@task
	def load_page(self):
		host = 'google.com'
		url = f'https://{host}'
		headers = {
			'Host': host,
			'User-Agent': 'Apache-HttpClient/4.5.2+(Java/1.8.0_151)',
			'Accept': 'text/html, application/xhtml+xml, image/jxr, */*',
			'Accept-Encoding': 'gzip, deflate',
			'Accept-Language': 'en-US',
		}

		# works
		# with self.client.get(url) as response: pass

		# throws AttributeError: __enter__
		with self.client.get(url, name=url, headers=headers) as response: pass

Aha it look like you're missing the catch_response=True argument.

Yep, but it's still legit way to write it, right? :)
Only FastHttpLocust throws Exceprion, HttpLocust won't.
What I meant to say, if you get such error when switching between them, it might be puzzing...

That sounds strange, HttpLocust should throw the same error.
Note that the line with HttpLocust request above is outcommented:
# with self.client.get(url) as response: pass

Yep, but it's still legit way to write it, right? :)

Nope, you're is never meant to use any of the two HTTP clients in a with statement without catch_response=True.
Ideally there would be a way to know from within the get/post/put/etc. method if it's being called in a with statement, and then we wouldn't need the catch_response argument at all. Unfortunately, due to how context managers work in Python, that is not possible.

Guys,
I didn’t ask to update/fix code, but to mention this behavior in docs only, that’s all…

As far as I know there isn't any error in the docs? The snippet you referred to (under " this code fragment:") is working as far as I can tell.
If you have any suggestions on how we can make the docs more clear, I'm more than happy to accept PRs.

Yeah, you are absolutely right...
I guess, I was looking at some old docs stored locally.
My bad!


Add URL in arch-hs-diff output

(Actually it should reuse the logic in Core.hs:
  _url <- case fromShortText $ homepage cabal of
    "" -> fromJust . repoLocation <=< head' $ sourceRepos cabal
    x -> return x

But it's beyond my very limited haskell skill to really do that...

Take a look at getUrl in Utils.hs :rocket:


segmentation fault

Hi, I copied my dataset to ./data/train folder, then I ran the sh inference_SRGAN command, but the code not work, it reminded "segmentaion fault" and no other error. The detail is as follows,  can you tell what the problem may  be, thank you. @brade31919
/PycharmProjects/SRGAN-tensorflow$ sh inference_SRGAN.sh
/home/menghua/anaconda3/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated.  Tune using inter_op_parallelism_threads for best performance.
Loading weights from the pre-trained model
Evaluation starts!!
Segmentation fault

same too

Same here. I am facing the same problem for few of the images only though.


Fix hot reloading of files and classes for development

This PR will fix the ability of developers to run the Spring app with hot reloading of JSPs etc. and classes, to enable local testing more easily.
Fixed:

Removed reference to non-existent services and xtf images - these are not needed for it to run in the basic case.
Made other config consistent with docker-compose.yaml.
Fixed capitalisation change in the artifactId which meant the volume reference ./target/FoundationsViewer-1.0-SNAPSHOT/WEB-INF/lib/ was non-existent and meant no classes were available to the Tomcat container.

This looks good, really nice to have it cleaned up. Happy to merge.


[404 page] Create new design

Compulsory fun design task: redesign IBM 404 page
Current: https://www.ibm.com/404
Design brief

A friendly message could be written that includes these words: 404, Page not found
Provide pathways forward, eg. Search & Popular links
Demonstrate IBM brand philosophy https://www.ibm.com/design/language/philosophy/principles
Consider this error page an opportunity to show IBM's best side

Additional info
Past issues description from Wonil:
User story
As a user of IBM.com, I need to be informed of an HTTP error and understand what the next steps are.  The error pages were implemented on v18.  This work is needed for Carbon.
Next Steps

Research
Design exploration
Design
Review & approval
Development

Examples:
https://www.ibm.com/common/errorpages/300.html
https://www.ibm.com/common/errorpages/303.html
https://www.ibm.com/common/errorpages/305.html
https://www.ibm.com/common/errorpages/307.html
https://www.ibm.com/common/errorpages/400.html
https://www.ibm.com/common/errorpages/401.html
https://www.ibm.com/common/errorpages/402.html
https://www.ibm.com/common/errorpages/403.html
https://www.ibm.com/common/errorpages/404.html
https://www.ibm.com/common/errorpages/405.html
https://www.ibm.com/common/errorpages/406.html
https://www.ibm.com/common/errorpages/407.html
https://www.ibm.com/common/errorpages/408.html
https://www.ibm.com/common/errorpages/409.html
https://www.ibm.com/common/errorpages/410.html
https://www.ibm.com/common/errorpages/411.html
https://www.ibm.com/common/errorpages/412.html
https://www.ibm.com/common/errorpages/413.html
https://www.ibm.com/common/errorpages/414.html
https://www.ibm.com/common/errorpages/415.html
https://www.ibm.com/common/errorpages/416.html
https://www.ibm.com/common/errorpages/417.html
https://www.ibm.com/common/errorpages/500.html
https://www.ibm.com/common/errorpages/501.html
https://www.ibm.com/common/errorpages/502.html
https://www.ibm.com/common/errorpages/503.html
https://www.ibm.com/common/errorpages/504.html
https://www.ibm.com/common/errorpages/505.html

The wip file is here in this Box folder. Will add another 2 story points issue to finish the work.

Continuation is here: #7709


mixin History throw error in ie <=10 (react-router rc1)

in ie <=10 mixin react router
import { Link, History } from 'react-router';
import mixin from '../../src/utils/mixin';
class RouteLink extends mixin(History) {

  constructor (props) {
    super(props);
  }

  render () {

    // this.history is undefined in ie (<=10), chrome is ok.
    console.log(this.history)

    let isActive = this.history.isActive(this.props.to, this.props.query);
    let className = isActive ? 'active' : '';
    return (

<Link {...this.props} />

    );
  }
}

export default RouteLink;

in above sample code. what's wrong?
this.history is undefined in ie (<=10), chrome is ok.

We separated History from React Router, please have a look in the docs on how to use it with React Router 1.0.0-rc1


Pager invocation should respect pre-existing LESS

We hard-code the LESS environment variable here, however this is not the same as git's behavior, which will only set these variables when they are currently unset.
I'm doing this because I want to add a set of highlights when doing local auditing (to call out important things to audit). If I could, I'd just override PAGER, but it looks like we only look at the configured git pager.

That seems like it should be easy enough to fix, if we change the behaviour to more closely match git's.


Hotfix/Remove transactional annotation from resource that causes null pointer on user groups

Checklist

[ ] I tested the changes and all related features on the test server https://artemistest.ase.in.tum.de.
[ ] I documented my source code using the JavaDoc / JSDoc style.
[ ] I added integration test cases for the server (Spring) related to the features
[ ] I added integration test cases for the client (Jest) related to the features
[ ] I added screenshots/screencast of my UI changes
[ ] I translated all the newly inserted strings

Motivation and Context

Description

Regression from https://github.com/ls1intum/Artemis/pull/656.
Codeline: https://github.com/ls1intum/Artemis/pull/656/files#diff-9e25b16bdd8057d80cbc0c1277d7026eR200
The issue is the Transactional annotation of the Resource I think.
In the UserService.getUserWithGroupsAndAuthorities a null pointer happened because the groups could not be eagerly loaded:
    @Transactional(readOnly = true)
    public User getUserWithGroupsAndAuthorities() {
        User user = userRepository.findOneByLogin(SecurityUtils.getCurrentUserLogin().get()).get();
        user.getGroups().size(); // eagerly load the association
        user.getAuthorities().size(); // eagerly load the association
        return user;
    }

Steps for Testing

Log in to ArTEMiS
Open the assessment dashboard for a text exercise (/text/5/assessment)
Call to endpoint should not fail: /api/exercises/5/text-submissions?submittedOnly=true

Screenshots

I think this is a good change because resources should NOT use transactional at all!


No worky with Hyprland

When using with hyprland and waybar, the workspaces do not work whereas they work when launching the compositor from TTY.
See this issue.
Minor issue but I wanted to let you know.

can confirm this is in fact an issue with hyprland, hyprland-git and hyprland-bin packages (from AUR.)

I had it working with the aur package ly until today, I changed to the ly-git package and now it also doesn't work.
Changing back is not possible at the moment says another issue post.
But it does work with the package ly-reloaded-git.

it work

If several of you can confirm it works, I guess you can close issue.
I switched to Nix and SDDM is better integrated in it, so I cannot test anymore.


Introduce a new OpenID Connect configuration resource(s)

Introduce new OpenID Connect configuration resource(s)
Gardener offers clusters with OpenID Connect (OIDC) disabled by default.
Offering a way to (optionaly) inject OIDC configuration on Shoot on creation can dramatically improve the secutity, and it can be used to limit the need for kubeconfigs with client x509 certificates and the admin (system:masters) certificate.

Shoot configuration should be mutated on CREATE and not on UPDATE/DELETE (this behavior can be achieved with an additional (admission)controller, but not a requirement).

Note: This is NOT a policy designed to enforce OpenID Configurations.

Implementation
Two new API resources should be added to the Gardener - OpenIDConnectConfiguration and ClusterOpenIDConnectConfiguration
OpenIDConnectConfiguration
OpenIDConnectConfiguration is a namespaced resource which holds a temple of OpenID Connect configuration, Shoot selector, and weight:
apiVersion: settings.gardener.cloud/v1alpha1
kind: OpenIDConnectConfiguration
metadata:
  name: default
  namespace: some-namespace
spec:
  selector: {} # selects every Shoot in the default namespace.
  weight: 1 # Weight associated with matching the Shoot selector, in the range 1-100.
  config:
    caBundle: |
      -----BEGIN CERTIFICATE-----
      Li4u
      -----END CERTIFICATE-----
    clientID: client-id
    clientSecret: some-secret
    groupsClaim: groups-claim
    groupsPrefix: groups-prefix
    issuerURL: https://identity.example.com
    usernameClaim: username-claim
    usernamePrefix: username-prefix
    signingAlgs: RS256,some-other-algorithm

Fields in this spec include:

selector a standard label selector, selecting to which Shoot this configuration is applied to.
weight a value in the 1-100 range, controlling priority for selecing OpenIDConnectConfiguration for the same Shoot.
config a template for Shoot's spec.kubernetes.kubeAPIServer.oidcConfig.

ClusterOpenIDConnectConfiguration
ClusterOpenIDConnectConfiguration is the cluster-scoped version of OpenIDConnectConfiguration, normally reserverd for cluster administrators:
apiVersion: settings.gardener.cloud/v1alpha1
kind: ClusterOpenIDConnectConfiguration
metadata:
  name: default
spec:
  selector: {} # selects every Shoot in matched namespaces.
  namespaceSelector: {} # selects every namespace.
  weight: 1 # Weight associated with matching the Shoot selector, in the range 1-100.
  config:
    caBundle: |
      -----BEGIN CERTIFICATE-----
      Li4u
      -----END CERTIFICATE-----
    clientID: client-id
    clientSecret: some-secret
    groupsClaim: groups-claim
    groupsPrefix: groups-prefix
    issuerURL: https://identity.example.com
    usernameClaim: username-claim
    usernamePrefix: username-prefix
    signingAlgs: RS256,some-other-algorithm

Fields in this spec are the same as in OpenIDConnectConfiguration, but also include:

namespaceSelector a standard label selector, selecting Namespaces/Projects to which this configuration is applied to.

Garden API server admission controller
A new mutating admission controller should be added and enabled by default when a new Shoot admission request is recieved it should:

Work only CREATE calls
Mutate only Shoots without spec.kubernetes.kubeAPIServer.oidcConfig.
Mutate spec.kubernetes.kubeAPIServer.oidcConfig with correct configuration.

Ordering
When Shoot clusters are matched by multiple configuration the following ordering should take place:

OpenIDConnectConfiguration is selected over ClusterOpenIDConnectConfiguration.
(Cluster)OpenIDConnectConfiguration with the highest spec.weight is selected..
The first (Cluster)OpenIDConnectConfiguration(orderd by name) is selected.

About clientSecret
While not needed / configurable on the API server, in order for the kubectl's OIDC Authenticator to work clientSecret must be known for generating kubeconfigs.
This new optional field shall be added to the OpenIDConfig spec.
In both ClusterOpenIDConnectConfiguration and OpenIDConnectConfiguration this value should be required.
Additional benefits
This new resources can also be used in https://github.com/gardener/dashboard/issues/419.
Unknowns

Wouldn't it make more sense to expose the entire KubeAPIServer configuration as a standalone resource?

Can you please motivate a bit more. We have not disabled OIDC. It's just not configured. How will the additional resources help? It's about defaults, right? So ClusterOpenIDConnectConfiguration in combination with the mutating web hook are already sufficient, aren't they? So why OpenIDConnectConfiguration? In case someone wants to do that on project level for all shoots there, right?

We have not disabled OIDC.

It was a wrong wording - I meant "not enabled by default".

How will the additional resources help? It's about defaults, right?

Yes - it'll mutate the Shoot entity on creation:
If you have
apiVersion: settings.gardener.cloud/v1alpha1
kind: OpenIDConnectConfiguration
metadata:
  name: default
  namespace: some-namespace
spec:
  selector: {} # selects every Shoot in the default namespace.
  weight: 1 # Weight associated with matching the Shoot selector, in the range 1-100.
  config:
    caBundle: |
      -----BEGIN CERTIFICATE-----
      Li4u
      -----END CERTIFICATE-----
    clientID: client-id
    clientSecret: some-secret
    groupsClaim: groups-claim
    groupsPrefix: groups-prefix
    issuerURL: https://identity.example.com
    usernameClaim: username-claim
    usernamePrefix: username-prefix
    signingAlgs: RS256,some-other-algorithm

and the following Shoot entity send to the API server
apiVersion: garden.sapcloud.io/v1beta1
kind: Shoot
metadata:
  name: johndoe-aws
  namespace: some-namespace
spec:
  cloud:
    profile: aws
    region: eu-west-1
    secretBindingRef:
      name: foo
    aws:
      networks:
          cidr: <IP_ADDRESS>/16
        internal: ['<IP_ADDRESS>/22']
        public: ['<IP_ADDRESS>/22']
        workers: ['<IP_ADDRESS>/19']
      workers:
      - name: cpu-worker
        machineType: m5.large
        volumeType: gp2
        volumeSize: 20Gi
        autoScalerMin: 2
        autoScalerMax: 2
        maxSurge: 1
        maxUnavailable: 0
  kubernetes:
    version: 1.15.0

after the mutating admission control, the Shoot entity will have the following spec:
apiVersion: garden.sapcloud.io/v1beta1
kind: Shoot
metadata:
  name: johndoe-aws
  namespace: garden-dev
spec:
  cloud:
    profile: aws
    region: eu-west-1
    secretBindingRef:
      name: foo
    aws:
      networks:
          cidr: <IP_ADDRESS>/16
        internal: ['<IP_ADDRESS>/22']
        public: ['<IP_ADDRESS>/22']
        workers: ['<IP_ADDRESS>/19']
      workers:
      - name: cpu-worker
        machineType: m5.large
        volumeType: gp2
        volumeSize: 20Gi
        autoScalerMin: 2
        autoScalerMax: 2
        maxSurge: 1
        maxUnavailable: 0
  kubernetes:
    version: 1.15.0
    kubeAPIServer:
      oidcConfig:
        caBundle: |
        -----BEGIN CERTIFICATE-----
        Li4u
        -----END CERTIFICATE-----
        clientID: client-id
        clientSecret: some-secret
        groupsClaim: groups-claim
        groupsPrefix: groups-prefix
        issuerURL: https://identity.example.com
        usernameClaim: username-claim
        usernamePrefix: username-prefix
        signingAlgs: RS256,some-other-algorithm

So why OpenIDConnectConfiguration? In case someone wants to do that on project level for all shoots there, right?

Exactly - its the same reason why you have ClusterRole and Role in K8S - cluster-scoped and namespace-scoped permissions.

OK, thanks, sounds like a reasonable improvement towards secure-by-default.


Support "real" registries with ORAS

Just realizing we never had an issue for this (though we do have a PR); it relates to #281 but ultimately is a distinct task.
As part of this, we need to support deployed artifacts with the possibility of multiple artifacts of the same package version targeting different platform versions, and have the client be able to distinguish between them and select the right one.

Done in v1-next


Slide does not initially show if item components wrapped using memo API (on iOS device)

Is this a bug report, a feature request, or a question?
Bug report
Have you followed the required steps before opening a bug report?
(Check the step you've followed - replace the space character between the square brackets ([]) by an x.)

[x] I have read the guidelines regarding bug report.
[x] I have reviewed the documentation in its entirety, including the dedicated documentations :books:.
[x] I have searched for existing issues and made sure that the problem hasn't already been reported.
[x] I am using the latest plugin version.
[x] I am following the issue template closely in order to produce a useful bug report.

Have you made sure that it wasn't a React Native bug?
Yes
Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?
iOS 12.1.3
Is the bug reproductible in a production environment (not a debug one)?
Yeah
Environment
React: 16.6.3
React Native: 0.57.8
React Snap Caroursel: 3.7.5
Expected Behavior
The slides would show
Actual Behavior
The slides do not show until you move the carousel
Reproducible Demo
Snack wasn't working on my shitty company internet
Steps to Reproduce
All you have to do is take any carousel and wrap the individual slide components in memo

@radiosilence I'm observing the same behavior. Did you close the issue because it was resolved on your end?

I closed it because I removed memo and it was still happening :(

I went over all the other issues, and finally found this one, that solved it for me: https://github.com/archriss/react-native-snap-carousel/issues/238#issuecomment-354528113

Ah, thanks so much! this solved it for me too 👍


mirror symmetry drawing feature PLEASE

Why dont you add that super cool feature to Kleki?! That would be sweet) thnx in advance

The chemy brush has this feature in case you've missed it.  It's trickier to add to the other brushes. Maybe in the long term.

oh yes i missed it. that is great! But my favourite brush is SKETCHY . Please add this feature to that brush!! Big Love Kleki


Password not being validated

https://github.com/Tukks/cogito/blob/50660ed447f62f826e6713a317c36e2f243f6fb4/cogito-back/src/main/java/com/tukks/cogito/configuration/CustomAuthenticationManager.java#L28
If I am not mistaken, it doesn't appear that the password is being validated?

Fixed!
I'm rebuilding all the docker image now.

Yes, no problem for pull request.
I will review it.
Le ven. 17 mars 2023, 19:07, Christopher Mepham @.***>
a écrit :

No problem. Are you accepting pull requests?
—
Reply to this email directly, view it on GitHub
https://github.com/Tukks/cogito/issues/31#issuecomment-1474220366, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABNHZONFVCJZND3LBPUKX6DW4SR7BANCNFSM6AAAAAAV6PPIH4
.
You are receiving this because you were assigned.Message ID:
@.***>


Fixed prometheus server retention parameter

Removed some spaces which caused the Go variable to go undefined when prometheus is deployed with retention time enabled

Test

The retention argument was fixed in #2515.
As for --storage.local.target-heap-size, that can be enabled today by adding storage.local.target-heap-size: 2GiB to the extraArgs map. There's no need to create a new value.


Whoosh

Add search feature
API changes:

datafs search: command line interactive search function

returns a selected archive name after opening an interactive tool

api.search(query): api-level query function

returns a list of archive names based on the query results

Coverage decreased (-0.6%) to 94.407% when pulling e4d1ffc58aefff5c88bdabd208981fb829f63fa1 on whoosh into 9c96cca4147957a2224423b815d8f9db8245a896 on staging.


gRPC binary module version mismatch

I don't exactly know how to document this so apologies if it's hard to read. Following the steps in the guide for the stripe sample, on running 'firebase deploy', gives me this:
Error: Error parsing triggers: Failed to load gRPC binary module because it was not installed for the current system
Expected directory: node-v64-darwin-x64-unknown
Found: [node-v72-darwin-x64-unknown]
This problem can often be fixed by running "npm rebuild" on the current system
Original error: Cannot find module '/**[omitted]**/functions-samples/stripe/functions/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node'
1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.

Strangely, node -v returns 12.12.0 which should have a NODE_MODULE_VERSION of 72.
npm install and npm rebuild in the functions directory don't have any effect. Reinstalling node doesn't do anything either.
This is on macOS 10.14.2.

Hi @olihop, please provide more details!
I happened to me once because I'm using nvm as node version manager, and I was using a different version of node to front and backend.

Let's suppose that you use something like that to manage your node version.

Try the following instructions:

remove your node_modules folder in both projects app and functions
type npm clean for both cases
type npm cache clean
then npm i for both cases

That's it!
See it working properly. ;)

+1 to @francisrod01's comment. gRPC is very sensitive to npm version, so clearing the node_modules folder and package-lock.json is the best place to start.


helloworld-sample hangs on Building.. and does not open Extension Development Host window

I have noticed a problem with typescript sample of helloworld-sample extension where it does not want to run and hangs on Building.. step.
General info:
OS version: Windows 10 x64
VSCode version: 1.50.1
TypeScript version: 4.0.3
Steps to reproduce:

cd helloworld-sample
code .
F5

PS I also encountered the same issue when following the guide: https://code.visualstudio.com/api/get-started/your-first-extension
NOTE: javascript example (or to be precise: helloworld-minimal-sample) works without a problem

I have the same problem, did you find a solution please?

Closing as stale. If you are still seeing this issue please share the complete logs you see when trying to run the extension
You can also try asking on Stack Overflow


BOOST_AUTO_TEST_CASE_TEMPLATE with mpl that contains mutiple parametered templates causes unexecutable test cases because of comma

Im currently porting a code base from boost 1.55 to 1.64.
I am now having an issue with test cases that use BOOST_AUTO_TEST_CASE_TEMPLATE.
Now, we are using this by feeding it with an mpl::vector of multiple parametered templates:
mpl::vector mytesttypes <
    mytemplate<int,true>,
    mytemplate<int,false> >;

previously these test cases are working because boost is using the mangled equivalent of these templates as test case names. But when i ported to boost 1.64, it now uses their demangled equivalent. As a result they now have commas in their test case names. And boost cannot execute these test cases anymore, because of it. The test cases are still registered and printed when searched for, but cannot be executed.
Is this still a valid usage. Because looking at BOOST_AUTO_TEST_CASE_TEMPLATE usage example at boost 1.64 website, I think this is still a valid usage because the requirement is to use an mpl container.

Hi,
Thanks for the report. I believe this is related to #223 but to make sure, when you say:

And boost cannot execute these test cases anymore, because of it.

do you mean executed from the command line? There is a workaround in #223 that might work for you if this is the case. If you mean that the tests are completely discarded even when not passed to the command line argument, I have not experienced this and it would mean a hard bug.
Thanks!

Yes executed from the command line.
Yes it is similar to #22, albeit different errors being printed. In my case "Test case not found" (but it is still being registered and i can search for it)
Hmmmmm i dont quiet get the workarounds proposed. As I see it the workaround involves modifying the test case name before test-case registration phase?

Thanks for the quick feedback, the workaround is more about the filter passed on the command line, something like
-t "mytemplate<int,*"

but I doubt it works well, especially in your case. I am working on a fix, I believe I can make it for the upcoming 1.72 release.

Thank you also for the quick feedback. I should have raised my issue here not on other platforms XD.
hmmmm, i have only tried
-t "mytemplate*"

But if the workaround works, i would need to make modifications in our test runner.... Let me think about that path for a bit.
Since upgrading past this boost version is not an option(probably for a long time), looks like I will be doing a workaround myself... Is there a way that boost test will use the mangled equivalent of these templates as their test case names? just to avoid the comma issue.

Or rather, Is there a way that i could "hijack" the test registration process in order to control the test case name?

Like this, it is a bit difficult to answer your question. The logic is done in the function normalize_test_case_name in the file test_tree.ipp, although I am not even sure that 1.64 has this already or the logic is factored in some other function.
If you show me pieces of your custom test runner, maybe I can think of something.

In my findings a few days ago, this was the code that is responsible for determining the testcase name inside the angled brace. As i remember this was in a header file, looks like the logic your referring to does not exist yet in 1.64
#if !defined(BOOST_NO_TYPEID) && !defined(BOOST_NO_RTTI)
full_name += boost::core::demangle(typeid(TestType).name()); // same as execution_monitor.ipp
#else
full_name += BOOST_CURRENT_FUNCTION;
#endif
I have tried adding BOOST_NO_TYPEID, and BOOST_NO_RTTI in my build flags but to no avail still the same result (test case name with commas in them).
Hmmmm Ill think about it first(Ill give an update in a few days) knowing that is an already discovered issue is BIG. Thank you so much for the help!

After the piece that you pointed, a new test case is created like this:
m_holder.m_test_cases.push_back( new test_case( ut_detail::normalize_test_case_name( full_name ),

The behaviour has changed a bit in 1.67 but the idea is the same (see #12596 Sanitize metacharacters in test names).
In any case, the fix is dead easy and will be there for 1.72.

[Additional Info]
The error message being reported by boost was:
Test setup error: no test cases matching filter or all test cases were disabled
Return code is: 200

Greetings,
Sad to say, our test runner is built in such a way that it needs to individually address each test case it discovers. It probably will need a lot of effort in order to make the proposed workaround work.
I went with my second option. Which is copying the implementation of BOOST_AUTO_TEST_CASE_TEMPLATE and modifying the code that is responsible for assigning the name inside the angled brace (which was in https://github.com/boostorg/test/issues/233#issuecomment-546704085), in order to have no commas in them (in my case replace ',' with '_'). Then renaming the macro to something else. Now everything works :)
I have attached the file that I used in our code-base(I modified some code, especially names so that I don't get in trouble with my company)
HACKED_AUTO_TEST_CASE_TEMPLATE.txt

Hi,
Thanks for the snippet. This is basically what I did with some extra stuff to normalize the test names across various OS/compilers.
The changes are in 1c4533f7654d4c049cc6a34a43a5c10cde5bdd8b if you want to have a look and to back-port to your copy of boost.test. It is now in master and will be part of 1.72.
I am closing now this issue as I consider it a duplicate of #223 which is now fixed. If you need any advise in migrating your test runner to new boost.test, I would be glad to help!
Cheers,
Raffi


Use unidirectional encryption keys in secure session

Problem
As per CHIP spec, a secure session must use unidirectional encryption key. Current code is using the same key for both directions of communication.
Summary of Changes

Generate two keys per peer connection. First key for encrypting transmitted messages, the other for decrypting received messages.
The keys are generated based on the role of the node during session setup. So the initiator's send key matches responder's receive key, and vice versa.

Fixes #4893


using stream rather removeIf

What problem does this PR solve?
This PR closes https://github.com/pingcap/tispark/issues/1056
What is changed and how it works?
We use stream rather than removeIf.

/run-all-tests mode=simple tidb=v3.0.2

/run-all-tests mode=simple tidb=v3.0.2

/run-all-tests mode=simple tidb=v3.0.2

/run-all-tests mode=simple tidb=v3.0.2

/run-all-tests mode=simple tidb=v3.0.2

/run-all-tests mode=simple

/run-all-tests tidb=v3.0.2


Curl commands in Swagger UI are incorrect

When I try to use the Swagger UI to get example curl commands, they yield an error. Example:
curl -X GET "https://demo.aptrust.org/member-api/v3/member-api/v3/objects?page=1&per_page=20" -H "accept: application/json" -H "X-Pharos-API-User: <redacted>" -H "X-Pharos-API-Key: <redacted>"

This yields:
{"error":"Missing authorization check for /member-api/v3/member-api/v3/objects"}

When I remove the extraneous /member-api/v3, it works. I assume it's related to the servers section and the paths section both having that string and concatenating, but I didn't test that and so didn't want to send a PR based on that hunch. :-)
The Swagger UI also doesn't seem to work, but might be a different issue. I get this error on various endpoints after authentication:
TypeError: NetworkError when attempting to fetch resource.

This should be fixed in commit https://github.com/APTrust/registry/commit/30d6d26a37ea113bf53830cf92ae8744f0ef33e8, which we can't deploy until later this week or early next week. Both problems stemmed from incorrect server URLs. The server URLs should not have included the paths (problem 1) and should have used the HTTPS protocol, not HTTP (problem 2).
I'll close this once we deploy the new branch and confirm the fixes work on the live Swagger doc site at https://aptrust.github.io/registry/

I suspected they might be related, glad you could confirm. Thank you!


feat: docker actions and fix can not use python -m build bug

add docker actions (you need add the secret to the repo
fix can not use python -m build for release -> (which actions release use)

@fangyinc


Multiple URLs simultaneously?

Does this script allow users to download from multiple zippyshare URLs simultaneously? I can't figure out how to do it

I don't know what you mean "multiple URLs simultaneously", but it does have batch download from a file.
So let's say you have a file called urls.txt and inside them is some zippyshare URLs
https://www.zippyshare.com/v/.../file.html
https://www.zippyshare.com/v/.../file.html
https://www.zippyshare.com/v/.../file.html

You can easily download all of them by passing the filename into the application
zippyshare-dl "urls.txt"


Add support for EXT_mesh_feature extension

glTFpack already supports custom vertices, including _feature0, and compresses them. However, it currently excludes the EXT_mesh_feature extension, which causes it to be (correctly) ignored by some viewers.
To quickly test support for meshOpt with the EXT_mesh_feature extension, I made a small modification to add the extension back:
           ...
	    {"EXT_mesh_gpu_instancing", ext_instancing, true},
	    {"EXT_mesh_features", true, true},
	};

I added the above lines to this section of code:
meshoptimizer/gltf/gltfpack.cpp#L842
After making the change, I compiled the project:
cmake . -DMESHOPT_BUILD_GLTFPACK=ON -DMESHOPT_BASISU_PATH=basis_universal -DCMAKE_BUILD_TYPE=Release
cmake --build . --target gltfpack --config Release

I then ran the modified gltfpack on a sample 0.glTF file containing FeatureID’s. The output was a GLB file that included the EXT_mesh_features extension header and the FeatureID’s in the custom vertices _feature0 buffer:
0.glb.zip
https://github.com/zeux/meshoptimizer/issues/573#issuecomment-2257478532

Argh, you are absolutely right.  I'm so sorry.
I spoke with Cesium folks about this.  The missing parameters (see below)...
"meshes" : [
"primitives"：［｛
   "extensions" : {
     "EXT_mesh_features" : {
        "featurelds" : [
          "featureCount" : 4,
          "attribute" : 0

.. help with multiple feature sets (which is a bit overkill for my use-case, but that's ok, I'll talk with cesium folks on addressing this in the spec).
You make a good point, that in order to support this, I'll need to modify the gltfpack code and cgltf.  Non trivial.
I'm a little pressed for time, so instead of doing the right thing and modifying gltfpack and cgltf, I'll write some script code to perform binary surgery on the json header inside each glb file and add these missing parameters.
Feel free to close this issue, or put it on ice, if you prefer.  I'll return to this at a later date, maybe when the spec is out of draft.

I'm going to close this for now because the timeline of completion and cgltf support for this extension is unclear to me; in general gltfpack process atm is to wait for any extension to get completed and then evaluate the cost of its support, and this happens whether an extension was mentioned in the issues or not generally, so we don't need to track this one in a special way.
Orthogonally - I agree that it would be nice if the extension didn't require extra per-primitive specification as that inflates the glTF payload for many-mesh scenes. It would also be easier to support the extension in a minimally viable format that way perhaps without cgltf changes.


Temporary hoard makes items disappear

When you put any items except for the coin in they disappear.

I don't see how I can fix this. I think this is a problem with the Player Inventory, where it makes the assumption that a chest can accept any item it give it.

Can override Inventory/TileEntityChest isItemValidForSlot to fix this.

Hmm, for some reason the above function is never called. The mystery continues :)

Added a workaround, where other items are allowed in hoard, but a chat message is displayed when there are items other than gold coins in hoard.


Harden image 18fgsa/oracle-client

[ ] Rename to follow the new naming conventions: Something like oracle-task if it's a task

Check if Oracle is used anywhere

Confirmed this is no longer in use and not needed. Removed all references and PRs have been merged!


instantiation services fails to caches services in cases

It might happen that a service dependency is cached not properly and therefore created again on subsequent calls.

pls review the change

@jrieken Maybe it is obvious, but maybe you need to present/frame the change...

@alexandrudima look the the whole method. there was parameter id which was used to cache. That's the id of the service to create and not the id of dependencies that needed to be created first


try fix

https://github.com/bazel-contrib/rules_oci/pull/227, but with WORKSPACE copied to WORKSPACE.bzlmod

Now the failure is https://github.com/bazel-contrib/rules_oci/actions/runs/4937463139/jobs/8828512762. It just says:
ERROR: Analysis of target '//oci/tests:pull_test' failed; build aborted: no such package '@platforms//cpu': The repository '@platforms' could not be resolved: Repository '@platforms' is not defined

This very unhelpful error message is hitting https://github.com/bazelbuild/bazel/issues/17689. I'll poke a bit more


Killing with SIGTERM exits with 1 instead of 0

I have scripted using wl-screenrec on sway and, given that I'm not starting it from a terminal directly, I want to be able to just send SIGTERM to wl-screenrec for it to stop recording. With this change: https://github.com/russelltg/wl-screenrec/commit/ad0dd42ae5ade9b0a8efa81a995855a71b7a4000#diff-42cb6807ad74b3e201c5a7ca98b911c5fa08380e942be6e4ac5807f8377f87fcR1747, it made it to exit with return value 1 on SIGTERM.

It is reasonable to terminate with 1 if there was an error gracefully terminating the recording.  I use the same workflow but I use kill -INT instead of the default TERM ;-)

Unless the recording failed for some reason, I don't think the program should exit with 1, even if terminated with SIGTERM. I'll try using SIGINT as well.


enable optimization analysis test

Codecov Report

Merging #262 (e998634) into master (84aea0c) will decrease coverage by 0.81%.
The diff coverage is 68.96%.

@@            Coverage Diff             @@
##           master     #262      +/-   ##
==========================================
- Coverage   88.69%   87.88%   -0.82%
==========================================
  Files          10       10
  Lines        2176     2055     -121
==========================================
- Hits         1930     1806     -124
- Misses        246      249       +3

Impacted Files
Coverage Δ

src/abstractinterpret/typeinfer.jl
93.86% <14.28%> (-0.45%)
:arrow_down:

src/abstractinterpret/abstractanalyzer.jl
76.57% <60.00%> (-3.92%)
:arrow_down:

src/JET.jl
69.76% <85.71%> (-2.26%)
:arrow_down:

src/abstractinterpret/inferenceerrorreport.jl
88.73% <100.00%> (+0.29%)
:arrow_up:

src/analyzers/jetanalyzer.jl
95.53% <100.00%> (-0.85%)
:arrow_down:

src/analyzers/optanalyzer.jl
88.04% <100.00%> (+4.53%)
:arrow_up:

src/toplevel/virtualprocess.jl
96.95% <100.00%> (-0.15%)
:arrow_down:

src/ui/vscode.jl
62.50% <0.00%> (-1.50%)
:arrow_down:

... and 7 more

Continue to review full report at Codecov.

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


json: cannot unmarshal object into Go value of type []string after docker run -it

Using docker engine 1.9.0rc3 and swarm master:
$ docker run busybox ls
bin
dev
etc
home
proc
root
sys
tmp
usr
var

$ docker run -it busybox ls
bin   dev   etc   home  proc  root  sys   tmp   usr   var
json: cannot unmarshal object into Go value of type []string

As you can see, after a docker run with -it there is an issue: json: cannot unmarshal object into Go value of type []string
In TTY mode, the cli is doing an inspect after the run to get the exit code (see https://github.com/docker/docker/blob/b227d19cae34d6d0ce92b72a53f02330b0be5992/api/client/utils.go#L281)
Since the docker inspect changed recently, we need to reflect the change.
I'm not sure where it's coming from.
I diffed inspect from swarm and inspect from engine and here is the difference:
24a25,38
>     "Node": {
>         "ID": "3KXO:AXAN:Y2SR:O5N5:MVN5:EHKB:G7EO:XJJY:PIDG:CO6N:G3EV:O75W",
>         "IP": "<IP_ADDRESS>",
>         "Addr": "node-2:2375",
>         "Name": "node-2",
>         "Cpus": 2,
>         "Memory":<PHONE_NUMBER>,
>         "Labels": {
>             "executiondriver": "native-0.2",
>             "kernelversion": "3.16.0-33-generic",
>             "operatingsystem": "Ubuntu 14.04.2 LTS",
>             "storagedriver": "aufs"
>         }
>     },

So I don't think it's coming from there

@abronan @aluzzardi I updated the issue content.

I was using rc1 client...

:ghost:


Convert Luau heap dumps to Chrome heap snapshots

Adds a script for (approximately) converting Luau heap dumps to Chrome heap snapshots. Useful for visually inspecting a heap dump within Chrome's UI.

This is awesome ⭐ ⭐ ⭐ ⭐ ⭐


Add files via upload

A zipped folder with test data for ODF Validator. Currently has spreadsheets in it.

I'm wondering about this slightly, we might want a corpus repository that's separate from this one?

I tend to think a subfolder in this repo is good for now.
A question is also, should the files be in a zipped subfolder, or should they be unzipped?

I noticed a very strange anomaly. When I zip the folder with the test data, two of the folders with test data are deleted.
All the test data are identical, they just have different file formats .fods, .ods and .ots.
The .ods and .ots folders are not present in the zipped folder.
So this PR should be rejected no matter what. I guess that settles whether the files should be uplaoded zipped or not. What are your thoughts about this?


FullyConnectedLayer?

I wonder why you don't use the nn.Linear  and how is the z as long as the w_dim?

In the FeedForwardBlock, there isn't any forward function and return, is it right?
Then in the GeneratorTransformerEncoderBlock, FeedForwardBlock won't return, so the hidden won't be change, is it right?
class FeedForwardBlock(nn.Sequential):
def init(self, emb_size, expansion=4, drop_p=0., bias=False):
super().init(
FullyConnectedLayer(emb_size, expansion * emb_size, activation='gelu', bias=False),
nn.Dropout(drop_p),
FullyConnectedLayer(expansion * emb_size, emb_size, bias=False),
)
class GeneratorTransformerEncoderBlock(nn.Module):
def init(self,
hidden_size=384,
sln_paremeter_size=384,
drop_p=0.,
forward_expansion=4,
forward_drop_p=0.,
**kwargs):
super().init()
self.sln = SLN(hidden_size, parameter_size=sln_paremeter_size)
self.msa = MultiHeadAttention(hidden_size, **kwargs)
self.dropout = nn.Dropout(drop_p)
self.feed_forward = FeedForwardBlock(hidden_size, expansion=forward_expansion, drop_p=forward_drop_p)
def forward(self, hidden, w):
    res = hidden
    hidden = self.sln(hidden, w)
    hidden = self.msa(hidden)
    hidden = self.dropout(hidden)
    hidden += res

    res = hidden
    hidden = self.sln(hidden, w)
    self.feed_forward(hidden)
    hidden = self.dropout(hidden)
    hidden += res
    return hidden


[TECH] Use SQLite DB instead of plain jane text files for button storage

Because I am a pleb student, button storage is simply done using text files, with newline characters as delimiters for the input stream to distinguish where things start and end. In implementing #3 I found that a button ID system was needed so I could more easily remove individual buttons. This is a significant learning curve for me and will require some research... further justifying the need for a major version number upgrade :P

Work ongoing in the test branch with 221077c4b371578a3629aebd594e70e45a42beb0

Work ongoing in the test branch with 221077c4b371578a3629aebd594e70e45a42beb0


Pass WorkerOptions through to daemonShouldRun method in Worker.

Pass WorkerOptions through to daemonShouldRun method in Worker. If --force set then it'll be respected even in maintenance mode.
Illumuniate/queue 5.3.24 hasnt got a release yet, but the framework is pulling it in.

Coverage remained the same at 88.732% when pulling eb5637a9184467604e271f6ca821a6b68ff31de8 on leeovery:0.2 into 96430056bc3b0413e471ba5afec6814375a2607a on maxbrokman:0.2.


📚 Fix badge

Codecov Report
Patch coverage has no change and project coverage change: -36.30 :warning:

Comparison is base (aa89b56) 100.00% compared to head (0541ea9) 63.70%.

Additional details and impacted files
@@             Coverage Diff              @@
##            master      #79       +/-   ##
============================================
- Coverage   100.00%   63.70%   -36.30%
============================================
  Files            5        5
  Lines          124      124
============================================
- Hits           124       79       -45
- Misses           0       45       +45

see 3 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Update MindGlassRelic_outline.png

Fixes #530

Checked on latest master (86c8b7a2) and relic appears to be correct. This might not actually be necessary anymore. I'll close this for now as well as #530, and if we have issues again we can re-open.


chore: remove bits' store zero value check

Checking zero value is unnecessary as it will return zero anyway. It arguably only make Pull slightly faster for pulling the last value but its make Pull slower for the entire pulling process.
By reducing this instruction, compiler can inline Pull method.
before:
./bits.go:94:6: cannot inline (*bits).Pull: function too complex: cost 86 exceeds budget 80

after:
./bits.go:92:6: can inline (*bits).Pull with cost 79 as: method(*bits) func(byte) uint32

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (0c00a23) to head (f5fbca7).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #494   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           42        42
  Lines         3860      3858    -2
=========================================
- Hits          3860      3858    -2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Fixed ARP spoofing crash

When trying ARP spoof the script crashed when accessing MAC of <IP_ADDRESS>, fixed it by calling the right function internalClients() on line 235.

Thanks for the PR! I haven't looked at this project in ages, but I'm happy you're getting some use out of it.

I used this project as a CTF for a workshop on Scapy that I conducted, it was super fun, thanks for the project!


Example of image dilation

Could you please provide an example of image dilation using the ComputeLibrary?

You can just use the existing neon_convolution example and replace the Convolution operator by a NEDilate operator.
You can also have a look at the DilateFixture in the unit tests

Thanks for reply
I tested your suggestion by replacing the convolution operator by a NEDilate operator but It gives me "no matching function" error.
Looking at NEDilate documentation, the function has no argument for morphology kernel:
void configure ( ITensor * input, ITensor * output, BorderMode border_mode, uint8_t constant_border_value = 0)
Could you please help?

In the neon_convolution example, the third argument in configure gets the kernel as a 1D array. It works fine but this doesn't hold for NEDilate

Sorry, I only meant this as a hint about how to get most of the boiler plate code done. Yes, you still need to adapt the configure() call to match the function's arguments (But it should be pretty straight forward based on the documentation)
The dilate function follows the OpenVX specifications (which doesn't have a morphology kernel)

Hi @zanazakaryaie
For the call into configure you just need to do this:
dilate.configure(&src, &dst, BorderMode::CONSTANT );
I'll close the issue, please reopen if you still have problems.


⚠ Samsung has degraded performance

In d771cc8, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 1749 ms

Resolved: Samsung performance has improved in 907fab9.


Auto generate comment block

How to get this?

Hi, this is a duplicate of https://github.com/OmniSharp/omnisharp-vscode/issues/8. Some are using the https://marketplace.visualstudio.com/items?itemName=k--kato.docomment extension to generate XML documentation comments.


etherhub.io down

Just found Find a permanent home for the explorer (register a domain name) on the Trello... looks like known thing

Yeah... a member of the community kindly donated server hosting for the explorer for a year, but couldn't afford to keep going after that.

wow...let me setup a standby site with my Google Cloud server.

thanks @kimisan ! @pyskell is also working on a proposal to get funding for some ETC nodes. That would reduce the cost of running a server a bit.

Ok, glad to hear that. Thank you both! @elaineo @pyskell
I will prepare a standby site first and regular maintain it.

I almost finished the backup site,
but  i set listenOnly it to True
but it look like still keeping populate older block numbers...
PS: i clone the latest repo.
{
"gethPort": 8545,
"blocks": [ {"start": 4975445, "end": "latest"}],
"quiet": false,
"terminateAtExistingDB": false,
"listenOnly": true
}

thanks a lot for creating this backup site kimisan! are you running node ./tools/grabber.js from the /tools/ directory?

OK i run it now.
May you help me check the config setting is ok or not?
{
"gethPort": 8545,
"blocks": [ {"start": 2000000, "end": "latest"}],
"quiet": false,
"terminateAtExistingDB": false,
"listenOnly": true
}

yup, that should only fetch the latest blocks.

@elaineo , it look like the grabber.js does not synced finished.
Can I re-definition the config file to much short time.
Thank you

@kimisan not sure i understand the question... when "listenOnly" is true, it should only be grabbing the latest blocks. is that working?

wow, my account got frozen by Google Cloud due to "similar to Crypto mining activity"
Already write a letter ask them to fix it =.=

oh no! you are just running the node with no mining, right? i haven't had problems running nodes before...

after all, google cloud give my server back ...
But they delete all the file now ...
Under Recovering ^^

okay, looks like we're getting some funding and a new server for hosting!
https://forum.ethereumclassic.org/t/block-explorer-proposal/92/4


Stop run tasks from being too verbose

Having "Running " + mainClass  ...  at info level generates too many messages when run task is used (for example, to generate resources). Setting this at debug level would suffice.

Not sure about this.  I agree that in custom cases it might not be desirable, but it is in the standard cases.  Perhaps the message should be moved somewhere more appropriate?

I see your point. Any recommendation where this can be relocated?
FWIW, there is an inconsistency here in the fact that Run.run() spews lots on messages where as ForkRun.run() stays totally silent. So having fork in mytask := true goes totally silent but fork in mytask := false is noisy. We should straighten that anyway.

Perhaps it could go in the run task directly instead of the runner.  The run task creation method might need a quiet parameter with default=true and the built-in sbt tasks changing this to be false.  I haven't actually looked to see if this is reasonable.
I don't see how Run.run() produces a lot of messages.  It has more information at the debug level, but I only see one message at the info level.

I should have been clearer, Run.run() produces a lot of messages when it's invoked lot of times (say, when using script multiple times to generate source files).
That said, this is purely cosmetic and doesn't lead to loss of functionality or anything like that. So let's defer this till there is a good alternative.


url fix

generator fails on it

 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.


Provide static framework of this repo

Many people new to iOS have trouble with CocoaPods, especially at hackathons. We should offer an easy drag-and-drop framework as well, like this: https://github.com/venmo/app-switch-ios-framework

I think we can tackle this along with #76 in a nice, clean way.


Review: SubmitTestimony and MiniCalendar

Overview
The focus for this code review will be centered around the SubmitTestimony page and the MiniCalendar from the home page.
Please pay attention too:

Javascript issues
React components

Review Branch
review-03
Files to review

SubmitTestimony.jsx
MiniCalendar.jsx

Checklists

Architecture
Design
JS
React

Due date
Tuesday September 20th, 2022 1:30pm
For more information
The review process is documented at: http://courses.ics.hawaii.edu/ics414s21/morea/review/reading-idpm-review.html

SubmitTestimony.jsx
L49, L52: DE-07: It may be repetitive to rewrite all of the data fields from line 49 to 52. Maybe refactoring can be done to reduce this repetition?
L9: RE-03: The imported collection is not the same name as the file.
MiniCalender.jsx
L58, L161: DE-05: A comment can be used to describe what this function does.
L83-99: DE-02: There are deeply nested conditional statements in this area. Maybe there is a way to eliminate this while keeping the functionality?
L221-227: DE-01: These lines are very similar and can be refactored to eliminate duplication. Maybe mapping through days of the week array?

MiniCalendar.jsx
Shorten time zone in test data to HST (or none since this is only used in Hawaii)
Differentiate Sunday and Saturday, lines 221, 227.
SubmitTestimony.jsx
Lines 49 & 52 are maybe redundant? Same except for owner, is it possible to combine it somehow?
Lines 68-70 can be condensed into one line

SubmitTestimony.jsx
Code is uniform and easy to read
MiniCalendar.jsx
DE-05: Ensure comments are appropriate
L46 Add comment to what this component does
DE-02: Avoid deeply nested conditionals
L78-102: Nested if/elses

SubmitTestimony.jsx
Lines 68-70 DE-03: can be one line instead of split into 3
MiniCalendar.jsx
DE-02: Avoid deeply nested conditional statements in getDays function

MiniCalendar.jsx:
L78 - 99: deeply nested if/else blocks
SubmitTestimony.jsx
No comments, I personally think it's clean

SubmitTestimony.jsx
Can´t find anything to change
MiniCalendar.jsx
Line 51: Not a hundred percent sure what the variable isEventArray is
DE-02: Line 80-99: deeply nested if/else statements, is it possible to use a ternary operator?

SubmitTestimony.jsx
MiniCalendar.jsx

Deeply nested conditionals

MiniCalendar.jsx:
-comments
-nested conditional
SubmitTestimony.jsx
-all good bro

SubmitTestimony.jsx
Line 52 could use object destructuring so we don't need line 49
MiniCalender.jsx
-nested conditional


App Object Approver is not working

After selecting Community Sheets to be "published" to base sheet they hhange the status (Approved?)from "not approved" to "approved" by htting the "Approve Object" button. After refreshing QMC Utility and refreshing QMC the changes did where not applied.
Looks like changes are not stored / executed.

there is a small bug in the code.  Will be addressed in an upcoming patch targeted for next week.

fixed here: https://github.com/eapowertools/qmcu-appobject-approver/commit/45978540ade54afa9a18eb12f35f91680da28aad
Package happening today.

fixed in #82


OCTOPUS-625:modified files and names and var files as per ansible-lint

This PR contains : Below changes made as per Ansible-lint .

Changes made to filename.
Changes made to playbook with adding the hosts parameter .
Changes made to variable name as per the role name .

Ansible lint action need more addition of installing the openstack packages .
Because its passing in my local:
punithkenchappa@Puniths-MacBook-Pro-2 ocp4-upi-multiarch-compute % ansible-lint
Passed: 0 failure(s), 0 warning(s) on 63 files. Last profile that met the validation criteria was 'production'.
punithkenchappa@Puniths-MacBook-Pro-2 ocp4-upi-multiarch-compute %

/lgtm


How to delete an uploaded .pfx certificate

This is a question rather than an issue.  When the extension uploads the .pfx file to a Secure File in Azure DevOps, how is this certificate ever deleted if we no longer want to use this extension?
Thanks in advance!
Tim

Thank you for your response!
From: Stefan Kert @.>
Sent: Wednesday, January 18, 2023 2:14 AM
To: StefanKert/azuredevops-codesigning-task @.>
Cc: Tim Stevens @.>; Mention @.>
Subject: Re: [StefanKert/azuredevops-codesigning-task] How to delete an uploaded .pfx certificate (Issue #54)
CAUTION: This email originated outside Vispero. Do not click links, open attachments or forward unless you recognize the sender.
Hi  @timstspry1https://github.com/timstspry1,
so this extension doesn't upload things to the Secure Files. It just uses Secure Files that have been uploaded to Azure DevOps while signing and then cleans up all local versions of it.
If you want to delete Secure Files from Azure DevOps you can Navigate to Pipelines -> Library -> Secure Files and see a list of your pfx files. You can find more details in the official docs (https://learn.microsoft.com/en-us/azure/devops/pipelines/library/secure-files?view=azure-devops).
—
Reply to this email directly, view it on GitHubhttps://github.com/StefanKert/azuredevops-codesigning-task/issues/54#issuecomment-1386805269, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3OH2RFEM7UM2E5PH5MKRRDWS666LANCNFSM6AAAAAAT6K2U4E.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


Add a field or a method to indicate what are the initial witnesses needed to solve a circuit

Problem
A circuit is solvable if it is given an initial set of witness values. There is currently no way to validate this and upstream users of ACIR will need to somehow validate this or not validate it and hope that this is the case.
Another usecase is that an optimisation pass may wish to modify witnesses and it would be good to know which of the initial witnesses are always constants for example -- ie we can then pass information back to the user stating that the circuit is only solvable if their fourth initial witness value is always 5 for example.
Solution
We can add a field into ACIR which indicates these set of values. Moreover, we could avoid having a large set of values by allowing one to indicate a contiguous range, ie Range(0, 500) would mean that the first 500 witnesses are needed in order for this circuit to be solvable.
Example:
enum InitialWitnesses {
    Range(usize, usize),
    Values(Vec<InitialWitnesses>),
    Value(usize)
}

Alternatives considered
(Describe any alternative solutions you have considered.)
Additional context
(If applicable.)

Ideally, an ACIR circuit should specify:

the inputs to the circuit
the public inputs
the outputs

Not taking into account any noir specificities, the simplest would be to require the inputs to be the first witnesses.
So in that case a range or the number of inputs is enough.
The public inputs would be a subset of the inputs, and in order to be flexible, we could use the provided InitialWitnesses enum to define them.
My rational is that inputs can potentially be very big, while public inputs are usually kept small, by providing them out-of-band and using hash of the public inputs when they are required to be big.
Finally, the outputs are a list with eventual duplicates from the public inputs.
Note that inputs and outputs can be deduced from the circuit, but not the public inputs. An alternative could be to simply tag public inputs as 'pub' in the ACIR gates and deduce the above lists from the circuit.

I think the outputs is a separate issue, though it seems that we are on the same page with regards to initial witnesses.
This issue is solely related to specifying the inputs needed to allow the circuit to be solvable, ie the inputs which cannot be computed from other inputs.