No wonder you are unemployed. CS degrees are total dogshit.
he's right though? storing a floating point in binary form is more efficient and also requires the computer endianess to match, text files also need to do extra processing for line breaks.
>>1070733631) A text file is fundamentally a type of binary file.2) Images, archive, executables are all binary files.3) Java binary is a bytecode.4) Needless to say, that "binary files are designed to be read on the same type of computer" is just plainly false. A binary file (an image file) contains a header which tells you the endianness, the format, the level of compression, etc.
>>107073338java binary files are amazing. such independ
>>107073437>1) A text file is fundamentally a type of binary file.And opening a text file as binary will be more efficient than opening it as a text file, nice self own>2) Images, archive, executables are all binary files.>3) Java binary is a bytecode.>4) Needless to say, that "binary files are designed to be read on the same type of computer" is just plainly false. A binary file (an image file) contains a header which tells you the endianness, the format, the level of compression, etc.images are graphics files, once agian.... opening a graphics file as binary will be faster than opening it as a graphics file, especially if you only need data from the header like it's dimensions.
>>107073663Can't tell of stupid or sarcastic
Everyone knows the programming portion is filler and the math snd data structures is what matters. the pointy haired boss is just upset because students dong know load balancing on aws and shit like that.
what is a "type" of computer? somehow i doubt this is from a college CS degree and probably from a middle/high school weekly one hour computer science class.
>>107073917A type of computer is two computers would be two computers that are compatible with eachotherastonishing how autistic you guys can be when looking to nitpick something that makes perfect sense
>>107073960what school did you get your cs degree from so i know never to recommend it to somebody?
>>107073338I'm employed, i wrote code for a billion dollar company and now I'm the founding engineer of a soon to be billion dollar company.Self taught, no diploma, the best software engineers are all self taught and don't need someone to spoon feed knowledge to them.
>>107073338>>107075669Also i just looked at OP's pic, holy mother of jeet poop.
>>107075669>founding engineer of a soon to be billion dollar companySure Anon, dream on!But I agree with the rest.
>>107075771It's already worth 100M and we have a clear roadmap and predictability, it's basically doubling every 6M to a year currently.And yea regarding the pic imagine paying for that lol
>>107075669>i wrote code for a billion dollar companySo did ranjeet
>>107075863Obvious larp
>>107076943Ranjeet wasn't a senior engineer that reduced a process duration from 5m to 5s ie getting data from 300k machines.
>>107077719>>107076943Also we were in a team of 10, ranjeet wasn't.
>>107073338What school is that from? Was it really a CS course? It really looks like it came from some entry level course for undergrads to enroll to satisfy some bs category to get their GE done with in at some typical US college.
>>107073437A text file is a type of binary file, just like you are a mass of flesh and bacteria.Technically correct but useless to even think about. And no, being a pedantic ass about it isn't an usecase.
Did you know a letter is 8 bits
>Text Files and Binary Filespfft, plebs didn't even consider you can have bothhttps://www.youtube.com/watch?v=LA_DrBwkiJA
>>107073338He's wrong. Text files are binary files.
>>107073338I don't know what's up with the CS curriculum in some places for the quality of education to be this bad. In my Canadian university I attended, I was a teaching assistant for an operating systems course which I liked because it went in depth enough that one of the last topics was about how to make kernel modules in Linux. It was a local commuter school too, nothing special. I guess it varies mostly by professor too, one of my terms I had to teach under a professor who had just taught the course, he really butchered it and the students suffered and learned less than half than what they could have in the regular offering of the course. Is this more or less advanced than the education you guys received at college?
>>107073338no you are the fucking
>>1070778037, like god intended
>>107077791Knowing that text is binary data can absolutely matter (e.g. you treat text as an array and it breaks on Japanese names cause multi byte char). Maybe it doesn't matter for HR drones but CS classes shouldn't be this sloppy. The whole point is you understand how computers work, you're not winging it on assumptions that work until they don't.
>>107078107you're never going to get a promotion with that attitude
Keep in mind guys, that it's obviously intended to instruct Java students. They have to dumb things way, way, way down. Way down. No, more down than that. Keep going.
>>107077791>Technically correct but useless to even think aboutClassic amerimutt centrism. Europe uses ISO-8859-1 encoding. Windows uses UTF-16, and even when it can use UTF-8, it decides to screw up by inserting BOM marks.Are you seriously going to pretend your software will never handle text files from Windows users or a continent with 500 million people?
>>107077837seen through the eyes of humans obviously
>>107078985UTF-8 is very easy to tranlasteThat's why it's used
>>107078985i don't have to pretend. you have to speak ascii to use my software.
>>107073437>A binary file (an image file) contains a header which tells you the endianness,only if somebody put it there, retard
>>107078985>your software will never handle text files from Windows usersit better not
semanticsbin folders exist and you dont put text files in them you put what are known semantically as binarieswhoever wrote op curriculum should be killed thoughever
>>107079184it's not semantics. a binary file directly holds the values you will use in your program while a text file stores them encoded as text characters, which requires a decoding step but makes the file human readable
>>107079211>its not semantics>its semanticsyou are describing a jargonic/colloquial term of what is known to users as "a binary". server binaries, executable binaries, etc. files containing machine code that the computer can execute, known to most in the know as a "binary" or "binaries"a text file is still binary at its core but isnt a "binary" (in quotes as colloquial definition), encoding just abstracts that away, but it is still ever-present
>>107079248holy shit
>>107073437These, plus Java binaries are not platform independent but require a JRE (which is a platform) to be present
>>107079248stfu retard, the thread is about parsing text vs loading values directly from file
>>107079385its actually quite clearly about being a fucking retard
>>107079184oh yeah those eunuch bin folders that are full of shell, perl and python scripts
>>107079413shortcuts to binaries loaded with arguments
>>107079448or entire 2000 line scripts like all of the xdg utils, aalib-config, addgnupghome, backup, dozens and dozens of others, not even symlinks
>>107079477probably not dozens but hundreds because i have like 4000 files in /usr/bin
>>107079477they are "symlinks", that is correct
>>107073437>Java is a bytecode you can run anywhere>Have this shitty Java app we use at work>Needs an exact JRE version to run properly>Test upgrading Win 10 to Win 11>App will randomly NullPointerException all the time, with correct supported JREJava never fulfilled its promise.
>>107079481only some of them, most are not. at least on arch loonox.sorry, there is no loonox janny that forces packagers to not copy executable text files directly into /bin dirs.
>>107079493sounds like whoever wrote the program was a fucking retard
>>107073338No shit anon, everyone figured out that CS students are the Business majors of the STEM world. Everyone except (you)
>>107079497i wish package managers didnt exist and everything was static and contained and i could just unzip and run it anywhere