aldalire

joined 2 years ago
MODERATOR OF
[–] aldalire 15 points 8 months ago (2 children)

Give them a little “year-end review” 🙊

[–] aldalire 32 points 9 months ago

Archive link: https://archive.is/U6Ig5

A Chinese commercial vessel that has been surrounded by European warships in international waters for a week is central to an investigation of suspected sabotage that threatens to test the limits of maritime law—and heighten tensions between Beijing and European capitals. Investigators suspect that the crew of the Yi Peng 3 bulk carrier—225 meters long, 32 meters wide and loaded with Russian fertilizer—deliberately severed two critical data cables last week as its anchor was dragged along the Baltic seabed for over 100 miles. Their probe now centers on whether the captain of the Chinese-owned ship, which departed the Russian Baltic port of Ust-Luga on Nov. 15, was induced by Russian intelligence to carry out the sabotage. It would be the latest in a series of attacks on Europe’s critical infrastructure that law-enforcement and intelligence officials say have been orchestrated by Russia. “It’s extremely unlikely that the captain would not have noticed that his ship dropped and dragged its anchor, losing speed for hours and cutting cables on the way,” said a senior European investigator involved in the case. The ship’s Chinese owner, Ningbo Yipeng Shipping, is cooperating with the investigation and has allowed the vessel to be stopped in international waters, according to people familiar with the probe. The company declined to comment. The damage to undersea cables occurred in Swedish waters on Nov. 17-18, prompting that country’s authorities to open a sabotage investigation. Russia has denied wrongdoing. Investigators have established that the ship dropped anchor but remained under way in Swedish waters on Nov. 17 at around 9 p.m. local time. The dragging anchor cut the first cable between Sweden and Lithuania shortly afterward, according to two people familiar with the investigation. During that time, the ship’s transponder, which charts its movements on the so-called Automatic Identification System, shut down in what is known as a “dark incident” in marine traffic jargon. The ship then continued even as the dragging anchor greatly reduced its speed, according to satellite and other data reviewed by investigators.

THE YI PENG 3, LEFT, IS MONITORED BY A DANISH NAVAL PATROL VESSEL. Investigators say that at around 3 a.m. the following day, having traveled about 111 miles, the Yi Peng 3 cut the second cable between Germany and Finland. Shortly afterward, the ship started zigzagging, raised anchor and continued. Danish Navy ships then set out to pursue and intercept the Yi Peng 3, ultimately forcing it to anchor in the Kattegat Strait, which connects the Baltic and the North seas. A review of the vessel’s anchor and hull showed damage consistent with having dragged its anchor and severed cables, people familiar with the investigation said. “Given the mild weather conditions and manageable wave heights, the likelihood of accidental anchor dragging appears minimal,” according to an analysis prepared for The Wall Street Journal by Kpler, an analytics company that provides real-time data on international shipping. While such incidents have been handled confidentially in the past, the damage to the internet cables last week quickly prompted public interventions from top European leaders. The crew of Yi Peng 3, which is captained by a Chinese national and includes a Russian sailor, hasn’t so far been questioned, according to people familiar with the probe, but a member of a Danish pilot ship briefly boarded the ship before it was anchored in the Kattegat Strait. Several Western law-enforcement and intelligence officials said they didn’t think the Chinese government was involved in the incident but that they suspected Russian intelligence agencies were behind the sabotage. “These are absurd, unsubstantiated accusations,” the Kremlin press office told the Journal. The same Western officials who point fingers at Russia were silent when Ukraine blew up the Nord Stream gas pipelines, the press office said in reference to the 2022 sabotage of the conduit for Russian gas to Europe.

