skysight-inc/HackerNews huggingface dataset:
Install the Google workspace addon from the marketplace here: https://workspace.google.com/marketplace/app/pingbell_form_n...
Did Europeans like it when commerce with Russia was interrupted? No, they would have very much preferred for trade to continue.

My guess is that some things (wars - physical or economical) make things worse for everybody - to different degrees - history will tell.
Just the kind of advice and wisdom I was hoping to hear, thank you! What would your ideal pick of hardware components be? Cost is not a major factor, since the cost of manufacturing a high quality durable case and sourcing the other materials will probably overwhelm the cost of the electronics. Universal usability and battery life and rechargeability are quite important though. So no "different thinking" charging cable ports on the bottom, pfft!
having your own domain is worth it for email portability.

no matter who is hosting your email (megacorp, a hn darling, your hosting provider, yourself) you get to keep your email addresses. this also means one of the primary means of authenticating you online is not kept hostage by any business.

even for free email services that don't support custom domains, you can likely set up mail forwarding for free or very cheap with your domain hoster, and set up 'send as' alias in your inbox.
Compare to YouTube it has almost no content, like what if I want to see a gameplay of Balatro.
It is not about politics any more. It is about trust.
They are, YouTube and Instagram are full of folks trying to pass the actual information, at least from the time being MSNBC and CNN are also putting the good fight, while FoxNews is hardly indistinguishable from state TV of any authoritarian country, hence why the adminstration already pointed out they should be put into their place.

Many folks are rising up, question is how long, and how hard it is going to get, will they push the army into the population, for example.
I generally don't build my own OS images either, because it's such a hassle and adds such overhead to lifecycle management.

But I believe that building OCI images makes the overhead much less. Mainly because the OS I want to use already have a base image I can use, so my build is only a few lines of customization.

Your first paragraph is kinda funny to me because 10 years ago I felt like an outsider supporting systemd, and now it's everywhere.
Getting away from AWS is a big step! I hope the company I work for will think about it too. But maybe the time has come. A few months ago, people thought you were crazy if you talked about moving to another cloud service, but I hope the mood has changed with big impact for the future and which services we trust.
When politicians pick fights with leaders of other nations, the people don't have to go along with them.
Silly question perhaps, but is this a true CUDA equivalent? Why (not)?
Mercantilism doesn't work, there's plenty of evidence that the current policies are really bad for the US and the global economy, there's no silver lining to them, not even the temporary "boosting profits", which won't happen.

If the future can't be predicted that's because one can't predict when Trump and his imbeciles will be stripped of power.
Yarvin comes across as not very articulate in this conversation. One
has to doubt his bona fides. Karl Marx was no statesman, but his ideas
were the banner to slaughter millions. Yarvin is no remarkable thinker
whose ideas surfaced on their merits. This stuff is 6th form debating
society take on politics. He's been dug up as justification for people
who want to seize power and need acceptable words to flatter their
plans. Ambitious thugs in any epoch can find "genius" writer from the
unhinged fringe and hold them aloft. So Yarvin suddenly feels bathed
in light, but he's just being used and is too giddy with attention to
see that.
I'm curious, do you have a source for your claims?

> German and UK citizens got canceled, fined or SWATTED for calling their elected rules stupid/corrupt on social media

Being "canceled" isn't a defined term. Being SWATted has nothing to do with state censorship, it's people abusing emergency services.

Getting a fine by the government for calling "elected rules stupid/corrupt on social media" would be the only thing you mentioned that would count as state censorship. Do you have a link to a case where this happened?

> in Germany you get a fine for downloading a song/movie

You don't get a fine for legally downloading movies.

There's an industry of lawyers profiting off of IP and copyright laws, yes.

Not being able to pirate movies isn't state censorship.
I've seen this once before a few years ago with Huawei stuff.

Shouting to the Board of Directors at any company about security risks and geopol implications usually meant screaming into a void.

"But their HQ is here." "We have a solid security annex in the contract!" "Their sales person was here and he promised me." Classic lawyer C-suite talk.

