Jump to content

Fourthdwarf

Member
  • Posts

    92
  • Joined

  • Last visited

Awards

This user doesn't have any awards

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Because apple has never taken an existing technology affix and built whole brands around it before. That's why they call it 'phone', 'pod' and 'tunes'.
  2. Stuck at the razer logo? Sounds like a bootloader issue to me. System76 has an article on repairing the bootloader, which is probably worth a shot. https://support.system76.com/articles/bootloader
  3. 4 Questions: 1: When you run xinput do you get something like: ⎜ ↳ G2Touch Multi-Touch by G2TSP id=9 [slave pointer (2)] 2: What programs are you expecting touch gestures to work for? 3: Why XFCE? 4: How savvy are you with linux?
  4. Not necessarily. Even current, low level standards like Vulkan are careful not to assume that GPUs are full turing machines, and carefully avoid allowing full mu-recursive functions as shaders. GPUs in general lay in a strange middle ground where most real world programs could feasibly run as shaders with a little support from the CPU. But there exist certain pathological but computable functions that could never run on a GPU.
  5. There is already a port of Linux straight to DS hardware, though its extremely outdated by now. But if you have a Pi Zero W hidden off to the side, you could use the DS as a thin client via DSVNC. No hardware futzing required. Really you could have the remote session be any hardware. You could connect up to a PC and play Elden Ring, albeit at an extremely low framerate and with terrible controls.
  6. Ok, I tried it out myself - It seems the VM is being wrongly detected as EFI enabled. There's an easy fix - Enable EFI! Try heading to Settings>System>Motherboard for your VM, and there should be an option to enable EFI. If you run into further issues, there are two likely causes - virtual drive is too small for EFI (12-16 GB will work well), or you've set up for a 64 bit OS, but are installing a 32 bit os. Either way, the quick solution is to start a new VM, but don't forget to set EFI on again.
  7. /dev/sda is the hard drive you're installing to. As this is a virtual machine, this means it's a virtual hard drive. If you look in the settings for the virtual machine, you should be able to find some information about the virtual hard drive it's using. If you can find that, a screenshot of that would be very helpful.
  8. You need to be able to build algorithms using well known strategies, and know when it's appropriate to use them. Strategies like: Greedy Algorithms Memoization Dynamic Programming Monte Carlo Methods Divide and Conquer Exhaustive searches
  9. I'm going to answer the question again, extremely concisely. Khronos is a collaboration between all the major hardware manufacturers and many game engine developers, among others. Khronos makes OpenGL and Vulkan. These are available, either directly or indirectly, on most devices. OpenGL is an API for doing graphics. Vulkan is an API for working with graphics hardware. Microsoft makes DirectX. DirectX is available on Microsoft devices. DirectX 11 is an API for doing graphics. DirectX 12 is an API for working with graphics hardware. Apple makes Metal. Metal is available on Apple devices. Metal is for working with graphics hardware.
  10. The var tag is just a way of delimiting the 'numbers' - If i didn't have some kind of delimiter I'd just be using concatenation without HTML, which is not the point of the exercise. The semantics of the var tag are almost besides the point - all that I care about is that the two strings are concatenated, because concatenation is an equivalent operation to addition. Using <var> was just a joke, which I could make as the particular choice of tags that do this was arbritrary. This is clearly not a serious way of doing addition - but it is a technically correct way of doing addition. My point is, any definition of programming language either must include HTML, or must exclude domain specific languages that clearly *are* programming languages.
  11. As others have said, this is a really bad criteria. There are no turing complete programming languages (because there are no infinite tape turing machines!). Of course it can. Because we're doing programming, let's use the <var> tag to encode numbers. I'm going to encode the numbers as a string - the value of the numeral is the number of characters in the string. For example 6 + 7: <var>Hello,<\var> <var> World!<\var> Generates a string 13 characters long. Which in my encoding, means that it is the numeral 13, which is 6 + 7. Therefore you can add numbers by doing "Hello, World!".
  12. So, of the options I mentioned, PyPy (The RPython version of python) is actually faster than CPython (the normal version of python), but LLVM is actually used in the Clang C compiler, so may be the better option.
  13. I'm going to say that this is bad advice! In part, it depends on what you want to do with your language. But also, it makes for an unusable language. Nobody wants to use a 6502 in 2019. With modern compiler building tools, targeting something like LLVM would be good for procedural languages, as it provides optimisation, register allocation, and every backend you could want. You would have to learn SSA form, and how to use phi instructions, but it's actually easier than most assembly languages. But if the language is very similar to python, you may want to build an interpreter on top of python, rather than a compiler. Then, you can use the Futamura projections to collapse the tower of interpreters into a compiler. If you're willing to dive deep into the tools, the PyPy project provides tools for building a JIT compiler this way, with the RPython toolchain, though it is a limited form of python. This is kind of an arcane way of doing it, and won't teach you too much about traditional compilation techniques, but it is also fascinating and fun. +1 on the dragon book(s). Perhaps a little dated, but still good.
  14. Apple have basically abandoned industry standard graphics APIs and gone with their own thing. Unless you specifically want to target macOS, you'll likely find more and better tools on other machines. This isn't going to be that important with basic unity stuff, but if you end up going into deep graphics magic, you may find vulkan/dx12 better supported at the bleeding edge than metal, and if developing for an indie game, the first two will let you develop for a wider audience. But unless you're doing some really experimental stuff, that shouldn't matter too much, and you could just go with an older version of openGL. Going with macOS, since you're familiar with it, may serve you better in that case.
  15. Puppy Linux is likely your best bet. It loads the OS (~210mb) entirely into RAM, in order to negate the slowness of the USB. TinyCore/Core does this as well, but they aren't as full featured as puppy.
×