HNHacker News
TopNewBestAskShowJobs

mrcode007

737 karma · joined August 1, 2017

mrcode _at_ hackingrun.com
submissionscomments
mrcode007··on Sanitarium
I share a similar experience and have recently completed the game on the iPhone.

Next up, harvester.

mrcode007··on Releasing everyone's SSN and the hacks used to acquire them
tl;dr

The most obvious way to generate all SSNs you can think of: brute force enumeration

the numbers alone are useless.

mrcode007··on When something that was working, suddenly doesn't work when demoing to others
What would it translate to? Inspection effect?

Edit: demo effect?

mrcode007··on S.F. police are using drones to arrest bipping suspects, officials say
Pretty smart tactics
mrcode007··on Jacek Karpińśki, the computer genius the communists couldn't stand (2017)
Don’t forget a father of a modern oil refinery:

https://en.wikipedia.org/wiki/Ignacy_%C5%81ukasiewicz

mrcode007··on Researcher finds flaw in a16z website that exposed some company data
I come from security background and have been following best practices since 1997 so I’m pretty sure I have not made a blunder of this sort
mrcode007··on Researcher finds flaw in a16z website that exposed some company data
I’m surprised there is almost no discussion about the severity of reputational damage caused by an extremely amateur bug not expected of a prominent VC firm
mrcode007··on Researcher finds flaw in a16z website that exposed some company data
Not of this kind
mrcode007··on Ask HN: Why are we concerned about terminal rendering speeds?
Previously in the DOS era, “terminal” would allow you to render to the video buffer directly and it allowed for an ecosystem of text GUI apps to flourish. Right now, this is largely impossible because modern terminals are really emulators and you have to rely on strange things such as ncurses etc. A better terminal with some nice features such as access to a virtual video buffer would allow for exciting new possibilities
mrcode007··on Compilers are too smart
NEON extension on ARM comes with CNT instruction that counts set bits.
mrcode007··on FDA denies petition against use of phthalates in food packaging
With modus tollens

https://en.wikipedia.org/wiki/Modus_tollens

mrcode007··on The Weird Nerd comes with trade-offs
Thanks for a thoughtful comment
mrcode007··on Compilers are too smart
The power of two test is simply

x & (x-1) == 0

which could be special cased through templates too

mrcode007··on Compilers are too smart
> If you would like to experiment yourself, Compiler Explorer snippet can be found here

https://gcc.godbolt.org/z/qGzWo39b6

Which is an x86-64 sample

mrcode007··on Compilers are too smart
No. It’s a trope. Most people can’t tell the difference. It’s highly context and application specific.
mrcode007··on Compilers are too smart
It uses SWAR technique for counting bits because target platform wasn’t specified in compiler flags properly. popcnt and family are specific family extensions and without specifying the target flags the compiler generates lowest common denominator among available instructions

Edit: add -msse4 and you will see popcnt appear because popcnt is the SSE4 extension

mrcode007··on Making housing more affordable means your home's value will have to come down
I’m trying to say that under mortgage, a property isn’t your asset. It’s a bank’s asset. The mortgage is booked under asset side on the balance sheet of the bank. It cannot be booked as an asset on your side. The economy wouldn’t balance. Until you actually paid off stuff the home is a liability. You pay money on it every month (negative cash flow) and that cash flow accrues to the bank (positive cash flow). I don’t know in what definition an asset produces a negative cash flow. It’s a liability under most definitions. Maybe I’m wrong. I’m not an accountant.
mrcode007··on Making housing more affordable means your home's value will have to come down
FASB defines an asset as:

“A present right of an entity to an economic benefit”.

“Essential to the definition of an asset is a right to an "economic benefit" —the capacity to provide services or benefits to the entities that use them. Generally, in a business entity, that economic benefit eventually results in potential net cash inflows to the entity. In a not-for-profit entity, that economic benefit is used to provide desired or needed goods or services to beneficiaries or other constituents, which may or may not directly result in net cash inflows to the entity.“

It also says “incurring a cost to acquire an item does not in itself qualify an item to meet the definition of the asset”

https://www.fasb.org/Page/ShowPdf?path=Concepts_Statement_8-...

mrcode007··on Making housing more affordable means your home's value will have to come down
Utility is not an asset. When you grow up with your parents they provide shelter, you get a utility of it. No asset for you. Majority of assets produce cash flow (e.g. licensing software - IP asset, renting real estate to someone - you get monthly rent, bond - coupon payments, stock - you get dividends, etc)
mrcode007··on Making housing more affordable means your home's value will have to come down
An asset produces cash flow. Primary residence can only be a speculation device because for a majority of people it does not produce a cash flow. Instead it produces expenses.
mrcode007··on SSD death, tricky read-only filesystems, and systemd magic?
Ha. Today I learned. Is this a portable approach across macOS, Linux and BSD family ?
mrcode007··on SSD death, tricky read-only filesystems, and systemd magic?
Please show me how you cp a raw device without the concept of files. I’d love to learn.

$ cp /dev/nvme0n1p1 /mnt/my-special-backup

?

mrcode007··on Coding interviews are stupid (ish)
template<typename T> using vec = std::vector<T>;

Or even using V = std::vector<T>;

for a concrete type T

Solves the problem. If someone denies you this, you don’t want to work there :)

mrcode007··on AI copilots are changing how coding is taught
I think you missed the point. People attempt to solve problems with LLMs that are problems only to them because they are unaware of existing solutions that have solved the these “problems” a long time ago. If you don’t know something exists, you can’t ask an LLM about it.
mrcode007··on AI copilots are changing how coding is taught
Why would you write code for that? It’s just a few lines of XSLT!
mrcode007··on Tesla retreats from one-piece "gigacasting" manufacturing process
It’s the same principle just scaled up. What are we talking about here? This is not some ground breaking tech. It just got a Tesla PR spin.

https://youtu.be/hpgK51w6uhk?si=LfornxzEdBwvJytY

mrcode007··on Tesla retreats from one-piece "gigacasting" manufacturing process
Metal casting is an established technology in use for decades ,including in automotive industry, and general part making. It has a long history dating back to 1500s; this is how coins are made…

https://macrodynepress.com/hydraulic-presses/automotive-indu...

mrcode007··on Tesla retreats from one-piece "gigacasting" manufacturing process
Fwiw TSLA is not breaking new ground here and merely follows in the footsteps of the 1950s technology from USAF:

https://en.wikipedia.org/wiki/Heavy_Press_Program

https://youtu.be/iZ50nZU3oG8?si=FD2PFEsRmBFtNshR

mrcode007··on FTC announces rule banning noncompetes
There are no software patents.

https://www.uspto.gov/sites/default/files/documents/RT2%206-...

mrcode007··on Jane Street raked in $4.4B at start of 2024
I don’t know what you’ll are smoking… :-)

https://cdn.cboe.com/resources/membership/US_Options_Auction...

And: https://www.cboe.com/us/options/trading/complex_orders/

← PreviousPage 3 of 10Next →