skysight-inc/HackerNews huggingface dataset:
Andrew Gerrand did a great talk a while back (I'll try to hunt it out) in which he talked about naming conventions. One of the things that stuck out for me, was when he said, if you're declaring a variable that is only going to be used very locally (i.e. within the next few lines or around there), then using a short name is preferred. So instead of 'response', you would simply use 'resp'. However if you're declaring something that may be used in a different part of the file, or Go package itself, go with something more verbose as to not confuse someone seeing it for the first time with no prior context. Also `error` is meaningful in Go, so `err` is used pretty much all the time.
Westminster attack: man shot by police and 'several hurt' in nearby incident
Valuetainment is a pretty gond one:
https://www.youtube.com/user/patrickbetdavid
In the moment you get a NULL exception with a string (in a call to a .NET function) you understand that F# is part of .NET, for good and bad.
Tabs for indentation, spaces for alignment. That way devs can set whatever tab length they prefer in their editors without messing up alignment.
std::list is a linked list, so it makes sense that size() is linear. Only if you store the size separately, you get constant behavior (which the c++11 enforces), it's constant.

Your friend probably could've sped his code up even more by using a std::vector. Linked lists have very bad processor cache behavior (not allocated in continuous memory), there are not a lot of things a list does better than a vector.

Only if you prepend a lot, or insert in the middle of a list, it might have some advantages over a vector, even then, there're are better alternatives.
The End of Moore's Law – Computing in Science and Engineering, March 2017 Issue
Define what is "worse" in that context for you. Without a proper definition I can't agree with you at all.

Worse regarding privacy concerns? Of course it is, I would never disagree with that.

Worse as an end user? Hell the fucking no. Before Google it was terribly hard to really find what you were looking for, I can't even imagine how many man-years humanity would have lost without Google Search.
I tried to learn FP by doing a project with F# but I felt like I was writing C# code with a different syntax. I would like to give FP another go with a purely functional language but then you also need libraries that enforce that approach. The .Net framework will always lead you to an OO approach.
Abidjan, Saint Martin, Fort de France, Cotonou (the list goes on).
Carbon is converted into methane (ch4) rather than co2. Methane is a much more potent greenhouse gas[1]

[1] https://www.epa.gov/ghgemissions/overview-greenhouse-gases
I've had the same pair for almost two years now and I use them almost every day. I carry them around in my pocket and throw them wherever. I've never had a problem. But I'm also extra careful about not crushing them or really tangling up the wires. Before I put them away, I full extend them out and then fold them up in halves until they get to the size I need to store them. They've kept up very well this way.
I mean... is using 'err' really that big of a deal?
So...ever look up at the night sky? Are you not looking at information, and are you certain you understand the semantic and semiotic content that is being transmitted? Just because data is not explicit as a Pepsi commercial doesn't mean, a priori, we are without affect or effect.
Obviously you only wipe sensitive data/documents, not movies or torrents
All my contract negotiation & signing over a few bucks has been done using cloud based encrypted services for years. Yes email is not encrypted, but I'm not sure what the problem is, or how this even relates to the article.

This was a phishing scam over new deals. New deals can't generally be automated, shouldn't generally be automated, and the issue here involved human factors that are likely to always exist. The presumption that more computers and more encryption could fix what happened in this story seems misguided to me.
I have not described nor have hands-on experience with all-in approach to microservices. In our practice all user-facing stuff comes from a monolith. I'd probably argue that fragmenting UI-serving backend so much is not necessary for 99% of teams.
Similar scams have targeted (medium-large, funded) startups as well.

Typically the attacker starts by phishing an employee, then uses information discovered through that to trick someone else in the company to initiate a wire.
Yeah, this is the argument that I make as well, and I don't understand why it doesn't just settle the debate. With tabs, everyone can have their code look however they want it to look, even the weirdos who want it to be 8 spaces.
I wonder how much criticism and hatred this post would've received had it not used Rails as the example case. Monoliths exist in other stacks (obviously), but the Rails community always seem to take offense first. This is the first time I've seen such an opposition to micro services (maybe I'm not looking through forums hard enough).
Thanks for compiling this list:

Here are some of my favorites:

1) The School of Life - https://www.youtube.com/user/schooloflifechannel

2) ComputerHistory - https://www.youtube.com/channel/UCHDr4RtxwA1KqKGwxgdK4Vg

