HNHacker News
TopNewBestAskShowJobs

shezi

383 karma · joined December 1, 2009

[ my public key: https://keybase.io/shezi; my proof: https://keybase.io/shezi/sigs/3pxPTBssQq7L0_7a5PWNTxYr6GjSxs6PZoLIiOuli_U ]
submissionscomments
shezi··on 31.2˝ Color EPaper Display
It is probably 2560x1440 with four different colour subpixels per addressable pixel, giving you an image resolution of 1280x720.
shezi··on Show HN: YTT Tech – My curated database of instructional YouTube Videos
RSS and atom are simple xml formats that encapsulate information about posts or items on a site. They are linked on the site with meta tags or in direct a links. Here's a link to some documentation: https://www.xul.fr/en-xml-rss.html#structure

Your framework will also likely have helpers to generate those. And you can contact me directly for help, email is in my profile.

shezi··on CircuitPython: Programming Hardware in Python
I know a lot of people for whom both are much more productive in python than in any other language, including myself. If that's not true for you, you must have different preferences.

Let's just find our own language each one and not bash others' choices, maybe?

shezi··on libsignal-client – a Signal protocol implementation in Rust
It is on the official Signal GitHub organisation, so it must have __some__ amount of blessing.
shezi··on Type in the exact number of machines to proceed
When I worked in production environments, I used to set up little Firefox userscripts that would add a banner or anything visual to the production site. It's entirely client side and easy to customize.
shezi··on Type in the exact number of machines to proceed
I teach my children to point in the direction of where cars can come from before crossing the road. He used to just swing his head around before, now he has to search directions and point there to direct his attention and it works excellently.

As others have pointed out, this is for repetitive tasks that your brain wants to automate away, but you really want to keep in attention.

shezi··on Python typosquatting is about more than typos
-r pulls requirements from a file, line by line.

-e means editable, it's mostly used for source installs of libraries you want to work on while installed in a project.

shezi··on Understanding How UUIDs Are Generated
I disagree with the strong sentiment that nobody needs it. In fact, I can think of several situations where this would have been helpful. For example, "ids generated by each import/client/process are guaranteed to be sortable."

But in any case, this is such a simple spec and such an irrelevant feature thet this sounds very much like bikeshedding to me now. As such, please accept my apologies and do choose what is best for you.

shezi··on Understanding How UUIDs Are Generated
I do not understand your criticism. ULID tries to guarantee monotonicity with any single generator, which is nice if you need it and irrelevant if you don't. The state that needs to be saved for that feature is exactly the last generated ULID (if it's the same microsecond still, increase, else regenerate). And if you are generating on the order of 2^40 ULIDs per microsecond, you'll have to have a larger id space anyway.

So,for me, your criticism boils down to "this is weird because it has a feature I don't need". Why would you care?

shezi··on Irish Court Says Subway Bread Is Too Sugary to Be Called 'Bread'
A ton of sandwiches? Worldwide? That would be a ridiculously small amount, there must be many tons of sandwiches of any type.
shezi··on Epic Games releases "Nineteen Eighty-Fortnite" ad
Have you read any of the news surrounding the Epic Games Store? Like this: https://www.techradar.com/au/news/epic-games-store-would-dro...

"Epic’s CEO Tim Sweeney has effectively thrown down the gauntlet to Valve, saying that if Steam matched the Epic Games Store in terms of dropping the cut it takes from developers to 12%, Epic would stop pursuing the policy of securing big-name exclusives."

The entire point of the EGS is to get the industry to lower their skimming. And you don't even have to invoke altruism: if Epic continues to take 12% of every transaction and grows the market ten-fold, that's still more than a 30% cut of the market today.

It is a sad testament to our time that it is inconceivable that a person just wants to better the situation for all involved.

I'm a game developer and the EGS is the best thing that's happened to us as developers AND to us as gamers. And our games aren't even on the EGS.

shezi··on Vertigo – a public domain 3D flight simulator (2003)
Chuck Yeager?

https://en.m.wikipedia.org/wiki/Chuck_Yeager%27s_Air_Combat

shezi··on Unlearn rotation matrices as rotations
What you describe is very standard in 3D graphics, and it's alluded to in the article by the question at the end. You can even use the last row of the matrix as scaling factors (you'll have to re-normalize the output vector).

From a mathematical standpoint, this is now a projective vector space.

Some references:

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

https://www.quora.com/Why-does-OpenGL-use-4D-matrices-for-ev...

https://guide.handmadehero.org/code/day362/

shezi··on How real are real numbers? (2004)
"Nevertheless, the fact is that there is nothing as dreamy and poetic, nothing as radical, subversive, and psychedelic, as mathematics. It is every bit as mind blowing as cosmology or physics (mathematicians conceived of black holes long before astronomers actually found any), and allows more freedom of expression than poetry, art, or music (which depend heavily on properties of the physical universe). Mathematics is the purest of the arts, as well as the most misunderstood."

