skysight-inc/HackerNews huggingface dataset:
Keep in mind that part of what makes reading code beneficial is that it's not necessarily easy- in fact, it's often rather hard! The benefit is developing a set of "mental heuristics" to figure out what parts of a codebase are useful, so that when you have to dig through someone else's code you can figure it out just a little bit faster.

That said, here are a couple suggestions. I'm not sure what you use other than C# (and Javascript?) so I'm just gonna link things from several languages.

redis-rb [1] is the 'official' Ruby client for redis. (For that matter, I've always heard that redis itself [2] is a good example of C code.) React's source [3] is rather difficult to figure out, but the team recently released a codebase overview [4] which might help. Alternatively, preact [5] is relatively straightforward, and IMO is a good example of structuring an ES6 codebase.

Rails [6] is ridiculously huge, and has established a bunch of its own conventions for file loading, but on the flip-side it is extremely well documented. To take a single bite of the elephant, take a look at its ActiveJob [7] sub-framework.

1: https://github.com/redis/redis-rb

2: https://github.com/antirez/redis

3: https://github.com/facebook/react

4: https://facebook.github.io/react/contributing/codebase-overv...

5: https://github.com/developit/preact

6: https://github.com/rails/rails

7: https://github.com/rails/rails/tree/master/activejob
Probably should of put /s at the end of my comment.... :)
So what? What if the interviewer saw you digging ditches a month ago? What does that have to do with your resume or job performance?
and yet still doesn't use array dereferencing
He's worth $2B+, not to mention a potential bus factor of 1 given the secrecy.
Transforming Enterprise Development with Clojure
What framework are you using to publish the blog?
Page 5 of Amazon Product # 3
Find me an example of a bandlimited finite time signal in the real world, please. _Technically_ the example is correct (although the diagram is not)

Any time you digitise a signal, what information you are willing to lose is the first question you ask. The answer is different depending on the signal and what you need it for. That's what is being brought to attention. Not the fact that all the information in the signal anyone would care to represent is representable.
This one?

Microsoft SQL Server 2012 High-Performance T-SQL Using Window Functions (Developer Reference)

https://www.amazon.com/dp/B00JDMPHKY
An "aha!" moment a long time ago for me was realizing that there's no essential distinction between a (curried) function call with a record type argument in a pure FP language and a const method in an OOP language.
Yeah LLVM is great. Not everything is of the same level, but overall it's way better than average I'd say. Boost as well, but it sometimes gets ridiculously complicated (both in code and to read it) in order to be able to deal with all different ancient compilers.
Still, Mark Zuckerberg writes about a total of 100 hours on this project, is that plausible?
I'll take what might be a contrarian perspective to say that I don't necessarily think this is bad. Apple has always been very secretive internally pre-launch of a major new product too. Seems like it's worked out okay. There are tradeoffs of course but top-down information opaqueness seems to be the norm more than the exception at companies this big.

> Compared to the "dogfooding" tradition in many tech companies, where employees try out their products before releasing them to the public, most Snap employees don’t know when a new product is coming — regardless if it would affect their team’s long-term metrics or goals. When the company launched Lenses, its famous filters that morph people’s faces, most employees learned about it for the first time on the company blog post announcing it to the world.

> This strategy has been somewhat effective at quelling leaks, but has also alienated people from knowing the direction the company is going in.
Yes! I was just going to post almost the identical comment. I detest talking to computers, whether personal assistants like Alexa or Siri, or the voice-control systems on the other side of a phone call. Apparently computers don't much like talking to me, either, because they never understand what I'm asking. I usually resort to just saying 'representative' over and over again until I get through to a human... And yeah, it all feels incredibly stressful.
Heh heh, I used to avoid cooking because I thought cooks followed a rigid set of instructions, and if they missed anything that meant the whole preparation became inedible (maybe that was the programmer in me!). Then my brother -- who's real good at cooking -- told me the truth: it's hard to screw up a meal. Beyond some basic tricks, he improvises. Exact quantities don't matter. Don't use too much salt (this is subjective and you get better at it), don't overcook (ditto), butter and oil may be unhealthy but make everything better, etc.

I'll never be a great cook, and I occasionally overcook something -- which is in my opinion the number one sin -- when I'm not paying attention, but I manage. Cooking doesn't scare me anymore.
Nintendo Switch will support Vulkan
Self-driving cars need to support unplanned changes to the road, such as construction zones.
> Killing someone for the "right" reasons, either by yourself or by proxy, is morally right.

Avoiding the consequences for running your large criminal enterprise, through which you are enriching yourself, doesn't strike me as a good case for justifiable homicide.
Speaking from personal experience. An app is far too much work to build and maintain.
If you only have one timer going and you're watching the clock then it is a bit of a pain.

However when you're preparing a meal or making cookies and you're constantly moving and not watching the clock, just responding to it, it becomes handy. It's also nice to not have to stop and wash your hands to set an egg timer.
This is great. STEM-types seem to link that with enough data, the Truth can be uncovered. This assumes that your data is meaningful, your analysis is unbiased, and that there is a truth to be had. I would encourage everyone to study some postmodernism, specifically Lacan and Žižek. They talk extensively on how our ideology and perception prevent us from ever truly discovering Reality.

The Hyperlogloglog bears a strong resemblance to Isaac Asimov's Multivac in the Last Question [1]. Where the question and the answer, the end and the beginning, are the same thing. Progress is not linear, but circular.

[1] http://multivax.com/last_question.html
The low contrast is on self-posts (Ask HN, etc). Aside from being more difficult to read, I always get an instant "negative" vibe when I see them because it looks like they've been heavily downvoted.
The whole series is painfully accurate; glad to see someone telling it like it is.

That aside, article is actually not as anti-establishment as the author makes out -- unless your source of prevailing wisdom is from click-baity 4 Hour Work Weak style articles. But I doubt any serious founder puts any stock in that stuff. There's a lot of valuable info to be learned from high quality sources like Steve Blank's articles, or even a good MBA entrepreneurship class.
> And how is it that a "good API" requires client modules for all these different languages? Do people not know how to make HTTP requests anymore or something?

I look at a service like a plate of hors d'oeuvres across the room on a fancy table.

A client module (aka SDK) is the silver platter with the hors d'oeuvres neatly lined up for your selection, brought to you by the handsome waiter who is the only other person in the room who speaks your language.

One could walk to the table, and hardcore partygoers do, but lazy, entitled sacks like me prefer the delights to be hand-delivered. ;)
I've usually heard that dry food is marginally better for cats, since it's better for their teeth. Otherwise, nutritional content is the same.
Alternatively, Google has it cached.
obviously a biased piece to make snap and spiegel look bad. the product is great, even if it's garbage on android.

but it's really no secret that spiegel is arrogant and it shows. He pressured his rich parents to buy him nice cars in high school to fit in better, his leaked college emails, kicked out the founder who came up with the snapchat idea, etc.

I went to a hackathon in college when he was like 22 or 23, showed up wearing a suit and gave a speech with JFK quotes like some 20 year F500 executive would. comes off as a tryhard but his strategies are obviously working really well so who cares. keep at it, love the product.
Maybe I'm alone in this but I refuse to have always-on microphones in my home.

I will never be an Alexa customer, the value offering is fundamentally not worthwhile to me.

I really hope development on this isn't at the expense of more traditional interfaces.
I agree with using sqldf, it is a wonderful tool in R. I am sure you are aware already, but for those who are not, sqldf does not support window functions with it being based on sqlite. Just wanted to point this out as the original article emphasizes them.
Indeed - these types of side projects make him a better CEO.
Try Google Cloud Console. Even better!
I think this market is Google's to lose, providing they can execute.

The price point of Google Home is aggressive, and the same functionality is provided (or will be soon) to the Android ecosystem via Google Now / Google Assistant.

Their voice and intent recognition is getting very good. I have noticed a marked improvement over the last year, even in noisy environments. I think competitors will struggle to keep up, and this is probably the single most defining feature of a personal assistant.
Maybe off-topic, but thanks for putting what tools you used to do your illustrations with, always happy to see what people are using for that.
I could see Alexa married to a Kindle with a kickstand being a killer kitchen tool.
Interesting. I guess it sometimes shows that paying the license fee can be worth from a business's point of view it if it avoids consultants' fees associated with an open source solution.
> There are 9 million unemployed men

> this simply means there are 9 million more workers than jobs

what an outrageous and uninformed thing to say. Can you please edit or delete your comment?
Am I?

We can start with what the author just said.

1) It saves you from crashes and other crap

2) If you are collaborating with anyone ie. using git you can forget about them anyway unless you wanna face merge hell.

3) Interface builder is difficult to use, is definitely lacking advanced features so you'll end up putting some UI logic in the code anyway => more complexity, more error/mistake prone etc.

I have to say I'm a bit surprised to see this kind of reaction here on HN. I never thought anyone real developer would use them for anything else than just quick prototyping maybe.
Iterate and improve is my latest gamble, it doesn't has to be the latest and greatest.

A lot of niches have room for another player in town ;)
That's quite different from what your earlier comment said.

We reverted the HN title to the article title. I'm not sure the absence of 'elderly' counts as misleading but s/patients/elderly/ is probably ok.
I personally liked this statement:

