HNHacker News
TopNewBestAskShowJobs

jezze

217 karma · joined October 29, 2018

submissionscomments
jezze··on Sweden approves plan to bury spent nuclear fuel for 100k years
Nitpicking a bit. Humans (as in homo sapiens) have only existed for roughly 300k years. The use of fire was invented by earlier species but the timeframe you mention is probably correct.
jezze··on “Zero fucks given” in other languages
A suggestion for a more fluid translation could be "interest groups are taking notes"
jezze··on I wrote a Raytracer for DOS, 16 VGA colors (2011) [video]
Bizqwit has done some phenomenal work. I loved his videos on how DOOM style 3D engines work where he goes through raycasting and BSP trees. He also has videos around how passwords work in old 8-bit console games. His article about dithering I read a while back was also super interesting and I can see that he used that in this raytracer. Highly recommended.
jezze··on Software That Sucks Less
I see a lot of people here complain about their toxic community. This was always the worst thing about suckless and it put a lot of people off about trying to engage and help out, including me. Luckily the most toxic of them all left a few years ago now and the mailing list is now a lot better compared to how it used to be. I'm not on irc anymore so dont know about the conversations happening there but I hope it also has become better. Its interesting how one persons bad influence can throw shade on an entire community. Most of them are really nice.
jezze··on When you browse Instagram and find Tony Abbott's passport number
A friendly advice to the author of this article. Even though I enjoyed reading the whole thing, if you are gonna have a tl;dr in your article; put it at the start, not at the end. Almost felt lika a mockery.
jezze··on The Unix timestamp will begin with 16 this Sunday
When we one day become a space faring civilization we will probably stop using the gregorian calendar because why would you use that on say Mars?

But there really is no reason to get rid of the unix timestamp as a measure of time and this measure may stay around for a long time. This may mean that people in the future might consider 1970 as year zero where modern civilization began.

jezze··on Ask HN: What weird or hard problems are you trying to solve?
One thing does not exclude the other. The sites are stateless like Lorddragonfang already said. This doesn't mean you can't make nice client side apps and you surely don't need to use javascript to do it.

What js does is that it allows you to dynamically update the contents of your website like changing an image when you hover over it for example. This is something you can actually do with ALFI by itself without having to depend on a second language like js. I'm glad you asked this question.

jezze··on Ask HN: What weird or hard problems are you trying to solve?
I have moved the problem of styling to the browsers, like NAVI in my case. The browser is the only part that understands the limitation of the device and knows how to best render each widget so it makes sense for it to handle all the styling instead of having styling intertwined with the data itself like HTML does. CSS doesnt solve the problem of mixed data and styling either, it just hides it better.

The lack of styling I do understand can make it feel as if your site lacks personality when all sites look kinda the same so I see your point here. I might later allow some minor themeing, like say allowing you to select a color scheme, with the understanding that this might be ignored by the user. I will have to think about this more. What you will never get to decide are things lika margins and paddings and things like that.

I don't think you can compare Markdown with ALFI like that exactly. Markdown will generate HTML in the end and it is the resulting HTML that you need to compare with because that is what the browsers understands. Also, Markdown only solves the trivial cases and that is why it can be kept simple and readable but how do you for instance create a three column layout in Markdown with an image in the middle column? I don't know, maybe there are extensions for that these days too.

It would be interesting to have a Markdown to ALFI generator, but I suspect that when you are used to reading ALFI code you might find it to be a bit overkill because even though I am a bit biased of course I do think ALFI is pretty readable.

Also, there is no intentional OOP or funcional aspects, I did not quite understand what you wanted to convey there.

