__dirname is not defined in ES module scope

ReferenceError: __dirname is not defined in ES module scope
Unfortunately, oso appears to have trouble running when I build it as part of an ESM project because it references __dirname in certain parts of the code below:
//<EMAIL_ADDRESS>var path2 = __require("path").join(__dirname, "polar_wasm_api_bg.wasm");

In my own code, where I load the .polar files, I work around this issue using the ESM recommended approach:
import path from 'path';
import { fileURLToPath } from 'url';

const dirname = path.dirname(fileURLToPath(import.meta.url));

await oso.loadFiles([path.resolve(dirname, 'main.polar')]);

Fascinating! Thanks for pointing this out @pheuter. It sounds like you're able to work around the __dirname issue when specifying .polar files to load, but you'd have to modify the distributed package in order to work around the internal usage of __dirname — is that accurate?

@gj Exactly, hence the hard block.

Updated issue description, removed snippet that was irrelevant to oso, think it's just one place where __dirname is used that the runtime complains about.

@pheuter are you able to provide a minimal reproduction (in a gist or repo) that I could use to try to reproduce the issue? Probably comprised of the toolchain you're using to build your ESM project + a single file that imports Oso.

@gj As I started working on the repro I was able to figure out that I should be declaring oso (as well as some other deps) as external instead of bundling it and causing issues.

I'm using SvelteKit, which means moving oso from devDependencies to dependencies.

Oh great! So everything's working now?

Yes, it now slightly complicates the oso.loadFiles call since the main.polar file isn't automatically copied over to the build directory, but that's def not a hard blocker anymore, esp since oso.loadStr() exists.

Appreciate the quick response 👍


Clean inconsistent whitespaces while respecting .editorconfig

Same like in ErlyORM/boss_db#236. This will help to clean the codebase and future PRs will only show the diffs of the actual code changes.

merged, thanks


data_structures:add_nodes_from & add_edges_from

Since you're checking the types in the add_node function, maybe you don't need to double check in the add_nodes_from one. Same for add_edges_from.

Well, not for add_edges_from because you're using nx functions, I removed the extra checking in add_edges_from


[core] Slack notification

Hi,
Thanks for nice app
It would be nice to support slack notification per channel.
Right now you have to create webhook per each channel and then configure filter, etc.
Slack supported webhook that can send msg in any cahnnel, so in this case you can have only single webhook then change destination slack channel -> https://api.slack.com/messaging/webhooks#oauth_response
As you have https://github.com/kyverno/policy-reporter/blob/61d883dad1f4e4333ea544eea143167dcb3e3e20/pkg/target/slack/slack.go
For example,To add an option to configure the channel for Slack in the slack.client code, you can add a new field to the client  struct to hold the channel name or ID, and then include this field in the Slack webhook payload.
Here's an example of how to modify the slack.client code to include a configurable channel:
 type client struct {
	target.BaseClient
	webhook      string
	client       http.Client
	customFields map[string]string
	channel      string // new field for channel name or ID
}

func (s *client) newPayload(result report.Result) payload {
	p := payload{
		Attachments: make([]attachment, 0, 1),
		// include the channel name or ID in the payload
		Channel: s.channel,
	}

	// rest of the code remains the same
	// ...
}

func NewClient(name, host string, skipExistingOnStartup bool, filter *report.ResultFilter, httpClient http.Client, customFields map[string]string, channel string) target.Client {
	return &client{
		target.NewBaseClient(name, skipExistingOnStartup, filter),
		host,
		httpClient,
		customFields,
		channel, // initialize the new field with the channel name or ID
	}
}

When creating a new slack.client, pass the channel name or ID as an argument to the NewClient() function.
But need to improve helm chart, doc, read configmap, etc

Hey, thanks for this suggestion. I will have a look on it.

The latest release has channel support with the new „channel“ property. If you define multiple channel slack targets the sub target inherit the webhook from the root slack target if not specified. So you only need to configure it ones.


does not work

Trying to use in jasmine with protractor:
   since("Asdasds").expect(1).toBe(2);

but still got regular error message:
1) Navigation Bar as Designer all buttons should exist in DOM
  Message:
    Expected 1 to be 2.
  Stack:
    Error: Failed expectation

my environment:
set@set:~/www/softline/wab/autoTests$ npm list | grep "jasmine"
├─┬<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>set@set:~/www/softline/wab/autoTests$ npm ls | grep jasmine-custom-message
├──<EMAIL_ADDRESS>set@set:~/www/softline/wab/autoTests$ protractor --version
Version 1.6.1
set@set:~/www/softline/wab/autoTests$

Ok. Let me check it.

@avrelian, Did you manage to reproduce this?

No. My tests are passing, so it could be protractor-specific problem. I have no time to dive into Protractor. Could you help me in finding the reason?

I have no idea how can I help and how the reason can be found. Maybe you have some ideas on this?

I can confirm this library does not work when using jasmine with protractor

Probably has something to do with this here: https://github.com/angular/protractor/blob/master/lib/frameworks/jasmine2.js

Thank you for the confirmation, Michael. I'll fix it ASAP, if it could be fixed.

My specs with protractor are passing with no additional work on my side for jasmine1.3. For jasmine2.0  my specs are failing, so I need explicitly specify what version of framework I intend to use.
Michael, Konstantin, please specify version of framework in protractor configuration file
exports.config = {framework: 'jasmine2'}
and let me know guys if it works. Otherwise, please reopen the issue.


Request: chrome.webRequest.* API

They're super-useful for headless video extraction from a page https://developer.chrome.com/extensions/webRequest
would be awesome to have them implemented in Electron.

/cc @deepak1556

Related https://github.com/atom/brightray/pull/119 wasnt sure of the design. webContents.webRequest would be better, we can proxy chrome.* if needed.
/cc @zcbenz  @hokein  @paulcbetts

I too would find this incredibly useful.

I'm not super excited about this, we have both protocol overrides and Service Workers, I don't know that we need a 3rd independent API for this, and we've already set a precedent that we're not implementing the Chrome packaged API

@paulcbetts Our protocol overrides aren't really complete, when we intercept the protocols it loses most of it's info like cookies, custom headers or post data too (maybe?).

Also, we don't have any concept of Async protocol interception or stuff.

Also, we don't have any concept of Async protocol interception or stuff.

We do now!

Our protocol overrides aren't really complete, when we intercept the protocols it loses most of it's info like cookies, custom headers or post data too (maybe?).

So let's just fix the bug, instead of burning down the world and adding a new API

We do now!

Sorry but I am unable to find it in the docs :) https://github.com/atom/electron/blob/master/docs/api/protocol.md

So let's just fix the bug, instead of burning down the world and adding a new API

I agree that the existing protocol stuff is useful, but in our current API we would have to intercept protocols to know about the data flowing between them, You can't implement a download manager that automatically checks the headers of the requests and filters them based on that.

@paulcbetts I haven't done any tests yet, but I have a hunch that protocol overrides won't work inside of a webview/iframe. I'll check ASAP. That's my primary use-case, and I'd like to be able to access all the information on the request, as @steelbrain said. If the current protocol system works with these, I'd be fine leaving this unimplemented. However, it does seem to be a weird way to monitor HTTP requests.
Something like webContents.on('request', callback(data)) would feel much more natural.

+1 webview.on('request', callback) and/or webview.on('will-navigate', callback) – with ability to cancel the whole thing.

@alexindigo Yes, this would be a potential use case, and in-fact, one of the main reasons why I'd be interested in this. (For example, see https://github.com/Nateowami/BackLoader.) There would be no way to implement the meat of that Chrom(e/ium) extension in an electron-based program.

@paulcbetts, @Tribex Initial tests seem to indicate that the protocol methods do handle requests inside a BrowserWindow, but I cannot get them to be redirected to the default handlers. Anything returned from the handler, null, undefined, or otherwise, causes a segfault.

My use case is to be able to show in webview pages from one domain (like my bank) and open other domains (if user ckicked links or other activity) in new window. But of course allowing original page to load external resources (CDN, analytics, ads).

Initial tests seem to indicate that the protocol methods do handle requests inside a BrowserWindow, but I cannot get them to be redirected to the default handlers. Anything returned from the handler, null, undefined, or otherwise, causes a segfault.

So what I'm saying is not trying to assert that it works perfectly now, but that we should identify the reasons why it doesn't work perfectly and fix them - I don't mean to say that these existing issues aren't legit

@paulcbetts Yes, I understand that point, and it would probably be the best idea, but are you sure protocol handlers are the best way to implement features such as this? (Also, how do Service Workers factor in to this issue? Care to elaborate?)
Thanks!

This is a interesting issues, I have been searching some way to proxy all http/https request in the  for a long time, it torment me.
By now, I found some possible way(They will be work in the future):

protocol: Doesn't work.
webRequest: Electron doesn't support chrome.* api, and the "webContents.webRequest" doesn't exists by now.
Service Worker: It need "https", if you want use it in "file", wait for https://github.com/atom/electron/pull/2852
Proxy: You can start one http proxy on PORT, and set the command argument "proxy-server", but it sames that you cann't proxy&intercept "https" request.
Webview#Event: Doesn't work.

If you are looking for some way to proxy http/https request, just stop here...

Why doesn't protocol work?

@Tribex
protocol's callback only provide url, method, referer and session, i can not get the params, headers, cookies(maybe in session), and i don't know how to proxy response, and lack of document......
If I wrong, please teach me how to proxy request use protocol. :laughing:

Yes, I believe checking what's in session would be what's needed. I've toyed around with an earlier version of this, but haven't really tried to determine where everything is.


Ehienabulele workshop doc

@ehienabulele Image is available for testing. docker pull stakater/workshop-excercise:SNAPSHOT-PR-18-097c0472


Content changes

content changes done

content changes done as per doc - rehill - content corrections 19 Sep 2017


this PR is made by mistake

Description

Notion Test Page ID

this pr is made by mistake. closed.


Flyway version 9 having issue to connect to Mysql SSL enabled User

