/tech/ - Tech


Mode: Thread

Max message length: 8192


Max file size: 80.00 MB

Max files: 5


(used to delete files and postings)


Remember to follow the rules

(541.34 KB 420x300 bunkerstarcraftgif.gif)
FLOSS imageboard software Comrade 01/29/2020 (Wed) 09:42:40 No. 283 [Reply]
https://github.com/8b2eef7c901269e8e9a6ec532d57b6b1/supremereality Cons - Terrible CSS - No use of redis/memcached or any caching - cuck BBcode formatting until the last version PROS - Written in a functional language (Clojure) - Way less lines of code than Vichan - No CAPTCHA, uses honeypot method of spam prevention - User created boards unlike Lynxchan Maybe the CSS can be modified to make it better?
18 posts and 3 images omitted.
jannies please bumplock this thread
>>606 Have you tried using it lol?
>>607 Why the fuck should they?
>>286 >>288 >>291 https://www.supremereality.us this website looks nice as fuck. why is this thread so underrated?
>>2100 it was a thing a while back, the people on this site dont like the language it was written in (clojure) and frankly they just don't like the css for some reason

Security general thread Comrade 05/24/2020 (Sun) 13:26:12 No. 1912 [Reply]
Thread for discussing privacy, anonymity, anything related to software security and online safety
14 posts omitted.
>>2033 run it in a container or VM.
>>2043 you can't game on virtualized hardware, the performance is shit. better if you can afford to have a computer dedicated to gaming or better yet just quit being a gamer
>>2047 I thought this already, but anyways, what about my registered accounts? Do I just log out of them and never log back in or do I need to permanently delete them?
>>2047 The performance difference is a couple percentage points if you use hardware virtualization
>>2037 Might as well disconnect from the network before starting a game. Lots of singleplayer games (even indie) phone home.

(13.70 KB 745x196 monoids btfo.png)
Comrade 05/30/2020 (Sat) 22:33:05 No. 1944 [Reply]
40 posts and 12 images omitted.
>>2009 >I love exceptions Have fun not catching your errors. Also we can keep playing this game but I will just put the option type on the table which means you don't have to check null for all your arguments because null doesn't exist. It also has bind and lift methods. But I bet you're gonna say >I actually love checking if my values are null >Actually I love having null exceptions when I forgot to check it manually >I love the fact that even after I null check a type I cannot let the compiler know the value is not null Fag
>>1969 >Also pureity is fucking good but if you want a language almost as powerfull as Haskell that allows you to shoot yourself in the foot what is so good about purity and why is it shooting myself in the foot to think otherwise? purity might not be a problem if you're doing simple console i/o but if you're dealing with extremely complex outputs (such as OpenGL for a videogame) it becomes such a pain in the ass since you have to integrate non-pure ideas like time flow and coincident events into the pure world of haskell. which results in so many workarounds and operators that all of your code is 99% likely to be completely unreadable.
>>2017 Not all applications are appropriate for Haskell. But regarding what you said about time and stuff, there's a lot of research done in FRP, which explicitly deals with purity in time varying scenarios. It cuts down on complexity massively but unfortunately, it is not fast or memory lean enough to use for AAA games. A lot of ideas have been borrowed from it and ported into imperative languages. From what I understand, React.js borrowed heavily from FRP. Elm did as well, although that is a functional language. Playing with Reflex was really fun, very mind bending, almost like magic. I'm looking into purescript for interesting libraries, specifically Concur. To answer your first question, purity is nice because you can isolate functions and "prove" they are correct. The nice thing about purity is that they will always give the same result given the same input, which means that if you test a shit ton of random inputs and it behaves as expected, it will probably behave as expected in production. I try to use purity in imperative languages since it makes it much easier to reason about data flow. This means that stuff is not mutated in hidden places, it is always clear where the data has changed. But OOP makes this very cumbersome. In imperative languages it means being very diligent in not modifying the arguments. This has several problems, one is that you either have to make a new datastructure to be returned or you must copy the entire object and return it instead. The cost of copying large structures is very steep. There's also a billion pitfalls with the depth of copying, you might accidentally be mutating another object's nested field because you didn't copy correctly. Not only that, copying objects is very unweildy code-wise beyond a simple shallow copy. This also means that you have to hand code every single class you want a deep copy of. Then there's the issue of colliding programming styles. People are very used to just mutating everyhing everywhere. Which is fine, because it makes code more legible. But if you want to make pure functions, there might be problems with your team. And finally purity goes against OOP, which uses methods for mutation and tries to encapsulate complexity. If you are shooting for a pure approach, you will probably be breaking this encapsulation and you will be left with a confusing mess of non-OOP code and OOP code, making it really hard to understand where things are happening.
>>2006 Is that your template answer when you didn't understand anything that was said? I didn't expect the concept of natural number to filter you as well.
>>1946 >>1978 >>1981 >>1983 >>1991 >>1999 >>2006 >>2007 >>2011 thank you for your service, soyjacker.

(17.57 KB 400x400 sPN7F0Dd_400x400.jpg)
/scratch/ Comrade 04/14/2020 (Tue) 06:54:23 No. 1106 [Reply]
What is the best way to program and why is it scratch?
3 posts omitted.
It is absolutely scratch. Here is my scratch account: https://scratch.mit.edu/users/rory1301/
>>1132 I don't know if you're memeing but this is peak 2005's internet comedy: https://scratch.mit.edu/projects/1886700/
on a side note, with computers being so capable these days, why don't we have visualizations for all scripting languages.
>>1551 Sorry sweaty, big boys don't bloat their code with cringe visualizations
I literally found my old scratch account a few weeks ago. Some of my stuff was popular, damn.

>>508 Holy shit what the fuck. Github in its new form; following the Microsoft purchase, I can see.
Novel neuroevolution btfo's every deep learning meme
>>482 Eh. So? It makes total sense that you can make a machine that uses machine learning to get better making machine learning settings? Now do it one layer deeper using the machine learned program itself and see if we get a singularity.
>>1959 Well yes given enough time it makes sense it would be better but deep learning is much faster for a specific subset using current technology.

Wifi Fun Comrade 05/31/2020 (Sun) 21:24:08 No. 1951 [Reply]
Does anyone have success with making wifi misbehave? An idea I just had was to rapidly switch the SSID of an AP, making sure to broadcast the change, and somehow flood a users wifi ap list with your own messages. Looking into it I realized that I use hostapd and the command to rebuild the configuration and restart the service runs quite slow on my system. Is there a programmatic approach? An embedded computer powered by a battery behind a dumpster somewhere public could be like a hidden billboard. <Post ITT if you have ever: > used aircrack to hack a neighbour's WEP access point > If your router runs linux > If your modem and router are two separate devices > If you like networking in general
You want to fuck with other wifi networks (that you're not connected to) with the help of your own router? If you cycle your SSID through a list of already existing SSIDs in the proximity then you might catch some device mistaking you for a bridged AP. They won't be able to connect to your own network, but if your script stops at an SSID that some device tried to connect to, then that device will potentially keep trying to connect to your AP, so you're essentially blocking that device from accessing the Internet. But some kind of flooding is probably the best bet for a wider attack, although I don't think that's possible via SSID switching because devices aren't scanning for APs constantly. Maybe flooding an AP itself with authentication requests could work on some routers, you could potentially fill the router's whole memory and slow down the whole network to a crawl. Search openwrt and dd-wrt forums for what wifi admins struggle with, then deliberately create such conditions.
if theyre still using WEP then they are fucking stupid, WEP has been outdated and crackable for YEARS

Comrade 05/29/2020 (Fri) 23:23:37 No. 1933 [Reply]
What if we uploaded some anarchist cookbook type of shit and get QR links to those. Then we share the QR's on twitter and make people hang /spray them over town so Minneapolis knows what they should do
2 posts and 1 image omitted.
(315.52 KB 500x527 v2RZfMc.png)
>>1936 For some reason I feel like spraying Maalox in the eyes would be a bad idea, but I don't know
>>1935 I've thrown a beer bottle as hard as I can in the air and it landed on concrete and didn't break. I don't understand how people break that shit.
>>1935 Note: Modern tanks are equipped with CBRN/NBC-protection systems and the crew inside usually give a damn about gas, poison, or fire. However, as the pic noted, no matter how good their filters are at getting smoke and other crap out of the air, replacing breathable air with carbon dioxide isn't good for 'em. Of course they can just shut off the intake and manage with whatever air they've got inside, but that's not forever.
(1.62 MB Hello citizen.mp4)

(31.49 KB 474x474 3455534534t3rge.jpeg)
Comrade 04/13/2020 (Mon) 19:31:41 No. 1059 [Reply] [Last]
Give me one reason that pos editor emacs is better than this bad boy right here? you can't
82 posts and 32 images omitted.
There was a period when i was learning vim, then i switched to geany and then emacs. Vim isn't good for editing latex, since i am not native english i must frequently switch languages and that made editing in vim a pain, geany is good, but i think if i learn emacs i can do more within less time.
>>1484 Why don't you think vim is good for editing latex? that's what I primarily use it for as a math fag,
>>1485 I can't use the shortcuts (ie. i, u etc) if my keyboard isn't in english and i can't save fast because i have to write in my native language on latex, switching the language every time to save the document is a pain(when i want to save i have to press escape and :w, so it has to be on english keyboard).
>>1486 You could remap shortcuts to translate them to your keyboard layout. Maybe there exists a vim plugin that automates this for you.
(7.99 MB movie.mp4)

Truly, the Year of the Linux Desktop is finally upon us! Comrade 05/08/2020 (Fri) 00:24:07 No. 1635 [Reply]
<Between the months of March and April 2020, Windows 7 saw a drop in user market share from 26.23 percent to 25.59 percent. That’s hardly surprising for a 10-year-old, unsupported OS as people finally upgrade to Windows 10. Right? Despite that conventional thinking, Microsoft’s Windows 10 actually experienced a rare drop in market share (down to 56.08 percent in April from its March 2020 share of 57.34 percent). Meanwhile, popular Linux distribution Ubuntu enjoyed an explosive increase. <Canonical's Ubuntu Linux OS saw astonishing gains in marketshare, while WIndows 10 slumped NASEEF FOR JASON EVANGELHO <How explosive? Ubuntu’s overall share of operating system usage ballooned from 0.27% in March to 1.89% in April. To put that in perspective, that’s an increase of 599 percent. <The lift for Canonical’s Ubuntu resulted in Linux usage climbing from 1.36 percent to 2.87 percent. And to frame that up against an interesting Apple data point, NetMarketShare measures macOS Catalina — which also gained user share in April — at 4.15 percent. https://www.forbes.com/sites/jasonevangelho/2020/05/06/windows-10-is-bleeding-users-while-ubuntu-linux-enjoys-an-astonishing-increase/ We did it, reddit!
25 posts and 4 images omitted.
>>1900 Better than the competition.
>>1894 It has icecat and ungoogled-chromium.
>>1900 I can't imagine someone unironically using firefox after armagaddon.
(21.85 KB 300x100 josh.png)
>>1911 Is this moron supposed to be an authority on web browsers or something?

(6.50 KB 128x128 telegram_logo.png)
Telegram Comrade 05/01/2020 (Fri) 01:50:55 No. 1519 [Reply]
How many of you use this app? It's only moderately spyware, less so than Discord at least. https://spyware.neocities.org/articles/telegram.html Here's a leftist chat I frequent: https://t.me/UAAMeta
>>1519 I do use it some years by now, and I'd join your group anon, but I don't really see myself as as anarchist, sorry...
Why use moderately spyware when not spyware at all exists? Just use Matrix, XMPP, IRC or the thousand other alternatives.
>>1530 >wah why won't people use my autism chat media I also like IRC but it's dying out and I can only really use it for substantive tech talk. Telegram is good for shitposting and it isn't as though I use it to discuss anything I'd care if the gov saw
>>1519 >>1540 Requires phone number. No thanks.
The best thing about Telegram is the publishing feeds ("channels"). Lots of thematic channels with good info and meme/gif streams.


no cookies?