HNHacker News
TopNewBestAskShowJobs

tzot

274 karma · joined June 14, 2020

Just an earthbound misfit, I.
submissionscomments
tzot··on Epicycle Clock
Is there one though? Or do you refer to the minutes-hand moving every 1 second?
tzot··on Firefox address bar
Firefox without a command character searches everywhere; you use a command character to restrict your search to a specific category (history, bookmarks, open tabs etc).

Assumably Chromes does the same (ie without some prefix searches everywhere, with some prefix —or keypress— searches in a specific category). If Chrome doesn't do that, then Firefox's is the much better UX, otherwise they're equivalent.

tzot··on Clojure Plays Mario
You seem to talk about AI-controlled-NPCs in games, while GP starts from the article context about AI-controlled-PCs (player characters) and proceeds to generalize about using AI to solve problems outside games.
tzot··on Why are so many young Americans adopting fake British accents?
I believe this native-accent is a common gag; Laurie also in one episode of House MD did the American-faking-a-British accent when he telephoned an overpond doctor in GB to learn more about the medical history of a patient.

I also recall an episode of The Mentalist, where agent Rigsby (played by Welsh Owain Yeoman) says he can imitate a british accent and proceeds to do so, only to receive a “nah, not good enough” by the protagonist.

The issue I (as a non-native English speaker) sometimes have with British actors is: how to pronounce their names?! Examples: the aforementioned Owain Yeoman, Chiwetel Ejiofor, Siobhan (pronounced Shivohn IIUC) Finneran…

tzot··on Understanding the power of bitwise operators
Exactly! Hence the guesses: is it autocorrect or that the article author has heard the word but never seen it written that made them write it as “carrot”?
tzot··on Understanding the power of bitwise operators
Is it an autocorrect issue or the writer only-heard-never-read that the "^" character is called a “carrot”?
tzot··on Improbably Right
From his nephew, one year older than me, in the sixth grade with whom we played football (soccer). He said that he heard his uncle talking to his mom.
tzot··on Improbably Right
Ah, so it's my Firefox :)
tzot··on Improbably Right
1. I had a similar issue in the fifth grade of elementary school (in my country, elementary school is 6 years with an extra year at age about 5 before pre-elementary school, then three years of middle high, then three years of optional high school before university, but almost everyone does the full 12/13 years.), when we discussed Fahrenheit (foreign) vs Celsius (domestic). The teacher said that 50°C is 106°F because 212°F is 100°C and 212/2 = 106. At the time I said “this doesn't feel right, 106 is not in the middle between 32 and 212” but I couldn't phrase it mathematically yet, and the teacher didn't take my objection in a good manner. Afterwards I learnt that he understood his error but never said a word to me about it.

2. I don't see the colours on the “back sides” of the cards. I just see the cards flipped/rotated 180° around the Y-axis (probably through CSS), so all numbers are visible, just in cards 3 & 4 the numbers are mirrored.

tzot··on I wish GPT4 had never happened
> > You now have [snip]

> Didn‘t you just describe exactly what we have now?

Calibas started with the words “You now have” and proceeded with describing what we have now. Your question suggests you tried to read between the lines before reading the lines first.

tzot··on Realistic computer-generated handwriting
Then your favourite font must be Semi: https://www.dafont.com/semi.font
tzot··on Plant-based meat is turning out to be a flop
We (neighbours to the east) sometimes say “If my grandmother had balls, she'd be my grandpa” as a meta on the other versions of the grandma jokes, but I searched and did like the Italian grandpa version.
tzot··on ULIDs and Primary Keys
> Do note that postgres supports generating UUIDv4 without any extension, via the `gen_random_uuid ` function, since PG 13. (released sep 2020). > A lot of people still haven't realized this! (Apparently including OP author!)

A lot of people still use pre-PG13 versions (maybe including OP author).

tzot··on The IE 11 user-agent forced Mozilla to freeze part of its user-agent string
So rv0110.0 would not work?
tzot··on Picol, a Tcl interpreter in 550 lines of C code
Is my knowledge of English lacking? Am I missing context perhaps? Is this a machine generated comment?
tzot··on Can brown noise turn off your brain?
They'd probably be better searching for sox, not play.
tzot··on Make-A-Video: AI system that generates videos from text
The maximum compression for a video file of a movie is its script. Perhaps eventually the most common (and time-tested) piracy platform will be email. Or maybe newsgroups (are they still on?), but the message payloads will be losslessly compressed text.
tzot··on 2-in-1 calculator app adds up to surprise hit for retired engineer
I think that my Android phone (a Chinese model with Android 11 Go) has the Android calculator, which IIRC was based on the old SGI Irix calculator.

