Recent submissions

Comment · 3 years ago
Looks like you accidentally
Comment · 3 years ago
As an AMD user, I have to say that it's nowhere near nvidia for ML. Basically ALL ML tooling is written with CUDA as a target, and while ROCm promises some level of compatibility, it's a buggy mess that crashes with most models out there.

If OpenCL took off as the standard, any GPU would be able to do everything just fine, but unfortunately industry always takes the "worse is better" approach to everything.

Comment · 3 years ago
And why would anyone care about what a CEO says?
Comment · 3 years ago
Only chromium support, though. Pass.
Comment · 3 years ago
Like politics.

And like politics, it's a bunch of made up shit, that when believed by an entire society, will determine how, and whether, you can or cannot live in it.

Humans are defined by making shit up and then believing it.

Comment · 3 years ago
> and is faster.

After a very long warmup time, which may make one-shot applications much slower.

Comment · 3 years ago
Ironic that the last slide asks me to subscribe to a newsletter with my Google account.
Comment · 3 years ago
JIT is a compilation model for interpreted languages, which translates bytecode into machine code in runtime to obtain better performance. The opposite of JIT is AOT (Ahead of Time). JIT languages go through two compilation steps: one to bytecode, and another to native code in runtime. Java is one example of a JIT compiled interpreted language, that also does ahead of time compilation to bytecode, while python compiles to bytecode transparently, but does not do any JIT compilation to native, which is part of the reason it's considered a "slow language" (though this expression doesn't really make any sense, as slowness is a property of the implementation, not of the language).

TLDR:

Java uses AOT bytecode compilation + JIT compilation

Python uses import-time bytecode compilation + slow interpreter

Comment · 3 years ago
I was actually surprised when I found out they made a web framework in "the RPG Maker XP language".
Comment · 3 years ago
There is always one obvious way to do things in Python, but it happens that what's obvious varies from person to person.
Comment · 3 years ago
You started using Javascript after they fixed it with ES6. When I started working with Python, I had just left a NodeJS project in ES5 callback + prototype hell and didn't want to get anywhere near Javascript until they added proper scoping rules and classes.
Comment · 3 years ago
The main antipattern involved in this post is Go.

Rob Pike's messed up ideology made people think abstraction is bad.

Comment · 3 years ago
NAND gates allow people who can't build transistors from self-mined ores to build CPUs.
Comment · 3 years ago
You can test them very easily by using database containers.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton