HNHacker News
TopNewBestAskShowJobs

pantelisk

1,143 karma · joined September 6, 2019

Say hi to me @pkalogiros on twitter/x.

In the sidelines buiding open-source: - https://audiomass.co (a full-blown audio editor in just 60kb of frontend js)

- https://github.com/bldbrne-vr/bldbrne-vr a full re-imagination of Bloodborne as a VR game

- https://pantel.is/projects/css3d/ (an old timey 3d adventure rendered entirely in CSS)

submissionscomments
pantelisk··on Ask HN: Anyone know any funny programming jokes?
Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.

(quote from Jamie Zawinski)

pantelisk··on Chinese scientists develop gene therapy which could delay ageing
Depends how you define improvement. Technology would still boom maybe even more so, but society and culture would remain mostly stagnant.

People's beliefs rarely change. It's the younger generations that further define culture and bring change. The older generations strive to maintain status quo. Thought experiment: In the past people openly discriminated against lgbt people. Today LGBT rights and acceptance have won (and will keep winning)! It's not the racist old uncle that thinks it's a disease, that incited that change. It is the newer generations that first learn everything their parents know, and then they learn from their parents mistakes.

As time passes the balance of acceptance shifts and a societal shift has occurred!

Now of course, this doesn't mean that old people are evil, or incapable of change, or that everything will be perfect because each generation is always better. This only means that this is one of the ways change can happen.

In a world of immortals, only violent uprisings could challenge the status quo. The world would have no incentive to change. If 100 years ago everybody suddenly became immortal and sterile (no deaths/no births), would the world of today have still invented punk rock? Answer's no (not without youthful rebellion)

pantelisk··on Chinese scientists develop gene therapy which could delay ageing
This is how real change happens as well. When Gallileo claimed the earth spins, people didn't look at the facts, thought about it, then came back and congratulated him on his discovery! They accused him of heresy, imprisoned him and would burn him at the stake if he didn't "repent".

Only by those generations fading away, paving way for new less-biased and more open minded people, ideas/trends/facts finally got recognized. (Galileo died in house arrest, and only 300 years later his teachings got accepted).

Dying and letting go is crucial. Nature choosing to make new creatures rather than repairing and keeping the existing ones is how things evolve and move forward. It's so simple and elegant. What terrible backward ideas and status quo would aeon-old minds strive to keep-alive on this world otherwise.

pantelisk··on Deno in 2020
No NPM support is by far the best thing about Deno for me.
pantelisk··on Maximizing Developer Effectiveness
If you don't mind me asking. What stack are you working with? And how do you approach things?

My experience has been very different (was able to validate ideas and mvps extremely fast, sometimes even in a day/night - but I am very product driven which I think makes the whole difference (meaning that I care to see if the idea works from an end-user perspective first, the rest comes after and only after the project has grown for a while))

pantelisk··on 'Rent-a-person who does nothing' in Tokyo receives endless requests, gratitude
I 've seen people react with a "oh so wacky japan" attitude when something like this pops up. But I agree with you, this is nothing more than a form of therapy.

> Another reflected, "I had been slack about visiting the hospital, but I went because he came with me."

I have seen multiple people be much more eager and diligent in taking a pet to the vet, than taking care of theirselves (due to fear, shame, and an if you ignore it long enough mentality) this hits hard.

pantelisk··on Panasonic’s Innovative Augmented-Reality HUD Could Be in Cars by 2024
VR aims for sub 12ms. (80+ fps. 11ms for 90 fps)
pantelisk··on Ask HN: Who is hiring? (January 2021)
Fyusion | DevOps Engineer/SRE | ONSITE San Francisco, CA or REMOTE | FULL-TIME | https://fyusion.com

The company: A machine learning & computer vision company that enables anyone to capture and display interactive 3D 360 images using their smartphone. Our unique 3D format allows for significant additional functionality that 2D images can’t offer, including: background image effects & automatic damage detection for cars, and an understanding of the human skeleton for tagging products & features in fashion E-commerce.

This role: deployments, automation, monitoring, scaling. AWS focused. We are dealing with fun problems, lots of async processing and queue based logic. Some of the technologies we <3 are ELK stack, ElasticSearch, MySQL, RabbitMQ, Terraform, Docker, Ubuntu.

The team: Close-knit well-aligned team, customer focused, passionate about technology, positive with high productivity output. Minimal meetings, flexible wfh & pto policies.

Our office is currently closed (but we plan on reopening our SF office when it is safe to do so). Remote is fine but some timezone etiquette/planning is required.

You can apply via our lever postings @ fyusion.com/jobs, or to pantelis@ if you want to contact me directly (I'm the manager for this position).

pantelisk··on Geometrize: Turn Images into Geometric Primitives
Where have I seen this before? Oh yes https://alteredqualia.com/visualization/evolve/ (from 2008)

(From the person that wrote the webgl renderer for three.js)

Press start and you can see the algorithm at work, and how each shape is added randomly, score is computed, then the process repeats again

pantelisk··on All problems stem from man's inability to sit quietly in a room alone (2014)
I was looking at this quote for a long time. I forgot who it was from, and only remembered it paraphrased. Thank you.

To also contribute to the discussion. I often joke that it takes effort to mess things up. You could instead lay on the beach enjoy the evening breeze than putting in that effort. So before you delve into that process, take a step back and think carefully what you want out of it.

I like long walks accompanied by music (ambient music). Walking can be a deeply meditative experience, just pick terrain that won't give you trouble (no high traffic streets, no steep hills etc) and just go. Walk until your body starts doing it mechanically, and don't focus on the destination nor in search of stimuli. Maybe because walking exerts energy, it can be more effective than just sitting or laying down - when you are really energetic and not tired. Maybe because the scenery changes and it acts as a context switch to our minds.

It has been both effective as a form of emotion regulation, coming up with novel solutions, and just feeling more in sync with myself.

pantelisk··on How Shopify Uses WebAssembly Outside of the Browser
In my experience GO is not a good language for WASM. The simplest wasm binary you will create, will be at least ~3mb in size, even if it only prints "hello world", because GO will need to embed its internals and the garbage collector in the wasm bundle. In a browser scenario this is not particularly attractive...

It's really a pity especially since Go is marketed as "a better C". So far C/C++ has been the best optimal target for wasm. Rust on the other hand is extremely promising but I don't have enough experience with it or data to make a case for or against :)

AssemblyScript looks amazing though. One thing to consider is that many times you do not need to make your whole project in wasm. Instead you should find crucial bottlenecks (eg matrix math for light calculations, or some blur operation, or some physics calculation or whatever) and take that part out and put it in wasm. That part may already be written in JS and might be very difficult to rewrite in C (time consuming, web dev team might have weak C skills, tougher to debug). For such a scenario AssemblyScript looks fantastic, and this is actually the most common scenario I 've personally encountered (and sometimes I 'd end up writing asm.js by hand or go and recreate my logic in C...). So yeah, I have not used AssemblyScript yet but there are many pain points that a good implementation could blow away.

