- TabMerger v1.5.0 has a revamped User Interface & print friendly (to PDF) functionality. It is open source and supported by growing community. Check it out, leave a star/review, and share with others . See comments for relevant links.
- If there’s any debugger that can show all the values of an array in a clear easy way? Best debugger for c? Why?
- How can I actually use Huffman Algorithm to compress a text file?
- Question: CS degree in College vs. Open source CS degree, which do you prefer
- Started making videos while learning .
- (Advanced) Algorithms & Data Structures for Range Searching
- Students Group for computer science
- Mathematical model for problem-solving in Object-Oriented Style.
- I graduated CS and I'm now working at a tech company
- Quadric Computers
Posted: 09 Jan 2021 11:14 PM PST |
Posted: 09 Jan 2021 10:14 PM PST |
How can I actually use Huffman Algorithm to compress a text file? Posted: 09 Jan 2021 02:38 PM PST Hi! I am attempting to compress a text file. I use Huffman Algorithm but there are some key points I couldn't figure out or maybe the ones I think I did are not efficient or wrong please help me through: "aaaabbbccdef" when compressed gives this encoding
```11111111010101101101000001100``` is the encoded version. It normally needs 12*8 bits but we've compressed it to be 29 bits. This example might be a little unnecessary for a file this small but let me explain what I tried to do. We have 29 bits here but we need 8*n bits so I fill the encodedString with zeros until it becomes a multiple of eight. Since I can add 1 to 7 zeros it is more than enough to use 1-byte to represent this. This case I've added 3 zeros 11111111010101101101000001100000 Then add as binary how many extra bits I've added to the front and the split into 8-bit pieces
Turn these into ASCII characters `ÿVÐ`` Now if I have the encoding table I can look to the first 8bits convert that to integer ignoreBits and by ignoring the last ignoreBits turn it back to the original form. The problem is I also want to include uncompressed version of encoding table with this file to have a fully functional ZIP/UNZIP program but I am having trouble deciding when my ignoreBits ends, my encodingTable startse/ends, encoded bits start/end because a seperator like nullCharacter might also end up being in my encoded string as well. I thought about using null character but there is no assurance that Values cannot produce a null character. [link] [comments] |
Question: CS degree in College vs. Open source CS degree, which do you prefer Posted: 09 Jan 2021 07:46 AM PST I'm having trouble deciding if I should attend college and major in CS or just take one of these resources listed below and self-teach myself. Edit: let me clarify my question. Would I still be able to obtain the same amount of knowledge through an open source cs degree? There's a possibility of doing both as well. [link] [comments] |
Started making videos while learning . Posted: 09 Jan 2021 12:03 PM PST What is Supervised learning , Unsupervised learning, semi-supervised learning and Reinforcement Learning ? I have explained the concepts with appropriate examples for simple understanding .Hope you like it.. 😀🧡 : https://youtu.be/Xp1UercObLE [link] [comments] |
(Advanced) Algorithms & Data Structures for Range Searching Posted: 09 Jan 2021 07:32 AM PST |
Students Group for computer science Posted: 09 Jan 2021 05:11 AM PST |
Mathematical model for problem-solving in Object-Oriented Style. Posted: 09 Jan 2021 04:56 AM PST Greetings! I think designs and engineering of algorithms can inspire a lot from solid mathematical concepts, axioms, and techniques (For one example, set theory has inspired a lot of computational structures). I've seen that functional programming is well inspired from "pure" mathematical syntax. Thus, solving a problem in that system can be reconciled with mathematical approaches. However, I'm not too sure about a good foundation on Object-Oriented style. Like how do we express a set of methods under a class and define the algorithm under each method in the Class, how do we define super or subclasses? Is there some mathematical syntax for doing those? I want to link mathematics with concrete computation, and I think both reconcile with each other very well. (edit : I've found this article : https://scholarship.rice.edu/handle/1911/70199. Would love to know your thoughts along this topic) [link] [comments] |
I graduated CS and I'm now working at a tech company Posted: 09 Jan 2021 04:55 AM PST So I'm currently working as a software engineer in a fortune 500 tech company. I specialize in Java and C#. Don't get me wrong, I excelled in all my majors got a scholarship and everything. It's just that, the company I'm in, is currently using Django/Python. Django/Python is entirely new to me. I've been studying it for a week now and for some reason I just can't get wrap my head around it. Not that I don't understand Python, it's just, I feel like I lost my fire. Programming was fun a few years back. Now all I see are words with a bunch of lego looking colors. The reason why I excelled in college was because I used to study 24/7. I tried to study the whole syllabus in the first week of school. I started the projects really early. And stuff like that. I was always a slow learner that's why I had to study harder and do things earlier just to pass up as average. Now in the corporate world, everyone's really smart and they're asking so much from me because of how they see me and the achievments I've accomplished. Honestly, I'm not all that. I mean it is true that I got featured in the news for my earthquake application that was sort of incorparated in the government and it is also true that I was the best digital speaker of 2020 that was held in Japan. I don't know where I'm getting with this post. All i'm saying is, i wanna kill myself because working so hard and giving up your free will felt like it wasn't worth it after all. [link] [comments] |
Posted: 09 Jan 2021 06:22 AM PST We have been working in computer that only understand which include 0's and 1's but what would happen if we make computers understand 0,1,2,3. Then rather than having 2 bit store 3 values we would be able to store 17 values and that could magnify the scale of our computational power. Some people not know but that cause of 1's and 0's is because of those microtransistors in your computer, either there is current or there isn't. The actual cause of why we aren't doing is because of the uncertainty of those electrons flowing in those transistors but if we could Create a device that only allows to let an uniform flow of electrons then this could work........ [link] [comments] |
You are subscribed to email updates from Computer Science: Theory and Application. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment