HNHacker News
TopNewBestAskShowJobs

mehdix

1,133 karma · joined April 21, 2016

[ my public key: https://keybase.io/mehdisadeghi; my proof: https://keybase.io/mehdisadeghi/sigs/EBasxSETumhSnkQaDA3UXrQIO1YfVXb6QVpLTsdSSso ]
submissionscomments
mehdix··on Backdoor in upstream xz/liblzma leading to SSH server compromise
It is an excellent technical write-up and yet again another testimonial to the importance of keeping things simple.
mehdix··on Daniel Kahneman has died
For me, among other things, Thinking, Fast, and Slow cracked the implicit notion that my intuition is always right by demonstrating how easily it could go wrong.

RIP Daniel Kahneman.

mehdix··on -2000 Lines of Code (2007)
haha! I did use regex to find and delete repetitive patterns of code with slight variation that would be carried out by the aforementioned function.

I wish I could write such a monstrosity though :)

mehdix··on -2000 Lines of Code (2007)
I was giving myself RSI by deleting <12000 lines of copied comments (only misleading noise, explaining what was happening) and <4000 LOC (replaced with a 120 LOC in a single fn) when I reverted to using regex while sanitizing a badly bloated codebase.

Can feel you right there.

mehdix··on Difftastic, a structural diff tool that understands syntax
Not quite what you're looking for, but checkout bullshit.js[0].

[0]: https://mourner.github.io/bullshit.js/

mehdix··on Bluesky announces data federation for self hosters
> If you hadn’t previously noted the difference between a living and a dead butterfly, I’m afraid you will now begin to see dead butterflies EVERYWHERE, as I do.

I didn't know this (as most of us I'd guess). It was an interesting read though, thanks.

mehdix··on Z – Jump around
Z is part of my dotfiles. Everywhere I clone them, Z would be available immediately.
mehdix··on OpenWRT turns 20; wants to launch their "first upstream supported" design
That's fantastic news.

OpenWRT-based cheap travel routers have been a life-saver for me during my trips, specially to countries behind Iron Curtain firewalls.

I'll buy at least one as soon as it comes out.

mehdix··on Mozilla 2023 annual report: CEO pay skyrockets, Firefox market share nosedives
Interestingly one reason I use firefox is because of its builtin synching. My tabs, bookmarks, and passwords are synced. Extensions could also sync their preferences (not sure about data). I also heavily use their "send tab to device" feature, which allows me to send tabs to specific devices to act on them later.
mehdix··on 50 Algorithms Every Programmer Should Know (Second Edition)
In order to consume such algorithmus in any form, one should first know whether such algorithms exist at all. Moreover they should be able to figure out which one applies to their problem best.
mehdix··on Using the FDAP Architecture to Build InfluxDB 3.0: Flight, DataFusion, Arrow
I was on Influxdb 1.8 when they introduced 2.0 and flux. I'm glad I refused to switch since it's deprecated in 3.0.
mehdix··on Baresip – An Open Source modular SIP User-Agent with audio and video support
Baresip is the single cleanest SIP client/library that I've ever found. And there aren't many.
mehdix··on My journey away from the JAMstack
Because I wanted to learn more about CGI. Below is the script, I'd appreciate pointing out any weaknesses in it.

https://raw.githubusercontent.com/mehdisadeghi/mehdix.ir/mas...

mehdix··on My journey away from the JAMstack
> But you did spend time learning unix, nginx, bash, CGI, SQLite, etc.

True, and it's been a rewarding decision ever since. For a corporate or a community Netlify or similar JAMstack content management systems might make sense, but for a indie developer? I don't think so.

mehdix··on My journey away from the JAMstack
I used to have my static website on Netlify. I was using their form submission API and webhooks to trigger AWS lambda functions to run some scripts and send emails to users upon replying their comments. The website would then be rebuilt using new comments.

I replaced all this crazy setup with vanilla tools. I moved my webpage (a bunch of html pages and other files) to my VPS. I modified nginx to submit incoming html form submissions to my CGI bash script which then in turn adds them to a sqlite database and emails me.

There is no automatic rebuild. I wrote makefiles to rebuild and publish my pages in a few seconds.

It turns out I didn't need anything else, and above all I didn't need to spend time learning someone else's APIs.

mehdix··on Google is already pushing WEI into Chromium
Firefox is my daily driver on all my computers and smartphones. There are some hiccups, often with obscure websites and airlines. Most of them better be avoided anyways. However, Slack and Microsoft Teams don't function properly in Firefox.
mehdix··on Microsoft faces antitrust scrutiny from the EU over Teams, Office 365
Slack added threads somewhere last year iirc.
mehdix··on Arbitrary code execution in Safari, known to be actively exploited
The CVE[0] is still reserved and yet to be updated.

0: https://www.cve.org/CVERecord?id=CVE-2023-37450

mehdix··on Self-hosted photo and video backups directly from your mobile phone
I use DecSync in combination with Syncthing to achieve that.
mehdix··on Panel with photovoltaic material layered on silicon hits 33% efficiencies
It'd be in user's best interest but not corporation's best interest.
mehdix··on If PEP 703 is accepted, Meta can commit three engineer-years to no-GIL CPython
no GIL (Global Interpreter Lock)
mehdix··on AlmaLinux – Our Value Is Our Values
Perhaps interesting, they also acquired rancher (makers of k3s).
mehdix··on Over 100k ChatGPT Account Credentials Made Available on the Dark Web
I think the AI gold rush has just begun, and we are yet to see much more.
mehdix··on Everything must be paid for twice (2022)
> The same is true of the time investment.

One person once told me "urgency has no price." i.e. time is priceless, as cliche as it looks like. For me in the long run, the cost of time I invest in the "consequence" of my decisions dwarfs all other costs.

mehdix··on Counting Russia's dead – and what it says about the changing face of the war
Sentenced to nine years in prison when on parole for a previous eight year conviction, while having a child and a disabled sister to care for compared to fighting for wagner for six months to be free again.

Not defending their actions, but I can see how that offer works on most human minds.

mehdix··on Everything must be paid for twice (2022)
It was a good reminder.

> People don’t walk around with anti-résumés telling you what they have not studied or experienced (it’s the job of their competitors to do that), but it would be nice if they did.

I can resonate with this one. Over the years I have learned that things a person NOT do, is more important compared to what they do.

Thanks for sharing.

mehdix··on Everything must be paid for twice (2022)
I find "paying twice for things" a nice analogy. Over the years I have been unconciously paying more attention to the second price, and often ignore the first one (obviously I'm getting older and have less time to waste). "will this thing last long enough?", "will it break when I most need it?", and "is it worth my time?" are some questions I ask myself when purchasing or choosing something new. It has had a net positive outcome for me.
mehdix··on Reddit is removing moderators that protest by taking their communities private
This was exactly my experience too. Their app is also optimized toward that end, ad-riddled, laggy, and privacy-invasive (the green online dot, bombarded my pi-hole with requests). Their web is the same, just pushing for the app and slow. I have not been on reddit on the past few days, and perhaps this is my chance to put my time into better use, including more HN again.
mehdix··on Gandi.net – Pricing Update
I received the announcement email today. I understand and appreciate them offering the email service for free for many years. It's a lot of work and I was always wondering how they manage to offer email hosting for free.
mehdix··on SQLite builds for WASI since 3.41.0
Aren't all those potential limitations, in fact their strengths? They are eating their own dogfood, which works for them. That sounds great to me.
← PreviousPage 2 of 8Next →