skysight-inc/HackerNews huggingface dataset:
The one point where I agree is, in my view, the sole reason why big companies use algorithm-style interviews.

FAANG-level companies can put out a job role and have hundreds, if not thousands of people apply. Out of all of these people, there might be dozens of people with phenomenal CV's - relevant experience to the role, mastery of a programming language or two, public publications of their work, and provable experiences through living projects.

You reach a point where it's not practical to compare these people through programming ability alone, and that's where the algorithm interview comes in. It allows companies to choose a suitable person while alienating good developers, because through sheer interest alone they can afford to do so.

I just wish that more companies were honest about why this approach is taken, because it would stop startups asking you to find a join in two linked lists when the role itself is to maintain a shitty CRUD app. These companies cannot afford to alienate good developers because they're not getting the sheer amount of interest a Google or Facebook will get.

Again, just my opinion, but people need to embrace the fact that interviewing isn't perfect. A code test should purely exist to ensure that you can weed out people that cannot do ANY programming. Outside of that, use the interview itself to determine their fit for the role.
No, they didn't change it. Buttons are slightly re-arranged, but they're still there. See the 3rd pic in the article.
Slack would do well to introduce a bash client if only for the purpose of ui design research
Same as the glossy monitors that look nice in the store but ruin your eyes and productivity.
Same here. We wanted to use haproxy from day zero because it could inject proxy protocol headers.

However, haproxy actively fights being compared to nginx.

There's no 101 guide to setup haproxy as a reverse proxy for nodejs application with separate domain names, ssl certificate configuration (I don't even know how to create the correct chain for haproxy after buying it from a commercial vendor), good security defaults (CORS/CORB) and docker defaults.

As of RIGHT NOW, haproxy has not updated it's official docker image and has 6 day old docker images which docker hub flags as having vulnerabilities (screenshot at https://imgur.com/a/SiYoZzc). So I'm a little hesitant at calling this release "Cloud Native"

Latest nginx docker image is not flagged for any vulnerabilities.
I agree that it's hard to beat the availability of Google consumer services... But that is not backup.

A backup serves as a fallback if for any reason the primary source has become unavailable.

In Google's case such an even can and does occur when your account gets banned because of some random event which you had hardly anything to do with or because your user was compromised.

A backup let's you recover from that and if you don't have that, I hope for your sake you don't mind losing the data too much, because the previous situations happen quite frequently if you actually listen on Twitter, Reddit or whatever social network you frequent.
It is, and it does.
That sounds a lot like what people are saying about PHP and its newer versions. But the thing is, now that we have great alternatives (Kotlin, C#, Scala, Go, Dart...), what does Java have that those don't?
> I tend to think it's lack of regulation in the pharma space.

Maybe it's time we start acknowledging that perhaps the environment is at least partially to blame for individual problems. Why are people staying with drugs that they hate? Could it be that there are societal issues which keep them from becoming mentally well enough to combat their other problems?
Five principles that improved my software engineering skills
> Java is a decent language with a decent type system (bar the lack of null safety and some other quirks).

Optional is your (and my) friend. It has a small performance penalty and for historic reasons it will never be used everywhere, but for new externally visible code (code not in the class) I try to use it and it makes for face nicer APIs.

I never understood why XML config everywhere and "we should configure it all instead of programming it" took off. You shouldn't change things on production anyway, so the main aspect "you can change it without recompile" is moot and instead you have all the downsides of not having part of your code checked by the compiler.
It would be neat to have a service that converts digital photos to the equivalent of film or microfilm, an analog medium that can be converted back to full size pictures in a hundred years. It would have to be scalable and cheap though, given how easy it is to take pictures nowadays.

But yeah, spend $100 / year and get a big film roll of your photo archive, that would be neat.
Germans (stereotypically) prefer to speak English poorly over speaking German if there is the possibility that a non-German listener might be interested, the other's German is not 100% perfect or the other is a german wanting to learn english.
If only we could all agree on what "simple" means - a lot of "enterprise" code I've seen would sweep vast amounts of complexity into hard to spot places to that you could have a small thing that people could point at and say how simple the one visible bit was, ignoring the vast amount of complexity lurking under the surface somewhere and invoked by more or less magical means.
Adaptive Table (randomized data structure)
Its interesting that the nautical mile is based on a more abstract number that would define when looking at maps and charts, rather then something more immediate and physical like the distance to the horizon when out on the ocean. Most imperial units seem to be based on simple laymen measurements.
I love tactile feedback and love that for all controls like heating, volume, windows, ....

Except for GPS destination input (except if they provide a nice mechanical keyboard ;)) and map zooming. Imho they should allow touchscreen for GPS input and map zooming, and disable the touch for the driver when driving (except when it knows a passenger is sitting next to it and sees the passenger is touching it, should be possible to detect)
The point of the article is not that the bike lanes are useless. Rather that the way they are implemented is woefully inadequate.
Is there a typo in the Latin? “Qui vult decipi, decipatur”

