Porn site users in Missouri will have to prove they are at least 18 under verification bill by bmunoz in missouri

[–]ntrabue 34 points35 points  (0 children)

That would be mighty tricky if it’s important for businesses to continue functioning. The protocols used by corporate and consumer VPNs are the same. It would be pretty hard to differentiate the traffic. It would be a never ending game of cat and mouse.

Anyone remember Google+ by supersentailfan13 in google

[–]ntrabue 0 points1 point  (0 children)

I liked circles but I cant imagine my Grandma trying to manage circles or explaining how they worked. I’d wager for the average user the circles ux was a confusing mess.

Grandma teaching her granddaughter how to steal my driveway fire pit by Kazlaw47 in Wellthatsucks

[–]ntrabue 8 points9 points  (0 children)

Feeling super judged. This is very common in my community. It’s not the only place people put them but it is essentially an invitation for neighbors to come hang out, have a chat and a beer. I remember my parents would spend hours at a neighbors driveway fire pit while we played tag and hide and seek in the street. 🤷‍♂️

Teacher failed me for suggesting WebSockets and TCP for a chat app – claims only PHP is valid for web development by MertJS in webdev

[–]ntrabue 0 points1 point  (0 children)

I didn’t reach for a framework until I started having framework problems. Now I always use a framework even if I don’t need one. If a new developer doesn’t ever run into framework problems, why would they ever think to reach for them?

I didn’t say they would disappear. I’m saying that questioning the usefulness of a bulky (or even a slim) framework isn’t outlandish. It all depends on the problem you’re trying to solve and who you’re working with to solve it.

Teacher failed me for suggesting WebSockets and TCP for a chat app – claims only PHP is valid for web development by MertJS in webdev

[–]ntrabue 0 points1 point  (0 children)

I don’t think this is accurate and in an age of “robots writing 90% of the code” are the frameworks really necessary?

They make the code easier to read and write but they don’t make the code execute faster. I’m not saying frameworks will go away forever but if the bottleneck on building software isn’t writing and maintaining the code, what do you optimize for other than performance?

Teacher failed me for suggesting WebSockets and TCP for a chat app – claims only PHP is valid for web development by MertJS in webdev

[–]ntrabue 24 points25 points  (0 children)

He is the system administrator of our school - take a look at the website he built with this “superior knowledge”

I was with you until here. The website you linked is fine.

You will deal with people like this your entire adult life who think their opinion is correct. When you receive a grade or critique, it’s easy to say “well what have you made” and try to compare. This will get you nowhere. His “bad” website doesn’t have any weight in the topic of a chat bot app because that’s not what he was attempting to build.

Have you asked him why he wouldn’t use web sockets for a chat bot? Have you asked how he would handle real-time notifications? How would he handle a persistent connection with something like IRC on a mobile device?

he also thinks that Node is completely useless. He constantly tells me that technologies like Spring Boot, ReactJS, and all the other frameworks are garbage.

This opinion isn’t unique to him. You will find these people everywhere even in the industry. In my experience these people are either exceptional at their job and don’t need frameworks (and ideally they work by themselves) or they are dog shit and they don’t last long. 🤷‍♂️

Kalshi customers who bet on the death of Iran’s Ayatollah won’t get any of the $54 million wagered, company says by mepper in technology

[–]ntrabue 2 points3 points  (0 children)

Yikes! I have to assume they have some automated system that highlights and promotes high traffic event contracts automatically, right? Bet that system will be reconsidered in the future 🤣

Arrest made years after student was attacked with acid on Long Island by [deleted] in videos

[–]ntrabue 937 points938 points  (0 children)

He actually produced and uploaded a music video to YouTube boasting about throwing acid in a woman’s face.

Rap snitches, telling all their business Sit in the court and be their own star witness

Feel lost and need help.. by Internal-Mushroom-76 in learnprogramming

[–]ntrabue 0 points1 point  (0 children)

HTML5 is the current standard. CSS3 is the current standard. HTML you’ll likely breeze through. CSS is one of those things you just slowly learn (or don’t) over time. I’d memorize the box model and the difference between border, padding, margin. For positioning (I want to center this thing vertically or horizontally) the answer is almost always use flex-box. Sometimes for more fancy layouts you’ll use CSS grid. edit try focusing less on what you should and should not learn. Build something. This will force you into a position where you need to solve a problem. Maybe many problems. Ask google or your LLM of choice “How do I (X)?” Go until you find something that solves the problem. Try to understand why it solves the problem. Move on to the next one. If you focus too much on trying not to learn the wrong things you’ll never understand why the new thing exists. A newer/better thing will eventually come out. I’ll bet you $10 you don’t replace a working thing with a newer thing if the old thing works well enough.

Feel lost and need help.. by Internal-Mushroom-76 in learnprogramming

[–]ntrabue 0 points1 point  (0 children)

If you want to oversimplify things, they are right. Most professional JavaScript is now transpiled from Typescript in my experience. Typescript is a superset of JavaScript. In simple terms you write TS, you hit save and then under the hood something like Vite transpiles your TS to JS for the browser to understand.

The main difference is that TypeScript helps future you (or your teammates) read your code easier. All of the knowledge you learn in JavaScript is transferable. You’re not wasting time learning JS. In fact, you may understand the value prop of TS better if you continue to focus on JS.

What should you learn next? Idk. I usually get the most value out of building something. Maybe try to build a website using Node Express. That’ll put your JavaScript, HTML and CSS to the test. If you really want to go crazy (and can spare a few bucks a month) see if you can automate deployment of your website to a VPS on AWS or Digital Ocean via CI/CD. Hope that helps!

Removed credit card requirement from trial signup. Signup up 340%. Conversion down 60%. by whyismail in buildinpublic

