skysight-inc/HackerNews huggingface dataset:
Well, I was careful to write cross-platform C++ code from the start, meticulously isolating the few platform-specific parts.

Yes, it's a lot to learn at start, but Powershell is rather user-friendly, so it helps. Yes, I work slower now than in Linux, but I'm quickly picking up the pace and it's paying off. Plus, there are many hands-on howtos for specific tasks I need to accomplish.
ice cream sandwich?
Programming Pearls (2nd Edition) by Jon Bentley

Effective Java (2nd Edition) by Joshua Bloch. It's a Java book but it's language-agnostinc in a way. A great book.
Wow, if that classifies as an ad I don't even know what the definition of advertising is anymore.

I want a car that doesn't come with advertising built in. Every time I'm low on gas it starts dinging and flashing lights at me, and - can you believe this, people - if I refuse to buy any more, the car won't even start! And don't get me started on what happens every 10,000 miles... demanding I change the oil! I'm not a sucker, I won't fall for their advertising!
Eclipse will automatically attempt to download sources from Maven when you jump into a dependency.
Seems like status quo bias. If C did not have this wart, no one would suggest adding it just to "force beginners to think about what they are doing" or "make it easier to get an overview of the code using a text editor".

And human factors matter. In the context of language design, they're the only things that matter - the entire function of a programming language is to make a complicated task fit a human brain as neatly as possible.
HTC U11 Full Review: Does HTC Worth It? – SuratNow
> Don't try to coerce it into doing Linux things; learn Powershell and Windows concepts instead.

Also change to IIS web server, because it's better.
> I'd disagree with your analogy. If your text editor crashes, it will cause a few minutes of lost work. If your database engine mangles your data, your site will be down for however long it takes you to restore from backups

So you are going to base the crashing of a database on the cursory non expert runtime of your eyes. Why not just test the database, read the doc, ask other experts.

Secondly rarely do most developers extend their database so their is very little need to know that codebase and they probably should not change that codebase (given the criticalness).

You know what developers extend often... their editors and IDEs. The code quality (in terms of readability) of that should be much higher.

Now obviously if you have nothing but the code to base (like no doc, no benchmarking, no existing mind share, etc...) and are generally knowledgeable in the area than yes code quality would be a good decision criteria but I remind you the OP said it was the major reason between Postgres and MySQL which are probably written by superior experts than the OP.
what tech stack?
Article says

> This is also why address reuse in Bitcoin is encouraged as to sign a transaction you need to reveal your public key. If you don't reuse an address after sending a transaction from the address, you don't need worry about the private key of that address being exposed.

Shouldn't that say "address reuse in Bitcoin is discouraged"? Otherwise I don't think I understand what he's trying to say.
Top 5: Female Founders in the UK
I could live with this reality. As citizens, we will more or less be at the mercy of government to some extent, if only due to the scale of their operations.

I see this as the equivalent to governments having access to tanks, artillery, airforce and nukes while civilians have mere access to guns and knives.

Whether civilians should have access to guns is a discussion I would like to remain not a part of.
ISRO Launches India’s Heaviest Rocket GSLV Mk III
Are you using any outside vendors like auth0 or anything?
I agree. We ran into something similar when we were working on Starfighter, where Erin and I were repeatedly told that CTFs were intrinsically male-oriented because women disfavored zero-sum competition (which was surprising for Erin, a roller derby skater, to hear).

It also doesn't (at least in my opinion) help the cause of balancing the industry to be telling engineers that the only way to do so is to emphasize soft skills and deemphasize competition (and subtextually with it technical excellence).
Your facts aren't even being supported by the NuSI experiments, (Gary Taubes's own initiative).

The NuSI experiments were suppose to prove the insulin hypothesis but showed no metabolic advantage for low carb/high protein/fat diets.

The one advantage the low carb diet does appear to have is satiety; fats just leave you simply feeling fuller longer. But there's nothing metabolically magical about them.
https://www.youtube.com/watch?v=MiUyjMjuLl0&t=674s

