skysight-inc/HackerNews huggingface dataset:
No, that's not true. If you know anything about C and writing secure code (which I what I was probing for) you know about using malloc(). You know because you have to know something about the internals of memory management.

Imagine you just read a 4 byte value off the network, and it's part of a protocol that specifies how many more bytes there are to read. You might (in error, ahem... :-) pass that value to malloc(). So knowing what might happen if an attacker puts an unexpected value in there is something you need to think about.

If you don't know or can't guess because you don't know how malloc() works, then you're not the person I'm looking for.
> That, combined with some aggressive product delivery, and a shakeup away from the product doldrums

This argument seems to be that Musk is a hero and he will transform Twitter which is currently being mismanaged. That isn’t a very good argument unless you’re a Musk fanboi. Just to state one reason: actively transforming Twitter while also leading both SpaceX and Tesla just isn’t gonna work, and he hasn’t put forth anything serious so far to explain how he intends to make this change.
1 hour. The initial bug takes most people about 5 minutes or less (the console error practically tells you what to do if you actually read it)
1 - Evolution is only increased genetic contribution to the next generation. Random mutations that help with that will become more common. It's not a magical process that makes us better.

2 - It turns out that your mind does control it directly. The greatest predictor of improved muscular strength is how strongly you can intentionally contract that muscle. Unfortunately, you learn to do that through exercise :|
Yes I know, I've heard that a lot and it's a weak and harmful comment that kernel people should absolutely not be making. It actually pains me to see it typed again. You don't actually want a software project to be like that, it makes it very difficult to enforce the license when it actually needs to be enforced because you can't get consensus from all the copyright holders. It also increases the risk that some copyright holder (like one of those descendents) goes rogue and you have another Patrick McHardy situation.

If there really was enough reason and will to do it, they would just track down those people, or they would remove that code and replace it with something else. Just like they've done every time in the past when there was copyright problems. Just like any other big open source project has done when licensing became a problem.
Yes. Write test code for glibc. You'll find it always returns one of the two. There is a reason for that.
>I cancel all interviews where I'm supposed to talk to some HR girl instead of an equal

Seems like those interviews are doing their job then if they screen you out
For everyone reading, being on the hiring side I would advise against bootcamps. We pretty much stopped recruiting from those because the signal to noise ratio was just too low.

It seems a lot of bootcamps teach with rote, rather than by looking at the underlying concepts. My favorite example is git. I've seen bootcamp grads claim they can use git, but what it really meant is that they memorized a few git commands and as long as they don't stray too far from those, they can sort of work using git. But cherry-picking, rebase, proper branching forget it.

I'm extremely skeptical of bootcamps, especially after learning that some of the TA's at Lambda (the most famous one) are hired to help with teaching as little as two months into the program as students[0]. I guess that counts toward their "placement" stats!

Not only that, but Lambda seems so desperate that they will offer a fresh grad at no cost to any company for a 4 weeks trial period. [1]. And that's, sadly, the most high profile one out there.

Notice there's no "Law Bootcamp" out there.

[0] https://nymag.com/intelligencer/2020/02/lambda-schools-job-p...

[1] https://news.ycombinator.com/item?id=25138610
> Politics being the center of cultural life is a sign of bad things going on

I was going to disagree. But then the historical examples that come to mind at the tail end of democracies and republics is this sort of populist (versus civic) engagement.
Twitter’s board doesn’t have any obligation to maximise short-term profits for investors (or maximise profits generally) - there has always been a misconception that companies/directors had to by law but the actual laws are much more general.

But at the end of the day, if the board thinks that Twitter may be worth more long term than what Musk is proposing to buy it for, then it’s perfectly reasonable to argue that it’s in the shareholder’s interests not to sell it.
> will be looking for traffic coming only one way

which direction is that, exactly? any cyclists or pedestrians coming the wrong way down the street will be in front of the vehicle. are you saying that drivers will exclusively look behind their vehicle while driving down a one-way street, and only very occasionally look in front?
Would really like to see one day a post about 'when hiring developers, read their CV and have a technical discussion about their past work in relation to the role required' becoming a thing.
It seems an awful lot like the Wall Street explanation was "If you don't give us rich guys lots more money then poor people will lose money." Couldn't we have let the corrupt and incompetent banks go broke while giving money to the individuals who lost money? Like, bailout retail instead of Wall Street?
Completely off-topic: I am 99% certain that I read a very similar comment on HN a few weeks back. Did you happen to share this anecdote on another HN thread?

This is my first time experiencing HN deja vu :)
The best and most effective way to negotiate a salary or promotion is to have a competing offer.

If they want to keep you, they’ll pay and you win. If they don’t want to pay, you leave and still win.

Im sure there are companies out there giving raises out of the good of their heart but why would they do it?

If nobody else wants to pay you more, why would I?

I know this is frowned upon here at HN and we like to think people get rewarded for good performance but unfortunately only a fraction of companies work like that.

Good luck!
This is actually what this law is about. The difference between a cyclist at a stop sign and your average vehicle is visibility. Cyclists don't have blind spots the way cars & trucks do.

So if you can reasonably see that there is no immediate traffic, you don't have to wait at an intersection and risk hoping that another driver at a 4 way stop will respect the stop sign. This whole law is being called the "Colorado Safety Stop" but was initially called an Idaho stop [1][2]. It resulted in a 23% reduction in bicycle crashes in intersections with STOP signs only [3].

Even if you think the results are not intuitive, they are certainly backed by data. Making this a law just means cyclists won't be harassed by law enforcement for doing what is statistically known to be safer.

[1] https://en.wikipedia.org/wiki/Idaho_stop

[2] https://www.youtube.com/watch?v=HT_KdFCVEdc

[3] https://www.bikede.org/delaware-yield-crash-data/#page-conte...
When there's a dedicated bike lane or a wide shoulder, riding side by side impedes car traffic unnecessarily. In this situation, when cyclists are riding single file, vehicles can pass without needing to enter the opposing lane. Riding two or three abreast, vehicles cannot pass without needing to enter the opposing lane.

In the absence of a bike lane or wide shoulder, I don't feel that it matters much as it's just an unsafe situation regardless - there's an argument that a large group in a pack is shorter and therefore safer and easier to pass, an argument that having to swing "wide" into the opposing lane is more dangerous, an argument that cyclists in this situation simply should not be passed (in which case IMO they should pull out at the next opportunity, just as a slow motor vehicle would be required to do in many states), and an argument that the situation shouldn't exist to start with.
I get it the wealthy nations are sending their waste to poorer nations but the wealthy nations are getting a lot of plastic from the countries that manufacture the goods in the form of plastic packaging in the first place.

We need to stop the plastic at the source, manufacturing countries, rather than to dispose of the packaging after we get the products delivered. It's not all the waste but it would have a big impact on the amount of waste created.
> The reason they moved to the US was to work with the programmers who were born here, so yes it literally because of our accomplishments that people strongly desire to immigrate here, and that doesn't diminish their contributions.

People moved to the US to work with the capitalists. There is plenty of talent around the world, while capital is far more scarce. The key US advantage is that it first won WW2 without suffering massive destruction, and then it used its economic advantage to win the Cold War. American share of private wealth has long been far more impressive than its share of technological talent.
I wrote one of those last week as a sort of poor man’s video editor. Besides aliases for common commands (like extracting a time range without re-encoding), it also takes the tedium out of repeatedly typing file names. Output file names are generated based on the input file name, with a prefix that auto-increments like sql. Input files can be referenced by prefix. It makes a huge difference.
the blog author doesn’t take them through the company’s code base. the author creates code for the interview.
Interestingly, my experience has been the exact opposite. I live in the Seattle area and always ask Amazon tech people how they liked their tenure there. No one has said they thought it was a good decision to work there.
Wow, I see, thanks. Makes you wonder why they couldn't fix it instead—sounds like it was a fundamentally difficult problem to solve?
That's my question:

Did this guy's ex-wife agree to be a subject of a blog, articles in major publications, and a book??
If you wanted to check if they can write a query than ask them to create a simple select or insert statement. The drilling down turned the interview into a hostile conversation. Easily ways to test that skill.
You have absolutely zero awareness of the ideas of those you disagree with.
> as usual, the best way to architect a piece of software becomes most evident once you’re done writing said piece of software

So much, this - I've occasionally gotten the opportunity to rewrite a piece of software and it is always a much better design the 2nd time.
I'm wary of engaging with this comment at all but... How are you so sure it was "some psycho test" rather than, say, their actual availability?
I can’t share the code, unfortunately. It’s a full stack CRUD app with some third party API integrations.
You’ve got it! Gaining insights into their problem solving and critical thinking is a primary goal (more important than fluency in the various frameworks used).
> neighborhood residents complain about speed

Damn right they should complain about speed. Cars at high speed are just plain dangerous, and should slow down.

Streets are so dangerous here for non-drivers. There needs to be much uch ore complaining AFAIC.

> such as using curbs to narrow the street at intersections to just one lane'

That'd be great!
Thanks for the feedback and the encouraging words.

I did try, but front-end development is harder for a database engineer...

Definitely could be improved here.
If You’re Getting a W-2, You’re a Sucker
>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.

What does "very interesting" mean here? What does this particular comparison tell you? It's genuinely unclear to me which you prefer, why, and what signal you get beyond willingness to follow an instruction in a peculiar context.
>Reddit is "really, really racist, sexist, and authoritarian" because there's literally no other way to be a major social media site.

This is flat out not true. .win, 4chan, gab, gettr, odysee all exist.
(To be clear, Musk is a shitshow, but a cash-out is a cash-out. How to balance those things is above my pay-grade.)
"and I don't have the patience to deal with it."

That's probably a better description than I could come up with for dealing with my mom. Sooo much patience is needed, and it's usually not enough to keep the frustration at bay. It results in talking to her infrequently.

It sounds terrible but she's one of those people that is "too nice". My wife didn't believe me until we stayed at her house for a couple days, but now she gets more annoyed than I do. So it's not just me.
Yes, that’s fair. However the bug is really trivial to solve and does not require much beyond reading the console error and then making a tiny change to the server code.
Beacon in the Galaxy: Updated Arecibo Message for Potential FAST&SETI Projects
> You can't yell Fire in a movie theatre if there's no fire.

Actually Schenck v. United States was partially overturned and severely limited 53 years ago, so that hasn't been correct, technically, for some time. iow, you probably can shout fire in a crowded theater, but it depends on the circumstances whether you'll be arrested, whether you've presented a clear and present danger, whether you caused a stampede, whether anyone was injured or killed. But if you are arrested, it won't be a free speech case. The charge will be disorderly conduct, or negligent homicide, or some other charge. Justice Holmes' quote has sort of taken on a life of its own as a determination of what speech is not protected, but really there's no law against it. FWIW, I'm not advocating for it, just being pedantic.
Or maybe copyright and "intellectual property" is precisely what leads to existing a "bigger one" in the first place?
Him monetizing his divorce like that is disturbing if the wife didn't agree to this.
You basically need them to enforce pedestrian crossings.

I grew up in an older suburb that made judicious use of yield signs (give right-away to pedestrians AND vehicles). I remember being told as a kid to always give the right-of-way to cars and only cross when the intersection was clear - Smart advice from my parents, because cars had no issue zipping thru the intersection without slowing down while I stood at the corner waiting to cross.
The way the rule it is written and the way it is enforced have nothing to do with each other.
I mean... remember Voat? That was literally the whole point was they would take the refugees from banned subreddits into their Reddit clone. The place got unbearably racist and then the site died. I remember because I checked Voat out periodically for a while, I was on the fence about this whole "free speech" debate until I saw the end result.
I read “no open PRs”
Show HN: Neptune Lang – A concurrent fast dynamically typed scripting language
Democracy Is a Ruse
Power always rules. People are manipulated by those in power. The masses are almost always led rather than doing the leading.

At the end of the day what matters most is that people can lead relatively free private lives.

Technology and modern society are chipping away at that stated goal of democracy and allowing people to be manipulated by ginned up outrages and fears.
The disconnect between you two seems to be an understanding of what the price of a stock means.

The stock price today represents what investors think the future value might be. The speculation that the dip will bounce back is built into today's price.

The reduced price over the high represents the perceived risk that it won't return.

Musk values the stock higher than the mean investor.
Funny how his free speech ideals come to an end as soon as someone says the word "union" at Tesla.
After considering it for a bit, my opinion is that it's mostly a political ploy; if he buys it, he'll bring back Trump et. all, expecting that once the GOP is back in power, they'll make any trouble he may be expecting with the SEC and the National Labor Relations Board go away

I think there are probably other factors at play too. His ego, of course. And also the general desire, also evident among VCs like Andreesen, to discipline the Silicon Valley workforce and remind the uppity code-monkeys who's really in charge.
Alibaba's Arm-based 128 core CPU will send a shiver down spines at Intel and AMD
I had an interview like this for a senior position, it turned out to be the most enjoyable interview I've ever done. The group lead really showed himself and found out at what point would I stop and say I don't know.

There's nothing aggressive about this approach unless you make it that way and finding out if people will start bullshitting or admitting the limits of their knowledge is a massive advantage to someone you might need to depend on.
They work against anyone they think are against American hegemony. There are some right wingers in that, but they consider all left wingers to be enemies.
"And for some reason, in real life I seem to be surrounded by peers with successful jobs and picture-perfect families."

I'm sure they aren't. People show the things they want you to see and hide the ones they don't want you to know about.
What? I made no comment about fault or crime, all I commented on was that the article did a poor job of explaining the situation.

But since you decided to be snarky, "crimes" are irrelevant here since it is a civil case between private parties.
There are Nazis in Ukraine, see the Azov Battalion for example. There have been several instances where western media has picked up pictures of Ukranian fighters and readers have pointed out Nazi symbols on their uniforms.

That said, I don't think even the Russians thought this war was about "De-nazification" despite that being the official line. Their focus has been on taking over the Donbas region and securing utilities for Crimea (another stated purpose of the war).

