There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

aard , in After 6 hours
@aard@kyu.de avatar

I recently spent about two weeks trying to figure out why an intercontinental connection between two of our sites was broken. Not really my job, I just care about application level, but the network guys were beyond useless.

In the end I had the problem isolated to a specific network segment in India, which made them look at the right system and fix things. The reason? “We put up a firewall the day your problems started which blocks everything, if we allow your connection it works”.

jscummy ,

“If we allow your connection, it works”

Oh, surprising

evatronic , in After 6 hours

The one I hate? Your unit tests pass when run locally, and in your sandbox environment, and in dev, and in UAT, but prod? Fuck that, failing with reckless abandon.

koper ,

Unit tests or integration tests?

philm ,

Yes

SomeKindaName ,

Are you kidding me? Tests in prod? Hopefully that means you didn’t fully roll out. That means someone didn’t get a 3am page.

This sounds like a god-damned resounding success.

Eonandahalf , in Imagine

OMFG!! Don’t give them ideas!

kambusha , in After 6 hours

Working at a company with no automated tests. There’s not even a collection of regression tests or anything to follow. I was wondering if anyone could share or point me towards a good template to start building out test cases as a first step?

big_slap ,

I think this is something you’re gonna have to just jump into and start since you don’t have anything to work off of. it’s going to take a lot of work, but at least you’ll be able to work off your own ATFs once you finish. good luck…

Rentlar ,

I mean, start with trivial cases of the core functionality of what your system does. Then build upon it based on your own findings and what your clients report.

E.g. if your system loads images then put in a tiny 5x5px solid square or checkerboard pattern and see if it loads. Then try putting multiple images, different formats (webp, gif, png, tga) etc. see if that breaks anything, keep building out.

qwop ,

It probably really depends on the project, though I’d probably try and start with the tests that are easiest/nicest to write and those which will be most useful. Look for complex logic that is also quite self-contained.

That will probably help to convince others of the value of tests if they aren’t onboard already.

occams_chainsaw ,

if there are zero automated tests, things probably weren’t written with (automated) testing in mind, so there may be a lot of coupling… starting off with integration tests just to validate existing behavior is a good start. hopefully the existing applications aren’t also inextricably bound to environments that are run on pet servers and managed by other teams…

kambusha ,

Thankfully, the team has full control without external team dependencies

rony4102 , in Imagine
@rony4102@programming.dev avatar

You better delete this, fuck you!

triplenadir , in Imagine
@triplenadir@lemmygrad.ml avatar

the developers of composer are way ahead of you, every time I run composer install I get a blue and yellow “stand with ukraine”…

pleasemakesense ,
@pleasemakesense@lemmy.world avatar

dont really know if that counts as an ad

steltek ,

If that counts then Vim is definitely ad-ware (soliciting ICCF donations).

RIP Bram. You’ll be missed :(.

halvar , in Imagine

This is the beuty of FOSS. I can add them myself, whenever I want to.

dudinax , in After 6 hours

I’m in this meme right now.

I just made a tiny change that somehow broke a major feature in testing. The disbelief is real.

InFerNo ,

Rollback, tests still fail.

Flip a table.

bobotron , in After 6 hours

Ahhh my favorite way to fix a broken test: just remove it!

PoolloverNathan ,

Mark it as intended-to-fail, that way if someone fixes your bug it’s their test failure.

WorldieBoi , in Markdown everywhere

Code? .md files on GitHub

bananaw ,

I’ve been having trouble getting syntax highlighting to work on my ‘```’ fenced code blocks. I give it the right/supported language identifier, but nothing changes.

I’m using neovim with a bunch of lsp plugins and treesitter. Anyone have dotfiles with markdown code syntax highlighting working?

naught ,

Are u using Mason and LSPconfig?

edit: Oh, I don’t know that getting syntax highlighting in the blocks is something i’ve seen

ocelot ,

Have you installed the treeesitter grammars for those languages with :TSInstall language_name or in your treesitter config?

Slotos ,

This is pretty much all that’s needed. The language in the block is identified via a name that follows the opening triple backtick. E.g.:

python some carefully indented code

Haus ,
@Haus@kbin.social avatar

I'd go PostScript, since it's Turing-complete.

poVoq , in Markdown everywhere
@poVoq@slrpnk.net avatar

Wait until you learn about Org-mode.

keegomatic ,
@keegomatic@kbin.social avatar

I’m vaguely aware of Org-mode but only as an alternative to Markdown. Last time I looked into it, though (years ago), Markdown seemed like a much better option for me for various reasons. Do you have a good argument for why Org-mode is a better choice for common use cases than the relatively universal GitHub-flavored Markdown?

poVoq ,
@poVoq@slrpnk.net avatar

Much better ToDo list system with calendar integration and notifications via mobile apps.

lupec ,

Do you happen to have more info on mobile integration? I can only find one or two apps which claim to support org-mode notes at all, so I’m interested. Kinda assumed it wasn’t much of a thing, honestly.

poVoq ,
@poVoq@slrpnk.net avatar
benneti ,

depending on what you do there are large benefits, for me they are executable code blocks (i.e. jupyter like experience) and way better latex support (if you type equations that are more involved this is rather important).

Chobbes ,

Org mode is great, particularly if you’re already in the Emacs ecosystem because it can do a lot of stuff. Calendars, executable code blocks, spreadsheets, time tracking, org-roam for more ad-hoc notes and searching, capture templates for ingesting data…

I like org mode’s markup format a lot better than markdown’s. It’s a bit easier to do complicated things with escaping and stuff, and it supports syntax highlighting for different languages in code blocks, and LaTeX markup and stuff (which it can even display inline if you want).

As far as I am concerned the only reason to use markdown is that more people are familiar with it and there’s better support for it on certain platforms. These are certainly good enough reasons to use markdown, but in my experience if you’re in the position to use org-mode it’s just so much better.

Semi-Hemi-Demigod , in Markdown everywhere
@Semi-Hemi-Demigod@kbin.social avatar

Whoever made Jira's markup syntax: Straight to jail.

mp3 ,
@mp3@lemmy.ca avatar

Same for Google Chat

TrustingZebra ,

The thing I dislike most about Atlassian products is that each of them has a completely different formatting engine and markup syntax. You’d think they’d be consistent but noooo

Semi-Hemi-Demigod ,
@Semi-Hemi-Demigod@kbin.social avatar

Thankfully these days I spend most of my time in Confluence, which supports Markdown

TrustingZebra ,

Both Bitbucket and Confluence partially support Markdown, but they implement it in different ways, which is maddening.

CountVon ,
@CountVon@sh.itjust.works avatar

Atlassian doesn’t even have consistency within single products! I’m using Jira Cloud at work, and while most fields support markdown (e.g. three backticks to start a code block) there are a few that only support Jira’s own notation (e.g. {code} to start a code block). It’s always infuriating when I type some markdown in one of the fields that doesn’t support it for some inexplicable reason.

Potatos_are_not_friends ,

In Confluence… the same emojis look different on page title on the sidebar vs the body. Two different font families.

It’s incredible.

sznio ,

Try to do any formatting more complex than none at all in Confluence. It just gets polluted with invisible markup and changes styling randomly.

SittingWave ,

The thing I dislike about Atlassian is everything from Atlassian

gravitas_deficiency ,

Jira Developers: for the love of god can we PLEASE stop trying to shoehorn literally fucking everything into our platform?

Jira PMs: slaps roof this bad boy can fit so much scope creep

brlemworld ,

Whoever made Jira~~'s markup syntax~~: Straight to jail.

pomodoro_longbreak , in After 6 hours
@pomodoro_longbreak@sh.itjust.works avatar

Oof I am here right now, which is why I’m procrastinating on socials…

jdeath , in Markdown everywhere

this is the way

massive_bereavement , in Markdown everywhere
@massive_bereavement@kbin.social avatar

Discovering obsidian has been a blessing for my sanity and made me less lazy for taking notes.

Plus I can use latex to transform md into docx and there's decent pdf support so I don't need to play with the circus of WYSIWYG pain that's MS Word.

TrustingZebra ,

I keep meaning to check out Obsidian, but I’m like you said, lazy.

arandomthought ,

Hi. This is your push to do it.
Download it and start a video tutorial of your choosing.
It’s great! Do it!

TrustingZebra ,

Lol thanks, I appreciate the push. I have more important things to be pushed towards though, such as work and personal tasks.

massive_bereavement ,
@massive_bereavement@kbin.social avatar

Be lazier! I believe in you.

FlexibleToast ,

I have obsidian installed, but I haven’t really looked into how to use it. It has been on my list of things I should probably learn for a long time now

Nioxic ,

I am probably just an idiot but i find writing proper notes with links etc very tedious, in obsidian.

So i end uo just typing everything into a few documents based on the doc title. Which means i might as well just use notepad

FlexibleToast ,

I was using MarkText and a fairly structured set of directories. I switched to Bookstack which allows me to do essentially the same thing but with a web interface and the ability to share with even using RBAC. It doesn’t do the cool linking stuff though.

beppi ,

Sounds like you need to check out Org-roam (if you use emacs) or some other zettelkasten style note taking software

SkinnyTimmy ,

Randomly seeing German compound-words in the wild being used as a technical term is always funny to me for some reason

IlIllIIIllIlIlIIlI ,

Change Obsidian to Zettlr.

massive_bereavement ,
@massive_bereavement@kbin.social avatar

I think the use cases are different, as Zettlr seems like a pure publication tool but Obsidian (at least originally) was more of a personal note organizer that grew due to having community plugins.

I do agree though that Zettlr is a better publication tool, though I wouldn't change Obsidian for it as a personal organizer/kb.

drislands ,

Obsidian is what I used to keep my notes while playing Book of Hours. It was a fantastic tool and I’ll definitely use it in the future!

massive_bereavement ,
@massive_bereavement@kbin.social avatar

How's the Book of Hours? I played a good deal of Cultist Simulator, but it tends to suck me in and I recover few hours later without an understanding what just happened.

drislands ,

I finished my playthrough a couple days ago, after 80 hours. It’s much more forgiving than CS – there’s no lose condition, as far as I can tell. There’s also a shitload more to keep track of, hence me using Obsidian. I personally found the experience of tracking [what books give what resource] and [what resources make what crafting recipes] to be extremely satisfying, but your mileage may vary.

cyberic ,
@cyberic@discuss.tchncs.de avatar

Pandoc is also great!

massive_bereavement ,
@massive_bereavement@kbin.social avatar

Definitely, I said latex but I wanted to mean Pandoc.
The only thing is that applying a docx theme format to Pandoc was very challenging, although I would blame docx, not pandoc.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines