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 EU sends Apple stark warning over USB-C charging on new iPhones
I am one of them. Heck, I have even worked for a wireless charging startup for years :)

Even though I own all sort of wireless charging gadgets, somehow prefer the definite result of connecting a cable compared to putting my phone on a surface and moving it a lil bit to make sure it work and is in/supports fast charging mode. I have of course cables all around me.

mehdix··on Scaling up the Prime Video audio/video monitoring service and reducing costs
Once I was called to a meeting in a sibling department as a cloud advisor. They wanted to migrate to AWS cloud.

The conversation went as below.

- Does your app work fine?

- Yes.

- Do you have any problems?

- No.

- Why do you want to migrate then?

- Silence.

mehdix··on Imgur Updates TOS, Banning NSFW Content
I have leared to ignore any promoted content i.e. ads in my reddit timeline, mostly because they are irrelevant. The app is regardless slow as hell. The Dawn app in comprasion, is extremely smooth and a pleasure to use. I'd guess the difference is the amount of tracking and analytics the official app is trying to do, I'd guess it is also not a native app.
mehdix··on Google has already pulled six products in 2023
IIRC, because Google is the only major cloud provider that made such statement.
mehdix··on Tailwind CSS v3.3
I'm currenlty working on a project which has used styled-componentes extensively. I plan to entirely remove it (and I am considering tailwind or vaniall CSS to replace it) for the following reasons:

1. It increases mental overhead. It is not possible to tell whether a component contains pure CSS styles or adds some functionality, unless you open it and read its code (in that point, it has lost all of its benefit for me). With CSS classes or even HTML style attribute, this distinction is immediately obvious: style vs. function.

2. It clutters the codebase. You'd find all sort of little components sprinkled everywhere.

Both of the above critics could be addressed by implementing a convention, however. For example limiting the use of styled-components to a specific package. The second issue is mostly programmers' fault, not styled-components. However, with CSS I don't have any of these problems to begin with.

mehdix··on Windows needs to stop showing tabloid news
I think KDE would serve users coming from Windows much better. You'd have much better experience out of the box. I have used Ubuntu, Fedor, and Arch Linux with gnome-shell and have rigorously kept my extensions for a few years up and working but eventually got tiered of them breaking with every gnome update and desktop crashing every few days. I switched to tiling windows managers since then such as i3/sway for work and to KDE for personal use (for example with OpenSUSE Tumbleweed).
mehdix··on Pg_jsonschema – JSON Schema Support for Postgres
The article is also a joy to read. Well done.
mehdix··on Rust Is the Future of JavaScript Infrastructure (2021)
We don't even have proper wheels for Alpine, let alone random xyz OS.
mehdix··on Google Search Is Dying (2022)
This is my experience too, every time I'm looking for meaningful results, after searching my bookmarks of course.
mehdix··on Help! Is This Arabic?
Also note that much like Latin script, many different languages use variations of Arabic script. The most notable one would be Persian.
mehdix··on Firefox lost ~16M users since last year
To add another data point, it has been working like charm most of the time for me across five devices (Linux flavours + Android) (granted, sometimes I have experienced glitches, but no deal breakers).
mehdix··on AI chatbots are not a replacement for search engines
Can't agree more.

When using Google & co. most of my time is wasted trying to filter low quality sponsored or high SEO reaults.

ChatGPT gives me an excellent summary of what I wanted to know without all the noise.

mehdix··on Tell HN: Your Android carrier can remotely turn settings on
Not-surprisingly, my rooted Android 9 phone didn't receive any alert, while my non-root device did.
mehdix··on Tell HN: Your Android carrier can remotely turn settings on
IIRC in purism phones baseband is totally/mostly isolated and has no DMA.

Edit typo

mehdix··on PipeWire Support in Firefox
I'm using Wayland, Sway and Firefox combo for a few years now and it works very good, including screensharing. Don't forget to install and enable xdg-desktop-portal-wlr to get the screensharing working on wlroot-based browsers.
mehdix··on Ask HN: 10k hours rule to master anything. Could I switch career when I am 43?
> The journey begins with the next step.

Am I reading a quote from The Stormlight Archive? Life before death, journey before destination.

