HNHacker News
TopNewBestAskShowJobs

dododo

927 karma · joined March 31, 2010

submissionscomments
dododo··on People not liking open source (and it's not Oracle)
in my experience, it's common in academia for code to "float around". often it's not officially open source or distributed, but you know someone who has the code for some paper, so you can use it. there's even a few textbooks in this state (for years).

i think the real reason for not releasing this code is time---you might be surprised at just how much effort goes into making a paper/talk/article polished. sure, you could just release the hacky code you used to do your calculations, but you'd like so much more---for it to be useful, for it to be a credit to you, for it to also do XYZ. research code is efficient in that it gets exactly what you want for the paper; it's rarely usable by anyone else. there is essentially zero payoff in academia in publishing code, and so there's no time to fulfill these desires.

dododo··on TSA To Ban Printer Cartridges Next Week : SD 1554-10-05
why are they overfitting the data?

wouldn't it be better to have expected volumes and masses for various items, and where items defer from these expectations, they get inspected fully?

many customs sheets include a declaration of the package contents.

dododo··on Google UX Researcher Explains the Social Networking Gay Bar Problem
photo sharing. video sharing. email is suboptimal for this. if you don't want to see all photos in full resolution, you still pay the response cost.
dododo··on Five Years Of Linux Kernel Benchmarks: 2.6.12 Through 2.6.37
the choice of some of these benchmarks is weird. they have a bunch of cpu-bound benchmarks. why exactly would you expect these to change as the kernel changed? (i would expect changing compiler to have a bigger influence.)

the ones that do change (and improve mostly) are ones where the kernel actually plays a role--file system, network, etc.

the iozone benchmark is a bit surprising, it shows no improvement. but they are hitting 200MB/s, so i wonder if this is simply because linux is hitting the max speed of the disk.

all in all, not very useful.

dododo··on Mathematically correct but psychologically wrong
you can make the snowball strategy be the optimal strategy by simply picking the right cost function.

optimality entirely depends upon your cost function. so pick the right one and optimise. the author clearly has one in mind---paying out the least money to eliminate the debt. but this doesn't seem the right one to me.

for example, i would much rather pay off small debts to friends (which typically have 0% interest) over larger, higher interest rates to banks, simply because there's a social cost owing money to friends, whilst it's kind of the purpose of a bank.

dododo··on Natural language processing in Clojure, Go ,Cython
hal daume, who also wrote "yet another haskell tutorial", is an NLP researcher, and uses O'Caml, Haskell and C successfully: http://www.umiacs.umd.edu/~hal/software.html

andrew mccallum, one of the originators of conditional random fields and also an NLPer, has recently been using scala: http://code.google.com/p/factorie/

dododo··on Google-funded startup builds search engine + API for predicting the future
i wonder what happens when journalists start paying for access to recorded future and put those predictions on the internet. i suppose it will create prediction bubbles that are disjoint from reality. wikipedia cyclic-reinforcement all over again.
dododo··on Oracle: Google 'directly copied' our Java code
in part they seem to be claiming copyright on the java api. is that possible?

some other examples come to mind: wine's implementation of the windows api, various unices/linux implementing the unix api (but maybe there's some waiver here?), and so on.

dododo··on Why Most Published Research Findings Are False
there's nothing wrong with looking at some of the data first per se, provided you do not use the same data to draw conclusions. i.e., have a training and a test data set.
dododo··on Today Apple announced the death of the optical drive in its laptops
the plural of anecdote is not data.

from 2003, http://www.highbeam.com/doc/1G1-110814573.html

  Once the decision to purchase is made, 78 percent of the 
  participants said they wanted to use the product right 
  away and therefore choose to immediately download the 
  software. When purchasing CD-ROM versions, specifically, 
  46 percent requested delivery within a few days.
they don't mention sample size and perhaps have an agenda.
dododo··on Indian OS
can you provide some justification for "Historically, the most secure operating systems on the market have been "open", not closed."?

if you take security to be assured in some sense, TCSEC might be a reasonable standard. I do not know of any open source operating system certified to A1, but there is at least one closed source OS: http://en.wikipedia.org/wiki/XTS-400

if you mean track record, in terms of number of compromises, i'd be interested to see the data.

dododo··on LLVM 2.8 Released
Clang C++ is now feature-complete with respect to the ISO C++ 1998 and 2003 standards.

this seems like a pretty big milestone. in particular, clang now has a libc++.

they also mention now supporting objective-c++. that's got to be one strange beast to code in.

dododo··on How Facebook Can Become Bigger In Five Years Than Google Is Today
I resent the ad hominem attack. I happen to have a computing science degree from when they used to actually teach Lisp in university.

many universities still do teach Lisp (in AI courses, for example). this seems like an attempt to appeal to authority, which is another logical fallacy...

dododo··on An obscure kernel feature to get more info about dying processes
i never said more dangerous nor intended it.

it's not a very good rootkit by itself, certainly, as typically rootkits will monkey with the kernel to hide processes and network sockets.

it's interesting because it's probably the simplest rootkit method i can think of (next to setuid binaries). it's less obvious than a setuid. it's not something that anyone sane would use by itself because like i said--it doesn't hide you.

dododo··on An obscure kernel feature to get more info about dying processes
on the other hand, it makes for an interesting rootkit hook.
dododo··on Trouble with Diaspora
it's insulting to refer to them as kids and criticism like this is only helpful if you give examples: this article does not do that, just making wide sweeping statements about "how bad" it all is. i had a quick look at github, it didn't look like it stunk, but i don't know ruby nor the framework they use.

they didn't appear to use pbkdf2 or similar to derive their crypto keys, so that isn't good. but at least they didn't make up their own algorithm (though maybe they're making their own crypto protocol--hopefully not--i couldn't tell from the code).

it's very easy to say "this sucks", it's harder to say "this sucks and here's why" and it's even harder to say "this suck and here's why and here's how i do it in my deployed product"

dododo··on The secret to 4 letter domains: include one (and only one) digit
for 3c1d i think a better count is four times higher: you can have aaa1, aa1a, a1aa and 1aaa, which your count of 26x26x26x10 only includes one of these options.

i don't think factorial is relevant here: combinatorially, factorial represents the process of sampling without replacement: so if you were to be able to only use each letter once in each domain, then you would get 26!/4!26! possibilities for 4c.

this is combinatorics: the art of advanced counting, not probability, really.

dododo··on The future of R - pessimistic thoughts by R founder Ross Ihaka
in R, arguments are passed around lazily, akin to scala's =>. otherwise, evaluation is not lazy (as in Haskell) unless done so explicitly (as in force/delay for scheme).

i think essentially no one using R professionally would accept Haskell or Clojure as a substitute. having spoken to a few: lisp-like syntax is "unreadable", and Haskell is too much effort.

dododo··on Why Twitter's t.co is a game changer
amazon, for example, already sells similar information:

http://aws.amazon.com/alexatopsites/#pricing

dododo··on Microdata: HTML5’s Best-Kept Secret
why bother? because google, for example, will use some of the annotations:

http://www.google.com/support/webmasters/bin/answer.py?answe...

dododo··on Private Ubuntu Cloud
the obvious: not every network is or can be connected to the internet, often for security reasons.
dododo··on Secure your code: OpenVPN in the cloud
does the guy with zero day want to:

1. break into your machine?

2. break into some machine?

if (1) then i certainly agree that none of this really matters (i apologise if that wasn't clear from my previous comment).

on the other hand, if his objective is (2), and not everyone is using some of this obfuscation, then this separates you from the crowd for a little while (but my model is that as time goes on, you are inevitably exploited).

i realise after your company was exploited it might make you feel like (1) is always the case but for many (2) is the salient threat.

dododo··on Secure your code: OpenVPN in the cloud
it depends upon your threat model.

there's probably a bug in some code on your system that's exploitable. maybe openvpn or ssh or its configuration (c.f., debian crypto bug).

under this model, anything that increases the time til (inevitable, under this threat model) success, works.

running ssh or openvpn on a different port or whatever to "hide" it, will help against mass scans for common exploits. it increases the work to find the problem. of course it won't really help against a concerted, targeted attack. but i'm pretty sure unskilled, mass attacks are more common than targeted attacks.

dododo··on Google Scribe - Get autocomplete suggestions as you type
what's the relevance of that comment?

is your claim that dasher does not predict well?

or rather, that google scribe predicts better than dasher?

it would surprise me: dasher adapts to the linguistic habbits of the particular user. it learns in real time.

google scribe doesn't appear to do this. it doesn't know who i am.

dododo··on Google Scribe - Get autocomplete suggestions as you type
it predicts what you're going to type next. this is really nothing new. perhaps the most interesting use of predicting input in this fashion is dasher:

http://www.inference.phy.cam.ac.uk/dasher/

it uses this prediction to make it efficient for people who cannot type, type.

dododo··on Three locks for your SSH door
that's what these try to do:

http://www.fail2ban.org/wiki/index.php/Main_Page

http://denyhosts.sourceforge.net/

denyhosts has the difference that it synchronises this data amongst many hosts.

dododo··on Three locks for your SSH door
1. modifying the default configuration is fine: you do this for your web server (right?) so why not sshd? in fact, sshd is simpler to configure and i cannot think of one backward incompatibility in many years. disable what you don't need, this includes bits of sshd. what's the point of a configuration file if you can't change it?

2. your point about "using distribution standard ssh, a secure root password and public keys" is a little moot in light of the debian ssh keygen bug? in this case you would have been better off with building ssh yourself (and keeping it up to date).

3. in any case, you are at most risk from your users. if they are compromised, you are also (public key or not).

dododo··on Rocket Engine - plugin-free browser game development
the games factory is still underdevelopment, and you can download a demo of the current version:

http://www.clickteam.com/eng/tgf2.php

(i'm also a fan. an web games factory would be awesome.)

dododo··on Mining social networks
http://www.hushmail.com/ perhaps?

although sadly: http://en.wikipedia.org/wiki/Hushmail#Controversy

dododo··on Compromising Twitter's OAuth security system
i agree it makes sense for web apps.

but for apps installed in developer-untrusted environments, using app keys (and requiring their "protection"--good luck with that) is reminiscent of the dvd/bluray shenanigans.

← PreviousPage 3 of 7Next →