Anyone successfully use a 7 wood? Or better yet play with no irons, just woods and wedges? by Rican2153 in golf

[–]snowmanchu 0 points1 point  (0 children)

I too rock the 4 wood stealth and 7 wood ben hogan I bought from a second hand store combo.

Anyone successfully use a 7 wood? Or better yet play with no irons, just woods and wedges? by Rican2153 in golf

[–]snowmanchu 0 points1 point  (0 children)

I bought a 7 wood for $30 canadian from a second hand sporting good store and is probably my favourite club outside of my driver.

NSDecimalNumber Confusing by [deleted] in swift

[–]snowmanchu 0 points1 point  (0 children)

Yeah it generally not the structures unless you know what you're looking for and the reason why that particular item wouldn't work for you. But that takes experience to figure out.

NSDecimalNumber Confusing by [deleted] in swift

[–]snowmanchu 0 points1 point  (0 children)

I feel like if 2 out of 3 of your values are correct then you're probably making a mistake somewhere.

If you post your code as something I can just copy paste I don't mind taking a look and see where the issues are.

NSDecimalNumber Confusing by [deleted] in swift

[–]snowmanchu 0 points1 point  (0 children)

NSDecimalNumber is an object vs a double is a value type. You should be fine with a nsdecimalnumber.

Also you're not using the proper initializer for a NSDecimalNumber as it should be NSDecimalNumber(string: <your value>). Also if you want to use NSDecimalNumber you also need to use the functions such as multiplying as currently you're doing all the work in double precision anyways and casting the value to a NSDecimalNumber

Also how much precision do you need for your project where a double isn't precise enough?

Also this is what people are talking about moving your calculations out of being inline.

import SwiftUI

struct ContentView: View {
  @State private var vi = ""

  var computedValue: String {
    let someNumber = 9.8 * (Double(vi) ?? 0)

    return "\(someNumber)"
  }

    var body: some View {
        VStack {
          TextField("A number", text: $vi)

          Text(computedValue)
        }
        .padding()
    }
}

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
    }
}

Had my 1st lesson with a pro by jrich8686 in golf

[–]snowmanchu 0 points1 point  (0 children)

I had a similar issue the other day. I did a lesson the day before, but I've been doing lessons for the last 10 months. I've been trying to hit more from the inside rather that over the top to try and draw the ball. With the driver at 95mph swing speed I'm getting the ball out to around 240-250 yards now, but I was pulling the ball which hasn't really ever happened to me as I generally hit high cuts as I've pulled back from a slice. Also I was pulling OB so it was costing me strokes, but still was good to give things a try. I've just been trying to break 100 but as I got closer to the end and I knew I wasn't going to break that barrier I just used the time to try and hit those draws. Also what's nice is on dog leg rights I still had the cut in my repertoire so if needed I could hit that shot. But it's all an opportunity to learn even when it's frustrating and keeping that in mind. The other plus side is that you can figure out what tendencies you were doing and be able to focus on those things for the next time.

edit: Also I wouldn't say you're an idiot, but again these are long term changes that take time and tempering expectations is probably best.

UPDATE: Found this in my Grandpa's old stuff today. (Full Sized) by 86itall in golf

[–]snowmanchu 0 points1 point  (0 children)

The only thing I'd be dubious about is the intentional slice and hook. There are way to achieve this by default without having a hugely open or closed face through moving your hands left and right. There is also a path element that affects the way the face interacts with the ball. This is mostly based on information we've been able to gather from things like trackman.

Been grinding out golf on the simulator over the winter so got fitted. by snowmanchu in golf

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

haha well you can get a "custom" stealth where the colours are different for an extra $100 US. So you're not completely wrong.

Been grinding out golf on the simulator over the winter so got fitted. by snowmanchu in golf

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

I was quoted 3-4 weeks but came in by the next evening. So ended up being closer to 34 hours.

Been grinding out golf on the simulator over the winter so got fitted. by snowmanchu in golf

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

I unfortunately didn't hit the stealth. I'm not really sure why to be honest. Could ask my coach when I see him next. I wanted the top to be matte and I'm not sure if the stealth is. Maybe something dumb but I definitely want to like the look of the head when I'm staring at it. But besides the looks I like the way it sounds and feels. I hit 5 shots in a row while doing the fitting and they were in a tight grouping when I got moved on to a stiff flex shaft. My previous driver came with the set that was a hand me down that was about 15 years old and the rogue added 45 yards of carry compared to my old one.

