skysight-inc/HackerNews huggingface dataset:
There is no official ordering provided by the atomic package. An atomic package isn't very useful without ordering semantics. And ordering actually _is_ provided, it's just not part of the documentation.

The background is that the Go team were initially reluctant to even make the atomic package public. It's mostly there to support the runtime and the sync package which needs fiddly low level concurrency things. But, it exists and it is public. Some people on the Go team regret this (I believe).

Giving clear and precise semantics to the atomic package was delayed because, it's a lot of difficult work and you only get to do it once. There was discussion around trying to find a clear and simple semantics.

In the mean time the atomic package actually had ordering, because you would have a hard time writing runtime or the sync package without this. Also the race detector assumes some kind of ordering for operations in the atomic package. It was confirmed by Dmitry Vyukov that the race detector assumed C/C++11 acquire/release semantics for atomic operations.

After some discussion it was decided that C/C++11 semantics should be adopted. But the documentation has not been updated to reflect this. Updating the documentation doesn't appear to planned right now. Which is a shame.

https://github.com/golang/go/issues/5045

Above I have sort of put words into the mouths of the Go team (or some members of it). It's not my intention and bad mouth anyone, and I think everyone was making decisions for good reasons. Whether I agree or not :)

With respect to adding ordering arguments, Go most likely won't get those for a very long time.
I once read that fasting promotes something like "cell reuse" and the body starts breaking down old/damaged cells faster. I'll try to find the source (and this is not my field by any means)
I start being hungry after 24 hours :)

But I'm convinced it's only ghrelin. I've numerous times changed my eating schedule, and my hunger adapts after at most two weeks, usually much faster.
There are database migration tools like Liquibase/datical and, I believe, Flyway that let you specify migrations not just of schema changes (DDL) but also data changes (DML).

I have used Liquibase in production for handling data changes for small-scale data (in megabytes) for dev/test/mock data and/or values in preconfigured application-controlling tables, but I wouldn't use it for gigabytes of transactional data.
I spend pretty much every weekend watching (super dyslexic) hours and hours of "stuff" about quantum, form quantum biology to physics to astro, here are some good ones around humans and the universe. Some may not seem totally relevant but give foundational knowledge, suggest watching in order:

- https://www.youtube.com/watch?v=YycAzdtUIko
- https://www.youtube.com/watch?v=1YFrISfN7jo
- https://www.youtube.com/watch?v=p-MNSLsjjdo
- https://www.youtube.com/watch?v=bLeEsYDlXJk
- https://www.youtube.com/watch?v=ADiql3FG5is
- https://www.youtube.com/watch?v=zWfRWdeuPb4
- https://www.youtube.com/watch?v=stXhGMVJuqA
- https://www.youtube.com/watch?v=atMuFCpxnUQ
I toast mine every 6mo-3 years if I actually use it on battery often (i do). Most laptop owners just want a compact desktop, and use theirs as one. Obviously batteries last longer than the tech is viable in that case. Smart usage used to make a larger difference, but the new batt tech seems less sensitive to heavy useage.
There are many cities where manhole covers are overwhelmingly rectangular. I'm typing from one right now: Rome. SPQR!

I used to live in a town in the US where many of the manhole covers were shaped like a D.
Unfortunately this miscompilation probably is within spec, given that the atomic package has no documented ordering.

But it's coming.

https://github.com/golang/go/issues/5045
There seems to be a barrier you cross when you start getting hungry after N hours after your last meal (when it would be your next one), but suddenly you're not hungry anymore
Think about what you are saying using your brain. It is equivalent to "please stop giving me your anecdotes, because they conflict with these other anecdotes that I like better".

If you're going to use personal experience as evidence for some phenomenon, you need to accept personal experience from every angle, not just the angle that agrees with your perception of the phenomenon.
Thats hilarious.

I was once interviewing for a C++ position and the interviewer presented me with some C code with a broken "swap" implementation and a driver function and asked me to fix it. I simply prefixed the call to swap with "std::".

