HNHacker News
TopNewBestAskShowJobs

cel1ne

1 karma · joined April 2, 2026

submissionscomments
cel1ne··on Things I Was Wrong About: Types
"They are not needed anywhere." -> This should have been "They are not needed everywhere."
cel1ne··on Things I Was Wrong About: Types
Types are important and necessary.

Can you skip them in a typed language? Yes, just use any, Object or whatever the equivalent.

Can you add them to an untyped language? No.

They are not needed anywhere. But I argue that especially JavaScript module-systems would have benefited greatly from them.

A million lost hours in fixing obscure "undefined is not a function"-errors from output of highly dynamic pluggable build/transpiler-systems like webpack, requirejs, babel, buck etc. could have been avoided.

cel1ne··on Quarkus 1.8.1 – Kubernetes native Java framework
JDBI.
cel1ne··on Ask HN: How do I learn to write better code?
1. Try a completely functional language like Haskell once to learn about side-effects.

2. If you do multi threading: Look into Immutability and communicating sequential processes

3. Use static analysis / linters / code checkers for every language you use. They provide a lot of tips. There are linters for bash and Dockerfiles as well.

cel1ne··on The Presence of One’s Own Smartphone Reduces Available Cognitive Capacity (2017)
I wrote an autohotkey script for windows to assign alt-* to most shortcuts which would require ctrl-*. Alt is physically where Macs Cmd is, so I had Alt-A for Cmd-A, Alt-F for Cmd-F, Cmd-W and so forth. This made a big difference.

Also I installed EasyWindowSwitcher and assigned it to a shortcut, which gave me window-cycling like in mac.

cel1ne··on On Browser Tabs
Have you tried a combination of quick-reading and taking notes.

If it's about train of thoughts: for each tab try formulating and writing down a question that came to your mind while reading it.

That is the creative takeaway and it might ease your mind enough to close the tab.

cel1ne··on How can we, as web professionals, help to make the web more energy efficient?
Use CDNs for delivering JavaScript libraries instead of including everything into custom bundles.

React could be transferred ONCE to the browser-cache instead of hundreds of times.

cel1ne··on What's so hard about PDF text extraction?
> Copying the text gives: “ch a i r m a n ' s s tat em en t” Reconstructing the original text is a difficult problem to solve generally.

Why not looking for stretches characters with spaces between them, then concatenate, check against a dictionary and if a match is found, remove the spaces.

> “On_April_7,_2013,_the_competent_authorities”

Same here.

cel1ne··on Britain’s CO2 Emissions Have Fallen to Levels Last Seen in 1890 (2018)
"Where earlier reductions were largely negated by rising imports, the past decade has seen genuine cuts in the amount of CO2 for which the UK is responsible."

- https://www.carbonbrief.org/analysis-why-the-uks-co2-emissio...

cel1ne··on OpenJDK is now on GitHub
Not really, since everybody who cloned a repo has a full copy of everything.

Reminds me of the saying that writing git was just a backup strategy for Linus Torvalds: FTP-mirrors were the first step to ensure that the kernel was never lost, git was needed to mirror the source-history as well.

cel1ne··on How should we build the APIs of tomorrow?
Use REST for reading, but RPC-style calls for writing. Benefits:

1. Every write-call is a transaction

2. You can have complex filtering and sorting in the read/access side of your API without having to worrying about the update-side of things.

3. You can evolve the read-API, even change semantics and return different objects and again, not worry about transactions.

4. You are not limited to the HTTP-standard.

Here are also some good tips: https://www.vinaysahni.com/best-practices-for-a-pragmatic-re...

cel1ne··on I thought I would have accomplished a lot more today and also before I was 35
Very well put.
cel1ne··on GPT-3 has no idea what it’s talking about
> The argument is that GPT3 has no understanding of the world, just superficial understanding of words and their relationships.

We don't really know what "understanding of the world" means in humans. We just "see it when it's there".

We might be radically different from GPT-3, or we might not. Our way of learning is different in any way.

