skysight-inc/HackerNews huggingface dataset:
It's part of our infrastructure at work to do some fairly complex routing, which might be possible in nginx but is easier with haproxy.

Multi-tenant hosting for customers with lots of custom domains (with SSL) with different customers on different versions, and an app with lots of legacy. In older versions, different paths are handled by different servers. Some paths use source-ip sticky. One part of the app uses websockets. Some paths are handled via S3+cache layer (offloading traffic from app servers without changing the app).

There's also a bunch of special paths to access specific servers directly to get some health metrics (from app written without thinking about running in an auto-scaling environment). One fun thing I built handles some old SOAP requests from a defunct service running on hundreds (maybe down to dozens now?) of external systems that will retry every request forever (exponential traffic growth) if they don't get a "success" response; using Haproxy and some request capture regexes, it can return one of a dozen specially crafted hard coded "success" responses. The date is wrong but the service doesn't care, and now few lines in Haproxy replace a dedicated "black hole" app server we used to run.

Haproxy handles all this in a single hop for all traffic (and Haproxy itself runs in an autoscaling group). The config is complex, but still understandable.
All the variable stuff is generated by scripts at runtime, which also lets us use an admin UI to manage customer domains, versions, and automatically picks up available (deployed) application versions in the region.

Having used both, I'd say in general nginx is easier for simple things, and in many ways has more capabilities (like static hosting, authentication support). In fact we use nginx on the Haproxy servers for hosting static pages and being a caching proxy for S3. Haproxy makes simple hosting more complicated, but you get a lot of very fine-grinned control over everything (eg, it's pretty easy to do almost anything to the traffic like changing request/response headers/paths at any point). For anything new, I'd use nginx only if I could get away with it (note: all the above may be possible in nginx now, but I'm not going to rewrite our infrastructure unless there's a very good reason).
The problem I have with coding interviews isn't necessarily the algorithms-based questions. I don't have a problem with reviewing undergraduate data structures/algorithms as well as those related to my subfield (for example, someone who is familiar with DBMS implementation should know the basics of a B-tree even if knowing its exact implementation requires review).

Here are the problems that I have with coding interviews:

1. Often I feel that interviewers are looking for exact, optimal solutions rather than caring about how the interviewer actually approaches problem solving. Forget about being asked FizzBuzz-style questions or about being asked to delete a node properly in a binary search tree; in the interviews I've had in the past three years, I've encountered difficult Leetcode- or ACM International Collegiate Programming Contest-style problems where it's expected that I come up with an optimal solution within 30-45 minutes. It's even worse with companies that give you a hard-level Leetcode-style problem that is automatically graded instead of being examined by a human.

2. The lack of receiving feedback about interviews that didn't go well makes the process difficult. At least on a standardized test you receive a score, and at least at the end of a final exam in class, you get your final class grade. Case in point: I've had two successful Google software engineering internships with great reviews from my mentors, and so it's not like I'm incapable of programming FizzBuzz or writing a for loop, but after three tries I haven't been able to get an offer for a full-time position there, despite making it to the on-site round each and every time. It's similar with other companies: I'm usually able to make it past the phone screen and about 50% of the time past the initial programming question, but I have a hard time making it past the on-site round for software engineering positions.

3. The sheer breadth of possible questions to be asked. Not only are Leetcode-style puzzles "fair game," but also domain-specific questions. For example, suppose I'm interviewing for a position where I'm working on a DBMS. Despite having taken graduate-level courses on the implementation of databases and distributed systems, there is still a very large amount of questions that I could be answered, including specific details of specific databases that I might not have been exposed to.

The frustration I have with the software engineering interview process is enough for me to want to change fields at times. Thankfully I've found the interview process for more research-style groups to be less about coding acrobatics and more about conveying previous research experiences and successes as well as proving competency and curiosity. I have a pleasant role as a research engineer where I'm doing very interesting research work while also maintaining my coding skills. Unfortunately such jobs are hard to find in industry, which means that one day I'm going to have to take up the gauntlet of software engineering coding interviews all over again.
World War IV: Sticks and stones.

6G: Wires.
Walmart has always had problems for online purchases. Ship to store is a really half assed service.
> Serious miscarriage of justice cases in Japan involve police deliberately faking the police evidence (and insufficient supervision by the prosecutor to spot such rogue behaviour) such as where the police already knew (or suspected) the location of the body or the murder weapon but they fake the police record to make it appear that it is the suspect who revealed the location.

