jtrek

joined 3 months ago
[–] jtrek@startrek.website 3 points 9 hours ago* (last edited 9 hours ago) (1 children)

const countOfT = (word) => word.split('').filter(i => i === 't').length
countOfT('colonialism')
0 

countOfT('this is an example sentence')
2 

There's probably a more elegant way to do it.

[–] jtrek@startrek.website 4 points 10 hours ago (1 children)

Ah that's interesting. I'm too much of a pack rat and the idea of selling some of my music makes me uncomfortable. Though I guess I have some games that were duds I wouldn't mind selling.

[–] jtrek@startrek.website 35 points 11 hours ago (9 children)

buying drm-free digital media is probably also okay, if you back it up yourself.

i don't do any subscriptions, myself.

[–] jtrek@startrek.website 3 points 12 hours ago (3 children)

For counting letters in a word? That's like a one line expression in Python or JavaScript (and other languages). JavaScript console is right there in your browser.

[–] jtrek@startrek.website 6 points 13 hours ago

I don't want to see any more coverage of trump supporters. They are idiots. Humanizing them makes the problem worse. They follow their peer group. The only coverage should be about abandoning trump and conservatism.

[–] jtrek@startrek.website 3 points 22 hours ago

The ATM typically gives $20s, so that's what I usually get.

[–] jtrek@startrek.website 17 points 22 hours ago

Cool. I'm so tired of management huffing their own farts about AI.

[–] jtrek@startrek.website 20 points 22 hours ago* (last edited 22 hours ago)

Conservatives have *always" been the thin skinned ones. "Oh no black people are moving into our neighborhood we better flee and or murder them".

[–] jtrek@startrek.website 5 points 1 day ago (5 children)

There are so many better tools for this kind of thing.

[–] jtrek@startrek.website 16 points 1 day ago

Good. Fuck cars. There's plenty of transit options.

[–] jtrek@startrek.website 3 points 1 day ago

There are many possible solutions to the housing crisis, but many of them upset rich people so executing them is difficult. I meant executing the plan. Executing the rich people is also difficult, and may incidentally improve things.

[–] jtrek@startrek.website 32 points 1 day ago (2 children)

If I was a talented writer I would consider a short story about someone getting onto the medical staff just to murder Zuckerberg.

Maybe some sort of rom-com where two people have done so and they suspect each other of being corporate bootlickers, but in the end they fall in love. And murder Zuckerberg.

view more: next ›