If to the right of the 4 basic operators +, -, ×, ÷ you have a vertical strip (greenish in my case), you can slide it to the left and have access to various other operators/functions, including log.

Being based on the old SGI calculator, you can also slide any result to the left to get as many digits after the decimal point as you like.

e.g. slide in the extra ops, press π, then start sliding the 3.1415… result.

tzot··on Unicode character “ꙮ” (U+A66E) is being updated
It'd be dekaops, because the -cl- is part of “cycle”+“ops” (one round eye, with the one dropped because it's inferred). So “cycle” out, “deka” in.
tzot··on Accelerate Python code by importing Taichi
Yes, the identation is incorrect in the blog post (running the code would throw an IndentationError anyway); it's correct in the github code though.
tzot··on Show HN: Alumina Programming Language
There's `contextlib.closing` for objects that do not support the context manager protocol and they should be closed.

And then one can simulate defer in the spirit of the `atexit` module with a single context manager (say `finalizer`), defined only once, which could be used as:

    with finalizer() as defer:
        ...
        req = requests.get('https://w3.org/')
        defer(req.close)  # just like contextlib.closing
        ...
        a_dict['key'] = value
        defer(a_dict.__delitem__, 'key')
        ...
        defer(print, "all defers ran", file=sys.stderr)
        ...
The `__call__` of finalizer adds callables with their *args and **kwargs to a fifo or a stack, and its `__exit__` will call them in sequence.
tzot··on Finnish as a world language?
Nobody expects the Spanish exceptions, you surely mean.
tzot··on Finnish as a world language?
There's a legend that no Finnish ever says what the current year is; by the time they… finish, they're wrong.
tzot··on Brian Kernighan adds Unicode support to Awk
> "ȃ" uses two bytes in UTF-8

"â" uses two bytes when encoded in UTF-8, while "ȃ" (which was what bzxcvbn supplied as an example and you pasted in the quoted section) uses three bytes when encoded in UTF-8.

  >>> s="ȃ"
  >>> len(s)
  2
  >>> s.encode('utf8')
  b'a\xcc\x91'
  >>> import unicodedata as ud
  >>> [ud.name(c) for c in s]
  ['LATIN SMALL LETTER A', 'COMBINING INVERTED BREVE']
tzot··on Brian Kernighan adds Unicode support to Awk
Just a note about the Greek terminal form of sigma: when dealing with Greek numerals, ςʹ (the final form of sigma) is 6 while σʹ (the non-final form of sigma) is 200; they need to be differentiated whatever the font engine decides to render.
tzot··on From seawater to drinking water, with the push of a button
>> The researchers also created a smartphone app that can control the unit wirelessly and report real-time data on power consumption and water salinity.

> No no no no. I was all onboard with this seemingly wonderful product until I hit that line. The things that provide fresh water, that actually enable life functions, should NEVER involve controller aps. Switches. Dials. Positive on/off switches. Maybe the occasional touchscreen. But please do not put the need for a working/charged/connected cellphone between the user and their source of fresh water.

You are objecting to a strawman of your own creation. Before you hit that line, you read “The technology is packaged into a user-friendly device that runs with the push of one button.” and “The researchers designed the device for nonexperts, with just one button to launch the automatic desalination and purification process.”

And then comes the line that triggered your reaction: “The researchers also created a smartphone app that can control the unit wirelessly and report real-time data on power consumption and water salinity.”

The key word is “can”. “Can control”, “can report”.

So you have the simplest possible device: press a button on the device, extract drinkable water. You want status updates / remote control? Use the app, which is optional; nowhere in the article it is stated that the app is necessary.

So you might reconsider your stance and get back onboard with the product.

tzot··on Why do we call Deutschland Germany? (2020)
Well, exo- means “outside” and xeno- means “foreign/alien”, so they both convey the same meaning. In any case, exo- is the opposite of endo- (inside) and auto- (self) could be perceived as the opposite of xeno-, so I would pair the antonyms as: endonym/exonym and autonym/xenonym.
tzot··on Why do we call Deutschland Germany? (2020)
Another disappointment is giving the definitions of “endonym” and “exonym” and then using them incorrectly in the same paragraph.
tzot··on ∑ Xah Code
I remember him in comp.lang.python (IIRC for a couple of years after 2000).
tzot··on The end of the nice GTK button
You sansed the serif? What about the DPI-t?
← PreviousPage 4 of 6Next →