Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
frou_dh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
751.
▲
by
frou_dh
5y ago
JavaFX's text rendering is busted on macOS since Mojave in 2018: https://github.com/javafxports/openjdk-jfx/issues/229#issuec... So I give it an 'F' for the "look" part of look-n-feel
752.
▲
by
frou_dh
5y ago
> Even C provides sort with a function pointer for compare... That's been in non-generic Go for a while (passing a closure for sorting): https://golang.org/pkg/sort/#Slice
753.
▲
by
frou_dh
5y ago
Pure Data (the venerable audio software, sibling of Max/MSP) has its package manager (for plugins) written in Hy. I found that to be a bizarre sighting of it in the wild.
754.
▲
by
frou_dh
5y ago
I always assumed that the in-browser download completing ~instantly and a native branded GUI establishing itself as a separate window must make the average user slightly more likely to follow through with the installation, instead of forg
755.
▲
by
frou_dh
6y ago
Reminds me of this diagram http://i.imgur.com/ZOuf9hg.png (which I don't necessarily agree with)
756.
▲
by
frou_dh
6y ago
The Pyright typechecker for Python (a Mypy alternative): https://github.com/microsoft/pyright
757.
▲
by
frou_dh
6y ago
Here's my README pet peeve: When the examples for some tool that operates on source code show it operating on its own code. As a reader unfamiliar with a project, it's unpleasant to have to contend with "meta" at a time
758.
▲
by
frou_dh
6y ago
C is/was used for tons of Unix userspace programs that have no issue being written in something like Go. IMO this "systems" term has become a red herring and should be retired in favour of just naming concrete domains in a gi
759.
▲
by
frou_dh
6y ago
Yep, it sure seems like professional adoption of Swift on alternative platforms is microscopic outside of people who were already iOS/macOS developers. I don't think this is what they had in mind when Lattner somewhat-seriously ta
760.
▲
by
frou_dh
6y ago
Funny to hear this, because I have that Matias keyboard and never ever use those dedicated undo/cut/copy/paste keys, because I feel there's no point retraining myself to get used to their placement (in a column on the
761.
▲
by
frou_dh
6y ago
The normal OCaml compilers have an optional warning (-w +E) for "Fragile pattern matching", the upshot being that you can make use of catch-alls, while still remaining aware of their presence.
762.
▲
by
frou_dh
6y ago
The caricature of HN is indeed a café of webdevs talking shop the whole time
763.
▲
by
frou_dh
6y ago
It's against HN's written Guidelines to moan about the format of articles
764.
▲
by
frou_dh
6y ago
I was thinking more about the common criticism that something like `case Point2d(x, y):` "looks like an instantiation" and hence an equality check. I actually replied to the wrong comment after reading several that visually looked
765.
▲
by
frou_dh
6y ago
Python is strongly-typed. With its built-in type annotation syntax and a checker like mypy or pyright, it is statically-typed, too.
766.
▲
by
frou_dh
6y ago
I think the general criticism of the match statement is just baggage from C overexposure. See the keyword "case" and the brain immediately snaps to thinking we're in a bog-standard C-style switch statement. It's not a sw
767.
▲
by
frou_dh
6y ago
Someone showing ignorance and being smug about it at the same time? In 2021?
768.
▲
by
frou_dh
6y ago
In that debate, we quite often hear something along the lines of "I can't remember the last time a static typechecker actually helped me" and that makes me imagine a fish saying they can't remember the last time that wat
769.
▲
by
frou_dh
6y ago
Here's a great comment explaining all the permutations: https://news.ycombinator.com/item?id=25426438 At least from a branding perspective, it seems the whole thing has been quite bungled. But obviously what's mor
770.
▲
by
frou_dh
6y ago
Go's thing is more "encourage" to handle errors than "force", given that the compiler has nothing to say about unhandled errors in the presence of certain variable reuse patterns, or completely unassigned returns.
771.
▲
by
frou_dh
6y ago
A lot of people got trained (by using say Windows 98 on a 12" 800x600 CRT goldfish bowl) that every window needs to be reflexively Maximized, and unfortunately some still carry that habit to this day. Always makes me laugh to see peopl
772.
▲
by
frou_dh
6y ago
It's quite common to see a similar concern raised about contemporary versions of the Swift language design (language-nerd lunatics taking over the asylum).
773.
▲
by
frou_dh
6y ago
A Chrome/Firefox user expending some effort to make their existing extension available to Safari users is doing those users a favour. Generally one doesn't have to additionally start donating money to someone's preferred char
774.
▲
by
frou_dh
6y ago
> So you're going to use App Store for free It's not free. There's a $99 membership fee every year, even for an altruistic person offering nothing but a single useful extension/app that makes zero income. --- Let'
775.
▲
by
frou_dh
6y ago
They've thought of that. It's why the subscription has three levels of "bell" denoting how much you want to hear about new content from the channel. --- In keeping with the TRUE purpose of YouTube, instead of posting doz
776.
▲
by
frou_dh
6y ago
It's a bit corny that Reddit and HN go over the top about this guy like he's the centre of the universe, just because he's the only player they know the name of and could point out in a photo.
777.
▲
by
frou_dh
6y ago
It's nice that it uses a standard API now. But it seems to me that the long tail of one-person-developed hobby extensions will still be completely turned off by the prospect of paying $99/yr indefinitely to be able to distribute t
778.
▲
by
frou_dh
6y ago
Are you particularly proud of this GoFY episode? I mean, being all talk and no follow-through is ten-a-penny.
779.
▲
by
frou_dh
6y ago
The `match` statement, slated for the next version of Python (3.10), is rather comprehensive. Don't think we could reasonably expect much more than this to be retrofitted into an old language [0] https://www.python.org/
780.
▲
by
frou_dh
6y ago
Yet another standard library for OCaml? You sure it wasn't a parody? :) I can think of: TheActualStdlib, Base/Core_kernel/Core, Batteries, Containers, Belt, ...
More ›