HNHacker News
TopNewBestAskShowJobs

wesammikhail

681 karma · joined November 1, 2018

submissionscomments
wesammikhail··on PHP compile time generics: yay or nay?
Nailed it.

This is the core problem with PHP for me.I love PHP and use it every day. Part of that is the strength and versatility of the arrays implementation (i.e. hashmap). However, the problem is always the fact that an array cant be typed.

IF they could just introduce that, it would solve 80% of user-land issues over night.

wesammikhail··on HTML whitespace is broken (2024)
The number of hours I've wasted over the years on trying to resolve whitespace problems over the years is... not okay to say the least.

Great writeup though!

wesammikhail··on PSA: Your Twitter/X account is about to change forever
That is some A grade FUD. You know the article is going to be good when the tag line is:

> If you don't want Elon Musk to feed your tweets to his AI, now might be the time to leave the app formerly known as Twitter.

Ok. Time to leave google because Google is training its AI on your search queries. What about Facebook? Gmail maybe? eff it, we gotta exit Windows too soon enough.

The whole AI data training thing is inevitable. If you're worried about your data, don't put it out there to begin with. Even if whatever platform you're using guarantees that it won't use your data for AI training, it will be scraped with or without said platform's permission.

wesammikhail··on Show HN: Visualize database schemas with a single query
> The chatbots are the Zero to One for programming.

This would make Peter himself cringe let alone the rests of us.

That said, if you really believe this, I've got an AI product to sell you. It's the Zero to One for anything you want. It's called HypeLLM.

wesammikhail··on Kim Dotcom's extradition to the U.S. given green light by New Zealand
The funny thing about what you just said is that it has nothing to do with the parent comment. He's talking about BS extradition charges due to global political influence, and your response is: RUN CHARACTER_ASSASSINATION.EXE

I must say, your statement was so profound and effective that you've totally convinced me. Assange is a piece of shit and therefore we should do away with all laws and cater to the whim of your tribe.

...Sigh...

wesammikhail··on CPI for all items rises 2.9%; shelter up
No, I get paid in 2024 dollars that are unadjusted for inflation (see mostly static wage growth since the 70s). But.. That's fine and all. As long as those that got paid in 1960s dollars got to have a society in where they can accomplish so much with those dollars at my generation's expense.

I'm happy we're looking at dollars as cars. "This is a 1924's dollar model and that is 1960s one". Makes you really wonder how crazy we are as a society to view our output denomination like that.

wesammikhail··on CPI for all items rises 2.9%; shelter up
Are you seriously trying to argue that technology is adding to inflation? I'm not following...
wesammikhail··on CPI for all items rises 2.9%; shelter up
If the immorality of theft is of no concern to you then perhaps any of the following reasons may jive a little bit better with your ethos:

1. Destruction of savings

2. Distortion of price signals in markets

3. Impoverish those on long term fixed/low income

4. Creates massive inequality especially inter-generationally

In my estimation however, if you really have to ask about the benefits or downsides of theft then you've already started at the wrong end of things.

wesammikhail··on CPI for all items rises 2.9%; shelter up
yea yea we've all heard it. your spending is my income therefor I get to steal your wage from you if you don't spend it. "we'll encourage consumerism by taking the money from them if they don't spend it"

Sometimes I wonder how people have come to accept this line of thinking as anything but malicious.

As to your second point, yes. PP is more important, so let's use that. I'm sure the picture will look a whole lot better... /s

wesammikhail··on CPI for all items rises 2.9%; shelter up
Well I'm happy they consider it modest and stable because most people I know consider economists insane and unstable.

> $1 in 1924 is equivalent in purchasing power to about $18.37 today, an increase of $17.37 over 100 years. The dollar had an average inflation rate of 2.95% per year between 1924 and today, producing a cumulative price increase of 1,737.28%.

> This means that today's prices are 18.37 times as high as average prices since 1924, according to the Bureau of Labor Statistics consumer price index. A dollar today only buys 5.444% of what it could buy back then.

This is at a time where technology is making everything cheaper mind you...

wesammikhail··on New vestiges of the first life on Earth discovered
That is one hell of a beautiful PDF. Amazing work!
wesammikhail··on Three Laws of Software Complexity
The real bizarre piece here is your comment that considers X´ a trademarked math parlance... People like you baffle me not gonna lie.

Not only is the author correct about what he said, he expressed it just fine. get off your high horse.