The low fat/high carb group actually gained a longer-term metabolic advantage vs the low carbers..
Most datasets are 16khz sampling rate, wav file. A good place to start is Mozilla deepspeech implementation.
I thought the Mac Pro was made in the US, so why would Foxconn even know?
Correction , a 386 with SVGA card
I played Doom, Descent, Wolfstein 3d, Dune, Dune 2, Indiana Jones and the Fate of Atlantis, Warcraft II, Sim City 2000 and Hexen on a simple AMD 386@40 with 4 MiB of RAM and OAK SVGA 1MiB that my father build self.
Ask HN: Need to Build a Simple, Stupid CMS. Which Way to Go?
I have been contracted to build a simple, stupid (yet somewhat powerful and not lame) hosted CMS.

I have to code it with PHP/MySQL (and JavaScript/AJAX as needed).

It has to be capable of building small, mainly catalog/brochure sites, sans a lot of bells and whistles. Ease of use is the most important criteria.

I am wondering whether to pick up an open source project and mod it or build from scratch.

All suggestions welcome.
Why, to get the worst of both worlds?
Thanks!

I've been looking for something beyond basic tutorial apps to get a real feel for OCaml.
Whoa, this escalated.

You're assumptions are incredibly wrong.

> Whether your wife has a job or not, the odds are good that she is doing more of the house work and child rearing than you are. That doesn't necessarily mean you need a bigger house, but it does mean that if she is not happy with the house, it is not a good idea to be all "meh -- not like she will divorce me over this."

She works harder than I do full-time; I am at home many nights without her, with the kids, while she wins more bread. We split responsibilities quite well but she'll be the first to tell you I am an All-Star dad. I usually clean the house as I'm the neat-freak of the family, and what most people consider clean is just getting started for me. I spent the first 9 months of our first child's life at home being a semi-stay-at-home dad, rearing her almost completely as my amazing wife positioned herself into a career that helped us tremendously and really aids in our lifestyle now.

We appreciate each other, but don't value one's output over another, except maybe at our places of work. We're a team and we play like one.

> A good kitchen and laundry area can make the women's work vastly less burdensome.

Agreed, although we upgraded these features and requests to pinpoint issue we both had, as we both split duties performed in these areas at least 50% (different areas and different weeks demand different percentages).
Netflix finally gives up on the Net Neutrality battle
In a way, the entire book is about debugging, but the target is the author's thought process rather than code. While Robert Pirsig fictionalizes the story, in fact it's closely based on his own life, in which he sought understanding of values (via zen and academics) but somehow went wrong and ended up catatonic and in shock therapy. The plot is a revisit of the mind trek he was on then and a quest to see where he went wrong. Pirsig approaches this not as a psychologist, but as a reductionist philosopher/scientist, trying to identify what troubled him and caused him to fail -- a debugging of the mind.
It didn't hurt their sales, so it looks like an okay decision from a product perspective.
If you have a software problem, and your solution is to throw more programmers at it, you now have two problems.
Few people seem to remember that Google didn't create Android -- they bought it. I'm not saying they could never have created it from scratch themselves, but there is something to be said about the innovation capabilities of a Goliath like Amazon or Google.
> Then it makes 2 DNS queries for example.com (why 2? I don’t know!)

If I had to guess, I'd say it makes separate A and AAAA queries in parallel
If you want to agree with the findings as applied to humans, yes. If you don't, no.
It may very well be the case that looking at the internals of some database other would provide a different set of lessons.

IMHO, MySQL is especially ugly due to an attempt to insert an abstract interface around its storage engines. IIRC that interface is leaky, and its documentation is pretty spotty. Also, the InnoDB storage engine has a lot of complexity that seemingly duplicates what's provided on the storage-engine-agnostic side of that interface.

One of the big lessons I took away from studying MySQL's internals, and partially confirmed by the "internals" book, was this: Be careful when designing a plugible storage-engines framework for a DBMS; MySQL has some examples of what can go wrong.

That's something you're unlikely to find mentioned in a generic DBMS-implementation book, but is very good to know about regardless.
"it does meaningfully better at all sample sizes"

