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 4D Toys: how objects bounce and roll in 4D – paper accepted to SIGGRAPH 2020
That's a complicated question you're asking. It belongs to differential geometry, which I specialised in 15 years ago.

So, you're looking for interesting 4 dimensional manifolds. Problem is, there are many of those. Too many to count, iirc.

Contrast this with the 3 dimensional manifolds, of which there are only eight (and simple compositions of these eight).

Now, unfortunately, the Klein bottle is a 2 dimensional manifold (it's surface is the manifold, and that is locally isomorphic to a R^2). It's interesting because it does not have an embedding into 3d space, unlike most other 2d manifolds, so you need to embed it into R^4. I don't know if there is a list of these.

I can look up more details and give more pointers if there is interest.

Interesting side note: the Klein bottle was originally called "kleinsche Fläche" (Klein surface). When saying this German word with an English voice it'll sound like "Kleinsche Flasche" which translates to "Klein bottle".

shezi··on SELECT wat FROM sql
There is not a trap in algebra that is shown in that proof: there is a mistake in that proof. They do something that is not allowed, even if it's not obvious what that was at first glance.

I don't think one can compare mistakes with thoughtful and powerful modelling.

shezi··on Userscripts Are Fun and Are Still Very Much Relevant
Ah, I did not know that, thank you for pointing it out.
shezi··on Userscripts Are Fun and Are Still Very Much Relevant
That is such a useless and pervasive answer to something cool: why not use these alternatives. _Obviously_ the author/user of these scripts knows that the Internet has more than one thing for each kind, and obviously they chose to use the site they are using but in a different way.

None of the search engines are as good as Google (most of the time) and for video hosting sites it's about the content.

Imagine 20 years ago someone built a device that turns the volume down when ads come on, and the first reply to that is "but the channel I'm watching doesn't show ads". Well, good for you.

Sometimes the best solution to "I want to use this website differently" is to use it differently.

shezi··on Zoom Endpoint-Security Considerations
I disagree with that example. This bug is exposing a server side infrastructure password and has nothing to do with user safety. Of course, as an operator of servers on the Internet, one must be aware of risks of bugs. This article talks about the security of the client application, which has been in the news recently. There was little news on the zoom infrastructure security, so we might as well guess about that.

Apart from that, the bug you mentioned was found and fixed by the community, and someone scanned all servers and notified the server operators. I'd say that this is about the most professional response to a vulnerability I've ever seen.

shezi··on How the Anti-Vaccine Community Is Responding to Covid-19
In one word: predictably.
shezi··on CuPy Accelerates NumPy on the GPU? Hold My Cider, Here's Clojure
I didn't get that from the article at all. There was no "that's because..." or "you need to do this to make it fast..." in the article. Instead, it's "clojure is faster without additional work". While that's super neat and thank you for showing this, bashing python because the library doesn't automatically do that and then hiding behind this silly argument isn't that enlightening.
shezi··on Haven: turn old Android phones into security cameras
There are several baby monitor apps that do something like this. I don't know if any of them are open source.

The keyword is baby monitor, that's what this functionality is marketed as.

shezi··on LED multiplexing layouts for hand-crafting
Don't worry too much about it, there's merit in doing any of the levels anyway. Doing it the way from the article is much closer to the metal than using ws2812 or neopixels. These programmable rgb LEDs are quite complicated, they contain a shift register, three DACs and three LEDs, but they're super convenient if you want to place lights anywhere.

I suggest you look at esp8266 and micropython, if you want to get a quick start. You can get them rather cheaply on aliexpress, along with ws2812 strips. Or you get them from adafruit, which is much quicker but more expensive. Adafruit calls the LEDs neopixel, so Google for that too.

And of course you can message me or anyone here at any time. Doesn't mean we're experts, but we'll help as much as we can.

shezi··on Datacenter Locations Driven by 19th Century Politics
Please note that, while amusing, this is mostly false. Especially the space shuttle part of the story: https://www.snopes.com/fact-check/railroad-gauge-chariots/
shezi··on Observable’s Not JavaScript
I haven't tried it myself, but there is a Javascript kernel for jupyter[1]. In fact, there is a huge number of kernels for jupyter now[2].

[1] https://github.com/n-riesco/ijavascript

[2] https://github.com/jupyter/jupyter/wiki/Jupyter-kernels

shezi··on The shittiest project I ever worked on (2013)
As far as I recall, that's actually a quote: „Kein Plan überlebt die erste Feindberührung.„ by General Moltke. Your translation is exact.

Just wanted to add a source: https://en.wikipedia.org/wiki/Helmuth_von_Moltke_the_Elder

shezi··on Firefox Send: Free encrypted file transfer service
The problem with that table is that this only lists the entry methods, which are supported in all browsers. However, the actual work is hidden behind parameters, not all of which are supported by all browsers, and some have to be in weird combinations. One example is that Edge does not support PBKDF2 in any form, which makes many of their further support a bit weird to use.

Here's a site where you can test your browser's compatibility with many combinations: https://diafygi.github.io/webcrypto-examples/

shezi··on WiPhone: A professionally-packaged Arduino phone
As others have pointed out, the lines between cell phone, smart phone and phone are getting blurrier today.
shezi··on WiPhone: A professionally-packaged Arduino phone
I've been searching for something like this for a while and have not found anything suitable. Honest question: do you have pointers for any of the other devices you mention?
shezi··on WiPhone: A professionally-packaged Arduino phone
Lots of comments here focus on the fact that this device is WiFi-only and not a "real" cell phone. I find this sad. Are LTE calls really the only use case you can think of for a device that has its source code open, has WiFi and Bluetooth, carries an LCD, a microphone, and a keypad? How boring!

I am really excited about the wiphone, here are some of the ideas I have for it:

* 2FA token generator

* IoT remote

* retro game console

* modern game platform (think pokedex etc)

* educational hacking

And those are just off the top of my head. Essentially, it's a wonderful package for an ESP32 that makes creating useful devices out of that wonderful little processor even simpler.

shezi··on A 500-Year-Long Science Experiment
There are various companies and institutions that have been around for more than 500 years, in various fields. Also schools and research institutions. Wikipedia has a list: https://en.wikipedia.org/wiki/List_of_oldest_institutions_in...

Most of the universities I can see on that list are not religiously affiliated.

I think that in our quick-pace life where old technologies are 20 years old, we sometimes forget that the world is an old place.

shezi··on Ask HN: Which tool do you use to create beautiful diagrams?
Yed is the "demo product" for their java library which you can integrate into products to get diagram drawing and editing functionality. I know of a few enterprise products that use it. I have worked for the professor where yworks was started and we got to use the generous academic license for the library.
shezi··on Smoking Banana Peels Is the Greatest Drug Hoax of All Time
Not sure if you're ironic, but what you have is literally Gin: https://en.wikipedia.org/wiki/Gin
shezi··on ChuChu TV is responsible for widely-viewed toddler content on YouTube
As others have said, watching 4 hours of anything might be problematic.

However, my point is this: different things require different amounts of moderation. Candy all day is probably worse than carrots all day. In moderation, candy is great. Same as YouTube.

shezi··on ChuChu TV is responsible for widely-viewed toddler content on YouTube
Maybe the problem isn't Netflix and Youtube, maybe the problem is letting them watch for 4 hours? And unsupervised, too. It sounds to me like it's a bit like letting your children run free in a candy store for hours and then wondering why they ate so much.

I try to teach my kids that these things are tools: we want to know how something works --> there's definitely a video on that --> we found out and turn it off again. And as with any tool, you can use them to become better or to hurt yourself.

shezi··on Medieval Fantasy City Generator
I have seen this a while ago in a thread about procedural map generation. If you liked the link, here is more of that stuff: https://twitter.com/ptychomancer/status/980968298002006016
shezi··on Dynamic Django Models with Model Models
Realistically, they'll sigh, curse and build more of the same...
shezi··on Dynamic Django Models with Model Models
Unfortunately, most enterprise applications will have something like this, because they'll need to be customisable for individual companies. I've worked with a CA product years ago that had written their own SQL engine for doing exactly that. I would have much preferred the Django solution.
shezi··on Dynamic Django Models with Model Models
That's about what the author says right at the top of the article.

However, this is only more flexible in the front end. If you want to do anything with your data in the back end, a JSONField will help you less than fully structured data. While you can do some queries on JSON fields, most of the richer queries will have to be done in python, slowing processing down.

If you're looking for runtime-changeable, structured data that you can run complex queries on, ModelModels sound like a good alternative. Most enterprise applications are in this area.

shezi··on Python Fire – Generates CLIs from any Python object
I am the author of commandeer[1], which does similar things and has been around since 2013. Try that, too, if you're interested!

Seeing another library that makes it easier to access things from the command line is awesome, and finding that there are even more I didn't know about in the comments is even better.

[1] https://commandeer.readthedocs.io/en/latest/

shezi··on Show HN: Toy – A thin C++ game engine
The second row of the main page states this: "The first concern of toy is to bring the thinnest and simplest stack of technology for making games directly from C++, instead of focusing on a monolithic editor, or insulating the user from the core systems."

So I think this is "thin and wide", instead of "thin and small". Having all the components you need and having them directly accessible counts as thin in my opinion.

shezi··on Show HN: Toy – A thin C++ game engine
Note that the engine is licensed under GPLv3. Which means that any game must be licensed as such as well.
shezi··on Google to developers: We take down your extension because we can
I developed such a service some time ago, but it's impossible to find any market for it. The non-technical people say "but I have it on Google already?!" and the technical people say "I just created a DO droplet and configured backup to Backblaze, easy and cheap!!".

I find both options to be not ideal, since I'd like a simple, secure and safe way of storing my pictures. But that's the way the market is.

shezi··on Git log – The good parts
So the obvious alias would be

    git config --global alias.logadog "log --all --decorate --online --graph"
← PreviousPage 3 of 4Next →