Replies

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

craigabbott, to javascript
@craigabbott@a11y.info avatar

I was today years old and 4 hours down when I learned you cannot deep clone an instance of a class 😩

joelanman,
@joelanman@hachyderm.io avatar
joelanman,
@joelanman@hachyderm.io avatar
joelanman, to random
@joelanman@hachyderm.io avatar

well I was gonna have a look at Droplets in Digital Ocean but the UI just won't load in Chrome or Safari, geez

joelanman,
@joelanman@hachyderm.io avatar

@stormhair If I go to create droplet, part of the screen loads, then I get a spinner and nothing is interactive. Happens for me in Safari and Chrome. Nothing in the console

joelanman,
@joelanman@hachyderm.io avatar

@stormhair no turned them off, might email them

damianogerli, to random
@damianogerli@mastodon.social avatar

Love when publishers refused to spend any money on an actual cover art and went "nah the ad was enough".

joelanman,
@joelanman@hachyderm.io avatar

@damianogerli Reminds me of Big Red Racing, ever play that? A lot of fun

joelanman, to random
@joelanman@hachyderm.io avatar

would be nice if Slack didn't like, break the law. Seems a low bar

joelanman,
@joelanman@hachyderm.io avatar

@djh Falls foul of all sorts of GDPR, clear opt in, ability to remove your personal data on request. This is true of most llm training on personal data

joelanman,
@joelanman@hachyderm.io avatar

@djh Both, you can't even use personal data for another purpose unless you get consent

Quinnypig, to random
@Quinnypig@awscommunity.social avatar

I'm sorry Slack, you're doing fucking WHAT with user DMs, messages, files, etc? I'm positive I'm not reading this correctly.

joelanman,
@joelanman@hachyderm.io avatar

@Quinnypig alt: **Contact us to opt out. **If you want to exclude your Customer Data from Slack global models, you can opt out. To opt out, please have your org, workspace owners or primary owner contact our Customer Experience team at feedback@slack.com with your workspace/org URL and the subject line ‘Slack global model opt-out request’. We will process your request and respond once the opt-out has been completed.

joelanman, to random
@joelanman@hachyderm.io avatar

Ha ha pretty proud of this one

Framed
🎥 🟩 ⬛ ⬛ ⬛ ⬛ ⬛
https://framed.wtf

joelanman,
@joelanman@hachyderm.io avatar

@cwilcox808 ha, how did my message help?

joelanman, to CSS
@joelanman@hachyderm.io avatar

Is setting up a CSS grid, then having row divs with display: contents so its contents line up with grid a common pattern? Any pitfalls?

joelanman,
@joelanman@hachyderm.io avatar

@urlyman @eric good to know!

joelanman, to programming
@joelanman@hachyderm.io avatar

missing from native Node - write a file and create any necessary folders in the path

fs.writeFileSync('a/b/c.txt','hello', {recursive:true})  

joelanman,
@joelanman@hachyderm.io avatar

@jscholes not sure, but it's such a common need I find. Python has this apparently:

from pathlib import Path

Path("my/path/to/create").mkdir(parents=True, exist_ok=True)  

Also, how do you do that in Node? So that it doesn't complain if it already exists?

joelanman,
@joelanman@hachyderm.io avatar
joelanman,
@joelanman@hachyderm.io avatar

@jscholes yup, but Node's errors if it exists, so you have to wrap it in a path check - thats what I meant by complaining

joelanman,
@joelanman@hachyderm.io avatar

@jscholes ah you're right! I was sure it threw an error but recursive: true doesnt, thanks!

joelanman,
@joelanman@hachyderm.io avatar

you can do this, thanks @jscholes

const filepath = 'a/b'  
fs.mkdirSync(filepath, { recursive: true })  
fs.writeFileSync(filepath + '/c.txt', 'hello')  
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • DreamBathrooms
  • tester
  • InstantRegret
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • megavids
  • provamag3
  • lostlight
  • All magazines