He wasn't very happy about it. ;-)
What do we do when everything is automated?
Yeah that looks very promising.
Bingo! It's the only modern car that I feel I could repair myself if needed. My other car -- a truly shitty Citroen van -- is a rattling shitbox. The interior door panels are faded and cracked, and the glue that held the fabric in place has long ago dissolved. Every panel has worked itself loose and, while the plastic fasteners are easily replaced, they never seat snug again. I actually ripped off the rear interior panel entirely -- leaving the door mechanism exposed -- because the buzzing was driving me insane on long trips.

And that car is only 12-13 years old. It's almost criminal how quickly those plastic interiors degrade. My Citigo is almost 4 and looks brand new, despite ferrying two nuclear-powered kids all over the place every day.

And the safety record for the Citigo/Mii/Up! is fantastic. It's got a 5-star rating, I believe, by NCAP. I still find myself gushing to my wife about how incredible the car is. I see myself as something of an anti-consumerist, but I profess a deep love of this car.

It's a triumph of functional minimalism.
"Coming soon to a furnace, security system, lock, water heater, and car near you."
I agree. Fiskars' axes are mainly for chopping and tree pruning. But that is also probably one of the most common things to do with axe. Their middle size models are probably the best in my opinion. I wouldn't of course use Fiskars' axe for carving and stuff like that. It doesn't work at all, but for say carving, you need a special purpose axe anyway.
Ctrl+F, Trump, lots of mentions, Ctrl+W
Automated App Deployment Tool – Nanobox – Simplifies DevOps Job
Ask HN: Software to visualize DB Data (generate dashboard)
I'm looking for a software to build a dashboard view for approx. 6 Databases (MySQL, MSSQL) to visualize our current process performance/operating numbers (eg. visitors, logins, free service agents, closed service tickets).

Maybe something like google Datastudio, which unfortunately cannot be used due to the fact that the software should run in our LAN.

Any ideas?
Hmm... I get that :)
Do you have a better name for it ?
What's the standard deviation of a sample size of one?

Now, the standard counter example is a composite statistic. Like roll 100 6 sided dice get 600 and assume they are not fair. But, importantly there is a standard deviation assumed in the experiment and there was more than one dice roll. However, if you combine that with something else then your sample size drops back to one.
I interviewed someone who gave responses akin to "I'd Google it." When presssed, he did finally give some reasonable answers.

We ended up hiring him, as we'd interviewed 10 other candidates who'd failed at that point.

He ended up being a terrible employee.

Seriously, when someone asks you the details of a linked list, they're not trying to find out if you will be able to use one specifically on the job. They're trying to figure out if you know how to implement the details of a moderately tricky algorithm/data structure.

I've never implemented a linked list for work, but I have implemented complex data structures and other analogous code. Implementing a linked list demonstrates that I paid attention to the basics and can reconstitute mildly complex algorithms when needed.
It's hard to just ignore feelings. You'll have biases. It'll show. (Eventually.)

Talk to HR (or your boss), get them (or you) a new team/manager.

Or if the feelings go away, then great, crisis averted, but it's rarely that simple.
While Uber (probably) had it coming, it's still annoying that the Internet as of late has turned into scores of "famous person writes a long virtuous post proclaiming how some other famous person is less virtuous."

I want my Internet back.

(Stopped using Uber after they changed iOS app location tracking choices to only "Always" or "Never," instead of original "While using the app")
Yeah, someone should just create a search engine specifically for piracy websites.
> It's worth noting I have some of the symptoms of dyscalculia, so perhaps my brain isn't really built to do math and is why I struggle so much?

Does discalculia have to do with numbers and calculations exclusively? It's not very hard to cook up math problems where the numbers are well-hidden so that you don't touch them directly. A lot of induction arguments are like that. Have you ever seen a math proof? The reason I am asking this is because your writing seems lucid enough and math proofs are nothing but tight explanations why a statement is true.