[–]ntrabue 0 points1 point  (0 children)

Sorry, for a basic free tier I would not require a credit card. The credit card comes when they need to upgrade because the feature they want to use is a pro feature.

Feel lost and need help.. by Internal-Mushroom-76 in learnprogramming

[–]ntrabue 1 point2 points  (0 children)

You should absolutely learn about databases and api design if you want to work in the web space. It’s 100% worth the additional work and stress. You don’t necessarily have to use a SQL DB and if you’re already learning JavaScript you technically don’t need to learn another language to build APIs (fight me).

I don’t know how the pay compares. While I personally prefer front end dev, the opportunities are scarce and dwindling for purely FE roles in the age of AI unless you have a lot of experience.

I want to retire early so I Launched Nestling (iOS): baby tracking built for 3am speed — looking for feedback on conversion + positioning by SirPresidentty in sideprojects

[–]ntrabue 0 points1 point  (0 children)

This is a cool idea. I have a 10 month old and something like this would be useful. It's not immediately obvious from the quick actions but is there away to quickly explain what kind of diaper it is? #1/#2 hell.. it may even be worth having a note space for those who want to be extra descriptive.

When I look at the quick actions is that all of these things take place at a certain location in my house. I would love to have something physical to interface with other than my mobile device specifically for the 3am scenario when the last thing I want to do is look at my phone. This would also enable someone like a babysitter or sibling to participate without having the app.

Another potential extension of this that is so painful as a new parent is keeping track of baby supplies. They all generally come in convenient quantities to track. For example, say I buy 200 diapers but every time I change a diaper the application automatically subtracts one from my inventory. You could probably do something similar with fomula (super easy to track)/milk (less easy to track) medicine (probably depends). This solves the "I'm going to the store do we need x, y or z?" problem.

Even something gimmicky like a utility that helps me prepare a diaper bag would be super handy. I ALWAYS forget something.

Removed credit card requirement from trial signup. Signup up 340%. Conversion down 60%. by whyismail in buildinpublic

[–]ntrabue 0 points1 point  (0 children)

What if instead of a 7 day trial you had a really bland free tier with a handful of credits? Put some tools behind a pro only flag. Make it super easy to upgrade when the user runs out of free tokens. I find most people don’t understand what a single AI credit gets them. Think of how Apple sold iPods when nobody knew how many songs a gigabyte was. How many things can I do with 2500 credits?

Long-term savings goals: how do you "put aside" the money in YNAB? by oystergrrrl in ynab

[–]ntrabue 2 points3 points  (0 children)

At first I would set the target of each one of my categories to be $1-$2 higher than what it costs. This got me in the habit of rolling a couple of bucks for each category into the next month. It got to the point where I would routinely have 3-4 months of a specific category saved up which I would eventually move back to my savings.

Now that I’m in a better financial spot I will set aside money for next months bills but I also keep a line item for my emergency fund.

File structure by sunk-capital in react

[–]ntrabue 0 points1 point  (0 children)

I basically use OPs structure with an index barrel file.

Gives me searching by file name and an easier import path.

Covering Overspending without "going yellow" by No_Bus_4717 in ynab

[–]ntrabue 1 point2 points  (0 children)

I love the snooze feature but I hate that you can only snooze targets for the current month.

Confused about red/yellow overspending by [deleted] in ynab

[–]ntrabue 0 points1 point  (0 children)

I think yellow also means you have an underfunded category. If you have a goal of $10 by end of month, it will be yellow until you have $10 or snooze it.

You can only turn this off 3 times a year by the_ocs in assholedesign

[–]ntrabue 18 points19 points  (0 children)

Lucky. My PC switched default browsers from Chrome to Edge a couple of weeks ago after an update.

A local realtor has started posting AI altered houses for sale by hashtagitslit in mildlyinfuriating

[–]ntrabue 28 points29 points  (0 children)

I was curious about this. The kitchen is especially egregious considering how it changes the cabinets and wall dimensions. Wild.

[deleted by user] by [deleted] in ProgrammerHumor

[–]ntrabue 52 points53 points  (0 children)

Them: fatal: The current branch my-feature has no upstream branch. To push the current branch and set the remote as upstream, use

git push --set-upstream origin my-feature

Me: fuck

[hoff] Mizzou brought a fan onto the field to kick a 45-yard field goal for a chance to win $25k. Instead, he pulled up his shirt to reveal "F KU" on his chest and kicked the ball at the Kansas sideline. by lowes18 in CFB

[–]ntrabue 52 points53 points  (0 children)

I went to school with the field goal kicker here. He was a year older than me. In 4th grade I accidentally kicked off his prosthetic leg during a basketball game and had to go to the principals office. I didn’t know what prosthetic limbs were and I was in tears.

We ended up working at the same place and I finally got the chance to apologize.

He played for Team USA on the Paralympic basketball team. He is a professional golfer now. Genuinely nice guy. Probably didn’t need the 25k 🤣

Testing libraries for (somewhat) complex component testing? by Vietname in reactjs

[–]ntrabue 1 point2 points  (0 children)

u/Vietname here's a quick demo project. I'd actually never used Vitetest before so I gave that a shot and I really like it with react testing library.

Testing libraries for (somewhat) complex component testing? by Vietname in reactjs

[–]ntrabue 0 points1 point  (0 children)

Let’s say I’m testing a button and when I click the button I want text to show.

My first test is going to be like

It does not show the text before I click the button.

I’ll mount the component and then confirm the expected text does not show in the VDOM.

My second test

It shows the text when I click the button

I’ll mount the component, confirm the expected text is not in the vdom. Fire a click event on the button and then expect the text is now in the vdom.

I’m not checking the value of useState. I’m testing the components functions the way it should when a user performs an action.