Better HN
topnewbestaskshowjobs
Log inSign up

saaadhu

19 karma · joined Aug 23, 2011 (15y ago) · 12 submissions

Submissions

comment 8y ago · link · parent

GCC has fdelete-null-pointer-checks to choose null pointer dereferencing semantics

comment 9y ago · link · parent

"b 0x12345" will place a line breakpoint at line number 0x12345 of the current source file. The "nonsensical" extra asterisk is used to tell gdb that you want an address breakpoint instead.

comment 10y ago · link · parent

Atleast for avr-gcc, (part of) startup code and vector table layout come from avr-libc.

I'm kinda surprised you got by without libc - no strxxx, memxxx ,xxxprintf/no math.h functions ever?

4.

Why did the compiler do that – the one with VRP and integer size(senthilthecoder.com ↗)

1 points · by saaadhu · 10y ago · discuss

comment 10y ago · link · parent

Yes - I've run it locally. No docker/vm support was there though - I ended up running it the whole thing inside a docker container.

comment 10y ago · link · parent

This is consistent with what Daniel Kahneman's "Thinking Fast and Slow" says - engaging System2 (thinking) diminishes System1's (intuitiveness) capacity.

comment 10y ago · link · parent

Care to elaborate?

comment 11y ago · link · parent

OK. Just that, I find it a bit odd that money goes into the "budget" when you spend, not when you allocate it, and vice versa :)

comment 11y ago · link · parent

Newbie to ledger here.

Why not move $x from checking to Holiday Budget every month, and then track holiday spending by moving money from Holiday Budget to Spent on Holidays?

Guess it throws off net worth calculations a bit, as you'd have to include the Holiday Budget as well in there. Are there other reasons?

comment 11y ago · link · parent

From http://thenextweb.com/in/2015/09/03/notcrud-is-a-hacker-news...

PC: “CRUD refers to basic database functions — create, read, update and delete — and in my mind, the acronym describes most poorly built products: a database with a UI slapped on top of it, with no real user experience to speak of.

We want to showcase the best of Indian creativity and ingenuity in product development. So we coined the name NotCRUD to describe quality custom-built software and hardware that Indians are capable of building.”

comment 11y ago · link · parent

Care to explain why async disk IO is horrible?

AFAIK, the kernel APIs only deal with abstract handles and descriptors - they aren't written specifically for disk IO or network IO. And C#'s async/await and BeginXXX also work fine with all kinds of IO.

comment 14y ago · link · parent

There's a typo in https://cleartax.in/Guide/GoldService - it says "One complementary Digital Signatures included."