HNHacker News
TopNewBestAskShowJobs

paldepind2

533 karma · joined February 8, 2013

You can also find me on GitHub: https://github.com/paldepind
submissionscomments
paldepind2··on A secret deal let Spotify bypass Android's app store fees
Surely the revenue is calculated from how much money Spotify actually gets right? If they sell a $10 subscription and get $7 after Apple takes their cut then that is $7 dollars of revenue, no?
paldepind2··on Apple announces that RCS support is coming to iPhone next year
Why do you say "acquisition"? I thought Nothing just partnered with Sunbird.

But I do wonder if the timing is completely coincidental.

paldepind2··on Debian discusses vendoring again (2021)
> One issue that I, now that you mention Javascript, is stuff like npm, but to me that more a sign of npm being badly broken by design, or at least designed for a different environment.

npm being "badly broken by design" is one opinion. But the fact is that almost all modern language tooling is moving in the direction of becoming more npm-like or has been created from the beginning with heavy npm inspiration. See for instance Rust's Cargo, Dart's Pub, Go's modules, Python's virtual env, Esy for Ocaml, and more. Developers love being able to easily manage and add dependencies, and this problem is only going to grow for Linux distributions across language ecosystems.

paldepind2··on Automakers invented the crime of jaywalking (2015)
Very interesting video. Thanks for sharing. It looks a bit chaotic but honestly not _that_ unsafe to me as everything is going quite slow. It reminds me a bit of the idea of "shared space" which is a recent concept that is actually claimed to make streets safer.
paldepind2··on How Games Used to Look: Why Retro Gaming on a CRT Looks Different [video]
Thanks for sharing. Those photos of Samus give a very good impression of the difference. The CRT one is clearly better.
paldepind2··on Zimaboard: The closest thing to my dream home server setup
Yes, I get that and I think it's a very cool device (given that it has sufficient IO for ones purpose).

What I don't understand is why the casing around the board itself is so well designed and good looking. To me it looks like a "finished" self-contained device on its own. But if you use it together with, say, 2 3.5" HDDs you'll surely need some enclosure around the enclosure. At that point an "ugly" Raspberry PI-style board would have been just as good.

Granted, OP makes good use of the board enclosure, but needs to DIY a case in order to do so.

paldepind2··on Zimaboard: The closest thing to my dream home server setup
One thing I don't really understand about the Zimaboard is why it comes in such a good looking enclosure? If you want to use it with stuff connected to the PCIe/SATA ports you'll always need some extra enclosure/case anyway to keep things clean. At that point why not just ship a board like a Raspberry PI, etc?

> btrfs has had some issues in the past, especially with the RAID5/6 setup

I'm pretty sure that btrfs still has major issues with RAID 5 & 6, and that these RAID modes are not recommended to be used in anger.

paldepind2··on Mathematical proof is a social compact
You have a point, but to be fair the person you replied to didn't use the word "truth". They said "valid mathematical proof". An in the context of type theory or formal logic "valid proof" is indeed something that has been "defined into existence" (in type theory "valid proof" ≈ "well-typed term"). Whether it represents "truth" is a different matter. Though such systems can (ideally) be proven sound in and with respect to "normal" mathematics. At that point I guess the "truth"ness depends on you overall belief in math :)
paldepind2··on Leaving Haskell behind
You're absolutely right. That is particular example is bad because you don't actually need the power of flapMap/bind. But, if the available containers depended on the flavor and the available toppings depended on the flavor and/or container, then you would need flapMap/bind and do-notation would pull its weight.
paldepind2··on I only lost 10 minutes of data, thanks to ZFS
How I interpret the setup that OP has, is that he some computer (a PI, an old laptop, a NUC, etc.) which is connected to drives in an external drive bay through USB. This is a somewhat common setup and is definitely a NAS.

> For data use cases like this, USB 3 can be reasonably comparable to Thunderbolt 3, and that connection is generally faster than the media.

External HDD enclosures can often contain 4 drives. During a resliver all of these could be heavily accessed. I'm not sure how the single USB 3 connection fares in this scenario. In a normal desktop you'd have four separate SATA connections, and even then resilvering a large RAID setup can take quite some time.

paldepind2··on I only lost 10 minutes of data, thanks to ZFS
I see that his NAS is using an external harddrive enclosure over USB. I'm really curious about how wise such a NAS setup is?

In some ways it seems very attractive as you can just get a low-power SoC (like a Raspberry Pi or a NUC) and hook it up to the external drives.