Also, it's worth pointing out that we in the west think of Nazis as primarily being anti-semitic, but Russians think of them as primarily anti-Russian, so claiming to be fighting Nazis is a good line to get popular support in Russia.
Courts have upheld poison pills that treat 13D and 13G filers differently. I'd wager most ETFs that hold 5% of major public companies are 13G filers. Vanguard files a 13G for twitter. To be fair idk what the twitter pill will do - maybe it will be more aggressive.
> Just another socialist redistribution scheme.

Yeah, praised by socialists like Milton Friedman.

Granted I think LVT is kind of dumb too (saying this as a communist, fyi). I think the incentives it sets up are interesting and could make sense in a lot of cases in a market system, however short of a country run by an oligarchy of economists, it seems to me nobody would willingly turn over their property so such a system. Also, I can't help but think about how value assessment would actually work...seems it would be an easily corruptable process.
Firstly, you seemed to imply that malloc(0) always, for all implementation, returns one or the other, and one of the two answers was wrong and the other was right.

Secondly, why should a C application developer know enough about the implementation details of malloc() to answer such an esoteric question? Malloc can not, by definition, be implemented in C, so it seems a bit out of scope.
1. The possibility that Musk would bid for the company, nonzero before all of this, goes to zero.

2. The market observes a very capable businessman, after discussion with management, deems it incompetent and value-destructive.

3. Said businessman, with a track record of remarkable success in a variety of ventures and demonstrated skill with social media, may launch a competitor service.

All three of these are bad signals for Twitter's future cash flows.
Trunk driven development has worked well everywhere I've used it.

That being said, pull requests / code reviews / merge commits are totally compatible with that. Gerrit, for example, does every commit as a mini-pull-request on top of a branchless HEAD, and when the review finishes, you merge to main/trunk and off to CD it goes.
This makes a great deal of sense, to me.

But I am also the type of developer that would do well at this (experienced and older). Young folks, right out of school, or with just a couple of years of experience, would not do as well.

I’m pretty convinced that one of the goals of LeetCode tests is as a “young-pass filter.” It controls for people close to college age, where those types of problems are common, as well as people that are willing to work very hard, learning exercises that appear pointless.

Not sure that many companies, these days, are actually interested in older, more experienced, developers.
Elon has a bit of a history manipulating markets to his advantage. This could just be that, again.
You’re 100% not arguing in good faith, but I’ll answer anyway.

https://nybc.net/education/bike-law/2-uncategorised/68-a-sum...

A quarter-second honk gets cyclists’ attention without startling them.

Some states and cities actually care about the flow of traffic, because it will cause hourslong gridlock otherwise.
Who would join his new network that isn't already on gab, parler, gettr, or truth social besides Telsa fanboys and a bunch of crypto enthusiasts?
If the former president of the United States with a distortion field around his politics and the largest cable news network backing his every word couldn't succeed in launching a platform, I doubt Elon can. Unlike Elon, Trump has constantly blasted news networks and tech companies in the U.S. as being fake and run by lefties, to the point where his entire base believes it, and even that wasn't enough to migrate them off of twitter, because again, network effects. Twitter benefits by having everyone on it, and with no one to yell at Trump's audience is left to talk to themselves, which is boring.

Additionally, with all due respect to Paul, his logic here is absurd. "I'd be interested so that means everyone must be" is the wrong line of thinking for a product launch like this. Everyone is _interested_ in something the first day, but whether or not that's enough to build on is another matter. So many social networks had massive first day signups. I was "interested" in Byte on the first day. I signed up, posted a few bytes, and stopped using the app after a week. Parler, Gab, Truth, had "interest" too. The problem is that critical mass of users he describes are all just talking to themselves in their insular group (elon fans) just as the right-wing networks had their conspiracy theorists etc. It's enough to have users, but its not enough to promote long term growth. I know it's not something _i'd_ be interested in, which refutes his point because its purely anecdotal.

So, the only demographics that'd actually stick with an elon twitter competitor are: People who love elon musk and everything he creates, and people who are banned from twitter. If it shakes out to be anything like Gab and Parler, the later means the site is going to swarm with Nazis like every other free speech competitor to twitter, which as a jew is something i'm deeply uncomfortable with. There's not enough free speech in the world for me to put up with being harassed by people who share the views as the ones who murdered my great grandparents. And as much as people here enjoy grandstanding about free speech, its likely something you're uncomfortable with too, otherwise you'd be on those sites.

Basically, the product elon wants to make already exists and it has no users. If Trump (who had a significantly bigger following on twitter than Elon) wasnt enough, if big right wing stars like Milo werent enough, what's gonna be enough? Because copy pasting Truth and slapping Elon on the front... wont be.