jezze··on Ask HN: What weird or hard problems are you trying to solve?
You could make a browser that renders ALFI in a text-only mode using say ncurses. When I designed ALFI I always had this in mind.
jezze··on Ask HN: What weird or hard problems are you trying to solve?
By pressing CTRL+m in NAVI all pages will render in dark theme if you want. Custom themes might be included later.
jezze··on Ask HN: What weird or hard problems are you trying to solve?
Yes but I haven't looked into how much work it would be. I think this might be essential in order to reach a wider audience because I think people want to be able to use the same browser to surf both ALFI and regular websites. Would be awesome for this to work in Firefox and Chrome.
jezze··on Ask HN: What weird or hard problems are you trying to solve?
Sure! Just ignore my dwm desktop row on the top.

http://www.blunder.se/screenshots/s1.png http://www.blunder.se/screenshots/s2.png http://www.blunder.se/screenshots/s3.png

jezze··on Ask HN: What weird or hard problems are you trying to solve?
I am trying to reinvent the web.

Replacing HTML/JS/CSS with a language called ALFI. It is stupidly simple in its design but still very powerful. Similarly to HTML you use it to create widgets, place them, and define their behavior. It is humanly readable like HTML but line-based instead of markup-based. Instead of nesting it uses references. This allows it to be streamed.

A big difference is that the language itself doesn't allow styling (like CSS), the downside being you get less flexibility but the upside being it will render correctly on any display with any resolution.

For this I have also written a new type of web browser called NAVI which takes ALFI code and produces (somewhat) beautiful widgets and renders them using OpenGL.

Source for both ALFI and NAVI: https://github.com/jezze/alfi

My own ALFI website: http://www.blunder.se/

You need NAVI to actually browse blunder.se properly. otherwise you will just see ALFI code. Also this is still very early so all features are not done yet.

jezze··on Ask HN: Why do so many people want to see Tesla fail?
I think what he has achieved so far is pretty impressive. He has a car company that is easily the most talked about of any car company and really put the electric car on the map, he has also made the public interested in space again and is really pushing new boundries there with his landing boosters.

With that said, his visions are sometimes too unrealistic like his vision of self driving cars. He really underestimates how hard that problem is. Saying he will have a self driving car before this year is over is borderline stupid and that pisses me off.

jezze··on QEMU v4.0.0 released
I agree with you whole-heartedly. Instead of running one simple qemu command for each vm you instead have hundreds of lines of xml split into many different files. Files you need to run through libvirts session manager that needs to implements its own pretty pointless state management (this could be handled by systemd instead). If there is a nice feature in qemu you want to use, not only do you need to know how to define it in libvirts xml, it might not even be supported at all.
jezze··on More Google Employees Are Losing Faith in Their CEO's Vision
I think the decline has to do with us not trusting Google anymore. They used to be this cool company that everyone wanted to work at but these days they are just looked at as this big behemoth that has taken control of the internet, harvesting peoples private data and flirts with the oppressive Chinese government. It is not fun to see the things you help built being misused like that. It was never their attention.
jezze··on As women have more equal opportunity, the more their preferences differ from men
Yeah this is the part I don't see the clear logic in. I mean how much of a persons preferences are biological vs taught/environmental behaviour. I would accept the results straight up if it's all because of biological reasons but to me it's not that clear. Imagine if we brought up women to be amazon warriors, of course they would have different preferences compared to women today no? You often pick a career after what you are good at already.
jezze··on Confessions of a programmer: I hate code review (2010)
I think the problem is more about workflow than code review per se. I have previously complained about the exact same things as this article. If you factor in your CI pipeline as well it could be hours from writing a patch until its merged and during that time you are in practice blocked from continuing to build stuff on top of your previous commit. Because of this high friction you wont bother to rename that variable or fix that whitespace because its not worth the time.

Instead I thought it would help to make code reviews optional. It is dangerous and I wouldnt recommend it for everyone and it only works if you have a CI pipeline in place of good quality. What you do is that you allow people to push directly to master, then you have your CI system continously testing all the latest commits and only if something breaks will it report it back and then the person who wrote that commit needs to fix it. I have never tried this in a real working environment but I think it would decrease friction a lot and just be slightly worse in quality. Also instead of pushing to master you could have a staging area that automatically pushes to master if it passed the tests. That might even be better actually.

← PreviousPage 2 of 2