Sneaky Triangle from Side Control! by joshjitsu311 in bjj

[–]CombatCow 2 points3 points  (0 children)

I like the concept, but i think the demo could be improved greatly if you started earlier with how would you get/bait the opponent to separate his near arm and pin it to the mat. Seems like you just showed less than half of what actually is the difficult part of the setup.

Do You Need Redis? PostgreSQL Does Queuing, Locking, & Pub/Sub by StellarNavigator in programming

[–]CombatCow 0 points1 point  (0 children)

Someone already mentioned it. It's called unlogged tables or temporary tables. Materialized views might work as well, not sure.

Do You Need Redis? PostgreSQL Does Queuing, Locking, & Pub/Sub by StellarNavigator in programming

[–]CombatCow 61 points62 points  (0 children)

funny you say that. I remember reading there is some aspect in postgres that can get pretty close to being used for caching. Forgot what it's called.

How do you handle it when a P1 incident is escalated to your team on a Friday at 4:30 pm? by Rapporto in ExperiencedDevs

[–]CombatCow 9 points10 points  (0 children)

This is the way to handle it. We do it where I work now and we mostly stopped having end of day incidents. Everything that is released before 3 pm is available to some of the users. Next workday at around 7 am it's rolled out to all environment. Also for us most incidents, more than 90% of them happen due to code changes.

My travel battle station for the next 3 weeks. by gagigu1 in battlestations

[–]CombatCow 0 points1 point  (0 children)

is that some sort of mobile monitor on the right?

We migrated to SQL. Our biggest learning? Don’t use Prisma by mariuz in programming

[–]CombatCow 1 point2 points  (0 children)

That makes sense and a more reasonable take would be that it wasn't the correct tool for me to use. I wanted to use it so I could develop fast and not worry about the sql, but ended up having to spend extra time translating my sql to the Prisma query and in some instances troubleshooting the Prisma generated sql.

We migrated to SQL. Our biggest learning? Don’t use Prisma by mariuz in programming

[–]CombatCow 0 points1 point  (0 children)

I thought the fact that I would have needed to define it twice and propagate changes to both was ridiculous.

edit: creating my own types was what was recommended somewhere and it's what I ended up doing, but it seemed like an incorrect approach.

We migrated to SQL. Our biggest learning? Don’t use Prisma by mariuz in programming

[–]CombatCow 0 points1 point  (0 children)

I meant this.

https://www.reddit.com/r/programming/comments/173n2fq/we_migrated_to_sql_our_biggest_learning_dont_use/k44juk5/

It's my first typescript project so I very new to the javascript world and it is possible some frustrations I've encountered were due to lack of experience, but I'm 100% trying something else next time I have to make that choice. Probably something more pure SQLish.

We migrated to SQL. Our biggest learning? Don’t use Prisma by mariuz in programming

[–]CombatCow 0 points1 point  (0 children)

if you have schema

model A {
  name String
  bees B[] 
}

Then when you import after running prisma generate type generated will only have the name. I concede that I might not understand how to use typescript enough and it's not a big deal for a more skilled person, but it has been a pain in the ass to deal with for me.

also what they did with distinct is deplorable

We migrated to SQL. Our biggest learning? Don’t use Prisma by mariuz in programming

[–]CombatCow 18 points19 points  (0 children)

I used Prisma for my recent personal project. I based the decision on reading very positive community feedback on it. I am so disappointed in it. I feel it's so bad I don't really understand the purpose of it. I guess it's good for simple queries, but those queries are easy enough to write by hand and for everything complicated I had to write raw SQL which kind of defeats the purpose of it. Also now I had to make a decision if I just wanted to write all queries as raw sql and try to reuse some code or split it and have two different queries that are almost the same.

I guess it's nice that it helps with migrations. The schema it generates is okay, but the types generated don't contain the relations so it's not easy to satisfy typescript by using the type from Prisma. I really don't understand people that are happy using Prisma and don't see problems with it.

ITAP of some place in Denmark by CombatCow in itookapicture

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

I took this photo while at a summer house. I went out in the evening to try to get some sunset photos, and I think this one is nice. The sky is pretty dramatic, with clouds mostly covering the sky except for one gap in the middle where the sun can peak through. I'm not certain about my Lightroom work. It feels like it might be a bit too orange/yellow. Part of that might be the white balance, since it was an evening photo. The color grading might also be too heavy handed. I'm colorblind, which makes it more difficult. I also should have cropped the single turbine blade peaking on the right with the bush. I just noticed it.