3) CreativeMornings - https://www.youtube.com/channel/UC-ZA3QN2nDmqOSujn8zvNjw

4) Winners & Losers in a Digital Age (some of it are edgy, but not bad for a lunch time viewing) - https://www.youtube.com/playlist?list=PL67plOPT3Am0JbnL_LjU2...
I share the same attitude and tend to push people into a mentality of just getting sh*t done. No amount of videos, podcasts and articles will make you successful. They definitely have their place. I am not saying this is all bad, but some people mistake procrastination for "learning". Myself included.
Golden Gate Bridge stunts that have shocked the city over the years
> Why hasn't some immature "simulation master" written their name across the night sky with giant fluorescent penises, for example.

Did you not catch the election of Donald Trump?
I highly doubt that John Deere operates any semiconductor foundries. Those foundries aren't your normal run of the mill factories. They are $10B monsters just to get started.
Well of course, I was more just asking what his ideal process is to funnel out candidates up til that point. Whiteboard interviews? Take home interviews? What's your strategy?
"People would legitimately be surprised to learn how low tech ordering/invoicing/remittances remain in 2017 even for half billion dollar contracts."

Totally agree with this. I occasionally deal with relatively large contracts and it is amazing the amount of labor behind processing purchase orders, invoices, etc. Many companies locate their accounts payable/receivable departments in low-cost countries.
I've had every pair of EarPods I've ever used break in some form. Either issues with the remote, or the non-dominant ear losing sound (% of volume, or entirely). This has probably happened to 5+ pairs I've had from various Apple devices.

I just use them until they break, then use something else.
If you took 20 minutes, you could easily look up the answer to your questions. We already have a system, and it works well, it only needs more money. SSRIs (serotonin reuptake inhibitors), Viagra, and countless other blockbuster drugs grew out of government funded research.
Its either the definition of insanity or an Apple fan.
I was interested to see his profile if he worked at NASA in this capacity. He had one submission -- it's not like I pored over his history. I don't think I overreacted -- I was impressed that someone could get to a point that they're authoring NASA press releases so quickly.

Like I said, though, I'm a dummy...
Agreed. Also, use your work device for work and your own device for personal stuff.
Nothing is inevitable. If that really were to happen people like me (though I actually still use a lot of XML) would move on to the next simple data exchange format.
UK border security. On Eurostar journeys all border checks are done at the departure station, and only Paris, Brussels and Lille have the facilities for that. That said, it should be coming this year.
Isn't this basically the driving force behind every consumer product made since food & shelter became abundant?
I have recently given a talk that includes a comparison between OOP and parametric / higher-kinded polymorphism, the hope being to help people choose the proper abstractions in a hybrid language like Scala.

Title is "Functional Programming Inception", slides available at: https://alexn.org/blog/2017/03/15/fp-inception.html

Basically:

- OOP is about information hiding and not just when speaking of data, but also when speaking of types, so OOP is about hiding information at the type level. Thus OOP is also really good at heterogeneity, Liskov substitution principle and all that

- Parametric polymorphism is compile time, nothing gets deferred, types are very explicit and higher kinded polymorphism is about composition, with plugged-in types altering the capabilities of built instances dramatically ... in other words, it's a very different beast

In regards to F#, the problem is that in absence of OCaml functors and Haskell type-classes, plus due to lacking higher-kinded types, you're left with OOP for building abstractions. And in terms of OOP, without interfaces that can have default implementations or higher kinded types for that matter, it's not that good as an OOP language either.
And my point is that there might be something coming out of trying to visualize this that we don't know of yet.
I think it's still an issue that starts when the first radio gets damaged. That creates a secondary market for replacement radios, so theft occurs. Then, the person owning the car where the radio was stolen is now looking in that same secondary market for a replacement...and the chain never stops.

