/late/ - Late Nights

Lonely nights. Sleepy days. Welcome; You have a friend in /late/

Mode: Reply
Subject
Message

Max message length: 8192

Files

Max file size: 64.00 MB

Max files: 8

E-mail
Password

(used to delete files and postings)

Misc

Remember to follow the rules


technology general thread Anonymous 03/30/2021 (Tue) 19:28:28 No. 3501
whats up late? what hardware have you been running lately, and what os have you been subjecting your private information to?
I'm stuck using Windows 10. Linux wasn't able to fill the void for me, and ReactOS will seemingly never get off the ground.
All the computers I own run some distro of Linux. Server and laptop run Void, desktop runs Gentoo. I've been meaning to get the desktop to Void too, but I just can't be bothered distrohopping again on this thing. Already did it twice. Laptop and desktop also have Windows 10 in the rare event that it's needed. Luckily I barely have to use it, because I troubleshoot all the time at work and I'd hate to have to do the same at home. One funny thing about my desktop is that I built it intending to play modern games, only to find that none of them interest me. I just saw what everyone else was playing and thought I was missing out. The most intensive games I play are emulated 6th-gen console games, Minecraft with shaders, and whatever I played on my crappy laptop in the early 10s (with better FPS and graphics this time around). They all run perfectly smooth, even the stuff I have to use Wine for.
Linux Mint on my laptop and Windows 10 elsewhere. I dislike Windows 10 for several reasons but all of my programs work there and cannot be wined to linux. Windows 10 is also bad on laptops, so there's that too.
(25.93 KB 320x240 1.png)
I have ARM SBC with A20 SoC that I configured (simplified) for tty. Don't use Xorg/Wayland or OpenGL, have busybox instead of systemd, ifupdown instead of NetworkManager, plain ALSA instead of pulseaudio. I don't run any network services at all, and only a few daemons like busybox init, some getty's, syslogd, gpm. I tried to make it as close as possible to an old school DOS-like system, except it's ARM instead of x86, and it's Linux instead of DOS. I don't like modern computers, so this is the best I can do! One of the latest things I did is rebuild Allegro library to run on the framebuffer tty. > Build support for FBCON, with these changes to debian/rules script: > -DWANT_LINUX_CONSOLE=ON \ > -DWANT_LINUX_FBCON=ON \ > -DWANT_LINUX_VGA=OFF \ > -DWANT_LINUX_SVGALIB=OFF \ That was enough to get OpenSonic to work. I tried KQ (kqlives.sourceforge.net) but that doesn't work for some reason. I guess it tries to initialize the graphics differently than OpenSonic. I mean the game works in X, but that's not what I want.
>>3507 Man, you better get paid for this level of autism.
(2.98 MB 1440x1080 AmigaOS 1.3.png)
>>3510 HAHA, no way! Nobody gets paid these days to make things simpler. I'm just doing this because I still remember how computers used to be, and I like them better that way. At some point it probably won't be possible for me to unfuck Linux anymore. Probably have to write my own OS eventually. Most of the new ARM SoCs already do speculative execution (mine don't, but they're older) because everyone thinks it's so great to just keep piling bloated code on the house of cards.
>>3501 Ubuntu 20.10 Groovy Gorilla lol
>>3511 ok terry
wanting to write some shitty code but can't get myself to do it got myself a really old lappy and a relatively newer tab >>3504 yay for void! void with custom kernel here. the tab has rooted android tho, can't get rid of what they call firmware
intel i3 4gb system ram and intelhd 5500 graphics and im running linux mint so my laptop doesn't get raped
(99.10 KB 743x552 amstrad.jpg)
>>3513 Terry likes C though, but I don't. I like BASIC and machine language.
>>3515 linux mint was bad in my experience, and broke several times (could've been a flatpack issue) and also, how they integrate yahoo and their homepage into firefox and chromium when using their store program. sounds like it's working for you though, the 4gb might be rough tho hahah
>>3518 I've had no issues with Mint myself on my desktop PC. I like the look of some of its dark themes/icon sets.
>>3518 the thing is i don't use firefox so i never got those issues same with flatpaks
flatpacks shouldn't be neccesary with FLOSS, it seems like it's a solution for binaries that doesn't exist. proprietary software, sure, but with source just build from there
>>3536 you're better off with a custom build
>>3537 yeah but no gpu is in stock, and the prices are inflated, this is the only fairly priced build. is it still worth it? it comes with a good gpu for the price.
>>3539 it's still way more expensive than anything i've ever built
>>3540 >>3536 just need something that works and has an ok gpu. prebuilts have gpus, but you can't buy gpus alone anymore due to the market.
>>3539 nothing wrong with getting a gpu from 2013 off craiglist for 50 bucks if you just need a display adapter to get you though this shortage till you can get an actual gpu
>>3549 yeah honestly, i could build something better for the price when the shortage stops, but jesus it's so tempting to just buy that pc and move on with my life.
>>3552 I'd get the whole box second hand if it's just a stop gap. If you want something new, try the raspberry pi 400 kit. It's like a modern c64, you'd save money and desk real estate
>>3554 no I need a gpu and a powerful machine lol Might just buy that PC and move on
I have two thinkpads, a T420 and an X200. the T420 is my "main" machine, running arch linux with LARBS. as much as i love dwm, i can't keep up with this level of autism. the X220 runs Windows 10.
>>3571 >the X220 runs Virus 10 such a waste of a good laptop. Did you know it's supported by coreboot?
>>3576 windows isn't great but nobody cares. >>3571 had the t420 from release until around 2019. good machine.
>>3507 >One of the latest things I did is rebuild Allegro library to run on the framebuffer tty. That's really cool anon
>>3649 I just re-read and noticed that, that's fucking insane. >>3507 The amount of dedication to set that up is crazy, glad you got your end results.
(392.29 KB 1394x930 2002.jpg)
I have several different PCs, more than any man should have. Main desktop, used for shitposting, work, school, and some games run through emulators or Wine. Originally built it for video editing over my old build (below) but the performance improvement was minimal and I don't do editing anymore. >AMD Ryzen 7 2700 >MSI B450M PRO-VDH >4x4GB Corsair Vengeance DDR4 >MSI RX 580 4GB >512GB Samsung PM951 NVMe SSD >250GB Samsung 850 EVO SATA SSD >8TB Seagate Barracuda SATA HDD >Kubuntu 18.04 Gaymer desktop cobbled out of my old build and some other shit I had lying around, solely for vidya that doesn't work on Linux or for software that I don't want infecting my main desktop, like Steam and other Microdick bullshit. The case is a Gateway prebuilt that I stole from work and gave to my friend, but it ended up being too small and he gave it back to me. >Intel i3-4150 >MSI B85M-E45 >4x4GB Corsair Vengeance DDR3 >EVGA GTX 960 >60GB KingSpec SATA SSD >1TB WD Blue HDD >Windows 10 Laptop mostly used for shitposting at work and very light gaming. Guess what it is by the specs. >Intel i5-2520 >2x4GB Crucial DDR3 >Intel HD Graphics 3000 >250GB Dogfish mSATA SSD >320GB Seagate Momentus Thin SATA HDD (almost full and on its last legs) >Kubuntu 18.04 Home server that's barely worthy of the name. Used for backups, media server, file syncing across my desktop and laptop, and a sneedbox provided the VPN doesn't drop out. Bought the Ironwolfs used which is a big no-no but they were a good price and should last a while since they're meant for NAS. >Intel Pentium G3220 >Intel DH87RL >4x2GB DDR3 >MSI RX 550 2GB >120GB Dogfish mSATA SSD >2 4TB Seagate Ironwolf SATA HDD >2TB Seagate Barracuda SATA HDD >mini-PCIe RAID card (not used) >Kubuntu 18.04 My vintage build I've dubbed Housefire, since the CPU would idle at 90+ before I replaced the 20 year-old thermal paste, now it sits at around 40. Used for old vidya, working on getting it dualbooted with 98/2K but that's apparently a lot more difficult than it sounds. >AMD Athlon XP 2600+ >MSI KM4M-L >Sapphire ATI Radeon 9800 Pro >80GB WD Caviar HDD >40GB WD Caviar HDD >2x512MB DDR >WinFAST TV 2000 XP Tuner for lulz >Windows 2000 I also have a MSI All-in-One that I mostly use for mandatory (((Zoom))) calls for school because it has a built-in webcam. It's 12 years old with a Core 2 Quad and an ATI mobile GPU, so it's not good for much else.
Bought a Thinkpad T430 off eBay. Hoping to mod it up and upgrade it so I can take it on the road with me when I start living in a van. Really hoping it comes in the mail working since it is coming from Canada.
wish i could get a fucking gpu. need one of those and a new case
(32.44 KB 854x480 fug.jpg)
My laptop is coming up on ten years old. Still runs like new, since I finally replaced the thermal paste after nine years of assuming that thermal paste is a meme. It's eventually going to fail, but I don't know what I even want to replace it with. I have a bunch of options. - craigslist used laptop - refurbished dell workstation - some sort of ARM SBC - generic Ryzen 3700 box - literally an RPi4 It's all kinda depressing. Non-ARMs will have the obvious problems with intel and amd. ARM has its own similar problems. I don't know if RISC-V is a real option yet. Maybe I should just get an FPGA since "hard" CPUs are probably all fucked. I have little desire for another generic "facebook machine" that I'll waste my time with. That problem is obviously more of habits than the machine itself, but I almost want something less powerful, to encourage me to stay in the TTY like >>3507. But I also kinda want to do stuff with ML, and for that I obviously need either a GPU or some kind of discrete compute module, like Pine64 sells. Pine64 has some interesting stuff, in fact, but I fully expect that anything I get from them would cease to function after three months. If you want it done right you gotta do it yourself, really.
(53.62 KB 805x571 1377355261.jpg)
i've been rounding up parts to build my own pc. i've been doing everything on a pretty old laptop which, while running pretty solid and just being great overall, does have trouble with bigger programs and dealing with the bullshit i put it through archiving stuff. so i'm finally upgrading. i managed to get a gpu just before they basically went extinct, really fucking thankful i got it. it's a rtx 2070 super and i'm basically building around that. i have that and a b560 motherboard on hand and i'm ordering the other components over the next week. i'm planning to run dual boot, windows 10 on one drive and linux on the other. i'm not exactly sure what distro i'm going with yet; as of right now i'm split between linux mint and popOS, maybe even kali. i want win 10 mainly for playing games and running windows-only software on, while linux will constitute my browsing and general purpose work.
(5.92 KB 640x480 out.png)
>>3690 If you don't like chink shit, there's others who make SBCs. I have an A64 SoC board from Olimex that I bought just for running Firefox, because I don't want to use those bloated things on my A20 board. Olimex has a reputation for solid engineering, but they're a bit more expensive than chink shit, of course. But there's others too, maybe look at the Hardkernel stuff like ODROID-C2. That one also has quad-core Cortex-A53 processor and Mali GPU. I used to have OpenBSD running on this Olimex board, but at some point I upgraded and neither Firefox or Chromium would run anymore. OpenBSD doesn't even support video on this board, but I could run those browsers over X protocol, and that's all I needed. So I replaced it with Armbian (Ubuntu) and now it's fine. There's only one thing I tested that didn't work: audio. But I don't need audio on here, so I don't care. If I did, I would just install Olimex's own Debian stuff, since that's guaranteed to work.
>>3690 get the used laptop if you want portability, get the workstation if you don't care for that.
Anyone see Apple's new macs? On top of that, their m1 mac minis look like an extremely good value. might pick one up.
(390.88 KB 640x360 omigah.webm)
>>3699 Thanks, I was considering an ODROID, but I hadn't looked at Olimex yet. Sounds promising! >>3708 That seems like the most reasonable solution. Just... boring. I think if my laptop did suddenly fail, I'd probably wait a month just reading books, drawing on paper, playing piano and shit before feeling motivated to get a replacement. Catgirl unrelated.
>>3507 Thanks for posting those CMake options. You may have just supplied the missing piece to something I've been doing - trying to get Garden Of Coloured Lights ported to ODroid Go Advance... I'd wager that KQ wouldn't run because, IIRC, it tries to use 8-bit colour (it's been a long time since I looked at the sources; this might not be accurate anymore). You might try creating an 8-bit system or memory bitmap, then, in the screen-repaint method, call blit() to get that into the image you actually care about or onto the screen. (blit() has some magic built in to convert between colour formats silently for you.)
(72.23 KB 1280x720 hilda.jpg)
I use the awful distro called arch. I tried both artix and void and both worked perfectly but i wanted to play gaymes that needed some gay systemd dependency i don't remember the name of. I have a really nice pc for a hobbyist. Ryzen 2600 radeon 480 16 gig 3000mhz ram(single stick, i will upgrade to 32... eventually)
(26.62 KB 600x600 PL2303HX to USB TTL.jpg)
>>3755 One downside I forgot to mention about the A64 Olimex board is it's only got one USB port (whereas the ODROID-C2 has 4). So pretty much you need a USB hub if you're gonna use this Olimex board as a computer (rather than a headless server as I do). And it will need to be a powered USB hub, unless you use a bigger power supply than the one Olimex sells. I bought theirs, and it's just enough to power the board itself, plus a small low power peripheral like maybe a keyboard. I say maybe because when I plugged my keyboard+mouse combo splitter, that didn't work (but that's two devices, not one). Oh, one other thing: the GPIO header doesn't have pins attached, so you have to either solder some on yourself or ask them to do it for you, if you need those. I didn't care about this, because I can solder them myself later if I need to. The UART pins are present however, since a lot of people will need to use those for initial setup of the board over serial cable. Well it really depends on what OS you're going to install. With OpenBSD, I really needed to access the serial console. With their Linux images, it will probably work straight out of the box (just as Armbian did for me). But it can still be useful to have a cable like pic, just in case you ever need it. My cubietruck only has two USB ports, but that's actually enough for me. It didn't come with a power supply, just some cables. So I used a 5V 2A USB power supply from a tablet I had laying around, and that worked fine for basic operation with just SD card. Then I bought a 5V 3A USB PS and I could use the board with 2.5-inch SATA disk. It was a bit of trouble to find this power supply, as most are only 2.4 amps. In any case, stay away from boards that only have micro USB power supply, because those often don't supply enough current. You can easily end up in a marginal situation where the board is starved for power, which leads to filesystem corruption or other strange behavior.
(7.77 KB 640x480 out.png)
>>3758 Thanks for the tip, I'll have to check that out. Haven't really looked at the KQ code yet. I did get another Allegro game working though. It's a remake of the old VIC-20 game Sword of Fargoal. Just like OpenSonic, it only works on the tty if it's configured to "fullscreen" mode. Also there were a few segfaults, so I recompiled it with -O instead of the default -O2 they had in the makefile. Hopefully that'll take care of it. Also I got OpenJazz (Jazz Jackrabbit) working on here. It mostly just works, but configuring it wasn't obvious. First had to go into setup and set resolution to 640x480, and then scaling to 2. Then go back to main menu and quit the game, so the config gets saved. If the game crashes, it doesn't save. There's also a not well documented CLI argument to run the game in fullscreen (OpenJazz -f) which gets rid of the useless mouse cursor in the tty framebuffer. And finally the game will crash if it doesn't find some files it wants, like for example the openjazz.000 file that comes with the source code. I was trying to get some other games working, but was getting stack corruption on those, so I'll have to add some printf's and try to narrow it down. In gdb, the only stack frames present were some library functions, so that doesn't help much.
(1.33 MB 1920x1080 dsk.png)
My pinebook pro got here a few days ago, I've been pretty happy with it so far. It's been able to handle pretty much everything I've thrown at it. I was even able to get gzdoom running on it which I've had trouble with even on much faster hardware.
(24.71 KB 320x200 DOOM00.png)
>>3962 I just use Chocolate Doom/Heretic/Hexen/Strife version 2.2.1 on my A20 board, runs good on plain 640x480 software framebuffer (pretty much just needs 2x scaling from the original DOS resolution). I think later (version 3) of this port moved to SDL 2, so I'm never going to upgrade. I also got Prboom-Plus 2.5.1, and that one also runs good after I set screen_resolution to 320x240 and render_screen_multiply to 2 in the config file. I mostly play oldschool vanilla wads so don't use this port much, but it's handy to have for the few MBF and Boom wads I was interested in. Lastly I also got Odamex 0.8.3 to work, but it sucks because it only runs in Xorg, and also the server browser wouldn't build for me, so I can't do multiplayer. Maybe it's just as well, since I don't much like playing online. I used this to run a few really old Zdoom wads, but there's even less there I'm interested in than Boom. I also played a bunch of Chocolate Duke 3D and Wolf4SDL on the tty. Duke3D renders directly at 640x480 and runs really well here, except I can't circle strafe like I do in Doom with just the keyboard (I'm a keyboard player, hate mice and don't even own one). It's weird because they're both linked to the same SDL 1.2, so it must be a deficiency with Duke3D's code (haven't bothered to look at it yet). Wolf4SDL needed a simple upscaling (--resf 640 480) and it runs perfect also. Here there is a trick to get dedicated strafe keys by hex editing the binary config file (config.wl1 or config.wl6 depending on what version of the game), and then it behave similar to Doom. I got Descent compiled but sadly it doesn't run so great on here, unless I set the resolution to 320x240 and then it just runs (albeit very smoothly) in a small viewport. Probably will add 2x scaling myself at some point. I have Rise of the Triad installed as well, but didn't play it much. Sometimes (not often) the game crashes inexplicably. It's kind of a weird game too.
>>4020 This is very interesting. Maybe I don't need Windows or fancy fuck-all 8 core CPUs with Ray Tracing GPUs. Reverting back to C64.
(63.24 KB 646x435 Cpc464.jpg)
>>4027 Yeah, it depends on what you want to do. Can't do very fast 3D stuff on an 8-bit micro (still good enough for flight sims and similar stuff), but 2D action games, RPGs, adventures, etc. are fun, and there's tons of those. I was just playing Paperboy last night, the exact same version as pic. I used to get pretty far, but now I can't get past the second day. Haven't played in a while...
>>4020 Chocolate Doom and Crispy Doom are the main Doom source ports I use. I also really like ECWolf for Wolfenstein. I used to have Wolfenstein on floppy disks and can't see myself going back to the DOS experience since I'm so used to the map feature now.
>>4020 Sup fellow A20 Enthusiast. Running a Cubietruck myself. An interesting thing is that it can process up to four composite inputs but I haven't gotten that running yet. It also has an PS/2 port and is the only ARM SoC I know which supports PS/2. I have mine connected to a small 800x600 12" monitor. I used to use a MediaGX Industrial Computer with DOS for a very long time which is quite similar in size but not in power consumption and frankly, the A20 equipped with Linux is a supercomputer compared to the old Cyrix. (which could theoretically run Linux too, it's just a fool's errant because of too little RAM to run anything besides the most basic busybox prompt really) A cool program for drawing pixel art is grafx2 which runs in the framebuffer without a hitch and is a thing I do a lot on this machine. Theoretically dosbox should run as it supports libsdl but practically it's probably too slow to be useful, never tried. I used to like to play catacylsm:DDA on it too but that too got too slow to really be fun recently. There's also YAFT which is a framebuffer terminal emulator which supports different fonts and 256 colors. It has also sixel support which means you can directly "print" pictures. I also use it as a server for my A1200 which is connected to it via serial.
(2.21 KB 640x480 scr.png)
>>4036 > PS/2 port Olimex A20-OLinuXino-Micro also has some PS2 clock & data pins, if that's what you're using. I see two sets of those in my /boot/bin/cubietruck.bin (after converting with bin2fex so it's readable). Quite frankly I haven't done anything with pins except the UART, which I needed to setup the board (and also format the NAND flash for Linux use). Yeah dosbox is pretty slow on here, and it was another incentive for me to try 8086tiny, especially since I'm most interested in text-based games and it's generally good enough for those. But it's not perfect either. Had some strange screen update/corruption problems in some games, with most of them remaining nonetheless playable. But in some cases it's really bad and I can't get anywhere (Zyll and Alphaman, for example). For your roguelike, you might just try running an older version. That's what I tend to do when Linux games switch to SDL 2, since I don't want to be stuck with Xorg/OpenGL dependencies. I did try an alternate terminal (fbterm) but prefer to simply use the native Linux /dev/fb0, that way I can also run graphical programs on the same tty. Most of the time I load an ANSI-art compatible VGA font (default8x16.psf.gz), but I also tried these Amiga PSF1 fonts to connect to a BBS, and that worked quite well. But what I really want is an Amstrad CPC "mode 2" (80-column) PSF1 font, which I guess doesn't exist yet (until I figure out how to make it).
what should i install on my thinkpad? i need a distractionless OS for school, but also something simple that i understand (my linux knowledge goes as far as basic apt and file management commands / ubuntu)
>>4054 If you have time to learn linux a lil bit, i would suggest artix, arch without systemd. Most distractionless system i have ever used is all suckless or minimal software that i constantly pipe. This all depends on what do you do in school thought. Also learn vim.
im not versatile, i have 0 flexibilitt between different programming languages...the long term plan to program and learn all other language while making doesnt seem like realistic... stuck trying to define gameplay even tho grpahic is "solved", sort of... not used to type and test play game again and again too the fuck do i do? seems like infinite problems... but i have to do it, but i also dont do it right why should i then
>>4056 >artix such a lame distro If you want a distro without systemd that's good, try Void. Otherwise stick with Ubuntu bc it just werksTM
>>4056 >>4060 I've heard a lot of good things about both, especially void. I'll try both of them out and report back sometime.
>>4061 The thing about void is their dev disappeared for a year once, no reason for him to not do it again. >>4056 Ubuntu is worst distro i have tried, at least say manjaro or mint.
>>4082 well, i suggest going with fedora instead of mint. Mint is bloated as hell, in my little laptop fedora xfce performs better than mint xfce =)
System76 Pangolin, and I'm putting together a server....which is probably going to be mounted belly to wall at 90 degrees from the looks of it. Hardware is GD expensive now, and this is irritating AF! I have Jetson Nano set up as a desktop and my old PS3 is set up similarly. Also have a beaglebone black I use as a plamtop. I don't think I have enough computers, lol. I don't like the rasberry pi company, so I am looking for a comparable alternative to the rpi zero. I really want a wrist computer, and won't be talked out of it.
>>4092 I love it when people have soo many computers and know how to operate them. I think you are really cool.
>>4093 Thanks! I might revise this a little bit, I have more than I listed. I shelved the other ones though. I'm going to salvage the data and parts from my old desktops, and probably keep the old laptops shelved. I actually have an IBM T42 Thinkpad, which is cool. As for more, I would like total or near total open hardware. I would like a desktop or desktop replacement with a (open)Power10 CPU and an FPGA programmed to run extra x86 instructions so I can fully emulate an intel/amd desktop. For smaller things like phones and tablets, RISC V is great!
Managed to complete my "dream" PC build last year before everything went to shit. >b450m mobo >Ryzen 5 3600 >RTX 3060 Ti I felt really fucking lucky. >2x8 GB DDR4 RAM >5 year old 1 TB HDD (will likely replace in the near future, but it still works) >128 GB SSD (also repurposed from my old build so I can keep the OS, some work related applications and light-weight vidya) Only thing that really needs to be replace, most likely, is the PSU, which is a CV550. Though it hasn't done any weird shit or exploded on me or anything in the 6 or so months I've used this rig. Also plan to get a bigger SSD eventually, and a 5 TB external HDD where I can store/archive some Taiwanese slide shows. I already have a 1 TB external, but it's almost full. Got a bunch of visual novel ISOs on it and some data I salvaged from an old external that bit the dust not too long ago. Now, I just really, really fucking hope nothing happens to this PC considering the absurd prices these days. GPUs have gottan at least 300% more expensive, if not more, where I live, so this shit better fucking keep going for a good while. The entire situation has left me really fucking anxious. Ran a ton of fucking benchmarks and shit just to make sure everything was in order, and the slightest noise already makes me wonder if something's going to fuck up. I think I'm just paranoid considering we have a 10 year old generic Dell PC sitting in our living that's still kicking along probably need to dust it off though. PC components are pretty robust r-right? I've been running this for a few months now, like I said, but I can't help but worry whether I fucked something up along the way.
>>4208 You have one great pc. I had my >b450M-A max pro (or something like that) >Ryzen 2600 >RX 480 for about 6 months now and i took it apart about 4 times now. I think i am paranoid too. I have only one stick soo i want one more, i want to buy good fan(the ones i own cost less than a dollar rn) a good cpu fan that is silent and beefy looking. I also want a good keyboard but i want to try these thinkpad-y keyboards with clits, no numpads would be a plus.
>>4209 I don't think fans are too expensive right now, anyway. At least, I assume you don't live in a third world shithole to worry about that. That's when it comes to case fans, at least (you can buy cheap ones with molex connectors so you can plug them directly into the PSU; that way you don't have to worry about fan controllers or something). For CPU fans, the stock cooler should be enough unless you want to overclock. The Ryzen stock coolers are pretty decent.
(386.15 KB 500x600 pouting.gif)
>>4215 With Etherium value going down expect a fuckton of used GPUs to show up on the market for cheap. A lot of failed cryptoniggers will want to get rid of their 'farms', so look out for that. Just keep in mind that these are used and were likely run to the ground, but still, it's a better alternative than paying 400% higher than MSRP depending on where you live. Alternatively, you can keep an eye out for those supposed LTH graphics card meant to reduce mining efficiency. They'll probably be cheaper, but considering how demand is through the roof since we're at a new generation of vidya, plus normalniggers working remotely and not knowing what to do with their free time, plus scalperfags means they won't be that much cheaper.
I know someone is going to want to hit me for saying this, but I like the idea of ethereum. No, I don't like how it screwed the gpu market (and I do hope that returns to normal), but what really bothers me is this chia thing. I had to make a run on some hard drives before the price went up, or they were no longer available. At least ethereum has a good model, what about chia? It's "green", so what else? If I'm gonna get punked out of computer hardware, I would hope that there's something to show for it. Now I just hope RAM isn't next, that is UNGODLY expensive right now. Fuck! I just need 64 more GB of it...for a friggin' server of all things.
>>4224 I don't blame crypto for the hardware issues we face nowadays tbh. I blame tech industry itself for the the crash. There are 2 big corp that make cpu and gpu, everything not made by them is "hobbyist" or "not good enough" until another megacorp decides it is good enough, it was visible that that would eventualy fail. Bankers and govern do everything they can do to make money unreachable for poor people. There is nothing weird about people wanting a security goberman can't steal to bomb Iraq. Also chia seems more like a ponzi than a actual crypto btw, its "green" is Apple's kind of enviromental.
>>4266 finally. someone calling apple out on their 'green and ecofriendly' bullshit. if apple is eco friendly then i have a gorilla dick.
(5.90 KB 640x480 c.png)
>>4266 I think you're better off with gold/silver coins, or even other commodities you can trade easily (cigarettes & booze, for example). I never liked crypto, or anything else with a fancy-schmancy complicated design and need for big resources (and thus flawed hardware designs like speculative execution). But either way, I don't need or want GPU. I never bought one, unless it was already integrated on the mobo or SoC.
>>4272 Is the games name cataclysm or something else? Would you recommend it over bcrawl(dcss-tiles community edition)?
>>4273 That's an old version of Cataclysm that I grabbed from here: https://github.com/Whales/Cataclysm This is the oldest version I could find. Files in the ZIP archive are dated Mar 28 2013, but maybe there are older releases somewhere and I just haven't looked enough... Anyway it builds ok after fixing a couple typos in item.cpp and iuse.cpp, and removing the unfinished duplicate function in map.cpp (WIP: faster map::sees). It looks like he was in the middle of editing it but never finished and just dumped the whole thing on github without even trying to build it. This version doesn't have tiles btw. If you want that, stick with the newer Cataclysm: DDA release. I'm happy with text, and also I wanted to try the oldest version possible, so this is what I built. In my first game I found the lady's dog (first quest) but on the way back got swarmed by zombies and lost track of the dog. Honestly I haven't played many roguelikes except really old ones, so I can't compare to DCSS or anything else modern. I would say just give it a shot, because it's pretty fun. I also have an old version of Cataclysm: DDA (version 0.6, with files dated June 22 2013) that I downloaded back in 2016, but never got around to building it. I'll try to track down the missing early releases. All the newer ones like version 0.D are easy to find on snapshot.debian.org.
well th family has always been retarded. just like most dirt orphans, i ll be subpar like them
why wake up. untalented. unskilled. unfulfilled bleh
(255.89 KB 640x480 sasteroids.png)
> when you change a #define in a header file, but the old value is also hardcoded in ui.cpp
I'm really upset with the current state of phones. I miss having a small phone, with a removable battery. When the phone I had for several years died, I just bought a cheap android and it's HUGE! Why are all phones huge now? So annoying, I miss the removable battery and how reliable it was.
>>4418 We can't have nice things anymore. Things getting better wouldn't be progress.
(774.67 KB 1554x711 timespy score 1.PNG)
(84.06 KB 1544x930 timespy score 2.PNG)
(804.61 KB 1545x766 firestrike score 1.PNG)
(86.72 KB 1542x940 firestrike score 2.PNG)
(127.83 KB 891x627 metro enhanced benchmark.PNG)
"Dream" build (>>4208) fag here. Ran a few more benchmarks these days after being paranoid I had fucked something up after all. But it seems that I'm doing okay? Pic related. The time spy graphics score seems to be slightly below average, which I believe has something to do with voltages as my power supply is pretty entry level, as I had said before. The fire strike score seems within the average, though. What does anon think? I considered undervolting if it means I could squeeze a little bit more performance out of this thing. I figured out some custom fancurve that kept my graphics card temperature at about 68C under load. But I'm still running the CPU on a stock cooler (look at the temps for the CPU test). Undervolting would probably help ensure boost clocks remain high under load, but who knows? I'm just brainstorming here by myself. Also bonus Metro Exodus Enhanced benchmark results.
>>4480 still really fucking jealous over your 3060ti you got there... lucky bastard lmao
>>4482 I admit, I consider myself pretty lucky seeing as how GPU prices have gotten absurd where I live. I don't even think you can find 3060 tis anymore, and the non-ti 3060 is now more expensive than what I have. Shit's fucking crazy. Here's hoping things start getting back to normal by next year as cryptoniggers step away from Etherium. But then it'll probably be HDDs/SSDs that'll be absurdly expensive next, I think. Time to get that 1 GB SSD sooner rather than later.
>>4483 If that is the case, I need to go ahead and purchase my 8TB drives...
I'm getting a new phone soon, here are my choices: Note S20+ Z Flip iPhone 12 iPhone 12 Mini
>>4038 8086tiny is nifty, thanks for making me aware of it. There's a lot of good text mode programs that can be fun to use and I miss from my Cyrix. I didn't get to try it yet, but for better drawing support, try https://github.com/keaston/cp437 as wrapper, it should help. It could also help to set your terminal to 80x25, in case whatever program you run makes some blind assumptions. Cataclysm has a pure terminal implementation, it's just a CPU-heavy game for the A20. I once had the entire pipeline of converting fonts to psf worked out and converted an older version of the https://int10h.org/ fontpack, but of course I forgot how. IIRC it wasn't that complicated, just kinda arcane. The mentioned Cyrix with FreeDOS was pretty usable and could run a sizeable collection of games and even Win98 and a few games like Fallout and such. It wasn't bad, just slow and as comfy you can make the DOS prompt, linux tools and piping are just superior.
I went ahead and purchased myself a NAS and a few 12tb drives since cryptoniggers will ruin that next. Of course this next bit of crypto using space pops up right as I want to start archiving as much shit as possible. I am truly beginning to hate these people.
>>4539 How much was the total cost / what kinda rig did you end up setting up? I wanted to build a NAS, but I'm on kind of a budget and don't really know where to start.
>>4540 I considered building my own using my old computer parts but it's pretty beat up and I don't know if I could trust it, plus FreeNAS looks like too much work so I went with a five bay synology and two 12tb drives to start off with. Total cost was a bit over $1300 with half on the drives and the other half on the NAS itself, you can buy or build a cheaper NAS depending on your needs. The expensive part will be hard drives at the moment, but from what I can tell anything under 6tb is not as in demand.
I've been running OpenBSD on my daily driver for about a year now. I like it a lot more than I ever liked linux, because it's a holistic operating system, as opposed to a collection of packages. Most of what I use on a daily basis is on it by default. I use it on my server too, and it's always very reliable.
I use alpine on a somewhat beefy pc and it runs the modern web like a charm. An old 2-core dell with openbsd serves as my tor gateway on the local net. I'm planning to properly set up 9front on an old laptop with heating issues and a fried gpu. >>3759 Arch chroots work flawlessly, even with musl abi. >> 4642 OpenBSD is still a great option, but ffs is poorly optimized (fsck always works fine though) and its scheduling is not well suited for performance intensive interactive programs.
attempted to hackintosh my thinkpad, failed horribly, installed windows 10 for the time being. will try again soon, or just go back to being an archfag.
Bought the wrong damn hard drives! Fuck! I'm attempting to RMA the 2TB ones, hopefully I succeed. Those ones seem more expensive than the 4TB ones now, is that due to chia coin, or what? Is there a run on lower space disks? And why is it so hard to find information on compatibility with with parts? I'm building from a Supermicro H11SSL-i BTW.
Pogo talking about a new-fangled sampler of some kind. Basically a tablet in a package covered with buttons and knobs. I dig what he's saying about it being tactile. https://www.youtube.com/watch?v=RnxgXIygy5g >>4092 >wrist computer The PineTime seems interesting for that. Especially if you're the type who knows what "UART" means, and maybe want to write an OS.
I'm thinking about getting that DIY notebook from Olimex, not sure if it's a good investment though.
>>4781 Apparently it's pretty well supported by OpenBSD, so there's that. You can read the discussion in the openbsd-arm archives at marc.info (search for "olimex" to find the thread). You can probably email the guy who bought one and ask him his experiences two years later. I got their OLinuXino-A64 SBC, but it's not well supported by OpenBSD, so I have Armbian on there. It's also a lot cheaper than the Teres, and about the same specs (same exact SoC). Anyway I don't need a laptop, or I'd think about getting that one, because it's probably better built than the original Pinebook, and it doesn't suffer from Spectre bugs like the Pinebook Pro.
>>4783 I wouldn't normally consider a notebook but lately and for the foreseeable future I need to travel and stay at places for days at a time and completely without computer it just gets a bit boring. There would be the possibility to combine a small SBC with a small keyboard and screen but that's just kinda awkward and you can't just whip it out in the park either. There's precious little info on the Teres online so the tip is appreciated, thanks, although I think I'd stick to a very slimmed down Linux for now. My guess is it isn't popular because it's too weak and has too little memory to run the latest webshit. I wonder how the A64 holds up to the A20. Any insights? Thanks again.
(86.65 KB 640x480 doom.png)
>>4789 Well I only use the A64 rarely, so I'm not even too familiar with how well it performs. It's pretty much a containment zone for running Firefox, and the board is headless so I access it over the network. Plus I basically don't want to use modern web stuff at all, and so avoid it as much as possible. But I can tell you that running a modern web browser on A20 is really awful (I did this in the beginning, when I was testing the board) and that's what prompted me to buy the A64. There at least I can scroll a page smoothly. It still takes a long time for some pages to load, but I don't use ad-blockers (or any add-ons whatsoever) so maybe that's why. Otherwise the boards have the same GPU, so I wouldn't expect much difference in graphics. The CPU however is noticeably faster, and it's got twice as many cores. Here's a quick & dirty 1-core benchmark, where I build the nodes for a 36-level Doom megawad > time glbsp slige.out -o tmp.wad A20: real 0m 4.21s user 0m 3.97s sys 0m 0.13s A64: real 0m1.862s user 0m1.804s sys 0m0.056s
openSUSE Tumbleweed As a noob it's been working for me pretty well but it does get updates almost daily. Nothing has broken yet thankfully but I'm wondering if I should have went with Leap for something more stable? Or maybe I should learn by trial and error when problems pop up. Running on an HP Omen gaming laptop I was able to purchase a couple years back when I had money. Wouldn't be able to afford a new laptop for an AMD GPU nor want to downgrade so it's what I got. Might scour sell and buy sites for cheap parts and try to build a desktop, might be fun.
(418.83 KB 1690x632 undervolt settings.PNG)
(52.41 KB 393x544 gpuz 3060 ti.PNG)
3060tifag here >>4480. After months of mulling over the fact that this GPU was underperforming, I decided to try and actually undervolt it to see if there would be any improvements. To my surprise, it sort of worked out. Started getting consistent 7500 scores in Superposition and 12500 graphics score in Time Spy. Pic related. Initially tried running a 1980Mhz@925mv undervolt, then bumped that up to 1995Mhz in the same voltage, but I started getting crashes in both benchmarks and games and weird screen artifacts when idle. Thought I had fucked up my graphics card for a moment, but I reset to stock settings and that seemed to do the trick. After fiddling around with the voltage curve a little more to make sure it was stable, I think I found a decent setting with no issues: 1965Mhz@925mv and 1980Mhz@937mv. Ran Superposition a few times and got the same score consistently, no crashes or artifacts. Also played some demanding vidya for a few hours, and got no crashes or artifacts either. RE8 with all settings maxed and RT on at 1080p ran consistently at 100% GPU usage and experienced no issues after about 30 mins. Metro Exodus Enhanced uses lighter GPU loads (usually between 80 and 97%), but even after several hours, I had no issues. No crashes, or stuttering or artifacts or anything like that. So far, only Heaven benchmark has given me problems. It crashed a couple times and I saw some strange graphical glitches where some polygons/textures were 'stretched'. I noticed the voltage curve was being pushed all the way 1995Mhz when at about 1000mv, and I realized that the graphics card was boosting all the way to that clock speed even though I had set a 1980Mhz limit, so maybe that's way. Also read that Heaven is pretty heavy on memory clocks, and since I'm running at a 8000Mhz memory clock as opposed to stock 7000, that could be the cause. But I'm just speculating. As long as I didn't fuck up this card in a permanent way, I'll be happy. Naturally, I've seen some gains in temps as power usage as well. Temps wouldn't go higher than 63C while gayman, and wattage remains stays at about 190 max. Even got a couple of extra frames in RE8, though not enough to make a huge difference.
>>4805 Thanks for the little performance test, that seems to be a real improvement. I haven't bitten yet and I'm still thinking about it because it's a lot of money for what it is in the end. Graphic interfaces or even internet wouldn't be much of a concern on the road though. Thanks again!
>>4861 Why not use your web browser on pc for using dicord?
All this talk of Windows 11 has made me remember why I began dual booting with Linux in the first place. If it comes down to using Windows 11 or using Linux, I'll redo my Windows 10 installation and keep it offline while using Linux for most things. I wish there was an open-source Windows clone I could use instead.
>>4872 Windows 10 Ameliorated https://ameliorated.info/
>>4873 Neat. I downloaded an .iso of it.
>>4873 Nice, dual booted it with my other operating systems
should i try dual booting windows 7 on my intel 7th gen rig or will it just not work
I discovered recently that my system actually supports fbdev. I somehow thought I needed a custom kernel with that built into it, but it turns out I can do a few more things without X because they have shitty framebuffer alternatives: Feh->fbv mupdf->fbpdf MPV->mplayer -vo fbdev2 Fuck technology.
>>4927 The windows "block" is useless as it only pops up a warning and blocks updates, but it's easy to bypass with wufuc. Everything works fine on Kaby Lake, and probably on later generations as well. t. running Win7 on a i5 7400
>>4940 do most programs/graphics work fine? i have a gt 740
>>5102 iirc newer adobe softwares require windows 10.
>>3501 I need a new laptop that has pretty good battery, 8GB of ram at least, etc. I have like $350-400. Ideas?
(171.93 KB 1280x960 65343267842.png)
Slackware 15.0 beta has been out for some time now, and it is very comfy. If you want to give it a try, you can download it here: https://slackware.uk/people/alien-current-iso/slackware64-current-iso/slackware64-current-install-dvd.iso
I've been trying to find ways to scale down and simplify my computer usage further. You can run an ARM system in the framebuffer for the minimalism, but at the end of the day, these are still very complex machines with a very complex operating system. I don't even inherently dislike GUIs and I'd even go as far as to say that pure X11 (without bloat-y libraries like GTK and such) is by far not the worst we have to deal with. I've got more of an issue with the sheer amount of code and silicon complexity everything builds on you just cannot avoid. Also the power consumption. Why does looking at website make my modern x86 CPU eat 50W?! I have tons of retro hardware, some old, some not that old. Recently I put a small Z180-based DIY computer together, an 8 bit system with 512kb of RAM (although only 64kb are directly addressable at once in CP/M) and the entire OS in a Flash ROM and I actually fell in love with some applications for it. Wordstar made me change to Joe's own Editor on my regular PC and SuperCalc2 is an amazingly capable spreadsheet without all the dead weight. (I always think programs need to be simple, programs e.g. like emacs and vim are bad IMO because they're so obstruse, something a lot of linux software in my opinion actually suffers from, there's a lots of feature creep and cargo culting going on in the world of linux, but not many admit it) The power consumption is at the very most 0.1W-0.25W and I had to measure at the power connector of1 the board since it wasn't really measurable before the power supply. It can use SD-Cards for storage, there's a lot of tools to write programs in Pascal/Modula 2, Forth, Fortran, Basic etc. and you can easily write drivers for new hardware you designed yourself in an afternoon. The only downside is that you pretty much require a serial terminal, that OS was still made with things like the DEC VT-100 in mind, which will up power consumption in the end. There are cheap and low-powered solutions for that though. This computer is pretty much in in whatever flow I'll set up. The power consumption is so neglible and it's so easily used from whatever system via serial that letting it run 24/7 wouldn't hurt anything. There's emulators that run inside small atmega microcontroller, which would push power consumption into irrelevancy, although they'd probably be not as fast. I also have a bunch of old DOS-era machines, industrial computers that are pentium era and performance, some really old 286s and almost anything in-between. I've never made a tally of what the power consumption looks like though. For the industrial systems it's probably pretty low. There's a lot of useful DOS software and tons of programming languages. DOS can be kind of arcane to program for though sometimes. The (lack of good) memory management is a PITA. I also have a bunch of Amigas and C64s with a various amount of expansions. As much as I like it, I'd go as far as to say that the C64 is a bit too primitive to be useful besides playing some old games. The Amigas are quite different there and AmigaOS was far ahead of it's time, lots of ways to make it useful even today. I also have an old 68k Mac, but I honestly have to say I never thought the old Mac software was that good, many other systems did things better. Not sure what I'll set up yet. I mostly want to be able to handle text, program, do a bit of organizing for my solo-roleplaying and connect to text-based online services which will probably require me to set up some very low powered linux SBC of some sort to be able to SSH out from. I also might set up an Android tablet or something as strict media consumption machine I can remote control from whatever I put together. Or maybe a Smart TV? I don't know anything about that stuff. So anyways, thanks for reading my blog. It's a bit dead here so maybe somebody will find this interesting.
(1.67 KB 640x480 ladder.png)
>>5167 Modern consumer stuff like Android devices and smart TVs are full botnet, so not worth it unless you can buy them used for cheap and repurpose the hardware to run your own unpozzed firmware on it. I like CP/M a lot too, and it was actually the first OS that I used because my familly got an Osborne 1 as our first computer way back in the early 80's. I learned BASIC on there (MBASIC) and did play around with WordStar a bit but didn't have any real use for it because I was only 9 years old. In more recent years I found out there are some cool CP/M games like Ladder (and I have the Linux port of this too). But most of the interactive fiction games from Infocom, etc. that were ported to CP/M were also available on many other platforms as well, so there's nothing new or special there if you've already seen those. But back in '81 when I was typing in BASIC listings from magazines and books, almost everything was new and fun. Computing in general felt like a new frontier to explore, and I doubt you could replicate this feeling today, unless maybe you throw out everything that the industry has focussed on and start experimenting with your own compiler and OS (not based on *nix or anything in use today). I used to have an Amiga 500 in the early 90's as well. It was a sweet computer, and I was sad to see Commodore fall (along with Atari, Amstrad, and all the others too) and watch everything become absorbed into the Microsoft/Apple borg. So that's why I installed Linux back then, but now Linux is getting subverted too. I should really get back to Forth, so I can do my own OS project. For the hardware, I don't really care much so long as it's open "enough" (no need for mystery firmware blobs) and doesn't do stupid shit like speculative execution. I'd buy an Amiga again if it weren't for the fact that the prices have gone up a lot from collectors. For now I just have some cheapass ARM SBCs. It might be cool to scrounge around for free hardware from discarded IoT devices or other "obscolete" or broken shit people throw out.
>>5170 True about the botnet. Not entirely sure why my mind jumped there first, I think an Odroid N2+ connected to a nice monitor would be better, enough oomph to be a multimedia machine, low power consumption and at least doesn't need blobs for the graphics anymore since the GPU is supported by the kernel now. (although not sure if video decoding is, I didn't keep up) It has a modern CPU but for using the modern web and other such things you don't really get around it. I actually played around with forth on that Z180, which compared to the Osborne is a speed daemon - first it's SRAM and cf-card mass storage is incredibly fast in comparison, then it also runs at 18 MHz and can be overclocked to 36 MHz by toggling a flag in the CPU register. (CPU is rated for 33 MHz, so not a crazy overclock) Of course, it's still slow compared to an probably e.g. atmega or the controller in that SD-Card I'm using. A year ago I bought a few STM microcontrollers off aliexpress for 60 cents a piece, there's an embedded, completely self-contained forth for them you can even use interactively the common way via serial. Not sure about the stats anymore but probably a lot faster than that Osborne too. It's crazy what is possible today. Some people actually gathered lists in what devices that micro was used and how to re-flash it and use it with that embedded Forth. I was always fascinated by forth, especially how malleable it is and the entire way of thinking regarding building an application from the smallest piece up, I don't have tons of experience with it though. There was a very good forth for the Amiga I remember, with lots of words poking the OS functions. Sadly, Forth seems to be pretty dead, all resources you can find are by some grey-bearded wizards and pretty obscure. I also like lua as a quick scripting language when I have some idea and want to see how an implementation would work out, it's great for just knocking out some code quickly without having to think about syntax too much. Also a tiny language. I managed to compile lua 5.1 for an otherwise unexpanded Amiga 600 with some FastRAM some time ago and it ran pretty well as far as I remember. I think there were some stability problems sometimes though iirc, also I think lua exclusively uses floating point for all calculations and while perfectly fine (and maybe even the fastest way) for modern computers that's not a good idea on an 68k. The worst thing about the Amiga is if you want to use it as a serial terminal for other computers that it doesn't have a proper UART, a normal unexpanded Amiga can get bludgeoned to death by polling the serial port and high baud rates are pretty much impossible. There are a few expansions though that contain an proper UART for the Amiga and it's probably not as big a problem for the later AGA machines with faster CPUs and more RAM bandwidth. It's a shame what consoomers did to the Amiga. The worst thing is they don't even do anything interesting with them. It's all just posing and showing ridiculous benchmarks to each other. Another cool and forgotten thing is that the Amiga has a scripting language called AREXX which is usually very well integrated in all major applications and allows them to communicate with each other and often times script the applications' workings. You can for example write a script that takes data from a FinalCalc spreadsheet and then draws a graph in Deluxe Paint while both are running. It's kinda like sockets and pipes but realized in a less rudimentary way. There's probably a serial terminal emulator somewhere with AREXX functions that'd allow you to remotely control the Amiga. The Amiga could do a lot more than games and the OS was great and it's a pity Commodore fucked it all up so much. This is also what makes Linux so powerful, the piping and connecting programs to each other for their functionality. I think there are pipe implementations for both DOS and you could probably compile e.g. awk and other such tools for them but it'd probably just never work that well. It'd probably be the best to always be connected to a linux box via serial and use it for a lot of the things you can't do locally. I have an Amiga 1200 with Blizzard 030 expansion, no cap damage, it's DAC is on the fritz though. I bought some replacement DACs ages ago and should get around to fix it I think. I feel it could be a cool starting point for this low-tech lifestyle. I also considered something low-power and DOS based and while I have a lot of sentimental attachment to DOS it's kinda shit to program in it because of the fucked up memory model and there's also no multitasking. Also these systems combined with something like a PicoPSU are probably a lot more power-efficient than with their original supplies, it would really surprise me if the A1200 wouldn't stay below 10W. Yeah, it probably won't be like back then and I'm not entirely sure what I'm trying to do here but I feel it's a fun thought experiment. Thanks for reading my blog yet again!
>>5175 (Thinking|Programming) in Forth were good reads. There's a lot of antiquated nonsense, but also interesting ideas, like that you would define words that work like syntactic elements, and that code should read like English. That's probably why the '.' word is what it is— it goes at the end of a "sentence", where you want to see the output. And instead of a word "LOGIN", you call it "I'M" so that you write "I'm Jim" to log in. lmao. Having an OS built from the ground up in Forth could be really cool. Like a Lisp Machine, where it's the same interpreted language all the way down, and you can interrogate any symbol as you would in Emacs. Probably a microkernel design where a lot of the traditionally walled-off kernel stuff is in userspace, because if something goes wrong you get a backtrace and a prompt with a list of remedies instead of a crash. The shell could be totally different, too. Concatenative languages seem to lend themselves pretty well to Bash style pipelining, but if you're in a language VM you don't really have "processes" and if you're doing away with the GNU/POSIX/Linux paradigm, then the security assumptions of a multi-facebook-user system probably go with it. So it'd be less like Bash where you kinda have to think about the cost of spinning up a lot of processes, and more like an actual programming language where you have a grep function rather than a grep command.
>>5183 I read programming in forth ages ago when that antiquated nonsense wasn't that antiquated yet but I never got too deep into it. Because of this discussion, as practice I spent the last few days implementing a driver for a SPI RTC for my Z180 board in Forth. I can finally use a clock. It wasn't that difficult that it took days, I got mostly stuck because I didn't pay close enough attention to the boards' schematic and didn't realize a particular input was active low. (and wondered why the RTC chip wouldn't talk to me) Then I had to put in a few delay loops because the Z180 was talking too fast. Anyways, it's a perfect example for a thing that you can write well in forth. Z80/180 have a weird I/O Port output thing and talking to the RTC via SPI basically means the toggling of two bits at a specified address. As there are only really two states you want (0 and 1) you can put all that "hardcoded" into two words, on and off. Then out of these words you can easily put together other words defining the commands the RTC understands, basically a series of bit toggles. Then out of these words you can put words together that read and print the hours and minutes, and so on, you see where I'm going here. I was searching for examples of other people's work because of my aforementioned earlier problems and what was striking to me was that my forth program is much shorter than the examples in C and such I found, there was a lot of (necessary) repetition in these. What was always fascinating for me regarding forth was how usually the words at the very bottom who are sometimes the "hardest" to come up with conceptually, but once put together, are usually completely error free because they're so simple and you basically never have to look at them again and can do everything else on a higher level. I always felt it's really hard to screw up in forth or end up with hard to understand bugs because of that. Functional languages like Lisp etc. advertise with this too but I never really found them that practical to be honest. (and I tried) I saw a very ancient AMD FPU from the late 70s and I was thinking it would be really easy in forth to just replace the math signs with other words that'd do I/O to send off the math directly to that chip, completely transparent to the programmer. (If this was actually faster in reality than doing all the math locally, eh, my guess is actually not, forth on the Z*-series of CPUs is not that fast and there's a reason FPUs aren't dedicated chips anymore, the latency costs such I/O stuff causes are immense) What's even more interesting though is that you could easily define IO that'd give you the ability to send new forth words off to a forth interpreter on another CPU that wouldn't need to know them but could interpret them on the fly for custom functionality. I can't really think of another language where that would be that easy and could be implemented in a very transparent fashion, at least in theory. Forth OS would definitively be a single user system and do away with a lot of the modern layers of absraction. You could build new words on the fly for whatever functionality you need and if you went with the forth style, your highest level words would amount to functionality that when stringed together would in the end result amount to pipes. Including my aforementioned example, you could even have words that instruct other interconnected forth-machines/cores/vms to do things for you and send the results back to you. A lot of forth implementations (even like, really old ones for the C64) also have schemes for multitasking which are interesting. I kinda have still a problem wrapping my mind around how to do big forth problems though, I might have to read thinking in forth.
(288.61 KB 322x344 weebduino.png)
>>5175 What's the bare minimum needed to get into those STM UwUcontrollers? I'm guessing you need a special hardware device to program them? And also a breadboard and some basic components for power circuitry?
>>5207 The STs need an usb based programmer and yeah, that is best wired up on a setup on a breadboard, they do come already on small evaluation-like PCBs where all the support circuity is already included. Just need to solder in pin headers. I don't remember what the programmer costed but it was really cheap, think 6-10 bucks. Arduinos already come on presoldered boards these days that contain all support circuity and headers you need, basically just need to hook it up to an usb port and can program it from there. I made bad experiences here with the cheaper chinese clones, some of the boards are garbage and need fixes. Then you can get some small FT232 boards that are basically USB to 3.3V/5V (jumperable) UART serial converters, optionally they can also supply power via the computer's USB ports for small experiments. On aliexpress you can also get small boards that plug directly into breadboards that are settable to 3.3V/5V and do your power infrastructure. All that stuff is really really cheap if you know where to buy it. I discourage buying these "tinkerer sets" or from western-world based "tinkerer shops" because they're a complete rip-off. (not rarely 3x-10x price for exactly the same stuff, they literally just buy it in china and resell) Just order it all directly in china if you can. When you get some more advanced with time it's also really cheap to have PCBs made in china, like less than $10 for professionally made stuff. Just need to upload the files. You can also get perfectly decend soldering and hot air station in the low hundred range. This hobby is pretty cheap these days and it's literally never been easier to design and implement your own stuff.

Delete
Report/Ban

Captcha (required for reports and bans by board staff)


no cookies?