[ home / rules / faq ] [ overboard / sfw / alt ] [ leftypol / siberia / hobby / tech / edu / games / anime / music / draw / AKM ] [ meta / roulette ] [ cytube / wiki / git ] [ GET / ref / marx / booru / zine ]

/tech/ - Technology

"Technology reveals the active relation of man to nature" - Karl Marx
Name
Options
Subject
Comment
Flag
File
Embed
Password (For file deletion.)
Required: 2 + 2 =

Join our Matrix Chat <=> IRC: #leftypol on Rizon

| Catalog | Home
|

File: 1697092997754.png (715.9 KB, 764x764, sus.png)

 No.21951[Reply]

Programming is just something that nobody has ever figured out how to teach well. I'm sure it's possible, but I saw so many people in school just drop out immediately because if you didn't know everything in the 101 courses going right into them you were basically fucked.
I often wonder how there is such a skills shortage over here yet there so many people studying comp sci. Probably there's just no substitute for a few years industrial experience and we should be treating it like a trade and giving people apprenticeships, it resembles a trade way more than anything else it could be.
54 posts and 4 image replies omitted. Click reply to view.

 No.23214

File: 1706625746001.png (63.24 KB, 634x931, matz emacs.png)

>>23112
I see where you are coming from, and while I'm not a real Lisp nerd, there is definitely some beauty in the core principle of the language, and there is a reason why languages like Python, Java and Ruby are so successful: they took many things that were common coding patterns in Lisp during the 1980s and 1990s and reinvented the wheel with ALGOL-like syntax. That's in part why Guy Steele was among the Java committee.
The only thing they didn't steal from Lisp yet is homoiconicity. They tried with languages like Dylan, but nobody gives a fuck about Dylan.

There is also no other programming language — except Smalltalk — that offers the same degree of interactivity as Common Lisp, or hell, even Emacs Lisp, where you can modify the behavior of the editor, which is nothing but a Lisp interpreter, in real time by evaluating a statement after pressing Ctrl-X then Ctrl-E.
Try redefining the "lambda" keyword in Python: it's impossible.
In Emacs, I can evaluate
(defmacro lambda (x) 0)
(defmacro defmacro (x y z) 0)

and completely break my editor. It's real hacker shit.
Protip: VSCode is nothing but Emacs with Javascript, without the interactivity

That said, I don't recommend to clueless beginners to start messing with Lisp if they aren't already familiar with basic programming concepts like variables, control flow, loops, functions, etc.
Lisp documentation is like kicking whales down the beach. Emacs Lisp documentation is terrible. Common Lisp is an old language and has tons of cruft dating back from the MacLisp days, like gazillons of ways to declare a variable.
Imagine yourself being a beginner all over again, and asking yourself "should I use setf or setq to declare a variable? what is dynamic scope?" or "should I use while, dolist, dotimes or the loop macro?" while a few autists start a flame war among themselves about whenever the loop macro is ""unlispy"" or not.
I'm not even talking about Scheme and its gazillion uncompatible dialects. Want to loop over something? I hope you are used to recursive thought patterns. Racket is neat and the documentation is great, but it doesn't have the same interactivity as Common Lisp and Emacs, and I don't code in Lisp to be hygienic.
Post too long. Click here to view the full text.

 No.23215

