xkcd

nomecks , in xkcd #743: Infrastructures

I have a great idea for a program! I should describe it in agonizing detail to an AI owned by some company so it will spit out working source code. Nothing can go wrong with my plan!

aesthelete ,

This is a flawless plan, especially since they pinky swore that they wouldn’t keep around the information you put into the black box AI. So we’re all safe!

chicken ,

If you make it open source they can’t steal your idea

dustyData ,

I mean, they can still steal your idea, fork it, repackage it and charge for it while refusing to upstream their development. But now it’s a licensing discussion and not a personal attack.

TheCraiggers ,
@TheCraiggers@lemmy.dbzer0.com avatar

Apple and Google have stolen plenty of ideas. They don’t care if it’s closed or open.

chicken ,

If they can’t prevent others from using it, seems fine to me.

TurtleTourParty ,

If AI will stop people from telling me their “amazing” app ideas when they find out I’m a programmer then I’m all for it.

MajorHavoc , in xkcd #743: Infrastructures

I feel like that violin is probably written in C. Or maybe Go. Has anyone made this yet? I might have my next weekend project

kool_newt ,

Unsafe Zig if you wanna play fast…

elxeno ,

It’s being re-written in Rust.

Datas_Cat_Spot , in xkcd #743: Infrastructures
@Datas_Cat_Spot@startrek.website avatar

One thing I’ve learned over the years: the scruffier looking the IT guy, the more they should be listened to.

elscallr ,
@elscallr@lemmy.world avatar

They don’t bear the moniker “greybeard” without reason

Klear ,

I thought that was because they shout a lot.

negativenull ,

Richard Stallman is rarely wrong

TheBat ,
@TheBat@lemmy.world avatar

Except when he eats something from his foot.

oce ,
@oce@jlai.lu avatar

We’re just too pedestrian to get it.

TheGrandNagus ,

Or talks about paedophilia…

“The nominee is quoted as saying that if the choice of a sexual partner were protected by the Constitution, ‘prostitution, adultery, necrophilia, bestiality, possession of child pornography, and even incest and pedophilia’ also would be. He is probably mistaken, legally–but that is unfortunate. All of these acts should be legal as long as no one is coerced. They are illegal only because of prejudice and narrowmindedness.”

RMS on June 28th, 2003

"I am skeptical of the claim that voluntarily pedophilia harms children. The arguments that it causes harm seem to be based on cases which aren’t voluntary, which are then stretched by parents who are horrified by the idea that their little baby is maturing. "

RMS on June 5th, 2006

"There is little evidence to justify the widespread assumption that willing participation in pedophilia hurts children.

Granted, children may not dare say no to an older relative, or may not realize they could say no; in that case, even if they do not overtly object, the relationship may still feel imposed to them. That’s not willing participation, it’s imposed participation, a different issue. "

RMS on Jan 4th, 2013

That said, when he’s talking about the potential dangers of proprietary software, he’s usually bang on.

ThisIsAManWhoKnowsHowToGling ,
@ThisIsAManWhoKnowsHowToGling@lemmy.dbzer0.com avatar

Taking RMS’s word as law outside of dev space is like asking Michael Jordan to solve all the geopolitical conflicts in the middle east. Why the fuck would you think he knows anything about that?

Squids ,

…I mean if Michael Jordon went around saying “we should just like, carpet bomb the place and take over” I think people would also be pretty horrified

Klear ,

I went from “he was probably defending pedophiles not acting on it” to “HOLY FUCK” real fast…

Illecors ,
@Illecors@lemmy.cafe avatar

I understand this is not an easy topic, but what is the “HOLY FUCK” bit you’re referring to here?

Klear ,

That I can’t find any sort of charitable explanation or missing context for those quotes. They start utterly awful and only get worse.

froghorse ,

I’ll bet he doesn’t even tie his dick in a knot.

Potatos_are_not_friends , in xkcd #743: Infrastructures

Hot take but PDFs became the primary form of document transfer because Microsoft made .doc, docx, docm, rtf, doc 2003-2020…

All those “It won’t open” just forced everyone to say “Fuck it send me the PDF”

Mic_Check_One_Two ,

Pretty much. PDF was specifically designed to retain the same look across any device. The goal was that if you designed a document to look a certain way, that opening it on another device wouldn’t fuck your entire design. That’s also why editing PDFs is so damned frustrating, because they’re designed to not change. It largely started as a frustration with the “move an image 3 pixels to the left, and now all your text is in the wrong place” issue. But the EEE strategy by Microsoft directly contributed to pdf becoming the de facto way to share documents.