Take a look at this free book by Richard Hammack and see if you like the flavor of it because that's how much of math is: http://www.people.vcu.edu/~rhammack/BookOfProof/
Ask HN: Is there any services that take my Google Analytics report and produce a simple report like this one? I may not need the full-blown report of GA right now but I guess I'll need it as some point in the future.
>I don’t think it’s a coincidence that both Peter Thiel and Uber CEO Travis Kalanick have been chummy and beyond with Trump.

Travis has been chummy and beyond with Trump? What's beyond?
Because they're afraid of having iy forced down their throats. Pre-emptive complicance with regulations that don't exist yet is a way for businesses to maintain their autonomy in uncertain regulatory climates. Cf. antibiotic use in animal factory farming.
Snapchat Spectacles are now available to buy online for $129
Yeah, how's this situation for the 9/11 truther movement? Even a nagging suspicion that a high level government official could be vulnerable in a way that could hurt the country, and some anonymous person with clearance goes to the press. What's that put the odds of a massive government conspiracy resulting in the deaths of thousands of Americans at?
I'm really intrigued to see if they hit the same pushback that Google Glass did.
Emirates Mars Mission
I'm 50/50 on this. I _am_ offended by the shady practises coming out around Uber, and would like to vote with my feet as it were - but in London UK, Uber has no real alternative. Lyft doesn't operate at all outside the US as far as I can tell - and I'm unaware of any other taxi firms which operate the same model here.

So I'm left with using offical "Black Taxis", which don't have one central app to get hold of them (I think there are four different ones last time I checked), and the darlings of silicon roundabout will point out they cost a lot more than an Uber does for the same journey.
linked list is not complex for christ sake.
Ah, I wasn't aware there was some formal theories on this idea!

Along the same lines (maybe), I've always thought an improved way to approach disagreement (breaking down "matters of opinion) is to break things down into components to better discover discrete points of contention. When you have a unsolvable dispute, you've either reached a matter of opinion, or, the disputed topic has to be broken down further. I wonder if that's the approach the book takes?

I think this approach could be quite successful, assuming two reasonable people involved (a tall order nowadays perhaps).
After all they've done, you still think they can lose?
I once had to use a linked list to implement a sorting algorithm on a huge but partially sorted input. This was to detect duplications in an AST, for a static code analysis startup. This was literally the only time I professionally used any sort of non-trivial data structures and algorithms, and I've been working in the field for some 10 years now.
I skimmed through the article fast, so here is what I gleaned:

1. Donald Trump is bad, Thiel is bad for supporting him.

2. There are problems at Uber

3. ... ?

4. Lets punish ALL shareholders, and YOURSELF, by not using the service.

5. ... ?

If some law has been broken, I would prefer that the guilty person(s) be held accountable. I am not sure why I have to pay more for taxis at this time
that's illegal in many countries america is fucked up
So what's the most you can do?
133% improvement in conversion rate by increasing the font size
It's a paraphrase of Penrose's "The Emperor's New Mind".
I never understood why things are mandatory in education.

Perhaps it's to combat entrenched prejudice. Back then we would make jokes about "Physics for Women", i.e. the non-calculus kind for non-majors. Everyone who would joke like that would know that physics is for anyone, just look around the lecture hall where 25 % of the audience are female, but talking like this he would pretend to be a Neanderthaler from an era thankfully past.

Forward to the present, where in Britain they make physics more "accessible" by watering the subject down. That doesn't help groups that are traditionally excluded, they need to be included, forceful if necessary.

Same thing holds true for the Arts.
I work for a bank, and literally almost everyone I work with does this. By comparison, I use R for pretty much everything (minus some formatting in Excel). I have a far easier time identifying errors because than my coworkers, because instead of getting version 328 of Book 1.xlsx with no information about structure, edge cases, etc., I have well-documented code explaining exactly what came in, how I transformed and analyzed it, and exactly what went out.

I will say the one downside to this practice is that I get stuck editing a bunch of connector code because no one can send the same information in the same format twice.
33 years across 6 companies, from Fortune 500 to 20-person startups. HR departments have been, without exception, absolutely useless except to protect the company's hide.
I fail to see how this is censorship. They're not censoring content that you are able to access legitimately nor are they stopping you from finding content that you agree or disagree with. They aren't stopping facts from coming to light. They aren't stifling news sites.

They're stifling an illegal act of procuring content that is within the confines of the current law, agree with it or not, thats all these sites allow you to do.

I don't think for instance, pirate bay has ever been known for its breaking news on current events.

Edit: For what its worth, these are private companies after all. So 'censorship' in terms of a legal or constitutional definition under freedom of speech, would not apply here anyway.
C++ Metaprogrammation real use case
See also: Hacker's guide to Neural Networks

http://karpathy.github.io/neuralnets/
Reminds me of my sysadmin days when I was trying to learn shell scripting and would lookup man pages of random binaries in /usr/bin. Before we could bring down a box for nightly maintenance/backup, we would send a shutdown broadcast notice like:

banner "Shutdown"|wall; banner "in 5 mins"|wall

I found out "write" command and setup a hacky little one-to-one chat script - it was terrible and geeky but I really liked it.

I'm probably forgetting some more obscure commands that I enjoyed :)

PS: forgot to mention that when I told my boss about the "write" based scripts, he gloated that he had setup a quiz program which supported multiple participants using named pipes. Awesome guy :)
I specifically want to address north african languages (Algerian, Moroccan, Tunisian), commonly known as a dialect of Arabic, using a Latin alphabet, with heavy influences from Latin languages (French, Spanish) and Berber (endemic regional language) as well.
My intent is to be able to parse a sentence written in this language, and extract the subject, the action, the object. I would also like to build a semantic model of the language (e.g. word2vec if I am not abusing the field) relating similar words.

I have tried models for Arabic but they fall short because of the borrowings from other languages, but also a different grammar in many cases.
Also, on one hand, transliterating the Latin written sentences in North African Arabic into a regular Arabic alphabet is a challenging task (many transliterations are possible for a given word), on the other, North African Arabic (NAA) is not standardized, so words are commonly written phonetically using a loose set of transcription rules, also borrowed from other languages.
An example of this last aspect would be 'the pharmacist' which in NAA could be written in any of those forms (combinations of either change are possible):
- L'farmassian
- Lfarmassian
- Lpharmassian
- Lpharmacian
- l frmsian
..

Thanks for the reference, I will check it out!
I just find the whole leather jacket incident incredibly baffling.

It's just a few hundred bucks. Is Uber that short of cash? It's ridiculous.
The same is true for Amsterdam
$ cd /usr/bin ; man
What manual page do you want?

Is there a command to get all the man pages? I tried `man *` and the internal help, but no luck.

Edit: q then Return did it. D'oh. The obvious follow-up question is how do I go back to the _previous_ man page?
Interesting. I'd be happy to give you one or two (free) online tutoring sessions. I've always been able to get my students past their roadblocks so far, and I'm interested to see what a more difficult case might look like.
I felt the same way until I got to undergrad and relearned math from the basis of naive set theory and spent time working through the basics (proper definitions, proofs, Dedekind cuts etc.).
I'd like to put in a plug for Finex cast iron. They're milled smooth on the bottom which I prefer to the finish on the Lodge pan that I have.

Regardless, +1 for cast iron!
Wait what? I don't get the latter link about some anime. It is a manga/anime about magical girls, who eat witches, but when they grow up they become themselves witches??
> The H tag would replace the H1 tags in all your SECTIONs. You're not using H2-6 in there at all, so what do we need the "1" on the end of H1 tags for?

the N after the H can be seen as the priority
where 1 is the highest and 6 the lowest

> we don't need numbered headings like that anymore because we have semantic block-level elements like SECTION, HEADER

how do you express

HEADING > SUBHEADING > SUB SUBHEADING?

using classes? nesting tags?

> The truth is, H1-H6 were useful to screen readers when the web was a lot less complicated.

So in your opinion since the web is more complex now, we should drop perfectly reasonable tags?

> it's harder to maintain that structure and stay within the confines of 6 possible headings

