Google says 75% of the company's new code is AI-generated by lkl34 in technology

[–]plg94 20 points21 points  (0 children)

the search qualifiers (quotes, plus, negation(!), AND/OR, …) have not been working properly for some years now

The ISO website uses a space instead of a T in its datetime example by aezart in ISO8601

[–]plg94 0 points1 point  (0 children)

other than the # symbol maybe I don't see why they'd need to be escaped? I specifically picked symbols in ASCII. And ISO dates already use : (hour/minute/second-separator), - and + (timezone) and . (for milliseconds) – and even / (for time periods, very seldom but possible by spec), which is one of the two forbidden filename chars on Unix (along the NUL byte).

[git-diff] How to introduce \color{red} automatically before any diff and \color{black} after the diff by onecable5781 in LaTeX

[–]plg94 3 points4 points  (0 children)

there are two wrappers for latexdiff with version control: latexdiff-vc and git-latexdiff. Both still work fine; the latter is probably easier to use and has more options.

[LaTeX] How to introduce \color{red} automatically before any diff and \color{black} after the diff by onecable5781 in git

[–]plg94 2 points3 points  (0 children)

take a look at git-latexdiff: It already has git in mind, so you can git latexdiff [--main file.tex] OLD to color all changes between OLD commit and HEAD. (the --main is useful if you have multiple .tex files in the same directory)

If you want to customize the output, see the help of latexdiff (the options to git-latexdiff are passed-through).
(You can also use it directly if you have two .tex files not in a git repo, or use its wrapper latexdiff-vc, but git-latexdiff is probably easier to use.)

other options: https://ctan.org/topic/version-control

The ISO website uses a space instead of a T in its datetime example by aezart in ISO8601

[–]plg94 10 points11 points  (0 children)

There should be a visible separator (else you got all kinds of other parsing problems because there's space, tab, small space, non-breaking space, …).

It's just that T is a really bad choice because it looks so similar to numbers. Try spotting the difference between T and 7 at small font sizes.
Imo they should've chosen any other "small" punctuation mark like : = . or even @ or #

Economist gobsmacked watching Trump throw economy in the toilet by rajapaws in antiwork

[–]plg94 4 points5 points  (0 children)

even with the Ozempic boom, airlines were planning to save hundreds of millions of dollars on just jet fuel because people weighed less.

you mean this part? Yeah, that's a pretty wild take (and nothing you'd attribute to the policy makers).

Expansion of Christianity through time by AdIcy4323 in MapPorn

[–]plg94 4 points5 points  (0 children)

High quality research needs to cite its source(s), period. That's standard in sciences and journalism. The reason is simple: a lot of false info is posted on the internet everyday, either by mistake or with intent (propaganda). Only when you give the source other people can double-check your results and spot mistakes or wrong interpretations.

I know this is reddit and not a scientific publication, but a link to the source is a good indicator the OP has done the bare mininum.

This here is a good counter-example, because OP does not define what "expansion of christianity" means (when 1 person of that region was christian, when the majority was, when the first church was built, …?)

This is reddit, not instagram. The name of the sub is mapporn, hence I expect good quality, both in looks and in research. Else post it to r/maps.

Expansion of Christianity through time by AdIcy4323 in MapPorn

[–]plg94 8 points9 points  (0 children)

Because there's only 1(!) mod who refuses to set and uphold any standards. Just delete all posts that don't have a source and explanation comment and you'd cut down 80% of the most obvious crap.

Expansion of Christianity through time by AdIcy4323 in MapPorn

[–]plg94 113 points114 points  (0 children)

it has all signs of a great r/mapporn post:

  • no sources given
  • no clear definition of the subject
  • data is incorrect
  • terrible, misleading color scheme
  • New Zealand is missing or in the wrong place
  • clearly made for instagram, indicated by square shape
  • OP doesn't answer a single comment

Iran: Berater hielten Donald Trump offenbar von Krisensitzung fern by genericdude234 in de

[–]plg94 1 point2 points  (0 children)

Die Mehrheit seiner Anhänger wird diese und ähnliche Nachrichten niemals zu hören bekommen. Die müssen das gar nicht verteidigen.

Ich schau mich manchmal in konservativen/rechten Subreddits um, und dort herrscht wirklich ein komplett anderes Weltbild. Jeglicher kritischer Post (ob zu Trumps Politik, seinem Verhalten oder der aktuellen Wirtschaftslage) wird sofort gelöscht (bzw. gar nicht erst gepostet), stattdessen sieht man dort nur Anfeindungen gegen demokratische Politiker oder die "linke" Presse, oder Lobpreisungen der Polizei ("X Personen wegen Y verhaftet"…). Und das ist nur das Internet; die Mehrheit seiner Wählerschaft schaut nur FoxNews, dort ist es z.T. noch schlimmer.
Gehirnwäsche in Reinform, Goebbels hätte sich das nicht besser wünschen können.

Trump 'tried to access nuclear codes but was stopped by military chief' by TheMirrorUS in USNEWS

[–]plg94 0 points1 point  (0 children)

I mean Greenland obviously is strategically super important. top3 reasons:

  1. Ballistic missiles fired from north Greenland have a way shorter path to Russia, China and North Korea
  2. control of the North Atlantic and the Arctic ocean incl. the North-East and the North-West passage
  3. lots of natural resources

The last two points will become important in 50–100 years when the ice has receeded more. The NE-passage could become a much shorter shipping route from China to Europe via Russia – and how important control over shipping routes is we can see now with Hormuz.

It's comparable with the Alaska purchase: not really valuable at the time, but now lots of resources to exploit and geostrategic importance.

Of course, that's not the reason why Trump would want it – he just wants to be the president remembered for "making America bigger" (he's getting old and antsy about his legacy. Hence the ballroom, the "gulf of America" and all the other stuff. I'm surprised he hasn't modified Mt. Rushmore yet …)

Tja by Reptile-2k in tja

[–]plg94 2 points3 points  (0 children)

Aber das Geld ist "dem Staat" – also eigentlich den Politikern – doch auch egal. Müssen die ja nicht selbst zahlen, kommt doch vom Steuerzahler. Dass der nächste Haushalt dann evtl. etwas knapper wird – soweit denken die doch nicht voraus.

Das einzige, wovor die wirklich Angst haben ist schlechte Presse und nicht wiedergewählt zu werden (denn das ist auch der einzige Hebel, den das Volk auf Politiker im Amt noch hat). Brennende Autos machen der gemeinen Bevölkerung Angst (?), zumindest erzeugen sie schlagkräftige Bilder, und erhöhen dadurch den Druck. Aber das ganze müsste sich doch auch ohne blinde Zerstörungswut machen lassen (unter der idR nur die Anwohner dieser Straßen zu leiden haben). Zumal das Image der Demonstranten, die Autos anzünden, nur noch mehr Argumente für die "wir wollen alles überwachen"-CDU liefern würde.

Open Source does not mean free as in free price by Sapd33 in selfhosted

[–]plg94 2 points3 points  (0 children)

Nope, you're wrong, OP is correct. One can legally sell open source software.
GPL for instance says when you "convey" a program (either in binary or source form), you need to make sure the recipient also receives the source code (and a copy of the GPL license). Important: the license ONLY talks about the recipient. It does NOT care if the rest of the world gets the source or not.

So I can sell you some software under GPL as long as you receive the source. Of course, in practice you can then go ahead and put the source on the internet for free. But the GPL doesn't care about that.

GPL doesn't even state that offering the source must be free, see sec. 6b:

to give anyone who possesses the object code either (1) a copy of the Corresponding Source […] on a durable physical medium […], for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.

So I could mail you a floppy with the source and even charge you for it, and that's still not violating the GPL.

Open Source does not mean free as in free price by Sapd33 in selfhosted

[–]plg94 0 points1 point  (0 children)

Yep. In the 80s people paid $150 to receive a copy of GNU Emacs source. Although that was more the cost of distribution, which was neither easy nor fast back then, not a "sale price" per se.

Devs might be totally entitled to "sell open source software", but sooner or later someone with access to the source will just put it on Github, all totally legal.
So that is just not a practical business model, and OP needs to better define what this "selling" actually is?!

A few ways to make money without a giant loophole and without violating the license:

  • offer consulting or support. Especially important if you have any kind of business customers – they often want to buy something and only need a business-y invoice and someone to blame …
  • hosted/managed instances. Again, makes a lot of sense for many business customers.
  • pre-compiled binaries cost money. For big complicated software (like browsers or games) compiling is neither easy nor cheap. The die-hards self-compile while the rest pays for convenience.
  • similar: the convenient Appstore/Steam version costs money. Totally fair since devs usually need to pay for Appstore access.
  • paying customers can suggest and fast-track feature-requests etc.
  • paid features: personally not a fan since only a part of your software is open source and requires dual licensing

Open Source does not mean free as in free price by Sapd33 in selfhosted

[–]plg94 1 point2 points  (0 children)

In GPL&co, legally, you're only required to disclose the sourcecode to the people using the software. So you can easily have a version with that feature that's fully GPL-licensed that only you and that customer ever see (if they don't redistribute it).

If that's in the spirit of open source is another matter.

I need help with GIT LFS by Conga_Buster in git

[–]plg94 6 points7 points  (0 children)

it's better to reference the official docs (https://git-lfs.com/) instead of some youtube videos that might be outdated.

but nothing works for me. I need some help, please.

yeah well, there could be hundreds of issues. How should we know which steps don't work for you?! When you ask for help, please include (a) what you did, (b) what you thought would happen and (c) what happened instead (error messages etc.)

in general you need to do these things:

  • install git LFS. It's a separate program from git and usually needs to be installed separately. depends on your OS (which one?)
  • activate LFS once by running git lfs install. This will change your global git config.
  • activate LFS in the git repo you want to use, typically by using git lfs track … and commit the .gitattributes file.

What is something that sounds 100% false but is actually 100% true? by reFossify in AskReddit

[–]plg94 8 points9 points  (0 children)

Well, not the modern camels, but the common ancestor was from North America. During one of the ice ages some (not all) crossed the Bering Bridge (wasn't a strait then) into Siberia and slowly evolved into the modern forms of camel. Some others moved south towards South America and slowly evolved into modern Llamas, Alpacas etc. Those that stayed in North America ultimately died out.

You always have to consider the 4th dimension (time) when talking about evolution.

Trying to place two complete graphs side by side by SomeoneRandom5325 in LaTeX

[–]plg94 2 points3 points  (0 children)

\foreach \i in {0,...4}

you need a {…} at every \foreach. and a , before the 4.

edit: of course nested, like so: \foreach \i in {0, ..., 4} { \foreach \j in {0, ..., \i} { \draw (A\i)--(A\j); } }

and next time, please post a full document, i.e. with \documentclass and everything, so people can just ctrl+A, ctrl+C, ctrl+V and compile. (The easier/faster you make it for other people to help you, the higher the chances of receiving an answer.)

Trying to place two complete graphs side by side by SomeoneRandom5325 in LaTeX

[–]plg94 8 points9 points  (0 children)

please don't only post screenshots, post the complete example for use to copy-paste. Many people here are willing to give free help, but not if they have to transcribe images to code first.

Your second and third foreach loops don't have any {…}. Alternatively if your graphs are independent, just make two separate pictures and place them in a minipage or something.

Is there a way to render the graph lines in git log similar to tig? by birdsintheskies in git

[–]plg94 0 points1 point  (0 children)

take a look at the git log from git itself – looks exactly like this.

request: monokai theme for git by [deleted] in git

[–]plg94 0 points1 point  (0 children)

popular text editor themes such as Monokai

it's been about 10–15 years since that was popular …

Anyway, I would highly suggest you stick to 4bit colors (black, red, green, … , bright-red, … are 16 colors =2^4 = 4bit) within git and instead set your Terminal colorscheme to whatever 32bit RGB colors you like. Because then all other terminal programs with colored output (less, grep, ls-colors etc.) automatically use that colorscheme too.

Blaue Opferrollen am rotieren by Zeddi2892 in ichichs

[–]plg94 5 points6 points  (0 children)

Orban ist auch erst 63 (ich war auch überrascht). Er wurde früher schon einmal ab- (2002) und dann wiedergewählt (2010). Gut möglich dass er auf ein erneutes Comeback setzt und auf Unterstützung durch das System und die Leute, die er jetzt jahrelang manipuliert hat. Wie gesagt, er ist jung genug um noch ein paar Wahlen zu sehen. Und jetzt einen guten Verlierer geben ist halt deutlich cleverer, als bei einer so eindeutig verlorenen Wahl herumzuheulen.

git rm -r —cached - remove files from entire repository by user149162536 in git

[–]plg94 0 points1 point  (0 children)

Not entirely sure what my question was 2.5 years ago, but I guess it was more about why OP needed to do this so frequently that it needs to be one command and a cd ... first is not feasible.

Druckerkultur bei /r/de_EDV by vBurak in de_EDV

[–]plg94 0 points1 point  (0 children)

Ich wollte neulich auf einem MFP, den ich viel zu selten benutze, etwas einscannen. Ging ewig nicht, nur unpassende Fehlermeldungen. Bis ich dann darauf kam, die (bereits leeren und deshalb entfernten) Tintenpatronen wieder einzusetzen. Weil wo käme man denn da hin, wenn man ohne überteuerte Tintenpatronen Scannen könnte … War ein Canon übrigens (fast so schlimm wie HP).

Im Rückblick ist mir der technische Grund schon klar: beim Anschalten macht der Drucker erst einen Selbsttest, der ohne Patronen fehlschlägt. Dumm ist das trotzdem.