skysight-inc/HackerNews huggingface dataset:
Some EU countries have speed-controlled lights. So if one person goes over the limit it holds everyone up for a couple of minutes.

There are no tickets or fines, just chagrin. It works surprisingly well.
> Don't mistake a very small but very very vocal group of zealots for the Rust community at large

Yeah, but we're talking about the small group who continuously jumps into every C discussion on the web. That's still a large enough group to build a new kernel.
Fastest Way to Learn Data Structure and Algorithms?
So I am learning algorithms recently, I have learned Sorting and searching ones but I am forgetting them constantly. How can I understand them so that I don't have to always look for the solutions. Any tips or resources appreciated.
> whining on HN seriously

> People being paid $300K+

It's probably very far from the average HNer
> COVID happened and we still haven't restarted partying the way we used to

Only that it's still ongoing. Of course, one thing is that most of us no longer give a s* about it and we don't care getting infected a dozen times in a year with a disease that can sometimes be deadly.
Going the limit when prevailing traffic speed is 15-25 over the limit is not exactly safe. If it were we wouldn't have minimum speed statutes.
> The intermediary names are extremely relevant to the next poor sucker who has to understand what you were trying to do.

I just don't think that this is always true.

Consider:

const highestScore =
players
|> filter(x => x.isAlive)
|> map(x => x.score)
|> tryMax

I don't see how this is better:

const alivePlayers = filter(x => x.isAlive)(players);
const scoresOfalivePlayers = map(x => x.score)(alivePlayers);
const highestScore = tryMax(scoresOfalivePlayers);

And you can add helpful comments to pipeline code if needed:

const highestScore =
players
|> filter(x => x.isAlive) // Dead players cannot win
|> map(x => x.score)
|> tryMax

More generally though, I don't see why forcing everyone to write out intermediary names all of the time leads to more readable code. If it's more readable to do so, I will. If a pipeline is more readable, why should we be prevented from using it?
This sort of buries the lede though.

WHY they're laying off thousands isn't as important as HOW they're able to do that and still function. The reason tech companies are able to layoff all of these people is because they were so overly bloated and had too much deadweight.

When you can layoff tens of thousands of people and not miss a beat, maybe those people weren't adding much value to the company to begin with..?
Lots of low-value names required. Those names will inevitably either be badly chosen or have taken far more time to make up than they are worth. That's assuming the code isn't written by that one guy on every team who stubbornly insists on

var x = three();
x = two(x);
one(x):

(having the names certainly is nice to have in the debugger, but I'd rather have those intermediate results be an explicit debugger feature than junk taking up mental bandwidth all over the code, at all times)
I explored this many years ago:
https://experiments.withgoogle.com/visualizing-cyber-threats

The tldr; was that analysts are terrible. Powerful rule engines for the win. Also, accurately capturing and aggregating all the data in large organizations is very hard to do.
Ahh, yes, your right. That part is certainly my misunderstanding.
> ...so only the first usage of `%` counts as a replacement?

Hopefully not because there’s no reason to: in the same way you can use + or - as prefix or infix, % as value and % as binary operator are not ambiguous.

% % %

should not be an issue, though it’s useless and not exactly sexy looking.

> I'm surprised they aren't going with an idiom like `$1`, `$2`, etc

That makes no sense, $1, $2, and $3 are different parameters.

Using your example,

|> `${$3.id}: ${$1.friendlyName} ${$2.url}`

makes absolutely no sense.

Not to mention the very minor issue that $1 is already a valid JS identifier.

> or something like in other languages that have "magic" lambda parameters.

% is one of those, it’s what closure uses for its lambda shorthand. Scalia uses `_` and kotlin uses `it`.

The latter two are ambiguous but I guess since pipes are new syntax there wouldn’t be a huge issue making them contextual keywords.

Most language with “pipelines” are curried so it’s not a concern, and in the rest it tends to be a fixed-form insertion, so it’s quite inflexible, but in both cases APIs are designed so they play well with that limitation e.g. in curried language you’d have the “data” item last (that’s obviously in Haskell), which also allows for partial application in general, while in “macro” languages, well, it depends where you decide the magical argument should be inserted (IIRC in Elixir it’s the first, so functions written for pipe compatibility should take the main operation subject first).

Clojure is cool because it has both plus a macro where you give it the name of the substituted symbol. However being a lisp the pipe macros are still prefix, not infix.
Just curious, (I have no idea how GPU stats influence neural network benchmarks), would slapping a 1080ti alongside my 3060ti gain me anything? Can I 'cluster' VRAM for better performance? Can we top ~5x transcribe speeds with more VRAM?

I'm open to the idea of buying an additional old gen GPU that nails a good price/VRAM ratio
The top example relies on Lodash/fp having curried functions you can use.

The middle example would be using native stuff which is why you have the wrapper function (kinda like you'd have a function wrapping a callback)
I would say you are an extreme outlier. Most people use all these Google products with no problems nor do they seem to share your fears.
According to Olivier Stone's documentary, Truman was nominated to be the Democratic party's president to "prove a point that a party is such a well-oiled machine that it can push through even a complete nobody". So, in other words, he was incredibly lucky.
Sure, point me to them.

I learned a lot of wrong things in school. One could say I have spent most of my adult life unlearning them. Welcome to the club.

Consider also James Loewen's classic book, too: https://www.amazon.com/Lies-My-Teacher-Told-Everything-dp-16...
Honest question as someone who came to Lisp via Racket seven years ago and has never touched Scheme: why is Scheme so great that any deviation from it is undesirable?
Epic the games company??
You can add "hugepages=2000" to the boot command line.

"Transparent huge pages" is (sort of) the feature you ask for. It is very restricted in what it will do because of early mistakes pegging CPUs scanning for opportunities.
Any classification is an at-will relationships to Google. Google can choose not to keep/renew anyone. I’ve met many TVCs who have tenure at Google as good as an FTE.

The idea was that TVCs are the buffer headcount during recessions and would be the first to go when rebalancing. If they are truly laying off only FTE, it’s worth asking what Google is doing to TVC headcount. It’s unspoken so far.
Yes, Virginia is one of several states that considers 20mph over the limit as "reckless driving", as I stated above. There is nothing special about Virginia for this particular scenario, except that they might be more vigorous in its enforcement (like VA is for a lot of other laws that they have in common with other states).
A works council is a requirement for every company over 50 employees in The Netherlands. It's pretty common that they're involved in deciding on bonuses like this. However, they often don't have that much power in the actual decision.
In some countries it is tradition for the company to pay out a "13th month" of salary as bonus. (Just explaining the reference)
Higher-level engineers are evaluated like anybody else, and they need to meet their very high expectations. If they don't, they don't get a free pass.
I hope startups focused on letting builders build is a net positive outcome of this and all the other tech layoffs.
Well Search is definitely better for Google's Shareholders. They've always made a killing but must be making substantially more with how degraded the product has felt recently.
So it's not mandatory if somehow all employees decided not to form one, but if any of them wanted to, it's mandatory to let them and presumably support them/listen to them in some way?
Yes. My wife became a nurse in her mid-40's. She had to go back to college to make sure her prerequisites were completed, then she had to apply to, get in, and complete nursing school. She discovered there were all sorts of scholarships that she qualified for that greatly reduced the financial burden.

She's an awesome nurse.

You can do this.
It's probably just size. People might believe a company of 20,000 is filled with geniuses, but it's hard to imagine a company of 200,000 filled the same way
With video games, if you want a group of N people, then creating a new group means you have to wait until N-1 other people join. If you join an existing group of N-1 people, then the group is ready to go as soon as you join. Of course, finding that group of N-1 people might take longer than just creating a group of N people yourself, but the human mind is easily lulled into sunk costs.
Gmail is the prime target for all spammers. I see regular reports, also for Google Search results. Nobody has an answer really.

3 days ago "Tell HN: Gmail's spam filters have gone bonkers" https://news.ycombinator.com/item?id=34411009

1 month go "Ask HN: Do you all get spam in Gmail daily?" https://news.ycombinator.com/item?id=34093812

4 month ago "Ask HN: What's happening with Gmail spam filtering?" https://news.ycombinator.com/item?id=32923098

"Ask HN: Is Gmail spam out of control for everyone else too?" https://news.ycombinator.com/item?id=30315116
Yep -- I graduated grad school at 34 and got a series of amazing jobs with incredible people over the last 8 years. I was a complete pile of poop until 25, and slowly crawled out of my bad habits from 25-30, caught some ambition at 30, managed to turn it into an advanced degree by 34. Hell, I dropped out of high school and, 5 years later, still managed to fail my first year of undergrad.

In hindsight, it was a natural "1% better" progression. I stopped hanging out with bad folks, got out of a junk relationship, got into a good relationship with someone who encouraged me and was more conscientious than I was, started exercising, meditating, studying, taking measured risks, practicing, and keeping track of my accomplishments so I had good talking points when pushing into a new opportunity. I also have to acknowledge the "home court advantage", because I stuck near my family and friends until I moved to the west coast for my first big job after graduation.

Believe me, I still feel like I wasted the years from age 16 to age 25, but I no longer feel like I've wasted my entire life.
Talk about the military being "woke" in regards to racial issues as if it's a new thing should not be coming from a military historian. The military began desegregation in 1948, almost 20 years before the passage of the Civil Rights act and desegregation of the south. For decades, military academies have practiced affirmative action, because of the problems that can happen when you have a predominantly white officer corps overseeing an enlisted cadre who are increasingly non-white (see the USS Kitty Hawk riot).
"Protecting" records by making IDs hard-to-guess just seems like putting the responsibility in the wrong place. If you're so worried about people getting their hands on the wrong records, I'd be more worried about your lack of trust in the application that queries that database in the first place: remember, even if you do make the IDs hard to guess, your "untrusted application" might at some point decide to simply leak the entire table instead.

There are much better solutions for this, like server-side prepared queries that do not simply return on an ID but rather as the result of a join, or just proper security practices in general, rather than reactively making something that was once guessed simply harder to guess.

Also, something like an ID is in my experience something that will be referred to orally between two human beings when discussing a problem, like referring to user 6201 or discussing invoice 540567. When you switch to UUIDs you're basically also saying "no human will ever have to say this out loud".
I doubt you can "understand the nuance of software" without having been in the trenches, even a little. Managing software roadmaps and projects or people is vastly different to dealing with systems and code.
Is that what you read?

I read that people keep using mismanaged companies that happen to broker crypto assets, and then I read you conflate that with "crypto".

The best analogy to me is seeing a hardhat incident at a construction company, and deciding that "buildings" are a flawed concept, along with everyone that uses them, and perhaps lumber as well. When you should just criticize the construction company.
That's the piece which impacted the careers of many people, including the late Douglas Engelbart, Ted Nelson, and others.
> For what exactly? I’m not providing a solution for all societal problems, of course.

For the specific situation we're talking about - come on now, I think that's pretty apparent.

> Literally not spray her with a hose is a better thing to do than spraying her with a hose. That’s exactly what I’m saying.

You're ignoring the second half of the question, which I'll repeat here: "that has any reasonable chance of resolving this issue?"

If the goal is to stop her from doing the things that she is doing, then you're incorrect. Not spraying her with a hose has absolutely no chance of resolving the issue. Spraying her with a hose does have a chance of resolving the issue. It's not a happy or positive solution, and you can debate the ethics of it all you want, but as a way to get her to leave him and his business alone, it is clearly better than doing nothing.
I feel that users understand well that files outside of volumes are basically temp files. Those who don't end up learning it the hard way at some point. This is why I think that pulling the image, stopping the container and starting a new one with the same parameters would be the right thing to do.

It is very easy to do manually unless the command to start the container is lost, at that point a tool like the one being discussed becomes handy.
16gb is required from my perspective. That's why I found the macmini prices clearly a joke, they are only trying to sell the higher specced
20 days into the new year and there have already been more than 1/3 of 2022's total layoffs.

Admittedly most of those have come from a handful of large companies.
They usually have a link with a source or a media of the claim. This has absolutely zero substance so far. Are people not yet sensitivized to this kinda thing? We're like six year past peak fake news and it seems people still haven't developed any form of antibodies.
There is almost nothing that doesn’t stop them.
Nah. I think it was always like this:

> - I'm just getting old (closing in on 50) and people my age don't party anymore

I remember my parents' generation and their friends circle. My parents' friends circle was not only a friends circle, but it was a group of people who studied in the university altogether, in the same disciplines, and got appointed to the same city and actually same organizations after graduation. So not only they were just friends, but they were also work friends, colleagues, a lot of things.

I remember them regularly meeting in each other's houses and having fun, going to places together, taking vacations together and doing many other things up until ~40 years of age. Then such things suddenly became much more infrequent, then altogether stopping by their mid 40s.
So go start a worker-friendly company?
I'm curious why are you looking at 2021 specifically? Isn't the whole idea that 2021 was a huge year for every tech company, leading to overhiring, followed up by 2022 which was a rough year for every tech company?

They went from $18.9B profit in Q3 2021 to $13.9B in Q3 2022. That's a 36% YOY drop and given todays news, it's fair to assume Q4 was even worse.
Isn't there supposed to be a problem with health providers explicitly rejecting insurance companies/packages that are possible to buy yourself?

You don't really have a choice if nobody where you live will take your insurance...
Not only that but I can't be the only person who finds -> vastly easier to type than |>.
I know lots of people who have started their careers over in their 30s. My mom, for instance, went to school to become a respiratory therapist. My dad was in his 30s when he learned to be a tool and die maker. Both of them needed formal training.

I've hired people who have switched careers by going to dev bootcamps, but their situation was different because they hadn't had a period of downtime. In general, though, I love hiring career switchers. They've demonstrated the ability to learn and adapt rather than just let momentum carry them on.

As someone who hires software engineers, here's my perspective on this question:

> -Will tech co’s ever consider hiring someone like me?

Based on your description right now, I probably wouldn't hire you. You sound like you are directionless. I love mentoring new engineers and cultivating their growth, but I need them to have the focus and the drive to do that growth, and the description you have here doesn't paint a picture of someone who would likely be successful at that.

However, if I were to see the resume of someone who spent their early 30s directionless and then figured out what they wanted to do and took the serious steps to do that with a record of setting ambitious but reasonable goals for themselves and hitting them, along with developing the beginning of the technical skills needed for the role, I'd be really excited to consider them.

I suggest you hire a career coach to explore your options; you're younger than you think. I wish you the best in figuring this out.
Centuries of capitalists hoarding capital.
> sensors in the retina can respond to a single photon. But neural filters only allow a signal to pass to the brain to trigger a conscious response when at least about five to nine arrive within less than 100 ms

Like an activation function in artificial neural networks
Can’t speak for all euro countries, but I like their approach in trying to actually identify to fine the actual driver and penalize their license. Because it’s about safety, not revenue.

US and Canada… it’s just a ticket in the mail and as long as it’s paid, it effectively disappears.

Lots of blah blah about why they can’t do things the euro way. I love “privacy” as the excuse. You’re driving on a road with windows and how is it an issue if the car owner gets a picture of who was driving their car?
The version with temp variables is also easier to debug.
The same way you study anything else: spaced repetition, active recall, memory palace, etc.
I think you have that backwards, the more people quit the easier it is to get a job.
I didn't. It's just that Britain had much less of a free market than postwar Germany, and didn't recover as well.
I haven't thrown out a MacBook in my entire life. All three are all still in use, and two of those were bought used in the first place. I also have three iPads, going back to the iPad 2, that are still in use. I cannot say that about the Android devices I have had in a similar length of time such as the Nexus 10's putrefying back case that makes it unpleasant to touch. And while I have the PC cases I have had for a decade, the rest of both of them have said hello to Theseus at least twice.

So...what, then?
Saw a talk with Douglas Crockford[0] years ago. He said something like: Before JS classes got introduced he asked why they didn't just implement macros for the language. Classes are in fact just syntactic sugar. Just like async/await, and now this proposal.

In hindsight he was right. JS would be better off if it did have macros. Much of the whole babel/webpack/react/ts stuff would be just a bunch of macros instead of idiosyncratic build tools and so on. And we would have had much less compatibility churn.

In fact this proposal here, is trivial to implement with macros. Clojure has the same thing (threading operator) and it's just a macro.

[0] https://en.wikipedia.org/wiki/Douglas_Crockford
Nope. You’ve clearly never worked in IT. There is no perfect solution. And the closer to perfect you get, the system becomes harder and harder to use, maintain, and modify.
Yeah if anyone has worked at a B2B SaaS startup you would see fast that a large portion of the VC money is just buying other SaaS startup products.

We were basically required to buy all of the products our investors also invested in, and in return they would buy ours. Eventually all of those $10-20/user/month subscriptions add up and really hurt your runway. When I left they were paying for around 30 different subscriptions. Don't get me wrong most of them were useful and cool products, but they definitely were not required.
I love your background. I'm trying really hard to get my work with getting LMs to be able to write with syntactic constraints (like banning the letter E) to convert into a dedicated ML research role for awhile now. Seems it's relatively easy to get a fat title and money but harder to get a mandate to do research fill time.

I got gwern to pick up my paper about this, so someone with influence saw my work and cared.

But being the first to get LMs to play chess is a pretty big claim to fame. I hope history remembers the pioneers.
You can take it even further by dropping the pen and paper and use a chisel and stone tablet. 
 While I agree about removing distractions, I would suggest using whatever your most efficient way of communicating is to get the idea or concept out of your head.
that was great, thank you for sharing
This was by accident though.
I'm sure there were tons of great engineers at Google, and they probably were incredibly picky with college grads. But I also saw them hire people I had worked with that were experienced but not amazing performers. There are people who have good resumes in that they went to a good school and somewhere along the line worked at a well regarded company. The funny thing is that people like that are typically well regarded their entire career even if they just bounce around. The pedigree doesn't go away. It's hard to evaluate people.
No? Why would they do that? This is a 2022 bonus.

Lack of profit might mean a smaller or no bonus at the end of 2023, though.
The Bill of Rights makes no distinction between citizens and non-citizens in its text. It says that rights belong to people, not exclusively to citizens of the several States.

The Equal Protection clause protects citizens and non-citizens alike, e.g. Graham v. Richardson, 403 U.S. 365 (1971)

The first amendment protects aliens once they are admitted to the US, Bridges v. Wixon, 326 U.S. 135 (1945)

There is a right to travel that is an extension of the first amendment rights to freedom of association and freedom of expression.
I think what happens over time at FAANG, is that you get some divisions that are way overstaffed, and others that are way understaffed.
Record profits everywhere while inflation raged on. Only one explanation then for inflation: PRICE GOUGING.

Corporate greed during global pandemic. Capitalism at its finest. Now we all have to pay the price just like on 2009. Privatize profits. Socialize losses.
I dislike variables that are used just once. Sometimes they're a "necessary evil", but rarely. For "envStr" it's defensible IMHO as it splits up some of the complexity, but I would rather just use a helper function, which has the same "splits complexity" effect and is re-usable.

"styled" seems entirely pointless here.
Meanwhile at Tesla employees have become millionaires off of stock options. Crappy place to work for other reasons, but pretty much everybody gets RSU's.