wesammikhail··on Why I love Laravel (2022)
Honestly most of what you consider to be good or bad is a personal preference. But what I can say for certain is that framework-less modern PHP is 10x less ugly/complex and an order of magnitude more performant. There are a ton of new language constructs and features which puts it on par with, if not ahead of, most other languages.

Here are some of the most recent feature additions:

https://stitcher.io/blog/new-in-php-8

https://stitcher.io/blog/new-in-php-81

https://stitcher.io/blog/new-in-php-82

https://stitcher.io/blog/new-in-php-83

If you're looking for some fun content to watch about PHP while eating dinner: https://www.youtube.com/watch?v=WsnHWxO7Krw

wesammikhail··on Why I love Laravel (2022)
Modern PHP is very underrated imo.

Just do what I do, use something like Phroute or any other routing library. Add a couple of supporting classes (Request, Response, DB connection, etc.) and you're good to go.

If you don't need all the stuff that comes with a large scale framework, there is no point using one. It all depends on your requirements though.

wesammikhail··on Diablo Pitch Document (1994) [pdf]
Diablo and PoE differ in tone and gameplay. One is darker and more story/world focused, which is what people tend to love about it, while the other is about management of extreme complexity. Path of Exile (and by extension the upcoming path of exile 2) is all about sinking thousands of hours into understanding game mechanics. The level of depth in that game is unmatched while the story is a complete clusterfuck. For example: you need third party programs to just help you understand how much damage you´re doing due to the number of variables that need to be accounted for https://pathofbuilding.community/images/pob_overview.png

Reason I say this is because if the parent comment is looking for something to try, it is important to keep in mind that PoE is really difficult for beginners to get into and play casually.

wesammikhail··on Google DeepMind CEO says some form of AGI possible in a few years
Andrej Karpathy, the director of AI at tesla, published an AMAZING video about how the current models are built which I think everyone in the tech space should watch. It is intuitive, easy to follow and quite frankly the best video I have seen on the topic. Here is the link: https://www.youtube.com/watch?v=kCc8FmEb1nY&list=FL2tbfd7UpJ...

If you conclude, after watching this, that this is all intelligence is - namely cascading optimization and data structure problems chained in a row, then you and a fair number of people here wont ever find common ground. That is not to say that you're wrong, it just seems as if there is a missing component here that we haven't yet discovered.

wesammikhail··on FreeTube – A Private YouTube Client
Lets assume for a second that I can, through the construction of some black magic 3rd party tool, recommend you the perfect videos to watch without any tracking of your profile what so ever (not really possible but lets just assume that it is for just a moment). Would you ever pay a 3rd party for that service? If your answer is: I wouldn't so it should be Youtube that provides it for free rather than a 3rd party, then you get what we have now. A standardized garbage product that works in the best interest of Youtube rather than its users. The product isnt dysfunctional due to lack of data, it is in fact perfectly functional for what Youtube is trying to make it do. They are optimizing for watch time and all their research indicate that this is the best way to maximize for that.

If you aren't willing to signal to the market that this is a problem that you would be willing to pay real $ to solve, then it will never get solved. If there was any actual demand for proper search and recommendation engines, plenty of us around here would have created 3rd party tools to solve for just that. But the reality is, in spite of how dogshit Youtube's recommendation engine is, people are just not willing to pay for a solution.

wesammikhail··on The Browser Company’s Darin Fisher thinks it’s time to reinvent the browser
I can only speak for myself but I personally would switch to a fast, open source browser if it came within a set of built in and trusted features. Those include: adblock, Privacy features, fleshed out developer tools, better bookmark management, proper session management etc.

Chome/FF are fine and all but I wouldn't mind trying out a browser that rethinks the way things are done. Especially considering how much resources Chrome/FF currently eats up with the ~15 tabs I have open at any point.

wesammikhail··on Ask HN: Learning about fundraising as first-time tech founders
I'd start here: https://wesammikhail.com/2022/10/15/due-diligence-advice-for...
wesammikhail··on Tell HN: The regret of parenting and how to handle it
> I think that becoming a parent fundamentally changes who you are

All major life decisions you make changes who you are. That's what makes them "major".

> The parent who can let go of their old self gracefully, and drop many ambitions (which in retrospect seem childish) is able to transform.

