HN user

ericmo

64 karma
Posts0
Comments62
View on HN
No posts found.

I find if/else to be more confusing than ternary operators. One of the reasons is that it always defines what the else clause is, while that usually doesn't happen when using if.

I'd agree that someone who is not used ternary operators might be confused with this, as I have been before, but I find it to be much cleaner now that I've been using it. It's also a little harder to debug.

One thing that really annoyed me in some monospaced fonts with ligatures is the [] ligature, I never understood why would someone rather see a box instead of two brackets. I'm no typographer, but I think that it makes the text lose its uniformity, because [] and [0] will look weird close to each other.

I guess I'm not alone in this, because in the Fira Code repo there's this commit from 2 months ago: "Remove [] ligature from specimen".

The point of exclusivity is creating a safe space for women; for men most spaces are safe spaces - I can assert that as a male.

It doesn't mean, though, that we can deal with toxic masculinity without men being involved. I do remember seeing some serious effort within Thoughtworks (and I haven't even worked there) to discuss gender issues without excluding men, so it's not a impossible thing.

Arnold said he's got help from lots of people and it's very likely that most of them didn't get anything in return. Were these people adept of ethical egoism, none of them would've helped him.

I'm a Sansei in Brazil, which essentially means most people think I'm Japanese while the Japanese think I'm not, so I've peeked both sides and I can tell you this: yes, childhood in Japan can be amazing, but certainly Japanese culture in general isn't about independence, it's actually quite the opposite, it's about order and individuals adhering to his/her role in this order. "Do as your parents said, get into college, respect your boss." It's even kind of bittersweet that childhood in Japan is so good, because you'll grow up knowing what you've lost. On the other hand, it's also not all smell of flowers, because children being independent also means that if mom isn't home, you have to be the responsible sibling, it could be a form to shorten childhood.

NYC Bike Stats 10 years ago

Let me just start by saying that there is no good reason not to wear a helmet when riding a bike in NYC.

One common argument is that drivers have more respect for cyclists without helmets, i.e. they're more afraid of hitting a cyclist without a helmet.

The discussion goes back a long time, this article for instance is 9.5 years old: https://www.scientificamerican.com/article/strange-but-true-...

I guess, most cyclists think it's more likely that they'll be hit by a car, not a pedestrian.

It could also be that some cyclists don't have the money to buy a helmet - or other types of safety gear.

Paper says that "those in lambda group received no benefits in regard to [...] compiler errors".

Really, would anyone expect lambdas to improve compiler errors? Also, isn't that a problem of the compiler, and not of the lambda idiom in C++ or C++ language itself?

I mean, idk about clang, but at least compiler errors from msvc and gcc have always been hard to understand, with or without lambdas.

The KDE was the shortest test. I spen an hour just rying to change the wallpaper and gave up. (sic)

http://lmgtfy.com/?q=how+to+change+kde+wallpaper&l=1

* Edit after down votes: Sarcasm is specially regarded as negative behavior in HN, but negativeness for negativeness, this article shouldn't even be here. It's filled with destructive criticism and unjustified claims. I'd accept the wallpaper argument from any person who hardly sits in front of a computer, not from someone whose primary occupation is to write about technology, not from someone who's been using Linux for 20 years (first thing to do? check man pages, do your research). I understand the down votes, but seriously, this article only makes me angry - maybe that's why John Dvorak is widely regarded as a troll.

Very good, but needs a option for resizing. I've tried looking at monospaced fonts and couldn't see them at a size that a monospaced font would actually be used (default is huge).

I've listened to a few pieces of audio in this Lit2Go and also had some mixed quality. This is a very good one: http://etc.usf.edu/lit2go/220/a-defence-of-free-thinking-in-...

This other one seems to be missing a pop filter during recording, there are a lot of awkward mouth sounds, and the audio is muffled: http://etc.usf.edu/lit2go/168/common-sense/2961/part-1/

Still, audio quality is better than LibriVox. Are the recordings also public domain in Lit2Go?

"If all you have is a hammer, everything looks like a nail". In C you have to build everything from scratch. If you need classes, hack some structs. If you need string concatenation, write some mallocs and strcpy, and so on. C is cool, but really, there's no way C is more "practical" than C++11, and C++14 will be even better.

Having emerged from authoritarian rule just 30 years ago, Brazilians are especially sensitive to encroachments on their basic freedoms, including digital ones.

Actually, I'd say most people don't care.

For a while, the country looked to be a progressive voice for digital freedom. No one expected Brazil to become a leader in cyber surveillance and censorship.

President Dilma Rousseff has used her influence to get "Marco Civil da Internet" approved in Congress. Most people who backed this project thought it would probably not be approved because ISPs have lobbied against it.

(from the article) [...] It did unquestionably require more time to code in lots of low-level functionalities that were simply missing from Android's SDK — and even after all that work, the end result was still far from ideal.

That being said, it's not clear whether the improved latency on newer platforms can be achieve without using Android NDK. I haven't used it, but I know Android 4.0+ supports OpenSL through NDK, and I'm guessing that if you want low latency you need OpenSL. By skimming through the docs, it looks like that's the case, isn't that so? http://source.android.com/devices/audio/latency_app.html

So, maybe it does solve the latency issue, and I would gladly use NDK because I like C++ stuff, but I think most developers wouldn't want to do it.

@chrisvasselli:

When I was a child, my parents tried to teach me Japanese as my first language, but we live in Brazil and that didn't work out, as soon as I got into school I dropped it and started to speak exclusively in Portuguese. Still I have some knowledge of "spoken Japanese", even though I don't know how to write the kanjis.

That's why I found this clippings feature really great. I can read the pronunciation over the kanjis and deduce what it means by context, I've always missed that when trying to study Japanese, and if I can't deduce its meaning, it's also easier to lookup in the dictionary if I know its pronunciation (in the app it's probably just a click). Some people think that going through this trouble actually helps memorizing the kanjis, but for me it's just a time consuming task.

Too bad I have no plans to buy an iPhone. No plans for an Android or a web version?

Also, how did you get these texts to feed the clippings? By hand? Scraping?

If Android usage of Java is in violation of Oracle's copyright, than why isn't OpenJDK? I don't code much in Java and when I do I use Oracle's version, so I don't know how different it is, but I guess the "API" should be the same, no?

Also, I don't see how is it better for Google to be sued by Oracle than using OpenJDK just because it is GPL-ed. Why? It doesn't make sense!