UNDERWATER FIBER-OPTIC CABLES, CARRYING TRANSACTIONS WORTH TRILLIONS OF DOLLARS A DAY, ARE CENTRAL TO THE U.S.-CHINA TECH WAR. WSJ EXPLAINS THE BATTLE FOR INFLUENCE BENEATH THE WAVES. ILLUSTRATION: KSENIA SHAIKHUTDINOVA “I would like to reiterate China’s consistent support working with all countries to maintain the security of international submarine cables and other infrastructure in accordance with international law,” Chinese Foreign Ministry spokesperson Mao Ning told reporters on Wednesday. The Chinese bulk carrier is now guarded by a small flotilla of North Atlantic Treaty Organization ships belonging to Denmark, Germany and Sweden. Previously neutral, Sweden is one of the newest members of NATO, having joined the military alliance in the wake of Russia’s full-scale invasion of Ukraine in 2022. Under international maritime law, NATO ships can’t force the Yi Peng 3 to sail into one of their ports. Swedish and German authorities are negotiating with the ship’s owner to obtain access to the vessel and question its crew. German police also dispatched the Bamberg, a patrol vessel, to investigate one of the incidents with underwater drones. Swedish and Danish ships have also examined the sites on the seabed. European authorities must tread carefully because of their commitment to the freedom of navigation and upholding international law that underpins global trade, according to several European politicians, as well as security and law-enforcement officials familiar with the probe. Since the launch of its full-scale invasion of Ukraine, the Kremlin has been accused by Western officials of waging a shadow war on NATO territory in Europe to destabilize the West, including orchestrating attacks on undersea pipelines and data cables in the Baltic and the Arctic.

THE CHINESE SHIP MADE CALLS AT RUSSIAN PORTS SUCH AS NAKHODKA. In October last year, a Chinese-registered vessel called Newnew Polar Bear cut the Balticconnector gas pipeline and a telecommunication cable connecting Finland and Estonia with its anchor, according to people familiar with the investigation into the case. Some officials briefed on the investigation said Russian sailors were aboard the Chinese ship at the time of that incident. Newnew Polar Bear was allowed to proceed toward Arctic Russia because authorities in Sweden, Denmark and Norway didn’t want to halt the ship without sound legal backing, according to officials. But in the case of Yi Peng 3, the Danish Navy decided to intervene quickly to stop the ship after the second cable was damaged, people familiar with the investigation said. Yi Peng 3 had operated solely in Chinese waters from December 2019 through early March 2024, when it suddenly changed its pattern of operation, said Benjamin L. Schmitt, senior fellow at the University of Pennsylvania’s Kleinman Center for Energy Policy. The Chinese ship then started carrying Russian coal and other cargo, making calls in Russian ports such as Nakhodka on the Sea of Japan, several trips to the Port of Murmansk in the Barents Sea and a trip to the Baltic Sea. At present, the ship is loaded with Russian fertilizers, according to Kpler data. “While this alone is not enough to provide evidence of Russian involvement, the fundamental change in the ship’s operating region to Russian ports after years operating solely in Chinese waters should be a key area of investigation for European authorities,” Schmitt said.

[–] aldalire 9 points 10 months ago
[–] aldalire 6 points 10 months ago (1 children)

Woah some of those documentaries make my blood boil

[–] aldalire 3 points 10 months ago* (last edited 10 months ago)
[–] aldalire 63 points 10 months ago* (last edited 10 months ago) (4 children)

From the article:

The films removed from Netflix include "3 Logical Exits"; "3000 Nights"; "A Drowning Man"; "A Man Returned"; "A World Not Ours"; "Ave Maria"; "Bonboné"; "Children of Shatila"; "Chronicle of a Disappearance"; "Condom Lead"; "Divine Intervention"; "Frontiers of Dreams and Fears"; "Ghost Hunting"; "Giraffada"; "Habibi"; "In Vitro"; "Like Twenty Impossibles"; "Maradona’s Legs"; "Mars at Sunrise"; "Omar"; "Salt of this Sea"; "Samouni Road"; "The Crossing"; and "Xenos"

[–] aldalire 9 points 10 months ago

Also definitely refrain from pasting in the URL into https://archive.is as it is definitely illegal to circumvent paywalls by pretending to be a google web crawler to archive the site

[–] aldalire 1 points 11 months ago

Sigh unzips

[–] aldalire 1 points 11 months ago* (last edited 11 months ago) (1 children)

Huh. They deleted my post? Or is there a weird lemmy reason why I cant see it in this thread? weird.

Edit: Nevermind. The thread I posted in was a crosspost. See here: https://lemmy.dbzer0.com/post/29567097

[–] aldalire 19 points 11 months ago

From the paper (proton drive file) https://drive.proton.me/urls/Z6DPGQCZ0M#GxZ6dDb2oV5W

The results suggest that Denuvo does protect legitimate sales to an estimated mean of 15 percent of total revenue and median of 20 percent, but there is little justification to employ Denuvo long-term (i.e. for more than three months), especially given that Denuvo can have negative technical side effects and is generally disliked by users.

[–] aldalire 20 points 11 months ago
 

I realize that, after all this time, I have never payed for my all-time favorite games I grew up playing (Fallout 3 & Skyrim). I can pay for it, but I really do not want to pay the money to the Bethesda’s marketing team, CEO, and whoever bullshit middle man who wants a cut of that. I want to give directly to the team that made the damn game, the artists, the sound designers, the voice actors, the programmers. If there was a way to do that, i’d be more happily inclined to spend my money on a decade year old game.

Just thinking

 

Apparently Apple can end-to-end encrypt your iCloud, but it’s opt in because they still want to profit off your data >_<

To enable this, go to Settings -> iCloud -> Advanced Data Protection

You need to have all the devices under your apple account to be fully updated, and you’ll need to remember a 28-key passphrase for recovery

I hate how big tech treats privacy as an afterthought. This should have been the default. But oh well. Spread the world people.

91
My latest bounty (lemmy.dbzer0.com)
submitted 1 year ago by aldalire to c/piracy
 

Hello Pirates.

Let me tell you a tale of a bounty I am proud of partaking. I have installed Risk of Rain Returns on a fresh Arch Linux distro, Wayland (i also needed XWayland) , KDE plasma 6, and GPU-accelerated.

Moreover, I have used another laptop i have at my disposal to become a 24/7 i2p router, which is able to capture the warez that were necessary to perform this bounty. This bounty can be obtained without the use of a vpn, since the game can be downloaded from the i2p postman site.

Because it was an exe file, I had to take certain steps to allow it to execute on my system. I installed lutris, as well as the arch linux dependencies that it required, and launched the installation executable through lutris

This journey was not without its challenges and setbacks. One such challenge I had to face to secure this bounty was to install the xorg-xwayland-explicit-sync patch. The nvidia drivers 550 is weird when playing games through XWayland, because it would render frames out of order. Applying this patch, as well as using envycontrol to switch to nvidia mode (i am on a dual-gpu laptop) worked in fixing this issue

overall, I am happy with this bounty. I actually feel morally regretful when pirating games, more so than pirating movies, because of just how much sweat and tears developers had to put in to making it happen. But I am broke, and I have bought Risk of Rain and its DLC in the past, so in the moral calculus of piracy I think I've balanced it out. I am quite broke right now, however, so games are outside of my price point and I'd rather have something to eat.

I love i2p. There's so many cool warez in there, and I believe it's the future of piracy. It allows us to decouple ourselves from VPN providers, because who knows how long until they turn against us.

120
submitted 1 year ago* (last edited 1 year ago) by aldalire to c/[email protected]
 
 

Hello :)

I just finished my first arch install I wanted to set my sights on something more challenging. So, I booted a live image with QEMU Virtmanager to try out gentoo, and after reading the wiki I thought to myself “man i should have started with gentoo”