But when the attitude started shifting billions were thrown around to move back to Ericsson.

C-suite people will constantly get these questions and start to feel like they 'have to' go European just like how they all thought we 'had to use Agile' and 'had to do something with blockchain'.

Few forces in economics are stronger than C-suite FOMO.
But do you actually do any DIY? And is it more than you would have done without watching hours of it on YouTube?

I have at times watched a lot of videos of people making stuff or doing DIY. I suspect like 99% of the audience of those videos, they are just entertainment.
There's PeerTube (https://peertube.tv/) which is based on Free software (https://joinpeertube.org/).
It's not Puritan. There is a natural evolutionary drive to protect the young. "Think of the children" is not exclusive to a specific religious sect. Threatening the young is a good way to face strong retaliation, whether that be from an American or a mama bear.

The discomfort around discussion stems more from cancel culture, which is a relatively recent phenomenon, and also not Puritan.
Said someone that never researched miscompilation issues or UB.

They are mostly deterministic.

LLMs can also provide the equivalent of an -S switch.
Somewhere in between. There actually is a level of demand for languages which are annoying to use; whether this is annoying syntax or annoying semantics isn't much of a distinction, they dovetail. But more than that, there's demand for ML clones (but with curly braces), and neither ML nor generic-curly-brace is the strongest foundation to build readability on, unfortunately.
I think Americans underestimate the double effect of Trump’s saber-rattling towards neighboring countries and his simultaneous full-throated support of Putin.

Europeans feel under threat from two directions now. His military threats against Greenland are an extremely serious matter.

Imagine if the USA had an ally who sold you much of your military equipment and maintained bases on your territory. One day that ally would suddenly start saying that they’re going to take over Puerto Rico, and also that they support China if they wanted to invade Hawaii “because quick peace in the Pacific is so important to everyone.”

That’s where EU finds itself now.
I said it even with that in mind :) MAGA makes up a smaller part of the wealthy than may often be assumed. That group doesn't play by such rules, and is very used to getting what they want.
But for consumer products, like Nike shoes, it is easy not to buy and there are many alternatives.
I see this as an absolute win - EU tech businesses get bolstered, and we no longer depend on the country that apprehends tourists[1] or denies entry to scientists because their social media has unfavorable opinions about their great leader[2]. Call it whiny, I call it common sense.

[1] https://www.msn.com/en-us/news/us/british-tourist-detained-i...

[2] https://www.msn.com/en-us/news/world/scientist-banned-from-e...
> only thing that really matters is whether people advance
economically.

This is such an incomplete understanding of governance and state it
could only appear under already degenerate conditions of poor
political education and non-participation.
This. The same thing is happening with Tesla stock. Since it's such a bit part of the S&P500, so half of retail investors buy it in their basket of portfolios and 401ks at trades at 10x it's worth on paper by looking at fundamentals.
If you really cannot (although, most probably just burdensome), you can always render the data unreadable. E.g. by destroying the keys.
> For the enterprise, I really wonder how you defend a "let's migrate our infra from AWS to X"

The current US president favours bribery by the US to foreign officials. Doesn't seem completely insane to assume that he also favours spying on non-US competitors.

If you are a big company and use US services (e.g. Microsoft Teams or Slack or GMail or the countless others), then you have to assume that the US can see all the conversations you have on those services.

Sounds like a good enough reason to consider migrating.
The changes happening in US are not going anywhere, and they haven't even properly started with them.

Nobody knows the future but one thing is clear and set in stone - trust has been broken. If you have any life or relationship experience, you know trust is always hard to build and easy to lose. Its extremely hard and lengthy to build again once it has been shattered (which it has been already).

Stab in the back is remembered for decades, spit in the face even more. Quadruple that for matters of national security.
Langfuse (YC W23) Is Hiring in Berlin, Germany
Blabbering about GDPR, they're serving spyware from googletagmanager.com without consent.
Even in positive sum games, “always nice” is not a good strategy, because when somebody is not “nice”, you will lose. This is even a larger problem when somebody has a bad behaviour multiple times in a row not by accident. This later is exactly what’s happening.
But in this case the fight got picked by "the US", as europeans it's about "self defence", so the will to join the boycott may be greater.
The difficulty of a task is what you think it is
Europeans absolutely agree with your statement. So do Canada and Mexico.

Alas, the US declared Ukraine's president a dictator, is literally talking about annexing its allied neighbors, and launched a trade war against them and the EU.

The EU has been very explicit about wanting to maintain good relations with the US but the US unilaterally decided to treat its allies as enemies (except for Israel) and instead cozy up to Putin. Canada, Mexico and the EU have been extremely consistent and very measured in their responses.

If you don't want allies to turn into enemies, I'm sorry but you need a regime change. Unless you are literally asking for the rest of the world to join forces and invade the US to depose the government, I don't know what you expect us to do. This is on you, not us.

By the way, allegedly Trump is working on an EO that would declare fentanyl a WMD, which would legally justify military strikes in Canada and Mexico. I'm not saying the US is going to do that but given that Trump refuses to acknowledge the Canadian president and instead consistently refers to him as a "governor", and keeps insisting that Canada should be part of the United States and that the border is illegitimate - I'm sorry but this scenario is beginning to sound increasingly more plausible, especially once the tariffs on imports from Canada (e.g. fertilizer) will start to directly affect Americans and Trump will need someone to blame for the damage he caused. This isn't conduct appropriate for an "ally".
...I've only ever seen Fritz-Kola as a Berlin phenomenon tbh. There are some other regional brands though (e.g. in the Eastern German parts you're likely to see Vita Cola next to Coca Cola - completely different taste though).
Ah, was thinking the same thing
I switched from Google to DuckDuckGo as my standard search engine and I'm super happy with it. I found it quality-wise indistinguishable from Google, and even better since no sponsored spam.
> I don't even know how you start a conversation like "aws works fine for us, but let's switch for political reasons"

Some companies may see it as "let's switch for continuity-of-business reasons", not political reasons as such. Things may get worse over the next few years. Amazon is not spending billions on https://aws.amazon.com/compliance/europe-digital-sovereignty... for _fun_; even before ol' minihands's return, some highly risk-conscious companies, particularly those in sensitive fields, would not use AWS out of caution (the US-EU data protection treaties keep collapsing, for instance see https://en.wikipedia.org/wiki/EU–US_Privacy_Shield ).

I'd say AWS is less at risk from this than most, actually, in that, as above, they have a plan, though just how watertight it is remains to be seen.
> 1,000 billion euros allocated for social welfare

No, the money is definitely not meant for social programs, neither for affordable housing.

On the contrary, the debt brake was introduced to justify cutting social spending after the 2008 banking crash.

Social spending is still limited, debt financed military spending however is unlimited.

The money will go into fortifying bridges, roads for Truppentransporte, programs to protect civilians from disasters, emergencies, and armed conflicts. Military Keynesianism.

The political class is now debating ways to increase pressure on the population.. higher VAT, deregulate working hours, dropping public holidays, re-activate mandatory military service etc.
The obvious solution for consumers --- don't buy HP printers.
There's bankrupttrump.org, which seems to give local then global alternatives to US products and services. Though it does seem to have issues, for example I search for alternatives to iPhone and it gives me local Australian ISPs and retailers that sell phones.
Many of these tools could be seen as better than the American alternatives in certain respects (e.g., being more privacy-focused). If any country could be boldly compared to the Soviet Union in terms of protectionism, it’s more likely the United States these days.
IMHO this is the big story here.

Large companies aren’t driven by opinion/ethics/politics except where there’s a branding incentive, so the motivation here is cost/risk.

That these same companies are actively trying to nope right out of the US tech market where they can shows that they’ve priced in very real costs to both Trump’s unpredictability and the very predictable response to tariffs in their domestic markets.

Trump’s second term may end up being a great thing for tech markets outside of the US, as it drives investment into those regions and actively away from the status quo of SV hegemony.
It's quite common in bars all over the Netherlands in my experience.
Are assets not also worth "what somebody wants to pay for them"?
No, across history and geography people are caught doing "unexplainable" things--and I use this word because I don't want to sound offensive--time and again.

Here are a few examples:

- The expulsion of the English from Havana in the 18th century

- The European inquisitions, and while we are at it, some elements of faith in general.

- Hitler's fascism (Hitler was elected)

- Fidel Castro's Cuba

- North Korea

- Italy's demographic problem

- Japan's demographic problem

... and so on. In all cases, you need the cold clarity of hindsight and a lot of detachment to see that people were acting foolishly. But during the time when the events are ensuing, stoked passions and outright manipulation prevent people from acting rationally. It's not like people act irrationally because they want to. It's simply too difficult to accept the right information, since each argument opposed to one's own beliefs is interpreted as a move from the enemy group.

This is the world we live in.
What about xconq?
This time the US government picked a fight with the people though, those are the ones who need to bear the brunt of those pointless tarrifs.
That “usually” is doing a ton of work. I remember Vodafone injecting scripts into webpages many years ago. While trying to find a source, I bumped into other shenanigans.

https://www.simpleanalytics.com/blog/vodafone-deutsche-telek...
Very disingenuous comparison. The actual main gap is being closed with this: https://aws.amazon.com/compliance/europe-digital-sovereignty...
But in big supermarket chains you overwhelmingly find Coca Cola or the cheap house brand of the chain, at least when it is about big bottles or sixpacks. Sure, supermarkets like Edeka may also have alternatives like Afri Cola or what those are called, but big masses are Coca Cola.
What I do is turn off copilot, do the design, get in the zone and enable copilot. This way I do not get it to slow me down, otherwise I just wait for it to do API calls. Even then, I turn it off when it create complete wrong implementations.

Problem is it doesn't know the layer of utilities we have and just rewrite everything from scratch. Which is too much duplicatation. I have to now delete it and type correct code again.

One advantage I have seen is that, it can defenitely translate / simplify what my collegues say, fix typos or partial-words. Which is very useful when you are working with lot of different people.
Yes and no. There was a lightning-USB A adapter, but I was clunky, pricy and could only be used with the phone so the value was dubious. I bought one and never saw anyone else using it in the wild.

In comparison you can plug any SSD with USB cable you already have, no adapter adapter needed. And once you get used to it you discover you can charge your earbuds through the USBC port, you can get ethernet through a standard dock, directly slurp the data from your DSLR or reuse the same SD card adapter you used for you computer already etc.

The convenience factor is just so different, it's more fundamental than just an incremental change.
The fear is trade war (rising prices to extortion levels), blockades of network traffic (holding data hostage) and war (which leads to sabotage, manipulation and destruction of data).
A conclusion true to the concerned executive's MBA.
Rust is a low-level ML variant with curly braces syntactically.
You answered the question about privacy by complaint about freedom of speech, i.e. injecting some offtopic in conversation, hence the downvotes.
Coca-Cola completely dominates retail in Germany. The most recent numbers I could find[1] are from 2018, but I have no reason to believe the situation, you know, flipped on its head -- the top 3 lemonades were Coke, Coke Zero and Coke light, making up about 75% of the market. In 2022[2] Fritz had 2.9% market share. Maybe the market share is higher in restaurants, though I'd be shocked if it Fritz was even at 25%.

[1] https://www.businessinsider.de/wirtschaft/es-gibt-ein-deutsc...

[2] https://www.wiwo.de/unternehmen/industrie/fritz-kola-der-coc...
Thank you for pointing that out! I would add that intelligence agencies and law enforcement are almost completely exempt from all those fancy GDPR requirements.

Furthermore, in the EU, there is no such a strong equivalent to the 4th Amendment. Law enforcement and intelligence agencies can access your cloud data without needing a warrant—unless the data is stored in the US in which case a US judge would have to approve it. This is one of the reasons they are so eager to keep it "home".

The craziest thing is what happened with Encrochat and SkyECC. These two services made the critical mistake of trusting OVH to host their servers, and then OVH literally placed law enforcement and intelligence agency backdoors on them. Eventually, they even used these backdoors to send malware to users' devices, not caring whether they were located in the EU or not.

While all this was happening, the founder of OVH appeared on a popular YouTube tech channel and proudly explained that, unlike Amazon and Google, they weren’t sniffing their customers’ data. What a liar!
I find this interesting: the US administration is currently bullying and threatening its ex-allies (many citizens of those countries don't see the US as allies anymore). Those ex-allies are reacting to that bullying, as a way to defend themselves.

And it feels like many US citizens completely ignore that they are on the side of the bullies, and just go full patriotism: "Oh, they want to boycott us? We will boycott them, too, they'll see!". Sure, you can do that, but don't forget that your country is the bully.
> The US is easing its debt by boosting profits, but this will only work temporarily.

I mean, it's hard to see how it would work at all! Their tariff take is simply not going to be sufficient to move the needle very much, and it's not implausible that the revenue loss on income and corporate tax due to lost economic growth will be larger.
> I recently developed a new data structure

Congratulations, you have discovered the array deque!

https://en.wikipedia.org/wiki/Double-ended_queue#Implementat...

I'd like to point out a performance optimization. On resize, you create a new array with double the size and copy all the old elements to the middle of the new array with more space at the beginning AND at the end: https://github.com/attilatorda/Shift-To-Middle_Array/blob/05...

However, in practice, it is often the case that most operations append elements at either the front OR back, but rarely at both ends equally. For example, imagine a FIFO queue, where elements are popped from the front and pushed from the back. Therefore, it is more efficient to only reserve space at the back if the last operation was push_back or at the front if the last operation was push_front.

One could also carry along statistical information about the number of push_back and push_front operations and balance the space allocated at the front and back accordingly.

In addition to ksherlock's points, there are also the following issues:

- Vector implementations usually use size_t instead of int. Your implementation will fail for arrays larger than 2147483647, while size_t usually goes up to 18446744073709551615.

- On memory allocation failure, you should throw std::bad_alloc instead of calling std::exit.

- The front() function is missing a return statement. Turn on compiler warnings: -Wall -Wextra. For testing, -g -fsanitize=address,undefined is also helpful.

- You are mixing delete[] with malloc'ed memory in shrink_to_fit.

- You should implement copy constructor, move constructor, copy asignment and move assignment functions. See rule of five: https://en.cppreference.com/w/cpp/language/rule_of_three#Rul...

- Switching features on or off is usually done with macros instead of comments.

- 2 is not the best growth factor because it makes it harder for the memory allocator to reuse memory. More modern implementations use smaller growth factors: https://en.wikipedia.org/wiki/Dynamic_array#Growth_factor

- A more reasonable initial capacity would be 0 instead of 16, as is common for all major std::vector implementations. An initial capacity of 16 wastes a lot of space when a large number of ShiftToMiddleArrays are allocated.

- The compiler will most-likely ignore your inline instructions and decide on its own whether inlining is done or not, so might as well remove them.

- Why are there two versions of the data structure? (ShiftToMiddleArray.cpp and ShiftToMiddleArray.h)

- Some functions are just wrappers for other functions (pop_front = remove_head, pop_back = remove_tail). Why?

LLMs can point out most of those issue, so you should use them to discover potential issues. Of course, make sure to double-check with more reliable sources once you know that a certain class of problems exists.
For me personally, it’s completely irrelevant. As a European, I feel exactly the same kind of “connection” to Europe as I do to the USA. It’s a different story when it comes to the country I live in. If a local (national) product is comparable to a foreign one, I’ll usually choose the local one. But all this EU vs USA fuss means nothing to me. I often choose American products simply because they’re the best.