skysight-inc/HackerNews huggingface dataset:
> Nothing is digitized.

That's not true. But it depends very strong on the City and task to which degree something is digitized. The problems are federation and privacy-laws, which exist for historical reasons. Basically, every city is doing their own thing, and sharing of data has been made hard for public services for a long time. Germany is moving away from this, but because of the big clusterfuck of everything, it takes a while, and not everyone moves at the same speed. And things have become better fast in the last years, because of the pandemia. So it might be already very different from when you made your experiences.

> But the worst part of all this is - the vast majority of Germans think this is all acceptable and okay.

Nobody thinks that, but most process the normal citizen encounter, are fast and people know how to avoid the problems. This is a more general problem of Germany, that many things depends on you having the necessary knowledge and experience about the system to get things done fast.

> If you go to the /r/germany or /r/de subreddits, any thread with genuine complaints will be drowned in responses from native Germans who foolishly believe that Germany is a great country

Those are often parodies, German humor. The stupid dry level to say, but overall they just joke about the attitude of Germany and its rules. And overall, Germany is in fact not a bad country to live, there are far worse countries, like North Korea, Russia, parts of Ukraine, parts of USA.. At least people have Beer and Döner.
We often hear here (Berlin) that the housing affordability crisis is due to not building enough housing...Yet London apparently built loads in the last 20 years and it's still as unaffordable as ever (or even more than ever)?

Is there any data showing that if we let loose and build a ton of housing that purchase prices and (especially) rents will reduce significantly? It's intuitively true but all the cities you can see a ton of construction in have also gone from "expensive" to "more expensive" at the same time.

Did any major city people want to live in got more affordable (or stayed affordable) in the last 10-20 years?
The US is still nominally governed by and accountable to the rule of law.

Companies cannot use the court system in China to hold the government to account, the government is accountable only to itself.

This difference is irreconcilable.
speaking of black holes, I just fell into the Kurzgesagt one.

prior to this post.. ( thank you )
ive never heard of this channel/brand.

The animations and narrations are incredible. I was thinking of sharing this with my son..

and then I found this critique about its funding :
https://youtu.be/DGfBV4I8DQI

makes one truly hesitate..
I'd need to see the numbers on this on joule/kg, and then allowing for the increased tankage size.
There's a lot of residential in these shots, too. Commercial skyscrapers are more "visible" but there's also plenty of residential being built. Now, it's not affordable and probably outside of most people's means, but it's there and making useless areas like Nine Elms somewhat of hot spots – not everybody's cuppa tea for sure, but some do like it for whatever reason(s).
The CDS (credit default swap) on Chinese government bonds went up over 30% during the last week. This means that the market believes that the chance for a default on bond payments went up considerably.

If you believe you are right and the market is wrong, you should short-sell CDS'es and get rich.
One thing that always surprises me when you see London from on-high is how flat it is. Barely any hills at all.
> The bad actors in most cases won't follow them anyhow, no matter how draconian they are.

That's why there's a move to ELDs - it's not a matter of making punishments harsher, it's a matter of automatically enforcing the rules so that it's much more difficult to break them.
Some games simply have no stock of digital copies (at least not in the Netherlands). And haven’t had in months.
I wrote about retrofitting such a system onto an existing one:

https://jacquesmattheij.com/all-programming-is-bookkeeping/

Which was written in the context of:

https://jacquesmattheij.com/saving-a-project-and-a-company/

And without which that project likely would not have seen a successful end result.

It really is a war story, and what I like most about it is how at the drop of a hat a team assembled to get the job done, cleanly tackled the problem(s) and transferred duties to a new crew.
That's the most cyberpunk laptop/tablet I've ever seen, without it looking kitsch or gaudy -- very impressive!
While reading I had a thought:

What if they (whoever it is, who could or should do this) worked on a proposal, that specifies, how language features should be added to the language? I mean, there are things like continuations and macros. Those need to be really solid. But based on them, could one not make everything else an optional addition, implemented on top of them, instead of in a dialect's core? So that Schemes could all go for R7RS small (except those that object to things in it) and then basically have a "folder" in their sources of things that are additionally necessary to have R7RS large things? Those things being implemented in the way that the standard proposes? Then we could get to a R7RS large step by step, feature by feature.

I guess this depends on whether things in R7RS large are at their core incompatible with how R7RS small works. Probably it also depends on those dialects implementing the standards correctly for the primitives, that the extension mechanism is supposed to be based on.

I also don't know enough to tell what attempts have already been made to resolve things, so perhaps someone already had this idea and it does not work.
Seems to me TSMC is just trying to avoid a unionized labor force, which they were aware of before taking the deal. Having worked in various industries all over the US in large and complex manufacturing processes, there are many challenges in operating a unionized business. Lack of work ethics is definitely not one of challenges though.
> a few strategically placed plants to serve as back up until large scale battery storage gets sufficiently commonplace until it is no longer needed