> One thing that surprised me about my communication with Jarvis is that when I have the choice of either speaking or texting, I text much more than I would have expected. This is for a number of reasons, but mostly it feels less disturbing to people around me. If I'm doing something that relates to them, like playing music for all of us, then speaking feels fine, but most of the time text feels more appropriate.

I've found myself doing the same thing. For queries and commands which involve only myself I prefer to type unless I'm alone, but for questions which involve the people around me asking verbally seems more useful.
As long as it's fresh and piping hot throughout, it's safe. If you're paranoid, buy a meat thermometer. The safe minimum temperatures are listed at the link below.

https://www.foodsafety.gov/keep/charts/mintemp.html
The most obvious way to improve your coding is to write more code.

This is a bit too simple: writing more of the same, in the same style, usually won't cut it and unfortunately I've seen people being stuck like that for years: always producing more code, without any improvement whatsoever and instead just repeating the same mistakes. Once those mistakes become a habit they are extra hard to get rid of. So actually writing more code can be worse :]

What you really should be doing is write more and from time to time different code, combined with learning through either reading others' or continuously asking yourself 'how can I improve this' followed by e.g. a trip to StackOverflow to find out.
It's exciting to see deep learning gaining ground in 3D. I'm wondering how quickly until deep learning beats 3D reconstruction. State of the art algorithm used in practical applications still does not use deep learning: http://www.gcc.tu-darmstadt.de/media/gcc/papers/Waechter-201....
DailyMotion[1] and Tumblr[2] have recently moved to PHP7. In addition, WordPress[3] is moving towards PHP7 as well.

[1] http://engineering.dailymotion.com/php-7-deployment-at-daily...

[2] https://engineering.tumblr.com/post/152998126990/php-7-at-tu...

[3] (from 2015) https://make.wordpress.org/core/2015/09/10/wordpress-and-php...
Ah good old Wycheproof. They used have a race called the King of the Mount were racers would struggle up the "mountain" carrying a 63kg bag of wheat. They had to shut it down because after the race everybody would get blotto and trash the town, that and insurance costs I believe.
The general public has other priorities than trying to get to the bottom of every story they've heard.

Democracy only functions properly when the electorate is well informed, that is being fed a steady diet of actual facts, figures, and editorial that puts it in perspective without heavily distorting the truth. Whatever form your democracy takes, "Republic" or otherwise, it depends on meaningful discussion and debate, not the current climate where one side refuses to engage with the other, or facts in general.

There are many different lenses to view the world through, but it's like these major media outlets aren't even interested in our world and instead create one that fits their views, then pretend to live in it.

"Millions of illegals voting" is just one example of this.
Hey everyone! Clifford here, the author of the article. Just thought I'd jump in and say thanks to everyone for all the awesome feedback - you've all seriously made my day (and probably even year for that matter)!
Isn't that only for the custom-designed Prototype cars? I thought the modded Lexus cars were allowed to drive at highway speeds.
According to the numbers in the article, the lithium in one Tesla equals about 17,000 smartphones. I mean it's pretty obvious when you think about it, but I hadn't stopped to think about it until now.
> Some of it may seem simple. Don’t be fooled. There is complexity in simple things.

I've interviewed 80+ founders (mostly bootstrapped) for https://IndieHackers.com, and people sometimes come away from reading an interview thinking, "Well that person had it easy." We tend to underestimate the importance of the things we don't -- the part of the iceberg that's beneath the surface. In truth, the amount of work people are doing behind the scenes is often of staggering importance.

For example, Jason Grishkoff ran his popular music blog Indie Shuffle for 7 years before spinning off a successful SaaS app: SubmitHub. It's easy to look at that and conclude that he had it easy because of his blog. But Jason spent a grueling 4 months sending 1000 hand-crafted emails to his target customers in order to get SubmitHub off the ground. That's neither an easy nor an obvious path to take.

I see lots of people quit after a few weeks/months of not finding a magic bullet, so it's important to realize that there is no magic bullet for most companies.
Fake news = news that doesn't support the government's agenda.

Merkel is going down anyway in next year's elections. She invited 1M+ refugees into Europe after taking a hardline on Greece. No amount of whitewashing is going to fix this.

Just remember Hitler also banned fake news in 1933 after the Reichstag Fire.

These are very interesting times indeed.
China smog: Red alerts shut down factories, schools
CarMax's CIO Fosters Digital Transformation by Managing IT Like a Product
> This would never be secure enough for a normal persons house

The Canadians beg to differ ;)
As soon as you target an actual user doing stuff on an actual computer, there will always be constraints due to efficiency and performance. You might not run into them, because your program is sufficiently small and the hardware sufficiently fast, but they're always there.
Ethereum.org Forums Database Compromised
This.

