HNHacker News
TopNewBestAskShowJobs

hota_mazi

2,724 karma · joined May 30, 2016

submissionscomments
hota_mazi··on A bug fix in the 8086 microprocessor, revealed in the die's silicon
I started reading this article and immediately thought "That's something Ken Shiriff could have written", but I didn't recognize the domain name.

Lo and behold... looks like Ken just changed his domain name.

Amazing work, as always, Ken.

hota_mazi··on 2D Rubik’s Cube solution visualization
Actually, solving the cube is just the beginning of the game.

If you are interested in optimizing, there are an infinite numbers of axes you can work on to solve faster.

First, there are several general approaches, although realistically, only two (CFOP, Roux).

Each of these methods have phases which you can practice and improve on separately, A lot of them require simple memorization (muscle memory for the most part) but all of them at some point contain a certain level of intuition and pattern recognition (e.g. lookahead), and for that, the only limit is your brain.

It's a fascinating puzzle with neverending interest, at least for me (I solve in average around 25 seconds).

hota_mazi··on AT&T syntax is broken (2021)
Yes, that's how I read it mentally, but that was not my point.
hota_mazi··on AT&T syntax is broken (2021)
Coming from 6502, 68000, and similar families, I have always found it weird that

    mov eax, ebx
means moving ebx into eax.

When you move something, you move it to its destination, not from its destination.

    mov A, B
should mean "Move A into B".
hota_mazi··on Testing Microsoft's Windows Dev Kit 2023
OP debunks your claims with solid statistics and the best way you can respond is "Look around you"?

You fandom for all things Apple make you a bit blind to reality, I suggest you look at things with more nuance and actually document yourself with actual numbers. You might be surprised by what you find.

hota_mazi··on Tesla engineers were on-site to evaluate the Twitter staff’s code, workers said
What's not verifiable is your claim that it couldn't be valued higher with a different CEO.

That is unfalsifiable.

hota_mazi··on Marten: a Crystal web framework
> I enjoy writing Ruby, but I hate maintaining it.

This is the curse of all dynamically typed languages: they make the developer's life easier at the expense of the future maintainer of the code.

Because there are no type annotations, writing code is a lot easier than reading it.

Which is the exact opposite of what we want.

hota_mazi··on Tesla engineers were on-site to evaluate the Twitter staff’s code, workers said
> without Musk Tesla would have been dead in the water as a company and its shares would have been worthless by now

I don't know how you could possibly know that, that's an unfalsifiable claim.

I could make the opposite claim (that with a different CEO, Tesla would be worth ten times as much as it is now) and you couldn't disprove it.

hota_mazi··on Why Rust?
> However, handling exceptions still require a separate catch clause rather than being part of the normal flow

Only if you want to catch (handle) it. If you don't want to do that, just declare it in your "throws" clause and enjoy writing your code with the (guaranteed) assumption that you are using a valid value.

> Furthermore, it is nigh impossible to rely on checked exceptions alone, most Java code may throw RuntimeExceptions such as NullPointerException or ArrayIndexOutOfBoundsException and there is no way to know it by just looking at the calling code.

That's a bug, not a feature. These errors are often unrecoverable, hence why they are runtime and not checked.

hota_mazi··on Why Rust?
Except Emil is talking about "Java exceptions", not "Java runtime exceptions".

Because Java's checked exceptions have the exact same good qualities that Rust's question mark operator offers.

hota_mazi··on Why Rust?
Erlang doesn't have enums.
hota_mazi··on Trump’s Truth Social now allowed in Google’s Play Store
Because browsers do not own nor control the content they display.
hota_mazi··on Maigret: Collect a dossier on a person by username from thousands of sites
> What tipped me off was the email was sent to firstnamelastname@gmail.com and NOT firstname.lastname@gmail.com.

Dots don't matter in Gmail, so these email addresses are the same:

https://support.google.com/mail/answer/7436150?hl=en

hota_mazi··on Aging programmer
Thank you for the kind words, and I totally agree with your perspective.
hota_mazi··on Software I’m thankful for (2021)
COVID killed more than 6 million people.

That number would have been much higher if there were more people like you, going against medicine and scientific recommendations.

We won this battle despite people like you, so please, leave your bad science, conspiracy theories out of this technical forum.

hota_mazi··on Aging programmer
I've met all kinds.

