skysight-inc/HackerNews huggingface dataset:
Doing postmortem reviews of mistakes is also important, if you are the type without natural competence. I spent a very long time wondering why I was always lost everywhere I go and always making the same mistakes, before I realized the problem was I was expecting my brain to just suddenly be able to do things after lots of practice, rather than using repeatable, failsafe systems like "Just assume you'll forget everything and always set reminders"
It's bizarre to me how religious this conversation has become.

I'm not sure why people are behaving like it's either 100% remote or 100% in the office, and they are locked in a cage.

There are PLENTY of companies who have decided to become fully remote and remain that way indefinitely. If remote opportunities are important to you and your lifestyle, there are plenty of options for you.

Otherwise, I haven't heard of any company requiring 100% RTO all 5 days of a week. Everyone, even Apple, a company notorious for requiring in-office work, has relented and moved towards hybrid.
I thought this type of stuff only existed in movies. Just curious, can you elaborate at all? I'm wondering if I'm just blind to this stuff assuming everyone else is nose-to-the-grindstone all day too.
That's naive. A competent well rounded human is far more of an asset than an engineer who can't handle anything else. I would never want to work with an engineer who had no good sense about anything else unless I had to, like if there was some skill only they had.
This again? I've read his book and it was mostly ok (despite the right wing paranoia around him). I really hope this is taken out of context, because if not it's fucking insane.
> Deriving it instead of naming and explaining it will make it harder to understand any code using the derivation because you can’t look up what Promise.all does. If the code and explanation is written in terms of Arbitrary instead of Future then the explanation will be difficult to write and difficult to read.

To the contrary! Because I’ve already used that function (traverse) a million times and know exactly how to write it myself I understand exactly what it does without any knowledge about the details of your Future or Optional or whatever. True and meaningful abstraction. Which is truly an amazing super power!
Yeah, the article is kind of all over the place.
https://archive.is/Vakat
Fire on car carrier “Freemantle Highway” probably not caused by BEVs
After the devastating fire on the car carrier off the Dutch coast, salvors have now inspected the ship. The four top decks of the "Fremantle Highway" were so badly damaged that it was almost impossible to walk on them, said the head of salvage company Boskalis, Peter Berdowski, according to media reports on Friday. As a result, he said, it would be difficult to salvage the cargo.

About 2700 of the total of about 3800 cars on board are destroyed, experts estimate, and probably cannot be salvaged. "Part of the decks is totally fused with the cars," Berdowski said in Eemshaven in the northeast of the country near the German border. Soon, the oil will be pumped out of the ship, he said. "This will significantly reduce the risk of an environmental disaster," the Boskalis chief said.

The Japanese freighter had been towed to Eemshaven just over a week ago after the fire had raged for days. The cause of the fire has still not been determined, and the investigation is ongoing. According to initial information from the Coast Guard immediately after the fire broke out, an e-car may have been the starting point of the fire. An oil spill threatened the North Sea, the islands and the natural areas of the Wadden Sea. During the evacuation of the ship, one person had died.

One thousand cars probably in good condition

The inspection now revealed that the lower four of the twelve decks are largely undamaged. About a thousand cars, including 500 electric ones, are also in good condition at first glance, Berdowski said. But it is still unclear how they can be salvaged.

Experts from the automakers, including Volkswagen, BMW and Mercedes, are now expected to investigate ways to transport the vehicles. The e-cars have a charged battery, Berdowski said. "That can be very dangerous." They don't want the cars to reignite as a result of transport, "and all the misery
starts all over again."

Translated with www.DeepL.com/Translator (free version)
Created a new table that contains `user_id, created_at, phone_primary, phone_secondary`. Inserted all 10,200,000 rows. Notably (I'll come back to this) due to the generation of the rows, the primary key (`user_id`) is an unsorted integer - this was _not_ done with a serial or identity.

postgres=# CREATE INDEX sec_phone_created_at ON hn_phone_new (phone_secondary, created_at) WHERE phone_secondary IS NOT NULL;

I reset `shared_buffers` down to the same as before - 263 MB - although the size of this index is tiny, < 10 MB, so realistically I can't shrink buffers down that far anyway. I then did the same `sync/drop cache` as before.

postgres=# SELECT * FROM hn_phone_new WHERE phone_secondary IS NOT NULL ORDER BY created_at LIMIT 10;
id | created_at | phone_primary | phone_secondary
--------+---------------------+--------------------+--------------------
58816 | 1995-05-23 03:22:02 | +49 030 522866-87 | +1 159-445-4810
49964 | 1995-05-23 03:23:00 | +61 02 7440 8606 | +254 20 925 892
171828 | 1995-05-23 05:06:47 | +380 32 393-35-89 | +49 030 429376-29
78333 | 1995-05-23 05:31:22 | +380 32 147-11-20 | +52 55 6409 5253
24264 | 1995-05-23 06:47:21 | +44 0131 6506 1823 | +49 030 610965-83
96662 | 1995-05-23 06:57:03 | +52 55 1473 0538 | +61 02 5414 8204
15023 | 1995-05-23 07:55:37 | +44 0131 7959 1581 | +44 0131 8491 6194
52029 | 1995-05-23 08:59:19 | +380 32 430-77-54 | +254 20 374 856
20518 | 1995-05-23 09:51:14 | +380 32 264-21-79 | +52 55 7787 0236
80273 | 1995-05-23 14:59:26 | +61 02 8863 4466 | +33 01 16 10 78 56
(10 rows)

Time: 2258.807 ms (00:02.259)

So yes, significant improvement as you'd expect. I then dropped the index and swapped the order:

postgres=# DROP INDEX sec_phone_created_at;
postgres=# CREATE INDEX created_at_sec_phone ON hn_phone_new (created_at, phone_secondary) WHERE phone_secondary IS NOT NULL;

Reset everything as before, and re-ran the same query:

Time: 221.392 ms

Thinking that like MySQL, a portion of the `shared_buffers` had been saved to disk and put back in upon restart (honestly I don't know if Postgres does this), I attempted to flush it by running a few `SELECT COUNT(*)` on other, larger tables, then re-running the query.

Time: 365.961 ms

This is what `EXPLAIN VERBOSE` looks like for the original index:

Limit (cost=8.44..8.45 rows=1 width=61)
Output: id, created_at, phone_primary, phone_secondary
-> Sort (cost=8.44..8.45 rows=1 width=61)
Output: id, created_at, phone_primary, phone_secondary
Sort Key: hn_phone_new.created_at
-> Index Scan using sec_phone_created_at on public.hn_phone_new (cost=0.42..8.43 rows=1 width=61)
Output: id, created_at, phone_primary, phone_secondary
(7 rows)

And this is what it looks like for the second, with the columns swapped:

Limit (cost=0.42..8.43 rows=1 width=61)
Output: id, created_at, phone_primary, phone_secondary
-> Index Scan using created_at_sec_phone on public.hn_phone_new (cost=0.42..8.43 rows=1 width=61)
Output: id, created_at, phone_primary, phone_secondary
(4 rows)

So it actually needs to be reversed, so that the query planner doesn't have to add a sort step for the ORDER BY.
I can't take anyone serious that uses terms like "elites", I'm with you.
The author is sharing his experience as a warning to others, not asking for sympathy. We should thank him.
When did the conversation turn to nature?
Everyone has something to hide.
YouTube uses AI to summarize videos in latest test
It worked for Jet.com.

Then again, Jet.com existed when 0% interest rates were a thing. I don't think repeating that strategy in a 5.25%+ interest rate market will have the same effect.

-------

On the other hand, China has what? 15+% unemployment right now?

Chinese companies must be dumping goods in an effort to survive, even if it's below profit levels. Maybe TEMU can exist in this market from the Chinese / low cost supply side perspective.
Yeah my manager is the busiest human being in North America.
Not a meritocracy? Whitney Houston bowled them over, and the music label knew they'd struck gold in signing her.

I don't think the music industry is run by fools.
ms-edge is surprisingly good for quick pdf annotations and my preferred PDF reader on Linux.

It's a crazy timeline we're on.
> it's very fucking challenging to run a group of people remotely.

It's very fucking hard to take a relatively random group of people who are used to working together in person, throw them behind screens with little more support than Slack and Zoom, and try to manage them remotely.

It's much easier to take a group of people used to pro-active written communication, "if it's not monitored then it doesn't exist", async-first, https://nohello.net/en/ , actual remote work culture, and manage them remotely.

See, management is about alignment, and alignment is about 80% culture and politics, very little about what actually needs to be done. If you hire people who culturally fit into remote work, you'll have an easier time managing them. If you hire the opposite, it'll be hell. And you can do about as much to change someone's (work) cultural predisposition as you could change someone's (personal identity) culture.
That makes sense. In any major city, where most of the jobs are, houses, rents, food, all the typical things, are well above what minimum wage pays so you're likely living pay check to pay check even if you do find something, even if it's above minimum wage.
What's your address and how soon can I move in?

DM is okay, if you don't want to post it on the internet.
Are monads (I mean more complex than just Option) useful if my program is mostly without side effects? I get how the IO Monad is great, but what I don't really need it?
Walmart is effectively that for US camper travelers. Maybe not free water & electricity, but I don't think that is anywhere, you have to pay for that.
What's the plan then, to coast on pre-2021 data forever? How much utility would todays LLMs have if they were trained on fossilized archives of the internet from 10, 15, 20 years ago?
> Slicker AliExpress

Kinda.

It's Chinese owner Pinduoduo is competing at the low value market with Alibaba, while JD is competing with Alibaba on the higher value market.

Pinduoduo is going through the hypergrowth expansion phase right now to compete with Alibaba now that they have become complacent after Jack Ma did some scummy stuff at Ant Group.
An obscure piece of lab equipment ended up in cocktail bars
The whole commercial real estate conspiracy schtick really gets old. There may well be cases where a company has made some commitments to some locale in exchange for tax breaks and remote work an upended that. But dumb as some people think corporate execs are, they almost certainly have heard of the sunk cost fallacy and, to my direct knowledge, a lot of companies are looking for ways to decrease their real estate footprint.

I also agree that 100% remote work is not this panacea that's always better than going into the office at least some of the time. If my team were local we'd be getting together semi-regularly--especially with travel/in-person meeting budgets tight. While it's not universal, a lot of younger people just out of school seem to struggle with the lack of in-person connections.
That's not true, the amount of US based scale-up jobs in Europe has risen a lot in the last couple of years also bringing up compensation at the top end to a bit higher than you used to be able to get here.
Ride a bike, take the bus, report sexual harassment by managers, microwave fish dumplings for lunch if your in the office, etc.
I very reliably get callbacks and many unceremonious rejections after the technical round

and yet the very first job I interviewed at in person hired me, matching my experience pre-pandemic. No compromise on my compensation bands, as I was really questioning my world by then

But turns out the humans didnt change, the mode of interaction did and it has less inputs with different biases
This argument may not realistically apply to larger companies in the same way, especially those that don't own their office spaces and have longer-term leases of 5-10 years or more. The dynamics are different for larger companies located in major city centers like NYC, where commercial leases tend to be longer term.

Smaller companies with shorter-term leases likely have more flexibility and control over their spaces, so the argument could hold more weight for them. Larger enterprises are more anchored to their existing offices and long-term leases, limiting their ability to quickly shed or change office footprints.
The market is simultaneously efficient and yet refuses to offshore absolutely every job to make more money and increase profits. Strange world we live in.
>Unions.

From my recent experience, unions can't help you keep remote work they way they work here today. I work(ed) at a unionized German company and when management call everyone back to the office after the Covid vaccination was done, it wasn't protested by the unions and everyone sowed up at the office without protest, and remote work was kept as "in case of emergency" perk you can get every now and then if you get approval from your manager beforehand.

Unions here only serve the purpose to intervene in case of major force like discrimination, health and safety, layoffs, working hours, overtime, and the negociate mandatory yearly pay increases based on inflation and company profits, not help you keep your desired perk of not commuting to the office as the office is seen as the mandatory place of work by contract, not your home, so physical presence at work part is usually non-negotiable.

Actually, unions here are relatively against remote work or at least quiet on the topic, as they assume it'll lead to easier off-shoring in the long run (already happening anyway) and the loss of their jobs , so on-site presence of the workforce is considered as an advantage in convincing the company to keep invested in Germany and not move abroad (generals like seeing their soldiers at work where their money is goes).
Question is whether performance critical code that would benefit from a pop count instruction, is common enough to warrant inclusion.

As long as it isn't a bottleneck in common software, a few shifts/masks/add/integer multiply or whatever, are very quick on modern cpus. Often 1-cycle. If not >1 such instructions in parallel per clock.
If across the board all work that could be remote were 1/10 cost with no downside, literally every job that could be remote would already be offshored at this point already.
Yeah I don’t think I could make a company offhand that I love so much I’d want to work for. I’ve definitely been browsing jobs and found companies/roles that look cool that I think I’d enjoy, but there’s I reason I’m not and have not worked for them.
Scammers vs. Impossible Password Game [video]
but that monads are invented

No I didn't, I said haskell was invented.

Are you walking back that claim? Fine.

Quote me where I said that.

I've tried to engage with you in good faith

You haven't engaged in the thing that matters: programming. You went off on tangents about philosophy and monads and set theory and pure mathematics, when my whole point is that they don't help the vast majority of programmers write programs.

Nowhere is it implied that you, specifically, need to use Haskell in your work.

I don't. I tried it and it was interesting but not useful.

If you can't see why monads are useful, why not ask about that?

My point is about the larger issue that after 30 years, people are still trying to explain step one of this language. In that time entire other languages have exploded and withered. At some point the expectations that this is healthy needs to be looked at. I like that haskell exists, but it isn't overall a good tool for making software.
The labor market overall is tight but tech is in an employment recession so employers currently have power. Do what you need to do to put yourself in a position where you can bail and jump to a remote employer at the first opportunity. If the majority does this, companies will have to change or die. Going back to the office because of the current power dynamic is ok but getting complacent and not using your most powerful weapon, jumping to another job, is now the RTO folks win longterm.
This seems needlessly class-war-monegring. People slack off at home, people slack off in the office. Everyone’s situation is not your situation. Everyone’s work does not look like your work. Some people like/want/need office space to work, some people don’t. Some people find themselves in different camps on different days.

In any case, companies driving RTO are acting in their own perceived best interests, not their landlords. Either they’re so beholden to CRE that their landlords best interests are their best interests (eg some law firms, maybe architects, ?), reasoning against sunk costs of their existing long-term leases, playing some petty power-game, or seeing some actual benefit to hybrid/in-office schedules. Some of those seem more likely than others, but all seem more likely than all managers being part of an elite cabal and doing it as a favor to their elite-cabal friends with CRE interests.
And the CloudAct and gagging orders
Companies should be using AI to reduce head count whenever possible. Welfare should be provided by the state, not privatized. Productivity gains are good.

What if people are put out of work by dropping single-use plastics?
Ostensibly, the product isn't as useful as the existing gotos (json schemas, shared libraries, graphql, etc), if you cannot create a shareable schema for validation. The ability to form arbitrary requests is already assumed. If your messages are very complex, you need some tooling.
It was a rhetorical question. They don't and it's a flawed theory.
Very nice project, with a tidy implementation that’s pretty easy to figure out what’s going on just by reading.

Languages with an integrated graphics component are interesting to me. From LOGO to VB to things like Rebol or hypercard. Are there facets of Oriel you particularly like? why did you pick this one to implement?
Some people just enjoy complexity for the sake of complexity.

However if you try and convince them they're over-complicating, they'll fight you on that point.

I agree with your take, but I also think it's wasted effort.
Where did YouTube enter the discussion? Also yes the things I search for would be in the minority of overall searches, but apparently finding Google unable to fulfill searches for these things despite it being able to do so 7 years ago is just memetic transference and not an actual critique.
> way too smug sometimes

Feynman was lucky enough to be a physicist in an era when there was much new, experimentally testable physics. Experimentalists discovered new phenomena.
Theorists could propose theories, which were then confirmed or rejected quickly. Most results were clear, not near the noise threshold. The field progressed rapidly. Physics was finding, and had found, a set of concise rules that the universe consistently obeyed.
Plus, they won the war. Physicists of that era could afford to be smug.

Today, physicists are still banging their head against the wall on dark matter and string theory. Both ideas are not directly testable. Trying to find the foundations is not going well.
I somehow doubt they're going to destroy Amazon anytime soon. The market they're in reminds me more of Blue Apron/Hellofresh than Uber/Lyft. May as well take advantage their funders' bad bet before the river.
Google has full control by Brin and Page and still has RTO. This theory doesn't hold water.
What bullshit. Or how about he tells us how he gets along with his spouse when they fight, or what he uses for his hemorrhoids. People only use information, even the most benign aspects of someone, against each other. It's only rational to do that in a hypercompetitive, capitalist environment where there's some expectation of scarcity. What he means is that privacy will now be a luxury instead of a human right.
And, when you perform an operation on a register, like an add, the operation works on all of the values in that register simultaneously in a single instruction.
when you start considering effectful computation at a deep level, monads come up pretty quickly

You say that, but they only seem to come up when dealing with haskell.
The mistake is to trust either. The areas where one should scrutinize either may have deltas, but there is massive overlap between both (and really, all of the industry big players) on "trust"
I'm a UK accountant, so not IT. But I never apply direct. I always use recruiters. I think the benefits are:

- recruiter usually only sends 2/3 resumes to employer, so better candidate-job match

- recruiter has relationship with the client, so is more trusted
- recruitment is a sales job, so they want a better match.

- your first interview is with the recruiter, so less formal. If that goes well, they will make more effort to see your skills and expertise over other candidates.

- better jobs come thru recruiter. These are ones that dont get publically listed

- recruiter will pre-screen roles based on your salary expectations, so you do not apply to roles that have no salary. Saves everyone a lot of time

- you can ask recruiter more about the person the client is looking for, so know how to angle interviews and sole the clients problems
Back in the dot com boom era they would give you a whole computer for free just so you would look at their ads. Now you pay for the computer and the OS and you get to look at the ads.

The Free PC people must be wondering what they did wrong.
The law about collections has been trending towards "only this is allowed" for a long time.

It takes time for the legal system to set precedents and create a legal body of work around issues like these. It moves very slow.

Thankfully, at least for medical debt, there are pretty harsh laws against collections.
SF office buildings are selling at 60-70% off in some cases. I don't think anywhere else is as bad, but still probably worse than 20%.

https://www.sfgate.com/bayarea/article/downtown-sf-office-bu...
https://www.globest.com/2023/06/07/wells-fargo-sells-san-fra...
There are definitely a lot of managers like this.

Individual contributors, too, but those have a much harder time hiding.

An extrovert schmoozer can afford to not work that much as a manager for a long time.

Just join meetings, write some short docs, etc.
I mean pretty much all religion is a cargo cult. How is a cargo cult fundamentally different than Catholicism, which has a series of rituals in preparation of the return of Jesus?