>>23214
>The only thing they didn't steal from Lisp yet is homoiconicity. They tried with languages like Dylan, but nobody gives a fuck about Dylan.
Homoiconicity is not the only reason why lisp is special. In fact, I think it is a rather poorly defined concept. Is python homoiconic because it has an ast package for handling python code as data?
Mainstream languages are further from lisp than just not having an S-expression syntax. Those features they took from lisp (I object to using the word steal here, anyone is within their right to make a programming language with whatever concepts they like) are often taken partially or without surrounding features which make them more useful. For example, python has lambdas but they are gimped by the fact that python has an expression/statement dichotomy and lambdas can only contain an expression (so instead you have to def a local function which is like using labels/flet). Another example is languages like rust which have macros but are gimped in a myriad of ways, like only being callable using a special macro call syntax and the c-style compilation process making them able to access and modify less state than in lisp.
>There is also no other programming language — except Smalltalk — that offers the same degree of interactivity as Common Lisp, or hell, even Emacs Lisp, where you can modify the behavior of the editor, which is nothing but a Lisp interpreter, in real time by evaluating a statement after pressing Ctrl-X then Ctrl-E.
Honorable mention to erlang.
>That said, I don't recommend to clueless beginners to start messing with Lisp if they aren't already familiar with basic programming concepts like variables, control flow, loops, functions, etc.
That is questionable advice since all of these things are slightly different in lisp compared to mainstream languages. There's that old lisp meme that goes something like "anyone can learn lisp in a week, except if they learned fortran first, then it takes two weeks"
>Imagine yourself being a beginner all over again, and asking yourself "should I use setf or setq to declare a variable? what is dynamic scope?" or "should I use while, dolist, dotimes or the loop macro?" while a few autists start a flame war among themselves about whenever thPost too long. Click here to view the full text.

 No.23220

>>23124
>lowest high-level language
Is this true? Does that mean it's faster than other HLLs? What about Python with a PyPy interpreter or a C compiler?

And how does Smalltalk compare to CL? Or CL to Scheme?

 No.23221

>>23220
>lowest high-level language
>Is this true? Does that mean it's faster than other HLLs? What about Python with a PyPy interpreter or a C compiler?
Not that anon, and I don't really agree that there are significant differences in highlevelness between pretty much all high level languages with gc, but being low level does not mean good performance and vice-versa.
The performance of cl depends on the implementation (like with your python example, except that cl code is usually more portable between implementations). Some implementations like clisp and abcl have garbage performance. Implementations like ecl and ccl have passable performance. The best performing and most used (at least in the open source community) is sbcl, which beats most other high level language implementations like python, ruby, etc. while getting beaten by c unless you really take care in optimizing your code.
>And how does Smalltalk compare to CL? Or CL to Scheme?
Smalltalk is more niche than both cl and scheme. Some cl features are inspired by smalltalk though, like clos (a bit indirectly, with clos being a descendant of symbolics flavors, and symbolics being generally inspired by the work at xerox parc).
The scheme community is generally way more oriented towards functional programming than cl's. But scheme does not really have an unified community since it's difficult to impossible to write scheme projects which can run on multiple implementations, while it's relatively easy in cl. Scheme's main language is way smaller and generally more oriented towards some conceptions of simplicity and purity they have, but in my opinion it just makes scheme a pita to use compared to cl.

 No.23224

>>23220
>Does that mean it's faster than other HLLs?
Looking at sbcl specifically, all functions are compiled at runtime or precompiled. Possible sources of overhead compared to a low-level language would be runtime checks, that may be disabled with (declaim (optimize (speed 3) (debug 0) (safety 0)).
You can also add type declarations to prevent dynamic dispatch and do faster arithmetic. Linked list usage may be optimized by doing destructive operations on them or replacing them with arrays and hashmaps.
Some datatypes and common coding patterns might slow down a program at many loop iterations, but you can get a lot of mileage out of a good common lisp compiler.



 No.23208[Reply]

So Apple announced how they're going to comply with the EU DMA. Frankly, I was surprised at how brazenly they're circumventing this shit.

https://arstechnica.com/gadgets/2024/01/apple-announces-sweeping-eu-app-store-policy-changes-including-sideloading/

 No.23211

>>23208
Regulations are never fucking enough for these guys. Just ban proprietary software outright. No proprietary software, no problem.

 No.23222

>>23211
Even if there were no copyright protections for software, hardware manufacturers like Apple could still make a walled garden by making it technically impossible or very hard to modify the software running on your device.

 No.23223

>>23222
>Even if there were no copyright protections for software
I said outright ban it. Outright ban… the software.

BAN THE SOFTWARE, SOFTWARE SHOULD BE ILLEGAL.



 No.22355[Reply]

>*makes websites unusable in your path*
16 posts and 1 image reply omitted. Click reply to view.

 No.23198

>>23193
There are multiple reasons, like privacy, javascript software freedom concerns (lol) and straight up making websites inaccessible in some non-mainstream setups.

 No.23199

>>23193
>I don't see why people hate the internet gatekeeper
it is literally a protection racket

 No.23203

>>23199
I mean they're not the ones DDOSing everyone so far as I know

 No.23205

>>23203
"this is a dangerous neighborhood" says the cloudflare henchman "there was a ddos attack not far from here the other day"

 No.23206

>>23205
leftypol was actually DDOSed multiple times though



 No.14977[Reply]

Not only did we convince every single person on the planet to carry a camera and microphone everywhere we also convinced suburbian dwellers to fill even their own homes with cameras because they're afraid The Poors will steal their Amazon packages.
10 posts omitted. Click reply to view.

 No.15878

File: 1657958742382.jpg (30.91 KB, 680x382, ring.jpg)

Amazon admits to giving Ring videos to police without permission, surprising absolutely nobody.
https://thehill.com/policy/technology/3557545-amazon-admits-to-giving-ring-videos-to-police-without-permission/
Remember that you do not need to know what is happening outside your front door at all times.

 No.15879

suburban surveillance state

 No.23197

Isn't the entire problem of porch piracy caused by US postal companies not having a policy of actually waiting for someone to answer the door? Are the cost savings accomplished by not doing that actually significant?

 No.23200


 No.23204

File: 1706570778230.png (2.81 MB, 1800x1307, 1682780394920.png)

>>15040
Ring cameras are bad enough but the people who rig up the inside of their houses with cameras are fully psychotic



File: 1700785371664.gif (132.59 KB, 423x751, 1690745994777.gif)

 No.22531[Reply]

Is Wayland good now? Xorg has a lot of tools of varying usefulness that Wayland didn't back then. Has it gotten better?
31 posts and 1 image reply omitted. Click reply to view.

 No.23142

>>23139
Retro games are played not because they were """better""" (at least not necessarily: there are some retro gaming snobs just as there are modern gaming snobs). They're played because they're good games.

If modern software and games are shit it should be treated as a bug just like security holes should.

 No.23151

File: 1706193380335-0.png (Spoiler Image, 154.04 KB, 1152x864, Maximaplot.png)

File: 1706193380335-1.png (Spoiler Image, 58.43 KB, 480x480, 480px-EmacsIcon.svg.png)

>>23055
There is definitely point in keeping archaic software alive: it's still useful. And however useless it becomes with time, it's still more useful than something that doesn't exist.

 No.23152

>>23151
emacs is not archaic, it's from the future

 No.23153

File: 1706212561393-0.png (735.57 KB, 800x636, genera_docex.png)

File: 1706212561393-1.png (769.95 KB, 800x651, genera_treeedit.png)

>>23152
Genera was the future! Zmacs is to modern emacs what plan9 is to linux.

 No.23178

>>22609
does sway have configurable gaps



File: 1705803309438.png (69.36 KB, 1186x512, ClipboardImage.png)

 No.23092[Reply]

FYI libreddit no longer suffers from rate limit errors, you can now ethically browse reddit again.
Public Instances: https://github.com/libreddit/libreddit-instances/blob/master/instances.md
Repo: https://github.com/libreddit/libreddit
8 posts omitted. Click reply to view.

 No.23165

>>23160
You're misinterpreting Stallman's ethics, they're mainly concerned about development, not use. If you use proprietary software you're not "evil," at max Stallman will view you as some kind of a masochist who denies themself their freedom, it's the people who made profit off of that software who are to blame.

That said, I don't care about ethics so I simply support that development model which it is in my interest to support. And since I hate the glowies and the Big Tech and like to tweak my software to my liking it's only natural that I would support libre software. Because there's nothing else to support.

 No.23168

>>23165
What? No. It is about use. And being used.
> With free software, the users control the program, both individually and collectively. So they control what their computers do (assuming those computers are loyal and do what the users' programs tell them to do).
> With proprietary software, the program controls the users, and some other entity (the developer or “owner”) controls the program. So the proprietary program gives its developer power over its users. That is unjust in itself; moreover, it tempts the developer to mistreat the users in other ways.

> If the users don't control the program, the program controls the users. With proprietary software, there is always some entity, the developer or “owner” of the program, that controls the program—and through it, exercises power over its users. A nonfree program is a yoke, an instrument of unjust power.
https://www.gnu.org/philosophy/free-software-even-more-important.html

 No.23175

>>23168
It's about the development model which ensures that the users control the program. There is nothing in this text that contradicts my point. Unlike the Open Source enthusiasts, the software freedom advocates stress the importance of ethical development instead of merely practical one, that's the only difference. Privacy, modifiability and trust are secondary goals to the Open Source enthusiasts, they always prioritize COLLABORATION, as if it's the most important thing about libre software.

The goal of libre software development is for you to not be used, yes. But if you're used you aren't "evil," the ones who use you are.

 No.23176

>>23175
>they always prioritize COLLABORATION
Which is development. I am not sure what you are trying to say. Privacy, modifiability and trust are secondary to Free Software, too, they are not included in the four freedoms.

 No.23177

>>23176
>Which is development.
Not necessarily an ethical one. You can collaborate on developing proprietary software too. But proprietary software is unethical according to the FSF.
>Privacy, modifiability and trust are secondary to Free Software, too, they are not included in the four freedoms
They are derived directly from the four freedoms and from the user's control over their software. Without this control, all the privacy is basically "Trust us, bro" and all the modifiability is whatever toolkits the devs provide (which are in many cases none at all). Remember that Stallman started it all because he couldn't modify a printer's firmware which annoyed him a lot.

The only reason why OSS even has privacy, modifiability and trust is because most OSS is also libre, not the other way around.



File: 1621654708181.jpg (26.61 KB, 480x320, sip.jpg)

 No.8685[Reply]

Woah bro, check it out, I'm drinking beer using my phone, LOL!
16 posts and 2 image replies omitted. Click reply to view.

 No.23000

File: 1705069995882.png (74.38 KB, 348x401, ClipboardImage.png)


 No.23001

>>23000
>drink real libre bear instead
https://theanarchistlibrary.org/library/alcoholics-autonomous-anarchy-and-alcohol
Why should I even drink real beer? Like I don't have something else to spend my money on. And why does this even exist? Don't people already know how to brew beer?

 No.23002

>>22989
Write one.

 No.23003

>>23002
>Write one.
My programming skills bad.

 No.23169

>>23003
This is a good opportunity to practice is.



File: 1699856216961.jpg (114.56 KB, 375x500, 1433315482523.jpg)

 No.22296[Reply]

Is there any point in using a libre router? Or changing your ISP-provided router at all?
https://ryf.fsf.org/categories/routers
These seem very overpriced for what they provide.
5 posts and 1 image reply omitted. Click reply to view.

 No.22767

OpenWrt - FOSS Firmware For Your Router

 No.23155

OpenWrt One - celebrating 20 years of OpenWrt
https://forum.openwrt.org/t/openwrt-one-celebrating-20-years-of-openwrt/183684/1
>OpenWrt One will be a wireless networking device designed for free and open source software enthusiasts, encouraging people to tinker with and learn about embedded development and Linux networking.

1. As open as possible and fully compliant with all copyleft and other FOSS licenses it uses
2. An educational platform for tinkering with/learning about open hardware and Linux
3. A way to donate to the OpenWrt project while receiving a nice gadget in return
4. Provide expansibility through mikroBUS, GPIOs and PCI/e M.2
5. Software unbrickable and easily recoverable without additional means
6. The satisfaction of achieving an overdue personal objective

 No.23156

>>22296
Router side protection is your main defense. You can run shitty outdated software on your device under a good router and that router will do most security for you but bad ones potentially leave your whole network vulnerable. Especially with the amount of automated port scanning going on. I would say it's worth it to ditch ISP provided router if possible and/or find some kind of foss up to date firmware for your new one. Many older routers are supported though if you find the model on a list of supported devices a used one shouldn't be much, that's what i did, was like maybe 30$.

Think freshtomato, OpenWRT, DD-wrt something and then keep on new updates for it. Of all the things to ignore and run unpatched/outdated versions of, router firmware is the worst one.

https://en.wikipedia.org/wiki/List_of_router_firmware_projects

Also here's a good site that is doing exactly what you should be worried about, mass scanning and searching for vulnerable routers/devices. You can search by manufacturer, OS, IP, etc and see how many open devices are sitting around. No wonder botnets are so common now.

https://www.shodan.io/

 No.23157

>>23155
Why does it need so much RAM?

 No.23166

>>22296
Why tf not? It's cool to have all the code auditable and to support the development of more libre software projects… if you have the money of course.



 No.23099[Reply]

https://blog.tidelift.com/will-the-new-judicial-ruling-in-the-vizio-lawsuit-strengthen-the-gpl

TL:DR the class of people given standing to sue for GPL violations has just been expanded beyond the copyright holders

 No.23100

That's cool, but my view of the SFC will always be tainted by the fact that they supported the ousting of RMS
https://sfconservancy.org/news/2019/sep/16/rms-does-not-speak-for-us/



File: 1660281334437.png (368.77 KB, 2000x1414, ClipboardImage.png)

 No.16247[Reply]

Suppose you live in a country that has adopted a planned economy. The transfer of production data and consumption data from various workers' enterprises (factories, offices, stores, etc.) to a central planning office is necessary for the planned economy to function. These data transfers must be kept secure against threats such as sabotage form imperialist countries. How would you design your society's OGAS to be resilient to attacks? The goal is to prevent the transfer of malicious/false economic data from the worker's enterprises to the central planning office and vice versa.

For the sake of this exercise, assume that there is only 1 central planning office and that all enterprises report to this central office. Also assume that there are around 10 million enterprises making reports to the planning office. Don't worry about keeping the physical infrastructure safe, the NKVD has it covered.
32 posts omitted. Click reply to view.

 No.16399

>>16381
>since this does nothing but weakly enforce open source
Encrypting the chip architecture makes it much harder to put backdoors into hardware, and you can scale down microchip-fab security from ultra paranoid to regular paranoid. If you combine this with virtualization and make it so that the virt-host and virt-guest system run on processor cores with different hardware encryption keys , it will become next to impossible for malware to break through virtualization layers.

Security patching will also become more economical and faster when malware has to distribute it self as source-code, because the step of reverse engineering binaries can be omitted.

The only real downside to this is that each piece of software gets compiled billions of times, and that's wasting a lot of compute cycles, and energy for battery powered devices. Adding something like a hardware accelerator feature for compiling software is necessary.

Current Computer security designs are getting better at preventing weaknesses in memory allocation , so the next target is going to be weaknesses in software logic, and this architecture encryption might be good at mitigating that.

 No.23068

bump

 No.23069

>>23068
why did you bump this shit? how is this even a thread? is everyone here retarded?
only >>16396 mentioned pki and tls and he got ignored. why does everyone here like writing and talking about shit they are completely uninformed about

wtf is this, it is embarrassing. mods please delete this thread

 No.23071

>>23069
Blah, SSH and PKI are obvious for encrypting a computer network
Don't blame anons for trying to spin something interesting out of a boring prompt

 No.23091

bump



Delete Post [ ]
[ home / rules / faq ] [ overboard / sfw / alt ] [ leftypol / siberia / hobby / tech / edu / games / anime / music / draw / AKM ] [ meta / roulette ] [ cytube / wiki / git ] [ GET / ref / marx / booru / zine ]
[ 1 / 2 / 3 / 4 / 5 / 6 / 7 / 8 / 9 / 10 / 11 / 12 / 13 / 14 / 15 / 16 / 17 / 18 / 19 / 20 / 21 / 22 / 23 / 24 / 25 / 26 / 27 / 28 / 29 / 30 / 31 / 32 / 33 / 34 / 35 / 36 ]
| Catalog | Home