I Google’d it and got this:

https://m.openjurist.org/law-dictionary-ballentines/qui-vult...
Don't. Brave has so many problematic sides. Just stay away from that one.
The majority of my successful senior programmers do not have any private code to show off. Reasoning and ability to think abstract is important and impossible to judge from code they have written. I need programmers that can do those thing in a reasonable time frame and in a group.

Most junior programmers have code to show, and most of the time I don't use it for anything. I'd rather do some FizzBuzz level whiteboard that we spend some time discussing and extend on. It gives a far better picture of their future as a developer. I know this excludes some, but that's the trade off I'm making.

I call references every time, but calling around willy nilly is not a good idea. Apart from the fact that it's not legal, most of the time I get "Yes I've worked with X as a developer for Y years" and nothing more.
I've had a policy of keeping one photo a day and discarding the rest for some time now. It's quite freeing to not have to worry about keeping a huge digital archive.
If you stop believing in the disease, it doesn't go away, so no.
As someone who has recently started to use cycle lanes to move around London I disagree with the view expressed in the article. Many of the cycle lanes I use everyday in West / Central London are only painted.

I personally feel much safer in a cycle lane, even if only a painted one, simply because I don't have to worry as much about getting side-swiped by a bus. Seeing the end of a painted cycle lane is a good indication that the road ahead requires more complex navigation and will often cause me to slow down and be more cautious.
This TRS-80
> To us, 2 centuries after slavery went extinct in the civilized world, the idea seems incredibly cruel, although it was practiced in various forms throughout human history in most civilizations with little regard to its victims.

There are more chattel slaves alive today than there were during the 18 or 19th century, by a wide margin so, no, it is not extinct. Unless, of course, you don't consider much of the human world civilized, which is perhaps a more loaded can of worms than animal rights.
> Java got things like Lambdas and other modern stuff in recent years is great

These feel incredibly bolted on. Instead of a utilitarian, if verbose, lowest common denominator type of language, Java is becoming a Frankenstein monster. And a verbose one at that.
Let me get this straight, the majority of the discussion on this painful look into a horrible institution is about the financial system, and whether it technically constitutes Capitalism?

These were real people, with names and faces just like you and I, not some abstract argument about personal liberty or economic systems.

It seems really disrespectful to me to reduce people to that. Like people here are making them a kind of chattel again, fodder for arguments, instead of seeing their humanity.

Anyway, for those that care, for white people who can see that the legacy of this horror is still with us, built into our institutions: here is a real quick read on dismantling racism in an organization.

http://uuwhiteness.us/wp-content/uploads/2017/06/READ_Anti-R...
Yeah my own first reaction was “Oh, gcc doesn’t warn about overflow assignment? That’s a definite bug.”

