skysight-inc/HackerNews huggingface dataset:
Ask HN: User-Agent – how do you use it?
Yesterday (Wed 19-Dec) here on HN we had a conversation about HTTP User-Agent headers in DNS-over-HTTPS requests. https://news.ycombinator.com/item?id=21819022#21821455 Some people made a strong case they are unnecessary for that.

(See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent for a description if you need one. )

Maybe they're becoming less necessary in web apps overall. So, the question:

How do you use them?

Do you use them in client-side Javascript? If so, what for?

Do you use them server-side? For deciding what content to send to clients?

Do you store them server-side? (If you store web server logs, the answer is probably "yes", of course.) How do you use those stored User-Agents?

If you didn't have User-Agent strings, would your stuff work?
We use a third party for the initial code screen because we feel like it’s more useful and more respectful to the candidates. We worked with them to pick questions that were representative of the type of “real” coding someone might do at our company, i.e. not algorithms or brain teasers. The company also includes a section assessing how the candidate communicates about bugs they’ve investigated. The screen allows 75 minutes and can be done any time the candidate wants, without someone sitting over their shoulder. When it’s done, the candidate gets the same feedback that we do about their performance. The feedback we get includes the candidate’s solution, a general “score,” and a series of bullets of things the candidate did and did not do well.

Compare this to what we did previously, which was to get one of our engineers on the phone and on a pair coding website to ask brain teasers. The candidate got no followup feedback if they didn’t do well. On top of that, because the people doing the interviews knew that if they said “no hire” it would stop the process in its tracks and the person would never get an on-site, we had something like a 95% pass rate. We evaluated several third parties for this, and felt the one we chose was the most useful and the most respectful of candidates’ time.

I understand that the process isn’t for everyone (no process is), but we’ve gotten generally good feedback from applicants so far about the company we chose (Woven, for the record).

Edit: also just noting that we don’t do any sort of hard cutoff for the scores they send us. We try to evaluate each candidate’s performance in light of their experience, looking at what they were and weren’t able to get done, etc. We had someone recently do amazingly on the first half but not even finish the second: presumably they ran out of time, but we brought them on anyway because we felt like their performance on the first half deserved earned them some further consideration, even though their overall score was quite low.
I feel like Typescript has been very successful (combined with the slightly earlier switch to Node) in converting those that were holding out against typing.
How to test Ethereum smart contracts in Java with Web3j
Sorry, I don’t really understand the point of your post in relation to what I said. Could you elaborate?
but I wouldn't pick the language for 2D GUIs in 2019

Which one would you recommend?
Are you? Are you able to tell for years ahead this wont happen? Insurance companies? Should I remind you about pre ww2 germany and their tagging of nationality (jew) in national archives? Sure in 1920 nobody cared about it, in 1942 it became something with mortal consequences. Maybe reminding about China social score? We are now in 1920 while I care what will happen in 1942. Historia magistra vitae.

If google gets to the point of falling revenue (which will happen, sooner or later, continuous growth in finite system is impossible), stock holders will force the "sale", do you think they will sell their offices? Computers?
When the RFSL and Amnesty made their announcement to work for legalization there was a lot of media focus on the question. There was a lot of anger from people and articles about people leaving Amnesty and the Swedish branch making statement against the decision.

It was also not many months ago that V (the most left leaning party) suggested that the punishment for paying a sex-worker should be increased to similar levels as rape, with jail time as minimum.

We could say that V views are a fringe part of the feminist movement in Sweden, but I am not sure that is actually a correct assessment. As you say, few, if any, public figure dare to speak up with opposing views on the topic. It is hard to estimate popular opinion outside of political polls.
Reputation does matter but depends on circumstances. We are discussing using a certain in-development chip from a giant company with a reputation of completely and utterly failed delivery of a chip in a related area (and lying to public). The first question I've asked - if they failed that thing just recently, how do we prepare for them possibly failing our new project? This is a serious problem to consider.
Did I say not-referenced? Trust me, Librarians are the best people for referencing stuff - it's their job.
As a thought experiment: Imagine all that data was open and everybody could query and use it.

Because my gut tells me, it will be in a decade or two.
More like 2 and 30 weeks in this particular case.
It all depends on what hooks up into the context menu. The vanilla menu is fast. But once you accrue some unpackers, file sharing, VCS tools and garbage like Intel graphics drivers, the context menu gets unusably slow.
Linux Mint 19.3 “Tricia” Xfce Released
What are some American banks that don't have a website but have an app? I'm curious.
Sorry for the late reply but as an introduction I suggest “Encyclopedia of Indian Philosopies Volume IV: Samkhya A Dualistic Tradition in Indian Philosophy” Gerald James Larson & Ramshankar Bhattacharya (editors), Delhi, Motilal Banarsidass, 1987.
Genetic testing is an inexact science with real consequences
If the result to the user (getting a machine that leaves them with clean air except 1 type of polutant at exactly the level that polutant would be without the machine), is it really different ethically based on whether the machine leaves that polutant or removes then replaces it?

Seems kind of like saying (although this example is certainly less ethical to those of us who oppose murder and death penalties) that there's a difference ethically between killing someone by putting poison into their body vs. killing them by preventing food/water to go into their body.

But as to achieving it, sure I wasn't proposing it as necessarily a good or feasible option - other the little bit of research I did when choosing which air purifier for my bedroom I don't know much about the technology.

I was more just thinking about the ethical question if it were possible, since I can appreciate the argument against it but like I said, I personally would be completely happy for a research team to offer me the hypothetical machine.
Poverty is also defined based on a subjective number, but I don't think that makes it a useless concept
Very good question. I'm also interested in a multitude of things and really need "input" as I like call it to stay satisfied.

One way I moderate my information intake is by relying on some types of media and hardware while ignoring others.

For example I never watch TV and I don't own a smartphone to keep my sanity and moderate the onslaught of bad news and redundant fluff.

The evenings are usually "screen free" time when I try to reduce my information intake but also read books on my favorite topics, sometimes several at once.

I also read magazines that only cover topics I care about. I also use crowdsourced filters like HN, Twitter etc. when online.

When you ignore day to day politics, celebrity culture, marketing (which 90% of "content" is about) you end up only consuming what really matters.
Emulate numpad+emulate 3 button mouse (IIRC)

