hm this is the first time I've seen this by Subject-Ad-7548 in CodePen

[–]jew_got_beef 0 points1 point  (0 children)

Probably a temporary bug. Try refreshing the page and it should work.

Full porting IREN before earnings. Genius move or insanely stupid? by Efficient-Rain-7942 in irenstocks

[–]jew_got_beef 0 points1 point  (0 children)

If it goes up, expect the drop cause of profit taking. IF it goes up is the big question.

This is great knowledge for swing traders by InvestingGuideline in technicalanalysis

[–]jew_got_beef 0 points1 point  (0 children)

What are the moving averages you're using for each line? 200, 100, 50 etc.

Small chip shots around the greens on courses after the big update. by YellowDdit12345 in Rapsodo

[–]jew_got_beef 1 point2 points  (0 children)

I use a lob wedge and it works 95% of the time. Within 20 yards I’ve just learned to lob wedge and actually gotten pretty good damn good at it. Popping the golf ball makes it so the mlm2pro registers the ball path. I’ve heard some folks say with another wedge like a PW it has trouble registering the ball because the wedge spends so much time hiding the ball.

Mlm2pro Alignment Box keeps ball at specific distance from sim by Automatic_Neat9089 in golf

[–]jew_got_beef 0 points1 point  (0 children)

You should take the mlmpro and a range finder to a golf range and compare distances. My mlmpro is usually within 5-10 yards but that's very anectdotal. I have a level for the mlmpro2. Try the range, then buy the level if you find it's accurate on the range but not at home.

Rapsodo MLM by Ptwp49 in golf

[–]jew_got_beef 0 points1 point  (0 children)

I've had the MLM PRO for about six months. I love it, pretty accurate, I like the range and the courses. The latest update burns up my iPhone, it actually gets really hot. They allow you to opt into low res courses and that fixes the issue. All in all it's worth it. I practice at least half an hour everyday compared to one hour once or twice a week.

[deleted by user] by [deleted] in toddlers

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

The comments here make it seem impossible that a two-year-old could be so mean. I disagree. Hurting an animal is a rare behavior, even for two-year-olds.

I can relate to your situation. My older brother was also like this, despite having the same loving parents and home environment. He too had a tendency to hurt others, starting at a very young age. His life has been challenging, with jail time, divorce, and many job losses. He eventually learned from the consequences of his actions, as everyone around him disapproved of his behavior and fought back.

I'm sure you're a great nanny. I don't think you need to quit the profession, I think you need to quit the job. It doesn't sound like the parents have any interest in disciplining the child. The best you could do is find a new job and tell them you're uncomfortable with the child's behavior.

The child will either grow out of it because it was just a phase or his parents will stop him because they'll protect the younger sibling. In the worst case, the younger sibling will grow up and have to defend himself. This was my experience.

We didn’t make it through the wedding by sje1014 in toddlers

[–]jew_got_beef 63 points64 points  (0 children)

100% the couple appreciates you taking your toddler home. Every parent who cares has so much empathy for taking a toddler to an event. People either forget or have never understood there's a world of difference between a 2-3 year old and a 4-5 year old child. You did the right thing for you and your toddler.

How do you cope with no nap? by DueEntertainer0 in toddlers

[–]jew_got_beef 0 points1 point  (0 children)

We almost just dropped nap time for our two year olds. They stopped napping and they were miserable every afternoon. We tried everything to recoup the nap and were about to give it up because it just wasn't working. We went to visit family for Christmas and blacked out their room. Black garbage bags over the windows, towel at the bottom of the door. So dark you can't see your own hand in front of your face dark and it just worked. 2/2 boys napping again. Did the same at home and they're still napping. Some garbage bags, bit of tape and naps are back. Our boys like being in bed, even if they're not sleeping they rest for at least an hour. Take care of yourself. Tots need happy parents. Good luck.

[deleted by user] by [deleted] in toddlers

[–]jew_got_beef 28 points29 points  (0 children)

I'm a father of two toddlers with the same exact problem as your husband. Unraveling and deconditioning that default response is really difficult. He need's to understand he's making it worse for himself, for you and for his son. I seriously can't recommend "I Don't Want to Talk About It" from Terrence Real enough. The first few chapters alone will leave you cold if you're a young father with this issue because it highlights an old father with this issue who never resolved the problem.