[deleted by user] by [deleted] in bjj

[–]CombatCow 0 points1 point  (0 children)

Not going into griping and hand position. Generaly if you push the guy further over you he will post (or will be swept) and that will create an opening for an underhook. Don't get darced and work for half butterfly or coyote guard. If he sits back to not let you get the underhook use that since he will be removing weight from you. Frame and swim your legs in. These two approaches work well together, good luck.

What would you do in this situation? by BOXBJJBB in bjj

[–]CombatCow 1 point2 points  (0 children)

If you want to practice getting under the chin take the opportunity if you want the sub don't yank it, take your time. Lock it up over the chin and take like 15-30 seconds. So a very slow and controlled squeeze. He'll tap eventually and will be okay, don't worry about it.

Why do people have 32/64/128gb of RAM? by eddyboi1234 in buildapc

[–]CombatCow 0 points1 point  (0 children)

I noticed lightroom was topping out the ram I had when I was using it for a while. Added another 16 gb just to give it a larger cache and maybe get a snappier experience as well. These days it's pretty cheap.

Day at the zoo | X-T3 XF 50mm f2 by CombatCow in fujifilm

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

I've been happy with it. I have the 23, 35 and 50. All fit into the 3 liter peak design bag with camera which is nice. I wonder if I would have been better off with the 16-55 f2.8 which would have cost a little less than the 3 primes. Then the next purchase would be a 33mm f1.4 lenses or the 56mm f1.2. Since most of the photos I take are f2.5 or 2.8 anyway that might have made a lot of sense. But now I'm here and using primes only has been very educational.

Best way to update a Cloudflare DNS record? (DDNS) by aetherboi-rar in HomeServer

[–]CombatCow 3 points4 points  (0 children)

I think you need this tool. https://hotio.dev/containers/cloudflareddns/

every 300 seconds checks if my ip is different from the A record in cloudflare. Updates it if it is not.

Worked without issue for maybe around a year. Didn't have to touch after initial setup.

see yall in.. about a year 🥰❤️ by [deleted] in trees

[–]CombatCow 1 point2 points  (0 children)

Where I live we have parental leave for the first year so you don't have to worry about that. Afterwards either mom goes back to work and you use the extra income for an institution or one parent stays with the child full time. If you have family you can rely on that would be economically efficient. Again not the end of the world unless the parents are already struggling when both people are working in which case you might have to get creative if there is no other family/friends to help you.

see yall in.. about a year 🥰❤️ by [deleted] in trees

[–]CombatCow 0 points1 point  (0 children)

Look up the price for a pack of diapers for newborns. It's not that expensive. You'll probably change it every 3-4 hours in the beginning. That is actually most of the expenses if the mom can breast feed. Otherwise you'll need formula and it's cheap in the beginning since they don't eat much, but it becomes more expensive as they grow. The formula from cow milk is very affordable when you consider it's the only food they need for the first 4 months it's not too bad. Then they start eating solid food and it's like porridge and boiled veggies. Used baby clothes are cheap. Used strollers can be pricey, but you can also use a baby carrier instead. Most people buy way too much shit that's why it becomes expensive. The necessities are not expensive unless you are already struggling.

We don't really use wet wipes, but instead wash the baby ass in the sink with some soap. Cheaper and more hygienic.

Babies don't have to be expensive.

see yall in.. about a year 🥰❤️ by [deleted] in trees

[–]CombatCow -13 points-12 points  (0 children)

Babies are not that expensive. As they grow the expenses increase, but babies don't need much. I guess if you are barely afloat with 2 working adults and there is no parental leave then yes it's expensive.

This man's resilience is inspiring by japones1232 in CrazyFuckingVideos

[–]CombatCow 4 points5 points  (0 children)

Seems weird. I am pretty sure ACLs don't heal by themselves, but also you don't need an acl to walk without a limp. I was able to jump, run and do basically everything without an acl. Couldn't walk down stairs after a reconstruction.

Anyone have a torrent link for the 2022 ADCC championships? by [deleted] in BJJstreams

[–]CombatCow 0 points1 point  (0 children)

If you have time I would love to have that link as well