I suspect battery storage will reach that point before any nuclear plant started in the West today generates its first watt: about 10-15 years.
The price of lithium fluctuates a bit. Currently around 37 dollars per kg. A kg of salt is a lot cheaper. Just check in your local supermarket.
> However, like I said in my first response, this optimization in particular is only valid if the array is definitely accessed incorrectly.

No. The code does not show any undefined behavior if any of the elements of `table` is equal to `v`, because then the loop is ended by an early return. The compiler certainly did not prove that this code always has undefined behavior.
https://github.com/RbtsEvrwhr-Riley/CellSol here ya go it's on my SO's github
It’s really starting to look like language design goes better via benevolent dictator.

Committees don’t lend themselves to coherent and consistent overall vision
Looks like mac only? I’m often stuck on windows. But thanks!
There was amusing humor in this writing with allusion to Douglas Adams & Kurt Vonnegut (& maybe others I missed). This seems especially apt for a young person with ambitions to chair a committee for standardizing such an old language.
There sure are a lot of examples of awful attempts though.
What works even better is using dataflow instead of call/return, as the problem largely goes away by itself.

With call/return, you have to return something, so if you have nothing to return because of an error, you have to return that, or both the error and the normal return value (Go). This pollutes the happy path. With this polymorphic container through which you thread the remainder of the processing, you make the problem a little nicer, but it is still there.

With dataflow, you simply don't send anything to the next filter stage, so your happy path is completely unaffected. You then send the error to some kind of standard error output, which can often be centralised for your application.

Sounds to good to be true, but used it in Wunderlist, for example, and it worked like a charm.

Oh, and the same technique that works for when you don't have a value (errors) works the same when you don't have a value yet (async).
The construction is a response to the high prices. Prices would be even higher without the construction that did happen.
I think you are making a comparison to slavery, which is not relevant because no one is suggesting that it's okay to own another human being.
"you aren't paying me for the 5 minutes I spent to fix it, you're paying me for the 10 years I spent to learn how to fix it in 5 minutes"
Someone.
I feel a lot of Tailwind's popularity is from people who were not around when inline style attributes were common place.
Missed that thanks, certainly piques my interest at this price
I think you can make a non thread-safe list by just making the same object without the lock described at https://peps.python.org/pep-0703/#container-thread-safety if you really want the maximum performance of single threads.

Maybe it could be part of a non_threadsafe_containers module on Pypi.
> But also given the structure and culture of the industry ( which drivers are only a piece ) there’s only a hard limit, which is the one that gets you in trouble, everything else is just a footnote.

It sounds to me like you're saying that we need hard limits because permissiveness will always be abused.
I was hired to do A/B testing, then they hired B to replace me.
>$100.000 each day

For clarity & comment skimmers:

TFA uses $100,000 in the subheading and beyond. Some European countries use `.` as a thousands separator, so it's not "a hundred dollars a day".
Where?

I couldn't find the specs for it, but the resolution is stated as 2880x1920 which ought to be 3:2.
"Never happened before" is funny because the example is literally in front of you. Want an example of many humans together making global change happen? See how we got here.

Individuals is how it started, individuals is how it's gonna improve.
Alpha's Precursor: The System Before the Quantitative System
Most [0] people have phones, so if food banks are well-used, they're going to be a WiFi attractor. This is a highly likely explanation.

[0] My spouse is a social services worker who specializes in the homeless. She says having a phone is a priority among social services recipients, but they rarely have a data plan (which is very expensive in Ottawa) and rely on WiFi for everything.
There's a reason that OVH is usually seen as a trash, low quality provider. :)
> But inflexible rules lead to more edge cases.

Or alternately a normal working day is 8 hours, and a 10 hour daily limit allows a supremely flexible 2 hours of overtime :)
It makes you wonder what it will be like in another few hundred years...
When we first moved to London (Zone 2/3) the place we lived in used to be a large apple orchard 100-150 years prior.
Where we moved to after was on the grounds of a former nunnery then recouperation hospital. And now the area we're in used to be grazing fields 100 years ago.
Many new flats target above average earners. London is attractive. And population is booming overall (UK population 2000: 59 million, 2023: 67.6 million).
Is quantum computing hype or almost here?
The planning in London is very poor. All they build are really the buildings that are meant to store value for foreign investors, typical open plan offices or warehouses.

There is nothing build that would be for workshops or light manufacturing.

Friend of mine have been trying to find a workshop space in London or vicinity for over a year and there is very little available.

It's either very expensive and too large or could be alright, but it doesn't have a bathroom and a sink. How are you supposed to work if you can't even wash your hands or you have to go to another building to do it?

It's like everyone thinks here the jobs of future will feature a person with a laptop hot desking.

Madness.
>I don't know how much touch screen only computers are considered during development of desktop environments and display servers

Probably close to zero. Gnome/KDE devs daily drive desktops/laptops and for phones/tablets they don't run FOSS Linux devices but also iOS and Android.

Desktop Linux is already a niche market, and FOSS Linux tablets/phones is even more niche. The only "Linux" built and polished for touch from the ground up is Android but I put Linux in commas for good reason there.
Depends on what you put in the containers ;)
I thought this was about issues with an EC2 instance
if we found out tomorrow that all we do is 'complete the word' based on context would you still hold that mechanic to such a lowly opinion?
Free-games-claimer: claim free games automatically
No Paywall: https://archive.is/K7quR
I agree there should be a warning. But it is not trivial to teach a compiler when to warn or not to not generate too many false positives.

Not as good as warning, but UBSan catches this at run-time:
https://godbolt.org/z/Mdjn7h8dj
Bonus points for calling out the cut up SVB card. Classy.
I tried this for the happy-birthday example and it was an improvement but still gave bad text - “hhappy” and others. The best was an artistically nonsensical orange box that managed to spell “happy” correctly but otherwise didn’t fit the image.
Java has/had a compiler check that forced you to write catch blocks or `throws` annotations in/on functions that call other functions which might throw.
The feature is called "checked exceptions" and I believe it has been discarded for its inconvenience by now.

Sometimes it feels like developers are going in circles while trying to find the most optimal way to handle errors.
I haven't seen this list before, I like it a lot - thanks for posting.
Great. To me Gnome 3 always seemed a perfect tablet envoronment while fairly imperfect desktop environment so I always wanted a good tablet with it and never wanted it on desktop/laptop.

I feel like buying this one. What inspires me even more is it seemingly having more than one USB-C port.
I agree, I don't like much of the advice this article gives. It seems trite. I think it often ignores the human factor and comes across very wooden and one-way—sit your employee down and instruct them so-and-so. I'd like to see more emphasis on active listening, and (as you said) consideration of outside circumstances.

I'd also like to #include SilverBirch's post, which has deep wisdom: https://news.ycombinator.com/item?id=37164426
RYF certification or no sale.
It will not continue seeing such rapid growth for another few hundred years, world population will plateau by mid century and even the big cities will at some point stop growing.
At hidpi scales, you don't do font hinting or align to pixel grid. The resolution is high enough, so it is not needed to distort glyph shapes.
poor question, we know what human brains are made of, doesn't help us understand them all too much.
Huh, it’s almost like some process is in place to prevent vacant lots turning into housing. Almost like people aren’t “permitted” to do so. Quite a puzzle.
> people are addicted to drama

Is this an currently escalating tendency or has it always been like this? I mean the human nature has always been there but is our current social media landscape amplifying it to 11?
Some have changed a little, some a lot.

I compared one set of before/after and was surprised how much has changed: all the buildings seem to have changed in that one... until I noticed I was comparing images from two different locations. :)
> where PanP etc. are.

What are these?
Because I care about elegance of code and developer productivity even more. And there is no other language which comes close to Python in these regards.
The proposal for pattern matching syntax seems more akin to what they're looking for.

https://github.com/tc39/proposal-pattern-matching
Typescript is defined to run exactly as the equivalent Javascript you get when all the type declarations are stripped out of the source. There's no benefit in compiling it to WASM unless you had a WASM JS engine (or JS->WASM converter) that executed the JS faster than the browser's built-in JS engine (or created WASM binaries that were smaller than compressed minified JS, which seems extra unlikely when you'd have to include a JS runtime). If that existed for general JS, browsers would just upgrade to use that internally on all JS.

Well, you could in theory get benefits by having optimizations based on the type declarations. This could be awkward to do when Typescript allows zero-runtime-cost interop with untyped JS anywhere and allows any value to be cast through the `any` type and then to any other type. If Typescript with these optimizations is still intended to execute in the same way as its untyped JS equivalent, then the optimizations all need to handle being opted out of when an unexpected value is received, in the same way optimizing runtime-type-tracking JS engines have to be able to abort out of their type-based optimizations. This optimization would be equivalent to pre-warming a JS engine's knowledge of runtime type information, which is an optimization that could be done for JS in general rather than by doing it just in the Typescript project through compiling to WASM.
Fears about the Chinese real estate sector have been around for at least a decade. The amount of stuff that has been erected is just mind-boggling and unprecedented in human history. You cannot "rightsize" an exponential process.

But a spectacular bust to obliterate all speculative busts is not the deterministic outcome in this instance. The intermingling or state finances, state supported banks etc. is also a major characteristic of the Chinese system. In such a system you can push around and hide issues, redistribute the pain wherever it is politically acceptable and other such "conveniences".

One interesting question is whether the work-from-home behavioral change is further affecting the oversupply of commercial real estate in China as it does elsewhere...
People are willing to move around. So if a single city builds more, that slightly decreases house prices… everywhere else.

The specific city might see then rise, instead. It’ll grow, and that generally makes prices go up.
YouTube on Bigtable
Let's apply Dekker's reasoning. Give me a example of a law/regulation that you think is half-arsed. I bet we can show why it was designed that way with good intent.
How do I troubleshoot battery charging issues on my Acer laptop?
Hey fellow Acer laptop users!

I recently encountered some battery charging issues with my Acer laptop, but I managed to troubleshoot and fix them. I thought I'd share my experience here to help anyone else facing similar problems.

Firstly, make sure your charger and cable are working properly. Sometimes, a faulty charger can lead to charging problems. If you're using a third-party charger, switch to the original one provided by Acer.

Next, try resetting the battery settings. Power down your laptop, unplug it, and remove the battery if possible. Then, press and hold the power button for about 30 seconds. Reconnect everything and power on your laptop. This can often recalibrate the battery.

If the issue persists, check your power settings. Go to Control Panel > Hardware and Sound > Power Options. Ensure your settings are configured for balanced power and not set to limit charging.

Updating your BIOS might also help. Visit Acer's official website, find your laptop model, and download the latest BIOS update. Follow the instructions carefully to install it.

In case none of these steps work, it might be a hardware issue. Contact Acer's customer support or visit an authorized service center for assistance.

Remember, patience is key when troubleshooting. Don't get frustrated if the first solution doesn't work. Keep trying different steps, and hopefully, you'll get your laptop charging smoothly again.

Feel free to share your own tips or ask questions below. Let's help each other out!
A bit rough to expect highly skilled labor to move to a country saying it's better than north korea and Russia. I guess the bar is that low eh
I'm not suggesting to stop building, I'm asking what is the solution to housing unaffordablity?
Another idea, introduce ??? that would invoke on exception :)

var something = (mayThrow()
??? (SomeException ex) => { log.Info(ex); return null} )
??? (Exception ex) => { log.Fatal(ex); throw; };

Or maybe just start using Results as return type and get ValueOrDefault :) But when it comes to handling exceptions, I think it explodes there with ifs and processing IENumerables: https://github.com/altmann/FluentResults

But then again, simpler Results wrapper may be used perhaps. But it is a different way of coding and takes some mental shift on how to think about errors and distinguish between error results and true exceptions.

Oh, csharplang already had discussion on the matters about try/catch single statements: https://github.com/dotnet/csharplang/issues/786
I found Ubuntu Wayland touchscreen keyboard very broken on a Dell laptop with decent linux driver support. It's a real shame, worked perfectly with X.
I love it. If I wouldn't have just bought a Macbook Pro I would seriously consider moving to that.
1) Housing affordability relates to building relative to growth rate. For a variety of reasons, inlcluding both London's glboal appeal and a fact that it is so dominant culturally, economically, etc. within the UK it's likely this rate of increasse was still not enough.

2) A lot of the building has not necessarily been what you'd call affordable. While you will get some benefit moving wealthier people, expats, and short term business lets, etc. to new stuff, that's way less efficient for solving the problem of affordability than just building enough homes for the people who need them directly.

3) Too much of London's (new and existing) real estate is owned as an investment and goes mostly unoccupied. This is a scandal and there should be large tax penalties for unoccupied housing.

I think what you hear is true but it is not the whole truth. It would be easy to allow developers in to build new housing in a way that wouldn't help at all (but would make them lots of money).
oh yes. Worth reading for those alone.
What if you want a `switch` instead?
Do you realize we are discussing such things here, that X doesn't support at all?
If you have several million pounds, you can have a nice life literally anywhere. For the same money, you'd have a better quality of life outside London.
Elixir has a nice take on this with the `with` keyword/macro

with {:ok, file_handle} <- File.open(filename),

{:ok, contents} <- IO.read(file_handle),

{:ok, parsed} <- MyModule.parse(contents)

do

{:ok, parsed}

end

what this does is run the functions in order top to bottom, and if the return value from each function doesn't match with what is on the left, it returns early with the thing that didn't match, otherwise it continues.

This means you don't need to write each function to take a tuple of {:ok, value} and another clause to take {:error, reason}, you can just write your functions to take the value they care about and let pattern matching in the with block to take care of error propagation.

so if File.open returns {:error, reason} then IO.read never executes and the result of the with is {:error, reason}

It essentially means you can program the happy path and let the caller match on the sad paths (if they want to)
Hey OP, I don't have a problem people here posting anti-China/negative China articles.

All I'm asking is that you post an equal amount of positive articles on China.

There are 1.4 billion people. A lot of good things happen there that no one in the western media pays attention to or writes about.