mehdix··on Tell HN: Twitter suspends arrested Iranian tech blogger’s account
Sorry for my misleading comment. As stated many times, Twitter suspends accounts to protect the activist. So this is in fact fine.
mehdix··on Tell HN: Twitter suspends arrested Iranian tech blogger’s account
I wrote him to edit the top-level comment. Thanks.
mehdix··on Tell HN: Twitter suspends arrested Iranian tech blogger’s account
Yes, I stand corrected. I can't edit my top-level comment, otherwise I would have added an explanation.
mehdix··on Tell HN: Twitter suspends arrested Iranian tech blogger’s account
I did not know this. It is fine, then. Also another comment mentions blocking access to DMs, which makes sense.

I was unable to edit my top-level comment, otherwise I would have added an explanation. Thanks.

mehdix··on Tell HN: Twitter suspends arrested Iranian tech blogger’s account
[IMPORTANT EDIT]: as stated numerous times in comments, this is fine. It is often done to protect victim's account from being further compromised by the adversary, for example for protecting their DMs, or collecting further material from their online activities. So, no need to try unsuspend his account. Thank you.

Jadi (Amirhossein Mirmirani) had 133K Twitter followers. He is a lovely computer geek and open source veteran from Tehran, Iran. He has been active educating youth for many years. He was arrested yesterday.

His account is suspended after his arrest, which is most probably due to fake reports from the cyber army. If you work at Twitter or Facebook, please help unsuspending his account which is vital for him to reach his audience and give him visibility, even when he is arrested. They want to remove his internet presence.

Profile screenshot: https://twitter.com/KavehMadani/status/1577695715131899904/p...

His Website in Persian: https://jadi.net

Instagram (suspended): https://www.instagram.com/jadijadinet/

mehdix··on Elon Musk Proposes Starlink Access in Iran as Protests Spread
The money would probably come from Iranians outside Iran.
mehdix··on Ask HN: Whatever happened to dedicated sound cards?
I think the same applied to 3.5mm audio jacks being removed from smartphones and similar products.
mehdix··on Using the same Arch Linux installation for a decade
How would you folks make sure your system is not compromised? That's my No. 1 concern about my system. Like OP, I'm using my arch for many years now, however I cannot tell whether it's running vanilla arch or not. Unlike NixOS I cannot verify the changes to the state of my system over time and I haven't kept a log of any software installed or any config changes. That's why I plan to replace it and keep a log of future changes.
mehdix··on Technical reasons to choose FreeBSD over GNU/Linux (2020)
For many years I was using gnome shell. Every update meant broken extentions. The system would also crash occasionally after few days on a multi-head setup. Then I switched to a hybrid of Sway and KDE and have been never so happy.
mehdix··on Ask HN: What are you reading for leisure?
The way of the kings by Sanderson, excellent fantasy series
mehdix··on Flipper Zero – Portable Multi-Tool Device for Geeks
ZigBee, Thread and a few others use IEEE 802.15.4 which allows three bands: 868/915/2450 MHz. According to the FlipperZero homepage, it supports two out these three bands: 868 and 915 MHz. So depending on your device, it might work with them too.
mehdix··on EU Digital Markets Act, aimed at Google, Apple, Amazon, approved
Is this potentially breaking apple's walled garden? I wonder wether they will comply at all. Besides, I'm glad to see interoperability mentioned there, perhaps one day we could text from one messenger to another one without being held back by the owner.
mehdix··on FCC: TikTok is unacceptable security risk and should be removed from app stores
Only if the top-dog analogy would have worked in long term. More than often, citizens of wanna-be/wanna-remain top-dog countries find themselves in terrible position as soon as their interests mildly conflicts with those of their nation states and they suddenly become pray to the top-dog itself. One area where you can see this in action is secure communication. When it comes to secure private communications for citizens, suddenly all nation-states, left and right want to excert unlimited control over it and they are united in fight against encryption.
mehdix··on Ask HN: Can I see your cheatsheet?
Like some others, I don't have a list of cheatsheets except my bash history and my browser bookmarks. My bash history atm contains 4575 unique entries (I reset it a few weeks ago). It is like L1 cache to me for accessing most frequently used commands. Beside that I press `*` then Space in browser bar to search my previously bookmarks (I add keywords to them upon bookmarking by modifying the title). Beside these two, nowadays I write Makefiles in every project I work on. That way one can consolidate all commands that otherwise would be forgotten or scattered in configs, in one place.
← PreviousPage 3 of 8Next →