HNHacker News
TopNewBestAskShowJobs

mikhailfranco

1,621 karma · joined October 2, 2007

submissionscomments
mikhailfranco··on Crows Are Self-Aware Just Like Humans, and They May Be as Smart as Gorillas
Quickly scanned the title as "Crowds Are Self-Aware ... as Smart as Gorillas".

Seems plausible.

mikhailfranco··on You can't just assume UTF-8
Some [1] may also consider working for any company/app that needs to display an emoji, to be a waste of at least one life (your life, and all your users' lives).

[1] Me, for sure.

mikhailfranco··on You can't just assume UTF-8
HTTP actually does quite a good job of providing headers containing MIME type and encoding. There is a little work to get the default (e.g. HTML and XML are different), and decide on the case where the XML payload encoding is different to the HTTP transport encoding (e.g. perhaps XML parsers need a way to override the embedded header).

So we end up at another plausible future-directed design decision: computer-computer communication should use HTTP. I think many systems have ended up there already, perhaps prompted by the issues we have discussed.

Moral: good specs attract usage; bad, incomprehensible or inconsistently implemented specs fade away.

mikhailfranco··on You can't just assume UTF-8
So trailing commas are another failure. That issue is mildly entangled with headers. Perhaps start making a list...
mikhailfranco··on You can't just assume UTF-8
Old CSV files bring no stigma.

There is no CSV specification. That does bring opprobrium. RFC4180 is from 2005, long after Unicode and XML, so people should have known better. The absence of a standard points to disagreement, perhaps commercial disagreement, but IETF should be independent, is it not?

That failure to standardize encoding, and other issues (headers, etc.), has wasted an enormous amount of time for many creative hackers, who could have been producing value, rather than banging their head against a vague assembly of pseudo-spec-illusions. Me included, sadly.

mikhailfranco··on You can't just assume UTF-8
I explained how old files could be read.

Let me reframe it as a Schelling Point [1] - the uncoordinated coordination problem.

You arrange to meet your file on a certain day in New York, no place or time were mentioned. When and where will you go? It seems impossible.

But perhaps you go at noon, to the UTF-8 Building in midtown Manhattan. Are you there now?

[1] https://en.wikipedia.org/wiki/Focal_point_(game_theory)

mikhailfranco··on You can't just assume UTF-8
Developers should assume UTF-8 for text files going forward.

UTF-8 should have no BOM. It is the default. And there are no undefined Byte sequences that need an Order. Requiring a UTF-8 BOM just destroys the happy planned property that ASCII-is-UTF8. Why spoil that good work?

Others variants of Unicode have BOMs, e.g. UTF-16BE. We know CJK languages need UTF-16 for compression. The BOM is only a couple more bytes. No problem, so far so good.

But there are old files, that are in 'platform encoding'. Fine, let there be an OS 'locale', that has a default encoding. That default can be overridden with another OS 'encoding' variable. And that can be overridden by an application arg. And there may be a final default for a specific application, that is only ever used with one language encoding. Then individual files can override all of the above ...

Text file (serialization) formats should define handling of optional BOM followed by an ASCII header that defines the encoding of the body that follows. One can also imagine .3 filetypes that have a unique or default encoding, with values maintained by, say, IANA (like MIME types). XML got this right. JSON and CSV are woefully neglectful, almost to the point of criminal liability.

But in the absence of all of the above, the default-default-default-default-default is UTF-8.

We are talking about the future, not the past. Design for UTF-8 default, and BOMs for other Unicodes. Microsoft should have defined BOMs for Windows-Blah encodings, not for UTF-8!

When the whole world looks to the future, Microsoft will follow. Eventually. Reluctantly.

mikhailfranco··on The Threat of a Solar Superstorm Is Growing–and We're Not Ready
So CMEs will improve people's health and reduce obesity.
mikhailfranco··on The Threat of a Solar Superstorm Is Growing–and We're Not Ready
Previous cosmic ray episodes are recorded as Miyake Events:

https://en.wikipedia.org/wiki/Miyake_event

Most of these are solar activity. But perhaps, maybe and perhaps, it is just about possible, that the 1052 Miyake Event was caused by the 1054 Crab Nebula supernova:

https://en.wikipedia.org/wiki/Crab_Nebula

The speculation would be that cosmic rays arrived a couple years before Chinese astronomers noticed a change in visual appearance (naked eye, of course, no telescopes).

mikhailfranco··on The Threat of a Solar Superstorm Is Growing–and We're Not Ready
EMP: The FACTS You NEED to Know! (Full 80-Min Video)

https://www.youtube.com/watch?v=qHoOH8_t9Ww

Solar CMEs correspond to EMP pulse 3. CMEs can occur at any time during the solar cycle. You may get 1-2 hours warning, but authorities may be scared of crying wolf.

It will last for hours. It may affect the night-side of the Earth. Higher latitudes are more at risk. It consists of low frequency pulses, affecting long conductors (miles) and their connected equipment (transformers).

It will probably not affect your phone, laptop, car, kitchen ... unless your home devices are plugged into the mains, and the fuses/surge-protectors cannot cope (unlikely). Hint: buy a Siemens surge protector.

If your domestic solar/wind/diesel generators survive, only use them to keep your food freezer working, almost nothing else matters when grid & internet are down. Your neighbors, or less charitable types, may notice lights.

The mains power will likely be off for weeks, maybe months. Some emergency aid may be available (water, food, basic medical), depending on preparedness of your local authorities and military, but don't be surprised if some/most/all civil authority collapses (e.g. police go home to help their families). Some hospitals may have generators and fuel for days, up to a week.

Mad Max scenario only happens if power is not restored within 2-4 weeks. Emergency aid will depend on how the damage is distributed across the locality or country. If everything is down, fend for yourself. If it is localized, you might get some help, but .... remember Katrina in New Orleans ... don't hold your breath and hope.

mikhailfranco··on Mathematicians marvel at 'crazy' cuts through four dimensions
Apparently (I am no expert) there are sequences of patterns in different dimensions based on: even-odd, powers of two, prime numbers and surely others. In some cases ±1 to get some effect.

There is the uniqueness of the 3D cross-product, even though various generalization do occur in higher dimensions.

One of the most obvious is the 1,2,4,8 sequence for normed division algebras: real, complex, quaternion and octonion. At each step you lose one mathematical property (commutative, associative, etc.). There cannot be any more, but there is a certain repetition, with factoring (doubling) known as Bott Periodicity:

https://math.ucr.edu/home/baez/week105.html

https://math.ucr.edu/home/baez/octonions/conway_smith/conway...

https://math.ucr.edu/home/baez/octonions/

String Theories occur in 10, 24, 8+8, 32, ... dimensions, based on various symmetries and dualities. And some solutions need the extra increment, say 10+1, for the actual theory in spacetime.

There are various theorems that seem to be trivial in 0D, 1D and 2D, then difficult in 3D, but perhaps eventually solved. In parallel, the upper limit existence proofs descend from infinite dimensions down to finite, then some impossibly (and apparently random) large finite number. Then a reasonable number less than 1,000, brought down to 100, and perhaps to less than 8. After a long struggle, and a Ph.D. for each number 7..6..5, it comes down to just 4, and 4D remains unsolved.

mikhailfranco··on Drone footage of fledging penguins jumping off cliff
Assumed to be obvious before it was observed (how else?).

Seen and filmed many many times for adults leaping into the water.

Already documented: 'witnessed by scientists'.

Published by a site called petapixel with breathless words like 'astonishing', 'unprecedented', 'enormous cliff', 'huge jumps', 'rare and heart-stopping', 'extraordinary footage', 'huge ice cliff', 'brave chick' ... in an effort to create buzz for their sponsor National Geographic.

The only mildly interesting phrase is: 'Scientists who monitor penguins from satellites'. Sounds like a fun job and I'm sure AI can help. I didn't know that (although I once helped the BAS effort to monitor elephant seals diving deep in the S.Atlantic, using radio transponders glued to their backs, with burst-transmit-on-surfacing via satellite, so I should not have been surprised, had I thought for a second). But then they spoil it by adding 'satellites...in space'.

If the chicks were drawing lots to see who had to jump first, then I might be interested.

mikhailfranco··on Drone footage of fledging penguins jumping off cliff
I think the value of photography is in teaching how to really see and appreciate the world, not in any artifact you may have created (at least not very often, unless you are a genius).

It is similar to the way learning a musical skill (instrument, composition, production) teaches you to really hear music, which is probably more valuable than any particular sounds you created (again, geniuses excepted).

There is a similar formula for other artistic and professional practices. No graphic designer just reads a web page. No cabinetmaker walks into a room and sees it the way you do. No architect or town planner ever just walks down an anonymous street in a strange city...

mikhailfranco··on Drone footage of fledging penguins jumping off cliff
If it was really enjoyable, you will remember it. The human memory is designed to fix emotional experiences. No need for celluloid or pixels. If you were with a loved one, your future conversations about that time will keep the memory alive.

There is a certain value and excitement in showing personal photos or videos to grand-children. But their children will not even know your name.

The vanity and self-importance of youthful experiences will wane with age, reflection, wisdom, and a certain acceptance of our transient existence.

Yes, I left many meaningless 35mm negatives, in a long forgotten attic, of a distant house, which I used to inhabit. Nobody will miss them. Not even me. If they are, perchance, discovered by a future owner of the house, they will be excited, for about 10 minutes, then throw them away.

mikhailfranco··on UK bank online payment conditions are getting ridiculous
Banking used to be that you walked into a small local bank, with your money and your reputation. The bank manager would shake your hand, if he trusted the second-hand reports of your honor and integrity. Then you could get a loan, or a bigger limit on your checking account. He was incentivized to be careful and thorough, but all that happened gently over the previous few months in a vibrant and talkative community, long before you walked through the door of his little bank.

Of course, that is all old hat (you and the bank manager would probably wear hats on the street outside the bank). With automation comes remoteness. With remoteness comes distrust. With automation, remoteness and distrust, comes optimization for the simple case, and the impossibility of anything that strays from the One True Happy Path.

There are rising sea levels, but it is a Wide Molasses Sea that is rising. Everyday life is drowning under a tide of viscous stickiness, pervading and delaying all we hope to achieve. It induces a vague techno-dystopian premonition, then occasionally, and suddenly, a sense of desperate powerlessness. The trivial small-print on a nonchalantly-ticked online form stops your life, like a blunt rusty bureaucratic stiletto pushed slowly through your wide disbelieving eye.

mikhailfranco··on UK bank online payment conditions are getting ridiculous
Yes, but the correct chain of events is:

- Gov pushes their security responsibilities onto banks, and other financial institutions (including crypto exchanges LOL).

- Banks make your life a real pain, as a brutal proxy for the authoritarian government that ducked their responsibility.

- You have very little recourse, few alternatives, and no way to complain through automated just-hang-on-at-your-own-expense-until-bankruptcy-or-death call-centers in some remote Asian location.

- Banks insist on 2FA, so now your phone is the most important device in your entire life, a single-point-of-failure between you and everlasting damnation in phoneless-2FA-purgatory, you can't even call them!

- Do not have your phone stolen, or drop it in the swimming pool - you have to keep it in a safe, which you cannot do until you actually buy a safe ffs! - and then buy another phone for actually calling people.

- Just hope your pre-paid time-limited balance doesn't run out, and don't even think about travelling, or moving country - if you move they will forget that they already Knew-You-as-a-Customer, and start all over again, but with less upfront trust - hell, you moved country, how is that legit!?

mikhailfranco··on UK bank online payment conditions are getting ridiculous

  Ask HN

  Tell HN
mikhailfranco··on Drone footage of fledging penguins jumping off cliff
First drone footage of x is becoming a little rarefied, not to say boring and predictable for some values of x.

So I expect this to be the peak of consumers buying little mavics to film their trips to Mont Blanc or the Amalfi Coast. Honestly, their friends are not interested. It was sad and ridiculous while it lasted, and now I hope it's over.

mikhailfranco··on Hardest problem in computer science: centering things
It proves there are no depths to the arguments about good design, and what personal taste constitutes good design.

It's also why I enjoy being a backend engineer.

Action is truth, appearance is fickle.

mikhailfranco··on NPR suspends veteran editor as it grapples with his public criticism
Be careful, Katherine Maher (NPR CEO) was CCO/CEO of Wikimedia Foundation 2014-2021.

She then gave a TED Talk that contains some slippery equivocations about truth, includes the inevitable climate-change jibe, and states the contradiction: "we all have different truths" (she uses the phrase 'personal truth' instead of 'subjective opinion' )...

https://singjupost.com/what-wikipedia-teaches-us-about-balan...

mikhailfranco··on What makes concurrency so hard?
No free lunch. Two Erlang processes doing an RPC with each other can deadlock. Of course, you remove RPCs from everything, but that requires quite a bit of thought. You can still get lunch, but it's not free.
mikhailfranco··on Obituary for a quiet life (2023)
Just work on a side project, artistic longing, hobby, craft skill, church, new language, charity, ... And if those are ill-formed for you, or lacking a pull, just go travelling...

Give yourself a deadline. Not a deadline to achieve, but a deadline to decide.

Stay in your country, explore the east and the west, the loud and the quiet, the beautiful and the ugly. And pay complete attention to every person in front of you, at all times, in attentive and generous detail.

Travel a continent, or the world. Start somewhere you have curiosity to be satisfied: proximity, historical knowledge, smattering of the language, distant family history, old friend, current networked contact... Then just go.

Don't be instagram-deluded and selfie-stick blind. Commit to not taking any photos, it's a liberation. Let loved-ones know you are safe, but no reporting back to a once-before and never-again esteemed group of fake friends. Yet always look at everything with a photographer's eye - still and moving. Look. See. Be still. Be moved.

Focus on something concrete, but unimportant, where the journey will be the objective. A pilgrimage, the museums of Europe, a long distance trail, the temples of Asia, a minimal beach, a bustling third world city. Become a short-time expert in the music scene, enjoy a local festival, work on a local farm or fishing boat. Understand tea or tea tree oil, spinning or spinakkers, avocadoes or cocoa, crab fishing or craps tables.

Put quiet aquisition of wisdom above loud narrow achievement.

Stay, linger, go.

Watch, wait, listen, decide.

I promise you will soon have some important personal decisions to make.

mikhailfranco··on Elon Musk: AI will be smarter than any human around the end of next year
The headline said 'AI'.

The article said 'AI', and went on to say "there's no broad consensus ... on the exact definition of AGI."

You said 'AI'.

But I also forgot to mention that:

- Tesla has large-scale deployment of industrial robots;

- Tesla has R&D for humanoid robots;

- X/Twitter has the Grok LLM chatbot;

- Musk co-founded/funded OpenAI.

So even if you don't agree with him, he is in a good position to evaluate current efforts across the board.

You and the other posts here, just dismissed the article with flippant reddit snark, probably because you don't like Elon or his politics.

mikhailfranco··on Elon Musk: AI will be smarter than any human around the end of next year
I guess Tesla is one of the top 5 AI companies in the world, in blended terms of compute, data, experience and deployed systems. They are probably in the Top 2 for total data capture in the real world (only Google StreetView+YouTube might be bigger). Tesla is concerned with sensor-AI-actuator systems, which will be the heart of any agentic AI. And it is life-and-death in real time. They are not surviving on a couple of grad students with cute prompts to answer homework assignments.
mikhailfranco··on Rendering string diagrams recursively [pdf]
The physical page is 65, the labelled page is 57.

That is of course, a joke, but Category Theory does feel like that sometimes. There does not appear to be any grounding, it's all circular. Anything can be lifted-up, or projected forgetfully down, to almost anything else. A Category has sets of nodes and edges, to describe the category of ... SET. Category diagrams are directed graphs, and there is a category of GRAPH, which can be labelled to make a diagram, which can be used to analyze ... categories.

There is always sand under your feet and concrete in the sky.

mikhailfranco··on Rendering string diagrams recursively [pdf]
A string diagram represents a computation using a monoid (associative binary operator with a common left/right unit element). You can interpret the computation as a dataflow through the inputs and outputs of the operators. By further characterizing members of the set, you can add constraints on the types (parts) of the data flow along edges.

So they are just a monoid algebra, dressed up with category theory mumbo-jumbo: monoidal category.

The origins go back to Einstein Summation Convention for writing products in vector/matrix/tensor math. Albert got fed-up with writing all the correct free-bound indexes and ranges on fancy sigma summations, so he invented the lazy summation convention.

https://en.wikipedia.org/wiki/Einstein_notation

To make a dot product of two vectors they must have the same dimension. To multiply two matrices, the i-dimension (no. columns) of the first argument must equal the j-dimension (no. rows) of the second, and these will be consumed, then the result will retain the other two dimensions.

Not only are matrix multiplications non-commutative, but the output dimensions will be different depending on the order. For example, A32 x B23 = C22, but B23 x A32 = D33, note how the outer dims must be equal and are consumed, and the result has the inner dimensions.

Penrose was a specialist in GR, so he knew the summation convention in his bones. He was also a very visual mathematician, who had appreciated Feynman's diagrams as a planar graph representation of terms from a mathematical series expansion of the particle interaction. Penrose developed a diagram notation for tensor operations:

https://en.wikipedia.org/wiki/Penrose_graphical_notation

All this algebra can be categorified, expressed in the language of CT. The various behaviors of commutativity of the product give rise to a spectrum of categories (symmetric, braided, etc.), and these can be represented as properties of the diagrams. For example, braiding means the order is important, and the crossing of two edges in the planar graph has an algebraic meaning.

The best layman's introduction to how this ties together various parts of math, quantum physics and even computer science is: Baez, Stay "Physics, Topology, Logic and Computation: A Rosetta Stone" (2009)

https://math.ucr.edu/home/baez/rosetta.pdf

The theory and practice of applying string diagrams to quantum mechanics has been taken forward by Bob Coecke. Here are a couple papers that go through QM math, categories and string diagrams:

Categories for the Practising Physicist https://arxiv.org/abs/0905.3010

Categorical Quantum Mechanics I: Causal Quantum Processes https://arxiv.org/abs/1510.05468

(Section 3: String Diagrams)

His beautiful magnum opus is the book Picturing Quantum Processes (with Aleks Kissenger):

https://assets.cambridge.org/97811071/04228/frontmatter/9781...

http://cs.ru.nl/A.Kissinger/slides/esslli-lec5.pdf

mikhailfranco··on Deaths at a California skydiving center, but the jumps go on
I did a tandem freefall jump that had a "partial malfunction".

The square canopy had one end closed off by lines looped over the top of the chute, perhaps 75% was still inflated. The instructor decided to keep the main chute.

There was still significant drag, but no steering on the closed side, so we just spiralled into the ground at relatively high speed. The wind calculation was correct, so we hit a soft ploughed field.

Needless to say - we survived :)

mikhailfranco··on World Population to fall for first time since the Black Death
You contradict yourself.

If you believe in climate change raising sea levels, then property in (half of) London and (most of) Singapore will be literally and financially underwater.

mikhailfranco··on Government Does Stash Billions of Pounds of Cheese in Missouri Caves
Strategic Cheese Reserve (SCR)

Where is the Strategic Cracker Reserve (SCR)?

And the Strategic Special Reserve Port Reserve (SSRPR)?

mikhailfranco··on White House wants Moon to have its own time zone, Coordinated Lunar Time (CLT)
Does the IRS claim jurisdiction on the Moon or Mars? (asking for an American friend)

Elon - renounce citizenship before blast-off!

← PreviousPage 9 of 34Next →