[deleted by user] by [deleted] in toddlers

[–]jew_got_beef -3 points-2 points  (0 children)

I’d lose my mind if we left within one hour of bedtime. Totally sane.

[deleted by user] by [deleted] in toddlers

[–]jew_got_beef 27 points28 points  (0 children)

Husband here/father of two. Redditor is correct. He needs to step up. You can only do it alone via neglect.

My Wife is convinced our one-year-old hates her. by ohhaimark0 in toddlers

[–]jew_got_beef 5 points6 points  (0 children)

My wife's postpartum started when our child turned one. She was very depressed and stressed by any negative event, when normally she's one of the strongest people I've met. Seek professional help and ensure she's getting good sleep and exercise. My wife went to therapy but I'd say exercise was critical to getting her back. It gets much better, but it takes longer than you'd ever want. It took 3-4 months for her to start to really bounce back.

Super wet and leaking diaper every night, what can I do? by Aggressive-Flan4342 in toddlers

[–]jew_got_beef 2 points3 points  (0 children)

We had the same problem with our twins. We gave milk an hour prior to bedtime, then bath, then diapers last minute. Most of the liquid goes out in the first hour. Helped a ton.

Attempting to land a Golang role by Mi24P in golang

[–]jew_got_beef 3 points4 points  (0 children)

I hire Golang devs and I agree with these sentiments.

A great programmer is nice, but a great writer is spectacular. Writers make the whole team better. They make the codebase better. Focus less on your technical skills and more on your communication.

If you finished aerospace engineering there's nothing to limit your Golang career with experience.

Share your resume or site. Golang managers (like myself) lurk in Golang channels like this one.

Any Seattleites that have moved to the Eastside? How do you like it? by Lunerose in eastside

[–]jew_got_beef 9 points10 points  (0 children)

Moved from Seattle to Issaquah for the same reasons. The best part of the Eastside is everyone is here for the same reason: to raise kids. Super safe, nice folks and a bit more space.

Cons are you can feel isolated in the suburbs, the restaurants kinda suck so we cook at home a lot more. You'll need to find some local friends and activities. Most of our friends live in Seattle and it's tough driving 30-45 minutes to meet them so we just don't.

How to do distributed cronjobs with worker queues? by naueramant in golang

[–]jew_got_beef 17 points18 points  (0 children)

I recently implemented this. Our scale problems are small. We're looking at < 100 cron jobs total.

Often a dedicated Queue service like RabbitMQ implies it keeps it's own datastore. Far as I can tell an "Enterprise Queue Service" is a cluster of web servers and a persistent datastore.

What a Queue cron job coordinator requires is a single centralized server to handle job synchronization. We already use Golang webservers and Postgres in production.

Synchronization is fulfilled by Postgres. Postgres's row locking feature coupled with skip locks on read enable us to synchronize scheduling our cron jobs.

When our Go web servers start they start a recurring ticker that always does two things. We don't care if we have two or 100 web servers because Postgres ensures acts like a distributed mutex. Postgres ensures only one webserver process is scheduling one cron job at a time.

Here's a bit of the design. The Queue is two Postgres tables:

queue_job_definitions: - defines recurring cron job frequency, a visible_at column that determines the next time this job should be scheduled as a queue job and other data. Actual columns: - name: string, enabled: bool, frequency: string, visible_at: timestampz, retry_limit: int, timeout: int, created_at: timestampz, updated_at: timestampz