When I was beginning iOS development I tried to learn it as well as I could because I though that everybody uses them because it's the "Apple way of doing things."

However just like you...when I had to start implementing constraints with it, it was the last time I ever touched that horror.
> Stuck in telemarketing? Become a famous actor.

Are you trolling? No one should take this comment seriously.

Is there any way a mod can delete this comment? It seems to violate HN guidelines.
It is a theory, like everything else in physics, including the workings of gravity.

It's a bit of a shame that in elementary school and high school, people are taught about "facts" such as Newtonian physics without exploring also some of the weirdness of quantum physics that challenges classic physics. I.e. I had no idea about all the controversy around how gravity "actually" works until I read a book on string theory - I went 25 years just assuming "yup gravity is a thing and we understand 100% how it works."

Sorry, I don't have a book to recommend, just babbling away.

EDIT: Maybe the string theory book I read would be a good place, actually? I can't remember if it delves much into anti matter - The Elegant Universe: Superstrings, Hidden Dimensions, and the Quest for the Ultimate Theory (Paperback) https://www.goodreads.com/book/show/8049273-the-elegant-univ...
You are confusing "legally bulletproof" with "morally correct".
Can't similar brevity be achieved by using a special variable called 'chip'?
Is there a business opportunity? Someone could write an app that takes growing seasons and scraped grocery store price lists as input, and automatically generates shopping lists and recipes as output.
As someone in that cohort, who is learning how to "meal plan" this was the first thing I noticed. I have 0 concept of "what's in season" because I never think about it. I track my spend religiously, so I hope to see at least a ~20% reduction in spending with this approach.
At that time everyone knew there was something up with blackbody radiation, classical physics gave no guide why the equipartition theorem should not apply any more at short wavelengths.
The risk is rather low if you don't live in a totalitarian state and you don't engage in extremely subversive or criminal activities.

Sure, the government could force Amazon to let Echo spy on you. But they could force Apple or Google to do the same thing with your phone. Speakerphone isn't as good as far field mikes, but it's pretty good.

The government could also just bug your apartment the old fashioned way.

The big fear would be that echo is storing audio of your house that a future government could use against you. But there is no indication that Amazon does that. It only sends audio after it's triggered by the codeword. Honestly, my google and bing histories are probably a lot more damning.

But if Trump goes all hitler on us, I'd throw mine out.
According to [1] (easiest to just download the spreadsheet) the US defense budget for "Research, Development, Test, and Evaluation," adjusted for inflation, peaked in 2008-10 at about $80 billion and has been at a downward slide with 2015 estimated at $63 billion. The entire defense budget took a huge hit with the 2013 sequestration [2] and fell by $9 billion (over 10%) in a single year. NASA's budget in 1965-66 was more than 4% of the federal budget but now it's less than half a percent with its operations torn across dozens of Congressional districts and DARPA has only managed to avoid this bureaucratic creep because its structure is unique among federal agencies.

Combined with privatization that hasn't yielded any clear benefit, pork-barreling that cripple organizations, and general mismanagement, the falling budgets have probably had a very negative impact on US R&D capabilities, offset only slightly by modest increases in NSF and NIH grants for academia.

[1] https://www.gpo.gov/fdsys/search/pagedetails.action?granuleI...

[2] https://en.wikipedia.org/wiki/United_States_fiscal_cliff
> The point of reading code is to understand it.

There are varying levels of understanding (or desires to understand something). I use Python a lot. For a lot of the language and libraries my understanding is superficial; dicts have key/values, lists are ordered and mutable. As I use it more I'll dig more into specific parts as needed; how do lookups happen for a dict, how are lists allocated? If I downloaded cPython and read it top to bottom trying to understand everything I likely wouldn't retain those relevant parts I need. I also don't need to download and build all of cPython to answer most of those questions.

Also, new projects get posted all of the time here. I'm curious about other languages and frameworks not because I need to know and understand everything, but I'm curious how I can approach something in a new way. It'd be nice to have a browsable interface on the web.

Your argument here sounds like it would be against having syntax highlighting in anything that's not an IDE (like GitHub) because if you cared enough, just download it and open it in an IDE.
White skin is still looked at favorably in Japan. Japan isn't very open to any kind of outsiders, but white people still get treated much better than black people or darker skinned Asians. Western/European beauty standards also dominate Japanese culture.

That said, the subject was Github's diversity program, and Github is in California. So Japan really doesn't have anything to do with it.

Instead of worrying about immaterial discrimination against white men, perhaps worry instead about people who actually suffer from discriminatory practices. Just google "diversity in silicon valley" and you'll find plenty of articles (with charts) showing you exactly how widespread real discrimination still is.