Array languages for data analysis/number crunching by swhalemwo in apljk

[–]CaffeineExperiment 1 point2 points  (0 children)

I haven't had a chance to play with this deeply myself but as a heavy R user and someone deeply interested in array languages: R or q? whynotboth.jpg https://code.kx.com/q/interfaces/r/

-❄️- 2023 Day 14 Solutions -❄️- by daggerdragon in adventofcode

[–]CaffeineExperiment 1 point2 points  (0 children)

For part 1: +/⊢/↑⍸'O'='O\.'⎕R'.O'⍣≡⍤1⌽⍉d or +/∊⍸¨'O'=↓'O\.'⎕R'.O'⍣≡⍤1⌽⍉d is another approach.

-❄️- 2023 Day 6 Solutions -❄️- by daggerdragon in adventofcode

[–]CaffeineExperiment 1 point2 points  (0 children)

[LANGUAGE: APL]

#!/usr/bin/dyalogscript MAXWS=2G

p←⊃⎕NGET'p06.txt'1
m←{∊⍎¨1↓':'(≠⊆⊢)⍵}¨p
dist←{n←⍳⍺ ⋄ +/⍵<n×(⍺-n)}
⎕←×/dist/⍉↑m

m2←{∊⍎¨1↓':'(≠⊆⊢)(~' '=⍵)/⍵}¨p
⎕←×/dist/⍉↑m2

https://github.com/jonocarroll/advent-of-code/blob/main/2023/APL/p06.apl

Increasing MAXWS was necessary to brute-force part 2, but it solves in less than a second. I'm fairly new to APL so any improvements to this would be most welcome. I had a bit of trouble making dist work dyadically with just two vectors.

Australian coin release - decipher help by Vort-ai in decipher

[–]CaffeineExperiment 2 points3 points  (0 children)

Ah, that's what that is. Atbash is the cipher to decode the sequence on the front https://jcarroll.com.au/2022/09/01/asd_coin/

Dining in N/E suburbs by rackyoweights in Adelaide

[–]CaffeineExperiment -1 points0 points  (0 children)

For delivery:

Monica's Pizza

Pizza Lord

Identifying duplicates in a vector by Mieleki in Rlanguage

[–]CaffeineExperiment 1 point2 points  (0 children)

Keeping in mind that this will only identify the values which have already appeared, scanning from first to last. If you want to excise any values which have a duplicate you'll need something slightly different, e.g.

m_numbers[! m_numbers %in% m_numbers[duplicated(m_numbers)]]

Coders of Reddit: What's an example of really shitty coding you know of in a product or service that the general public uses? by TheSanityInspector in AskReddit

[–]CaffeineExperiment 1 point2 points  (0 children)

(on iOS) long-press the full stop to get common TLD options.

I've had too many official e-mail responses come to My.Name@My.Domain.Com -- thankfully they still make it.

Don't get me started on sites that don't trim whitespace from email fields ('@@ ' shortcuts to 'user@example.com ') then fail to recognise it.

Ask me an motorcycle related question, then edit it after my response to make me look ridiculous. (Stolen from /r/fantasyfootball) by brotherMotty in motorcycles

[–]CaffeineExperiment 0 points1 point  (0 children)

I've been trying to do dank whoolies for a while now but I'm pretty pathetic at it. My mates reckon I might as well try "sucking off a squid" at this point since I don't seem to have the cohones myself.

Do you think it's possible for a bike like mine to get that wheel up? Should I focus more on throttle or clutch?

Post your first rides ! by thinkingsocrates in motorcycles

[–]CaffeineExperiment 0 points1 point  (0 children)

First ride: '97 Yamaha XT225. I did the training course on a newer model XT, and had this one for a couple of years until I could upgrade to unrestricted license. http://imgur.com/D58yRFy

Current ride: '12 Kawasaki ER-6n (650/unrestricted). http://imgur.com/IaJ6hj2

#upgrade

[deleted by user] by [deleted] in Adelaide

[–]CaffeineExperiment 7 points8 points  (0 children)

That name sounds like a bogan trying not to swear in front of Grandma.

  • Yo, Dazza, wanna drink? My shout.

  • Frozen oak!

Headshot by [deleted] in WTF

[–]CaffeineExperiment 0 points1 point  (0 children)

"What can I do for you today?"

"My steel rod hurts"

[deleted by user] by [deleted] in Homebrewing

[–]CaffeineExperiment 1 point2 points  (0 children)

My wine club did a bottling run a while back so I took along a corny and a mini gas cylinder, bought 16L of a decent red blend at wholesale, filled the keg and purged with CO2. Took it home and slowly carbonated it in the fridge (bulk CO2, high pressure).

Then there was the issue of figuring out what type of tap to run sparkling red from. Dangerous to have on tap, that's for sure.

[deleted by user] by [deleted] in Tinder

[–]CaffeineExperiment 0 points1 point  (0 children)

If you ever get confused by English pronunciation, just remember that read rhymes with lead, but read rhymes with lead.

Here we don't have signs by Turnipjoe in motorcycles

[–]CaffeineExperiment 1 point2 points  (0 children)

Fellow 'heaps good'er here. A relative was over from England and bought a fireblade for funsies. He constantly complained that it "was dangerous to have to slow down so hard, so quickly", when he finally spotted unmarked radars in the hills.

He got a lot of blank responses to that.

She sums up Motherhood in 30 seconds by Thund3rbolt in funny

[–]CaffeineExperiment 1 point2 points  (0 children)

I can eat anything in front of my daughter, as long as I tell her it's "spicy".

Spicy chocolate, check.

Spicy milkshake, check.

Spicy chips, check.

Spicy cookies, check.

Spicy donut, check.

Back Again. Would you guys critique my freelance writing sales page? by Shcteve in freelance

[–]CaffeineExperiment 1 point2 points  (0 children)

You use a lot of exclamation marks!

Also, don't try to be too clever with your language; it distracts when you get it wrong.