HNHacker News
TopNewBestAskShowJobs

Liru

329 karma · joined October 28, 2010

submissionscomments
Liru··on Steam warns users against gambling site after YouTube stars discovered as owners
Yeah, but gambling is illegal in Japan.

To compare, in most casinos, the casino itself sells you the chips and buys them back. No need to fuss about location since it's all done in one place.

In the Pachinko system, you go into the "casino", spend money on a machine, win the "chips" yourself, then go to another "casino" nearby to sell the "chips" for actual cash.

Liru··on Show HN: Go-git – low-level and extensible Git client library in Go
I got one saying my experience with Go would "be a good fit" with a company.

My Go codebase at the time, on that account, consisted largely of hacky products, no tests, no web-server stuff, high coupling and complexity, and below average documentation. If that indicates experience with a language, I'm almost afraid to ask what WOULDN'T be a good fit.

That, and their stated "real-time" requirements for said company's product made me laugh.

Liru··on A Modern App Developer and an Old-Timer System Developer Walk into a Bar
It may be because I haven't had my coffee yet, but how would using OR help here? 1 OR 0 OR 0 returns 1, but the host was offline in 2 of the past 3 months, which means that it should be 0...
Liru··on Richard Stallman on Data Autonomy [video]
This is the one thing that I was looking for in an alternative to Sync. It made me sad that the main alternative to it didn't have this.
Liru··on Parsing 10TB of Metadata, 26M Domain Names and 1.4M SSL Certs for $10 on AWS
The in-article version has a time.Sleep(2 * time.Second) after the scan loop. Not exactly reliable (waitgroups or channel signaling would be better) but better than nothing.
Liru··on Parsing 10TB of Metadata, 26M Domain Names and 1.4M SSL Certs for $10 on AWS
Well, that whole file can be improved on (for instance: analyzeDomains and analyzeDomain can be combined into one; the range/close operators can be used on a channel), but the pattern itself (spawning a certain amount of workers instead of one for each job) is decent for certain cases. For this case, you may be right (I haven't tested it), since a) not much data is transferred, and b) He was running this on an AWS instance instead of a low-end machine.

However, at a certain point, you may encounter bandwidth issues, timeouts, and the like due to local network congestion; that pattern has its uses there. I've tried writing a downloader that downloads every file it's given at once, and it went about as well as one would expect.

Liru··on The Final Days of the Bitcoin Foundation?
That thread is from 2013.
Liru··on Shellcode Injection
Depends on which distributions patch gcc to enable it by default. From what I'm aware, a lot of them do, though.
Liru··on Introducing the new Google+
You may be interested in http://bettermotherfuckingwebsite.com/
Liru··on Helping my students overcome command-line bullshittery (2014)
I recall my high school computer science courses. They consisted of us writing stuff in DrJava, using a framework our teacher made to abstract some Java-specific things away. We ran the programs we made within it, without going into the command line. It was quite a simple IDE, but it allowed us to get things done without using a command line.
Liru··on The toxic side of free – how I lost the love for my side project (part 4)
I've been bugged by the "Verified by Visa" thing in the last month when trying to add Skype credit for my parents. Completely stupid implementation that didn't even work; I clicked "cancel" and my Skype transaction still went through.
Liru··on For Ransom, Bitcoin Replaces the Bag of Bills
Wait, you actually had Valve do customer support? I think that's rarer than getting Google customer support, to be honest.
Liru··on My Hardest Bug Ever (2013)
Got any examples of this? It seems interesting.
Liru··on Go 1.5 max procs default
Concurrency doesn't rely on the number of available processing cores. You're thinking of parallelism.
Liru··on Deus Ex: Human Revolution – Graphics Study
> There wasn't any downside to piling them on, nobody in the game gave two shits whether or not you were man or machine. No quests really changed if you were really chopped up. It just felt phoned in and handwaved.

I agree with the rest of your post, but this was pretty much explained by saying that ALL the augs Jensen has are already installed in him at the beginning of the game. Them being unlocked as the game goes on had more to do with Jensen getting used to controlling them (as opposed to having them installed and being able to use them then and there).

Liru··on BitGo bug reveals patterns in Bitstamp transactions
I would definitely consider unintended behaviour from limitations bugs, though.
Liru··on Probabilistic programming does in 50 lines of code what used to take thousands
How about C itself? Hello World is about 850 lines of code after you run the preprocessor on it.
Liru··on Buttercoin is shutting down
It's a site run by bitcoiners. I'm not sure what you expected.

Actually, now that I thought about it a bit, it's a perfect metaphor for the current bitcoin environment.

Liru··on Why Baidu Has Been Hijacked to Attack GitHub
Way to completely miss the point and spin it in a different direction.
Liru··on Why Baidu Has Been Hijacked to Attack GitHub
It's not proof that _he_ necessarily removed it, but considering it wasn't brought down by the actual repo maintainer, and that any repos created to replace it by other users at the time were taken down as well, it's a safe assumption that someone at GH did.

There's several more sources regarding this, but I'm on a terrible mobile connection at the moment. Googling around will get you a bit more info for the story.

Liru··on Why Baidu Has Been Hijacked to Attack GitHub
Sure. The two most popular examples are the C Plus Equality repo and the Operation Disrespectful Nod repo, which were a satirical programming language and a Gamergate resource list for contacting advertisers, respectively.

http://tech.slashdot.org/story/13/12/14/1618239/github-takes...

https://pipedot.org/story/2014-10-04/github-staff-jake-boxer...

Liru··on Why Baidu Has Been Hijacked to Attack GitHub
Github has been known to remove files and repositories simply because employees don't like them, despite them not actually breaking any ToS. They've also been known to block access to files/repos to users in certain countries. I wouldn't be surprised if attacks on those repos would cause it to get removed.
Liru··on Please copy and paste the text of the error
I don't know about OSX, but most of the Windows dialogs I see can easily be copypasted. Ctrl-C the dialog box, open a text editor/new email/et c, Ctrl-V it in. Unless you're doing something convoluted and making your own error dialogs.
Liru··on Harmful Gotos, Premature Optimizations, and Programming Myths
goto is merely a tool that got a bad rap simply because it has its roots in basic assembler, back before structured programming was a thing. I agree with you regarding its use, but I'm still surprised by just how many seemingly educated programmers jump onto the "never use goto" cargo cult because of a paper title that they misattribute to Djikstra.

Ironically, from the code I've seen, I don't think I've ever seen anyone actually misuse goto, probably because the people who use it actually know what they're doing. That's just anecdotal on my part, but still.

Liru··on What Blocks Ruby and Python from Getting to JavaScript V8 Speed?
I would say it's the latter. A majority of questions that I've found on SO that helped me solve a problem or answer a question have been marked as non-constructive. I don't know why people would do that from a logical perspective, but I can see how having the ability to moderate discussion would make one overzealous with this sort of thing.
Liru··on Coroutines in C (2000)
I have to deal with uC++ for the term. I'm not quite sure how to feel about it. On the one hand, it does make it a bit easier to write concurrent programs. On the other hand, I would have been more comfortable with Boost or almost any other language to learn about concurrent systems.
Liru··on How I Made $3,000 with 90 Lines of Code
Rogers in Canada used to do this. I'm not sure if they still do, though, because that incident alone caused me to switch over to another DNS server.
Liru··on Is Ruby Fast Yet?
The criticism is with the name, not the features tested.
Liru··on SteamOS: It's here
>They removed WarZ

Actually, they didn't. All the developers did was have it relisted under a different name ("Infestation: Survivor Stories").

http://steamcommunity.com/app/226700

Liru··on Reflecting on Steve Pavlina's 2011 post, "Why I Shut Down the Forums"
Sorry if I implied that you pre-wrote it; I meant that more along the line of "I've answered this question multiple times already, so I know more or less what to say".
← PreviousPage 2 of 3Next →