skysight-inc/HackerNews huggingface dataset:
It's awesome, that's what it is. It's a nice illustration. You could have a student do it, but it would not be as fun.
Lenovo X1 Carbon coil whine?
I've been wanting a new laptop, replacing an XPS 13 that I returned due to coil whine. Does the X1 Carbon have it?
I have tried to parse this sentence 10 times and do not understand. Reading the Github README did not help at all. Can someone explain what is happening?
1. How should I quit my current job where they don't feel used?

You just quit. We live in a capitalist system, not a communist one. You are allowed to "desert" from your position anytime you want.

2. Should I jump into a startup so soon after my bad consulting company experience?

No.
CSS supports XML namespaces [0], although I've never seen someone using it.

Shadow DOM supports style isolation [1], although I don't think I've never seen anyone using it outside of toy projects.

There's also a newly proposed containment [2] CSS property, but it's only supported on Chrome.

For simpler websites where you skip using any build tool, I don't think it's a problem. For larger applications that support build tools, css-modules is a good alternative [3].

[0] https://developer.mozilla.org/en-US/docs/Web/CSS/@namespace

[1] https://webkit.org/blog/4096/introducing-shadow-dom-api/

[2] https://developers.google.com/web/updates/2016/06/css-contai...

[3] https://github.com/css-modules/css-modules
I have a little widget similar to this hooked on my keychain for AWS: https://safenet.gemalto.com/multi-factor-authentication/auth...
People in the Sahara (and other deserts) dressed for the weather. It's not comfortable by modern standards, but people were able to bear it with the right clothing to keep the outside heat out.
What's needed, and possible, today, is a competitive and relatively simple AVR or ARM-M0/M3/M4 replacement (with I2S). Such a chip is likely to receive stellar support from the maker-community.

My gut feeling says that such a chip is likely to come from Samsung, but NXP and Expressif are also likely candidates. All are RISC-V members.

Anything more complex should wait until the specs are complete.
This is a great example of why the OPs question could be a good or terrible interview question -- it's not clear if they want the obvious technical solution (comparing datetimes) or a wider discussion about "what is a date time and how is the data represented", "what are the real world / business implications", "here is existing technology using intervals that will solve it" etc as you mentioned.

In my experience interviewers are usually looking for the technical solution despite the business oriented solution usually being much more applicable (and thus relevant) in the day to day role.

Key thing to remember here as an interview candidate is to clarify with the interviewer the scope of the question and the nature of the answer they're looking for. If for instance the interviewer starts with the simple technical solution and then probes the business aspects this might be a nicely rounded question.
No videos, taking notes in Scapple, searching for the most simple explanation in multiple articles at the same time, implementing what I need as soon as possible.

Focusing if the topic I learn is focused itself or not focusing if it's very broad.
Don't city dwellers in general consume less greenhouse gases due to improved density and efficiency?
Phone in the pocket (silent) works well for me. At home, I just put it on charge somewhere and mostly forget about it. However, a side effect of it is, In my social circle, I am the guy who doesn't respond on time. I miss phone calls all the time. But since I do it consistently, everyone knows nowadays. :)
There is a proof shown in this handout: https://people.eecs.berkeley.edu/~sinclair/cs271/n15.pdf

It's hard to understand why this technique works so well without digging deep in the math. Roughly speaking, if you throw n balls in n bins at random, the maximum of number balls in any bins will grow surprisingly quickly (because of the birthday paradox). However, if we allow ourselves to choose between two random bins instead of one, and put the ball in the one with the fewest balls in it, the maximum number of balls in any bins grow much more slowly (i.e., O(ln ln n)). Hence, having that one extra random choice allows us to get surprisingly close to the optimal approach of comparing all bins (which would give us O(1)), without doing all that work.
If I have to play with it for a few hours before it makes sense, then it's too complicated and confusing.

I have better things to do than train myself to use a phone.
I find most European cities are cashless, and accept MasterCard and Visa as well as the local country issuer for payments, attached to a local bank account.

You might have been running into the fact credit cards have much higher merchant fees, even if it's probably a violation of their EMV merchant agreement to refuse to accept these cards.

I see zero meaningful advancement of payments in the U.S. over Europe, to the contrary. There are more cash only restaurants in the U.S. especially if you're not in a big city, it's quite common. I think your opinion is based on a very limited experience across the U.S. and Europe.

And EFT payments in the U.S. are incredibly slow compared to their European counterparts. The fastest bank to bank transfer is Fedfunds wire, and that costs money, upwards of $30 for each party. It's cheap or free in Scandanavian and European cities.

I really have no idea what you're talking about when it comes to American innovation in this area... I see it as yet another example of American pay more to get less sort of classist mantra. Oh but if you have more money, and pay more fees, agree to give away more personal data in the EULA, you can get better services!
Looks like the service returns spoiler for movies when contacted on any port. The attacker would get annoyed if all they see is movie spoilers in the logs.
Absolutely. I have a maxim - "Time and DNS - come back when both are fixed"

Nowadays good sources of time are "free" - use them. If you can't manage your DNS then hand in your nerd card. You should have A->PTR->A record sorted. The Windows DNS and DHCP make this embarrassingly easy to get right. Be careful about using OpenDNS and co which will happily respond to incorrect queries with their own IP addresses.

For docs on using krb and Samba and co. see Gentoo and Arch wikis - lots of info there.
I guess it listens on all ports, and sends a random spoiler in plain text when someone connects to said port, before closing the connection.

I guess this is supposed to be a joke :)
Humans have never cleaned up one mess before starting a new one. What makes you think multiplanetary civilisation will be any different?
Only saw a few episodes; mind expanding a bit?
Google did practically nothing with tango, it’s just smoke and mirrors for Wall Street to see...

Their Tango is just a rebranding of PrimeSense technology, which is owned by Apple

https://techcrunch.com/2014/04/17/googles-project-tango-incl...

It is time that people stop falling for that meme that Google makes things, Google doesn’t make anything, Google sells the image of a reputable company, they make money off ads and that’s it.
I don't think "the final interview" means a single person. I took it to mean the onsite round, with however many people that entails, skipping the recruiter screen, phone screen, etc.
To be fair, if you remember only the main events of any story, it's not difficult to recite it from memory. For instance, I've read the Lord of the Rings trilogy many times. I had no problem reciting the entirety of it to my grandmother after my first read through. You may think that a story recited this way would be shorter, but it's not difficult to improvise or embellish. The Odyssey has an extremely simple plot by today's standards. It's been quite a while since I've read the book, but I'm pretty sure I could skim through the cliff notes and tell a pretty compelling version of it.
A home being hard earned does not preclude the possibility of it being ugly and worthy of ridicule (from an aesthetic point of view).
It's difficult to tell if GP miswrote, or you misunderstood, but it doesn't sound like they've made the mistake you're alluding to (I would expect them to be explicitly wrong).
Is it really considered okay to call 911 for a stolen phone? I thought 911 was for emergencies (e.g. imminent danger to property or someone's life or health). If your phone's already stolen, what can the police do urgently? This assumes they can respond quickly. I wouldn't have thought a stolen phone would result in a quick response in NYC.
It shows exactly how dependent we are on resourced-based economies. The west coast is all red, forestry and fishing crashed on the west coast, and the prairies are all green, oil boom from the last few decades. I'm a little surprised that immigration between provinces did not even out incomes between the two resource boom/bust cycles.
something about the phrase "visiting the dark web" just makes me laugh; it sounds so nonchalant.

anyway, vice doesn't do journalism.
get a dedicated pocket cam
A very nice web tutorial for Smalltalk
Nanobox Creates Instant, Isolated Development Environments
This is a short program that listens on a port and responds to any attempt to connect to that port by sending back movie spoilers. The idea being that anyone that tries to port-scan your machine will be punished by having all the twists in all the best movies revealed.
>don't really know what they went from the person they're hiring

I think this is spot on in terms of those incredibly long lists of skills you sometimes see. If they don't know what is important, they just ask for a Swiss Army knife. And that intimidates people who take the reqs seriously. Maybe your right that it's a signal of a potentially bad environment too.
For a second I thought you were implying that not listening to music is a good thing. Glad to hear that's not what you believe.
Here's a major one the article missed: short-sightedness.

In industry and commerce, that may be optimizing for short-term cost-cutting over long-term efficiency.

In education, that might be standards and incentives that lead schools to "teach the test" so the teacher/school gets a positive evaluation this semester - rather than investing in teaching how to learn or instilling a love of learning.

In healthcare, that might be high costs and bureaucratic obstacles that deter people from seeking evaluative and preventative care - at the cost of much more expensive later-stage treatments down the line.

In real estate, it could be crappy building materials and lower standards of craftsmanship that help build faster and cheaper but result in more problems and higher utility and eventually maintenance costs down the line.

In infrastructure, it can be deferring maintenance so you can cut taxes - resulting in more expensive repairs when things fall apart completely for want of a bit of paint or grease.

And so on ad nauseum.
Ah crap. Sorry Kate, I shouldn't have presumed. Internalised sexism got me.
Indeed, I was pleasantly surprised to see this high quality reporting from the Globe and Mail.
As a manager in IT I have to have my phone on 24x7 for escalations and I hate it. On the occurrences that I take a real vacation and can turn my phone off, something in my head flips and I can truly forget about it. When it is on, there is something subconscious that will not quite let go and I can feel it.

I feel I would benefit greatly from being able to truly turn my phone off one day a week.
A lot of that map is explained by oil: https://www.spec2000.net/text100fp/cdnoilmap.jpg

In the last couple decades, it's become affordable to mine tarsands. The oil boom has meant people in those places make a lot more money. Naturally, they are making more money than their parents did.

The other green area is Toronto. If you're 40-50 in Toronto today, you probably bought a house in your late 20s or early 30s, which has now quadrupled on value.

All of that to say, many of the places where mobility is rising may be short lived. In reality, we may be an entire country of low mobility, except for the few lucky areas.
Premium now means “not incredibly crap to the point it’s unusable?”
A fantastic part to theoretically dabble with, but did you actually use it?
I only run open source software on my phone. However, I think there are some similar FOSS apps for Japanese on F-Droid, I'll have to take another look.
I used to feel more as GP describes, but that's changed since I started carrying a DSLR every day - not that I don't still use my phone's camera, but I find there's a distinct and very palpable difference between taking quick snapshots as aides-memoires, and the much more mindful and absorbing state that, at least in my experience, is part and parcel of photography for its own sake.

I can do the former without removing myself from the moment, while I find the latter requires it - at least thus far, I haven't worked out a way to both remain present in an experience, and also engage in the kind of analytical thought and modeling that goes into producing photographs which are (or at least strive to be) worthy in their own right, whichever camera I happen to be using to do so.
I think they're hoping for a "sweet spot" of legalization, where the product is legal to produce and sell, but regulations prevent outdoor farming (or mandate additional security in such a way that makes indoor farming an appealing alternative).
Do you not have a phone now? Does it affect your relationships with people at all?

I have family and friends in other cities and a girlfriend across town. Texts are just too convenient not to have when you need to coordinate. Just last week a friend passed through town looking for a new car and we met up for dinner - never would have happened without a phone. GF gets into a minor accident (not her fault, she would like to point out) and I can be over there in minutes thanks to a couple of texts. Father breaks his knee and I can follow how he's doing in real time, rather than finding out at the next family gathering.

I could do without the "smart" part of the phone. I really just need texting/calling (mainly texting). But I don't want a land line, and I'm pretty sure my relationships with friends and family would quickly deteriorate without my cell phone.
California pays other states to use its electricity
As a Canadian, this doesn't affect me. But the bill seems refreshingly straightforward, and introduces several reforms that I would argue seem desperately needed in American elections.

Sadly, I also have very little hope that this will go anywhere.
I love that interpretation of jotting down information as creating a mindfulness work of art. What a thought! I used to do the cliche "note to self" with a voice recorder, that I've recently been desiring again. My cell phone is too slow to respond to my inspirations having to log in past the keycode, launch the app, dump mental information. Stepping through those hoops seems to decay my inspiration. You make me think about reverting back to old technology like the pen and paper. Come to think of it I get the sense that the mental decay from fishing for those materials in my pocket is less than futzing with a cell phone.
That's an interesting construction of the Fair Use terms that to me, IANAL, seems entirely wrong; but interesting.

Like you could stop someone using your image in a parody because you took the picture of your tie and they instead parodied your suit wearing. Doesn't work, the image stands by itself, the supposed purpose of the image is irrelevant to the copyright ... or am I wrong?

If I take a picture from Zillow's site and use it to teach a class about poor framing (ie photography technique) then the exception for educational use still stands.
Consistent hashing is a bit cleaner way to do it, but pretty much the same result as modulo-ing the user id against number of servers. At least as I understand it, you consistently hash something (a user id, a request URL, etc) into N buckets, where N is the number of servers, so changing N re-shuffles all of the buckets anyway.

Short of something like cassandra's ring topology, how would you use consistent hashing add new servers and assign them requests?
I agree, however, the introspection may be useful. Knowing about this effect may help those who have had a nagging suspicion this was the case.
As an owner I can attest to the terribleness of the keyboard. I've used most of the bad chicklet keyboards out there - ZX, PCjr, Atari 400... this takes the cake.
For anyone who wishes to delve deeper into Socrates' arguments and the effects technologies have on our attention spans/memories, I recommend "The Shallows: What the Internet Is Doing to Our Brains" by Nicholas Carr. I read it for a book report in a computer ethics course, and it does a great job at laying out the pros and cons of our constantly connected society.

It was written 7 years ago, but it's still relevant as Android and 4G were rapidly rising in usage around then.
it's not the theory of economics i have problems with - it's living through the experiments.
I'll use this along with the metal band logo captcha plugin and be secure as hell.
>"We ask candidates to answer a quizz by phone, with questions in the 3 chosen fields. Duration = 1h."

You ask trivia questions for a whole hour? That seems pretty gratuitous. I think most people would tire of that after about 15 minutes.

>"We also add a bonus question like "how many people can get into a train". Duration = 1h."

You ask Fermi questions? Between an hour of trivia questions and one "bonus" Fermi question your process sounds pretty horrible to me.

Interviewing candidates is a two way street. There are many candidates who would not want to work for a company that thought asking a candidate an hours worth of trivia questions and a bonus Fermi question was acceptable. For many this would be a red flag.
When will js have enough features? Maybe not there yet, but is there an endgame?
I have a cheap-as-costanza dumb phone with texting which has served me very well. I definitely need a phone! Can't whistle that loudly.
"How would you build a to-do app for yourself?"

Because it seems that todo apps are incredibly susceptible to overengineering?
Hmm.. Perhaps I did misunderstand something. But if the test for a conflict is:

b > c and a > d

with conflicting appointments from 1-3 and 2-4:

a = 1, b = 3, c = 2, d = 4

won't that evaluate to:

3 > 2 and 1 > 4

true and false

false (no conflict)

I could be wrong, but I think you have to do all four comparisons as in aldarn's comment:

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

(no fair peeking!)
Good point. I didn't think about them not being written down in the list in chronological order by start time.
I use a mixture of approaches, but w/r/t development I'd say one of the main approaches I use is to just start building something that requires me to learn something new, and then learn as I go. The actual learning is a mix of trial-and-error (in the case of programming), reading books, watching videos, taking classes, reading papers, etc.

For non-development topics (say, math) it's again a mixture of reading books, watching videos, working exercises, etc. And I try to attack problems from multiple angles, by using different books and resources. Just to illustrate with an example:

Last night I started working through How To Prove It by Daniel J. Velleman. I got to the Chapter 1 exercises, and hit a point where I needed to know if a given number was prime or not in order to verify my answer. It was a number larger than the list of primes I have memorized, and I didn't feel like testing all the possible factors by hand, so I just fired up R on my laptop, loaded the matlab library and used the isprime() function.

Later in those same exercises I got to a point where I had an answer, but wasn't sure if it was correct or not, so I just googled until I found a guy's blog where he posted his answers to the same problems. My answer matched his, so I felt fairly confident that it was right (of course, we might have both made the same mistake).

Had I not found that guy's blog, my plan was to post a question to math.stackexchange.com or one of the reddit.com math forums, asking if somebody could verify my answer.

So I started with a book, and eventually used a number of other resources as part of my overall learning experience (a scientific calculator was mixed in there somewhere as well, before I pulled out R).

This might lead one to ask "well, how did you learn R?" First of all, I wouldn't yet rank my R skills very high, but to the extent that I know some R, it was from (again) a mix of sources:

1. A bunch of Coursera classes, including several of the ones in the Johns Hopkins Data Science track, and the Duke "Probability and Statistics with R" track.

2. Working through parts of several R books, including R In Action, Learning R, Using R For Statistics, etc.

3. Trial and error, playing around, using the built-in docs, etc.

That's kinda it. I take notes using pencil and paper, sometimes a plain text file, occasional an OpenOffice Writer document, and sometimes a wiki (I keep a MediaWiki instance running locally).
Well they do care. Why do you care that they do?

Answer that question and you've come at least half way - probably much closer - to answering your own one.
This is good advice - point-and-shoot cameras are really good these days! For $90 you can get one [1] that's the equal of any smartphone camera ever made, and the better of the vast majority - you might find a >16MP sensor on a smartphone, but you'll have a very hard time finding a smartphone with a 5x optical zoom capability. Spend a few hundred dollars more and you can get one [2] with an almost absurdly broad range of capabilities, including a 20-megapixel sensor and a 35x optical zoom capability that'll cover a broader range of use cases than any smartphone camera could ever hope to manage.

[1] http://www.nikonusa.com/en/nikon-products/product/compact-di...

[2] http://www.nikonusa.com/en/nikon-products/product/compact-di...
On peak hour in Paris there is a metro every 2min and on the 7 years I lived there I don't recall any collision.

And according to this Wikipedia list:
https://fr.wikipedia.org/wiki/Liste_des_accidents_de_métro

The last collision in Paris metro was in 1981
This interpretation is correct; they skip to onsite, but get a full onsite. (Source: we interview triplebyte candidates regularly)
It appears what they're alluding to is this part:
> the appointments conflict just when b > c and a > d.

which I first understood to be a conversational statement rather than a statement of logic (which I assume GP is referring to), in which case it should be (b > c or a > d).
The spoiler on Port 5432 is pretty intense. :)
Wouldn't that mean, then, that most all "doom and gloom" we get today is as irrelevant as those of old?
yeah. i especially agree with the fact that the people who buy these huge homes don't have big families. their families are the same size as the folks down the street in a house with 1/3 the square footage.

in Los Angeles, city government keeps on approving these extremely large homes without even requiring rooftop solar panels -- houses with not just one but TWO air conditioning condensers -- because ... uh ... wait, why?

because they save energy per capita? no.

because they will house more people than the single family homes they replaced? no.

because large homes are basically high capacity production assets which empower the city to be even more globally competitive (like a state-of-the-art rechargeable-battery factory, a digital movie production facility, a high-tech startup office, etc)? no.

AFAIK, we just have a distorted capital market. Federal government policies support home loans and the ownership society. there's also a local shortage of other viable ways for investors to make a quick $500,000 profit.

also, it's a nice boost to the property tax base.