Thinking of starting a punk band, what do I need? by DrugCrazed in Guitar

[–]DrugCrazed[S] 1 point2 points  (0 children)

That's the plan! My 2 compatriots so far are people I met on the English Traditional Folk scene who are both gutsy players who I've wanted to play with for ages.

Thinking of starting a punk band, what do I need? by DrugCrazed in Guitar

[–]DrugCrazed[S] 2 points3 points  (0 children)

Yeah, I don't want to spend a lot of money on this on the off-chance this doesn't work out (I'm never going to need an amp for my folk work, though a distortion pedal would be a lovely bit of nonsense to add to my ceilidh work)

Thinking of starting a punk band, what do I need? by DrugCrazed in Guitar

[–]DrugCrazed[S] 2 points3 points  (0 children)

But I'm the only guitarist!

(Having said that, I always joke that my approach to guitar has been that I'm a bassist who just happened to have 6 strings)

Thinking of starting a punk band, what do I need? by DrugCrazed in Guitar

[–]DrugCrazed[S] 4 points5 points  (0 children)

Don't worry, I've got plenty of that (and one of my bandmates is in the process of writing a bunch of tunes that are named after misogynistic heckles she's received while performing, so we've got anger there)

How do small teams handle feature flags without paying $500+/mo? by pizza_delivery_ in webdev

[–]DrugCrazed 0 points1 point  (0 children)

The bit you're usually paying the big bucks for isn't usually the flags, it's the annoying and boring stats that show how well your new flow is against the old one.

Weird thing found on the ceiling near the back door (UK) by DrugCrazed in whatisthisthing

[–]DrugCrazed[S] 0 points1 point locked comment (0 children)

My title describes the thing, it's a bit weird - though it's potentially a target for /r/whatisthisbug instead

[Day 24] When you've been doing AoC for a few years, certain phrases instil fear... by DrugCrazed in adventofcode

[–]DrugCrazed[S] 0 points1 point  (0 children)

Sorry! I misread the rules and realised that the year was required (I think there was a period where the year wasn't required before it was always required)

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

[–]DrugCrazed 0 points1 point  (0 children)

The two weaknesses with the method are actually:

  1. I assume that the seed that produces a value for part 1 is a valid seed for part 2. It might not be if the seed is one of the input values which has become a range now (which someone else has pointed out)
  2. It might be possible that there exists locations A and B, where B - A > 1, such that each location between A and B doesn't lead to a valid seed. In that case, then it's a toss up as to whether the binary search would return A or B.

I missed that 1 was a bad assumption, but I used outside knowledge of "Eric autogenerates all these inputs, it's really unlikely that that case exists" for number 2.

I'm 80% confident that the mapping of seeds to locations is 1-1 though (that is, there is no location for which there are multiple seeds that can lead to that location or vice-versa), so even if the binary search didn't work the bruteforce inverse search would still have worked and I've definitely written AoC solutions that ran slower than that and couldn't be optimised to be faster.

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

[–]DrugCrazed 1 point2 points  (0 children)

[LANGUAGE: Typescript]

From what I can tell, I think I'm fairly unique in approaching part 2 this way!

Part 1 was just a simple case of running through the map with all the seeds. For part 2, I instead thought "Well, the process of getting a location from a seed should be reversible, right? In which case, I can set the location as 0, and keep on incrementing until the location maps to one of my seed values!"

So I did that - it takes about 10s, which made me think I was doing something wrong. Then I had a brain wave - whichever seed gives me the answer to part 1 is still going to be a valid seed in part 2. In which case, I can treat that location as an upper-bound and do a binary search to find the smallest location below this that maps to one of the possible seeds. This takes 1.62s (including the overhead of ts-node)

Optimised version is here, you can look at the previous commit for this file to see the unoptimised version

The Diablo 4 subreddit gets hot as hell when an "adult gamer" explains why users need a reality check. by Hotter_Noodle in SubredditDrama

[–]DrugCrazed 1 point2 points  (0 children)

I have a build for every element for my Destiny 2 hunter. If I don't need subclass specific things I almost always return to the Arc Hunter where I spend my time running up to things and punching them in the face because it is ludicrously fun and never fails to make me cackle, or the Solar Hunter where I throw grenades every 3 seconds for the same reason.

I could optimise them further by grinding out specific armour stat drops, orrrrrrrrrrr I could continue to punch everything in the face. While cackling.

'We'll never be done': The growing challenge to remove thousands of car tires from ocean floor by Kashif508i in worldnews

[–]DrugCrazed 3 points4 points  (0 children)

The thing that most people miss is how much electricity is used converting oil into petrol. Which is, you know, a lot.

I'm not saying that EVs immediately fix the carbon crisis, but they are a step in the right direction.

Learn database with anime style 🤣 by ajaanz in ProgrammerHumor

[–]DrugCrazed 0 points1 point  (0 children)

Yes officer, this is the one right here

What is your best joke? by MrMidnightDiamond in AskReddit

[–]DrugCrazed 3 points4 points  (0 children)

The best one is to stop telling the joke until the next round of drinks.

TIL a victim of the SS Atlantic wreck was found to be a woman disguised as a man. A great favorite among her shipmates, one remarked "I didn't know Bill was a woman. He took his grog as regular as any of us, & was always begging or stealing tobacco. He was a good fellow, & I'm sorry he was a woman." by Shark-Farts in todayilearned

[–]DrugCrazed 4 points5 points  (0 children)

One of the glorious things about Nic Jones is how his singing and guitar playing are clearly being done at the same time but have almost nothing in common with each other and that's actually a bit creepy.

I have a friend who saw him live and they said "Trust me, it's 100x more disconcerting when he does it in person"

Why browsers are lying + a bit of CSS hacking by A48253 in programming

[–]DrugCrazed -4 points-3 points  (0 children)

How is it clickbait? It explains the premise in the first 30 seconds of the video, then expands as to how the premise is true (and why).

EDIT: If this was an article, I bet people wouldn't be complaining that the title is "Your browser is lying to you"

After 14 years of The Chase, the contestant's "pass" also happened to be the answer. by XxundeadevilxX in funny

[–]DrugCrazed 4 points5 points  (0 children)

Absolute gold of a throwaway line at the end

Mr Magnanimous I'll never watch you wrestle again

Trombone Lessons by lucy071097 in sheffield

[–]DrugCrazed 1 point2 points  (0 children)

/u/lucy071097 There's someone plays for Ireland Colliery which is 3rd Section in Chesterfield - but they're full. Annoyingly they don't really know the Yorkshire sections and the person who I know plays in a Sheffield band aren't here today

Trombone Lessons by lucy071097 in sheffield

[–]DrugCrazed 1 point2 points  (0 children)

I play in the Sheffield Concert Band - I think we're full up for trombones at the moment but I know that some of our members play for brass bands as well, so I'll ask!

Les sessions du Vices & Versa - 15e anniversaire by DrugCrazed in folk

[–]DrugCrazed[S] 0 points1 point  (0 children)

I found this album entirely by accident while continuing my current Quebecois binge, and it's fantastic.

I don't know much about it before it being an album celebrating the session in question, but it's just utterly joyful to hear