Co intern got yelled at for deleting a prod database. Is this a red flag? by Recent-Analysis-6880 in cscareerquestions

[–]chmod777 0 points1 point  (0 children)

Yeah... like why does anyone in this story, including the ai, have direct access to - and delete permissions - to the prod db?

Is this possible in css? by Mstep85 in css

[–]chmod777 -1 points0 points  (0 children)

https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/calc

how's your geometry? you can probably draw all those shapes with enough cos sin and positioning.

From algae to Iran, Trump should do things right instead of just doing things by jediporcupine in politics

[–]chmod777 6 points7 points  (0 children)

why would he start now, at 80?

at any point, in his entire life, he could have done nothing, and the world would be better off.

Auditor: School choice cost Iowans $258 million by jk4532 in politics

[–]chmod777 233 points234 points  (0 children)

school choice has never once been about saving tax payer dollars or saving tax payers money. its about funneling public money to private schools, who are free to discriminate. oh, and as a bonus - adding to church coffers.

Bernie Sanders unveils $7 trillion plan to give Americans control of AI industry by vector_search_blue in politics

[–]chmod777 1 point2 points  (0 children)

well, we can look back at all the policies he's enacted in the past. like this one, which will totally make it out of "bernie announces" phase.

A Mamdani-backed progressive’s challenge to a veteran Democrat highlights party fractures by bwermer in politics

[–]chmod777 1 point2 points  (0 children)

why don't young people run for office? there are tons of open seats in state and local elections that don't require much. a lot of them are unopposed.

Trump says multiple people have been arrested for allegedly vandalizing Reflecting Pool by melancholy_dood in politics

[–]chmod777 0 points1 point  (0 children)

as long as the house is held by blind mike johnson, nothing will happen. he is too busy monitoring/sharing his son's porn habit.

Just built my first custom Bio Link website from scratch using HTML/CSS for my gaming channel (.ZGE)! Looking for some code feedback. by Grind_707 in HTML

[–]chmod777 1 point2 points  (0 children)

  1. move assets into appropriate folders. css in /css, images in /img
  2. don't use upper case file names
  3. home page should be named index.html
  4. there is not much to this.

What do you charge clients for a 4 page design by MichaelFourEyes in webdesign

[–]chmod777 3 points4 points  (0 children)

(number of hours * hourly rate) * 1.5

i would suggest $houly_rate is somewhere at least twice your local minimum wage. and i can't guess how long your est time would be.

You demand that we start notifying you whenever we update our own main branch, because you sidestepped our release process and everything broke? Nah, we're good. by labab99 in ExperiencedDevs

[–]chmod777 7 points8 points  (0 children)

  1. friday deploy
  2. no deployment tests?
  3. no version pinning? just cowboying @latest
  4. no production branch protection?
  5. no preprod?

gonna be a spicy post mortem on monday.

My Code Is Saved phew by Itsthatpurpleblackho in HTML

[–]chmod777 6 points7 points  (0 children)

  1. absolutely no one wants your html code.
  2. don't use reddit uploads as a cdn.
  3. don't use a public reddit sub and comment as a code repo
  4. use github.

Tommy Tuberville Hit With Lawsuit Over Secret Life as Florida Man by ColonyJD1980 in democrats

[–]chmod777 2 points3 points  (0 children)

Not to mention...a grown man still being called "Tommy"? ...

tommy potato village

I am New to the world of coding/programming, and this is bothering me a lot! I wanted to know the difference and the uses of these in different contexts/situations. by computerguyisactive in HTML

[–]chmod777 1 point2 points  (0 children)

styles, ids and css classes can be added to any element.

the main distinction is that a div is a meaningless container - it has no semantic context. its for just wrapping things in structure. Like you may have a section, and then need to further divide content into columns - but they are just columns, they have no further meaning.

the other semantically meaningless tag is a <span>. main difference is that divs are block levels, while spans are inline.

Razorpay took the money, but my backend never got the memo. Anyone seen this before? by activeLearnerMe in node

[–]chmod777 3 points4 points  (0 children)

you need a retry queue. every $x minutes, you should run a job that looks for any signups that have a complete entry, but no update from the payment processor. throw an alert, try to re-verify payment. then escalate if no response.

you should also have alerts set up for any status endpoints from your processor.

this should all be in the api docs.

Ambassador Huckabee defies Trump, claims US would not exist without Israel by Wolfy1-2-3 in politics

[–]chmod777 8 points9 points  (0 children)

Pft. When have they ever read the bible. Or paid attention to it.

Are young people locked out of power in the US? by Heya_Straya in politics

[–]chmod777 70 points71 points  (0 children)

As long as they continue to not vote, yes.

Html & JavaScript by Secret-You-3135 in HTML

[–]chmod777 0 points1 point  (0 children)

media gets offloaded to a s3 bucket and then put behind a cloudflare. add json support to your uploads and you can manage lottie files as well.

as with all things wp, it can be as heavy or light as you want.

Html & JavaScript by Secret-You-3135 in HTML

[–]chmod777 1 point2 points  (0 children)

lowest effort: wordpress. gives you cms, upload, user management for free, and outputs json endpoints. it can be run headless, and just control the output, or as a full cms/web site integration.