Something that came to my mind: Various GPT-3 answers resemble answers given by children: Mostly correct, but having misunderstood some crucial point.

In real human learning and conversation these points are easily corrected by feedback by explanation: "You see, the point is no one wears bathing suites to work".

Which would then be incorporated as new wisdom.

Maybe this feedback-mechanism is what GPT-3 is missing. Maybe we should talk to it.

cel1ne··on Moreutils – Unix tools that nobody thought to write (2012)
> sponge

Why not use > file?

> mispipe

In bash there's PIPESTATUS for that.

cel1ne··on C# .NET Core versus Java fastest programs
You can call C with Java.
cel1ne··on Linux from Scratch
I did this 15 years ago, before I gave gentoo a spin. I compiled my kernel for many years (make menuconfig).

Bottom line: It's not worth it.

I use debian now.

cel1ne··on Show HN: Say Less – AI summarization tool in the Gmail compose window
You have to adapt while writing: If I want a "more important" sentence to be read, I put on it's own paragraph.
cel1ne··on Coding and drawing
A drawing teacher put it like this: "Draw what's there, not set-pieces". (meaning the reusable furniture components in theaters)
cel1ne··on Can't you just right click?
AFAIK, you don't have to ship the source to be GPL-compliant, you just have to provide it upon request.
cel1ne··on Facebook account now required to login to Oculus devices
Unfortunately no HDR support.
cel1ne··on Black Sky satellites return images just 58 hours after launch
The difference is that computer-on-your wrist are personal. They got cheaper and cheaper as everyone started to buy one.

I can't imagine everyone buying a spaceship, or even 1 in 10.000 people, if spacecraft costs were 10.000 times the super-computer costs of the past.

So no comparable revenue-stream to further drive down cost.

cel1ne··on Facebook account now required to login to Oculus devices
I use an AppleTV connected to a 43-inch 4k monitor [1]. No crappy TV-software and it's a proper screen, with proper response-time to use for the laptop as well.

[1] https://www.amazon.com/Philips-Monitor-Bdm4350uc-42-5in-3840...

cel1ne··on Dependency
I wonder if you could write a program that scans javascript-dependencies for function-usage that could be replaced by suites like lodash, to find and replace "leftpad-style dependencies".
cel1ne··on Web History: Browsers
https://en.wikipedia.org/wiki/X_Window_System
cel1ne··on Greenland ice has shrunk beyond return, study finds
> For example, warming itself has been highly nonuniform. It's not that every day, every location on earth is X degrees warmer.

What is happening is this:

For a location and a time somewhere on earth plot a curve depicting the probability of it's temperature. The highest point in the middle is the average, typical temperature for that day, but of course there are less probable outliers left and right, like in a normal distribution.

What climate change does is

a) it flattens that curve, meaning more varying temperatures, unusually hot or unusually cold days, become more likely and

b) it moves that entire curve to the right, so that the average overall temperature becomes hotter, even though there are more cold outlier-days than before.

cel1ne··on Mozilla’s Uncertain Future
I don't think so, i switched to Firefox about two years ago, after the major upgrades, and I think it's way snappier, faster and more usable than chrome.
cel1ne··on Greenland ice has shrunk beyond return, study finds
You are right, you could say: "It's a problem, it doesn't matter if it's us or not, but we have to fix it".

Question is whether this helps the debate or not. It could help.

cel1ne··on Greenland ice has shrunk beyond return, study finds
If you don't say "it's us", you generally mean that it's a natural occurring phenomenon / cycle. And with that generally comes the assumption "...therefore we don't need to fix it, because it will fix itself.".
cel1ne··on Greenland ice has shrunk beyond return, study finds
I like the way the 350.org science page put's it:

   1.  It’s warming.
   2.  It’s us.
   3.  We’re sure.
   4.  It’s bad.
   5.  We can fix it.
(https://350.org/science/)
cel1ne··on Valproate reopens critical-period learning of absolute pitch (2013)
Thanks for the tip. I actually memorized C4, not C1, mistake on my side.
Page 1 of 20Next →