[ a / b / cf / cy / g / lain / un ] [ fresh / meta ] [ home / rules / faq ]

/g/ - Technology

Programming and Electronics
Password (For file deletion.)

Hop in to our IRC channel! #wirechan@rizon.net

File: 1530626857014.jpg (74.64 KB, 829x613, 52528994_p0_master1200.jpg)


What is the worst thing ever happened on your PC?
32 posts and 6 image replies omitted. Click reply to view.


>I used to regularly thrash my HDD by distrohopping and overwriting it with a new OS every 1-2 weeks.
How does that work? A distro install isn't a lot of data, so one every week can't add much to your average write rate.


I never bothered with thumb drives much, usually because I didn't have one around most times, so I had a separate partition on the disk that I wrote the ISO to which I would boot from. From there I would install whichever distro to the rest of the disk. I basically was writing 3 separate copies of the distro iso/files to the same disk every time I hopped.


>be 8
>Wanted to make stupid stick figure animations with lazer effects
>thought Macromedia Flash was free software so I googled it
>literal site I stumbled upon had a “THIS DOWNLOAD MAY HAVE A VIRUS” banner
>download anyway
>thousands of error messages
>smash that motherfucking like button for 00’s internet


I went through something similar XD

>be me, 9 years old

>get a cheap Dell laptop for Christmass
>Immediately search up "Minecraft for free"
>go to the first website, already looking sus
>download it without a second thought
>computer becomes very slow for some reason
>see that I have a new app with a pink dolphin logo
>didn't get minecraft for free but I got a lot of popups of sexy gurls on every webpage ;)

We all learn about internet safety eventually…


>What is the worst thing ever happened on your PC?

File: 1581665730308.jpg (153.2 KB, 1348x900, ilovefs-gallery-136.jpg)


Do you love Free Software? Let's share some Free Software that we love!


Yeah boys. some of my (free || open) source software

1. OSs: Debian, Void, Plan9, & OpenBSD
2. Editors: Acme, Emacs, & Sam

Here is a list:


File: 1581836737405.jpg (22.84 KB, 480x360, 1464840777557.jpg)

I wish I could find a cute gf that's into free software, a good OS, and hates smartphones.


I am really glad that Anki exists. It saved me from failing out of university.


include gentoo

File: 1589118586436.png (200.87 KB, 652x343, 4bba512cacbc14d7e081cf1e43….png)


Would it be possible to have a programming language that is not based on English reach mainstream adoption?
1 post omitted. Click reply to view.


The world isn't that cool anymore. At best you'd get something out of China. Scary if they win the AI race.


File: 1589266235358.jpg (256.26 KB, 2466x2119, 46b28ab8221945df9cb5542f9a….jpg)

How about something like APL that manages to avoid the language question altogether?


why would people want to go back to hieroglyphs?


File: 1589394544127.jpg (884.85 KB, 960x1280, 81197493_p0.jpg)

Same reason they use them in maths? Why should programming languages mimic human languages when programs do not behave in any way resembling human thoughts?


File: 1589428023532.jpeg (56.66 KB, 312x537, jason.jpeg)

because humans make it and use it, the machine doesn't care you can make a language based on different dick sizes and it will still take it, but we don't think like that we think and verbalize our thoughts with words, we refined to a point where we can use letters who are easy to grasp and to memorize in a verbal way who can also be used in a number of different variations

square+circle+lain+circle+dildo+triangle= function a
"a" = function a

File: 1561902811829.png (336.34 KB, 624x594, downloadforfree.png)


Is 4GB of ram still normal in present day? I switched from 2GB and everything works perfectly. For me personally, it is enough.
5 posts omitted. Click reply to view.


When will 32GB be the standard?


The cheap second-hand laptop I got last year has 8GB and that's been a pretty big change for me, I was used to 4GB up to that point. I'm still shocked to hear of people using 16. Though I suppose using a bunch of ever-expanding spyware (read: Windows) can be pretty intensive. Unless I suddenly have a change of heart and start getting heavily into gaming, I don't think I'll ever need more than this.


Standard for what? for hardcore gaming maybe, also for Pixar level modeling or Hollywood level video edition, for other tasks no, I run a lot VM and I don't need more than 8GB, of course when I do that work I only can do that work, same with video edition and other similar tasks. Of course if you use a super bloated system even 16GB eventually become not enough.

Agree, its a meme, and a very bad one.

I hope never ever.


I got 32 gb.


At work we have build machines with 64 GB memory and it is filled up within seconds if you try doing link-time-optimization on anything big.

File: 1516534332284.jpg (47.43 KB, 640x619, Belinea-monitor19crt.jpg)


Does anyone here still use a CRT?
21 posts and 1 image reply omitted. Click reply to view.


I need to seriously look into getting a CRT. I just honestly would like to have a few for the novelty of it. It's been a very long time since I've used one.

Yeah, I'd say it was around that time as far as my personal use would go. I did however use a few up until around 2010 in other various places outside of my home.


File: 1586526364895.jpg (1012.04 KB, 4032x2272, P1012372.JPG)

I still do.


Cool! What's that figure in the blue dress?


Alice from Shin Megami Tensei.


I use one as my 2nd monitor. It was my family's first monitor, and it still works pretty well. 1280x1024 at 60hz, but i run it at a lower resolution to get 75hz out of it.
I don't use it as a main monitor because I enjoy the sharpness of my 1080p 60hz asus monitor. On my main, my sharpness is at 90/100.

