HNHacker News
TopNewBestAskShowJobs

dominicjj

208 karma · joined December 28, 2020

submissionscomments
dominicjj··on The Night Watch: The Missing Pieces
That is brilliant. I saw the Night Watch at the end of a busy day and it was pretty much the only thing I had time for in the Rijks Museum. I will have to return to Amsterdam and see the expanded version.
dominicjj··on Rival weightlifter speaks out on transgender Hubbard's Olympic place
In case anyone was wondering exactly why a condition that affects a tiny fraction of the population has such a disproportionate effect on global policy, it's because many in power subscribe to a religion that worships dualism, a modern form of Gnosticism.

A (very) conspiracy theory-minded overview is here: https://www.youtube.com/watch?v=ZUkiBz9rYEs

dominicjj··on John Carpenter’s ‘They Live’ was supposed to be a warning
So on the one hand, They Live should not be regarded as 'Cliffs Notes explaining the oppressive power structures underpinning the so-called civilized world.' But on the other, The Thing is about 'the ways we are undone by our inability to see and understand other people.' The author seems to want it both ways.
dominicjj··on Amaya
Image is less than 50k and the content including style sheet is 10k. No js, no frameworks, no CDN callouts.
dominicjj··on I am sick and tired of hearing tech companies complain about developer shortages
He's always succeeded (never failed) at not finishing his coding work because he didn't know things. Probably not what was meant.
dominicjj··on The True Size of Africa (2015)
After four hours, you're still flying over the Congo and haven't even crossed the equator yet.
dominicjj··on The True Size of Africa (2015)
I remember flying to Munich once from Cape Town and a German colleague guessed the flight was three to four hours. I said no, it was over eleven hours and he was shocked. I laughed and told him to check out a globe sometime - not a map - so he could trace for himself how massive Africa really is. The surface area of the moon is only 20% larger.
dominicjj··on No Meaningful Differences in Male and Female Brains, Study Finds
Naah. IT and the sciences are merit based, always have been and always will be. No one cares about your race, gender or whatever. Have you done the work? Are you competent? Great. Welcome. See for example Jeri Ellsworth, Roberta Williams, Marie Curie, Rosalind Franklin, the colleague of mine who wrote code for a nuclear reactor...

It's because the barriers to entry include years of lonely study. Men are quite happy to shut themselves off from everything for years to learn something. Women generally aren't. We're wired differently.

dominicjj··on Nobel archives reveal judges’ safety fears for Aleksandr Solzhenitsyn
Outstanding book by one of the greatest of Russian authors that should be required reading today.
dominicjj··on Dune, 50 years on: how a science fiction novel changed the world
"If The Lord of the Rings is about the rise of fascism and the trauma of the second world war,"

Incorrect on both counts. LoTR has nothing to do with fascism and if there's any trauma that influences the work, it's from the First World War not the second.

dominicjj··on Snap Judgment: A brief history of trick photography
I had an old Bell and Howell 8mm movie camera. When my brother and I were teens, we experimented with trick movie photography - making each other disappear and reappear, stop motion and various other amusements. It taught both of us a lot about filmmaking. Hacking still photography is definitely in this spirit.
dominicjj··on The 'Great Wave' has mystified art lovers for generations (2019)
It's a pity lead is so poisonous over time because white pigment made from lead is just superior for oil painting. Skin tones in particular glow in a way that just doesn't happen with other kinds of white. I bought a small quantity once from a local madman who claimed he made it from lead weights and horse manure and it was stunning stuff. Not worth the exposure risk in my opinion but the quality of the pigment was undeniable.
dominicjj··on Massively Parallel Rendering of Complex Closed-Form Implicit Surfaces (2020)
That's a very cool project of yours I'm going to have to look at when I have the time.
dominicjj··on Dan Kaminsky has died
Apart from the DNS cache poisoning attack, Dan did some vital followup work on the Sony CD rootkit discovered by Mark Russinovich. Sony's early defence was that it wouldn't affect the Internet. Dan showed using DNS caches that it had already affected over half a million networks on the Internet: https://web.archive.org/web/20080423212131/http://www.wired....

A smart man and a nice man. RIP.

dominicjj··on Massively Parallel Rendering of Complex Closed-Form Implicit Surfaces (2020)
Very very impressive work. I wonder if it would be feasible for vendors to implement the interpreter in hardware in future.
dominicjj··on We Are Living in a Climate Emergency, and We’re Going to Say So
Makes sense. I mean, you can't call it global warming any more when the US has just had its coldest winter in 30 years. Climate emergency. Very catchy.
dominicjj··on Condition: A 64KB WebGL Intro
Demos are almost always generated and displayed at runtime. The music is composed of samples generated at runtime by additive synthesis which is just adding waveforms of differing frequencies together when you get down to it. It doesn't take many lines of code to produce CD quality instruments that can be arranged as a soundtrack.