But there also seems to be many potential pitfalls. Like, how slow will a resilver be over the USB? Might it be unusable/dangerously slow? How reliable is the USB connection? Does it perform to spec or might it cause weird issues? Can you get SMART info over the USB connection? Other issues?

paldepind2··on How can we compare expressive power between two Turing-complete languages?
In my humble opinion the SO question and some of the comments here conflate "expressive" as it's used when talking about the theory of computation and "expressive" as it's used when comparing various high-level programming languages. The former has a very precise (but also quite narrow) formal meaning and the later is just the normal English work "expressive". They mean very different things so I think it's a bit unfortunate that we use the same word for both because some people get the idea that they're somehow related when they're really not. I mean, in a way regular expressions are more expressive than turing machines but turing machine are more expressive than regular expressions.
paldepind2··on Why Lisp Syntax Works
This is a good article and I think it hits the nail on the head. There is one point I don't agree with though:

> Syntactic uniformity also means there is a lot less room for syntax bikeshedding. Really the only thing you can bikeshed is the naming convention for identifiers, and how S-expressions should be indented.

This might be true in theory, but in practice I find to be effectively false. Lisp makes is very easy to add your own macros that implement DSLs with custom "syntax". Common Lisp for instance has bunch of these build in, for instance for iterating over lists. While this is technically not syntax in the traditional sense that the parser is aware of it, it has the same characteristics for a user. You need to learn the "syntax" that the macros implement and _that_ syntax you can certainly bikeshed about.

paldepind2··on Keyboard tricks from a macOS app dev
I guess this is only of tangential relevance to the post, but Ctrl+n (which should work the same as arrow down) has been broken in Spotlight as of macOS Ventura.

The fact that this completely standard binding has been broken in a crucial macOS app for 5 months basically tells me that Apple does not care about the "Emacs-style" shortcuts in macOS.

paldepind2··on Modern Mono
I use Comic Code for programming[1]. At some point I got bored of all the squarish typewriter-like fonts that makes code look boring and mechanical. Comic Code is fun and human.

1: https://tosche.net/fonts/comic-code

paldepind2··on History of Lisp Parentheses (2019)
(+ 1 2 3) vs +(1 2 3) is just a small syntactic difference and has no bearing on whether the language is homo-iconic or not. The translation from code to data is equally trivial for both syntaxes.
paldepind2··on Ask HN: Why doesn't Apple bring continuity to the Music app?
Since no one has actually attempted to answer your question yet I'll give my guess as to why: I think Apple generally invested way too little time and developer talent into the development of Apple Music. I think this is evident in many ways when you look at the Music apps, _especially_ the macOS one. Since the initial release of Apple Music very little has happened to the apps, leading me to the conclusion that they're not spending time to improve them either.

Recall that Apple bought Beats to acquire the music streaming platform that Beats was developing with the purpose of turning it into Apple Music. To me this always seemed like a bit of a weird move since Apple could obviously build their own music streaming service without acquiring a company to do so. My guess is that someone at Apple who's more of a business person than a product person wanted Apple to have a Spotify competitor ASAP and saw the acquisition of Beats as a quick way to get there (with means that a business person can carry out: acquisitions). The acquisition happened, Beat's tech was turned into Apple Music (probably with time to market as the key metric that management cared about), Apple Music was released. Then the business person was happy, called it a day, and moved on.

Had Apple put their own focus and top talent into Apple Music the way they did with iTunes and iTunes Store back when iPod was their main cash cow, then I think Apple Music would have been very different. But alas, "music streaming" is probably just a check mark in someones list of services that Apple should have, and it's already checked so the job is done :)

paldepind2··on The Ethereum merge is done
You complain that HN is a hive mind and suggest that r/Ethereum is a better place?
paldepind2··on RavynOS – Finesse of macOS, freedom of FreeBSD
I'm glad you like KDE and by all means keep using it. It sounds like it's the right DE for you.

That being said, your statements about macOS sounds like they are coming from someone who's never used it and are making a fairly uninformed straw-man opinions about it. For instance, the statement "Apple products are dumbed down even more with every release" is just demonstrably false. Apple products gets more features with every release. For instance, the last macOS release got Shortcuts, Focus Modes, and Universal Control. All of which are power user features.

paldepind2··on RavynOS – Finesse of macOS, freedom of FreeBSD
Yes, KCommandBar seems to do the same thing. Cool! Thanks for sharing.
paldepind2··on RavynOS – Finesse of macOS, freedom of FreeBSD
> One needs only to avoid GTK stuff, Electron, and Windows Software, and one gets perfectly consistent behavior.

