Jump to content

DevBlox

Member
  • Posts

    251
  • Joined

  • Last visited

Everything posted by DevBlox

  1. Well yeah, that's what I meant. You probably have not heard/used Windows Core, as in the product Windows Core. It's basically a (almost) completely GUI-less Windows made for servers.
  2. You can base it on something. Like Linux (buut then you're basically stealing Steam OS's idea, you even mentioned it), you won't be able to base it on Windows properly, as it is very tricky. It's not like Linux, you can't just take it and rework it thoroughly, Microsoft won't let ya, no way. Your best bet is to take Windows Core and work on your own GUI (with hookers and blackjack), then you just need to pretend it's a full OS, not just a GUI on Windows Core. Your second best bet (if Windows Core would fail, which it likely would, I bet it's stripped of DirectX and any other API's you need, because it's made for servers, not desktop or media center, Microsoft is not going to help you there, no source code for you!) is to just write an application onto Windows, auto-start it and pretend it's an OS. You could make it into a proper product and sell it, or create a company around it. You want to make it from scratch and you don't even code professionally? You need to be able to code at a PROFFESSIONAL level and you need to study computer architecture thoroughly, Assembly and C knowledge are vital. Then maybe you will be able to make a simple OS that could even have a basic shell. A proper OS is no one man's job, it's a result of many teams of specialists working on it for years and years. Dabble around with Linux kernel source code. Yeah, that's how an OS looks like at the core. Good luck with at least duplicating the functionality.
  3. What school and website is that? That thing needs to be defaced for sure.
  4. Me ranting: This thing takes years, not days to master. You can become quite good at coding in a year. But coding is the easy bit in software production. Later, you will need to master many types of technologies, know their pros and cons not because you read about it, but because you tried and stumbled upon it, reading helps, but you will never fully understand if you did not experience. You have to be a sort of an architect, know patterns and their drawbacks, paradigms, good practices and so on. Then after a year or two comes learning to adapt to business needs of the client (if you are freelancing for example), imagine talking to a complete noob or even an idiot on what should the product look like and do, if you stumble on a know-it-all type, it's going to be a nightmare. Then you have to create it, or modify an existing one in often cases, which means you may have to learn something from scratch just for that one case, even if you detest that tech or language or anything. Then, working in a team of varying experience (if you work in the enterprise), you will get pushed around a lot, your code will be highly frowned upon and you will have to redo things a few times till you get the grip on proper enterprise code, also you will get to read millions and millions lines of code, often this is your only documentation. Small teams in startups tend to be a bit smaller and nicer to work in, but that comes at a price of less social benefits and lack of stability. TL;DR: If you're serious about software development, you need a lot more time than that to learn what you need, this is not a get a well paid job quick scheme like some people believe. You need to work your ass off for a few years. If you're doing this as a hobby, then you will be just fine with the time you can spend, but you will need to be VERY patient if writing great working software is what you want, Python is a great tool for a lot of things, good choice in that case, you won't need to learn another language.
  5. Yes it does, but don't forget to use the proper ones, I'm pretty sure there are versions for both Windows and Linux in there.
  6. MinGW is a weird beast in that it is ported GCC, it is adapted for Windows and will only produce executables for Windows, cross-compiling with it is not possible in my knowledge (there is one version of it on Linux, allows to compile to .exe) . GCC on the other hand is more versatile, it's available on a range of systems, I have cross-compiled to ARM with it in the past, there's usually a ready compiled binary version of the compiler that makes executables for the target system. It's best that you just compile it on your host machine then, to avoid needless struggle. But if it is needed then use those Cygwin provided compilers, those are GCC and they can compile to Linux executables. EDIT: To clarify, MinGW is more like an analogue for GCC on Windows than actual GCC.
  7. You can't do this with the same compiler. You need one that is compiled on another OS entirely (just compile on that OS way) or is compiled and configured to produce executables for other OSs exclusively (that's what a cross-compiler is). I only know that you can do the latter with Cygwin if you want to do this from Windows to Linux, because there are tools specifically for that. Not sure about other OS's as I'm not familiar with them.
  8. You know C# already, so you're good. C# is well suited for enterprise and it has plenty of libraries to go around, also it's much better than that ugly Visual Basic code. It does not really matter which one to use in Forms, because it's the same API, not to mention that you will be using the designer to do 70% of the tough work for you.
  9. C++ and Java are not similar at all. If you mean similar by that they are OO then every single language that is OO is similar, which is obviously not the case. First difference is that C++ memory in unmanaged, in Java it's managed, that already impacts your application design and coding style. C++ compiles to native code, Java to Bytecode that is later interpreted. I would not suggest learning PHP first, as others said it is outdated, it will teach you so many bad practices that will surface when you will code in other languages. Python is too a slippery slope, but you can learn to use it gracefully. I suggest learning C first to understand how most things even work, then Java or C#. But if you are not interested in that at all you can skip C altogether.
  10. I guess you need something called a 'global hotkey'. A quick google gave me this: http://stackoverflow.com/questions/15413172/capture-a-keyboard-keypress-in-the-background. Just try it out, maybe it will work.
  11. Believe me, you will make yourself a favor if you learn git, it sometimes makes me think why all other source code VCS systems even bother. Use an online repository like GitHub or BitBucket and just learn it. When you are done learning, these VCS operations will be fast and painless.
  12. Umm, WebSocket? I'm not sure if you want the C# one (the one I mentioned) or some higher level one.
  13. Well, at least it's not completely bricked. You may have to re-flash (or factory reset) your phone, you will lose your data, unless there is a way to pull it out with odin mode or smth, I'm not knowledgeable on phone software that much, don't know what you should look for. That's what I did when upgrading from stock to CyanogenMod, got stuck re-flashed and tried another way. When upgrading phones, ALWAYS backup desirable data, such things happen often with phones, because phones are very sensitive compared to PC's, their architectures vary wildly and even minor mistakes can leave you either bricked or with data loss.
  14. GameJams are fun. But it's much more fun if you can camp with other teams at university or smth, you need to create that kind of togetherness for it to be really fun, that's why I don't participate in online GameJams. It's quite a problem, because LTT community is world wide.
  15. You are essentially violating the sensitive stucture of .exe. All executable file types comply to some standard structure. Windows uses the Portable Executable format, it has multiple file extensions available than just exe. This format is the only one in windows (besides COM which is simple but ancient and obslete anyways), ELF is a standard on Linux (it has no actual file extension), well you get the idea I hope. They contain code and data compiled from some language by a compiler, the result is unreadable, but as mentioned you can disassemble it to some language (commonly just Assembly language, because compilers do optimizations and the original language disassembly will be nor readable nor equivalent to what you compiled from). You need to learn coding if you want to make such programs, you can in theory make a new one with a hex editor (like HxD), but that is unreasonably difficult and pointless, you can learn Assembly, it's as close to machine code as you can reasonably get, but it's no child's play to learn, you need to study computer architecture thoroughly. I suggest you learn the C language if you are interested in this stuff. A quick google search and I found a little read if you're interested. If you unfamiliar with any low-level coding prepare to have your brain f****d. https://en.wikibooks.org/wiki/X86_Disassembly/Windows_Executable_Files This is a bit advanced, so I get if you don't understand anything, if so just start coding instead and read this sometime in the future.
  16. Oooh, don't make the same mistake Minecraft did, don't use Java for games, it's great for some other things, but not games. You can go deep down and dirty with C++ and write your own game engine (good luck lol), or use a ready made game engine like Unreal Engine or Unity, it's up to you to choose the 'religion'.
  17. Turbo Pascal. I had an old book that my brother gave to me and I went at it. I forgot most of it now though, I wouldn't stand the syntax of it these days...
  18. I see the executable that is assembled is called lesson.exe, not whatever.exe. It tries to run and exe that does not actually exist, check your run settings.
  19. The need to install Java for a desktop application is stupid beyond comprehension IMO. C++ and Qt/wxWidgets it is. Java in my eyes is only excellent for server applications, due to ability to run on Linux (it's almost the only proper JIT compiled language option for Linux, there are languages like variations like Scala and Groovy that are also pretty damn great) and many performance options that make rather high-load applications possible.
  20. Linux and Windows, because they are server platforms and I work with server stuff, I don't write apps or anything. I prefer Linux to Windows because Linux is IMHO more capable and flexible as a server and development platform than Windows.
  21. DevBlox

    C++ IDE

    Clion (it's freaking made for C and C++), Netbeans (is surprisingly good for C++), CodeBlocks(mediocre).
  22. Linux definitely, but keep in mind that software on Linux is also getting more complex and heavy with age, so is the case with the major distributions as they are being continuously updated. Go with something that is made to be very light. Or you can stick together something yourself starting with a console if you have time and skills, you can definitely end up with something light enough that will run fast on that machine. Forget about most modern software though.
  23. Just going to slip this into here, don't mind me: NUnit.
  24. You are one character away from being correct. FILE *file = fopen(filename, "w"); This is how it should go. That's wrong because if there is less content than there was before, you will have a trail of garbage from the last write. If you try to fix it by overwriting every following character, let's say, with space, you will waste space and compute resources, nobody wants/cares about a file half full with trailing spaces.
  25. Why not write a service that responds to GET requests with python in the first place? Then send ajax requests and do whatever, if you can't get direct requests to client, then do the requests from php. I remember I did that once to circumvent CORS and put an external api functions into my web page.
×