HNHacker News
TopNewBestAskShowJobs

asalahli

299 karma · joined April 1, 2018

submissionscomments
asalahli··on Instead of “auth”, we should say “permissions” and “login”
Identification and authentication are different, though. You identify yourself to a website as a specific user (e.g. using a username) and the website in turn authenticates your claim, i.e. verifies that you are in fact the user you claim to be (e.g. using that user's password).
asalahli··on Can turning office towers into apartments save downtowns?
Presumably because you're awake while working and can notice problems when they happen. Not so much when you're sleeping.
asalahli··on Ask HN: Which books/resources to understand modern Assembler?
I started with this excellent NASM tutorial[0] then went straight to Intel manuals.[1]

0. https://cs.lmu.edu/~ray/notes/nasmtutorial/

1. https://www.intel.com/content/www/us/en/developer/articles/t...

asalahli··on After 14 years in the industry, I still find programming difficult
I genuinely thought it meant The Fucking Article until now (like RTFM)
asalahli··on SSDs have become fast, except in the cloud
GP is probably refferring to blurbs like these

> Amazon SimpleDB measures the machine utilization of each request and charges based on the amount of machine capacity used to complete the particular request (SELECT, GET, PUT, etc.), normalized to the hourly capacity of a circa 2007 1.7 GHz Xeon processor. See below for a more detailed description of how machine utilization charges are calculated.

https://aws.amazon.com/simpledb/pricing/

asalahli··on In Defense of Simple Architectures (2022)
Well I still need to understand what it is doing in order to radically simplify it and still have it do the exact same thing.
asalahli··on Almost every infrastructure decision I endorse or regret
> Our backups to S3 apparently don’t work either: the bucket is empty

It took them a data loss incident to find this out? This is just one of the many red flags mentioned in the article, IMO this incident isn't about relying on cloud backups vs self managing it

asalahli··on Billion file filesystem
> [...] a quick script to put together the index.

> Your script could also add use a very simple template for each page, template in which you can use your own CSS. (here, it is an external file containing 142 lines of straightforward CSS).

> Yes, I did it for my own blog [...]

So, you created a custom engine, which is what parent was asking about.

asalahli··on Paul Biggar removed from CircleCI board
Companies don't usually announce performance related firings publicly on Linkedin.
asalahli··on How to Lose a Library
Ah, all I remember was printers not working at the time. I didn't know they lost stuff. That sucks.
asalahli··on Ask HN: What apps have you created for your own use?
I have been looking for something exactly like this for years!
asalahli··on Who makes the most reliable new cars?
I've heard this story ever since I was a kid, but never been able to find a credible source. I'm compelled to believe it's no more than a story, at this point.
asalahli··on AirJet makes a MacBook Air perform like a MacBook Pro
That link is for spare batteries. I believe regulations differ for "installed" batteries.
asalahli··on GameMaker to be free for non-commercial purposes and have one-time fee license
> the concern here is about them taking all the previous work

Not unless they retroactively change the license on said previous work, which I'm pretty sure they cannot.

asalahli··on Rob Pike’s Rules of Programming (1989)
I prefer the term Informatics over Computer Science for this reason.
asalahli··on Let me tell you about me Gear Fabrication Syndrome
Please also tell us about your gear fabrication process!
asalahli··on Write more "useless" software
Woah, let me know when the kickstarter campaign for a physical version is live!
asalahli··on Write more "useless" software
There was a talk by Julia Evans recently shared here on HN[0]. A great talk overall, but I particularly liked this bit about "best practices" which I think describes the issue beautifully.

> One way I see people kind of trying to share terrible things that their computers have done to them is by sharing "best practices".

But I really love to hear the stories behind the best practices!

If someone has a strong opinion like "nobody should ever use bash", I want to hear about the story! What did bash do to you? I need to know.

The reason I prefer stories to best practices is if I know the story about how the bash hurt you, I can take that information and decide for myself how I want to proceed.

Maybe I feel like -- the computer did that to you? That's okay, I can deal with that problem, I don't mind.

Or I might instead feel like "oh no, I'm going to do the best practice you recommended, because I do not want that thing to happen to me".

TLDR (by me): Don't share best practices, share your experience and let others draw their own conclusions from that.

0. https://news.ycombinator.com/item?id=37791002

asalahli··on Write more "useless" software
To be frank, I find the concept of "best practice" a little dogmatic, and a little useless, at least the way I've seen that term thrown around.

In reality, every project is different in its goals and constraints and requires different trade-offs.

Is containerization a best practice? Well it depends on the complexity of deployment. What about unit tests? Code reviews? CI/CD? All of them depend on the project and its real world goals as you said. Which begs the question of whether "a best practice" even means anything.

Anyways, I agree with both you and penjelly. I was just commenting on the fact that penjelly does in fact seem to agree with you as tommychillfiger said.

asalahli··on Write more "useless" software
> i dont consider "not using a database" as a "best practice".

Neither does the GP. In fact that's the point of the comment you replied to - not using a database despite using one being considered a best practice.

asalahli··on Ask HN: What hobbies have you picked up recently?
Smoking meat is not possible in Singapore? Is it illegal?
asalahli··on Fast and Clean: Auditable high-performance assembly via constraint solving [pdf]
Nor with the Unison file synchronizer.
asalahli··on My personal C coding style as of late 2023
Because it can be mistaken for 8-bit signed integer.
asalahli··on Quake related work logs (1996)
Edsger Dijkstra calls it Mozart vs Beethoven style of programming in an interview.

https://youtu.be/-Uae9_pgZzE

asalahli··on When allocators are hoarding your precious memory (2021)
> GCs typically pay the price at the tail end (deallocation, compaction) but have absurdly fast allocators (a handful of instructions)

I don't know how GCs work. Don't they still need to find free memory somehow during allocation? I always thought of GCs as manual memory allocators + automatic deallocations

asalahli··on Tell HN: Please stop sending AI-generated job applications (whoishiring threads)
How does that have anything to do with the OP and their company? A bad behavior in the industry doesn't justify taking the revenge on one small company. If anything, it creates a negative feedback loop.

> Please don't do this. I spend time going through the resume, the various links in it, and then responding to everyone who applied. But this time, with so much AI-generated verbiage I simply don't want to.

Congratulations, now there's one more company "that uses automated emails for rejection". And rightly so, if you ask me.

Disclaimer: I have no affiliation with OP or their employer.

asalahli··on Netflix is planning to raise prices again
I think that's only partially true. There's a reason TikTok (and Instagram reels) is extremely popular - it keeps feeding the user content of its choosing.
asalahli··on Always Bump Downwards (2019)
I don't follow. Are you saying `new_ptr & -align` is equivalent to `new_ptr & !(align - 1)`?

Edit: I get it now. My brain was interpreting NEG as NOT for some reason.

asalahli··on Always Bump Downwards (2019)
The rust code for rounding down is given as

    let new_ptr = new_ptr & !(align - 1);
But I don't see rdx decremented before being negated and AND'ed with rax, in the assembly. What am I missing?
asalahli··on What if OpenDocument used SQLite? (2014)
> I like taking the approach of CouchDB where the only correct way to close the system is to crash it.

The term you're looking for is (aptly named) crash-only software.[0]

0. https://en.m.wikipedia.org/wiki/Crash-only_software

← PreviousPage 3 of 6Next →