It's also not difficult for police to do this purposely or even by accident when they don't know the information yet, but there are only a small number of plausible answers to the question. So they ask you two dozen questions that each have five plausible answers, investigate the answers you give and five of them turn out to be correct by random chance. Then the wrong answers are forgotten or written off as a guilty person casting misdirection while the probability of each correct answer is incorrectly multiplied by the others to produce a strikingly inaccurate probability result.
My computer in the early 90s was a Mac LCII running System 7. It was no “simpler” than a computer I have now. I would be running three or four apps and it would be multitasking (cooperative but still). Instead of a web browser, I would have a dialup terminal or AOL.
>> If the Program specifies a version number of this License which applies to it and "any later version", you have the option...

> The license itself admits that it may cover multiple versions.

... along with the conditions under which this expansive licensing applies. While it's good to be clear, it's not respectful of author's wishes to presume a later license when they didn't explicitly allow that. The article suggests that this case is ambiguous, when it is absolutely not and I find that to be irresponsible
Can't access the filing, but I did find a preview of it.

The complaint lists four causes: (1) federal trademark infringement, (2) breach of contract, (3) trespass to chattels, and (4) fraud.

https://www.pacermonitor.com/public/case/28635117/Twitch_Int...
So what if you just did yoga or meditate while making huge pauses between the yes/no answers? That way you kill the stress and they can only ask each question once or twice before time is up. Letting them stress you is letting them win.
Studies That Deliberately Infect People with Diseases Are on the Rise
I failed a C++ test that was a requirement to get a job (30 minutes timed, multiple choice). I had written a C++ application that I had sold to thousands of customers (Fortune 100s in there too). I had mistakenly thought I could be a programmer at a real job.

Later, I sold $20,000 worth of source code that took me 60 hours to produce. The client thought it was easy to read.

I still don't think I'm a real programmer. The test sure seemed to prove that. But, people still buy my software today (I have other apps).

From my perspective, it seems the current technical interviews are looking for something in particular, from which you don't later actually do that for the real job. Kinda like seeing if you can survive a skydive, but you'll actually only be packing chutes after hire.

I wish there was a way to say, up front, that there are different types of programmers, vs the catch all "programmer" job title. Because it sure seems like I'm typing out code. The computer has always accepted it.
I understand the technicalities, but Wilson’s Doctrine clearly applies to the citizens of Texas in 2019 as much as to the citizens of Austria-Hungary a century earlier. If it became absolutely certain that an overwhelming majority of Texans wanted to secede, the right answer would be to draw up ways to allow them to do so in the smoothest and most legal way, not to send the US Army to quash it.

I understand the Civil War happened and all that, but it was a different time and hopefully the Western world works on better principles now. If the USSR had let Afghanistan and Czechoslovakia free to chart their own destiny, maybe it wouldn’t have eventually collapsed under the weight of its own hypocrisy and lies.
That makes sense. But even if the trinkets were just a facade of culture, they were at least more unique back then. I visited the Grand Bazaar about 6 years ago and remember seeing the exact same mass-produced products in many of the shops. Globalization & mass manufacturing made the trinkets you can find in the Bazaar a lot more homogenous :-/
printscreens.
it uses a very unfortunately named program called "scrot" which brands it's poor taste in autonomenclature upon every filename (NSFW, requiring some filename munging) but works fine, otherwise.
Focus is great in theory but Congress has always been more effectively run in a smokey backroom engaging in good old fashioned horse trading. The more Congress hamstrings itself, the less effectively it can legislate and the more de facto power POTUS amasses despite Congressional supremacy under the Constitution.
Official ≠ correct.

See: Van Halen, R.E.M., and a million other bands.
It'd be cheaper, but you can't really make up for a loss on every sale by selling in volume.
Firefox and Chrome both show links in the bottom left of the screen when you hover over them. Not sure about other browsers.
Don't they have elections? Maybe the people want him there, then.
Subsea Permafrost on East Siberian Arctic Shelf in Accelerated Decline
this is an interesting criticism. I would have characterized the Chinese leadership of having a much more long-term outlook than the vast majority of other countries.
Seems like it's admitting that they both don't know how to stop people technically and don't know who any of the 100 people are.
There is a sweet spot regarding the timeline of early stage startups and when to join. If they are too small, yes, a lot of the cons you mention are valid, except for maybe the first one - I'd say earlier stage startups who are at the point of bringing on engineers are actually looking for more input and outside validation than larger sized businesses.

For me, joining a 20-50 person startup is the ideal sweet spot. Compensation is often comparable to larger companies, of course it's about finding the startups who actually respect and fairly compensate their employees (just like working w/ clients). I've been in a situation before where I was interviewing with two companies at the same time, similar positions with similar stage startups (very very early, less than 3 people) - we got to numbers and one of them offered me $50k while the other offered $180k. The funny part is that the one that paid more, I am willing to bet, ended up being significantly less work than the other one. Point is, it's not black and white. It's about finding the opportunity that is right for you.

