HNHacker News
TopNewBestAskShowJobs

cmehdy

2,133 karma · joined December 12, 2016

submissionscomments
cmehdy··on New 'OtterCookie' malware used to backdoor devs in fake job offers
This seems very similar to yesterday's article about North Korea running similar shenanigans via LinkedIn[0]. Probably good to make it the norm to run these things in a VM. I doubt this requires running on a completely different host yet, given the simplicity of the code.

[0] Analyzing North Korean Malware | https://news.ycombinator.com/item?id=42516568

cmehdy··on Man ran 700 miles to make 'insanely impressive' art on GPS fitness app
He also appears immensely intelligent, motivated and kind, which makes for great content. I'm glad I discovered his channel here in the past.
cmehdy··on Diátaxis – A systematic approach to technical documentation authoring
It all seems close because the terms are muddied in our minds by countless poor instructions over the years.

Their doc actually explains the difference efficiently though :

Tutorials - learning-oriented experiences

How-to guides - goal-oriented directions

Reference - information-oriented technical description

Explanation - understanding-oriented discussion

cmehdy··on Even Microsoft Notepad is getting AI text editing now
Off the top of my head:

- open a file for editing, realize you needed admin rights, npp allows you to relaunch with escalation and keeping the change in memory

- find all gives you a list of items, a count of them, and quick preview of each

- supports the editorconfig format, so inherits rules you've designed for your other IDEs

- colors

- allows tail -f (the eye icon)

- can be extended with plugins (unlike notepad) although the out of the box works well enough for most (unlike vsc)

- less bloated than electron apps, when comparing with any vscode setup you would use for larger developments