What kinda self-serving sophistry is this? I can easily argue that the world would benefit a whole lot more if people remained childishly curious. It is the moment you let go of that child inside that you die if you ask me. Stay curious, stay hungry and keep improving. That's just a no-brainer. The idea that dropping ambitions is somehow a transformative experience to strive toward is such a weird thing to say.

> Those who cling to the desire to remain "able to stay up all night playing with new technologies" will surely find regret and fail to take advantage of the enormous perspective change that parenthood bestows.

What perspectives are these exactly? this reads to me like self-aggrandizing at best. Are you gonna tell me that people can't possibly have an understanding for "what truly matters in life" unless they have kids? What about the perspective you lose by becoming a parent and giving up on your dreams? It is a trade-off you are making. You are losing one perspective to gain another. But the idea that "people who chose otherwise will surely find regret" is just laughable. How could you possibly know that? You can't really run the experiment N times to compare the results? I can literally copy the text of your post and make the opposite argument.

In summary, let me see if I got this right: expanding your horizons by constantly learning and _acquiring new perspectives_ is considered a childish ambition that must be shed in order to metamorph into a parent so that you can take advantage of your newly _acquired perspective_... How do you square this circle exactly?

wesammikhail··on Large Hadron Collider discovers three new exotic particles
I see. This explains why the distribution of heavy elements in the universe looks like the way it does. Thanks for the reply!
wesammikhail··on Large Hadron Collider discovers three new exotic particles
This actually brings me to a physics question I've had for a while and if it is unrelated, please feel free to ignore it as I might be mixing concepts.

Both fusion and fission release energy when they occur. Which seems somewhat weird to me. Is it the cases that the reason a stable atom has less energy than the sum of its parts (as you pointed out) is because it gave off some energy during the fusion process?

wesammikhail··on Large Hadron Collider discovers three new exotic particles
Haha lovely analogy. Will make sure to remember it.
wesammikhail··on Large Hadron Collider discovers three new exotic particles
> However, it is independent of "nearby" structure, where nearby is any distance larger than the nucleus.

That puts it in perspective. Thanks for the reply and for taking the time!

wesammikhail··on Large Hadron Collider discovers three new exotic particles
That makes sense. Thanks for putting it in simple terms. Much appreciated :)
wesammikhail··on Large Hadron Collider discovers three new exotic particles
This was of great help and a fun read. Thank you for the detailed reply.
wesammikhail··on Large Hadron Collider discovers three new exotic particles
I know nothing about physics as it is not my domain. So I don't know if what you're saying is true or not. But if it is, I find that notion somewhat poetic.

For the sake of my own edification, I'd like to follow this up with a few somewhat seemingly dumb questions if you dont mind:

Is it the case that a given particle is trying to settle into a "lowest energy state" possible? I am not using physics terms here. More like conceptually, are these particles, due to the number of options available to them, decaying into the lightest stable variant allowed by the laws of physics? if that is the case, then could we perhaps find ways to engineer structures within which these particles last for a whole lot longer than they should (on a human timescale)? And what is stopping us from doing that? is it the energy cost associated with such a structure/device or is there a more fundamental reason we cant do that?

wesammikhail··on 90% of Everything Is Crap
From what I gather, what the author is trying to say is that things are not distributed as ones intuition may first lead you to believe. Could be a charitable interpretation but that's how I read it.
wesammikhail··on 90% of Everything Is Crap
Content aggregators are insufficient though. The problem we have is not one of curation which is what HN or Reddit does. The actual problem is the lack of strcture and searchability/discovery. Even on HN once something fades off of the front page, it is lost forever.
wesammikhail··on Ask HN: Hacker News, but for Finance?
There are plenty of places you can find high quality financial content/discussions. Some have already been listed in this commect section.

With that said, the problem we have is not one of curation which is what HN or Reddit does. The actual problem is the lack of strcture and searchability/discovery. Even on HN once something fades off of the front page, it is lost forever.

Here is an idea I have been considering for some time now: Imagine a website where you get to input a stock ticker symbol and you get back a timeline (literally a zoomable timeline) with all major events related to that ticker on that timeline. Each event has relevant links/documents attached to it. That way you categorize all the necessary information related to a company from its inception until today in one single place.

Even if you're talking about general finance and not stocks or investment grade assets. The problem is the same. We have an ocean of content all over the place but no structured way of search or discover what we seek to know more about. So imo finding creative ways to structure the content is the problem to solve for.

← PreviousPage 3 of 9Next →