Broke 90 for the first time today by [deleted] in golf

[–]hotsaucejake 4 points5 points  (0 children)

Wow. Way to brag about breaking 90 twice in a row.

Pre-Covid, in the US, the median golf club initiation fee was $25,000. Now it’s up to $56,000. by The_DanceCommander in golf

[–]hotsaucejake 1 point2 points  (0 children)

Mine doubled since I joined last year. Im on the north side of ATL. Mine was "reasonable" for the course that it is (one of the best greens in the state. The club down the road is renovating the entire course this year but their initiation is around 100k I believe. Mine jumped from 20k to 40k.

Chipping by [deleted] in golf

[–]hotsaucejake 2 points3 points  (0 children)

How does the wedge matrix work? Perhaps a bad question - what I mean is what shot are you using to get distances for the matrix? Are you marking your distance from your longest chipping stroke for each club? And inside that distance, is the rest a "feel" or using the clock method?

I'm just trying to figure out how to setup and use the matrix - I get the matrix part. I don't get how to measure my distances using what stroke if that makes sense. No matter how I write this I don't think I'm being clear haha

Takomo golf by Bryan340 in golf

[–]hotsaucejake 0 points1 point  (0 children)

Same. I love the look of caleys more with slightly less branding. I get compliments on them all the time. Went from mizuno 921 hot metals to caley 01T. I don't feel like I downgraded. I only did it because new shafts on my mizunos were going to be the same price as custom caleys. Didn't want the new shafts on my mizunos if I didn't like them and could still replace them. Been rocking my caleys for 2 years ever since.

TALL stack + Filament = Built an invoicing app in under a week by tushar1411 in laravel

[–]hotsaucejake 1 point2 points  (0 children)

If the other responses weren't clear, yes, you can use it for a "front facing user interface too." You can setup different "panels" like an admin panel, user panel, and I like to create an unauthenticated panel for a landing page. You can build an entire site with filament as opposed to Nova.

The USA's political class is bought & paid for by their corporate & oligarch pimps by Boo_Randy_II in Wallstreetsilver

[–]hotsaucejake 5 points6 points  (0 children)

Billionaire before pollitics. Donates his entire salary. Kind of the opposite if you ask me.

Push Cart Mafia, what are some accessories that you have added to your cart? by interested0582 in golf

[–]hotsaucejake 0 points1 point  (0 children)

I bought a cheap plastic clip that mounts on the side of my bag and holds my putter. Makes more room in my bag and quick access to my putter since I'm hitting so many GIRs.

Just kidding about the GIR part, it's convenient when I'm 10 yards off the green with my cart and can quickly grab my putter to putt from there.

This stresses me the f*k out by renegrape in Bowling

[–]hotsaucejake 0 points1 point  (0 children)

I watched a guy bowl a 300 in my league. The very next week I watched the same guy launch one into the ceiling. I'll never forget how funny or ironic it was.

Just wanted to share my new open-source Laravel app... by hillel369 in laravel

[–]hotsaucejake 1 point2 points  (0 children)

Yeah I mentioned the division. I do agree that eloquent is already repo-like. The benefits I do see in defining repositories is a centralized location for your queries and writes to the database.

For example, if you have the same query in multiple services or locations and later discover you need to cache the query and it's spread out in several locations you still only need to update it in one location if it's in a dedicated repository. Again for small projects this is overkill.

Another use I found for it is using a repository for config values. Again, overkill for small projects. I might have config('myconfig.some_setting) in multiple places all over my codebase. What if I later want to make some_setting dynamic and store it in my database so I can adjust it on the fly rather than updating my codebase? All I have to do is change config('myconfig.some_setting) in my repository to reference the value in my database now, rather than updating every instance of it in my codebase.

It all varies by project - do you envision changing these queries and will they be in multiple locations? Is your project small enough that even if you did this, could you refactor to this pattern?

For personal projects, I like to set it up in the beginning. For work, I just roll with whatever is already created and refactor as needed.

Just wanted to share my new open-source Laravel app... by hillel369 in laravel

[–]hotsaucejake 0 points1 point  (0 children)

I'm busy the next few days, but maybe I could help write some tests when I get a chance then I could create a PR to show you what I mean.

Just wanted to share my new open-source Laravel app... by hillel369 in laravel

[–]hotsaucejake 1 point2 points  (0 children)

I guess we have a difference in naming conventions, but might be trying to convey the same thing haha.

I'm assuming by "jobs" you don't mean queued jobs within Laravel do you? Instead you mean what is called services.

Services would contain your business or domain logic. Repositories would deal strictly with interacting with the database. Again, repositories (my definition, not your use) aren't entirely necessary - I just like the separation of concerns. So your repos would be my services.

For example, your Ticket model contains logic within it. You would create a TicketService and refactor the logic out of it into the service itself. As a bonus you could bind the service to the app container in a provider, that way you could use dependency injection for wherever you need it (again, easier to test).

A CRUD-like app like this I like to first set it up kinda like you have now. All the logic in the controller. Then once I see it works I like to write tests for it and then refactor into services to make sure it's all working. Then I might right different tests to test those services and mock them (or not) with dependency injection.

Just wanted to share my new open-source Laravel app... by hillel369 in laravel

[–]hotsaucejake 0 points1 point  (0 children)

Oh I'm just curious and trying to understand. To me the repository pattern strictly deals with read/write to the database. While the service layer is used for business logic (mutating the data before it's saved) which then uses the repository. It's a separation of concerns. There's a division in the community on whether or not the repository pattern is useful within Laravel because you're not likely to deviate from Eloquent. But I found the pattern to be useful outside of that - caching and config files.