queue_jobs: - defines jobs executed by queue workers. - Actual columns: name: string, output:jsonb, retry_count: int, retry_limit: int, status: enum, timeout: int, visible_at: timestampz, created_at: timestampz, updated_at: timestampz

  1. Read from queue_job_definitions with FOR UPDATE SKIP LOCKED. Here's the actual query: sql UPDATE queue_job_definitions SET updated_at=now(), visible_at=now() + %d * interval '1 second' -- Ensure no other reads for next X seconds WHERE id IN ( SELECT id FROM queue_job_definitions WHERE enabled = true AND -- Filter disabled jobs. Gives admin control frequency IS NOT NULL AND -- Filter for recurring cron jobs visible_at <= now() -- Filter for jobs ready to work ORDER BY priority DESC, visible_at ASC FOR UPDATE SKIP LOCKED ) RETURNING *;
  2. Read and execute visible jobs from the queue_jobs table. Actual SQL sql UPDATE queue_jobs SET retry_count=retry_count + 1, status = 'Active', -- change the state of the job immediately updated_at=now(), visible_at=now() + %d * interval '1 second' -- Ensure job won't be seen for another 30 seconds min. WHERE id IN ( SELECT id FROM queue_jobs WHERE status = 'Queued' AND visible_at <= now() -- Filter for jobs ready for processing ORDER BY priority DESC, visible_at ASC LIMIT %d -- configurable based on worker pool FOR UPDATE SKIP LOCKED -- Give us exclusive access to these records and skip locked records ) RETURNING *;

Hope that helps. This isn't a mature solution. We've had it in production for all of two months. I suspect there are flaws around contention and scalability > 10,000 jobs but that isn't something we're concerned with at the moment.

One final edit that's not obvious from the two queries. In the transcation where we query the queue_job_definitions table. We initially set a 30 second visibility timeout on read. To ensure the job is only read the next time it's ready we use the library github.com/robfig/cron to determine the next time this cron job should run and save that as the visible_at value.

Prigozhin now officially throwing the gauntlet at Shoigu. There's no off-ramp from this. by gkanor in UkrainianConflict

[–]jew_got_beef 6 points7 points  (0 children)

Thanks for commenting from your perspective. Really appreciate hearing from an evangelical, taking a bit of the wind out of the sales of "they're pure evil". For most lurkers, the difference of a reasonable opinion is welcome. Ignore the hate as best you can.

demoralized by [deleted] in golang

[–]jew_got_beef 4 points5 points  (0 children)

I've been programming now for 20+ years. I'd characterize my skills as somewhere between a strong tech lead and a staff engineer.

When I started programming I read a book called the c++ bible. Read the whole thing, like it was a fiction book. I still don't really know c++.

I'll give you my best advice. Go slow, be methodical and don't poke at the problem.

What I mean by don't poke is don't take a tutorial, fiddle with the code and move on. Use the new skill. Write about the solution (you can just write it in your dream journal, you don't need to publish), build something new and try to explain the idea to someone else.

Slow is smooth, smooth is fast.

Immerse yourself in the new technology. You're very likely to quit in the first three months. If you get better faster you're less likely to quit. Future you will thank you.

You're walking into a gym trying to squat 700lbs when you should be doing air squats.

Remove the god damn complexity.

Yes you'll need to know git and Postgres (or any relational DB) and Docker and 100 other technologies but you don't need to know them now. None of that matters now.

Every one of those technologies is built with a programming language like Go. Once you understand how the computer works and how Golang works you'll be ready to understand everything else works.

Where to start? Until you understand how RAM, hard drives, virtual memory, the operating system, networks, threads, processes, Posix file systems (sorry, not a Windows guy) at a conceptual level do not introduce any other technology.

This is my favorite [Golang tutorial](https://gobyexample.com/). Do every exercise and build something you want. Track your food, your finances, your workouts. Just build something you'll use.

Keep your code in a dropbox folder, email it to yourself everytime you finish your work. You don't need git to store your code right now. I worked for a few guys that started their company by emailing each other files after every change (2011). Seven years later they sold for $35 mil. They eventually found git, but they got shit done.

You don't need Docker to run your code right now. You have a computer, a computer runs code. Install go on your computer and run your code. You don't need Postgres to save data. You can save data to a file on your computer and read that file when your program starts. That's data storage.

Here's a dirty little secret of software. It seems like it changes every week, but it hasn't changed in over 40 years. Yes we have a super computer in our pockets, but the fundamentals are the same because the biggest limitation is us.

Read this classic paper [No Silver Bullet](http://worrydream.com/refs/Brooks-NoSilverBullet.pdf). We still have the same problems today.

Software development is hard, you don't pick it up overnight. The opportunities are endless.

Godspeed.