/tech/ - Technology

Technology & Computing


New Thread
Name
×
Sage
Subject
Message*
Files* Max 5 files32MB total
Tegaki
Password
Captcha*Select the solid/filled icons
[New Thread]


Putin's given us the boot! Read about it here: https://zzzchan.xyz/news.html#66208b6a8fca3aefee4bf211


gondola_cyberpunk_zch_tech.png
[Hide] (43KB, 300x100)
terry_glowinthedark_zch_optimized.gif
[Hide] (332.4KB, 300x100)
tux_quake_zch.png
[Hide] (53.9KB, 300x100)
tux_quake_zch_darker.png
[Hide] (54KB, 300x100)
Finally, we have /tech/ back. I uploaded these right before Zchan kicked the bucket, let's see what the anons around here can make.
5 replies and 7 files omitted. View the full thread
>>383
yeah
tech.jpg
[Hide] (36.8KB, 300x100)
ass2.gif
[Hide] (474.4KB, 300x100)
ass.gif
[Hide] (842.8KB, 300x100)
a1b9bc884997f2c7bc2050a99fa9178dda8d37a1a4c2956ff07283fb79c9f3c1.png
[Hide] (13.8KB, 300x100)
Replies: >>6341
in_ur_toaster_burnin_ur_bread.gif
[Hide] (2.5MB, 300x100)
>>6340
This is how you do it.
apologies for the nigger
Nice work

Cmk-ISO-CurlAWide_90d-FShui.png
[Hide] (55.5KB, 812x226)
I am currently using Colemak CAWS. It is the best currently available keyboard layout for ANSI/ISO column staggered keyboards. If you're a split/ortholinear chad then DHm is enough.
17 replies and 5 files omitted. View the full thread
>>6163
Have you tried vim keybindings for code editing? I think it can be more important than raw typing time if you're already pretty fast on QWERTY.
2022-07-08-221522_257x302_scrot.png
[Hide] (25.4KB, 257x302)
Yesterday I topped out at 22WPM, but I must have been averaging 17 or so. Today I'm consistently doing about 23WPM, and I just got 24 for the first time.
I also figured out how to fix the website's layout, forcing a monospace font was breaking it.
2022-07-11-213340_273x156_scrot.png
[Hide] (10.5KB, 273x156)
2022-07-11-212954_276x334_scrot.png
[Hide] (21.9KB, 276x334)
I spent almost the entire weekend on my new layout and didn't bother to do typeracer,
Now I'm faster but my speed is all over the place. I also feel like typeracer is giving me harder texts.
Colemak confirmed

https://f-droid.org/en/packages/com.menny.android.anysoftkeyboard
>>6163
Better layouts are faster, but the upper end of qwerty speeds are faster than you need for programming and creative writing. Being proficient with qwerty allows you to sit at nearly any computer desk in the english speaking world and blast out 90 wpm without even thinking about it or configuring an alternate layout.

loomis.png
[Hide] (242.5KB, 628x820)
Something I've noticed with the failure of art teaching in schools is something that parallels with the failure of teaching programming in schools: Lack of structure.

When I say 'structure' I mean the teaching of craftwork that can be used as baselines to make things solid, sound and good. pic related is one of 25 pages dedicated to guidelines and overall structure of drawing figures. Anyone can draw or make art, but everyone knows the difference between good and bad art- except for idiots, that is. 

What I'd like to know, is how this can be paralleled to it's programming equivalent. I hear from programmers about how important math is- and I agree, but my problem with that, is that math's emphasis feels like it's either for magus-tier programming, or is so basic that it immediately fades into the background. Because of this, I feel like I've learned all I can at this stage but nobody knows anything on the level up except for pros who want peers rather than students.

I've heard "just do it" or "practice dude" but here's the thing: practice doesn't make perfect, it makes permanent. Trying to undo the damage of bad habits is effort on top of learning things the right way, the only saving grace is that is gets easier as you do it more. 

In conclusion, what is good programming structure? How can use it to be a better programmer and actually feel more than a just like a permanewb?
52 replies and 8 files omitted. View the full thread
Replies: >>6064 + 5 earlier
>How To Design Programs
https://htdp.org is a bit like mini SICP. It uses a Racket subset.