Darkmuch ,

My Dad got frustrated with docs as people saw that as an invitation to edit the document, or cut and paste stuff he would write. So he switched to using PDF whenever other people got involved.

Mic_Check_One_Two ,

Yeah, that’s ironically what Microsoft has been moving towards. Collaborative editing is incredible when used properly. But that also means anyone with edit access can mess up your carefully crafted document. Luckily, things like Comments are becoming more commonplace, so people can suggest edits without actually being able to commit them.

It doesn’t solve the copy/pasting issue, but you can copy/paste from PDFs these days anyways. Realistically, even saving it as an image won’t solve that, since most devices can recognize text in images now.

overzeetop ,
@overzeetop@lemmy.world avatar

Well, that and every time you touch a DOC/DOCX file it reformats itself to your local settings, fucking up the entire layout. PDF is a terrible, inefficient, poorly (or at least variably) implemented format which was proprietary for two decades but is now about the best option we have for a document to look the same at the recipient end as the sender and still include text, vector, bitmapped, semi-interactive, and certifiable/traceable contents.

FrullaPapaya ,

What are more efficiente and better implemented formats for documents sharing?

MonkderZweite ,

Djvu, but it’s toolset is proprietary.

overzeetop ,
@overzeetop@lemmy.world avatar

TIFF, but the constraints are pretty sever and text must be ocr’d.

MajorHavoc ,

Markdown is gaining traction. There’s lots of tools that will edit and display Markdown consistently, and without a dedicated tool, it’s just a very readable text file.

And, most importantly for today, it’s easy to generate a PDF file from, haha.

TAG ,
@TAG@lemmy.world avatar

It produces a very readable text file, but not necessarily the one I meant to send. It is good for capturing text, reasonable at formatting, and has no notion of layout. For example, when I send a resume, I format it so that it is compact (to fit in 2 pages, since some people care about that) yet readable (and skimable).

MajorHavoc ,

Great points.

I generate my resume from Markdown, but I use a special CSS file I created so that the final PDF has the layout I want. Which is not a trick must Markdown editors can do yet.

greenskye ,

I really, really hate that so many people still try to share ebooks as PDFs. Why that was ever a thing makes no sense to me. Yes, I absolutely wish to read a 500 page novel on portrait letter size pages with tiny font that completely ignores my screen size.

oatscoop ,
@oatscoop@midwest.social avatar

I’ve given up on trying to find certain books in sane formats. Thankfully Calibre is really good at converting PDFs to actual ebook formats.

There’s a bit of a learning curve, and sometimes I have to do a little semi-automated cleanup – but it works.

greenskye ,

Really? I must have had a particularly troublesome PDF. It was almost like running it through OCR, generating hundreds of weird typos and formatting errors when I tried to convert with calibre.

oatscoop ,
@oatscoop@midwest.social avatar

The OCR struggles with some PDFs for whatever reasons: font, formatting, etc.

There are 3rd party PDF OCR websites/programs that work better. If I’m having issues I run it through one of those first.

greenskye ,

Any suggestions? Even the good ones had error rates that might not matter for a couple of pages, but when scaled to a 500 page book, even a 1% error rate results in an annoying level of typos.

oatscoop ,
@oatscoop@midwest.social avatar

I use gImageReader + Tesseract, but that probably doesn’t meet your criteria. Unfortunately OCR is very rarely perfect unless the input is perfectly clear and with a “OCR friendly” font/formatting. There are “AI powered” OCR out there, but I can’t speak to how well they work and I don’t know of any free ones.

MonkderZweite , (edited )

I don’t get why it always must look the same. If i look at Markdown or Asciidoc/tor, Restext, you get content and formatting. Pack it in a tar.gz and create a directory structure for pages and media, etc. and it would imho suffice. And i would gladly see document X in my prefered font size and family instead of creators favorite.

I mean, i get it for typesetting etc. But not for common use.

overzeetop ,
@overzeetop@lemmy.world avatar

You don’t want to get an architectural plan, a marketing brochure, a newsletter, a corporate report, a tax form, or any type of legal contract that way.

If you’re just sending text and don’t need formatting, send it as a txt file. If you need formatting preserved - especially for someone who isnt an expert in your field - you want it formatted properly.

MonkderZweite , (edited )

architectural plan, a marketing brochure, a newsletter

I don’t want that in PDF anyway. Give me plans in vector graphics or at least TIFF. Newsletter and co. is up to the RSS reader. Oops.

