Recent submissions

Comment · 1 month ago
Censorship can be used to monopolize the spread of misinformation.
Comment · 2 months ago
If you do not "have it" and you are unable to reproduce the imagery you see in your mind's eye using a pencil on paper, then that is clarifying. Whatever you consider to be visualization is not even close to the same as actually seeing something. If whatever you experience was a "vivid visualization", then you would be able to reproduce it drawing.

I personally don't experience anything that I would consider "visualization", and I am also terrible at drawing, but I can reproduce a photorealistic drawing of a photograph if I am allowed to look at the photograph while drawing.

Comment · 2 months ago
You would be able to reproduce the object very accurately, given enough time. You can simply continuously refine the drawing by comparing the drawing to the object.
Comment · 2 months ago
The ultimate test is having them draw a picture. If they can visualize imagery then they should be an excellent artist. If they are bad at drawing, then they must have aphantasia.
Comment · 11 months ago
Each token affects the probabilities of subsequent tokens. Let's say you want the model to produce Python code, and you are using a grammar to force JSON output. The model wasn't trained on JSON-serialized Python code. It was trained on normal Python code with real newlines. Wouldn't forcing JSON impair output quality in this case?
Comment · 3 years ago
The defining characteristic of science is that one can independently arrive at a logical conclusion by observing cause and effect. There is no belief or indoctrination necessary. Having faith in science is an oxymoron (although it's all too common).
Comment · 3 years ago
The constructor of std::string is constexpr in C++20. A runtime call to 'strlen' (or equivalent) can be optimized out by computing the string's length at compile time and initializing the object accordingly.
Comment · 3 years ago
In the absence of IDE features, you can't differentiate between value arguments and reference arguments unless you view the callee's prototype. Pointers do not have this problem.
Comment · 3 years ago
Another biblical example is Psalm 90:10: "Our days may come to seventy years, or eighty, if our strength endures; yet the best of them are but trouble and sorrow, for they quickly pass, and we fly away."
Comment · 3 years ago
Member functions have an invisible argument: the pointer to the C++ object. You can access this argument using the 'this' keyword. John Carmack describes pure functions like so:

> Pure functions have a lot of nice properties. Thread safety. A pure function with value parameters is completely thread safe. With reference or pointer parameters, even if they are const, you do need to be aware of the danger that another thread doing non-pure operations might mutate or free the data, but it is still one of the most powerful tools for writing safe multithreaded code.

Emphasis on 'value parameters'. The invisible 'this' argument is not passed by value, it is passed by reference. By Carmack's definition, C++ member functions are not pure.

Comment · 4 years ago
The title of the linked article has a question mark, while the HN title does not.
Comment · 4 years ago
Anyone can create a fake 'seized' page.
Comment · 4 years ago
Sure, at this point. Yishan resigned from Reddit in 2014.
Comment · 4 years ago
Seems like he had it under control, and was recording it in order to publicize the problem and possibly get it fixed.
Comment · 6 years ago
Yes.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton