skysight-inc/HackerNews huggingface dataset:
I had a technical phone screen done by an HR several times, or at least it felt like it was a completely clueless person. Once I could tell exactly why, when after he asked me what is complexity of binary search and I replied "O(log)" he asked what base? (for non-technical people reading: logarithms of every real base produce exactly the same O() result being different only by a constant factor).
My breath was not taken away either. The first couple were fine--in the sense that they were not offensive--but after scrolling down a little bit I started to find the pairings a bit repulsive. I am also not an mac/ios person but I don't know why that is relevant to aesthetic preferences.
Storybook – The UI Development Environment You'll Love to Use
I always run "testing" because every time I try to run "stable" on the desktop I always end up with an outdated package that limits me one way or an other. A missing driver, missing functionality etc...

On the other hand "unstable" is way too unstable when you need a reliable environment in my experience. Packages breaking randomly etc... Completely expected of course, but I can't take that bet on a work computer for instance.

So as far as I'm concerned on the desktop "debian testing" is the one true debian. I don't even try to install stable first anymore since I'm certain I'll end up moving to testing eventually, I directly ask the setup to use the testing repos.
Maybe snaps can fill this role, I understand they are easier to create.
Basically all these articles about Go make it sound like it was designed to be some kind of teaching language with a low conceptual barrier to entry, except Google intends it to be used in real settings, which is the problem.
Ok, so you are saying there is scientific evidence for for the statement "the rule of law is better than mob rule"?

I'd love to see a couple citations for that? Hell, I'd be fascinated to read the experimental setup.

To be truthful, it sounds like someone hooked you with some pseudoscience on poor foundations.
How does one prevent the use of real names among pseudonyms, pray tell? Pseudonyms, after all, are fiction by design.
I don't actually see the advantages for JavaScript. Seems every other month there is a new way to package it. So, everyone might know how to build with it, but few people know the same way of building.

Similarly, the package repository is not exactly inspiring. Similar patterns of many packages doing the same thing. Often not bringing new advantages to the table, so much as revising old weaknesses. Many rooted in choice of language.

Which is actually not too complain of JavaScript. I do like it. And I love that people are empowered to try things. Even if they were previously done. I do wish people knew more options, though. Including myself.
It has been coming a long time, and was actually phased in over a few years.
What are these companies that ask fizzbuzz? Every company I have applied to lately, asks me impossibly tough questions on hackerrank, which have to be done in like 30 minutes each. That would mean perfect syntax, and perfect coverage of test cases with no knowledge of what test cases are failing, or else I am rejected.

EDIT : Add to that, perfect time complexity.

I had a question recently, which was so tough, that forget the allotted time, I have asked my friends about how to solve it and they seem to have no clue either.
I like the idea of acoustic padding and visual blockers. My desk is in a darker area with lots of conversation and visual noise. Can anyone recommend how to set up padding and simulate sunlight without being weird/blinding others?
>"the UI is utterly wretched"

Aesthetically perhaps, but it seems very well designed in terms of making purchasing painless, which is part of the reason Amazon do so well.

I do try to avoid buying things on Amazon now though, they've gotten too big, it's a little scary how much influence they have on online retail.
Poster was mildly exaggerating. Poster also prefers to get all the honey do sh*t done in one go instead of stopping because hand is tired. Honey do things encounter enough issues and trips to home depot that I'm not keen on adding 2 more (to pick up the drill and drop it off).
Show HN: We are trying to reinvent democracy. This is our most recent prototype
Show HN: My Side Project – Collaborative Screen Sharing
Have you read the books? Tash is explicitly a demon-type figure who rules through fear. I think you're projecting quite a bit.
Thank you :D it always comes down to a pissing contest.

It's okay, we're very unlikely to work together. Feel free to keep doing it your way, and I'm not going to worry about a random HNer impugning my coding ability based on a comment about interviewing style.
I have to show ID every time I buy anything at Costco, regardless of whether I pay cash. I'd also note that Facebook is an age-restricted product.
Power Causes Brain Damage
Hearstory: Funny and interacting timeline of hearing devices
Nothing about CEO salaries or compensation or wealth, though, which would seem to be the true measures of CEO status.
Can you tell about the time period and (estimate of) % of comments covered, for your DB and the dump posted?

Thanks.
I don't understand why the given solution doesn't fall prey to the same problem of "her logic would make it unnecessary to consult the guard".

By this solution, if the guard says "B" (as in the original story), the probably of A being condemned goes up. But if the guard says "C", the probably also goes up by the same amount, because the graph is symmetric!

Going by this logic, if the guard is not allowed to say "A", then their answer doesn't matter. So why isn't the final probability still 1/3?
I believe there is no such thing as too open-ended a question to ask an interviewee. If you're asked something open-ended you have a glorious opportunity to define the scope of that question yourself, and to frame it in terms of things you know. Better still: you get to throw the ball back in their court by asking supplementary questions.

The point of such an interview question is to foster dialogue.
>It's very hard to find investments with positive inflation-adjusted returns

While I understand that you're perhaps not asserting this personally, and are restating the words of others it's important to say that this part is absolutely untrue. In fact, if somebody with wealth actually believes this, and isn't just using it as propaganda in class warfare, that person is a poor steward of capital and it would be best if it were in more capable hands. Trivial investment choices, like total-market stock index funds, have solid returns that easily beat inflation, and little to no risk on 10 year time scales, which is where investment should take place. If they can't stomach any temporary negative dips, TIPS will give them that. In any case there is an abundance of easy, inflation-positive investments out there just lying around. Even the middle-class that have saved small amounts can get first-class investment in index funds.
>I'd also note that Facebook is an age-restricted product.

Only by their policy -- whereas for alcohol it's the law.
Rather than extending number-of-return-values overloading to user-defined methods, I’d say just deprecate it altogether. It might have made sense in a world where generic functions are magic and weird and so you want to minimize the number of them (but on the other hand don’t necessarily mind making them even more magic). But in a Go with generics, operations like “access value that may not be present” can just be regular named methods. That applies to both user-defined collections and the builtin ones. Would help pay down the debt...
I think a real solid skill is being able to ask google the right question when troubleshooting something.
"translated early christian heresy text from greek to modern latin. Sadly won't be published ever by papal order"
The point I was making (badly) is that he states that News Feed by Facebook uses Vue. News Feed is a well known product by one of the largest companies in the world, and if Vue were indeed used by it (as React is) it would be a huge endorsement for the quality, durability, scalability and resilience of the project.

However the reality is so far from that, where a marketing site built by contractors under none of the strict constraints of the product it speaks about uses Vue, that it serves not as an endorsement but instead a needless point of contention in the post.
Which can be redefined in simpler terms, as "they just have ten times as many fucking shares."

Fine print is just deception wearing a tuxedo.
There are rental places for that kind of thing. The chocolate fountain and table saw are good examples. But soldering iron? $15 on Amazon. Dremel is more but is actually a good example of a tool you'll find use for doing lots of things. (And you tend to chew up cutting discs etc. if you borrow so you'll probably need to buy parts in any case.)
That always annoys me. Instead of getting a link to the official documentation, I get 5 links to vaguely related StackOverflow questions, the most useful answer of which contains the link to the documentation.
> Only downside that I've seen users mention is that filenames are readable.

People have made various pass extensions, by the way, to work around this.
I agree with the same concerns that Raimo and Markus have. It's not just acoustic noise, it's also visual noise. I face the entry to our open floor plan office and every time someone walks in I can't help but look to see who it is.

One man offices are cheap and by far the most productive work environment for software development. Any software development organization that's not investing in them isn't thinking strategically. Engineers should be able to face somewhere that's not distracting, and have a quiet work environment without requiring headphones (music can be a distraction too). If you want to collaborate, do it in your office, it should be big enough for a couple people to join you, or a conference room if you need more.

The only criticism I have for one man offices is that it makes it too easy to goof off and surf the web, but that's a different managerial problem. You should make sure all the offices have glass walls so you can see if someone is in their office and have an idea what they are doing. But mainly you should review all code as it's checked in for quality, and it should also give you a good idea of their productivity.

I think Apple has the best idea for this. Their work pods at the new campus have all glass walls facing the hallway, sliding doors to maximize room in the office, and built in storage. There looks to be plenty of room for a couple of coworkers to join you and help collaborate when need be.
The law of headlines applies to commands in headlines too, in my experience.
anyone remember Orkut ? One of the reasons why I quit Orkut was because they didn't care about real names. so people started using weird characters and unicodes instead of their real name. This won't be a problem when you're not friends with them but once you're friends with them and your friend changes their name to some weird characters, you don't know who you're talking to. I hated that.

I think the article is looking at an extreme scenario and calling the policy naive. This case wouldn't matter to people in the developed nations (and most developing countries as well).
A few random thoughts:

- C++'s std::array is an example of marrying fixed sized arrays with templates.

- I'd say keep the built-in types and their behavior unchanged but offer a way of providing those for user types. I guess the Deletable interface is one idea but maybe the "delete" override should have nothing to do with interfaces. I think something like func (t Type) operator delete(k KeyType) ? I guess in Go a function is an interface but I wouldn't start with the interface here.

- Allowing e.g. delete or slicing on user types does not need to imply those types are polymorphic with the built-in types. This might be a little confusing but I think it's still worth while to draw that line. I don't think it's necessary to allow creating a function that takes a Deletable to take either the built-in map type or a user type.

