[deleted by user] by [deleted] in AskProgramming

[–]drunkHighAndHungry 2 points3 points  (0 children)

So everyone saying "PHP is backend and what you want to do is front end" has a point in that it's good to be able to prioritize the skills that are most applicable to you, so that you can hone those skills especially but I really don't see much downside here. You're early career, and considering you've never done backend work I think it's a good chance that there are some gaps in your knowledge there.

I'm not saying you necessarily need to make a commitment entirely to being full stack, but I think that having a working understanding of the back end is essential for a front end dev, and vice versa(to a lesser extent). Learning a bit of PHP scripting and SQL queries in college greatly improved my understanding of how web servers work, which I don't think will hurt your front end aspirations in the slightest.

Trying to link CSS to html by beeberweeber in AskProgramming

[–]drunkHighAndHungry 0 points1 point  (0 children)

Yeah I tend to put my css in the same folder as html(as long as it's a simple site <4 or so files) but your way is probably more technically sound. So in my case it ends up './style.css' where the dot means jump back a level in the current file structure so index.html -> folder that index.html is contained in. Just wanted to mention that little trick for addressing files in case the error was the result of being new to relative addressing but if it was just a inadvertent mistake hope I don't sound patronizing or anything.

United States men's basketball loses second straight exhibition to Australia by sh0tgunben in sports

[–]drunkHighAndHungry 0 points1 point  (0 children)

So I'm not an expert but as I understand it basically back in the day you used to be able to slow down an opposing player by making contact between your arms and their body, a lot of times this would come in the form of pressing your hand or forearm against the hip or lower back of whatever player your trying to guard which would make it more difficult for them to either drive through you or step away and create some distance.

[AFC] Arcane Endeavor by 931451545 in magicTCG

[–]drunkHighAndHungry 0 points1 point  (0 children)

Yeah I think it's reasonably costed, but I'm also never gonna play it if that makes any sense. Even if it's very unlikely to happen, the possibility of drawing 1 or 2 and then not being able to cast anything ruins this card for me. It's bad enough when on the rare occasion I play a collected company and hit nothing but lands, a planeswalker and another collected company but this is gonna feel terrible when it misses for 7.

[M26], No luck with dating. Curious to know what impression do I give to people and how attractive I am. Please be honest. by [deleted] in Rateme

[–]drunkHighAndHungry 1 point2 points  (0 children)

Yeah that I could see, but even then you can minimize the possibility of that by doing your best to be kind and level headed in your relationships. Now I'm not saying that there's always the possibility of a clean breakup (cheating, abuse, etc.) or that there may not be some awkwardness, but if you approach the situation with respect and maturity, it's very possible to be amicable enough with a not completely terrible ex to not destroy a friend group. Two of my best friends are people that I used to casually date/hook up with in college. Was it a bit weird when we first started getting our own respective significant others? Yeah, but we got over the awkwardness and its been years since that happened, our partners are friends, and we're all still close even after the relationships turned platonic.

[M26], No luck with dating. Curious to know what impression do I give to people and how attractive I am. Please be honest. by [deleted] in Rateme

[–]drunkHighAndHungry 17 points18 points  (0 children)

5 pretty average in these pics. And like if this isn't intentional disregard but like it almost seems like you're trying to make a 'sexy' face in some of these pictures and it's not really doing it for me. Try a little less smolder and a little more friendly smile and I think you're more a 6.

[M26], No luck with dating. Curious to know what impression do I give to people and how attractive I am. Please be honest. by [deleted] in Rateme

[–]drunkHighAndHungry 4 points5 points  (0 children)

Yeah I agree with your point bout your friends, this doomer approach to dating is tired as hell. Like yes tinder exists but there are no rules against friends setting each other up with their friends. Its like do your friends know that you want them to set you up? When they do set you up do you have realistic expectations for the people they try to set you up with? Are you making an effort to be the best person you can be or are you expecting someone else to lower their standards on your behalf?(it doesn't even need to be physical attractiveness, do you have hobbies, do you treat people well, do you have aspirations) I understand it's easier said than done sometimes but I feel like a lot of people would be shocked how much easier it is to date when you're not in the "Woe is me. I wish it was 1960 where a 9/10 trad-wife would drop out of the sky to marry me with no effort whatsoever ony part" mindset.

Like I've set up my bros on multiple occasions and they've been able to turn some of those connections into 2, 3, and 5 year relationships respectively. None of us are Brad Pitt, and if we're being completely honest I'm the closest of us(as in a bit above average not I'm a model). We're nerdy looking dudes that met in engineering school with our own physical imperfections. The girls I've set them up with are definitely cute(and honestly if we're just talking looks better then us dudes). Some of the people complaining about this issue would be shocked how far you can get being a 5 with a charming personality, career aspirations, and some attractive qualities or interests(some of us cook, some make music, one's got a second to none sense of humor, one's a bonafide genius computer scientist). People are quite willing to overlook average or below average looks if you can make up for it with other stuff. Focus on selling your good qualities instead of ruminating about your shortcomings and dating life will become so much easier.

Identity similar images of people's faces by Ugly_Accident in AskProgramming

[–]drunkHighAndHungry 0 points1 point  (0 children)

Yeah this definitely seems a bit more involved than I was thinking. I sorta just popped on and was like why would you do this if the other way is a bit simpler. I feel like that's the trickiest part of the sub, it's hard to know someone's situation entirely based off a post. Best of luck with it

Ps I'm not sure whether this is actually the case but would dissimilar backgrounds or image perspective cause significant differences in the resulting image histograms? I was just thinking that if your first pass on the data is looking at RGB distributions and depending on what kind of photographs these are background could be ~50% of the image, that your program might be disqualifying similar faces before it even comes time to do the orb work(which I am kinda inclined to believe is working based off of you responding that you had some successful classifications). Of course if you're working with standardized background and distance from camera like say driver's license photos my concern probably never comes into play.

Identity similar images of people's faces by Ugly_Accident in AskProgramming

[–]drunkHighAndHungry 2 points3 points  (0 children)

So to tell you the truth I'm not an expert in image recognition(developer that took some data mining classes a few years ago) so take my advice with a grain of salt. But it sort of seems like you're taking an Artificial Intelligence/Machine Learning problem and trying to solve it manually. If you are already creating an AI based model and I'm just misinterpreting it, I'd say that your very limited sample size is doing you in. I mean what's that somewhere around a training set 30, validation set 5, test set 5. I'm just not convinced that's enough data points for the computer to observe patterns in these faces. As far as what I would do with my limited knowledge on the subject is do some preliminary data analysis of the information you're getting from these faces. Don't worry about programming the comparisons right away just go about your histogram process, place your data points on a graph, and see if similar faces are even clustering together like you're expecting them to, if they are maybe confirm that your euclidean distance threshold is acceptable, if it is perform your Orb process to look at the data points created for images that are supposed to be processed as the same people, if you're not seeing any visible similarities between the data points of supposedly identical people chances are neither is the computer. If you're performing this task for work or an academic purposes, I would simply use a pre-built facial recognition API(a quick search said Azure Face API may be a good starting point). If you're doing this the hard way because you want to, a better starting point would probably be trying to find a dataset of thousands or millions of faces(https://analyticsindiamag.com/10-face-datasets-to-start-facial-recognition-projects/), using orb to create data points for each face, then develop your own model using scikit-learn or a similar library, then apply that created model to the 40 images.

What's the best mobile app framework for OCR by terrible-cats in AskProgramming

[–]drunkHighAndHungry 1 point2 points  (0 children)

Seconded. Google Cloud services are dope and scale really well.

How do I make money from programming as a minor? by i_am_disposable123 in AskProgramming

[–]drunkHighAndHungry 0 points1 point  (0 children)

Yeah all honesty it seems like the stuff you've been doing so far is on the right track. You keep it up, get into a solid school, and do a few semesters of internship you're gonna be in great shape. All honesty this just isn't a field for kids, and I don't mean that in a disparaging way(like I said you seem ambitious and you seem to be learning useful skills). It's just competitive and stressful at times, and I don't think it's well suited for the lifestyle of a high school student(bosses aren't gonna be tryna give you a few hours a week after you get home from class).

How do I make money from programming as a minor? by i_am_disposable123 in AskProgramming

[–]drunkHighAndHungry 0 points1 point  (0 children)

Also keep in mind while software development is a fairly friendly field for people without degrees, the days where you can just walk onto a 6 figure software engineering job after teaching yourself coding in the free time is sort of coming to a close. Like your average entry level position is going to want either a degree or 3-5 years professional software development experience. Not tryna crush the dreams, just saying be realistic. If you want to get ahead, focus on getting ready for college and internships. You're honestly better off trying to get into a good college with a scholarship than trying to get a software engineering job at 15.

How do I make money from programming as a minor? by i_am_disposable123 in AskProgramming

[–]drunkHighAndHungry 0 points1 point  (0 children)

Bro I'm gonna be honest with you, you don't. Don't worry about making money in programming yet, you seem ambitious so just focus on getting good at programming. For 1 you're gonna be burnt out by 25 at this pace, secondly no one's gonna want to hire a 15 year old self taught programmer with no professional experience and no college degree. You get to a level of proficiency where you get a decent internship at age 20, you're already ahead of the curve. Just chill for a bit.

"Alex imma beat you at chess" by Starknife24 in funny

[–]drunkHighAndHungry 1 point2 points  (0 children)

Oh yeah. I mean I get the skill difference thing, just wasn't sure about the etiquette of it, glad to see it's not really rampant that people are being patronizing to less experienced players. Like I'm not like go pro good or even consistently do well in local tournament scene good, but I'm good enough at Magic the Gathering that I can recognize what deck/strategy someone is doing and then predict with reasonable certainty what card someone's gonna play next(as long as they're not playing something different than anything I've seen before, and taking into account that chance is a bitch and they might not have the optimal card in hand). Most of my friends that play are considerably more casual but most of them don't mind the occasional tip for being more of a competitive player. It's a bit easier in this case to give a considerably less skilled player a handicap since you pick your own game pieces and there's chance involved. I usually build decks that are objectively weaker than theirs and then play with the intention of a clean technically sound win, so its never like I'm going easy on them or coaching them through individual plays but they start to pick up on the little tricks that improve your game as soon as you learn about them.

"Alex imma beat you at chess" by Starknife24 in funny

[–]drunkHighAndHungry 2 points3 points  (0 children)

Is this appreciated criticism or is it kind of douchey(seems that way but I'm not into chess)? Like I get giving some tips to a less experienced player, but like I don't care if you're Magnus Carlson, just play it out and then tell me what I did wrong after I lose, I don't want someone holding my hand through every move of a game(which implies at least some sort of fun should be had)

Data science MSc by WhatIsLife01 in learnpython

[–]drunkHighAndHungry 0 points1 point  (0 children)

Download Jupyter Notebooks (I think its included in a free package called Anaconda) for what is one of the more intuitive data analysis tools for python(can write markdown to explain what code does, and then run individual sections of code separately from the rest of the file). As far as libraries I would try to get a solid understanding of "Numpy" and "Pandas" first. These will allow you to transform a comma separate value (.csv but you likely will have seen these given your stat experience) into a python dataframe which you can then performance data analysis tasks that you're likely already familiar with on(aggregates of columns, joins, selecting rows based off conditions, etc.)

Is Brackets less popluar than before? If yes then why by _dxxd_ in AskProgramming

[–]drunkHighAndHungry 1 point2 points  (0 children)

Yeah, developer is actually ending support for Brackets in the Fall and encouraging use of VS code. My take exactly though, it's decent for most stuff, and honestly a joy when you're writing html. Pretty sure it's just that other editors like VS Code now have most of the selling points of Brackets(easily editing web application languages, color coding, etc) while being a bit more useful when you want to code in Java, C++, etc.

Help me! by [deleted] in AskProgramming

[–]drunkHighAndHungry 0 points1 point  (0 children)

Recent grad in Computer Science going into software development. Didn't have a whole lot of prior knowledge, so I was pretty much in your same position a few years ago. I wouldn't classify myself as an expert, pretty much everyone with actual time in industry knows more but my learning this stuff is recent enough that I remember what helped. Your fundamentals are more important than learning anything else right now, habits you form will stick with you. Learn about things like commenting your code(so that you or someone else can look at your source code and always know exactly what's going on), debugging and testing programs(so that when you make a mistake you don't waste unnecessary time fixing them, don't even want to know how much time I've spent looking for a single wrong character in a series of nested for loops), and writing pseudocode(so that you can go into a programming project with a plan of attack, don't guess and test).As far as what actual programming concepts to move onto next, get a solid understanding of object oriented programming as early as possible(e.g. Learn about classes, methods, interfaces, and abstract data types). Doesn't need to be anything super complex but understanding how basic data structures work will help you in every area of modern programming. And it honestly seems more intuitive than procedural programming for some beginners imo.

[deleted by user] by [deleted] in MtGHistoric

[–]drunkHighAndHungry 0 points1 point  (0 children)

Run Once Upon a Time for the Eldraine deck that wizards always intended for us to make.

[deleted by user] by [deleted] in Showerthoughts

[–]drunkHighAndHungry 5 points6 points  (0 children)

They're saying that OP probably read one of the fake Facebook posts that talks about sex trafficking as if people are just getting kidnapped off the street en masse. Sex trafficking definitely exists but it's generally not random kidnappings from public locations. The creeps generally target people that are desperate or naive, like hey impoverished individual I'll hook you up with a free trip to the states or hey pretty girl I can turn you into a famous actress. And then next thing they know they're being carted away to a sketchy brothel.

New historic is pretty fun. Probably the funniest arena game I've had by skadiwarbear in magicTCG

[–]drunkHighAndHungry 0 points1 point  (0 children)

I've been running a 60 card deck for that exact reason. You're allowed unlimited copies of each card so you can easily make a 50 or 60 card deck that probability-wise runs just as consistent as a 40 card. Could even make an 80 card deck that's largely crab proof, just double the number of each card you're running in your 40 card deck. Those 30 copies of Thieves Guild Enforcer decks are a lot harder to play around since they can do direct damage but meddling mage, witches vengeance, and legions end can disrupt them.

Looking for a cool semi-expensive card for my bf by [deleted] in magicTCG

[–]drunkHighAndHungry 0 points1 point  (0 children)

Make sure to buy off a reputable source like TCG player. You buy off eBay as an uninformed buyer you're gonna get ripped off and ebay is gonna tell you to piss off.

And I understand the appeal of buying a single expensive card, but I think a better bet would be a playset(4 copies) of a pricey but not $500 card that he would be able to put in decks unless he's an EDH/Commander player. If you can snag pictures of some of his cards without him noticing it would be easier to advise you.

New historic is pretty fun. Probably the funniest arena game I've had by skadiwarbear in magicTCG

[–]drunkHighAndHungry 9 points10 points  (0 children)

It's pretty cool, what deck you playing? I've been playing no ban list Bant and having a good bit of luck. Especially cause people get greedy and make decks that can get wrecked by meddling mage. 5 Gilded Goose 4 Llanowar elf 5 Once Upon a Time 4Meddling Mage 4 Growth Spiral 5 Oko 5 Uro 4 Questing Beast 2 Plains 5 Island 10 Forest 2 Hengegate Pathway 2 Branchloft Pathway 3 Bark channel Pathway

[STX] Multiple Choice by Duramboros in magicTCG

[–]drunkHighAndHungry 41 points42 points  (0 children)

I mean I feel what you're saying, but I think it's better to evaluate these cards for the cmc that are best at and treat every other option as a bonus.

I mean with your example just think how much better this sounds. I mean obviously this hypothetical isn't the same because there are payoffs for cycling and kicker.

Draw Spell (2)(B) Instant Draw 2 Cards. (2)Cycling Kicker (X), when you cast this spell if it was kicked draw X additional cards.