Better HN
topnewbestaskshowjobs
Log inSign up

Crestwave

222 karma · joined Jul 15, 2018 (8y ago) · 110 submissions

Submissions

comment 1mo ago · link · parent

Why not uBlock Origin Lite for Safari? https://apps.apple.com/us/app/ublock-origin-lite/id674534269...

comment 2mo ago · link · parent

The first iteration has a 100% chance of being marked as a winner. It only balances out to the same odds as a random selection because of the chances of it getting overwritten by the succeeding files.

comment 2mo ago · link · parent

There is a setting for it, it's just not exposed in the GUI.

sudo pmset -a disablesleep 1

As mentioned by the other commenter, `caffeinate -s` also works, but with the caveat that a) the command has to be running and b) the laptop has to be plugged in to power. Configuring disablesleep=1 completely prevents sleep and lasts until you manually configure it back to 0.

comment 2mo ago · link · parent

Their post history has several posts related to PostmarketOS on the Fairphone, so kind of, possibly? pmOS does have Waydroid to run Android apps, though, which also relies on AOSP.

comment 3mo ago · link · parent

Haven't they? Tahoe was released which had quite a negative reception, widely considered a regression in terms of performance and UI/UX, while Linux has been gaining significant traction (especially in the gaming space).

comment 3mo ago · link · parent

Ctrl-P-A then typing sudo is just as easy, it's simply up to preference

comment 3mo ago · link · parent

HN has an official API that returns JSON objects.

Meanwhile Google actively blocks and attempts to pursue legal action against scrapers. Not to mention prohibiting it through TOS (getting your Google account revoked can be life-ruining for many people).

comment 4mo ago · link · parent

The scenario described in the OP does not involve commenting on a private video. It involves commenting on any public video, then the uploader clicks on a suggested prompt in YouTube Studio which supposedly processes the comment and creates a URL with the title of a different video.

comment 5mo ago · link · parent

Check out Scroll Reverser; it's a tiny, open source app that solves exactly this.

There are some other alternatives like BetterTouchTool if you want some other changes like gestures, but as far as this specific problem goes you can just `brew install scroll-reverser`, set up the settings you want and forget about it. Life is too short to deal with this nonsense which is clearly designed to sell the Magic Mouse.

https://pilotmoon.com/scrollreverser/

comment 6mo ago · link · parent

> little do they know Ruby is a slower language than Go

Isn't it generally expected for a feature-packed interpreted language to be slower than a minimal compiled language?

comment 6mo ago · link · parent

`caffeinate` is primarily designed to prevent sleeping due to inactivity. It doesn't prevent sleeping due to lid closure while on battery.

`sudo pmset -b disablesleep 1` (0 to revert) works, although it doesn't exactly roll off the tongue.

comment 6mo ago · link · parent

Not really. From my understanding, in AP, your account belongs to an instance and your data is then synced to other servers. If the instance goes down, your account is gone.

In ATP, your data is stored in the "Atmosphere", hosted on decentralized "Personal Data Servers" (PDS). The app then simply parses and filters that data. They can apply moderation actions by choosing not to display or read certain posts, but your data still exists and another app could choose to display it. Similarly, if the app goes down, your data is still perfectly intact in the Atmosphere.

It might then seem like the PDS is equivalent to an AP instance, but as mentioned, they are decentralized. Identity is verified through signatures, so if your PDS goes down, you can migrate to a new one as long as you have your signing keys. Therefore, the account belongs to you and not any specific server.

comment 7mo ago · link · parent

Ah, right. It would have to be `strings -n 1`, then.

comment 7mo ago · link · parent

The implication is that the random-looking data did not contain ASCII characters other than the parts of the flag

comment 7mo ago · link · parent

Wouldn't strings(1) have worked for this?

comment 7mo ago · link · parent

That would be expected for encodings or container file formats. Straight-up encryption like AES produces results that are visually indistinguishable from random data.

comment 7mo ago · link · parent

It works often enough for the company to be wildly successful. They can simply cut their losses and withdraw from industries where it hasn't, such as EVs.

comment 8mo ago · link · parent

Yeah, user edits/deletes are locked after 2 hours. You can email hn@ycombinator.com to request an edit past the initial window.

comment 8mo ago · link · parent

Here's an in-depth analysis (also linked in the OP): https://tonsky.me/blog/tahoe-icons/

comment 8mo ago · link · parent

Static linking packs the dependencies into the executable. This is basically dynamic vendoring.

comment 8mo ago · link · parent

Good to hear. What hypervisor are you using (UTM, VMWare, Parallels)?

comment 9mo ago · link · parent

A "free side" means being exposed on the left or right, matching your Wikipedia quote. On the other hand, OP's implementation checks if it can be moved up or down.

comment 9mo ago · link · parent

I quite like Shelter [1]. Shelter apps are installed in a separate work profile, which essentially sandboxes it from the rest of your data. It also has a neat feature to automatically disable (freeze) specific apps and seamlessly re-enable them when you launch them through Shelter.

[1] https://github.com/achalmgucker/Shelter

comment 9mo ago · link · parent

What edition are you using? The home edition straight-up has pop-up ads[1] for random Xbox games, even on a clean install with all notification settings turned off.

[1] https://www.reddit.com/r/WindowsHelp/comments/1j77ro8/window...

comment 9mo ago · link · parent

Thanks for the clarification (and your work on Olauncher)! I knew I should have checked the source code before posting my comment. I don't think they need to be removed, but I would appreciate an option to disable them.

comment 9mo ago · link · parent

The launcher itself is also very clean and minimal, with a text-only UI. You can pin up to 8 apps to the home screen and the rest are accessible through search. You trigger search with a swipe, and when only a single matching app remains for your query, it automatically opens it, making it pretty efficient.

E.g., if you don't have Firefox pinned, you can swipe and type "fir" (or any other unique substring) and it will open just like that. It's great for muscle memory.

My only complaint with it is that the developer sometimes sends messages (e.g., happy new year) and there doesn't seem to be any way to disable it. I don't see why a minimal launcher should have internet access at all.

comment 9mo ago · link · parent

Yes, but Anthropic is specifically claiming their implementation is clean-room, while GNU never made that claim AFAIK.

comment 9mo ago · link · parent

Clean-room design is extremely specific. Anyone who has so much as glanced at Windows source code[1] (or even ReactOS code![2]) is permanently banned from contributing to WINE.

This is 100% unambiguously not clean-room unless they can somehow prove it was never trained on any C compiler code (which they can't, because it most certainly was).

[1] https://gitlab.winehq.org/wine/wine/-/wikis/Developer-FAQ#wh...

[2] https://gitlab.winehq.org/wine/wine/-/wikis/Clean-Room-Guide...

comment 9mo ago · link · parent

Nope, it comes with apt. You might be referring to iSH on iOS, which does use Alpine in a VM.

comment 11mo ago · link · parent

The script you posted is only portable in theory and not in practice. Executing it while using a non-POSIX shell like Elvish (even without having it as a default shell) makes it immediately fail.

Meanwhile, `#!/usr/bin/env` is completely portable in the practical sense. Even systems with non-standard paths like NixOS, Termux and GoboLinux patch in support for it specifically.

1234