This place needs more of this kind of documentation.
I failed to use IP tables for years. I bought books. I copied recipes from blog posts. Nothing made sense, everything I did was brittle. Until I finally found a schematic showing the flowchart of a packet through the kernel, which gives the exact order that each rule chain is applied, and where some of the sysctl values are enforced. All of a sudden, I could write rules that did exactly what I wanted, or intelligently choose between rules that have equivalent behaviors in isolation but which could have different performance implications.
After studying the schematic, every would just work on the first try. A good schematic makes a world of difference!
For myself I just spool up a galene instance when I want to video chat someone, (honestly almost never, so not really a great recommendation ). but it is pretty easy to get running on my obsd vps.
The theory is that instead of sitting on some third party centralized video chat service, I can sit on my own, and if anybody wants to talk they can "call" me by joining in. I theory I would "call" them by joining their instance, but... yeah, you can stop laughing now. but yeah, it does turn out that I am only one in my small circle of friends and family who likes running a server.
> I specified the entire layout, font sizing, icons, and avatar using only Python. I controlled everything without needing special flexbox or CSS class knowledge.
The provided Python looks even more difficult to understand than typical HTML/CSS. DivLAligned? DivFullySpaced? What if I only want it partially spaced? DivHStacked? Oh no... Flex and Tailwind already do this, it's trivial, and crucially online documentation is plentiful and AI understands it just fine. This seems to be reinventing Tailwind with different names.
You are being distracted by the culture war sideshow. No war but the class war, and Apple's execs are definitely powerful enough players in that war to protect themselves from consequences.
Interning strings saves a ton of space. I wish more programmers would use it.
Back in the 32-bit days I was working on a large (multi GB) distributed Oracle database system but I couldn't use transaction log shipping (don't ask). Database A was the "main" system and database B was the "replica". To keep them in sync I needed a program that would compare the two databases and then generate an update script that would make B look like A.
Complicating things was that, for some reason, floating point data in binary format would never match exactly between the two systems, so all floats had to be exported as text.
The first attempt by a junior dev was implemented in C#. Not only was it terribly slow, but it also ran out of memory.
I wrote a new version in C that interned all strings using a hash table and a custom bump-allocator. I also exported every field in the database as a string, so I didn't have to deal with native types. Using this technique meant that a database record could be represented as a plain array of pointers to the interned strings.
Since each string was only recorded once, and every field was a pointer to a string, should two database records have the same values then they must by definition point to the same string. Comparing database rows was as easy as doing a memcmp() on the two pointer arrays, one being a record from database A and the other being a the record from database B.
Not only was the system incredibly fast, but it never took more than 150MB of memory to run.
The word "copyright" is slowly transforming into a more generic meaning where a big company silences a little company/individual that it doesn't like. This case doesn't seem to have anything to do with actual copyright. Did the company specify exactly what content they believed was copied?
If you have a kid under 20, ask them what "copyright" means. They'll probably describe it to you in terms of corporate bullying rather than anything that has to do with intellectual property or copying.
I've left a related comment somewhere else in in the thread, but it's interesting that here in neighbouring Romania the practice/science of Cybernetics was quite well regarded almost until the communist government fell.
Its heyday had certainly been back in the '70s, as in the '80s the focus shifted to some other stuff thanks to energy inputs getting too expensive and us becoming bankrupt because of that (someone should write a history of the alternative energy sources tried by the communist government back then, some of which are now getting tested by the West, too), but for sure people weren't getting sent to prison because of it.
Here's [1] a list of Cybernetics-related books published before 1989 that I can find at an old-books store here in Bucharest, and that search reminded me that one of the main proponents of Cybernetics around these parts was Manea Manescu [2], a guy which had been prime-minister of communist Romania in the '70s (just before that he had been in charge of the State Planning Committee) and who stood by Ceausescu's side until the very end (that list of books I linked to includes a book with his name on it).
On Wayland, each window is a composer, each component that makes up a screen is a compositor. Don't mid them up. Simply put each window manages their own process tree as its much cleaner. Its very simple. What you need to do is simply install dbus-systemd and issue SummonPoettering which will give you a clean docker workspace. Simply put this is far superior to X11. In short on Wayland, you only need to push one button to kill an errant window - the power button
"Search results plagued with ‘clickbait’ would have been an understatement 20 years ago.
The parts of the open web you access from Google/search (most of it) is almost entirely made-for-google' ranking algorithims.
The situation is worse than it is on closed social media, including Google's YouTube.
Professional YouTubers are also making content for rankings above all, but the fact that it's their own face/voice keeps some of the rot at bay.
Google is literally content made by uninterested copywriters exclusively for Google rankings.
I was recently looking for general travel advice on Google. I found it completely impossible. The content is all written by people (or ais) that had never visited. Everything reads like a middle school essay.
I often resort to searches in a smaller language, where economic incentives are 100X smaller than English.
Google created incentives for littering the web with garbage. Then they took away incentives for anyone else to even bother.
Google killed the thing that gave them life. They gave Vince Serf a sinecure and a hows-your-mother for the rest.
>I don't understand why the media downplays them so heavily.
Because in the same way as morale can be a force multiplier, an extreme lack of it can be a force divider. Combine that with their (very likely) inability to sustain even a regional war for more than a few weeks, their antiquated equipment, and their largely unsuccessful domestic military developments, and it's not hard to write them off as largely a non-threat, whether or not this is truly the case.
The major downside is that even if they only manage to sustain for a few weeks, that's plenty of time to level Seoul and inflict damage on cities further south should they decide to make a push against the ROK, and this is what shouldn't be downplayed.
Well, Marxism-Leninism did more good for the Soviet Republics in its first 40 years there (beating back an imperialist invasion, rapidly developing industry, beating the Nazis, putting the first man in space, raising the standard of living nearly to par with the West despite being a feudal backwater in 1917, etc) than capitalism has done for those countries since we finally beat them thirty years ago. And, public opinion bears that fact out. So, I'd say the jury's out on just how much of our improvements to standards of living can be attributed to giving 10 people all the money in the world, vs (for example) attributing it to scientific advancement in general.
edit: sadly dang has once again taken it upon himself to stop communists from posting on HN. I'm sure most of y'all agree with this in the first place. at any rate take this as an open invitation to drag me in the comments with whatever ridiculous nonsense you can dream up. I won't be responding to any of it because I literally can't. thanks
I think you're confusing wealth, luck and general privilege with intelligence. Sure, intelligence depends a lot on your viewpoint and some people, especially in economics, take general success as an important factor. Not me though, anyone taking this hyperloop nonsense seriously can't be very intelligent from my point of view.
Maybe you could call Musk charismatic, but then he's rather atypically charismatic, cause his rethoric isn't exactly smooth. He stutters, mumbles and keeps repeating the same weird points like "interplanetary species". As if we need another hostile planet while we turn our own planet to desert. Don't get me wrong, i think exploration is great fun, but the way he's claiming it a necessity is just delusional.
Like I have already said, I completely agree with what you have said that there is no role for “Dacian” in the Albanian–Romanian lexical isoglosses.
I also agree that this is not the place for such a debate, so I will not post any other comment.
I completely disagree with your claim that this is a political debate. I have not said a single word about anything outside linguistics before you have stepped outside linguistics by presenting the hypothesis that the Romanians have come into Romania from the South of the Danube as being a certain fact. And no, even when a few specialists agree with the same hypothesis, that is not a consensus, especially when the evidence for it is lacking.
What you have mentioned that Aromanian is very close to Romanian, so they must have separated very recently, is a glottochronological kind of argument that may make a hypothesis more plausible, but which can never prove anything with any certainty.
The distance between two sister languages usually increases in time, but not necessarily at an uniform rate. Two languages that become completely isolated may become reciprocally unintelligible after a century, but when there is a continuous contact between them, e.g. due to close commercial connections, they may remain little differentiated after hundreds of years, while having a parallel evolution that makes both of them very different from their parent language.
Much stronger arguments would be needed to support such a weird supposition like a population explosion in the South-Danubian Proto-Romanians that would push them over the Danube in sufficient numbers to occupy the entire much larger North-Danubian area and assimilate all the Slavs who supposedly had become dominant there.
You are right that which language assimilates another is not frequently determined by the number of speakers, even if in the cases when none of the languages is supported by any state authority and when there is no military or cultural dominance of one over the other, there remains not much that can determine the direction of assimilation besides the numbers of speakers.
However that is irrelevant for my argument that such a reversal of the direction of assimilation without any known reason is extremely improbable. Supposing that the Slavs had already assimilated the Romance speakers in the North and knowing for sure from later history that they were on the path of assimilating most of the Romance speakers from the South, what extraordinary events could reverse this and transform a group from the South that could have been only small and without any warrior abilities into a large population dominant over the very much larger Northern territory, despite its supposedly now Slavic population?
Even if for unknown reasons small numbers of South-Danubian Romance speakers would have been able to convert large numbers of North-Danubian Slavic speakers, it would still have been necessary for the South-Danubian Romance speakers to be able to provide an incredibly large number of emigrants only to be able to reach the entire North-Danubian territory, to be in proximity of all of its supposedly Slavic population.
This has nothing to do with politics, because nowadays it does not matter by which means Romanians have arrived in Romania, or the Americans in USA and so on.
Nevertheless, when a historical theory is illogical and it appears to have been conceived by some kind of armchair theoretician, who has never looked on a map, to see the scale of the things implied by their suppositions, e.g. how many people would be needed to occupy a territory densely enough to eventually dominate the former occupants, where could they have come from, and so on, it does not matter if they claim to be in consensus with their bros, such a theory must be challenged.
> But Nuremberg was very successful in de-Nazifying the country.
Um what?! You seem to know very little about post-war bureaurcats in West Germany. They failed completely at de-nazifying then country.
Example, the first secret service (Organisation Gehlen, precursor to BND) was headed by a Wehrmacht general. The CIA put him there and didn't care. He was useful against the Soviets.
Even the first chancellor (Adenauer) eas basically blind on the right eye.
The East was much more effective in de-nazifying, sometimes a little too eager even. (And Adenauer refused to accept even the existence of the East German state. Surprise.)
I develop Lunar (https://lunar.fyi/) for controlling monitors on Mac and stumbled upon this gem for Linux which I wanted to share with you.
I regularly get asked to recommend something similar to Lunar for Linux and Windows and while there's TwinkleTray for Windows, I didn't have a good recommendation for Linux. Glad this finally exists!
A lot of people also use MonitorControl for Mac and might be curious what's the difference between it and Lunar. I have a comparison table here for those people: https://lunar.fyi/lunar-vs-monitorcontrol
There are probably no good sources for what your average North Korean's life is currently like. There are a handful of famous accounts from a few of those who escaped the country and they're obviously pretty grim (particularly those describing prison camp life) but the stereotype is of this primitive country, which is backwards both ideologically and technologically. I'm not an idiot, I don't believe there's a little hidden Wakanda going on there. But we can at least observe that if they're able to hack that quantity of crypto there is some kind of tech operation going on there, however small it might be. So they're not entirely shut off and they're able to penetrate at least a bunch of western crypto-startups.
If you're motivated, don't mind a very on-rails, restricted and relatively pricey tour, you can actually visit yourself: https://koryogroup.com - I've wanted to for a while, but I've spent less money to travel in other interesting places with fewer restrictions for longer, so it's hard to justify the expense.
An interesting read you might like is by a couple of Austrian guys who decided to hop on a train there, confusing and irritating border officials who didn't expect an invasion from the northern direction :) http://vienna-pyongyang.blogspot.com
Probably the most accessible and interesting thing though, is a podcast series called "Blowback" (it's Season 3, the previous two were on the Cuban revolution and the Iraq war). Now obviously this isn't the current day but it presents a slightly more balanced view of the events leading up to and throughout the Korean War than your average American or Brit might have picked up through osmosis. It's fascinating, well-produced, well-sourced and has a very good soundtrack. Here's ep 1: https://www.stitcher.com/show/blowback/episode/s3-episode-1-...
As I said, there will be no good way to get any kind of verifiable account of how awful or how ok-ish is it is there. And I'm deliberately putting "ok-ish" as the upper limit because while I'm sure that all the ~20 million inhabitants aren't all living the prison camp lifestyle, I don't imagine your average North Korean has a particularly pleasant life.
Sorry, maybe not the answer you were hoping for but I hope you enjoy any or all of the things I suggested :)
The authors considered other possibilities for the reduction in teen suicide:
> There could be a number of explanations for these findings. Families spending time together during a period of fear and uncertainty may have generated important mental health benefits for teenagers. Moreover, increased communication between parents and teenagers, as well as increased monitoring (both of behaviors and psychological health) may have yielded important psychological gains for teenagers. In addition, the absence of in-person schooling could have helped teenagers avoid negative peer effects of in-person bullying. Or, it may be that reductions in pressures associated with high-stakes exams, athletics, or romantic relationships may have reduced triggers for suicide ideation. In the final section of this paper, we empirically explore a few potential channels.
As someone who has gone to public school, I know the answer is bullying.
The authors were careful to point out that they do not advocate shutting down in person schooling because it can also offer positive mental health benefits. But you have to wonder, between teachers, guidance counselors, and administrators, you would think someone would notice some bullying behavior. Could it be that collectively the adults tasked with overseeing children are, understaffed, unempowered, ignorant, complicit, or do the facilitate or lead this behavior?
> [F]ascism is best defined as a revolutionary form of nationalism, one that sets out to be a political, social and ethical revolution, welding the "people" into a dynamic national community under new elites infused with heroic values. The core myth that inspires this project is that only a populist, trans-class movement of purifying, cathartic national rebirth (palingenesis) can stem the tide of decadence. -- Roger Griffin
> Marxists argue that fascism represents the last attempt of a ruling class (specifically, the capitalist bourgeoisie) to preserve its grip on power in the face of an imminent proletarian revolution. Fascist movements are not necessarily created by the ruling class, but they can only gain political power with the help of that class and with funding from big business. Once in power, the fascists serve the interests of their benefactors
> It is usually assumed, for instance, that Fascism is inherently warlike, that it thrives in an atmosphere of war hysteria and can only solve its economic problems by means of war preparation or foreign conquests. But clearly this is not true of, say, Portugal or the various South American dictatorships. Or again, antisemitism is supposed to be one of the distinguishing marks of Fascism; but some Fascist movements are not antisemitic. Learned controversies, reverberating for years on end in American magazines, have not even been able to determine whether or not Fascism is a form of capitalism. But still, when we apply the term ‘Fascism’ to Germany or Japan or Mussolini's Italy, we know broadly what we mean. -- Orwell
> The first truth is that the liberty of a democracy is not safe if the people tolerate the growth of private power to a point where it becomes stronger than their democratic state itself. That, in its essence, is fascism — ownership of government by an individual, by a group, or by any other controlling private power -- FDR
I thought I was clear on the aspects I recognised.
The only fast option is another: arrest those who control the current energy market for crime against humanity and re-nationalize the sector. Really. With them in jail FOR LIFE other like them will do their best to avoid getting equally in jails and States have nothing to deal with "prices".
For instance in France more than half of the national NPP are offline due to needed maintenance the private owners postpone at maximum to maximize their profit. Arrange the result take time. Jail the aforementioned owners telling anyone in the private sector that if they committed criminal business they can choose to be silent and cooperative of face an equal fate will suffice.
Private sector is THE SOLE responsible of the current prices, they do not came from war or natural scarcity. Telling them that "good times are passed" for them not for the Citizens at a whole as they want instead suffice for a quick U-turn since they know they are unarmed.
Renewables can't be nor fast nor an option simply because the sole that can live on them at unbearably high prices in the actual market are single private NEW homes in places where p.v. is effective enough and climate is not that cold. In a city, a dense European one, there is no room for renewables to really produce energy, you can only make some show for commercial purposes. Oh, I say that as one who actually have built a new home five years ago, with p.v. and small lithium backup, so to speak.
The quickest way is one: telling those who profit that revenge sentiments start to be in the air and they will FAIL to ride them to push a new hoax this time. However since people are not in that mood, actually many have thirst for blood but not for positive actions energy giants and their public friends are not startled at all. That's is.
What democracy exists in the US? You don't vote for your president. The preferences of the American public have a statistically insignificant effect on which legislative policies get passed. Popular suffrage has existed in the country for ~50 years since indigenous women got the vote. Do I even have to get into what total lack of privacy we enjoy in the "free world"? Come on.
I'm tired of Americans comparing anything bad to their geopolitical enemies, especially when Putin was backed by the CIA and MI6 as a useful wedge against communism. You don't get to fuck up the entire world with aggressive state interventions and then act like you're some bastion of democracy. Ask a Chilean what they think about US democracy. Or really anyone for that matter.
USSR was almost destroyed by German invasion in 1941-1945. Because most of the population and almost all the industry resided (and continue to reside) in the western part of Russia/USSR, Germany destroyed immense amount of industry, infrastructure, houses, schools, hospitals. Even after capturing territories, Germany destroyed industrial plants because their plan was to completely eliminate people of Russian nationality and to use the captured lands for agriculture - to feed the Third Reich.
Also, they killed almost 30 million of young productive citizen of USSR.
It was a huge knock which almost no other country ever endured. And it set back the development of USSR.
Also, those comments about war and propaganda are also inaccurate. USA started much more wars than USSR/Russia, and as the result of those wars USA killed at least 20 million of people, destroyed infrastructure and industry, plundered resources, e.g. oil of Iraq and Libya. And haven't built anything.
If you'd really study the history, although I'm pretty sure you won't find any accurate information about USSR in the western history books, you'll learn, for example, how USSR built kindergardens, hospitals, schools and industry in Afghanistan and other countries. Investing the money and labor of Russian people in 3rd world countries. Had ever USA did the same?.. Other than printing another billion of USD and "giving" it to some other country, with 90% disappearing in somebody's pocket in transit.
And don't get me even started on propaganda. Do you believe western society doesn't have propaganda? How comes then that you all have the same opinion about everything? Especially on external politics.
Of course, the "right" answer for racing may not be the same as for someone doing relatively recreational paddling. I assume it's very situational--including for the individual involved.
The Shanghai lockdown is working as we speak. Daily cases are down from nearly 30k to under 10k. Parts of the city have no cases, and are starting to reopen.
Judging from the experience of Hong Kong, without a lockdown, Shanghai would have quickly reached hundreds of thousands of new cases a day, and half of the city would have been infected within weeks. The death toll would have been several tens of thousands. Instead, the death toll is a few hundred.
Ironically, Shanghai is in the situation it's in right now because the city's leadership refused to go into lockdown early on, and just looked on as cases climbed into the thousands before doing anything. Other cities that took action early (like Shenzhen and Gaunghzhou) were able to get back down to zero cases very quickly, without anywhere near as much societal disruption.
ASBMilitary was banned from Twitter. They said their reporters in Ukraine were threatened due to the nature of their reporting, which challenged the Ukrainian narrative we're fed in the West.
Of course all Russian-friendly media platforms are banned. The narrative they bring is dangerous to the false image we're creating here in the west.
Social media platforms are waging war on "misinformation", removing content and opposing views en masse. This is not a secret. We're shielded against "propaganda", not aware we're steeped in propaganda.
The funny thing, even western news media reported on the resurgence of the far right and the prevalence of Neo-nazism in Ukraine, as well as its connection with government post-euromaidan. Referencing these very articles gets you stamped as a Russian bot these days.
The fact is that NATO countries are funding and militarizing neo-nazis in Ukraine in order to undermine Russia. And they're shielding them from bad press. Moreover, government forces (of which the neo-nazi militia is part of) has bombarded civilian areas of the seperatist regions for 8 years, and still do, which has killed about 14k civilians. There's complete silence about this injustice in the western press coverage of Ukraine.
What's most concerning is how normalized it has become to hate Russians.
I failed to use IP tables for years. I bought books. I copied recipes from blog posts. Nothing made sense, everything I did was brittle. Until I finally found a schematic showing the flowchart of a packet through the kernel, which gives the exact order that each rule chain is applied, and where some of the sysctl values are enforced. All of a sudden, I could write rules that did exactly what I wanted, or intelligently choose between rules that have equivalent behaviors in isolation but which could have different performance implications.
After studying the schematic, every would just work on the first try. A good schematic makes a world of difference!