Roll engine ec9d487b0599..759d3dba259b (1 commits)

git@github.com:flutter/engine.git/compare/ec9d487b0599...759d3dba259b
git log ec9d487b0599..759d3dba259b --no-merges --oneline
2019-10-04<EMAIL_ADDRESS>Roll src/third_party/skia 35a60f622c58..fbdf48ecb204 (2 commits) (flutter/engine#12787)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Auto-roller completed checks. About to merge.


Ripple

Implements resonant pitch-angle diffusion with the toroidal magnetic field ripple

I think that this is looking pretty close to good-to-go now! I left a few wish-list comments, but nothing critical.


Exclude concat layer  for gpu quantization

Description
Exclude concat layer for gpu quantization since #13297 enable quantizaed_concat op for cpu.
below is the error log before this fix:
python imagenet_inference.py --symbol-file=./model/imagenet1k-inception-bn-quantized-5batches-naive-symbol.json --param-file=./model/imagenet1k-inception-bn-quantized-0000.params --rgb-mean=123.68,116.779,103.939 --num-skipped-batches=50 --num-inference-batches=500 --dataset=./data/val_256_q90.rec
INFO:logger:batch size = 32 for inference
INFO:logger:rgb_mean = 123.68,116.779,103.939
INFO:logger:rgb_std = 1,1,1
INFO:logger:label_name = softmax_label
INFO:logger:Input data shape = (3, 224, 224)
INFO:logger:Dataset for inference: ./data/val_256_q90.rec
[10:15:59] src/io/iter_image_recordio_2.cc:172: ImageRecordIOParser2: ./data/val_256_q90.rec, use 39 threads for decoding..
INFO:logger:Skipping the first 50 batches
INFO:logger:Running model ./model/imagenet1k-inception-bn-quantized-5batches-naive-symbol.json for inference
[10:16:04] src/executor/attach_op_execs_pass.cc:351: Neither FCompute nor FComputeEx registered _contrib_quantized_concat

Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

@mxnet-label-bot add [pr-awaiting-review, Quantization]

@reminisce @pengzhao-intel CI pass now:)

@reminisce could you help to take a look again and merge this PR?
Thanks.


Support use XML::XPath some_version; and modernize inheritance.

Leverages Exporter's version checking even though it doesn't actually
export anything. Also replaces obsolescent use vars with our for
package variables, and manual setting of @ISA with use parent
pragmas.
Did require bumping the minimum version from 5.8 to 5.10.1 for the
parent pragma.

Thanks for your contributions. @shawnw


Vsocks in Node.js

Hey, I am trying to make a Node.js application support nitro enclaves. But, I cannot find a way to implement vsock in Node.js. Can you point to something?

Also, can you let me know if Unix IPC Sockets would work?

Hi @abhigupta768. Looks like Node.js doesn't support it. I found that net library only implements AF_INET and AF_UNIX SOCK_STREAM while UDP/Datagram implements AF_INET SOCK_DGRAM BSD socket API. And neither of them suits for AF_VSOCK SOCK_STREAM API required for communication with nitro enclaves.
In this case you could try some relay software, which could forward vsock traffic to some other suitable for you endpoint, e.g https://github.com/stefano-garzarella/socat-vsock.

Yes, Python can use vsock as you can find from the example and then it's up to you how to further arrange the communication.

@abhigupta768 Did you ever got it working?

@abhigupta768 Did you ever got it working?

