skysight-inc/HackerNews huggingface dataset:
Yeah this is the one point I don’t get. I’m not sure what “stress over it” means here. I don’t know why I’d stress over it. I’d stress over having indeterminate and mixed styles. Strict style greatly lowers mental overhead, particularly on a team (esp if larger) where one person needs to jump in and work on code others wrote.
> Nobody but other devs cares about the simplicity of the code if the code works.

They care when you start quoting a week for a simple addition that should take an hour, because every time you have to wade into a mess, in which one wrong semicolon in functions.php brings down the entire website.

Of course you test and you test, but you're surrounded by landmines at all times.
Engineering Leadership Interview Handbook
OP here. A few months ago I changed jobs. The last time I gave an interview was as an entry level engineer 7 years ago. Since then I had become a manager and hired many engineers but I had no clue what questions will be asked when I interview for EM+ positions. I interviewed with a dozen different startups of different kinds. EM positions are vague and vary from company to company. With each interview I got better and I realized it would have been much easier if I knew what to expect in these interviews. I have collated the questions I was asked and this can evolve to a repo of all kinds of software engineering leadership interview questions.

Please share feedback, open issues, participate in discussions and I will try best to improve this
Bacteria are thriving in the sky (2017)
Secret ballots were devised in response to people historically doing things like this. Then they stopped happening because the countermeasures worked. If you take away the countermeasures, what then? Have criminals ceased to exist? Are the incentives somehow different now?
> One is depth-from-defocus combined with "overlap" hierarchy information that can be used to build a depth-map. This is the technique Tesla talked about. Interestingly, instead of manually coding up this algorithm, they simply trained a neural net to do it! The trick was to use the radar data as the "ground truth", and train the NN to predict it based on the optical input. It works quite well, and there are videos floating about showing how a Tesla can build up an accurate 3D model of the world around it as it drives along.

Wow, that scares the shit out of me. I hope this is not serious. How could they possibly understand the neural net and how it will behave under novel scenarios? This is the opposite of what you want in a safety critical system.
Yup, we totally trust government sources from Iran. It's usually decades of mismanagement + bitcoin + UH6 centrifuges used to create weapons grade uranium in their case.

I've lived in the Eastern block, used to do homework at candle light so the regime could export goods under market price and earn hard currency. It's from the same playbook.
You can also sell or donate wine...
People with experience are acknowledging this has value for newbies. That you already learned the lessons doesn't mean they aren't valuable to others. Sure, not the most exciting and creative piece of writing we have seen this year, but there's no need to be so dismissive either, we shouldn't let our own experience blind us.
Disable automatic updates on production. You don't want automatic updates on a production site anyway, they could bring your site down without you knowing. Instead, install updates and plugins locally, test locally, then push to live. That's really true for any code versioned software.
I found a StarMax in the bin behind a local university department a few months ago. I thought those days were long over, but there are still strokes of luck, apparently.

These PPC Macs are a bit overlooked, in my mind, but of course this is exactly the era that I really started to get into computers. Just seems like everyone else is either attracted to the compacts, or the colourful iMac era ones.
Yup. You mean UpWork, or companies like it.
We have been doing this successfully for many years, no problems. Some multi site installs have up to 300 sites running on them.
You have to know when to use the available technology.
Capitalism doesn't 'deem' anything. Let's remain literal. It's a word denoting the concept of freedom for individuals to extract and use value from their activities to secure an economic base for themselves. Groups of the rest of us can then form independent judgements on those activities and regulate them by law. In this way, all-powerful sanctions are available for governments and regulators to haul in those activities which pollute our world. Separation of function is key to this process and is absent in communist societies hence the appalling pollution created by the USSR in its heyday. Sadly, governments and their regulators do, in the main, a woeful job in performing their regulatory duties.
Do you have any examples of this actually happening?
Jim Haynes: A man who invited the world over for dinner
That is quite interesting OSS funding method - charge for legacy patches and support which no-one else would provide. Although it is likely boring venture, but that is the price.
>"[Billy Wu] has been writing for a few years about electrochemical 3D printing systems that can handle metal. He’s recently produced a video that you can see below about the process. Usually, printing in metal means having a high-powered laser and great expense. [Wu’s] technique is an extension of electroplating.

Boiling down the gist of the process, the print head is a syringe full of electroplating solution. Instead of plating a large object, you essentially electroplate on tiny areas. The process is relatively slow and if you speed it up too much, the result will have undesirable properties. But there are some mind-bending options here. By using print heads with different electrolytes, you can print using different metals. For example, the video shows structures made of both copper and nickel. You can also reverse the current and remove metal instead of depositing it."

PDS: I wonder if this process could print a single transistor...

(Perhaps if silicon, or some other semiconductor (as opposed to metal) were mixed in an electrolyte solution (not sure of the chemistry of this at this point, or if it can be done -- more research is necessary) then maybe that could be deposited in addition to the metals, and then a transistor, or transistor-like circuit, could be created...)

Key Phrase: "Electrochemical Additive Manufacturing"
Raspberry Pi Pico Review: ‘Pi Silicon’ Debuts on $4 Microcontroller
It is. Just like 0 is a natural number, the empty string is a string, the empty set is a set, etc.

If you've worked with mathematical proofs before, you'll have experience with how they make proofs shorter and more elegant.

That's why they're natural base cases.
Yeah and it even gets better that they now have a direct connection to the US (Vice) President. Just, what could go wrong with that and mob-like anticompetitive behavior...
Face Recognition in Flutter
I remember totem lake in the early 90s, the compusa there was where I drooled over PowerPC Macs that were just released. It was never a nice place, frankly I’ve overlooked that area for the past 25 years unless I need furniture and don’t want to go to Lynwood.

> I can't explain it, but the developers knew what they were doing.

Asians, especially Chinese, tend to go for malls with upscale stores (if my experience living in Beijing is any indicator). I bet that’s what the developers were going after.
That was definitely part of the original plan! I spotted two other attempts [1] [2] here using BERT and ElasticSearch respectively.

The main performance issue with the Postgres FTS approach (possibly also the others?) is ranking. Matching results uses the index, but ts_rank cannot.

Most of the time, few results are returned and the front end gets its answer in ~300ms including formatting the text for the front end (~20ms without).

However, a reasonably common sentence will return tens or hundreds of thousands of rows, which takes a minute or more to get ranked. In production, this could be worked around by tracking and caching such queries if they are common enough.

I'd love to hear from anyone experienced with the other options (Lucene, Solr, ElasticSearch, etc.) whether and how they get around this.

[1] https://news.ycombinator.com/item?id=19095963

[2] https://news.ycombinator.com/item?id=6562126 (the link does not load for me)
Ask HN: People who've been jobless for a while, what's keeping you going?
I lost my job sometime around May 2020, so it's been rather long since I've done anything for money. The job market is somewhat sparse, and it's a particularly tough slog this time round, but particularly because of the pandemic restricting travel and so on. Is anyone in a similar situation? What's keeping you motivated if you haven't just changed direction?