Which version and edition of Flyway are you using?
Flyway version 9.19.4
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
All flyway version above 8.0 throwing the same issue
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
command-line
Which database are you using? (Type & version)
Amazon Aurora
Which operating system are you using?
Mac and Linux
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
Tried executing flyway info on the Amazon Aurora Database which has mysql user with tis_option set as SSL.
flyway info -url="jdbc:mysql://amazon-rds-url/db_name?useSSL=true&requireSSL=true" -user=Abhishek -password=xxxxxxx
Error:-
SQL State  : 08000
Error Code : -1
Message    : Could not connect to address=(host=dbs-aurora-msf-gpls-perfizdb-dm-tf-test.cluster-couctixqsm8e.ap-southeast-1.rds.amazonaws.com)(port=3306)(type=master) : Could not connect to dbs-aurora-msf-gpls-perfizdb-dm-tf-test.cluster-couctixqsm8e.ap-southeast-1.rds.amazonaws.com:3306 : PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
When removing the SSL flag:-
flyway info -url="jdbc:mysql://amazon-rds-url/db_name" -user=Abhishek -password=xxxxxxx
Error:-
SQL State  : 28000
Error Code : 1045
Message    : Could not connect to address=(host=dbs-aurora-msf-gpls-perfizdb-dm-tf-test.cluster-couctixqsm8e.ap-southeast-1.rds.amazonaws.com)(port=3306)(type=master) : (conn=2123) Access denied for user<EMAIL_ADDRESS>(using password: YES)
Current charset is UTF-8. If password has been set using other charset, consider using option 'passwordCharacterEncoding'
Also to bring into the conversation when MYSQL user's don't have the tis_option set to SSL flyway version 9 works smoothly.
Can someone help me out with the solution of the above issue, Thanks.

HI @Abhishek010397 , for SSL support, you might need to refer to guidance at https://documentation.red-gate.com/fd/ssl-support-184127478.html


Add more thread-safety measures

Change our declarations to my. They are only referenced locally.
Protect a hash and an array access with locks.

I have actually hit an issue with %class where it was accessed concurrently.
@catalogs is risking the same fatum as arrays are not thread-safe either.
I also considered it more appropriate to have these protected with my as nobody would then be seduced by possibility of mangling with them manually.

Thanks, Released with LibXML 0.6.14


Property has no initializer and is not definitely assigned in the constructor which defined it through function

TypeScript Version:  v4.1.0-dev.20201026

Search Terms:
has no initializer and is not definitely assigned in the constructor
Code
class Foo {
       bar: string

       constructor() {
              this.init()
       }

       init() {
              this.bar = 'test'
       }
}

Expected behavior:
Should not throw error, because i call init in constructor scope. and bar must be have data
Actual behavior:
Property 'bar' has no initializer and is not definitely assigned in the constructor
Playground Link:
https://www.typescriptlang.org/play?ts=4.1.0-dev.20201026#code/MYGwhgzhAEBiD29oG8BQ0OegIzAJwC5oIAXPASwDsBzVdLDYeS0vAV2BPjwAoBKFPQbDoJABbkIAOirkS-IVgC+dEbPkC0IkeMlTceaAF5oAchIBTUqcWYVSoA
Related Issues:

Duplicate of #21132.

@MartinJohns Thanks for you reply, i will be close it.


Update to Leptos 0.7

Hi, I took a stab at it based on your work in #38, but it is not finished yet, so any help would be appreciated.

Thank you! 😭
I hadn't gotten the time to get around to this yet. Thanks for picking it up.
@argha-dot can you help out here as well?


Refactor the whole webserver

Refactor the whole webserver to be much more like a normal node project, with some structure to it instead of a single file.
Resolves #321
Resolves #257
Resolves #175

:shipit:


Show static ferry map on new line diagram

Asana Ticket: Line Diagram | Ferry
Introducing a StaticMapData type: If this prop is given to ScheduleDirection, it will replicate the "static map image with PDF link" behavior from the old line diagram, and not attempt to fetch dynamic map data. Currently this only occurs for ferries, which is determined by the server-side display_map_link? helper.

@ingridpierre It seems like the "View schedules" links already work okay, modulo some line diagram weirdness that I have documented here.

This looks pretty great so far, just wondering if while we're here we can trim the white edges around the map images so it looks a little cleaner and less floaty/indented?
Not sure if we're using something from the CMS or if there's some assets you can send over to me to crop manually.

@ingridpierre The padding is part of the image, which seems to be configured in the CMS. I'm not quite sure how it works beyond that, but the path is /sites/default/files/maps/2018-08-ferry-map.png.

Sounds like it wont need any work on this end then, I'll look into it with Aayesha.


v1.12 Backports 2023-07-26

[x] #27002 (@michi-covalent)
[x] #27014 (@qmonnet)

Once this PR is merged, you can update the PR labels via:
for pr in 27002 27014; do contrib/backporting/set-labels.py $pr done 1.12; done

or with
make add-labels BRANCH=v1.12 ISSUES=27002,27014

/test-backport-1.12

Note for maintainers:
After merge, the following checks will need to be unmarked as required on v1.12:

ingress-conformance-test

And the following checks will need to be marked as required instead:

ConformanceIngress

@cilium/tophat, feel free to approve but I'll take care of merge after releases since I can then adjust the branch protection immediately afterwards.


Handle lost session on rpc data

Solves #401, check if the session exists like when running exit
However, i think there's something that's not done correctly when closing tabs that makes this happen, will investigate more. Possibly race-condition?
If you open a couple of tabs and then close them all quickly it logs session not found by from rpc.on('exit').., maybe the close is happening more than once if you do it fast, before it actually got time to close.

There's definitely a race condition. I think we need to solve it properly. We should probably use a redux logger to inspect the state over time. The problem is that I was only able to reproduce this "at high speed". I would turn on the redux logger and then the problem would go away.
tl;DR: https://en.wikipedia.org/wiki/Heisenbug


Add native support for running dbt test as part of meltano elt

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2547
Originally created by @nsamuell on 2021-01-28 23:29:53

Problem to solve
As a fan of dbt, I really like the ability to run dbt test as part of my regular ELT pipelines. In fact, outside of Meltano I'd probably setup Airflow DAGs that would run a dbt project in stages like:

dbt test against the source rows that have been EL'd in
dbt run to build the analytics models
dbt test again to validate the analytics models

If any of those tasks fail, the whole DAG would fail. However, there doesn't seem to be a way to actually run dbt test as part of a meltano elt pipeline, which means that I would have to refactor my project to use Meltano for "EL" but dbt and airflow separately for the rest...
So overall, the problem is that: I want meltano to support running dbt tests in my pipelines so I can be confident about the quality of my pipeline runs without configuring a separate dbt project.
Target audience
Data engineers who want to use dbt test to automate schema and data tests for their pipelines.
Proposal
My initial idea would maybe be to extend meltano elt with another argument, like...
meltano elt tap-gitlab target-postgres --transform run --test