Also I think a big benefit is influence in company culture. At every smaller startup I've been at, there has been a direct communication channel with the CxO regarding anything one would like to discuss, often including new perks or events that management was considering hosting. The feedback loop is smaller and more direct.
And his court date is already set. That's what confused me regarding the raids; the AFP already knew who the leaker was before conducting the raid on the ABC. Given that I'm a bit confused as to why the AFP needed to raid the ABC given they already had all the info required to move for a trial and conviction. Finally, the leak happened in 2017 and yet they're only now getting around to raiding the ABC?
> Make the work-sample challenges as determinative as possible. Candidates who do well on our work-sample challenges are presumed technically qualified; 1:1 interviews that follow it are largely pro-forma. At Matasano / NCC Group (while I was there) the bar for a technical interviewer to overrule the output of the work sample challenges was quite high.

I would argue that this worked for your hiring field because you had a secondary bar of "technical competence" but a primary bar of "motivated persistence". And your tests definitely set a bar for persistence.

The real problem most companies are currently facing is simply that no one wants to take the time to train someone. Most companies would be better served by training someone internally and then promoting them into the higher slot and then backfilling the more junior position where the stakes are lower.

The HR problem is that you have to fight to adjust someone's salary properly after that promotion. I think I have won an internal salary adjustment fight only once in all the years I have been responsible for hiring people. Hiring an outsider at $100K is easier than promoting someone and getting them a raise from $80K to $100K--and it's completely stupid.
Looks like you have to add in a non core module:

https://github.com/openresty/headers-more-nginx-module#readm...
I live in South Korea. In 2016, a lot of members in Park's party voted to impeach the president Park. (In fact, impeachment couldn't have passed without such.) It's pretty simple really. Anyone from competitive seat will do pretty much anything if they are 100% sure they won't be re-elected otherwise.
That's basically never, then. Debian "maintains" tons of old, broken software in their repositories.
to me CSS feels a bit outdated since big companies are definitely moving away from this separation. How does HN feel about this?

As with anything in technology, it depends on the task and what you're trying to achieve.

The size of the site is a major factor, as is how optimized the owner wants it to be.

Saying that "big companies are definitely moving away" from anything is always going to be a gross and inaccurate generalization.
AFAIR first-order logic is not Turing-complete.
Tandil, Buenos Aires province: No cellular phone service for Claro (one of the cell phone companies here). Water service out for the entire day. Luckily I have a rooftop tank, but I got worried about running out of water if this outage went on for days.
True but hasn't it always been a pretty obvious goal to accumulate capital?
This almost never matters. You just start at the leaves and go up and then you're done. Most people aren't interested in complicated superoptimizations, because a predictable compiler is more important.
Thank you! Yoga is not an option because of balance problems but meditation did help quite a lot.
I think there's a lot of truth to this, and to the argument that work-sample testing really only works as well as I like to say it does when you have an engineering culture that can metabolize new hires without much previous experience in your particular problem domain. But we started doing work-samples for the opposite reason: because we kept getting bamboozled by good interviewers --- a problem I know to be rife across the whole industry. I still think you're better off keeping most of the weight of your qualification process on practical challenges rather than interviews.

We have not generally had a problem recruiting people with experience in our field, but there's obviously some selection bias in that observation.
Find Min and Max Values in Array Using Go
I'd like to know the law company Twitch is contracting out of because holy shit is Twitch getting ripped off here. Sueing people you don't even know the identities of has to be the easiest way of racking up legal fees I have ever seen
The Promotion Curse
Perhaps true in theory, but the practice of history says otherwise. Any anyway, it's not China that going to collapse, but the dictatorial regime.
Did these studies compare OLED dark mode vs traditional dark mode?

I find OLED dark mode to be the best because there is quite literally no light coming from a large section of my screen.
By the time the Mac came out, the Apple //e could do 560x192 Black and White.
The title of this submission broke the site guidelines quite badly. They ask: "Please use the original title, unless it is misleading or linkbait; don't editorialize." We take away submission privileges from accounts that do that, so please don't do that.

Submitted title was "Québec will ban hijab & other religious symbols to be worn by govt. employees."
there's a saying that if it ain't broken, don't fix it.

but the new york city government must be dumping tons of tax dollars maintaining this outdated technology, i'm speaking mostly about the hardware required to run this operating system and software.
The name of the game is warping your grocery needs to whatever TJ's sells. My wife is a very very good cook (I'm no slouch but she is amazing), and we eat incredibly well off a combination of Trader Joe's, Costco, and the veggie box. It's gotten to the point where most of our recipes are denominated in terms of what these places sells. Lasagna? That's 2 28 oz. cans of Marinera Toscano sauce, 1 bag shredded mozz., 1 bag shredded quattro formaggio, 1 ricotta, 1 frozen spinach, etc. (All TJ's items).

