HNHacker News
TopNewBestAskShowJobs

mikhmha

292 karma · joined September 8, 2021

https://github.com/mikhmha
submissionscomments
mikhmha··on Artificial intelligence is losing hype
DONT get me wrong. What you're saying I actually support. If this allows that company to have quality staff I'm all for it. The less time we both spend on each other the better. So just offer async processing.
mikhmha··on Artificial intelligence is losing hype
Recently I saw the process of filling for 2 insurance claims through 2 different entities. First one used a great ai voice agent that does the process of filtering your query. it understood me perfectly. But then I still had to wait in line for an actual agent. Ok wait for 6 hours. Whatever. Call again - the 2nd time going through the same agent is painful. Its so slow. And all this just to connect me to a human - who was EXCELLENT. What did ai add? And for now a human has to be involved in any complex permission changes to your account. AND I like that.

The 2nd agency I called them through phone. No ai. But it is excellent cause they do async processing. so you reserve a slot and they call you back. i don't care if those are not answered urgently. Because I just want to talk to a human.

mikhmha··on Artificial intelligence is losing hype
I feel the exact same way. I have felt 0 need to use an LLM in my current workflow. If I could explain concisely what my problem is in English - then I would already know the answer. In that case why would I be asking AI the question. And I don't want opinionated answers to subjective questions. Why run that through a filter, I can investigate better myself through links on the internet.

By the way - I think AI or ML whatever has some valid uses right now. but mostly in image processing domain - so like recognizing shapes in some bounded domain OK yea. Generative image - NOT bad but theres always this "AI GLOW" to each image. Something is always off. Its some neat tools but a race to the bottom and mostly users want to generate explicit content lets be real. and they will become increasingly more creative and obtuse to get around the guards. nothing is stopping you from entering the * industry and making tons off money. but that industry is always doing good.

a friend recently suggested to use AI to generate generic icons for my game. Thats a really good use case. but does that radically change the current economy?

[BTW GENERIC STUFF ONLY UNTILL I could hire someone because i prefer that experience way more. you can get more interesting results. 4 eyes are better than 2.

mikhmha··on A simple procedural animation technique [video]
You could also use these techniques as steering behaviors for a group of autonomous agents? Each agent is a point on the segment. It'd be like a team doing a dragon or lion dance.
mikhmha··on A revolution in archaeology is transforming our picture of past populations
I've thought about this idea a lot. It seems like the idea we have of the centralized empires of the past is mostly based on movies and fiction - and maybe from the actions of the last remaining empires in the 19-20th century. I think we take for granted advancements in communications and transportation that allowed for the governance of large areas of land in more recent history.

Are maps of ancient empires even accurate? What do they even mean. If you went back in time to some backwater village on the edges of some Empire map and asked the villagers who was the emperor could they even tell you? Or would they still name some king from 50 years ago?

mikhmha··on Elixir Anti-Patterns
I think its worth spending more time in it. I've been working on an MMO in Elixir and I find myself coming back to rework/expand earlier subsystems and expecting to dread understanding WTF is going on but that has not been the case at all! Regardless of what knowledge I had of Elixir at the time I wrote the module - I can quickly pick up the chain of thought I had when I first wrote it. The code usually boils down to a combination of atoms (symbols), pattern matching on atoms, tuples, return values, and some sort of enumeration using Enum.map or Enum.reduce to produce an output. There's no other fancy tricks beyond that. And regardless if the data changes from list of tuples, to a map, or a set, the Enumeration logic doesn't change.
mikhmha··on What You Get After Running an SSH Honeypot for 30 Days
I should clarify. When I mean self host it’s for public facing applications that generate revenue. It involves some transaction in currency?value? between the user. Once money is involved you become a target. I don’t want anything that could be traced to my physical address. I told you I’m careless, I’ll eventually slip up on installing the patches or configuring something right.

Public facing like serving some static webpages or blog, text content. Yeah do it.

mikhmha··on What You Get After Running an SSH Honeypot for 30 Days
Yeah this is what keeps me away from self-hosting public facing stuff. To me its like opening a new pipe into your home that is open to the whole world. And I'm too carefree to get the settings down right. So I avoid it all with complete process isolation. Don't shit where you sleep!
mikhmha··on Flow Field Pathfinding
I'm using flow field pathing in the MMO game I'm making. It was surprisingly easy and intuitive to implement! And you can have huge gains if you cache paths to target cells and re-use them across different agents. Its kind of crazy how just a few lines of code can change your implementation from flow-field to A* to Dijkstra, or whatever. I think implementing these algorithms is a fun exercise in recursion it forces you to enter a different head space. Also some crazy overlap with other AI systems, as things like A* are used for goal planning. So its worth to learn all this stuff if you want to program game AI.

The backend of my game is written in Elixir. And the world grid used for path-finding is represented as a global shared ETS table (distributed data store) with 1 writer (world server) + multiple readers (ai unit controllers). It works so well, and I can even have sub processes that evict cached paths when dynamic "obstructions" like resources spawn into the world. The ETS table structure also can partition cells/grids/paths by "level/map" and server instance. And you can profile it in real-time and see how much memory the ETS table is using, time-to-pathfind, and other metrics.

mikhmha··on Leaving Rust gamedev after 3 years
No blog unfortunately, the notes are all on paper. I have github page for the game where I ramble a bit: https://github.com/mikhmha/SWARMMO

But I'm planning to release the game for testing next month! Its a browser "MMO" game too so its going to be easy to try out. And then I'll have time to write some more detailed technical notes online.

mikhmha··on Leaving Rust gamedev after 3 years
Interesting read! If I had not picked Elixir + Godot for the multiplayer game I'm making, then I would've gone with Rust for the whole thing. The old naive version of me would've tried doing it in C++ + Unreal but I knew better this time around.

I think multiplayer game devs are sleeping on Elixir! It has made the network side of things so much easier and intuitive with fast prototyping and built in monitoring - so many lifetime issues are easily found and addressed. I'm pairing Elixir with Godot, Godot is used for the frontend game client. And its crazy because I thought the game client part would be the "hard" part as it would be a new skillset to learn, but Godot makes the actual game part very easy. GDScript is easy to learn, and the way Godot uses "signals" is very similar to the backend code in Elixir with message passing so its not a huge cognitive shift to switch between server/client code.

I get that BEAM doesn't lend well to highly computational tasks, but I just don't see how thats an issue for many types of multiplayer games? If you aren't making some crazy simulation game, then most of the backend computation is more around managing client state and doing "accounting" every tick as inputs are processed. The most computational task I've had is server-side NPC Pathfinding, which I was able to quickly offload onto seperate processes that chug along at their own rhythm.

mikhmha··on Cannabis use linked to anxiety diagnoses, worsened anxiety disorders
Wow, same thing for me as well. It was very effective because it was like OK I know for sure I'm in a state of anxiousness right now because I just consumed something mind-altering - there is no ambiguity to it. So then you roll with it and gradually start to become bolder in your actions. Because its like "well I thought I was gonna die last time but I didn't so it really was all in my head. Why do I waste so much brain CPU on things that are meaningless?".

It didn't 100% solve my anxiety but it put me on the path to finally seek out a legitimate and effective solution because I had enough reference to compare to.

mikhmha··on Cannabis use linked to anxiety diagnoses, worsened anxiety disorders
I began to notice this phenomenon on internet discussions/forums tied to mental health, physical health, and drugs (illiegal and legal). The discussions themselves attract anxious people who are using the internet to validate and reassure themselves. And I know I used to be the same before I found my own effective treatment for anxiety.
mikhmha··on Post-Serverless Era Trends
I think the future is some BEAM-like VM abstraction for cloud environments. I worked at a 100% AWS serverless place and the current tooling is terrible. Now I'm working in Elixir and it offers so many of the tools I wish I had when working there.
mikhmha··on Post-Serverless Era Trends
Yup me too. Just got out of working at a B2B SaaS that was 100% AWS serverless - Lambda, S3, dynamoDB and all that.

I worked there for 3 years! When I started 3 years ago - the owners touted the benefits of all of it. And I agree its not all totally bad. There are some valid use cases for small enterprise projects.

BUT after 3 years it was really starting to wear me down. The codebase just kept growing, there were so many lambdas to keep track of. It was so hard to test and observe the system in production. Sure you can address some of these pitfalls by creating your own tools that wrap AWS API calls but it never ends. It doesn't make your life easier, you still have to write a bunch of extra glue code because a lot of the tooling for these serverless platforms is terrible and left up to frameworks to solve.

mikhmha··on AI Toolkit: Give a brain to your game's NPCs, a header-only C++ library
I've been working on a multiplayer (MMO-ish) game. Currently at the point where most of the core stuff is in place and now I'm implementing the A.I. Recently there have been some great links posted on HN regarding Game A.I, and I'm very grateful for it! Implementing A.I has been a ton of fun and not as overwhelming as I thought it'd be. I think my game will be dependent on "smart" A.I behavior so I'm really trying to get this part down.

The language i'm using - Elixir - also has some very interesting features that make it easy to integrate async a.i planning + a.i to a.i group communication. Ahh, I find it so exciting. The main simulation loop is never blocked. Meanwhile the A.I planner just chugs along as a separate process, spawning and despawning new agents in the world, creating and merging control groups, and setting new goals.

mikhmha··on WebRTC for the Curious (2020)
So when I looked into it last month - its true DataChannels would be the answer. But I couldn't find any "nice" abstraction in the language i'm using for it. like I just can't get some standalone WebRTCDataChannels abstraction - many WebRTC libraries don't have implementation for this or its all very specialized for audio transfer. There is a route of using some standalone WebRTC gateway service that your application can send messages to (I think this is the purpose of Janus?) - blah blah point is: its not easily done. Not in Elixir so far anyways.

And the second part of it is - I'm sure its easily done but at this point there is some incentive to keep whatever implementation you have to yourself.

Or maybe I missed something and I should try looking into it again.

mikhmha··on WebRTC for the Curious (2020)
Agreed. I really looked into if WebRTC would be possible for the game I'm trying to make but currently its not as easy as people make it out to be. fortunately - the communication channel is easily abstracted, so I wait for the day i finally get the abstraction i want.
mikhmha··on Making small games, which is fun in itself
I've been working on a game since quitting my job. Having some of the most fun in my life doing this. I used to find making games very overwhelming. But some time ago I realized that you can make game mechanics out of anything! There are no rules. Well - the rule is that it has to be fun!

And I played Baldurs Gate 3 a few months ago which really inspired me. I have been playing RPG games for a long time now but I never tried a real "TTRPG", most of my experience was playing JRPG's when I was younger. And I knew about DnD but never felt compelled to try it irl because it seemed "kind of lame". But then I played BG3 and I really understood what "RPG" means. The game made it all click for me.

mikhmha··on For many home-schoolers, parents are no longer doing the teaching
You read too much into my initial post. I would not have been so blunt if it wasn't to point out the great irony of public schooling and its inception coinciding with modern nation states. I pose the hyperbole question because I see the greatest opposition to public schooling from Americans and religious peoples.

"everything sucks. And there is no cohesion between peoples."

Because at the same time I understand the brutal truth. The nations of today where this process of state centralization did not occur, or occurred under coercion from colonial powers are much worse off. And there people viewed as backwards or uncivilized unable to compete in the modern world, even though they admirably continue to resist modernity.

>"Given that you believe you learned the American national identity in a public school..."

I'm not American. I'm Canadian. And no I did not learn the national identity strictly through school, it was through the people I met at school. My peers, friends, etc. It was those interactions that were facilitated through the public school system.

mikhmha··on For many home-schoolers, parents are no longer doing the teaching
I say it so casually because I also find it disturbing. Don't worry, we share similar views.

And yet, I went through public schooling, learned the "national" identity but I still retained my own unique identity and cultural practices taught at home by parents. And in the process, I forged a new identity, much like the settlers who immigrated to this country before me.

Is it because my parents did not embed the great insecurity into me? To reject everything taught from the onset because it may lead me astray? They did nothing like that. They told me to attend school, make friends, and learn new things. I learned both the good and the bad of the dominant society I lived in, simply by observing it for myself. And I became familiar with the archetypes of the elites and the poor.

mikhmha··on For many home-schoolers, parents are no longer doing the teaching
>Do you think we should do the same with adults? Many of these arguments are also used by proponents of military service.

I'm well aware. There is an irony to the arguments I make, because I also detest the idea of forced erasure of identity.

Military service? No. I would be in favor of some 1-yr mandatory civil service. I believe its important to interact with all classes of the society you inhabit. How else can you gain true perspective if you only live in a bubble? Life is about being uncomfortable.

>The funny thing about school is that almost no adults would be willing to be subjected to it.

Its interesting you say this, because at the same time we see adults also long for their school days as they grow to hate the 40 hour work week. Now it could be that what they really long for is childhood and youth, but people also long for their college days as well. They long for the environment where they freely mingled with people of their age, and the camaraderie they established in their "shared suffering". They miss structured periods like "recess" and "lunch" or "gym class", even though as an adult you can do these things freely.

mikhmha··on For many home-schoolers, parents are no longer doing the teaching
Why are people in the US so against public schools? I am someone who did not really enjoy “school” and found it anxiety inducing but I still see the benefits of it.

In public school you are forced to mingle with the people of your generation. The ones who will inevitably go on to run the country in whatever big or small way.

The objective of public school is to break down the regional identities of old and assimilate the youth into the “new” national identity. And what do we see in countries without functional public schools? Everything sucks. And there is no cohesion between peoples. I see it in the home country of my parents.

mikhmha··on The company behind Stable Diffusion appears to be crumbling into chaos
I always see this line of reasoning online from hype consumers. The eternal victim complex. Its not fair that negative articles are being written about this humble startup/video-game merchant/crypto exchange - must be a coordinated hit piece!

And then it devolves into worshipping the founder/priest/oracle. Usually by making claims of their supposed genius and foresight. Blah so boring. You can see it all on display in this comment. Emad the genius, yet he lies about trivial things. Yeah who cares that he lied about his master's degree? I mean I agree, who gives a shit about a master's degree. But then why feel the need to lie about it? You don't think that reflects on his character?

mikhmha··on The company behind Stable Diffusion appears to be crumbling into chaos
Really? I think the untrustworthiness of the CEO and their tendency to embellish facts around their background is a massive red flag. These have been reported on multiple times the past few months. Why lie about having a masters degree or working at a trading firm?

And of course you may say that all CEOs are liars. And I would agree. But the smart CEO’s know not to lie about trivial things like education credentials.

I don’t think this is a hit piece. I think the incompetency of the CEO is finally bubbling up to the surface and rotting the company from the inside. And now the original believers are starting to turn on their former saviour.

mikhmha··on LK-99: Phonon bands, Localized Flat Band Magnetism, Models and Chemical Analysis
You see this type of stuff enough it’s all the same.

People are what drive the hype and what motivates people to lie, cheat, etc is the same no matter where you go or what year it is.

Or maybe it’s because I’ve been burned enough times by hype cycles and magical thinking in my youth I have developed some skill for this. You gotta get burned a few times to understand.

of course you need to be careful. Check yourself. I’m not some perma-skeptic or contrarian. But if it quacks like a duck…

mikhmha··on Marijuana addiction: those struggling often face skepticism
Yes it’s similar for me. It’s strange because before I used to get very anxious when stoned and it was a generally unpleasant time.

But then I spent one year at home getting stoned and playing competitive video game Dota 2. And doing that seemed to melt my anxiety away. I learned how to be confident in my thoughts and perceptions under an alternate state of mind. The proof was winning a a match or seeing some strategy of mine pan out. And I learned when to ignore others and not let their thoughts influence me. I learned how to live in the present.

mikhmha··on Smart Contract Security Field Guide
Crypto guys were saying the exact same thing last year too. What changed? I kept hearing how there was all these projects underway and how I could switch jobs into crypto and make way more money.

Now you’re saying this year is the year? n+1

mikhmha··on Ask HN: Are people in tech inside an AI echo chamber?
Can we stop making analogies like this. It’s so bizarre. The circumstances around each invention are completely different. To always reference the conditions of some past technology is to be stuck in this bizarre form of thinking.

A few days ago some poster tried to compare denying LLM’s to being a naysayer in Gallileos time. Is this all we can do? Make references to past events and fail to evaluate the present properly?

mikhmha··on Heavy marijuana use increases schizophrenia in men, study finds
Strangely enough the research shows that nicotine has a positive affect on treating schizophrenia symptoms.
← PreviousPage 2 of 3Next →