Hey, nope. I ended up using Evervault (https://evervault.com/). They provide Node.js support for AWS Nitro Enclaves.

Hey, nope. I ended up using Evervault (https://evervault.com/). They provide Node.js support for AWS Nitro Enclaves.
Very interesting. Thanks. Do you know if they support e.g. Mysql/MariaDB as external services?

Hey, nope. I ended up using Evervault (https://evervault.com/). They provide Node.js support for AWS Nitro Enclaves.

Very interesting. Thanks. Do you know if they support e.g. Mysql/MariaDB as external services?

Umm, I am not very sure. They do intercept network requests inside the enclave, then relay them to the parent, which can then interact with whitelisted IPs. So I am guessing that using a managed service like RDS with the appropriate permissions should work. I am not entirely sure though.


Tests for pallet-tx-pause

Ready for first draft quick review

[ ] Confirm all positive and negative test cases complete coverage we need
[ ] benchmarking complete
[ ] outstanding TODOs resolved
[ ] Review ecosystem pallets for logic and test for related pallets

moving to complete on #12092


No support for calling an overridden base-class method

When using turtle mock to mock objects that have virtual functions, frequently those virtual functions are intended to have their base implementation called.
Turtle mock has no mechanism to do that.
Ideally, the syntax for declaring a mock member function can be extended to signal that the base implementation should be called.
MOCK_CONST_METHOD(..., callBaseImpl);

Hi,
Can’t you set it up using a calls action?
See:

http://turtle.sourceforge.net/turtle/reference.html#turtle.reference.expectation.actions
https://www.oreilly.com/library/view/c-cookbook/0596007612/ch08s16.html

Hi,
Can’t you set it up using a calls action?
See:

http://turtle.sourceforge.net/turtle/reference.html#turtle.reference.expectation.actions
https://www.oreilly.com/library/view/c-cookbook/0596007612/ch08s16.html

Yes, that's what I'm doing now.
But when you have several hundred instances of a MOCK_EXPECT() on a function that needs to call the base class's function, it gets very tedious to have to use .calls() for each place.
I know that you're not actively working on this library anymore, but if someone does a drive-by contribution to add support for this that would be nice.

Yes, that's what I'm doing now.
But when you have several hundred instances of a MOCK_EXPECT() on a function that needs to call the base class's function, it gets very tedious to have to use .calls() for each place.
I know that you're not actively working on this library anymore, but if someone does a drive-by contribution to add support for this that would be nice.


Call base.PointerMoved on mouse move in AvaPlot

New Contributors:
please review CONTRIBUTING.md
Purpose:
https://github.com/ScottPlot/ScottPlot/issues/999#issuecomment-843719638
New Functionality:
Forwards mouse moved events to the parent object in Avalonia.

As an aside, there is still quite a bit of functionality commented out in AvaPlot.axaml.cs. It fits mostly into these categories:

Dead or no longer necessary code, perhaps from a previous AvaPlot implementation or debugging code
Code for features Avalonia does not/did not support when it was written

Copying images to clipboard I believe is still quite difficult
I don't know if Avalonia supports changing the cursor yet

Code for features that I never added but probably should've

I still am unsure what we're doing about context menus on the new common backend
Detecting designer mode was removed in order to get the very first version working and then never revisited

Let me know your opinion.

It looks like Avalonia does support changing the cursor on InputElements, which is one of the base types of UserControl.

Thanks for this PR and the notes about the commented-out blocks! I was about to list-out the changes I made but it looks like you're already on it.
Regarding right-click, controls respond to right-clicks by invoking whatever is in RightClicked. This lets users do things other than deploy context menus. I added XML docs to make this a little easier to figure out.
Let me know if all these changes look good to you! If so I'll merge now. Thanks again for all your Avalonia input! 👍 🚀

Let me know if all these changes look good to you! If so I'll merge now. Thanks again for all your Avalonia input! 👍 🚀

All looks good, thanks for taking this up!

I made it so it does not render in the designer view:

It looks like this no longer works in WPF or on WinForms, was this an intentional choice or a regression?

was this an intentional choice or a regression

I removed it in https://github.com/ScottPlot/ScottPlot/pull/1040/commits/99c786fc7c23726f20370ce21bf86c3311f4e1a9 because bool isDesignerMode = false; was hard-coded so I didn't think it worked
I didn't realize until now Avalonia even had a designer mode until now (it doesn't work out of the box on my system)
I'd like to move toward the design time display I'm using in WinForms (#1043), but I'm really scared about difficult to diagnose design-time crashes. Do you think this can be done safely in a way that falls back to something simple? I'll try to implement something similar for WPF shortly

I didn't realize until now Avalonia even had a designer mode

I think it might have been this extension: https://marketplace.visualstudio.com/items?itemName=AvaloniaTeam.AvaloniaforVisualStudio

Do you think this can be done safely in a way that falls back to something simple? I'll try to implement something similar for WPF shortly

By and large, if it can be done in WPF it can be done in Avalonia the same way (although sometimes with a bit of extra work). As for doing it in WPF, perhaps if it detects designer mode it enables a massive try-catch block that swallows everything (like how webservers stay alive and just send an HTTP 500 if there's an unhandled exception).
Now that I think about it, it may be easier to always have the massive try-catch block, but rethrow if not in the designer, and handle it in the designer. I don't think this is likely to be worth the extra effort in debugging. Perhaps when in designer mode it might be best to use an entirely different code path.
Or simply accept that designer crashes may happen, I think most of the time when these issues occur it is related to .csproj issues, so I don't know how much we're increasing the surface.

I think it might have been this extension

Ah, that makes sense

massive try-catch block ... I don't think this is likely to be worth the extra effort in debugging ... or simply accept that designer crashes may happen

I'll research this topic more as it relates to the WPF control and note my findings in #1043, and I'm happy to leave things as they are now for the Avalonia control. I'll go ahead and merge this is, and if/when you're inspired to make a fancier designer view for the Avalonia control you can choose the implementation you feel best about.
Thanks again for this PR! This one-liner turned into a solid improvement 👍


sync-clickhous-rs

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


Update landing page to show to a non-node how to start

You start your "how-to" this way:
TO USE HELIA TRY THIS:

import { createHelia } from 'helia'
import { strings } from '@helia/strings'

const helia = await createHelia()
const s = strings(helia)

const myImmutableAddress = await s.add('hello world')

console.log(await s.get(myImmutableAddress))
// hello world

Ok.... but what do I need to do BEFORE this  ????
Don't make assumptions about others' knowledge when creating a manual.
Always treat your reader as if they were just born

Nothing. There is a default config in the code that is run. It's runnable code

Thanks for sharing this feedback, @icemagno. I agree that we shouldn't make too many assumptions about the reader when writing docs and READMEs.
Either way, Helia might be too low-level for your use case. If you are trying to share files in a private network, you might want to look more of a turnkey solution like Kubo or Iroh's Sendme (note that they aren't interoprable)
Helia is a library/sdk. You can build an API on top of it and use it for file sharing, but it will require putting together a number of pieces to make it work.


rancher-nfs cannot mount with path used by named Volume

Rancher versions:
v1.6.12
rancher-nfs version:
v0.4.0
Docker version:
17.06.2-ce
Operating system and kernel:
Ubuntu 16.04.3 LTS (4.4.0)
Type/provider of hosts:
AWS
Environment Template:
Cattle
Steps to Reproduce:

Create an EFS on AWS (or an NFS server).
Launch rancher-nfs from the Catalog
Create a service e.g. redis mapping the /data volume to the rancher-nfs

Results:
The /data volume is a local volume instead of nfs mounted
It appears that any VOLUME in the Dockerfile conflicts with a rancher-nfs volume using the same mount path.
This is particularly a big issue since most containers with data have a VOLUME for the mount path.

@bluemalkin did you create a volume from the infractructure->storage menu? Can you also share the stack definition that uses this volume?

@aemneina I did for the external ones. Also tried the stack only ones.
I used the examples at http://rancher.com/docs/rancher/v1.6/en/rancher-services/storage-service/rancher-nfs/

Closing issue as I have not been able to recreate it after recreating the rancher hosts.
Suspect the hosts were caching an old EFS endpoint somewhere.


This ad may have not been loaded or has been disposed.

This ad may have not been loaded or has been disposed.
Ad with the following id could not be found:0.
<meta-data
            android:name="com.google.android.gms.ads.APPLICATION_ID"
            android:value="ca-app-pub-3940256099942544~3347511713"/>

final BannerAd banner = BannerAd(
      size: size,
      request: request,
      adUnitId: 'ca-app-pub-3940256099942544/6300978111',
      listener: BannerAdListener(
        onAdLoaded: (Ad ad) {
          print('$BannerAd loaded.');
          setState(() {
            _anchoredBanner = ad as BannerAd;
          });
        },
        onAdFailedToLoad: (Ad ad, LoadAdError error) {
          print('$BannerAd failedToLoad: $error');
          ad.dispose();
        },
        onAdOpened: (Ad ad) => print('$BannerAd onAdOpened.'),
        onAdClosed: (Ad ad) => print('$BannerAd onAdClosed.'),
      ),
    );

Hi @Xiaoqi-01, Please share the output of flutter doctor -v and ensure that you have initialized the ads instance like this
void main() {
  WidgetsFlutterBinding.ensureInitialized();
  MobileAds.instance.initialize();
  runApp(MyApp());
}

if the problem still persists, please share the complete reproducible code sample.
Thank you.

This my flutter
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-x64, locale
zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.2)
[✓] Connected device (2 available)
void main() async {
WidgetsFlutterBinding.ensureInitialized();
MobileAds.instance.initialize()
if (Platform.isAndroid) {
SystemUiOverlayStyle systemUiOverlayStyle = SystemUiOverlayStyle(
statusBarColor: Colors.transparent,
statusBarBrightness: Brightness.light,
statusBarIconBrightness: Brightness.dark,
);
SystemChrome.setSystemUIOverlayStyle(systemUiOverlayStyle);
}
SystemChrome.setPreferredOrientations([
DeviceOrientation.portraitUp,
DeviceOrientation.portraitDown
]);
runApp(MyApp(
));
}
My flutter  project  as  a Module in Native project with flutter_boost. Then use   AdWidget(ad: _anchoredBanner)  will  error like that

Hi @Xiaoqi-01, Please share the output of flutter doctor -v and ensure that you have initialized the ads instance like this
void main() {
  WidgetsFlutterBinding.ensureInitialized();
  MobileAds.instance.initialize();
  runApp(MyApp());
}

if the problem still persists, please share the complete reproducible code sample.
Thank you.

closing this issue as a duplicate of https://github.com/googleads/googleads-mobile-flutter/issues/388, Please follow up there for further updates, Closing this issue as a duplicate, If you disagree feel free to write in the comments and I will reopen it.
Thank you.

Hello maheshmnj, I disagree. The example for #388 didn't address the issue for google_mobile_ads: ^1.1.0, please reopen this issue. Thanks

Reopening based on the above comment.
@amosogra could you please share a reproducible sample project along with the steps to reproduce the issue?
Thanks


Uncaught TypeError: Failed to execute 'createObjectURL' on 'URL'

Hi, can you help me with this issue:
WebCodeCam.min.js:17 Uncaught TypeError: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided.
at cameraSuccess (WebCodeCam.min.js:17)
cameraSuccess @ WebCodeCam.min.js:17
This is in Chrome Versión 79.0.3945.88 (Build oficial) (64 bits)
Thanks.

this error because function createObjectURL is deprecated in Google Chrome. i change code in file WebCodeCam.js "camera.src = url ? window.url.createObjectURL(stream) : stream;"  to "camera.srcObject = stream;"
this is work for me.
I hope it works for you


Adapter Static is buggy

Describe the bug
I have a project with two dynamic nested routes: /[name]/[project]. During development I know what name and project should be, the route should be something like /daniel/portfolio.
I was using SvelteKit beta from Feb 2022 version 1.0.0-next.267, on the sveltekit.config.js I created an array of entries that correspond to all possibilities of [name] and [project]params, so the final array on prerender.entriesis ['*', '/daniel/portfolio'].
The build works flawlessly, generating the /daniel.html and /daniel/portfolio.html like it was supposed to be.
This is with SvelteKit 1.0.0-next.267and adapter static 1.0.0-next.26. Using up-to-date packages, no matter what I do, the build simply does not work, I use the same configuration on svelte.config.js, I use the entries function to get the value of [name] and [project] params, nothing works, the adapter-static says all routes are dynamic, even absolute static ones like test/+page.svelte with only a  h1 inside.
How to make this thing work?!
Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-c1arfw?file=svelte.config.js
Logs
No response
System Info
System:
    OS: Linux 5.15 KDE neon 5.26 5.26
    CPU: (12) x64 AMD Ryzen 5 1600 Six-Core Processor
    Memory: 6.45 GB / 15.57 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 16.17.0 - ~/.asdf/installs/nodejs/16.17.0/bin/node
    Yarn: 1.22.19 - ~/.local/bin/yarn
    npm: 8.15.0 - ~/.asdf/plugins/nodejs/shims/npm
    pnpm: 6.14.2 - ~/.local/bin/pnpm
  Browsers:
    Chrome: 114.0.5735.198
  npmPackages:
    @sveltejs/adapter-static: ^2.0.2 => 2.0.2
    @sveltejs/kit: ^1.22.3 => 1.22.3
    svelte: ^4.1.1 => 4.1.1
    vite: ^4.4.7 => 4.4.7

Severity
blocking an upgrade
Additional Information
No response

You're not exporting const prerender = true for any of the name/project pages, which is now required, from what I recall; you have it on your root +page.ts; you might want to add it to src/+layout.ts if you want to prerender the entire site.
That's my first thought - I think I ran into this a while back.
In addition, as a stylistic tip, it's now possible to export entries from routes that you want to prerender, meaning you can locate the logic to determine those routes closer to where they belong. config.kit.prerender.entries should work fine though.

There was a change where you have to explicitly mention that all pages are pre-renderable by adding the following setting. This is mentioned in the error message when the build fails.
// src/routes/+layout.js
export const prerender = true;

I've added the file and the build completes successfully. Can you confirm if the following output is what you expected?
https://stackblitz.com/edit/sveltejs-kit-template-default-wzfz7p?file=src%2Froutes%2F%2Blayout.js

@infovore and @s3812497  I forgot to add the export const pretender = true in this Stackblitz Project.
It builds the project now, different from my local project, I don't know why in my machine it does not work, but I'll try to figure it out based on this Stackblitz Project.

@s3812497 The issue is not resolved yet. If you see the StackBlitz Project, I added a route called test in the [name] route, with this route the builds say this route is marked as prerenderable, but were not prerendered because they were not found while crawling your app.
So I added a +page.ts to test route and added export const prerender = falseto it.
Now it simply bugs everything and says all pages are dynamic:
@sveltejs/adapter-static: all routes must be fully prerenderable, but found the following routes that are dynamic:
    - src/routes/
    - src/routes/404
    - src/routes/api/get-all
    - src/routes/[name]
    - src/routes/[name]/test
    - src/routes/[name]/[project]

This is the bug I'm having right now to update the app, Since I fixed all the issues it bugs everything...

So I added a +page.ts to [name]/test route and added export const prerender = falseto it.
Now it simply bugs everything and says all pages are dynamic:

The builder error message is definitely confusing because it lists all your routes when it should only list the problematic one (which is src/routes/[name]/test).
When using adapter-static all of your pages must be set to prerender = true (usually in the root layout).

I added a route called test in the [name] route, with this route the builds say this route is marked as prerenderable, but were not prerendered because they were not found while crawling your app.

Your pages must be discoverable either by including it in a link somewhere in your app or specifying it with entries. See https://kit.svelte.dev/docs/page-options#entries for more information.

+1 to what @s3812497 said:

if you've said a page is not prerenderable, that will cause an error in adapter-static; it's strange you're seeing all those paths mentioned - that feels like a bug - but the fact the build process throws an error is correct: you are trying to build a static site and have flagged a page as not static. So let's remove export const prerender = false
if none of your pages link to /[name]/test - eg /daniel/test - then that route doesn't get crawled to prerender, and this leads to an error. the solution is to link to it, or to add it to entries. For instance, in your function that generates the data for entries you could write this:

data.projects.forEach(({ name }) => {
    links.push(`/${user}/${name}`);
    links.push(`/${user}/test`);
});

(or, indeed, add test to the list of names in JSON

now, you can prerender it, although it'll still 500 without a matching +page.svelte. So I add that and your code now runs.

Here's a stackblitz where this works.


Update integration tests for SMS OTP For Password Recovery Feature

Purpose
The SMS OTP For Password Recovery Feature replaces the existing governance config Recovery.Notification.Password.Enable config with Recovery.Notification.Password.emailLink.Enable and Recovery.Notification.Password.smsOtp.Enable.  This change causes integration test failures since some of the integration tests depends on this former governance config. This PR removes this dependency and introduces the newly added configs.
Local Run (100%)
Note : The failed test case in the initial run is rerun and succeeds in the second run.
https://github.com/wso2/product-is/assets/42939752/42d87317-24cf-4094-8175-5cd538faf20c
Related Issue
https://github.com/wso2-enterprise/iam-engineering/issues/534
Related PRs
https://github.com/wso2-extensions/identity-governance/pull/814
https://github.com/wso2/carbon-identity-framework/pull/5601

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/9074986383

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/9074986383
Status: failure

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/9076671402
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/9076693874

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/9076693874
Status: failure

closing as duplicate of https://github.com/wso2/product-is/pull/20374


Windows Profiling Improvements

This is a super low risk change for 5.5 to improve the clang (linker) driver invocation and linker options for enabling profiling support on Windows.  This only impacts the Windows toolchain, and under -profile-generate only.

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 99db287fe8839acd6ccaa003b4ead7838c6b043c

@swift-ci please test macOS platform


Support . in specification

Character . is currently used as separator in pathnames, which breaks the validation/conversion if . is in specification as a key, pathnames should be replaced with array instead of string.

Fixed in 937795e9747e64908b7dcd0447d8dd979a2c0dbf


[Feature] Release connections in seperate threads instead of the main thread

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt-snowflake functionality, rather than a Big Idea better suited to a discussion

Describe the feature
dbt may open many connections if using multiple threads, I think it's 1 connection per thread.
This can take time to close each one, especially with higher latency. For me in Perth, AU to us-east-1 (~270ms latency), this can take 1-2 seconds per connection to close, and I use 16 connections to Snowflake in certain circumstances for workloads like tests/views/etc.
Right now these connections are closed in the main thread, so they are sequentially closed.
This one was a bit faster, only taking 9 seconds to close these.
09:58:41.915229 [debug] [Thread-17 ]: Finished running node model.somewarehouse.sometable
09:58:41.917674 [debug] [MainThread]: Connection 'master' was properly closed.
09:58:41.917986 [debug] [MainThread]: Connection list_databasename_schemaname_a' was left open.
09:58:41.918205 [debug] [MainThread]: On list_databasename_schemaname_a: Close
09:58:42.511680 [debug] [MainThread]: Connection 'list_databasename_schemaname_aaa' was left open.
09:58:42.512028 [debug] [MainThread]: On list_databasename_schemaname_b: Close
09:58:43.093075 [debug] [MainThread]: Connection 'list_databasename_schemaname_b' was left open.
09:58:43.093389 [debug] [MainThread]: On list_databasename_schemaname_c: Close
09:58:43.671073 [debug] [MainThread]: Connection 'list_databasename_schemaname_c' was left open.
09:58:43.671399 [debug] [MainThread]: On list_databasename_schemaname_d: Close
09:58:44.246076 [debug] [MainThread]: Connection 'list_databasename_schemaname_d' was left open.
09:58:44.246407 [debug] [MainThread]: On list_databasename_schemaname_e: Close
09:58:44.817599 [debug] [MainThread]: Connection 'list_databasename_schemaname_e' was left open.
09:58:44.817936 [debug] [MainThread]: On list_databasename_schemaname_f: Close
09:58:45.415476 [debug] [MainThread]: Connection 'list_databasename_schemaname_f' was left open.
09:58:45.415810 [debug] [MainThread]: On list_databasename_schemaname_g: Close
09:58:45.994771 [debug] [MainThread]: Connection 'list_databasename_schemaname_g' was left open.
09:58:45.995112 [debug] [MainThread]: On list_databasename_schemaname_h: Close
09:58:46.569317 [debug] [MainThread]: Connection 'list_databasename_schemaname_h' was left open.
09:58:46.569638 [debug] [MainThread]: On list_databasename_schemaname_i: Close
09:58:47.149916 [debug] [MainThread]: Connection 'list_databasename_schemaname_i' was left open.
09:58:47.150251 [debug] [MainThread]: On list_databasename_schemaname_j: Close
09:58:47.744290 [debug] [MainThread]: Connection 'list_databasename_schemaname_j' was left open.
09:58:47.744612 [debug] [MainThread]: On list_databasename_schemaname_k: Close
09:58:48.400242 [debug] [MainThread]: Connection 'model.somewarehouse.sometable' was left open.
09:58:48.400571 [debug] [MainThread]: On model.somewarehouse.sometable: Close
09:58:48.977163 [debug] [MainThread]: Connection 'list_databasename_schemaname_l' was left open.
09:58:48.977487 [debug] [MainThread]: On list_databasename_schemaname_kkk: Close
09:58:49.562825 [debug] [MainThread]: Connection 'list_databasename_schemaname_l' was left open.
09:58:49.563157 [debug] [MainThread]: On list_databasename_schemaname_l: Close
09:58:50.158305 [debug] [MainThread]: Connection 'list_databasename_schemaname_m' was left open.
09:58:50.740682 [debug] [MainThread]: On list_dev_model_josh_full_m: Close

This adds ~9 seconds to runs, which is incredibly annoying from a DX perspective, where you're re-running these.
This issue also occurs when running against a single model, as it opens threads/connections for different kinds of queries dbt may perform.
Instead, could this be moved to a thread based approach, so using the existing Threadpool to the amount of used threads each connection is closed
Describe alternatives you've considered
Waiting? ;-)
Who will this benefit?
Developers wanting a faster development cycle, instead of waiting for dbt to close connections.
Are you interested in contributing this feature?
Yes
Anything else?
No response

At this time, we will not be prioritizing this request.


history tracker is no longer HISTORY.rst but CHANGELOG.md

[ ] closes #xxxx
[ ] tests added / passed
[ ] docs reflect changes
[ ] entry in HISTORY.rst

@brews a minor detail. I don't think it deserves an entry in the changelog, but let me know otherwise !


w-confirm forces new line

<w-confirm icon="mdi mdi-delete">
  Delete
</w-confirm>

<w-confirm icon="mdi mdi-pencil">
  Edit
</w-confirm>`

Stacks the two icons on top of each other. I would expect them to appear side-by side.

Wrapping both w-confirms in a  puts both icons back on the same line. Maybe that is the intended behavior?

Hi @sbeaver28, thanks for reporting.
You're right that's not the desired behavior and it should now be fixed in version 3.1.3.
https://antoniandre.github.io/wave-ui/release-notes
Please reopen if not solved :)


MemPostings: allocate ListPostings once in PostingsForAllLabelValues

Same as #15427 but for the new method added in #14144
Instead of allocating each ListPostings one by one, allocate them all in one go.

#14518 is in the same area.


Fix find in clean-dev-env for macOS

BSD find requires the path to be first.
The order of actions and filters also matters, so -delete must be last.
Describe the behavior changes introduced in this PR
make clean-dev-env now works on macOS.
Testing Instructions
Run make clean-dev-env on macOS.
Run make clean-dev-env on Linux to verify it still works the same there.
@redhat-cop/mdt

/lgtm


Java | Remote Services | Using BTP Destinations | Sample code is outdated

The following sample code in Java | Remote Services | Using BTP Destinations is for SAP Cloud SDK v4
HttpDestination destination = DestinationAccessor.getDestination("destinationName").asHttp();
HttpClient httpClient = HttpClientAccessor.getHttpClient(destination);

With  current SAP Cloud SDK (v4) sample code for the same is:
Destination destination = DestinationAccessor.getDestination("my-destination");
HttpClient client = HttpClientAccessor.getHttpClient(destination);

I don't think the old sample code is in error now. It is just that some are pointing out the older sample here as the correct way. It would be good to have consistent documentation on used libraries.

Hi Dinurp,
we appreciate your effort and contributions to capire. I'll involve my colleagues with a deeper knowledge in this area.
All the best,
René

Thanks for pointing that out. I think in your second example you actually wanted to link to Cloud SDK v5 docs here: https://sap.github.io/cloud-sdk/docs/java/features/connectivity/http-client, right?
Currently CAP Java is fully compatible with Cloud SDK 5, but still uses Cloud SDK 4 by default. Apps have to explicitly switch to Cloud SDK 5 when using CAP. This is due to some of the incompatible changes from Cloud SDK 4 to Cloud SDK 5. CAP will only increase the new minimum version of Cloud SDK to some 5.x version with our next CAP Java major release 3.x somewhen in the middle of this year.
Due to this I prefer to keep our documentation Cloud SDK 4 compatible. The example in our docs works for both 4 and 5 of Cloud SDK. However if we would change the example code now, this might irritate users still using Cloud SDK 4.
You can find the minimum versions of dependencies for CAP Java also documented here: https://cap.cloud.sap/docs/java/versions#minimum-versions

Thanks @beckermarc.
Yes. I meant to link to Cloud SDK  v5 but linked to Cloud SDK v4 instead.
If CAP is still working with v4 out of the box, then you are right have the sample based on v4.

After talking to @renejeglinsky we decided to add a code-group for this to the docs, allowing you to toggle between a version for Cloud SDK v4 and v5: https://github.com/cap-js/docs/pull/834

Thanks @dinurp and @beckermarc !


Improvements catching images

I've used and tested, for a month, my fork of the extension containing a lot of changes. During this period I tested improvements for the following goals:

catch more images with improved checking for cases;
better feedback when the extension is enabled/disabled based on the current page;
extension working all the time (bug reported in #23);

Also, to better understand the extension, I've added more documentation about cases and why it does some things a certain way.
For point 1 I've improved the shouldCompress.js with cases I came across. At the time of writing, I've used my fork for 32 days with the compression level set to 20% and have reached the following statistics: 55,747 images processed and 2.24GB data saved (91%). There is one case not added to this PR that catches more images: some images have a content type of application/octet-stream (example page: https://code.google.com/archive/p/repo-clean/).
Point 2, was tackled by also checking if the current page is from a private network or has a different protocol (for pages like about:config etc.).
Point 3, seems to be resolved. During my 32 days, I've never caught the bug. Before I caught it within two weeks. More testing is needed. The problem, from my debugging a lot, seems to originate from attaching and detaching the listeners. In this PR, I attach the listeners once on startup and keep it that way. It does use a bit more memory and CPU when disabled (since it still listens to images). But, this only minimally since we exit early in the onBeforeRequest listener by checking if the extension is enabled. If the extension is disabled/removed by the user, the browser will clean up automatically (tested by adding debug points and disabling/removing the extension).

This looks great, thanks for contributing again!


Author should have first name, last name, and homepage

Scenario
When an author is created with first name 'Alan', last name 'Turing', and homepage 'http://wikipedia.org/Alan_Turing'
Then an instance of Author should be created
Hints
The author model should have a first_name, last_name and homepage, which are all strings.
It should furthermore have a method name (no parameters) which returns the full name of an author (the first name followed by the last name), e.g. 'Alan Turing'.
Test this model behavior in a model test. Create spec/models/author_spec.rb and in the describe block, specify type: :model.
In a model test, behavior is tested directly on the model object, e.g.
author = Author.new(...)
expect(author.first_name).to eq(...)

The eq matcher tests for object equivalence.
See this reference for more matchers.
To pass your test a Rails model for authors must be created. Rails has generators which make creating things easier. You can answer 'no' when Rails asks if you want to overwrite files, then your edited files stay the way they are.
Here is the relevant section (5.4) of the Rails Guide. The generator creates the required model attributes (e.g. first_name:string, see db/schema.rb for the changes) and maps them to the corresponding model. You can then use the attributes as variables in the model (i.e. author.first_name).
Additional model methods are specified in the model's file, e.g. app/models/author.rb using standard Ruby syntax.
Error

Got ActiveModel::UnknownAttributeError: unknown attribute 'first_name' for Author.

4 exercise tests have passed. There are 44 in total. You will solve multiple at once towards the end.

closed with commit b717e73cd5ace7c9363347f9c0ad392d6defe436


ERROR epic_core::core::block - block header b9c73ea08824 validation error: invalid POW: Verification Error: Hash randomx invalid!

Describe the bug

Cannot download the blockchain.
Stuck at "Sync step 1/7: Downloading header" or "Running" (cuz cannot find peers)

To Reproduce

Compile epic and run

Expected behavior
The server should work normally and the blockchain should be downloaded.

Required data
Logs screenshot

Logs file

epic-server.log

.epic/main/epic-server.toml

# Generated Server Configuration File for Epic
#
# When running the epic executable without specifying any command line
# arguments, it will look for this file in two places, in the following
# order:
#
# -The working directory
# -[user home]/.epic
#

#########################################
### SERVER CONFIGURATION              ###
#########################################

#Server connection details
[server]

#the directory, relative to current, in which the epic blockchain
#is stored
db_root = "/home/chakra/.epic/main/chain_data"

#path of TLS certificate file, self-signed certificates are not supported
#tls_certificate_file = ""
#private key for the TLS certificate
#tls_certificate_key = ""

#the address on which services will listen, e.g. Transaction Pool
api_http_addr = "<IP_ADDRESS>:3413"

#path of the secret token used by the API to authenticate the calls
#comment the it to disable basic auth
api_secret_path = "/home/chakra/.epic/main/.api_secret"
foreign_api_secret_path = ".foreign_api_secret"

#path to the file that contains the pre-generated foundation coinbases
foundation_path = "/usr/share/epic/foundation.json"

#The chain type, which defines the genesis block and the set of cuckoo
#parameters used for mining as well as wallet output coinbase maturity. Can be:
#AutomatedTesting - For CI builds and instant blockchain creation
#UserTesting - For regular user testing (cuckoo 16)
#Floonet - For the long term floonet test network
#Mainnet - For mainnet
chain_type = "Mainnet"

#the chain validation mode, defines how often (if at all) we
#want to run a full chain validation. Can be:
#"EveryBlock" - run full chain validation when processing each block (except during sync)
#"Disabled" - disable full chain validation (just run regular block validation)
chain_validation_mode = "Disabled"

#run the node in "full archive" mode (default is fast-sync, pruned node)
archive_mode = false

#Whether or not to skip pow validation when syncing headers
#Only applies to blocks in checkpointed range, unless disable_checkpoints is set to true
skip_pow_validation = false

#Disables checkpoint-based pow_validation, no proof of work will be validated whatsoever
#while syncing. Has no effect unless 'skip_pow_validation' is set to true
disable_checkpoints = false

#skip waiting for sync on startup, (optional param, mostly for testing)
skip_sync_wait = false

#Timeout (in seconds) without the verification of the existence of more headers to be synced.
#If no valid value is given to this variable (e.g negative values, zero),
#the default value of 10 (seconds) is used.
header_sync_timeout = 10

#whether to run the ncurses TUI. Ncurses must be installed and this
#will also disable logging to stdout
run_tui = true

#Whether or not to set PolicyConfig to only use PoWType::RandomX.
#Required for use of Floonet, has no effect on Mainnet
only_randomx = false

#Whether or not to set PolicyConfig to disable PoWType::ProgPow
#For use on Floonet or Usernet. Has no effect on Mainnet
no_progpow = false

#Whether to run a test miner. This is only for developer testing (chaintype
#usertesting) at cuckoo 16, and will only mine into the default wallet port.
#real mining should use the standalone epic-miner
run_test_miner = false

#test miner wallet URL (burns if this doesn't exist)
#test_miner_wallet_url = "http://<IP_ADDRESS>:3415"

#########################################
### SERVER P2P CONFIGURATION          ###
#########################################
#The P2P server details (i.e. the server that communicates with other
[server.p2p_config]

#The interface on which to listen.
#<IP_ADDRESS> will listen on all interfaces, allowing others to interact
#<IP_ADDRESS> will listen on the local machine only
host = "<IP_ADDRESS>"

#The port on which to listen.
port = 3414

#how to seed this server, can be None, List or DNSSeed
seeding_type = "List"

#If the seeding type is List, the list of peers to connect to can
#be specified as follows:
seeds = ["<IP_ADDRESS>:3517","<IP_ADDRESS>:3414","<IP_ADDRESS>:3414","<IP_ADDRESS>:3414"]

#hardcoded peer lists for allow/deny
#will *only* connect to peers in allow list
#peers_allow = ["<IP_ADDRESS>:3414", "<IP_ADDRESS>:3414"]
#will *never* connect to peers in deny list
#peers_deny = ["<IP_ADDRESS>:3414", "<IP_ADDRESS>:3414"]
#a list of preferred peers to connect to
#peers_preferred = ["<IP_ADDRESS>:3414","<IP_ADDRESS>:3414"]

#how long a banned peer should stay banned
#ban_window = 10800

#maximum number of inbound peers (default = 128)
#peer_max_inbound_count = 40

#maximum number of outbound peers (default = 128)
#peer_max_outbound_count = 40

#preferred minimum number of peers (we'll actively keep trying to add peers
#until we get to at least this number
#peer_min_preferred_count = 8

# 31 = Bit flags for FULL_NODE, with HEADER_FASTSYNC capability
#This structure needs to be changed internally, to make it more configurable

# A preferred dandelion_peer, mainly used for testing dandelion
# dandelion_peer = "<IP_ADDRESS>:13144"

[server.p2p_config.capabilities]
bits = 31

#########################################
### MEMPOOL CONFIGURATION             ###
#########################################
[server.pool_config]

#base fee that's accepted into the pool
accept_fee_base = 100000

#maximum number of transactions allowed in the pool
max_pool_size = 50000

#maximum number of transactions allowed in the stempool
max_stempool_size = 50000

#maximum total weight of transactions that can get selected to build a block
mineable_max_weight = 40000

#########################################
### DANDELION CONFIGURATION           ###
#########################################
[server.dandelion_config]

#dandelion epoch duration
epoch_secs = 600

#fluff and broadcast after embargo expires if tx not seen on network
embargo_secs = 180

#dandelion aggregation period in secs
aggregation_secs = 30

#dandelion stem probability (stem 90% of the time, fluff 10% of the time)
stem_probability = 90
always_stem_our_txs = true

################################################
### STRATUM MINING SERVER CONFIGURATION      ###
################################################
[server.stratum_mining_config]

#whether stratum server is enabled
enable_stratum_server = true

#what port and address for the stratum server to listen on
stratum_server_addr = "<IP_ADDRESS>:3416"

#the amount of time, in seconds, to attempt to mine on a particular
#header before stopping and re-collecting transactions from the pool
attempt_time_per_block = 15
cuckatoo_minimum_share_difficulty = 3
randomx_minimum_share_difficulty = 4000
progpow_minimum_share_difficulty = 200000

#the wallet receiver to which coinbase rewards will be sent
wallet_listener_url = "http://<IP_ADDRESS>:3415"

#whether to ignore the reward (mostly for testing)
burn_reward = false

[server.webhook_config]
nthreads = 4
timeout = 10

#########################################
### LOGGING CONFIGURATION             ###
#########################################
[logging]

#whether to log to stdout
log_to_stdout = true

#log level for stdout: Error, Warning, Info, Debug, Trace
stdout_log_level = "WARN"

#whether to log to a file
log_to_file = true

#log level for file: Error, Warning, Info, Debug, Trace
file_log_level = "INFO"

#log file path
log_file_path = "/home/chakra/.epic/main/epic-server.log"

#whether to append to the log file (true), or replace it on every run (false)
log_file_append = true

#maximum log file size in bytes before performing log rotation
#comment it to disable log rotation
log_max_size = 16777216

#maximum count of the log files to rotate over
log_max_files = 32

OS: MX Linux (Debian GNU/Linux 12 (bookworm))
rustc 1.77.2 (25ef9e3d8 2024-04-09)
cargo 1.77.2 (e52e36006 2024-03-26)

System info

System:
  Kernel: 6.7.12-1-liquorix-amd64 arch: x86_64 bits: 64 compiler: gcc
    v: 12.2.0 parameters: audit=0 intel_pstate=disable rcupdate.rcu_expedited=1
    BOOT_IMAGE=/vmlinuz-6.7.12-1-liquorix-amd64
    root=UUID=4360036c-6183-4585-aa57-03927d0f64ad ro quiet splash
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm
    v: 4.18.0 dm: LightDM v: 1.26.0 Distro: MX-23.2_ahs_x64 Libretto January 21
    2024 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Desktop Mobo: Micro-Star model: MAG B550 TOMAHAWK MAX WIFI (MS-7C91)
    v: 1.0 serial: <filter> UEFI: American Megatrends LLC. v: 2.60
    date: 10/10/2023
CPU:
  Info: model: AMD Ryzen 9 5950X socket: AM4 bits: 64 type: MT MCP
    arch: Zen 3+ gen: 4 level: v3 note: check built: 2022 process: TSMC n6 (7nm)
    family: 0x19 (25) model-id: 0x21 (33) stepping: 2 microcode: 0xA20120E
  Topology: cpus: 1x cores: 16 tpc: 2 threads: 32 smt: enabled cache:
    L1: 1024 KiB desc: d-16x32 KiB; i-16x32 KiB L2: 8 MiB desc: 16x512 KiB
    L3: 64 MiB desc: 2x32 MiB
  Speed (MHz): avg: 2218 high: 2800 min/max: 2200/5083 boost: enabled
    base/boost: 3400/5050 scaling: driver: acpi-cpufreq governor: ondemand
    volts: 1.1 V ext-clock: 100 MHz cores: 1: 2200 2: 2200 3: 2200 4: 2200
    5: 2200 6: 2200 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200 12: 2800
    13: 2200 14: 2200 15: 2200 16: 2200 17: 2200 18: 2200 19: 2200 20: 2200
    21: 2200 22: 2200 23: 2200 24: 2200 25: 2200 26: 2200 27: 2200 28: 2200
    29: 2200 30: 2200 31: 2200 32: 2200 bogomips: 217619
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: Safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3060] vendor: Micro-Star MSI
    driver: nvidia v: 525.147.05 non-free: 530.xx+
    status: current (as of 2023-03) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 1 speed: 2.5 GT/s
    lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 2b:00.0
    chip-ID: 10de:2487 class-ID: 0300
  Display: server: X.Org v: <IP_ADDRESS> compositor: xfwm v: 4.18.0 driver: X:
    loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa alternate: nv
    gpu: nvidia display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00")
    s-diag: 777mm (30.58")
  Monitor-1: DP-0 res: 2560x1440 hz: 165 dpi: 108
    size: 600x330mm (23.62x12.99") diag: 685mm (26.96") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 525.147.05 renderer: NVIDIA GeForce RTX
    3060/PCIe/SSE2 direct-render: Yes
Audio:
  Device-1: NVIDIA GA104 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 2b:00.1 chip-ID: 10de:228b class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 2d:00.4 chip-ID: 1022:1487 class-ID: 0403
  API: ALSA v: k6.7.12-1-liquorix-amd64 status: kernel-api
    tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: n/a (root, process) with:
    1: pipewire-pulse status: active 2: wireplumber status: active
    3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: MEDIATEK MT7921K Wi-Fi 6E 80MHz driver: mt7921e v: kernel
    modules: wl pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 29:00.0
    chip-ID: 14c3:0608 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  Device-2: Realtek RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: f000 bus-ID: 2a:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: eth0 state: down mac: <filter>
Bluetooth:
  Device-1: MediaTek Wireless_Device type: USB driver: btusb v: 0.8
    bus-ID: 1-9:6 chip-ID: 0e8d:0608 class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 3.0
    lmp-v: 5.2 sub-v: 2311 hci-v: 5.2 rev: 919
  Info: acl-mtu: 1021:6 sco-mtu: 240:8 link-policy: rswitch sniff
    link-mode: peripheral accept service-classes: rendering, capturing, object
    transfer, audio, telephony
Drives:
  Local Storage: total: 1.82 TiB used: 191.46 GiB (10.3%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: MSI model: M480 PRO 2TB
    size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: EIFM80.0 temp: 35.9 C scheme: GPT
  SMART: yes health: PASSED on: 23d 14h cycles: 99
    read-units: 1,929,753 [988 GB] written-units: 4,818,043 [2.46 TB]
Partition:
  ID-1: / raw-size: 1.82 TiB size: 1.79 TiB (98.37%) used: 191.14 GiB (10.4%)
    fs: ext4 block-size: 4096 B dev: /dev/dm-0 maj-min: 253:0
    mapped: luks-5d75316a-19bd-44ac-892e-477343b3b3ec
  ID-2: /boot raw-size: 1024 MiB size: 973.4 MiB (95.06%)
    used: 328.4 MiB (33.7%) fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p2
    maj-min: 259:2
  ID-3: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%)
    used: 274 KiB (0.1%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
    maj-min: 259:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 6 GiB used: 0 KiB (0.0%) priority: -2
    file: /swap/swap
Sensors:
  System Temperatures: cpu: 35.8 C mobo: N/A gpu: nvidia temp: 44 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
  Processes: 592 Uptime: 11h 51m wakeups: 1 Memory: 31.27 GiB
  used: 7.66 GiB (24.5%) Init: SysVinit v: 3.06 runlevel: 5 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 alt: 12 clang: 14.0.6 Packages: 2485
  pm: dpkg pkgs: 2460 libs: 1323 tools: apt,apt-get,aptitude,nala,synaptic
  pm: rpm pkgs: 0 pm: flatpak pkgs: 25 Shell: Sudo (sudo) v: 1.9.13p3
  default: Bash v: 5.2.15 running-in: xfce4-terminal inxi: 3.3.26

Additional context
Many times i had to kill epic process cuz it took too much time to exit.

Hmm. Not immediately clear what the issue is here. But, I do know that's a higher rust version than I have compiled with before.  I would try recompiling with 1.76 or lower.  Let me know if error persists.
Not the recommended way, but you can also set skip_pow_validation = true and disable_checkpoints = true in epic-server.toml.  There is a threshold at chaintip where PoW verification gets forced, even with these settings toggled.  Still, I'd try to figure out what's up with your node before doing this.
I'm confident that this is a local issue for you, and not related to actual blockchain integrity.

Please provide more info once you try downgrading your rust toolchain.

Hmm. Not immediately clear what the issue is here. But, I do know that's a higher rust version than I have compiled with before. I would try recompiling with 1.76 or lower. Let me know if error persists.

I tried compiling using rust toolchain 1.76 and 1.75 but i am getting the same error in the logs.
ERROR epic_core::core::block - block header b9c73ea08824 validation error: invalid POW: Verification Error: Hash randomx invalid
Is it possible this is a bug in librandomx ?

Not the recommended way, but you can also set skip_pow_validation = true and disable_checkpoints = true in epic-server.toml.

I did that and it worked at first, some tiny parts got downloaded:
Screenshots

Then it stopped.
Then it's downloading again now. It's coming and going. And the same error keeps appearing in the logs.

It's my first time getting in contact with epic cash. I knew it yesterday.
I am using libssl3. I do not have libssl1 in my repos. Deprecated.
I have only 2 or 3 peers appearing, is that normal ?
Downloading is very slow cuz of the error i assume. My internet connection is very good tho.

Most of the blockchain was downloaded i assume, but there is great irregularity in the connection with the same error being repeated over and over.
Screenshots

Is it possible this is a bug in librandomx ?

Doubtful this is the case. Nothing in that library has changed in some time. I'll try to reproduce. For now: 1.) shut down epic, 2.) clear ~/.epic/main/chain_data, 3.) restart
I'll try to reproduce.

I have only 2 or 3 peers appearing, is that normal ? Sometimes i had 10 or more

It's normal, given the proof of work verification failures. Your node is disconnecting because it thinks your peers are misbehaving.
Could be related to OpenSSL maybe, but that doesn't sound like the cause to me.

Lastly, there is an often-updated snapshot uploaded by @johanneshahn here: https://51pool.online/downloads/epic_chain_data.tar.gz
Feel free to use that, if you don't feel like debugging further.

Lastly, there is an often-updated snapshot uploaded by @johanneshahn here: https://51pool.online/downloads/epic_chain_data.tar.gz

When i cleared ~/.epic/main/chain_data and replaced it with the downloaded chain data.

When skip_pow_validation = false and disable_checkpoints = false (like default), i get this error:
ERROR epic_servers::epic::sync::syncer - chainsync Error { inner: Orphan }

When skip_pow_validation = true and disable_checkpoints = true, i get this error:
ERROR epic_core::core::block - block header 3f0a1b08e327 validation error: invalid POW: Verification Error: Hash randomx invalid!

Seems like now it's stuck at "downloading headers 1/7"

I noticed that when i first moved the downloaded chain data, the Disk usage was 6+ GB. When the skip_pow_validation = false and disable_checkpoints = false.
And when i changed skip_pow_validation = true and disable_checkpoints = true, the disk usage became 5+ GB like shown in the above screenshot.
The chain data decreased 🤦🏻♂
or was it miscalculated in the first place ?!

Describe the bug

Cannot download the blockchain.
Stuck at "Sync step 1/7: Downloading header" or "Running" (cuz cannot find peers)

Logs screenshot
Logs file
.epic/main/epic-server.toml

OS: MX Linux (Debian GNU/Linux 12 (bookworm))
rustc 1.77.2 (25ef9e3d8 2024-04-09)
cargo 1.77.2 (e52e36006 2024-03-26)

System info
Additional context Many times i had to kill epic process cuz it took too much time to exit.

I have the same problem, and am using the same Rust version. It connected to 13 peers but I am stack on downloading headers. After quitting it I discovered that it output to the terminal:
The file `/usr/share/epic/foundation.json` was not found!
Will try to use the alternative file `/home/admin_u/epic/debian/foundation.json`!

I managed to install all the .deb packages of epic, epic-wallet and epic-miner. I think the problem was in the absence of libssl1.
Then after the sync of my GUI wallet which was working and done successfully, I copied my chain_data from /home/chakra/.epic/shrouded/main/chain_data/ (which is my GUI wallet) to /home/chakra/.epic/main/chain_data/ (which is the directory created by the standalone server).
Now the server seems to be running normally and i am not getting any of those errors i was getting in the logs.
Screenshots

But, when i run the miner, i get these errors:
Error

$ epic-miner
Starting Epic-Miner from config file at: /opt/epic-miner/epic-miner.toml
May 01 12:15:18.209 INFO This is Epic-Miner version 2.3.1 (git debian/2.3.1-1), built for x86_64-unknown-linux-gnu by rustc 1.35.0 (3c235d560 2019-05-20).
May 01 12:15:19.218 WARN Connection Status: Connected to Epic server at <IP_ADDRESS>:3416.
May 01 12:15:20.009 INFO Got a new job: JobTemplate { height: 2467731, job_id: 0, difficulty: [("cuckoo", 3), ("randomx", 4000), ("progpow", 200000)], block_difficulty: [("cuckoo", 38642076), ("randomx", 291828428), ("progpow",<PHONE_NUMBER>46)], pre_pow: "0006000000000025a7930000000066320827c410916dd5488dc8fd9ed39219a552f727dc8d41e4f31292a94e92afa158f0bb6c3007d92001ac13b4432ccf94acb9f8ea9a4720903c50772f1173bbb44fae0f9f388491e5ed47d83aaaa3792a1100ee7694a45d9559f7e66ba763887a30cca6e9e97da6eea15ddb430286221bd2f8d9e71f22e8a0baeb2ef02da22529a3e6efdca96f38c3dc6d8d6eb6431d0b4096f4d37175d3906ba75dfd982e129cfff851186c8e5b90f5888d57aeef6c4082ea7c75bb93789ef1c600b2ee7170d7dcf5aa000000000062d87b00000000005346120000000000000004000000000000969e50010000411ee44cd46802000c58ac4f32057203507a2b0fea42015f0000000d", epochs: [(2467060, 2468060, [68, 129, 229, 98, 238, 129, 32, 59, 163, 181, 71, 205, 136, 106, 203, 175, 83, 7, 167, 11, 239, 4, 151, 103, 91, 53, 117, 16, 187, 149, 113, 242])], algorithm: "randomx" }
May 01 12:15:20.009 INFO Got a job at height 2467731 and share difficulty "Cuckatoo: 38642076, ProgPow:<PHONE_NUMBER>46, RandomX: 291828428"
May 01 12:15:21.010 INFO Mining: RandomX at 0 hps (hashes per second)
May 01 12:15:24.010 INFO Mining: RandomX at 0 hps (hashes per second)
May 01 12:15:27.011 INFO Mining: RandomX at 0 hps (hashes per second)
May 01 12:15:30.011 INFO Mining: RandomX at 0 hps (hashes per second)
May 01 12:15:33.012 INFO Mining: RandomX at 0 hps (hashes per second)
May 01 12:15:36.008 INFO Got a new job: JobTemplate { height: 2467731, job_id: 1, difficulty: [("cuckoo", 3), ("randomx", 4000), ("progpow", 200000)], block_difficulty: [("cuckoo", 38642076), ("randomx", 291828428), ("progpow",<PHONE_NUMBER>46)], pre_pow: "0006000000000025a7930000000066320836c410916dd5488dc8fd9ed39219a552f727dc8d41e4f31292a94e92afa158f0bb6c3007d92001ac13b4432ccf94acb9f8ea9a4720903c50772f1173bbb44fae0f9f388491e5ed47d83aaaa3792a1100ee7694a45d9559f7e66ba763887a30cca6e9e97da6eea15ddb430286221bd2f8d9e71f22e8a0baeb2ef02da22529a3e6efc02f6270145d4c958e17b5f57791d08881a3456499660a57c86aee60d2ab7707186c8e5b90f5888d57aeef6c4082ea7c75bb93789ef1c600b2ee7170d7dcf5aa000000000062d87b00000000005346120000000000000004000000000000969e50010000411ee44cd46802000c58ac4f32057203507a2b0fea42015f0000000d", epochs: [(2467060, 2468060, [68, 129, 229, 98, 238, 129, 32, 59, 163, 181, 71, 205, 136, 106, 203, 175, 83, 7, 167, 11, 239, 4, 151, 103, 91, 53, 117, 16, 187, 149, 113, 242])], algorithm: "randomx" }
May 01 12:15:36.012 INFO Mining: RandomX at 0 hps (hashes per second)
May 01 12:15:38.010 ERRO Failed to submit a solution: RpcError { code: -32502, message: "Failed to validate solution" }
May 01 12:15:38.010 ERRO Failed to submit a solution: RpcError { code: -32502, message: "Failed to validate solution" }
May 01 12:15:39.012 INFO Mining: RandomX at 4496 hps (hashes per second)
May 01 12:15:40.001 ERRO Failed to submit a solution: RpcError { code: -32502, message: "Failed to validate solution" }
May 01 12:15:42.002 ERRO Failed to submit a solution: RpcError { code: -32502, message: "Failed to validate solution" }
May 01 12:15:42.003 ERRO Failed to submit a solution: RpcError { code: -32502, message: "Failed to validate solution" }
May 01 12:15:42.003 ERRO Failed to submit a solution: RpcError { code: -32502, message: "Failed to validate solution" }
May 01 12:15:42.013 INFO Mining: RandomX at 4468 hps (hashes per second)
May 01 12:15:44.004 ERRO Failed to submit a solution: RpcError { code: -32502, message: "Failed to validate solution" }
May 01 12:15:44.004 ERRO Failed to submit a solution: RpcError { code: -32502, message: "Failed to validate solution" }
May 01 12:15:45.013 INFO Mining: RandomX at 4459 hps (hashes per second)
May 01 12:15:46.005 ERRO Failed to submit a solution: RpcError { code: -32502, message: "Failed to validate solution" }
May 01 12:15:46.006 ERRO Failed to submit a solution: RpcError { code: -32502, message: "Failed to validate solution" }
May 01 12:15:48.007 ERRO Failed to submit a solution: RpcError { code: -32502, message: "Failed to validate solution" }
May 01 12:15:48.007 ERRO Failed to submit a solution: RpcError { code: -32502, message: "Failed to validate solution" }
May 01 12:15:48.014 INFO Mining: RandomX at 4489 hps (hashes per second)
^C

Screenshots

I think is error of not being able to "validate solution"
May 01 12:19:42.006 ERRO Failed to submit a solution: RpcError { code: -32502, message: "Failed to validate solution" }
has to do with the same problem of "Hash invalid"
ERROR epic_core::core::block - block header b9c73ea08824 validation error: invalid POW: Verification Error: Hash randomx invalid
also i am getting in the miner
May 01 12:22:14.005 ERRO Failed to submit a solution: RpcError { code: -32503, message: "Solution submitted too late" }

I tried mining on ParrotOS and it worked fine, i just didn't find any blocks cuz i was solo mining. 8000H/s.
I used the same Linux packages downloaded from here i my current MX Linux and ParrotOS, they just didn't work as expected in MX Linux.

Describe the bug

Cannot download the blockchain.
Stuck at "Sync step 1/7: Downloading header" or "Running" (cuz cannot find peers)

To Reproduce

Compile epic and run

Expected behavior The server should work normally and the blockchain should be downloaded.
Required data
Logs screenshot
Logs file
.epic/main/epic-server.toml

OS: MX Linux (Debian GNU/Linux 12 (bookworm))
rustc 1.77.2 (25ef9e3d8 2024-04-09)
cargo 1.77.2 (e52e36006 2024-03-26)

System info
Additional context Many times i had to kill epic process cuz it took too much time to exit.

Hi, please see In the top of the logfile.
20240427 19:14:51.116 INFO epic_servers::epic::server - The policy configuration is: PolicyConfig { allowed_policies: [AllowPolicy { height: 0, value: 1 }, AllowPolicy { height: 480961, value: 2 }, AllowPolicy { height: 1157761, value: 4 }, AllowPolicy { height: 2023201, value: 8 }, AllowPolicy { height: 3175201, value: 16 }, AllowPolicy { height: 4642561, value: 32 }], policies: [{ProgPow: 38, Cuckaroo: 0, Cuckatoo: 2, RandomX: 60}, {Cuckaroo: 0, RandomX: 60, Cuckatoo: 2, ProgPow: 38}, {Cuckaroo: 0, Cuckatoo: 4, ProgPow: 48, RandomX: 48}, {ProgPow: 48, Cuckaroo: 0, Cuckatoo: 4, RandomX: 48}, {ProgPow: 48, Cuckaroo: 0, Cuckatoo: 4, RandomX: 48}, {Cuckaroo: 0, RandomX: 48, Cuckatoo: 4, ProgPow: 48}] }
20240427 19:14:51.116 INFO epic_servers::epic::server - The foundation.json is being read from "/home/debian/foundation.json"
20240427 19:14:51.117 ERROR epic_util::logger -
thread 'main' panicked at 'Error trying to read the foundation.json. Couldn't find/open the file /home/debian/foundation.json!: Os { code: 2, kind: NotFound, message: "No such file or directory" }': core/src/global.rs:658   0: epic_util::logger::send_panic_to_log::{{closure}}
   1: std::panicking::rust_panic_with_hook
   2: std::panicking::begin_panic_handler::{{closure}}
   3: std::sys_common::backtrace::__rust_end_short_backtrace
   4: rust_begin_unwind
   5: core::panicking::panic_fmt
   6: core::result::unwrap_failed
   7: epic_core::global::get_file_sha256
   8: epic_servers::epic::server::Server::start
   9: epic::cmd::server::start_server
  10: epic::cmd::server::server_command
  11: epic::real_main
  12: epic::main
  13: std::sys_common::backtrace::__rust_begin_short_backtrace
  14: std::rt::lang_start::{{closure}}
  15: std::rt::lang_start_internal
  16: main
  17: <unknown>
  18: __libc_start_main
  19: _start

the node can not find correct foundation.json
you can copy the foundation.json from ./debian/ folder into the  ~/.epic/main folder next to the "chain_data" folder
see path epic-server.toml - data_file_dir
else the blockchain validation fails.

Sounds like @johanneshahn has the right solution.  Indeed, foundation file contains information that is required for block validation when syncing the chain.
Please confirm that adding this file has solved your problem, so we can close this issue.

I think it worked, thanks much


chore(script): automatic example module creation

Enables the creation of the examples module and metadata associated with it by using jsdoc decorator tags. There are 3 required tags:

title: the title to be shown
id: the selector for the examples. e.g. <!-- example(go-live) -->
component: the component class name

there are 3 other optional tags, these are:

addlComponents: Comma separated list of additional component class names required for the example. Required by snackbar component
additionalFiles: Comma separated list of additional files required for the example. Required by dialog component.
selectorName: Comma separated list of component class names required for the demo runner.

A simple example looks like:
/**
 * @title Stacked chips
 * @id chips-stacked
 * @component ChipsStackedExample
 */

more advanced scenarios such as snackbar and dialogs look like:
/**
 * @title Dialog elements
 * @id dialog-elements
 * @component DialogElementsExample
 * @addlComponents DialogElementsExampleDialog
 * @additionalFiles dialog-elements-example-dialog.html
 * @selectorName DialogElementsExample, DialogElementsExampleDialog
 */

@DevVersion should also take a look

Per feedback from @DevVersion -

Resolve every export of a ts.SourceFile. There is a getExportsOfModule function
Walk through exports and check if it's a Component and if so -> analyze the decorator function call (resolve templateUrl and styleUrls) (edited)
Resolve example title and example id from JSDoc (using getDocumentationComment())

@DevVersion @jelbourn - I believe I have addressed the outstanding items. Can you please re-review?

@jelbourn @DevVersion - Updated and ready for further review.

Ready for another review :)

tslint is now complaining about the generated file. Should add /* tslint:disable */ at the top of the generated file to avoid this.

@DevVersion @jelbourn  - Ready for another review

I'm closing this PR and gonna redo it given all the merge issues.


Function request: XML documentation comments

Is it possible to add XML documentation comments for .net users:

add command "add XML documentation comments" will work, is it possible to let user to customize command?

I am using visual studio 2022


[android_intent] Add the possibility to open an app chooser

Hello folks,
As in title this is as feature request it will be nice to be able to open an app chooser for android.
My example use case will be to be able to open the chooser in case there is not a default email app:
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.addCategory(Intent.CATEGORY_APP_EMAIL);
startActivity(intent);
startActivity(Intent.createChooser(intent, getString(R.string.ChoseEmailClient)));

Hi @nerder , why do you call to startActivity twice in your example? or is it a typo?
I am asking because I am thinking this could be added to https://github.com/fluttercommunity/plus_plugins/tree/main/packages/android_intent_plus

Hey @miquelbeltran , I guess it's a typo actually since I've taken this from a SO question when I was attempting to launch the chooser using android_intent in flutter.

Actually now that i'm taking a look at this it seems like is not a typo as is in the proposed answer from the SO question: https://stackoverflow.com/a/13849013/4420152

Closing as android_intent is deprecated in favor of android_intent_plus.


compile error

what's wrong?thanks

Hi,
Sorry, but building this on Windows is not supported. In addition, while it is possible to build this code, the app it creates doesn't actually do anything. If it's important for you to get it to compile, then I'd take a look at the path separators.


Use our newly uploaded Spark package in the readme

@elibarzilay,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


other countries

First:
Thank you for your great work!!
Then my Issue:
is it possible to add the possibility to choose the country for the different different distributors? or ist that again a totaly new distributor?
In my case, im looking for https://www.digikey.ch and if posible https://www.distrelec.ch/.
im also willing to pay you a beer or two ;-)

Hi there,
I think this is a duplicate of #65 that I submitted a while ago. Also linked to #12 and #56.
As a temporary workaround for you to be able to use KiCost locally, consider modifying the code to hard-code your country's domain names. Here's how I did it: https://github.com/Laogeodritt/KiCost/commit/4f2ce24291cb3b0ecf7a55b343f40b1fa9ecace6
(Note that this won't work for distrelec.ch as that's a totally different site - you'd have to write your own python module to query and parse their site!)
Regards,
Laogeodritt

For https://www.distrelec.ch/ we don't have a scrap module. You could check #76 with the discussion of the last distributor module developed and start a issue exclusive to this development.
First of all, we have to check if the web site allow to use the manufacture code to search for a part/component.

Hi together
@Laogeodritt , thanks a lot to you. it did not eactly work like that, bud it worked like in my file descripted. (switzerland is allways a bit different with our three langauges and the possibility to choose different currencies).
The code on line 145 should be
url = 'https://www.digikey.ch/products/en?WT.z_header=search_go&lang=en&keywords=' + urlquote(				# Changed to Switzerland
The code on line 149 should be
url = 'https://www.digikey.ch' + url
digikey.txt
@hildogjr : At first i am satisfied. I am currently at my "projectwork" at the BFH-Ti in Bern / Burgdorf and a do not have time to write a scrap module. But when my work ist done, i will write a module for Distrelec.ch.
Yes it is possible to search for a manufacturer code. Works nearly the same way digikey works:
https://www.distrelec.ch/search?q=manuf#

Close the issue.
Linked to internationalization and distrelec.ch add to "road map" in #116.


DOI not working

Thanks so much for this great tool! It really saved my day today.
I am currently writing an essay, and wanted to insert a reference. However the DOI provided ( doi: 10.5281/zenodo.4128479.) does not return anything when entered in my search bar (firefox).
Kind regards,
Joep

Aah, yes that works!
Thanks!
I also had some weird outputs with some maps, so in the end I had to "rescue" them using ArcGIS.


Update README.md

update the readme file after Tom's final review
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant. Add a 'X' to the one that is applicable.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Sample Migration (Moving sample from old repository after completing checklist established)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Command Line
[ ] oneapi-cli
[ ] Visual Studio
[ ] Eclipse IDE
[ ] VSCode

Checklist for Moving samples:
Links and Details can be found in the samples WG Teams Files.

[ ] Review sample design with domain reviewers https://github.com/oneapi-src/oneAPI-samples/wiki/Reviewers-and-Domain-Experts
[ ] Implement coding guidelines and ensure code quality.
[ ] Adhere to sample.json specification. https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-specification
[ ] Run jsonlint on sample.json to verify json syntax. www.jsonlint.com
[ ] Adhere to readme template
[ ] Ensure/create CI test configurations for sample (ciTests field) https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-ci-test-object
[ ] Enforce format via clang-format config file
[ ] Review DPC++ code with Paul Peterseon. (GitHub User: pmpeter1)
[ ] Review readme with Tom Lenth or Joe Oster. (GitHub User: JoeOster)
[ ] Tested using Dev Cloud when applicable
[ ] Implement fixes for ONSAM Jiras
[ ] If you have new dependencies/binaries, inform Samples Project Manager Swapna R Dontharaju (@srdontha) or @JoeOster

update according to Tom's final review.

update

fixed the readme.md based Tom's final review

update again for link

Not sure why I am getting emails in regards to your repo and its PR's, however, I don't see anything wrong with the readne,
If you need help moving your forked changes into oneAPI-src, hit me with an IM and we can step through the process


Testing and sending feedback on @checked

The Flutter SDK is currently ignoring the strong_mode_invalid_method_override error in its analysis_options. In an effort to create a strong-mode-clean codebase, which should help with size and performance of compiled code, and better maintainability, we are looking for solutions to the errors we ignore.
The Dart team has proposed @checked as a solution for strong_mode_invalid_method_override, and they would like us to test it in the Flutter SDK codebase. They would like feedback on the experience, by commenting on https://github.com/dart-lang/sdk/issues/25578
The Dart issue is https://github.com/dart-lang/sdk/issues/25578 and a description of this new feature is at https://github.com/dart-lang/sdk/issues/25578#issuecomment-247739528 (and https://github.com/dart-lang/sdk/commit/05e945d1c0f8ea8dd46ff98af2a959b482bc7008)

cc @leafpetersen

It works!  We've removed strong_mode_invalid_method_override

Great. Thanks :)
On Mon, Oct 24, 2016, 7:58 AM Adam Barth<EMAIL_ADDRESS>wrote:

Closed #5993 https://github.com/flutter/flutter/issues/5993.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/5993#event-833372342, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAVZ44jrtliguwV3MIjDvg_bLABOD_wks5q3EkCgaJpZM4KEHFM
.


Error message at PSO create time instead of runtime

I got the message:
Render pass subpass 0 mismatch with blending state defined and blend state attachment count 1 while subpass color attachment count 0 in Pipeline (0x7f81)!
Which took me a while to figure out because the mistmach is between the renderpass and the color attachment on the blendstate, which are both known at PSO creation time, but it looks like there is no matching here, instead it matches the bound renderpass against the color attachment count at runtime. It would be far easier to debug if a check happened at creation time.

This is VALIDATION_ERROR_02109. I'll move the check to CreateGraphicsPipelines() time as Dan suggests.


atx: add received time in atx and atx header

Motivation

preparing for implementations that require atx timing

beacon
hare active set

Changes

add received time as a field in atx and atx header

bors merge

bors merge


directives not working?

Unless I'm doing something wrong, I copied and pasted the directive examples and got False for both of the tester() == 100 statements.  It returns 10, not 100.
Am I doing something wrong?

Hug 2.1.2
Python 3.5.1

@ericfrederich , you were probably testing those examples from the command line?
This is what I did, and I also got "10" instead of "100".
For me the fix (see pull request) was to add @hug.local() in addition to @hug.get() to make decorators work also from the command line.


fix: FileNotFoundError during generate command

Closes #477.
Summary of Changes

Fix possible FileNotFoundError during generate command
Update smoke test to catch this issue

Testing Instructions

Open terminal in package-parser directory.
Run parse-package generate -a .\tests\data\api_data.json -u .\tests\data\usage_data.json -o .\doesNotExistYet\out.json where doesNotExistYet should, surprisingly, be a directory that does not exist yet.

Ready to be reviewed and merged if OK.


Is it possible to change the Text to SelectableText so that the consumer can copy?

Is it possible to change the Text to SelectableText so that the consumer can copy?

🚀 #25


[Test]Fix case demo is more obvious to understand for ReinterpretAsKeyedStream

What is the purpose of the change
To make case demo more obvious.
Change

To

[INFO] Running org.apache.flink.table.runtime.batch.sql.UnnestITCase
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.266 s - in org.apache.flink.table.runtime.batch.sql.UnnestITCase
[INFO] Tests run: 52, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 80.312 s - in org.apache.flink.table.planner.runtime.batch.sql.OverWindowITCase
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   AggregateITCase.testListAggWithDistinct:667 expected:<List(1,A, 2,B, 3,C#A, 4,EF)> but was:<List(1,A, 2,B, 3,C#A, 4,EF#EF)>
[INFO]
[ERROR] Tests run: 2744, Failures: 1, Errors: 0, Skipped: 22
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO]

[INFO]
[ERROR] Failures:
[ERROR]   AggregateITCase.testListAggWithDistinct:667 expected:<List(1,A, 2,B, 3,C#A, 4,EF)> but was:<List(1,A, 2,B, 3,C#A, 4,EF#EF)>
[INFO]
[ERROR] Tests run: 2744, Failures: 1, Errors: 0, Skipped: 22
[INFO]

@flinkbot test

@flinkbot re-run


[Q] Build from source

Hey @lelegard,
I want to make some changes to the code and build a custom version of tsduck. Can you please provide guidance on how to build from the Github source on MacOS and Linux?
Thank you once again!

https://tsduck.io/doxy/building.html
Found this here.


Upgrade to Django 1.9 and Wagtail 1.9.

Changes Unknown when pulling c2a60f8137774ca73ba844f6ef72c43ee46ac600 on OCW-55 into ** on master**.


docs: document API layers

Preparing for #1780

It seemed that the discussion of the API layers needed one more layer, and that it might fit better on the previous page.

I'm dropping any mention of Polars in this PR, and instead we'll update when the Polars docs are actually in place (#1862). We want the state of the docs to be internally consistent with every commit, even if we know the direction we're going.


DEPRECATED

DEPRECATED - The Symfony\Component\Routing\Route::getPattern method is deprecated since version 2.2 and will be removed in 3.0. Use the getPath() method instead.
in File /vendor/elao/web-profiler-extra-bundle/DataCollector/RoutingDataCollector.php
Line 70
'pattern' => $route->getPattern(),
can you please fix it...

@tubssp could you make the PR ?


chore: resolved gitlink wasn't working because pdbs/xml were not included because of a packaging defect

… its magic
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Fix
What is the current behavior? (You can also link to an open issue here)
pdb and xml files aren't included in the nuspec
What is the new behavior (if this is a feature change)?
pdb and xml files are now included by the nuspec so that GitLink works
Does this PR introduce a breaking change?
It shouldn't. I was able to run build.cmd locally and install said packages with out any issues. Was also able to source step successfully!!!!
Please check if the PR fulfills these requirements

[ ] The commit follows our guidelines: https://github.com/reactiveui/reactiveui#contribute
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:
Resolves https://github.com/reactiveui/ReactiveUI/issues/1254

Coverage remained the same at 65.563% when pulling 4a7172be48aebf2d548e333abca88e04dd4736da on PureWeen:1254_added_pdb_xml_to_nuspec_files_for_gitlink into e41af92acf5cf3051a7413538c5f7f35e728844b on reactiveui:develop.

Coverage remained the same at 65.563% when pulling bf80785344d01edad2a9cff79a757009435e13f4 on PureWeen:1254_added_pdb_xml_to_nuspec_files_for_gitlink into e41af92acf5cf3051a7413538c5f7f35e728844b on reactiveui:develop.

Coverage remained the same at 65.563% when pulling e6a2a10defd2bf77bd4d399242f71a0e4f59531f on PureWeen:1254_added_pdb_xml_to_nuspec_files_for_gitlink into e41af92acf5cf3051a7413538c5f7f35e728844b on reactiveui:develop.

Thanks for the PR @PureWeen!


feat: improve diagnostics if expressions passed into DefinePlugin are failed to parse

Summary
#6242

Checklist

[ ] Tests updated (or not required).
[ ] Documentation updated (or not required).

 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.赵宇豪 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Would you add some snapshots to rspack-test-tools/tests/diagnostics/module-parse-failed?

Would you add some snapshots to rspack-test-tools/tests/diagnostics/module-parse-failed?

done it

Thank you!


Implemented new event renderable:renderLifecycle:anyEvent  to make it easier to listen to renderable events

/claim #359
/closes #359
example of how it works

nice work, a couple tweaks and we're good to go

@seveibar
check these updates


startup.sh should check for all launcher logs

Feedback from a customer (in private ticket 58975):

there's a script on the rstudio docker image at /usr/local/bin/startup.sh that tails a bunch of log files.  As of now, it pulls from /var/lib/rstudio-launcher/Local, in addition to other common logs.  It'd be useful if that script figured out how to pull in the log file of actual launcher profile in use (in my case this is Kubernetes).

This is taken care of in the latest images


Minimamba first run file exists

When running a fresh minimamba, multiple threads might try to create minimamba/pkgs/cache
We need to add a lock I guess.

Or use os.makedirs(exist_ok=True)? Still, I don't know what happens when several threads do it simultaneously.

Hello,
I just wanted to add a +1 here. I get a core dump as well which is kinda cool on CentOS 6 and 7.  anything specific I can provide you to help remedy this?

Ditto, also getting a core dump after a fresh install of miniconda and then mamba.

Might this be related to the "file exists..." and permission-related errors I get after installing mamba in an existing conda environment? Here the trace, in case it helps (install seems to have been successful anyway, and very fast 😁):
Exception in thread Thread-5:
Traceback (most recent call last):
  File "/Users/thomas/anaconda/envs/grapy/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/Users/thomas/anaconda/envs/grapy/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/thomas/anaconda/envs/grapy/lib/python3.6/site-packages/mamba/utils.py", line 20, in get_channel
    return result_container.append(FastSubdirData(Channel(x)).load())
  File "/Users/thomas/anaconda/envs/grapy/lib/python3.6/site-packages/mamba/FastSubdirData.py", line 63, in __call__
    subdir_data_instance = super(SubdirDataType, cls).__call__(channel)
  File "/Users/thomas/anaconda/envs/grapy/lib/python3.6/site-packages/mamba/FastSubdirData.py", line 81, in __init__
    self.cache_path_base = join(create_cache_dir(),
  File "/Users/thomas/anaconda/envs/grapy/lib/python3.6/site-packages/conda/core/subdir_data.py", line 595, in create_cache_dir
    mkdir_p_sudo_safe(cache_dir)
  File "/Users/thomas/anaconda/envs/grapy/lib/python3.6/site-packages/conda/gateways/disk/__init__.py", line 84, in mkdir_p_sudo_safe
    os.mkdir(path)
FileExistsError: [Errno 17] File exists: '/Users/thomas/anaconda/envs/grapy/pkgs/cache'

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/Users/thomas/anaconda/envs/grapy/lib/python3.6/site-packages/conda/gateways/disk/update.py", line 107, in touch
    mkdir_p_sudo_safe(dirpath)
  File "/Users/thomas/anaconda/envs/grapy/lib/python3.6/site-packages/conda/gateways/disk/__init__.py", line 84, in mkdir_p_sudo_safe
    os.mkdir(path)
FileExistsError: [Errno 17] File exists: '/Users/thomas/anaconda/envs/grapy/pkgs'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/thomas/anaconda/envs/grapy/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/Users/thomas/anaconda/envs/grapy/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/thomas/anaconda/envs/grapy/lib/python3.6/site-packages/mamba/utils.py", line 20, in get_channel
    return result_container.append(FastSubdirData(Channel(x)).load())
  File "/Users/thomas/anaconda/envs/grapy/lib/python3.6/site-packages/mamba/FastSubdirData.py", line 63, in __call__
    subdir_data_instance = super(SubdirDataType, cls).__call__(channel)
  File "/Users/thomas/anaconda/envs/grapy/lib/python3.6/site-packages/mamba/FastSubdirData.py", line 81, in __init__
    self.cache_path_base = join(create_cache_dir(),
  File "/Users/thomas/anaconda/envs/grapy/lib/python3.6/site-packages/conda/core/subdir_data.py", line 594, in create_cache_dir
    cache_dir = join(PackageCacheData.first_writable(context.pkgs_dirs).pkgs_dir, 'cache')
  File "/Users/thomas/anaconda/envs/grapy/lib/python3.6/site-packages/conda/core/package_cache_data.py", line 154, in first_writable
    created = create_package_cache_directory(package_cache.pkgs_dir)
  File "/Users/thomas/anaconda/envs/grapy/lib/python3.6/site-packages/conda/gateways/disk/create.py", line 409, in create_package_cache_directory
    touch(join(pkgs_dir, PACKAGE_CACHE_MAGIC_FILE), mkdir=True, sudo_safe=sudo_safe)
  File "/Users/thomas/anaconda/envs/grapy/lib/python3.6/site-packages/conda/gateways/disk/update.py", line 125, in touch
    raise NotWritableError(path, e.errno, caused_by=e)
conda.exceptions.NotWritableError: The current user does not have write permissions to a required path.
  path: /Users/thomas/anaconda/envs/grapy/pkgs/urls.txt
  uid: 501
  gid: 20

If you feel that permissions on this path are set incorrectly, you can manually
change them by executing

  $ sudo chown 501:20 /Users/thomas/anaconda/envs/grapy/pkgs/urls.txt

In general, it's not advisable to use 'sudo conda'.

I think this is solved with the last release.


Can't copy my ssh key if i have 0 TFTs

Description

I wanted to copy my ssh key, but it was disabled as i have zero balance.
i see there's no relation between copying and balance

Screencast from 02-28-2024 10:42:23 AM.webm
Must include any relevant identifiers like:

Network: Dev https://staging.dashboard.dev.grid.tf/#/deploy/sshkey/

Twin ID: 5110

network : devnet
version : f530d72
user can now copy his ssh even when he has 0 tfts.
https://github.com/threefoldtech/tfgrid-sdk-ts/assets/110984055/40e20e13-dc05-4d77-a39f-0dac7c9a6568
https://app.testlodge.com/a/26076/projects/40893/suites/234374?expand_section=430164#case_4177816

verified:

Devnet
f3e199e


Update generated documentation after fixing px.otel and px.export docs

Signed-off-by: Phillip Kuznetsov<EMAIL_ADDRESS>

This is strange: these updates are included in the prod branch, but they aren't visible on the website. For example, this page still includes deployment_name.

In case this happens again, the fix for this was to log into Netlify, select the latest Production build, then select Options --> clear cache and retry deploy.


Hot Keys

It would be amazing if we could get a ? to display any of the available hot keys.
Keeping the hands at the keyboard is important to me :)

I added bolder and more responsive tooltips with the shortcut to the "Start Mobbing" and "Continue" buttons. A design goal of this app is to teach users as they use it rather than as a separate step, and I hope this helps to achieve that.
How does this seem to you? Any other suggestions around this? And thanks for the feedback! 😄

(By the way, this is available in the latest release)

Also added a setting to change the global show/hide shortcut in the config page. Hopefully this makes it a little more discoverable. Open to future improvements, but I'm closing this for now. Feel free to open up another issue with more suggestions!


delete cell value using Back button,The page will go back to the previous page

when user need to delete cell value, need double clike cell .and delete it .
if using backspace， page will go back after cell value delete.
Does anyone know how to do it ? thanks.

You probably need an event to handle that. You can try onkeydown, this is a default browser behavior.


chore(CSI): code cleanup and maintainability

Since #2970 focuses mainly on ToNative
There were a few tweaks I wanted to make to ToSpeckle to improve code readability
This PR is mostly auto-refactorings and code style changes to improve the readability of the CSI converter codebase, and to ensure we are conforming to our codeing standards.
Before Merge:
Re-target to dev

Since we're rushed for time, lets not merge this one for 2.17.
I've created a new PR with a couple of the important changes #3029
We can pick this PR up for 2.18, or re-create most of the changes if it's easier.


Building pdf on linux fails with texmf/lua error

I just cloned the repository and attempted to build the example resume into a pdf. I'm on openSUSE Leap 42.2, and have installed texlive, context, and pandoc as specified in the README. I'm pretty sure I'm missing some dependency, or texlive/texmf is not configured correctly, but I'm not a TeX expert so I'm sort of at a loss what the error message below means.
The make html command works fine, this is primarily and tex/pdf issue as far as I can tell.
Running the make command fails as follows:
$ make pdf
pandoc --standalone --template style_chmduquesne.tex \
--from markdown --to context \
-V papersize=A4 \
-o resume.tex resume.md; \
context resume.tex

mtxrun          | forcing cache reload
resolvers       | resolving | looking for 'texmfcnf.lua' on given path '/home/chris/texmf/web2c' from specification 'home:texmf/web2c'
resolvers       | resolving | looking for 'texmfcnf.lua' on weird path '/etc/texmf:/etc/texmf/web2c:/var/lib/texmf/web2c:$TEXMF/web2c' from specification '/etc/texmf:/etc/texmf/web2c:/var/lib/texmf/web2c:$TEXMF/web2c'
resolvers       | resolving |
resolvers       | resolving | warning: no lua configuration files found
resolvers       | resolving | no texmf paths are defined (using TEXMF)
resolvers       | resolving |
mtxrun          | the resolver databases are not present or outdated
resolvers       | resolving | using suffix based filetype 'scripts'
resolvers       | resolving | remembering file 'mtx-context.lua' using hash 'lua::mtx-context.lua'
resolvers       | resolving | using suffix based filetype 'scripts'
resolvers       | resolving | remembering file 'mtx-contexts.lua' using hash 'lua::mtx-contexts.lua'
resolvers       | resolving | remembered file 'mtx-context.lua'
resolvers       | resolving | using suffix based filetype 'scripts'
resolvers       | resolving | remembering file 'mtx-t-context.lua' using hash 'lua::mtx-t-context.lua'
resolvers       | resolving | using suffix based filetype 'scripts'
resolvers       | resolving | remembering file 'mtx-t-contexts.lua' using hash 'lua::mtx-t-contexts.lua'
resolvers       | resolving | remembered file 'mtx-t-context.lua'
resolvers       | resolving | using suffix based filetype 'scripts'
resolvers       | resolving | remembering file 'context.lua' using hash 'lua::context.lua'
mtxrun          | unknown script 'context.lua' or 'mtx-context.lua'
Makefile:5: recipe for target 'resume.pdf' failed
make: *** [resume.pdf] Error 1

(Sorry for the delayed response)
That's a strange error, and it's probably something like you suggest, a configuration issue. I presume you installed both context and texlive using SuSe's package manager? Maybe you can try compiling some simple documents with luatex and pdftex, that could give more clues?

@cbcoutinho Hi ! I too got the same error when I ran make for the first time.
If you see the context_resume.log in the output folder, it might say something like unknown script 'context.lua' or 'mtx-context.lua'. Check for the following two things to resolve this:

Check if context's texmf is added in your PATH variable in bash profile.
(The path to texmf for me looks like this : "/Users/shashank/context/tex/texmf-osx-64/bin")
If the above is done then try running: mtxrun --generate

Doing these two steps worked for me.

Thanks for the tip! Indeed, running mtxrun --generate in the project directory fixed the problem and now building the pdf works


json2Pojo type conflicts

FATAL EXCEPTION: main Process: com.lh.android, PID: 30390 com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Expected an int but was 10.19 at line 1 column 86 path $.productTag.price

Expected Int, received double


Possible Improvements

I checked out your project from Tim Corey's Challenge.
Have you thought of the following (which I can help with)

Doing a WebUI (in blazor).
For this, its actually possible to create a UI in blazor which can be shared with Windows Forms, WPF, etc. with Blazor Hybrid.
If that interests you, I can help with that.

Create a class library for the behind the scene stuff.
This means if somebody wants to create their own UI for the system, they can.
I can help with that as well

If there is lots of repeating code, I may even be able to create a source generator so all the routine stuff is done automatically as well.

Here is my link to github that shows many projects I have done.
https://github.com/musictopia2
I would love working with you if possible.

Thanks! WebUI sounds interesting. Definitely something to explore :) I'll let you know when I'm ready.

Maybe the app should do the emailing rather than just build a .txt? I have some MailKit code I could contribute...


<EMAIL_ADDRESS>update suggest vcredist2019

issue ref: https://github.com/lukesampson/scoop-extras/issues/4126

/verify


Using UUID in API routes gives Cannot read properties of undefined (reading 'v4')

Describe the bug
I try to use uuid.v4() in an API route but Sveltekit is giving me this error. Code:
import * as uuid from 'uuid'
import { v4 as uuidv4 } from "uuid";
export const GET = async () => {
  // console.log('uuid', uuid.v4())
  console.log('uuidv4', uuidv4())

}

Reproduction
https://github.com/ThangHuuVu/sveltekit-uuid-reproduction
https://sveltekit-repro-uuid-thvu.vercel.app/
Logs
Cannot read properties of undefined (reading 'v4')
TypeError: Cannot read properties of undefined (reading 'v4')
    at GET (/Users/thangvu/repos/github/sveltekit-repro-uuid/src/routes/api/test/+server.js:5:24)
    at render_endpoint (file:///Users/thangvu/repos/github/sveltekit-repro-uuid/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.584_svelte@3.54.0+vite@4.0.1/node_modules/@sveltejs/kit/src/runtime/server/endpoint.js:45:26)
    at resolve (file:///Users/thangvu/repos/github/sveltekit-repro-uuid/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.584_svelte@3.54.0+vite@4.0.1/node_modules/@sveltejs/kit/src/runtime/server/index.js:398:23)
    at async respond (file:///Users/thangvu/repos/github/sveltekit-repro-uuid/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.584_svelte@3.54.0+vite@4.0.1/node_modules/@sveltejs/kit/src/runtime/server/index.js:261:20)
    at async file:///Users/thangvu/repos/github/sveltekit-repro-uuid/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.584_svelte@3.54.0+vite@4.0.1/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:480:22

### System Info

```Shell
System:
    OS: macOS 12.5.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 85.08 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.17.0/bin/yarn
    npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm
  Browsers:
    Chrome: 108.0.5359.98
    Firefox: 107.0.1
    Safari: 15.6.1
    Safari Technology Preview: 16.0

Severity
annoyance
Additional Information
No response

I am seeing the same error in my project. The vite build and vite preview tasks work, but the dev server shows the error.

I'm seeing this in my hooks.server.js as well.
  Binaries:
    Node: 18.2.0 - ~/.nvm/versions/node/v18.2.0/bin/node
    npm: 8.11.0 - ~/.nvm/versions/node/v18.2.0/bin/npm
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.91
    @sveltejs/adapter-node: 1.0.0-next.100 => 1.0.0-next.100
    @sveltejs/kit: next => 1.0.0-next.589
    svelte: ^3.54.0 => 3.54.0
    uuid: ^9.0.0 => 9.0.0
    vite: ^4.0.0 => 4.0.0

this was working for us in hooks.server.ts in "@sveltejs/kit": "1.0.0-next.570", upgrading to 1.0.0 I see the same issue.

this seems to be an issue in vite, tracked at https://github.com/vitejs/vite/issues/11385

This is fixed in vite 4.0.3


hardhat_api: Implement hardhat_setBalance API endpoint

What :computer:

Added hardhat_setBalance method

Why :hand:

Allows users to set balance on arbitrary accounts

Evidence :camera:

Notes :memo:
Fixes https://github.com/matter-labs/era-test-node/issues/76

merged upstream