HNHacker News
TopNewBestAskShowJobs

sukaka

29 karma · joined August 8, 2013

submissionscomments
sukaka··on Obama administration quietly explored ways to bypass smartphone encryption
I see what Obama's saying. In my experience, research on bypass methods may become the source of a new terrorist attack. Then a terrorist attack would be our making.
sukaka··on Global number of trees is order of magnitude higher than the previous estimate
I should start a lumber company so the actual # trees become the estimated # trees. Studies citing the previous estimate will also be correct.
sukaka··on Mineral hints at bright blue rocks deep in the Earth
Learning some 2% of water is fresh and the need to conserve water or it will run out by 2050 was a lie. There will always be fresh water and oil. The price will not soar when supply is limited, there usually happens to be a new discovery. Eg. The US is a huge unexploited oil field
sukaka··on Scary 1929 market chart gains traction
it's even simpler and effective to be buying only at ema crossovers!
sukaka··on In Defense of Scala. Response to “I Don’t Like Scala”
A recent comparison was made with scala and java collections. Lots of interesting tidbits. http://www.takipioncode.com/2014/01/23/java-scala-guava-and-...
sukaka··on [dead]
Apparently the password has been reused. Search of password cfr41qa turned up results from almost a year ago https://www.google.com/search?q=cfr41qa
sukaka··on DigitalHax – Allows you to recover data from "Destroyed" Digital Ocean VM
no problem. The command "dd if=/dev/vda bs=1M | strings -n 100 > out.txt" in find.sh, which is the same as the one first mentioned today morning https://github.com/fog/fog/issues/2525. $20/month droplet
sukaka··on DigitalHax – Allows you to recover data from "Destroyed" Digital Ocean VM
how long does dd take? Could use an estimate. Ran dd for around 10 minutes this morning and got 500,000 lines, and it was still running.

update: finished in around 12 minutes. out.txt is around 10gb.

update: out.txt is around 54 million lines from wc -l out.txt. I'm using less with command [line number]G to poke around. I have an NYC1 droplet, and there's a lot of junk not mine.. text in other languages and python which i don't use

sukaka··on A basic guide to when and how to deploy HTTPS
Account activity should also be a must for your users. Session id will not be as useful when users can monitor their accounts. It's a work in progress, but I'm writing a page on good application login design https://tagsauce.com/docs/designsnippets
sukaka··on IntelliJ IDEA 13 is Released
Awesome. Looking forward to fixes and improvements. I'm already satisfied with using IntelliJ.
sukaka··on IntelliJ IDEA 13 is Released
red error lines appears all the time in the template, despite being correct and compiling without error. A few recent encounters are text after @function are highlighted as unexpected token, a defined variable is not recognized, and reformatting sometimes breaks the template by doing actions such as converting documents.map { doc => ...} to documents.map { \n doc => ... }.
sukaka··on IntelliJ IDEA 13 is Released
Good to know it's improved for Scala! Playframework templates give me the most trouble while working in IntelliJ.
sukaka··on Czech bitcoin exchange Bitcash.cz hacked, up to 4,000 user wallets emptied
if in 10 years the price fluctuated from say $50 to $1000 and then rested at $500, you gained a huge opportunity cost. You could have shorted $500, played the market, sold early and reap the rewards =P
sukaka··on Ask HN: Represent SQL using JSON?
you should post this on stackoverflow. i find this page useful: http://docs.mongodb.org/manual/reference/sql-comparison/
sukaka··on Don't write code first
everyone should do what they enjoy, then money will follow. there are niche business areas. i.e. creating apps useful to you, creating an algorithmic trading bot to work the market
sukaka··on Which hashing algorithm is best for uniqueness and speed?
seeing at least 1 collision the tests makes me wonder why the chance of a bitcoin address collision is almost nil. https://en.bitcoin.it/wiki/Weaknesses#Generating_tons_of_add...
sukaka··on Is Quantopian The Next Bloomberg?
I've been lurking on Quantopian for a few months. The algotrading community is secretive. Currently, you code in python which is then saved and run on their servers. I fear Quantopian copying the best trading strategies for their own use. Even if you black box the code, all Quantopian needs is I/O with your program. What's to stop this?
sukaka··on What’s new in Play 2.2
and play 2.1+ can serve https as well http://www.playframework.com/documentation/2.2.x/Configuring.... In practice, play instances are behind a front end server such as nginx for load balancing, https, caching, and virtual hosting. Play's convention for stateless sessions makes it really attractive to scale by adding more instances to the node balancer.
sukaka··on World
nice work. how did you know? For anyone wondering the difference, 0>cos on line 8 is now 0<cos.
sukaka··on Ask HN: How would you come up with $1500 in 30 days or monthly?
good luck! Also know about stop loss. More often than not, sell if the price has dropped more than 5%. If not, you'd be out of the picture and might be waiting indefinitely for the price to crawl back up to just break even.
sukaka··on Ask HN: How would you come up with $1500 in 30 days or monthly?
There is risk involved, but you could be a trader. Lots of successful algorithm traders are one person shops that are later bought by banking firms like Goldman Sachs. I'd trade forex because it's simple. Two simple strategies are trading at ema crossovers and arbitrage. As a programmer, you have power to play with data and build automated trading systems (bot or assisted trading). I recall from a book on stock/futures trading that around 70% lose money, 20% stay the same, and 10% make money. Also, 10% is the average annual return rate of the stock market, but you also need to calculate taxes. This thread is a great resource on exploiting bitcoin trading, which is applicable to forex in general. https://bitcointalk.org/index.php?topic=60501.0
sukaka··on Quickly navigate your filesystem from the command line
Reminds me of z, which I use all the time. Anyone else use z? If you have not heard of it, get it now https://github.com/rupa/z.

z is a wonderful complement to cd. After cd into a folders with z set up, a file stores all folders navigated to sorted by frecency, then simply jump to a folder with z [foldernameregex].

sukaka··on Callbacks as our Generation's Goto Statement
futures are so nice to use in scala. warping back to my planet..
sukaka··on GitHub experiencing a large DDoS attack
yes you can pull from another node. you can also push to another node.
sukaka··on Hyperloop Alpha [pdf]
Could someone buy land in the potential path of this hyperloop then block access or sell the rights or land to make a profit?
sukaka··on Injectable oxygen keeps people alive without breathing
Researchers took years to whittle it down to the right oxygen concentration and size required to make it safe to inject. They used a sonicator that uses sound waves to blend the oxygen and fats together.

the manufacturing process sounds so simple. However if it will one day be in every hospital, these people will be millionaires with rights to the invention.

sukaka··on Professor's apparent request to student for fake data published by mistake
tl;dr, "make up" data means either put together or fake.