Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
widdershins
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
widdershins
2y ago
I don't think that's really true, outside some niche cultural arenas. Sure, if you're at a posh member's club or a party of aristocrats people might be impressed by your lineage. I would concede that in politics a degree
62.
▲
by
widdershins
2y ago
I'm now sort of fascinated to know if it would be possible to compile Gleam to Go, and use this library to emulate the Erlang process stuff...
63.
▲
by
widdershins
2y ago
This is really cool. I'm fairly impressed with the maps of the London underground, although there are some oddities in Octilinear mode. It's also missing quite a few Overground services. It's really nice to be able to switch
64.
▲
by
widdershins
2y ago
It's a joke.
65.
▲
by
widdershins
2y ago
> the "flattening" above seems unnecessary but I could not avoid it since "Result#map" wraps the Result in another Result (I could not find a flat_map). In Gleam, this is called `result.try`[1] [1] https://
66.
▲
by
widdershins
2y ago
Gleam compiles very fast - I believe the language has been designed in part to enable this. No context-dependent grammar, etc.
67.
▲
by
widdershins
2y ago
Yes, Gleam and Rust are very different in the use-cases they address, performance etc. They share superficial syntax, which is why people think they're similar. The other main similarity is a focus on sum-types and pattern matching, wh
68.
▲
by
widdershins
2y ago
> Sooner or later you come across something you need and there is no library for it. Then you are forced to start messing around with FFI and whatnot. I agree that it's always a little risky to bet on a young language. But I think G
69.
▲
by
widdershins
2y ago
Not many straightforwardly positive comments here so far, so I will write one. I'm a Firefox user but I've recently been tempted by Arc primarily because of its 'workspaces' feature and its minimal UI that gets out the w
70.
▲
by
widdershins
2y ago
It's just familiarity. I use Firefox on macOS and I always think the fonts look fuzzy on Chrome when I'm occasionally forced to use it. I spent a few weeks on Arc (Chrome-based) earlier this year, got used to the fonts, and then t
71.
▲
by
widdershins
2y ago
It's not complicated. The temperature of the planet as a whole goes up. But depending on the effects (which are complex) some places may get colder, some wetter, some hotter and drier. The average adds up to an increase in temperature;
72.
▲
by
widdershins
2y ago
Because humans (like most animals) are optimized at a deep level to seek high-energy foods, and neither encouragement or shame are powerful enough to override that.
73.
▲
by
widdershins
2y ago
Chez Scheme is probably the fastest well-maintained Scheme implementation. It's open source (MIT license). I would describe the performance as Go-like, rather than C-like, since it's garbage collected. But it's pretty darn go
74.
▲
by
widdershins
2y ago
I'm really curious to know if many people with large Elixir problems are finding any issues with the new type system. This is pure curiosity, I don't have a dog in the fight!
75.
▲
by
widdershins
2y ago
Well Gleam doesn't have supertypes, so the function signature (even when inferred) does describe everything your function could possibly produce. If the author changes that, your code will stop compiling, not blow up at runtime. I agre
76.
▲
by
widdershins
2y ago
Generally the advice is that public functions should have type annotations, and private functions needn't if you don't want to. But I could see arguments for either actually. Sometimes it's a bit of an annoying overhead if it
77.
▲
by
widdershins
2y ago
The designer of gleam is trying to make a linter unnecessary, by not having extraneous language features that need to be discouraged. Guess it's not working 100% if someone feels this way! However, I would say that since the compiler&#
78.
▲
by
widdershins
2y ago
Use LuaCheck if you don't want to use the LSP. It warns about the use of globals, which is generally what you want. It's perfectly possible to design your program to use no globals.
79.
▲
by
widdershins
2y ago
Using the same notation for function calls and math operators has many benefits that may not be immediately obvious, and which may (depending on preference) outweigh the unfamiliarity. For example: No operator precedence rules to remember.
80.
▲
by
widdershins
2y ago
I'm confused. To me it seems that real time guarantees are a function of three things: - Is it constant time in algorithmic complexity? - Is it single threaded (i.e. free from locks)? - Does it need to fetch memory from the system (not
81.
▲
by
widdershins
2y ago
What's the difference between this and a slab allocator? Is it just that the bin size distribution wastes less memory (assuming the slab allocator used pow2 bin sizes)?
82.
▲
by
widdershins
3y ago
After updating (from 124) I saw this message, although it wasn't in the release notes: > With this latest version of Firefox, you’ll experience 25% quicker on-average page loads, which means more all-around zippiness anywhere you go
83.
▲
by
widdershins
3y ago
Interesting. Fonts looks beautifully sharp in Emacs on my Mac. I don't use any variable-width fonts however, only monospace.
84.
▲
by
widdershins
3y ago
I still buy movies and TV shows on Apple TV (and sometimes Amazon Video) all the time. That seems like the closest analogy to Steam. It works very nicely. Streaming is a different kettle of fish. With streaming services I always expect my f
85.
▲
by
widdershins
3y ago
Asynchronicity is indeed part of what makes Node.js useful, but that doesn't mean it's perfect. It's very easy to write non-deterministic bugs with async/await. Bugs that might result in flaky tests and incorrect code ge
86.
▲
by
widdershins
3y ago
Seriously!? I love the idea, but I perhaps love more that Tristram Shandy was your choice of character to chat with. You have good taste!
87.
▲
by
widdershins
3y ago
For some people (myself included) the infinite configurability is the selling point, and configuration is the 'cost of doing business'. I'm an Emacs person but I'm sure it's the same for (Neo)Vim people too. You
88.
▲
by
widdershins
3y ago
Ah, thanks for the link, I hadn't seen that. I will give Eglot another go with this set up!
89.
▲
by
widdershins
3y ago
It comes with quite a few language servers built-in.
90.
▲
by
widdershins
3y ago
I've been impressed with the C++ clangd language server snappiness in Zed compared to both CLion (my old favorite) and Emacs (apple of my eye for 2.5 yrs). I always thought the major slowness was coming from clangd itself, so I'm
More ›