Paul Lockhart, a mathematicians lament. I think this serves as another example.

shezi··on How real are real numbers? (2004)
"One of the main themes of the book is the beauty that mathematics possesses, which Hardy compares to painting and poetry.[5] For Hardy, the most beautiful mathematics was that which had no practical applications in the outside world (pure mathematics) and, in particular, his own special field of number theory." -- https://en.m.wikipedia.org/wiki/A_Mathematician's_Apology

G. H. Hardy, A mathematician's apology. I think that would be a good example here, since the focus is on finding beauty and fulfilment, instead of simply visiting every niche.

shezi··on Why are toys such a bad business?
There's also the Epic flywheel as described by Matthew Ball: https://www.matthewball.vc/all/epicprimer1
shezi··on Ask HN: What weird or hard problems are you trying to solve?
Definitely do a writeup for HN when you find a suitable solution!
shezi··on Ask HN: What weird or hard problems are you trying to solve?
Looks excellent, thanks for the recommendation. Even though for my purposes, chemistry isn't that important, as we're doing mechanical simulation.
shezi··on Ask HN: What weird or hard problems are you trying to solve?
Indeed, manufacturing is hardly a problem in the software world. =)

Maybe get it laser engraved into aluminium and mount it... somewhere? Grey code is essentially a more robust spiral pattern, so that's the same idea.

What if you put a roll sensor on the chain instead and infer crank angle from that? Chain slip is rare enough not to worry about it, right? You'd also have more space and could use off the shelf components.

I don't think measuring against gravity will be precise enough to be one in 7200 parts. So you'd need a second sensor for that in any case (and likely already have, don't you?).

shezi··on Ask HN: What weird or hard problems are you trying to solve?
Hmm, I have never tried to run a server. At least the integration seems to be fairly easy.
shezi··on Ask HN: What weird or hard problems are you trying to solve?
Mechanics. The virtual building aspect is in the foreground.
shezi··on Ask HN: What weird or hard problems are you trying to solve?
Grey code with 13 bits and as many light sensors, maybe?
shezi··on Ask HN: What weird or hard problems are you trying to solve?
Something like https://remotestorage.io/ ?
shezi··on Ask HN: What weird or hard problems are you trying to solve?
Soil simulation

This is just one part of one of the sillier things I'm working on/thinking about. How can I make a real-time interactive soil simulation work, essentially a big realistic virtual sandbox.

Since this is a side project, it'll go as far as all side projects go. =)

shezi··on Sphere Eversion
I don't even think you need to go this far. Since it's differential topology, everything is defined locally anyway, so there must just be environments of nonzero size around every point that don't intersect themselves.
shezi··on Sphere Eversion
I have done differential topology and geometry for a time in University. There is a lot of visualisation going on in every lecture every day, even if it is not computer visualization. Everything in difftop is drawn at some point, just so you can get an understanding of what's happening. In fact, I would say that topology and subfields are formalisations of these beautiful and silly visual ideas.

One problem, however is that visualizations are by necessity simplifications, even in pure 2d cases like this one. That's not a sphere, that's a tessellation of one. Everything on a screen is differential and "smooth" (or actually, everything is discrete and thus not differentiable), but some things are symbols for "not differentiable here". Even these break down in pathological cases, singularities and such. This doesn't make the visualisation any less useful, but IMHO it can in most cases not be "the" reasoning, only a guide to reasoning.

Besides,as the article points out, there are many non-constructive proofs that don't have any visuals.

Have a look at how vsauce explains Banach-Tarsky [1] or any of 3blue1brown's excellent videos to see the edges of what's possible with visualisations.

[1] https://youtube.com/watch?v=s86-Z-CbaHA [2] https://youtube.com/watch?v=zjMuIxRvygQ

shezi··on Wren is a small, fast, class-based concurrent scripting language
Side note: You can use python classes for that. It's a common pattern for me to have something like this in my projects

    class Holder:
        pass
Simply add any attributes at runtime. It's essentially a different interface for the built-in dict of the instances. Add a bit of getattr magic and you can read undefined attributes, too.
shezi··on Time to Upgrade Your Monitor
I'm not going to argue your preferences, but then why don't you get one 50 inch 4k display? That's about four of your current displays at similar density on a single cable. And probably at a similar price point, too.

Or, if you are using decent graphics hardware, you could even get two of them and have four times more display space than you have now.

shezi··on Grid – A Lua Game Engine
Arcade is pretty nice. It's what pygame should be, at least in terms of installability.

https://arcade.academy/

shezi··on 4D Toys: how objects bounce and roll in 4D – paper accepted to SIGGRAPH 2020
Assuming you have "1d depth vision", ie computing distance to the eye using two eyes set some distance apart, you'd be able to tell them apart rather easily, in addition to shading and movement differences.

Just like our 2d eyes do in our 3d world.

← PreviousPage 2 of 4Next →