- range support requires some sort of iterators. Could be done through co-routines like Python's generators or something more like C++ iterators? co-routines could be a cool addition to the language :)

I think you'd want to try and "contain" the change as much as possible. More syntactic sugar than fundamental changes and as little change as possible to the built-in types. Otherwise you end up with a completely new language.
> Phones are nice and self contained enough that looking at the outside generally tells you the condition of the inside.

It doesn't say anything about the condition of the (now commonly non-user-replaceable) batteries and the battery longevity. The device may not have any scratches or dents, but the owner might've used it primarily to watch videos and play high-intensity (graphics wise) games most of the time. Those actions make the battery a "needs to be replaced sooner" thing (or worse, make the phone a "needs to be replaced sooner" thing). Even checking the battery cycle count is inadequate because it doesn't say how quickly the drain happened during use (that also impacts battery longevity).
Yes, I know women are underrepresented in many fields, but I believe there are better ways to address this than subjecting authors to a particular language. I'm open, of course, to read some studies discussing the effect of pronoun choice and awareness. Meanwhile, treat women with respect and be a model for other males, and it should probably achieve greater results than your choice of pronouns.
What articles are you talking about? This couldn't be further from the truth. Go is a practical language meant to be used in production settings. It's not a haskell. For example, it's support for protocol buffers is second to none imo.
> It isn't an unreasonable naive idea.

It's fundamentally misguided and it's not a solution. Between elephant extinction and elephant suffering, I will go with extinction every time.

Elephants are important for the ecosystem, IIRC something like 70% of all species in certain areas rely on them. If you remove them from the ecosystem by domesticating them, you are doing a damaging the ecosystem in multiple way.

No, elephants can't be contained on a farm. They are meant to roam whereby they disseminate seed of certain plants that rely on them to be disseminated.

Is that enough of a reason? Libertarianism is the answer only when you care about simple answers, not about working answers.
European Parliament Recommends End-To-End Encryption for All Communications
For node.js, there's also cash [1], shelljs [2], and an initial bash syntax parser [3], which actually implement POSIX shell subsets in Javascript (unlike this project, which I understand calls out to a server-side bash process). Though cash and shelljs work synchronously only, which make them usable for build scripts etc. but not web services.

[1]: https://github.com/dthree/cash

[2]: https://github.com/shelljs/shelljs

[3]: https://github.com/dthree/vorpal
I have a random alternate data point. There are a ton of craftsman metal lathes out there from the 20s to 60s. I think more people had way more workshop capabilities. But anecdotally I notice that people prefer to either do metal stuff or wood stuff. They take the same type of tools but don't really cross over (wood lathe really doesn't work on metal and vice versa). Enough so that most people can't afford both, in terms of space or money. Also hot metal chips cause sawdust to go up in flames, sawdust gets all up in your metal cutting oils and coolant, so you have to keep a cleaner shop than usual.

As for renting stuff, rental gear is usually beat to shit by people who a) don't know what they're doing, b) are too cheap to pay for the real tool, so they'll use a small sander (https://www.amazon.com/dp/B006EKFZQ4/ref=asc_df_B006EKFZQ450...) rental to resurface their floor when they need a full size one to really do a house (https://www.amazon.com/Clarke-Drum-Sander-Ez-8-Expandable/dp...) [had a friend do this, but he just under rented and went right back an hour later], or use a drill as a saw, c) or just don't give a shit about the equipment and beat the crap out of it anyway... eg moral hazard. I've rented tools where it looked like it was fine and immediately broke (person glued the pull starter onto the engine when string broke). I then had to spend an hour discussing with the rental place if I broke it. Another time they forgot a part and tried to charge me for it then 20 minutes later found it on the floor. They're generally a good store but it's a shitty market.
I don't really have a problem with what is presented here but it seems written in a way to trivialize modern web development. I once used to work with a MFC C and C++ guru as dev manager who would do the same thing yet he could not code a web page. He once claimed he could pick up all my knowledge inside a week and bang out a demo as fast as I could. Challenge accepted- one week later he had a functional button. BSD needs a higher level language with a good dev environment more than ever now. It seems you can't have both without either agreeing to a ton of horrible licensing (Java) or vendor lock in to some degree (KRB5 blob from Microsoft for .NET) or lack of platform support. Swift would be a good match because LLVM support but IBM as maintainer of BlueMix has thrown this squarely to Linux. This stack in a sardonic way is actually better than the other ones I listed for those reasons. It's just needless to throw shade on modern web development in general because how do you think we got in this situation to begin with?
My father, a military man, told me that the Army would supply the GIs with combat boots. When the boots would wear out, they soldiers would present them for replacement.

They had a high replacement rate. So they switched to a system where the GIs were given a clothing allowance to be spent on boots. What they didn't spend, they could keep.

