skysight-inc/HackerNews huggingface dataset:
I always preferred this style of technical interview because it has two critical advantages over tests based on coding from scratch in an interview situation.

Firstly, you can work with realistic code. It can use your real tech stack and there can be enough code with a realistic structure to see how a candidate finds their way around.

Secondly, you can make it open-ended. For junior candidates it might be best to stick to simple questions like what does this short function print and see if they can reason through some basic logic. But for more experienced candidates it can be a general code review.

Your example code can include anything from superficial mistakes like typos and unnecessary duplication to strategic problems like inflexible designs or inconsistent models. You can include obvious or subtle logic errors and performance problems appropriate to the level of the role.

Ask each candidate to talk you through what they're thinking about as they read the code and see what level they work on and how much they find in the time available. Are they methodical? Do they flag the trivial stuff but not get hung up on it? Do they spot the O(n^2) algorithm? Do they spot that algorithm but then start talking about worst case vs amortized performance and using a profiler to decide whether changing to a theoretically better but much more complicated algorithm would be justified?

In this kind of environment you can quickly tell if you have an awful or outstanding candidate. For the majority who fall in between you have an objective basis for comparing their performance. And all without any trick questions or LeetCode junk at all.
I came to a conclusion that people who genuinely can't control themselves due to extremely low impulse control tend to end up in prison.

Those who claim that they "can't control themselves" yet somehow manage to be functional adults are lying - they can control themselves, they just can't be bothered.
Do you need me to go around looking for all the declarations from different big name musicians saying how they only really make money on touring, not on the record selling?

How many examples of companies and people working on free software do you need? Or authors that started out writing as a side-gig?

It's simply not true that copyright reform would lead to death of creative works. Most likely the opposite: we would certainly see a reduction in the quantity of works, but those remaining would be working out of pure interest, which would lead me to believe that the average quality would be substantially better.
Polars is for tabular data, a different kind of task.
People are always looking for an excuse to hate "the others". We will always find new groups of people to label as "the others". For now it's the Russians, so we cheer on anybody who is also against the others.
> stop signs seem to serve the purpose of letting pedestrians exert their legal right of way where it would otherwise be taken by cars

So do clear pavement markings and yellow flashers.
It's kind of like learning a subject from the final exam.

If you can pick up on the patterns of an unfamiliar language and/or codebase and make your code look like it fits in, you're probably good at both reading and writing code, and working with a team.

I can't speak for the parent commenter, but by "patterns" I am referring to multiple layers:

Detail -- Indentation, spacing, line length, naming convention, placement of braces and parentheses.

Flow -- pacing, grouping of blocks of code, levels of nesting, when and where to break up functions into spaced blocks or helper methods.

Architecture -- class boundaries, interfaces, cross-file organization.

There are higher layers but I haven't named them yet in mind and they aren't as well tested by this kind of interview.
Yik-Yak vs. the world style. I'm down.
Yes, I don't have a reddit account either, because both here and reddit are very pro-censorship. I do understand though that your comment adds no value and should supposedly be downvoted according to the community standards of this site. My point is not a troll, it is always the case that people who have no power pretend that <if you just give me the power> I will be the <really good person>. They just want power like everybody else.
When I did interviews @ Google (I only do hiring committee work now, thank god :-) I usually asked questions around bugs I added to an existing codebase, to see if the candidate can avoid the pitfalls I ran into by making bad assumptions.

As I'm a pure C coder, my starter question was usually something like:

a). What does malloc(0) return ?
b). Why does it do that ?
> With land, there is a finite supply

You say all this as if there isn't any meaningful supply-and-demand to be had in the secondary market.
Why is it completely ridiculous?
> The reason they moved to the US was to work with the programmers who were born here

Not necessarily. The US is a gathering place for top talent, and that's not necessarily because of the talent that was born here.

> American engineers who made that possible only got a 20% raise in that time

No. The starting pay has gone up 20%, adjusted for inflation. That's not the same as raises over the lifetime of a single engineer.
To save others a cookie wall / TL;DW: it's a combination of flood/bucket-filling regions defined with pencil, and just manually doing pixel art with the pencil (in both cases you choose each individual color in the gradient manually of course).

Impressive, yes. But also time-consuming. I find gradients very hard myself: both hard to match when editing an existing photo and also hard to make look good when drawing something new, but (without knowing how) I would venture that one can save a ton of time by not doing this all manually as shown in that video.

I might even argue this is not "done with Paint" so much as "done by hand / by choosing each pixel manually" (because even with bucket fill, you still choose where the line of each shade of the gradient is, plus choosing the color) which is of course entirely independent of the tool -- could be gimp, could be photoshop, could be mspaint.

Which is not to say that paint can't do cool stuff faster than just doing every pixel manually. Nerdparadise has nice tutorials on that: https://nerdparadise.com/mspaint Now that I check this page again, it actually has gradients, and it actually uses a different technique :) https://nerdparadise.com/mspaint/lineargradient Too bad it only works in a single direction, though. I see many of the submarines have more of a radial pattern which is another tutorial on NP but more manual work and less good result.
This isn't that crazy IMO, both Kotlin and Scala 3 allow this with extension methods

https://kotlinlang.org/docs/extensions.html

https://docs.scala-lang.org/scala3/book/ca-extension-methods...
40 billion is the price of existing users and brand. Almost anyone can create a platform even with less than million.
The "people will starve without copyright" rhetoric is also quite off-putting.
It breaks immediately.

Somebody writes a unlock euqivalent and maintains ban lists. Everyone subscribes, because otherwise it's full of ads, spam, and edgy 14 year olds repeating slurs like it's Xbox live.
Twitter definitely isn’t Netflix. It’s been a dog since IPO, languished under a part time disinterested CEO, and only peaked because of the pandemic meme stock era.

As an individual and index shareholder I’d love for Musk to take it away at a premium, I have zero faith management will do anything positive.
> But expecting that they provide a free service, forever seems a bit much

It's not free however you want to paint it so. You are a product there and you have a service in exchange of a permission to use their service.
> Yeah I'm gonna go ahead and stay stopped on my bike at stop lights and stop signs.

Premised by a false dichotomy. There are more choices than 1. harm and 2. servile obedience to signs.
If I came off as calling someone a douchebag, that's my bad - I've reread my comment and don't see that there, but if it happened I'm sorry. Could I re-word it somehow?

My main point was that saying "nuh uh" isn't a substantive rebuttal to a claim, especially when there's a pretty solid wealth of evidence in both directions (Musk has been a real turd to some people, specifically unionizers or laborers in his domain as well as that one anti-submarine guy who he leveraged his wealth to slander as a paedophile, but has helmed pioneering work in battery tech, propulsion, and non-government viable (!) approaches to lots of technological hurdles).

So, given the context of him being a known polarizing figure, "what has he done to deserve 'asshole':(" is not a substantive comment. LMGTFY is appropriate here, if anywhere?
Yes, people have been much worse than "cancelled" for much more "borderline" taboo opinions.

But spread of information today is definitely an issue. Back then you could be more comfortable saying stuff in private. Now with a lot of communications online, proof* of private conversations can affect you in public.

* There's also the issue of people framing things out of context but that's a separate topic.
That is cool, but it would be even better if it was opt-in during checkout, not opt-out.
Spyware on an executable level? Are you sure you know what you are talking about?
Just happened to be the first result that came up, but good to know.
> This is not a file system I would be interested in. If you’ve ever snooped in on fs activity it is constant and overwhelming on even an average system.

I'm not sure how these sentences are connected. Are you implying that allowing undo would make those problems significantly worse? I'm not sure of that. If you have a CoW filesystem, which you probably want for other reasons, then having a continuous snapshot mode for recent activity would not need much overhead.

If you're saying there's too much activity to allow an undo, well, I assume the undo would be scoped to specific files or directories!
This reads more like he burned out on Reddit than a real analysis of why Twitter could or could not be “saved.”
The high price was due to COVID and everyone being stuck inside. That’s over now and has been for some time.
Of course, if a developer comes with experience and personal references from acquaintances, you don't need to test their abilities at all during the interview process.

For example, I hired a backend developer last month. She already had the job because she came highly recommended from a trusted friend of mine, but she didn't know that. Here's how the interview went down:

Me: I see on your resume that you've achieved Grand Master level in Microsoft Solitaire Collection.

Her: Yes.

Me: Well, we won't waste any more time then. Welcome to the team.
Absolutely not. They regularly turn over IP logs to law enforcement for various reasons.
Bye DDG, was nice knowing you
Your recommendation was to teach a bootcamp to find applicants. This, in my mind, reads like a combined internship / interview that the applicant pays the potential employer to partake in.
Did I give the impression anyone would? I pointed out that I have a financial stake in Twitter in order to show that I have skin in the game that contributes to my pontifications on the topic. I'm not merely a disinterested observer.
Yeah, they call themselves the Azov Battalion. They're open about it. Whether or not that's an actual concern of Russia is debeatable but the nazi presence in Ukraine has been largely suppressed by our media so as to not taint the narrative of good vs. evil. As you can imagine it's a very inconvenient truth.
For AWS, sure. Hire ops folks for $60-75k and they turnover pretty quick or move up. If you do a formal mentoring and training program, you’ll “grow” 80% of those folks.

It’s tough to do for a smaller company, you can pay one skilled worker a wage 3x the semi-skilled worker and get 5x-10x the output.

Good luck finding that COBOL programmer.
it's a false projection though. it wouldn't be a projection of humanity -- it would be a projection of humanity warped by the games that would emerge as generations learn to cope with anonymous hyperconnectedness.

it's not some mirror that reflects who we really are, it's the chaos that comes from navigating entirely new paradigms of attention games and connectedness at scales we haven't yet evolved for.
Not the one I lived by, but some of them did, yes!
JekyllBot:5 A Security Vulnerability Affecting Hospital Robots [pdf]
You have made 6 comments advertising you.com in a day?

But for some reason you didn't bother to use your own search engine:

https://you.com/search?q=youtube-dl&fromSearchBar=true

https://yt-dl.org/ is the homepage, and you.com has the same results as https://www.ecosia.org/search?q=youtube-dl&addon=firefox&add... and https://duckduckgo.com/?q=youtube-dl&t=h_&ia=web

It doesn't list the homepage...
The poison pill was mostly developed at a time when the alternative was him selling all the company assets and leveraging the company to load it with as much debt as possible then give out as large a dividend as he could before selling off the stock leaving the company insolvent and everyone out of work.

So imagine a company taking $100 million in debt, giving all that out as a dividend then the stock price tanking through quick sales. Poison pill keeps the company going and avoids that fate.
What? Can you explain how that is terrible? I fear that the implication you are deriving says more about you than it does the method.
Does "finding the source of a bug" and "figuring out the correct thing to write to fix a bug" fall under reading the code or under writing the code?

I feel like the answer to those questions determines which is faster. One may say that you only compare (lines_read / time_reading) and (lines_written / time_writing) to find an answer, but if we remove all "time spent thinking" from both then it kind of feels like a meaningless comparison.
Back when I was a hiring manager for programmers I liked setting a "code challenge" where we gave the candidate a simple game and he had to transform it into another game.

For example, we gave you a tetris game, you had to change the code to make a snake game. Or change an Othello game to a "number sliding puzzle" game.

It was very interesting comparing people that really made an effort to use the game code vs candidates that just deleted most of the stuff to implement their logic.
yeah my ferdi worked again out of nowhere - does anyone know what happened? it seems like they're doing a total migration - might be a change of ownership? their old repo is obviously gone but there's a new (empty) account linked to from their website
> I've seen about 20 new indie films already this year.

Good for you! Now go ask the other 99% of the population what they watched this year?

> The rest of your comment (...) has nothing to do with copyright.

It has to do with concentration of power, of which copyright (and any kind of "intellectual property") is one of the favorite instruments from big corporations.

I also used to fall for this "people are free to choose" techno-libertarian bullshit. The problem is that it is not in the interest of all the corporations for you to choose responsibly. They make the game so complex and so energy consuming that eventually people break in one way or another.

"Copyright enforcement" only benefits the big players and the corporate world.
>just forget about it

I personally think this is great advice. I just imagine that the noise is the firing of my synapses.
I did this for a month and it was great as far as feeling better. I’m someone who’s had annoying, uncomfortable psoriasis and to be honest it was already going away for about 1.5 months prior to starting carnivore. This was the only diet that I was able to stick to after 5 days of an adjustment period. Bulletproof coffee, athletic greens, vitamin d and turmeric supplements along with the meat meals usually cooked with duck fat and decent quality salt. Try and find coffee that’s not too acidic if you’re a into caffeine. My heartburn/acid reflux went away and skin itching regressed as well. I also didn’t crash throughout the day and my sleep was great.
I didn’t think twice about emissions when it came to trying to get my body to a better place. Maybe you can do something passively if you really want to. If you have stubborn autoimmune issues you may need to keep it going for 3 months to get an accurate read on if you’re improving. Good luck with whatever you end up going with!
I still think Triplebyte gave me the best interview I've experienced, and I've done ~100 over the years at all kinds of companies. I've also interviewed people ~1000 times myself.

It was even more impressive because the person doing the interview wasn't super competent and yet they still managed to do a fairly comprehensive technical evaluation in ~2 hours.

One section was a debugging session where you had to get tests to pass. The code and tests were quite decent, which made it quite easy to show off. Every company should do this.

Too bad the Triplebyte promise (not having to do phone screens) was a joke and their business model wasn't good, but that part of Triplebyte had major promise.
So sorry that you had to go through that, man. Your essays really informed me, thank you!
Trump should be able to make statements that aren't censored because, when he makes them as President, they are inherently newsworthy & worthy of circulation.

FWIW this isn't really adding something to the conversation, not that I've been paying very close attention.

I believe Facebook and Twitter already had a "heads of state" clause in their policy that recognizes this.

Yup: https://www.theverge.com/2021/6/3/22474738/facebook-ending-p...

In other words, heads of state were already allowed to say things that normal users aren't, based on the reasoning you state.

According to executives that made a one-off decision, Trump crossed those more relaxed lines.