If the transformer supports it, that would add a "test" stage on the end of the pipeline so that it would become tap > target > transform > test.
What does success look like, and how can we measure that?
Not sure; I'm sure the maintainers here would have a better idea of how to tackle this...
For me, success would be that I could guarantee that dbt test runs every time the related tap runs :smile:
Regression test
(Ensure the feature doesn't cause any regressions)

[ ] Write adequate test cases and submit test results
[ ] Test results should be reviewed by a person from the team

Links / references
Please note that this was taken from GitLab, to be changed accordingly

View 10 previous comments from the original issue on GitLab


[wip] Test PR for changes to Stripe internal build infra

Motivation
No changes, just a test PR for changes to Stripe internal build infra.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_IpFp4xZ0W44rE6
→ https://go/builds/bui_IpFpKP2kxaFPDq

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_IpFp4xZ0W44rE6
→ https://go/builds/bui_IpFpKP2kxaFPDq

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_IrtWT3e8N501mR
→ https://go/builds/bui_IrtWY8jc0PU7mr

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_Irupz9lkqSmFxN
→ https://go/builds/bui_IrupKmlg4iMZLR

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_Irvg9LDeaUqARd
→ https://go/builds/bui_Irvg2GhGWPk6hC

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_IrvvibW8KqXDTu
→ https://go/builds/bui_IrvvA4tcBNkRT0


Specified cast is not valid on 3rd Include

Not to duplicate work, but I posted my issue on this closed post in case no one will look at a closed issue.
https://github.com/aspnet/EntityFramework/issues/1748
Thanks,
Ninos

Can you open the issue over on the EF6 project - github.com/aspnet/EntityFramework6.

Thank you for checking. I Will do that, and I also found a work around for it.


Documentation updates

What does this PR do?
Various documentation changes.

Tables in reST source will not take up more than 215 characters per line
Space indentation will be replaced with tabs
Bold-faced terms and phrases followed by block-quoted text will be replaced with definition lists or sections as appropriate
Instructions on how to accomplish things with the Traffic Ops API will be replaced with their Traffic Portal equivalents
Undocumented API endpoints/parameters will be documented
Grammatical, spelling and spacing issues will be rectified
Sections requiring further explanation will be expanded upon

One thing I'm not planning on is updating any documentation related to the Traffic Ops UI. I'll still adjust the formatting, though.
Which TC components are affected by this PR?

[x] Documentation
[ ] Grove
[ ] Traffic Analytics
[ ] Traffic Monitor
[ ] Traffic Ops
[ ] Traffic Ops ORT
[ ] Traffic Portal
[ ] Traffic Router
[ ] Traffic Stats
[ ] Traffic Vault
[ ] Other _________

What is the best way to verify this PR?
Check all that apply

[ ] This PR includes tests
[x] This PR includes documentation updates
[ ] This PR includes an update to CHANGELOG.md
[ ] This PR includes all required license headers
[ ] This PR includes a database migration (ensure that migration sequence is correct)
[ ] This PR fixes a serious security flaw. Read more: www.apache.org/security

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2443/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2444/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2445/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2446/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2447/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2448/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2450/
Test PASSed.


Update algolia logos

ping @vvo

Could you add a few screenshots of how it looks like on the website for future PR like this? Makes changes in design much easier to understand.

Good point, I am also close to have automatic PR deployed (for RIS)

Oh yeah my bad. Here is what I updated  :


implementing numpy.delete()

Description
I would like to start contributing to cupy by implementing numpy.delete() method into cupy code base.
Additional Information
No response

Hi, thanks for your interest in contributing to CuPy! I think it's better to discuss the strategy first, before actually starting to code. The implementation of cupy.ndarray.__getitem__ might be a good reference to get the idea. Let me know your thoughts.

Hi @kmaehashi, I have looked over cupy.ndarray.__getitem__  in the search but didn't found it, instead I've searched over to construct a strategy.  we'll need create or use other functions in order to implement our function correctly some of which are :

check if the argument passed is an array
and the axis to delete from
a 1-dim delete function if no axis passed
a n-dim delete function if axis passed

our main and helper functions  would be implemented in https://github.com/cupy/cupy/blob/a3b19f4b91ede049691e92eae7f19e5877fcf5a8/cupy/_manipulation/add_remove.py
that right ?
Any other thoughts would be helpful.

The entrypoint for cupy.ndarray.__getitem__ is here:
https://github.com/cupy/cupy/blob/v12.0.0b3/cupy/_core/core.pyx#L1512
Essentially numpy.delete is an inverse of __getitem__ so you will need similar machinery.  For each index type (slice, int, CPU array of ints, GPU array of ints, or GPU array of bool (mask)), a different optimization might be required to minimize the number of copies and memory allocation size for the output array.
https://numpy.org/doc/stable/reference/generated/numpy.delete.html


Rendered whitespace characters non-uniform

I just updated from 1.66.2 to 1.75.1, and noticed the rendered whitespace characters are rendered non-uniformly. The varying brightness on each individual dot, representing a space, is very distracting.
Here is how they look on 1.66.2:

Here is how they now look on 1.75.1:

Also, the inconsistency doesn't seem to be applied statically. Here is a video of the issue as I create spaces:
https://user-images.githubusercontent.com/3360138/218087750-89b0bf03-8d47-4b9c-871b-474240df8ef3.mp4

I'm unable to reproduce the issue.
What operating system are you on, and does the issue occur with other colour themes?
Also, does the issue occur when launching Code from a terminal with the --disable-gpu flag, i.e. code --disable-gpu?

I'm experiencing the same issue. I ran VS Code with:
code --disable-extensions --disable-gpu and still get the same result, regardless of language mode or theme:

Are you using custom fonts with ligatures? Wondering if it affect display somehow

Are you using custom fonts with ligatures? Wondering if it affect display somehow

I am, but it turns out that doesn't seem to be the culprit. I whittled down my settings.json file and found that it's an artifact of a negative window.zoomLevel:

As opposed to the default:

(These are also running with --disable-extensions --disable-gpu.)
Everything 0 and above seems to look fine, but negative values have weird inconsistent rendering. I don't recall this happening until a recent update either, as I pretty much always use vscode at -1 zoomLevel.

Are negative zoom levels officially supported?

Sorry was away over the weekend. Concur with the rest, this appears to only occur while zoomed out. Also wondering why it wouldn't be supported, if it's a feature offered in the IDE. This also used to work in previous versions, as recent as 1.74 according to @zertrin, so this would feel like a regression to me.

Looks like caused by editor.experimentalWhitespaceRendering according to the detailed report in #174347
Does "editor.experimentalWhitespaceRendering": "off" fix it for you?

Looks like caused by editor.experimentalWhitespaceRendering according to the detailed report in #174347 Does "editor.experimentalWhitespaceRendering": "off" fix it for you?

Setting this to "off" or "font" fixes the visual issue for me. "svg" and "on" both result in the observed non-uniform characters.

That does indeed fix it!

Edition	Windows 10 Enterprise
Version	22H2
Installed on	9/24/2021
OS build	19045.2604
Experience	Windows Feature Experience Pack 120.2212.4190.0

I also cannot immediately reproduce this on Windows. Are you using any native scaling on Windows?

I have laptop monitor + 3 external monitors, all are set to 100% on the Scale, which is the recommended scale on all but the laptop monitor. I also have this issue at home, which is also windows and set to 100% scale. The issue is present on the external monitor at the default scale. I would have to revert the fix to see if it's present on the laptop monitor.

For me zoom levels -2 and up are fine
but issue shows up at level -3

My monitor's res is 1440p with 125% scaling
my 2nd monitor ( 1050p (not 1080p :p) at 100% scaling) has the same issue arise at zoom level -1
Windows 10. Nvidia gpu
the dithering on the dots is very weird


Stats: Added plot showing pipeline numbers of time

Includes dev / released status:

Self-merging as I need this for figure generation


localhost has frozen "file" button

When I run the localhost version, I cannot click the file button in the navigation bar. Because of this, I'm unable to do any to do any testing on the most recent version of signalserver.

Also, this is kelly accidentally writing from Rebecca Leung's account - oops.

closing - bad name and new issue


Okta integration

I would like to contribute adding the Okta integration for the threatagile. Can you please provide me some hints?

thx, very cool...
On what accesses/flows you'd like to contribute an Okta integration, assuming it's about the runtime of Threagile?
Or is it about the model file, in terms of the authenticated data flows inside a model?


tablet-v2: fix segfault on display destroy

This fixes the second part of @Timidger's segfaults.
@Timidger: can you test these two PRs?
==25315== Invalid write of size 8
==25315==    at 0x4903447: wl_list_remove (wayland-util.c:55)
==25315==    by 0x489903A: handle_wlr_seat_destroy (wlr_tablet_v2.c:34)
==25315==    by 0x48C175F: wlr_signal_emit_safe (signal.c:29)
==25315==    by 0x489401E: wlr_seat_destroy (wlr_seat.c:161)
==25315==    by 0x489424A: handle_display_destroy (wlr_seat.c:204)
==25315==    by 0x48FF0FC: wl_priv_signal_final_emit (wayland-server.c:2064)
==25315==    by 0x48FF826: wl_display_destroy (wayland-server.c:1092)
==25315==    by 0x119E7E: main (main.c:79)
==25315==  Address 0x861cae0 is 32 bytes inside a block of size 88 free'd
==25315==    at 0x48389AB: free (vg_replace_malloc.c:530)
==25315==    by 0x48999A2: wlr_tablet_v2_destroy (wlr_tablet_v2.c:288)
==25315==    by 0x4899902: handle_display_destroy (wlr_tablet_v2.c:274)
==25315==    by 0x48FF0FC: wl_priv_signal_final_emit (wayland-server.c:2064)
==25315==    by 0x48FF826: wl_display_destroy (wayland-server.c:1092)
==25315==    by 0x119E7E: main (main.c:79)
==25315==  Block was alloc'd at
==25315==    at 0x4839B65: calloc (vg_replace_malloc.c:752)
==25315==    by 0x48999C0: wlr_tablet_v2_create (wlr_tablet_v2.c:293)
==25315==    by 0x115D8B: desktop_create (desktop.c:890)
==25315== by 0x119C04: main (main.c:35)

Ping

Sorry for the delay, didn't see this in my way to big notification list (github really needs to color code those or something).
Yes can confirm this fixed my reported issues

Ping

Thanks!


Resizing issues

I'm having a few issues when the page control is resized, or the frame is changed at all for that matter. When my view controller auto rotates, the frame of the page control is animated to a different value, and the selected dot disappears. I have tracked the issue down to the - (void)_refreshIndicator:(BOOL)forceRefresh method. If I reset each dots transform, the view animates correctly. This is the relevant code snippet that works for me
- (void)_refreshIndicator:(BOOL)forceRefresh {
    if ( !(_hidesForSinglePage && _numberOfPages <= 1)) {
        [self setHidden:NO];

        if (forceRefresh || self.subviews.count != _numberOfPages) {
            CGPoint position = [self positionForNumberOfPages:self.numberOfPages];

            NSInteger index = 0;

            for (; index < _numberOfPages; index ++) {
                CGRect frame = CGRectMake(position.x + index * (_indicatorDotGap + _indicatorDotWidth), position.y, _indicatorDotWidth, _indicatorDotWidth);
                UIView *dot = [self _dotAtIndex:index] ?: [[UIView alloc] initWithFrame:frame];

                // This line fixes the problem
                [dot setTransform:CGAffineTransformIdentity];

                [dot setTag:[self _dotTagAtIndex:index]];
                [dot setBackgroundColor:_pageIndicatorTintColor];
                [dot.layer setMasksToBounds:YES];
                [dot.layer setCornerRadius:dot.frame.size.height / 2];

                if ( !dot.superview) {
                    [self addSubview:dot];
                } else {
                    [dot setFrame:frame];
                }
...

Also, a minor annoyance is the logging of the frame in the - (void)setFrame: method. It would be nice if you could remove that so the console output doesn't get polluted when ever my view rotates.
Besides all of that, nice work on the control :)

I just realised that the fix above creates another issue. If the frame is changed inside an animation block, then resetting the transform to the identity like that creates an animation of the transform property, so the selected dot animates from large back to its normal size.
But thats easy to fix, if you disable animations before setting the transform
[UIView performWithoutAnimation:^
{
    [dot setTransform:CGAffineTransformIdentity];
}];

or, if you want to maintain your iOS 6.0 build target
BOOL reenableAnimations = [UIView areAnimationsEnabled];
[UIView setAnimationsEnabled:NO];
[dot setTransform:CGAffineTransformIdentity];
[UIView setAnimationsEnabled:reenableAnimations];

Thanks, @AgentFeeble, very nice work  :+1:
Please check out the latest commit 262ff55d3de3b978249b71d5d1eb98fce75d5429. I will release v0.1.1 after Apple release Watch :D
Let me know if I missed something.


Create notebook introducing workspace resources

Create notebook introducing the types of referenced and controlled resources which can be added to Verily Workbench resources. Provide widgets for adding each type of referenced and controlled resource to the user's current workspace.

Closing this PR, continuing in #33


⚠ Bofrost.de has degraded performance

In 5505f87, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1129 ms

Resolved: Bofrost.de performance has improved in 1df4eb6 after 24 minutes.


tx-pool: add all method for AllPoolTransactions

At the moment it is quite difficult to obtain a global iterator over all transactions (both queued and pending). A all method is added to solve this.

where will this be used? preferably this pr plugs it in where it is needed to show its value, thanks

I find it useful in external circumstances like this one
https://github.com/kkrt-labs/kakarot-rpc/blob/ea35662c476a4d96d9a6104bc484785b2b22729e/src/pool/mempool.rs#L226-L230
Don't know if internally there is a precise usage for this. Feel free to merge or close if you find it useless.


Prefetching with many images is memory intensive and is crashing the App

I would like to prefetch as many pictures as possible for my application tried the PINRemoteImageManager.sharedImageManager().prefetchImagesWithURLs() function.
But at the Moment my App is crashing from watchdog because of heavy memory usage. I got 133 Images to prefetch and some of theme are high quality pictures (2001x1334).
I switched from SDWebImage to PINRemoteImage to resize the pictures, but I'cant do it in prefetchImagesWithURL. Is there a way to create as many images as possible offline without memory exhaustion?

Yeah! There's two strategies. One is to limit the size of the memory cache (pseudocode, not near an Xcode):
[[[[PINRemoteImage sharedImageManager] cache] memoryCache] setCostLimit:approximateLimitInPixels]; // so for 100 500x500 images, pass in 25000000

You can also limit the amount of memory used at one time by limiting the number of threads that can process images:
[[PINRemoteImageManager sharedImageManager] setMaxNumberOfConcurrentOperations:3 completion:nil];

Hope this helps.

I will look into this :)
And the possibility to scale the images?
At the moment i am doings something like this:
               for url in urls {
                    let downloadUID = PINRemoteImageManager.sharedImageManager().downloadImageWithURL(url, options: .DownloadOptionsSkipEarlyCheck, processorKey: "scaleSmaller", processor: { (result : PINRemoteImageManagerResult!, cost : UnsafeMutablePointer<UInt>) -> UIImage! in

                        if (result.image.size.width == 2001) {
                            let targetSize = CGSizeMake(UIScreen.mainScreen().bounds.width * 3, UIScreen.mainScreen().bounds.height)
                            let imageRect = CGRectMake(0, 0, targetSize.width, targetSize.height)

                            UIGraphicsBeginImageContext(imageRect.size);
                            result.image.drawInRect(imageRect)
                            let processedImage = UIGraphicsGetImageFromCurrentImageContext();
                            UIGraphicsEndImageContext();
                            return processedImage;
                        } else {
                            return result.image
                        }

                        }, completion: { (result : PINRemoteImageManagerResult!) -> Void in {
                            println("image downloaded");
                            }
                    })
                    dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0), { () -> Void in
                        PINRemoteImageManager.sharedImageManager().setPriority(PINRemoteImageManagerPriority.VeryLow, ofTaskWithUUID: downloadUID)
                    })
                }```

Yup, that's how you scale images currently :) If you'd like to write a category method that does something like this, I'd be happy to take it as a pull request.

thanks :)


Update video timing to not restart video on page reload

This still isn't quite working right - it starts the video sometimes, but just flashes a bit after the 2-second timeout in other cases.

Here's what seems to be going on. When you first enter the TrainingVideo stage, it plays fine. But then, you try refreshing the page, and it doesn't play at all. What's going on? Chrome has a rule about autoplaying videos(described here:https://developer.chrome.com/blog/autoplay/) which means that a non-muted video can't start playing before a user interacts with the page. Meaning, that when they are coming from a previous stage, the video plays no problem, but when they are coming from a page refresh, if the video call component renders before the user has clicked the page, then it won't play the video (unless it's muted). (Can test this by clicking repeatedly as the page loads- it plays the video just fine.)
Need to find a way to detect if the video will be allowed to autoplay, and if not, render a button for the user to start it.

Looks like there will be an easy way sometime in the future, but it hasn't been implemented yet.
in the meantime, lets try to play a short, silent audio file, and see if it works before rendering the video:
https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement/Audio
https://developer.chrome.com/blog/autoplay/#audiovideo-elements

Fixes for the autoplay issue in https://github.com/Watts-Lab/deliberation-empirica/pull/330

The video seems to be restarting if the page reloads part way through, even though the timer doesn't?

Empirica fixed the spelling of ellapsed to elapsed, and we needed to update our code to match.


can not restart notebook if getting "Could not cross validate the widget frontend and backend versions"

hi,
I got * status besides the notebook cell when getting above error (and I knew why I got that).
However, I could not restart and rerun the notebook by clicking Kernel -> Restart or anything else.
I must close the notebook by File -> Close and Halt.

version:
ipywidgets: 5.2.2
notebook: 4.2.1

dummy code
cell 1
%%javascript

define(['jupyter-js-widgets'], function(widget){
	var TabModel = SelectionContainerModel.extend({
	    defaults: _.extend({}, SelectionContainerModel.prototype.defaults, {
	        _model_name: "TabModel",
	        _view_name: "TabView"
	    }),
	});
})

cell 2
import ipywidgets, traitlets
from traitlets import Unicode

class Tab2(ipywidgets.Tab):
    _view_name = Unicode('TabView2').tag(sync=True)
    _model_name = Unicode('TabModel').tag(sync=True)

cell 3
tab = Tab2()
tab

@hainm This sounds like an issue that should be posted on the notebook repo.

@hainm - I'm not reproducing this. Are you still observing it? If so, what version of the notebook were you using, and what version of widgets (both python and javascript side)?

Closing since there was no response. Please reopen if this is still an issue.

I am sorry, not sure why I missed this notification. Yes, I will reopen this if encountering the issue again. thanks.


TypeError: instantSearchInstance.sendEventToInsights is not a function

🐛 Bug description
My application started to throw exception:
TypeError: instantSearchInstance.sendEventToInsights is not a function
The code is located inside createSendEventForHits.js
I even upgraded to version ^4.8.3 but the problem is still happening. (using  algoliasearch: ^4.5.1 and vue-instantsearch 3.4.2)
🔍 Bug reproduction
Steps to reproduce the behavior:

Go to https://www.seek-team.com/en/players?country=FR,BE
Click on "Display player's map"
The error happens

🖥 Screenshots

I got 2 different versions inside my yarn.lock  for this lib. Cleaning the lockfile helped.


iptables setup issue

If I run the iptable setup script on Centos 7, I will get such error: iptables: command not found, the root cause is that PATH env wrong. Whether should we add path export at the beginning of setup script?

Hi @AdoHe we don't currently (officially) support CentOS but we'd be very happy indeed to accept a PR to do this... :)

@goonzoid Ok, I will open a PR if I find a good solution.


Multiple requests in parallel

Does request-promise support loading multiple uri's in parallel?  Loading in series is possible using chained .thens (albeit not pretty), but I don't see a way to load them in parallel.

Yes. But this is something promises themselves do. If you use Bluebird you may use this code:
var Bluebird = require('bluebird');
var rp = require('request-promise');

var request1 = rp(paramsReq1);
var request2 = rp(paramsReq2);
var request3 = rp(paramsReq3);

Bluebird.all([request1, request2, request3])
    .spread(function (responseOfReq1, responseOfReq2, responseOfReq3) {
        // All requests succeeded.
        // Process the responses now.
    })
    .catch(function (err) {
        // At least one request failed.
        // Do your error handling here.
    });

Does this help?

I didn't realize request-promise could be mixed with Bluebird like that.  Makes sense since you use it within request-promise.  Would it be possible to pass it to another promise library such as Q?
Thank you for the sample code!

Yes, you may use Q as well.

Hi @peacechen , fyi, I just released request-promise-any which is equivalent to request-promise and allows you to register Q to be used even internally. If you are using Q in your project then you wouldn't have to worry about mixing Bluebird and Q anymore.


Column.is_integer() method

The Column class has an instance method, is_numeric() that returns true if the column is a fixed-precision Numeric type (eg. numeric), else False (including integer and float types).
There are instances where I want to determine:

Is this column generally numeric? I.e. one of: decimal, float, integer
Is this column an integer? i.e. one of bigint, smallint, integer (e.g. on Redshift).

The second one is easy: let's add an is_integer() method.
But I don't know how to name the first method, since is_numeric() is already reserved for numeric (i.e. decimal) columns. Can we rename is_numeric to is_decimal, or will that mess up too many things?

I don't think renaming is_numeric() is a good idea. Can we instead name this new method is_number()? numeric is a well-defined type on pg/redshift/snowflake/bigquery/etc. We'll probably also want to add a method for is_float().
The is_number() implementation could just check if a column is_integer() or is_numeric() or is_float().

@clrcrl are you interested in contributing a PR for this issue? It might be a little tricky with differing semantics between each of the databases that dbt supports, but the code will be pretty straightforward to implement after some fact-finding work :)

Yeah I could do that for sure!

Happy for @beckjake to take this one!


maxAutoLockRenewalDurationInMs does not work as expected

Package Name: azure/service-bus
Package Version: 7.5.0
Operating system:
[ ] nodejs

version: v16.14.2

[ ] typescript

version:4.5.4

Is the bug related to documentation in

[ ] SDK API docs on https://docs.microsoft.com/en-us/javascript/api/@azure/service-bus/servicebusreceiveroptions?view=azure-node-latest

Describe the bug
I use the service bus queue in my server and I see that the lock on the messages will not auto-renew after 5 minutes (on default) for a message with 5 minutes lock duration, the message processing takes ~15 minutes. I tried to reduce the message lock renewal to 2 minutes using "maxAutoLockRenewalDurationInMs" field but I still see that after 5 minutes another process is taking the same message. in other words, this "maxAutoLockRenewalDurationInMs" field is not working.
the mode I'm using when creating the receivers is "peekLock"
To Reproduce
Steps to reproduce the behavior:

create a message which takes ~15 minutes to process.
Sent the message to a service bus with 'maxAutoLockRenewalDurationInMs' configuration on the message receiver.
watch the logs and see that multiple processes working on this message.

Expected behavior
message lock should be auto renewed and only single process should take this message and process it.

@HarshaNalluru can you investigate?

Thanks for the issue, @dvalko.
Looks like you may have misunderstood what the option meant/.
Description of maxAutoLockRenewalDurationInMs.

The maximum duration in milliseconds until which the lock on the message will be renewed by the sdk automatically. This auto renewal stops once the message is settled.

Default: 300 * 1000 milliseconds (5 minutes).
To disable autolock renewal, set this to 0.

By default, the lock on the message is renewed until 5 minutes, and then the lock is not renewed.
If you want to keep the message active for more than 15 minutes(your processing time), set maxAutoLockRenewalDurationInMs to > 15 minutes.

The following would be unnecessary to you but sharing nevertheless...
The way the lock renewal works internally is...

we check the maxAutoLockRenewalDurationInMs, if the duration so far has already exceeded the maxAutoLockRenewalDurationInMs, no renewal happens
if the duration so far hasn't exceeded the maxAutoLockRenewalDurationInMs, we(internally in the SDK) then check the current lock expiry time, and set a timer to renew the lock just before it gets expired

Summarizing here..
Talked/chatted offline and clarified more, made a PR #22343 which can possibly improve the docs.


Cannot go to other chatroom

As the room id is fixed in code, users cannot go to other chatrooom from the front-end.

Pull request #30
May try to access chatroom "b" by
http://HOST/event/b


How to run a conditional unit test, in which TEST B runs only if TEST A passes?

Is there a way to run conditional tests, i.e. run TEST A, and if it passes, run TEST B?  See below for an example of this scenario.
The t.test() method indicates you can add subtests to a test, which run after the parent test has 'finished.'  Just to confirm, the subtest will run regardless of whether the parent test passes or fails--correct?  I guess I can always try this out to see.
So if the t.test() method is only to run a subtest after the parent test finishes, how would I add a test to run only after the parent test passes?

Example
Let's say my code has function which returns a value. I want to write unit tests to ensure this value is an array of numbers. So I write two different unit tests:

Test A: Asserts that the return value is an array.
Test B: Assumes the return value is an array, then asserts that every element in the return value is a number.

With the tests setup this way, if Test A fails, then Test B will always throw an error. So I thought that, if I could, why not run Test B only when Test A passes.  That way I can prevent Test B from throwing an error with Test A fails.

This seems like something you could do with:
const isArray = Array.isArray(value);
t.ok(isArray, 'is an array');
t.test('other stuff', { skip: !isArray }, …);

?

OK thanks for that.  I gave it a shot, and it definitely does what I want, and will be a viable option.  While we're here though, I have a couple follow up questions.
In your code, you kind of need to confirm that isArray is an array value in two different places (lines one and three).  It would be nice to programatically check if t.ok() passes or fails.  Is that possible?  If so, then could execute the t.test() line only when t.ok() passes.  With your code, the t.test() line doesn't depend on the result of t.ok() at all--it would be nice if I could link them. That's admittedly a little nitpicky, but I'm mainly curious for the future is all.
Alternatively, with the ok() or test() methods, Is there any way to print a custom message to the console--one based on logic in the callback function?  That way I could create a single assertion for t.test()--one that asserts the return value is both an array and an array of numbers.  Then, when one failed, I could print exactly which failed to the console so the user would know which one failed.  Again, a little nitpicky, but more curious than anything.
Is there example code for how the skip property is used in this way?  The documentation on the main GitHub page doesn't really make that clear.  It first says opts.skip is a property with a boolean value, but then says see test.skip(), which is a method that takes three parameters.  So it wasn't entirely obvious how to use it.

I think the best option for conditional testing would be to write my own code to check whether the first test passed/failed (as opposed to using t.ok, t.equal, etc).  In my code, when I determine the test passed/failed, I can generate a pass/fail assertion using t.pass/t.fail.  From there, I can then execute test-b, only if test-a passes. Hope that makes sense to anyone reading.
Alternatively, if tape allows me to print custom messages to the console--a message that depends on logic in my test--then I could accomplish what I want. I could then combine both tests into one single test.  But when either of the test failed, I would be ble to indicate to the user which of the two conditions failed.
I'll close this issue.

You can use t.comment() but i suspect that’s not what you mean.

I didn't know about t.comment(), and it actually could be what I want here.  I'll have a look--thanks.


gRPC 0.9.0 release depends on unreleased protobuf features

It is not possible to build objective_c and csharp plugins with latest release (v3.0.0-alpha-2) of protobuf.
They depend on:

google::protobuf::FileOptions::objc_class_prefix
google::protobuf::FileOptions::csharp_namespace

To build other part of project I used:
for plugin in csharp objective_c
do
  sed -r 's|\$\(BINDIR\)/\$\(CONFIG\)/grpc_'${plugin}'_plugin ||' -i Makefile
  sed -r 's|src/compiler/'${plugin}'_generator\.cc||' -i Makefile
  sed -r 's|\$\(Q\) \$\(INSTALL\) \$\(prefix\)/bin/grpc_'${plugin}'_plugin||' -i Makefile
done

This may be useful for maintainers.

Afaik the complete grpc project depends on protobuf v3 (which is still alpha).

Yes, but it is released: https://github.com/google/protobuf/releases/tag/v3.0.0-alpha-2
Previous gRPC release worked just fine with this version. New gRPC requires new features.

Yes, current version of grpc targets a different version of protobuf than we can find in protobuf's current master branch, hence the compilation problems as described above.

Yes, my bad, I jumped the gun a bit here, thinking that their own release of alpha 3 was already out of the doors. But it should be a matter of moments now. Sorry about that.

I think that can be closed now, https://github.com/google/protobuf/releases/tag/v3.0.0-alpha-3
I was able to build gRPC with proto-3.0.0-alpha3.

It still doesn't work for the master branch of protobuf.

I thought that gRPC release is supposed to be used with https://github.com/google/protobuf/releases/tag/v3.0.0-alpha-3, and I reported bug just about it.
Since proto-3.0.0-alpha3 is released now and gRPC can be build with this release just fine, I closed this one.
I am sorry, I don't understand the problem you describe, but maybe it should be reported separately?

The problem is that you shouldn't be "supposed to think" that you have to target the new release of protobuf when all the current grpc readmes and docs point at just git cloning the master branch of protobuf, with which you can't build the current grpc plugins.
I hope that now you see the issue and inconvenience of the current situation.

I am sorry, but from what I see in .gitmodules
[submodule "third_party/protobuf"]
	path = third_party/protobuf
	url = https://github.com/google/protobuf.git
	branch = v3.0.0-alpha-1

it was clear for me that gRPC targets for releases, not master branches.
And again, sorry for my ignorance, but I didn't find these docs, saying that I have to use master branch.
grep master README.md or grep -i proto README.md give me no references to protobuf's master branch.

Ah, now I get it. Sorry about the misunderstanding @sarum9in
In my workflow I tend to build the protobuf sources separately, not the ones defined in grpc submodules.
In any case, I issued a pull request in protobuf to merge the two branches. Master branch is behind v3.0.0-alpha-3 by 7 days and over 40 commits.


CAddrDB: Replace BDB-managed addr.dat with internally managed peers.dat

I've been wanting this one to happen for a while, nice once! Tested and working perfectly :)


Login failure

ERROR: Login failed for myuser
ERROR: Please verify your account at https://www.instagram.com/challenge/#########/#########/
ERROR: User profiletoscrape is private
Searching profiletoscrape for profile pic: 100% 1/1 [00:00<00:00, 1053.85 images/s]
Searching profiletoscrape for posts: 0 media [00:00, ? media/s]
Downloading: 100%|####################################################################################################################################################################################################| 1/1 [00:00<?, ?it/s]
So i went to that site, verified its myself, and then i retried, it gave me the exact same thing, but a different link.
I've done this 3 times already, after updating and changing my password on instagram.
What seems to be the problem?

You probably did too much at the same time and got blacklisted or something. Usually you have to wait 24+ hours.

--interactive -i    Enables interactive login challenge solving. Has 2 modes: SMS and Email
^ this also may help you, but I am not sure

@pxssy
Can verify that behavior. Happens to me on all my accounts on different IP addresses. It happened before on one account from time to time and it mostly went away after changing IP adresses and/or changing password. One possible reason could be the way the login is handled with instagram-scraper. I always got a email saying "New devices accessing" when the scraper logged in (every time!)  and maybe now all the accounts used with instagram-scraper are blacklisted?

After more testing I can say it is definitely account-related. Used an account I did not scrap with for at least 3 months and there it works. Best bet, unless someone finds a fix, would be to let the account alone for at least 24 hours and then try it again.


docs: Preprocess markdown files and replace github.com links with docs-hosted link

Clicking on links inside oasis-sdk and oasis-core docs points to github.com-hosted rendered markdown files. Use remark plugin https://github.com/zslabs/remark-relative-links to replace github.com links with internal documentation-generated link based on the current structure of the docs.
For example:
https://github.com/oasisprotocol/oasis-sdk/blob/main/docs/runtime/getting-started.md -> /developers/sdk/runtime/getting-started
https://github.com/oasisprotocol/oasis-core/blob/master/docs/runtime/index.md -> /core/runtime/

Fixed in #200.


[backport] Fix mergify configuration

Backport of #5248

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit afd5d7f8ca1d54414f1401a21811687716ab7122, target branch v9) failed with status FAILURE.


rdkafka-ruby instrumentation

https://github.com/appsignal/rdkafka-ruby
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/semantic_conventions/messaging.md#messaging-systems

Working on a PR for this


Review site profile

Thanks - Neil

@KellyVance does this need a second reviewer or can it be merged?

@geoderekh with DC no longer here let's take this as approved.
We can make further edits to this version if needed.


How to get field value as buffer?

Hi,
In the field event callback value is always string.
This is incorrect in my case, I need to get it as raw buffer.
Is it possible?

I found the way, defCharset: binary.
This should be in the docuentation.


[Fix bug 1285951] Add admin action to cleanup stale basket tokens.

Coverage decreased (-0.2%) to 92.351% when pulling 687776798ee6f17c56543d0f8ead44fcaf349b5d on johngian:1285951 into b9bf3cc38a1b036693af6331b7945f8ef1dca8c6 on mozilla:master.

Coverage decreased (-0.2%) to 92.37% when pulling bfe556cc51f811b2f8ce694b3ba5b89fe8ec9dde on johngian:1285951 into b9bf3cc38a1b036693af6331b7945f8ef1dca8c6 on mozilla:master.

r+wc :+1:

Coverage decreased (-0.01%) to 92.547% when pulling af8727ef2094543033a065b4791f58df1c1ae248 on johngian:1285951 into b9bf3cc38a1b036693af6331b7945f8ef1dca8c6 on mozilla:master.

@akatsoulas PR updated with some tests

r+


Really long words don't get wrapped properly

When using a word that exceeds the maximum width of a text element, Scribble doesn't wrap the text appropriately.
Observed behaviour:

Expected behaviour:

Fixed 5.4.4


Table does not update correctly and messes up pricing

Hey, I played the first time with the tool to calculate pricing for Fiberglass (Glassworks).
What I did was go from left to right: Upgrades->Input material. I then messed with the upgrade by removing them to see what influence there is. Put the upgrade back in and change input prices. Now fiberglass did not update correctly. When putting Sand up to 10 (which is very important for Fiberglas), Fiberglass still showed with 1.4 for my calculation.
I assume this is a general problem, not only to Fiberglass.
That means that calculation seems to be influenced by what you do at what point. That should not be the case. If anything updates -> Run the whole calculation again

@RumbleballTheReal can you post some screenshots of what you are seeing? I am not able to reproduce this:


can't use the h3 gem in ruby using windows

it gives me the error below, am using windows and downloaded all the pre-req build tools
PS C:\Users\Hussain\Desktop\projects\mrsool back> gem install h3
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
ERROR:  Error installing h3:
ERROR: Failed to build gem native extension.
current directory: C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/h3-3.7.2/ext/h3

C:/Ruby27-x64/bin/ruby.exe -I C:/Ruby27-x64/lib/ruby/2.7.0 -r ./siteconf20240713-6248-akl2m3.rb extconf.rb
current directory: C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/h3-3.7.2/ext/h3
make "DESTDIR=" clean
: # do nothing, cleanup happens when gem uninstalled
current directory: C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/h3-3.7.2/ext/h3
make "DESTDIR="
cd src; cmake . -DBUILD_SHARED_LIBS=true -DBUILD_FILTERS=OFF -DBUILD_BENCHMARKS=OFF; make
-- Building for: Visual Studio 17 2022
CMake Deprecation Warning at CMakeLists.txt:15 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument  value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
-- The C compiler identification is MSVC 19.40.33812.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning at CMakeLists.txt:278 (message):
clang-format was not detected, so automatic source code reformatting is
disabled
CMake Warning at CMakeLists.txt:290 (message):
clang-tidy was not detected, so source code linting is disabled
-- Found Doxygen: C:/msys64/usr/bin/doxygen.exe (found version "1.11.0") found components: doxygen missing components: dot
-- Configuring done (3.0s)
-- Generating done (2.1s)
-- Build files have been written to: C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/h3-3.7.2/ext/h3/src
make[1]: Entering directory '/c/Ruby27-x64/lib/ruby/gems/2.7.0/gems/h3-3.7.2/ext/h3/src'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory '/c/Ruby27-x64/lib/ruby/gems/2.7.0/gems/h3-3.7.2/ext/h3/src'
make: *** [Makefile:2: make] Error 2
make failed, exit code 2
Gem files will remain installed in C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/h3-3.7.2 for inspection.
Results logged to C:/Ruby27-x64/lib/ruby/gems/2.7.0/extensions/x64-mingw32/2.7.0/h3-3.7.2/gem_make.out

You may get better responses by posting on seanhandley/h3_ruby, as the Ruby bindings are not maintained in this repo.

The problem was resolved by using WSL and Ubuntu


Add ability to pass ExclusiveStartKey / return LastEvaluatedKey when querying

Without checking, I think you can use params.start and result.start. These are mapped to ExclusiveStartKey / LastEvaluatedKey I think.
Look at the Pagination example in the readme.

I think it's unclear if the result object is an array of records or is it an object with a start and next properties. I'm confused.
for example: in let adminUsers = await User.find({accountId: account.id, role: 'admin'})
what is adminUsers?

Find always returns an array. In Javascript, you can also set properties of an array.
So adminUsers is an Array AND adminUsers.start should be set to the next key.

Ah ok. will try that. thanks!

I'll update the doc to clarify. Thanks.

Doc updated to say:
The find method will automatically invoke DynamoDB query to fetch additional items and aggregate the result up to the limit specified by params.limit. If the limit is exceeded, the last key fetched is set in the 'result.start' property of the returned array of items. You can provide this as params.start to a subsequent API call to continue the query with the next page of results.

Let me convert this to a discussion for others to benefit.


Http2 Empty Mock not Used

Bug report

What is the current behavior?
When building a react app using<EMAIL_ADDRESS>a compile error is created because the required http2 module is not present.
If the current behavior is a bug, please provide the steps to reproduce.

create a react app
include a dependency requiring http2
execute npm run build

What is the expected behavior?
The build should work. I investigated the issue and the root cause and in the NodeSourcePlugin.js it is looped over all keys of the node-libs-browser table. Since the http2 is not in there, you never reach the point where the empty mock is set. If I add the line in the table http2 = null the compilation works.
Unfortunately the node-libs-browser is deprecated and I do not know if changes are possible there. Since the webpack version is defined by react I can also not update to the newer webpack version in which the node module filling is done differently.

Other relevant information:
webpack version:  4.44.2
Node.js version: 14.X.Y
Operating System: macOS
Additional tools: -

Sorry, webpack v4 is deprecated and only accept security fixes, please consider update to v5

Just as an infor for people finding this. The react developers working on an update to version 5 of webpack. So I hope this should resolve the issue.


Provide .so file for Android

Hello, can you provide .so file in Artifacts, i see your Github Action have compiled a .so file, but not copy to final Artifacts. I'm a xamarin developer, it can't directly load static library, only support dynamic library, i try to convert .a to .so, but generate some error, so hope you can provide it directly.

Is there a reason you are using go-webgpu in a xamarin app and not directly using wgpu-native?
You can get .so of wgpu-native from artifacts section of cd.yml github action.
go-webgpu is just a wrapper library around wgpu-native for exposing WebGPU API in Go.

Oh you need android .so of wgpu-native for xamarin project, unfortunately I can't include them in this repo because it will unnecessarily increase the repo size (it's already around 400MB).
Though you should be able to build it locally using this script.
Or you can just fork this repo and change this line to copy .so file instead of .a, and run the action from your forked repo.

Thank you, i will try. I have another question, why all your .a files very big, i see wgpu-native/releases all .dll and .so <10m, have different params when build?

Hello, i use your Github Action compiled dynamic library , but get some error when use it in Xamarin.
When i load it by C# on android, throw DllNotFoundException,
[monodroid-assembly] Shared library 'libwgpunative.so' not loaded, p/invoke 'wgpuCreateInstance' may fail

I try use System.loadLibrary of Java on android, show exception:
Java.Lang.UnsatisfiedLinkError:** 'dlopen failed: cannot locate symbol "ANativeWindow_setBuffersGeometry" referenced by "/data/app/com.companyname.WgpuAndroidApp-xtoQrCgMf64RV0nZ4m8B1w==/lib/x86_64/libwgpunative.so"...'

I Google it, find have a method to solve it, do you know it needs to have -lnativewindow added to its link command what mean?

[monodroid-assembly] Shared library 'libwgpunative.so' not loaded, p/invoke 'wgpuCreateInstance' may fail

it's wgpu-native issue many functions listed in header files aren't actually implemented & exported, including wgpuCreateInstance.

Java.Lang.UnsatisfiedLinkError:** 'dlopen failed: cannot locate symbol "ANativeWindow_setBuffersGeometry" referenced by "/data/app/com.companyname.WgpuAndroidApp-xtoQrCgMf64RV0nZ4m8B1w==/lib/x86_64/libwgpunative.so"...'

you probably need to load libandroid.so before loading wgpu library

I have try
Java.Lang.JavaSystem.LoadLibrary("android");
Java.Lang.JavaSystem.LoadLibrary("nativewindow");

but don't solve it, according https://github.com/xamarin/xamarin-android/issues/6765#issuecomment-1041464888, first i need to do it needs to have -lnativewindow added to its link command , i search github only find set it in Android.mk, i don't know how to do it in this rust project.

you can change this line like:
-            export RUSTFLAGS="-L $PWD/tmp-lib"
+           export RUSTFLAGS="-L $PWD/tmp-lib -C link-args=-landroid"

also don't think you'd need to link libnativewindow.so just libandroid.so should be enough


Preload

Hi !
Wonderful job, I have a question, how do you run the preloader, when the page is run for the first time?
Regards
Adrian

Thanks for your appreciation @afreisinger! You may find it in this component https://github.com/mustaquenadim/mustaquenadim.github.io/blob/master/src/components/loader.js


CES fast and standard queues - Improvements

Improvements to https://github.com/cilium/cilium/pull/34199

Concurrency
a) Refactor - make workqueues thread safe (read, write)
b) Testing - Find out how we can test it
Consider adding default namespaces that are added to priority namespaces (e.g. kube-system)
Add comments with a "graph" of how the queues are used

cc @Kaczyniec @ovidiutirla

Some more followups from https://github.com/cilium/cilium/pull/34199

Block on initial sync from namespaces to properly choose priority namespaces for CES updates on operator restarts
I would try to make it more "fair" so priority namespace can't starve non-prioirty namespaces, something like (pseudocode):

select {
case el := <-priorityQueue:
process(el)
case el := <-slowQueue:
process(el)
}

This would still give at least half of qps to priority namespace, while ensuring that non-priority namespaces don't starve.

Thanks Marcel. I updated the description, to add points about blocking namespace sync on startup and new tests that will verify that CES name isn't generated using namespace.
About making the priority fair I think we could discuss it more.
I think it boils down to what the user cares more about.
To me it makes sense that the standard queue can be starved because of the fast queue over a short period.
If it's getting to a longer period, then we have a bigger problems anyway -- queues growing faster than being processed and long delays regardless of priority.


rdbtools: init at 0.1.14

Motivation for this change
Package rdbtools
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Notify maintainers
cc @

Fixed eval error, should be good now

Ok, i implemented suggested changes. Also using default version of python works just fine, so no need to pass python3.

i would highly recommend python3, python2 is EOL in 2 weeks

Ok, but works both with both versions, so when we change the default version to python3 it should work without any change. I was just thinking to leave it as is, so you do need python3 on system if only using this package.

Ok, i set python3 explicitly, should be ready to merge now.

Ok, but works both with both versions, so when we change the default version to python3 it should work without any change. I was just thinking to leave it as is, so you do need python3 on system if only using this package.

It would be the same thing with python2, they python closure in nixpkgs is ~110MB, and it get's "reused" by many other packages, so it's actual cost is quite amortized.

@GrahamcOfBorg build python27Packages.python-lzf python37Packages.python-lzf python38Packages.python-lzf rdbtools


Remove the Ably SDK dependency from the core-sdk module

At the moment, in the core-sdk module it's possible to access the AblyRealtime and other Ably SDK classes. This shouldn't be the case since that module holds our shared API classes and we don't want to expose the Ably SDK in our API by mistake.
┆Issue is synchronized with this Jira Task by Unito

It looks like this is no longer a problem after landing https://github.com/ably/ably-asset-tracking-android/pull/315
In the aforementioned PR the ably-android dependency is included in each relevant module instead of being included for all library modules, thus it is not present in the core-sdk module.


chore(all): upgrade @fortawesome/angular-fontawesome to 0.8.0

This aligns with the angular v11 peer dep
PR Checklist
Please check if your PR fulfills the following requirements:

[] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[] Other... Please describe: chore

What is the current behavior?

Daffodil uses a version of @fortawesome/angular-fontawesome meant for Angular v10
What is the new behavior?
Daffodil uses a version of @fortawesome/angular-fontawesome meant for Angular v11
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

For compatibility reasons, I think it makes sense to stick to the widest range (^0.8.0).

For compatibility reasons, I think it makes sense to stick to the widest range (^0.8.0).

good call, changed


Update dependencies and source/target compatibility.

Codecov Report

Merging #1617 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1617      +/-   ##
============================================
+ Coverage     83.47%   83.48%   +0.01%
  Complexity     1813     1813
============================================
  Files           261      261
  Lines          8340     8339       -1
  Branches        803      803
============================================
  Hits           6962     6962
  Misses         1123     1123
+ Partials        255      254       -1

Impacted Files
Coverage Δ
Complexity Δ

...pencensus/contrib/http/util/HttpViewConstants.java
100% <0%> (ø)
1% <0%> (ø)
:arrow_down:

...census/contrib/http/util/HttpMeasureConstants.java
100% <0%> (ø)
1% <0%> (ø)
:arrow_down:

...census/implcore/trace/export/SpanExporterImpl.java
97.26% <0%> (+1.36%)
9% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

PTAL


feat: add restart option to vscode-graphql command pallate

As a small workaround for Does not work when updating the schema and from this suggestion:
This PR proposes a command to restart the gql plugin.  So, instead of restarting vs-code, a user can do ctrl-shift-p to pull up the Command Palette and type something like "graphql restart".
It's not great, but as the cantiero indicates, "Beats restarting the editor for sure".

we are working on upgrading the underlying graphql-language-service-server which addresses this problem, however there are a few breaking changes in<EMAIL_ADDRESS>and at least one regression from dropping watchman as well.

we are working on upgrading the underlying graphql-language-service-server which addresses this problem, however there are a few breaking changes in<EMAIL_ADDRESS>and at least one regression from dropping watchman as well.
now that i'm a maintainer, i will disable this semantic pull request business, haha!

I'm totally happy to fulfill the tool's requirements.  Do I just add another commit with "feat" in the message?
Totally love the plugin -- the best out there that I could find.  Will be awesome to see the upgrade to the next language server :-)

looks good to go, thank you @twmillett !


Babel 6

We have to wait a few weeks.

[ ] Babel docs are not yet updated
[ ] https://github.com/gaearon/babel-plugin-react-transform/issues/46
[ ] put react-native .babelrc into native folder and that should work as well

I've been through this on my mini stack (dzejes.cz). This really needs some hours poured in.

http://jamesknelson.com/the-six-things-you-need-to-know-about-babel-6/

Done.


Add Object.create & Object.getPrototypeOf

Object.create
Object.getPrototypeOf
Polyfills exist and these are nice tools.
Check for instanceof compatibility.

done


support local datastore

Fixes #389
While running the gcd server, this now works:
// gcd is running on localhost:8080

var gcloud = require("gcloud")

var ds = gcloud.datastore.dataset({
  host: "http://localhost",
  port: 8080,
  projectId: "nth-circlet-705"
})

var company = ds.key("company")

ds.save({
  key: company,
  data: { name: "google" }
}, function (err) {
  if (err) throw err

  ds.get(company, console.log)
})

I'm not sure host and port are technically correct argument names, since for this PR, "host" needs to be in the format of protocol + host ("http://localhost"). Ideas I can think of:

Ditch host and port in favor of one argument name to include protocol + host + port (but not a path):

uri
resource
api
apiPrefix

Accept protocol, host, and port

Not worry about it

Interested in your thoughts!

Re: protocol, host and port why not just accept a customEndpoint value that can be set to something like "http://localhost:8080" and our default will be "https://www.googleapis.com" where the port of 443 is implied. Right now if they just specify a host, the default port is assumed 443 which won't work for them if they are on http.

Looks good to me otherwise. Let me know what you think about just one string for configuration e.g. "http://localhost:8080" instead of two or three.

Re: protocol, host and port why not just accept a customEndpoint value that can be set to something like "http://localhost:8080" and our default will be "https://www.googleapis.com" where the port of 443 is implied.

SGTM. :+1:

Sent in an update using apiEndpoint. Also, instead of throwing if a user doesn't include a protocol, it will default to http://. Let me know if you catch anything I overlooked.

Cool beans. Looks good. Just could benefit from a couple example as I commented.

Good idea. Added those: https://github.com/GoogleCloudPlatform/gcloud-node/commit/78358d426cda42813232012b612137b9f8f66adb

Thanks! :dancer:


Write shortest possible code: How to find element in list by value (python)

Please write shortest code example for this question:
How to find element in list by value in python
How to do it:

Go to python codes
Create new file (named in underscore case, should contain key words from title) with md extension (markdown file).
Propose new file with following content (please use all three blocks if possible - title, code itself and explanations list):

# How to find element in list by value

```python
code part1 part2 part3 ...
```

- part1 - explain code part 1
- part2 - explain code part 2
- ...

More advanced template for examples and linked solutions. More docs here.

How to find element in list by value


Bring solfuzz-agave to the mono repo

Problem
The fuzzer we are developing together with Firedancer needs this glue code to work with Agave. The repository was previously outside the monorepo, hindering proper maintenance.
Summary of Changes
I brought the repository and made some adjustments to satisfy clippy and the dependencies path.
This is another workspace under Agave, as it is not a published crate and its compilation commands require specific settings.

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

Project coverage is 81.9%. Comparing base (14d6c79) to head (10f4e8d).
Report is 14 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #955   +/-   ##
=======================================
  Coverage    81.9%    81.9%
=======================================
  Files         853      853
  Lines      231797   231797
=======================================
+ Hits       189845   189848    +3
+ Misses      41952    41949    -3

@LucasSte a few quick questions:

Were any changes made to the new files?
Can we find a better name for the top level folder? Just in case we have other fuzzers in the future.

@LucasSte a few quick questions:

Were any changes made to the new files?

I tried to bring the repository as it is now. I made small changes to make our clippy tests happy. There are separate commits to address the warnings I got. There was another PR merged in solfuzz-agave (https://github.com/firedancer-io/solfuzz-agave/pull/3) with more changes, but I thought it was best to add them after that I merge this PR. The repository solfuzz-agave will be archived once we merge this PR.

Can we find a better name for the top level folder? Just in case we have other fuzzers in the future.

Yes. Do you have any suggestion? Solfuzz?

@LucasSte a few quick questions:

Were any changes made to the new files?

Forgot to mention:
I removed the original Makefile in favor of .cargo/config.toml and build.rs to align the style to our repository practices.

The repository was previously outside the monorepo, hindering proper maintenance.

can this be elaborated?  we're trying to get stuff out of the monorepo, not put more in

The repository was previously outside the monorepo, hindering proper maintenance.

can this be elaborated? we're trying to get stuff out of the monorepo, not put more in

solfuzz is a fuzzer engine developed by the Firedancer team that can be used to fuzz the Agave validator, or run differential fuzzing between versions of Agave or between Firedancer and Agave. There has been an effort in concentrating the fuzzers we are developing in solfuzz. Sean and I are expanding it to cover the VM and the transaction processing APIs.
solfuzz is dynamically linked to a glue code we need to run the fuzzer either in Firedancer or in Agave. Firedancer has this glue in their own repository already, and we thought we could bring it closer to Agave, as it is going to be mostly used by Anza's engineers. The repository today is located in the Firedancer organization: https://github.com/firedancer-io/solfuzz-agave. There was an idea to bring it to the monorepo, but I think creating another repository under the Github Anza organization would also work.
@ripatel-fd Please, feel free to add more context if I forgot anything.
Now, @t-nelson we can create another repo under Anza. What do you think?

do you have any name suggestions if we decide to move it to another repository? btw, it looks like we can just fork from Firedancer and then make some custom modifications 🤔

looks like we don't have a conclusion. I have forked the repo here: https://github.com/anza-xyz/solfuzz-agave in case we need it!

Closing the PR in favor of maintaining the fuzzer outside the monrepo, as a separate repository: https://github.com/anza-xyz/solfuzz-agave


Fatal error when trying to sign in

Disregard. New to github and didnt see the #68

This is already fixed in v15, but you'd need to either build your own executable, or wait for an official release. Just so you know, I tried to make building your own executable a semi-easy process, even for people who know nothing about programming - all you have to be able to, is follow instructions. Please let me know if you'd be interested.

这已在 中修复v15，但您需要构建自己的可执行文件，或等待正式发布。就像你知道的那样，我试图让构建你自己的可执行文件成为一个半简单的过程，即使对于那些对编程一无所知的人来说也是如此 - 你所要做的就是按照说明进行操作。如果您有兴趣，请告诉我。
I'm interested

@DevilXD i can help to test

Traceback (most recent call last):
File "main.py", line 169, in
File "asyncio\base_events.py", line 616, in run_until_complete
File "twitch.py", line 423, in run
File "twitch.py", line 443, in _run
File "twitch.py", line 986, in get_auth
File "twitch.py", line 208, in validate
File "twitch.py", line 233, in _validate
File "twitch.py", line 125, in login
File "aiohttp\client_reqrep.py", line 1119, in json
File "json_init.py", line 357, in loads
File "json\decoder.py", line 340, in decode
json.decoder.JSONDecodeError: Extra data: line 1 column 128 (char 127)

@cikichen There's an issue open for that already, please check the pinned issues next time: #68
@Sakura2466 I've created a guide on how to run this project from source and build an executable yourself here: https://github.com/DevilXD/TwitchDropsMiner/wiki/Setting-up-the-environment,-building-and-running


how to use global css and icons from library, bundled in main.js used in angular components.

Question
Environment
Primeng and primenicons are used. primeicons are not loading. Its inserted in styles in angular.json. Bundled in to main.js
how to extract css from main.js bundled.
Libs:

@angular/core version: 14.3.0
single-spa-angular version: 7.1.0

Provide a minimal reproducible example.


Angular 5.2.4, CLI 1.6.8 : Cannot find module './src/ngx-uploader/module/ngx-uploader.module

I forked the repo and did some changes to work, However, I am getting these issues in these cases.
I followed this link https://github.com/angular/angular-cli/issues/8284
My forked repo
I updated tsconfig.app.json include
"include": [         "../node_modules/ngx-uploader/index.ts"     ],
or
"include": [         "../node_modules/ngx-uploader/src/ngx-uploader/**/*.ts",         "../node_modules/ngx-uploader/index.ts"     ],
ERROR in node_modules/ngx-uploader/index.ts(1,15): error TS2307: Cannot find module './src/ngx-uploader/module/ngx-uploader.module'.
node_modules/ngx-uploader/index.ts(2,15): error TS2307: Cannot find module './src/ngx-uploader/classes/ngx-uploader.class'.
node_modules/ngx-uploader/index.ts(3,102): error TS2307: Cannot find module './src/ngx-uploader/classes/interfaces'.
node_modules/ngx-uploader/index.ts(4,15): error TS2307: Cannot find module './src/ngx-uploader/directives/ng-file-select.directive'.
node_modules/ngx-uploader/index.ts(5,15): error TS2307: Cannot find module './src/ngx-uploader/directives/ng-file-drop.directive'.
Getting this error if I delete include intsconfig.app.json
If I use the main repo there are errors.
AmI missing any?
ERROR in node_modules/ngx-uploader/index.ts(1,15): error TS2307: Cannot find module './src/ngx-uploader/module/ngx-uploader.module'.
node_modules/ngx-uploader/index.ts(2,15): error TS2307: Cannot find module './src/ngx-uploader/classes/ngx-uploader.class'.
node_modules/ngx-uploader/index.ts(3,102): error TS2307: Cannot find module './src/ngx-uploader/classes/interfaces'.
node_modules/ngx-uploader/index.ts(4,15): error TS2307: Cannot find module './src/ngx-uploader/directives/ng-file-select.directive'.
node_modules/ngx-uploader/index.ts(5,15): error TS2307: Cannot find module './src/ngx-uploader/directives/ng-file-drop.directive'.
src/app/app.module.ts(10,10): error TS2305: Module '"E:/frontend-app/node_modules/ngx-uploader/index"' has no exported member 'NgUploaderModule'.
src/app/create-article/create-article.component.ts(2,48): error TS2305: Module '"E:/frontend-app/node_modules/ngx-uploader/index"' has no exported member 'humanizeBytes'.
src/app/create-group/create-group.component.ts(8,49): error TS2305: Module '"E:/frontend-app/node_modules/ngx-uploader/index"' has no exported
member 'humanizeBytes'.
src/app/edit-article/edit-article.component.ts(2,48): error TS2305: Module '"E:/frontend-app/node_modules/ngx-uploader/index"' has no exported
member 'humanizeBytes'.
src/app/edit-group/edit-group.component.ts(8,49): error TS2305: Module '"E:/New folder/frontend-app/node_modules/ngx-uploader/index"' has no exported member 'humanizeBytes'.
src/app/user-profile-edit/user-profile-edit.component.ts(10,49): error TS2305: Module '"E:/frontend-app/node_modules/ngx-uploader/index"' has no exported member 'humanizeBytes'.

This seems like a source-map-loader issue. Try excluding the library in your webpack config.
{         test: /\.js$/,         loader: 'source-map-loader',         exclude: ['node_modules/ngx-uploader']       },

Problem is that after installation src folder resides inside of ./dist which makes all ./src references broken. If I replace public_api.ts/index.ts referenses from ./src to ./dist/src it all works.

It seems like to many files are published to the repository. According to this article https://medium.com/@nikolasleblanc/building-an-angular-4-component-library-with-the-angular-cli-and-ng-packagr-53b2ade0701e#8dd5 only ./dist folder should be published.
When I moved everything from the ./dist folder to the ./ and removed everything else then it works well.

I have probably same problem after upgrading project to angular 6. Don't you have pullrequest to fix it?
ERROR in ./node_modules/ngx-uploader/src/ngx-uploader/directives/ng-file-select.directive.ts
Module build failed: Error: C:\dev\workspace\idea\node_modules\ngx-uploader\src\ngx-uploader\directives\ng-file-select.directive.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files
' or 'include' property.
The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library.
WIth the previous version it is working fine.

I have the same issue with "@angular/core": "6.0.4"

I was have the same issue with angular 6
and i found the problem ...
import "NgxUploaderModule" not "NgUploaderModule"
import { NgxUploaderModule } from 'ngx-uploader';
now its worked

@ahmedwerpx's solution worked for me. @jkuri it looks like the docs need to be updated to:
import { NgxUploaderModule } from 'ngx-uploader';

rather than:
import { NgUploaderModule } from 'ngx-uploader';

I see, thanks ... I'll update it soon.

I have the same problems, i have 6.0.1 but I am not be able to import,
Cannot find ngx-uploader.module all the time
I try import { NgxUploaderModule } from 'ngx-uploader';

@pelirroja191186 you might also need to change from NgUploaderModule to NgxUploaderModule in your "imports" section of your NgModule

thanks, i'll try
En viernes, 29 de junio de 2018 9:07:29 CEST, Axel Bodart<EMAIL_ADDRESS>escribió:
@pelirroja191186 you might also need to change from NgUploaderModule to NgxUploaderModule in your "imports" section of your NgModule
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Renamed label_field and label_options

Renamed  label_field and label_options in the dimension classes to avoid confusing with the label which is the display value for the dimension or metric as opposed the display values for the query results

Coverage decreased (-0.003%) to 94.464% when pulling e64162af775abe36693b03e1c725e51163232308 on rename_label_to_display into f51ab4de9f2e1ff9f40c2a74ef1ebc25bcd19ba3 on master.

Coverage decreased (-0.003%) to 94.464% when pulling e64162af775abe36693b03e1c725e51163232308 on rename_label_to_display into f51ab4de9f2e1ff9f40c2a74ef1ebc25bcd19ba3 on master.

Coverage decreased (-0.003%) to 94.464% when pulling e64162af775abe36693b03e1c725e51163232308 on rename_label_to_display into f51ab4de9f2e1ff9f40c2a74ef1ebc25bcd19ba3 on master.


1.13 not tagged latest

I just saw that there is a version 1.13. Is there a reason why the latest tag hasn't been updated? To me this sounds like: "it's there but we're not confident it's production ready."

And I have also a question about releasing policy. When should we wait a new release (1.14)? :smiley:

Hey all,
I've just noticed this too, and I'm also interested in whether we should use 1.12 or 1.13 if we want to get the latest stable release.
Thanks!

@nikitashalnov  I'd suggest as soon as any pending pull requests are reviewd and merged. 😋🤗

Hey all,
1.13 should be ready for production use. The 'latest' tag mismatch is unintentional.
We currently don't have a formal release schedule in place, but working on formalizing one.


Error handling: Custom URL Entry

After iOS 16 update, alert prompt is not showing.
Find a work around to show alert after "Invalid URL entry"

Same for creating a custom .json/.py file


python.pkgs.werkzeug: 0.14.1 -> 0.15.1

Motivation for this change
fixes #33093
Does this warrant a backport?
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @samdroid-apps @teozkr

@GrahamcOfBorg eval
@GrahamcOfBorg build python2.pkgs.werkzeug python3.pkgs.werkzeug

Does this warrant a backport? that requires testing all reverse dependencies

Does this warrant a backport?

that requires testing all reverse dependencies

I'm not interested in doing that. So I'd say we don't backport unless someone asks us to.

This breaks octoprint:
ImportError: cannot import name cached_property

cc @abbradar @peterhoeg

That's not a big deal - we can just pin werkzeug for octoprint. Would you mind doing that @dotlambda ?

@GrahamcOfBorg build python2.pkgs.buildbot-full python3.pkgs.buildbot-full


Add rescue_from for expired sessions

Closes #64

it's possible that the session expired but I think it's also possible that the session is still valid but the authenticity token expired. that sound right? if so we'll need this to be a bit more generic (redirect back instead of to the new session page, change language to something more like please try your request again...thoughts?)

As long as you used cookie based sessions the token only becomes invalid if you lose your session cookie, either by deleting it or because it expired. But maybe doing it a more generic way still doesn't hurt? How about this?
rescue_from ActionController::InvalidAuthenticityToken do
  flash[:notice] = "Please try again."
  redirect_back fallback_location: '/', allow_other_host: false
end

Ok given that I'd lean towards a variation on your original, "Your session expired, please try again." and then probably makes sense for the fallback location to be root_path or no?

@hiattp Of course, was just quick and dirty, updated now.


Update azure.yaml template name and metadata

Purpose
I updated the template name and meta data template to match the repo name. This is required for azd.
Does this introduce a breaking change?

[ ] Yes
[ x ] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ x ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[  ] Other... Please describe:

@gkulin @anfibiacreativa - are there other places the template name needs to be updated after changing the repo name? Tagged y'all for review.

Hi @kristenwomack, this looks good to me. Let me know if you'd like me to merge it

Hi @kristenwomack, this looks good to me. Let me know if you'd like me to merge it

Yes, please - thank you!

Someone already made these changes. Thank you


Add additional zig releases to zig toolchain

More recent version of zig are required to compile code on modern versions of macOS (at least 13.x, and probably 14.x as well), otherwise zig seems to be unaware of the macOS version and errors out.
I tested this on Linux and it still works. It gets further on macOS, but runs in to more problems with the linker even after #462. I'll file a separate issue for that once this is accepted so that the error can be reproduced on the main branch.

Thanks!

Thanks, merged!


Redeem Fees

Vaults are paid in interBTC on redeem which prevents them from easily exiting the system on redeems alone. Should we remove redeem fees?

We will remove redeem fees if a vault is (1) redeeming with itself and (2) redeeming its full amount of interBTC.

Addressed in #29 and https://github.com/interlay/interbtc/pull/211