[-] nick@campfyre.nickwebster.dev 23 points 8 months ago* (last edited 8 months ago)

Hi, I've been doing TypeScript in my day-job and hobbies for six and a bit years now. I would not write JS in any other way.

TS is also a superset of JS so all JS is valid (unless you turn on strict mode). So there is no productivity loss/learning curve unless you want there to be.

In fact, a lot of people who think they're not using typescript are using it because their editors use typescript definitions for autocomplete and JSDoc type signatures are powered by typescript.

754
Computer components cheat sheet (campfyre.nickwebster.dev)
310
Rule says "believe in yourself" (campfyre.nickwebster.dev)
17
This rule is about me, I am dumb (campfyre.nickwebster.dev)
157
[-] nick@campfyre.nickwebster.dev 58 points 1 year ago

I'm not sure that's really true. The only thing they've pointed at is that prosecutor being fired in Ukraine, but that was because the prosecutor was corrupt and people all over the world were calling for it. Also the prosecutor was notably corrupt by not investigating the company Hunter was working for (so Joe getting them fired actually went against his son's interests)

[-] nick@campfyre.nickwebster.dev 26 points 1 year ago

I don't think there's any malice here. Someone just forgot to put up a robots.txt on the bard website.

[-] nick@campfyre.nickwebster.dev 25 points 1 year ago

Wow another coup in francophone Africa. I wonder if the regional democratic powers not intervening in Niger encouraged this.

169
Cabin (geodome) in the woods (campfyre.nickwebster.dev)

cross-posted from: https://campfyre.nickwebster.dev/post/107235

Stayed in here for a couple nights last year:

123
8
Query to fix modlog (campfyre.nickwebster.dev)

The modlog page can break if anyone has been banned with an expiry too far into the future, I grabbed this query to fix it from the github issue a while back and refined it a little if it's useful to anyone:

BEGIN;
-- The modlog UI breaks for bans too far in the future
SELECT * FROM mod_ban WHERE expires > now() + INTERVAL '10 years';
-- Lets just make them permanent as an easy fix lol
UPDATE mod_ban SET expires = NULL WHERE expires > now() + INTERVAL '10 years';
-- See our changes
SELECT * FROM mod_ban WHERE expires > now() + INTERVAL '10 years';
ROLLBACK;
-- replace ROLBACK; with COMMIT; if you're happy

This will make any ban with an expiry >10 years into the future permanent and fix your modlog. If this happens a lot it might be worth making this a trigger in your lemmy db.

31
submitted 1 year ago* (last edited 1 year ago) by nick@campfyre.nickwebster.dev to c/newcommunities@lemmy.world

Links

/c/truestl@campfyre.nickwebster.dev
!truestl@campfyre.nickwebster.dev
https://campfyre.nickwebster.dev/c/truestl

About

(not officially affiliated with /r/TrueSTL)

Do you often find yourself wondering about the true nature of Ogrim nipple-piercings? Does the mythology of Space Pirate Captain Harlock make your head spin? Do you want to learn more about the metaphysics of Sword Art Online, your favorite Cambodian Silent Film? Do you find your questions, concerns, and philosophical quandaries unaddressed by Final Fantasy: Online?

Worry not. !TrueSTL@campfyre.nickwebster.dev is a place that encourages discussion on any and all facets of CHIM, Dragon Breaks and the Hist, the greater bodies of Elder Scrolls fiction, without judgement or prejudice.

Here at !TrueSTL@campfyre.nickwebster.dev, every Muatra is big enough to achieve CHIM.

1
RULE RIGHT THERE. CRIMINAL SCUM! (campfyre.nickwebster.dev)
[-] nick@campfyre.nickwebster.dev 25 points 1 year ago

Grounding cables do not exist in The Federation

349
Putin suddenly sees this message (campfyre.nickwebster.dev)
203
Putin suddenly sees this message (campfyre.nickwebster.dev)
1
rule is so me frfr (campfyre.nickwebster.dev)
[-] nick@campfyre.nickwebster.dev 19 points 1 year ago

I feel like shitty sites getting too good at SEO has largely made google useless. That's why you had to append "Reddit" to get any useful info that wasn't from some SEO scamsite.

[-] nick@campfyre.nickwebster.dev 27 points 1 year ago* (last edited 1 year ago)

lemmy.world is down right now and your app is showing the raw HTML that is being returned (a CloudFlare 502 page)

[-] nick@campfyre.nickwebster.dev 35 points 1 year ago

Honestly that cake looks really tasty

[-] nick@campfyre.nickwebster.dev 19 points 1 year ago

Circles were a good idea

[-] nick@campfyre.nickwebster.dev 23 points 1 year ago

It was named Reddit Sync before Reddit forced apps to rename a few years back for trade mark reasons.

Sync was named for a feature it had where you could sync posts to your device for offline use. It was super useful as recently as a few months ago when I wanted to mindlessly scroll on a plane.

[-] nick@campfyre.nickwebster.dev 24 points 1 year ago

Whatever you do, I'd recommend using Typescript to give you some type safety with your JS.

[-] nick@campfyre.nickwebster.dev 25 points 1 year ago

The software is a little clunky but this is everything I dreamed of when I got half way through making a peer-to-peer reddit clone in 2015 and gave up lol

view more: next ›

nick

joined 1 year ago