/tech/ - Technology and Computing

Technology, computing, and related topics (like anime)

Reports of my death have been greatly overestimiste.

Still trying to get done with some IRL work, but should be able to update some stuff soon.

#WEALWAYSWIN

Max message length: 6144

Drag files to upload or
click here to select them

Maximum 5 files / Maximum size: 20.00 MB

More

(used to delete files and postings)


Open file (22.32 KB 640x480 StackMachine0.01.2.png)
Homebrew and Hardware Faggotry Anonymous 08/26/2019 (Mon) 18:30:24 No.40 [Reply]
I figured we can have a thread for hrdware shit. I'm planning out a homebrew CPU. This is my proposed microarchitechture. I've posted it on every other fucking imageboard. I might as well post it here. It's a pretty simple stack machine. I'll be making it from 74LS series TTL logic. I plan to use two 74LS181 for the ALU. The data bus will be 8 bit's, but the adressing will all be 16 bit so I can get a whopping 64k of ram for program memory and the stacks.

Also general thread for hardware and electronics projects.
>>40 Very nice, I'm also looking into CPU design. Even for a One Instruction Set Computer (OISC) based on SUBLEQ, you still need things like cache, peripherals etc. for the design to work sufficiently well. Of course you need a compiler/assembler too XD
>>40 >I'm planning out a homebrew CPU Then I'd recommend you check out Ben Eater's videos first OP. >>>/robowaifu/1554

The Python Pill Anonymous 04/27/2020 (Mon) 17:46:30 No.2720 [Reply]
I'm having mixed feelings about this language. I've been recently tasked to write a project using it and part of me is really happy about how relaxing it is to code with it, that is to say, how braindead most of its functionalities are and how easy it is to just grab a module from someone else, try it, find out they forgot some very important functionality, just add it in post and use it as you please. On the other hand, it's staggeringly heavy duty unless you're going for GPU processing and some design choices are just counter intuitive (why is there no Switch case? who thought that having different parts of code be separated by indenting them would have been a good idea?) - so I'm left asking you guys: 1) Is it worth it learning expansively over other languages? 2) What are your thoughts on its features? 3) Some neat modules you've found?
7 posts omitted.
>>2726 >I think you can create working executables with it. With external and unofficial tools, not natively afaik. No official support is a big deal when money is involved, you can't simply go "teehee we can't deploy the new code because some guy on github no longer maintains his py2exe tool, whoopsie".
>>2720 I hate Python packages. Disgusting virtual envs.
1. Learn it for computer vision or machine learning. Other than that it's a lazy alternative for writing native applications, but performance is going to suffer. 2. The reference and scoping semantics are both about as backwards as you'd expect for a scripting language, deploying python programs is a pain in the ass, and its async/await system is poorly implemented compared to its contemporaries. It also has most of your typical dynamic typing pitfalls in terms of maintainability, although it doesn't suffer from php and javascript's type coercion problems. It does typically manage to be fairly concise, although this is due in large part to library design, but it's nice to have regardless. 3. pyopencl is pleasant to work with, although I would generally recommend writing a native library containing your opencl code instead.
>>2720 >2) What are your thoughts on its features? It tries to make everything easy by having a simple syntax that is leaving out many things you'd see in other languages. Like curlybraces. But that makes python actually much harder to read because everything looks the same.
I am not sure if I should like Python. Some of the pro's I can think of is the pretty strong standard library. Also the data structures are very simple to use. Also there are very easy libraries for every task I can imagine (flask, tensorflow, pandas, opencv, mongodb, ...) But to be honest, most of the times being "pythonic" feels like messy code. The thought of having multiple classes in one file is not my favorite choice. Also the missing type safety, missing interfaces, structs,... makes it difficult for me. I head learnt most of my clean code and clean architecture skills from Uncle Bob. And Python seems to work against the code style I learnt.

API's and Bindings thread Anonymous 07/16/2020 (Thu) 01:22:40 No.3001 [Reply]
Holy shit, I just started using Lua 5.3's C api and it's so much cleaner than the 5.1 api I was using before. It makes it so easy to build out metatables for all the types that you're trying to bind. the luaL_checkX functions are a godsend too, it's a real breath of fresh air coming from certain other scripting languages. I think the SLOC I needed for binding easily went down at least 20% using this new interface. It's still got some warts like the lua_tolstring caveats, and the weird proxies and function metamethods for getters and setters, but I think it's a big improvement. ITT Talk about binding things to other languages. Do any api's stand out to you as particularly clean, effective or clever?
>>3001 I know very little about this topic, but I have a C++ program I'm working on that I'd like to provide a reduced & simplistic Python API for so users can script the most basic parts. ATM I'm assuming the Boost library for this would be a reasonable choice, though I haven't yet reached the stage where I'll need to do serious investigation and prototyping for it.
Guile's bindings are nice. Even withing C you can do very lispy things with it. It has a problem in which the "context" is implicit and pretty much invisible, so you can't use it as-is but you have to pass a function pointer to a function which initialized the context; when your function is called, you can use Guile's API however you want, until your function terminates. Under normal cirumstances it wouldn't be too much of a hassle, but I'm using it in a program with a lot of asynchronous operations, so I ended up writing a function which is called when the asynchronous task is executed, which calls the function to temporarily intialize the Guile context (for various reasons I can't keep the whole program in Guile mode all the time) so that the Guile API can be used. In the worst case the callback chain can reach more than three functions just to iterate over a list.

GNU/Linux-based OSes thread Anonymous 03/12/2020 (Thu) 18:37:41 No.1994 [Reply] [Last]
If you would like to try out GNU/Linux because of https://itvision.altervista.org/why-windows-10-sucks.html , you can do one of the following: 0) Install a GNU/Linux distribution of your choice in a Virtual Machine (preferably using KVM or Oracle VirtualBox for newfriends). 1) Use a live image and to boot directly into the GNU/Linux distribution without installing anything (keep in mind that the performance of live distros might be very different than from distro that was booted from your HDD, as most distros are loaded in RAM and don't include the proprietary drivers for NVIDIA GPUs or up-to-date Mesa libraries in their isos). 2) Dual boot the GNU/Linux distribution of your choice along with Windows (make sure to install Windows first, as it can "replace" GRUB or other UNIX bootloaders, and troubleshooting of Windows replacing your bootloader of choice might be painful for people that just started learning about the Linux kernel) 3) Go balls deep and replace everything with GNU/Linux (you really shouldn't do this, if you don't know what you're putting yourself into, see: https://itvision.altervista.org/why.linux.is.not.ready.for.the.desktop.current.html ). Resources: Use your web browser and search engine of choice. Good comparison between them is hosted here: https://digdeeper.neocities.org/ghost/browsers.html https://digdeeper.neocities.org/ghost/search.html If not sure which browser to choose, just use the Tor Browser Bundle: https://www.torproject.org/ or paste these commands to your terminal emulator of choice (please make sure to first learn what they're exactly doing): $ sudo apt install torbrowser-launcher (Debian, Ubuntu, Linux Mint or just simply apt-based distros) $ sudo pacman -S base-devel git go && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si $ cd .. && rm -rf yay && yay -S tor-browser (pacman-based distros) $ xbps-install -S torbrowser-launcher (Void Linux)

Message too long. Click here to view full text.

Edited last time by NULL_1 on 04/10/2020 (Fri) 01:33:43.
76 posts and 15 images omitted.
>>2966 Don't know much about s6. You should try it out with a spare computer or in a vm. What do you have against openrc?
>>2967 I set it up in a VM earlier today using their weekly image with lxqt just for a quick usable desktop. It seems quite fast and pretty verbose during bootup. Haven't had the chance to mess with it a lot. I don't hate openrc, but I tend to find it is a bit sluggish compared to the alternatives, even just old sysvinit. I don't do a lot of tinkering with init. Most of my interactions with my init system are just starting, rebooting, and shutting down, so speed means more to me than maybe it should. Speed, stability, and not using binary logs.
>>2969 Couple more things to consider: >compatibility with software, if you ever need (most software shouldn't depend of init system, but there is gnome) >ease of writing your own service/modifying configs, if you need to run a server but it doesn't come with service script >language it is written in >optionally: license and pozzness
>>2971 Why anyone would ever want to use GNOME I have no idea. Pretty much any non-systemd init is going to have some of the same issues with compatibility, though most distros who offer alternate inits take this in mind when packaging software. It looks like it's C code, and ISC license, so no big issues there. the only problem is your second point, and that's just something I'll have to look at as I'm using it in the VM. Hopefully another anon here has used it and can state his opinion of it.
>>2977 Update on s6: I quite like it. It handles dependencies for services automatically, which is nice. This is something runit does not do. For example, network manager requires dbus. S6 would handle this automatically, while I'd have to add it manually for runit. The whole bundle system is a little confusing for finding certain services, but it's not too bad. I tested it out switching the default sddm for lightdm and it worked fine. https://skarnet.org/software/s6/why.html is a short page on some of the features of s6 compared to other init systems, and one thing I really like is that logs are never lost. Overall, I can definitely see this replacing runit in popularity when it comes to alternative init systems, espeically as runit spends more and more time being inactive. I wouldn't call it perfect, but I would call it very good.

Jewtube WOn't support Palememe no moe Anonymous 02/04/2020 (Tue) 23:20:18 No.1483 [Reply] [Last]
FUCK JEWTUBE FUCK THEM Discuss
109 posts and 13 images omitted.
>>2954 Yeah, I have the same issues. >>2956 >straw-viewer First time I've heard of it. Seems like they use the invidious API, so wouldn't it have the same breakage problem?
>>2972 Try it out. It is light
>>2973 Yeah I'm testing it out now. Seems slick, like a better, terminal-based version of freetube. Very nice.
>>2975 Good to know. There is a catch, video are streamed from jewgle servers directly, not proxied via invidious.
Open file (303.53 KB 1000x978 sdafsfa.png)
>>2976 Invidous doesn't proxy video streams by default. I think it's an option instance owners can enable, but it will be disabled for all public instances because of the bandwidth requirements.

Open file (62.87 KB 560x377 cell_phone_functions.png)
New Jersey Style Anonymous 10/07/2019 (Mon) 14:33:51 No.434 [Reply]
What would it take for New Jersey/"Worse is better" style to make a comeback?

I feel like everything has gone downhill since phones made the MIT approach win out.
>>434
I think once the power grid goes down, your answer will be clear anon.
>>434
Worse is better is why everything sucks.
>>434
For someone to hax themselves into the glownigger mainframe and send rm -rf / via ssh to all Intel management engine/AMD PSP/other botnet-equipped devices connected to the Internet with execution set at a fixed future date to ensure maximum coverage.
>>434
>phones are used as toothbrushes even moreso than as electric drills in the future.
heh
Open file (28.45 KB 480x360 zhqdefault.jpg)
>What would it take for New Jersey/"Worse is better" style to make a comeback? It has never went away. Woke retards appeal to this bullshit every day and have since the beginning of computing. And now they turbo appeal to it with the absolute garbage that is "golang". The entire existence of webshit and electron is just an episode of worse is better. Smartphones literally run linux what the fuck are you even talking about. DAY OF THE SEAL SOON

Open file (14.76 KB 474x474 tux.jpg)
Anonymous 06/08/2020 (Mon) 05:31:45 No.2944 [Reply]
>can't tell anyone that bill gates is a cunt any more because they'll think i'm a niggerlicious gullible Qoomer who doesn't understand primary sources
>>2944 This post is bad, and you should feel bad.

Anonymous 05/30/2020 (Sat) 15:27:45 No.2886 [Reply]
How long does it take for a noob like me who can barely code a christmas tree in java to become an 3l1+3 1337 hax0r?
14 posts and 6 images omitted.
>>2936 You renounced my highlight of “talent”. What kind of “talent” did you possess that the Java college taker does not have, that got you hired in the first places. For a “white man”, I don't see you making hiring opportunities to drive the market into the Donald E. Knuth way. The way you phrased this response compared to >>2928 alludes you're still a slave monkey, and not playing in the real open market of computer sciences. Where's your venture capital (((white man)))?
>>2937 but he is right, you know..
Open file (167.07 KB 800x800 4.jpg)
I wanted to make a proper post instead of ADHD shit liek >>2938 >>2916 Java is still worth learning because there is a lot of code written in it (so there also jobs) Java is also better choice than C# simply because Java still has better ecosystem of free and open-sores tools and libraries when compared to C# and the JVM is actually good platform (there are other languages that use the JVM such as Kotlin and Clojure) Knowing Java and the JVM also opens up the opportunity to learn Android app development as well (well, C# has Xamarin but idk if it's any good) >>2935 >>2937 are you implying that knowing about algorithms is not worth it? or are you implying you shouldn't do something that you enjoy? I actually started hating programming because of college classes. I has been two years and now I am finally starting to get into programming again. >>2928 has the right idea. you should also remember to work on projects that you actually enjoy. otherwise you are likely going to burnout and drop out (which happened to me)
>>2939 Good points Anon. And yes, there are still plenty of Java-centric jobs out there.
>>2939 So that's what Chobitsu has, ADHD, and can't concentrate to liberate the proper way to teach programming for ten years while feeding young lads to join the proper market? >hating programming because of college classes We're not in complete disagreement, if your reading comprehension is limited. We are both saying colleges don't teach, however, I'm telling him "What are you remotely even doing about it than cite some good books?" He's not changing the landscape, making programming fun to learn, or going to libraries to tutor youth. He's telling you "diy, you should deal with this alone" like every sucker that enrolled to college because reasons. He's not telling you how much ass kissing he had to do to get his current 5 figure job.

Darkweb Exposed Anonymous 06/01/2020 (Mon) 16:44:21 No.2899 [Reply]
"Leaked data contains email addresses, site admin passwords, and .onion domain private keys." Lulz https://www.zdnet.com/article/hacker-leaks-database-of-dark-web-hosting-provider/
Based and Navy pilled.

Open file (17.25 KB 260x178 johnlargent.jpg)
https://usesthis.com/ Anonymous 05/23/2020 (Sat) 23:31:12 No.2859 [Reply]
I found an interesting looking site which interviews people asking them what hardware/software they use for their life/work/projects. The actual website has no JS and is ~300KB Which I know isn't the smallest it could be but it is a breath of fresh air in bloated JS-framework monstrosities. There are some interesting people there that, if your interests overlap with mine, you may want to have a look at. Consider the date of the interview because some are 10 years old. Bram Moolenaar https://usesthis.com/interviews/bram.moolenaar/ This lady who has some godtier taste https://usesthis.com/interviews/alice.maz/ The Prophet himself https://usesthis.com/interviews/terry.davis/ Rob Pike https://usesthis.com/interviews/rob.pike/ Brian Kernighan https://usesthis.com/interviews/brian.kernighan/ Daniel Stenberg https://usesthis.com/interviews/daniel.stenberg/ John Romero https://usesthis.com/interviews/john.romero/ Tarn Adams https://usesthis.com/interviews/tarn.adams/ Eric S Raymond https://usesthis.com/interviews/eric.s.raymond/ Drew DeVault https://usesthis.com/interviews/drew.devault/ Tom Scott https://usesthis.com/interviews/tom.scott/ Russ Cox https://usesthis.com/interviews/russ.cox/ William Gibson https://usesthis.com/interviews/william.gibson/ Daniel Robbins https://usesthis.com/interviews/daniel.robbins/ Aaron Swartz https://usesthis.com/interviews/aaron.swartz/

Message too long. Click here to view full text.

5 posts omitted.
It turns out archive.is is really behind Cloudflare. Should have checked with TBB before posting those archives, sorry. And for a moment I felt happy that there is an archival site without 3rd party elements or javascript required to use and view it. Alas, The Wayback Machine needs them to function.
>>2882 >It turns out archive.is is really behind Cloudflare. Should have checked with TBB before posting those archives, sorry. And for a moment I felt happy that there is an archival site without 3rd party elements or javascript required to use and view it. Alas, The Wayback Machine needs them to function. You don't need js for the wayback machine. view with https://web.archive.org/web/<URL> archive with https://web.archive.org/save/<URL>
>This lady who has some godtier taste You fucking lied to me faggot.
I wish they'd update some of their older interviews.
>>2895-kun, please, refrain from overquoting; it is a bad practice in general, on forums especially. And sage your post if it isn't remotely related to the topic of the thread.

Report/Delete/Moderation Forms
Delete
Report

Captcha (required for reports)

no cookies?