skysight-inc/HackerNews huggingface dataset:
A modern core has a bunch of resources (ALUs, register files and so on) to assign/draw upon as dynamically needed. Not every one is needed for every instruction of course. In the old days when there was a single ALU, and maybe a single address calculator, that was that.

Now the resources can be scheduled in a very complex, out of order, and subinstruction fashion. The chip designers guess what the instruction mix will likely be and hopefully make the right call as to how many Xs are required and how many Ys. Too few and operations in flight will wait. Too many and the chip becomes more complex for no benefit, and maybe those unused resources crowd out space for something else useful.

If you stick an ALU on every register you’re guaranteeing to use some area on something not used all the time.
You aren’t calling out anything, rather just stating your opinion from an anonymous moniker, that gives it zero value to me. If you feel so strongly about it, why not do it from your normal account? Otherwise you’re adding less value then you claim the author is.

I’d rather hear disagreeing opinions from real people than those hiding behind anonymity, afraid to own their opinions publicly.
It seems to be a cycle. Begin a project, and try to keep the Window dedicated to tabs for that project. Tabs are open for electronic part datasheets, API documentation, etc. Then somehow i pop over to HN and open an unrelated link. Next thing, the window is polluted with project tabs and HN (reddit, etc) tabs. Rinse, repeat.

I would say 90% tabs are unimportant, but I am afraid to nuke the session from orbit because there are some hard to find links / important ones in there.
> It's really sad but your average Japanese citizen has very little interest or idea about politics and policy and the population and the country suffers greatly because of this.

Japan has been an effectively ”managed” democracy for the entirety of the postwar period, so I find this argument to be unconvincing. In the postwar period, the ruling LDP party was assembled by U.S. intelligence services from a mix of war criminals and far right business leaders and funneled millions of dollars and provided other forms of support for decades. There was widespread unrest as a result of this up until the early 70s, where the tensions around America’s use of the country as a FOB for the Vietnam War came to a boil and state police and security services engaged in widespread violence and crackdowns, ANPO was reauthorized, and it was demonstrated that no, actually, things will not be allowed to change. From this point on, most Japanese people became increasingly disengaged from politics because they correctly determined that their votes and protests did not matter, except to the extent that they reinforced the status quo.

> Democracy isn't in their DNA, it was imposed.

Separately, your depiction of the imposition of democracy is also entirely incorrect and ignorant of history. Japan had one of the most politically active and engaged populations in it prewar period, but this was strangled by its ruling elites because popular political movements were almost universally left wing. The perfect example of this was that the expansion of universal male franchise in response to widespread labor unrest was paired with the outlawing of left wing political parties.
I can recommend the winger addon for managing tabs.

Allows for naming windows, moving tabs between windows, and saving tabs from a window as a bookmark folder.
Personally I open vast sums of tabs because, unlike browser history, tabs are organized in windows that help you maintain context for whatever you were thinking of when the tabs were opened. In an ideal world, I'd eventually go back and bookmark, tag, and close them. Unfortunately there are very few options for cross-browser tagged bookmark sync.

I suspect the major browser vendors are not incentivized to create a solution for this problem. In the case of Microsoft and Google, they'd prefer you avoided bookmarks and asked their search engine so that they can serve you ads. Apple has never prioritized cross platform conveniences, so that leaves out Safari. Firefox is better about this, but only with other instances of Firefox.
Grandparents contribute to the survival of their grandchildren. Evolution has selected for long lived grandparents. The same thing happened in elephants and whales.
At first glance I thought the author was plain wrong, but I think there is some good insight here.

This workflow works very well for the author. Most of us can probably think of a time when Git or automated tests frustrated us or made us less productive. There are similar solutions that are simpler and get out of the way, e.g. backing up code with Dropbox, FTP, whatever.

The above is works well because the author is optimizing for their productivity on a passion project where they collaborate with few others.

Automated tests are useful, but it sounds like the author likes creating programs so small that the value might not surface. I think that automated tests still have value even in this context, but I think we can all agree that automated tests slow you down (though many would argue that you see eventual returns).

Version control and automated tests solve real problems. It would be insane to start a project without VC today, and automated tests are a best practice for a reason. But, for the authors particular use case, this sounds reasonable.

---

Aside from the controversial bits around VC/tests, I think items 7/8/9 perfectly capture my mindset when writing/refactoring a large program. Write, throw it away, write again.
I don’t know about the USA but there are likely millions of them deployed around the world, and working fine.
Bitcoin is down 10%, Ethereum 20%. I am afraid it is not just Japan.
> There's a world of difference between code that's dead because of a static define, and code that's dead because of an inference the compiler made.

