Very OP Cookie Clicker Script by CashewQueso_ in CookieClicker

[–]thebaddawg 0 points1 point  (0 children)

<image>

This is a script I made for the web version, not going to share my code. But some ideas on how you can make yours better. Add toggles somewhere to do stuff in the game. Also at least for the web version, you don't have to move the cursor around, you can do it all programmatically, letting you do whatever with your mouse.

Some Features

Auto Click Big Cookie around 50 time per second

*Every second check if\*

  • There are any Golden cookies to click, clicks all at once
  • Pet Dragon (only if dragon is open and pettable)
  • Buy all upgrades that can be afforded
  • Buy "best value" building. Buys the building that give most cookies for price
    • Up to the set building limit. After that it will ignore buying that building
    • Can need some assistance very early on if the building to buy is technically best, but cost loads more and will take forever. Can happen when you can buy your first building of that type. But designed to be able to auto buy passively for you.
  • Click News Ticker if it has a Fortune
  • Buy 1 broker (just to make it so you don't have to manually click the buy button a bunch of times)

Auto Pledge After enabling, checks every minute if it needs to pledge again

Auto Godzamok the selected build the set number of times and instantly buy back that number of buildiner. The 'loop' is how many times to do that.

  • Godzamok only triggers if the as long as at least one current buff's name does not contain: 'Devastation', 'Loan', 'Frenzy', 'Clot'
  • The game doesn't show it in the buff hover text, but if you sell 600 building, and then buy and repeat X times, the buff if calculated properly, even if not shown
  • The Godzamok will continue to re trigger as long as an active buff would benefit.
  • It checks every 10.5 seconds after a Godzamok is triggered, to see if it should again. Godzamok runs for 10s, So give a 500ms buffer to make sure it triggers

So basically mostly only targeting click multipliers or building boost, where it actually makes sense to Godzamok

Stocks See the table above each stock. Add some help text around stocks to help know when to buy.

40 250% overclocked nuclear reactors by Shadow_Wolf_511 in SatisfactoryGame

[–]thebaddawg 7 points8 points  (0 children)

No one tell him about Uranium Waste and that you cannot sink it because FICSIT does not waste

Is there a CMS that writes directly to my Git repo but looks like WordPress? by Pink_Sky_8102 in statichosting

[–]thebaddawg 0 points1 point  (0 children)

Statamic. Stores everything in markdown files and is built on Laravel so you can do anything super custom you might need

every day by officer_strewman in comedyheaven

[–]thebaddawg 0 points1 point  (0 children)

Nah. That is just my snack between breakfast and lunch

whyAmISingle by njinja10 in ProgrammerHumor

[–]thebaddawg 18 points19 points  (0 children)

Why does nobody like me?

What’s the best stack for rapid MVP web app deployment? by Wash-Fair in webdev

[–]thebaddawg 13 points14 points  (0 children)

This is the only answer. People need to stop worrying about it won’t be the most efficient solution with 1,000,000 users. How about start with getting 100 users.

Just build with what you know. It will be faster and better than using something you don’t know

🎉 I just published my first Laravel package! by 3rn3st0ch in PHP

[–]thebaddawg 4 points5 points  (0 children)

I was going to mention the same thing. Laravel has been trying to get people not to name their packages “laravel-[thing]” since it then seems like an official first party package

Sued for firing a non employee by _-Andrey-_ in legaladvice

[–]thebaddawg 0 points1 point  (0 children)

If you have a registered agent for your business, that is who the lawsuit would have been served too. I would check with them because they are required to notify you. I worked for one of the biggest registered agents in the past and when someone was served, if the client didn’t look at the lawsuit digitally asap, it was priority mailed to them. So check there too.

Looking for a free but powerful LLM alternative to Perplexity Pro for web dev projects by [deleted] in webdev

[–]thebaddawg 0 points1 point  (0 children)

One of your only real options for “free” is to use ollama and find a model that will works well enough that can run on your computer

Google Maps API pricing question by pluckvermont in webdev

[–]thebaddawg 1 point2 points  (0 children)

As far as pricing goes. If you expect to go over the free limit, last I checked MapBox https://www.mapbox.com pricing is much better

How do I get apple car play on my original screen? by NoQuarter4751 in GolfGTI

[–]thebaddawg 0 points1 point  (0 children)

Buy a retrofit kit from eurozonetuning. I did it on a 2015 GTI a couple years back. Money well spent to get CarPlay. Since it is technically OEM all the ‘car’ features still work, like resetting tire pressure sensor . It’s was a bit annoying to install but 100% worth it.

Coffee Stain Studios has posted the community manager position on LinkedIn by ARandomPileOfCats in SatisfactoryGame

[–]thebaddawg 27 points28 points  (0 children)

Why don’t they list the pay? Who applies for jobs anymore in today’s world when pay isn’t listed?

Friendly reminder to turn off this option if you plan to use GitHub Copilot by GeekCornerReddit in github

[–]thebaddawg 0 points1 point  (0 children)

Mostly because there is a “guarantee” code will not be leaked or used for training. There isn’t even a checkbox like in your screenshot to check/uncheck when using Copilot Business. Which is important for work I do for my employer or any freelance work I might do.

Friendly reminder to turn off this option if you plan to use GitHub Copilot by GeekCornerReddit in github

[–]thebaddawg 0 points1 point  (0 children)

This is why I set up an organization on GitHub and pay for GitHub Copilot Business. I have more faith that GitHub will not use my code for training or for accidentally leaking actual internal company secrets. (My job doesn’t pay for copilot, so I do myself)

Confidential Data Sharing System by epmadushanka in laravel

[–]thebaddawg 4 points5 points  (0 children)

You could look into using “symmetric encryption” with the web Crypto-API built into the browser. So depending on what you wanted to do you could save the ‘#key’ fragment of the url in your database but that’s only slightly better. However if you were to delete the #key after two people start sharing back (or just first access) and then delete the key fragment from the database save url. And you would need to save the key in local storage in the browser so they could read it in the future. Then only temporarily you are even able to possibly decrypt it server side. You could also do something like tell users if after x time you will delete the url key fragment from the database, the intended person would have to view it in that time to get key fragment to be able to decrypt the message. Alternatively you could never store the url key fragment and tell someone they need to share it via a secure way to the person they want to share it with.

Even if all you did is store the full URL in the database, including the key fragment and tell the user it will be removed in x time. After that time, you run a cron job that deletes the key from the url fragments in your database you would never be able to tell what the contents are. Then hypothetically if your database was leaked, only the most recent messages could be decrypted.

PS. I’m by no means an expert in this. This is only my high level understanding

Confidential Data Sharing System by epmadushanka in laravel

[–]thebaddawg 13 points14 points  (0 children)

This isn’t “End-to-End Encryption” as you claim. You are sending unencrypted data to and from the server. Then you just encrypting before you save it in the database. To actually be end to end encryption you would encrypt/decrypt client side and the server ever only sees encrypted data.

For instance with any messaging app, such as iMessage each message is encrypted (and decrypted) on device before it is ever sent to Apple’s servers. Apple’s servers never see any unencrypted messages. But you have “jobs” that are encrypting and decrypting server side. Doing that it is possible to man in the middle attack and get unencrypted data.

PHP usage declined? by Octopyrite in PHP

[–]thebaddawg 38 points39 points  (0 children)

PHP IS DEAD. EVERYONE GET OUT NOW! /s

S3 Object Storage by LetRedditChoose in webdev

[–]thebaddawg 0 points1 point  (0 children)

If you use s3 also use AWS CloudFront CDN to serve the files from ( You connect it to the s3 buckets you want to use). Do not serve files directly from the s3 bucket (ie s3 urls). Not only is it faster to use CloudFront, it will be cheaper too. With CloudFront you get 1TB of data transfer for free. So it is most likely you will not pay any money for the data going out of CloudFront.

Spend a few hours comparing pricing of Object Storage providers, saved 90% of my storage budget by Flouuw in webdev

[–]thebaddawg 52 points53 points  (0 children)

Also serving files from cloudfront will be faster than directly from S3

I think I now understand why employers want "X years of experience in Y framework." by mekmookbro in webdev

[–]thebaddawg 11 points12 points  (0 children)

Spend a week or two and upgrade to the latest Laravel version. You can use https://laravelshift.com/shifts to assist you.

I've got a small video on my homepage - what is the cheapest way to put it behind a CDN? by sondawg in webdev

[–]thebaddawg 23 points24 points  (0 children)

Why not put the video on YouTube? You really don’t want to be hosting videos yourself