I code in C/C++ too, although not exclusively. I facepalmed a few seconds later, but it goes to show the value of having this be a compiler warning.
It's a warning not an error. Moreover, it is very hard to come up with a legitimate usecase of 2^32 as an expression. People who use it to set bit flags will use &, and for bit flags, octal or hex notation is probably better.
I did many BEM projects. The idea behind Functional CSS is precisely that: let entire teams work without having to deal with naming. The project becames ultra-maintainable with the best legacy support.

My experience and all the data I've gathered about performance, even coding the equivalent in UCSS was shocking: 400% render speed improvement. 600% loading resources improvements and radical painting speed. To set you in context: one corporate website from a bank, had an average of 230kb resource loading, we lowered it to 33ms. 650ms rendering, we lowered to 90ms. Painting speed avged 90ms, we lowered to 12ms. If you plan things properly, you can radically improve the speed.

It's true that UCSS doesn't make that much sense for very small websites. Although you will render close to a plain HTML doc for sure. It makes sense when you need to repeat and componetize many things. There's when you gain true power. For example, in our tests, we made another equivalent 590kb uncompressed CSS file to 32kb total code need in UCSS. Compressed was about 12kb against 190kb compressed file. That's how you make great improvements.
And with solvents like CO2 that evict the chamber without any intervention under STP, it is actually even more certain that the solvents leave.
About TIK TOK
I am a programmer of Chinese chicken. Chinese version of TIK TOK protocol algorithm. It's called douyin in China.If you can,Please contact me. Wechat ID : Jay420374960.Thank You
> If your candidate truly, honestly has no code available, no enthusiastic references, and you can’t find anyone who worked with them who will vouch for their skill, then do you really want to hire them?

Graduates?

> no enthusiastic references, and you can’t find anyone who worked with them who will vouch for their skill

This will make your diversity even worse unless you're extremely careful with it.
Are there any corollaries to Zawinski's Law?

Because lately when I develop something, it always gains either IRC or RSS capabilities at some point.
> libripgrep has been on master since 0.10.0. There just isn't any high level documentation for it.

