skysight-inc/HackerNews huggingface dataset:
> Now imagine how hard it is for executives that don't know anything about technology to aid in making long-term strategic decisions that depends on this!

Executives that don't know anything about technology shouldn't be aiding in making strategic decisions that depend on this. They might make decisions on the advice of others (including, hopefully, executives who do know something about technology—CEOs may make the decisions in some cases, but with CTOs and/or CIOs innthe loop, and if they know nothing about technology, that's as bad as if your CFO knows nothing about corporate finance.)
It's be great if you linked us to their essays.
It's a lack of exposure and education.
"will i be listening to people answering the phone all day, every day?"
Just an update. I can properly resolve the DNS of tarsnap.com. It smell like a routing problem as all the connections to a aws IP simply times out.
The job (the question asked) is about recognizing start and end tags in XHTML. These are lexical tokens and therefore regular expressions are a perfectly fine tool for this. Indeed many parsers use regular expressions to perform the lexical analysis (https://en.wikipedia.org/wiki/Lexical_analysis) aka tokeniziation.

Quoting from wikipedia:

The specification of a programming language often includes a set of rules, the lexical grammar, which defines the lexical syntax. The lexical syntax is usually a regular language, with the grammar rules consisting of regular expressions;

If you disagree that regular expressions are an appropriate tool for lexical analysis, can you articulate why? And what technique do you propose instead?
Sometimes the 60's feel like 100 years ago. Does that count?
Ask HN: Resources to help with visa for programmer from DR
I have been working with a resident of the Dominican Republic for a couple of years now. He is very interested in moving his small family to the states. On first blush, the system seems all but impenetrable to a layman. Also as we are shoestring at the moment, hiring a lawyer is cost prohibitive.

He is a programmer with specific commercial front end technology (ExtJs) and Java/RoR backend expertise. He has an equivalent bachelor degree for computer science.

Can anyone recommend any resources or strategy that may help in the process? Thanks.
> With respect, who actually feels at home with SQL?

So many data analysts that each time a new analytical database engine comes out it needs to support SQL or something like it to get any mindshare.
Mostly it means that you have to be really thoughtful when introducing a breaking change to a low level library.
HN is not only technical news. It is all news which is of interest to the community at large including economics, politics, philosophy and so on. HN is not slashdot.
During the last interview, I've had similar thing happen to me -- after we discussed whiteboard design question, the candidate asked, "how would you solve this?". This resulted in a pretty nice exchange of opinions.

In a somewhat related point, last time I was designing the coding question, I tested it on my teammmates. They all solved it, and their response was very helpful, and it allowed me to clarify some points in the problem.
The Angular project has a package for translating TS -> Closure, which appears to be used at Google in some capacity. https://github.com/angular/tsickle
Several things have failed to show up in the comments that might illuminate this discussion.

(1) The condition is called lipoid pneumonia, which comes from inhaling organic fats and oils.

(2) The CDC reports and early studies indicate that the condition has appeared in some people who only vaped with nicotine in glycerol (which is also sometimes called glycerin or glycerine).

(3) Glycerol (the Christmas molecule--HO HO HO) is a type of alcohol called a polyol, meaning that it has multiple (in this case, three) hydroxyl groups on a carbon chain.

(4) Glycerol is not a fat and cannot be responsible, on its own, for lipoid pneumonia.

(5) However, glycerol is the precursor to fat synthesis in the body: triglycerides, for example, are fats metabolized from glycerol.

(6) The reaction of glycerol -> triglycerides in the body is catalyzed by nicotine-containing enzymes mostly present in the liver, but expressed to a lesser extent in every cell.

(7) The reaction of carboxylic acid (derived from CO2) with glycerol creates fatty acid esters through the process of acid-catalyzed esterification.

(8) The key unanswered question is where does the fat that is found in the macrophages (a type of white blood cell whose function is to engulf and digest foreign substances) that is the sine qua non of lipoid pneumonia come from.

(9) Many vapers are formerly heavy smokers, meaning that they have some degree of chronic lung disease, that they retain CO2, and are very likely to have respiratory acidosis.

(10) Elevated CO2 also occurs in many other circumstances, such as opioid use and sleeping in poorly ventilated conditions.

(11) If the early reports are correct that lipoid pneumonia is occurring in vapers who have only used nicotine in glycerol with no flavoring or impurities, then we must ask the question: Is glycerol being converted to fatty acids in lung cells by NAD-mediated enzymatic conversion or acid-catalyzed esterification in the presence of high CO2 levels and acidity?
Same. Time saved I guess
So does php with `mb_strlen`
I appreciate Apple offering its own apps, as I don't trust anyone else with my data.
100% agree. I think every Python 2 doc page should have a big banner on top mentioning the EOL status of Python 2 and linking to the coresponding Python 3 page (if there is one). Googling "python + keyword" far too often still takes you to the Python 2 docs.
> Personally that sounds like barf

It is and it's not.

I got mediocre plus results without too much politics, and I guess that for the long run I could advance without back stabbing anyone (the site was closed before I had a chance to test my assumption) but I agree that most of the moving up had to include politics, stress, insecurities, backstabbing and stress.

On the other hand you can relatively easy get to positions where you influence tens or more engineers while in smaller places those positions are rare and super senior
What platforms don't support PHP that do support Go?
True but does not come close to addressing why this isn't even talked about - yeah it's not great in HK but let's not pretend that the Chinese are some sort of saviours.
It’s funny, the financial aspect stuck with me as well! I appreciated that different characters made their money in different currencies (and that everyone could convert between them) and how some currencies were more often associated with per annum revenues than others.

I’d say it’s a pendulum that’s swung too far in correction, imho. It’s a good thing to make money off of honest hard work (a lesson TCMC does not skimp on) as compared to inheriting your riches via the aristocracy, but it definitely isn’t the end goal.

I’ve learned long ago not to watch movies of books I love, it’s far too painfully disappointing and takes away from the world-building a great author triggers in your mind’s eye. (I’ve only ever watched one movie rendition of a classic and found it not only adequate but even superior to a book, and that was One Flew Over the Cuckoo’s Nest, probably because the book was intentionally incoherently written to reflect the works as seen through Chief’s delusional eyes.)
Wikipedia: Getting to Philosophy
I did that. Turns out, things change fast. (Or the answer was not truthful? I don't know.)
POPCNT has a latency of 3 cycles on most x86 hardware.
Well Python 3 came out in 2008, this date is known since 2014. If they start in the next few years, yes you'd expect it to be expensive.

But distribution vendors like Red Hat and Ubuntu have Python 2 in long term support distributions that they will give support for a few more years, so it is possible to use those. And after that they offer more years of support to paying customers. It's not necessary to hire programmers to do this for the companies needing support themselves.
As a freelancer (SRE/devops/'cloud native' architecture etc), this is what I do. Not all questions in original article apply to me though, but I get quite a few offers, and I only try to accept interesting-ones.

In my experience, when interviewers don't switch to selling the position, this is a bad sign. I'm confident I know my job, am open and honest about what I know and don't know, I don't need a 101 quiz of whatever tech they have in mind. If this happens I usually cut the interview short and just tell them this is probably not a good match.
Both excellent points.

Maybe the better question is: how do you prevent your lowest-bidder corporate antivirus marks from marking git-bash as malware, stopping all work for the team for two days?

Developers don’t need admin access, they need ways of getting their jobs done with the best available tools. That’s a damn difficult balance to find!
I Have No Idea What “Hard Work” Means
Android Background Service – Why Is Whatsapp Working Differently?
Deleting Google Play Services is sad when it comes to notifications. A lot of apps use Google Play Services to handle notifications. For example Discord notifications don't work at all.

But in other cases like Telegram, when the app realizes that is living on a phone without Google Play Service, then it starts a service in the background, telling you that "In order to have a background service we have to display this permanent notification".

My question is: why Whatsapp is working differently? (Whatsapp doesn't need a permanente notification, but messages notifications are working fine)
Probably by not paying?
Chrome on my Pixel 2
same reason even the best CRT emulation shaders on a 4k screen still don't look as nice as a SNES game in a good CRT TV
You get immediate executables through Go.

PHP, on the other hand, requires fifty packages and your sister's phone number before you get segmentation faults from the caching script and give up.
You are forgetting Cybersecurity team. Now, that's a fun party. SecOpsDev.
Berlin Alexanderplatz is definitely worth the investment of time if you have any interest in modern German history and culture. Less time than "Breaking Bad" or "The Walking Dead."
Or one could provide a package manager that allows user installs of software, like Nix. (Depending on the threat model, of course.)
I am now a Mr Manager Person, so I have a different but related set of questions:

1. What is the demographic breakdown of the engineering team? And, what does the company affirmatively do to foster diversity?

2. What resources do the founders have available — investors, board, mentors, for instance — to help them as the company grows?

3. What is the near term vision for the company? 1yr/5yr?

4. What resources are available for professional development for managers/directors?

5. At $CURRENT_COMPANY, the company is serious about reviews upwards — as a manager, my direct reports are consulted in a formal process at review time. Is there a similar process at $POTENTIAL_EMPLOYER?

6. What is the cadence and process for reviews?
Here is the conclusion of that study to save a click:

"Based on the results of this study, there is no evidence that theatrical "smoke," at the levels found in the theaters studied, is a cause of occupational asthma among performers. Some of the constituents of theatrical "smoke," such as the aerolized glycols and mineral oil, could have irritative or mucous membrane drying properties in some individuals. Therefore, it is reasonable to minimize exposures by such means as relocating "smoke" machines to avoid exposing actors to the direct, concentrated release of the aerosols, minimizing the amount of "smoke" necessary for the production, and using only fog fluids approved by the manufacturers of the machines. The glycols used should be at the level of "food grade" or "high grade." Glycol-based systems should also be designed to heat the fog fluids only to the lowest temperature needed that achieve proper aerolsolization. This would help to avoid overheating the fluid and minimize the generation of decomposition products."
Are you sure you are indeed a normal human?
So when he kills a kid on the way to the gig he does for you, you won't judge?
>> extreme ownership

This is my biggest pet peeve with junior developers. I find there's a total lack of ownership about making sure the feature is completely wrapped-up (not just the code, but the tests, the metrics, that it's shipped, that it's correctly marked as done and communicated, etc.)

I find they /expect/ that someone else at the company will review and make sure everything is done and safe, rather than be proactive about it.
Hugo and IPFS: how this blog works (and scales to serve 5k% spikes instantly)
Yes but its hard to know if I upvoted or downvoted.
qubes-like solutions are great at preventing malicious code from accessing your internal websites, but pretty useless from "code leak" perspective.

If you have downloaded a trojaned "super library" and put it to your build process, it will, by definition, be in the same security domain as your source code.

Unless you audit all file accesses and outgoing internet access, you won't be able to prevent code exfiltration.
I don't know about Chartboost or Unity, but use the blocking centre in AdMob to disable ads from these categories entirely.
Wouldn't it be the opposite? They overpaid because these people were working all of this overtime?
Coincidentally, this project with a similar goal but different approach came up in my twitter feed this morning: https://www.codedojo.com/?p=2426 done by the guy who made the LORD and TEOS BBS games, for those that remember them.
If that employee is doing the interviewing of someone who is being expected to write code then I would say it does indicate something about a company.
Because it's a poor source of information about experienced candidates, and more about cargo culting and/or hazing.

I suppose that briefly turning it around on the immediate interviewer could be constructive, with some people, but I doubt I could pull that off even half the time.

My impression, from HN comments and firsthand, is that people still doing it seem to be thinking one-sided about it (i.e., they want to assess and/or manipulate "the candidate", and they seem to assume it's implied that everyone at the company is good). They probably also think this is convention, and perhaps resent or are suspicious of anyone not complying.

Personally, rather than turning the tables with the hazing, which can come across as hostile or combative, my natural inclination is to have a candid and thoughtful discussion about it.

(Warning: I've had poor success with trying to discuss with people who want to do the leetcode/puzzle-style whiteboard coding hazing. Maybe partly because the conversation only has occasion to happen with people who are still doing it, so it's not a representative sample of the field. I also suspect that, when it's with the more HR/recruiter-type people (not engineers or managers), they tend to not be participating in the discussion in the same way I am, but instead are performing the right head nods, while focusing on their normal modes, such as looking for red flags in what "the candidate" says, formulating how they'll report this, and being careful what they say.)
> Also increases your trust in the company creating Rust when they are too lazy to fix their whole build suite.

Mozilla is not in charge of Rust in any way.
Ranking by count the all apps installed by users who have previously searched for <term> might do it.

Not saying that's a good algorithm, but one _might_ be tempted to think that with enough users it should be fine. The 'bug' being that all Apple's users are Apple users, so Apple apps would get pushed high for any search.

I'm certainly not suggesting that's what happeened (or even that it would be something so simplistic), but it gives me an idea at least how something that, when presented only with the symptoms, seems so unbelievable.
> What's the on-call plan/schedule? (what's the pay for standby and call-out)

I’ve never been in a position where we were paid for on-call (i.e. fix prod at 2am) work. Is that not typical?
Video of the performance mentioned in the article:

https://youtu.be/rsKWgREVppA
I’m curious if it was an unabridged translation? TCMC is some 1200-1400 pages long in English depending on the binding and the translation, but there are some much shorter versions. I pretty much paused my life once I picked it up, but it took me around three or four days to complete it. (Of course I purposely took my time, cherishing every page and not wanting it to end.)

I ask only because you owe it to yourself to read the real deal, just in case the Chinese translation you read was one of the much more common shorter versions.
This one of the biggest pieces of shit article I've seen on this God forsaken website
Typically my strategy is:

1) Make types explicit (or generic) at any interface boundary

2) Periodically query the inferred types of things from my editor just to make sure they come out to what I expect

3) If an error message feels like it's in the wrong place or an inferred type isn't what it should be, progressively make things more explicit until the problem is resolved

But you're right, that's all very subjective and dependent on learned norms.
They must have changed that since 2005 when I was dealing with their graduates. It certainly wasn't open to me earlier on when I was a high schooler elsewhere in Virginia.
I know what it means. It’s unpleasant and I try to avoid it.
Still interesting story!
It's a nice system in PHP. There are quite a few of them. Like ledger-cli [1] in C++ and emacs lisp, hledger [2] in Haskell and beancount [3] with fava [4] in python.

We used ledger-cli and beancount with fava and built automatic creation of accounting entries using machine learning and Bayesian alogrithms by analyzing bank and credit card statements. You can use powerful icsv2ledger [5], smart importer [6] and the awesome list [7] to get importers for various banks and other utilities.

[1] https://www.ledger-cli.org/

[2] https://hledger.org/

[3] http://furius.ca/beancount/

[4] https://beancount.github.io/fava/

[5] https://github.com/quentinsf/icsv2ledger

[6] https://github.com/beancount/smart_importer/blob/master/READ...

[7] https://github.com/siddhantgoel/awesome-beancount/blob/maste...

Note: corrected the entry for ledger-cli, its primarily written in C++ with some emacs lisp scripts.
How to Make a Custom Select Component in Vue.js
MySQl includes a native popcount instruction, Postgres didn't when I checked a few years back. I actually needed it at the time.
Thanks for reminding about this. I really don't know why people take Bloomberg seriously after "The Big Hack" article. From my point of view, they lost all credibility and I no longer believe what they write.
Mechanically abbreviating strings is likely to have nasty corner cases. Avoid if at all possible.

There are fancy Unicode corner cases, like the flags (cutting a flag emoji in half doesn't get you half a flag it gets you one half of the flag's country code identifier) but there are plenty of corner cases already in ASCII.

Abbreviating "Give all the money to Samantha's parents to hold in trust" as "Give all the money to Sam" doesn't involve any scary modern encoding, just the problem that this isn't how human languages work.
> more people than you think can afford to buy a Superyacht but less people than you think an afford to maintain one.

Well, the joke goes: A yacht will bring joy to the owner twice: first time when bought, second time when sold.
It's more dyson running terraform to tell DigitalOcean to run Kubernetes :D
I mean hiring page doesn't mean they actually use it in the product. You can use ROS for designing the system, but in terms of performance it has issues if you try to use it in an embedded context. I still kind of doubt they have it running in their product.
I'm split on whether I agree or disagree with you flagging this.

On one hand, I do think that good hackers would generally find HK/China conflict interesting, as these are nations on the forefront of tech. On the other hand, it isn't exactly an "intellectual curiosity", but it definitely is political.

From the guidelines:

> What to Submit
> On-Topic: Anything that good hackers would find interesting. That includes more than hacking and startups. If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual curiosity.

> Off-Topic: Most stories about politics, or crime, or sports, unless they're evidence of some interesting new phenomenon. Videos of pratfalls or disasters, or cute animal pictures. If they'd cover it on TV news, it's probably off-topic.
What 8 years of side projects have taught me (2019)
> I'm finding it difficult to understand why anybody thinks supporting Python2 should be done by volunteers?

I 100% agree. I was just responding to the parent post.
Microsoft unveils redesigned To-Do app that will replace Wunderlist
DHS to Ramp Up Social Media Monitoring of People Entering the Country
last 2 phones I've had have had a fingerprint sensor on the back. Every time I pick it up, the phone is unlocked before my eyes hit the screen. Any kind of face unlocking just seems clunky in comparison
For me, if I want most existing python2 programs to work, I'd want to release my program as called "python", so "#!/usr/bin/env python" continued to work.

If I'm not allowed to do that, then you are already adding a lot of friction to continuing to support existing python installs.

Although, I wonder if you could claim you need to call it that for the programs to work?
Data science version of this is highly required and must be asked with every company one is supposed to join.
Innovation by Using Counter-Logic Rather Than Logic
I'd really recommend you watch the video to understand how long term development of a hugely popular system isn't as easy as it may seem. Especially if the environment is as dynamic as the internet.

He addresses your issues about "short sighted" choices and backwards compatibility.
A problem that I've had is that every company says that they value code quality, emphasize developer growth, value developer's technical feedback, etc. even if they don't in practice. I've debated taking a page from old school behavioral interviewing and asking questions like:

Tell me about a time that you made a decision to improve code quality or architecture at the expense of a deadline.

Tell me about a time that you invested resources into an engineer's technical development even though there would be no immediate, short term benefit to the company.

Tell me about a time that you pushed back on a decision from business or design because one of your engineers said that it was the wrong technical decision.
Lots of research has shown connections between power and judgement.

I.e. power corrupts, because when you gain power, you judge more harshly those with less of it.

Humans have a lot of natural tendencies that are counterproductive to a peaceful society.
How to block your own IP address from Google Analytics
This makes me wonder, are there any software frameworks and languages that are specifically built for multi decade use?

Where they only release security updates and no breaking changes?
I'm slightly bothered by the "reverse-interview" concept. To me interviews should be bidirectional you are there to find out about the company as much as they are there to find out about you. It should be treated as the starting phases of a negotiation where you gain information about the value of the asset you are going to acquire.

I'm certainly happy that viraptor shared this valuable resource, don't get me wrong, every little step in the right direction is a good thing. I simply would have liked it to have a better name in order to convey a different message.
PyDev of the Week: Aymeric Augustin
Thank you. Unfortunately as a result my comprehension of spoken French sucks as compared to everyone I know that learned French so they could watch foreign films :)