Better HN
topnewbestaskshowjobs
Log inSign up

sukaka

29 karma · joined Aug 8, 2013 (13y ago) · 34 submissions

Submissions

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

I should start a lumber company so the actual # trees become the estimated # trees. Studies citing the previous estimate will also be correct.

comment 12y ago · link · parent

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

comment 12y ago · link · parent

it's even simpler and effective to be buying only at ema crossovers!

comment 12y ago · link · parent

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-...

comment 12y ago · link · parent

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

comment 12y ago · link · parent

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

comment 12y ago · link · parent

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

comment 12y ago · link · parent

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

10.

Show HN: Easy security history for your application(tagsauce.com ↗)

1 points · by sukaka · 12y ago · discuss

comment 12y ago · link · parent

Awesome. Looking forward to fixes and improvements. I'm already satisfied with using IntelliJ.

12.

Show HN: Bringing logs to log in(tagsauce.com ↗)

1 points · by sukaka · 12y ago · discuss

comment 12y ago · link · parent

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 => ... }.

comment 12y ago · link · parent

Good to know it's improved for Scala! Playframework templates give me the most trouble while working in IntelliJ.

15.

Account activity the way it should be(tagsaucedemo.herokuapp.com ↗)

1 points · by sukaka · 12y ago · discuss

comment 13y ago · link · parent

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

comment 13y ago · link · parent

you should post this on stackoverflow. i find this page useful: http://docs.mongodb.org/manual/reference/sql-comparison/

comment 13y ago · link · parent

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

comment 13y ago · link · parent

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...

comment 13y ago · link · parent

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?

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

nice work. how did you know? For anyone wondering the difference, 0>cos on line 8 is now 0<cos.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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

comment 13y ago · link · parent

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].

comment 13y ago · link · parent

futures are so nice to use in scala. warping back to my planet..
12