Funny enough, I just went to Aldi today for the first time, trying to figure out how it fits into the rotation.
I use a laptop with a tiling window manager when I'm travelling or at the office, desktop with single monitor and tiling WM at home. Last job had 2x nice dells for each developer, never used them. Eventually they gave my desk to someone else because I worked remote most of the time and I never complained.

I may throw in the towel and get an extra monitor at home now since new job pays for home office stuff. I work primarily on frontend now and it'd be nice to have the browser open to whatever I'm working on permanently.
I'd imagine the grey goo itself thinks a grey goo scenario sounds pretty good.
Please see https://news.ycombinator.com/item?id=20199084 and please don't do this again on HN.
Yes, I've taken Valium as needed for more an a decade. Agree with others on the dangers of it and similar medications. But its a lifesaver for temporary relief.
This better clarifies what I meant, I wasn't clear enough in how I stated it. I meant the student body were spreading false statements (facts) about the football player's actions and what was said which damaged their reputation.
It's also that lots of times, the hiring company hasn't actually put prerequisite thought into how to limit the scope of the exercises they send out.

They simply tell you "this should take you 4-6 hours" and then you're left trying to figure out the tradeoffs to make. Usually that 4-6 hour exercise can EASILY take double the time, between you trying to get the best possible solution, handle all the edge cases, going back and forth with the interviewer on questions about the exercise, overthinking what the person on the reviewing end of the exercise is going to see as some irredeemable element of taste that they do not share with you etc

Then after putting in all that work, you possibly get to go through an actual interview process, get a form rejection email or even better never hear back from the company at all ... after going through that 2-3 times you learn that the upside for you is low, and you could probably make more progress with other firms in that same time.

What I personally have arrived at is that if a company isn't paying me for my time and the exercise will take over 2 hours, I simply won't participate. We'll see how it works out.

TLDR; Companies need to properly limit the scope of their take home assignments.
I'm glad the realities of the oppressive Chinese government are finally coming to light. 10 years ago, I remember having discussions with a friend about China (an American) and he was convinced that the oppression just wasn't happening and all a crackpot conspiracy theory.
Nostalgia isn't what it used to be.
That shouldn't be interesting in Java. Most programs can't be autovectorized, especially in a language without any SIMD constructs. If you try to guess what the compiler thinks vectorization looks like, you'll probably get it wrong.
That's how I view them as well. It's why a lot of people can get through them by doing lots of Leetcode in the same way that one might do lots of logic problems in order to score higher on an IQ test.
There are places for both.

For variety you go for Amazon or Walmart. For simplicity and confidence, Costco.
World Ultra Wealth (UHNW) Report (2018) [pdf]
If other browsers besides Firefox add support for the gap property, Flexbox will be perfect for this. The owl approach has some subtle issues, like not taking into account elements which show/hide based on breakpoint.
Environment variables can be used in Nginx if you compile with Lua support or use the pre-built OpenResty distro.
I assume swedish courts use juries?

Regardless of the technical rules about how confessions should be treated, a jury will always overvalue a confession. The same applies to eyewitness testimony, which is basically useless but juries accept it as undeniable truth.

The game of prosecution is not "prove the accused is guilty". The game is "convince these random people that the accused is guilty". The later is a decent approximation of the former but I wish we had something better.
Your second point is pretty disingenuous. Of course you have to walk across the entire store to get a quart of oil and a bag of chips. It's literally impossible to carry a variety of items in inventory without some items, mostly unrelated, being located far apart.
While I think the Cold War increased interested in translations, I don't think US intelligence agencies were the driving force. If I had to guess I'd say that the driving force appears to have been scientific interest in what "the other side" was doing. That combined with the fact that English wasn't the lingua franca of science then as far as I'm aware.

The index I mentioned was produced by the Special Libraries Association, which is an organization that still exists today and has no link to US intelligence as far as I'm aware. The CIA has their own public translations index circa the 1960s (with a similar name) but that largely duplicates this one, and as far as I'm aware rarely mentions actual CIA translations.

The most common type of translation listed is the TT series. The TT series had nothing to do with intelligence agencies as far as I'm aware. Looks like it was funded by the National Science Foundation and the Special Libraries Association: https://www.loc.gov/rr/scitech/trs/trstt.html

The UK translations series I've seen were entirely motivated by scientific interest. In fact, I recall that while looking through a UK translations index I found a form to request a translation. Seems to have been addressed to scientists as intelligence agencies presumably would have the resources to translate articles in-house.

Also, the large number of cover-to-cover translation journals, many of which continue today, would suggest there is appreciable scientific interest in translations.
They're "progressing" in the wrong direction at a rapid pace at the moment.