File: 1588104661337.jpg (1.15 MB, 1000x1415, 42038e231e75cf95c7028cd5f6….jpg)


Let's collect here programming books that are unusual in some sense, be it their approach, presentation, or simply just quality.


File: 1588105017883-0.png (508.75 KB, 674x881, The_Little_Schemer_4th_2.png)

File: 1588105017883-1.png (106.59 KB, 640x833, example.png)

The Little Schemer (and its continuations) have a very nice dialogue-like structure to them, which takes a bit of practice to read effectively, but once you are used to it, is a delight to read. The examples it use are very fun, too. I was told that it is an example of "programmed instruction" but other books labelled programmed instruction are nowhere near this masterpiece.


File: 1588105789691.jpg (34.29 KB, 386x500, Functional C.jpg)

This is a textbook written for students whose introductory programming class used a functional programming language, the concrete examples are in SML. It teaches C and imperative programming through translating functional programs into efficient and idiomatic C programs. Sometimes the translations are quite formal, other times somewhat heuristic.

File: 1585668103947.jpg (165.16 KB, 1280x720, mpv-shot1289.jpg)



You can download any paper from ACM for free, until June 30, 2020! Quickly grab what you couldn't even find on sci-hub!

Don't know what to read? The Computing Surveys journal is full of papers that give an overview to the state of the art in many topics, it's always a good way to discover new problems, challenges and solutions: https://dl.acm.org/journal/csur

Happy learning!


Yo, there’s also Library Genesis for textbook PDFs. It’s fucking great.

File: 1520648129111.png (459.91 KB, 1080x1080, Cute_Fish_Fauna.png)


Have you heard of Hy?
It's Lisp that works like Python.
You can access Python libraries even.
What do you think of it?
6 posts and 3 image replies omitted. Click reply to view.


File: 1583185535370.png (684.46 KB, 600x890, 4202798.png)

>Is the format even the same for CPython, PyPy and other Python interpreters? Sorry for the questions, I have no idea how it works.
"""Python source code is compiled into bytecode, the internal representation of a Python program in the CPython interpreter. The bytecode is also cached in .pyc files so that executing the same file is faster the second time (recompilation from source to bytecode can be avoided). This “intermediate language” is said to run on a virtual machine that executes the machine code corresponding to each bytecode. Do note that bytecodes are not expected to work between different Python virtual machines, nor to be stable between Python releases.

A list of bytecode instructions can be found in the documentation for the dis module."""

"""The dis module supports the analysis of CPython bytecode by disassembling it. The CPython bytecode which this module takes as an input is defined in the file Include/opcode.h and used by the compiler and the interpreter.

CPython implementation detail: Bytecode is an implementation detail of the CPython interpreter. No guarantees are made that bytecode will not be added, removed, or changed between versions of Python. Use of this module should not be considered to work across Python VMs or Python releases."""

>I was hoping for something more detailed



File: 1583186946524.jpg (312.76 KB, 2048x1739, 9ceab00eb6aa52da64d7584f5c….jpg)

Looks like I just need to RTFM. Do they somewhere also explain why they decided to keep the bytecode implementation defined?


File: 1583201092528.jpg (746.8 KB, 1280x1920, 3241784.jpg)

I'm not aware of a direct statement of the rationale behind that decision – it's not in e.g. the Design and History FAQ [0]. The spirit of The Python Language Reference suggests that it was specified in terms of an abstract execution model [1] precisely to allow more freedom for Alternate Implementations [2].

[0] https://docs.python.org/3/faq/design.html
[1] https://docs.python.org/3/reference/executionmodel.html
[2] https://docs.python.org/3/reference/introduction.html#alternate-implementations


When running a python program, the following steps are taken:
Python source code -> abstract syntax tree (AST) -> bytecode
Hy replaces the "Python source code -> AST" step.

We should note that bytecode is an implementation detail.
CPython has its own format, Jython compiles to JRE bytecode, and other implementations can use more complicated means such as running and compiling simultaneously (JIT compilation).

>Maybe they do it like this because there's no portable bytecode format?
It's simpler if you just replace the "source code -> AST" step.
AST is the ideal model to compile your code to
because it is the same level of abstraction as it's input (source code).
You can easily see create and run your own AST with python's ast library.
It's pretty trivial to even implement a simple language yourself using that library.


File: 1583868798991.jpeg (117.25 KB, 929x1245, 9922a90984ae75be.jpeg)

Doesn't it make a lot of optimizations impossible to do? Since you are basically translating your semantics into sugar-free Python.

File: 1582356754580.jpg (39.73 KB, 500x352, 1576393747453-0.jpg)


Does anyone have a link for the source code of the Antidepressant CSS theme?


File: 1523256594186.jpg (38.14 KB, 400x527, surf-the-web.jpg)


What browsers do you guys use to surf the web?
I use firefox developer edition so i can install my won addons.

What other tools do you use to get around the net?
31 posts and 3 image replies omitted. Click reply to view.


No, have you?


I haven't yet. But I may decide to give it a try in the next day or two. More or less have been curious about it in the meanwhile.




I'm still happy with Firefox. There's some minor nuisances, but overall I find it pretty good.


Same, I'm happy with Firefox for the most part. But I am interested in trying something new. I'd like to eventually replace it with something a lot better for my overall needs.

Delete Post [ ]
[1] [2] [3]
| Catalog
[ a / b / cf / cy / g / lain / un ] [ fresh / meta ] [ home / rules / faq ]