HNHacker News
TopNewBestAskShowJobs

ferrari8608

709 karma · joined July 11, 2014

I write bugs.
submissionscomments
ferrari8608··on Am I Introverted, or Just Rude?
You suppose wrong. You are correct though that it is normal to view and say things about a junkie as I do.
ferrari8608··on Sony announces the Pro, a more powerful PlayStation 4 with a $399 price tag
> Will they design games for this and simply cut out graphics features to make it run on the slower version?

That's how the relationship between high-end PC games and the consoles work right now, so it's probably the case.

ferrari8608··on CRV Ventures: “F*CK TRUMP”
I would hope CRV's immigrant staff are documented. If so, what's the beef with Trump? His official stance on immigration is to try to combat illegal immigration and temporarily pause immigration from unstable countries.
ferrari8608··on Why People Should Learn Python
Which would of course be the optimal solution. I always forget about that object.
ferrari8608··on Why People Should Learn Python
I just wanted to point out a bit of syntax from the article. I'm a huge fan of compact variable declaration if statements. The code from the article:

    if name in names:
        names[name] += 1
    else:
        names[name] = 1
That can actually be written as just one neat, readable line:

    names[name] = names[name] + 1 if name in names else 1
It may not be as readable to some who are used to spelling it out as an if/else block, but I really prefer the one line way. It reads closer to regular English I think.
ferrari8608··on A few HTML tips
I learned something new. It's not a big deal, but I'm glad it was posted nonetheless.
ferrari8608··on Private lives are exposed as WikiLeaks spills its secrets
"We're sorry but the page that you're looking for can not be found. The URL may be misspelled or may have changed. Try searching for the content in the search box below or select from AP's latest news instead. "

Just plugging "wikileaks" into the search box returned the correct URL:

http://bigstory.ap.org/article/b70da83fd111496dbdf015acbb798...

ferrari8608··on A Bosnian pine growing in Greece has been dated to be more than 1000 years old
I would love to see that core sample. The tree isn't, or at least doesn't appear to be very big, so the rings must have been tiny.
ferrari8608··on How to Enable Bash on Windows 10 with the latest update
One of the commenters on that article said:

"just for the pleasure, anyone want to try a simple

rm -rf --no-preserve-root /"

I don't have a Windows 10 computer, so I can't test this myself. I would love to know what happens though. Does this subsystem have Windows' typical self-preservation mindset, or is it full-on UNIX style?

ferrari8608··on Python Lists vs. Tuples
It's much simpler to me. Tuples are used when you need a sequence but don't need to modify the contents, for instance returning multiple objects from a function call. Lists are used when you want to add things to it.

Namedtuples are wonderful! It's like a class with only attributes, except you don't have to define a new class and get slapped across the back of your head by more experienced programmers for creating a useless class. Access objects by index, by name, or by iteration. It's very versatile.

ferrari8608··on This JPEG is also a webpage
The fact they didn't want us to know
ferrari8608··on The LHC “nightmare scenario” has come true
We don't, but I haven't seen any around.
ferrari8608··on Sorry, everyone: The future of sex is total apathy
Could the obesity epidemic have a little to do with this? With around two thirds of the US population overweight, that's a lot of conventionally unattractive people. For males especially, being overweight drastically reduces the odds of being noticed by a potential partner. I suspect hormone imbalances, part of the metabolic syndrome umbrella shared with the symptom of obesity, might also have a hand in this.
ferrari8608··on Windows dips below 50% of web traffic to US govt websites
I haven't had any font issues with Manjaro (Deepin community release) or Antergos (MATE). Text looks great right out of the box. I can't say the same for vanilla Arch, but that's to be expected really.

I've been using The Deepin Desktop Environment for a bit over a month now, and I have to say it is easily the best desktop environment out there for Windows users right now. It looks close enough to 7 and 10 to be familiar, but it's far easier to use. Deepin OS is now my go-to recommendation for new Linux users, especially since they have an agreement with Codeweavers to include Crossover in the distro free of charge.

ferrari8608··on Epic Games founder says Microsoft's patches will make Steam progressively worse
Bad in what way(s) in particular?
ferrari8608··on Supertux on X11(unity7) vs. Mir(unity8)
It doesn't really seem like a decent comparison when you look at the comments and read that he used two different graphics drivers for the comparison. Proprietary for the first demo, open source nouveau for the second (which I suppose is more impressive considering their differences, but anyway). Anyone know why that is?
ferrari8608··on Ask HN: How do you view large JSON files?
>but it freezes on files larger than 1 MB

That's a pretty large bug. Considering what JSON is supposed to be used for, passing data between two programs/processes, files larger than 1 MB should have been accounted for.

