CS noob here but you're programming in C right?
I feel like most of my time programming is not spent…programming
Instead it’s what I would call “bullshit one-off IT problems.” I need a weird library and spend a day trying to track down the particular version I need because it’s not in any package manager, of course. Or I have to use some function that I do not understand how it works, nor can I track down the documentation for what the error code “E705” that it keeps popping out (c.f. the error codes hidden in LAPACK hidden in GSL), nor does ANYONE know how it works. Or I spend two days just figuring out how to get weird library X to work with my set of bullshit code, or how the library calls even work, or a version that doesn't require me to learn two or three other lirbaries just to call the one function I want to call. Or, my workstation is a Windows x64 distribution whereas the compiler I need to use only supports a Debian i686, but that’s O.K. because then I can cludgily call it if I manage to make an executable on the separate workstation—if I can manage to get the particular version of Debian the damn thing works on. Or my IDE breaks and gives some mysterious code (or I’ve even run across kernel faults) that I have to track down even though it doesn’t even come up on websearches, and I get sidetracked fixing my computer for a couple days. Or, I need to register some odd account on a website a client uses and take forever to figure out what should be a simple web-portal that instead has evolved 3 million widgets (imagine a screen just filled with more buttons that the cockpit of the space shuttle) over the past 30 years that all interact in the most obscure of ways.
When I actually finally get to the problem after a week, I end up only writing at most a hundred lines to solve the actual problem.
I wish I could only write a hundred lines to solve an issue, usually I end up writing a few thousand. The less code and the fewer dependencies you introduce, the more quality thing you create.
Btw, simple web-portal is an oxymoron.
Same, the second you step outside the standard and most popular libraries/frameworks you are in the middle of a gigantic minefield by yourself without an end in sight.
I loathe working with most programmers code, but reading their documentation (if it even exists) is even worse, things almost never work as they should.
Last week I spent 3 days setting up and trying to use a small library for a very specific use. The thing kept throwing all kind of errors that didn't make any sense. Found one single example of code in the documentation which was 2 years old, the only way to make this library work as intended was to use a 2 year old version in debug mode.
What language or ecosystem is that? I never have these issues when dealing with Node.js or pure C and simple focused libraries, but projects in Java and C++ and enterprise frameworks regardless of the language turn out abominable hell with conflicting dependencies every time.
Somebody in a chatroom kept pushing python as the best thing ever, I've only ever worked with C# and I think python seems like it's over-hyped and a meme.
It's never one language/ecosystem. It's whatever package/library/language that needs to be found and pulled together to get the project to work.
How can Python be overhyped when it's much less widespread? Personally I like how compact and readable it lets you script GUI and text file operations, but altogether it's huge and I don't appreciate its presence and sometimes requirement in base Linux systems in a similar way that C# is on Windows.>>47712
I don't understand, why are you pulling in those packages, libraries etc unless you're sure they work and integrate fine? Nobody should be adding languages to projects, the mention of "pulling together" such enormous third-party components clearly sounds like someone up the business chain is making disastrously incompetent decisions.
man i hated python for the mandatory indentation and case sensitivity. they really wanted every program to look the same way regardless of who wrote it. it's super popular in universities and just common usage though from what i've read
is any modern language case-insensitive? Why?
Our university had C# and x86 assembly. Python crowd here is mostly self-taught.
i can only think of ring
CS noob here again, I thought gc langauges don't allow pointer arithme
Fuck magento, what a fucking obfuscated undocumented piece of shit. And fuck this company for making an intern use it.
Has anybody here ever thought about writing their very own AI waifu?
You can probably make a program that gives the illusion of a waifu but we haven't figured out a way to make sentient AI yet. What's the point anyways? If you write the program then you know how it exactly works so it is impossible to fool yourself.
One of the main reasons why I got into science and programming was to make an AI.
Kinda like in the 1995 gits movie.
That stuff is fascinating.
I don't think anyone's close to achieving that though, although deepmind is doing interesting stuff.
If you're feeling incredibly irritated, anxious and frustrated at the start of learning how to code is it perhaps the wrong thing to try? Has anyone else started out feeling like this?
I am avoiding learning because of this but I want to do the course on Khan Academy before I completely give up on it
I started learning java when I was 13 coding runescape private servers, literally just doing trial and error coding until I understood what was going on. That felt really rewarding to me, I never got frustrated but I got excited because I was making cool stuff in runescape. I assume those khan academy exercises are boring though
They're not boring. Part of the problem is me so that's why I don't just give up yet.
What goes through my head is>I'm starting this at 25 so what's the point?>There's so much to go through and I'm an idiot
I can't tell if I'm having trouble because I don't like it or because of my self confidence issues
It seems unrelated to your interest in programming. You'd likely experience the same feelings towards any hobby or skill. Nothing else to do except push on and focus on the process. Perhaps once you observe your own self-efficacy, you'd gain more confidence and some relief for those pesky feelings.
I'm 2 weeks into a codemonkey job and starting to hate programming.
I used to like messing with the computer, writing small programs, understanding how things work behind the scenes, configuring my system etc. And now after this short period of being _forced_ to write code I'm actually adopting the idea that computers should "just work" and considering switching back to windows and using bugged, resource heavy spyware because it's too much hussle otherwise.
How to I prevent this process from going further and revert it back to normal?
I don't know if it's qualify as programming but given the fact this is the best place to ask I'll give it a shot. Do you guys know any good places to learn html? I've done the codeacademy course but you don't learn much in there. I was looking for something a little more extensive.
There really isn't much to learn, in html you use tags to specify how a document is structured. There's a lot and even web developers don't use most of them. It's pretty much a learn as you go thing.
Best thing you can do is learn the basic structure and tags (html, head, body, a, p, div…), try to write your website/document and google whatever you don't know how to do i.e html embed audio.
The mozilla documentation is usually good for html/css/js. I haven't went over any of the tutorials but if I need to check how X thing works I check here or the first stackoverflow google result.https://developer.mozilla.org/en-US/docs/Web/HTML
Thnks for the quick response wiz. I guess you're right, I'll just continue doing the css exercises from codecademy as there's lots of html in there and once that's done I'll try to build a small website.
I'm not >>49272
, but I too would like to work with HTML/CSS/PHP a bit. I did it a lot as a kid. I remember being able to just open a plain HTML document and then build up a page in pure WYSIWYG realtime with Firebug but that was like 10 years ago and I can't find an equivalent now.
If anyone working with it has any tips on how to set up a seamless work environment for such things, that would be cool. What browsers/extensions/programs to use so that I can say, edit the HTML or CSS in an editor in one monitor, and the browser updates the webpage using it in realtime or with a simple refresh in the other monitor.
I need a c# project idea. I want it to be something related to security/cryptography. Any Ideas?
You might make an encrypted chat program. Would sed be a challenge
That might be a good idea. Got any pointers for where to start with encryption programs for c#?
anyone know a good way to produce a vector image using several thousands points? like for example to draw a square you'd just have 4 points and they would be connected. i'm considering just simulating mouseclick/move and drawing one point, then a line to the next point, etc with a vector image editor
would be cool if there was a program that could just accept a list of x, y values
actually just information on a simple vector image format that is easy to understand would probably help if i can just create the image directly
Ahaha, I broke the gcc in my windows. Nothing fucking works, not Eclipse, not Netbeans, not Codeblocks. I may be a beginner retard but it shouldn't be this hard to build a hello world program. I mean I can use an ide with its own compiler like devC or an online one but I am still mad at these garbage software that's different from than everyone else online. Eclipse and Netbeans won't build binary files or whatever. Codeblocks keeps telling me that some dlls is missing when it's right fucking there. I even deleted my mingw and reinstalled it directly from the codeblocks installer. Nothing online helps. Maybe it's time to try out linux. Hope it's not some epic /g/ meme and is actually useful.
>>49489>hello world program
that's a lot of work for that, just pick up an interpreted language or something if you just wanna learn how computers work
I'm trying to do a rudimentary lightning system with c++ using sfml.
What I did was creating a vector of small black squares (5x5) that covers the entire screen and each frame I check distance to source (mouse in this case) and adjust the alpha accordingly.
Pretty simple, thing is, it annihilates the framerate.
How do 2d games usually do lightning?
I'm sorry, I didn't mean to reply.
they route computationally intensive sections of code to run on the gpu, and they also utilise multicore programming, and they use engines that have already worked out efficient implementations for stuff like lighting
most importantly though they cheat and use tricks. one trick they would use is just an overlay constantly positioned to the cursor to achieve that effect
Yeah an overlay works great but I was trying to something for when I have more than one light source.
Now I'm trying to learn about blending. Man there's so much to learn. At this rate I'll never be able to make anything.
it's a pain to do a lot of development tasks in windows
try with vscode there might be a plugin to compile C easily without installing visual studio
Why gcc? If you're on Windows it's much better to use something that actually works natively such as DevCpp, PellesC or even Visual Studio. But in case you really want to use gcc, you can always install Linux distribution inside virtual machine.
Wow using color blending was so easy I feel retarded because someone had to actually tell me how it was done. And I struggled all afternoon with this.
I don't really just want to learn computers. I want to be kinda serious. But it really is a lot of work. I though beginner's linux would be easy but I still get errors I wasn't in the mood to deal with.>>49510
Thanks, but I already restored my system and got codeblocks to work. It's still a pain to set up some other things though. Now I finally understand why people hate windows.>>49513
All the "big name" IDE that's popular in the industry usually use gcc though. Eclipse, Netbeans,and Codeblocks use an external compiler which is usually recommended to be MinGW. Visual studio could work but I don't really want to use them unless it's for .net languages.
Been working through "Automate the Boring Stuff With Python lately. Its great so far
played with inform7 today after going through the documentation. all i can say is jesus christ. i dont get these programming languages using 'natural language'. it says to be intended for programmers interested in writing, and writers interested in programming, but i dont think syntax has ever been the most difficult part of learning most languages. everything is a god damn sentence requiring. instead of briefly checking over a syntax guide, you are required to learn a completely different way of speaking english. everything has to be written very specifically. instead of making a quick game it's become more or less a prescriptivist grammar lesson. natural language processing, at least whatever they are using, i NOT developed enough for this to be anything but a chore. it still seems really cool and powerful for text based simulated interactions between things, and i'll continue, but it's not fun
Do we have any wizzies with a strong interest in security?
just wanted to say thank you for this post. different wizzie than the one you replied to and i'm reading it almost a year later but this is a great book and it's helping me a lot. thanks.
Yes. I studied different things when i was at university, so now that i'm an unemployed neet im reading about it and might try to get some certification/s