skysight-inc/HackerNews huggingface dataset:
I can get 5h of work time with a commute or 7h without due to family reasons. Mandating the office means I quit because the final 3h of wfh after 2h commute turn my life into hell.
"So... imagine that someone enters a kitchen, because they want to show you how to make a cup of coffee. As you watch carefully, they flick a switch on the wall. The switch looks like a light switch, but none of the lights in the kitchen turn on or off. Next, they open a cabinet and take down a mug, set it on the worktop, and then tap it twice with a teaspoon. They wait for thirty seconds, and finally they reach behind the refrigerator, where you can't see, and pull out a different mug, this one full of fresh coffee.

...What just happened? What was flicking the switch for? Was tapping the empty mug part of the procedure? Where did the coffee come from?

That's what this code is like."

This is such a good metaphor
He talked about it a bit during his lex friedman interview. He said he spent some time there, IIRC, and found it somewhat intriguing, perhaps interesting, but needed to get shit done eventually and so stopped his investigation. Very pragmatic.

From what I can see in this article he mostly seemed to like the purity aspect of FP. It seems to me like a number of FP concepts aren’t really “FP things”, as Carmack points out you can use these patterns in imperative languages as well. Making your own DSL seems to also often be an FP thing that doesn’t need to be an FP thing.

I guess the other way is true as well. OCaml has OOP and support for imperative style (with mutation, early returns via exceptions, etc.)
> Rust has been around for so long

Rust async support was only released in late 2018. Not very long at all, especially if compared to Golang.
> Kubernetes is a beast.

It has a learning curve the same as this tool. Getting an app up and running in k8s is not that difficult and it's a transferable skill.
At one point I set up rocm with an rx 580, but.. it only supported older versions of tensorflow, I didn't manage to get pytorch working, and the installation/set up was not fun.
I wanted Russia to invest in a transiberia-HVDC line and solar collectors instead of a war. They could even sell excess capacity to the countries on their southern border. I think Reddit panned this idea last time I proposed it because the longest HVDC line was only 2100 miles long.
It doesnt want anything.
If only we used the de- prefix rather than un- we would be safer from ambiguities: "I saw the app was deinstallable so I deinstalled it, but now I cannot install it back as it is totally uninstallable!"
Not yet but I'm planning on making it open source in the future
I'm salaried, but this could fit with another idea which is in the air at the moment - a reduced working week.

I have been WFH since before the pandemic, but technically there is an office I could commute to. It would take me about an hour each way. If I did that Monday to Thursday, that's 8 hours - so four 10-hour days if commuting was part of my "on the clock" time. If my employer told me I had the option to make Friday a weekend day in exchange for commuting Monday to Thursday, I would strongly consider it and think of it as a reasonable compromise.

I would have less convenient and more expensive days for the working week, but more time off. They get 8 fewer hours of me in front of a keyboard, but do get the supposed benefits of office-based employees.
Turns out, even computer things are social since we're at our best when apes work together to build complex things.
> As the headline says, 3 grids that are not synchronized

But why? All of the US runs 60 Hz, it should be relatively trivial to synchronize their three phases and tie the grids together. Ukraine managed to do this during an active war.
I hope you're right, and it does end up happening. That would very much enable many languages (LLVM based ones anyway) to become practical alternatives to JS for web dev, whereas now they're more like "can be sorta done with significant effort". ;)

Btw, my impression that it would be blocked by JS people involved in the process, was from a conversation some time ago with one of the JS people themselves.

They said (from their point of view) there's no need for WASM to directly access things instead of going through JS, and they'd block it themselves if things went that direction. Security was the lever they mentioned they'd probably be able to use.
Interesting insight.

I’ve never come across such an organization though. There are a handful that I think are in this spot where quality has mattered since day one but they’re so popular that I don’t stand a chance to even get noticed when applying in a sea of thousands of applicants. They also don’t hire very often.

