HNHacker News
TopNewBestAskShowJobs

ibash

883 karma · joined May 19, 2013

islam.sharabash@gmail.com
submissionscomments
ibash··on Show HN: Aberdeen – An elegant approach to reactive UIs
Modern react developers forget that if statements exist. When react was class based it was trivial to do:

  render() {
    if (this.dontNeedToRender) {
      return null
    }
  }
Now, because hooks can't be skipped, react developers jump through many hoops to use an if statement during rendering.
ibash··on How to Run Python in Production
If you don’t use `async def` and you are using fastapi it’s easy to accidentally block the event loop.
ibash··on Oldest Chromium issue fixed after 17 years
April fools?
ibash··on Apple needs a Snow Sequoia
> this is not something an engineer tasked with fixing an outage should be making the decision on

I don’t get this at all.

I’d much prefer a team of highly empowered and highly responsible engineers than impotent engineers who need hand holding in case they make a mistake.

ibash··on Next.js version 15.2.3 has been released to address a security vulnerability
Middleware runs server side doesn't it? tbh I haven't used nextjs middleware. But in many frameworks have used middleware that provides overarching access control.

For example having all routes under `/admin/*` automatically return an error if the user is not an admin, and then the individual routes don't need to be concerns with access control.

ibash··on The Worst Programmer I Know (2023)
Maybe.

There’s also folks that pair because they’re a crutch for one or two other engineers. The other engineers never improve or are let go, but softly slow down the team.

There’s also the folks that pair because their code doesn’t make sense on its own. Or they have some config files they’ve refused to check into the repo, etc.

Pairing makes them feel valuable.

ibash··on The Worst Programmer I Know (2023)
That’s not a good excuse
ibash··on Next.js version 15.2.3 has been released to address a security vulnerability
Why shouldn’t middleware be responsible for access control?
ibash··on Ask HN: How should junior programmers use and/or not use AI for programming?
Engineers that only rely on docs never reach their full potential. Reading the source is a must.

I think junior devs often don’t realize they should be reading the source of the libraries they use.

ibash··on Numbering should start at zero (1982)
It wasn’t clear to me what “u’re” was and I wouldn’t have understood without the comment. I’m a native English speaker.
ibash··on Google's 10-year-old Chromecast is busted, but a fix is coming
I replaced my chromecast with a wiim pro earlier this year. So far the wiim is just as reliable and hassle free.
ibash··on Gemma 3 Technical Report [pdf]
This could be a historical accident.

Early models were censored, making uncensored releases have bad optics.

If the first models had been uncensored, no one would care if another was added.

ibash··on Gemma 3 Technical Report [pdf]
Yes

> If you want to prompt with more than one image, you must include a <start_of_image> tag for each image included in your prompt.

From here: https://github.com/google/generative-ai-docs/blob/78688755db...

ibash··on The Nightmare Bicycle
There's a similar trend in devtools that's absolutely frustrating.
ibash··on How Hans Bethe stumbled upon perfect quantum theories
Lol at the cover image.
ibash··on Render raises $80M in Series C financing
Modern heroku. The toolset is standard for web these days (eg docker, etc) but you don’t need to roll your own devops.

It might be hard to understand the value prop because it seems like a commodity… but that’s exactly the value prop: a commodity that works well, is priced right, and you don’t need to worry about using some weird toolset or rolling your own infrastructure.

ibash··on Ask HN: A friend has brain cancer: any bio hacks that worked?
Because it’s actively harmful.
ibash··on Ask HN: Work on robotics or agents?
Pick the team that most impresses you with their expertise. That sounds like the robotics company.
ibash··on Ask HN: A friend has brain cancer: any bio hacks that worked?
You should ask them if they want you playing doctor.

I have a chronic disease, not fatal, and totally manageable. But the most annoying thing is when someone finds out and suddenly pretends to be the expert.

Of course my doctors and I investigating it for years were completely wrong! I should’ve ate more apricots!

Please just check with them if they want their limited time spent like that.

ibash··on Soldering the Tek way
Electronics is not for you
ibash··on 3D-printed neighborhood nears completion in Texas
3d printers haven’t changed that much… they’ve gotten easier to use, sure, but the materials and quality we’re printing is about the same as 10 years ago.
ibash··on Cognitive load is what matters
State is not the enemy.

Encapsulated and managed state is just fine.

ibash··on A Revolution in How Robots Learn
Would you mind sharing which readings you found most useful in that review?
ibash··on AI can now create a replica of your personality
That’s okay, I hardly have one, anyway.
ibash··on Ask HN: Best non-fiction book you read in 2024?
Oh no! Is it that time of year again?
ibash··on Non-elementary group-by aggregations in Polars vs pandas
Go with polars, you can always convert a polars data frame back when needed.
ibash··on [dead]
Who wants to guess how long until hn censors this?
ibash··on MrBeast's Faux Philanthropy
The split isn’t on intent. It’s on effectiveness.

In one camp is ineffective philanthropy pretending to be effective. In the other camp is actually effective philanthropy.

What makes is problematic is when the ineffective philanthropist is using the philanthropy to line their own pockets.

ibash··on Startup claims to have achieved two-way lucid dream communication
Link to the actual paper: https://psycnet.apa.org/fulltext/2023-53285-001.pdf?auth_tok...
ibash··on The story of web framework Hono, from its creator
Hono is fantastic and I’m very glad it’s catching on.

For my last project I chose hono over trpc and ts-rest because I couldn’t figure out how to get the trpc and ts-rest type system to play nice with my other libraries.

I’m happy to see more frameworks have a “works out of the box with no config” philosophy, like bun.

← PreviousPage 2 of 9Next →