Of course a lot of it had to do with the transfer of power in the US -- he would soon no longer be a sitting president.

As Yishan says, these decisions aren't really based on "principles". They are based on "shitstorms that are brewing and that we want to avoid", of which January 6 was a perfect example.
You’re implying that all uses of `sponge` are interactive with a user actively involved.

I used sponge a lot in scripts where I’ve already checked and validated its behavior. When I’m confident it works I can keep just use sponge for simplicity.
I'm not trying to establish a generalizable moral calculus of culpability though. Just refuting the idea that soldiers fighting for nazi germany were somehow not nazis if they weren't registered party members.
You do miss out on the 'sit down and create a project' aspect though. Which shows things like familiarity with project structure, (python specific) virtual environments and paths etc.

These are good skills to have when a dev is debugging as they could get tied up for a long time dealing with something as simple as a relative path issue.
Did App Academy in 2015.

1. Hardest thing I ever did, up to that point.

2. $105k starting salary

3. The most important thing it did was get me in the door as a software engineer. I actually learned and became decent on the job. I took those skills and built my own company years later.

Hope it helps!
I’m doing a very similar thing with one of my projects. Iteration speed is much faster for my use case too.
Thanks for the hint. I'll mastodon to the list of complicated products in the article (in case you didn't notice, I already mentioned Ghost, Wordpress, and Discourse).

The only thing I don't intend to get rid of (at least at the beginning) is the need to buy a domain name. Everything else will be managed by the program. Even renting a VPS will be optional because you have the option to run on your local machine.

> I'm not saying this to be discouraging. I just think you've got a false concept of how simple the goal is.

Thanks for the concern. I've done this before at a smaller scale and I know you don't need any forest of switches and options.
Two companies I'd invested in and lost my shirt on after the pp. It left a lingering sour taste. I'd rather not name them, I'm still sore about it.
This is a good take, but I hate thread. Feature request for twitter would be a word limit per hour, so you could just put a couple of paragraphs up and not be able to tweet for 2 hours.
Twitter and Reddit came here to shout down free speech.
I'm a musician and I write software, you don't need to preach to me about this. Record sales are indeed dead but there is no chance they'll come back at all without copyright or something like it. Also that doesn't invalidate copyright anyway. Copyright is also an important part of performance, for example the laws about what happens and what royalties you get if somebody else covers your song and profits from it.

Free and open source software is completely dependent on copyright to work, so that's a terrible example.

You can advocate for copyright reform all you want but you misunderstand who you have to please when you do that. It's all those lobbying groups. There's no other groups who would be invested in reforming copyright law. The "quality" you're advocating for here is completely subjective and not up to you or me to decide, even moreso when you try to dismiss all these things that millions of people actually like as "cultural garbage".
Not even close. 4chan was vulnerable to censorship from day one, and succumbed to it completely over Gamergate, of all things.
Correct, and furthermore, Musk's offer was made after he announced his stake in the company, which is what caused the price of the stock to rise. Him offering to buy it outright barely affected the share price:

> The social media company’s shares were little changed at $45.81 in New York on Thursday, a sign there’s skepticism that one of the platform’s most outspoken users will succeed in his takeover attempt. -- Bloomberg

So while the news of a major stakeholder with the power to join the board and affect how things are run did cause a significant blip in Twitter's stock price, the attempt to buy it outright doesn't seem to have affected things much. Even if we (incorrectly) assumed that all of the rise from ~$40 to ~$45 is associated with the possibility of Musk paying $54 a share, that suggests the market assigns only a ~36% chance of the deal going through.
> it's easy to objectively identify it as such [scams], and everyone agrees it's one.

Is it actually easy to identify all scam content? Then why is it possible to find scams in search results?

> When it comes to Ukraine vs. Russia and propaganda, it is entirely impossible to have objectivity.

So should they treat every news outlet as equally ranked? Because I'm struggling to think of any news reporting that could be said to be free of bias or could be said to be completely objective.

> ...to classify all Russian outlets as spreading misinformation and all Ukrainian outlets as objective truth

Is that what they did? Because what I read was that they would "down-rank sites associated with Russian disinformation." So you have to dig a few pages deeper to get to 'Russian disinformation', and I don't see any anything indicating that 'Russian disinformation' means everything published by a Russian News outlet (re: the invasion).

I don't think something being a top search results implies that it is an objective truth either, especially with ongoing news reports.
It seems like you're conflating blame with bugs.
Fair enough, if that is meant then I imagine any competent programmer should be able to do that. I kind of figured that indentation and nesting levels were what they considered to be "superficial things [like] naming conventions". Cross-file organisation might be too large to adequately demonstrate in an interview, presuming it's not a whole-afternoon type of thing that seems popular in the USA (or at least I haven't seen them in Europe, I'm sure they must exist if only I post a comment saying they're not popular here).