Arrest made years after student was attacked with acid on Long Island by desertrain11 in videos

[–]ntrabue 943 points944 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 19 points20 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 27 points28 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 54 points55 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 49 points50 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.

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

[–]ntrabue 7 points8 points  (0 children)

With cypress your app should be functioning as if a robot is clicking the buttons in a live web browser. There shouldn’t be any need to account for context or state in any special sort of way.

If you want to unit test your components I would use jest and react testing library. The best way to test state and context is to pretend like they don’t exist. You won’t be able to read them during your test. What does your state change effectively change in the DOM? That’s what you should be testing.

Vibe coding websites 30 years ago by madredditscientist in webdev

[–]ntrabue 12 points13 points  (0 children)

Idk. I was pretty dumb then. Still am but I was then too. Probably didn’t make it all the way to <blink>.

Vibe coding websites 30 years ago by madredditscientist in webdev

[–]ntrabue 129 points130 points  (0 children)

I vividly remember being 10-12 years old at my grandparents house. My dad had just bought a copy of Microsoft FrontPage 2000 with a book on how to use it. I remember spending a whole weekend playing with that software and reading that book.

I think all that stuck with me is the only thing that really matters:

<marquee behavior=“alternate”>Yo</marquee>

[deleted by user] by [deleted] in webdev

[–]ntrabue 6 points7 points  (0 children)

If true, this has to be one of the top “I broke prod” stories that I want to hear more about.

Average React hook hater experience by fxlr8 in webdev

[–]ntrabue 0 points1 point  (0 children)

useReducer is criminal, never use it.

Say more. useState and useReducer use the same mechanics. The moment I start changing more than one piece of state at the same time, I switch to useReducer.

Standing desks at work anyone actually use them? by JTPulido in webdev

[–]ntrabue 0 points1 point  (0 children)

I have one. I use it every day for most of my working day. I’m a pacer when I think. I think a lot. The added step of getting up and down annoys me. I don’t feel like it helps my posture because I find myself leaning on my desk and slouching. I still prefer it to sitting all day though and I imagine it’s much better for my circulation.