Better HN
topnewbestaskshowjobs
Log inSign up

shortrounddev2

2,427 karma · joined Jun 15, 2023 (3y ago) · 1,641 submissions

Submissions

comment 3y ago · link · parent

That's the link I'm talking about. A website which looks like it's from 2002, linking to each JEP. No syntax highlighting, and paragraphs of text to read before really showing a compare/contrast. It's the kind of thing that was written by programmers and not by writers

Compare to C# releases:

https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/cs...

Most links take you to a section of the same page, with syntax highlighting and optional light/dark mode on the site. For some features, it doesn't explain the rationale behind the change, it just shows the before/after, which is really all I care about:

https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/cs...

comment 3y ago · link · parent

Try, for example, generating a regular expression which features backslashes in it. You will get an unreadable mess and probably have to play with it for a while before java will even compile it

comment 3y ago · link · parent

Yes, all of those except swift are better

comment 3y ago · link · parent

using backslashes for anything other than escaping a characters (e.g: \" or \n) makes it a nightmare to try to coerce the compiler into understanding what you're trying to do if you combine escape characters and syntax in the same string

comment 3y ago · link · parent

Oracle managed to create one of the least ergonomic string interpolation syntaxes of any language I've ever seen. Using backslashes is truly a terrible move

comment 3y ago · link · parent

Would be cool if oracle worked on their presentation a bit. Whenever MS releases new C# features they've got a blog post showing the features off and how they can be used. Oracle just kind of dumps a bunch of JEP links

comment 3y ago · link · parent

I can't imagine there's any money in it for them

comment 3y ago · link · parent

Capitalism, over the last 50 years, has brought more people out of poverty globally than ever before. Since 1970, the number of people living in extreme poverty has fallen in both absolute numbers (total number of people) and relatively (% of people). In the 1970s, for the first time in human history, most people on the planet were not living in extreme poverty. This number accelerated in 1990, after the fall of Communism and the expansion of liberal economic policies.

Capitalism is the most positive economic force in human history and has saved billions of people from a low quality of life and dying in poverty

https://ourworldindata.org/grapher/world-population-in-extre...

comment 3y ago · link · parent

My company has several tables in our UI whose API endpoints simply query for all records in that table without pagination. hundreds of rows are loaded into a table plugin, even if you'll never get past the first page

comment 3y ago · link · parent

> I’m guessing back in the day when things were 32 bit or less, there were entire financial database implementations that handled this abstraction?

This issue is what COBOL was designed to solve. Fixed decimal point arithmetic in base 10

comment 3y ago · link · parent

Oh yeah I'm sure those applications exist, I just don't seem to use or work on any of them

comment 3y ago · link · parent

Oh yeah I guess Figma is one, but I'm not in the design department. I guess there are a lot of apps out there that benefit from it, but I don't seem to use any of them

comment 3y ago · link · parent

Apple cares about macOS and iOS developers, whereas Microsoft's tech stack is aimed at Web Developers to try to make the development experience with Azure seamless. Apple couldn't care less if your Node backend runs well on their machines

comment 3y ago · link · parent

not an expert:

I believe WSL2 set up networking almost as a virtual client on a network local to your machine. Windows used NAT to direct traffic from Windows to WSL. The new changes allow more direct access to the network hardware instead of "virtualizing" (probably the wrong word) it

comment 3y ago · link · parent

I've always wondered what kind of apps these are. The vast majority of web apps I use are all CRUD. I can't think of a single webapp or electron app I use which performs heavy computation. Maybe VSCode? But I don't know if any of the computation is happening on the frontend. People have been extolling the virtues of WASM to me for a while but I have yet to find a use for it where it improved the speed of development, since that's the only metric that matters to me working on CRUD apps

comment 3y ago · link · parent

I've never heard of that happening

comment 3y ago · link · parent

Democracy is only meaningless to those who don't appreciate the privilege of living in one

comment 3y ago · link · parent

Living in a tent is homelessness

comment 3y ago · link · parent

In what way did arming the Mujahideen with Stingers bite us in the ass

comment 3y ago · link · parent

It's reductive to point out that the US has democracy and China does not? These are fundamental differences between the two. The argument the OP posted is like saying that Iran executes gays and apostates because of where power sits in their government and not because that power (regardless of how centralized it is) is wielded by religious extremists

comment 3y ago · link · parent

The difference between the US and China is not a central government which is empowered to make projects and a federalist system which gives undue influence to small interests.

The difference is that the US is a democracy and China is a communist dictatorship. Tens of millions didn't die in china because a huge national projects; they died because they were ruled by a totalitarian dictator who had no regard whatsoever for the value of human life, and who was empowered purely by the threat (or the guarantee) of violence and not by the consent of the governed. There is an ocean of difference between western democracies and communist dictatorships, and it's not how we allocate authority to public works projects

comment 3y ago · link · parent

There is no longer any war in Iraq or Afghanistan

comment 3y ago · link · parent

Tax deductions only come into play if they are higher than the standard deduction. Unless he is donating tens of thousands of dollars each year (in addition to other itemized deductions), it likely doesn't change anything

comment 3y ago · link · parent

I use oat milk in my mashed potatoes for thanksgiving because some people are vegan and some are lactose intolerant. I made both vegan and non-vegan mashed potatoes one year and people told me not to bother with non-vegan in the future because they couldn't tell the difference

comment 3y ago · link · parent

> And the Virginia neighborhood bogusly renamed “National Landing”.

It's called crystal city. Amazon renamed it when they announced HQ2 there. Nobody from here calls it national landing

comment 3y ago · link · parent

It sounds like your issue is with the federal government charging fees for the national parks, not booze Allen Hamilton charging a processing fee for it.

comment 3y ago · link · parent

Made it way easier to generate the hundreds of lines of boilerplate crap you have to write with typescript backends

comment 3y ago · link · parent

I find being in an office infinitely more distracting than being home. Personally I wear headphones and use focus mode on Windows 11

comment 3y ago · link · parent

Twitter added very few features in the last few years despite having a massive amount of staff. Many belive twitter had too high a headcount for the amount of revenue they made compared to other social media sites, and that those who did work there couldn't possibly have a full day of work on their schedules seeing as how twitter never did anything

comment 3y ago · link · parent

You know you still have to pay to enter a national park right? And pay for the campsite reservations?
1
394041
55