/tech/ - Technology and Computing

Technology, computing, and related topics (like anime)

Days left: 15


JulayWorld fallback document - SAVE LOCALLY

JulayWorld onion service: bhlnasxdkbaoxf4gtpbhavref7l2j3bwooes77hqcacxztkindztzrad.onion

Max message length: 32768

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)


/tech/ meta Anonymous Board owner 04/09/2020 (Thu) 21:58:50 No.2493 [Reply] [Last]
Talk about quality, rules, OCs and board events here. Required readings: http://cryptome.org/2012/07/gent-forum-spies.htm Current event(s): >Suggest a thread to pin for April >Suggest posts for newfags to lurk
Edited last time by NULL_1 on 04/09/2020 (Thu) 23:25:19.
25 posts and 5 images omitted.
>>2745 >>2747 So, does this glowniggerlicious gaslighting mean you're actually nervous friend?
>>2747 Whenever a glow nigger spergs about hidden services you know you're doing something right.
>>2748 Pnyy zr hc jura lbh svaq frffvbaf. >>2749 >>2750 <Jung vf pbasvezngvba ovnf⸮ -v2cqri
>>10101 Looks like we are gonna be in Julay Reborn.

Open file (2.12 MB 640x480 bestvideoever.webm)
The Sticky Anonymous 08/21/2019 (Wed) 12:37:09 No.4 [Reply] [Last]
Welcome to /tech/ THE RULES: 1. Please spoiler all porn and gore 2. Talk about something actually related to /tech/nology 3. Have fun! Required reading http://cryptome.org/2012/07/gent-forum-spies.htm Beginner Info 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:

Message too long. Click here to view full text.

Edited last time by dukat on 04/11/2020 (Sat) 12:18:28.

API's and Bindings thread Anonymous 07/16/2020 (Thu) 01:22:40 No.3001 [Reply] [Last]
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.

Open file (8.21 KB 320x284 veracrypt_1-1-24.jpg)
Anonymous 01/28/2020 (Tue) 19:03:17 No.1424 [Reply] [Last]
What do you use for encryption of your data?
3 posts omitted.
gpg
Whatever my phone offers and luks/dmcrypt everywhere else. And TLS for all data that flows to the big bad internet. >>1436 Not as safe as double ROT13. :^)
>>1454 This. Keep it simple.
Open file (33.22 KB 400x386 chitose.jpg)
Any reason to use LUKS1 over LUKS2?
>>2999 For your digits, grub added support for luks2 recently, distro grub may not support it yet. Searx next time.

Open file (40.79 KB 215x215 ClipboardImage.png)
Anonymous 07/14/2020 (Tue) 21:01:16 No.2997 [Reply] [Last]
Reminder that you niggers shouldn't trust lunduke.
>>2997 Reminder that jewtube is owned by (((google)))

Open file (52.47 KB 512x512 best distro.png)
/tech/ support Anonymous 05/12/2020 (Tue) 14:07:38 No.2826 [Reply] [Last]
Old thread is bumplocked. Lets have another "Questions That Don't Deserve their own thread" thread.
39 posts and 4 images omitted.
>>2908 It looks like the Pinephone supports Verizon. There doesn't seem to be a port of LineageOS, is UBPorts any good?
Does anybody know if there is a GNU readline-like library that can be used for a graphical program like a video game?
>>2949 >readline Maybe try something like blessed-contrib Anon? https://github.com/yaronn/blessed-contrib
Author of >>2267 here. After around 2 and a half months I finally discovered what appears to be the solution to the problem; it was to switch from SNA to UXA acceleration. Intel graphics are ultra gay.
Anyone know a free (or very cheap) source of long-lasting residential proxies? I've been using ones from proxyscrape.com, but too many of them are dead / hit captchas when I try them, or soon after. Speed and privacy are nice but not required for this one.