- tracks which open files have had a change, lets you choose if you want to reload the file (update contents displayed without reopening the app) or not (helps you save what you're seeing before verifying what might have replaced it)

- lets you see and change encoding very easily

There's more, but I just picked a few things I find useful every day when I need to deal with many windows machines at a midsized company.

cmehdy··on Pushing the frontiers of audio generation
That's how the DJ feature of Spotify talks and it's pretty jarring.

"How's it going. We're gonna start by taking you back to your 2022 favorites, starting with the sweet sounds of XYZ". There's very little you can tweak about it, the suggestions kinda suck, but you're getting a fake friend to introduce them to you. Yay, I guess..

cmehdy··on Un Ministral, Des Ministraux
For anybody wondering about the title, that's a sort-of pun in French about how words get pluralized following French rules.

The quintessential example is "cheval" (horse) which becomes "chevaux" (horses), which is the rule they're following (or being cute about). Un mistral, des mistraux. Un ministral, des ministraux.

(Ironically the plural of the Mistral wind in the Larousse dictionnary would technically be Mistrals[1][2], however weird that sounds to my french ears and to the people who wrote that article perhaps!)

[1] https://www.larousse.fr/dictionnaires/francais/mistral_mistr... [2] https://fr.wiktionary.org/wiki/mistral

cmehdy··on Alan Turing's 1950 manual for the Mark I electronic computer [pdf]
All Zachtronics games are a strong recommend for anybody who doesn't already know them.

Exapunks and Opus Magnum are probably the more casual ones to get into, but everything they make is awesome and pretty challenging.

cmehdy··on The disunity of consciousness in everyday experience
The doorway effect: https://en.m.wikipedia.org/wiki/Doorway_effect
cmehdy··on Windows Control Panel set for deprecation
One at a time, low text density, advanced settings obfuscated at best and removed at worst, quick shortcuts (cpl and such) won't exist anymore. The settings are a fantastic way to solve absolutely nothing by clicking on very large buttons.
cmehdy··on Psilocybin desynchronizes the human brain
Paychonautwiki has been classifying effects in a somewhat similar fashion for years/decades now: https://psychonautwiki.org/wiki/Geometry
cmehdy··on Show HN: ChatGPT UI for rabbit holes
Truly the work of delve elopers.

(I applogize for delving into what one might consider the realm of superficial comments)

cmehdy··on Did GitHub Copilot increase my productivity?
In a way that seems a bit like delayed auditory feedback: https://en.m.wikipedia.org/wiki/Delayed_auditory_feedback

And I wonder if different types of people react to it as differently as the stutter/non-stutter dichotomy.

cmehdy··on Did GitHub Copilot increase my productivity?
In a way that seems a bit like delayed auditory feedback: https://en.m.wikipedia.org/wiki/Delayed_auditory_feedback

And I wonder if different types of people react to it as differently as the stutter/non-stutter dichotomy.

cmehdy··on Simulating Jupiter
This article was a joy to read, both for explanations and visuals. I'm not knowledgeable at all in visual generatio but I'm now wondering about other uses to extend the method.

What other shapes can be coupled (with the technique to create those various storms) in order to create large-scale transitions, where for example a large vortex would follow a sigmoid over the other zones.

Or even in what subtle ways could the visuals follow the envelope of a Hans-Zimmeresque audio background..

Thanks for having shared this blog!

cmehdy··on A proof-of-concept Python executable built on Cosmopolitan Libc (2021)
Same here.

Wrote a simple program to which I added Fire to parse arguments as a CLI, and Gooey/Tkinter for a GUI on top of it. To get a working standalone .exe file which does not require folders on the side, Pyinstaller did the job. Unfortunately it also triggers antivirus scans for some AVs..

cmehdy··on What John von Neumann did at Los Alamos (2020)
Thank you for sharing this, beautiful and tragic as it is.
cmehdy··on Is the frequency domain a real place?
This does read like a joke, I had never heard of it either and I'm wondering if many people do use this at all..

Operations on cepstra are labelled quefrency analysis (or quefrency alanysis[1]), liftering, or cepstral analysis. It may be pronounced in the two ways given, the second having the advantage of avoiding confusion with kepstrum.

cmehdy··on Magnitude 7.4 Earthquake 18km SSW of Hualien City, Taiwan 34km depth
The entire east coast of Taiwan is absolutely gorgeous, and Taipei - Yilan - Hualien isn't too long of a journey. If you can rent a motorbike and go further along the coast you will also enjoy a lot of nature right between mountains and the ocean.

I also hope to get there again someday, I haven't had my fill of pineapple cakes either.

cmehdy··on Ask HN: How do you use AI for software engineering?
This is exactly how I'm seeing it right now. Those bots are generally still wrong in some ways, but I can generally spot it in seconds and rephrase those parts after a bit of back and forth. That is still a bit annoying currently, because they end up re-printing the entirety of long messages for singular changes, and they're not so good at changing subtle elements reliably despite talking with absolute certainty.

I'm currently dealing with immense legacy tooling (90s to 2010s) and codebases (C, Cpp, C#, Python, JS) in a central team that fell apart a year before I joined. They had 15+ people with diverse profiles who made snippets and undocumented solutions everywhere, and pretty much all quit at the same time due to working conditions at that time. Needless to say it's a daunting task to try and understand everything, even more so when you discover it all as it breaks down and prevents 500 employees from using a functionality you didn't even know existed.

While I can survive and navigate just fine the situation, it's been very helpful to use LLMs to run a parallel effort that helps me understand just why the hell somebody wrote a self-altering stored procedure in a 800GB MsSQL DB which fails due to poor design and high recursion. Sometimes it is just about fixing some syntax, but often enough it is about managing expectations and offering replacement solutions which create less technical debt - with minimal interruption to the entire company's workflow.

It isn't abnormal for my day to require reverse engineering and fixing a 500-line stored procedure, a Go CLI, multi-CI imbricated pipelines, IIS websites, cronjobs, and even c-shell scripts (!). That's when I'll occasionally throw a big pile into chatgpt as a bit of a glorified rubber ducky. Also tried local LLMs but my 3070ti can't sustain any worthwhile model.

Many of us here are in a very unique position of having seen the entire stack - from quantum tunneling all the way up to your CI badly parsing a groovy script or why an endlessly long JS program is stumbling over itself because its writer didn't factor in any estimate of runtime complexity. For me this is a beautiful and lucky thing to see through all those orders of magnitude with a certain equanimity, and I kinda wish I could find it in my own colleagues as much as I'm already seeing it in the illusion of competency created by LLMs.

cmehdy··on Home Lab Beginners guide
Proxmox is incredibly helpful especially for homelab beginners familiar with Linux. You can easily create and destroy various things as you learn. Only thing that's not so easy to use is storage in general : it's very difficult to truly understand the consequences of various choices and therefore it's kinda difficult to properly set up the backbone of a NAS unless you're fairly comfortable with zfs, lvm, lvm-thin, re-partitioning things, etc..
cmehdy··on Stress reduction techniques for high stress operations (2023)
Generalized anxiety disorder here. It stresses me out to be so square about breathing, as if I'm not allowed to do it when I feel the need to do it. Almost feeling like I'm strangling myself if I keep it up for more than a cycle or two.

Funny how humans work that this can be experienced so differently I guess!

cmehdy··on I designed a cube that balances itself on a corner
> Like any experienced controls engineer, I spent a few days flipping the signs of various signals before I got them right.

As somebody with a M.Sc. in controls & signal processing (who ended up doing way more boring things), I always figured that I was doing that because I wasn't experienced enough. Turns out I also had the sign wrong on that one all along!

cmehdy··on Microsoft Teams outage causes connection issues, message delays
It is the worst tool by far on any computer I've used in the past 30 years.

Regularly disconnects Microsoft's own headsets and saturates CPU until the headset is unplugged and re-plugged, good job selling your products together without testing them.

Can't use triple backticks in messages for blocks of code anymore, it never works.

Can't always use single backtick either, unreliable at best.

Pasting will give crazy formatting sometimes and blocks of code sometimes, you can't choose when. Will regularly trim CRLFs, leaving you to input everything manually.

"Inserting" code (instead of pasting it like a normal person) makes the TITLE they force you to input take most of the space, it's like they thought long and hard about how to obfuscate useful information at every turn.

Switching tabs and conversations take a noticeable time, even on a decent beast (12th gen i7, rtx 3070ti, 64gb ddr4). Doing anything is sluggish in that app.

When on a call with somebody sharing their screen, can't hide the stupid vertical bar with names of other people taking 20% of the real estate.

Can't share more than one screen discord-style so half the time colleagues will be quickly shown something, and then have to be reminded to share their own screen again.

Link embeds are slow to parse, office embeds offer more options but are slow to open either in-app or in browser.

Speaking of links, any "copy link" is uncertain for users: sometimes it's a crappy useless popover, sometimes it's a link you don't realize the other user will need permission for, and sometimes it has copied without really notifying you. Awesome.

New teams is basically old teams but now your computer has twice the software and shortcuts.

Testing your sound setup requires a painfully slow call with the crappiest Skype-inspired bot, the test feedback itself being less than 30% of the entire time wasted

And the sound is just noticeably worse than literally every other service (Facebook messenger, Google calls, slack, discord..)

Once teams is on a computer, some magical shortcut (you will only ever press by mistake while doing other things) will pop up a window trying to get it integrated further into your O.S.

Searching for messages is extremely painful, there's no robust history in that bar at the top and you'll find yourself searching multiple times over sometimes, especially as you can't preview much so you try to find that one message from 6 months ago over and over again with new searches.

Setting appointments can't tweak the exact timing the way outlook's calendar does (down to 5min increments if wanted).

Can't pin more than a few teams. Good job making the tab that your app is named after the one people want to avoid the most.

I could go on but I'm not working today and already have enough sadness incurred by that horrible piece of junk 5 days a week..

cmehdy··on Ask HN: Who else is working on nothing?
This is also in some way where Camus ended up.

I've faced a beginning of life pretty loaded in trauma, and a young adult life where self-inflicting some more was a comforting behaviour in the face of the absurdity of life. When contemplating suicide up close, in some of the aftermath I saw Camus' thesis as a pretty decent way to figure out some sort of "philosophy of continuing to exist".

https://bigthink.com/personal-growth/the-meaning-of-life-alb...

cmehdy··on Ask HN: What has quantum computing achieved so far?
Do you have good recommendations to learn about this stuff? I've covered a decent amount of information theory, signal processing, systems control and generally relevant concepts in classical physics (boltzman, thermodynamics, the beginning of a hint of quantum chemistry). Your mention of everything being energy resonates (hah) with me of course, but quantum computing remains entirely elusive to me as both a structured framework of anything related to qubits and actual real-world things that will be made with it. Almost seems like quantum computing is so orthogonal to classical computing that you can only wrap your head around it as much as you can perceive a hypercube.
cmehdy··on An interactive guide to the Fourier transform (2012)
We went from mostly fearing vibrations in a mechanical world to harnessing them in a chemical and electrical world. It entirely reshaped our relationship to the world and perhaps so fast that our brains haven't entirely caught up yet. I wonder how many well controlled oscillations of mostly electrical charges happened between me swyping this and you hearing it in your head. We rely on them instead of fearing them now.
cmehdy··on Light No Fire – A Fantasy Game from the Makers of No Man's Sky
That's because they've hardly changed anything from the previous game in order to make this, which will be obvious to anybody who has played NMS much. I appreciate the effort they've put into improving the game over a decade but I'm really not sure anybody wants to play the same game but basically on a smaller scale and with what appears to be the same limitations and visual style. I hope for their sake that I'm wrong.
cmehdy··on Ask HN: Who needs help this holidays?
I'm not doing great at all myself these years, so I know all too well how bad things can get for somebody. I'm able to give some funds (however little I can put together, i.e. $50 CAD) to contribute to what you're doing OP. If you have a place for a donation do let me know. I'm in Montreal and can also do my best to help if there's something local to here.

It's a really cool idea you have there and I wish you the best

cmehdy··on Tinnitus linked to undetected auditory nerve damage
Have you ever tried the back of the head tap thing? https://lifehacker.com/this-weird-trick-might-give-you-brief...
cmehdy··on Almost half of Californians speak a non-English language at home
I think most Europeans agree we're doing it wrong, but we disagree as to where the solutions are. Generally left leaning parties will want to create support for immigrants through money, education, and some nebulous flexibility with repression. Right leaning parties will want strict adherence to the ideals of the Republic, more enforcement/repression when any transgression is observed, and some nebulous perfected criteria to "let people in" or not. For a decent amount of countries currently the right leaning ideology tends to be taking hold.
← PreviousPage 2 of 17Next →