(If you have been traveling internationally and recreationally, probably best to keep that to yourself unless you've been taking advantage of places in very close proximity)
I don't think that matters at all. One bite of food would contain more mineral than natural water.

Minerals and water are actively regulated by your body; it can deal with pure water just fine.
Not the parent commenter but typically (at least here in Russia) filters have cartridges that do this.

For example I have this model: https://aquaphor.com/en-us/reverse-osmosis/ro-101
I really love that you said this. It’s such a great example of what I keep saying, that “simplicity” is more about what one likes or prefers rather than describing some actual sort of elegance of design.

“Simplicity” does not really refer to a property of the subject in question, it’s a reflection of one’s attitude toward the subject.
For the rationale behind building site.js, refer to the post "What is the Small Web?" [0] by Aral Balkan.

[0] https://ar.al/2020/08/07/what-is-the-small-web/
I think this is a nuanced point.

Enforcing code style manually probably means not enforcing code style (at best, selective enforcement). But, I've yet to see a good tool that only enforces format on new/changed lines; and a reformat en masse is asking for trouble.

However, the arguments about a consistent style giving you benefits seems to fall flat when you've got dependencies that don't follow your style. If you're in go, and everyone uses gofmt, and always has, I guess that solves that. But you probably still have some code that's not in go (the OS you run on, at least), and that's probably not consistent. And if you're not in Go, you may have a different required style than your libraries and your language environment and nothing is consistent anyway; so why enforce anything beyond best effort blend in with the surrounding context?
I remember when I was in primary school, there was a popular game where you press the chest of another person, cause suffocation and the other person will faint and fall. It was before internet was common and no smart phones. I heard story that kid has died, but I could never verify. My opinion is that tragedy happens with or without internet, internet spreads news faster and further.
> Do you get a lot of interference putting mail in the mailbox where you live?

Does your mail change the result of an election? Because people might care about it more then.

And, of course, it's mostly not the mail, it's the fact of having your ballot outside of a polling place where someone could coerce you to vote a particular way. Or just reward you to hand over your blank ballot, or punish you for not doing so.
Exactly. Suddenly you’re paying for a place to work. You’re likely giving up space in your own home (for at least part of the day) without any compensation.
> Everyone who claims this is lying to themselves.

Certainly not everyone.

At my employer a VP produced a report for 2020 showing how his division had increased both productivity and response times across the board by a non-trivial margin due to WFH.

Doesn't mean this generalizes across all teams but certainly at least some are seeing such data.
For what it's worth, I believe that most families with kids thrive with a decently sized house and a large garden around it. I expect this is how most of HN's crowd grew up, too. With more people and shops etc in your neighborhood comes noise and chaos.
Dampak Besar Kolaborasi Fortnite Dan Klub Sepakbola
Gcc will, still run c89, c++98 and even fortran66 code. There has never been any suggestion support for these older versions be removed.

Packaging Python 2 & 3 together, like gcc, would have had another big advantage -- it would have meant early on I could assume everyone had Pythkn 3. There are still, plenty of macs with 2 but not 3 by default.
On the contrary, this is exactly how each generation exceeds previous generation. As human, we were allowed to explore freely, risk taking and try different things. Sometimes the outlet of this exploration is this kind of game, sometimes it is something amazing, unfortunately you cannot separate them.
I suspect it was meant to be read as “I don’t [just] believe in climate change, I’ve researched it, it’s something I’m concerned about.”
What was the reason that drove you to only drinking distilled water ?
That is all usually still triggered even when using git. Git doesn't manage the database, so when the files make it to production and the plugins are activated, they see a database they haven't been installed in and then correctly run their hooks. Same for migrations. Migrations are managed with database entries, so if your production database doesn't have those entries, it will still run the migrations.

You can check out WP CLI to automate some of this as well.
Sounds like a bunch of happy people who found their friends.
This seems like a great alternative for Linux/chromium users. Thanks for sharing
I built out a site using headless WP with Next.js as the frontend. With server side rendering of React, we still took advantage of caching the HTML in a CDN like you would with vanilla WP but it was much easier to build our own theme as desired with React.

While configuring certain parts of Wordpress was tricky at times, especially because deploying it is at odds with the stateless nature of modern containerized infra. Particularly plug-in installation with WP cli requirng a DB connection which makes it tough to fully configure your installation at container build time. I still think it struck a balance between developer experience and a good experience for the content team.
Programmers are not salesmen, and this is not in their control, the scrum master often demands a question/answer type of conversation.
I have no problem diving into a new code base on a new team with a style that’s unfamiliar. I absolutely do not want to switch styles as I work on the same project. I don’t much care what the style is. Successful implementations I’ve seen include: tasking one person to pick a style, then allowing exactly one meeting in which to iron out the quibbles. Or, literally googling for a style recommendation and just choosing one of the top results, as is, no discussion.

I agree that the endless religious arguments must be avoided. All the more reason to seek a strong manager and / or tech lead.
Better is better but a daily stand-up provides a common, catch all meeting with the entire team blocked off to participate.

Why wait? Well you could should tap(which we all hate), or you could email, ...or you could do something else in the mean time and bring it up in the daily.

Lets say you're blocked but don't know who to talk to? You could end up playing email tag or out on a few man hunts as you jump from team member to team member looking for who knows what ...or you could bring it up in the daily.

It solves a lot of problems, even if it doesn't solve every problem.
As far as I know there aren't any real hooks available for running code on plugin install, only activation. But I think OP is referring to core WordPress code and not plugins.
Maybe good idea would be to have a community decoupled from business?

In any case, you could still have offices as a place for people meeting face2face and do the most "thinking" or "creative" work at home, it's not mutually exclusive.
> Unless the new Wordpress is written in node, comparing the new “JavaScript” stack with the old “LAMP” stack makes no sense to me. Those technologies do not serve the same purpose.

It's written in JavaScript; it runs on node.js - at least the front-end part of it (https://github.com/Automattic/wp-calypso). I don't know what is running on the backend but I don't think it's LAMP?

The point I was making though is that "WordPress" can mean two different things - wordpress.org (the self-hosted LAMP version) or wordpress.com, which is a SaaS offering (so the language is more or less irrelevant unless you're really interested in running your own admin frontend, I guess).
It's not coming from Stanford. It's coming from three economists -- Barrero, Bloom, and Davis -- only one of whom is at Stanford, Bloom. Barrero is at ITAM in Mexico, and Davis is at Chicago (he does have an affiliation with Hoover).

It should go without saying that a single professor does not speak for Stanford, or vice versa. For all we know everyone else at Stanford thinks Bloom is an idiot.
> My workspace is also superior to what I'd ever get in the office.

An interesting factor is how this is dependent on how confident we can be to continue WFH.

Like many people, I'm nowhere near prepared to have a good home office, the house is way too tiny. Which was fine when I didn't WFH more than a few days a month.

But I could easily solve that by moving to a cheaper area where I could get a house with enough space for a dedicated home office. But to do that I need to be confident WFH will continue. Hard to predict what to do.

(So what I've done in the interim is lease a small office walking distance from my house, lots of vacancies right now.)
DVLA’s IT system was so out of date that people couldn’t work from home
If your using a versioned codebase you likely don't want that anyway. Otherwise you'll have untested code on production, and you'll have to commit it to the project repository from production.

Normally you want all code changes to happen locally, and get tested locally, before they ever make it to production. Which means your client will need to get you to install the plugin.

It depends on the project and client though. There are levels of engagement that are a lighter touch, and in those cases you just accept the mess and risk associated with users managing plugins.
I understand how microsercices work, but I'm referring to a specific kind of antipattern where an application is arbitrarily atomized into many small services in such a manner that there's zero scaling advantage. Imagine making every function in your application a service as an extreme example.
We have nuclear fusion, both from the sun and here on Earth (ITER, NIF, H-bombs). The main problems with human-started nuclear fusion are that (so far, iirc) it consumes more energy than it produces, and we cannot sustain it for a long time.

"The benefits" are currently very calculable, and direct economics of nuclear fusion is very negative. (The research benefit is unique though.)

For nuclear fusion to be of incalculable benefit to mankind, we need insanely small nuclear fusion that is energy-positive and sustainable in a simple way. "Insanely small" means smaller than Moon-sized, when we know that Jupiter-sized is too small/light in nature.

Sustained nuclear fusion for energy generation still faces daunting challenges.
"What is a cynic" the famous line from Lady Windmere's Fan comes up empty. You can find it here: https://www.gutenberg.org/files/790/790-h/790-h.htm

The next line I can find though. How are you parsing?
You want young talent and you also want older talent.

Mixing remote and non-remote cultures is hard but if done right it will outperform any of the two extremes you pick.
'Inevitable' Google and Facebook will pay for Australian news, treasurer says
the system in France works well, Google pays, the others also, a certain margin for snippets, and a subvention to the press in general. they did not like it, but then accepted and it is good so. Australia want's to scream, and it's mostly political communication agains the bad big ones,
no seriously working person can do today without google, it's just to perfect en efficient. for smll things you can use bing or yahoo, duck duck is bing also, so, very dumb australian position
>you need to run php on your webservers

are you suggesting to run it remotely? on even a small site the performance impact would be noticeable. also, you'd then be securing two systems instead of one
"Although it's a fundamental feature of object-oriented programming, remarkably few OO languages really follow it. (Eiffel is naturally an exception.) Most languages simulate it by convention, hence the habit of using accessors such as getAge in Java and C++ programs."

https://martinfowler.com/bliki/UniformAccessPrinciple.html
I haven't worked for pay in almost 18 months.

What keeps me waking up every morning? Tesla stock. I put most of my life savings into it at the start of the market crash in April and May:

https://news.ycombinator.com/item?id=22958528

https://news.ycombinator.com/item?id=22964850

I still write software, though. I learned Swift and started writing on a digital learning app for the iPad.

I probably won't go back into software for pay. I'm moving from California to Tennessee this week, where the taxes are a lot lower. I think I'm going buy some land and build a house.
This is cool to read. I'm about 6 months in making a game 99% myself, full time. Writing all the code / making all the 3d models / sfx / marketing etc. A friend has recently been helping me with music. Reading what you just said is heartening, I've received some shade about how inefficient it is to do it this way.

I chose to do that so my vision would shine through (and so the art style would have some core consistency!). It's still an open question if society will appreciate what I can deliver enough to support me continuing to do it.

It's an interesting feeling to be in the midst of it. ~Every other day when I post a little 30 second video of progress on twitter, it's like a question to society asking if I'm good enough, if I should be allowed to go to the dentist, maybe buy new glasses some day as a reward. Is my mettle enough to survive without evermore accepting the indignities that come with fealty to someone else's banner? Someone else's dreams? The trickle of likes and follows have been a resounding "maybe! We're bewildered but intrigued. Keep going!"

It's like a super position between a catastrophic, financially ruinous midlife crisis -- or being some eccentric who knew he would be alright all along. Just between you and me, it could go either way. Reality will write the label.

While the uncertainty is kind of fun, I'm really excited to be nearing a moment to get a firmer answer. It's hard to imagine any answer could get me to stop tbqh.
Opinion: but I think "invaluable" is overstating it. I agree with OP: not that important. Again, opinion. (20 years experience here)

Edit: I suppose I should clarify why. I think there are more important issues to focus on when building software with others.
Red wine makes it look darker. Also, you may need some liquid to loose the onions from the pan that would burn otherwise (deglazing). So using red wine allows more heat and optically gets you there faster.