skysight-inc/HackerNews huggingface dataset:
I don't find the article's "deep state" narrative very convincing. The message I got from the article was, "there's a shadow government and it's using dirty tactics to subvert the normal operations of our elected representatives (including the POTUS)."

That view would be a lot more legitimate, IMO, if we had a functional government trying to carry on normal business for the benefit of the people. What's actually happening looks to me to be very different, and exceptionally so! An analogy that should ring a bell with many HN regulars would be the new technical manager with zero technical background who was hired because he's the CEO's nephew, who happens to be borderline mentally challenged but makes up for it with defiant corruption, extreme nepotism and flamboyant temper tantrums.

If you're (e.g.) a developer and your new manager is objectively incompetent and deeply disturbed, if he jeopardized important projects and the company's bottom line (that you depend on for a living), no one would be surprised if you voiced your concerns to the manager's superior. In this analogy, the manager's only superior is the public.
I think that is debatable. She has apparently worked for four different companies, accomplished a lot and gone through quite some st already.
I used to believe that Excel was a bad choice and that users should use a real modeling language. I've changed my mind. Excel is the only tool I've seen that actually gets domain experts who aren't programmers to express their models in any kind of formal language. It deserves a lot more credit than it gets.
Not a joke at all.

It should look like:

<header>

<h1>My page title</h1>

<strong>My page is the best page on this website.</strong>

<header>

If your heading is a paragraph you should use a <p> instead.

That's what we have been doing for ages. I don't see the need for a new tag. HTML5 already add semantic tags. Before, it would have been the same as this snipped I posted but without the <header> tag. Now that this tag exists there is no confusion at all. Web crawlers should be smart enough to know that the <strong> that that is in a header right next to a title is a heading.

Hell, even <hgroup> has been deprecated because we don't need those tags.
Yeah, this particular instance seems ok to me. This one makes the example feel weirder:

func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
fmt.Println(runtime.NumCPU(), runtime.GOMAXPROCS(0))
started := make(chan bool)

go func() {
started <- true
for {
atomic.AddUint64(&a, uint64(1))
}
}()

<-started
for {
fmt.Println(atomic.LoadUint64(&a))
time.Sleep(time.Second)
}
}

Here we explicitly wait until the goroutine is started, so we know it's scheduled by the time our other loop runs. Here on my computer with go1.8 linux/amd64 it still optimizes out the while loop, which makes sense as nothing changed that would convince the optimizer the loop should remain given the compiler's current logic.

If you add time.Sleep(time.Millisecond) to the goroutine loop or any other synchronization it works fine. I'm having trouble thinking of a real world example where you'd want an atomic operation going ham in a loop without any sort of time or synchronization. At the very least a channel indicating when the loop is done would cause the loop to compile.
What "'old' value" are you talking about?

This is a pointer:

val := atomic.LoadUint64(&a)

> Because sync.Wait() isn't used, there's no guarantee the goroutine will execute at all before program halt.

It's an infinite loop ...

> I'm not sure why atomic.Add* should get special treatment though

Because it side effects and arguably it is a form (mem) I/O in context of modern systems.
If you want to go directly into coding, the Stanford NLP Parser lists in point 5 of their FAQ[1] some starting instructions for parsing a new language.

If you can deal with the math, some papers such as [2] use corpora for existing languages as a tool to parse new languages, for which there are not too many resources available.

In both cases, you can always contact the authors. They might know how to help with your project, and/or direct you to the right people.

[1] http://nlp.stanford.edu/software/parser-faq.shtml#d

[2] https://www.aclweb.org/anthology/Q/Q16/Q16-1022.pdf
I've called out interviewers for stupid puzzle questions multiple times. Never got the job in any case, but I like to think I improved the hiring process marginally before being rejected.
Well, if you're looking for a TL;DR to describe all of the differences between Bayesian and Frequentist statistics, while also giving you a history of the theoretical development of each, and you want it to be self contained... you're going to have a bad time.

There are separate theoretical foundations, which can be confusing since both Bayesians and Frequentists use probability theory in the same ways. A short explanation of the foundational difference is that Bayesians and Frequentists use probability in different ways.