https://blender.stackexchange.com/questions/124/how-to-emula...
"HEPA filters reduce depression and suicide rate" might not be quite the causality we are looking for, but it would be a big stepping stone in addition to being a very useful result on its own.
Electronic Voting System in the House of Representatives: History and Evolution [pdf]
How to wrap your presents properly and help save the planet
My immediate reaction to your comment was "How do you not know that?!" (I'm sorry.)

However, if people frequenting a tech forum are not aware of the privacy benefits that Firefox has been pushing for a long time now, we as "tech folk" have a responsibility to push out the message.

So you can find out more about Firefox tracking here - https://blog.mozilla.org/blog/2019/09/03/todays-firefox-bloc...

And the Firefox Facebook Container may also be of interest - https://www.mozilla.org/en-US/firefox/facebookcontainer/

Hopefully, you're now reading replies to your initial comment in Firefox!
Not sure why this is being downvoted? It’s a fascinating statistic alone.
They would have to bring something far more compelling compared to AWS if they are to gain much market share. Either in terms features or notable cost difference. Technical people with a general mistrust of them go into planning with GCP as a hesitant second or third choice. The traditional IT departments moving to Azure aren't going to consider the other vendors much when there's such a direct migration. Combined with headcount and capital cost reduction so clearly mapped out for them.
If they would focus on outing personal data of Senators, Congressmen, etc, that's a fairly direct path to action. I imagine there's some curious location data there.
Streaming Cassandra into Kafka in (Near) Real-Time
Its only a matter of time before the ad companies make their tracking unblockable e.g. by hosting something critical to the page, e.g. "make the webpage download jquery.js from our mirror, and you get all this tracking that can't be blocked!"

Isn't this happening already, and if not, why not?
"Prostitutes sell what men want more cheaply than other women sell it"

You poor incel.
Chrome doesn't need fingerprinting at all. If you are using that browser, you are already being tracked at all times. So by implementing fingerprinting resistance in the most popular browser, Google can thus hurt the competition while merrily continue their tracking business as usual.
One Writer’s Sincere Perspective of the Impeachment of Donald Trump
The Complete Guide to Predictive Maintenance with Machine Learning
Unsurprisingly, there are related (for want of a better word) issues appearing:

https://github.com/microsoft/vscode/issues/87341

https://github.com/microsoft/vscode/issues/87348

https://github.com/microsoft/vscode/issues/87342

The issue janitors have an interesting day ahead.
Don't forget various bureaucrats mainly employed by state. Those are often folks who go to massive strikes that cripple economy since they are losing many of those cozy benefits they take for granted, while taking everybody including foreign tourists as hostages.

I can tell you from personal experience those are hardly breaking a sweat, and few colleagues who actually live there sometimes end up in proper Catch-22-esque situations with things like taxes or driving license changes. good stories to laugh at but proper nightmare to actually go through.

Another topic might be that nobody wants to hire french manual workers, for things like home renovation, unless you have no other option. Little work, long breaks, often way too narrow specialization and often very high prices makes even french people looking for folks from places like Portugal or even Romania. And the costs themselves are only small part of the reasons.

But same colleagues tell me that in software companies people do often work hard. Long are gone generous 2-hour lunch breaks. Seems like a great divide depending how safe ones work feel.
If it is too high a bar, the obvious choice is to just not participate or use it. There are tons of projects I don’t leverage for various reasons (usually underlying programming language) and that’s fine, not everything is going to be tailored to me.

If entrusting it to the Linux Foundation leads to more internationalization of the project, that can only be a win for the LF and Chinese OSS as a whole.

Personally, I’d much rather Chinese developers operate within the global community than outside of it. And things like this are just another bullet point in that.
Overnight Millionaire Mind-Hacks Secretly Used by the Rich and Famous
I also thought I disliked it. Then we switched to Concur.
A lot of people argue that "consensual murder" (a.k.a. euthanasia) should be legal (with the appropriate safeguards to prevent abuse).

Edit: Actually I retract this comment. You bring an interesting point, and shouldn't be downvoted. I guess the argument "to prevent abuse" includes "to prevent people from exchanging their lives for money". And you could say the same for sex - people should be able to choose to have sex / be murdered / donate their organs, but shouldn't be able to exchange that for money.

I guess the counterargument would be, that the exact definition of "exchange" depends on whether you're actually giving something - arguably, you're giving up your life / kidney (and most people aren't willing to give that up, regardless of whether they're being paid or not), but not necessarily giving up sex (and many people are giving it up pretty often... the only difference is, are they also getting paid for it, or not).
Trying to optimize your line for non-whitespace character count since I have nothing else to do right now, I just discovered $ can be used in any webpage from the browser console:

$('.video-stepper').style.display = 'none'
This Page Is Designed to Last
Actually in the NGINX case, the former company claims (or is trying to find proofs, such as timings of git commits) that Nginx has been developed on company's paid time. Even if the sysadmin was "on call" and coding Nginx on the side. I guess the Nginx lesson should be a wake up call for all of us who are developing FLOSS on the side.
> I think it comes down to the fact that GUIs _sell_.

IMO not just that, but also that the sale happens very early - before people get a chance to discover the UI is garbage. What's worse, in work context, a lot - probably most - software is bought by people other than the end users. Which means the UI can be (and often is) a total dumpster fire, but it'll win on the market as long as it appeals to the sensibilities of the people doing the purchase.
>4chan

It didn't take long for /g/ to take the person's avatar and put a Santa hat on it.
He is just a troll!
> And I'm far from something special or unusual.

from my experience, the "average" person (if not the majority) has trouble handling a TV remote
I've always wondered why someone may like to watch people playing videogames when you can play said videogames yourself.

It's not like the case of football, where you need friends and you need to go out to play. Thanks to matchmaking systems in games, you don't even need friends to play. You just click a button.
Yes I'm riding the automation wave, but only because after working for 20 years as a developer I was finally able to afford buying an apartment and wanted to try to push automation to it's limits. I haven't done it all and could go even further, which is why I like KNX, it's not closed or bound to a single company so I can buy add even more stuff from a lot of providers (see some example of companies in my other comment).

The alexa bridge is not perfect, sometimes it has hald a second of delay. Twice a year the servers are down and it doesn't respond for few hours, but besides that I'm very happy with it. B.t.w. I used this server from PRO KNX to connect my Alexa(s) to the KNX server: https://proknx.com/en/news/2017/realknx-2-0-voice-control-al... (it is also compatible with Google Home as well as Apple Homekit).

Thx for the clarifications about the differences. I don't know much about the KNX standard. I fiddle around a lot with NodeRed (nodejs / javascript) and use some Alexa routines but I never tried to implement the standard myself. As far as I understand it, KNX is also using IP Networks, because all my devices have IP addresses and my servers are open on different ports.

I hope the Google, Apple, ... alliance decided to do create a new standard for good reasons, but I have doubts as I can't find someone that explains me what is so bad about the existing standard. Why Apple, Google and the others don't just join the KNX foundation and why this already open and royalty free KNX standard can be built upon!?
Using Python and OCaml in the same Jupyter notebook
That would also remove other things from the air, which ruins the experiment. The only way to measure if a particular type of pollution is responsible is to only filter that one out, which is basically impossible, or to increase the amount of that one, which is unethical because it's potentially harmful.
Americans are not good at taking care of each other, in my American opinion. We don't naturally think about what would be good for everyone, and so we don't push for changes that would benefit us all in the long term, but costs us all in the short term.
Here Comes European Protectionism
The Rhine is 2,000 cubic meters per second, not 20,000.
"by 2030 nearly 1 in 2 adults will have obesity"

Get up stand up and move. They are talking about you.

I successfully overcame the sedentary "lifestyle" side-effects by training parkour.
Slightly OT, but one of the best ways to master graphics programming is to write at least a few "worse" video games yourself :-)
What does Santa have to do with religion, it's like the tooth fairy or Bigfoot ??