a corporate report, a tax form, or any type of legal contract that way.

Sure, why not? Is the representation legally important or the content?

If you’re just sending text and don’t need formatting, send it as a txt file. If you need formatting preserved - especially for someone who isnt an expert in your field - you want it formatted properly.

There’s something called Lightweight Markup which preserves formatting but leaves presentation up to the user/default settings.

MajorHavoc ,

Most environments will correctly format a Markdown document without any trouble now if sending it to a co-editor.

If it needs to be tamper resistant, it’s easily converted to PDF.

What’s not especially easy, today, is adding advanced styling (like a watermark) to Markdown, since Markdown itself has no provision for it. I accomplish that through a connected CSS file, but that’s a bit of an advanced move.

overzeetop ,
@overzeetop@lemmy.world avatar

Most environments

See, that’s the issue that PDF serves due to its ubiquity. You say “environments” like my mother can pull up a markdown version of a recipe and print it out. Tons of stuff gets sent to people who have no idea what markdown is or how to open it in an appropriate reader. Windows, for example, doesn’t know how to open a .md file, even if the recipient could figure out why they got a zip file with a bunch of randomly (or specifically) labeled parts. Edge will render a PDF in a default windows installation and Safari will do the same in a default OSX install (IIRC); no zips, no extra files, all neatly packed into one.

It’s usually not ideal for communication between people with experience in whatever field is being discussed. I’d rather get a plan in DWG format if it’s a building design, or in Word if it’s a written document I’ll need to edit or reformat. With the exception of an exclusively-text document like an ebook that I’d like to re-flow to a myriad of devices, PDF is the digital form which is the most universal for anything I would previously have requested in dead tree format.

MajorHavoc ,

Your mother really can open and print a Markdown file now. It has come that far.

But I totally agree with your core point. The gulf between “most environments” and “everywhere” is still a big deal.

That said, for those who hate creating PDF files, I know of a great pure text format that converts very nicely to PDF.

Zron ,

Yes, let’s allow the end user to apply their custom font to their tax documents and employee contracts

Longpork_afficianado ,

Change it back if you don’t like it? If everyone gets to set the fonts locally then everyone gets to use their favourite.

MonkderZweite , (edited )

What i say is, why save something like font family in the document.

What are you all so stiff on legal documents? Depends maybe on your juristiction, but my (swiss) employee contract was e-mailed to me as a scan. I put a scan of my sign in and sent it back, informed my employee and that was fine. Sure, a certificate to sign would be more practical, but we are not there yet.

MajorHavoc ,

Good point. Markdown is easily turned into PDF for that use case.

TAG ,
@TAG@lemmy.world avatar

Markdown is a bit limited (the spec doesn’t cover common extensions like tables of contents, internal links, and explicit page breaks). AsciiDoc is better on that issue.

The only use case I have for being picky about the formatting/layout of a document is my resume. Some people have a threshold for how long a resume is allowed to be (for example 1 additional page per 10 years of experience). Also, I have all of the dates right justified (for easy skimming) but still on the same line as the job title (to save space on the page).

geekworking ,

Yes and No.

They were really designed to show the same output on the screen and printer.

Even if you are using the same word processor software and file format, a document can look vastly different when you send it to someone else who doesn’t have the same screen resolution or the same fonts installed.

PDF started as just a print preview for the postscript printer language. They should have just stopped there instead of trying to make it do all sorts of other shit that can open security holes.

The constant parade of file formats drove popularity, but it was really about being the only popular format to look the same.

MonkderZweite , (edited )

Instead of using .odt.

Maybe with more advertising? Most people don’t know about the Open Document Format and that it’s standardization sent MS to panicky rework their .doc & co. to pseudo-open OOXML (.docx etc.).

adriaan ,

When you save an odt from Word and open it in OpenOffice, the formatting is usually all fucked. At least that used to be the case. A pdf comes out right on the other side.

okamiueru ,

It’s intentionally fucked by MS. It doesn’t matter that this non-MS software actually follows consistent standards. As long as its only the minority, they get away with it looking like it’s the others not being consistent.

MS has a history of doing it. It’s in the company ethos of “embrace, extend and extinguish”. Imagine something as simple as storing the contents of a document being at the behest of a private company. Humanity is all the worse for it.

bufordt ,
@bufordt@sh.itjust.works avatar

DOS isn’t done until Lotus won’t run.

LogarithmicCamel ,

Except for my local printing shop, which couldn’t print my PDF poster for some reason so now they are asking for a PPT. WTF!

themeatbridge ,

There’s someone at your local print shop unqualified to be doing their job.

froghorse ,

My local print shop takes only PDF. I hand them a PNG and they say no.

It’s the second most common format on the planet. WTF

luckybipedal , in xkcd #1597: Git

IME, to use git effectively, and make sense of the man-pages, you have to know a lot of the internals of how git works. I found it helpful to read “Git from the bottom up” when I had to start using it professionally: jwiegley.github.io/git-from-the-bottom-up/

clay_pidgin ,

That looks helpful, thank you.

Shardikprime , in xkcd #1597: Git

Git --gud

Brickhead92 ,

Wrekted 'em!

ArbitraryValue , in xkcd #1597: Git

SVN gang rise up.

whoisearth ,
@whoisearth@lemmy.ca avatar

There’s dozens of us! Dozens!

Woozy ,

SCCS represent!

1050053 , in xkcd #1597: Git

It’s all fun and games until your colleague has to pull a PR branch… using fast-forward.

kameecoding ,

just rebase your fucking PR so I don’t have to deal with it, thank you.

Bilbo , in xkcd #1597: Git

Git is something that is very comfortable to use after a year or two, but when you initially start using it, it is just so easy to mess things up in ways that are unrecoverable. I remember the silly days when I’d back up all my changes first before using git since I would so regularly lose everything through a combination of git commands.

It’s easy for me now, but the initial stages punish mistakes severely. It’s the dark souls of source control, except it’s not really fun. It’s just a very beginner unfriendly tool.

Gxost , in xkcd #1597: Git

A good GUI can solve most problems.

floofloof ,

Is there a really good free Git GUI for Linux? I have tried a bunch of them but all the good ones seem to be closed source and paid.

Muehe ,

Guess it’s a bit subjective what would be considered good, but personally I like gitk. It’s good enough for me at least.

aliceblossom ,

I like SourceTree and it’s free. I don’t use it all the time, but if I’ve made a bunch of changes debugging something and I want to easily discard all of the debugging-only changes, the UI makes it really easy to commit or discard individual lines from the changeset.

Additionally, I set up an alias to open it from the command line (stree) and have it show whatever git directory I opened it from.

floofloof ,

Will it run on Linux? I use Sourcetree on Windows but didn’t think it was available for Linux.

fury ,

Gittyup, a fork of GitAhead, is my favorite.

floofloof ,

Thanks. I’ll check it out.

Magnetar ,

If my colleagues mess something up in their fancy GUIs, they come to me to fix it in the terminal.

Gxost ,

My experience is the opposite. A colleague who uses SourceTree and git console (for use cases not covered by SourceTree) asked me a few times to fix his branches when something went wrong (after using git console). I easily fixed it using SmartGit (paid software).

koorool , in xkcd #1597: Git

I’m using Mercurial for the last 2 years at current company, before that it was 5-7 years of Git on various jobs. It’s so much better if you use it correctly (no long-living or big branches). I forgot what hell Git was sometimes.

floofloof ,

I have used Mercurial at work for years, and Git for side projects. I screw up far less often in Mercurial, and its tools are easy to use. It’s strange how thoroughly Git took over.

shastaxc ,

It’s not that strange. Microsoft owns GitHub.

mamotromico ,

GitHub acquisition was fairly recent compared to how long git seems to be the standard

key ,
@key@lemmy.keychat.org avatar

I miss mercurial so much. Such a better UX.

JoYo ,
@JoYo@lemmy.ml avatar

I used hg until python switched to git.

if python isn’t going to bother them the battle is lost.

IndefiniteBen , in xkcd #1597: Git
@IndefiniteBen@feddit.nl avatar

This is helpful when you get errors: ohshitgit.com

Pilon23 ,

As someone new to using git… Thank you!!

Thorry84 ,

I’ve been using git for 10+ years and still sometimes do this. I know I could fix it, I also pretty much know what to do to fix it. However nuking the thing from orbit and restarting takes like 30 secs, so it’s never worth fixing.

freamon , in xkcd #1597: Git

I literally did this yesterday.

I’ve since found chats with Bing are surprisingly informative.

p1mrx , in xkcd #2812: Solar Panel Placement

Installing a solar panel on the sun is easier said than done. The closest real example is probably the Parker Solar Probe: www.youtube.com/watch?v=pOZhPz92Dic

JohnDClay , in xkcd #2812: Solar Panel Placement
  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • All magazines