The replacement rate for boots dropped in half.
That's interesting, I assumed it was a solely US belief, and certainly there have been plenty of scare-story emails circulating there regarding NHS and ACA. Obviously NICE [0]
(National Institute for Health and Care Excellence) does make calculations about when and what treatment should be given or withheld, using a system called QALYs [1] (Quality Adjusted Life Years) to attempt to ethically and deterministically decide this, which will always cause some people to be unhappy, unfortunately.

0. https://www.nice.org.uk/

1. https://en.wikipedia.org/wiki/Quality-adjusted_life_year
People spending less money isn't good for the economy. It's a component of the downward spiral of recessions.
People hire cars all the time. If you break it you are put out. Same usually with rental equipment. Or you pay the "insurance" on it, which no one does.
> God

https://en.wikipedia.org/wiki/Laplace's_demon
>The more centralized power/money is, the more ripe it will be for corruptive forces.

If this is the basis of your argument, then again there is only one logical endpoint. "What is property?... Property is theft!" Ownernship centralizes power over that thing in the hands of a person or small group.

The US libertarian view is anarchy with property rights stapled on, which does nothing except help the rich get more powerful. They use the same arguments about how freedom is essential and government interference is bad, but ignore how there is no freedom on private property and want government guaranteeing their status.
1. You don't have to use Facebook. You really, really don't.

2. Facebook is under no obligation to provide societal benefits for you. It doesn't even have a moral duty to act upon your complaints. Why? See 1. It's not a government program, you are not forced to use it, you are not even buying anything from it. You are just complaining about free stuff. So. Seriously. Just stop using it.

PS. I'm not defending Facebook here. Facebook is objectively abhorrent. I'm just stating facts. They best way to fight Facebook is to stop using it.
By linked list, do you mean a doubly-linked list?
So which programming languages / tech do you think are the real deal ?
That 5% is never going to be grounds for a successful lawsuit. To successfully sue someone you have to prove that you were damaged. A 5% deviation from WCAG is not going to prevent someone from using your site, so they will not be able to prove that they were damaged. If it does prevent them from using some piece of functionality, you can just fix that one piece of functionality.
Show HN: Test “Gymigo – Fitness and Workout Training Challenges”
> Yet this is apparently "standard required knowledge" for interviewing at google, amazon and co.

What makes you think that? My experience is that Google at least would never ask a question about red-black trees. I doubt Amazon would either. These big companies stick to questions that don't require a lot of specific knowledge because they know that a question about red-black trees mostly tests how recently you've studied red-black trees. I've done a bunch of whiteboard interviewing, and I would be shocked to be asked a question about red-black trees at a competently run company.

"Cracking the Coding Interview" explicitly mentions red-black trees as a topic that you're unlikely to see in an interview (for obvious reasons).

I think the places you see these sorts of questions asked are smaller companies that are imitating the big players without really understanding how to do it right.
I guess what he is trying to say is that sure they are wealthy, bu probably not powerful.
Less profit and less compensation at the top, yes this means the professional classes with the high salaries they enjoy in the US.
All the jobs I've moved for paid for me to move. I priced moving my big shit before and it was not really any more expensive than other stuff like a motorcycle. It's just pure weight.
Thinking About Mastodon – It's Not Twitter
Sure I can. It's called communism, where nobody owns everything and everybody shares.

We all know how well that works.
this is something to do with the "triangles/cone" tunable. Changing from the default 50 to 48, the vertical line becomes actually vertical.
Go is designed to be a language with a low conceptual barrier to entry; that’s quite evident from its design. That doesn’t mean it’s just a “teaching languge”, or if it does, you’ll have to explain that to all the people happily using it in production.
Though that was mostly a racist vote for Trump.
No hard feelings. Honestly, I'd have a much harder time hiring if half the rest of the industry wasn't irrationally cargo culting Google's hiring practices.
Hopefully! The problem with ruby is it's just fine as in good enough but not better or more compelling than X or Y.
I hope Crystal changes this or there will be some breakthrough in the mri.
One way we tried to solve this at ours was to add a yearly lottery. One thing would be auctioned off (and it wasnt always the oldest thing- and replaced). If it could be potentially yours- you suddenly take good care.
How did the rate of foot and ankle injury change after they instituted this policy?
Against a gun, naturally. Against a knife, maybe not so mismatched. I'd not try to stab someone who is actively poking me in the face with an umbrella.
On your second paragraph... I don't think you can generally state that REST APIs don't need to be developable, supportable, teachable/learnable. Ad hoc requests support these things in useful ways that scripted requests do not. That makes it a fair goal for REST APIs.

On your first paragraph, sorry I don't understand your point. I showed how this can be done in a way that is fully consistent with standard content negotiation, like your example.
The problem with the mutations isn't the direct DOM access; it's that mutation is an unscalable approach to representing UI. A lot more needs to be "kept track of".