Better HN
topnewbestaskshowjobs
Log inSign up

darkFunction

316 karma · joined Jun 23, 2013 (13y ago) · 118 submissions

Submissions

comment 12y ago · link · parent

> You're doing silly housekeeping tasks like reverting a change that you accidentally checked in to the main branch then branching and copy/pasting your changes back into the IDE just so that the source control system (and possibly some ops overlord somewhere) doesn't get mad at you.

I'm sure if you were a release manager, or the lead of a sizeable team, or the owner of a busy open source project, you would feel very differently about 'silly' modularised changesets and branching.

comment 12y ago · link · parent

I experienced this in London after being mugged. I had to walk a long way to a police station because every person I asked for assistance refused to either lend me their phone or to phone the police themselves.

comment 12y ago · link · parent

The Nxt sourcecode is really terribly written, which is a shame.

comment 12y ago · link · parent

Both very good points. To the first though, I imagine you could sign away your rights to post-treatment legal action beforehand.

comment 12y ago · link · parent

I would argue that as a terminal patient, I certainly would not want to be part of the control group taking a placebo or no treatment at all, and that the scientific method could still be applied later when you still have a lot of people that took the treatment compared to a lot of people who didn't, for one reason or another. I imagine scientific grants could be funded on an individual basis, if the individual is rich enough.

comment 12y ago · link · parent

Well in this case it's obviously different. I'm talking about actions that have consequences for the dying individual only.

comment 12y ago · link · parent

I am curious about the timescale of treatments for terminal diseases, and how trials can be morally randomised.

It seems to me that a very high percentage of people would opt for a potentially fatal, completely untested course of action as opposed to imminent death. So who gets to try these treatments, who tells dying patients they are not allowed them, and is there a black market or large amounts of money changing hands for experimental procedures?

Ekianjo in this thread quoted 7 years at the earliest for a treatment to become available. Surely with hundreds of thousands of desperate, dying, last chance sufferers, it is better to go to extreme measures and offer the most promising yet dangerous treatments to everyone. Is it simply a side effect of the way pharmaceutical companies have to do business? If so, it's sad, and maybe a larger share of cancer research money should be put towards 'out there' attempts to cure terminal patients.

Genuinely curious.

comment 12y ago · link · parent

