/tech/ - Technology

Technology & Computing

New Thread
Files* Max 5 files32MB total
Captcha*Select the solid/filled icons
[New Thread]

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

[Hide] (43KB, 300x100)
[Hide] (332.4KB, 300x100)
[Hide] (53.9KB, 300x100)
[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
[Hide] (36.8KB, 300x100)
[Hide] (474.4KB, 300x100)
[Hide] (842.8KB, 300x100)
[Hide] (13.8KB, 300x100)
Replies: >>6341
[Hide] (2.5MB, 300x100)
This is how you do it.
apologies for the nigger
Nice work

[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
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.
[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.
[Hide] (10.5KB, 273x156)
[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

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.

[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
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
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.
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
>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

[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
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
Drugs or working out
Replies: >>5547
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
Just force yourself and the energy will come. It sounds like bullshit but that's how your body works.

[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
Yes, I did.
Replies: >>4167
What program? All of mine works.
Replies: >>4172
https://aur.archlinux.org/packages/pulseeffects-legacy/ and pavucontrol.
Replies: >>4178
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.
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
Use the fifo plugin and set up ffmpeg filter chain, outputs to raw hw. You should nice it realtime.
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

[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
This thread is over a year old, nigger.
Replies: >>10369
gud suggested sites doe
Time flies doesn't it.

[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
>You should be using both either way since they both have different use cases anyways
Replies: >>4851 >>4994
>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
Tor is designed for clearnet access.
i2p is only for Eepsites.
Replies: >>4982
[Hide] (499KB, 578x715)
> 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.

i2p also supports udp and ipv6 so it can route non-web protocols like bittorrent much better.
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.
>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).

[Hide] (257KB, 474x355)
>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.
>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
Tor died when the original silkroad did. It's just government run bullshit.
Are there visit-worthy websites on any of these?
Replies: >>1769 >>4636
Do your own research on dark.fail
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

[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
[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
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.
[Hide] (11.7KB, 300x220)
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
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.

[Hide] (27KB, 640x480)
Have you've ever tried to test pit an prototype or other lesser known OS.
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
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
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
Sounds like something like this could be done by running Xen on DragonflyBSD. What do you think of something like that?
Replies: >>3890
correction: What about running NVMM on DragonflyBSD
Replies: >>3891
They are pretty much similar. But this gp os already exists, browsers.

Show Post Actions



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