Better HN
topnewbestaskshowjobs
Log inSign up

obiterdictum

950 karma · joined May 25, 2010 (16y ago) · 124 submissions

Submissions

comment 12y ago · link · parent

Call me old-fashioned but I shy away from unique platforms precisely because they are, well, unique, as you don't have a lot of vendor choice should you decide to migrate for whatever reason.

comment 12y ago · link · parent

The classic version of it:

http://lug.wsu.edu/node/414

comment 12y ago · link · parent

What is wrong with piping `ls`?

comment 12y ago · link · parent

> HFTs and other trading firms actually buy up the order flow from brokerages.

I'm going to ask for a citation on this one.

I remember a similar incident at KRX in 2009, and it resulted in a criminal investigation [1], so that ought to be illegal.

[1] http://www.traderdaily.com/07/koreas-elw-players-get-hfc-wak...

comment 12y ago · link · parent

RT (of course) gives such a different view from Western media, it may as well be a completely different story. Right now, for example, it tells how "armed extremists sent from Kiev tried to seize government buildings in Crimea".

comment 12y ago · link · parent

You can also use alt-coin exchanges, e.g. BTC->LTC->BTC, or even multiple exchanges (one to buy, one to sell) to obscure the trail even more.

comment 12y ago · link · parent

Comparatively few people will read this story. Even fewer will care enough to continue the crusade against the attacker for any prolonged period of time to raise awareness among the potential future audience that this account was stolen.

High chance the story will be quickly forgotten and the account will be re-used.

comment 12y ago · link · parent

Worth noting that BitBucket had this as long as I can remember.

comment 13y ago · link · parent

On a related note, I've run into a similar problem in C++, but opposite effect. A lambda won't keep my object alive if I try to capture a shared_ptr member, because C++ lambdas, similarly to blocks, by default capture implicit reference to "this", rather than individual instance variables.

http://stackoverflow.com/q/7764564/23643

comment 13y ago · link · parent

This reminds me of a story of Sir Isaac Newton and South Sea Company bubble. He got out early, then watched all his friends get rich, jumped back in again with both feet, lost a fortune. Even smart people are not immune to bubbles.

http://www.businessinsider.com.au/isaac-newton-and-the-south...

comment 13y ago · link · parent

Conversely, JS programmers I complain about JS gotchas about contend that "once you learn all those horrible gotchas, it's a great language".

Even C++ programmers, at least the ones that had good fortune to have time away from C++, agree that C++ gotchas are unforgivable.

But in general, C++ and JS communities have the biggest cases of Stockholm Syndrome I've seen.

Disclaimer: I'm a recovering C++ programmer.

comment 13y ago · link · parent

I think what GP is saying is that in emerging markets, or at least in Thailand, there is no "compromise" market segment (and it's not going to appear regardless how much Apple "want" it). Normal people get ultra cheap phones, rich people get high-end iPhones, which is why 5c is a miss.

comment 13y ago · link · parent

Pardon my ignorance, but is it $700 a month or a week? I'm used to Sydney prices where a 1-bedroom apartment could easily cost around $500 a week.

comment 13y ago · link · parent

> It might be an interesting failure scenario for algorithmic trading.

It's not how auto trading works. Traded instrument ranges are preset before the algo is started. I've never heard of an algo that tries to pick stocks to trade dynamically based on a name, it would be astoundingly risky.

comment 13y ago · link · parent

I think it's more likely that LinkedIn mobile app grabs your phone contacts, if you happen to give it permissions to do so.

I've noticed that the "People you may know" section started to contain faceless placeholder entries with emails from my address book (though, I'm not sure if/when I've given the iOS app the address book access).

comment 13y ago · link · parent

It highly depends on the team. In a small team that know each other well, it can work. Most of the time it's not the case, however.

comment 13y ago · link · parent

Note the article is from 2000. Joel mostly talks about big and mature desktop software (big as in Microsoft Excel). Average startup's code is small, narrowly focused, has a (relatively) short lifespan, so it can be rewritten from scratch by 1 or 2 people.

If you've ever worked with legacy systems older than 10 years, you'd notice that they become a victim of their own "success". You can't throw away features added over years, because a lot of users depend on it, and if you tried to rewrite it, you'd have to rewrite bug-to-bug.

I worked on such systems, and I did try rewriting, and gave up because of sheer volume of work and the knowledge of institutional lore that was required to do it. On the other hand I'm currently embarking on our startup's "rewrite" and things are much much easier, because the feature set is small and I can freely throw away stuff that didn't work.

See also, http://en.wikipedia.org/wiki/Gall's_law

comment 13y ago · link · parent

> I really enjoyed the pre-Microsoft Nokia, I had account in their dev forums, and loved their SDKs, community, Sybian, whatnot.

Really?

I thought their SDK circa 2007 (especially the emulator) and API docs were terrible, and Symbian C++ was a real pain to work with. Also, segregation between regular developers and Nokia partners (who paid to have access to extra private APIs) put unnecessary barriers to development.

I won't miss it.

comment 13y ago · link · parent

I think that dependency on argument evaluation order inside zip function smells a bit.

It's OK here, but may bite you with a different function.

comment 13y ago · link · parent

I have been using it full-time circa 2006-2009. I guess that counts as "past decade".

1. There was no out of the box support of my particular NVidia video card, so I've had to build the driver from source and fiddle with my system to install it.

2. I've had userspace processes freeze on network activities and become impossible to kill, because of a kernel deadlock in my wireless driver.

3. Proper smooth fonts required work at the time (freetype did not ship with good subpixel hinting).

4. Proprietary media codecs did not work out of the box and required a third-party repositories.

5. The whole KDE four-point-not-really-zero debacle.

A minimalistic XMonad+Vim+terminal setup was decent and worked for me, but eventually I got sick of desktop Linux and moved to OSX.

I realise that many things have been fixed in the meantime, but it was not a flawless experience back then. If I was to give desktop Linux another shot today, I'd be cautiously optimistic, but not expect a miracle.

comment 13y ago · link · parent

Obligatory mention of gevent[1].

It handles all the plumbing for you with monkey-patching I/O calls. No annotations necessary, you just write linear code.

[1] http://www.gevent.org

comment 13y ago · link · parent

On a related note, for anyone interested in this, I recommend reading "Predictably Irrational" by Dan Ariely[1]. He does actual studies and discusses a lot of these things (bias to loss aversion, change in behaviour when 1-layer detached from cash) and more.

[1] http://www.amazon.com/Predictably-Irrational-Revised-Expande...

23.

Genetic algorithm with 2D cars in HTML5(rednuht.org ↗)

1 points · by obiterdictum · 13y ago · discuss

comment 13y ago · link · parent

Along the same lines, there is also CCAN.

http://ccodearchive.net/list.html

https://github.com/rustyrussell/ccan

And GMP for arbitrary precision math (integers and floating point numbers).

http://gmplib.org/

comment 13y ago · link · parent

You simply do not use "go get" on 3rd party repos in production. It's not different from pip or gem.

comment 13y ago · link · parent

C++98 "const" code still works exactly the same in single-threaded environment, so this change is not breaking, because no existing code is broken.

comment 13y ago · link · parent

Not a disaster, but a word of caution:

https://www.braintreepayments.com/braintrust/gotchas-irritan...

28.

GeoGuessr - Let's explore the world(geoguessr.com ↗)

2 points · by obiterdictum · 13y ago · discuss

comment 13y ago · link · parent

It should be noted that data.encode('hex') and data.decode('hex') would not work in Python 3.x:

http://stackoverflow.com/q/12917278/23643

comment 13y ago · link · parent

Because the developer is storing passwords in plaintext, and he wants to save database space.

This seem far fetched, not sure what thought process would lead anyone to come to this conclusion. Even if you have a million users, you have ~8MB worth of passwords. I'd imagine even developers who are not competent in cryptography realise that.

12345