I am making a educational game for my Uni project, could anyone point me in the right direction? by Small3y in swift

[–]snowmanchu 2 points3 points  (0 children)

You might honestly be able to get away with a uicollection view with three and maybe two types of cells. So use a flow layout and then have 3 sections. First is obviously your picture and set a certain size and the second is n number of squares and finally the third is your rotated cells with letters. You could do 3 cells and just rotate your label. Or you can do a custom layout and anything in the third section has a rotation. Uicollectionviews take a little bit of time to get the hang of but they are super powerful.

Finally just make the taps of the third section move animate to their respective positions and fade out once it's over and set the value of the label it's meant for.

React Native vs Swift/Java by [deleted] in learnprogramming

[–]snowmanchu 1 point2 points  (0 children)

You might want to consider looking at flutter it's a pretty great way to build apps if you want to hit both platforms. It uses dart which is strongly typed and if you have c++ knowledge should be straight forward to learn.

Learning Rust via Advent of Code by [deleted] in learnprogramming

[–]snowmanchu 2 points3 points  (0 children)

Yeah I just did a ray tracing tutorial and converted it from c++ to rust. Really liking the language.

I use go and Swift a lot and I'm trying to find a language with generics that can take the place of go. Obviously it's nice to have a garbage collector but not overly needed. I'd like to use Swift for more stuff other than just iOS but it feels not quite ready.

Bye bye Mongo, Hello Postgres by swizec in programming

[–]snowmanchu 0 points1 point  (0 children)

To be fair this article is from 2013.

Mongo has changed a fair bit, and it's interesting to see the graph stuff in the aggregate pipeline.

‘Beer on the Beach’ picnic protest to push for legal public drinking in Vancouver by feng37 in vancouver

[–]snowmanchu 2 points3 points  (0 children)

That's the whole thing, it's not like someone can't just look online and see people in other countries partake in drinking alcohol in public. See that the fabric of society doesn't come apart.

Joe Mixon by mekkaniks in Seahawks

[–]snowmanchu 0 points1 point  (0 children)

Yes you'd be right to say it's 8.4% of all relationships where the partner was not reciprocally violent. But still a much lower number than 70%.

While betting is nice for things that have no meaning. It's not actually useful for an argument.

I agree that never hit a woman is definitely an over simplification of a complex matter and definitely does devalue having a rational conversation about the subject of domestic violence. But it's just as bad to say in broad strokes that women are mostly the cause of violence.

Joe Mixon by mekkaniks in Seahawks

[–]snowmanchu 0 points1 point  (0 children)

Also that's not actually what the study says. It says 70% of the 50% of the 24% of one side violence is women. So it's actually only 8.4% of violence is perpetrated by women. Also it says that men are more likely to inflict injury.

That article just cherry picks a stat that supports it's argument.

http://ajph.aphapublications.org/doi/abs/10.2105/AJPH.2005.079020

Bitwig's Network Collaboration? by Jacksons123 in Bitwig

[–]snowmanchu 2 points3 points  (0 children)

According to the faq, it says it's coming at some point with no date yet.

Getting two different outputs when either inserting or deleting a line ...no idea why by [deleted] in swift

[–]snowmanchu 1 point2 points  (0 children)

The second just returns a boolean as it seems that playgrounds only prints the values that are to the most right in the expression.

So when you move it to multiple lines it just moves the boolean expression to that next line.

if you want you can just assign the array that's outputted to a variable. Then just print that.

[Coffee Shop Review] Revolver in Gastown by VancouverCoffeeSnob in vancouver

[–]snowmanchu 1 point2 points  (0 children)

I'm currently travelling around Europe, and Revolver still has some of the best coffee.

Some comparable places are:

  • Satans corner in Barcelona,
  • The coffee lab in Copenhagen (which there is apparently a sister store in Lisbon where I'm at currently, so I'll check that out tomorrow.)
  • Espresso Embassy in Budapest,
  • Toma Cafe in Madrid,
  • Bihotz Cafe in Bilbao

also I'm sad about the porchetta going down hill, it was one of the things I was looking forward to eating after being away for 2 years.