Oh damn, sorry (when I checked yesterday the branch was still there and the "doc" PR was still open so I assumed it wasn't merged yet)
I have driven a 2018 Mazda 3 quite a lot. The touchscreen is disabled while the car is moving.

For complicated things while driving - that you wish you had a touchscreen to accomplish - I wish you wouldn't do them while driving. I say this after more than a decade working responding to road accidents.

However, the Mazda interface has been great for all the Android Auto functions (including Google maps and Spotify) simply using the physical buttons. They clearly went to some effort to make it work well.

And if you prefer, you can use voice controls fairly effectively via Android Auto or Apple carplay.

Please keep your eyes on the road.
Thanks! I guess your example could be simplified further with the var keyword:

public static void assertIsSuperset(Collection<Object> superSet, Collection<Object> actualSet) {
var missing = actualSet.stream().filter(x -> !superSet.contains(x)).collect(Collectors.toList());
if (missing.size() != 0) {
/* Imagine some more verbose exception creation here, which is why we caught it in a list*/
}
}
That can be a problem as well. My main product is a WinForms app and I have spent a huge amount of time making it work well on high-dpi screens.
As another commenter pointed out, slavery was a modern version of feudalism, not so much capitalism. I am not an economist or historian, but I'd say the difference is that in a capitalistic society, the employees are also consumers, part of - if not the drivers and backbone of - the economic system.

That is, simplistically speaking, employer pays employee, employee has steady income, employee goes to bank to deposit savings and take out a mortgage to buy a house, vastly improving quality of life. Bank uses savings to give out loans and mortgages allowing for people to start businesses and family lives, gains interest back, pays it back to savings accounts, etc.

Well, that was how it worked for a while anyway, nowadays I have no clue, outstanding mortgages are speculated with at high risk, banks spend your savings and the debt of your mortgage ten times over at least in financial constructions of exponential complexity, etc.
We should also thank Firefox for having adblockers at the time when Chrome was released. Otherwise Google wouldn't have felt the need to add an adblocker extension API in the first place.

Having adblocker extensions was one of the things that allowed Google to get Firefox users to switch at the time.

Ever wonder why Mobile Chrome doesn't have extensions or adblockers? Because it didn't have to compete with Firefox to gain marketshare.
OK, time to buy a Mazda
> It's a warning not an error.

Many build environments are set to treat all warnings as errors.

The point is that 2^32 is a perfectly compliant C expression that is neither misleading nor ambiguous, and that also won't create any variable overflow. It uses ^ exactly as intended. Why should the compiler complain? Why should I get a warning/error when following the spec to the letter?
Similar for my blog/site (>20 years old). But, it used to pay me my hosting costs + a computer component upgrade. Now I get a few pence here and there, an order of magnitude less.

So now it costs me to run it (excluding time considerations of course) whilst before it paid for itself.

Also with sites like Stack Exchange I tend to use them for what I blogged before (computer fixes mainly), so most of my new content nowadays is UGC on other people's sites too. Personal stuff goes on Facebook, on the whole.
CPP Template Instantiation Two Phase Lookup
> The reason the South seceded was primarily that they believed (mostly wrongly) that the North wanted to end slave ownership, which they viewed as both economically destructive and a violation of their rights.

Well, that, and there was a popular perception that abolitionism was just the camel's nose under the tent; the shared mindset within the South was very much "okay, we may or may not like slavery but unless we put up a decent fight now, those busybody Northerners are going to screw us over completely, what with their control of the federal government. So we've been put in a position of having to defend slavery now, whether we like it or not." If you accept this point of view, you could even view the war as having been a success for the South; sure, they gave the North abolition, but it stopped there; their broader cultural specificity was nicely preserved, in a way that it might not have been otherwise!
> so the usage of margin-top should always be avoided

Not really if you consider sibling layouts, e.g.: https://matthewjamestaylor.com/css-margin-top-vs-bottom

> owl selector: performance implications - it's fairly bad from a performance POV to use it.

Arguing about "CSS performance" is futile when the real cause of bloatedness is mostly JavaScript these days (also: http://alistapart.com/article/axiomatic-css-and-lobotomized-...).

The owl-selector can actually be quite elegant, but becomes a burden if you have lots of side-by-side blocks (which would always need to set their margin-top to 0).
I thought the touch screen was disabled at any speed above being stationary? I don't see why they removed it if it was only usable at standstill?
I'd say there is no upside for the complex invisible magic. Half the time you have to run the application and pray that the configuration beans you've placed are working and if not, you are pretty much in trouble. Perhaps you missed a step in adding a configuration decorator in your application or configuration class, or used some deprecated method or used some incorrect class in the class hierarchy for the bean you want to return.
It matters.

First, not all users need your huge CSS file, in terms of downloading. Specially when they're on mobile phones and cache is crap.

A ~9000 rules CSS file will load and become COSSM slower than one that has 1000 or 10. It is linear increment. Make a test to see it for yourself.

A bloated CSS is more network time. Therefore, slower loading.

A bloated CSS will contain slower selectors, therefore slower rendering time and painting speed.

When you count all these things, you will see radical speed performance.
I can’t recommend sparkjava enough. It is the only Java web framework I’ve encountered whose “quick start guide” is actually that: a guide that gets you started in minutes, not days. The fully working “Hello world” app is 5 lines of code.

I built my profitable, bootstrapped B2B SaaS using sparkjava.

You can find sparkjava here: http://sparkjava.com/
No I think we’re talking about separate chapters. Iirc (it’s been decades since I read it!) while dating after his first wife died someone advised him he was too “nice” and that women like alpha males who act like assholes. He decided to test that out both on his dates and professionally. He found it largely worked iirc—the dates were more successful, and people at work more responsive. But he didn’t like the kind of person it made him into so he stopped the test.

Still I suspect the experience must have ingrained in him an understanding of the effectiveness of not caring what other people think, even if you don’t have to be an asshole about it.
But look at it that way: a candidate that didn't practice before the interview, is either not so interested, a bit dull about basic human interaction or cannot even understand what an interview is.

It's honestly like coming to an interview without a suit and a tie. Sure if you're a pretentious startup it'll horrify you, but anywhere else it shows that the candidate just doesn't understand what's happening, that he could have just made the cheapest first impression effort and didn't even think about it, he came in sandals and tshirt instead.

Do you want him talking to clients ? Can you afford him not talking to clients ?
You can always do a direct ad deal if it's the right niche. Better privacy for your users and it's impossible to block.
> By the time you write a linter, you've done more than half of the work of a compiler, at which point you might as well just ship it as a compiler.

Does depend on what kind of lint you want to catch but something like this 'just' needs some lexing and parsing to give a usable AST that's reasonably clean so it's not too hard to write lint rules against it. (Not trivial for C & C++ hence 'just')

Building the full compiler is much more work, especially if you want a decent optimizing compiler.
And if it’s successful in 3.5 years I’d probably make a bit of money.

Assuming this is about money rather than the fun and freedom you'll get at a startup, work out what you can do to improve the chances of success.

If your ideas are things like "write better code" or "increase test coverage" then you shouldn't join. Startups don't succeed because the code is higher quality (they sometimes fail because code is lower quality, but that's a different problem.)

If your ideas are around "promote the product by using my extensive list of contacts who would directly benefit from it" then join up, but realise your job won't be writing clever code, and the chance of that 5% being worth more than the difference in salary you'd make somewhere else are still very low.
> It’s vastly preferable to asking someone to write code with a fat marker pen whilst standing up in a tiny conference room.

Or, you know, just use a whiteboard in the interview for the same purpose you use it in meetings:

- not at all

- for high level algorithmic descriptions, data flow or architecture sketching

(Of course, the UML being demonized is a bit of a misfortune because now boxes and arrows can mean anything, but hey, better than having a visual language that has been developed by a bunch of old CIS White males, according to tech diversity Twitter.)
By summary I meant, summarising an entire web article into couple of sentences.
Do you often get into new and different cars and drive them? Your last paragraph is an odd argument. The buttons in my car stay in the same place and don't change with context. If I want to turn the radio down I reach over and rotate the knob to the left, muscle memory and tactile response. That knob will never do anything except the radio volume. Far safer because I don't even need to glance at it.

Edit. Your top paragraph about user settings, that applies to any car that maintains a user profile, that's not a benefit of touch screens.
"James Gosling, the Father of Java, described it as a Blue collar programming language."

I wonder what can be considered a white collar programming language which is actually used a lot. Erlang? ES6 with ever changing front end frameworks?
Distance to the horizon is variable. Sea state, height of deck over water, visibility etc will all affect it. Whereas, with a sextant and a decent maritime chronometer it is very easy (*) to determine longitude and latitude.
> I don't think it would not be simple or a good idea to warn because these are perfectly valid expressions and it would lead to a flood of warnings if compilers started to display "Did you really mean that?" for an ever growing list of expressions (which is what it would become).

There are many technically valid expressions and statements that will still generate warnings in most compilers.

if(a=b) {} comes to mind first and foremost.
I have a small laptop running a few services for home use, incl. a DLNA server and network storage. Media dropped on a specific network drive will be available over DLNA.

Makes it easy to look at photos from computers and DLNA capable TV's, but it doesn't work for archival purposes as the laptop used as a server isn't really redundant.

Our own laptops are backed up using a cloud backup solution.
It's already copyright infringement. In USA Fair Use probably does the necessary; but in UK I'm pretty sure it's infringing (you've modified the work without permission).