Absolutely this. You can also use a tool like Gitstats (if you don't use Github) to track your progress. A lot of my code is written inside thirty minutes on the bus and tube on the way to work. Sometimes you might feel like there's no point even pulling the laptop out of your bag since the time window is too small- but every time you will surprise yourself with how much you manage to get done.

The best thing about the 'little and often' approach is how you get drawn into fixing something big just by starting to fix something small. Getting into The Zone for hours at a time is great and everything but honestly I'm starting to view the whole process as just clocking in keystrokes.

My gitstats (http://notes.darkfunction.com/gitstats/index.html) is showing commits on 56 of 85 days. A week of the remainder I was on holiday, and I tend to rebase quite a lot so actual days committed should be higher. But in that time I have written over 18,000 lines of code and removed over 6000. Almost a full iPhone application since January in my spare time, now onto the home stretch and couldn't be more pleased with the results.

comment 12y ago · link · parent

Clever. So they get lots of great app ideas, pick the 4th or 5th best idea as the winner, build it, and then get to work on the actual best idea submitted for themselves.

comment 12y ago · link · parent

Those posts are somewhat relevant to computers.

comment 12y ago · link · parent

Is this Hacker News? Or America News?

comment 12y ago · link · parent

What?

comment 12y ago · link · parent

Proof-of-stake attempts better enforcement of decentralisation, but I think the various implementations are pretty immature.

comment 12y ago · link · parent

The pool operators could launch 'double spend' attacks. Essentially with > 50% of the hashing power, a bad operator is able to generate a chain faster than the rest of the network. They can hold back this longer chain in secret, execute some transactions on the honest chain, then broadcast their chain (which doesn't have those transactions included) to the network. The network will use the evil chain since it is the longest, and since those transactions are not included, whoever accepted them beforehand has been ripped off.

It worries me that it's this hard to convince miners to leave a pool. If I wanted to kill Bitcoin and had a few million to spare, I'd open a pool with no fees PLUS a bonus of 1 or 2% from my own pocket. Good luck getting people to leave that pool.

comment 12y ago · link · parent

I think Proof of Stake sounds promising, but I am personally struggling to come to grips with the concepts. I spent a little while reading through Peercoin's whitepaper and plenty of time trawling the Nxtcoin forums for a decent explanation of the core concepts but my brain just hasn't managed to make it all click yet.

comment 12y ago · link · parent

We consume too much and we work too hard to fill our lives with vacuous material goods. Look around you, it's pure madness. It's out of control, everybody is permanently dissatisfied and we continue to rape the planet to fill a hole in our lives that can never be filled.

I used to worry about this aspect of bitcoin but now I just think, let it happen. Maybe a world in which we aren't forced to consume just to keep our net worth wouldn't be so bad. Maybe we don't need investment in yet another company selling more useless crap we don't need. Maybe we don't need to work five days a week to be happy.

> Some people will choose to buy 2x as many t-shirts, making them (roughly) 2x happier

More choice has been proven to lead to greater dissatisfaction. Aside from better healthcare I don't think our modern world makes us any more happy and fulfilled.

comment 13y ago · link · parent

Greener than digging up precious metals to melt into blocks to be buried again in safes.

comment 13y ago · link · parent

Spend when you need or really want something. Maybe the rampant consumerism associated with an inflationary currency is actually wasteful and destructive to the planet.

comment 13y ago · link · parent

Nice photos but it also highlights how claustrophobic London is. I live here and don't like how you can never be really alone outside of your own home.

comment 13y ago · link · parent

That's not really true, a lot of us more sensible people want to 'cash out' a little slowly as the price goes up, and what better way to cash out than actually spending the bitcoin on an actual product and supporting the economy? I'd be willing to bet that as people suddenly find themselves with tens or hundreds of bitcoins, and that they can buy a pizza for 0.05 BTC, they are quite open to the idea of receiving what is essentially free pizza. Sure, that pizza could be worth five pizzas tomorrow but you still have a decent chunk in bitcoins and if the whole thing plummets to earth then at least you got something delicious.

comment 13y ago · link · parent

Curry takeaways and PC games, also to send money to techie friends is much easier than even online banking.

comment 13y ago · link · parent

How can I contribute my skills as a programmer to directly help out charity organisations?

comment 13y ago · link · parent

openssl aes-256-cbc -a -salt -in privateKey.txt -out privateKey.aes

It's that simple to do cold storage. Do it from an offline live CD boot, save the file to USB, and print it on a piece of paper just to be safe. So much confusion around something which is essentially protecting a string of text.

comment 13y ago · link · parent

Objective-C class visualisation: http://notes.darkfunction.com/DFGrok

It's good for code reviewing changed classes, or getting a structural overview.

comment 13y ago · link · parent

The first comment on the article is by Jason Schuller, who created a great little open source blogging platform called Dropplets (http://dropplets.com/).

I use it myself and it's fantastic. Simple and elegant and I feel in control of my blog now- there's no magic.

comment 13y ago · link · parent

I love yUML, and implemented a tool to generate yUML code from objective-c. https://github.com/darkFunction/DFGrok

comment 13y ago · link · parent

yUML ( http://yuml.me ) is brilliant for quickly putting together simple, nice looking diagrams. It's based on Graphviz and doesn't require graphical tools, just a basic text language, so you can throw together something for a demo in 2 minutes.

I'm working on a tool to parse Objective-C into yUML at the moment- https://github.com/darkFunction/DFGrok

118.

Show HN: Simple, prettified class diagrams from Objective-C.(github.com ↗)

1 points · by darkFunction · 13y ago · discuss

1234