skysight-inc/HackerNews huggingface dataset:
There's nothing technically wrong with it, and there are definitely situations that may require it. But IMO, in a huge ViewController, you ideally want to avoid using Objective-C++ code directly. It's better to use wrappers. This is mostly because Objective-C++ has many surprises and is poorly documented. It can be a PITA to debug.

It's a better practice, IMO, to isolate your Objective-C++ code into individual .mm files if you can. Try to keep the majority of your code in .m, or .cpp files and use wrappers. The idea is to try and work with a pure C++ or Objective-C compiler for each compilation unit, wherever possible. The saner compiler will save you a few headaches.
The photos in those things are awful. Tiny black and white pictures with little context or detail.

Why do we not have tablet apps which allow you to see how everything fits together, how the drivetrain redistributes energy, etc?
No... many people create Facebook profiles before they're 13 with fake ages, and then it is difficult to change it to the correct age.
Does this not seem like a problem to anybody else? Wasn't the whole point of React that it was supposed to be simple? And yet things have gotten so complex you're giving advice that anything older than 3 months isn't even worth reading?
You assume people don't know that while simultaneously assuming they're a male, quite funny
Parent used language highly associated with taking something very personally:

-"Wait, how exactly is [...]?" as if indignant.

- Scare quotes, as in "personal space"

-The "First, [...]. Secondly, [...]." dialectical pattern, suggesting someone feeling attacked on multiple fronts.

- "drop the pretense", suggesting said author was ostentatiously holding up a lie.

- "fear is bad, mkay", characterizing the author as a South Park hick.

- "[...] work just fine, thank you.", subtextually suggesting the person had crossed a boundary of decorum.

- "Oh, and, edit, just because", which is a common semantic pattern of emotional self-defense, e.g. "And another thing!"

- "Please, age of phrenology is over.", a red herring, attempting to undermine a theory by associating it with a formally disproved theory.

- "God. Damn. It.", resorting to frustrated cursing post-rant, suggesting the person has more feelings they'd like to elate.

Generally, when someone responds with language of that sort it suggests the idea struck a chord. My interest in the parent's comment was purely jocose.
Days like this I really hate the Ruby/Gem/Bundler eco-system.

$ bundle exec gem list |grep i18n
i18n (0.6.9)

$ bundle exec gem update i18n
Updating installed gems
Updating i18n
Successfully installed i18n-0.7.0
Gems updated: i18n
Installing ri documentation for i18n-0.7.0...
Installing RDoc documentation for i18n-0.7.0...

$ bundle exec gem update activesupport
Updating installed gems
Updating activesupport
ERROR: Error installing activesupport:
activesupport requires i18n (~> 0.7)
Gems updated: i18n, thread_safe
Installing ri documentation for i18n-0.7.0...
Installing ri documentation for thread_safe-0.3.5...
Installing RDoc documentation for i18n-0.7.0...
Installing RDoc documentation for thread_safe-0.3.5...
bundle exec gem update activesupport 23.83s user 0.30s system 98% cpu 24.521 total

$ bundle exec gem list |grep i18n
i18n (0.6.9)
Excellent point! :)
I'm not sure which is the better/worse idea:

"JSONx is an IBM® standard format to represent JSON as XML. The appliance converts JSON messages that are specified as JSON message type to JSONx. The appliance provides a style sheet that you can use to convert JSONx to JSON."

https://www-01.ibm.com/support/knowledgecenter/SS9H2Y_7.1.0/...
Just get a bunch of monkeys pounding on keyboards instead. They'll produce the same information in due time.
`eval $(docker-machine env docker)` is great, I can stick it in scripts and separate my development environment from testing, staging, and production for every project I need to track. It works on Windows, OS X, and Linux so all my developers can use whatever OS they want and I still have one platform-agnostic environment setup script that gets people up and running in less than 15 minutes. The only problem with docker-machine is you can't share environments without copying over the entire machine configuration, which is somewhat baffling in the case of EC2 machines but is by no means a deal-breaker.
It doesn't have to be a debate, everyone can move any one language into the other (JS into HTML, HTML into JS, CSS into JS, etc), as long as they feel that what they write will be something they can reason about later. They should take into account their mindset in 6 months, other people that might be brought on and what their background might be.

