valw

Joined 12 years ago

Karma
466
Submissions
156
Member since
Sep 15
Mostly a Clojure / JavaScript / Scala / Java programmer.

Love to program all sort of stuff from websites to artificial life systems. Love thinking about programming even more.

Love mathematics. Program mainly because it's the easiest way to build my ideas for me.

I want computers to enrich people's lives, not the other way round.

View on Hacker News

Recent submissions

Comment · 3 years ago
Or, you know, use a time-aware database like XTDB or Datomic.
Comment · 4 years ago
I absolutely agree - one of the biggest shortcomings of SQL is that its primary programming interface is based on text and intended for human, instead of being based on data structures and intended for programs.
Comment · 4 years ago
> There’s not much difference in expressiveness

> However SQL is declarative

Pick one :) the way I see it, if declarativeness is not a factor in assessing expressiveness, then expressiveness reduces to the uninteresting notion of Turing-equivalence.

Comment · 4 years ago
Thanks for sharing this. I believe we essentially agree: chaining method calls is inexpressive compared to composing expressions in an algebraic language.
Comment · 4 years ago
Btw, am I alone in thinking that DataFrame abstractions in OOP languages (like Pandas in Python) are oftentimes simply inferior to relational algebra? I'm not sure that many Data Scientists are aware of the expressive power of SQL.
Comment · 4 years ago
Well, to be also fair, we also want quantum electronics to be deterministic in their behaviour. The difference lies not so much in randomness as in leveraging intrication.
Comment · 4 years ago
Comment · 4 years ago
> factoring prime numbers

factoring into prime numbers ;-) (factoring a prime number is trivial, that's why it's called prime)

Comment · 4 years ago
> Are quantum computers overhyped?

Well, let's see:

> When given the same problem, a quantum computer should be able to trounce any supercomputer in any problem in terms of speed and efficiency

LOL, no, not any problem, far from it. Some problems, rather specific ones, such as prime factoring.

> Our current system, for example, taps into electrons and cleverly-designed chips to perform their functions. Quantum computers are similar, but they rely on alternative particle physics.

Um, no, they both rely on the same physics, that is a combination of Quantum Mechanics and electromagnetism. Note to the author: an electron is a quantum system, and classical electronics definitely rely on that.

So yes, quantum computers are overhyped, through no faults of their own, and this article contributes to the trend.

Comment · 4 years ago
> the annual worldwide energy usage of blockchain technology is roughly equal to the annual US energy waste from machines plugged in while in standby mode. It is also significantly lower than the annual worldwide usage of Christmas lights, and wash dryers.

... and it benefits much, much fewer people.

That's analogous to the pro-air-travel disinformation argument: "air travel is only 2% of CO2 emissions". It is only so because air travel is only adopted by a small minority of people: that doesn't stop it from being insanely carbon-intensive.

Comment · 4 years ago
April fool's joke : we'll pretend that bugs in software are distributed as a homogeneous Poisson process, AND that Poisson distributions are bounded, while we're at it.

Poisson d'avril!

Comment · 4 years ago
Reminder that the Computer Languages Benchmark Game itself recommends against using it to draw general conclusions about performance of languages in real-world apps: https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

> We are profoundly uninterested in claims that these measurements, of a few tiny programs, somehow define the relative performance of programming languages aka Which programming language is fastest?

Now, I challenge you to find a major bloated software where the main source of overhead is Python interpretation. IME it's always something else, like the surrounding UI framework.

The Office suite is written in C++ and is badly bloated, obviously not because of language execution overhead but because of technical debt, which if that's any indication recommends against using low-level languages.

Comment · 4 years ago
Comment · 5 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton