HNHacker News
TopNewBestAskShowJobs

ermir

409 karma · joined August 11, 2016

Personal site: https://suldashi.com
submissionscomments
ermir··on Inversed Mandelbrot Fractal and Waves
I gave this some thought and came to the conclusion that a continuous wave hitting a fractal would not have a defined reflection, since the fractal does not have a traditional derivative it would also not have a tangent at a point.
ermir··on Inversed Mandelbrot Fractal and Waves
I assume these waves are not continuous but made out of many points and then just simulated over time, like a game engine. But since fractals have infinite detail, does that mean that for every number of points we choose for the wave we'll get a radically different wave pattern?
ermir··on Tirana Prosecution to Investigate Alleged Data Leak of More than 630k Albanians
This is not a mere leak from some government office, but also includes a lot of "notes" by local Socialist Party staff that are assigned to "watch over" a small section of their local population, such as an apartment block or similar. The database contains details such as did this person vote for the Socialist Party, what kind of leverage do they have on him (govt jobs, business licenses, jobs of parents or kids), are they part of the diaspora, do they have foreign income, etc. There was a huge scandal about it a year or two ago, called the "patronazhist" scandal. You can read more here:

https://balkaninsight.com/2021/04/16/albania-prosecutors-inv...

The big issue is how the Socialist Party essentially organized the whole collection of this data neighborhood by neighborhood in a hierarchical fashion, it's very similar to a mafia franchise. A neighborhood party member reports to the larger district, who reports to the city official, who reports higher up all the way to the Prime Minister.

ermir··on The World's Deadliest Thing
Most factory-made food has preservatives and other stuff that stabilize the food and prevent botulism. In particular many foods use vinegar to increase acidity and make it impossible for botulism to bloom.
ermir··on The World's Deadliest Thing
The botulism spores are abundant in soil, but they don't get activated unless the conditions are met. The main condition is an environment without oxygen and the presence of proteins, which happen both in sealed oil-garlic containers.
ermir··on The World's Deadliest Thing
Botulism is why you cannot make and keep garlic oil, every time you want to use it you must make a fresh batch.
ermir··on New $28K Prefab Tiny Home Is Proof That the Future Is Now
Damn, I was just kidding but apparently others were not: https://www.sciencealert.com/scientists-think-we-should-star...
ermir··on New $28K Prefab Tiny Home Is Proof That the Future Is Now
Next up: How Eating Insects Is Proof That The Future Is Now.
ermir··on Paradise lost: The rise and ruin of Couchsurfing.com
And the square root of that is 135, which causes 25% of the total trouble. If we could only find these people and get rid of them, we'd have paradise on Earth!

And that's how genocides start.

ermir··on Atlassian fired me while I was taking care of my wife who is fighting cancer
It’s about normalizing vacation, and having a minimum means you’ll take as much time off as anyone else on the team.

Unlimited PTO means take as much as you want, but you have to have excellent social awareness to not damage your standing.

ermir··on Superpack: Pushing the limits of compression in Facebook’s mobile apps
https://m.facebook.com/nt/screen/?params=%7B%22note_id%22%3A...

Found the old explanation, it seems I had misremembered some details but it’s still super insane.

ermir··on Superpack: Pushing the limits of compression in Facebook’s mobile apps
A few years back the FB app reached Android’s limit for the number of classes defined in the codebase (2^16), so the FB engineers wrote a hack that ran before the app to somehow bypass this limit. Apparently they don’t delete anything and just keep adding stuff to the codebase.

What kind of app needs 65536 classes?

ermir··on Prison Company Patents VR to Give Inmates Brief Taste of Freedom
Sounds very cruel, another sign that we can't control our technological growth at all. I have a friend, a former FAANG veteran that has dedicated his life to destroying what he calls "techno-Satan", maybe he's on to something.

I have also noticed that programmers have a tendency to sometimes distrust the stuff they make. I for one will never install "smart" home devices, I'm happy with my classic light switch that won't spy my on/off status and send it to China, or my toaster that needs a monthly subscription.

ermir··on Algocracy
My experience as a programmer has taught me that this will be the most evil thing we can do to ourselves.
ermir··on What if JavaScript had a synchronous async flavor?
I guess it is true in this particular example, since 0 is a primitive and assigned by value. But what if you got it from an outside function, such as init(), and it was an object instead? Then you would have to guarantee that the return value of init() would not change between statements.

In the end this shows that JS is unequipped to handle such behavior without significant changes to the core language.

ermir··on What if JavaScript had a synchronous async flavor?
If you have code like:

let x = 0;

doSomethingAsync(); // does not touch x

console.log(x);

There's no guarantee that x will have the value 0 by the time you get to console.log(x). The value of x might have been changed by an outside function that just happened to run between your statements. In synchronous JS this would never happen as callbacks are scheduled to run only at the end of a function, and if they change x the change will only be applied after x is printed.

The change in behavior will break a lot of existing code, since the synchronous behavior of a function is a core feature and assumption of the language.

ermir··on What if JavaScript had a synchronous async flavor?
I tried this exact thing last year, and it does not work for a particular reason: the JavaScript event loop guarantees that a function will run to the end before any callbacks will run, but an await is an implicit callback (a Promise under the hood). This means that you break the guarantee that variables or other memory locations will have the same value between statements.

This is exactly the same problem that languages such as C++ have when dealing with multithreading, and why constructs such as semaphores, mutexes, etc. exist. JS does not have these, and using the technique in the article will completely break the language.

Compare these two fiddles I prepared and see for yourself:

This one uses await to block for a second, which in the meantime changes the value of the variable between statements: https://jsfiddle.net/gq1btLdu/

This one uses a for loop to do synchronous work for about a second, then prints the initial value twice. You will notice that the setInterval never had the chance to run, since callbacks are scheduled to run only once the current function ends: https://jsfiddle.net/gq1btLdu/1/

ermir··on Internal competition can often be the most dangerous kind
Your incentive is to beat the bigger game, that is, the one that maintains your friendship and keeps the other person playing. If one person is significantly better than the other and wins all the time, the other party will lose interest and will stop playing.
ermir··on To protect against weaponized drones, we must understand their key strengths
The chips, PCB, and all electronics have their embedded serial number in them. It's very likely many of these will survive a direct explosion, and once these identifiers are extracted from them, the supplier/manufacturer/vendor/customer will be identified using standard investigation methods. So while there's little possibility of some unknown Unabomber-style decade long rampage using this tech, they could be very destructive in the short-term.

My nightmare scenario is someone flying hundreds of these in formation on a stadium full of people. They could be launched from a parking lot from a single van or pickup truck. If you sacrifice the ability to hover by giving them wings, you might get very high range and not have to risk yourself at all while launching a devastating attack.

ermir··on Drones may have attacked humans fully autonomously for the first time
The unspoken issue with these drones is the fact that they’re widely available and made up of commercial-off-the-shelf components. A guided missile requires expertise in chemistry, materials science, and a lot of expensive experimentation. You can’t fly under a government’s radar with them. A drone however, is accessible to every citizen, and the software that runs them is widely available and accessible.

In nuclear weapons it’s the difficulty in sourcing the nuclear material that prevents widespread proliferation. Imagine if the core could be made of something like iron, everyone would have nukes and our civilization would not survive.

ermir··on Drones may have attacked humans fully autonomously for the first time
Making stuff like this still requires specialized software, but software development is far more readily available and accessible. The proliferation of software is also essentially effortless, so a terrorist group or similar could have a single team supplying standardized designs worldwide.

Consider the hobby of FPV drone racing. The designs and plans are widely available, and you can get a top-notch drone for about $2000 for a first-time purchase (less for the subsequent ones, since you'll already have goggles/radios). These drones are regularly built by teenagers and it's not difficult at all to add capabilities to the drones, such as target tracking, autonomous operation, software-defined radios for jamming resistance, etc.

ermir··on Drones may have attacked humans fully autonomously for the first time
It's the same multiplying effect that software has on other business ventures. Software can be scaled, optimized, perform complex features, and duplicated without cost.
ermir··on Drones may have attacked humans fully autonomously for the first time
By "softwareization" I mean the transfer of the difficulty of making weapons from software to hardware. Programmers and programming knowledge is far more widely available that specialized hardware or techniques. We've already seen this process in many fields of business with great success, so it's no wonder that it would come to warfare as well.
ermir··on Drones may have attacked humans fully autonomously for the first time
I've been dreading the "softwareification" of weapons for quite a few years now. There's not a day that goes by that I don't think about how weapons can nowadays be readily and cheaply made with commodity parts and no special training or materials. Obviously the algorithms and software for this sort of stuff needs to be made, but it's far more accessible than expertise and equipment in for example metallurgy.

There was a video a couple of years back of a kid in Texas attaching a pistol to a drone and firing off a couple of shots. Stuff like this is not rare or inaccessible, and it's only a matter of time before it becomes widespread.

ermir··on Unreal Engine 5 enters Early Access
You go for a looks-like prototype when you have a team and want to inspire them to move forward, when you want to impress investors or when you are planning a Kickstarter or similar. You go for a works-like prototype when you're experimenting with concepts or want to try out something new. You're completely correct in your assessment.
ermir··on Unreal Engine 5 enters Early Access
An MVP in the gaming space is a complete demonstration of your core gameplay loop. For example, an MVP Pokemon game would have one urban and one area with tall grass, 2-3 Pokemon, 2-3 NPCs with dialogue, 2-3 NPCs with that challenge you to battles, a working battle system with 2-3 moves (no need to to stuff like status effects, buffs, types, resistances, etc), wild random encounters. It's quite more comprehensive than an MVP in a consumer product, but even the description above can be cut down substantially. An RPG MVP for example could be just a player character walking around a city.

All the graphics for the game above can use placeholders, or even solid colors.

ermir··on The feeling of disgust, and where it comes from
Disgust is intimately tied to the defense against disease and pathogens, and the wrinkled snout/nose serves the function of closing down the airways to prevent pathogens from getting inside.

Jordan Peterson has an excellent series of lectures regarding disgust sensitivity, here's a sample:

https://www.youtube.com/watch?v=tiDmfb6M4Vk

ermir··on Philosophical Landmines (2013)
The "truth" and "reality" categories are particularly destructive landmines, as without a shared understanding of the world there can be no communication, therefore violent conflict is inevitable. It feels like these mental weapons are being deliberately deployed across the population, and the old ways of reconciling differences don't work any more.

During the Trump presidency it felt like the population of the US was split in two different realities, and that the worldview of someone from the other side was completely alien. It works similarly in smaller scales as well, with things such as conspiracy theories.

ermir··on Philosophical Landmines (2013)
After seeing the philosophical landscape in places like YouTube, I can't help but agree. A large proportion of Philosophy YouTube channels push forward arguments that are completely wild and outside the realm of experience of the normal citizen. Instead of philosophies that match real-life, these positions are instead supported by clever linguistic tricks and sophistry.

Take for example postmodernism, under which there can be no legitimate communication between people, and all arguments are power plays between the speakers. In such conditions it's very easy to foment cynicism and conflict, since without the ability to communicate you will not be able to solve conflicts or grievances.

ermir··on My personal wishlist for a decentralized social network
What I feel is the missing piece that would tie a truly decentralized social network is a decentralized identity management system. I am ordinarily a massive blockchain skeptic, but it could possibly be usable here. It should be possible to create features like user creation, changing passwords, data querying using sone kind of blockchain that is not in control of a single entity. I feel such a service would be useful and can be made now, but I also feel like it would be quite hard to use as well.

Think of something like Amazon Cognito or Okta, but decentralized and transparent.

← PreviousPage 3 of 5Next →