541 karma · joined Apr 14, 2010 (16y ago) · 195 submissions
comment 13y ago · link · parent
They are not publishing their own source.
If you're running a small, open source project, this seems like an easy way to manage deployments. Kudos to them for a free plan.
comment 13y ago · link · parent
I agree TSV is a lot nicer, and has the bonus that Excel will open a TSV file with an .xls extension without any problems (great for sharing!).
comment 13y ago · link · parent
It's hard enough when you have delimiters in quoted fields, but dealing with quoted newlines starts to become unreasonable, especially for line-based tools.
CSV files, as you say, are absolutely wonderful to create. Problems come up when you try to parse files other people write. Not everyone follows RFC 4180.
comment 15y ago · link · parent
Are You Guilty If Pirates Use Your Internet? Lawyer Says YES
http://torrentfreak.com/are-you-guilty-if-pirates-use-your-i...
comment 15y ago · link · parent
Honestly, this doesn't seem like big news: each company is undergoing growth and it makes sense that they're spending more on a lot of things: including lobbying.
comment 15y ago · link · parent
If the helper student has already passed the class, the professor can't take disciplinary action against them without making a major case about it. It's easy to simply fail the cheating student or give them a zero on the assignment without making a record.
Additionally, if it is brought to a committee, it'd be much harder to prove.
So although it's officially not allowed, there's not much universities are doing to combat the providers.
comment 15y ago · link · parent
If I want to talk about Google+, I'm more likely to use a hashtag, such as #googleplus, I've seen before. I could be a rebel and use #gplus, but it makes more sense to use already-established tags.
If we just experimented with hashtags on HN for a day or two, I'm sure they'd be hard to drop. (Although currently, I believe # is not allowed in titles)
comment 15y ago · link · parent
They're replacing the @ with +, which really ties the whole service together quite nicely (while integrating +1's as well).
Your example would use +ProductFoo, for example. If you are writing a G+ post, if you type +, it will prompt for suggestions, much like Facebook does with @.
I'm surprised it's not highlighted by Google, but they do mention it, buried in the help (which is very nicely laid out, if not hidden).
http://www.google.com/support/profiles/bin/static.py?page=gu...
comment 15y ago · link · parent
Also, for the second example, this might be a cleaner solution:
var fs = require('fs');
function writeFile(filename){
return function(err){
if (err) throw err;
console.log('Wrote ' + filename);
}
}
function writeHello(){
return fs.writeFile('./hello.txt', 'Hello!', writeFile("hello.txt"));
}
function writeWorld(){
return fs.writeFile('./world.txt', 'World!', writeFile("world.txt"));
}
writeHello();
writeWorld();comment 15y ago · link · parent
It'd be cool if you could select a bunch of "Me too" options when you first sign up without it reloading the right sidebar. On Chrome at least, it slows down, gets choppy, and makes it hard to click on other options & scroll until its fully loaded.
Once you've made some initial overlaps, you should be fine. Starting off it just is a bit tricky.
Besides this, it's a cool idea. Good luck!
comment 15y ago · link · parent
Also, although there isn't any manifest or timeline file, each .html file for Buzz has a last modified date that corresponds to when it was created. In addition, in the file itself, it has a timestamp.
This seems more than reasonable. Sure an XML/JSON timeline might be nice, but it wouldn't be human-readable either.
comment 15y ago · link · parent
@file_get_contents('http://.long2ip(ip2long($argv[1])+$c)
Since $c is the IP address itself, adding the starting IP again will check a completely different IP.
Besides that, you have a point. I feel like the code would be so much cleaner if they just added a 4th line to declare ip2long($argv[1]) as a variable.
comment 15y ago · link · parent
As much as I hate to use analogies, its the best way I can think to explain my reasoning. If someone (a hacker) robs a bank (user on MtGox), and they throw the money on the ground as they fleeing the scene of the crime, only for it to be picked up by bystanders (profiting users), what do you do?
To me, simply returning the money (rollback) seems to be the simplest effective solution. Maybe I'm being too utilitarian, but it seems too complex to add additional funds into the system, especially when we're talking about nearly 10% of the entire value of BTC. Additionally, it establishes a strange and dangerous precedent: hackers can get away with upsetting the market. And who can make sure the hackers & profiteers aren't working together?
I don't think there's really much you can do to repair faith in the exchange in the immediate future. More importantly, people will keep money as BTC the exchange if it is value is stable (or deflating). Even now, I'd be more worried about the market than hackers.
I'd love to see an insurance company spring up. It'd require major capital, but it'd really help strengthen the value of BTC by providing security and resolving nearly all of these issues. (Things I'd do with $1M...)
comment 15y ago · link · parent
Even though MtGox never stated they'd interfere, being hacked is unexpected enough to allow some leeway with follow-up. If the flashcrash happened organically, I doubt MtGox would revert the trades.