I can't remember the last time this has been a problem.
In Travis's case, what's "chummy" in the first place? Agreeing to serve on a forum and stepping down before it ever met?
I don't think so.

If Google was only implementing DRM to tick boxes, they wouldn't be implementing "extracurriculars" like hardware-based DRM on ChromeOS devices.

They wouldn't own the very DRM company whose product they're peddling, a company which advertises to the very industry which is supposedly forcing Google's hand. http://www.widevine.com/

Take a look at this page and search for 'HW_SECURE_ALL': http://www.widevine.com/product_news.html

Now, what exactly is the point in implementing a more secure DRM variant (which as far as I can tell uses remote attestation) if content remains available to more 'vulnerable' platforms? We even have a potential lockin motive by Google here, too. I can see it now: "Only available on ChromeOS."
Correction: I read Susan's blog post about her year at Uber here: https://www.susanjfowler.com/blog/2017/2/19/reflecting-on-on.... It turns out that this consultant can survive without Uber. I deleted it and deleted my account as well.

Leaving my original post up for accountability.

---

Uber is kind of like Windows: they are #1 in their markets, so they are many people's #1 target.

It bothers me more that we haven't heard more about the goings-on at Lyft. Compared to all of the attraction that Uber's gotten, Lyft is squeaky clean. That can't be right.

From a practicality standpoint, there's no way I can delete Uber. I travel every week and use ridesharing services often. There are several times in which Uber is the only service that has cars on the road or the difference in wait time is pretty stark. When it's 12AM and you need to be up at 7AM that morning, every minute counts.
>I think one senior person isn't enough in a case like this.

How can you make a statement like this without knowing anything about the details of the case? We have an allegation; a big one, but that's it. How many heads would you like to see in advance?
I think everyone should get overtime pay, it would make the company think about how to get better utilisation out of their staff in an allotted time.
And selling 1.6b barrels of oil per day.
https://en.wikipedia.org/wiki/List_of_countries_by_oil_expor...
The standard data structure to look for in this case is the disjoint-set data structure (also called union-find), https://en.wikipedia.org/wiki/Disjoint-set_data_structure. That should make your function fairly easy to implement.
Essentialism and 3 Simple Steps to Get Better Results Faster
I'm glad someone realizes what unbounded capitalism looks like. Whether we must somehow punish Uber for doing exactly what their investors and shareholders want, but yet neglect those exact companies that uber competes against, is a rabbit hole stance to take
look at Google's data studio
https://datastudio.google.com/
> i have actually met people in some offices that were into open relationships, and talked extremely freely about sex, just like any other subject

1. He was propositioning her; not just "initiating a topic".

2. That person was her manager, which changes the picture altogether (see this comment by 'calcsam: https://news.ycombinator.com/item?id=13682117)
So what is a good universal outdoors axe?
What you described is a life of a house cat, happy that the food's always there and that there's lots of time to sleep. A bleak life devoid of any ambition and goals.

I can't imagine the brainwashing required to make people accept that.
Canada betting on basic income to help cities gutted by manufacturing job loss
Surprise, surprise. Most of the big companies are evil.
You can either go full stallman style or be very reasonable about buying/using services from these companies.
Huh, good point. I can't find any pseudo-class that's affected by aria.
I'm actually kinda suprised this hasn't happened already. I wish one of those distributed search engines was in a usable and useful state already. That can't be an impossible problem to solve eventhough it does seem really difficult.
You could model the problem as a graph (each integer represents a vertex and two consecutive integers an edge, e.g. (1, 2, 3) is a graph with nodes 1,2,3 and edges between 1 and 2 and 2 and 3). Then your problem is just to find all connected components of the graph (https://en.wikipedia.org/wiki/Connected_component_(graph_the....
A 50mm 1.2 lens on a Canon APS-C body has a full frame equivalent focal length of 80mm and a full frame equivalent aperture of f/1.9 — giving it the characteristics of a comparatively inexpensive lens.

In other words, your $1300 lens on a crop body will have comparable performance of a $350 lens on the full frame body.