AboutI'm a baby programmer, please don't yell at me.
SkillsPython, starting to get familiar with C#, unwanted fragments of C++, and faint memories of JS.
Joined devRant on 1/10/2018
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Maybe not as much a question as a request for advice.
What I'm looking for is a free website hosting service that preferably lets you import your own source code. If it's got paid services for access to things like your own custom url and such, that's just fine. :) It's a for a hobby group project with people that aren't necessarily programmers in any way.
What we've checked so far is just Svenska Domäner, which have a site builder tool, but the custom source code feature is a paid service.
Since there's so much to choose from in this field I thought I'd check with some of the people I trust the most in these kinds of things. :) Any good suggestions?16
So I've got this old external hard drive that's on the verge of retirement. I bought a new one to move the content of the old one to, but it's a lot of data. (1+ TB)
Does anyone know of a good program that can do that reliably?28
Long time, no rant. Why is facial hair so difficult to control? How do people even grow beards without looking like hobos all the time? Do I have to make some sort of sacrifice to a dark and malevolent entity?
Believe me, it's so much easier to keep on top of shaving body hair than taming face fur. Especially because your facial hair is, you know, on your *face* which means it's very visible. You can't hide it if you mess up. Unless you decide that wearing a balaclava is a good idea when going outside, like when going grocery shopping. Generally that isn't received too well though.18
I need some help with advice regarding getting new headphones, as my current ones are quite literally about to fall off my head. Thing is that I have a hard time finding what I want, and even then be able to determine stuff based on reviews.
My current ones are a pair of Turtle Beach Ear Force Z60, which is my first headset to have surround sound. They also sit very comfortably on my head without really pressing on my ears at all, and the audio when playing games is nice and clear. Unfortunately that has now set the bar pretty high when trying to find a new pair.
I tried out a pair of HyperX Cloud II, but I can't configure the settings and the surround sound doesn't seem to work at all (there seems to be a "gap" between one o'clock and three o'clock, so to speak, as well as between nine o'clock and eleven o'clock). I tried listening to a 7.1 audio clip, but the only ones in the right positions were center front and left and right fronts. The left and right sides, and left and right rears were all at the center point. And besides that the audio is unbalanced and just... not quite muffled, but not clear as with the old ones.
Thing is also that I don't know crap about audio stuff, like if it's got to do with me doing something wrong in terms of drivers or hardware or something, or if it's actually got to do with the headphones themselves. I've tried to find info but there's just none to be found, it seems, at least nothing that works. :(
Currently I'm considering trying out another pair from Turtle Beach, but it's so hard to trust the reviews. I mean, like the Z60 has pretty halfassed ratings, but I personally like them a lot. :/
Does anyone have any advice at all? Whether it's recommendations of headphones, or ideas on things I could try on my end to make things work.
AND, side note; I don't care for any comments along the line of "surround sound is bullshit, just stick with stereo, it's better", because 1) I don't agree nor do I care, and 2) it's unconstructive as shit.
I'm thankful for any ideas or advice you guys may have. :/11
I need some help with TCP connection related stuff in C#. I need to figure out how to make a very basic connection between two endpoints and manage to send data between them. In my case it's a "server-side" program and a "client-side" program.
My problem is that I don't know how I go about making the client program listen for response after sending data. Do I need to have a TcpListener on the client side too? In which case, how do I use it?
Basically, I know how to make the client toss the ball and how to make the server catch it, and I think I know how to make the server toss the ball back, but I don't know how to make the client catch it. :/3
When you're doing a generic programming course, and you're passing shit left and right with flying colors until you hit the one assignment where you have to write in human-speak...
So, in C#, are there any tips or guidelines as to how to write "clean" multiline strings? I mean, imo it doesn't look as neat when the code looks like:
static string kindOfLongVariableName = @"First line of string.
Second line of string...";
With the first line sort of hovering on the side. What I'm used to is with Python where you can just:
variable_name = """'\
And use the '\' to escape the newline, but that obviously doesn't work in C#. Can anyone point me in a direction to start looking? The docs are a bit confusing and not very beginner friendly. :/20
Long time, no rant, even though this isn't very much of a rant. Just started the second course that follows the one I've ranted about previously (thankfully with a different school and teacher this time) and THE TEACHER KNOWS PROGRAMMING!! BLESS!!!! I'm so happy I could cry.
This course is in C# instead of C++ though, but I still know more of that than I did C++ when I started the other course.
Yesterday was the first day of the course and he responded within an hour, explaining how mathematical calculations with chars work. (Which is unfamiliar to me still as I've mostly coded in Python.) Even though I'm not very familiar with C# yet I'm so looking forward to this course.1
Why the fuck is the default installation of Python on Ubuntu 18.04 incomplete and missing *default* modules? And WHYYY are there no fucking instructions anywhere on how to fix this??
I was hoping to be able to sit with my laptop and do stuff instead of in the dark corner by my desktop computer. It seems like I can never get things to work on my laptop, and I feel like I've either got the crappiest installation of the OS or that I'm just so stupid that no one else ever had my issues. Or, if I do find people who had the same issues, not a single one of the solutions that worked for literally everyone else ever works for me. 😐8
!dev but MOTHERFUCKING HELL if it ain't a rant.
You know something I hate? Advertisements in the mail. And I mean, here the mailmen generally respect it when you put up a sticker saying "No advertisement, please" but apparently some people (if they even deserve to be called that) which aren't mailmen don't understand that.
Now this probably wouldn't be such a big deal if it wasn't for the fact that the "advertisement" is for the nationalist political party currently in the parliament. They like to sugarcoat themselves by saying that they're "friends of Sweden" as if that somehow masks their policies where they essentially (if you can understand politician-speak) include things like something a bit *too* resemblant of fucking labor camps.
Sure, I'm a pasty-white guy but their shit also includes LGBTQ minorities, to which I just take violent offense. If I had manage to catch that motherfucker putting that shit in my mail slot I would've made sure he won't dare come back here again, you can be sure of that.
Just put up a note on my door, right above the "No advertisement, please" sticker, saying in big letters: "'NO ADVERTISEMENT' INCLUDES RACIST PROPAGANDA!" Maybe that will get the message across.
It's taking so much energy to just make this into a coherent text at all and not just a neverending stream of capital letters.
ALSO: No matter your opinions, I do not want any type of political discussions in the comments. Not looking to start a shitstorm, just using the platform for its intended purpose.2
I want to properly get into other programming languages like Java and C#, but I keep going back to Python because it's so much more familiar and I'm comfortable with it. :(
What do? Do others have this kind of problem too?16
That moment when you're on a bus and have idle thoughts just to pass time and catch yourself thinking "I could never imagine <person> ever hurting anyone, it's just not within their scope."
It's happening, the transformation is happening... I'm turning into... a PROGRAMMER! 😱😱
I think I want to fucking cry...
Continuing on my previous rants, for the final exam I may or may not have to use Dev-C++ as IDE. Took a look at cplusplus.com, at an article from *2011*:
"Dev-C++ hasn't been updated since 2005."
I fucking swear, someone needs to nuke that school...10
It really sucks when you realize that you're gonna end up despising a programming language just from having an extremely shitty first experience with it.
About ten weeks ago I was forced to, despite that I was SUPPOSED to be able to choose the language myself, to learn C++ for this course when having literally not a single fucking bit of experience with it whatsoever. And that's pretty soon after already having a beyond shitty experience with the very same school AND the same teacher. (The school I study at "rent" courses from other schools, this is one of them.)
I have the final exam on Monday and I'm allowed to have a book on C++ with me to use as reference, as (I'm pretty sure) I won't have internet access on the computer I'll be doing the test on. I ordered a book with express shipping to be here during this week, Friday at the latest. Never arrived. Called customer service at the book store and apparently it was supposed to have shipped yesterday but hadn't and they didn't know why (fucking awesome girl at the customer service btw, 11/10 quality service). So we cancelled the order, sure, we get the money back, but I still won't have a reference for a language I barely know at all. (No need to mention libraries, did that, dead end.)
Oh, and about that school and that earlier experience I spoke of, because if their inability to do their motherfucking jobs, earlier this year I ended up struggling with money for a couple of months. I really want to fucking strangle these assholes and have them pay my fucking bills to cover the shit that THEY caused.
TLDR; I'm gonna end up hating C++ because of shitty fucking teachers at an even shittier school.6
First, a little bit of background info: I'm currently studying a programming course (Where I was *supposed* to get to choose language myself, but was forced to do it all in C++ which I had no prior knowledge of, but that's a rant post of its own.) and the final exam is coming up. I'm allowed to bring with me a book on C++ for this, so my question was if there are any good recommendations?
Primarily I'd prefer something that is as close to a physical copy of documentation stuff as possible, since that's what I'm going to need the most.
The books I've been looking at so far (and that look the most promising) are "The C++ Standard Library" by Nicolai M. Josuttis (ISBN: 978-0321623218) and "The C++ Programming Language" by Bjarne Stroustrup (ISBN: 978-0321958327). Thoughts and/or opinions? :/9
Since I see a lot of mixed opinions all over the place; is Python considered to be a "douche bag" language? :S
It just makes me feel self-conscious since that's the language I'm by far most familiar with... :( Should I consider focusing on another language instead?9
!dev, sort of
So, apparently my Play Store settings get reset when I restart my phone, so Google decided to update Google Keyboard to Gboard for me (and god-fucking-dammit, that shit is absolutely useless to me). I can find older .apks on websites like APKmirror for Google Kinstall but they won't install, saying that "it seems like the package is corrupt". I'm not sure exactly why this might be happening, but according to APKmirror’s FAQ it might have something to do with cryptographic signatures or that a newer version is already installed on the device. Gboard is disabled and I assume that should be enough for that, and I don't know if it would even detect it as the same app in the first place, so my best guess is that it’s got to do with the former which is why I'm turning to you guys.
Does anyone have advice for a solution? I don't have any problems getting another keyboard either if needed, but I would really like something that both has separated layouts per language, as well as a similar swipe-to-type function, since excessive tapping really aggravates my CTS. :/ Any suggestions?1
Kind of a followup on my earlier rant, it seems like my "teacher" doesn't even really know C++. He replied to me that "the code doesn't work", which is probably because the code needs the compiler flag for c++11 (I barely even know what I'm talking about here), which he would've known *if he looked at the error message*?!
Have I mentioned enough yet that I STARTED LEARNING C++ LITERALLY ABOUT 2.5 WEEKS AGO?!?! OTL5
The frustration is real when you have an assignment in a programming course that you immediately know the solution to and could bang out in less than two minutes with Python, but you're instead *forced* to use C++ which you only started learning two weeks ago... :I2
Only half dev-related but AAAAARRRGGGGHH it sure as hell is a rant.
Doing a programming course, and I'm supposed to provide flowcharts of the code. I just spent over TWO FUCKING HOURS working on one in LibreOffice Writer, saving in between to make sure it didn't mess up. But of-FUCKING-course as soon as I do the final goddamn save for the chart, it just magically disappears. My hate for word editors burns with the intensity of all the fires of hell, and almost even rivals my hate for M$...2
I feel like we need an agreed upon expression or marker to signify sarcasm. (Since the internet is still severely lacking in the ability to textually communicate tone of voice.)
I know that several people have used the "/s" from reddit, but I assume that people have mixed feelings about adopting stuff from reddit for various reasons.
Should we keep going with the "/s" or do we want to come up with something else? (Maybe something computer-nerdier even?)
Should we bully dfox and trogus into adding a sarcasm-checkbox-feature to posts and comments?
Go ahead and share suggestions and ideas. :)1
A recent post by someone else regarding dial-up made me wonder: Why did it have that specific, trademark noise when connecting?? What was the purpose of that? It's not like it was useful or anything, right?6
Does anyone know if there's a list or something with examples of bad variable names? As in ones that shouldn't be used because they're already used namespaces and such?
It would be awfully convenient in situations where you're not sure if it's an okay name or not. :/
I have a couple of small ones, but one that stands out is actually fairly recent.
It was an independent project, more for practice than anything, but it involved fetching daily horoscopes from an RSS feed and showing it to the user upon request. I first just made it as a command line program,using some new modules I hadn't used before, and seeing everything work smoothly and neatly printed out made me super excited.
Not too long ago I even made a proper GUI for it using Tkinter, which also works nicely. :) Nothing so far has beaten that first excitement upon finishing the command line one, though.
So there seems to be a lot of discussion lately about the closing of background apps on Android. Now, I expect a decent amount of disapproval from this, but I happen to be one of those people BECAUSE I've experienced that it drains my battery more to have them running.
Since I genuinely trust y'all quite a lot compared to how much one should trust the internet in general, I'd like some more proper and reliable info (or as reliable as it can get) on this. If I'm indeed wrong I want you to convince me.9
!rant but I'd like some advice.
This summer I'm taking a brief course on programming, very generic and mostly just to get it officially on paper, and as of what I can tell a lot of it will be stuff I'm familiar with. Basic syntax, loops, logic, good practices, etc.
However, I get to choose the language I get to work in myself. I assume they have a set of the most commonly used ones (couldn't find a list of them though) and I was wondering if anyone had advice on which to pick?
I already have a base of decent JS and Python, but I feel like it might be good to pick something other than Python? Because even though I love it to bits, I do realize that it's not the optimal language in all situations. What I'm pondering is Java or one of the C-languages, but again, I'm not one of the pros here. Any recommendations?4
With Tkinter, when you have a menubar cascade, does anyone know how to align the accelerators to the right? Or if it's even possible?
Link to explanatory screenshot: https://i.imgur.com/oB1g5kv.jpg