maybe you aren't familiar with reading graphs, but no, it really doesn't. one graph with mostly overlapping error bars does not inspire great confidence.

also, it isn't at all clear to me that the cross-validation method employed is sufficient to rule out overtraining. nor is it clear that the differences claimed are replicable or generally applicable enough to make a counter argument to the original
post.
Optimizations which made Python 3.6 faster than Python 3.5 [video]
How bizarre that the terms of use for .xyz specifically bans illegal or fraudulent defamation of Justin Bieber and Oprah Winfrey. Presumably this only covers things that were already covered by the law for everyone else, but it is still kind of baffling. I assume the two of them were involved financially with the .xyz TLD?
So what you're saying is comparable hardware costs the same no matter if its Android or Apple, the difference is Apple doesn't make low-end devices.

That is literally exactly what I said. If a Galaxy S8 and an iPhone with the same hardware costs the same price, there is no such thing as "the apple tax". None. Can't happen. They cost the same. The only difference is that Apple doesn't make anything cheaper, but google "best laptops 2017" and guess what? They all cost the same as a Macbook.

So as it turns out, Apple's prices are comparable with their direct competitors. Ergo, the Apple tax doesn't exist.
What's wrong with wordpress?
As the author I want to clarify something: the word "gender" appears once in the article as an example of diversity. The enumeration you gave is more an example of lack of diversity in roles and behavior than it is gender.
I would recommend Schneier's Cryptography Engineering (or its predecessor) Practical Cryptography over Applied Cryptography, given the question. I agree Applied Cryptography is a very interesting book, but that's because I'm a crypto nerd. For someone looking to improve general software engineering skills, I think the other books do a better job of presenting best practices and the understanding behind them, with a bit less mathematical theory, etc.
I'm betting they always planned to bring it back. It's a unique product differentiator, and they probably only dropped it because of difficulties adapting it to USB-C quickly enough for the last launch.
There's no need to add something new. I'm just resisting the rise of these new more insidious forms of racism and sexism.
Yes, I am aware this is about wage growth in America which affects the profits of major companies in America. I think you got my point, though
Show HN: Raspberry Pi coding in the cloud
Many modern games (especially MMOs) already do, not to mention platforms like steam or xbox live that facilitate both buying games and talking to friends
HAHAHA! This comment made my day.

FWIW, I did have a great metabolic upgrade in 2013 and 2014. And it was done by cutting down on carbs and eating delicious foods like fatty chicken and beef, cheeses, etc, and cooking with lard whenever possible.
> It isn't behavior anymore. It's political opinions. Usually mainstream ones.

Empowering groups with money is a behavior.

> Often witch-hunt style - i.e. the victim didn't even hold the opinion attributed to them by the mob.

What opinion was attributed to Luckey that he didn't seem to hold or support?
Kids can really align your priorities quite well, and quite quickly. So glad it worked out!
Serious point: let's say that, to you personally, investing in the stock market and going to college are a wash. They're not a wash for the state. The state gets more taxes from your higher-paying job. The chances are you're also helping to support some lower-paying jobs as part of your industry. So it's not unreasonable to expect the state to contribute to actually making this happen.

The benefits are actually much larger than I've just described. There's a snowball effect as the industries of the state move up the ladder. America is currently benefiting from past state investment in education. (There's intangible benefits too, but for these purposes let's just talk about the benefits the state accrues.)
I know we aren't supposed to comment on the votes, but it is notable that the scientific method gets downvoted here...
I do not understand this. It seems like a perfectly good advice, and in fact it's what I'm doing every day - leaning on my compiler, and in Java world, on my IDE.

And also it seems to be something lots of programmers don't realize for some reason - many times I had to instruct people to crank up their compiler warning settings and actually read them. Especially in C-land, I can't count the number of times I solved someone's problem by appending -Wall to the gcc invocation and telling them to come back after they fixed all the warnings...
And all the SHA-3-derived functions in SP 800-185. For instance, ParallelHash is super fast and a NIST standard.
Actually, this is exactly incorrect. The reason Amazon couldn't include any Google Play Store compatibility in Kindle or Fire products, for example, is because in order to do so, Google illegally requires OEMs to also bundle other apps... like Google Play Books, a direct competitor to Amazon's Kindle. This is a practice called "tying" in antitrust law.