Does it freeze then crash, freeze until the OS takes care of it, or freeze temporarily then resume?

ferrari8608··on Ask HN: How do you view large JSON files?
It's not nice to abuse innocent cats.

    python -mjson.tool < unformatted.json | vim -
If you're not using cat to concatenate things, the shell can probably handle the job.
ferrari8608··on moreutils
> erases the file first and >> appends without erasing

This isn't the issue.

ferrari8608··on Coconut – Pythonic functional programming language
Yes, you are absolutely correct. In our production code, which is currently running 2.7, we make extensive use of the itertools versions of those functions (imap, ifilter, etc.) for this reason. The itertools functions behave exactly like the Python 3 builtins, as iterators. The memory footprint is minimal, and they are just overall faster.
ferrari8608··on Coconut – Pythonic functional programming language
I've never understood why that phrase applies to Python when the language still has the map, filter, reduce, etc. functional functions. Generators and comprehensions completely removed the need for those, yet the functions remain even in Python 3.

On the subject of printing, there are actual reasons for having this duplicate functionality. The main way to print is of course the print function in three, or print statement in two. The print function was lacking the ability to flush the buffer before that was introduced in three. You would have to call sys.stdout.flush(), whereas now the print function includes the boolean "flush" keyword argument. The second way to print is to call sys.stdout.write(), which does not automatically append a newline. That functionality was implemented in the print function with the "end" keyword argument. You can pass it an empty string in place of the newline.

So for most use cases, print() is just fine. Sometimes you want finer grained control, and for that you would use the sys module.

ferrari8608··on Slowly Poisoned by Energy Drinks
Same here, but Monster was my poison of choice. I lost 50 lbs with keto and haven't looked back. Everything just got better.

I think bulletproof coffee is a bit overrated though. I tried it and couldn't get into it, and that's with very good quality coffee. A bit of heavy cream is nice sometimes though.

ferrari8608··on Watching the Reddit readers falling
Voat.co is worth checking out. It's like a smaller Reddit with an emphasis on preserving free speech.
ferrari8608··on The Stunning and Expected End of Gawker
It's a shame your comment has fallen victim to the disagree button. While I disagree with you, which I'll get to in a moment, it greatly disappoints me how some of the supposed intellectual thinkers on this site would like to hide your comment because they disagree with it. I didn't find it to be spam or inflammatory, which is to my understanding the type of post the down arrow is supposed to be used for.

Anyway, what he did was legal. There's nothing to be held accountable for. Whether or not it's right or wrong in general is not really a topic I'm interested in. Since the legal process worked as it's supposed to, I believe this to be what you might call right though. Gawker has had this coming. If they hadn't made it so easy by publishing garbage, Theil would have been powerless.

ferrari8608··on My nephew brought home a menacing maths problem
In theory, it should have been a pretty good exercise for the kids. Where the teacher screwed up was not following up with it as the author said. It could have been a great opportunity, but it seems to me the teacher blew that.
ferrari8608··on 'Boaty McBoatface' polar ship named after David Attenborough
You might be interested in Voat.co. That is the basic mindset of its comparitively small user base. Downvoting is typically reserved for the truly shit posts. There is a lot of crude content, but the site makes it easy to filter that out if you so choose.
ferrari8608··on 'Boaty McBoatface' polar ship named after David Attenborough
Same thing happened to Reddit. It was kind of inevitable that it would happen here, where many HN users are likely also Reddit users. Disagree button makes no sense when we already have a flag button.
ferrari8608··on Linux greybeards release beta of systemd-free Debian fork
Honestly journald is probably the only thing I don't really like about systemd and not for the reason you might think I'm about to say. I just rarely need to use it, because everything pretty much just works 99% of the time. So I end up forgetting how to use journalctl by the time I need it again and have to Google/man. Yeah I know, that's my own problem.
ferrari8608··on Linux greybeards release beta of systemd-free Debian fork
That's because there are only a couple of guys working on it. Linux has had hundreds of contributors over the years, many of which work for large tech companies like Intel and get paid by their company for their contributions.

I would be fascinated if Hurd could get the same sort of developer momentum to be comparable to Linux. A completely new (as in 1.0 released) and usable FOSS Unix-alike would be quite welcome amongst Linux and the BSD's I think.

ferrari8608··on MATE Desktop Environment
"The name “MATE”, pronounced Ma-Tay, comes from yerba maté, a species of holly native to subtropical South America. Its leaves contain caffeine and are used to make infusions and a beverage called mate."

Neat! And here I've been pronouncing it like the English word "mate".

Page 1 of 5Next →