And they’re very hard to find because what do you even search for? The ones I know, I found empirically through word of mouth, reputation, or just plain randomness by stumbling upon.
Building Scalable, Explainable, and Adaptive NLP Models with Retrieval
Old news, more low quality posts.
The EU Stance on Dark Patterns
The empirical evident would be against you, as tens of millions of programmers prefer writing code in those other languages that lack the parent :-)
"The man who literally built AWS has no idea how to run a software company because I'm mad about RTO."
It’s mostly a sever side rendered website, so no problems. As long as you’re good with that.
Thanks for all your work on MapLibre, along with all the other contributors! I use MapLibre extensively in an open source and non-profit transit data aggregator and everyone keeps being blown away by how smoothly the map runs, even with tens of thousands of points.

We burn through MapTiler free tiles on a regular basis and have been looking to migrate to self-hosting, but somehow PMTiles flew under my radar and every other approach seemed to either still rely on MapTiler for data (where you have to chose between outdated or expensive) or just be a huge pain to set up. Hopefully this finally solves our map issues so we can actually start promoting the project without fear of the map disappearing in the first week every month.
I wondered if anyone would bring it up. Polytopia other than csgo is the only game I really play anymore. It's essentially civ distilled into a perfectly cruftless experience. It's also perfect for multiplayer, as it works beautifully on phones (less friction to take a turn) and you can easily jump into 24-hour turn limit games.

I'm not sure the civ guys can come up with something to compete with it. The recent games were so bloated and everything dragged on to the to point you'd just lose interest mid game, or quit before an inevitable victory/loss in the late game.

Also I'm not sure what you could do to improve Polytopia to make it a better game, except adding multiplayer team games.
Is Go Object-Oriented? A Case of Public Opinion
Seeing it fly side-ways in circles (2 minutes into the 1st of the final 3 videos) is pretty wild. Not sure how the 2 rotors can create sideways thrust...
When this article was published on his altdev blog it had a big impact on how I wrote code. I really embraced pure functions and tried to think in terms of side effect free code and inputs/outputs.

Got no real data for it but I felt the quality of the code I wrote was much better going forward.
amazon seems much better at managing out poor performers . what gives?
This week in KDE: a smooth release of Plasma 5.27
> Andy Jassy probably never worked as an SDE

I think he's an MBA.
I would add micro as default editor. It uses sane keybindings and ui, but isn't quite as brain-dead as nano.
yes, i know. but there is nothing that stops you from writing pure functions, and quite a lot of features that encourage it, even if they are not checked by the compiler. i'd probably like a c++ compiler that warned me about lack of purity, but as the article says, sometimes you have to bite the bullet.
> PyTorch would probably...

Less obvious than you might believe. I suspect PyTorch doesn't support any AMD GPU that are more than ~5 years old, because PyTorch is currently ROCm 5.0 and that only supports Vega 2.0 and up [0].

This is that thing about AMD not doing a great job of supporting consumer GPU. There was a window where PyTorch allegedly supported ROCm 4.x and therefore my GPU, but I expect that was a misdirection since AMD never seemed to make this stuff work.

[0] https://docs.amd.com/bundle/ROCm-Release-Notes-v5.2/page/Abo...
If one of the variables preceding the `if` has side-effects then it's inferior to the specified lazy-evaluation of the `if`. Any external function not annotated pure will be called to assign those variables which otherwise wouldn't have been if it was packed into the `if`.

This is actually something I think the C++ standard should address soon. There are cases when extern functions which aren't appropriately pure are still "optional." The example par excellence is debug logging, should one choose to not use macros.
I hope you get an A :)

Will you post the paper somewhere?
What makes you think they don't have data? It's just data they can't share because it's not morally palatable.
> a soup-to-nuts walk through of popular, lynchpin open-source codebases

This sounds fantastic. I'm a self taught developer in largely the situation you describe and this book sounds like something that would be amazing for someone like me. Please post it on HN when it's presentable!
Tech workers:

"Management treats us like faceless cogs in a machine! They only care about grinding productivity out of us."

Also tech workers:

"How dare management require us to go to the office! I can do my work perfectly fine from home over Slack. I don't need that office socializing BS. It's a waste of time."
I find that you can’t always fix everything. But the biggest hurdle is actually getting buy in (even if there is already buy in and that’s what you were specifically hired to do)

Rewriting is tricky. It’s sometimes necessary (outdated and unmaintained language, obscure tech you can’t find people for, or sheer tech bankruptcy) but it can also not solve anything. As you implement the new version, you rediscover all the arcane business rules, edge cases, and sheer craziness that you didn’t know about and the rewrite ends up either lacking these or becomes The Mess v2 because you had to bolt all this weirdness on after the fact making the new codebase suck in a different way but overall as problematic as the one it replaced.

It will also take much longer than estimated for the same reasons.

I’m not super keen on rewrites in most cases.
Yea, let's interrupt our developers every 20 minutes because the PM needs a question answered.

'Hey, how are you?'

And then nothing.

OMG he takes forever to reply on Slack.
The problem is that the emojis appear different in different applications/devices. They're different enough that it can change the meaning of what you see, which means that people end up using it in an application-specific way.

But we already had application specific emoticons. They worked well, they work so well, that even with emojis in Unicode we still use application specific ones instead.

Also, the default ones seem to always be ugly.

Also also, the "weird human scripts" generally have a fairly long history of use.
I think you can easily roll an analogy with having a plan documented on 5 napkins, bits sprinkled over 127 emails, a few doodles on a white board, 93 photos on your phone, some files in some folder and 20% in your head.

You could start execution right away! Every bit of information is readily available, sure, the numbers in those emails might change in the process but you can just document those changes on additional napkins.

But there is a stage 2 to the plan that needs to happen in 3 to 6 years. By then there will be tens of thousands of relevant emails, hundreds of napkins, you cant find the original photos and you have so much related information in your head that that important thought is buried much like the email... I'm sure I have a folder someplace on this computer.... where is the chat log?

You made promotion so stage 2 is left to the new hire. They had a wonderful resume but for some reason it takes him forever to progress. They wont argue it would have been nice if you wrote down what stage 2 involved years ago. In stead they ask for 20 more people to organize the data.
At least on mobile, it’s not clear where the blogger’s introduction ends and Carmack’s reproduced post begins. 5 years late to mention it, though. Great article.
Maybe in general, but you can keep developing for a while with no pushing of code.

You cannot keep developing without Codespaces if you use them in the first place.
I'm shocked SourceForge is still around. How are they making any money, and how can they employ half a dozen people?

I'm also surprised that Slashdot still owns SourceForge. Haven't both of these companies split ways and been through several different hands? ThinkGeek, etc.
Seems to me like a good argument to give the performers a raise, promotion, what have you. Sounds harsh but maybe even let some of the slackers go.

All depends on the direction the company culture wants to take; more focus, more skill or more communication. Either is fine, but the leadership should pick one and stick to it.
44 billion dollars expensive?
Love htmx — literally gave me modern day skills. Still haven’t figured out npm, webpack, and how to use any js that’s not standalone
It's tough for engineers when React already loses in any technical challenge. If a business were selling cheap product, that would justify poor materials. But if your business is high-end, why don't use the best materials?
An AI porn industry is emerging through Stable Diffusion
That chart might be misleading. In the blog post they say that 95% of their users use SMS auth. 95% of people getting hacked also use SMS auth.
cool. This would go perfectly with something like peertube
> The CEO of Amazon doesn't make a decision of this magnitude based on a whim. They'll have mountains of productivity data on remote work by now and it even says so in the post.

If it says so it must be true. There's no data in that post, just platitudes management like to use about collaboration and creativity that is absolute BS.

