text:
Throttle results in 100% cpu

use async_std::stream::StreamExt;
use async_std::sync::channel;
use async_std::task;

use std::thread;
use std::time::Duration;

#[async_std::main]
async fn main() {
    let (requests_tx, requests_rx) = channel::<i32>(10);
    let mut requests_rx = requests_rx.throttle(Duration::from_secs(1));

    thread::spawn(move || {
        task::block_on( async {
            for i in 0..5 {
                requests_tx.send(i).await;
            }
        });

        thread::sleep(Duration::from_secs(100));
    });

    while let Some(item) = requests_rx.next().await {
        println!("{:?}", item);
    }
}

I was able to reproduce this locally, uploaded a repro here: https://github.com/yoshuawuyts/repro-async-std-583.

Confirmed that this happens in release mode too.

I now suspect this is caused because thread::sleep is called, and our scheduler doesn't know how to handle that so it bounces the task around indefinitely. The spikes seem to be happening only once thread::sleep is hit.

When applying this patch:
diff --git a/src/main.rs b/src/main.rs
index fa8dfed..b2d8e8a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -8,7 +8,7 @@ use std::time::Duration;
 #[async_std::main]
 async fn main() {
     let (requests_tx, requests_rx) = channel::<i32>(10);
-    let mut requests_rx = requests_rx.throttle(Duration::from_secs(1));
+    let mut requests_rx = requests_rx.throttle(Duration::from_secs(10));

     thread::spawn(move || {
         task::block_on( async {

The output doesn't seem to spike, further corroborating the theory that this is caused by thread::sleep confusing the scheduler.

Okay, no it's not the threads happening. I think you're right and it's indeed something about debounce perhaps? Will run a flame graph next.
Tested it with this patch, and got the same results:
diff --git a/src/main.rs b/src/main.rs
index fa8dfed..7c71e3a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -2,7 +2,6 @@ use async_std::stream::StreamExt;
 use async_std::sync::channel;
 use async_std::task;

-use std::thread;
 use std::time::Duration;

 #[async_std::main]
@@ -10,14 +9,14 @@ async fn main() {
     let (requests_tx, requests_rx) = channel::<i32>(10);
     let mut requests_rx = requests_rx.throttle(Duration::from_secs(1));

-    thread::spawn(move || {
+    task::spawn(async move {
         task::block_on( async {
             for i in 0..5 {
                 requests_tx.send(i).await;
             }
         });

-        thread::sleep(Duration::from_secs(100));
+        task::sleep(Duration::from_secs(100)).await;
     });

     while let Some(item) = requests_rx.next().await {

Yes okay, if we remove the throttle call the problem indeed goes away.
diff --git a/src/main.rs b/src/main.rs
index fa8dfed..4839cc2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -8,7 +8,7 @@ use std::time::Duration;
 #[async_std::main]
 async fn main() {
     let (requests_tx, requests_rx) = channel::<i32>(10);
-    let mut requests_rx = requests_rx.throttle(Duration::from_secs(1));
+    let mut requests_rx = requests_rx;

     thread::spawn(move || {
         task::block_on( async {

Okay, ran the flame graph locally, but nothing stands out really. It's a flat line it seems :sweat_smile:

Okay, it seems that I forgot to remove the task::block_on call from task::spawn when I was testing that out. The CPU spikes go away if we remove it.
diff --git a/src/main.rs b/src/main.rs
index fa8dfed..ff7dae9 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -2,22 +2,19 @@ use async_std::stream::StreamExt;
 use async_std::sync::channel;
 use async_std::task;

-use std::thread;
 use std::time::Duration;

 #[async_std::main]
 async fn main() {
     let (requests_tx, requests_rx) = channel::<i32>(10);
-    let mut requests_rx = requests_rx.throttle(Duration::from_secs(1));
+    let mut requests_rx = requests_rx.throttle(Duration::from_secs(10));

-    thread::spawn(move || {
-        task::block_on( async {
-            for i in 0..5 {
-                requests_tx.send(i).await;
-            }
-        });
+    task::spawn(async move {
+        for i in 0..5 {
+            requests_tx.send(i).await;
+        }

-        thread::sleep(Duration::from_secs(100));
+        task::sleep(Duration::from_secs(100)).await;
     });

     while let Some(item) = requests_rx.next().await {

Seems like this might still be related to #358 ?

thread::spawn(move || task::block_on(async {
        let requests_tx = requests_tx;
        for i in 0..10 {
            requests_tx.send(i).await;
        }

        task::sleep(Duration::from_secs(100)).await
    }));

Does this look like a legitimate use case? Looks so to me and cpu spikes in this case as well. task::block_on inside thread::spawn is a very similar case to using task::block_on in main.

using block_on and thread::* APIs inside of a task should be discouraged, and is definitely not using the APIs the way we intended it to

Sure. But in my head, worst case of using synchronous apis inside a cooperative eventloop should cause a block (and hence no progress), not cpu spikes.

@tekjar if you apply the patch above, the performance issues you experienced should go away (:

I doesn't to me. Maybe you throttle duration is very high (10 secs) and you are not waiting enough time?

thread::spawn(move || {
    task::block_on( async {
            for i in 0..5 {
                requests_tx.send(i).await;
            }
    });

    thread::sleep(Duration::from_secs(100));
});

Is this pattern very weird in async world. To me, all the asynchronous code is encapsulated in task::block_on. I would've used task::sleep inside it. But using thread::sleep outside doesn't look like an anti pattern

Here is your busy-loop: https://github.com/async-rs/async-std/blob/50cefce803c88f3cd321b3bc181427b2bc4b30ce/src/stream/stream/throttle.rs#L59
The usage pattern of @tekjar looks fine to me. It's doing thread blocking operations in a thread, and not in a task.

authors: Matthias247 tekjar yoshuawuyts

repo: async-rs/async-std


text:
Can not use a custom executor

Hi, thank you for your work on async-std!
I noticed that the function spawn_blocking and every function that relies on it (for example, all the file related operations) does not allow choosing an executor. From the documentation:

The task will be spawned onto a thread pool specifically dedicated to blocking tasks. This is useful to prevent long-running synchronous operations from blocking the main futures executor.

I was very surprised to read this line in the documentation. My usual experience with rust libraries is that everything is zero cost abstraction, or at least attempts to be as much as possible. Creating an implicit executor seems to be going in the other direction.
For all my testing I am using a deterministic executor that allows to detect deadlocks and simulate the passage of time.
An example, If I choose to use a function like async_std::fs::remove_dir anywhere in my code, I will not be able to use my deterministic executor to test the code. Because now, instead of having one test executor that I control, I also get an additional implicit executor from inside async-std that is out of my control.
Is there any workaround if I want to be able to use my executor instead of the implicit one provided by async-std?
EDIT: This issue seems to be a problem that repeats in other async frameworks. See also:

https://github.com/http-rs/tide/issues/276
https://github.com/actix/actix-web/issues/913

Possibly related to issue: https://github.com/async-rs/async-std/issues/79

@realcr it sounds like what you want is perhaps a global hook for executors. Making async-std deterministic has not been part of the design so far; we've focused on making it accessible, performant, and complete.
However I'm sympathetic to your use case, and see how that could be valuable. Thanks for raising this, we'll keep this issue open!

source: gharchive/issue

authors: realcr yoshuawuyts

license_type: permissive

license_source: github-api


text:
TypeError: Class constructor MqttAdapter cannot be invoked without 'new'

After all steps in your tutorial (www.asyncapi.com/v1/tutorial/), after running 'npm start' it throws an error like '
const adapter = hermesMQTT({
^
TypeError: Class constructor MqttAdapter cannot be invoked without 'new'
'. What is missed from my side?..

I'm not sure what can be failing there. Can you share your package.json file with me?

Sure
{   "name": "streetlights_api",   "description": "The Smartylighting Streetlights API allows you to remotely manage the city lights. ",   "version": "1.0.0",   "scripts": {     "start": "node src/api/index.js"   },   "dependencies": {     "hermesjs": "1.x",     "hermesjs-router": "1.x",     "hermesjs-mqtt": "latest",     "node-yaml-config": "0.0.4"   } }

Sure
{
  "name": "streetlights_api",
  "description": "The Smartylighting Streetlights API allows you to remotely manage the city lights. ",
  "version": "1.0.0",
  "scripts": {
    "start": "node src/api/index.js"
  },
  "dependencies": {
    "hermesjs": "1.x",
    "hermesjs-router": "1.x",
    "hermesjs-mqtt": "latest",
    "node-yaml-config": "0.0.4"
  }
}

Ok I know what's happening. The package hermesjs-mqtt should be using version 1.1.1. Version 2 (latest) is only compatible with Hermes 2.

So, seems it helped. Thanks!

authors: fmvilas mikekekekeke

repo: asyncapi/asyncapi

license_source: bigquery


text:
feat: add support for template-generator versioning requirements

Description
It allows template owners to specify which version range of the generator they support. For instance, if we find a .tp-config.json file with the attribute "generator": ">=0.36.0 <=1.0.0" and the current version of the generator is 1.5.0, it should trigger an error.
The format of the generator config property is a string representing semantic versioning ranges. See semver for more details.
Related issue(s)
Partially solves #280

It would be a nice DX if we could enrich the info displayed in the console with information what is the latest version of the template compatible with a given version of the generator

This is hard to implement. I can offer the opposite: the latest generator version that works with the template. How do we find the latest version of the template compatible with the current version of the generator? Any ideas?

@fmvilas I'm not saying it is easy, I'm just saying it is better :) we can have a separate issue for it for further discussion and research. At least official templates should have such functionality

@fmvilas just update docs and I approve

Docs updated 😊

source: gharchive/pull-request

authors: derberg fmvilas

repo: asyncapi/generator


text:
chore: add Florence and Pratik as contributors and also codeowners

Description
@fmvilas @magicmatatjahu @jonaslagoni folks I want to suggest @Florence-Njeri and @pratik2315 as maintainers for generator documentations. Over the last few months, they participated in Google Season of Docs, reworked our docs, demonstrated good understanding of the generator, they also started participating in ongoing PRs as reviewers.
Additionally:

Florence worked on CI/CD and made sure docs are rendered here https://www.asyncapi.com/docs/tools/generator that will make it easier to read Generator docs and bring more viewers to AsyncAPI website
Pratik did a presentation at AsyncAPI Conference 2022 about the Generator  -> https://www.youtube.com/watch?v=TyAVoKDIQvM

both Florence and Pratik shared that they want to stay with AsyncAPI community and learn more about technical writing and help maintain docs for the generator.
cc @alequetzalli
Congrats Alejandra! you brought great people into the project through GSoD 👏🏼
@Florence-Njeri and @pratik2315 please share in the PR if you agree to be maintainers. If yes, as I shared with you, you can also become TSC members fro entire initiative. Once this PR is merged you can open a PR and update https://github.com/asyncapi/community/blob/master/TSC_MEMBERS.json to put your names there. Example PR -> https://github.com/asyncapi/community/pull/510

Hey there @derberg ! I would be honored to be part of this community and help it grow both as a maintainer and a TSC member🙏

Hey @derberg, I'd be honored to be a maintainer for the docs and also a TSC member.

/rtm 🚀

authors: Florence-Njeri derberg pratik2315


text:
[📑 Docs]: Fix broken hyperlinks

What Dev Docs changes are you proposing?
I would like to contribute to Async API docs, by fixing the following broken hyperlinks

https://www.asyncapi.com/docs/tools/generator/asyncapi-document - Template Context
https://www.asyncapi.com/docs/tools/generator/parser- Template Context
https://www.asyncapi.com/docs/tools/generator/template-development -  Render Engine

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi @kakabisht thank you for reporting the issue. Would you like to work on it?

Hi @Florence-Njeri, sure would love to work on it.

@kakabisht This affects the generator documentation, please create an issue in https://github.com/asyncapi/generator/issues and I'll add details

@Florence-Njeri Done creating an issue, refer: https://github.com/asyncapi/generator/issues/935

Thanks @kakabisht @Florence-Njeri for understanding the issue properly and working it to resolve it in generator repository. I'm closing this issue here so that you will resolve this issue there.

authors: Florence-Njeri akshatnema kakabisht

repo: asyncapi/website


text:
Changed the type of cursorPosition from Int to Long for AV-Tracking

For AV tracking of livestreams it should be possible to use the Unix time in milliseconds as cursorPosition.
To make this possible, the cursorPosition type must be changed from int to long.

Hi @gabrielvrebac,
cursorPosition expects a value expressed using the beginning of the video as a reference. This means that this value should not be a timestamp in milliseconds.
Using the Unix time in milliseconds would lead to incorrect values in playback where the end user interacts with the video (pause, seek, speed change, ...).
If you must use the timestamp as the value despite these potential problems, you should always subtract the start timestamp.
Don't hesitate if you need to.

authors: BenDz gabrielvrebac

repo: at-internet/piano-analytics-android

license: MIT


text:
🛑 Wedding HTTPS is down

In 6134624, Wedding HTTPS ($WEDDINGHTTPS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wedding HTTPS is back up in 21d3032.

repo: atatkin/milos-uptime


text:
🛑 Minted HTTP is down

In dbff195, Minted HTTP ($MINTEDHTTP) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Minted HTTP is back up in 3c588ff.


text:
🛑 Wedding HTTPS is down

In 1035f12, Wedding HTTPS ($WEDDINGHTTPS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wedding HTTPS is back up in 0173c06.


text:
🛑 Wedding HTTPS is down

In fda57cc, Wedding HTTPS ($WEDDINGHTTPS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wedding HTTPS is back up in bd5aea2.


text:
🛑 Wedding HTTPS is down

In 1f67bff, Wedding HTTPS ($WEDDINGHTTPS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wedding HTTPS is back up in 9740e22.


text:
dbx update fix

With the latest update dbx now supports templates in subfolders.
At the same time, automatically importing the template from the same folder as the file now fails. Hence we had to update.

pipline failed in delete step. not important. merging anyway.

repo: atc-net/atc-dataplatform


text:
New to Postal

hello, I just had some general questions about the software. I hope that's okay to post them here.
here goes.....

Can I set up Postal on Amazon Ec2? Provided that my Ec2 instance is the correct version of Ubuntu for Postal to run on?

Now some domain providers only allow a certain number of emails to be sent per hour. Can Postal do large email blasts in a timely manner? I mean more then 200 to 300 an hour?

Could I setup Postal with Sendy?

Once Postal is installed and running how do I access it in the browser? For example Wordpress has an admin url that I can log into.

Thank You

yes but there are a few caveats as Amazon filters outgoing SMTP, see https://github.com/atech/postal/issues/192 and https://github.com/atech/postal/issues/212

depends mostly on the spec of your server and also permission from Amazon, see https://github.com/atech/postal/issues/192 (again)

I'm not a Sendy user but it seems unlikely, Sendy looks like it only sends through SES

Postal has a web interface as the only way of using it using whatever domain name you set it up with

Closing as appears to be answered. Thanks!

authors: catphish willpower232 yeah-nothing

repo: atech/postal

license: mit


text:
[Feature] JVM/JRE Crash log support?

Log's URL: https://mclo.gs/ISFDT1h

This not support for your minecraft server. this is support for the mclogs backend itself

Just realized you wanted a feature, not support for your mc server, oops

@Soapy7261
Yes, this log comes from the JVM / JRE
When Minecraft client crashes in the JVM / JRE environment

you literally uploaded your access token.
supporting jvm logs means redacting those, too.

@derspyy
hello i'm not found access token in my jvm log
if support this log
need auto hide access token
thank you

I'm pretty sure Aternos will never make it for JVM/JRE.
The logs are specifically for Minecraft; anything else you paste into them will be read as "Unknown Log".
Know that I'm not the one to choose this, and I'm not part of the Aternos team.

You have uploaded accessToken in https://mclo.gs/ISFDT1h#L21
But i think it have been expired xD

I don't think adding support for those logs makes sense. Not only are they not directly Minecraft related, they also have a weird format that would be hard to implement.
But I've added a filter to remove access tokens from any log.

repo: aternosorg/mclogs


text:
Integrate upstream changes

[ ] https://github.com/succinctlabs/sp1/pull/912
[x] https://github.com/succinctlabs/sp1/pull/922
[ ] https://github.com/succinctlabs/sp1/pull/940
[x] https://github.com/succinctlabs/sp1/pull/995
[x] https://github.com/succinctlabs/sp1/pull/1013
[ ] https://github.com/succinctlabs/sp1/pull/1046
[x] https://github.com/succinctlabs/sp1/pull/1119
[x] https://github.com/succinctlabs/sp1/pull/1123

I added most in #59. We probably don't want https://github.com/succinctlabs/sp1/pull/1046. Not sure about the others. They're related and we can revisit this again later.

repo: athenavm/athena


text:
Discover/Add Layer 2 components

Created by Luis Marin Vera via monday.com integration. 🎉

Layer 2 Topology (label: epic_topo_l2_disc): Discover/Add Layer 2 components of network topology, such as which interfaces support Layer 2 services, which services are available (E-Line or E-LAN, for instance), and VLAN ranges. (Yufeng)

repo: atlanticwave-sdx/sdx-controller


text:
chore: update nodejs18

What's in this PR?
Updated jest version to 29.x.x
Updated node version to 18
Modified ts-jest/utils to jest-mock
Why
Cause Node 14 is gonna be deprecated.
Whats Next?
Lots of testing

I am yet to finalise this PR.
Please do not review this yet.

repo: atlassian/github-for-jira


text:
cleanup functions don't work properly if externalID is changed

instanceSpec.Spec.ExternalID = instanceActual.Spec.ExternalID
^ bad logic - should copy only if Spec is empty. Otherwise, make sure it can handle error properly from Service Catalog on clash (or just detect here?).

Most likely the cleanup logic should look like this:
For class:

Check immutability of the class things (not plan things) if empty, use whatever one they had previously
If not empty and they don't match, error

For plans:

Error if they go from id->name or name->id if using names for class, must use name for plans (same with IDs)
take the user's version

authors: amckague wryun

repo: atlassian/smith


text:
is this a homebrew issue?

cinders fails to install nginx. i tried using cinderella -u to use the unstable builds (seem to think it's mean to avoid using homebrew altogether...
stacktrace can be found here: https://gist.github.com/1334596

Yeah, that's what happens with homebrew.  Sometimes it's broken and it's why -u needs to be triggered to grab master.
Any reason you can't bootstrap with the defaults and then update your homebrew?

Does homebrew need to be run within the Developer directory or will it pick up cinderella's config?

Yeah, sometimes you need to start a new terminal to get the right shell environment.  Did it bootstrap happily now?

Re: bootstrap - not had a successful install yet, but I think I know why. I tried to install the missing packages using brew, and after running brew doctor I discovered a library conflict (mono). After I uninstalled this lib I made more progress, but I've got a completely different error this time.
I'll close this issue and open a new one.

authors: atmos booyaa

repo: atmos/cinderella


text:
Enabling the package adds ~5% CPU for every Atom window

Hello guys,
When I have the package enabled, I get a constant load around 5% for every Atom window.
I have installed two linter packages (linter-jshint and linter-ruby), but disabling them does not effect the load.
I am using Atom on rMBP running OSX 10.9.5

This is the activity monitor, running 3 Atom windows.

Do you get that cpu load on an idle IDE or whenever you add/edit text?

I get it on idle IDE and I have the Lint on fly disabled.

Does it go away if you disable the core linter?

Yes. This is how I got to the conclusion that this package is causing the load.

We are using a requestAnimationFrame, maybe it doesn't let the machine be in the rest state. Can you append the line below after this line and report back the statistics https://github.com/atom-community/linter/blob/master/lib/message-registry.coffee#L3
requestAnimationFrame = (callback) -> setTimeout(callback, 16.66)

Yep, after line adding the line, the load dropped to ~2.2%

What's the status if you change that 16.66 to 60?

Dropped to 0.6-0.7

I think I'll be setting that value to 100 for 10 frames per second in the next release.

Thank you for the help @steelbrain. I did not expect to solve this so fast :)

authors: mupkoo steelbrain

repo: atom-community/linter


text:
yuyi

This is an  tag
This is an  tag
This is an  tag
Keep in mind that Atom is highly customizable in a number of ways and we strongly prefer that you consider these options before filing this issue:

https://flight-manual.atom.io/using-atom/sections/basic-customization/: tweak Atom's configuration, styles, and keybindings.
https://flight-manual.atom.io/using-atom/sections/atom-packages/: install a community package.
https://flight-manual.atom.io/hacking-atom/: use the Atom API in your init script, to create a package, or to enhance an existing package.

If you're convinced that none of these options are appropriate for the feature you want, please explain why that's the case by completely filling out the issue template below.
Also note that the Atom team has finite resources so it's unlikely that we'll work on feature requests. If we're interested in a particular feature however, we'll follow up and ask you to submit an RFC to talk about it in more detail.
-->
Summary
One paragraph explanation of the feature.
Motivation
Why are we doing this? What use cases does it support? What is the expected outcome?
Describe alternatives you've considered
A clear and concise description of the alternative solutions you've considered. Be sure to explain why Atom's existing customizability isn't suitable for this feature.
Additional context
Add any other context or screenshots about the feature request here.

Thanks for reaching out!
We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us halfway :grinning:

authors: Arcanemagus twasil

repo: atom/atom


text:
Uncaught Error: ENOENT: no such file or directory, lstat 'F:/OneDrive\QouittowS front\1 kb 50 kb...

[Enter steps to reproduce:]

...
...

Atom: 1.41.0 x64
Electron: 4.2.7
OS: Microsoft Windows 10 Pro
Thrown From: Atom Core
Stack Trace
Uncaught Error: ENOENT: no such file or directory, lstat 'F:\OneDrive\QouittowS front\1 kb 50 kb\200 kb 300 kb\50 kb - 100 kb\STEVEN RICHARD GIERKE's Notebook.url'
At fs.js:115

Error: ENOENT: no such file or directory, lstat 'F:\OneDrive\QouittowS front\1 kb 50 kb\200 kb 300 kb\50 kb - 100 kb\STEVEN RICHARD GIERKE's Notebook.url'
    at Proxy.realpathSync (fs.js:1435:7)
    at Proxy.fs.realpathSync (ELECTRON_ASAR.js:306:40)
    at TreeView.moveEntry (~/AppData/Local/atom/app-1.41.0/resources/app/static/<embedded>:14:1008510)
    at TreeView.onDrop (~/AppData/Local/atom/app-1.41.0/resources/app/static/<embedded>:14:1015439)
    at HTMLDivElement.<anonymous> (~/AppData/Local/atom/app-1.41.0/resources/app/static/<embedded>:14:989070)

Commands

Non-Core Packages

Thanks for contributing!
We noticed that this looks like a duplicate of https://github.com/atom/tree-view/issues/1282 so you can subscribe there for updates if you'd like.

Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.

authors: QouittowS rsese


text:
Uncaught Error: ENOENT: no such file or directory, lstat '/ same folder).jsx'

[Enter steps to reproduce:]

...
...

Atom: 1.48.0 x64
Electron: 5.0.13
OS: Mac OS X 10.13.6
Thrown From: Atom Core
trying to drag .jsx from one folder to another , not sure why this is happening.
Stack Trace
Uncaught Error: ENOENT: no such file or directory, lstat '/ same folder).jsx'
At fs.js:122

Error: ENOENT: no such file or directory, lstat '/ same folder).jsx'
    at Proxy.realpathSync (fs.js:1512:7)
    at Proxy.fs.realpathSync (electron/js2c/asar.js:300:40)
    at TreeView.moveEntry (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:943663)
    at TreeView.onDrop (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:950592)
    at HTMLDivElement.<anonymous> (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:924223)

Commands
     -1:30 tree-view:move (span.name.icon.icon-file-directory)
     -1:23.2.0 core:confirm (input.hidden-input)
     -1:15.1.0 tree-view:add-folder (span.name.icon.icon-file-directory)
     -1:06.7.0 core:confirm (input.hidden-input)

Non-Core Packages
adobe-script-runner 0.1.3
autohide-tree-view 0.25.1
bracket-colorizer 1.4.0
fancy-bracket-matcher 2.1.0
language-applescript 0.3.0
nms-color-bracket 0.1.0
open-unsupported-files 1.0.20
pandoc-convert 1.1.1
rainbow-csv 1.4.0
run-in-indesign 0.1.2
set-syntax 0.4.0
tabular 0.1.0
termination 0.7.6
tree-view-autoresize 2.3.0
tree-view-filter 0.5.5

Thanks for reaching out!
We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us half way 😀

authors: darangi spaciousmind


text:
Help, restore .dump file. undo file

I had backup .dump file from TablePlus, then i open this file and press save (ctrl+s) encoding was crashed and i cant undo this . my file increased in size (x2) and i don't now what me gonna do with that :(

Thanks for reaching out!
Because we treat our issues list as the Atom team's backlog, we close issues that are questions since they don't represent a task needing to be completed. For most questions about Atom there are a lot of options, check out:

User Documentation — The Atom Flight Manual
Developer Documentation — Atom API Documentation
FAQ — The Atom FAQ on Discuss
Message Board — Discuss, the official Atom and Electron message board
Chat — Join the Atom Slack team

On Discuss and in the Atom Slack team, there are a bunch of helpful community members that should be willing to point you in the right direction.


text:
Atom cant open in browser

Hi sorry for asking as im newbie in this field. Trying to learn. My atom file cant update the new one whenever i click the html file once i finish the format html. But if i type in notepad, and then save it. It work well with the current update. How to solve this ya? Thankyou in advance guys

This should be asked in discussions first. If it then seems like a bug, report it here.

authors: ThatXliner mhdhafizddin


text:
Open files not from Tree View in preview tabs

Can you make it so that files also get opened in preview tabs when you open them from the Open dialog?

Would you mind moving this to https://github.com/atom/tabs?

Moved to atom/tabs#172


text:
unresponsive on loading big files

copy-pasting the content of the minified css below files make atom unresponsive for ~20secs. atom helper load goes up to 100%
reporter-ohne-grenzen.de/fileadmin/templates/assets/dist/style.min.css

Thanks for the report -- I believe this is a duplicate of https://github.com/atom/atom/issues/979.

authors: izuzak tomquas


text:
cmd-w after the last editor should close the window

When I have multiple buffers open in tabs and a tree view, my past editors (TextMate, Sublime) have conditioned me to expect that a repeated ⌘+w close each buffer's tab, then close the frame and its tree list after the last buffer has been closed.  Atom does not behave this way, and I'm curious if this is by design.
It is worth noting that Brackets does also hold the frame open after repeated ⌘+w presses. Is this similarly by design in Atom? Must I switch fingers to ⌘+⇧+w to close the frame?

For me, this is intuitive:
A file is open and you press Cmd-W: This closes the last file, and focus returns to the file tree so you can up/down/enter to open another file.
No file is open and you press Cmd-W: The full MDI window closes.

Seems strange that Cmd+W doesn't close the window on Mac because this is just regular convention across all applications. This felt very much "broken" when I realized I couldn't close the window with Cmd+W.

+1

+1

would it be easily possible to make background-tips receive keyboard events? Then we could bind cmd-w to window:close for an easy workaround.

Oh, how is the package the-closer not mentioned here? It addresses this very issue.

@jacekkopecky it was! https://github.com/atom/atom/issues/863#issuecomment-47467785 works just great and it makes atom usable as your $EDITOR

Ah, @izuzak neglected to mention the name of his package when introducing it. 8-)

+1

+1 *** Atom is literally the only app on my Mac that doesn't behave this way.

+1

+1

@benogle, you have changed the title of the issue, by adding "option". I don't know if it's a good idea. On OSX, such behavior has no meaning being an option, since it is a de facto standard.

Yes, an option is important because this behavior has been in since the beginning. There will inevitably be new people who are frustrated by cmd-w closing the window. Whenever we change behavior we see this happen, so we need to minimize frustration.

Just want to mention again that "the-closer" package solves this issue perfectly. (Though I still think it should be default functionality because I'm pedantic like that).

You know better. Isn't it weird to ship an application which requires a lot of tweaking before if behaves nicely (nice as "just like a regular app")? I've been bitten by those weird default settings already. Now I'm more or less aware that oddities may be fixable by crawling in the (many) options, but it's not quite ideal.

For the record, I think this setting should be default to closing the window, but I want to give people an out.

https://github.com/atom/atom/pull/9607 added support for this (thanks, @DouweM!), so it should reach stable and beta releases in the near future. The feature will be enabled by default, but it's possible to opt-out using a config option.
"*":
  core:
    closeEmptyWindows: false

@izuzak A config option which is also available in the UI: :)

Thanks, @DouweM. :)
I was just looking at that and it seems that the description of that config option is a bit misleading. It says "When a window with no tabs or panes is given the 'Close Tab' command, close that window."
However, if I trigger that command (Tabs: Close Tab) through the command palette -- the windows is not closed. It's closed only when I hit cmd-w or trigger the Core: Close command through the command palette. Do you see the same behavior? If so, do you think we should clarify that or make some changes?

@izuzak Hmm. The "Close Tab" I'm referring to is the "Close Tab" in the File menu, which is mapped to Cmd-W and fires the core:close command. It is defined by Atom itself and does indeed also appear as "Core: Close" in the command palette.
"Tabs: Close Tab", on the other hand, is the tabs:close-tab command defined by the tabs package, and is not affected. We could patch tabs to show the same behavior, but I am not seeing the "Tab: Close Tab" command at all when 0 tabs are open, so I think we don't need to change anything.

I am not seeing the "Tab: Close Tab" command at all when 0 tabs are open

I definitely see it:

Have you made sure that you've focused the pane? (Try clicking on the background tips text after closing the last tab)

@izuzak Ah, you're right, I see it now. I think we should change the behavior of the tabs:close-tab command do follow the same logic, would you agree?

I think we should change the behavior of the tabs:close-tab command do follow the same logic, would you agree?

I'm not sure, to be honest. How do you feel about creating a new issue for this, mentioning some of the possibilities (changing the description, updating tabs:close, ...) and pinging the folks that were involved in your PR? I think that's the best way to discuss this and also reduce the noise on this issue, which I'm pretty sure is followed by lots of folks. :bowtie:
Thanks for investigating this with me! :bow:

authors: DouweM Gerald09 PaulCapestany benogle cthielen df-sean eparejatobes fulldecent groue izuzak jacekkopecky matthewmccullough mcandre ryanseys smilingpoplar


text:
Update github-releases to 0.3.2

The update to 0.3.1 to 0.3.2 contains two changes:

Fixes an issue where we were using an outdated version of prettyjson that wanted a Node version lower than or equal to 0.11.0, and so would print a warning during every script/build
Fixes an issue where using a proxy would fail to download the Github release (should fix #11525)

Closing this because I can't read properly.  May re-open once I figure some things out.


text:
Destroy a TextEditor's Gutters when it is destroyed

It seems expected for custom Gutters to be destroyed when its TextEditor is destroyed.
We decided that the line-numbers Gutter could not be deliberately destroy-ed, which is why there is a special case for it.
The change in this PR also prevents an exception that would be thrown if you call Gutter::destroy after the TextEditor has been destroyed:

TextEditor::destroyed calls GutterContainer::destroy
... which used to set the GutterContainer's @gutters = null.
Then if you call Gutter::destroy, it calls GutterContainer::removeGutter
... which attempts to call @gutters.indexOf. But @gutters would be null, not an Array.

Oops, sorry about the semicolons.
The reason I can't destroy the line-number gutter is because it throws: https://github.com/atom/atom/blob/master/src/gutter.coffee#L27

Possibly related: https://github.com/atom/atom/pull/8243

@bolinfest That's a similar type of issue but shouldn't be affected by this PR.

looks like I have fix some tests

Installing one-dark-syntax@1.1.0 ✗
Request for package information failed: atom.io is temporarily unavailable, please try again later.
The command "script/cibuild" exited with 1.

Unable to download https://www.atom.io/api/packages/atom-dark-syntax/versions/0.27.0/tarball: 503
The command "script/cibuild" exited with 1.

I dont't think test have failed bacause of your PR.

There are some failing TextEditor and TextEditorPresenter tests.

:+1: Once this builds cleanly.

Adjusted to fix failing tests.

Appreciate it @jssln!

authors: MaximSokolov bolinfest jssln nathansobo


text:
java(Eclipse JDT) starting 58% java language server never ends

atom version: 1.27.0
ide-java version: 0.8.3
The progress bar is always 58% and never ends when i am opening a maven project。 However, it does not happen when i am opening a normal java project。

I am getting a similar issue where opening a regular java project causes no issues but opening a maven project causes the progress bar to be stuck at 'Java (Eclipse JDT) Staring 20% Starting Java Language Server'

I managed to fix the issue by locating the workspace, it was the folder containing the most recent .log file in a .metadata folder
I deleted the workspace and it then started working again.

authors: OrioPrisco gibsoneko

repo: atom/ide-java


text:
In edit view, (optionally?) show strikethrough style [enhancement]

Similar to how bold and italics are shown in the edit view, it would be nice to show font with strikethroughs.  Perhaps have an option for this feature?

@pydolan Please re-open this on the syntax theme you're using (one-dark-syntax perhaps?), as each theme determines how everything is displayed.

Thanks!  I see now that language-gfm is indeed adding a css class, so I just customized the style for myself via Atom's styles.css:
atom-text-editor::shadow {
  // settting strikethrough style in markdown
  .source.gfm .strike {
    text-decoration: line-through;
  }
}

repo: atom/language-gfm


text:
Returns Success even if Minio Service Didn't start Successfully

For example if odd number of shards is provided to MinIO configuration, playbook will install successfully, but MinIO service will fail to start. I'd expect in this case Playbook to report an error from systemctl. Currently it reports success, even if MinIO failed to start.

Hi @katia-e do you have any example of variables you used to configure the role to try to reproduce the issue?

For example I set up the following config.yaml:
- name: "Install Minio"
  hosts: servers
  roles:
    - atosatto.minio
  vars:
    minio_server_datadirs:
      - "/mnt/vdb"
      - "/mnt/vdc"
      - "/mnt/vdd"

This config cannot succeed due to the number of minio_server_datadirs = 3 (should be 4+), so I expect minio to install correctly, but fail to start.
In result I see no failed tasks:
PLAY RECAP *************************************************************************************************************
195.134.212.39             : ok=13   changed=1    unreachable=0    failed=0    skipped=3    rescued=0    ignored=0

But MinIO service failed to start on the remote machine. With this issue I was wondering if it's possible to return error if MinIO failed to start. Otherwise Ansible reports success, while some tasks failed.

authors: atosatto katia-e

repo: atosatto/ansible-minio


text:
Siblings aggregation on vectors issue with multi level hierarchies

Hello,
I'm working on a VaR notebook (you can get it gere, it downloads the necessary data itself) and I seem to have an issue with sibling aggregation on the VaR in a multi-level hierarchy: instead of aggregating only on the siblings that share the same parent level, it seems the sibling aggregation is performed on all members.

Where the VaR (values ok) is defined by:
scaled_pnl_vector = m["Quantity"] * m["pnl_vector.VALUE"]
m['Position Vector'] = atoti.agg.sum(scaled_pnl_vector, scope=atoti.scope.origin('instrument_code'))
m["Confidence Level"] = 0.95
m["VaR"] = atoti.array.percentile(m["Position Vector"], m["Confidence Level"])

Parent VaR (values ok):
m["Parent VaR"] = atoti.parent_value(m["VaR"], h["Trading Book Hierarchy"])
VaR agg on siblings (values not ok):
m["Position Vector Agg on siblings"] = atoti.agg.sum(
    m["Position Vector"],
    scope=atoti.scope.siblings(h["Trading Book Hierarchy"]),
)
m["VaR agg on siblings"] = atoti.array.percentile(m["Position Vector Agg on siblings"], m["Confidence Level"])

Parent VaR Ex (values not ok):
m["Parent Position Vector Ex"] = atoti.agg.sum(
    m["Position Vector"],
    scope=atoti.scope.siblings(h["Trading Book Hierarchy"], exclude_self=True),
)
m["Parent VaR Ex"] = atoti.array.percentile(m["Parent Position Vector Ex"], m["Confidence Level"])

And in the end the marginal VaR (values not ok):
m["Marginal VaR"] = m["Parent VaR"] - m["Parent VaR Ex"]
In this particular example, the value of the Parent VaR Ex at level Hermes should be equal to the value of the VaR at level Developed Market after having applied a filter excluding Hermes.
Thanks in advance for the help.
PS : I don't think it is related to this issue as I also tried it with cube.aggregates_cache.capacity = 0

Can not reproduce this issue on 4.2+. Seems to be fixed. Please confirm

Hello,
This issue has been fixed in 0.4.1.
Cheers

authors: APolyakova SamTaz a-manai

repo: atoti/atoti


text:
Move at_commons package into at_libraries

Is your feature request related to a problem? Please describe.
N/A
Describe the solution you'd like
N/A
Describe alternatives you've considered
No response
Additional context
No response

Waiting on some branches to be merged first.


text:
feat: ivNonce added to send impl

- What I did
Created a random ivNonce generator and used it in at_talk notifications sender method
- How I did it
See original CPython secrets.py lib
Also see constraints for MicroPython
- How to verify it

Connect to secondary and send monitor verb to listen for notifications
Send notifications from at_pico_w client and see how they are listened by the monitor verb, and how each of them has a different ivNonce
Open another at_talk client (recipient Atsign) to make sure that the decryption using the custom ivNonce is going well

@cpswan I've undeleted the branch as I think maybe you intended to approve this PR but closed it by accident?

Thanks @realvarx for explanation via chat

authors: gkc realvarx


text:
GOAL: iot.atsign.dev

This document has been used to encompass most of this work.

[ ] Homepage

[x] Define content
[x] Refine content @thenobleone14 @XavierChanth
[ ] Designs @rtilney
[ ] Implement designs @XavierChanth

[ ] Industries section - @anthonyvprakash @Jesseadriano10

[x] Layout for content @Jesseadriano10
[ ] Define content

[ ] Tools section - @L1AMcB

[ ] Layout for content - in progress by @L1AMcB

[ ] Docs section - TBD if any work is needed
[ ] Showcase page - @TylerTrott

[ ] Define demos to be included
[ ] Add content for each

[ ] Partners section - @jenmonroe to define the content on these pages

[ ] Design area to display existing partner "badges"
[ ] Partner contact form or guide to connect with us

@XavierChanth -- @tinashe404 and I discussed this today. I have an updated contract ready, and @rtilney is working on the atVerified badge/bug. I recommend pulling the Commission program out of the larger Dev program (which originally included programming, content, and events) and just launching the atVerified and Commission portions. Should we look for some time to meet, or want to work on this asynch? Thanks!

legacy due to #94

authors: XavierChanth jenmonroe


text:
Will be more helpful if there is some simple react native, redux examples

Hi @Richard-Cao , Thank you for this awesome app. Im very new to react native so when i see this app, i feel little bit difficult to understand. If you find some time please add any simple react-native redux app using post and get data from local server. It would be more helpful to understand.
Thanks in Advance

Thanks！ @karthickvkumar Reading is a product-level open source project which uesd redux. If I find some time, I will write simple react-native redux app.

Thank you so much @Richard-Cao

authors: Richard-Cao karthickvkumar

repo: attentiveness/reading


text:
Add Support for Device/Distribution/Collection Metadata Endpoints

See Ruby library implementation for reference.
Add support for the following endpoints:
Device Metadata:

https://m2x.att.com/developer/documentation/v2/device#Read-Device-Metadata
https://m2x.att.com/developer/documentation/v2/device#Update-Device-Metadata
https://m2x.att.com/developer/documentation/v2/device#Read-Device-Metadata-Field
https://m2x.att.com/developer/documentation/v2/device#Update-Device-Metadata-Field

Distribution Metadata:

https://m2x.att.com/developer/documentation/v2/distribution#Read-Distribution-Metadata
https://m2x.att.com/developer/documentation/v2/distribution#Update-Distribution-Metadata
https://m2x.att.com/developer/documentation/v2/distribution#Read-Distribution-Metadata-Field
https://m2x.att.com/developer/documentation/v2/distribution#Update-Distribution-Metadata-Field

Collection Metadata:

https://m2x.att.com/developer/documentation/v2/collections#Read-Collection-Metadata
https://m2x.att.com/developer/documentation/v2/collections#Update-Collection-Metadata
https://m2x.att.com/developer/documentation/v2/collections#Read-Collection-Metadata-Field
https://m2x.att.com/developer/documentation/v2/collections#Update-Collection-Metadata-Field

@fsaravia @stream7 this is ready for review

:+1:

authors: fsaravia kristinpeterson


text:
Add Support and Documentation for /time Endpoint

https://m2x.att.com/developer/documentation/v2/time

:smile_cat:


text:
HTML toolbar

Love the plugin, how ever struggling to get it to work with a html toolbar as I have the toolbar separate to the editor.
any ideas on how to make it work in that?
i currently get this message
routes.js:113 ignoring attaching to nonexistent format table-better

Solved it was a problem with not merging the objects correctly

repo: attoae/quill-table-better


text:
Introduce session concept to isolate targets

Introduce session-concept, where a sessionId is generated after hello-handshake, in order to isolate debugging targets by sessionId.
Changes

Generate sessionId on hello
Store debugging targets by sesssionId
Allow multiple debugging targets per session
Remove generic/jsonendpoint Add /<session>/json endpoint to get targets for a given session

Ping @paulirish
I'm thinking that these changes should provide a basic level of security, as targets now are separated.

Cool cool! works for me!

authors: auchenberg paulirish

repo: auchenberg/devtools-remote


text:
Implement side-bar

If I understood correctly, project status is a temporary overview.
To be able to present a component catalog using Material principles (and looking familiar to Materialize users), implement a side-bar which holds the categories and examples from project status.

Yes, the project status page was created to offer a quick view on what is done, what are we working on and what yet has to be done (which makes the task of keeping the information current, important).
At the same time, the wording "quick view" might be important enough to continue maintaining it even when everything is done. There is a problem with a controls hierarchy that is too deep for our "standard" layout which fits most controls (using button as the example of a control that is not too deep):

Image 1

Note that besides the obvious selection of the Samples menu item (which has already been replaced with Components catalog) you need to know that the Button component is a member of the Navigation category where using Project status page based selection requires a single click.
In the case of Charts category, the navigation to a specific chart type requires two more clicks (when compared with Button)

I have seen that this structure is from Telerik's KendoUI catalog. That's certainly a good decision because it's familiar to KendoUI users.
Personally, I'd choose another structure and keep it more like Materialize's own structure - for the same reasons mentioned above (familiarity). Although I'm struggling a bit with their structure because... I mean who put "toasts" into the "dialogs" category and "modals" into its own?
I'd really like to have a flat structure, maybe at most three levels deep including the samples' sub-pages. What do you think?

Personally, I'd choose another structure and keep it more like Materialize's own structure

That is the correct approach - as at least initially, we are trying to attract people familiar with Materialize to use Aurelia. Since Materialize already has defined the catalog of their controls, we should make ours as close to the original as it makes sense

Put into the milestone again because it's handy for mobile-first approach. Currently, the navigation just diappears on phones.

Proposed usage:
<md-sidenav>

First Sidebar Link

Second Sidebar Link

</md-sidenav>

Which translates to:

First Sidebar Link

Second Sidebar Link

The id may perhaps be generated by md-sidenav. Maybe we don't even need it if we use the second approach to the "companion attribute" below.
Custom element since:

md-nav-bar is a custom element, increases similarity
can contain embedded styles to (at least) manipulate
 children with waves (display: block; and :hover)
easier to create links using an optionally bound router

Needs a companion atttribute to indicate its collapse button.

Which translates to:

This attribute will then be initialized by:
$(this.element).sideNav();

or

Which translates to:

This attribute will handle opening/closing the side-nav itself using the view-model.ref.

md-sidenav differs from original implementation on two ways:

Configuration is done on the sidenav itself and not on its trigger-button. I found that to be counter-intuitive.
closeOnClick has its default value set to true

authors: Thanood adriatic


text:
WIP: Parser fixes

In response to https://discourse.aurelia.io/t/horrendous-bug/1816/7
I've made some initial effort to backport the vNext parser to vCurrent. It is "working" in the sense that:

The 13k or so tests (also backported from vNext) are all passing
The error messages are not checked; the Reporter still needs to be replaced.

The vNext parser is more robust (with errors), thorough (with edge cases) and a little bit smaller/faster, so backporting it seems beneficial for vCurrent.
However unicode string literals and numeric exponents are dropped in vNext. Either vNext should get these again, or I just need to add that back in to the backported parser.
The vNext parser tests refused to run in the old setup, but a bunch of the vCurrent tests are failing in the "new" setup (karma+webpack) so this needs some work.
The above (and lack of const enums) makes me consider to just "do it right" and port aurelia-binding to TypeScript in its entirety. We have some older vNext branches we can copy from, so it wouldn't be nearly as much work as @bigopon had to spent on the router.
Thoughts @EisenbergEffect ?

I feel pretty nervous about making big changes to vCurrent at this point. Is there any way we can easily fix the bug with a smaller change?

You know how I like to make things difficult :P
https://github.com/aurelia/binding/pull/721

authors: EisenbergEffect fkleuver

repo: aurelia/binding


text:
fix(path): Join protocol independent paths

Protocol independent paths (e.g. //host.com/path) are being treated as relative paths.
join('//host.com', 'path')
Expected //host.com/path
Actual /host.com/path

Cool. This will go into the next release. Happening tomorrow probably.

Will go out in the next release. Thanks!

authors: Diego-T EisenbergEffect

repo: aurelia/path


text:
CurrentInstruction property on non-Chrome browser doesn't exist on startup

I have my route configuration inside of an app.js file. Inside the app class, I have a configureRouter function which is set up like this:
    configureRouter(config, router) {
        config.title = 'Central';
        config.addPipelineStep('authorize', NavigationChange);
        config.map([
            {
                route: [''],
                name: 'Central',
                title: 'Central',
                viewPorts: {
                    'central-nav': 	{moduleId: 'central'},
                    'sub-nav': 		{moduleId: 'empty'},
                    'view-space': 	{moduleId: 'viewspace'}
                },
                nav: false,
                settings: {icon: 'fa-home',app: "Flow",activeViewPort: 'central-nav'}
            },
	        {
	            route: ['inbox', 'inbox/:packageId', 'inbox/:packageId/:packageItemId'],
	            name: 'Inbox',
	            title: 'Inbox',
	            viewPorts: {
	                'central-nav': 	{moduleId: 'central'},
	                'sub-nav':      {moduleId: 'flow/inbox'},
	                'view-space': 	{moduleId: 'viewspace'}
	            },
	            nav: true,
	            settings: {icon: 'fa-inbox',app: "Flow",activeViewPort: 'sub-nav'}
	        }
        ]);
      console.log(this.router.currentInstruction); //Safari/IE -> undefined
      //Logic for listening to this.router.currentInstruction (http://blog.durandal.io/2015/04/03/aurelia-adaptive-binding/)
      //This causes chaos
      var subscription = this.multiObserver.observe([
         this.router, 'currentInstruction']
      ], () => this.routerChange());
    }

This works fine in Chrome, as the currentInstruction property exists right off the bat here. However, in Safari, and IE, the property doesn't exist until later, and therefore I can't get the observer to listen properly.
The bug seems to be the timing of currentInstruction property being created.

Not sure if this is entirely related to the router. It seems that by bringing things into the app's constructor differently (either through injection or 'new'ing up an object) I get different results.
The odd ball is the MultiObserver class I'm trying to bring in. Would using @inject over sewing up an exported class cause differences?

@EisenbergEffect @jdanyow Any idea on this one?

Can it be reproduced?

It's possible that I'm doing something funky. What I did to reproduce this was take the skeleton project which imported a module titled MultiObserver (based off of http://blog.durandal.io/2015/04/03/aurelia-adaptive-binding/), and then inject it and set the property in the constructor. That may be way off base, but it seems that when I do that, I get the issue to crop up...

currentInstruction isn't set until the first navigation completes. I'd expect it to always be undefined in your app's configureRouter method. I don't know the observer stuff very well myself, but I'd be happy to help debug if you can provide a plunker or repo for me to check out. Otherwise maybe Rob has an idea.

I'm going to close this for now since we have other issues to track the problem with late CurrentInstruction assignment.

authors: AStoker EisenbergEffect bryanrsmith

repo: aurelia/router


text:
npm3 support

I was stopped by the long path names when trying to use the Visual Studio skeleton. I saw that NPM 3.0 flattens the paths, so I installed it to see if it would help. It doesn't seem to work with the skeleton.
So... is there any plan for when 3.0 might be supported or how should we deal with the long path names?

What exactly didn't work with the skeleton? I've been using npm 3 for a while now.

Wow you are on top of things! I am really sorry, it must have been a problem on my end. Thanks for all you are doing! Aurelia and your support are amazing!

authors: EisenbergEffect dbowser

repo: aurelia/skeleton-navigation


text:
chore(deps): clean up package.json

@EisenbergEffect Does this look right?  I kept getting warnings after the last round of cleanups.

Basically, you need:
jspm.peerDependencies for jspm 0.17
jspm.dependencies for < jspm 0.17
dependencies for npm (Webkit and probably our future stuff)
and don't forget bower
The package.json above looks correct but make sure the deps are mirrored in bower.json as well.

Double-check now - if that looks good I'll make a mental breakpoint here for future reference to look back here when I screw something up.

@PWKad you're missing jspm.dependencies for:
      "aurelia-polyfills": "^1.0.0-beta.1.1.3",
      "validate.js": "^0.9.0"

have I mentioned yet I despise jspm 😄

@PWKad For tomorrow's release, we'll want to have this merged and also include the missing dependencies per @mbroadst

authors: EisenbergEffect PWKad mbroadst

repo: aurelia/validatejs


text:
Atualização da aplicação cli

Permitir que o usuário atualize a versão da aplicação de linha de comando. Adicionar a ação atualizar e fazer uso da biblioteca caravela para verificação de novas versões e atualização.

Implementado na revisão bbe6882f1959c6f0ed7ed45bd1201ff44f39cb12.

repo: aureliano/go-brutils


text:
Tests failing

https://github.com/aurimas13/Solutions-To-Problems/blob/d621eaa33b943250834ef477e87cdfd0459981ed/LeetCode/Python Solutions/Number of Subsequences That Satisfy the Given Sum Condition/number.py#L24C56-L25
These two tests fail.
...     assert s.numSubseq([1,1,2,2,3,3,4,4,5,5], 8) == 147

I believe the correct answer is 1011.
...     assert s.numSubseq([1,2,3,4,5,6,7,8,9,10], 10) == 15

I believe the correct answer is 341.

Thank you for pointing it. Fixed it.

I don't see a code change on master.


text:
Нельзя создать ресурс без имени

Пример с первой страницы доки не компилируется
enum Тип_заготовки {вал, диск}
enum Тип_станка {фрезерный, токарный}

type Заготовка {
    int номер;
    double вес;
    boolean срочная;
    Тип_заготовки тип;
}

type Станок {
    int номер;
    String название;
    Тип_станка тип;
}

Заготовка.create(1, 0.420, false, Тип_заготовки.вал);
Станок.create(1, "16К20", Тип_станка.токарный);

Вот этот вариант уже проходит
resource заготовка = Заготовка.create(1, 0.420, false, Тип_заготовки.вал);
resource станок = Станок.create(1, "16К20", Тип_станка.токарный);

Это бага или фича ? Потому что можно создавать ресурсы без имени внутри событий.

Фича. Без имен теперь надо создавать в методе initialize().

authors: aurusov bogachev-pa

repo: aurusov/raox


text:
Implement Discord Authentication for API Access Control

To enhance the security of the NRL Tipping Application, we need to implement authentication using Discord OAuth2. The application should verify that users are authenticated through Discord and belong to a specific Discord server (guild) to access most of the API resources.
Objectives

Integrate Discord OAuth2 Authentication: Discord's OAuth2 flow to authenticate users.  user information from Discord to verify their membership in a specific Discord server (guild).
Middleware for API Routes: Create middleware to enforce authentication on all API routes except /health and /swagger/*. The middleware should:

Validate the presence of a valid Discord access token in the request headers.
Use the token to retrieve user information and check if the user is a member of the required Discord server.
Return a 401 Unauthorized response if authentication fails or the user is not a member of the required server.

Test Environment Considerations: Implement a mechanism (e.g., an environment variable like TEST_ENV) to bypass the authentication middleware in a test environment. This is necessary because it is not feasible to obtain a Discord auth token for automated tests.
Update API Documentation: Write unit and integration tests to verify that the authentication middleware correctly allows or denies access based on the presence and validity of a Discord access token. There should be a valid test key and invalid test key to use when the environment has TEST_ENV enabled.

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

repo: aussiebroadwan/tipping


text:
Releases contain the .github directory and .gitignore file

There's no reason to ship those in the Release zips.

Resolved for current (1.7) release, will ensure future releases are cleaned of these files.

authors: Athanasius aussig

repo: aussig/BGS-Tally


text:
🛑 repl.co is down

In 2c258be, repl.co (https://hello-repl.auteen.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: repl.co is back up in 56bdffc.

repo: auteen/autoreplit


text:
DXCDT-517: Custom domain resource export support

🔧 Changes
Introducing support for exporting the auth0_custom_domain resource with the reverse terraform functionality.
The output will appear like this:
import {
  id = "ed6a0e70-0d0b-40a3-99eb-55d2acd3628f"
  to = auth0_customdomain.travel0com
}

📚 References
Related PRs: #808, #797, #810, #809
🔬 Testing
Adding unit tests, manually verified.
📝 Checklist

[x] All new/changed/fixed functionality is covered by tests (or N/A)
[x] I have added documentation for all new/changed functionality (or N/A)

Codecov Report
Patch coverage: 84.00% and project coverage change: +0.02% :tada:

Comparison is base (062091f) 72.10% compared to head (13302c4) 72.12%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #812      +/-   ##
==========================================
+ Coverage   72.10%   72.12%   +0.02%
==========================================
  Files          91       91
  Lines       11474    11499      +25
==========================================
+ Hits         8273     8294      +21
- Misses       2696     2700       +4
  Partials      505      505

Files Changed
Coverage Δ

internal/cli/terraform.go
66.02% <0.00%> (-1.04%)
:arrow_down:

internal/cli/terraform_fetcher.go
100.00% <100.00%> (ø)

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

authors: codecov-commenter willvedd


text:
docs: Update EXAMPLES.md link for accessing protected APIs with access token

By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.
Description
Small fix to broken link on the EXAMPLES.md page. Noticed while going through the examples.
References
None
Testing
Manual testing

[ ] This change adds test coverage for new/changed/fixed functionality

Checklist

[ ] I have added documentation for new/changed functionality in this PR or in auth0.com/docs
[ ] All active GitHub checks for tests, formatting, and security are passing
[ ] The correct base branch is being used, if not the default branch

Thanks 🚀


text:
Avoid using any bundlers but use tsc and drop UMD

Description
Given the size of the library, we might want to consider dropping any bundler altogether but move everything into a single file.
According to Are The Types Wrong, this is still outputting correct types:

Marked as draft to further investigate.
Checklist

[x] I have added documentation for new/changed functionality in this PR or in auth0.com/docs
[x] All active GitHub checks for tests, formatting, and security are passing
[x] The correct base branch is being used, if not the default branch

I'll put in a review for this once we merge #193 😄

Rebased on top of latest beta.

Got some review comments, but I think it would be better as a PR, so I will open one up on top of this one.

I've created #194 with some work that came out of the review. Everything else is looking good to me 👍

Thanks @jonkoops !

authors: frederikprijck jonkoops


text:
🛑 Andreas Iten is down

In 770994b, Andreas Iten (https://www.andreasiten.ch) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Andreas Iten is back up in a17c381.

repo: authentiqdigital/upptime


text:
🛑 Cyklisté sobě § www.cyklistesobe.cz is down

In 8eef0d9, Cyklisté sobě § www.cyklistesobe.cz (https://www.cyklistesobe.cz/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Cyklisté sobě § www.cyklistesobe.cz is back up in 0bc2ae8.

repo: auto-mat/automat-statuspage


text:
🛑 Cyklisté sobě § www.cyklistesobe.cz is down

In 8b7b480, Cyklisté sobě § www.cyklistesobe.cz (https://www.cyklistesobe.cz/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Cyklisté sobě § www.cyklistesobe.cz is back up in 443e2b2 after 45 minutes.


text:
enhancement(parsing): improved parsing of titles and added tests

Referring to #37

❤

repo: autobrr/omegabrr


text:
Autodistill quits after 2457 images. Memory leak?

I run autodistill like this:
autodistill  --base "grounded_sam" --model_type detection --epochs 50 --upload-to-roboflow False --target "yolov8" --ontology '{"caption": "label"}' --output ./dataset -y True ./images/

The images folder contains about 10.000 images.
It stops with this message, after processing 2457 images:
fish: Job 1, 'autodistill  --base "grounded_s…' terminated by signal SIGTERM (Polite quit request)
This is repeatable. I observe it consumed a lot of memory, possibly about 32 GB. My machine has 64 GB and two RTX 2080, so I suspect it may be a memory leak that stopped it, but I wasn't at the machine to see this.
Ideally it wouldn't do this and it would have a resume capability that allows you to restart it where it left off.
Edit:
I think it must be a memory leak based on this code in classification_base_model.py:
        for f_path in progress_bar:
            progress_bar.set_description(desc=f"Labeling {f_path}", refresh=True)
            image = cv2.imread(f_path)

            f_path_short = os.path.basename(f_path)
            images_map[f_path_short] = image.copy()
            detections = self.predict(f_path)
            detections_map[f_path_short] = detections

So it keeps ALL the images in a dict, even after they were processed. This is unneccesary and will cause lots of memory consumption.

I OOM'd off of a 7GB dataset (sv.DetectionDataset.from_yolo), it used all 64GB of my RAM and committed another 250GB

authors: AChangXD tfriedel

repo: autodistill/autodistill


text:
saving the mode setting to a cookie

The mode (settable by clicking CTRL+ALT+D) should be persisted in a cookie. TTL = 1 day.

implemented

repo: automatix/simple-portfolio


text:
[refactor] Separate error handling for dataframe

Small refactoring to separate error handling of dataframe in check_data for the readability.

Check

test/test_api/test_base_api.py::test_pipeline_get_budget[3-50-runtime-expected1-classification_categorical_only]
test/test_pipeline/components/preprocessing/test_feature_preprocessor.py::TestFeaturePreprocessors::test_pipeline_fit_include[Nystroem-classification_numerical_and_categorical]

repo: automl/Auto-PyTorch


text:
The paths of behavior module and avoidance module are separated when the "enable_avoidance_over_opposite_direction" is false

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I'm convinced that this is not my fault but a bug.

Description
The paths of behavior module and avoidance module are separated when the "enable_avoidance_over_opposite_direction" is false.The drivable area can't use the "same_direction" lanes when "enable_avoidance_over_same_direction" is true. The drivable area is restricted to the current Lanes.
The simulation is shown as below:

Expected behavior
1.When "enable_avoidance_over_opposite_direction" is false, if the drivable area can't use the "same_direction" lanes by design, the avoidance behavior should not happen.
2.When "enable_avoidance_over_opposite_direction" is false,if the drivable area can use the "same_direction" lanes by design, the drivable area should be changed.
The paths of behavior module and avoidance module should not be separated .
Actual behavior
When "enable_avoidance_over_opposite_direction" is false,  the drivable area can't use the "same_direction" lanes.
The paths of behavior module and avoidance module are separated .
Steps to reproduce
1.Set "enable_avoidance_over_opposite_direction" to false
2.Start autoware planning simulator
3. Set initial position and gobal position;
4.Set obstacle(like car or bus)
Versions
1.OS: Ubuntun 20.04
2.ROS2: Galactic
3.Autoware: Autoware.universe:main
Possible causes
No response
Additional context
No response

Sorry for the mistake, I have made to PR to solve this issue.

@zulfaqar-azmi-t4
Yes,the bug is fixed and I will close the issue.


text:
Vulkan driver fails to detect GPU

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I'm convinced that this is not my fault but a bug.

Description
In the current universe image, vulkaninfo cannot detect host GPU. This might cause simulator to crash in the future. This happens as I was trying to run svl using the universe docker image. I understand svl is going down very soon. But this error would possibly affect future development with simulator which might require vulkan driver. I have not figured out a fix. Please feel free to make comments if you have any idea.
By comparing the vulkaninfo output, you can see that problematic output, which is the output of universe image, does not detect GPU correctly.
Expected behavior
Being able to start simulator.
Below is the correct output.
==========
VULKANINFO
==========

Vulkan Instance Version: 1.2.131

Instance Extensions: count = 18
====================
	VK_EXT_acquire_xlib_display            : extension revision 1
	VK_EXT_debug_report                    : extension revision 10
	VK_EXT_debug_utils                     : extension revision 2
	VK_EXT_direct_mode_display             : extension revision 1
	VK_EXT_display_surface_counter         : extension revision 1
	VK_KHR_device_group_creation           : extension revision 1
	VK_KHR_display                         : extension revision 23
	VK_KHR_external_fence_capabilities     : extension revision 1
	VK_KHR_external_memory_capabilities    : extension revision 1
	VK_KHR_external_semaphore_capabilities : extension revision 1
	VK_KHR_get_display_properties2         : extension revision 1
	VK_KHR_get_physical_device_properties2 : extension revision 2
	VK_KHR_get_surface_capabilities2       : extension revision 1
	VK_KHR_surface                         : extension revision 25
	VK_KHR_surface_protected_capabilities  : extension revision 1
	VK_KHR_wayland_surface                 : extension revision 6
	VK_KHR_xcb_surface                     : extension revision 6
	VK_KHR_xlib_surface                    : extension revision 6

Layers: count = 4
=======
VK_LAYER_LUNARG_standard_validation (LunarG Standard Validation Layer) Vulkan version 1.0.131, layer version 1:
	Layer Extensions: count = 0
	Devices: count = 2
		GPU id 	: 0 (NVIDIA GeForce RTX 3070 Ti)
		Layer-Device Extensions: count = 0

		GPU id 	: 1 (llvmpipe (LLVM 12.0.0, 256 bits))
		Layer-Device Extensions: count = 0

VK_LAYER_MESA_device_select (Linux device selection layer) Vulkan version 1.2.73, layer version 1:
	Layer Extensions: count = 0
	Devices: count = 2
		GPU id 	: 0 (NVIDIA GeForce RTX 3070 Ti)
		Layer-Device Extensions: count = 0

		GPU id 	: 1 (llvmpipe (LLVM 12.0.0, 256 bits))
		Layer-Device Extensions: count = 0

Actual behavior
Problematic output.
==========
VULKANINFO
==========

Vulkan Instance Version: 1.2.131

Instance Extensions: count = 18
====================
	VK_EXT_acquire_xlib_display            : extension revision 1
	VK_EXT_debug_report                    : extension revision 10
	VK_EXT_debug_utils                     : extension revision 1
	VK_EXT_direct_mode_display             : extension revision 1
	VK_EXT_display_surface_counter         : extension revision 1
	VK_KHR_device_group_creation           : extension revision 1
	VK_KHR_display                         : extension revision 23
	VK_KHR_external_fence_capabilities     : extension revision 1
	VK_KHR_external_memory_capabilities    : extension revision 1
	VK_KHR_external_semaphore_capabilities : extension revision 1
	VK_KHR_get_display_properties2         : extension revision 1
	VK_KHR_get_physical_device_properties2 : extension revision 2
	VK_KHR_get_surface_capabilities2       : extension revision 1
	VK_KHR_surface                         : extension revision 25
	VK_KHR_surface_protected_capabilities  : extension revision 1
	VK_KHR_wayland_surface                 : extension revision 6
	VK_KHR_xcb_surface                     : extension revision 6
	VK_KHR_xlib_surface                    : extension revision 6

Layers: count = 3
=======
VK_LAYER_LUNARG_standard_validation (LunarG Standard Validation Layer) Vulkan version 1.0.131, layer version 1:
	Layer Extensions: count = 0
	Devices: count = 1
		GPU id 	: 0 (llvmpipe (LLVM 12.0.0, 256 bits))
		Layer-Device Extensions: count = 0

VK_LAYER_MESA_device_select (Linux device selection layer) Vulkan version 1.2.73, layer version 1:
	Layer Extensions: count = 0
	Devices: count = 1
		GPU id 	: 0 (llvmpipe (LLVM 12.0.0, 256 bits))
		Layer-Device Extensions: count = 0

VK_LAYER_MESA_overlay (Mesa Overlay layer) Vulkan version 1.1.73, layer version 1:
	Layer Extensions: count = 0
	Devices: count = 1
		GPU id 	: 0 (llvmpipe (LLVM 12.0.0, 256 bits))
		Layer-Device Extensions: count = 0

Steps to reproduce
sudo apt update
sudo apt install vulkan-tools -y
vulkaninfo 2>&1 | a.txt
vi a.txt

Versions
Docker images
Possible causes
No response
Additional context
No response

What task are you trying to do? Because usually I don't explicitly use Vulcan in rosbag simulation
What is the output of nvidia-smi on the host environment?

What task are you trying to do? Because usually I don't explicitly use Vulcan in rosbag simulation
What is the output of nvidia-smi on the host environment?

I'm trying to start svl simulator. This Vulcan driver is a cross-platform GPU API released by nvidia. It was mainly used for graphics and simulation development. Most modern simulator depends on this API, such as carla and svl.
nvidia-smi outputs the correct information about GPU.

So are you working on the main branch? Usually I'm working on tier4/proposal so there might be misunderstanding sorry

Dockerfile seems the same but it copies files from the host so the Autoware code included in the docker container will be different

But the container environment will be the same and in my environment CUDA seems to work correctly so something is wrong

The nvidia vulkan library needs to be registered for it to be discovered when running a vulkan program.
In Autoware.Auto we were adding the necessary file to the docker environment here: https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto/-/blob/e3e26be1ab4b822996df60f261d031d7924f20ac/tools/ade_image/Dockerfile#L100
Replicating this in the .universe environment (changing /etc/vulkan/ to /usr/share/vulkan/ to match were the other icd files are in this case)
wget https://gitlab.com/nvidia/container-images/vulkan/raw/master/nvidia_icd.json
sudo mv nvidia_icd.json /usr/share/vulkan/icd.d/

the vulkaninfo output changes to an error, but the actual vulkan capability works in the program I was testing.
A fast way to get vulkaninfo to work correctly is to use the "--privileged" flag when launching rocker/docker, but I'm not sure if it would have an impact on actual programs using vulkan.

authors: IshitaTakeshi ambroise-arm angry-crab

repo: autowarefoundation/autoware


text:
rolling and main branches are not in sync

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I'm convinced that this is not my fault but a bug.

Description
The main and rolling branches are not in sync, this is causing issues in the Debian package generation buildfarm (https://github.com/autowarefoundation/autoware-deb-packages/actions/runs/9270464541/job/25503617085?pr=88).
The reason the buildfarm is failng is because main (the branch that's in autoware.repos) doesn't have any tags associated to it, and therefore the package generated for autoware_adapi_v1_msgs is versioned as 0-2024.TIMESTAMP. Whereas we now have packages in the ROS index, with autoware_adapi_v1_msgs published as 1.2.1 from the rolling branch.
The main branch of autoware_adapi_v1_msgs contains new types of message (e.g. DiagGraphStatus.msg) that other packages in Autoware depend on, but that are not present in the rolling branch. When rosdep is called in the buildfarm to build each package, the package from the ROS index is installed, instead of the one that's been built because APT realizes it's more recent (1.2.1 vs 0-2024.TIMESTAMP)
Expected behavior
There is only one branch published that also contains all the changes.
Actual behavior
rolling and main do not match.
Steps to reproduce
See https://github.com/autowarefoundation/autoware-deb-packages/actions/runs/9270464541/job/25503617085?pr=88
Versions
No response
Possible causes
No response
Additional context
No response

@esteve Thank you for your investigation. I also think that only main branch approach is the best for autowarefoundation repos.

@esteve @youtalk So should I merge rolling into main?

In other words, main branch includes v1.2.1 commit.

@isamu-takagi thanks!

Ah, never mind, I'll force push main to this rebased branch. https://github.com/isamu-takagi/autoware_adapi_msgs/commits/new-main/

Yeah, that's what I meant. I'll submit a PR to rosdistro and update the index so that the release repo (https://github.com/ros2-gbp/autoware_adapi_msgs-release) tracks main

I've submitted https://github.com/ros/rosdistro/pull/41473 to update the branch in the rosdistro. When we submit a new release, we first need to update main with a PR with the changelog and all the other changes (package.xml for example) and then we can use bloom to submit it to the ROS index. This way we can check that everything is in place before it gets included in the ROS index.

@isamu-takagi thanks for rebasing main on top of rolling, I'm closing this ticket as it seems to be working in the buildfarm

authors: esteve isamu-takagi youtalk


text:
feat(lanelet2_extension): add lateral distance calculation functions

Description
Add two functions that calculate the lateral distance to a designated lanelet or the closest lanelet.
Related links
https://github.com/autowarefoundation/autoware.universe/blob/main/planning/behavior_path_planner/src/util/lane_change/util.cpp#L359
https://github.com/autowarefoundation/autoware.universe/blob/main/planning/behavior_path_planner/src/util/lane_change/util.cpp#L620

Tests performed

Notes for reviewers

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

Thanks @purewater0901, I approved the PR.
If you have relevant issues in Autoware.Universe which uses this function, could you put the link in your description as "related PR" so that we know why we wanted to add this function to the library?

@mitsudome-r
Thank you. I just put two related links on the description. I think we use similar functions in more places in the autoware.universe.


text:
Уведомления о новых постах в форуме только один раз между просмотрами

Не допускать заваливание письмами

Done with https://github.com/autowp/autowp/commit/6440c57a9975cfa72286c7d3174f3f52fd7114bf

repo: autowp/autowp


text:
Initial commit of my branch

Hackathon Git Labs Project PR 🎉🎉
👉 Please remove the below and replace with your own values, leaving the headers where they are. 👈
PR contains:

INFO ABOUT YOUR PULL REQUEST GOES HERE (Please be as descriptive as possible) 🤜
If this PR followed the basic.md guide, please just add your JSON Object data here and a small note about your experience following this guide.

Hacktoberfest 2022:

[ ] Does this PR follow the intermediate.md guide and submitted as part of Hacktoberfest 2022?

Please note, we cannot accept basic.md PR submissions for Hacktoberfest, it must be a custom HTML or CSS creation following the intermediate.md guide.
Breaking changes

IF ANYTHING YOU'RE COMMITTING WOULD BREAK SOMETHING, INCLUDE HERE WHAT WOULD BREAK
IF YOU HAVE NO BREAKING CHANGES, ENTER 'None'

Screenshots

IF YOU HAVE ANY SCREENSHOTS, INCLUDE THEM HERE.
IF YOU HAVE NO SCREENSHOTS, ENTER 'None'

Hi @IvetteMcDermott please follow the guides for these PRs. At the moment this PR is very empty, and we are not in a position to approve/merge. Thanks for understanding. If you are not sure where the guides are, we have two available.
basic.md
intermediate.md

authors: IvetteMcDermott auxfuse

repo: auxfuse/hackathon-git-labs


text:
state.action is undefined

When I create a custom action that adds the action property to state it fails with Error: Unknown action.
export default (state) => {
    state.action = {
        value: 'I fail'
    };
    return state;
}

When I change my action to use a promise it still fails in the same way.

👍

authors: Sonaryr soyjavi

repo: ava-ia/core


text:
Autogenerate a JS file to make imports easier

There should be an option to auto generate a .js file which contains the original query.
Technically it would create two files — .d.ts and a .js file. This will make life much easier because then u can simply import the file. The corresponding .d.ts file will also have to contain an additional typings as follow —
export const GQL: string`

I'd be happy to send a PR !

@tusharmath sorry for being stagnant on this, would gladly accept a PR 😄

I know you are working on a longer term solution but how would the above script work if the queries/mutations contain fragments?
For me it appears to generate types for the query that include a reference to a fragment type. But I have been unable to generate the types such that both the fragment and query types are generated, and that the query type for the fragment references the generated fragment type.
query example:
#import "../fragments/full-user.graphql"

query getUser(
  $id: String
) {
   ...FullUser
}

@zamiang we don't currently support the #import syntax, but i've opened #158 to track that

added to #163

authors: brettjurgens tusharmath zamiang


text:
Improved KnpMenu integration

Added support for .header class used in AdminLTE
Automatically add arrows to menu items with children, just like in AdminLTE preview
Added show/hide functionality to menu items with children by adding .treeview-menu class to <ul> tag, just like in AdminLTE preview
Updated documentation accordingly

Please do not merge yet as I have discovered a bug with the display of menu items with children when visiting one of these children

Alright, I think this is ready for merge now

Looks great, thanks for your work!

authors: chteuchteu sweoggy

repo: avanzu/AdminThemeBundle


text:
Add support for using a local repository clone for our external dependencies

Current state
Currently, when you want to simultaneously develop e.g. fileinfo and pelib, you need to use the following workflow:

Create a new branch in the RetDec repo.
Create a new branch in the pelib repo.
Do some changes in the pelib repo, commit them, push them.
In the RetDec repo, open deps/pelib/CMakeLists.txt and change the following lines:URL https://github.com/avast-tl/pelib/archive/e93eaa7c150f4608a5d02a67f5edc9e54456fe24.zip
URL_HASH SHA256=2ffd7e89451c980a1af6d24d4f6dfbb69a660b06ad5de44c481f6431e21de394

Rebuild RetDec.

This workflow has the following disadvantages:

In order to test the changes from pelib in RetDec, you need to commit them, push them, change a CMakeLists.txt file in RetDec, and perform a rebuild.
After every change to pelib, you need a completely new build of pelib, as this is how CMake works when you change the URL for an external project.

Both of these disadvantages slow the development considerably.
Proposal
A better way would be to add a CMake option for each of our dependency (e.g. pelib, llvm, elfio) that would allow you to set a path to a local repository that should be used when building the external project. This would allow you to simultaneously develop e.g. both RetDec and pelib, without a need of constant commiting, pushing, and changing of commit hashes in a CMakeLists.txt file. Also, it would be faster as you would only need an incremental build of the external project.
When you are done with the changes, you would push them into the master branch of the external-project's repo and update the corresponding CMakeLists.txt file in RetDec to use the new commit, just like we do now.

This would also be beneficial for packaging, where offline building may be a requirement. Why doesn't retdec just use git sobmodules?

@timokau We were actually using git submodules when we open-sourced RetDec in December 2017. Back then, we created a separate repository for each logical component and linked them via git submodules (dependency tree). However, this approach proved to be confusing (#72), hard to maintain, slow to develop, and exhibited several other issues like #14 and #48. Instead of trying to reduce the complexity of the dependency tree or complicating the matter by using C++ dependency managers, we decided to put most of the libraries and tools together into a single repository: avast-tl/retdec. And, judging by the last half a year, this was a right choice as it solved the problems we were having with git submodules.
For more details, see this wiki page.

I think we're talking about different things: I don't want the retdec project itself to be split up but I want to be able to fetch all the external dependencies cmake tries to fetch at build time before the build and then build offline. Git submodules seems perfect for that.

When using submodules:

You and your users have to remember to initialize them after cloning the repo (or remember to call git clone with --recursive or --recurse-submodules), which people forget, see #72.
You and your users have to remember to update them after pulling changes or switching branches.
And there are many other issues, like increased mental load when working with them or conflict resolution.

Thank you for the idea, but for us, git submodules are a no-go. They only seem perfect, while in reality, they are far from perfect.

Couldn't you just initialize the submodules with cmake if they're not initialized?

We could, but it may still cause confusion (the sources would not be there after a regular clone), and all the other issues with submodules would still remain, anyway.

But the sources are not there right now either, they need to be fetched by cmake first. What problem does cmake solve better than submodules?

The sources of third-party libraries are now at least hidden in your working directory (from which you run CMake, I suppose no one is running CMake in source). Since they are third-party, you shouldn't care about them as user, only as a developer and that's what this ticket is about.
Having them as submodules wouldn't solve anything regarding development. It's much more painful to work with submodule and keeping it updated while also modifying it. We tried it, it didn't work as we expected.
I suppose that you mostly care about the user point of view and I wonder why would you care about third-party libraries? CMake takes care of those dependencies and it would still need to even if we've used submodules. The only difference is in how those dependencies are downloaded to your PC. I personally see no benefit in transitioning to submodules, especially after we've abandoned them. What do you need to build just our dependencies for?

I still don't really see the problems with submodules, but I don't have any experience with them myself so I'm probably just being naive.

I suppose that you mostly care about the user point of view and I wonder why would you care about third-party libraries? CMake takes care of those dependencies and it would still need to even if we've used submodules. The only difference is in how those dependencies are downloaded to your PC. I personally see no benefit in transitioning to submodules, especially after we've abandoned them. What do you need to build just our dependencies for?

My use-case is an offline build. I want to be able to fetch everything needed for the build first, then build without an internet connection. That is important for reproducibility (in packaging). We verify everything that is fetched from the internet against a hash and then build in a sandboxed environment without internet. Cmake makes this hard. Currently we manually fetch all the dependencies: https://github.com/NixOS/nixpkgs/blob/92a047a6c4d46a222e9c323ea85882d0a7a13af8/pkgs/development/tools/analysis/retdec/default.nix#L25
That makes updates a pain, which is why the retdec package is outdated. Submodules would make that simple.

authors: metthal s3rvac timokau

repo: avast-tl/retdec


text:
Add diff

Added the function of difference bitmaps.
I apologize in advance for my english. This is not my native language.
I am using this library to perform AND / OR operations on growing bitmaps. And for optimization, I need to delete the processed data so as not to do unnecessary work on it in the future. I implemented this function for myself, but it seemed to me that it would be also needed in the original project.

Hello @egor43, thank you for contributing.
At a first glance this seems like a very nice feature. Could you please just update the README.md to also include a short description of R.DIFF?
Besides that, seems good to merge!

Thanks. Of course I will update the README.md

Hello @aviggiano  I have updated README.md by adding R.DIFF function description

Great, thanks for the contribution

repo: aviggiano/redis-roaring


text:
Create Target_sum.cpp

It is a Target sum problem which I solve with the help of Dynamic programming..
problem statement link: https://leetcode.com/problems/target-sum/
My code runtimes beats 89.77% of this code submissions.
My code memory usages beats 75.19% of this code submissions.

They are not considering dsa,cp,algorithm repository :(
all the pr will not be considered in hacktoberfest but your contribution will be for lifetime, this will help many students to practice dsa .
Thank you for your contribution :)
you can contribute to other repo


text:
Adding free course for Ruby

Add a free course about Ruby for beginners.
Complete Ruby Tutorial for Beginners
@avinash201199 Could you please assign it to me? So I can work on it.

#146


text:
ISSUE [#1551] WEBSCARPING OF FILPKART MOBILE PHONE UNDER 50K

Description
Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.
Fixes #(issue_no)

Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update
[x] Documentation Update

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[ ] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] My documentation follows Template for README.md
[x] I have added the project meta data in the PR template.
[x] I have created the requirements.txt file if needed.

Project Metadata
If there is no-file/nothing to fill the below fields with, then type: none
Example: If no requirements.txt needed/present, then type none in Requirments.
Category:

[ ] Calculators
[ ] AI/ML
[x] Scrappers
[ ] Social_Media
[ ] PDF
[ ] Image_Processing
[ ] Video_Processing
[ ] Games
[ ] Networking
[ ] OS_Utilities
[ ] Automation
[ ] Cryptography
[ ] Computer_Vision
[ ] Fun
[ ] Others

Title: <write script title here>
Folder: <type the folder name that contains your script>
Requirements: <type the name of text file containing the required to install python packages, type None if no file required>
Script: <Enter the name of the .py file (The main entry point of the program)>
Arguments: <enter any arguments that the script needs but - separeted like: h-c-m>
Contributor: <Enter your Github handle/username without url>
Description: <Enter a one line description that describes your script. Also, explain the arguments usage here>

please review this PR. @avinashkranjan

repo: avinashkranjan/Amazing-Python-Scripts


text:
HTTP Server script

Aim
I want to add HTTP server script using python
can you please assign this task under gssoc'23 contribution @avinashkranjan
simple http server running on port 4444, simply u can change it.
Do I want to work on this:

[x]  Yes
[ ] No

Go Ahead @Kalivarapubindusree

authors: Kalivarapubindusree avinashkranjan