>Structure and Interpretation of Computer Programs
https://mitpress.mit.edu/sites/default/files/sicp/index.html
https://www.youtube.com/watch?v=-J_xL4IGhJA&list=PLE18841CABEA24090&index=1
If you choose to use Racket, either set the language to R5RS or get the SICP language (https://pkgs.racket-lang.org/package/sicp).
Replies: >>3538
>>3476
I don't even know what words to use to describe it, but there's a certain mindset that is required before a person can ever utter something of worth, and the architect anecdote that your link starts off with proves the writers have the right mindset.

I'll read it, thanks anon.
>>3479
guile worked perfectlu for SICp for me.
A friend who used racket had to create his own versions of certain function, in order to run certain programs.
Replies: >>3539
>>3538
>A friend who used racket had to create his own versions of certain function, in order to run certain programs.
AFAIK, you don't have to do that if you use the SICP language (#lang sicp)
>>574 (OP) 
> I've heard "just do it" or "practice dude" but here's the thing: practice doesn't make perfect, it makes permanent. Trying to undo the damage of bad habits is effort on top of learning things the right way, the only saving grace is that is gets easier as you do it more. 
Alas, it’s not a failure, it’s the entire point. See also: semi-literacy training (teaching to read a letter based alphabet not letter by letter and/or with artificial interruptions). This produces all those TL/DRs who cannot read anything longer than a slogan. It’s not a bug, it’s a feature.

By now, it’s not even intentional, just intrinsic: everyone in educrap is a less-than-bright schizoid trained at parroting  the previous iteration of garbage and unable to do anything else. Garbage In, Garbage Out, in a feedback loop.
The thing with schizoids is that after some point they have trouble understanding “structure” at all. Thus everything gradually turns into Celestial Emporium of Benevolent Knowledge grade nonsense.

> In conclusion, what is good programming structure? 
Just like with everything: whatever fits the practical usage. Obviously, there are several approaches. And lots of bad practices. But even a bad practice beats a good air castle.

Message too long. View the full text

大うんこ.gif
[Hide] (5.1KB, 320x240)
I've had taken a break form programming since mid 2020. Lost overall interest and such. But now it's quite hard to get back at it and get any motivation, especially having learnt how shitty the job market for programmers really is. 

So my question, is it even worth getting back at this? I liked it as a hobby but I don't want to be a code monkey in the future. Would I be better off becoming a teacher or studying medicine?

Please let me know.
5 replies omitted. View the full thread
>>5519
You can still code as a hobby on your own time.
Related question, how do you find the energy and motivation to work on your project with a 9-5 code monkey job? I am just too tired to do anything, but I want to work on my shit.
Replies: >>5541
>>5539
Drugs or working out
Replies: >>5547
>>5541
My body is weird, I gets mini heart attacks with just a small cup of coffee. I probably will die if I take drugs. How can you work out when you are tired as fuck?
Replies: >>5548
>>5547
Just force yourself and the energy will come. It sounds like bullshit but that's how your body works.

linux_audio.png
[Hide] (276.1KB, 1404x913)
What's the simplest way to work with Linux sound? If I install Gentoo or something, presuming I have X and a WM up and running but no sound, what's the simplest way to get desktop-quality audio?
52 replies and 11 files omitted. View the full thread
>>4165
Yes, I did.
Replies: >>4167
>>4166
What program? All of mine works.
Replies: >>4172
>>4167
https://aur.archlinux.org/packages/pulseeffects-legacy/ and pavucontrol.
Replies: >>4178
>>4172
Of course those won't work. apulse only works with basic audio output while pretending to be pulse. Both software you listed interacts with an actual pulse audio server.
>pavucontrol
Do you really need per program volume control? If not, alsamixer. Otherwise you can give this a try: https://alsa-devel.alsa-project.narkive.com/jH4DT3mN/patch-per-application-volume-control-plugin-for-alsa
>pulseeffect
Use the fifo plugin and set up ffmpeg filter chain, outputs to raw hw. You should nice it realtime.
>>3278
Surely, it's locked to 48000 despite having an option to set it to 0 (auto for hi quality dacs) and 44100 minimum clock (sample rate). What it does is it upscales anything from 44100 to 48000 even the 44100 I suspect is basically 44100->48000->44100 and as we know it's not a clean conversion especially with a natively low quality resampler method and worse, I suspect it does it twice to cheat out 44100 or maybe even an 88200 output may actually be 88200->48000->88200 (double dirty).

When I hardset it to 44100 I get very distorted sound from my music player, and it doesn't even play well with other plugins like pitch/tempo and cause severe distortion maybe because it becomes 32bit float idk.

I tried using their native "pipewire custom/house resampler" in the terminal and confirmed it is suboptimal.
I can convert music using sox and other resamplers out there and it's quite fast, pipewire's house resampler has issues when I set clock to 44100 even with a sweep tone, there are severe distortion or noises when viewed in spectogram/sound viewer.
Either there's a problem with their maths or 44100 is illegal or problematic (44100->48000->44100 double dirty resampling) with their customized resampler.
What was the point of customizing a resampler, it has worse latency and higher cpu time than existing and perfectly fine resamplers we have already and also about 200% slower than sox-vhq. Wou
Message too long. View the full text

c18e71610445c1df708f72f8c33e07693a3a0acbef06e26040c98465a5858e3b.jpg
[Hide] (7.5KB, 220x220)
Pastebin went full retard and is locking and deleting files that trigger any of their retarded broken filters for "offensive" words, so if you have something of value better copy it elsewhere (like your H/SDD) just to be safe.
2 replies and 1 file omitted. View the full thread
Replies: >>4967
Use a better pastebin service:
> sprunge.us
> ix.io
> 0x0.st 
> pst.moe
You could also use catbox.moe, uguu.se or anonfiles.com. Or https://gitgud.io or https://gitlab.com/explore or https://codeberg.org/

>>566 (OP) 
>so if you have something of value better copy it elsewhere (like your H/SDD) just to be safe.
This also works.
Replies: >>4984
>>4967
This thread is over a year old, nigger.
Replies: >>10369
gud suggested sites doe
>H/SDD
>>4984
Time flies doesn't it.

3c24a910338f9638ac155d6692149b0d-imagejpeg.jpg
[Hide] (7.1KB, 474x215)
Discuss the pros and cons of the network, dev news, tips, hacks and other useful information.
65 replies and 4 files omitted. View the full thread
>>4848
>You should be using both either way since they both have different use cases anyways
Explain
Replies: >>4851 >>4994
>>4848
>They're both designed to protect the data being shared rather than whose participating in the network itself
No. Tor is designed to anonymize the user. If only data protection is the function, TLS would do the job. The problem of Tor is it is not hiding the fact that the user is using Tor. That means out of all Tor users, anyone siting in between doesn't know from which user the packet came from. That provides anonymity.
>Not to mention not everyone using Tor actually participates in the network
Only Tor relays participate in middle of the route. https://support.torproject.org/it/alternate-designs/make-every-user-a-relay/
Replies: >>4994
>>4849
Tor is designed for clearnet access.
i2p is only for Eepsites.
Replies: >>4982
abnk5p.png
[Hide] (499KB, 578x715)
>>4848
> if every government just decided to shut down every Tor nodes they could find
Tor is more centralized than that. There are only 9 directory authorities you need to take down to stop Tor working.

>>4851
i2p also supports udp and ipv6 so it can route non-web protocols like bittorrent much better.
>>4849
i2p has a built in torrent client and filesharing client, and the network structure is better designed to handle sharing those large files since everyone participating is a node.  The Tor network gets overwhelmed if many people are downloading large files, especially through the clearnet due to the smaller number of Tor exit nodes (not to mention you'll probably just be a leech).  Also, many Tor clients allegedly end up ignoring to proxy settings since they use udp.
Tor is a lot faster though and can be used to browse the clearnet, which i2p can't do out of the box.
>>4850
>No. Tor is designed to anonymize the user. If only data protection is the function, TLS would do the job.
I did clarify that later, though my first statement was pretty unclear
<With both no one can know what's being sent and who it's being sent too (Excluding [exit]* nodes).

da17c487ae927ffb34892e5e273fd1207e24063b62f08e7fd584a910fb9b3caa.png
[Hide] (257KB, 474x355)
HAPPENING ALERT
>For a few hours today all v3 onion addresses on the Tor network were down. This appears to be a new kind of attack which affects the entire network and involves overloading the consensus authority nodes.
>You will currently not be able to access any v3 onion addresses, what is happening is unknown, but it is potentially a huge attack on the entire network. Earlier today I made a post outlining consequences I would be putting into place to deter markets from funding DDoS attacks against each other, as the potential to scale and completely kill every node on the network is a very real potential outcome. Now everything is down and I have no idea if this has sped up the process of this occurring or if it is even an attack at all, all I know is, this is big.
>Reddit post by u/hugbunt3r This attack began after Dread forum owner, HugBunter made a post stating the consequences for market owners who continue to attack rival markets.
<—–BEGIN PGP SIGNED MESSAGE—– Hash: SHA512
>The recent/current attacks on multiple markets have been troubling after we’ve all had a good break for some time and things started to heal and become stronger.
>We’ve now had large scale attacks hitting the likes of WHM, DarkMarket and apparently some other services, although I cannot really confirm any others.
>I’d like to outline the main issues with this here. Firstly, /u/Paris and /u/mr_white ‘s work on /d/EndGame has been amazing and has allowed us to all have some really good filtering processes to limit malicious traffic from hitting the application layer and dropping their connections for v3’s where possible. Along with our collective knowledge of the attacks since February 2019, we have some very solid configurations that allow us to scale enough to stay ahead of the attacks and continue scaling alongside it. This is the absolute best protection we as service operators can currently provide and it works, but at many costs.
>We’re not really any closer to seeing a Tor PoW implementation that will seriously improve the situation, but the position we’re in with our own developments is a hell of a lot better than when this all started. There are things I haven’t disclosed publicly because of the potential for abuse, but a lot more worrying things have come from these attacks, costs that aren’t of the monetary kind. The seriousness of the attacks’ will probably become clear at some point. Consequences for Markets
>Consequences for Markets I am aware of at least 2 markets that have paid for attacks against other markets within the last few weeks. I also know of one wishing to pay for retaliation attacks.
>This behavior from market admins is absolutely unacceptable and it will not be tolerated. You have [b]no idea[/b] of the ramifications this has, it is way beyond just taking your competitor offline, inadvertadly, but you are causing a problem that is a great deal worse without even knowing it, if market admins wish me to disclose these other issues to them, they can contact me directly and you will soon rethink your poor business strategy.
>– From here, there will be extreme consequences for any Market admin found to be funding attacks against any other service, market or not. You know who you are and I won’t publicly out you here for it, for the time being.
>Any Ads/other promotional material will be indefinitely disabled You may have your Subdread banned You will be delisted from Recon You will be delisted from DDF Most importantly, your own service will be attacked. This is where it ends, I’m not sitting through another storm of attacks.
<—–BEGIN PGP SIGNATURE—– iQIzBAEBCgAdFiEEYTOs4fS4fFHb8/6l6GEFEPmm6SIFAl/5pNwACgkQ6GEFEPmm 6SIJWA/+M0KfiK5D4T9D3ELwqtAHRBjU8cPqP1yxMYmoZrnZPKO81SuP+fH59xMj XtQn01rIPmRwuLntitf4zGo05LvPWBu8eDErLw4va9yqZtcBVKpP7Jaj+pr8vuRx XgqBA+bdcYpESHs1dzl10HVmeDe2dT7QuuJk63sohw9xf+31wgp9TI2wr8VM48Sv enbO9UUf+dHOajHqmbvNbUOIcf6EPcIUgCA/iedm5WhUfKDOt1AHK4xLYJA7Mmbz 7Y+vCBbPitx0kGMth/xWUsvKWhHeTsv/eSAlsbxmMaVQ4S7zJqJKvHAjxpxT1ZDG lNZqGAH5E4geylibg/mfntJmo4bIg62jQTCT3/kd9Q4ZNWp84Y6FXq55kTTIzrZt ii5Q5wdSIAtUG+mk7gKsPSO2vgvh7TIh8Y6LYg89xvCV1kS9SHC6d2bTiRDqJH7F qo/+qf3ml4jgYqSv4rJIZ7NqmJVGRqQpMMwHxp8zUZyW0ArmE78nTf9I3rRRvaJN OiPnCXDi1i/gK3TrwHOrek4VXhqT+VRBAbUWUPCu1i0IHsfJv3UKgDYLRP2S8x6q A9ed97mTwqNnIKxrXOozvvfE5CJj/N+6Mfu5Q9+3mFNI9FRQtTmoWSpzxrZZdozx nbexW83LKN/b6/zu+KRE/uaabDLg8kvdE/iRiYYAR6gzHlDlHPk= =wZW1 —–END PGP SIGNATURE—–
>An explanation of the attack from Paris, the co-admin of Dread.
Message too long. View the full text
16 replies and 1 file omitted. View the full thread
>>791
Tor died when the original silkroad did. It's just government run bullshit.
>>1104
Are there visit-worthy websites on any of these?
Replies: >>1769 >>4636
>>1754
Do your own research on dark.fail
>>1754
Do not talk about /site/
DO NOT TALK ABOUT /site/

The reason Alt 'nets keep going dead or glownigger is because of open chatter. Remember the Rulez. We need them now more than ever.
>just use v3 goy
truly visionary

baebd4d90d0275e573244883b1248b14101033992c749b4e32bc9cf2c60a2dd9.png
[Hide] (5.4KB, 600x338)
Is it more hype than help? Overly complex or not complex enough? True internet 2.0 or already obsolete?
2 replies omitted. View the full thread
4afffc31a40ba2830c4fa1d0f6ac9f6ba4342080743690d5bae47929d09bb828.PNG
[Hide] (728.8KB, 599x599)
nobody i know uses it, i have it disabled by default and all the networks i've used all still use IPv4, it's not going to come into effect for a while but you'll probably want to learn it before the end of the decade. it's needlessly complicated and instead of 4 numbers we now have to throw in hexadecimal and colons everywhere. it's going to be a pain in the dick.
Replies: >>4028
>>3982
IPv6 is a foot-in-the-door for less privacy. While all the desktop OSs may have the privacy extensions, it's less likely all the dumbsumer IoT devices will, but they are all Trojan horses anyway, so bad actors will already have access to your network if you use them.

>ipv6 could have been just a longer ipv4 address
That would have been nice. When now hearing the word features, I cringe and hope whatever they are don't cause too much damage.
2b4984f0dad413d68f44557f52060296115c9091bff24ab23041aa4a15afca3b.gif
[Hide] (11.7KB, 300x220)
>>4022
You are more likely to see it at the ISP level and above. A lot of them have already switched and use translation. There is not any advantage to end users implementing it. It is very unlikely end users would exhaust usable network IPs, unless evil technology like IoT dust and other wasteful things need vast numbers of addresses. But why would anyone want those things unless they are retarded?
So give me some examples of how an end user could be fingerprinted and tracked using this. Does Tor mitigate things or does IPv6 introduce some extra risks and fuckery?
Replies: >>4048
>>4034
Try testing with some ipv6 test sites with your friend's computer and with Tor, eg: https://ipv6-test.com, Tor should protect you if all of your connections are going though it.

4-638e68b17be50c1baaeb8210c346a0bc-Breadbox_Ensemble_Lite_4.0_-_Splash.png
[Hide] (27KB, 640x480)
Have you've ever tried to test pit an prototype or other lesser known OS.
Use
https://winworldpc.com/library/operating-systems
And download one that sounds great. 
I don't know use a WM or something.
Tell in this thread what was your experience with it and what do you think of it and the pluses and minuses
You van also use other sites for more OS.
4 replies and 1 file omitted. View the full thread
>>2694
Mice are aids unless you're playing vidya or video/image editing. There are 4 modifiers and maybe 50 keys minimum on an average keyboard. Shortcut space is effectively free even when you take into account the de facto standard of shift for capital letters, super for WMs, and ctrl+meta for important OS things like switching ttys
>>2920
Good effort and nothing wrong with it, but it should be apparent to anyone wanting to create a new general purpose OS that a monolithic kernel design is probably not the best path to take anymore. Ideally it should use a microkernel with very stable API, small code size, and well scrutinized. There will be a need to support legacy applications, as they are, without an expectation to significantly modify their code base. Running applications this way is less efficient than applications designed to run natively, but it is also inefficient (at a macro level) and unrealistic, to port all legacy applications to a new system design.

A new GP OS needs to function more like a type 1 hypervisor,  Qubes OS is like this, but it uses systemd Linux for the administrative domain and seems to put much emphasis on information compartmentalization, probably more than most users need. For a GP OS, using something similar to Plan9, with FS namespaces/union control and P9 protocol to facilitate data access between applications.
Replies: >>3889
>>3458
Sounds like something like this could be done by running Xen on DragonflyBSD. What do you think of something like that?
Replies: >>3890
>>3889
correction: What about running NVMM on DragonflyBSD
Replies: >>3891
>>3890
They are pretty much similar. But this gp os already exists, browsers.

Show Post Actions

Actions:

Captcha:

Select the solid/filled icons
- news - rules - faq -
jschan 1.4.1