Today's 64k intros offload their drawing onto the GPU using shaders and a technique called raymarching which is a form of fixed-step raytracing that can be done in real time. Essentially the objects you see are painted with math: instead of thousands of vertices for a 3d fractal or a complex object, a formula is fed in to the ray marcher and it returns a shape with colors and lighting. Combining shapes using unions and intersections is then done and often the shape formula will take time as a parameter as well. To play with this concept yourself go to https://www.shadertoy.com/browse and see how shader programs are rendered into incredible scenes with astonishingly few lines of code.

For a wonderful look at the creation process, see the grandfather of raymarching Inigo Quilez create a selfie of a girl from scratch using formulas here: https://www.youtube.com/watch?v=8--5LwHRhjk

dominicjj··on Voxel Space: Comanche's terrain rendering in less than 20 lines of code (2020)
Cool! That gives me an idea: software raymarching for a 4k intro.
dominicjj··on Formal Methods of Software Design an Online Course by Eric Hehner
Goodness knows why my original comment is being downvoted. The formal term is 'primary program refinement' and can be found all over the place such as here:

http://p.web.umkc.edu/pgd5ab/cs_451/HW3/hw3.htm

dominicjj··on Formal Methods of Software Design an Online Course by Eric Hehner
I laughed at formal methods of program proof until I came across a simplified version of cleanroom development methodology (which breaks program components into 'program primes' like A then B, If A then B, While A do B and for A in B do C) that allowed you to formally prove outcomes on paper. I have long since lost the document but to this day, I construct most of my work around these primes for certain projects.
dominicjj··on Demoscene accepted as UNESCO cultural heritage in Germany
For old school effects there's a pretty good page here with full source:

http://demo-effects.sourceforge.net/

dominicjj··on How to Design Programs (2014)
So what you're saying is:

“Lisp is worth learning for the profound enlightenment experience you will have when you finally get it; that experience will make you a better programmer for the rest of your days, even if you never actually use Lisp itself a lot.”

dominicjj··on How to Read Assembly Language
Thank you.
dominicjj··on Bats and the Origin of Outbreaks
>This raises questions about the credibility of WIV senior researcher Shi Zhengli

It's a straightforward although time-consuming exercise to trace through Shi's research from the last 15 years and see that she and her team have clearly been developing a bioweapon based on SARS and gain of function stuff pasted in from bat coronaviruses and elsewhere.

dominicjj··on How to Read Assembly Language
This bothered me as well. The only thing I can think of is that one of the calls to libc functions is consuming rax off the stack. The code as displayed by GodBolt is the code as generated by clang so it's not an error there.

EDIT: I've just noticed this line: leaq -24(%rbp), %rsp

It does a manual pop of rax by restoring rsp to what it was before the prologue.

dominicjj··on Norman Golb, Dead Sea Scrolls Contrarian, Is Dead at 92
>(My dad and Morton mainly worked on new testament, easier to get the texts maybe. He said if you go back to the earliest Aramaic, its plain the Pauline epistles is the work of a committee which pisses off a lot of people.)

Paul wrote in koine Greek. The 'earliest Aramaic' versions of the Pauline epistles might be 5th century Syriac copies or maybe the 11th century Khabouris Manuscript which was a copy of a 160AD NT but the originals were koine.

>The amount of bullshit in biblical scholarship is crazy.

Indeed.

dominicjj··on Teaching Compilers Backward
That's an inspiring slide deck - thanks for sharing.
dominicjj··on Teaching Compilers Backward
This is pretty cool. I'm currently teaching myself compiler theory so I can write a toy compiler for a C-like language targeting x86-64 and I've also started at the bottom: re-acquiring my assembly skills so I can then map common idioms back to some sort of IR. The disadvantage is you can't perform high level optimizations that you could do when transforming from SSA to the IR but that is a long way away for now.
dominicjj··on Reconstructing the Menu of a Pub in Ancient Pompeii
"To accompany the main dish, I chose to include mensae, a flatbread that was once thought to be used as both a plate and a utensil. Virgil describes enjoying mensae this way in The Aeneid: After Aeneas and his men eat their meals off the flatbread, they remark, 'Oh, look! we are eating our tables too!'”

A Latin pun: mensa means table.

dominicjj··on The Physics of baking good Pizza [pdf]
Jeff Varasano's pizza page: http://www.varasanos.com/PizzaRecipe.htm

Sumptuous results once I acquired a wood burning oven capable of 850F.

← PreviousPage 2 of 3Next →