/tech/ - Technology and Computing

Technology, computing, and related topics (like anime)

We are back again (again).

Our TOR hidden service has been restored.

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)


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.

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.

PINEPHONE Anonymous 12/13/2019 (Fri) 17:18:21 No.1078 [Reply]
Have you already ordered your Pinephone?

>$149.99, shipped from China
>Estimate dispatch in late December 2019/early January 2020
>Chipset: Allwinner A64
>CPU: 64-bit Quad-core 1.2 GHz ARM Cortex A-53
>GPU: MALI-400
>Removable back cover and widely available Samsung battery
>Hardware switches for LTE (include GPS), Wifi/BT, Mic, and Camera

https://www.omgubuntu.co.uk/2019/11/pinephone-specs-price-release-date
https://store.pine64.org/?product=pinephone-braveheart-limited-edition-linux-smartphone-for-early-adaptor#
31 posts and 6 images omitted.
Open file (909.59 KB 1250x1000 CIA_Chan.png)
>>1078 I'm pretty excited to order one, but I'll probably order in the 2nd or 3rd run so Pine has a chance to work out the bugs. I'm really happy with my Pinebook Pro, works like a dream. >>2642 Shoo, shoo
>>1711 >Would you believe me if I told you I would rather have the chink government spying on me than my own (U.S.) government? Yes, which is why I personally use Yandex unironically. I trust the Russian more than I do Google and the rest of Silicon Valley. Still, the Chinese are not as less trustworthy as you might think. Looking at the various videos articles from /cvg/, you watch as many Chinese both official communists and unofficial shitheads deliberately botch up products before they are shipped. The Chinese are also known to root many domestically made devices with backdoor software and hardware. Sure, they might not be an existential threat like the U.S. Government, but the companies that make tracking devices are selling and using that data without your permission, often maliciously. To completely ensure a secure phone with secure components in America, while expensive, obscure, hard, and tedious, is at least still possible. We ought to enjoy and use that freedom while it lasts. >>2546 >>2550 >Do the librem 5 cellular data/bluetooth/wifi hard switches actually work as a way to avoid any triangulation methods? The purpose of a phone like Pine or LibreM is lessen the footprint of a communication device you cannot not use so that whatever data a mobile company, NSA, and the like are getting on you, it won't be much and won't cause severe future legal or social problems, if any. Like the other anon said, the cell phone by it's very nature tracks your location. It cannot work without doing so. If you truly wanted to be safe from any and all phone tracking the only way to win is to not play that game. Welcome to the brave new world!
>>2734 >We ought to enjoy and use that freedom while it lasts. /throd.
>>2642 >Ausie cunt gets booted from uni for protesting against the CCP >Google and Apple bend over for chink cock >winnies want to extradite ausies critical of china, labeling them as dissenters
>phone What is this normalfaggotry? Go back to cuck/g/.

Open file (553.53 KB 700x601 ClipboardImage.png)
Open file (1.67 MB 1024x737 ClipboardImage.png)
display technology Anonymous 01/10/2020 (Fri) 22:12:46 No.1297 [Reply]
So is OLED/microLED going to ever get market share, or will desktop users just be stuck scrounging up half-dead CRTs and buying mediocre LCD panels?
6 posts omitted.
>>2463 Not with the advent of Quantom dot displays. Those have all the advantages of SEDs while being more kike friendly in that they can be integrated into existing LCD fabrication methods unlike the more autistic SEDs.
Are there any technologies that could be manufactured by individuals? I assume a lot of new ideas never get into production because they cannot be mass-produced easily. But suppose you only want to manufacture small quantities, would that open up any new doors?
>>2829 That's not how any of this works. Mass production is always far cheaper than individual production, "cannot be mass-produced easily" means it's only two or ten times cheaper rather than a hundred or a million times cheaper. Integrated circuits are in the "million times cheaper" category, the ability to make enormous batches of them at once is the only reason they're economically viable.
quantum dot doesnt fix LCD, it just makes color better. you still get terrible viewing angle issues, anti glare coatings, and pixel response curves >>1301 it's all moot. it doesn't matter how big the screen is, as long as it isn't assballs quality like LCD
>>2830 But suppose there were a manufacturing process that would require a high IQ individual to manufacture a device. Most companies would probably never even attempt to research such ideas, because even if they could sell professional monitors for 10k USD per monitor, they wouldn't be able to get any kind of significant volume, because there wouldn't be enough high-IQ workers. For an individual with the right skillset and the right tools, however, that approach could be doable.

Anonymous 03/11/2020 (Wed) 15:53:24 No.1983 [Reply]
cock.li is 404'd
2 posts and 1 image omitted.
>>1988 it's still down nigger
>>1989 Works for me, but the .onion domains are down again. Try accessing it through Tor Browser.
ONIONS STILL DOWN
Is mail.cock.li login down for anyone else?

Report/Delete/Moderation Forms
Delete
Report