Hacker Newsnew | past | comments | ask | show | jobs | submit | jotaen's commentslogin

Not a VSCode user, so a genuine question: what are practical use-cases in which you want VSCode to automatically execute a task only by opening a folder?

Is it only for convenience so it already `npm i` or `npm start` without you having to do anything, or are there any other legitimate purposes beyond that?


Apart from this feature specifically, in general people would like their IDE to run language servers, set up build systems, and any number of other things which are likely to require some configuration which allows executing some code in the folder to work. VS code has a restricted mode to prevent this, which you need to accept a dialog to disable, but it also disables most of its features.

> in general people would like their IDE to run language servers, set up build systems, and any number of other things

That I understand, I’m mainly wondering why all that would have to happen automatically by merely opening a folder.

My personal preference may differ here, but for things like running a build or starting a dev server, I usually prefer to trigger them manually, and not have them silently executed only by me browsing through the sources.

Therefore I’m trying to understand whether there are legitimate use-cases for this “auto-run on open folder” feature besides the obvious convenience aspect of saving one or two extra clicks.


When I used it, the one use case I used it was to automatically launch a Jekyll server - if I'm working on a site I'm almost certainly going to want to look at my changes in the browser. Now that I've switched I just run one extra command, it wasn't a big saving, but it was kind of nice.

The submission’s map includes the affected area of the power outage, so that info is already public, isn’t it? https://openinframap.org/#12.98/52.43214/13.26948


> The area to the east of the power station

s/east/west/

(I.e., the area left of the power station.)


I find the “no light” bit in the subtitle confusing, as the article says he had “a torch as his only light source”. I get that a torch is not much light, but it’s still significantly different from “no light”. Or maybe they meant “no daylight”, but that seems hardly worth to mention for a cave.


It's worth mentioning because we use daylight to regulate our circadian rhythm, and he was studying the body's circadian rhythm without daylight


This limitation comes with more interesting implications: e.g., I noticed that some bike trips are noticeably slower than average. For those I’d assume that the rider either took a detour or made a stop in between. The animation, however, makes it appear as if it was a very slow ride. Maybe worth considering to filter out all rides that are essentially walking speed or slower.

It also would be interesting to learn how many rides had been excluded altogether, just to put things into perspective.


Yeah there is a filter between 1.2 and 20 mph


Not sure what you are insinuating, but 30–45 minutes per month to stay on top on your finances doesn’t sound particularly crazy to me.


> piracy is often the only option to ”own” any media at all.

Maybe I’m misunderstanding something here, but I find that nowadays the process of buying high-quality, DRM-free MP3 music is as simple and straightforward as it can be: you purchase the files (on Bandcamp, Amazon, Apple Music, etc.), download them legally, and then physically own them forever.

By the way, when purchasing through Bandcamp, 80+% goes to the artist (https://bandcamp.com/fair_trade_music_policy). So not only do you own the music, but you also make sure the artist is properly paid for their work.


> Maybe I’m misunderstanding something here

Nope, you are just more informed than me, thanks for the correction. I was extrapolating based on general trends in all forms of media (like games and movies too). It would be interesting to know what ratio of music can be acquired DRM free today.


I think you should better post this separately, e.g. as “Show HN”. It’s off-topic for this thread (hence, I assume, the downvotes).


probably, yeah. That's okay :)


Not OP, but it looks like the wording of their downloads page (https://videohubapp.com/en/download/) is slightly confusing:

- Clicking “Demo” (for macOS) points to the 3.2.0 ARM version

- Clicking “Intel Mac” points to the 3.1.0 (!) Intel version

The Github release page appears to list all available versions: https://github.com/whyboris/Video-Hub-App/releases

To me, it would have been clearer to avoid the “Demo” button label altogether and be explicit about the different versions and OS targets. Also, I think the visual hierarchy of the two respective buttons is too subtle.


Hey thanks!


> I have yet to see any solid, significant evidence that passkeys are materially more secure than a random 32-character password + TOTP 2FA.

I think the main selling point of passkeys is their ability to prevent phishing.

A 32-character password + TOTP can still be entered on a phishing website, e.g. if you happen to follow a fabricated link. With passkeys, this is not possible by design.


> A 32-character password + TOTP can still be entered on a phishing website, e.g. if you happen to follow a fabricated link.

…How? The password manager only permits exact links. If the URL does not have the UTF-8-identical characters to the correct url - at which time, IT IS the correct URL - it will simply not populate the username and password fields.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: