Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
xtal
Jan 9, 2011

by Fluffdaddy
That's a perfectly fine option, you can also use GitLab or GitHub options

Adbot
ADBOT LOVES YOU

Achmed Jones
Oct 16, 2004



i use jekyll and github pages and it's fine-ish

piratepilates
Mar 28, 2004

So I will learn to live with it. Because I can live with it. I can live with it.



animist posted:

oh, lmao


unrelated: does anybody have opinions on open-source blog engines for posting my terrible programming opinions? rn i'm thinking of using neocities and some sorta static site generator but i don't really know what i'm doing

I started one like 6 years ago with jekyll and hosted on github pages that I keep meaning to update and never do.

I've been meaning to look in to maybe switching to gatsby instead, maybe I'll get to that in the next few decades.

Sagacity
May 2, 2003
Hopefully my epitaph will be funnier than my custom title.
90% of tech bloggers blog about how they've migrated their blog to a new stack and promise they'll really post more content in the near future

DaTroof
Nov 16, 2000

CC LIMERICK CONTEST GRAND CHAMPION
There once was a poster named Troof
Who was getting quite long in the toof

Shinku ABOOKEN posted:

what is so extreme about systemd? every service that systemd provides you have to do anyways so you might as well integrate it in your service manager and get it over with. the argument about it being single point of failure is something I don't buy since for such a critical component you better have a single point of failure and focus your attention there instead of a billion points of failure.

yeah, kinda true


MrMoo posted:

Usually with Systemd cruft doesn’t stay around too long.

lol

raminasi
Jan 25, 2005

a last drink with no ice

Doom Mathematic posted:

More to the point, if you type .Find instead of .find then on executing the code you should just get an exception saying "Hey, .Find isn't a function" and showing you the line of code with the typo. That shouldn't take an hour to debug, so I'm curious whether something else is going on here.

i was wondering whether to elaborate on this. the reason it took so long was that under some other conditions - that i still don't know whether are legitimate - the array is null, and i was confusing javascript's undefined member exception with its null reference exception, because i'm not even conversational with the standard language errors. that is, i thought that my logic for skipping the whole section when the array was null was wrong, and that's what i spend my time trying to "fix."

someone with experience definitely wouldn't have taken so long to figure it out, but i think i was particularly off-balance because in the world i come from, "you typed a member name wrong" and "you tried to invoke a method with a null receiver" are completely different kinds of errors.

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

Sagacity posted:

90% of tech bloggers blog about how they've migrated their blog to a new stack and promise they'll really post more content in the near future

yeah I was gonna say, the correct answer is to make your new artisanal blog engine the subject of your second (and penultimate) post. be sure to mention whatever faddish tech you used so you can curse at yourself as you fail to remember what you learned on that weekend three years ago

it'll be a fun lil project though!

Xarn
Jun 26, 2015
I use ghost.

It's mediocre, but works, so idgaf. I find that the online editor + preview makes it easier for me to write than doing a bunch of generated static pages.

Xarn
Jun 26, 2015

Sagacity posted:

90% of tech bloggers blog about how they've migrated their blog to a new stack and promise they'll really post more content in the near future

This is why I use something someone else wrote even if I have to fight sometimes.

Soricidus
Oct 20, 2010
freedom-hating statist shill
i don’t even have a blog :smug:

NihilCredo
Jun 6, 2011

iram omni possibili modo preme:
plus una illa te diffamabit, quam multæ virtutes commendabunt

Xarn posted:

I use ghost.

It's mediocre, but works, so idgaf. I find that the online editor + preview makes it easier for me to write than doing a bunch of generated static pages.

Lack of either a fully responsive UI or an Android app is a major bother with Ghost. How are you gonna type your magnum opus on the toilet?

Twerk from Home
Jan 17, 2009

This avatar brought to you by the 'save our dead gay forums' foundation.
69% of websites use wordpress

xtal
Jan 9, 2011

by Fluffdaddy

Twerk from Home posted:

69% of websites use wordpress

The bad 69%. The not nice 69%

toiletbrush
May 17, 2010
nooo the Optional<T> type in Swift thread got closed, nooo

(ps it was absolutely not me who started it, but it was interesting having another perspective)

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.
strong poe's law energy in that thread

Phobeste
Apr 9, 2006

never, like, count out Touchdown Tom, man
post a link?

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.
oh yeah sorry

https://forums.swift.org/t/optionals-cause-more-problems-than-they-solve/39221

my homie dhall
Dec 9, 2010

honey, oh please, it's just a machine

to me this sounds like “waaah I have to define the schemas being used to communicate between my services as a professional software developer”

CRIP EATIN BREAD
Jun 24, 2002

Hey stop worrying bout my acting bitch, and worry about your WACK ass music. In the mean time... Eat a hot bowl of Dicks! Ice T



Soiled Meat
yeah that person just screams web "developer"

they sound like a loving moron

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.
idk why they're using swift. they don't seem to get much out of it

having trouble copy pasting from other languages is a new one though. that was the poe's law moment for me

SAVE-LISP-AND-DIE
Nov 4, 2010
The Swift-fans are using "a?.b?.c?.d?.e()" as an example of why the Maybe type is good, so I don't think either side is looking good here

toiletbrush
May 17, 2010

SAVE-LISP-AND-DIE posted:

The Swift-fans are using "a?.b?.c?.d?.e()" as an example of why the Maybe type is good, so I don't think either side is looking good here
I don’t think anyone said doing that exact thing was actually good, though? Just that if you had to access a deeply nested property where it was optionals the whole way down, that’s the tersest way to do it.

Xik
Mar 10, 2011

Dinosaur Gum

SAVE-LISP-AND-DIE posted:

The Swift-fans are using "a?.b?.c?.d?.e()" as an example of why the Maybe type is good, so I don't think either side is looking good here

lol at going 5 deep but c# has null conditional operators and it's real good poo poo.

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

haskell has do notation and it’s good for that

No Pants
Dec 10, 2000

Xik posted:

lol at going 5 deep but c# has null conditional operators and it's real good poo poo.

yeah, also the new nullable scopes force you to explicitly declare anything that can be null which is nice but in practice not quite as nice as having first-class optional/maybe types

Powerful Two-Hander
Mar 9, 2004

Mods please change my name to "Tooter Skeleton" TIA.


Xik posted:

lol at going 5 deep but c# has null conditional operators and it's real good poo poo.

this is v. useful if I remember it exists but also what the:


quote:

The null-conditional member access operator ?. is also known as the Elvis operator.

ynohtna
Feb 16, 2007

backwoods compatible
Illegal Hen
"Too much mental load!" scream the neophyte 21st century coders. Beyond the stars, BASIC twitches under its blanket of bugs.

NihilCredo
Jun 6, 2011

iram omni possibili modo preme:
plus una illa te diffamabit, quam multæ virtutes commendabunt

Powerful Two-Hander posted:

this is v. useful if I remember it exists but also what the:

if you squint hard and are a mega boomer it kinda looks like a hair curl just over a man's eyes, like elvis and superman wore.

also never use the null coalesce operator on something that isn't supposed to be null. great way to sweep bugs under the carpet.

redleader
Aug 18, 2005

Engage according to operational parameters

No Pants posted:

yeah, also the new nullable scopes force you to explicitly declare anything that can be null which is nice but in practice not quite as nice as having first-class optional/maybe types

i'd class the c# nullable reference stuff as 'better than nothing'. i'm disappointed they're not introducing Optional<T> and Result<T, TErr> types into the std lib tbh

leper khan
Dec 28, 2010
Honest to god thinks Half Life 2 is a bad game. But at least he likes Monster Hunter.

Powerful Two-Hander posted:

this is v. useful if I remember it exists but also what the:

The question mark makes the hair.

If you want a horror, the Elvis operator is a direct null compare, so anything that overloads null comparison (e.g. Unity3d's monobehaviour null compare) will produce incorrect results relative to
code:

foo != null ? foo.bar()

CPColin
Sep 9, 2003

Big ol' smile.
The Elvis operator is ?: not ?.

Gaukler
Oct 9, 2012


CPColin posted:

The Elvis operator is ?: not ?.

It’s the Elvis-after-a-fork-incident operator

raminasi
Jan 25, 2005

a last drink with no ice

redleader posted:

i'd class the c# nullable reference stuff as 'better than nothing'. i'm disappointed they're not introducing Optional<T> and Result<T, TErr> types into the std lib tbh

i think it was a great compromise with years of old code. and f# has both of those things so maybe c# will get them in a few versions :v:

NihilCredo
Jun 6, 2011

iram omni possibili modo preme:
plus una illa te diffamabit, quam multæ virtutes commendabunt

raminasi posted:

i think it was a great compromise with years of old code. and f# has both of those things so maybe c# will get them in a few versions :v:

LanguageExt is the de facto implementation of functional-style data structures in C#, for the weenies who can't move to F#.

It would be nice if it got some nod from MS so it could see more wide adoption - kinda like how JSON.NET was a virtually universal .NET JSON library for years, and even MS referenced it in its frameworks (they've only started using an in-house replacement like last year).

Soricidus
Oct 20, 2010
freedom-hating statist shill

redleader posted:

i'd class the c# nullable reference stuff as 'better than nothing'. i'm disappointed they're not introducing Optional<T> and Result<T, TErr> types into the std lib tbh

better to leave them out than to gently caress then up like java did

brap
Aug 23, 2004

Grimey Drawer
does c# really need more ways of doing the same thing

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

brap posted:

does c# really need more ways of doing the same thing

i vote yes. also bring in xml literals imo

Chalks
Sep 30, 2009

looks like https://cdnjs.cloudflare.com/ has a broken certificate

rip web developers

Plorkyeran
Mar 21, 2007

To Escape The Shackles Of The Old Forums, We Must Reject The Tribal Negativity He Endorsed

Sapozhnik posted:

I prefer async/await





who needs useful stack traces anyway

there's no inherent reason why async/await can't give useful stack traces. i don't know if it doesn't in js because the spec is poo poo and accidentally made it impossible or if v8 just doesn't give a gently caress. probably both.

Adbot
ADBOT LOVES YOU

akadajet
Sep 14, 2003

Chalks posted:

looks like https://cdnjs.cloudflare.com/ has a broken certificate

rip web developers

lol if you use 3rd party hosting for dependencies

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply