Jump to content

De-Wohli

Member
  • Posts

    22
  • Joined

  • Last visited

Awards

This user doesn't have any awards

About De-Wohli

  • Birthday Sep 11, 1990

Contact Methods

Profile Information

  • Gender
    Male
  • Location
    Germany

System

  • CPU
    AMD Ryzen 5 2600X
  • Motherboard
    MSI B350 GAMING PLUS B350
  • RAM
    16GB G.Skill Aegis
  • GPU
    Palit GeForce GTX 1050 Ti Dual OC
  • PSU
    Sharkoon WPM700 Bronze
  • Keyboard
    Logitech g910
  • Mouse
    Logitech g502
  • Operating System
    Windows 10, Debian

Recent Profile Visitors

355 profile views

De-Wohli's Achievements

  1. Not too sure about the readable english part there @wasab most languages can get very confusing. Simple Bubble Sort: C# public static class BubbleSortMethods { public static void BubbleSort<T>(this List<T> list) where T : IComparable { bool madeChanges; int itemCount = list.Count; do { madeChanges = false; itemCount--; for (int i = 0; i < itemCount; i++) { if (list[i].CompareTo(list[i + 1]) > 0) { T temp = list[i + 1]; list[i + 1] = list[i]; list[i] = temp; madeChanges = true; } } } while (madeChanges); } } Python 2 def bubble_sort(seq): changed = True while changed: changed = False for i in xrange(len(seq) - 1): if seq[i] > seq[i+1]: seq[i], seq[i+1] = seq[i+1], seq[i] changed = True return seq Yes the python version is shorter but I wouldn't say much more or less readable than the C# version above. Personally I don't think the one is significant better readable than the other.
  2. Shouldn't be too big of a problem though why not use a live version Handy persistent bootable usb guide
  3. Can't answer about Java specifics but streams are what the name suggests. It's a "stream" of data. Basically imagine it as being like a tape. It contains all the data and you can scroll through it like you would with tape. pseudo code! var stream = File.Load(path) //opens the file stream var data = stream.Read(0,100) //start at 0 read 100 bytes There can be different type of streams i.e file streams or memory streams, but in the end they behave pretty much the same. It's a stream of data you can then read byte for byte. For example, if you'd like to extract data without the header, you can simply load the file in a stream, and scrip the header size and read till file end to have everything except the header. Hope that helps clearing what's a stream. Feel free to ask if you still didn't fully understand it (would be understandable I suck at explaining)
  4. Exactly this, why reinvent the wheel. However if you under no circumstance can use tables, you can achieve the same by using DIVs and align those via CSS with display: grid. But I honestly can't imagine a reason not to use tables here. But be aware, achieving table like behaviors with CSS is really tedious.
  5. While we tend to agree, it's less illogical if you think about what `range()` does. It acts like a `for(i = 1; 1 < 101; i++)` that's pretty much exactly how you would deal with it in most C languages or simply use `<=`. Since that's no possibility in Python you have to do it that way. But here we are talking about python quircks that can make it harder for beginners. Another really hard to grasp concept, that throws me off even more than that kind of stuff, is the way `try; catch;` is used in Python. Lisp is a dual edged sword with it's S-Expression syntax. Yes it really helps understanding the stack mentality but it can be quite confusing for beginners and possibly a little hard on people who never even seen it.
  6. +1000 points just for that, web is the worst. Damn pixel pushing and janky ass JS stuff. If python would be strictly typed than yeah it's decent as a stepping stone, specially because you don't need compilers or IDEs, you can use what ever you want. But I think stuff like IntelliJ in proper IDEs and the better error messages you get in for example C# gives them still the headstart. Although it's arguable that IntelliJ can be a bad thing too and can enforce bad habits. And yeah I know you have pylinter and alikes but still, personally think that in case of C# the VisualStudio is overwhelming at first glance but really helps understand the code you're writing, if used correctly (don't just auto fix but really think about the suggestions). As for syntax and alike I think as difficulty for entry there isn't a big difference between python and C#, they're both very easy to get into. But depending on importance on various topics it can be hard to choose. It's up to personal focus i.e. get started quick and easy (python) or get started thoroughly and slow (C#). Personally I think it's "more future proof" to get started the thoroughly and slow way and understand what's really happening under the hood. As for the basics like file access, loops etc., they're both equally easy to get started (maybe except file access since C# will get you started with streams right away more or less)
  7. And here lies the problem. There are two ways to learn something, the "quick and dirty" way which includes learning on the fly, and the "supposed" way which includes tedious learning of mechanics. Since OP already mentioned he want's to go deep and showed interest in the Write great code books, I think the best fit would be a strictly typed, classic language like the C based languages, Java or alike. This imo will allow to deeply understand the basics of programming. I personally think Scripting languages are "quick and easy" ways to solve day to day problems on the fly while the classic programming is more fit for "proper" software development (proper cause I fail to think of a more fit word). (most) Scripting languages like python teach nothing about what is a number (Computer Science wise), why typing IS a thing, concepts that are so basic but important, many people forget about them and run into deep issues during programming (why can't i use method X for attribute Y, i.e. you can't add strings, you can concatenate them) differences between value and reference types. How things are handled in memory, pointers and more.
  8. @roccaraso did it failed every time to collect information? I'm honestly not too sure but the dumpfile should be written anyway even if it's stuck at 0% since it collects for error reporting and not creating the dump file but I can be wrong on this one. The app I suggested will list all crash dumps it can find.
  9. To be clear, you just reformatted your PC, no Hardware Upgrades or alike? This issue commonly occurs with OEM licenses after upgrading hardware.
  10. @roccaraso antivirus software can cause those types of Issues. Indicates that some program tried to acces some area of the memory that either doesn't exist or has been freed / locked(afaik). It really does sound like an Driver issue. Try to have a look at the BlueScreenViewer software I mentioned earlier maybe that'll help you identify the bad guy.
  11. The problem here is, specially with suggesting python, there's a pythonic way of things that really don't translate well into other languages and vise versa. You can solve stuff in python by using ways you've learned in other languages just fine (not recommended but at works) while python has so many gimmicks that it really hardly translates the other way. But I agree on the importance of the basics but still would recommend a Strongly typed language for this, specially according to variables etc.
  12. I'd still assume that's some sort of a Driver issue to be honest. Have had the same problem and using BlueScreenView I noticed that the error was caused due to networking stuff and it turned out to be the Wlan Dongle, because after I stopped using it, I never got that Bluescreen again. It can be really hard to find that kind of stuff. A possible solution could be using BlueScreenView and check what was happening, maybe that helps to narrow it down.
  13. Exactly as @Dat Guy said, you want to look into Electron it includes the chromium browser and works with Node.Js. It basically allows you to create webapps that run on the computer as exe file. If I remember correctly Discord for example is using Electron. You can work with it basically the same way you would work with any Node.Js application but be aware of the Performance impact, specially on small projects since you'll always have to include chromium etc.
  14. @uzivkovic997 E books are a great source of knowledge too, If you find good sales on humble bundle or alike you should consider them. Write Great Code series is something I can really recommend. Also never underestimate the power of the Microsoft Docs page when it comes to C#, Microsoft entry guide. If you choose to go with C# you'll find everything neatly explained there, just remember to use the english resources, other languages are often automatically translated.
  15. That doesn't sound like Netflix Quality at all. I live in Germany and have the UHD quality subscription. The quality is really good for me. I've had similar issues on my TV using Chromecast but that's an issue with the device, on PC everything looks really good. Are you using Wireless? That was a source of issues previously.
×