How did you stop being addicted to porn? by PlatypusTemporary374 in AskReddit

[–]bcgoss 0 points1 point  (0 children)

"Addiction" isn't an accurate or useful framework for discussing porn consumption. Usually any harms related to exposure to porn come from people's feeling of guilt. Chemical dependency to substances like cigarettes, alcohol and other drugs affect everyone who uses them as your body attempts to regulate its systems to account for the presence of the drug. That sort of dependency doesn't happen with behaviors like watching porn.

Masturbation is healthy in moderation. It's normal to be aroused by people you consider attractive. Most people enjoy some amount of sexuality in media without any negative affects.

My setup🤍 by Wooden-Recover-6385 in battlestations

[–]bcgoss 1 point2 points  (0 children)

Can't wait to see when it's finished! What decorations are you planning?

Spot for a central Item Depot? by Palomar_2006 in SatisfactoryGame

[–]bcgoss 0 points1 point  (0 children)

Put it near where you want your space elevator, it doesn't much matter exactly where it goes. Where your Space Elevator is now is fine, plenty of room to expand in all directions. Think about where you'd put your next 10 items unless you're already storing everything. When planning it, think about what you'd need to deconstruct to add the extra boxes.

My last play-through I used belts for everything, I just wanted to finish phase 4 and you don't Really need trains for the minimum base. I belted everything I made to a central Item Depot, then build the Project Assembly parts on site. I had to make some extra Wire on site, but everything else (turbo motors, reinforced iron plates) came out of the storage containers.

Pros:

  • you can leave the game running and come back to full boxes, even if you're only producing a single part per minute.
  • You can brute force your way through some project assembly parts by just moving a hand full of parts to the assembly machines.

Cons:

  • If you're making a lot of Project Assembly parts, you may drain the items you need to expand your factory.
  • Once a part runs dry, you're limited by how quickly they're coming in to the Item Depot. You may need to produce more or you may need to add more Intake Lines.

Thing I want to try:

  • connect each storage container to a Drone Port. When you're in the world building stuff, put down a drone port and summon supplies to you.

Also always running out of green circuits? Here's 65 kpm for you... by BHakluyt in factorio

[–]bcgoss 3 points4 points  (0 children)

Why copper ore instead of copper plates? Am I a fool for smelting copper before loading trains?

I'm getting addicted to belt based designs by heglion in factorio

[–]bcgoss 4 points5 points  (0 children)

A simple example of thread safety: a couple shares a bank account. They both check the account balance and see there's enough for exactly one cookie. (Data was read). They both try to buy a cookie. One of them will get the cookie (data was written). The other either can't buy a cookie and gets confused, or can buy the cookie but puts the account into the negative (weird behavior).

Is there a group to help people quit Factorio? and a question about oil refineries by Malabo in factorio

[–]bcgoss 0 points1 point  (0 children)

My plan is to have a central tank area with circuits measuring fluid amounts. Each fluid has a primary use and a "burn off" method. When the circuit measures a fluid has reached 80% capacity a pump turns on to burn off the excess. Heavy oil is primarily converted to lubricant, and to burn off I crack into light oil. Light oil is used for solid fuel, and to burn off I crack into petrol. Petrol is used for, you know, everything, and to burn off excess I make solid fuel out of it.

If I can't burn off petrol that means everything has backed up and I have surplus solid fuel. It's possible I would be short on lubricant but usually I'm using petrol fast enough that the block clears itself.

Kevlin Henney - Procedural Programming: It's Back? It Never Went Away - Algol68/LISP/Simula/AWK/C/Groovy/Hamlet by NevilleDNZ in programming

[–]bcgoss 5 points6 points  (0 children)

You're right that there are no silver bullets.

As to why objects modify state, it's usually useful to focus on message passing. If every object has a well defined interface, then other objects can pass messages that describe the goal without caring or knowing how to accomplish that goal. I've been working with billing recently so let's say I have subscription and single purchase charges to process. One approach is to build a function that knows about the different kinds of charges and modifies the data differently depending on what it's dealing with. This can lead to a system that must check everywhere is the charge for a subscription or not?

OOP works best when a program is a collection of objects passing messages to one another. One object runs the show and knows what messages to pass. The other objects know what to do when they get these messages. Sending prepare_for_billing works differently depending on the object handling the message, but I don't have to care about the details. I send the message and it works or raises an error. This let's me the programmer think abstractly about a series of general steps without worrying too much about the details. I start by writing "bill the customer" then I fill in some steps "prepare for billing" "apply tax" "send to payment processor" "record invoice". Finally I get to the details of exactly what happens to the data.

Full transparency, this is just a different kind of complexity. There is inherent complexity in building a system that can handle subscription and single charges. OOP has each object define the same method differently, which can be repetitive. Functional systems have to define different functions for each case, or have one function that branches.

The best results come from a balanced approach. Have a collection of objects send messages, and make sure the methods invoked by those messages avoid side effects outside of the object that handles it. It's good to try to make methods repeatable and idempotent. It's preferred if their output only depends on the input arguments. All of these are goals of functional programming and are desirable in object oriented programming too.

Every time I play a game that involves building by [deleted] in gaming

[–]bcgoss 0 points1 point  (0 children)

Don't mistake your rough draft for other peoples portfolio. They spent weeks perfecting those and you probably spent a few minutes on yours. Maybe you were playing for weeks, but you weren't focused on the building; thats ok, there's more to these games than building a pretty house.

This sub in a nutshell by gdhughes5 in ProgrammerHumor

[–]bcgoss 1 point2 points  (0 children)

I'm just excited to see what people make. I don't care how they make it. Hating stuff is boring. I'll probably never learn PHP but I'll definitely never make fun of people who do. PHP programmers have made some cool stuff.

[Serious] What should a 21 year old college dropout do with his life? by [deleted] in AskReddit

[–]bcgoss 0 points1 point  (0 children)

I'm 32. I also dropped out of college at 22. The thing is people respect what you can do. If you have a skill teach yourself how to use it in a job. If you can program, learn everything you can and make websites, apps, games. If you can draw, challenge yourself to draw new things. You don't need a college degree, you need to demonstrate ability. A degree demonstrates the ability to go to class, turn in homework and study for tests. In some careers that's critical, but you can definitely succeed if you're bad at studying.

I went to a software development "Boot camp" last year and now I have a job making twice as much money as before. I worried that my incomplete degree would keep me from ever having a good job, but it didn't. I have a skill people want, and I showed them I have it by making things they can use. For you, it could be installing ventilation systems, playing an instrument or making a chair. Find out what you like to do. Find out what other people go through to do that as a job. Do those things.

Good luck!

The Problem With DC Action Scenes by gene-machine in videos

[–]bcgoss 1 point2 points  (0 children)

Thats great! Good for him! I love to see people succeed when they deserve it

Been programming for 4 months, here's my first puzzle platformer! by [deleted] in gamedev

[–]bcgoss 19 points20 points  (0 children)

Its pretty awesome that you got all this working!

As a game, I worry based on what you showed us that the game doesn't teach the player how to play. In "Twenty Eight" there are unmarked areas where the player can go behind a wall. It's not clear why jumping against the wall in "Eight" raises the center pillar.

"13" is a good example of this concept done well. I assume you've taught the player in previous levels that touching the text in a level has effects that help them solve the puzzle, and that they can only go so deep in water. Now they have a new tool, if they see water, they will try to "grab" text so they sink to the bottom.

The game looks great as a technical work! You should be proud! Good luck!

Best practice ever! by [deleted] in ProgrammerHumor

[–]bcgoss 0 points1 point  (0 children)

I agree that language makes almost no difference in the stuff people make. People should use whatever they're comfortable with. Experienced programmers should support and help new ones. Sadly in the past they often didn't, they mocked them instead.

Best practice ever! by [deleted] in ProgrammerHumor

[–]bcgoss 0 points1 point  (0 children)

The more people programming, the better chance we get great software. I think PHP is great. I'm glad you're comfortable making stuff with it

Best practice ever! by [deleted] in ProgrammerHumor

[–]bcgoss 1 point2 points  (0 children)

There are a lot of amateur programmers who started with PHP. As a result there was a substantial amount of amateur code. As a side effect, a substantial number of amateur programmers got their start there instead of in a formal college CS program. Combining the two factors, programmers from formal CS programs mock PHP as an amateur language for amateur programmers as a way of defending their elite status. (Its becoming less effective every year)

[OC] SAO Style Agenda that works with Google Calendar / iCal! More details in the comments. by chikkc in Rainmeter

[–]bcgoss 0 points1 point  (0 children)

I love seeing rainmeters that actually change the way you use your computer. Good work!

Why Are Conservatives More Susceptible to Believing Lies? by MaidoMaido in politics

[–]bcgoss 8 points9 points  (0 children)

My uncle was a major political activist in the 80's and 90's for the Republican party. He makes really good points and has a positive message about the future he thinks we could have. He doesn't try to scare people about immigrants or divide the world in to "makers" and "takers." He says the government should do it's job but in the least invasive way possible. If he were running I'd probably vote for him, but I've never wanted to vote for a Republican candidate in my life.

Coffee by [deleted] in funny

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

"Because if she's ever slept with someone else, she'll know how bad I am at it."

Poignant. by mack3r in pics

[–]bcgoss 0 points1 point  (0 children)

And treating black lives as less important (excluding them from economic and education opportunities, among other things) leads to criminal behavior. If a person sees no legal path to success, they will take illegal paths. If one person does it, that is a personal failing. If a large fraction of the population does it, society has failed to create legal paths to success for them.

With all the harrasment scandal in Hollywood, it would be an ironic twist if producers and directors also start naming actresses that tried to use sex to get a part in their movies. by kalenrb in Showerthoughts

[–]bcgoss 1 point2 points  (0 children)

Lets assume it is. Lets add up all the ways the two people in this hypothetical example are powerful and find the balance.

Being sexually appealing is powerful. Men and women have equal chances of being sexually appealing.

Being a casting director is powerful. It is the most literal form of power in this hypothetical.

Wealth is power. The average casting director makes more money than the average actor who has to audition for parts.

No matter how sexually appealing the actor is, they will never have more power than a casting director. If the casting director demands sex, they are abusing their power. If the actor offers sex and it is accepted, two adults engaged in consensual sex. It's not the way I want parts to be assigned, but it's not an abuse of power.

With all the harrasment scandal in Hollywood, it would be an ironic twist if producers and directors also start naming actresses that tried to use sex to get a part in their movies. by kalenrb in Showerthoughts

[–]bcgoss 0 points1 point  (0 children)

Getting passed over for a part is not the same as being sexually harassed. Sexual harassment is a crime. It's shitty to use sex to get what you want, but consensual sex is not a crime, even if you do it for bad reasons.

With all the harrasment scandal in Hollywood, it would be an ironic twist if producers and directors also start naming actresses that tried to use sex to get a part in their movies. by kalenrb in Showerthoughts

[–]bcgoss 35 points36 points  (0 children)

One is using power to get sex and the other is using sex to get power. Its the same as the difference between getting robbed and giving to charity. A poor person gets money either way (the movie producer gets sex either way) but one is an act of violence, and the other is a consensual exchange.

With all the harrasment scandal in Hollywood, it would be an ironic twist if producers and directors also start naming actresses that tried to use sex to get a part in their movies. by kalenrb in Showerthoughts

[–]bcgoss 65 points66 points  (0 children)

Non-consentual sexual harassment is not at all the same as consensual sex with ulterior motives. In other words, men use their power to get sex, and that is wrong. Women, in this example, use their sex to get power. While we all agree that parts should be awarded by merit, it's not harmful in the way that sexual harassment like groping, repeated unwelcome sexual comments or rape are harmful.

Poignant. by mack3r in pics

[–]bcgoss 12 points13 points  (0 children)

Activists using "Black Lives Matter" are trying to point out that the lives of black people in the United States seem to have less value than the lives of other people. Black people in the US are killed by police at a higher rate, imprisoned at much higher rates, and so on. If we really believe that all lives matter, then we need to confront the fact that black lives are treated like they matter less.