People who are stellar managers, have extremely high empathy and EQ, understand their engineers, prop them up, help their career, guide them toward both professional and personal growth. They also did not have a single ounce of leadership or charisma in them, very low technical chops, no vision, and not interested in providing team leadership.

I've also met stellar leaders, visionaries, who inspired, entranced teams with every single word that came out of their mouth. They provided short and long term directions, technical and product guidance, motivation. And they were absolutely terrible human managers. Could not place themselves in other people's shoes. Didn't really care about managing the career or growth of people on their teams. Were only focused on matters that did not involve any human feelings.

These kinds of people both have their places and they complement each other wonderfully.

And sometimes, you find these two very distinct, polar opposite qualities, in one single person. But like I said, this is much more the exception than the rule.

And of course, the reality is that most people lie on a spectrum between these two extremes.

hota_mazi··on Software I’m thankful for (2021)
What does mask and COVID have to do with the current discussion? Leave your politics out of this.
hota_mazi··on Aging programmer
> > People who can manage and code (architect, etc.) are truly rare.

> I disagree with this. I think there are a lot of people who don't like being a leader for lots of reasons...

Note that you are talking about different things from OP.

OP was talking about managing, you are talking about leading. These are two very distinct skills. Sometimes you can find both in the same person, but these people are few and far between, since each of these roles is already a full time job.

hota_mazi··on Software I’m thankful for (2021)
You're missing his point.

Downloading any illegal software can compromise your email and bank accounts and basically ruin your life. It only takes one.

hota_mazi··on It's time to halt starting any new projects in C/C++
To save you a click to Twitter's hyper slow website, Russinovich recommends to start new projects in Rust instead.
hota_mazi··on Chess is just poker now
Yes for elastic shocks, but bat to ball is not an elastic hit (well, barely one, to the point where the physics you refer to don't matter).
hota_mazi··on Chess is just poker now
That's actually not true.

The distance the ball flies has a lot more to do with bat speed than ball speed (something like 5mph for 1mph, if I recall correctly).

hota_mazi··on Why do all these 20-somethings have closed captions turned on?
Note: if you want to read the article, copy the title, paste it into Google search, and click on the first result. When you do that, the whole article will be displayed.

If you just click on the link above, WSJ will display a paywall.

This is due to one of Google's requirements that if they index your page, it needs to be fully accessible when clicked.

hota_mazi··on Cppfront, Herb Sutter's proposal for a new C++ syntax
Doh, you're absolutely correct.
hota_mazi··on Cppfront, Herb Sutter's proposal for a new C++ syntax
It's disappointing they would keep that odd << syntax, which has always looked weird to me.

Why not take this opportunity to streamline the calling syntax? Streams are no different than regular function calls, e.g.

cout.output("hello").output("world\n")

hota_mazi··on Beyond the Liquid Tensor Experiment
The mathematicians referenced in this article are indeed fans of the band:

> The name of the challenge was the Liquid Tensor Experiment (LTE), and yes it was a homage to the Liquid Tension Experiment, a band which Scholze is fond of.

hota_mazi··on Apache NetBeans 15
Yup, compare this to the awesome "New and noteworthy" posts that Eclipse publishes for each new version: https://www.eclipse.org/eclipse/news/4.25/jdt.php

This is also probably a reflection that NetBeans is a project on fast path to extinction.

hota_mazi··on Byte Magazine: Declarative Languages (1985)
That's a pretty ridiculous statement.

The 68k ran rings around the 6502 in terms of speed, addressing (well, duh), bus, memory access, ... basically, everything.

The 16 bit Intel competitors were technically inferior to it but... they won out, for a variety of reasons I won't get into here.

The Amiga was a superb machine that I loved with all my heart, but then, Windows 95 shipped and... basically nuked the entire field.

hota_mazi··on Scala isn't fun anymore
That's the very definition of what sleep() does, and the reason why, if you're calling it in an async context, you need to dispatch it in a special "blocking" dispatcher, as opposed to the other regular async calls.
hota_mazi··on Byte Magazine: The C Programming Language (1983)
The magazine(s) made similar statement about every single new technology it came across.

Pascal, CP/M, OS/2, Logo, Smalltalk, etc...

That was its shtick.

Of course some of these predictions were going to turn out to be true.

← PreviousPage 4 of 34Next →