Similar for things like 3rd row removable seats and tailgates on trucks. Craigslist and eBay have more of these for sale than would make sense if they weren't being stolen.
They don't build 'em like they used to!

They used to break within days or hours.
For anyone who missed this, they lowered the rover to the surface from a levitating rocket-powered skycrane.
Given that errors and error handling itself is a very normal thing to come across in most projects, would the abbreviated `err` not seem more familiar than defect or fault, to you?
Totally agree.. This process is SO broken and frustrating.
Sounds like a story for another "Catch Me If You Can" kind of movie.
Reading the title I was really hoping this was story of a program loading and executing. And that the site had this documented for multiple languages.

Does anyone know of a resource like that? I understand it would be different in on each platform but a fun and interesting read either way.
hehe NO that's the point. What if I wanna work on my project from 2pm to 6pm and then back to work for the company from 7pm to 11pm. GitHub has it right. Let the workers work from where and when they want.
Designing apps that drive user engagement and retention
I had a similar reaction. Playing a video is not practical or convenient for me right now.
I was hopeful when I saw they had a FAQ link, but it unfortunately lacks what I believe should be the first entry of any "X FAQ," namely "What is X?"
Rewriting an article title like this breaks the HN guidelines.

The guidelines do ask you to change a title if it's misleading or linkbait, but you shouldn't do that to cherry-pick a detail that you consider important or catchy. On HN, submitters don't have any special ownership over the submission and don't get to frame it for everybody else. If you want to say what you think is important about an article, please do so by posting a comment in the thread. Then your view is on a level playing field with everyone else's.

https://news.ycombinator.com/newsguidelines.html
Someone put it on Melpa. `M-x package-install sicp`, then open the info directory node (with `C-h i`) and search for "SICP".
I'm all for technical solutions to this problem, but after reading the original article, I can't help but pointing out that this scam was social engineering, not technical engineering.
> Don't let your young teens have smartphones, even when all of their friends have one.

That's a nice way to get your child ostracised by the group. Once a teen leaves elementary not having a smartphone (specifically Android or IOS) is the kiss of death in this modern age.
I think he's referring less to the geometry of space(-time) and more to the structure of quantum mechanics.

Classical probabilities are positive real numbers that add up to 1. (The 1-norm of the vector of probabilities is 1.) Quantum ampltiudes are complex numbers whose squared absolute values add up to 1. (The 2-norm of the vector of amplitudes is 1.)

A universe made by someone who preferred 1-norms would more likely be classical rather than quantum.

For more on this from the author of the linked blogpost, see here: http://www.scottaaronson.com/democritus/lec9.html or the corresponding bit in his excellent book "Quantum computing since Democritus".
Ask HN: How can I protect myself as a cofounder?
I am the sole tech cofounder in a team of 3. Our business is going well and there are no tangible signs of trouble yet, however since the other two cofounders are close personal friends I feel a fairly high level of personal risk. Specifically, if our business reaches profitability and/or receives funding my value as a "programmer" becomes very low - I could easily be substituted with a better developer for a few hundred K per year (being generous).

We have a fairly bottom-heavy vesting schedule, and our current agreement on paper states that two out of three cofounders are required for an expulsion. In addition, as the "non-business" cofounder I do not have as close of a relationship with our contracted lawyers as the other guys. So I am essentially trusting my entire stake in the company I have built over a year to the goodwill of my cofounders.