The fact that Google doesn't allow OEMs to pick and choose what apps are included is the subject of an EU antitrust investigation, and Google has already been prohibited from doing so in Russia. It's also illegal under US law, but Google has an incredibly significant amount of money invested in the right US politicians.
From the wording of the announcement it sounded like it was a project <3 months old at the time. They specifically said it wouldn't be this year too.

Honestly for well over a year now it felt like the Pro was officially canned and ATP podcast reported from an insider that literally no one was working on it as soon as Q4 2016.

My thinking is there was a change of direction internally and a decision the future of Apple still required the talent and community of pro users rather than just embracing the mainstream full on and hoping that pros will be happy with iPads.
Show HN: Distraction-free notes app for Chrome new tab page
Here is a direct link for those like me who are wondering where can they actually read the book:
http://aosabook.org/en/index.html
You can probably make a book out of the recommendations for better books than dragon and applied crypto you can find just online.
Picking the best JavaScript engine for your Node app’s performance
Humanity is going to argue over what is the best diet (regular not reducing) until the end of time.
Customizing an existing one is better insofar as:

1. Its usually faster, since you're just writing a plugin or overlay or whatever on someone else's work.

2. Makes it easier for customer to hire other people to maintain it when you've moved on.
I'm the lead engineer of the Google Registry, which runs .google as well as the other dozens of TLDs that we run. Feel free to ask any questions. Our site is https://www.registry.google/ and our code is released as Free/Open Source Software at https://nomulus.foo (another one of our TLDs).
I have been reading Game Programming Patterns lately. It explains the design patterns with examples from games, and it is really well written by an engineer at Google (Bob Nystrom): http://gameprogrammingpatterns.com/

After I complete this book, I think I'll read his other book: Crafting Interpreters. This one teaches about implementing a programming language from scratch, once in Java and a second time in C.
From this subthread: https://www.reddit.com/r/apple/comments/6ezhwm/iama_foxconn_...

>> You are giving away evidence about you and your mates identities !

> Apple knows about us already. We had a visit earlier today. I'm legal counsel, what we are doing is legal, however frowned upon.

I am really curious how that works out.

Could this also point to a fragmented Apple that wants to share (perhaps to refine last-minute details?) but can't due to embargoes?
That's not so much an argument as it is a tired play on words, an attempt to define away the debate. Your opponents in this debate do not believe that working to correct overt exclusion of women and people of color from the industry is a form of racism or sexism. Meanwhile, everyone agrees that such overt exclusion, if it exists, is racist or sexist.

So you can argue about whether that exclusion exists, but you can't shut down the argument by claiming that it's somehow racist/sexist against white men.
I'm trying to show a progression from "discounts" to "more discounts" to "we'll give it to you free just to get more 'sales'" That's why I called it a natural conclusion.

The only difference between giving someone a coupon to entice them to buy something from you and buying it yourself is how much money you're losing in the short term. It's on the same spectrum, just at different ends.
You could still have pre trained the custom architecture.
The contrast of the text of those articles is absolutely abysmal.
Except that Foxconn still isn't building Apple products with clean energy.

Apparently they will in 2018:
https://www.ft.com/content/087525c4-786b-11e5-a95a-27d368e1d...
... Sorry I took that so personally. I understand where you're coming from; but before we started a family I decided to play a much more important role in my child's lives than just the check-writer.
WordPress is far from simple. Plus anything more than a low traffic site requires pretty beefy hosting.
I went to grad school in the middle of a startup. Probably cost me a million dollars. I learned so much, met great people, and met my future wife. I wouldn't have made a different decision any day of the week.
How to Fail at Almost Everything and Still Win Big by Scott Adams.

Turns out the creator of Dilbert was at one time a mid-senior level manager in Corporate America, who attempted several failed entrepreneurial ventures over the years. He's also a brilliant writer. Totally hooked by Chapter 3: Passion is Bullshit > http://www.goodreads.com/book/show/17859574-how-to-fail-at-a...

"How to Solve It" by George Pólya
I was talking about the cheese grater Mac Pro revamp that Apple seems to be working on. Not sure that one is made in US.
I think it's reactive, i.e. in response to some prior incident, not implying an ownership stake. Do you really think Justin Bieber is involved financially with the domain name registry business? I doubt it.
If you hadn't had a chance to check out Labview NXG, I suggest it. 2.0 Beta is out now. Completely new editor experience. (Full disclosure, work on the core NXG team)
Another article about productivity from an author who can't distinguish between measurable economic TFP and the common-use concept of productivity.

In fact, TFP (which is what they're charting) is the mystery factor that explains why earnings grows differently than its inputs, labor and capital.

It makes no sense to me to talk about TFP when moore's law is making devices cheaper and VCs / ad revenue are subsidizing omnipresent software.

The ATMs argument is tired -- even if it's right it's 30 years old.

Foxconn replaced 60k workers on their shenzhen campus with robots. How can this article not cite that?

Weak.
> And original MIT video lectures (for HP employees) are must watch. The mood/feel they have, impossible to receive from the book alone.

Link?
> Those 65,000 workers you are referring to are on H1B visa which might not necessarily require them to be high-skilled.

Looks like you have no experience with the program; I do, as I was on H1-B at one time. It is solely for the purposes of hiring people for jobs for which there are no Americans available. By definition, it's for highly skilled people.

> This visa is also a lottery.

Again, a misconception and too much reliance on the word "lottery". It is a lottery, but among all the applicants, who are (as per the paragraph above) highly skilled.
https://phys.org/news/2017-03-nasa-magnetic-shield-mars-atmo...

The idea is that shielding Mars from the solar wind would allow out-gassing to rebuild the Martian atmosphere.
Okay, here's some I haven't seen mentioned yet, although these may be pretty far afield for you:

Drift into Failure, by Sidney Dekker. Studies failure analysis in complex systems, and basically argues that our classic reductionist/scientific method approach is the wrong way to study complex engineering failures.

How Buildings Learn, by Stewart Brand. This isn't about programming. It's about architecture, in the build-a-building sense. It studies what happens to buildings over the course of their lives, as opposed to just when they're first built.

Enterprise Integration Patterns, by Gregor Hohpe and Bobby Woolf. Learn how to use message queues and service busses correctly. Honestly, just read the first couple of chapters (65 pages or so), and the rest is reference, to look up as needed, so it's not as imposing as it sounds.

Advanced Programming in the UNIX Environment, by W. Richard Stevens. This book was my bible back in the olden days before http and ssh and stuff (I'm olde). Knowing how sockets really work can be an absolute lifesaver, even in this modern world of giant protocol stacks. Especially in this modern world.

The Art of Computer Programming, vols 1-3, by Donald Knuth. Only a madman would actually read them all, but they're good to have to remind you that there are mountains you can't even begin to climb.

A Deepness in the Sky, by Vernor Vinge. A science fiction novel that is really about hacking, set thousands of years in the future, when Moore's Law is long defeated and programmers are basically archeologists.

Design Patterns (aka Gang of Four), by Gamma/Helm/Johnson/Vlissides. There are lots of good books on design patterns, but you should really read the one that started it all. (For extra credit, read A Pattern Language, by Christopher Alexander - a book about urban architecture that inspired it.)

Continuous Delivery, by Jez Humble and David Farley. Stop thinking about your program in isolation, and learn how to deploy effectively!

Influence: The Psychology of Persuasion, by Robert Cialdini. This is DHH's favorite book. Learn how people think, and how to use that to design better products.

How to Win Friends and Influence People, by Dale Carnegie. Not creepy at all, despite how the title sounds in today's language. This book is the bible of how to get along with others. It's been in continuous print since before WWII, for good reason.

The Lean Startup, by Eric Ries. The best work you do is the work you find you don't need to do. Learn how to fail fast and save time on projects and product development, by building what customers want rather than what you think they need.