Shame I left the company I was at during the pandemic because I could dig the data but there was a very clear 20% sustained benefit in terms of productivity when WFH: faster to close tickets, bigger releases, less bugs. Did culture suffer? Yes. Did it matter, no, because culture is some vague notion only HR and senior management cares about, or at least pretends to.
They still mandated RTO in the end, which cost them half of their more senior engineers, positions they still have not managed to fill, what a surprise when you want to force people through unproductive hoops.

I now work in a remote first company and in 16 years of career it's the most productive team I've been part of, shit gets done at all levels more so than in any other company I've been part of.
Andy Jassy works for Amazon like 20+ years now.

Albeit he is not an SDE, assuming he knew nothing about how software engineering works is just pure idiocracy and ignorance. He created the AWS business.
that article comes up with weird ideas about the definition of a household. a household is one building, maybe everyone sharing the same kitchen. anyone who does not live at that location, even temporary, is not part of that household. this does not only apply to netflix, but also to my taxes and benefits.

a german public tv license is per household too and would not include the hospital patient either. and of course, they get plenty of complaints about edgecases as well.

if netflix wanted to sell to families, they could do that by somehow letting you specify who the familymember is, and how they relate to you and limiting it to a number of people.
I love the app! The interior designer and property agent who saw me using it were pretty blown away.

One thing I struggle with though is making sure that the capture is robust enough before I move on. I usually only really know that something is off when the capture is done already. Can I “touch up” an existing capture by doing another local scan of a problematic area?
This should probably have 2012 (instead of 2018) in the title.

[1] https://www.gamedeveloper.com/programming/in-depth-functiona...
This, a thousand times over. I get that unlimited spending is not the way, but the complete lack of at least trying to understand productivity and related cost/profit..

Until it becomes quantifiable, cost does not exist for some people.
I'm not sure I agree with this. In my view the good alternative would have been OpenCL based machine learning libraries, no?

Nvidia deliberately undermined that at every turn, and pushed a proprietary solution, hard. Almost all gpgpu based machine learning used it, and, what is AMD left with? HIP, the "CUDA wrapper to make it work on ROCm".

What's the alternative here? Say that Nvidia shouldn't do anticompetitive things? That's been an exceedingly successful market strategy for them for quite some time.
That can be resolved with enums.
We are essentially asking whether the universe could contain a complete encoding of its workings.

The answer is certainly not obvious to me, especially when we have results such as Goedel's theorems.
Sorry I developed a Dwarf Fortress addiction in the meantime so I don't have time for this anymore
It's not you Civ, it's my dwarves
Trying to estimate the total costs of the externalities, like most economists currently suggest, is complete non-sense, in my opinion. Their methods are dubious to put it mildly [1], and they also replace the politically accepted goal with their own.

The politically accepted goal is to prevent dangerous levels of climate change. For this, we need to reach net-zero greenhouse gas emissions in 2050, according to the climatologists. Since there is no way to reduce emissions to zero until then (or possibly ever), we need negative emissions.

Right now, getting a metric tonne of CO2 out of the atmosphere costs about US$ 600 per tonne (with a sufficiently long or large contract). These costs may drop in the future if scaled-up but US$ 600 per tonne is the best estimate we have right now.

This is what emitters need to pay. Something around US$ 175 per tonne (+/- 75) would only buy about 30 percent of the negative emissions needed to reach net-zero. In other words, it's insufficient.

And of course this applies to everybody, not just rich people.

[1] https://doi.org/10.1080/14747731.2020.1807856
I am conflicted. The argument that individual productivity improves but teamwork and innovation suffers is plausible.

Here is one data point:

https://steveblank.com/2023/02/14/startups-that-have-employe...

I've also seen some pandemic data that individual unit productivity suffered, but was more than made up by the fact people worked longer because they did not have to endure the commute:

https://bfi.uchicago.edu/insight/finding/work-from-home-prod...

It probably also depends on the job function, software developers are likely more productive when they can work uninterrupted. WFH does not guarantee that, however, if you have young kids at home or a small apartment without a dedicated home office. I suspect companies will start offering perks like being able to "WFH" not from actual home but from a WeWork-like space that is a shorter commute from your residence.

Some company cultures are clearly more congenial to remote working than others, and those companies will have a competitive advantage in attracting and retaining talent. Automattic (makers of WordPress) sold their underutilized SF office because no one was coming in anyway. Culture eats strategy for breakfast and I'm sure it's hard to impossible for a behemoth like Amazon to turn its culture around to be remote-first, even if they wanted to. Still, it would be useful for researchers to do proper studies on how to make this work. Making WFH more widespread would improve workforce participation, specially for women or caregivers when the population is aging, and thus benefit the economy as a whole.
Klondike Gold Rush: Photos Capture Prospectors Trying to Strike Gold, 1890s
They’ve all been a bit crashy as well. Nothing worse than a 2 hour session ending in a crash and losing everything.
Was this old job Canva by any chance?
I certainly noticed the marker balls, but...

On a quick glance, they do not mention if they are using the external cameras for the control algorithm or just verifying the results. The QR code-like markers on the gates suggests that there is also some onboard cameras.

The statistics on the measurement errors suggests that they have a ground truth (from external cameras?) which they compare to some other source of measurement.

So I would not draw the conclusion that the tracker balls and external cameras are doing all the heavy lifting here.
It's dogmatic in the sense that it often pursues some point (such as very short functions) to the level of a dogma, without much regard for the benefit accrued.
In general with strategy game AIs it’s not feasible to make it play at decent human level, so the way they make it challenging to play is by cheating in various ways. Resource boosts, global vision, etc.

In particular, humans are very good at reasoning based on limited information. We can form hypotheses about where resources or objectives might be, or if an enemy unit goes out if the visible map, estimating where it could be on a later turn, or what it’s presence indicates about its home civilisation’s disposition out of sigh. That sort of thing is extremely hard to program, so the only way to compensate for the AIs inability to intuit information is by actually giving it the information.
> but needed to get shit done eventually and so stopped his investigation. Very pragmatic.

That's a strange take by him and on pragmatism. There's also almost nothing pragmatic about C++. Many functional languages are actually quite pragmatic.
Can you ELI5 what "visits" means, in "KataGo, 100K visits"? I can't find a comprehensible explanation via Google...
Heh. That's not a solid argument, though.

A full time employee is paid for 40h per week. So using commonly available tools we can determine the average commute time and in many countries travel time is considered work time.

So on paper but generally rarely enforced, you should be able to subtract your commute time from the 40h and end up with actual work time.

Everything on top being overtime and should be paid according to rates mandated legally.

Except for a handful of companies and state employees, I've never seen overtime being paid, though.
There is one place where purity is effectively enforced: constexpr functions called in constexpr context.

It's a little bit limited, as it's only enforced for compile time evaluations.
There's whole pages of explanation about understandability in the Meaningful Names chapter preceding that distilled rule. Specifically it explains about making meaningful distinctions by avoiding vague words like Data or Manager or Info.
And you can go even smaller if you're fine with a slightly less user friendly (but still modern, and also very fast) build tool that's used at the core of Vite:

> echo '{}' > package.json && npm i --save-dev typescript esbuild preact

> added 4 packages, and audited 5 packages in 2s
I was also thinking about this book when I read that article. It's really an excellent book and it's condensed and because it's written by an expert in teaching it's easy to grasp.

It's also recommended in this article:

"Update, 2020-12-19
After suggestions from comments below, I read A Philosophy of Software Design (2018) by John Ousterhout and found it to be a much more positive experience. I would be happy to recommend it over Clean Code".
Now I'm wondering if anyone has checked whether chat gpt can actually generate iid random numbers, or if it has the same sorts of bias as a human, or something else entirely.
Give me anything that sparks joy in your soul and I will monetize it