Daily(or whatever) Programming Thread Anonymous 08/21/2019 (Wed) 14:47:20 No.8 [Reply] [Last]
What are you working on? Wether you just want to show off your shiny new program, or you need help with a programming issues, this is the thread for you!
210 posts and 53 images omitted.
>>2981 > >top-quality code but it is! it gives the right output in the console! it's basically 5 demos of pointer abuse crammed into one file: 1. abusing local variable addresses to find out call depth 2. abusing function addresses to calculate other function addresses 3. abusing stack-allocated null-terminated strings to build a longer string 4. abusing the fact that array[i] is the same as i[array] and *(array+i). though, is it really abuse when the compiler specifically allows these notations as long as exactly 1 identifier is a pointer? also using the most horrid syntax to increment a value to the left: ++*--p 5. abusing zero-length arrays just for type info and abusing nested VLAs to perform multiplication. it's not really pointer abuse, but it's related because it takes a pointer difference between the start and end of a VLA for a calculation not included is demo 6: changing a function pointer with arguments A to a function pointer taking arguments B and calling it. also not included is demo 7: fun with pointers in printf https://github.com/carlini/printf-tac-toe
>>2985 if you want a simple formula for diminishing returns with a given maximum, it's: power = max_power*turbine_count/(turbine_count-1+max_power/power_per_turbine) (you can check for yourself that with 0 turbines you get power=0, with 1 turbine it's power=power_per_turbine and with infinite turbines it's power=max_power) if you get multiple types of turbines hooked up to the same system, you can calculate an average power_per_turbine. that way it doesn't matter in which order you have your turbines or whether you have 2 normal turbines vs 1 good one and 1 awful one, but having 2 turbines with a power_per_turbine of 30 is slightly better than 3 turbines of 20.
>>2988 >you can check for yourself that with 0 turbines you get power=0 Nope, when self.power_per_turbine is 0 and/or self.turbine_count is 0 I get "ZeroDivisionError: division by zero". >with 1 turbine it's power=power_per_turbine Yes as excepted >and with infinite turbines it's power=max_power How are infinite turbines represented programmatically wise? I'm not sure if Python is capable of calling "Inf" amount of objects. Current script: https://0bin.net/paste/iTHqnMlJE3rUoZ5S#HgHcQ9Uknt7FmBGlzsS2BuUgBS9m6EMyYhlHV2ROPgg With self.max_power = 100000000 Results (Without a turbine_count condition): Power: 4,850,000.0 --- Turbine: 1 Power: 9,251,311.397234144 --- Turbine: 2 Power: 13,263,445.761166818 --- Turbine: 3 Power: 16,935,835.87952859 --- Turbine: 4

Message too long. Click here to view full text.

>>2989 >Nope, when self.power_per_turbine is 0 Sure, but you've got a really shitty turbine if its designed power rating is 0. :^) Indeed, in practice you need to first check if the power per turbine is valid or by proxy whether there's any turbines, otherwise the formula doesn't make sense. >it causes power output fluctuation when I increase/decrease self.max_power despite the power output is not reaching that limit yet, is that intentional? Yes, because the formula is a simple smooth line. Last time I made an interactive graph to shed some light on the formula, but geogebra requires registration to share it so I left it at that. So here's the setup in desmos: https://www.desmos.com/calculator/v4l49zrkst If you make the power per turbine very small, like p=100 000, you'll see that the effective power grows nearly linearly with more reactors and barely changes when you slide the max power around. But the larger the power per turbine is, the more you'll see the total output fluctuate with a change in the max power, even with only 2 turbines. And the more you'll see that extra turbines have diminishing returns.
I'm just beginning a book called C++ Crash Course by Josh Lospinoso, from No Starch Press. In the preface of the book, he addresses benefits from C++ that C-only developers can take advantage of if they compile their C code with a C++ compiler. Here's an approach that allows C code to use C++'s RAII idiom, and it won't leak the file handle in case something external to the code breaks (like the disk space is exhausted for example). // demo of a SuperC file class, pp55-56 #include <cstdio> #include <cstring> #include <system_error> struct File { File(const char* path, bool write) { auto file_mode = write ? "w" : "r"; file_ptr = fopen(path, file_mode); if (! file_ptr) throw std::system_error{errno, std::system_category()}; } ~File() { fclose(file_ptr); }

Message too long. Click here to view full text.


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] [Last]
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

Report/Delete/Moderation Forms
Delete
Report

Captcha (required for reports and bans by board staff)

no cookies?