Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
teo_zero
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
151.
▲
by
teo_zero
7mo ago
> the shell is not usually doing printing of the result of evaluation I always include $? in the prompt, so I guess I can say it does print the result of the evaluation.
152.
▲
by
teo_zero
7mo ago
The bad thing about this method is that it's slower than native CPU instructions. The good thing is that the result is very precise for at least 2 values of x, namely 1.0 and -1.0 JK
153.
▲
by
teo_zero
7mo ago
> now I write less good on purpose, so whatever I commented doesn't get drawn into a sidetrack off-topic witch-hunt. I've begun downvoting each and every entry that questions the authenticity of a comment or article. I don'
154.
▲
by
teo_zero
7mo ago
One of the skills teachers have always demonstrated, is to be able to detect when students copy. This has never pushed students to artificially add mistakes to their essays. If now teachers abdicate this judgment to a software, students sho
155.
▲
by
teo_zero
7mo ago
Re. incoherence of vim's keybindings, I partially agree. Most of the times, shift means "bigger", and only in a few places it means "invert". Examples of "bigger" are all the motions involving words vs. WO
156.
▲
by
teo_zero
7mo ago
What a bizarre conclusion to draw! It's like saying that cars are the best means of transportation because you can travel to the Grand Canyon in them and the Grand Canyon is the best landscape in the world, and yes you could use other
157.
▲
by
teo_zero
7mo ago
Debian Linux.
158.
▲
by
teo_zero
7mo ago
Excellent idea. Looking forward to trying it. Any way to install it without brew?
159.
▲
by
teo_zero
7mo ago
> The AI is acting at your direction and following your lead. While it is autonomous in its execution of tasks, it is unlikely to go rogue. It doesn't possess a sense of self-will, self-determination, or a secret plan to take over t
160.
▲
by
teo_zero
7mo ago
Are you sure you didn't mean Memento?
161.
▲
by
teo_zero
8mo ago
> who is heavily working with text, which requires a lot of typing, and only has a smartphone? People reading HN on the subway, who have some insightful comment to add, but are slowed down by unergonomic input methods?
162.
▲
by
teo_zero
8mo ago
I think we use different units. In my system there are 3600 seconds per hour, and watts measure power.
163.
▲
by
teo_zero
8mo ago
Excellent essay. To those who enjoyed it so much as to come here and read these comments, I'd suggest to fetch a copy of David Mitchell's "Cloud Atlas", and appreciate the multiple style changes between the various secti
164.
▲
by
teo_zero
8mo ago
You can tell second-language speakers because they know when to use "its" and "it's".
165.
▲
by
teo_zero
8mo ago
Yes, it's a pity that some symbols have been overloaded with multiple meanings and the syntax can't disambiguate them. This case would not exist if another symbol had been chosen for dereference. A similar claim, equally not relat
166.
▲
by
teo_zero
8mo ago
Yes please! I don't know what's worse: reading an AI-generated post or several comments that go like "I've spotted an em-dash, it must be AI generated".
167.
▲
by
teo_zero
8mo ago
Of course it must be Scotch tape, because Scotts are not particularly renowned for their ribbons...
168.
▲
by
teo_zero
8mo ago
I'd bet it's some plugin. I have a vanilla Vim and never noticed anything like that.
169.
▲
by
teo_zero
8mo ago
I don't get where your surprise comes from. Of course companies have the last word on what tools you are allowed/obliged to use when you're on duty. Uniforms, vehicles, why not software?
170.
▲
by
teo_zero
8mo ago
You shouldn't take a sci-fi writer's words as a prophecy. Especially when he's using an ingenious gimmick to justify his job. I mean, we know that it's impossible for anyone to tell how the world will be like after the s
171.
▲
by
teo_zero
8mo ago
You can surely create a std::string-like type in C, call it "newstring", and write functions that accept and return newstrings, and re-implement the whole standard library to work with newstrings, from printf() onwards. But you&#x
172.
▲
by
teo_zero
8mo ago
I agree on the former two (std::string and smart pointers) because they can't be nicely implemented without some help from the language itself. The latter two (hash maps and vectors), though, are just compound data types that can be bu
173.
▲
by
teo_zero
8mo ago
It would be interesting to understand what non-toy programs can be coded in this subset of C. For example, could tcc be rewritten in this dialect?
174.
▲
by
teo_zero
8mo ago
> how long is it before you can't print a replacement part for something you bought because it looks too similar to an OEM part and the manufacturer doesn't think you should be able to do that so they throw a little money to th
175.
▲
by
teo_zero
8mo ago
Obligatory reference: http://www.cs.utexas.edu/~EWD/ewd08xx/EWD831.PDF
176.
▲
by
teo_zero
8mo ago
> Asking for "no politics" is itself a strong political view If this is true, I'd like to know what a weak political view is instead!
177.
▲
by
teo_zero
8mo ago
I have doors between rooms in my house, despite its being inhabited by members of the same family who trust each other.
178.
▲
by
teo_zero
8mo ago
And we could represent the addresses with hex numbers separated by : instead of decimal numbers separated by .
179.
▲
by
teo_zero
8mo ago
That reminds me of the protagonist of Charles Stross's novel "Accelerando", a prolific inventor who is accused by the IRS to have caused millions of losses because he releases all his ideas in the public domain instead of pro
180.
▲
by
teo_zero
8mo ago
The shell might be POSIX, but sed uses a GNU extension -- namely, the double address "a,b". EDIT: Sorry, I was wrong, the double address is indeed POSIX. I was thinking of the GNU syntax: a,+n
More ›