HNHacker News
TopNewBestAskShowJobs

kilovoltaire

2,515 karma · joined December 10, 2010

https://x.st
submissionscomments
kilovoltaire··on Spinning Diagrams with CSS
Ah yeah faces with same color as background and low opacity sounds like a good approach.

Here's an editable copy of the code if anyone sees this and wants to try adding the faces - https://jsfiddle.net/t0crk5do/

kilovoltaire··on Spinning Diagrams with CSS
Thanks!
kilovoltaire··on Spinning Diagrams with CSS
Oh yeah that would look cool…

Possibly transparent faces of the cube with a particular `mix-blend-mode` that leaves the background color alone but dims letters that get behind it?

(That's just a wild guess, I don't know if it's actually possible.)

kilovoltaire··on Neobuthus Factorio
https://en.wikipedia.org/wiki/Keanumycin
kilovoltaire··on Nearly 40% of software engineers will only work remotely
Yeah this conversation feels very car-centric (understandably so, since much of the world and especially the US is currently overrun with cars, but still sad)
kilovoltaire··on Nearly 40% of software engineers will only work remotely
Exactly, almost everyone mentions awful commutes, but if you have a short walk or bikeride through a beautiful city to start and end your work day, then I think it's pretty great. (Even then I like flexibility to only go in ~3 days a week.)
kilovoltaire··on New York vigilante who fixes up defaced license plates
I see these defaced plates quite often—there seems to be no consequence for breaking the law this way, despite the loss of revenue, and presumably more dangerous streets.
kilovoltaire··on New York vigilante who fixes up defaced license plates
https://archive.is/jOYaV
kilovoltaire··on The number of banks willing to do business with the crypto industry is shrinking
> After a bull market run it generally takes 5-10 years to reach its peak again.

Bitcoin has only existed for 14 years—seems a bit early to generalize anything based on the two times it has peaked and crashed so far.

kilovoltaire··on Meta lays off 11,000 people
Google and Facebook are both advertising companies, doesn't seem that different to me.
kilovoltaire··on Incidents caused by unappreciated OSS maintainers or underfunded OSS projects
"money motivated" doesn't necessarily lead in the best direction
kilovoltaire··on An account was suspended
I thought it was based on the Bush-ism "strategery" - https://stratechery.com/2013/strategery/

Or was that a later change?

kilovoltaire··on The abundance, biomass, and distribution of ants on Earth
The abstract answers this, I believe. Human-tron is 5x as massive!

> ...a biomass of ∼12 megatons of dry carbon... equivalent to ∼20% of human biomass

Honestly the unfathomable biomass of humans creeps me out more than the biomass of ants...

kilovoltaire··on The Framework Laptop Chromebook Edition
sounds like the page should say "at least eight years" then, instead of "up to eight years"
kilovoltaire··on Exploring 12M of the 2.3B images used to train Stable Diffusion
If you like thinking about that sort of thing, and haven't read it yet, check out the short story "The Library of Babel" by Jorge Luis Borges
kilovoltaire··on Day ahead electricity prices for EU
thanks for the context!

small typo - air conditioner should be 3.5kw not kwh

kilovoltaire··on Visual Sum of Cubes
Only just saw this comment, that's a great point! (Since the formula is two tetrahedra minus one triangle.)

Now very curious why that shape corresponds to sum of cubes / why it's equivalent to a pyramid...

kilovoltaire··on Visual Sum of Cubes
35€
kilovoltaire··on Visual Sum of Cubes
I bought it for 1500€ in 2014, when nic.st had a Black Friday sale. It was the only 3-letter domain I'd ever seen for sale, so I couldn't resist.
kilovoltaire··on Visual Sum of Cubes
Yeah I agree, it's not 'visually' obvious that the combined entries are all the same. But once I started writing it I had to see where it went :p

(Footnotes 2 and 3 at the end explain why the entries all end up the same. And the same argument works for simplices in any number of dimensions—there's always two directions that change the value by +1 and -1, and the rest are all parallel / keep it the same. In higher dimensions there are more ways to be parallel!)

kilovoltaire··on Visual Sum of Cubes
Yeah this is KaTeX, pre-rendered with Jekyll.

(Except for the diagrams, which are inserted by a Python script after the KaTeX rendering is done.)

Source here https://github.com/hrldcpr/poole/blob/master/_posts/2022-08-...

kilovoltaire··on Visual Sum of Cubes
Thanks for the nice comments, everyone! I made this but didn't expect to see it here.

As people have noticed, the spinning diagrams are done with CSS, which was fun.

Basically it's just an `animation: linear infinite;` from `transform: rotateY(0turn);` to `transform: rotateY(1turn);`

(source here https://github.com/hrldcpr/poole/blob/master/_sass/_latex3d.... )

To keep the numbers facing forward, they're all also rotating, but in the opposite direction :p

And all of the numbers' `translate3d(...)` coordinates are generated by a Python script because I didn't want to do that by hand...

kilovoltaire··on Quaternions: A Practical Guide
Geometric Algebra provides a compelling alternative to quaternions: https://marctenbosch.com/quaternions/

(HN discussion 8 months ago https://news.ycombinator.com/item?id=29512302 )

kilovoltaire··on I Didn’t Want It to Be True, but the Medium Is the Message
“We shape our tools, and thereafter, they shape us.”
kilovoltaire··on In 1997, Wired Predicts Things That Could Go Wrong in the 21st Century (2021)
Haha I always interpreted it as the opposite of that, but this makes much more sense!
kilovoltaire··on Tracking Heat Records in 400 U.S. Cities
I assume it's based on the UI of Instagram Stories, which maybe feels quite natural for some people (not me so much)
kilovoltaire··on Y Combinator's Message to Founders
Fun to read the typo literally—it does often seem true that no one can resist predicting
kilovoltaire··on Exponentially Better Rotations
If you want an inspiring (imho) overview of the power of geometric algebra, I thoroughly enjoyed the video "A Swift Introduction to Geometric Algebra"

https://youtu.be/60z_hpEAtD8

kilovoltaire··on Node.js packages don't deserve trust
Your callback would have your capabilities in scope, so your user code would still be able to do whatever you want, even when called by an untrusted library.

I.e. something like:

    import capabilities;
    import fs;
    import someLibrary;

    const root =  capabilities.claimRootToken();

    someLibrary.onEvent(() => {
      fs.writeSync(root, ...);
    });
kilovoltaire··on Include diagrams in your Markdown files with Mermaid
This is interesting, but I personally really like that markdown is almost as legible as plain text as when rendered, which things like this sort of break.

So I think I'd prefer ASCII art diagrams for this sort of thing. (In fact there was recently an ASCII diagram drawing tool on the HN front page, https://asciiflow.com/ )

Page 1 of 7Next →