I almost wonder if it's not a troll account given most of his repos are forks and his profile links to a website that doesn't load.
Start counting up all the different components along with their various failure modes and you quickly realize these are not systems you want to be responsible for keeping in working order much beyond its designed lifespan.
Elm-Architecture Comparison Between TypeScript, Elm and Reason
Either he's already worked that in (20K cubic meters per second) or we can correct for it, the normal 'debiet' is about 600 cubic meters per second, the annual average is 2200, the peaks observed are about 12K.
The pros are substantially better than you'll ever be. It's fun to see the crazy shit they can pull off, or root for a team, or the tension of the underdog, etc just like normal sports.
I've found myself watching those sorts of videos in a separate Firefox profile that I'm not logged into YouTube in.
maybe current breed of optical/laser mice are just really good enough.
Nice graphics, powered by Svelte?
Actually, s/Slack/Tidal/ if you want to add insult to injury. Electron app for Windows and Mac (but well, nice features overall). However, no Linux build.
Raspberry Pi: A Developer’s Companion – Complete Guide with Docker
I got an airport transfer in a car with smart headlights a few weeks ago.

It was pretty neat - when the road was quiet it lit the road quite broadly, but when there was oncoming traffic it would deactivate the 'pixels' that could have dazzled the oncoming driver. I also got the impression it cast extra light at road signs (although maybe the route I was driven just had very well lit signs)

My country gets dark at 4pm at this time of year, so driving in rural areas involves a lot of switching between main beam and dip beam - and getting mad at oncoming drivers who don't switch early enough. So these smart headlights seem like a good thing!
Query AWS Redshift Like a Boss
This is untrue rather than inadmissible.
For those who are looking for how to disable this.
`export HOMEBREW_NO_ANALYTICS=1` or `brew analytics off`
That's applicable to pretty much every single developer out there not born in an English speaking country. Which just so happens to be my case.

Why not also translate classes', functions' and variables' names too?

I am not a native English speaker. I also really don't have any resources, wether time, money or mental bandwidth to waste on translation.

Nearly all code and documentation out there is in one single language, that happens to be English, so I work in English, and I wouldn't have it any other way.
I often hear hibernation is one of the great Mac Os Features.
For my part, I decided years ago that cold booting windows works much faster than hibernating it.

I will not start to count the seconds and fight which OS boots faster, but it is certainly much faster than it was in the nineties. Boot times are certainly one thing where modern computers have significantly improved. Everyone who compares an instant on 8-bit is oversimplifying things. Try booting to ie. GEOS on one of those.
If we're golfing, and jQuery is there: $('.video-stepper').hide()
Here is the video demonstration of the article on YT for those who prefer visual demo over the article: https://www.youtube.com/watch?v=idCG0wSi-fk
I've never seen any credible claim on negative implications through radiation when using smartphones. Do you know any?
I would rather bet that there are some people interested in making this story not reach the frontpage.
Okay this is very strange. It seems like OSX is regressing in the file permissions experience and heading towards a more Windows like experience. Considering how incredibly annoying the Windows file permissions experience can be, I think that's a terrible direction to head towards. There are so many complaints of people being unable to access files after the Catalina upgrade. I hope they simplify their permissions and adopt a more sane/less user hostile model. Security needs to be implemented in such a way that it doesn't get in between using my device for work.
There is enormous money in fleecing government programs, particularly medicade / medicare, and it's a lot easier if you control many touchpoints (ambulance, urgent care, specialists, etc.). The book Overcharged describes many of the common scams https://www.amazon.com/Overcharged-Americans-Much-Health-Car...

Organized crime has moved out of overtly sleezy industries like gambling into much more profitable ones.
Are there? I've only seen the major ones you mentioned and Mozilla's Servo which look remotely fit for the modern web. And of those, only WebKit is _really_ easily embeddable.
I think I can probably speak for all English second language speakers, as I am one - Can everyone just stick to English? Otherwise I have to learn a third language.

English is pretty important. It's not really possible to collaborate effectively with people that you can't communicate with.
I don't miss owning (maintaining) a car.
or the various "gold" and "diamond" or similar editions.
And what were the working conditions of the average people in pre-industrial economies?

>The fact remained that at the beginning of the nineteenth century an estimated three-quarters of all people alive were trapped in bondage against their will either in some form of slavery or serfdom. [1]

The common historical interpretion today is that the industrial revolution _improved_ the standards of living for the average person, so it's contradictory to your thesis.

[1] Forsythe, David P. Encyclopedia of human rights. Vol. 1. Oxford University Press, 2009. (399)
Another big river to count with is the Waal, which does about 3/4 of that and then there are the Lek, the Maas and the Schelde, all of which are yet another doubling. So there would be a substantial amount of energy involved here.
> new entrants must adapt to the standard that is established

“The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.”
How I MADE $1,006 from $100, THEN $257,000 from $1,006 WITH Bitcoin