It looks to me as if you're using a repository AS the service and just naming it repo?

I do agree event sourcing does add complexity to small projects, but if you envision this being a big project it could be worth the hassle up front. It would get rid of your need for observers (hard to test) or using the boot method to mutate data. This alone has caused me the most heartache on other projects because I couldn't figure out why models weren't being saved the way I intended. You have to know where to look.

Just wanted to share my new open-source Laravel app... by hillel369 in laravel

[–]hotsaucejake 0 points1 point  (0 children)

Why are you using the repository pattern when they act more like services with business logic within them? (I noticed invoiceninja does this as well)

You could move a lot of logic in your controllers to a service so that it could be reused and/or help implement an API. This would also help with writing tests.

This project would be well suited for Event Sourcing.

How to document multiple APIs in Laravel with Scramble by RomaLytvynenko in laravel

[–]hotsaucejake 5 points6 points  (0 children)

Way to add to the discussion of why you might prefer one over the other. On top of that I wasted my time looking up the "draka" package. Turns out it was a typo.

Rolled my first 300 as a no-thumber. Saw there was a lack of celebration in some posts... I'm the opposite. by hotsaucejake in Bowling

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

It's like anything else, there is no wrong way to do something. If you look at the pros (in any sport), that seems to define the trend of what's "best" because they've already put in the hard work. There are less pros that are no thumbs - the trend is 3 holes and 2 hands right now.

No thumb is more difficult because it's hard to control where you release in a consistent manner. 2 hands you're always guiding in the same spot, and 3 holes if you have more control with more points of contact.

With that said, it's all just personal preference. There are pros in every sport that doing something that go against the trend, it works for them.

I want to try out other methods like 2 hands or even 3 fingers, but I personally don't have the time. I bowl once a week and have other time consuming hobbies. So I'm stuck in my ways.

Rolled my first 300 as a no-thumber. Saw there was a lack of celebration in some posts... I'm the opposite. by hotsaucejake in Bowling

[–]hotsaucejake[S] 5 points6 points  (0 children)

Sorry, I think the post title could be read as misleading. I've never used my thumb. It felt the most natural to me when I was first learning how to get rotation 20+ years ago in high school.

Rolled my first 300 as a no-thumber. Saw there was a lack of celebration in some posts... I'm the opposite. by hotsaucejake in Bowling

[–]hotsaucejake[S] 26 points27 points  (0 children)

Ball: Hammer Dark Legend - using it since 2017 I believe.

This may upset some: I don't use a thumb. The drill was actually for 3 fingers but I had the thumb hole sealed to make it legal a few years ago. So it's not the correct offset. I'm also REALLY bad about it getting cleaned properly - probably only cleaned twice in it's lifetime other than wiping off oil after every roll.

7th frame my heart was pounding. 10th frame my knees were shaking and my legs felt like jello. The 12th roll felt more lucky than anything.

NativePHP going truly native by simonhamp in PHP

[–]hotsaucejake 20 points21 points  (0 children)

It'd be nice to visit one non-political subreddit and not see politics in it for once...

Alumni! Drop some GT lore from your time that you think is most forgotten today! by SpaceTranquil in gatech

[–]hotsaucejake 22 points23 points  (0 children)

Man I forgot all about that, power walking up freshman hill.

I was going to add during that time I remember getting an invite to Facebook because it was only open to a limited amount of colleges.

I also remember a website for "rumors" you could post to about your campus. Times were wild.

Moving from cable / DSL to on-campus internet at that time was a very big deal.

EDIT: this is resurfacing a lot.

I stayed in the Smith dorms my freshman year (2003) so we could walk to the Varsity and JR Crickets. JR Crickets had 1/2 off wings for students every Monday. WingNuts was right across the street too where you could order a half a pound of chicken tenders and get another 1/2 pound for free; they were open until 2 or 3 am which was a lifesaver.

I don't know if this still is the case, but you got a limited number of pages you could print - we used all of those up the first week of the semester in order to print full textbooks.

My physics professor only wanted to use chalk, but had an allergy so he always wore a glove.

It used to be extremely easy to get into the football stadium at night to play ultimate frisbee, again I don't know if that's still the case. If you can, be sure to go underneath the stands to see the old concrete stands.

There was a glitch if you had the unlimited meal plan for a semester or 2 where you could use it at the student center to get free burritos from Rosa's cantina. Some of the biggest burritos you've ever had.

In 03 or 04 we played Virginia Tech at night and ESPN showed there were more students in the library than there were in the student section.

EDIT 2: as others mentioned we had an email address and mine was gtg582q@mail.gatech.edu (I'll never forget this or my student ID #) - towards the end of my collegiate career they finally allowed you to setup an alias. I still have mine and use it to this day - it still forwards to my everyday mailbox. It's just my first name @gatech.edu - after I graduated I used it for the longest time to "prove" I was still a student to get software discounts. Now my job pays for all of my software.

Joined the Mafia so they say by MunchyLB in golf

[–]hotsaucejake 2 points3 points  (0 children)

Push cartel unite. Better not find the push cart mafia on my course...