To a Frequentist, a probability is nothing more and nothing less than a long run frequency: the proportion of times you expect an event to occur if a random experiment is conducted many times. This proportion is usually conceived of as a true, but unknown, constant. A good Frequentist thus can't describe "the probability that you have cancer", because you either have cancer, or you do not. If you want to see what kind of constraints this places on frequentist descriptions of real-world phenomena, look up the definition of the frequentist confidence interval.

(many) Bayesians trace their probabilistic approach to modeling reality to work done in a decision theoretic context in the early 1900's (https://en.wikipedia.org/wiki/Bayesian_probability#Axiomatic...)

In short, Bayesians claim that:

1. Your beliefs should be describable as probability distributions

2. You should update your beliefs when observing new evidence using Bayes' rule

There are solid theoretical justifications for both of these statements.

To a Bayesian, therefore, it is perfectly sensible to talk about the "probability that you have cancer", because there is uncertainty about the phenomenon.

This discussion is, however, almost completely orthogonal to the "applied" implications of choosing a Bayesian or a Frequentist approach to statistical inference. Some thoughts:

1. Bayesian procedures tend to be more computationally intensive

2. non-degenerate Bayesian prior distributions have the effect of "shrinking" parameter estimates towards some null value, which has benefits in high dimensional problems (see: frequentist Lasso and ridge regression)

3. Bayesian inference makes it easy to think about problems in a conditional fashion (e.g., if I knew what "X" was, I would know how "Y" would behave. If I knew what "Y" was, I would know how "Z" would behave."). This makes it quite easy to specify intuitive, yet complex, models of interesting phenomena.

4. There are conceptual advantages to thinking about things as probability distributions.

5. Eliciting prior distributions is hard, but it is also work that any good statistician should be doing (at least informally) regardless of whether they're a frequentist or a Bayesian.
Java made me a better C++ dev.

When I went back to C++ from Java (for a while), I just pretended it was Java, restricting myself to a rough subset of Java design idioms.

C++ (circa 2000) had too much latitude, too many sharp edges. Java's constrained design vocabulary allows you to focus more on the problem, less on the implementation. I blazed. My code was super maintainable.

I have no idea what C++ is like today.

I eschew meta programming. Huge distraction. Very difficult to grok other people's code. Java's progressive incorporation of declarative, dynamic features is regrettable.
I think the original intent of the linked list question was to see if the candidate knew pointers. Implementing in a non pointer language would be trivial and definitely not complex.
Yes, use a password manager. Unless you're a password savant that can remember every character he's typed, you'll either be re-using passwords (a big no-no), or storing them somewhere. It's much more secure to remember one strong password and use randomly generated passwords everywhere.

I use Lastpass. They have synchronization across devices on their free tier, which is awesome. You can automatically import passwords from Chrome or Firefox. They even have a "security challenge" that will show you what repeated and weak passwords you're using. Lastpass also has some degree of automatic password reset on popular sites, which works pretty well.
Given he didn't have the resources to properly defend himself because they intentionally froze his assets (which in itself, is an unacceptable practice I think), I don't think so.

Maybe a group of 2-3 judges in an appellate court will decide that protecting democracy is more important than "whoring out" (excuse my language) to US interests. It's a slippery slope, and all you need is one precedent.

I don't like the guy at all, but this is just unacceptable in every way. Pathetic performance by the US really, if you can't even take on someone in a correct and ethical way, on equal footing.
Exempt employees rip.
I'll add that alcohol starts as an upper. It gives you a buzz that makes you feel good and want to do stuff. That's obviously beneficial if you can focus it on a work-related task. Several people here corroborated that hypotheses by saying they do. I've done it, too, in many situations.
I strongly disagree. We get one election every X years. Institutional inertia is a very important check on elected officials. The classic US example is the unelected and appointed for life supreme court.

In many way civil servants like juries are the most direct form of democracy. There have been a few quiet revolutions where the system effectively said enough is enough.
I had Meindl Island boots. I didn't take good care of them. They took a lot of abuse. One thing I would say is their achilles heel is the bottom of the shoe. I did some hard digging and shovelling where I abused the shoes a lot, especially their bottom. At some point, the bottom of the shoe was totally destroyed, and started to rip off. I do know that people do change the bottoms for Meindl shoes. Otherwise there were almost no wear at all. And well, I think I had them for some good 5-10 years anyway, so I do consider that they served well.
Your two examples have the same inputs but different outputs if I am reading this right. What did I miss?
Or a civic for $2500 that is even cheaper to maintain.

Disclaimer, I bought a civic for $800 and put over 300,000 miles, with an average of 36mpg. Sold it years ago for a used toyota (now with 368k), it is still on the road. Proper maint is cheaper than buying a virtue signalling fashion accessory.
A proper electric tea kettle will heat water way faster than placing a regular tea kettle on an electric stovetop.

Electric tea kettles are a single-task device, but they do that one task so exceedingly well a lot of people own one.
Some friends and I have a standing rule that Wikipedia, IMDB, and other such resources are banned while chatting at the pub. It used to be you could get a good 30-40 minutes of good natured argument out of two people disagreeing about a fact at the pub, whereas now there'll be a disagreement, then someone will pull out Wikipedia and immediately settle the matter. What are you meant to do for the next 35 minutes?
Thanks for that - I'll take a look!
The chemex: http://www.chemexcoffeemaker.com/coffeemakers/classic-series...
Why do the shareholders deserve to be immune from the company's reputation, however fairly or unfairly this reputation is earned?
You can also use a range e.g. `5,10!column -t` would align columns for lines 5 to 10.
I had a similar interview question at Booking.com once. You can solve it in linear time with some extra space (worst case - linear) for two constant-time lookup structures.
Unless the perception of the culture at Uber changes dramatically I strongly suspect Uber managers (and possibly engineers) are going to find having Uber on your resume is a strong negative indicator when they leave to find new roles. It's not fair to suggest everyone there is part of this culture we're reading about but organisations are frequently cautious and hiring someone who is part of it, and believes what goes on at Uber is normal and acceptable, could be quite damaging for any hiring manager. That means they won't even give you an interview. Everyone at Uber really needs to be fighting this reputation hard.
You could just go on merging sets with each other.

For i from 0 to n-1 , find all sets from i+1 to n-1 which have a non empty intersection with set i. Union set i with all those sets and replace i with the union set.

If you use a disjoint set data structure this will be quadratic or O(n^2)

EDIT:
On further thought you need to merge from the end and backwards.
I hope I'm past the part of my career where I go on cold job interviews but if I ever had to go on another job hunt, I'd simply announce that I'm a web developer and not a algorithms person and it looks like I might not be the best fit for the position and just see how the interviewers respond.

Anything less than tossing the playbook warrants a gentle suggestion that we shouldn't waste any more time here and why don't we just end the interview. Stand up, shake hands, thank them for their time, and walk out.

Problems in the interview process should be seen as problems with company culture. I used to wonder about how to appropriately answer the question, "which companies are worth working for?" because it seems like you need a lot of time before you can really tell. But once I realized that the interview is just an extension of company culture, it got a lot easier to weigh opportunities.

I mean, obviously, if you need the money you need the money, but developers are hot enough commodities that it doesn't take long before you're entrenched enough to be able to call the shots like that.
The second example provides one more input set (8,10). So the first example has only 3 sets as input, the second example has 4 sets.
Isn't it interviews like that that turn job-seeking developers into entrepreneurs?
Finex is for sure superior but they just don't make a lot of sizes (and of course the price).

For example I use a 15" cast iron skillet to cooked spatchcocked chicken. With 15" I have even cooked spatchcocked turkey and duck.
Deleting Uber or just never ever sign up.
Alternatively, get a $15 two sided whetstone and try sharpening whatever knives happen to be present.

Cheap knives even tend to be softer steels which are easier to sharpen.

This won't lead to the very sharpest knives, but for most people it will still produce a vast improvement in sharpness and it's only $15 gone if they decide they'd still like better stuff or to throw the stone in the trash.
You can reproduce it within GA using a custom report, something like this: http://imgur.com/a/DDzdc
I would put each element from each set into a Disjoin-set data structure [1] and then report back all the sets whose elements all have cardinality 1.

The complexity of this data structure is pretty interesting. It basically comes to O(N) for N < any number that can be represented in the known universe. It's also the coolest use of the inverse ackermann function I've seen!

How to solve this on a distributed system I have no idea.

[1] https://en.wikipedia.org/wiki/Disjoint-set_data_structure
Well, there's UGo and a bunch of other apps/online services for taxis. The problem with all of them is that they're local and there are less drivers on it.

For example in Montreal I wanted to try Téo (they use electric cars) but after five minutes of waiting for an available rider I gave up and ordered an Uber instead.
There is aprofesssional association, but I don't think many non-academics see it as such: the ACM, http://www.acm.org/about-acm/about-the-acm-organization
Yeah but realising that two "nodes" of the graph are connected requires doing a set intersection, which I concluded was quite expensive to do between all possible sets. i.e. building the "graph" was an expensive operation... unless I've misunderstood you.
Will TheDiscovery of TimeCrystals Change Perception Ofthe Space-Time+Continuum?
Does anyone really want these, or care?

I'm curious because I don't and I don't see any real momentum behind them.
I completely agree. Having had pretty much one of each of apple"s laptops before and since, it is the best laptop they ever made.
Hi, this has been asked before a while ago so I thought I'd link you to what was answered back then to get you started:

https://news.ycombinator.com/item?id=13298195

I give a vote for 1Password on Mac but on Linux I quite like Pass.
You know, actually reading the article could go a long way towards filling in those ellipses.
I use emacs-slack and dunst to display the notifications for just long enough to read them. No flashing, no beeping, just a simple text box. And I don't reply or jump into a conversation unless it passes a threshold of importance, or I need to step away from work for a few minutes.
While there are good reasons for not using excel, be careful not to dump too fast.

Excel's format is publicly available (if a little horrible to read XML), and it imports/exports CSV fine.

Yes you do have to pay for it, but I find lots of R extensions don't work well on Windows, so OS-lock isn't a solved problem. You can use Office 365 in the web browser if you want to access from linux.

The biggest issue is, as you say, don't try to put 1M+ rows into Excel. I agree. But I've worked with lots of people who have 20-1000 data points, and there Excel is great. I'd love to have an alternative to suggest to people, that scales well with them, but we aren't there yet, and Excel still fills an important niche. Assuming people only use it because they are idiots (not saying you said that, but many do) and not looking at why they use it is what is stopping other tools replacing it.
In the Jackson era most employeees were direct appointments. So that was typical.

The civil service is the backbone of what makes the Federal government a great institution. The fact that the IRS functions at all after two decades of undermining by congress is a testament to that.

The hardest thing about Trump is figuring out where the incompetence ends and malice begins. The admiration of Jackson is one of those scary things. In addition to being a corrupt racist, even by the standards of the day, Jackson and his policy positions were a shitshow that created depressions and smashed the financial system.
clearly the solution there was to use the crack.
Knowing of data structures is more important IMO. The hoops I've seen people jump through in code because they don't know about sets.
I was just showing how the DEAFAULT browser's CSS take care of nesting and different importance of H1 tags depending on the context.
H1 is already the H you're looking for.
I think the point of the article is to ask yourself: Are you really 'paying more' for not using Uber, or are the rising moral/ethical questions of their operations a greater cost to humanity as a whole (which includes you)?
Chairman of Joint Chiefs of Staff and Director of National Intelligence are no longer permanent members of the Principals Committee (the actual subgroup that has people so wound up); effectively, they only get to attend meetings when they're invited (the wording is something along the lines of 'whenever their expertise is a topic of the meeting'). Since this is the National Security Council, people think it's weird that they'd have any meetings that wouldn't be in the purview of the military or intelligence communities.
I've considered this, I was planning on reimplementing `bc' or something on those lines. Perhaps some kind of crypto suite or physics sandbox would work for me? What sort of programs did you write, I'd love to hear more!

What I'm looking for is theoretical knowledge, and that's something else I struggle with. Can I still get that with more hands on experience?

For instance, something I find fascinating are One Time Pads. They're perfectly secure, given len(k) >= len(m); so the key must be the same length as the message.

As far as I understand, it's because each possible key may produce any possible message which I think is expressed:

Pr(x) = 1/|U|

Where U is the universe of all possible messages: {0, 1}^n where n = len(k)

I probably wrote some mistakes there. I was able to pick this concept up, I think as it just made sense to me; maybe I was able to visualize it or I could just think it through and realize the conclusion made sense.
Worldwide, riders pay 41% of the cost of transportation with Uber.

https://motherboard.vice.com/en_us/article/uber-true-cost-uh...

"Investor reports reveal riders only pay 41 percent of the full cost of each ride, with investors footing the remaining 59 percent."

That is reason enough for me not to use it. It's bankrupting whole industries/families/incomes with VC capital.
Although, the elephant in the room is most piracy happens under their roof, at least for music. I used to "steal" music on p2p. Now I just "watch" youtube.

http://www.digitalmusicnews.com/2016/05/05/what-music-piracy...
This is one of the best resources for learning NLP using Python - https://www.youtube.com/watch?v=FLZvOKSCkxY&list=PLQVvvaa0Qu...

Step by Step, one concept at a time with just a few mins of small videos.
Looks interesting, awesome to see more Michiganders too!
It's interesting how you talk about Uber as being the one central app, while the "official" taxis have 4 different apps. Uber did marketing really well there, making sure they didn't end up as #5 but as "the one".
$ man man
;)
Someone should tell them, if you're worried about them stopping GIVE THEM MONEY.
Redash? https://redash.io/

