What’s this mute?
▲ 8 r/brass

What’s this mute?

Looks alike to a cup… but there’s a cup right behind it.
One of the trumpets had a smaller one of these, too.

u/Fun_Moose_5307 — 22 hours ago
▲ 245 r/webdev

Server-side persistency: What's stopping me just writing to a JSON file in the same directory as everything else?

This question is probably a bit of a groan for any of you with a bit of experience.

Unfortunately I come from an r/iOSProgramming background, where (put simply) we all sit at nice clean window desks with cups of tea and a neat file structure with only one programming language, at the best of times.
Poking your head into web development is pretty intimidating!

So forgive the basic question from someone who barely knows anything beyond 'file://'.

Having done my research, there just seem to be endless different server-side storage methods, using a good three or four files just to store whether someone prefers chocolate or vanilla ice cream, whatever, for example. (That's not what I'm doing, just to be clear.)

Is it always this complicated?!

And yes, I've gone on a bit of a ramble. Really the only thing you need to know is that I'm an absolute web dev noob and that the question is really just the title.

reddit.com
u/Fun_Moose_5307 — 3 days ago

Is a piccolo trumpet worth it?

I’ve often played with the idea of a piccolo trumpet—who doesn’t want every note they play to come out an octave higher? Piccolo trumpet, weapon of mass destruction, I’m all for it.
Now if I were to buy a High Bb/A trumpet from my favourite bright blue case people would be about AU$7500, which is too much for me to pay for something just for fun.

Naturally, it was only a matter of time before I actually put in the effort and figured out I can just rent one for a much more reasonable price.

However, I want to check first. I have of course heard that piccolo trumpet is very difficult. I’m a a fairly decent novice with a top range of 2nd-ledger C on a good day.
Am I going to have fun with a piccolo trumpet or would it just be sucky? I’m willing to put a bit of effort in of course, but I probably wouldn’t be using it in any ensembles or whatnot, just for fun.

reddit.com
u/Fun_Moose_5307 — 12 days ago

Prevent Picker from triggering across List row

Honestly pretty self explanatory question.

I've tried embedding it in various Stacks, moving it to a subview, .contentShape(Rectangle()), none of which have worked.

u/Fun_Moose_5307 — 22 days ago

Leftmost Image in Menu replacing other images

https://preview.redd.it/mbm47fm2mwfh1.png?width=194&format=png&auto=webp&s=33235e47c27c3eaeab264ea882d6f46860a5a3a3

Menu(course.name) {
	Button { setNewCourse(nil) } label: {
		HStack {
			if contents?.courseID == nil {
				Image(systemName: "checkmark")
			}
		}
		Image(systemName: "star")
		Label("Free Period")
	}
	Divider()
	ForEach(courses.map {(id: $0, course: $1)}.sorted(by: {$0.course.name < $1.course.name}), id: \.0) { entry in
		Button { setNewCourse(entry.id) } label: {
			HStack(spacing: 8) {
				if contents?.courseID == entry.id {
					Image(systemName: "checkmark")
				}
				Image(systemName: "star")
				Text("Text")
			}
		}
	}
}

Honestly not much to say. How can I avoid this?

reddit.com
u/Fun_Moose_5307 — 23 days ago

Consistent horizontal spacing in List

When I put a symbol on the edge, iOS neatly rearranges the content to fit around it. How do I recreate this on the other side with my own content, without the complications of using frame where anything too small will cut off, anything to large will look stupid, and the ideal threshold is changing as different sized content replaces?

Edit: There could be any sort of text on the left. Some places number rooms differently, or don't have rooms at all (I have PE listed as 'PRAC, THEORY' personally). There could be more than one room there, too, in which case I join them as 'BT4, BT81 etc.

u/Fun_Moose_5307 — 29 days ago
▲ 1 r/SwiftUI+1 crossposts

Programatically recreate SF Symbol '.circle.fill' variant

I'm using a whole bunch of symbols in my timetable app, but I need to render them as circle.fill symbol variants in some views. Most of the symbols don't have this variant already available.

It seems a waste of time and size to manually bundle symbol assets for these ~30 symbols with my app. Is there an easy way to programatically recreate them at the correct size and relative scale?

reddit.com
u/Fun_Moose_5307 — 3 months ago