The arch wiki is good in its own right, but as a beginner i felt really confused and overwhelmed. I felt like I had to google terms just to catch up. The gentoo wiki, however, is really good at explaining concepts and the overview of the technology. When the Arch wiki just says “use mkfs.ext4 /dev/sda2” or something the gentoo wiki actually explains what sda, sdb, etc and ext4 means. I sort of learned it the hard way with arch, but i learn and understand lot more from the gentoo wiki. I love that it explains partition tables, filesystems, heck it even explains what is an IP in the networking section. Making a gentoo system and reading the wiki is basically an interactive computer science course lmao

So, thank you gentoo wiki :)

 

I believe that the only two privacy extensions you really need to meet 90% of your privacy goals are uBlock origin + NoScript

uBlock origin is effective because it stops the injection of ads which might contain and inject code. NoScript forces you to look at which scripts you really need for the website to function. Say you visit a trusted site, like your lemmy instance, then you can enable running of javascript by default the next time you visit the site. You'll be surprised how functional some sites are even without javascript. I did not like the idea of browsers having Javascript: it's remote code execution and if there's anything malicious in there and your browser is not patched against it you're fucked. This way yeah it'll be annoying when you first visit a site but it remembers your settings for the next time you visit.

 

When I was configuring my searxng I noticed a search engine that piqued my interest. Link: yep.com

From their about page:

Here's how it works.

We offer an unbiased, private search experience that rewards and compensates the makers behind the content. To do this, we use a 90/10 revenue share business model where we pay 90% of advertising revenue directly to these makers.

Simply put, when you use Yep, you’re directly putting money in the pockets of your favorite content creators.

148
GPT-4 for free (self.piracy)
submitted 1 year ago* (last edited 1 year ago) by aldalire to c/piracy
 

Hello sailors,

I have been job hunting for a while and I have felt a great disadvantage in my job search due to my lack of access to high-quality LLMs. Writing cover letters is honestly so bullshit. GPT-3 is honestly quite bad nowadays, but as a true pirate at heart I couldn't quite get myself to cough up the coin for OpenAI's GPT4 out of principle. I hate them for putting their cutting edge technology behind a paywall, making it inaccessible for their own gain. I feel like this is not what the internet was supposed to be. So today, call me the great emancipator cuz i'm teaching u how to get that shi for free baby

Requirements: Docker

It's all gonna be based off of this github repo: gpt4free

Installing through docker (there's also a way to install with Python PIP if that's more convenient for you. The docker worked for me though)

  1. docker pull hlohaus789/g4f

  2. docker run -p 8080:8080 -p 1337:1337 -p 7900:7900 --shm-size="2g" -v ${PWD}/hardir:/app/hardir hlohaus789/g4f:latest

  3. Open up the webui in your browser at localhost:8080

  4. In the "Provider" dropdown in the bottom look for "Liaobots"

  5. Choose "gpt-4-plus" under the "Models" dropdown

??? Profit

The cool thing about gpt4free is that there's a lot of providers and a lot of models to choose from! So if gpt-4-plus from Liaobot doesn't work for you you can switch to something else easily. Do note that some models require you to provide an authentication token or be logged in. Most of them work right out of the box tho.

*this post was not made with any use of an llm I promise ;)

^^list of gpt4 providers

39
submitted 1 year ago* (last edited 1 year ago) by aldalire to c/piracy
 

Hello mateys,

There's a lot of discussion recently about the ethics of piracy. A lot of good points have been made out of a handful bad ones. The most compelling one is of course the data preservation one, that piracy is the only way to mass preserve digital media in a medium that is prone to error.

However, sometimes discussions about the ethical justification to privacy often lead to rationalizing. Pirating, as others have exclaimed, is at best morally grey, and there are some cases, namely pirating works of small creators, where it is actively harmful and wrong.

I would like to share my perspective on it. I studied some game theory in college and that course made me look at the world in a different way. I believe piracy is a perfect example of a game theory concept known as the prisoner's dilemma and evolutionary game theory, if you all haven't heard about it. My essay is less of a justification of piracy, but more of an explanation of why piracy happens and grounding it in theory.

As a background for this concept, here's a scenario. Let's say you're a criminal faced with two options: snitch or stay silent. There is also another criminal, your accomplice, who is also in jail and faced with the same option. Depending on your response and your accomplice's response there are different payouts:

I stay silent and accomplice stays silent: 2 years of jail for both of us

I stay silent and accomplice snitches: 5 years of jail for me, 1 year of jail for the accomplice

I snitch and accomplice stays silent: 1 year of jail for me, 5 years of jail for my accomplice

We botch snitch on each other: 3 years of jail time for both of us

Most of you probably know where this is going, but bear with me because i'm gonna go further. The quick analysis of the situation is that there is a best-case scenario, which is both of us staying silent. But this best-case scenario can only happen with the result of cooperation. This is because if one of us flips, the other will have to serves longer sentence. The best case scenario can only happen if we both agree before the game that we will stay silent so we can guarantee the outcome, or else we will serve the longer sentence if the other betrays us.

So, what if we play this game without cooperating beforehand? Well, looking at my options:

if i stay silent, i can either get 2 years or 5 years of jail time

if i snitch, i can get either 1 year or 3 years of jail time

when faced with both these options, which strategy will you choose? of course, I do not want to got to jail for 5 years. Snitching definitely looks mad appealing to me when looking at it from this perspective. That's why, in game theory, snitching is what's called a nash equilibrium. Staying silent is not a nash equilibrium, because if the other snitches then I get a resulting jailtime which is worse off than if i just stayed silent.

Note that this does not mean that everybody should snitch. It's just that, given the choices handed to us, snitching is the one that will result in the least bad jail sentences. As with life, there may be other factors at play, such as the fact that if I snitch, the gang boss might kill me when I get out, which will definitely affect my decisions whether I should snitch or stay silent.

Okay. So how does this relate to piracy? What if we now play this game at a massive scale. Each and every one of us is faced with two options: pirate or buy. Currently, the majority of people actually buy software and media!

But wait. If buying is analogous to staying silent, and pirating is analogous to snitching, why aren't we at Nash equilibrium? why isn't everyone pirating software? My sweet summer child, I present to you the concept of law. The purpose of the law is precisely to coordinate people so we don't fall into our shitty Nash equilibriums and ruin everything, and it does it precisely by attaching a more negative result to snitching (pirating). That's why we have stoplights (seriously, we talk about stoplights a lot in my game theory class) and why (mostly) everyone follows stoplight laws. (before you say tRagEdY oF tHE cOMmONs!!!! the guy Garrett Hardin who coined the term was a hardline eugenicist and his intellectual contributions is a shitstain in academia so shut the fuck up.)

(for people that are curious, this is the realm of Evolutionary game theory. It studies the scenarios where each individual pair off in a population and play a game, and studies stable populations and stable strategies under this model. Ironically, i learned this from Game Theory, Alive by Anna R. Karlin and Yuval Peres. which i got from libgen XD)

So, as we have it, we have a majority of people buying software, with a minority of pirates who are getting that software or media for free. We aren't at nash equilibrium!! More technically, piracy is stable strategy under the parameters of the system. We pirates know that buying all the software we interact with will just make us poorer and sad in the end, and we'll be stuck with all the DRM. But on the other hand, it's untenable if everyone just pirates everything all the time! We pirates profit so long as the majority of people keep buying software. This puts us, pirates, at a very precarious position. It is dangerous when the population of pirates to increase, because this will cause things and create domino effects which will put us at nash equilibrium due to more regulation of piracy and a crackdown of piracy, leaving us worse off and needing to adapt to these changes.

My advice:the most stable strategy right now is buying software whenever you can spare the coin and if you think the value of the software to you matches its price, but pirating if it's convenient or unaffordable.

Too long, didn't read: piracy is a stable strategy under the current parameters of the system. If everybody pirates it fucks everything up. So, be as sneaky as you can. Also, read up on your evolutionary game theory you pleb

 

Seriously. There’s so many floating around. It feels like there’s a cycle of

Random programmer thinks xyz language sucks -> she/he makes a slightly different, slightly faster, slightly more secure version -> by luck this gains mass adoption-> random programmer thinks new xyz language sucks

I propose when the revolution comes and the last guillotine falls we decide a general-purpose programming language that coders should stick to. I vote Lisp or any of the dialects (scheme, clojure, racket), but i also feel something about the Julia language for scientific research. Maybe we can decriminalize using C. Absolutely ban and hunt down the use of any of the hipster languages teenagers are into these days.

Nim? Zig? Crystal?? I am absolutely losing my damn mind. It compiles to bytecode people. Make up ur damn minds. To jail with all of u

7
submitted 1 year ago* (last edited 1 year ago) by aldalire to c/[email protected]
 

Hello!

I've been obsessing about the lisp language recently. I've been in the periphery with learning about Haskell and functional programming. I have actually kind of avoided learning lisp because of its "ugly" syntax at face-value, despite being raised by Emacs as my first (true) editor. I woke up one day and decided enough was enough, i'm gonna learn lisp and gain a deeper understanding of Emacs and also programming. And dear god was it so worth it.

Just today I coded this function for Eratosthenes' sieve, and I had so much fun coding it! I like to go through Project Euler's archived problems when starting off with a new language because it really forces me to interact with the code rather than passively reading a programming book (I'm reading Land of Lisp, it's so unhinged I love it)

(defun range (start end)
  (if (< start end)
      (cons start (range (1+ start) end))))

;; Checks if d is a factor of n
(defun factorofp (d n)
  (zerop (rem n d)))

;; Sieve in lisp??
(defun sieve (n)
  (let ((primes (range 2 n))
        (curprime 2))
    (maplist (lambda (tail)
               (delete-if (lambda (n)
                            (factorofp curprime n))
                          (cdr tail))
               (setf curprime (cadr tail)))
             primes)
    primes))


CL-USER> (sieve 1000)
(2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 101 103
 107 109 113 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 199
 211 223 227 229 233 239 241 251 257 263 269 271 277 281 283 293 307 311 313
 317 331 337 347 349 353 359 367 373 379 383 389 397 401 409 419 421 431 433
 439 443 449 457 461 463 467 479 487 491 499 503 509 521 523 541 547 557 563
 569 571 577 587 593 599 601 607 613 617 619 631 641 643 647 653 659 661 673
 677 683 691 701 709 719 727 733 739 743 751 757 761 769 773 787 797 809 811
 821 823 827 829 839 853 857 859 863 877 881 883 887 907 911 919 929 937 941
 947 953 967 971 977 983 991 997)

I love lisp because it is at its core a functional programming language, but (as i do in my sieve function with the outermost lambda) i can specify localized points where I define, use, and mutate state. It gives me the best of both worlds, functional and imperative.

Lisp has made me kinda like coding again. Every function feels like writing poetry, especially with the indentations. People say our parentheses are ugly but they're wrong and they're the ugly ones.

 

I've occassionally played some Dota2 before but I'll be mainly switching to Dota2 after League releases their kernel level anticheat. I mostly play on arch linux (the league of linux community is the best), and I love that Dota2 supports linux natively while I have to literally hack my system and, in the past, patched some binaries to ensure that league barely works on my system. I'd often have the game crash on me right before the game starts because League's spaghetti code can't handle my system.

Overall, I feel like Dota2 is the better game holistically. The UI is better polished, the gameplay is more well balanced, and it doesn't feel like a shithole like League feels like now. I have long been contemplating making the switch, and I feel stupid at this point sticking to League up until they literally kick me out of their game because they want to require a kernel-level anticheat (aka spyware) that will block me from playing on my linux system.

I grew up playing League and I'll miss it, but I love MOBAs and Dotas is the de-facto best there is. My relationship with League can best be described as Stockholm Syndrome at this point, and I'm happy they're releasing me.

view more: ‹ prev next ›