What steps can I take to reduce my personal risk? The natural answer is "don't get involved with cofounders you don't trust 100%" - in a perfect world this is true, but in reality I think it's reasonable to take the steps I can to protect myself, and I would like advice on what these are.
Hazrat Abdul Qadir Jilani R.A Quotes – Shere Khuda Hazrat Ali Radiallahu Anhu
That thing about core banking platforms
Front End Knowledge Graph and RoadMap in 2007
What I found is that it took me about three tries to actually grasp functional programming. My first F# project started out the same way yours did. It was really OO in an F#. Once I looked at it, I started to realize that it was not the language, but my approach and changed it to fit the FP approach.
I don't understand.. who cares if you're not?
Thank you--that's helpful!
and lots of radiation
Could you unpack that a little?
I wondered what share of the energy input the fertilizer represented. USDA has a good report on it:

https://www.usda.gov/oce/reports/energy/2015EnergyBalanceCor...

The energy share of the fertilizer has gone up pretty significantly over the last 30 years as the corn ethanol industry has improved.
Yes, this has been studied. Pharmaceuticals are actually one of the few areas where patents and other IP protections do actually encourage innovation. For most areas tho the protections seem to be of (significantly) net negative utility.
I do this. It's actually a pretty good way to organize code in general, not just Go. Still dumb that they force it on you.
Dektop Linux is the 2nd most popular platform for Developers on Stack Overflow
Statute is cancer, long live common law.
Also rubber would disintegrate given hot/cold cycles and radiation.
How we accidentally built a (very tiny) Slack competitor
Seems like a solid list of youtube channels that won't just give you what you already know. A little bit of feedback:

> It’s this kind of entrepreneur — the disobedient kind — that we’d like to converse with over the pages of this blog. The kind that appreciates weird and feels talked down to by typical “10 habits that changed my life” articles. The kind that prefers sophistication to ease and discovery to the comfort zone.

Strikes me in a negative way. It just feels like those ad campaigns that are trying to be rebellious, or people boasting how smart they are.
I think you're wrong about them being "special snowflake" arguments, and likely miss the point of them.

Those arguments are very low-level in the intellectual stack, and can only address matters of subjective self because what they seek to establish or discuss is more fundamental than concepts like objectivity. (Well, cogito ergo sum is establishing an objective fact from a subjective one to give a basis for later objective discovery.)

Any full accounting of the world must explain the mechanism by which I experience it, or it hasn't explained the only part of the world Im sure exists (my experience of it), and hence can't be a full accounting. You can have a very good predictive model for features of that experience, but neglecting that experience -- qualia -- is leaving a major thing unexplained.

Similarly, cogito ergo sum is likely better phrased as "computation ergo existence" -- the process of doubting is a form of doing something, and so something must exist which is doing that (or is that process). This establishes that there must be some sort of existence, even if it's just a brain in a jar, random memory from quantum noise, etc. You can't doubt there's an existence, because the very act of doubting is proof of existing. You can only doubt the form of it.

I also disagree that we'd have no reason to doubt the claim, but I agree we have no a prior reason to reject it.

Your edit also makes a major assumption: that we know what causes qualia (our brain structure). That's the very thing being debated, so you're just begging the question.
I meant mapping in general, not specifically Apple Maps.

Apple Maps, will cache a little bit, like if you are connected, get directions and start a route, then lose connection, it will still work, but if you get turned around(off course), then it may or may not work, depending on if it's cached locally(in my experience it usually won't).

Maps.me is my goto offline map solution, it uses Open Street Maps.
Or looking for aliasing from a lattice QCD simulation in cosmic microwave background...
> How many die-hard assembly programmers today would do a better job...

No idea. But I've done some assembly myself (as a console game programmer) and generally speaking, you don't have to think about any of the issues you raised to get faster code than what the compiler creates. There are some corner cases occasionally, but not very often. Does any of this mean I tend to choose assembly? No way.

> the compiler does these really quickly for you

It sounds like you generally agree with what I said? ;)
> Like, here's a literal script for you to read from if you'd like us to stop attacking you in the future.

Us?

I'm talking about them, in a third person sense, not a first person sense.

Them, in this case, is meant to refer to trollish individuals looking to cause trouble under the facade of caring about the plight of women, people of color, etc. but actually are just in it for their own emotions. The people who want to stir the pot, not make things better.

Rather than a script furnished in a list of demands from said subset of the populace, this is more of a suggestion to defuse conflicts in a way that doesn't let them win.
36 and personal/side projects are the only thing that keep my sanity. Hopefully one or some become enough to move on, because I can't work for someone ever again.
When I was a kid, the heart and gizzard were the best parts of our chickens. I only had cow heart once but it was delicious. I never did like liver though.
"Unreasonable" is the word! I thought this was a farce, but apparently it is not. I imagine the job description will go away after the deadline, but it's so long, I'm reluctant to paste the entire text here. Here's a copy in pastebin: http://pastebin.com/QbNdHs4x

Company:
https://unreasonablegroup.com/

GYSHIDO:
http://gyshido.com/
Even more surprising when I consider my own experience getting large technology corporations to pay my companies money they legitimately owe us!
To expand on what the other commenter said.

The creator of JSON was explicitly against comments for a few reasons. The biggest one was that comments are often used to "extend" a format. Look at doc-block, annotations, etc...

In order for the format to work, everyone had to use the exact same set of rules, and that meant that if people started adding their own "crap" to the format in a "backwards compatible" way you'd lose what makes it special.

So he didn't add comments. And I personally think it worked out.
Missing the most important question:

what proof-of-work algorithm does LBRY use?
This aligns well with my 2017 Nicholl Fellowship screenplay entry called "Do Unto Others" where in Act III the protagonists use their insider knowledge of International Banking and Wire Transfers to clean out the hidden stash of illicit monies hidden by disgraced Enron executives[1].

To me, plausibility is important in fictional works that reach for meaning or defined structure, at least where possible. I mean, I love Hackers but of course groan at scenes inside "The Gibson" and whatnot. This guy actually made it work - I'm impressed.

[1] https://www.scriptrevolution.com/scripts/do-unto-others
Possibly not. Transporting yarn from Egypt to China can be quite efficient if packed in full containers, and the ships are going half-empty in that direction anyway. Besides, it's not like the cotton would all be grown in China.

It could be worth weaving in Morocco rather than China, but I guess the sewing is only in Morocco to cut the lead time between sewing and selling in Europe.
People talk about running government like a business, not thinking about the implications of trying to turn cost centers into profit generation in that sphere.
Wish I used something like this to build my Weather Extension
https://weatherextension.com/
You're probably remembering "Food, Inc."
While I find the camera's themselves to be... undesirable..

Why is there a need for a grace period? The yellow is all the grace period you need. If you speed up for or ignore the yellow with time to stop, you're already breaking the law...

Not that I'm a fan of the system at all - just, if you're going to do it, do it ... u know?
The Like Button Ruined the Internet
I think it would have made headlines for a couple of days, and the public would move on. It likely would have been seen as a somewhat alarming but necessary security move. America was largely still in its fat, dumb & happy phase from the '90s.

America prior to 9/11 really seems like a different world. Social media was in its infancy, and 24/7 news channels hadn't kicked into overdrive (I don't even think scrolling tickers was a thing yet, outside of financial channels). By spring 2001 there was obviously political angst about the election and Florida's role in it, but both sides of the political spectrum weren't fueled by the constant outrage machines they are today.
A Saturday Night: Track and Record Movement in WebVR
Used to keep quite well up to date with reading this blog some years ago, thank you for bringing it back to my attention!
> I found it fascinating that Smalltalk was #2 as most loved language in spite of its minimal use.

It probably is because of the minimal use (and I believe #1, Rust, is also there because it's still not that common). Their "loved" metric is number of people who are using a language and would not like to switch to a different one. I suppose that the only people who use it are people who love it so much that they can ignore issues caused by lack of popularity (small number of libraries and tools, problems with OS support, etc.).
TOML seems like a nice middle ground, it's gaining some popularity in the Go world.
People bought Aeron chairs until they ran out of money.
Major security alert at Westminster