1,185 karma · joined Sep 11, 2012 (14y ago) · 379 submissions
comment 10y ago · link · parent
This is the problem right there. In my experience, successful rewrites only happen when they get done quickly. If you know exactly what you're re-writing, you can get it done within a few days. If you have no idea what you're doing and think it'll take more than a week, it will probably end in failure. The truth is, I re-write code almost every day in my programming life. I usually don't realize I'm rewriting something until after the fact.
comment 10y ago · link · parent
64.
Decentralization and Oceanization (A Bitcoin blocksize essay)(autotip.io ↗)
2 points · by freework · 10y ago · discuss
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
I'm happily employed at the moment (knock on wood) but when that day comes where I have to go back out an interview, I don't plan on wasting any time doing these kinds of interviews where they make you spend hours doing some kind of programming challenge. To me it's an indicator that the company doesn't have anybody knowledgeable to actually pick out the best programmers.
comment 11y ago · link · parent
Every time I'm asked about big-O in a job interview, I'm asked to recite the formal rules of the notation, rather than demonstrate how to use the resulting insight to make the code better. Just because I don't know the formal rules of how to calculate Big-O they assume I can't write any code that scales.
Its like a teacher assuming a student can't speak english because he can't recite the adjective order chart from memory.
comment 11y ago · link · parent
I guess if you wanted to get brownie points with your accountant, you can record all transactions, but if you don't you certainly aren't breaking any laws.
comment 11y ago · link · parent
75.
Microscopic Analysis of the 1989 Fleer Ripken “Mystery” Card (2012)(billripken.com ↗)
11 points · by freework · 11y ago · 1 comment
comment 11y ago · link · parent
This statement is false. Not all lightweight wallets (wallets that function without needing to download the blockchain) are SPV wallets. Some lightweight wallets use blockchain APIs (and therefore are immune to this problem)
Downloading the full blockhain is not the only way to secure bitcoin.
comment 11y ago · link · parent
Instead I'd rather see people try to fix the problem of it being expensive to spend bitcoin sourced from many small inputs. This is a problem that the lightning network does not address.
So if the lightning network does get build, we'll all be able to use microtransaction channels which will slow the growth of the blockchain, but will still cost $20 in fees to send $100 worth of bitcoin sent in tiny UTXOs.
comment 11y ago · link · parent
The main reason why I use django is because o the ORM and the admin. If I were to do a project in Flask, I'd have to build mt own admin, and i'd have to use SQLAlchemy. I had to use SQLAlchemy once for a project and I hated it.The django ORM is much more straigh forward an easier to use, in my opinion. In my 10 years of using django ORM, I have had to "break out of the ORM" maybe once.
comment 11y ago · link · parent
comment 11y ago · link · parent
I am a self taught programmer, I studied aviation in college but switched careers to working at startups since 2009. I do a lot of personal projects in my spare time (which you can find on my github). I've been at my current job for about 2 years.
comment 11y ago · link · parent
comment 11y ago · link · parent
The guy in the article pretty takes the same approach. I've always felt the best way to interview engineers is to go over installing the company's development environment on their machine. In other words, there is no evaluation, just expectation of results.
89.
Ask HN: Name of service for “sign up here if interested”
1 points · by freework · 11y ago · 3 comments
comment 11y ago · link · parent
This snippet should only live in one place:
if (something) {
for (blah blah) {
something_else();
}
do_something();
}
on the other hand, this code can be copy+pasted as much as you like: do_something();
do_another_thing();
another_call();
some dogmatic programmers will want to place those last three lines of code into a separate function and instead copy+paste that. But I've found that doing that sometimes makes the code more harder to read.