Or maybe Apache Zeppelin? Zeppelin is a notebook/worksheet based setup similar to Jupyter/IPython.

http://zeppelin.apache.org/
False equivalence. Most big companies do not have the sort of culture I read about in that Fowler piece.
No hire. Bad culture fit. Seriously, even if you think the interviewer is asking the wrong questions, insulting the interviewer as if it's their job to fix the hiring process of the entire industry...
But what does that have to do with the original article? The problem it's discussing is the lack of a context-dependent outline algorithm for h1-6 elements in modern browsers.
This has been my experience too. Always. Without fail.

Though I still believe it must be because many (if not most) firms invest very little in their HR departments and hence they get what they pay for and employees make do with it until something blows up; e.g. scenarios like this. And I am sure there are stellar HR departments out there I have never interacted with.

But then again an industry, a field, or a practice is usually stereotyped based on the reputation of the majority and majority in this case, in my humble opinion, seems to be lying somewhere down south.
The Attack of the Alerts and the Zombie Script
Good post, I made it a bit more legible

Are Space and Time An Illusion? | Space Time | PBS Digital Studios

https://www.youtube.com/watch?v=YycAzdtUIko

The Geometry of Causality | Space Time

https://www.youtube.com/watch?v=1YFrISfN7jo

The Quantum Experiment that Broke Reality | Space Time | PBS Digital Studios

https://www.youtube.com/watch?v=p-MNSLsjjdo

Quantum Biology: An Introduction

https://www.youtube.com/watch?v=bLeEsYDlXJk

Quantum Biology: The Hidden Nature of Nature

https://www.youtube.com/watch?v=ADiql3FG5is

Consciousness: Explored and Explained

https://www.youtube.com/watch?v=zWfRWdeuPb4

The Mind After Midnight: Where Do You Go When You Go to Sleep?

https://www.youtube.com/watch?v=stXhGMVJuqA

Rebooting the Cosmos: Is the Universe the Ultimate Computer?

https://www.youtube.com/watch?v=atMuFCpxnUQ
Even factoring in the "hiring process" I don't think it'd be difficult to get a job within 1-4 weeks. It might not be the best job, but I could certainly find something to pay the bills.
DDR4 is innately much more resilient to rowhammer than previous standards.
Because all the commies here think nobody had the right to property!