skysight-inc/HackerNews huggingface dataset:
One of the areas I think diagrams as code could really improve in is the potential to add rendering rules. For instance: these (sub) groups must be equally sized, these boxes must be aligned vertically, etc.

Bonus points: an interface where you enter your diagram code and where a random set of 9 renders is shown with a different rendering rule added. You can go through this step multiple times by just clicking the diagram you think looks best. After a couple of iterations you have a diagram that is fairly fixed (avoiding the complete re-render problem when making changes) and beautiful.

Bonus points 2: make it also an editor where you can configure these rules in the GUI. When changing the rules in the diagram this is reflected in the 'view' part of the code.
Could you share more of your thoughts on why that kind of memory corruption wouldn't be exploitable? Do go have something in place that prevents it?
The number of hours of daylight remains the same, so it depends on the individual attitude towards what hour on the clock is an acceptable time to wake up and go to bed.
It does become more difficult of course if you have obligations in the morning or evening based on the specific time on the clock.
Yes, the western liberal project led by the US is a worldwide phenomenon, especially after the Cold War, world bank. Etc,

But what we’ve seen over the past decades is other countries reexamine what parts are actually good for them.

For example Japan has a stock market, and it was a lot like the US in the 80s. But now it looks and operates with nationalist priorities which are very different,

> Who doesn't have political yard signs?

Anybody really excited about democracy in the US also has to reconcile with marketing. People will literally vote because of a tv commercial.

This is not a normal system you will find anywhere else. And it’s pretty obvious to outsiders that US media plays a weird state function in it as well.
LHA(lzh/lharc) was also a cool replacement at some point, especially since it was just one binary for both compressing and decompressing.
> that's just your rationalization to make it easy to dismiss people who have a real problem with the status quo

No, someone saying they don't like the status quo make sense. Global politics are anarchic. It's obviously better to be on the winning side. Where I get credulous is when someone claims their preferred actor, especially if an autocrat, would be superior for disinterested parties.
Browsers should be aggressively pro-user, and developers can innovate within the limitations they're given.
In what cases would that be complicating things? It usually simplifies things. The only cases that I can see where it might complicate things is if your programming language is too low level or un-ergonomic to properly express or work with sumtypes/uniontypes.
UNIX, and other competing timesharing systems of the time, have always been remote first, with Windows catching up with Citrix, followed by RDP, and nowadays finally headless as well.

Nowadays Web frontends and SSH/cloud shell, have replaced what used to be X Windows / telnet / rsh, but the underlying workflows aren't much different than running an IDE / emacs /vi / joe /... from a UNIX development server in a 1990's office.
I don't know. You don't have to do much bootstrapping to get from lambda calculus primitives all the way up to if-elses, pattern matching, higher-order functions, etc.
as German I never felt European and neither do I know any german that feels so. Germany is the only country in europe where patriotism is considered right-wing and not seen well, in other countries there is indeed a national consent / identity, people are patriots and proud of that (poland, spain, italy, romania, albania, turkey, ...). You will definitely not get any any "we are all europeans <3" vibes there. The concept of being an "european" is a woke leftist mindset that you will encounter mostly in Berlin but it is what it is -> a woke idea and not reality
One cool feature of C# interpolated strings is that they are lazy. Many loggers used to implement their own interpolation because something like

log.trace($"Entering iteration {i} for customer {c.ID} [{c.ShortName}]");

in a hot loop would call string.Concat every time it was called before the logger could bail out of the method.

C# lets you declare an overload that accepts a `DefaultInterpolatedStringHandler` (or your own custom implementation of the handler pattern) and this overload will take precedence and allow you to delay the building of the string until after you've checked whether logging it is required.
At least in Berlin, there's a coming surplus of day-care spots. It's a difficult problem because the pay for day-care teachers isn't great, and training one takes several years, but demand is difficult to predict several years in advance since most kids start when they're 1. But right now day-cares have actually started to have to advertise for kids. (Reference: ex-partner was a Kitaleiterin.)
>and the country hasn’t devolved into authoritarian groupthink

doubt
I skimmed a couple of sources and thought I caught that First Citizens paid zero, net of some guarantees, for "all of SVB's assets and liabilities".

That was wrong: it looks like the price was more like negative 16.5 billion [0] so that was the cost to the FDIC.

I agree with other commentators that even if the price was zero and the guarantees to FCB were never tested, the taxpayers still paid money in expectation - they took a bet without getting paid for the potential downside. I don't really agree with characterizations [1] of the deposit insurance fund as "not being from the taxpayers" - a fee on bank deposits is in other countries described as a tax, and even if not, the DIF is at least backstopped by the taxpayer.

[0] https://www.theguardian.com/business/2023/mar/27/silicon-val...

[1] https://apnews.com/article/svb-banks-fdic-first-citizen-sili...
They are there from the start and were always the recommended way to do things in the documentation. I mean the command is literally disable.

The command to list services enabled on boot is also completely esoteric: systemctl list-unit-files --state=enabled
Germany is in serious trouble. The US and China are in protectionist markets.
EU is starting to realise their labour and manufacturing are expensive and not unique anymore.
The business model is broken.
The switch didn't happen until 1995 when WinRAR came along, if memory serves. RAR was 1993 and ARJ was 1991.
You already showed in your other, deservedly dead, comment that you have no idea what you are talking about (e.g. claiming Bildungsurlaub does not exist, despite one easily being able to look up the relevant laws), so keep your lack of knowledge to yourself and troll somewhere else.
What annoys me about the left is exactly things like this. Someone points out that an ideologically-motivated claim is baseless, and the talking heads on the left just repeat, over and over, in various ways, that bad-faith actors on the right are disputing the claim, but they’re wrong (and evil). They just do this until people get tired of arguing, and they refuse to give up the claim.

With the right, a lot of it is based on religion or irreducible moral sentiment, and you just accept that some people on the right believe crazy things and can’t be swayed. On balance their beliefs are more harmful (though not by as much as in the past), but they don’t bother me in the same way because they’re admittedly irrational. Many on the left start with a set of beliefs similarly rooted in feeling and then rationalize the hell out of them, and will (often literally) scream at you if you dare to point out that their evidence is ex post facto and just poor besides.
Thanks for having a look! What do you use EAs/optimizations for in your work? As I was doing research for the project, I had a hard time coming across concrete applications
Its both nature/genes and nurture/environment.

Nature is what you get when you go and buy a new laptop. Nurture is what you get after it fills up with shit over the years. So you got to be careful about what you install and allow in.

Inputs from the Environment the brain is constantly receiving changes genes, brain structures and brain chemistry over time. You can then pass those changes to the next gen. Media ("media"ting Information entering the brain), plays a big role in what inputs the brain is getting. Its all around you and constantly feeding your brain signals you might not even be conscious off. Media also exploits people's Negativity Bias which compounds the issue.

So pay attention to what you pay attention too. Divide all the info entering into - entertainment, short term value, long term value. Filter out everything else.
I mean, C is also memory safe when run within valgrind.. at an obvious large performance cost.
I thought Div as well, but as a BLOCK element containing the Heading line AND the first paragraph to ensure they're rendered on the same page, or at least start on one and then overflow.
Perfect timing with realtime AGI happening. Need lots of focus on realtime streaming protocols
They're still going broke despite using prison labor to fight the fires?

https://www.cnn.com/2019/10/31/us/prison-inmates-fight-calif...
> The benefits of increased yield to supply food for expanding populations outweigh small nutrient dilution effects

So they are declining, just not very much, nothing to see here, move along.

Although it's a fair point that the natural variation in micronutrient concentrations in different regions is much greater than the decline in the average.
baysed.
I think the author means gasoline/petrol for cars, not natural gas
I'm not sure of C#, but Java has stronger memory guarantees than Go, even in the presence of a data race.

In Java, all primitive types (including Object pointers) are atomically modified. And since all Java writes are primitives (Java doesn't have structs), you can never corrupt a data structure at the Java level. Of course, you can still corrupt it at a logical level (break an invariant established in the constructor), but not at the language level.

Go has a guarantee that word-sized reads/writes are atomic, but Go has plenty of larger objects than that. In particular, interface values are "fat pointers" and exceed the word-size on all platforms, so interface writes are not atomic. Which means another thread can observe an interface value having a vtable from one object but data from another, and can then execute a method from one object on data from another object, potentially re-interpreting fields as values of other types.
Yandex has not been routable for me for some time, when was the last time you used it ?
Thanks for providing some concrete examples and explaining how it works. Sounds like a reasonable setup to automate. I'm actually running NixOS at home on a few hosts (but not on my desktop), so Nix isn't entirely foreign to me, but I haven't (yet?) used it with other distros or for developing as my needs have been simpler. In your case, I probably would have chosen the recommended path.

In my current work project, we use Windows and .NET with some libs and tools. Nothing too complicated, but automating it would be nice. I could probably push for it a bit, but I'm not familiar with automating Windows environments, since I mainly use Linux at home.
If it's just "defense", then what's the problem? But it's not defense, is it? It's for policing the world... I think we should do less of that.
My bad. I wanted to say it’s practically dark at 3pm (even though the sun sets later). It’s not that there’s plenty of daylight until 1 second before the sun sets.
You're aware that Winter time is the 'standard time', and that you won't get more light hours by moving the clock around right? The sun is rising at around 07:00 and sets at around 16:30 in November in Berlin, getting up at around 7am isn't too hard to make most of the sunlight (personally I find it more depressing to get up in the dark then ending the day in the dark tbh). The only way to get more light out of a winter day in Germany is moving further to the south.
Try buying a decent house in Germany with 4000€ netto, which puts you in the top 10% income bracket. Then come back and tell me, you're a rich person.
I believe the Economist talking about gas as in LNG and the author is talking about gas as in gasoline/petrol, likely pocking at this indicator role for economies state the latter tends to have taken on in wider coverage [0] both because it does indeed impact nearly all transactions even before we talk about individual transport, but also because it is one of the few commodities whose price the average person is faced with regularly. Here in Central Europe, no matter how our vs the US economy does, we have always been paying multiples for our fuel, though that didn't automatically mean collapse even if it feels that way to some.

Point of the author being, higher gas prices can't be directly compared between economies and all that so shouldn't be used to paint EEA members as these economic hellscapes (which always get a chuckle from me), though sudden and severe upward or downward movements could hint at a wider trend.

As someone from one of the DACH countries, it was honestly a nice read and I get their points on concepts like Überweisung, though I will say, if the author was surprised how one opens a Ritter Sport, they should take a look at the official way to open Haribo [1]. Then there is Mannerschnitte [2]. Also, yes, publicly founded mental health care requires significant improvements.

[0] https://www.investopedia.com/financial-edge/0511/how-gas-pri...

[1] https://www.youtube.com/shorts/a45SHoe6fPM

[2] https://www.youtube.com/watch?v=vNmsiuGe4_s
just tried this to integrate firebase realtime database and google analytics events with a project and it worked in one shot!
Is it possible to feed this paper to an AI get a more digestible summary?
To be honest I don't know what ereader you've looked at or what books you read. The way eink works, if you look closely there is a slight grain very reminiscent of paper. Similarly, the font/letters can have small imperfections as well, and it all looks just like a new book might.
>Second, it creates a scenario in which China would take military action on Taiwan if they fall behind too far in AI due to the lack of the most advanced chips.

What? Who goes to war for some chips that can be smuggled easily xd
It's not just about that. Data races can expose an object in a state that was never written from any thread in Go, potentially corrupting even internal details not exposed. Simply writing a struct value from two different threads can expose this.
It's also roughly 20% for another company selling sanctioned products? Hmmmmmmm. Yes. Very normal, nothing to see here.
What a boring trite reply. All of this is analogous to badly written spaghetti code. And yes, you can absolutely avoid all of this if you know what you're doing.
> The precise mass of this ballast I do not recall, but it’s probably around 200T or so. In the center part of this box there is the moveable keel, which weighed around 60T and extended almost 6m below the keel box when lowered. This arrangement means that the majority of the righting moment of the vessel comes from the main ballast… the moveable keel acting more as a centerboard to reduce sideslip under sail (leeway)…

draught 4m without the moveable keel. The standard ballast is 140t, added 30t - 170t, not 200t. Say center of gravity of that ballast is 3m down from the center of stability - thus 510 tons x meter momentum. The moveable keel - 60t, center of gravity say in the middle or significantly lower (usually it would be very close to the bulb at the bottom end of the keel), i.e. at least 6-7 meters below the center of stability - thus 360-420 tons x meter momentum. So, while technically true, 500 being the major part, having 900 instead of 500 would probably have been much better in that situation.

>The Angle of Vanishing Stability is the angle of heel at which the vessel righting moment reaches zero, meaning that the vessel will not return to upright. Again, I forget the actual numbers for this, but the figures would be around 90 degrees with the moveable keel lowered and 75 degrees with it raised.

yep, and without lowered keel the chances of the gust putting the boat into those 75 degrees is much higher.
Left and right as concepts actually originated in the french revolution. When seating the parties in an assembly you have to go with some order from left to right.

Of course what the political tribes are, and what their actual positions are changes. Republicans went from the party of Lincoln to the party of Trump.
Overpopulated? The US is 185/249 countries and territories.
It's not just about smuggling. First, smuggling adds costs and risks, which makes Chinese AI companies less competitive. Second, China wants to design and manufacture chips on TSMC. They don't want to just buy Nvidia chips, they want to compete against Nvidia.
Thanks! Is there any new feature you would want to see in an AI Coding assistant? If so, would you be able to pass on some details?
Systems, plural?

Which ones?
Very cool results! Our approaches were similar, but I very quickly steered away from evolving geometry (squares/triangles) and went to points/coordinates and Delaunay triangulation. This also meant I avoided overlaps and gradients, which meant I was bound to the specific low-poly esthetic. Thank you for sharing; I think your intuits hypothesis of using EAs for compression is fascinating!
If you look at the complete product and production lifecycle, not depending on cheap labor abroad might be cheaper for consumers in the long run. They might profit from low prices, but it also affects their value of their work on the market as well. You might also retain technologies.

Sure, maybe devices get more expensive, but the not new perspective proposed in the article got a lot of economies into problems. Perhaps it is correct, but perhaps it is not.
For those who are interested:

https://static.googleusercontent.com/media/research.google.c...

I am not sure what differences k8s has compare to Borg. At the concept level these are pretty comparable.
Universal healthcare is something will be soon be revisited imo. At least reviewed and shrinked, here in Italy too much money is spent on a system that’s collapsing. It’s not sustainable in the long period. The author in the article keeps saying “yet the economy isn’t collapsing” Economies don’t collapse in a day, it’s a slow process, Germany, and EU in general, are on a dangerous path. Crazy political decisions like shutting down nuclear power plants in Germany will resonate badly over time(partly already are) not just in a day or two. Some other crazy stuff: going full electric in all of the EU by 2030, be totally dependent from the US defense, counting nothing in a war we have at home, not having even a chip in the race for ai or technology in general, what we got left? Trains?
Linked to this in the discussion a few days ago.
Quite the opposite. It made me realize that if the US took better stewardship of Eastern Europe we would all be better off.

I feel more connected to americans and their way of life than Germans.
ha, haven’t been much of a TV show watcher in years (I play games for entertainment) and never heard of this show (nor did I know that Meghan Markle was a TV actress before now, LOL… also, damn she was fine in 2011!) but this one looks entertaining, especially because I live 40 minutes from NYC… Anyway, insightful clip!
Nice, thanks a lot for that!
TSMC sells more than it is capable of producing. This will likely continue to be a limiter for the foreseeable future. No revenue is being lost as a result of limiting export to China.

First, TSMC's capacity isn't full right now. Second, if China relies on TSMC, they'd expand by building more fabs. Third, with more competition from China, they can increase the price of their nodes for all their customers. Fourth, China pushing harder to compete directly against TSMC because of this ban.

China's interest in Taiwan existed long before TSMC, it is ideological, not economical.

Agreed. I think China is willing to destroy the entire island to bring it back into control, which is not what's best for Taiwan people.

I am a Taiwan citizen and the majority of us don't want this, evident by the results of our recent election. That said, see prior point.

I guess there is a difference between what you want as a Taiwan resident and what I personally think is best for the island. I think Taiwan is being put as a sacrificial lamb almost by the US and I think it's in Taiwan's best interest to play to both sides more.
Good article although the title is misleading as it has nothing to do with programming/a programmer in Berlin/Germany.

The right title would be something like: "an expat/a foreigner in Berlin/Germany"
As a European I enjoyed reading this, I think it is a nice illustration of some of the differences between Europe and the US without falling into the silly "US bad" or "Europe weird" rethoric.

But one thing struck me as very odd:

> One thing I found unusual was how many people regularly smoked in Europe. [...] I guess that’s one of the few downsides of universal healthcare.

The idea that people living in a country with universal healthcare would more easily indulge in risky behavior because they would not have to pay for medication or hospitalization is, frankly, nuts. It's hard to imagine Americans smoke less not because they are scared of dying painfully of lung cancer, but because they could not afford the medical expenses in case they do get cancer; but maybe this is the case?

All I know is that the idea of not having to pay for healthcare is not at all reassuring when I think about the risks associated with something I'm doing - be it smoking, driving, drinking or anything else.
Fair enough, but there is also another problem. What happens if you detect a discrepancy in one or two places, but good results in many others? Do you still issue a full recount of all places that the machine was used? If not, then an adversary can still subtly modify the results of the election, at least probabilistically.
German companies pay peanuts to tech workers and lost the tech decade. No surprise here.
“Our results suggest that advancing the timing of administration (3 h before the desired bedtime) and increasing the administered dose (4 mg/day), as compared to the exogenous melatonin schedule most used in clinical practice (2 mg 30 min before the desired bedtime), might optimize the efficacy of exogenous melatonin in promoting sleep.”
The 110V AC network does not allow you to easily power a washing machine or an electric water heater, so you need a very unusual three-phase electrical outlet. Most homes therefore have natural gas installations, which involves a fair amount of plumbing and ventilation.

That's why the machines are very different in design between Europe and North America (and the space available).

Miele-Waschmaschinen sind die besten der Welt!
The EU is around only 30 years old, there's no way to push for federalism until all the cultures inside it start to internalise being European first. There's a lot of EU-skeptics in most countries, pushing too hard towards federalism will very likely break the EU apart from the push back coming from national anti-EU parties.

Just look at Brexit to see what anti-EU sentiment can do if the environment is ripe.

It'll take at least another 30-50 years for any meaningful push for federalism to be possible.
> Try giving a tip

No. Tipping is bullshit and you won't convince me otherwise. When I go a restaurant I want to have a nice experience, not deal with a pushy waiter begging me for a tip like a Syrian refugee begging for a coin because he hasn't eaten in days. "But if I tip I get a bigger kebab" yes, and you ruin the experience for everyone else because you teach service providers that displaying one price but actually charging another is a good business practice. If you want a bigger kebab, why don't you just pick it from the menu?
It's ok, inflation is only going to be transitory.