Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

scotartt

Member
  • Content Count

    36
  • Joined

  • Last visited

Everything posted by scotartt

  1. is this related to the "1kb = 1000 bytes vs 1kB = 1024 bytes" issue? (base 10 vs base 2 i guess)
  2. Make the iPhone/IPad run both iOS and macOS -- and make them automatically switch between the two when you drop it on a wireless docking station connected to a monitor, mouse, and keyboard. Maybe the docking station could have an extra A* series processor in it and a graphics card for extra desktop points as well as wirelessly charge the phone battery. Basically, make the "laptop" redundant. All you carry with you is your storage, a display, and a processor. enough to get portable work done, and then have the "desktop" experience when you're at a desk.
  3. We used an older model of these things for ramp staff at our airline. We are in the (nearly complete) process of replacing them with iPads. Re: car mounts. Could see people like refuellers (in a fuelling truck) using them. @Euchre -- that's a problem wherein cheap skate managers won't buy enough machines or parts to cover spares, moreso than the specs of the device. The same could be said of all the proprietary modules (imagine if your fingerprint reader died and your site worker couldn't login anymore). This is exactly the sort of thing where your onsite repair techs require either entire spare machines or spare parts. It is in fact one reason we are moving to iPads. They are easy to source.
  4. Even more triggered by that big rad they got out for that stupid peltier cooler video today! It’s about the size of a car rad. Whats the issue with aluminium? Plenty of alloy in car water cooling!
  5. Triggerrd off the part 1 Mac Pro build video, I’m interested to know why the pc cooling community doesn’t seem to use A/N fittings? We use them in automotive builds quite a lot (usually more for oil and fuel because a car’s cooling lines are like 2” typically)— but they come in pretty anodised colours. Plus, you can get hard corners 45’ 90’ even 180’ bends attached straight to the fitting point for those tight fits. I think they go down to at least 3/16” hose sizes too. Obviously it’s probably overkill (like no high fuel pressures or 120 degree Celsius oil temps) but I don’t think ‘overkill’ has ever been a deterrent in the pc build community given some builds I’ve seen!? Maybe I should do a build project using only automotive cooling parts? Oil cooled? Lol. Will I need a scavenger pump for the turbo oil return if I don’t high mount it? ?
  6. That's a pretty solid plan. I'd put git a higher, like second. As for how you learn the software engineering side of things? After you've got the basics of your language out of the way, there are software engineering books (websites etc too) and probably a ton of courseware on sites like Brilliant and Skillshare and those sites that seem to be advertised on every second science and tech you tube channel. ?
  7. It is super-heavyweight and the trend is long established towards writing light-weight single-purpose services running in disposable containers like Docker or Kubernetes.
  8. Javascript is all over the back end nowadays. That's what Node JS is.
  9. If you're running inside a Docker container blow away everything but the kernel and the app server infra that runs the service. E.g. Alpine Linux and Node JS. Don't bother with the Ubuntu and Apache -- its all a waste of memory and CPU. Run multiple docker containers (e.g. one for the database, one for the Node JS, one to host the front end) and use a another docker container to route the ingress traffic to the right end point. That's the beginning point of a "cloud native" architecture. Forget about monolithic unwieldy multilayer "servers".
  10. Devblox has good advice, and depending what you're working on (and what language and version), I'd also consider using lambdas: List<String> strList = getTheListOfStrings(); strList.foreach(str -> { printTheString(str); }); // can also be abbreviated to strList.foreach(str -> this::printTheString); Javascript has got the same sort of thing in it. For brain-melting advanced programmer points, consider using Streams.
  11. I use windows in a Citrix remote desktop because there's this one task I have to run a windows program for work.
  12. Gonna necro this thread a bit (three weeks). I think, that "macOS being unix at its core" and "what hardware the OS runs on" (which Windows is much better at) are two different things. If Windows, in those days, was an option for me, I may well have stayed with it. At the time I switched, it wasn't. It was Linux or nothing, until I discovered that the Mac could run all the tooling I required at the time. Sure, I could get a pretty good laptop experience with Linux nowadays. When I switched (from a mix of Linux and Windows on commodity PC hardware) to Mac, it wasn't really possible to get a great out of the box experience with Linux on a laptop. I specifically switched because I got sick of having to pfaff about with drivers and the like to make my laptops function properly. I was working in a development environment where Windows (even with cygwin) just couldn't run the tooling necessary (the software was of course, deployed to Linux instances running in the datacentre (before that job, the software I wrote ran on AIX and IRIX (IBM and Silicon Graphics versions of Unix, respectively)). Switching to Mac meany I got all the tooling I needed, mostly the same as I would use on Linux. If I were to switch now, of course I could get a good laptop with a good Linux experience ... you know, but too late for that. ;-) Plus I'd still be hosed for the all corporate guff like Office 365 which I have to use as part of my job. My choice was: 1. be desktop only. 2. eternal struggle configuring Linux to run on a Laptop, and 3, get a Mac. Sure, the OS is hardware optimised for particular hardware. But from my 2017 Macbook Pro to the old 2010 iMac my wife still uses to rip Blu-Ray and DVD (hey, fair use purposes only there!), there's a pretty wide range of hardware. Even more if you consider that earlier versions of the OS ran on non-Intel processors, and looks increasingly likely that they will run on them again in the next couple of years. The Darwin kernel (at the heart of iOS and macOS) already runs on ARM (i.e. the A1-series Apple chips).
  13. Dude, i'm way older than you. You were ... 8 or 9 years old when i enrolled in computer science. When i built my first linux kernel (i.e. compiled it) I got a four-port serial card, put it in my PC, and then went dumpster diving up in the local tech park and came back with a couple of VT220 terminals which I RS-232'd to a couple of the serial ports. Instant multi-user local login. Oh, do you know why you login to a "terminal" it used to be assigned an identifier like "ttyS0"? TTY means teletype. So .. you know how "vi" has two parts, "vi" and "ed" (ed's the bit you get when you type esc-:)? It's like that because it's meant to run on a teletype. You would "ed" somefile, then type ':g1" and the teletype would print line 1. Then you'd edit it e.g. s/mispeling/misspelling/ and voila! it would print the corrected line 1. You could even "cat" the whole file and it would proceed to print, literally, on the teletype. No need for "more" or "less", those programs didn't make sense on a teletype. Look at this command line output in terminal in a mac: $ w 21:06 up 3 days, 19:39, 18 users, load averages: 1.38 1.54 1.64 USER TTY FROM LOGIN@ IDLE WHAT xxxxxxx console - Sun01 3days - xxxxxxx s000 - Sun01 2:34 -bash It's still called a "TTY". I work in aviation, we still have data formats that are meant to be wrapped as "TYPE B" teletype messages. They are 5-bit (ONLY CAPS ALLOWED). Oh, yeah, also one computer i worked on had old-fashioned "core" memory (Linus shows that off in that Saturn-V computer video). those magnetic cores are why you'll still find a file called "core" written to the storage when Linux does a "coredump". Anyway, /bin/sh and its descendants like bash do not emulate the terminal. /bin/sh is a command interpreter, primarily. lmao, kids today, get off my lawn, etc.
  14. Oh right, now I gotcha. Yeah that's what we do with kubernetes and istio. The rest of what you wrote, I mostly agree with.
  15. i'm talking about my local computer. my laptop. it has to have a good bash shell. "telnet" (what, surely you mean ssh) and "VT100 emulation program", lol wut? That's called a bash prompt in Terminal.
  16. yeah, sorry man, windows ... i've got no idea.
  17. if you don't understand SSL/TLS and/or can't make it work, do not create your own security protocol under any circumstances.
  18. can you make your subnet mask a /16 instead of a /24 (i.e. 255.255.0.0 not 255.255.255.0) ? Then you've got 65,000 IP addresses.
  19. I don't understand how a service would be redundant if it runs on a single machine? I don't quite get the point you're making here, I think. I don't know, because the first time I realised it was a gigantic pain in the ass was the last time I ever tried to adapt a Windows machine for use a development environment. Someone else pointed out, 'what if worked at a company without Visual Studio'. That's true, maybe they do a lot of pair programming and need a standardised IDE so all the developers know the IDE on every machine. Or maybe they develop mostly in a language that isn't supported (Kotlin? Go? Python?). However, my take on this is slightly different: Never be reliant on the IDE. IDEs are nice and all, and provide tremendous productivity to developers (i.e. refactoring), but in my view developers who get stuck in that groove are often bamboozled when confronted with a problem the IDE cannot solve or one it created in the first place. This I've found especially true of visual source control tools. I never use the one in Intellij or Pycharm. I always use `git` on the command line. I do sometimes use GitKraken to visualise what's going on with the branches, so that I can craft an effective strategy in a particularly tricky rebase or merge situation. But once I've done that, I'm usually running the commands with git in the shell ... and resolving merge conflicts with Atom, at most. Call me old school, but I did computer science when my school required most of its assignments written and submitted from your shell account on a SunOS server with dial-up access. I think the logic with the command line runs like this: while a GUI feels more intuitive at first, and has an easier learning curve, however in the long run the command line is more flexible, more powerful, and most importantly, it's also composable: $ cat infile.txt | acommand --option --doitproperly | anothercommand --works --verbose | finalcommand > outfile.txt This is a large part of what I mean about the Unix Philosophy. Write small programs that do one thing well, and use a standard way to get input into and output from those programs. Macs, because of the shell, and the underlying BSD roots, have this, and they have the GUI niceness. Linux has the former, and Windows has the latter, but in my experience, only Macs have both.
  20. None of that is going to work in a corporate development environment. Dual boot, seriously? Nahh. If i want heavy duty calculations I will spin up as many EC2 instances, or Lambdas or whatever as I need for my load. Building hardware to match your peak requirement and then leaving it idle the other 90% of the time is tremendously old school. Disposable, automated, composable, and scaleable software containers which are spun up as load increases and thrown away as it decreases is how you build big scalable systems nowadays. That's how Netflix, Facebook, Google, and Amazon build at their scale.
  21. Who can read it? MS? Samsung? The phone company?
  22. Learn a new language every year. Seriously, the languages I *use* use are ... Java, Javascript, Python, and /bin/sh But I make sure that at least once I year I've taught myself at least the basics of a new language, and written something in it even if trivial and throwaway, Also including the stuff I learned at university that list expands to: C, Pascal, Smalltalk, Miranda, Basic, Ruby, SQL, Ruby, Perl, Objective-C, Swift, Kotlin, Go, and Scala. There are probably ones I've forgotten. And that doesn't include things like YAML or TeX. Haskell's on my list for next year.
  23. MS have recently been using the office 365 stranglehold to: 1. keep their customers licencing the Azure AD platform for authorisation and authentication 2. push the Intune product for device management (e.g. Mobile Iron and others are getting locked out because Intune will better integrate with Azure AD 3. even to the point of pushing tight Azure AD integration into mobile Edge browser, and telling us to use that instead of Safari on iOS (FFS!!!) to get integrated SSO on portable devices. Back to the old, reliable, MS behaviours. Screw them, and Oracle.
×