Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Siyo
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
Siyo
2mo ago
Sure, assuming this is your own software. The context of the article is on working towards a general approach to relocatable nix binaries so I don't think that's going to scale across nixpkgs.
2.
▲
by
Siyo
2mo ago
I wonder if something equivalent exists for loading other kinds of assets. Take files that would normally live under `/usr/share`. References to these files are typically hardcoded with an absolute path as well. It's usually
3.
▲
by
Siyo
2y ago
Same thing on FreeBSD. It's just not something you can rely on and the spec doesn't say it needs to be assigned.
4.
▲
by
Siyo
2y ago
I wish that were true. MacOS for example only assigns 127.0.0.1/32. You have to assign extra IPs manually, the same way you would on IPv6.
5.
▲
by
Siyo
3y ago
I'm not sure why, but this trick doesn't work on Firefox / Mac. YouTube HDR video works fine though. Maybe it actually has to be playing?
6.
▲
by
Siyo
4y ago
Also avoid using ProtonMail Bridge if you value your emails. It's been silently corrupting/deleting your emails for years now. And Proton hasn't done a single thing to warn users about it. Instead they've been working on
7.
▲
by
Siyo
6y ago
> It makes no sense for them to add the touchbar to the base model 13" MBPs only to remove them from the higher end versions. Well keep in mind that the first generation Arm MacBooks are basically the same old Intel laptops with the
8.
▲
by
Siyo
6y ago
Most likely the issue was resolved by the reboot, not by uninstalling Chrome. From my experience Mac OS tends to slow down after a few days. Animations and scrolling gets choppy and there's nothing I can do to fix it, short of rebootin
9.
▲
by
Siyo
7y ago
"Goto is all you need, no ifs or loops or dynamic dispatch, just jumps. I have no problem with this, I enjoy it like this, we don't need an improvement. There I said it, any downvotes will be worth it, because I get to voice my op
10.
▲
by
Siyo
7y ago
While comptime looks extremely powerful, I'm really not a fan of how it's used for unconstrained generics. This is the same problem I have with C++ templates where an incorrect use of a generic function would result in an explosio
11.
▲
by
Siyo
10y ago
What do you mean exactly? I mean yeah, it's a bit different with FastCGI when you have a pool of persistent processes. But you still basically boot up your whole application every time a request comes in. Opcode caching helps with load
12.
▲
by
Siyo
10y ago
There are plenty of competitors in this space, they just don't use the CGI model of spawning a new _OS_ process for every request. You have Erlang/Elixir that have their own lightweight processes that don't share memory and h
13.
▲
by
Siyo
10y ago
I feel like this is especially problematic when using NPM for your frontend. Now you have to run all your code through deduplication and slow down your build times or end up with huge assets. I wonder if it's really worth the trouble.
14.
▲
by
Siyo
10y ago
It doesn't force you, but you lose all of it's ORM features. Sequel::Dataset is basically just a query builder so ROM would probably be a better choice then yeah.
15.
▲
by
Siyo
10y ago
Something to consider for people interested in Sequel. Sequel is great and all, but it still follows the Active Record pattern (Sequel::Model), not Data Mapper. Also expect to run into some problems with gems that interact with ActiveModel
16.
▲
by
Siyo
10y ago
I'd love to try it out. I've been struggling with Docker ever since I moved from Linux to Mac. Especially with setting up dev environments for our projects. VirtualBox shared folders just don't cut it. Docker ID: szlend
17.
▲
by
Siyo
11y ago
Yes, here's one of their masterpieces: https://github.com/rails/jquery-ujs/blob/master/src/rails.js...
18.
▲
by
Siyo
11y ago
It's funny when you contrast it to web applications. It just shows the layers and layers of bad, inefficient abstractions we've built over the years. For example, re-drawing when resizing the Slack chat window can take up to a sec
19.
▲
by
Siyo
12y ago
What they said is that they want to sell elementary OS. But going completely in that direction is pointless because someone will just fork the project and offer it for free. So what they did is make you enter $0, so when you do get it for f
20.
▲
by
Siyo
12y ago
If that's your argument, then why do we allow thousands of companies to base their proprietary web applications on the FOSS stack? How many of these companies would even exist today without Linux or Ruby or MySQL/Postgres? How muc