The only real issue I see is that if you move HTML into JS, you might make it harder for a pure visual designer to step in and work on HTML/CSS, but outside of that I can't see an issue as long as you keep reasonability of the code in mind. And if you have a good designer, I have a feeling they'll be more than glad to learn how to navigate around Javascript.
> So there's definitely a sense to me that Mercurial is the better VCS because it will quietly support whatever development model you want to use, whereas Git tries to force you to use the One True Model™

Wow, I can't disagree with that notion more. I've been on many projects that use git and practically every one used git in different ways. I've never felt that git was trying to force a particular workflow on me. Git's greatest strength, to me, has always been its toolbox nature—you can make it do whatever you like (want to comb through your entire repo and change someone's email address, or backdate an entire branch? No problem!).
Been there, done that. Hello cgic!
WordPress with Node, React, and GraphQL (Part 3– The Schema)
I have had a kinde for 2-3 years, but rarely use it. Marking up books with a pen/minor annotations are significantly easier on paper books for me.
You know you're just making the case for sterotyping without using the word "sterotype", right?

No, I don't know where you get that from. I'm not arguing that prejudicial stereotypes are good or should be used. I'm suggesting that the strategy of pretending a stereotype doesn't exist is a poor strategy for fighting the use of prejudicial stereotypes.

We all know our brains are unbelievably bad at statistics. You're not going to get humans to all of a sudden start applying rigorous probabilistic analysis and deductive reasoning to inform their opinions.

You can give statistical reasoning to your white friends for why they shouldn't cross the street when they see a group of brown or black kids dressed "like gang members" up ahead. You might be right, and they might even agree. And guess how much difference that will make the next time the situation comes up?

It's a strategy that's as ignorant of human nature as Communism and just as likely to be successful.
I learned to program well before OO became The Thing, so when it came around, I had a foundation to consider it with a broader perspective.

Re: "I'm so sorry, man." Thanks, but I'm not sorry at all. The (what I call) Message Oriented Programming first approach has allowed me to have a highly successful career.

Re: Carmack. There's quite a few such highly respected and respectable articles out there, but I gave up advocacy a long, long time ago. I just let what I'm doing, and not doing, do the talking, for better and worse.
Swift Reverse Engineering: Digging into Objects
imho for CPython, the decision was more of the network effect that Github have rather than picking any particular tool or language. I Know Gitlab was also taken into account, and RhodeCode as well which supported Mercurial and itself is also written in Python. I think in there days for large OS projects it's more important to have more potentials contributors rather than sticking to only Python projects. Just my 2c.
Couldn't reply to your child comment, so I'll put it here.

You don't seem to realize how easy it is to discredit someone that the general public doesn't recognize.

The cryptographers are one false planting of child porn away from no influential majority of people believing a word they say. You won't defend them, because you'll question the authenticity of the child porn claims and you'll have no evidence to the contrary.

Overnight these kinds of people can be taken down and made into nothing.
Why don't you just post links to examples of moderator abuse? If it's so rampant as you say, that shouldn't be hard.
Except its not the DCS paradigm that led to git's network effect. In fact, for the vast majority of users they are using it as a de-facto centralized system (on github).

DCS was around before git and did not sweep the tech industry. Just like concurrent check outs weren't the reason cvs took off.
US Treasury says 'Putin is corrupt'
I also agree with you, but let me say, that while I seldom return anything, but for size mistakes, having that option makes me prefer them as a vendor, if they take that option away, I'll simply go with the online retailer who sells for up to 40% off rei prices.

Also for many things unless they are broken (where warranty can kick in) they can make money on rentals
On the topic of building, rock is a pesky material to work with compared to wood. But wood do not last relative to rock. Tokyo was a mostly wood buildings before WW2 for example.
So, now your OS X scripts are basically non-portable, (worse really). All to save exporting a variable?

And now I'm ALWAYS running a Linux VM no matter why I logged into my Mac?

Solution in search of a problem.
Suppose the project looks like this when clean:

README.txt
src/
include/
doc/
TODO.oo3

In the midst of development, I may end up with files in some of these directories that are not supposed to go into the repository. There may be output files from test runs that I'm keeping around temporarily while I debug, notes (that will be incorporated into commit messages which is why the notes files do not belong in the repository), short-lived alternative versions of some of the source or include files, and so on.

I don't want to "git add" on the project directory, or any of the subdirectories other than TODO.oo3 because I don't want to pick up those files. For everywhere except TODO.oo3, "git add -u" is what I (think I) want. It's only with TODO.oo3 that I want "git add" instead of (or in addition to) "git add -u".
Multitasking has the effect of increasing perceived workload whilst decreasing work throughput and increasing the error rate.

Through training it is possible to become efficient in doing two tasks seemingly simultaneously, in this case, anamnesis and note-taking. Nevertheless true multitasking is not proven, and switching occurs instead, the trained person simply responds quicker to certain stimuli.

Multitasking might also be the source of frustration and contributing factor to the reported depression.

Of course the documentation work can be rationalized and tools can be developed to help this, but there is also room for improvement on the work of the doctors, revealed by the lack of standardization reported in the article.
There are some archives of gophers that can be had in torrent form. Amazing stuff in there.
Go big or go home? (choosing an employer)
I hear this sort of thing often enough that I need to reply. In general Asians claim that race or discrimination isn't the issue. That most of the issue falls to education and work ethic unfortunately i've come across quite a few very racist Indians and Asian people to be sure. In-fact not only do they tend to be very racist and large in parcel hold onto stereotypical tropes but they are also very classist.

I say this as a black carribean man married to a chinese woman. It's truly a shame as some of the behavior I've seen meted out shouldn't be coming from these groups.
He uses the patches. Not sure if it's any cheaper.
I've been using MuseScore for several years to arrange vocal and piano scores. It's really good!

The best thing about it being free is not so much that it is free for me, as the arranger (I've bought score editing software before). It is the fact that I can actually send the digital scores to the singers, and tell them they can use the same software for free to rehearse on their own (e.g., setting the volume of their voice louder, etc.).
They could have fixed this problem with lifetime exchanges. My dad had an ancient Sears Craftsman ratcheting screwdriver. It would turn when you pressed the handle, and bits stored inside the handle. It broke. He took it back. They didn't even make anything exactly like it anymore but he walked out with the closest thing they had, no charge. Guaranteed forever. To this day if I think of quality hand tools I think Sears Craftsman.

But they don't give refunds for tools. They replace them. REI could offer lifetime exchanges. Strap break? Seam rip? Bring it in for replacement. They don't offer that. This "solution" is not narrowly tailored to the stated problem of abuse so I doubt this policy change was really a response to abuse.
There is no definition of "native" where your statement is true.
Precisely - https://twitter.com/internetofshit
Just use Vagrant! Start a Vagrant VM on your Mac and do the Docker stuff inside it.
Facebook will collapse soon, smart investors should prepare their exit
Yes, it's likely that github had more (or better connected) users at first and then Metcalfe's Law took over.
Every Lewis book I've read has been great. He does a fantastic job exposing any number of things that are likely desired to be kept secret. Also does a great job making things understandable, while not dumbing it down too much to the point of inaccurate.

"The Great HFT Debate" is a must-watch, following the release of 'Flashboys' just seeing how defensive the market players got.

https://www.youtube.com/watch?v=RcpmHyPD_PY
So I imagine the solution is using xhyve to run a simple linux.

Why is the xhyve virtualization framework through low-level go-bindings better than using VirtualBox for the same task?
Just because I can't make a product cheaper doesn't mean I can't produce more of it. Why don't we make cheaper and cheaper cars? Because people who can afford new cars would rather spend more money to get nice features and safer cars. People who can't afford new cars would rather buy a used car with nice features and a good safety rating. We've had several sub-$10k on the market. They don't sell well. No one wants to buy a brand new Geo Metro or the original Kia Rio or a Chevy Tracker when they can buy a five year old Ford Taurus that is better equipped for cheaper. The used car market is the reason we don't have cheaper brand new cars, not production. And luckily we have so many used cars because we produce so many new cars every year.

But again, we're talking economics right now. The subject is production. Once again I ask: you said we're limited by our ability to produce, do you have anything to back that up? And no, saying "it costs a lot of money" is not proof of a production bottleneck, it's proof that companies hire accountants.

So at this point I'm going to step away from this conversation because I don't think it's going anywhere. You've made me think a bit about economics, so thanks. Good conversation.
SVG clip path hover effects
The Michael Jackson Video Game Conspiracy
What does "won" mean, concretely? I mean, if 75% of people use git and 25% use mercurial, what does it matter?

Also it's not true that a lot of forward-thinking, progressive, thought leader tech companies are using Lotus Notes. That is true of mercurial.
Ask HN: Are GMail's new features making spam easier?
I have noticed more spam making its way into my inbox.

Used to be that I reported things as spam. The past few months I have been using the "Unsubscribe & Report Spam" feature which I now suspect just validates my email address for the spammers since I hit their unsubscribe URL. I believe it's just better to click Report Spam and skip the unsubscribe part. But it forces me inspect the mail and make a considered decision.

I also suspect that because of auto image loading (despite caching), spammers now have better intel into open rates and validating email addresses. There have been submission on HN before on how you can bypass Google's caching proxy by using a unique identifier--doesn't this make it easier for spammers? It used to be that for suspect mails, the images didn't load until you whitelisted it. Marketing companies now also have better intel not only into open rates but also repeat open rates, I imagine, by using cache-busting. I have now turned off auto image-loading as well but I have noticed images in mails have become more common, possibly because of GMail's change and it degrades the mail reading experience if images are off. This makes sense become images open from a remote URL and allow the marketer to show dynamic content that can change over time, which means it is a feature for them but has privacy implications for readers.

I'll find out in a few months if both the measures taken above reduce the spam though my mail viewing habits have already been harvested sufficiently by marketers/spammers by now.
not apples-to-apples comparison, first thing comes to my mind is Trans Pacific Partnership (TPP) and how it (may) hurt environment.

When rich guys are saying something, others should listen, even though they are wrong

- http://news.nationalgeographic.com/news/2014/01/140117-trans...

- http://www.sierraclub.org/trade/trans-pacific-partnership
OMG!

Please tell me you also have a Mud/Muck on your server?
My experience with software patents makes me believe that Lander and Zhang, being part of the group that most aggressively pursued patents, are scam artists that should be drummed out of science forever. I actually have to remind myself not to feel hostility toward them.

I know it's not valid reasoning but it would be almost certainly right in software. I'm pretty sure software patents are poisoning the whole patent system both from the inside and in public opinion.
From the article > "We've seen him enriching his friends, his close allies, and marginalising those who he doesn't view as friends using state assets. Whether that's Russia's energy wealth, whether it's other state contracts, he directs those to whom he believes will serve him and excludes those who don't. To me, that is a picture of corruption."
The problem isn't "how to coerce", it's "how to coerce without being detected".
And, if I recall, MKL is included in Microsoft R Open (previously, Revolution R Open). At least, that's what the instructions here[1] lead me to believe.

[1] https://mran.revolutionanalytics.com/documents/rro/installat...
Neither this comment nor the article clearly spell this out: when you use the production version of React, much of the developer-assisting error checking is removed (not just propTypes[1], but many other error checks[2]), so you don't need to worry about the end-user performance impact of propTypes.

As an example of how much this helps, one React-heavy page of mine dropped from 1500ms to 300ms by switching versions, according to my browser profiler.

[1] https://facebook.github.io/react/docs/reusable-components.ht...

[2] https://facebook.github.io/react/downloads.html#development-...
Assuming monospaced font.
Yes, exclusively licensing CRISPR on an indication-by-indication basis as a therapeutic itself (as someone below has suggested has already happened by Broad) would be worrisome.
Colored is in-fact very offensive and I wouldn't use it around a person of color.
A similar story was shared in the Wild book/movie.

IWGTP! '11
Mappersmith: a lightweight, isomorphic, REST client mapper for JavaScript
Redux JSON API
Alright, who else saw this on Alec Muffet's twitter feed while reading about the Sun 2's secret message?

Cool, but I'm not sure about the practical uses. Perhaps to test the accuracy of all the flight trackers out there??
1. ~170k (salary) + bonus + options and benefits (100% medical, 401k match)

2. Hired at this salary. Current company doesn't negotiate salary

3. In the US. I track every dollar spent -- it was about 75k (after taxes) in 2015. Rent is $1975/month. Groceries for 2 is about 100/week. I am remote (no travel)

4. No titles. I spend almost all of my time programming.

5. I am at a b2b saas startup. 1 round of VC, about 4 years old.

5a. Salary is determined by an objective formula -- everyone is assumed to be very skilled. Unskilled workers are asked to leave.

5b. The objective formula is highly correlative to years of experience -- I am in my 40's.
I could understand the power play angle if it was something more mundane, like a slap on the ass.

But this whole band-aid jibe requires a certain amount of premeditated thought. It looks more like sexual deviance to me, rather than simple power play.
Deletions feel a bit odd.

I mostly use "git add -p" and it misses new files, which doesn't feel right either :\
If that was likely to happen, I would expect to see the same with human organs that we already know how to transplant. We do not. So I find your extrapolation very unlikely.
Yes, and applecore made a claim that David Chapman's observed experience of having his brain slow down was caused by the placebo effect. I asked for proof of that.

Also, when people assert that UFOs are probably just an optical illusion, they are (or at least should be) doing that based on the long observational baseline of many investigated incidents which indeed turn out to be optical illusions. That is to say, it's legitimate to say that perceived UFOs are probably optical illusions it's because there's real data demonstrating that perceived UFOs really are optical illusions.

The illegitimate version of that would be saying it based on general arrogance, which is frequently a barrier to scientific progress. See, e.g., the story of Nobel Prize winner Barry Marshall.
not so coincidentally, human conversation protocols (at a high level) look a lot like some communication protocols:

https://en.wikipedia.org/wiki/Carrier_sense_multiple_access_...
Ask HN: Does your employer consider ergonomic workstations important?
I've seen ergonomic/repetitive stress issues like carpal-tunnel syndrome affect many co-workers, from having to wear special braces, undergoing surgery, to even forcing one co-worker into retirement.

I've also noticed that some employers place more importance on ergonomics in the workplace than others - for instance, most required doctors notes for special equipment, like ergonomic keyboards and mice. Others offered services like an ergonomic study of your workspace, ergonomics training and simple desk height adjustments (in a cubicle) as normal fare; still others didn't even have height-adjustable desks and seemed fairly unaware of ergonomics.

What's your workplace like, and is ergonomics something you consider or place importance on?
My favorite book, even if you don't have a VW, is John Muir's "How to Keep Your Volkswagen Alive: A Manual of Step-by-Step Procedures for the Compleat Idiot". It is great because it was written for someone with no mechanical experience, it assumes no specific knowledge, it is geared towards an older cars (air cooled VWs) that are much simpler than modern cars so you aren't thrown into the deep end, and is very funny and well written.

My favorite line from the book was something like "we'd have far less accidents if we were all strapped to the front of our cars like an aztec sacrifice." Which, while probably not the best approach to safety, has a kernel of truth that things that make us feel same may not make us safer, because they make us more willing to take risks.

The book begins with a great section on the theory of all the parts of the car from the 4 stroke engine to the differential to the brakes--how they work and why they're needed.