Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gkbrk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
391.
▲
by
gkbrk
3y ago
Copy-pasting Python code can easily end up in wrong indentation and broken code. Copy-pasting code in bracketed languages usually pastes and then auto-formats that section automatically.
392.
▲
by
gkbrk
3y ago
Yes, I don't disagree that user-mode OOM-killers are helpful, or that the system can still hang without swap. I'm just saying turning on swap, or increasing the swap capacity does not fix the problem, and it usually makes it worse
393.
▲
by
gkbrk
3y ago
> If it isn't I don't really understand why you would be swapping it in a lot. The user doesn't decide which processes are swapped in. If the process gets CPU time and tries to access its data, that data will get swapped i
394.
▲
by
gkbrk
3y ago
Google gets paid when you click on an ad. It's reasonable to guess you're not going to click on too many scam software ads with your software engineer profile. So naturally you'll be showed less of them. In this thread we can
395.
▲
by
gkbrk
3y ago
> Searching without site scopes is just shooting in the dark. You should think about the top 3 sites that probably are good for what you're looking for and restrict to those. Knowing the top 3 sources for my search queries seems lik
396.
▲
by
gkbrk
3y ago
Where is the place to add personal bangs to DuckDuckGo? I can't find it in https://duckduckgo.com/bangs or https://duckduckgo.com/settings .
397.
▲
by
gkbrk
3y ago
Not a long time. With swap enabled, when a process consumes too much memory your system goes from perfect performance to cursor lagging to everything is frozen and you can't even switch to a TTY within 5-10 seconds. Without swap, the s
398.
▲
by
gkbrk
3y ago
Swap usually makes it worse, without swap there is some chance that the Linux OOM killer does something useful and saves the system. With swap, it becomes a frozen system that never manages to kill anything due to all the swapping. You can
399.
▲
by
gkbrk
3y ago
I tried this. I went to savefrom.net. First thing it does is ask permission to send notifications. After that there is a popup asking me if I want to continue in the browser or download their app. If I click download, it downloads a file ca
400.
▲
by
gkbrk
3y ago
Did you click either of those links? They are not YouTube video downloaders, they just link to another downloader. There is nowhere on those links to even put a YouTube URL. Are you seriously suggesting that a website with the following &
401.
▲
by
gkbrk
3y ago
With Perplexity copilot, Github copilot, MS Copilot and Office365 Copilot and all the other Copilots, it seems Copilot has become a generic term for AI assistant.
402.
▲
by
gkbrk
3y ago
I searched with Chrome, perhaps that's the difference. Firefox also blocks some ads out-of-the-box even without uBlock, so maybe it was already blocked. It could also be related to targeting, like time zone, location, IP address, age g
403.
▲
by
gkbrk
3y ago
When I do a Google search in an Incognito tab for "how to download youtube videos", the first two results I get are the following. - https://msunduziassociation.online/perfect-online-videos/ - https:/&#
404.
▲
by
gkbrk
3y ago
Just escape them.
405.
▲
by
gkbrk
3y ago
Yes, you can't treeshake Javascript. You can treeshake a subset of Javascript. If you are limiting tooling to subsets, you can also compile subsets of Python or Javascript to machine code.
406.
▲
by
gkbrk
3y ago
When you steal a book from a bookstore, that copy of the book disappears. The bookstore no longer has it. When you download a file from libgen, does libgen no longer have that file? Does the author lose their own copy of their book? What ex
407.
▲
by
gkbrk
3y ago
How is BunnyCDN not simple? You register, you top-up some money, you drag and drop your files on the web UI and it's live. They give you a free subdomain with HTTPS (Let's Encrypt). If you want, you can bring your own domain too.
408.
▲
by
gkbrk
3y ago
BunnyCDN, DigitalOcean and AWS all offer REST APIs to Upload/Delete pages.
409.
▲
by
gkbrk
3y ago
Reddit has an API and many clients.
410.
▲
by
gkbrk
3y ago
> If the compiler you use and the spec of your language disagree, what do you do? If the compiler claims to follow the specified version of the spec, and it doesn't, you file a compiler bug. And then use the subset that it supports,
411.
▲
by
gkbrk
3y ago
Who said anything about the latest Java. Since Java has versioned specs, platform X can support one version, and you can target it based on that information even if other versions come out and get supported by other platforms. For example C
412.
▲
by
gkbrk
3y ago
> C# has multiple compilers and runtimes? Yes. Roslyn, Mono and some Mono-like thing from Unity to compile it into C++. > Mono used to be a separate thing Mono is still a thing. The last commit was around 3 months ago. > multiple r
413.
▲
by
gkbrk
3y ago
Go has a really nice spec and multiple implementations too. https://go.dev/ref/spec
414.
▲
by
gkbrk
3y ago
Is it doing fine without those? It seems like every time someone makes a personal or professional project in C/C++, the Rust community floods the comments section and talks about how it's irresponsible to use C/C++ and how th
415.
▲
by
gkbrk
3y ago
Here are a few Java implementations that I've used recently. - My Android phone - OpenJDK on my laptop - leJOS for a university robotics course to run on Lego robots - Smart cards, I have a couple in my wallet Perhaps I'd call the
416.
▲
by
gkbrk
3y ago
Yes, that's how the story goes. Languages with specs are widely deployed despite being fragmented and bad, not because people find value in multiple implementations. Must be a coincidence that C, C++, Javascript and C# and Java all fal
417.
▲
by
gkbrk
3y ago
> Rust should learn from the mistakes of C++ Rust should learn from the mistakes of C++ and C, which are one of the longest lasting, biggest impact, widely deployed languages of all time? It's confusing when people think language st
418.
▲
by
gkbrk
3y ago
How do you revoke an encrypted session token that doesn't need to hit the database to see if the request is authorized?
419.
▲
by
gkbrk
3y ago
youtube-dl is still a thing, last commit was one week ago. https://github.com/ytdl-org/youtube-dl/commits/master
420.
▲
by
gkbrk
3y ago
Anyone else with their track record?
More ›