Not really, that’s the problem. After many passes of transforming the code through optimization it is hard for the compiler to tell why a given piece of code is dead. Compiler writers aren’t just malicious as a lot of people seem to think when discussions like this come up.
I have tried various bookmarking systems and inevitably things get lost. I don't find bookmarks useful long term either.
Peopl always need some bubble to gamble around. AI has no competition at this point so its here to stay for a decade
To be honest I haven't figured out anything about the licensing yet. I think most of the games are abondonwares but I can maybe start adding a license field.

Also, in the open source version, you will have to bring your own roms or maybe we can pull from archive.org.
To be honest, crypto is a rounding error compared to the movements we are observing in traditional markets. It has a very high psychological presence but its market cap is still essentially zero
Energy usage seems like a pretty bad indicator to start with, given vast efficiency improvements in nearly every aspect of industry?

As a contrary example, we might well see energy usage massively surge here in the short run due to generative AI. And at this point there’s not much evidence there’s actually much real GDP value creation yet in any of that at all.
> As a thought experiment, consider what factors would have to be true for extremely cheap assets, say a PER of 1.

The singularity? The bad things you are thinking about doesn't come from assets being cheap, they are flaws that causes the asset to be cheap for other reasons. All else being equal it is better when things are cheaper.
If the complexity of the attached subsystem is low enough, the wires can be used as a feature not a bug, like a map.

Imagine a home network diagram with a router, switches, and computers. You could draw each on their own sheet with names for each cable, but the purpose of each cable is clear from what it connects.
I completely agree.

Hours worked per employee, employee counts, employment rate, etc. are not as tightly coupled to productivity as they used to be.

This "analysis" is just a whole lotta chicken little bullshit.
What drives your skepticism of rapamycin for anti-aging?
Take a look at ps, it's not that simple:

https://imgur.com/a/BlTS83x
Hm, what's interesting here is that now the blame does somewhat lie on the mainboard manufacturers and their stock overclock, mostly. Wendell in his video pointed out that even cloud gaming providers running server boards have the same high failure rates, while applying much more conservative settings.
They are pretty common, just not among "JSON/XML everywhere" people.
> This philosophy does not scale beyond one person and said person having recent, intimate, memory of all decisions encoded in source code (current or historical). Furthermore, given intimate implementation knowledge, verifying any change by definition must be performed manually.

As a one-man programming team, you are correct. And quite frankly, I shudder to think of not programming with a test suite or version control, even though I work alone!

Docs, tests, and version control reduce what I have to remember about the code context. Yes, I have to remember the details of the code in front of me, but if I document it, test it, and check it in with a good commit message describing the why and how and whatever, then I can discard that code from my memory and move on to the next thing.
Not the OP, but I also have a lot of tabs. In every browser I’ve tried the bookmark manager is rather primitive. I once ran into a Floccus bug that duplicated tens of thousands of bookmarks and discovered bookmark managers also don’t scale very well.

The bigger problem with bookmarks for me is the inability to manage relationships. With the Tree Style Tabs add-on in Firefox and vertical tabs in Orion, child tabs are opened in a tree. It codifies my search context and makes tab management quite easy. The analog in bookmarks is using folders, but they’re rather tedious to create when bookmarking and I can’t think of any browser that will auto-create nested folders when bulk bookmarking tabs.
It seems like many people basically use open browser tabs as history/bookmarks. If they don't close it, they want to remember it forever.

I believe browsers have had to adapt to this by basically converting tabs into auto-bookmarks that have advanced caching or something. So they automatically unload and have logic to determine when they are actually supposed to be active.

I wonder if eventually tabs, history, bookmarks, and tab groups will be completely merged into one flexible and intelligent feature.

On wider screens, a left sidebar might open by default with tabs stacked vertically.

Not sure but it seems like people don't use tabs as originally intended.

Maybe if they just made history more obvious then that would change the equation.
GDP ~= population * productivity/worker

I’m surprised people aren’t factoring the population collapse in even more.
Why is the argument unconvincing to you after you've just provided a bunch of evidence as to why Japanese people aren't engaged in politics and there is no opposition here?
I keep trying to figure out the joke.
That's... not really a problem when you dispatch on pointer types? Like, to fix the example from the article you quote:

#define string_length_fixed(x) _Generic(x, \
const char * : strlen((const char*)(x)), \
struct MyStringBuffer * : ((struct MyStringBuffer *)(x))->length)

The discarded branches don't get evaluated so it's perfectly fine.
Your quotes seem to reinforce parent's assertion he's not talking about version control in the form of tooling but some kind of versioning in the code itself: "...while tests and versions..."
I’m not an expert on either company, but as I see it NVIDIA has a massive scale of R&D that is very effective and meaningfully focused. Intel seems to be cutting a massive amount of R&D that went no where & also doesn’t seem to have a clear thesis about who they are in the future.

Generally M&A’s argument is that it’s more capitally efficient to acquire. There’s certainly a a case to be made for that here, but having seen a few engineering teams post M&A it could actually be a poison pill for NVIDIA.

I’d love to hear from other more informed people what I’m missing here.
Small Businesses Make Hard Choices as Insurance Costs Surge
Teams + the entire Office suite are two examples of Microsoft products going downhill over time.
Why can't tabs just be a visualization of browser history with the most recently used entries cached and bookmarks can go to hell (aka just be used for a hotbar)
Yes, hedge funds were selling (borrowing) yen which had positive carry, to fund purchase of US tech stocks. The carry is gone so now they're closing their positions, which means buying yen (which makes the yen stronger, which hurts Japanese exporters), while selling US tech stocks.
I think you mean

$ ls /cal/2024/08/04

Or perhaps

$ cat /cal/2024/08/04/*

;)
Just so happens I watched this guy (Ian Caroll) yesterday predicting a global market crash. He was explaining that Banks are leveraged 100 to 1 in derivative trading. Eg. Goldman Sachs is sitting on 50 trillion in derivative trades (bets on stock prices) but has less than 1/2 trillion dollars in assets. It's the biggest bubble ever. 1 Trillion is equal to 1,000,000 Million.

https://x.com/i/status/1819797005977125036
have you worked with java or C#? both are where types sometimes become a burden.

No, you cannot just do something like this:

```
return { data, message: "OK" };
```

you need to declare a class or struct that match the definition. There's mapper and builder everywhere. Adding / deleting 1 column from a datatype can force you to make changes in 5 places due to mapper / builder.
This is essentially just CalDAV[1], no? So a FUSE CalDAV client. Surely not that difficult in Go, Rust or something similar with ready libraries.

[1]: https://en.wikipedia.org/wiki/CalDAV
This is broken right? Trying it now and the UI doesn't look like usual
A two+ track system, one focused on being a prof with grant writing and ethics, the other on being an R&D wizard for the tech economy.
The opposite of this is factoring in devaluation of currency. There is no guarantee of a sudden collapse in a given time period. It could just be a slow deterioration of quantity and quality of products and services being produced, with uneven effects across different businesses.
As programmers we are inundated with choice and options. Our tooling and whatever the zeitgeist considers "best tooling" tends to err on the side of making $THING easier to do.

But having 1000 easy options always available introduces severe cognitive burden to pick the correct choice. That's part of the reason why we as an industry have enshrined all shorts of Best Practices and socially shame the non-adherents.

Don't get me wrong, bad architecture and horrible spaghetti code is terrible to work with. However, questioning the things that feel Obviously Correct and exploring different and austere development environments that narrow our set of available choices and tools can sincerely operate to sharpen our focus on the end goal problem at hand.

As for version control, branching encourages cutting a program into "independent features"; history encourages blind usage of potentially out-of-date functional units; collaborative work reifies typically-irrelevant organizational boundaries into the code architecture (cf Mel Conway); etc.

Version control's benefits are also common knowledge, but there are real tradeoffs at the level of "solving business problem X". It's telling that such tradeoffs are virtually invisible to us as an industry.
Regarding programming with a mature static type system:

> It was incredibly liberating - like pairing with someone who was junior but very pedantic.

This is exactly what is happening. To achieve the same level of semantic confidence across a code-base in a dynamically typed language (such as JavaScript, Perl, Python, Ruby, etc.) would take the effort of a diligent junior programmer.

Which, in a way, is what a strongly-typed language compiler does IMHO.
Primary energy consumption would matter if energy efficiency did not exist. Generally speaking all sorts of industries use electricity way more efficiently in the US, which is why that number has not really budged; it is not really providing economic output to replace all our LEDs to inefficient incandescents, for example.

China's graph looks substantially different because it started from an extremely low base living standard.
I think the web had peaked by 2012. I'm now wondering whether Chrome overtaking Firefox might be related.
Uber and Airbnb are both illegal and unprofitable. They also raised billions to muscle their way to where they are. Good luck!
There was a saying that technology usually has inertia, if it was used for 30 years, and is used actively now, it will probably still be in use 30 years in the future.

I learned vim by necessity after shying away from this weird old tech for years, when I was forced to work on a solaris server where there was no other way to edit the code at all. It was pain and suffering for a few hours - we really wanted to fix something that day as I was working on a machine that we were “not allowed to ssh into” been driven to a different city in order to sit in front of it.

But after that day I’ve been using vim almost every day. It is not my daily driver, always felt more productive in TextMate, SublimeText and now VS Code, but it is still incredibly useful.

Any remote server I ssh into there is no question what I can or cannot do - can easily edit everything I want to. And I use it for various quick edit tasks in the shell.

Now learning shells wasn’t so dramatic for me but same rules apply, I don’t feel uncomfortable anywhere - that pod that is misbehaving in your cluster - well just ssh into it and poke around! You need to tie a few commands together as there isn’t something that does _exactly_ what your company needs - just whip up a quick bash script! - zero dependencies and can be deployed anywhere - your mac, the server the ci is running on, even windows machines!

So general rule is - if it was used for 50 years and is used now, it is probably worth learning.
I disagree specifically with the framing that the “the population and the country suffers greatly because of this” as it was demonstrated that mass political movements would never be allowed to exert control over its politics. It’s an entirely rational response to a sham democracy. The country (now) suffers greatly as a result of the course the U.S. set it on by subverting its democracy to protect its own interests.
Maybe I got trolled, but I'm really not sure.
about:tabs

... which brings up a simple text listing, one URL per line, of all tabs you have open. This would allow you to quickly, easily, checkpoint (or, bookmark) your open tabs.

I, personally, and rsync.net as a firm have offered bounties for this simple feature for over ten years now. I think we offered up to $2k at one point ?

This doesn't need to be a plugin - it is so dead simple and so necessary that it should just be built in.
Can you point me to any discussion of it being 10 to 20 years?

I'd like to read more about that because it feels like that could provide insight into politics/policy more broadly. For example, if someone came up with a solution for the housing crisis but it would take more than 10 to 20 years, would people view that as effectively no solution at all?
Explain how it's worse than what's in OP. Look, sometimes you just want to see a fun idea turn into reality, right?
> might signal the end of the government prioritizing corporate profit over the well being of the populace

Can you say more words about this?

I've googled, and it looks like the Corporate Tax Rate for Japan (30%) is higher than the US (21%), and basically all the other developed countries (mostly around 25%), so from that it seems like it's prioritizing corporate profit less than other countries.

My image of Japan is that it has well-functioning social services (healthcare and pension which are working, despite a largely aging population), that it has generally high standard of living and invests in infrastructure, and that corporate profits are quite low compared to other highly developed countries.

It's also "common knowledge" (thought possibly wrong) that Japan's CEOs are paid less than those of, say, the US.

In what way does the government prioritize corporate profits more than other governments?
> Democracy isn't in their DNA, it was imposed.

this is an aside but the 1889 constitution had democractic components. Turns out a military coup stops democratic progress for a while. Japanese popular participation in politics has a lot of dimensions to it, including popular uprisings and authoritarian pushback by the government (including post-1945)

I've also lived in Japan for a while, and I've always found any sort of argument around the different nature of Japan based in "people be different" to be unsatisfying.

Usually you can dig just a bit more and find very straightforward material explanations for people's behavior. Or even at worst the same kind of behavior you see everywhere, just shifted around in intensity a little. Maybe this is too nihilistic but sometimes there are less magical explanations (like not caring about interest rates being downstream of them being near 0 percent)
Onboard flash would be welcome. External flash makes things unnecessarily hard for beginners. You either need to investigate their complicated boot scheme and work with built-in SPI even before you can blink the led, or use their overcomplicated SDK with overcomplicated build tools. Both alternatives are terrible. I can write blink led application using few lines of assembly with STM32 and that's how it should be.
Ah thanks for clarifying this! I definitely didn't realize this is what you meant!

So what you need is a way to put in your pushover API endpoint so we can send to that instead of email.

To actually be able to do configuration and stuff... I need to build a way for people to actually log in to webhooked.email and change stuff -- looks like I need to put some more effort into webhooked in the short term.
It trades 24/7 and moves very fast. It is a good way to check recent events.
What is a "good VC"?

Not sure why they have to do anything.. is there a forcing function up there?
Thunderstorms Have Caused $45B in Damages in the U.S. in Six Months
Starting Hospice
Sounds like they’re not working that hard.
I used to write proto parser using ragel <https://www.colm.net/open-source/ragel/> for work way back as well, it was surprisingly painless. Think this was way back when protobuf was transitioning to proto3.
You don't need to be on a codeshare for that to work though, it just needs to be on the same itinerary - the flight numbers can be on different airlines and still on the same itinerary.
> Would it be a conspiracy theory to suggest that this is the real driving force behind the push for 401k plans?

I don't know if it was intentional, but the 401k has turned out to be a masterstroke of propaganda for pro-business set. It's gotten voters to think like they're capitalists and screw themselves in the process.
This fully matches my experience using Chat GPT for the past 12 months. You just have to allow yourself to ask it questions like you might ask a very smart co-worker and it just keeps delivering. In many ways it has delivered as a co-CTO on one rather complicated project I've been working on.
Disagree on VC, even for solo project and no multiple version branching. Human make mistakes, knowing what you change in the last 3 weeks for >100k LOC project are godsend. It helps to find and fix issues. The better feature is branching out, because you can do what you want while still having a way to go back to previous stable.

As for automated tests? That's fine.