So as long as one avoids all the inconsistencies then one gets consistent shortcuts? ;) Only using Qt apps on Linux is very hard. A lot of good apps are GTK or Electron. On macOS there is no GTK & Qt divide and Electron apps are very good at implementing macOS shortcuts. Hence you get more consistent bindings.

Also, many bindings are absent even in Qt app. For instance, on macOS you have Emacs-style bindings in every app (Ctrl+a, Ctrl+p, Ctrl+k, etc.). Those are very useful. You can get them on Linux (at leasts in GTK apps) but it's very hacky and it conflicts with a bunch of stuff, whereas they fit right in on macOS. Cmd+Shift+/ to search all menus is also super useful and I don't think you can do that on KDE.

> And those behaviors can be "even" configured globally! (That's something to mention specially of course when talking to Mac users as such an advanced feature like "configurability" is notoriously missing in the Apple universe).

If you don't think macOS can be configured then you are mistaken. It can't be configured to the extend that KDE can that is true (some of us consider that to be a feature). But a lot is still possible. As an example, kindaVim adds vim-style keybindings to every app which is kinda cool.

paldepind2··on Reddit’s database has two tables (2012)
Thanks for the reply. All the situations that you describe sounds very reasonable. I definitely wasn't trying to say "use PostgreSQL always", I too have used files and SQLite in various siturations. For instance, your second example is IMO a canonical example of where SQLite is the right tool and where you make use of its strengths. My comment was more directed at the siturations where PostgreSQL seems to be the right tool for the job, but where people still recommend other things.
paldepind2··on Reddit’s database has two tables (2012)
I sometimes see recommendations like this and I just don’t get it. It’s not like setting up a PosgreSQL databases is hard at all? And using files? That just sounds like a horrible developers experience and problems waiting to happen. Databases gives you so much for free: ACID, transactions, easy DSL for queries, structure to your data, etc. On top of that every dev knows some SQL.

What am I missing?

paldepind2··on Astro 1.0 – a web framework for building fast, content-focused websites
But TypeScript doesn’t have ADTs which you stated was a hard requirement. It has some other features that can achieve similar things though, so maybe that’s good enough?
paldepind2··on OpenBSD has two new C compilers: chibicc and kefir
The "new" in the headline refers to these compilers being newly ported to OpenBSD. OpenBSD also sometimes gets new features, sees new releases, etc. There's nothing weird about seeing "new" and "OpenBSD" in the same headline.
paldepind2··on React Native 0.69
I use Hermes and have had zero issues with it. I use quite a bunch of native libraries.
paldepind2··on Challenge: Pixel perfect design
How did Wayland do it initially and how are they doing it now?
paldepind2··on Sunsetting Atom
There is a fundamental difference between the kind of extensions that Atom has and the type Code has. It's something that people often miss when they compare the two.

Atom was made to be infinitely customizable by using web technology. You can dynamically change everything you want with custom HTML, CSS, and JavaScript. Nothing is off limits. Want to shrink the size of the tabs? Just throw in some CSS, everything is changeable.

Code on the other hand runs plug-ins in a separate isolated thread where they are left to communicate with the editor through an extension API. Every customization "hook" that a plugin has access to needs to be explicitly added in that extension API. The things that the devs didn't think (or want) to add are simply impossible. Want to shrink the size of the tabs? Tough luck (except for unsupported hacks).

Code is awesome, but I think Atom should get more credit for what it tried to do. It is arguably the most customizable text editor ever.

paldepind2··on DuckDuckGo faces controversy over tracking agreement with Microsoft
Calling what DDG did "selective censorship" is a very unfair description. Essentially a search engine is about sorting search results and any search engine must do that based on some idea about what information is good and what is bad. DDG has been doing that since day one. In fact, the primary reason DDG was created was because its creator thought they could improve search results by getting rid of things that showed up in Google that they thought where bad (the privacy selling point came later)[1]. You may disagree with some of these choices (which is fair) but calling them "censorship" is just using bad sounding words that don't really apply.

1: Source, Gabriel Weinberg's book Traction.

paldepind2··on The end of the nice GTK button
> I'd be curious to have a review of Breeze / KDE by Martijn.

He mentions KDE in the blog post:

> The feedback I get is that I should move to QT/KDE, but I think that theming has had the same issues for way longer already and I do really like the Gnome HIG.

← PreviousPage 3 of 4Next →