Better HN
topnewbestaskshowjobs
Log inSign up

mahmoudimus

1,957 karma · joined Jan 11, 2010 (16y ago) · 446 submissions

Follow me on X. @mahmoudimus. https://x.com/mahmoudimus

mahmoud -AT- linux.com

[ my public key: https://keybase.io/mahmoudimus; my proof: https://keybase.io/mahmoudimus/sigs/xWN5Ksr0FSZ70fEGJRkzT5AjDpo0grEEUwToqbRXCSI ]

currently: working on something new

previously:

- cofounder/ceo @ verygoodsecurity.com / vgs.io - cofounder/cto @ balanced (ycw11)

Submissions

comment 3mo ago · link · parent

in python:

  - `import json` allows read/write.
  - easier to use than `import configparser`
  - allows writing vis-a-vis `import tomlib`
that's honestly why.

comment 6mo ago · link · parent

They charge a surcharge when you pay by card, don't they?

comment 6mo ago · link · parent

can knowledge then be queried via tool? :)

comment 6mo ago · link · parent

works for me:

input: i need to contact my boss i will be late. output: [{"name":"send_email","arguments":{"to":"boss@company.com","subject":"Running late","body":"I will be late for the meeting."}}]

it did have the send_email tool on the left hand side though

comment 8mo ago · link · parent

oh fascinating. i just finished reverse engineering Aegis and now working on their newest Eidolon. pretty cool technology.

comment 8mo ago · link · parent

Seconding Mullvad. I am paranoid and I think they're trustworthy

comment 9mo ago · link · parent

I see the vision here. I think this is extremely needed.

comment 9mo ago · link · parent

I think you're referring to this one: https://github.com/jhjourdan/C11parser

9.

Show HN: A header-only C++20 compile-time assembler for x86/x64 instructions(github.com ↗)

2 points · by mahmoudimus · 10mo ago · discuss

comment 11mo ago · link · parent

Windows ARM builds are available on their CDN.

comment 1y ago · link · parent

Are the switches bad? I recently replaced the switches on my mouse as I had the dreaded double click problem and it was unusable. Then they stopped responding. So I just did something similar to the OP, desoldered and soldered new switches and the mouse was as good as new.

comment 1y ago · link · parent

there is, it's called governments. however this technology is so slow that using it in mission critical systems (think communication / coordinates during warfare) that it is not feasible IMO.

the parent post is right, confidential compute is really what we've got.

comment 1y ago · link · parent

Cursor does. It tells you how many tokens right above the chat box in the upper right hand corner.

comment 1y ago · link · parent

Who is better for that tab completion?

comment 1y ago · link · parent

I think most package systems are going to start, if not already, facing real supply chain attacks. The node ecosystem, from an attacker's lens, had quite a heavy leaning ratio of non-security conscious users which makes a better breeding ground for exploitation.

comment 1y ago · link · parent

I have largely avoided the entire typescript / JavaScript ecosystem specifically because I don't want to deal with node or its ecosystem. It's just so confusing with yarn, npm, npx, then the build systems gulp, grunt, webpack, etc etc - felt very overwhelming.

Yes, if I spent more time learning these things, it would become simple but that seemed like a massive waste of time.

comment 1y ago · link · parent

I hate on Tiobe as well but it is a good benchmark for world wide adoption commercially.

18.

Breaking the Sorting Barrier for Directed Single-Source Shortest Paths(arxiv.org ↗)

17 points · by mahmoudimus · 1y ago · 2 comments

comment 1y ago · link · parent

I disagree. It's an important project. It's not about Windows per se, but it's amazing to have a source available implementation of Windows internals. There are some really interesting use cases for it that are pretty important.

comment 1y ago · link · parent

Ghidra is actually a suite of reverse engineering toolkits, including, but not limited to a disassembler, a decompiler and a debugger interface that interfaces with many debuggers, among other neat things.

A disassembler takes compiled binaries and displays the assembly code the machine executes.

A decompiler translates the disassembled code back to pseudocode (e.g. disassembly -> C).

A debugger lets you step through the disassembly. Windbg is a debugger which is pretty powerful, but has the downside of a pretty unintuitive syntax (but I'm biased coming from gdb/llvm debuggers).

Both the MCP servers can probably be used together, but they both do different things. A neat experiment would be to see if they're aware of each other and can utilize each other to "vibe reverse"

comment 1y ago · link · parent

Hims is one.

comment 1y ago · link · parent

I started fresh from Rails 8, so maybe that's why I didn't deal w/ that migration problem. I'm sorry it was stressful :(

comment 1y ago · link · parent

Shifting to solid queue, backed by your rdbms, is more boring than using redis. Successfully deploying an app without anything but a database server is pretty powerful. Everything just works. I would say that's pretty boring :)

comment 1y ago · link · parent

If you had asked me this question 15 years ago, I would've said never use Rails. I am a diehard python developer, with experience in Java, Go and C++.

I am currently building my next startup with a friend of mine on Ruby and we are using Rails. With cursor/AI-assistance, it's the most productive I have felt in a while. Everything just works. Highly recommend Rails 8+.

comment 1y ago · link · parent

Not much has changed, except there are more entrants. Binary Ninja, Ghidra, radare (last two being open source). For debugging, there's x64dbg. Some use windbg and gdb (for non windows os), but it still is mostly IDA as king though the others are catching up.

I evaluated entering the space by building something with AI native however, the business case just didn't make sense

comment 1y ago · link · parent

There's some other cool tricks you can do, where you symbolically execute using angr or another emulator such as https://github.com/cea-sec/miasm to be able to use control flow graph unflattening. You can also use Intel's PIN framework to do some interesting analysis. Some helpful articles here:

- https://calwa.re/reversing/obfuscation/binary-deobfuscation-...

- https://www.nccgroup.com/us/research-blog/a-look-at-some-rea...

comment 1y ago · link · parent

I have been doing a bit of reverse engineering on a popular Horde/Alliance based MMO game and it follows almost the exact same steps (including the FNV32 export hashes). It almost seems very similar as I have seen it employ very similar tricks. I wonder if it's packed using the same protection?

comment 1y ago · link · parent

Isn't that the idea behind UML? Which didn't work out so well, however, with the advent of LLMs today, I think that premise could work.

comment 1y ago · link · parent

I think it's one of those features where the original intended audience of the programming language are supposed to be non-programmers (or presumably, 1-based indexing is intuitive?) but for seasoned programmers who have been used to 0-based indexing, the change is quite stark.

It's the same concept with AutoHotKey and the original intention of Lua (super small user-defined script for the masses).

Whereas Fortran and Ada probably had some forethought that went into enabling that functionality. I will have to check but I remember my algorithm class started with 1-based indexing and the reason was it was intuitive to explain. But when experienced with C/C-inspired languages, the old adage becomes relevant: "There are 2 hard problems in computer science: cache invalidation, naming things, and off-by-1 errors."

comment 1y ago · link · parent

Wow I didn't know this existed. This is pretty cool. Will definitely play around with it.
12345
15