edit: what I describe above is for browser scenarios. I have not used wasm outside of the browser (didn't find a reason to, since I can run native binaries compiled specifically for the target OS - why add one more layer of complexity through wasm?). So, outside of the browser, your experiences might be different.

pantelisk··on Firefox Was Always Enough
If I understand this correctly. Mozilla let the author go, and the author still went out of their way to write a comprehensive and clear minded article full of feedback and honest recommendations.

If I see one big problem with Mozilla, is that they chose to let go people like the author. Engineering & product culture only follows.

pantelisk··on Lonely people's brains are different due to excess of imaginary social contact
Ha, I love your hypothesis btw! Because I came from the "I am older and know myself better"-angle, and you from the "it's nature's way of telling me I should move towards the sidelines, making way for new" (paraphrasing of course, no offense). It's a humbling concept. So pretty interesting to think about. Maybe there is a bit of both!
pantelisk··on Shitlist Driven Development (2016)
It is especially evil since on many systems old methods are more performant, because they were meant to be used on old limited hardware (where cycles and memory really mattered). So by making those slower... you 're really digging a hole. There are of course cases where the opposite is true too, like all things in life.
pantelisk··on Lonely people's brains are different due to excess of imaginary social contact
When I was younger I couldn't stand loneliness. I couldn't stand staying in on Friday night. Fear of missing out, even if I didn't even know what was I exactly missing out would burn too strong. Now in my 30s I love being alone. I can even go camping by myself in the wilderness alone, or hit a bar (pre-covid of course) by myself and not only be happy that way, but prefer it too. Sometimes I would go out by myself a few hours beforehand before meeting up with friends, to get that "I am doing things alone" fix.

I am not sure what changed and I became this way. I didn't work towards it or strive for it, I just grew older I guess. So I came up with a theory. Not even a theory, more like an opinion...

That when we are younger we rely on society to survive. Without a support cycle, the elements will overtake us, and our animalistic instincts light up. Our identity is tied to our social circle. But as we get more confident and more comfortable with who we are, that deep fear of loneliness decreases. I am more alone now but less lonely.

pantelisk··on The Case of the Extra 40ms
I have struggled a lot with video streams decoding on Android. Every chip manufacturer does things differently. Some have a 11 frame buffer, some a 6 frame buffer, some will pipe data out after only a few frames. Let aside the tens of different YUV formats from diagonally interlaced streams to split-byte ones lest you want to work with the output directly and not let the decoder render to a surface directly (to avoid the latency of reading from the surface). Back then I ended up doing a lot of crazy things like piping "empty" NAL frames to the decoder, to force a flush among other things. If you really cared for low-latency specific streams it was very difficult to work with the fragmentation of the ecosystem.

That was a few years ago, the versions that came at around 2016++ (after API 23) were the versions that became more stable, and relied less on OEM specific magic.

pantelisk··on Privacy matters even if “you have nothing to hide”
It was a good counter-point at "No". But since you went on, I now know again.

But jokes aside, the quote is direct anti-symbolism to the "But I have nothing to hide" and found it pretty effective, even in its silly nature, when arguing with people who are too eager to give up all privacy.

pantelisk··on Privacy matters even if “you have nothing to hide”
(from FabioAEsteves). "Don't confuse privacy with secrecy. I know what you do in the bathroom, but you still close the door."
pantelisk··on I created an alternative to the YouTube algorithm to stop me wasting time
(Please see the reply I left to Krasnol). So, if you just gave me a search-bar and have me play music, it would be post-rock or metal. And what I get on spotify is a bunch of post rock and black/death metal. Which is fine, but predictable and kinda boring.

But youtube manages to recommend to me things that aren't in my alley, but I somehow end up loving.

(just a random sample from music) "Heilung - Lifa" - https://www.youtube.com/watch?v=h1BsKIP4uYM

"The caretaker at the end of time" - https://www.youtube.com/watch?v=wJWksPWDKOc&t=10573s

"Babe Rainbow - Secret Enchanted Broccoli Forest" - https://youtu.be/lh2qHxUDt6o?t=26

A whole new genre called DungeonSynth - https://youtu.be/E9R-vzIe8x0

And one called Witchhouse - https://youtu.be/6XIlNP-c4Ds

And Sovietwave goth - https://www.youtube.com/watch?v=9ZZSyO28RUg

Uhh, drum n bass n sax?? - https://www.youtube.com/watch?v=G55GspnNkBo

And the latest weird recommendation a San Jose band called Sunami.

Oh And This! - https://youtu.be/cIMKJ43TFLs?t=76 ---- I wouldn't be searching for any of that on my own. But I love all of it (ended buying merch from quite a few "youtube recommended" artists). To me that is as successful a recommendation system as it can be. It shows me things I didn't even know I 'd love! From Jazz, to Funk, to Ambient, to SovietWave goth, to psychedelic rock, the list is always expanding.... I was never that open minded, but now I am. Maybe this is more on me and how my personality evolved through the years than on youtube's recommendations...

---

But you can see that many people had the same happen to them by how popular comments like this are -> "You didnt find this video. It found you." Or "I would love to know what I did to make this come up in my suggested videos. Holy shit this is awesome!"

Curious, ain't it?

pantelisk··on I created an alternative to the YouTube algorithm to stop me wasting time
I don't know... honestly. I was extremely surprised. I was actually wondering if they switched to some level of human in the loop, because it used to suck in the past, but now is great. I expected people to have good experiences too. I 'm actually shocked to see how disappointed people are here...

Here's an example of some stuff that just showed up recently.

[1] Some guy camping an exploring an island that used to be a federal prison - https://www.youtube.com/watch?v=2xnI1hZdltw

[2] A documentary about homeless people racing carts - https://www.youtube.com/watch?v=zi-f_J6hV-g

[3] Fantastic funk music (and I don't even listen to funk!) - https://youtu.be/m1oLjnKeUiY?t=2

[4] Fantastic old school theatrical hard rock from Japan - https://www.youtube.com/watch?v=CbI79e5iZKs

[5] Sapolsky's must-see lecture on stress - https://www.youtube.com/watch?v=D9H9qTdserM&t=112s (which I got recommended and was watching this morning in the background while I worked)

Just a random sample from stuff that popped up in the recent past. All the above captured my curiosity 100%. Maybe it's a personality thing, maybe I am eager to just discover novel stuff, that the quality level might not be the highest but the novel factor covers for it.

pantelisk··on I created an alternative to the YouTube algorithm to stop me wasting time
The youtube algorithm is working extremely well, to the point where I find hard to believe it does not have any human in the loop or active moderation.

I have discovered so many interesting types of music and documentaries and subculture/subgenres on it. It manages to hit my interests so well, that I rarely go to netflix nor spotify anymore for discovery. I 'll either directly go watch something that I 've chosen on amazon prime, or let the youtube algorithm handle recommendations. (I know this reads like a fake review - but I swear I have no affiliation for youtube btw. Just amazed how well their recommendation engine works)

pantelisk··on Show HN: A new way of ORM in Java
ORMs seem amazing up until the inevitable point of hitting a performance issue or bug, and having to print the underlying statement. At that point you are no longer fighting with the bug impacting your systems, you are fighting with the ORM midddle-ware it self, and having to quickly improve your SQL competency above everything else. That is the moment you 've lost all the benefits advertised.

For smaller systems it might be ok I guess, but stay alive long enough and you 'll see that sooner or later every small system desires to grow, grow and grow!

pantelisk··on Why are there so many cats in Istanbul?
One of my fondest memories of Rome, is visiting the Acattolico cemetery only to discover it's basically overrun by friendly cats. gothic monuments + cat sanctuary what a combo
pantelisk··on Why are there so many cats in Istanbul?
I do not think religion plays a role at all. Greece is full of kitties too.

The climate is nice. They can survive the winter without having to crawl into a steamy sewer like rats. Though many cats sleep under cars (especially if the engine is still warm). Most cities in these areas are not heavy on traffic, the city roads are narrow and designated for slow-driving - giving the animals an opportunity to move around with not much noise and danger.

Old people in the neighborhood feed them and play with them. I would say it's as nice for them as it is for the cats (they get to have a hobby, go out etc). People at cafes and restaurants (especially the ones with outdoor seating) might put some food aside.

People growing up in such an environment learn to like the cats, and give them some attention or feed them themselves. (I grew up loving stray cats, and animals in general due this culture). Was surprised to see how much having a pet is a "business" in the states (higher rents if you have a pet, mandatory chips, pet salons everywhere, eugenic like focus on perfect looking breeds etc).

And the elephant in the room. Careless people adopt them, decide it's too much work and then let them roam free. Or decide that neutering them is immoral or too expensive or something...

If you wanna see some more of Instanbul's cats -> https://www.youtube.com/watch?v=y0dJ4zrTopU (no affiliation)

pantelisk··on The Rise and Fall of Getting Things Done
It is the latency, yeah. And it doesn't have to be seconds, even 200ms is enough to turn a fluid call into a very awkward "wait now talk". "wait, now talk" dance. Similar energy as driving and going from stop light, to stop light. Phone calls are way better at this.
pantelisk··on K0s – Zero Friction Kubernetes
Pronouncing kubernetes was a problem for me as a greek (greek way would be kee-vaer-nee-tees and it means governor). Getting my mind to use the english word tripped me out, and using the greek pronunciation didn't make sense to anybody. Since trying to say "kubernetes" just trips my mind, I say kubernet (coobearnet). And use the same term "kubernet" for both "kubernetes" and the "k8s" shortcut.

Kubernet = "k for graph (eg k-anonymity, k-neighbor search), uber for awesome, net for network!" It's a very descriptive and easy to pronounce/memorize name that frees my mind from the greek pompousness.

PS. k0s, I would pronounce "Cause" or maybe... (to make a silly bloodborne reference) Kos, some say Kosm

pantelisk··on Astonishing Performance of .NET 5
Well, your conspiracy was somewhat true for AMD PHENOM X2 550, a 2-core cpu which was the same as the 4-core model, but had 2 cores deactivated. Users were able to unlock the cores with BIOS tricks (and some future mobos would do it automatically though it depended on the quality of the chip. AMD even played along and released an optimized for overclocking version (since users had to bump voltage to unlock the cores in the first place)).

But also the user you are quoting, the "gamedev trick" is actually somewhat of a true story as well. But it wasn't an optimization trick. It was just different teams that each acted as if they are working on the most important thing, competing for limited old-hardware resources! Some coders, pre-version control, would just pre-allocate ram even if they didn't really need it, just so they don't have to go through the dance of asking other teams to release some. As you can imagine, when the project ended up going beyond the hardware limits causing chaos and stress to the devs, those people would descend as heroes and say "Here I was able to free 512kb!" (from their unnecessary preallocation calls)

Ah, to be old on the internet... :)

pantelisk··on Microsoft Fluent UI System Icons
Should be a messily crumbled paper ball. Maybe we can use this for heavy hitting spam instead, ha!
pantelisk··on PORTL Hologram raises $3M to put a hologram machine in every home
If you want to see a "real hologram", check our the mirascope. It is a children's toy, that consists of 2 parabolic mirrors, aligned in such a way, so that when light rays converge at its top, the illusion of an object that is not there appears. (I guess this meets the definition of hologram, except it is not created out of a projector but from an actual physical object)

[1] http://physicstoys.blogspot.com/2018/02/the-mirascope.html

pantelisk··on FFmpeg Drawtext Filter for Overlays, Scrolling Text, Timestamps on Videos
I am curious if you would like to share your experiences. I use FFmpeg (almost) daily and I would go as far as saying it is one of the most reliable pieces of software I 've ever used.
← PreviousPage 3 of 5Next →