lainchan / Ω
Tech Questions Thread #4
Unspecified · 2020-07-17 01:07
A new one, because the old is full.
Ask tech questions not worth its own thread here.
Miho Iwakura · 2020-07-17 20:25
is it possible to short my laptop's cooling fan into running constantly? there are no drivers for interfacing with any fan speeds on my machine past windows xp
pic sorta related, the closest thing to resembling it
kiwami · 2020-07-17 20:49
Yes. There is one black and one red wire (usually) you can hook them up to the fan's full working voltage usually 5 or 12 volts, do check it by it's part number or test voltage when 100% running. Solder the wires to the same voltage rails found on the Laptop mobo. Done!
Six · 2020-07-17 21:50
>>29721
worked!!
excellent, thank you. i have very minimal knowledge of electronics and soldering so I'm glad this worked ok
Kiwami · 2020-07-17 22:18
>>29727
No problem champ.
Jane Doe · 2020-07-17 22:34
>>29096
In case you haven't fixed it yet, try adding this to your CSS.
.postcontainer + br {
display: none;
} I don't know about OneeChan, but it works on the default site at least.
Dr. X · 2020-07-20 13:24
I tried booting ReactOS on my librebooted thinkpad, but for whatever stupid reason, Libreboot developers decided not to install ntldr GRUB payload.
I'm going to compile Libreboot myself and add the payload, so I can run the system on it.
Acid Burn · 2020-07-21 01:44
What's the difference in how GNU/Linux executes files from a file browser vs the terminal?
I downloaded a game recently and it runs perfectly fine when I run it by double-clicking the executable in the file browser, but when I try to run it from the terminal I get this error:
AL lib: (EE) AddFileEntry: Invalid header in /usr/share/openal/hrtf/Default HRTF.mhr: "MinPHR02"
AL lib: (EE) AddFileEntry: Failed to load /usr/share/openal/hrtf/Default HRTF.mhr This seems really bizarre to me: It's the same executable, so shouldn't it do the same thing regardless of how I execute it? What's the file browser doing differently that makes it work?
For reference, I'm using Nemo as the file browser, bash as the shell, and Konsole as the terminal on Manjaro.
Lord Nikon · 2020-07-21 17:24
Whenever i tell my friends about data being collected by giant coroporation. They always asked me like "what are they going to do with that data?". And i am not able to provide them good comprehensive answer. Any suggestions or any website to inform them about reason and intention of data collection by giant coroporations?
Just another Random Lainon · 2020-07-21 17:51
>>29944
https://www.forbes.com/sites/kashmirhill/2012/02/16/how-target-figured-out-a-teen-girl-was-pregnant-before-her-father-did/
Stuff like this. They can know things about you even before you do at this point, thanks to behavior analysis.
Also, please note that your friends are very likely not ready to be pulled out of the matrix. Most people aren't ready and sometimes I suspect most people never will be.
fsociety · 2020-07-21 17:56
>>29949
Thanks for suggestion.
Sipho Nkosi · 2020-07-22 04:19
whenever i go to take bath, my roommate try to open and check my phone. i am certain that he does this.i want to caught him. Any good reliable app to do this?
Joey · 2020-07-22 08:57
>>29908
So I've figured out that the game runs from the terminal if I either pipe the output to something else or write it to a file, but not if I just try to run it normally. I'm very confused as to why this is.
Cat Mother · 2020-07-22 09:30
>>29998
Also, it runs if I write the output to either a file or /dev/null, but not if I write it to /dev/stdout or the current pts. I'm guessing the reason it runs from the file browser is because the output gets written to /dev/null in that case?
Unknown · 2020-07-23 00:52
>>29908
Is the executable a dot desktop file? If it is then think there is a different command options in there. Check the properties. If not, make the terminal to cd into the executable's directory before running the executable since by default terminal targets at ~ or /home/user.
>>29944
Just tell them these companies are rampant stalkers.
Usually it's just for targeted ads. They create a online profile of you somewhere in the cloud but the problem is when hackers come into play and leak the secrets somewhere and store it in blockchain so your data is stored forever.
>>29993
Haven. You can use the sensor movement logger where it tracks whether the phone had moved by checking compass/gyro/etc. Though it had become a pain in the ass recently when android revoked apps that take sensor locks while the device screen is turned off.
Trinity · 2020-07-23 04:19
>>30044
The executable you're "supposed to" run is a bash script that just checks which architecture you're using and then runs a binary, but I get the same behavior whether I run the script or if I just run the binary directly.
>by default terminal targets at ~ or /home/user
When I say "run it from the terminal" I mean I open the terminal, cd to the game's directory, and type ./[executable]. I've also tried running it from the home directory and running it with the full path, but like I said, the only way I've gotten it to run from the terminal is by directing the output elsewhere, either using | or >, so it seems like the problem is some sort of bug (probably in the game's code) involving stdout.
I'm gonna be honest, I haven't actually even played the game yet, since I just find this too intriguing.
Delilah · 2020-07-23 06:41
I'm trying to make ssh work natively on android.
Lineage OS supports $ ssh natively for some reason and I'm planning on going AOSP so I figured out I'd just
>install Termux
>pkg install openssh or dropbear
>only works on termux though, I want to use my own term
>copy installed binaries from /data/data/com.termux/../usr/bin to /system/xbin
I've only tried porting "cowsay" and it works but my question:
Is there a even better way to add native ssh support for my OS?
I've tried all those SSH apps and they look pretty soykaf and bloated. Seems like most Terminal Emulators out there are a downgrade of jackpal.androidterm.
Sabo Engle · 2020-07-23 06:43
>>30055
Also, I've tried magisk openssh module and it doesn't work with any terminal emulator, seems like it just makes my phone a ssh server and not a ssh client which is what I need to ssh into my router.
H.R. Giger · 2020-07-26 21:58
>>29695
What is the smartest way to get a pop up notification to the windowmanager of choice if someone i like to know about streams on let´s say youtube, twitch or even another page. I really don't want to create an account just for reciving notifications, there must be a good way to achive this!
Wintermute · 2020-07-26 23:44
>>30189
notification-daemon, curl, and a little bash magic
Splicer · 2020-07-27 03:15
>>30189
I begin to suspect a great part of the answer lays here:
https://github.com/robm/dzen
>>30196
I also thought of that, sadly I am not capable of creating this magic, this is why I am coming here in the first place, this really is not helpful man
Anonymous · 2020-07-28 17:29
Is it stupid to use a small us based vps if i'm not from the us?
Six · 2020-07-28 17:38
>>30244
That depends on what you're using it for. Ideally, it should be geographically as close as possible to the majority of people who are going to be accessing it. If you're using it as a web server and you expect a lot of your visitors to be American, then a US-based one is fine. If you're setting up an XMPP server to talk mainly to friends who live in the same country as you, you should probably get one in your country.
That being said though, that's just the ideal - as long as you're not feeling a frustrating amount of latency then it's fine.
Mitnick · 2020-07-29 06:22
heello! I am having trouble getting into ddt for use with /layer/
This error keeps showing up, although I've typed the message I'd like to send
Terzibashjian · 2020-07-29 09:08
>>30244
If US has no-extradition laws with your country, then of course.
Incognito · 2020-08-02 02:34
Is it possible to do per-application volume control with ALSA? Or am I stuck using PulseAudio if I want that? I've done a lot of searching on this topic and somehow still don't have an answer.
Debbie Charteris · 2020-08-02 09:42
>>30483
I think it can be done, but not easily. The basic technique is to create a new virtual device that has software volume control (dmix?) with your real sound card as a slave. Then you use environment variables to make your particular application use that virtual device while everything else uses your normal card.
While I'm no fan of pulseaudio, asoundrc is also a complete clusterfuck and I couldn't tell you just how to do that.
Hacker · 2020-08-07 07:26
Where did the 'breaking electronics' thread go? Was it deleted?
Berry · 2020-08-10 02:38
So, I have this Dell Latitude XT3 model laptop sporting a XT3 ST pen which, after further research, requires a driver to use. Me and my girlfriend went to the Dell website to download said driver, only to be met with a notification on my computer saying that the driver is not supported by Windows 10. Now, sadly, I don't wish to switch to Linux or any other version of Windows. Is there any available solutions or alternative drivers I can look into?
Cowboy · 2020-08-10 21:50
>>30818
>Is there any available solutions or alternative drivers I can look into?
Not really, I had this problem too with some hardware.
The Linux kernel has actually better hardware support than Windows in certain cases.
Install the said Windows version required by the driver or beg the proprietary pen vendor.
Masami Eiri · 2020-08-11 11:18
Hi lanons,
Going to learn IoT development, want to find a job in future after I graduated. Would like to focus on hardware design, especially FPGA or ASIC. Any books recommended?
(Now I am totally beginner, want to learn by myself. Have some experiences on python proramming, little exp on C)
Thank you
Boris Grishenko · 2020-08-11 16:18
is virtualbox 6.1.6 really the recomended/safest/securest version of virtualbox for Whonix?
Jean Dupont · 2020-08-11 18:21
>>30861
Where did you hear that?
Crazy Jake · 2020-08-11 18:40
bsd/solaris and long time hater of systemd here.
wanting to make the switch to linux, because as much as I love anything but linux, bsd's limitations is showing.
I am hoping for a distro that is somewhat similar to bsd, i like to be able to edit config files and use oss/sndio
and a wide range of up to date packages would be nice.. i can try listing a few things i rely on
- biltbee
- _all_ biltbee plugins aside from facebook
- dnscrypt, dnssec
- wireguard
i would very much like to avoid any distro resembling ubuntu, fedora or arch because they are cancer
thank you
Yuki Nagato · 2020-08-11 19:42
>>30867
>i would very much like to avoid any distro resembling ubuntu, fedora or arch because they are cancer
Resembling in what way? You should probably say what exactly it is you dislike about those distros so that people can avoid recommending you distros with the elements that you dislike.
Gentoo, Devuan, and Artix are all lacking systemd. Artix is Arch-based, but I'd recommend looking into it anyway, especially if you want up-to-date packages. Depending on why you dislike Arch, it might've changed the stuff you dislike.
Leto Atreides I · 2020-08-11 20:12
>>30870
>>30867
i don't like arch
also, i forgot to mention
i can only use CDE
i cannot be gambling with my system like a windows/arch user, plus. i don't get them at all, they claim to be a KISS distro, but are anything but..
modern linux distros are always needlessly complicating things, like why the hell do they want to remove the home directory? why did they split up ifconfig
why do they restrict the way i use ssh
why do they flip out when i edit configuration files manually
why do they flip out if i dont use a login manager
Guthrie · 2020-08-11 20:14
>>30870
i forgot to say, thinks i am looking for are
- bsd/sysv style/old unix style init
- more adherence to unix philosophy
- both a binary and source ports tree would be nice
far fetched, but do i _HAVE_ to use grub?
Motoko Kusanagi · 2020-08-11 20:30
>>30865
Whonix website recommends VirtualBox 6.1.6 because Whonix ™ 15.0.1.3.4 was built and tested with VirtualBox version 6.1.6 and it says its hard to install newer versions on Debian. Computer is too old for Qubes. Does anyone have experience running newer versions? Is there any reason to try?
Arisu Mizuki · 2020-08-11 20:38
>>30875
Why don't you just use xen or qemu? virtualbox is normal person soykaf
Tequila · 2020-08-11 21:37
>>30876
dont want to break anonymity design of whonix? i dont know why they emphasize virtualbox and specify some old version.
Undisclosed · 2020-08-11 22:43
>>30881
probably because like any distro of that nature - it is a honey pot for script kiddies and other dummies
and since vb is a fairly crally piece of software and has had plenty of break-out exploits in the past, i reckon it _still- has them
Rick Deckard · 2020-08-12 03:59
Does anyone know where I would set the firefox "save as" download popup windows size settings at? I'm using i3 and the thing pops up as 4 times the size of my screen and I have to full screen it to bring it in bounds every time I download something. Is there a way to redirect firefox to using the old gtk2 save as menu like Palemoon has?
Cereal Killer · 2020-08-12 04:10
>>30902
Im pretty sure Firefox uses my default file manager for that popup. Are you sure it isnt an issue with your fm rather than Firefox specifically? Worst case you can probably hack around the issue using i3's config. I forget the exact syntax but you can have i3 automatically set window properties based on things like window title and what program is running in it. I use it to hide the title bar on my terminal windows, for example.
Delilah · 2020-08-12 05:18
>>30903
I'm not sure what it is using because I don't have a default file manager defined anywhere. I just use ranger from cli and thats it.
Linda Lee · 2020-08-15 02:01
I'm trying to install Artix Linux. I download the artix-base-openrc-20200214-x86_64.iso and installed it in a USB drive. I partitioned my hard drive as the image follows, but everytime I boot my computer with USB drive containing artix, grub giver me a message like: unknown file system. What did I do wrong?
Void · 2020-08-15 08:55
Got a RAM problem but I'm not sure exactly what kind of RAM problem it is. I just swapped out some old RAM for a different set with different voltage and different target frequency, switched to its new XMP profile, and now I'm noticing any sort of display that has to do with X11 is giving me these intermittent ~1-second freezes in display refresh. I think it's X11 because I don't appear to notice it when in a tty terminal. And I think it's just a refresh issue because things lurch forward instantly when the display refresh finally arrives when I continue performing actions in the middle of one of these freezes, indicating the rest of my system was responding to my inputs the entire time.
Anyone seen this before? Any idea what I should try to tweak? This new RAM's set of CAS latencies are not exactly listed in my manufacturer's list of approved RAM, but it's pretty close to listed entries. Much closer than the last set of RAM which was giving me other issues at least.
Liet Kynes · 2020-08-15 14:46
>>31079
Are you sure it's not just your monitor receiving interference from some electric appliance? If it was a RAM problem I think it would crash already.
Sipho Nkosi · 2020-08-15 14:48
>>31095
Okay, I just read it again. Thought it's a 1-sec blink.
Did you look at the cpu usage? Usually I'd just restart my WM/DE and renderer when it happens in KDE.
Masami Eiri · 2020-08-15 15:20
>>30873
gentoo and devuan
>>31069
Unclear. Did you use two drives (usb drive and a sata drive [ssd/hdd])?
This usually happens with two drives and EFI crap bios soykaf:
>hdd0 is sda1
>sda contains the boot and OS files
>sdb is hdd1 that contains no OS but just plain soykaf
>for some reason your motherboard loaded sdb1 first when powering up
>so sdb1 is now the sda1
sda = hdd1
>sda is now sdb because it loaded last
sdb = hdd0
The problem now is grub still points to /dev/sda1 which is the sdb1 that had no OS installed. Thus grub fails.
Check both /etc/default/grub and /etc/fstab. Use UUID on both, regenerate configurations and try to boot again.
The only problem though is swap would require PARTUUID for grub resume hibernation to work and whenever the drives flipped, it would produce another unique PARTUUID so boot from hibernation would fail sometimes or not sometimes.
(Also asking a question myself) How to fix that? Or enforce the EFI to not flip the hdd0/hdd1 to hdd1/hdd0? UUID seems to work but PARTUUID breaks hibernation. Maybe I should file a bug or it's just EFI soykaf.
Yamaoto Toshi · 2020-08-16 01:30
Hi lain, new laptop, quick question: is vega 8 supported by the amdgpu driver? I can't control brightness whatsoever and i already tried with the kernel params specified in the arch wiki. kernel 5.8.1
Spike Spiegel · 2020-08-16 01:35
>>31122
Woah nvm, it just decided to work now, current kernel param is acpi_backlight=video.
Jet Black · 2020-08-16 03:03
should I use TAILS 2.12 or Whonix 13 if I need an anonymizing OS on i686? also open to suggestions for an OS that runs everything through tor/i2p/freenet and is similar to tails/whonix
Switch · 2020-08-17 19:42
Has anyone here ever riced the dummy server that X starts if you do not start a wm like twm or anything?
Nobody important · 2020-08-18 19:21
Why are the wikipedia pages for games such garbage? They never mention anything of how the game is actually played in practice. Nothing about the meta. It's like the writers are in their own world.
Ivan Horvat · 2020-08-18 19:29
Also, have people tried to add stuff about the meta and it got removed?
William Holtzer · 2020-08-18 20:59
>>31256
>>31257
There's also stuff like gamepedia.com, which still does nothing but repeat a bunch of official facts and numbers from the official sources. Content by and for bots.
Switch · 2020-08-19 18:07
>>31256
Wikipedia is garbage for any sort of contemporary news or history if you dig too deep. It's mostly a mouthpiece for corporate propaganda. But for video games specifically it's so bad because the video games reporting scene is total horseshit.
The Oracle · 2020-08-19 19:05
I need to know what to look for when looking for wireless cards (preferably wlan cards or usb 'dongles') that will work perfectly with the aircrack-ng toolchain.
Demeere · 2020-08-19 19:18
Question regarding virtualization - what is ACTUALLY used for virtualizing soykaf in the field?
I am tired of banging the virtualbox/vmware rock and sticks together, I want more control. I want more power with my VMs, what type 2 hypervisors are normally used?
I'd like to be able to virtualize anything. Whether its the native instruction set for my cpu, or whether I must emulate another instruction set. What do people normally use for this?
I'd also like to be able to view whatever desktop/gui there might be, rather than a console.
I've heard of xen, i've also heard it doesn't work on corebooted machines.. is that true?
Educate me please, thank you. I wish to move on from these awful tools
by the way, I am using debian
Erik Johansson · 2020-08-19 20:43
this thread has made a dead board even more dead and stifled valuable discussion
Anamika · 2020-08-20 03:13
>>31283
Wikidevi
Crash Override · 2020-08-20 05:13
>>29695
How do I check from the command line whether my desktop is locked? I'm using systemd and KDE.
Random · 2020-08-21 03:37
Sorry for noob question
But how do I change my display manager on artix with runit?
I checked arch and artix wiki and runit's documents and can't reallt find a clear solution.
Ivan Horvat · 2020-08-21 13:45
>>31321
Look for the '-runit' package. For example gdm-runit exists in artix repo. Some which don't need systemd you can probably manually configure yourself.
Koichiro · 2020-08-21 17:33
Total noob here, just recently installed debian with GNOME as a GUI, and I'm looking to dig into working on the command line. The thing is, I have no idea what to do and what I'm trying to accomplish with this. Does anyone have book recs that are progressive and have exercises? I learn best by fiddling but I'm a fuarrrking dumbass and need to be handheld to some degree. I got this book from No Starch press on the command line, but the only problem is it doesn't have exercises--it just gives a general sentiment at the end of each chapter that you should "fiddle around with the concepts just learned." Obv this book isn't much help to me--I get exposed to topics in a progressive fashion, which is good, but I feel w/o any exercises to do at the end of each chapter I'm not solidifying the knowledge the best that I could.
Also, just as a general question, what are some cool things that I can do with my Linux distro? Having a basic project in mind that I could work toward might help me with learning Linux.
Judge Fang · 2020-08-21 17:45
>>31337
https://www.manning.com/books/linux-in-action
I haven't read this one specifically, but the other "In Action" books I've read are really good.
Batou · 2020-08-23 17:53
Do I need to some configuration for a linux distro running SSD?
How durable or easy it is to repair/recover data compared to HDD?
Spooky · 2020-08-23 19:30
>>31480
>Do I need to some configuration for a linux distro running SSD?
No, but you can use a modern file system that will take care of keeping your SSD in good condition, like btrfs or f2fs.
>How durable or easy it is to repair/recover data compared to HDD?
You don't want to reach the point where you have to recover your data.
Do backups if you care. It is probably harder on SSD, but I'm not a specialist.
Terzibashjian · 2020-08-26 20:28
>>31480
You can use lsblk --discard and check DISC-GRAN and DISC-MAX. If those aren't zero you can then use each a few days ftrim -a to do the periodic trim that those SSDs need. And make sure you use a good filesystem. I use btrfs on mine and it's been doing great for almost 2 years now.
Nemissa · 2020-08-28 22:15
So I've been trying to speed up a shell script while also being as lazy as possible. Basically it just hashes every file on the computer. The bottleneck is the hashing step. Since I have a flat list of all the files, it just calls the xxhash binary on each one, in serial. Im thinking about just appending an & onto the end of every line, but Ive never tried to run a script with 500,000 &'s in it. Can any more experienced users tell me if this will parallelize the process, provide speedup, and also not destroy my computer and hard drives?
Pulse · 2020-08-28 22:23
>>31707
The ordering of the inputs does not need to be preserved. Everything goes into a database and sorting is done in the database. I just have to hash all the files, in any order, at any time. I just gotta go faaaaaaaaasssssssst.
Zero Cool · 2020-08-29 02:16
>>31708
So I went ahead and tried this using the world lending library as a benchmark (about 3 TB of text files). It finished in 30 minutes but now Im missing 1.2 million hashes. That's not good. Further experimentation needed.
Judge Fang · 2020-08-29 03:51
>>31716
So instead of appending '&' to every line of my script, I added '>> output.file &'. I figure my missing hashes were caused by a buffer overflow or something so writing out at every step I think would ensure that no output is truncated but Im really just guessing. I still have 2 million processes all trying to write to a single text file asynchronously... I'm scared. If the output comes out ruined, I am officially out of ideas.
Lunch · 2020-08-30 00:11
How hard would it be to make a disp
ay iphone useable?
Y.T · 2020-08-30 11:21
>tablet, the mobile version, uses a 3 pin battery but it has cyberhumped which pushes my screen
>only aftermarket available is a 2 pin for wifi version
I'm planning on blocking the middle pin which is probably:
>thermal sense
>nfc or extra antenna
>oem fake detector
>others
Is it safe to use the 2 pin battery?
Planning to block the other pin on my current still-works-but-humped battery and see if it's okay.
Frank Garza · 2020-08-31 00:03
I'm working on forum software intended to be run as a Tor hidden service, geared towards small activist groups planning real-world events. It's got all the usual Tor-friendly features (no javascript whatsoever, lightweight HTML in as few files as possible to make loading quick over Tor, etc). It's also entirely self-contained - no need to install a separate database or complex config files. Just one binary (and AGPL3 source of course) that creates its own database file and default HTML templates when first run. It also has a few additional features not typical in forum software:
- Signup can be done with one-time-use tokens, to allow for a closed forum without the admin having to personally know everyone. Certain users can be set as "trusted", able to generate tokens so that the admin and users signing up via those tokens never need to know personal contact info for the other.
- Users can set an auto-lockout timer on their accounts, to prevent login after N hours. My "target market" here is activists who are required by law to give up logins after an arrest (such as in the UK). All they need to do is set the lockout prior to their planned action, and if arrested, wait out the clock. They can then follow the letter of the law without actually compromising the forum. If they're not arrested and make it safely home, they can turn off the auto-lockout. Only the primary admin can re-enable the account.
- Password resets and optional 2FA via PGP encrypted XMPP.
Things I've decided not to do:
- Handle post signing via PGP. I like the idea, but there's really only three ways to do it: trust the server with your private keys (one of the dumbest ideas ever), or use something like openpgp.js (a neat project, but can't do this on a javascript-disabled Tor browser), or rely on the end-user to do it themself with a browser extension/desktop PGP program/etc. I'm going for option #3.
So does anyone have any feature requests that they'd like to see in this sort of forum system? "No javascript" an absolute rule, but other than that restriction I'm open to any ideas.
Apoc · 2020-08-31 14:43
>>31791
Is it something like securedrop?
You don't need a forum or even a sign up. Just the signing of posts for the authenticity and identity, and any platform will do. Think of Cicada ARG.
>sign up
bad
>anonymity
You'll have to do better than cherry-picking good foss stuffs and putting it all in one basket.
While that's good in itself, you'll have to circumvent potential evolving and existing threats to internet freedom.
Tor isn't even a good place to begin with, as most ISP knows you use them, some countries block them or monitor through middleboxes and border gateways, some implement dpi to block vpn and tor, disable esni/dot/doh, and even some countries require you now to use a government ID to access the 'political internet' and some even have 'gaming hours' like Korea. Anything pro-freedom is going to be political and you can feel it. The world is gearing up towards restriction of freedoms.
Tor is useless now that you're required to give up your ID to access the internet or giving up your clicking patterns to captcha that think you're not human, showing passport to get a SIM. You can't use public wifi because it asks you your mobile number with their captive portal and routers that store and share your actual device CID, spoofs won't even save you.
All of it because not of spam/bot farming but because the internet is becoming a successful platform for governments to excercise more restrictions and surveillance. Journalists/activists/etc. can't safely access the internet anonymously in the first place, and that's not even including the backdoors in their devices that reveal them, and the adoption of China firewall to most of the world very soon.
Yu-ichi · 2020-08-31 22:07
>>31814
>Is it something like securedrop?
Securedrop is not a forum. So: no.
I think I may not have been entirely clear regarding the purpose of this forum software. The purpose is to allow for the planning of ethical direct action in the real world, by preventing authorities from preemptively stopping those actions through infiltration of the private forum.
To that end, certain technical choices have been made: running as a Tor hidden service for increased (not perfect, just increased) privacy, genuinely easy installation and setup so that people without server experience can run a site, measures to prevent the hijacking of accounts, usage of the covert cell concept to allow coordination between subgroups without divulging real-world identities, etc.
I'm not trying to defeat the NSA&co. I'm under no illusion that I'd stop the focused attention of a nation-state's smartest counterintelligence personnel. I'm simply trying to make it easy to stop the corrupt Townsville Police Department from preventing ethical direct action on the local scale.
Cereal Killer · 2020-09-01 04:00
Why am I unable to connect to lainchan IRC with irssi? Keeps saying connection refused.
Unsigned · 2020-09-02 01:12
I use my a selfhosted mail server. I will soon be switching from one vps to another, Is dovecot still considered good?
BloodCat · 2020-09-02 18:43
Any mutt Lains want to help me out? I'm trying to write an interactive account-chooser menu for (neo)mutt, but I'm not sure how to get it to work. Essentially I have all the settings for each of my email accounts in a separate file, which is pretty common practice. Most people define keybinds to switch between accounts, but I have so many of them I'd like to do it from a menu instead, kind of like the mailbox chooser menu. I already wrote a script that presents an interactive prompt for choosing which account config file to source (using fzy for interactivity), and upon selection echos the path of the selected file to stdout. I just need help actually binding this script to a hotkey/macro in a way that actually makes mutt source the file. From my understanding just using backticks (e.g. bind \whateverkey source `myscript.sh` ) won't work because 1. it doesn't actually spawn an interactive subshell, and 2. the expression in the backticks is run when the config file is sourced, not when the bind/macro is called.
>>31848
You're probably not connecting over TLS. Lainchan IRC doesn't allow unencrypted connections. Here is what I have in my irssi config:
{
address = "lainchan.org";
chatnet = "lainchan";
port = "6667";
use_ssl = "yes";
ssl_verify = "yes";
ssl_capath = "/etc/ssh/certs";
},
>>31892
>Is dovecot still considered good?
I opted to use it on the email server i set up a couple weeks ago. I didn't do exhaustive research or anything but there weren't any obvious better options, if you're specifically looking for something with dovecot's feature set.
Hiro Protagonist · 2020-09-03 13:03
This is probably a pretty basic question, but I can't seem to find a way to do system-wide redirection of websites (e.g. I type in "twitter.com/theusername" and I get redirected to "nitter.net/theusername"). I duckduckwent it a bit but haven't found anything that would fit.
I know of a few web browser extensions and greasemonkey scripts that do this stuff, but I'd rather not make it dependent on the browser (I use several, so it gets inconvenient).
Did anyone here ever do something like that? It'd be very much appreciated if you pointed me in the right direction.
P.S. I use a GNU/Linux system, if it matters.
Jean Dupont · 2020-09-03 14:19
>>31975
You can use a local proxy server like squid to rewrite the urls.
A good solution will be browser based though because the parts of the packet that need rewriting to do this kind of redirect will be encrypted on https sites so you need to setup the proxy to mitm your ssl connections.
A browser based solution will be able to do the rewrite before ssl happens.
Splicer · 2020-09-03 17:58
Hi lain
i want a stable distro without systemd to use on my only computer a laptop i just use it for school,programming and reading
so between Slackware,Salix or Void from what i read on them
which one would you recommend for someone like me who just want a working computer with sane defaults and no surprises ?
Arisu Mizuki · 2020-09-03 18:12
>>31986
lol, not slackware nor salix, nor void
if you want stability and sane defaults, debian
but if it *HAS* to be from that list, void
Agent Jones · 2020-09-04 12:42
>>31987
>lol, not slackware nor salix, nor void
why not lainon?
>if you want stability and sane defaults, debian
not a fan of systemd and i don't know about Devuan does any one use it?
The Oracle · 2020-09-04 13:30
>>31986
Calculate
Mario Rossi · 2020-09-04 13:39
>>32022
>why not?
They don't work out of the box.
>devuan
I've used it for 2 months and it's pretty good!
Use the OpenRC/Runit version, though
Now I use void, though
Pris · 2020-09-06 12:26
>>32022
I used Devuan Ascii for quite a while, and it's great. "Debian without systemd" exactly as advertised.
Netrunner · 2020-09-06 12:34
>>31987
Slackware was my first linux, and in fact is the oldest linux distro still being developed. it's excellent and will continue to be excellent as long as Volkerding is still around. But managing package dependency issues manually can occasionally be a pita.
Vasya Pupkin · 2020-09-07 19:35
How can I check if there is personally identifiable information within SVG/PDF files I've made (in Illustrator)?
Some guy found that the SVG files he makes in Inkscape have personal info in the metadata or something, and others suggested ways to remove it:
https://superuser.com/questions/739525/removing-personal-data-from-svg-file
However, I can't figure out where people even find this data. Some online metadata viewers showed nearly nothing on my files, but I'm not sure they were looking for the right things in the formats, since they're usually meant to look for camera info or whatever.
Nguoi La · 2020-09-10 07:50
>>32190
If you just open them up in a text editor you can usually see it. XML markup at the top or bottom.
Trinity · 2020-09-10 09:27
I'm currently comparing various web hosting providers in my country, I've got no experience with web hosting or how it works, but i just have one kinda dumb question:
many of these hosts give hosting packages for a set number of websites, say "up to three" in one package you rent, if i were to use these to make several websites, would they all be on one "machine", and if so, would they be easily traceable to one another. Say, if I have a website for my shop, and another for my personal website, would someone be able to easily find one of them through the other, because they might have, for example, the same IP address?
Drifter · 2020-09-10 16:22
>>32244
>Say, if I have a website for my shop, and another for my personal website, would someone be able to easily find one of them through the other, because they might have, for example, the same IP address?
It depends on how the hosting is architected under the hood, but the short answer is "very likely".
The other thing to keep in mind is what sort of websites you want to host. If you're OK with being limited to PHP as your only server-side language choice, then the average shared-hosting plan should do. But if you want to have the freedom to run any program you want in any language you want, you'll need VPS hosting.
The Fin · 2020-09-10 16:44
>>32242
Oh thanks, nice. Can't believe the entirety of file is visible and legible in there, I expected most or all to be garbled gibberish.
Naomi Nascimento · 2020-09-10 22:03
>>29695
what's the best way to grab images from lainchan's desktop thread? I don't know how to automate, I freaking love pretty unix desktops. A script or command would be fine it doesn't neccessary need to be automated I just like to let's say wget or curl the images
Y.T · 2020-09-11 00:00
What's the purpose of databases?
I don't understand why databases exist, when the problem could be solved by a proper filesystem handled by an OS.
Pic related is my understanding of databases - stack of three pancakes.
Batou · 2020-09-11 01:06
>>32287
That's like asking why vehicles exist, when cars already do. A filesystem *is* a database, just one with a very specific purpose.
Dujour · 2020-09-11 02:10
>>32287
>>32291
Filesystems actually illustrate the need for databases pretty well, because it is almost impossible to reliably & efficiently store and manage data based on anything other than a linear hierarchy. (You can do it inefficiently and in a brittle fashion)
How would you query your filesystem for all music files which were composed by Kino but not played by them, and in a certain genre? The usual answer would be a hodgepodge of shellscript that requires recursive traversal of a whole filesystem branch.
A database can easily encompass those sorts of relationships and metadata tags efficiently.
Unknown · 2020-09-12 13:53
>>29695
Can you isolate programs on windows like games and other proprietary programs? Block all network connections & the like.
VMs use a lot of resources, not sure if sanboxie is going to die since it went open source.
New windows versions have this sandbox feature. It does not keep any data & I don't think you can run games in it.
HELIOS · 2020-09-12 19:53
>>30055
I gave up on termux from all those permission problems, VNC also works though
Hong, Guil Dong · 2020-09-12 19:58
Is there still any anonymous way to have money nowadays?
Crazy Jake · 2020-09-12 20:19
>>32291
>A filesystem *is* a database, just one with a very specific purpose.
So why not make a filesystem, that is a database handled by an OS?
If the code is already there, why not reuse it? Or am I too much away from reality, thinking about the GNU Hurd.
>>32297
>How would you query your filesystem for all music files which were composed by Kino but not played by them, and in a certain genre?
What about indexing, directories and links? Filesystems already store some metadata about files like modification date, name, etc.
Why not use those abstractions to find records?
For example look at filesystems on Fuchsia:
https://fuchsia.dev/fuchsia-src/concepts/filesystems/filesystems#current_filesystems
These filesystems have specific purposes, why not make something like this, but for records and tables in databases?
Lain Iwakura · 2020-09-12 21:25
>>32394
Monero, Zcash.
Six · 2020-09-13 20:30
I'm a sysadmin that needs to learn devops, is there any good course or certification I can get?
Every course I've seen looks way too superficial or is only about a particular tool.
Vasya Pupkin · 2020-09-14 02:36
>>32431
>nice intro course
https://www.udemy.com/course/devops-with-docker-kubernetes-and-azure-devops/?referralCode=F93F55C6C35088856B37
>List of resources (check roadmap, gives you a good insight
https://github.com/bregman-arie/devops-resources
>Some demos
https://github.com/ValaxyTech/DevOpsDemos
>awesome
https://github.com/AcalephStorage/awesome-devops
Dujour · 2020-09-14 09:30
/home/lain/.local/share/sddm/xorg-session.log keeps on growing.
It's now 3GiB and something. How do I disable or fix this?
Armitage · 2020-09-14 11:49
>>32444
rm /home/lain/.local/share/sddm/xorg-session.log your welcome
Cat Mother · 2020-09-16 06:03
>>32450
Then you buy crypto
Dozer · 2020-09-16 17:15
>>32437
Thanks lain, this really helped me.
I don't know if I'm dumb but devops looks really weird to me.
Haruyoshi · 2020-09-16 21:21
How can I test FIDO2 functionality without actually owning a hardware token?
Is there software available that allows someone to "spoof" a FIDO2 USB device?
Lain Iwakura · 2020-09-20 15:05
So I have a wifi LAN .ac at both ends...
NAS - router - wifi AP ---- air gap ---- PC with wifi ac.
I get strong top bar signal, I get status showing me speed of 650Mbps... all very nice...
I then try and backup huge LAN data over this "fast" connection... 9.24 MB/sec is all i can get.
I see lots of posts about this with no real solutions offered... e.g. get a newer this or that, move the location... change the channel... I might not know my ass form my L-bow but so many suggestions are from people who don't have answers, and just want to be seeming like they know soykaf... anyone have any real idea as to why i get so slow speeds? I feel it might be a setting? or maybe its just the realistic wifi speed with packet loos and 2 way coms taken into account?
Any help much appreciated - cyrrently trying to backup 10TB at 9MB/s!!!!
Anonymous · 2020-09-20 15:06
>>32775
>air gap
meant as in just wifi - not as in not connected to a network!
Jim Hilger · 2020-09-21 09:19
>>32777
>>32775
My issue... (pic related)
Joey · 2020-09-21 11:06
>>32775
>windows problem
Turn off power management or something.
Otherwise, you're using soykafty drivers, lock to 80MHz only or 160MHz only, disable WMM of the AP or not.
Couldn't you just connect the NAS to the AC1200 connected to ISP?
Acid Burn · 2020-09-21 14:36
>>32878
>Turn off power management or something.
ah I did this - no joy.... maybe drivers but I used supplied and also tried to get windows to update them (it thought the drivers were good!).
Kinda I simplified my networks... the first ISP router does the downstairs of the house, guest wifi, games PC VR machine and also this PC on the wifi! ... the NETGEAR router servers upsatairs and that is my office with printers more pcs and 3 NAS drives... I want the office as a seperate network isolated from the first... hence both routers are set to serve DHCP seperatly.
I have 1 PC in the games room that is 'ard enough to handle 10TB of data on its RAID... as I dont want to bridge the 2 networks - I made a separate wifi network to bridge this 1 machine for the sake of backup (3 copys of my data) also the wifi from the netgear is going to serve as a fast wifi just for the office network.
So I kinda need to keep the setup (unless someone shows me how its ment to be done!)... I do want separation for normal people and my work networks.
Mitnick · 2020-09-21 16:02
>>32775
If you're getting packet loss then you're going to be extremely crippled, fix that first and foremost. Whether that's directional antennae, better isolation of outside interference, etc... If you have the ability to do any testing with something like iperf that might help you get an idea of what speeds it is actually capable of sustaining. You can try testing to your AP to determine if the issue exists in the first hop or somewhere further down the line.
Spooky · 2020-09-21 16:16
>>32892
>iperf
Thankyou lain. will check this out - I am kinda fumbling my way through networking... Its not my strong point...
as you can see >>32873 my connection looks nice with good signal... but had no idea to test for packet loss - will report back...
N.b. what sort of speeds should a windows LAN transfer over (say typical) .ac wifi get? 30MB/s 50MB/s 80MB/s? whats a reasonable target?
Anonymous · 2020-09-21 21:09
I'm having speed issues with Qt5 applications, Tor Browser Bundle, and Firefox on Gentoo. The UI is unresponsive. I've been trying to find out how to fix the issue, but I'm totally lost now. How can I finally fix this font issue?
Tor Browser log is attached. Qbittorent log will be on another post.
Anonymous · 2020-09-21 21:10
>>32913
anonymous@gentoo ~ $ qbittorrent
OpenType support missing for "MUTT ClearlyU Wide", script 11
OpenType support missing for "Liberation Sans", script 11
OpenType support missing for "Luxi Sans", script 11
OpenType support missing for "Nimbus Sans L", script 11
Neo · 2020-09-21 21:47
>>32894
I think iperf only does throughput testing. For packet loss you can try mtr or just plain old ping. No idea what typical or reasonable would be.
Mentat · 2020-09-23 07:51
I have AF drive that I'd like to use as OS drive.
Is it better if I format it as 4K or just leave it 512? I think there's gains with ECC if I use 4K.
Won't I get problems with file systems and operating systems (bsds) if I use 4K?
Just another Random Lainon · 2020-09-23 08:03
>>32996
Just found out that my drive is physical 4K logical 512 while on kde partition it is reported incorrectly as 512/512. I guess I'll gonna have to use SATA directly, could be a problem with the sata-usb controller.
Undisclosed · 2020-09-23 10:22
>>32916
iperf3 does report dropped packets, though it's not always clear. e.g. in UDP mode it only reports them on one side.
Cypher · 2020-09-23 13:44
What is a good way to create pdfs from webpages? I've tried every mainstream browser's "print to file" function and every one of them created wrong pdf's. The main problem is that parts of text is missing, page n+1 is not starting from the same point where page n ends, but several lines later. Do you know any tools that create the right pdfs from webpages? (other formats, like ebook formats, are welcomed too)
Trinity · 2020-09-23 14:27
>>33023
I think you must first save as MHT file, convert the MHT file into a static HTML and convert that again into PDF.
The problems I think was from javascript parts and persistent header, some sites even don't load pages unless it is being viewed that's why converting to PDF or an Image directly would have problems.
The Phantom Phreak · 2020-09-23 14:42
How do I avoid this? https://unix.stackexchange.com/questions/281282/how-to-prevent-sda-sdb-changes-between-boots
I'm tired of /dev/sda sometimes being /dev/sdb and vice versa.[code][/code]
Dox · 2020-09-24 08:26
>xfs.org
>error: site experiencing technical difficulties
>promised 2038 bug gets fixed last year
So I think ZFS then?
How stable is OpenZFS?
Lainons tried it yet?
Motoko Kusanagi · 2020-09-24 08:27
>>33075
also, does cryptodisk even work?
Case · 2020-09-24 22:36
>>33028
Did you try doing what the top answer says? cause that's about what I was thinking. I did something similar to the udev rule for some serial adapters that kept coming up in random order.
HELIOS · 2020-09-28 20:01
>>32389
The only way to block background network connection leaks is to use proxifier portable available on github.
Injects to some dll and it's a pretty neat firewall but it is not a failure safe. In very rare cases it would crash (example is when ram is full), without fallbacks. Another is you can't block super hidden processes or tasks from using the internet as they were meant to be hidden for purposes such as 'natsec' or something else I don't even want to know.
Molly Millions · 2020-09-28 20:10
>>33102
Turns out the fastest solution was to use /dev/disk-by-uuid although another problem came up. I couldn't get hibernation/s4 to work. I think I am missing some acpi package or something.
Harry Patron · 2020-09-29 07:38
I just borrowed a friend's car and got a parking ticket posted to my school account for not having a parking pass up
How the flying HECK did they associate the car with me?
Fred Nurk · 2020-09-29 07:57
>>33354
using ur FACE?
Acid Burn · 2020-09-29 08:27
>>33354
Welcome to freedom land.
Present Day, Present Time! AHAHAHAHAHA!
Roy Batty · 2020-09-29 08:30
>>33355
you really think they're poring over security footage and the yearbook for that? or that they automated it?
BloodCat · 2020-09-29 08:37
>>32394
>>32396
innoDB et. al. are stuff (kinda) "like this", just optimized for tons of access, designed in conjunction with the software (MariaDB/MySQL) that interfaces with it, and the protocol (SQL) that those "file"servers serve
consider e.g. WordPress and all its posts it's got to serve; those have to be served up somehow. abandoning the "totally free-form" nature of filesystems in the conventional abstraction we think of as "filesystem" allows them to juice a lot more performance, as well as making it easier to do stuff like filtering the data at the server level, in a way signalled by the protocol
though, also check out https://en.wikipedia.org/wiki/NoSQL
for attempts at getting that "database"-like performance out of more "filesystem"-like datastructures
Yeoja Aideul · 2020-09-30 10:10
I have an old phone pic related. I don't know how to root/update it; planning it as a "Mini-phone" if some of my devices were stolen. Brand: Alcatel Model: Onetouch 918n
Nobody important · 2020-09-30 10:59
You can have a security camera that is connected to net 24/7
Or a dash cam
Or a server
Yeoja Aideul · 2020-09-30 14:04
>>33541
Crappy camera.
Frank Garza · 2020-10-01 07:28
Piratebox or darknet server (eepsite, tor hidden service on someone's free wifi); probably requires rooting for additional networking functionality.
https://forum.xda-developers.com/showthread.php?t=2433162
It has a very old Android OS version, though probably and always-on clock/net weather station or piratebox in safe environment would be best uses.
Lady Jessica · 2020-10-01 10:56
>>33542
I mean, it's not likely that bad. I had an 2012 Android smartphone as an security camera and it had better image quality during daytime than my old DVR system. In other hand, the quality will be really bad at night with such phone. Op could also use it like an feature phone with an cell plan that has no internet included.
Sabo Engle · 2020-10-01 15:08
Where can I get a reasonably popular WiFi USB dongle, preferably the cheapest that will support WiFi direct on Linux with WPA_supplicant? Also preferably with no necessity to compile additional drivers.
I have a rtl8188cus dongle, but everything now seems to have rtl8188eus which doesn't work. Results on Google ale absolutely soykafty
Armitage · 2020-10-02 20:21
>>29908
Does it open anyway when you run it from the terminal or does it crash or simply not open?
BloodCat · 2020-10-02 20:33
>>30873
>Don't like ubuntu, debian, arch, fedora
Try slackware or knoppix, they are low level enough to give you control over pretty much everything but not to the point of being a pain in the arse
Case · 2020-10-03 16:10
best resources to learn git, fast?
Cypher · 2020-10-03 16:29
>>33602
Just read "Pro Git".
https://git-scm.com/book/en/v2
It is free online and there's pdf and ebook.
Read the following chapters: "Getting Started", "Git Basics" and "Git Branching".
Just another Random Lainon · 2020-10-05 07:12
>>29695
Hey guys! What would be a good lossy video format/codec to use when screen recording on an old machine w/ ffmpeg?
I'm not very knowledgeable on all things video, so could you be so kind as to show an example command?
The Plague · 2020-10-05 08:12
>>33659
Me again. I really need to get into the habit of using the arch wiki instead of web searches....
x264 produced a smooth video and didn't use 100% load.
ffmpeg -f x11grab -video_size 1920x1080 -framerate 25 -i $DISPLAY -f alsa -i default -c:v libx264 -preset ultrafast -c:a aac screen.mp4
Emmanuel · 2020-10-05 16:27
>>33484
Tails has some USB devices that they recommend, I'd imagine they should be fine. Scroll down a bit for a table that lists different models that are known to work: https://tails.boum.org/support/known_issues/index.en.html#wi-fi
Emmanuel · 2020-10-05 21:48
How do I make my own imageboard?
Switch · 2020-10-05 22:24
>>33685
Vichan/OpenIB/Lynxchan
Erik Johansson · 2020-10-06 01:08
Is it even possible to view someone's facebook profile without having an account there? I have their facebook URL but every time I try to view their profile I get https://www.facebook.com/login/?next=[their facebook URL]. Mind you I'm trying this via Tor but I don't believe it I'd see different results if I tried it out with my bare IP. Is there something like nitter or saveig but for facebook?
Drifter · 2020-10-06 11:39
>>33690
Stop stalking sexy girls, lainon.
And no, it is not possible to view the profile if it isn't public on Faceberg.
Roger Pollack · 2020-10-06 13:11
what is the most stable distro of gnu/linux to programming?
Lady 3Jane.. · 2020-10-06 13:22
>>33712
>what is the most stable distro of gnu/linux to programming?
Debian or Fedora, but I mostly use meme distributions, so you should wait for other responses.
The Fin · 2020-10-06 15:17
>>33540
>root
I'm sure there's plenty of tutorials how to create a recovery and root but given that's a mediatek, you could try cwmr.
I don't think there was a method to root gingerbread back then, I've never seen a project or they're device specific.
Problem is, that device timer and fs wouldn't survive epochalypse unless you find a way to fit a 5.6 or mainline linux into that device. I'd just keep the device if somehow something out there made it easier to develop (like a mediatek and powervr source code leak someday).
Cowboy · 2020-10-06 22:42
What's a good domain registrar to buy my domain(s) from?
Zero Cool · 2020-10-06 23:31
>>33752
I just use Moniker, by suggestion of an acquaintance:
https://www.moniker.com
In my experience, the prices aren't terrible, WHOISGUARD is gratis, and it doesn't seem like it's trying to take advantage of its customers, as a business like GoDaddy would. I've asked a few questions with the support mechanism and they've been answered fairly quickly. I searched for a domain name I didn't buy until a few months later, and it was still available, whereas I've heard GoDaddy will reserve and markup domains it notices people searching for.
I don't have a strong preference, but there's nothing bad I've noticed.
Incognito · 2020-10-07 04:20
>>33708
I like to think of it as a background check before hooking up. Thanks for the reply lainon.
Haruyoshi · 2020-10-08 15:16
Sorry, guess it's a real noob question here, but I keep having the same weird problem with Debian 10 Buster, LXDE.
None of my terminals can get transparent, what the soykaf? Have this ever happened with any of you?
I was using the same terminals (sakura and terminator) in LXLE and the settings used to work smoothly. Both of them have out-of-the-box transparency settings, but they just don't werk and I don't know why (have searched exaustively before posting here).
Have checked both of the config files and the transparency was enabled. Also, my terminal doesn't fuarrrking zoom! It's flipping up my aesthetic experience, Lains, pls help me. Is there some third party script that can be used?
John Doe · 2020-10-08 17:17
>>33844
I think this might be related to GPU.
Have you installed nonfree firmware? Try sudo apt install firmware-linux-nonfree or something similar.
Trinity · 2020-10-08 20:56
>>33850
Thank you Lainon, because of your hint I was able to fix persistent firmeware bugs by manually installing intel-microcode packages and its dependencies by adding non-free and contrib repositories in my apt sources list. dmesg firmware and microcode issues was successfully fixed.
BUT the transparency problems persist and it's apparently not related to GPU...very very weird bug, tried to use Compiz opacity settings but it doesn't work with any kind of window. I've exausted my options.
Nevertheless, I appreciate your help, learned a lot today.
Marly Krushkhova · 2020-10-08 21:10
>>33860
>Thank you Lainon, because of your hint I was able to fix persistent firmeware bugs
Glad I could help at least with that.
>BUT the transparency problems persist and it's apparently not related to GPU
Some terminals are dumb by default and are not transparent.
Try installing xfce terminal, go to settings, set the opacity as you want and tell me what happens.
I use the terminal and transparency works, maybe it's an issue with Lxde, isn't it abandonware?
If I recall correctly, Lxde was dropped in favor of LxQt.
https://lxqt.github.io/
Anyway, if it's not a problem with your terminal and it's not a problem with Lxde, then I don't know.
Pris · 2020-10-09 02:35
>>33861
Thank you again. It was something about LXDE and my GPU, I guess.
Tried to update nvidia packages, fuarrrked up everything (failed to read Kernel Modules) and reinstalled Debian with XFCE desktop environment. Everything's working smoothly now.
Koichiro · 2020-10-10 07:27
Does RX 550 work well with rolling distros and is it fully supported by open source drivers ? hevc/acceleration etc.
I know Nouveau lists all the supported features but I think they're quite lacking in it and I don't want closed-source drivers that allegedly "patches the MCU to permanently throttle their cards" depsite reverting back to opensource drivers.
Hacker · 2020-10-10 07:41
>>33890
GPUs lack the ability to be "permanently patched" so running the proprietary drivers is future safe while you wait for patches,
Spike Spiegel · 2020-10-10 07:56
>>33891
This isn't necessarily true.
HOWEVER
To run a GPU, even with FOSS drivers, you need to run firmware. This firmware is where such crippling would take place. As such, drivers matter very little (they're just an interface).
Jens Hansen · 2020-10-10 08:25
>>33891
I've experienced it myself with old gear.
>never update driver on windows
>games work in decent fps
>upgrade the driver to the latest one
>everything is unplayable
>rollback driver
>unplayable
And I got another laptop with a later generation gpu but I only used linux
>set up nouveau painstakingly
>better screen composition/frames
>try latest closed source because this soykaf is slower than intel GMA
>turns out its worse
>ditch the install because reverting back to open source on arch crashes. Use nouveau again
>now it's way worse than before
And I remember one post in some forum where they claimed the latest driver gave their gpu a permanent performance loss.
Morpheus · 2020-10-10 08:27
>>33894
This is bullshit. Performance nuts would've measured this by now and reported it to the authorities for anticompetetive behavior. If you're going to lie, at least make sure it cannot be fact checked.
Tank · 2020-10-10 09:31
>>33892
The driver could always flash new firmware onto the card. It would be mighty ballsy considering the frequency at which even well tested firmware upgrades break everything.
>>33895
Performance nuts throw their GPUs in the trash every 3 months and buy the shiny new one.
>>33890
RX 550 is AMD right? It wouldn't use nouveau. I've been using RX 470 on manjaro with open source drivers for a few years and 3d works pretty good with dxvk and opengl games. However, I had to build my own kernel to get HDMI audio working so I'm not actually using the rolling release kernel (I am using the repository X and libraries). No idea if they fixed the audio in the repository kernel by now. Also no idea on video decoding, it plays 4k video fine but that might be happening on the CPU.
Undisclosed · 2020-10-10 11:47
Why is there so much focus on deploying "applications" or servers in the IT industry? Do companies really install new servers frequently enough to need to automate the process?
Ender · 2020-10-10 14:29
>>33895
>trusts governments to regulate anti-competitive activities
Oh my sweet summer child.
XERXES · 2020-10-10 16:19
Greetings,
I'm looking for a way to record segments of clips playing in mpv.
I know mpv has a record feature, but how would I for example, set a binding to start/sotp recording ?
I'm sure some of you has already done this. I checked the usual answer places, with no success.
Thanks in advance lainons !
Yu-ichi · 2020-10-10 18:23
>>33909
Virtualization has made it so that when things go wrong it is easier to just delete the VM and copy/paste a new one than to figure out what actually went wrong. It means the IT people don't have to know what the servers do or how to configure them, just how to click the start/stop/clone buttons.
The downside is that serious problems and recurring failures can persist for absurdly long times because they just keep restarting it instead of fixing the actual problem.
Gyula Kovacs · 2020-10-10 21:13
This question might verge on matters of security, but I'd like to get some feedback from the group:
I'm working on some secure forum software that uses one-time-use codes for signups. The admin gives a batch of codes to a trusted person, who in turn gives them out to people they trust to create accounts. The idea is to keep some plausible deniability for users and admins to not know the other person's real identity, while still having a closed signup process.
If you were a user on such a system, would you want the admin to be able to track which trusted person got which batch of codes, and which code was used to create which account? The scenario I'm thinking of is that if the trusted person turns out to be untrustworthy (say, an undercover cop), it'd be easy to instantly ban every account that they helped set up.
But I'm also trying to minimize the amount of info saved, so that if the admin is forced to turn over the database, there's no way for anyone looking at the database to build a map of relationships.
Opinions on which way I should go?
Guthrie · 2020-10-11 10:09
>xhci warnings while generating ramdisk
>xhci_hcd doesn't work when using latest linux, external drive USB3 not detected
>use linux-lts
>for some reason, I cannot even delete a fuarrrking partition
Whew.
Linux confirmed dying community?
Hong, Guil Dong · 2020-10-11 10:15
>>33947
>xhci_hcd doesn't work when using latest linux, external drive USB3 not detected
The logs also mentions "detected low power USB device".
No new device shows up lsusb, lspci nothing.
Clearly, it's not even giving it enough power it needs, let alone make my external drive to revert USB2.
I don't even have systemd.
Liet Kynes · 2020-10-11 10:23
>>33931
Interesting idea but sounds a lot like discord invites. Definitely you can keep the "tree registration management" optional, you can use it or not use it, turn it off entirely at some point.
>admin is forced to turn over the database
Doesn't make sense, unless you use a blocklist and only whitelist legitimate IP which puts the identity of your users to risk.
Just do a normal canary report or maybe make a backdoor so you can hire a hacking group to destroy the data of your site. What even is important in the database? Will users use it to pass sensitive information? Doesn't make sense.
Technician · 2020-10-11 10:29
>>33895
>executables cannot flash the firmware with bad or compromised one
How new are you?
I'm still looking for that old post of someone who first recognized this issue and the reason I found it in the first place because of my experiences with geforce laptops. For the mean time, I'm never buying Nvidia because of this, and if I do, I won't upgrade the driver forever and you should too.
Agent Jones · 2020-10-11 11:55
>>33949
>Interesting idea but sounds a lot like discord invites.
I honestly didn't know that. I've never used discord. I avoid proprietary services as much as I can.
>What even is important in the database? Will users use it to pass sensitive information?
Actually, yes. I'm aiming for this forum software to be something useful for activist groups planning real-world actions that will inevitably lead to police attention. Anything in the database could be used by cops to pressure someone, or could end up in court, so I'm being very careful to consider what actually ends up in the database.
There's a few other fun tricks it brings to the party which would take awhile to go into and aren't really relevant to the signup code topic (mostly about being zero-javascript and Tor-friendly, and having TOTP 2FA being mandatory, and optional account self-destructs), but the short version is that the primary design goal is to make sure the typical local cop has no inkling of the details of upcoming local direct action being planned on a forum running this software. I know cops. I've got three in my immediate family and another ten in my extended family. "Will this feature make their work easier or harder?" is basically my first and only question when considering a feature.
Splicer · 2020-10-11 12:22
I think some files have been disappearing from my hard drive(s).
>I've been using them for a long time, and the two hard drives use RAID 1 (exact copies of each other), though I don't know if that could be the cause of the issue
>I'm using Windows 7 and sadly don't have backups of those particular folders to restore or compare
>The disk has been almost full for quite a while now, though it probably wouldn't start randomly deleting old files to make space for new ones
>I'm pretty sure I don't have malware, though what I assume is my video card has been causing visual glitches for a while, probably because I haven't cleaned it in forever
I'm going to run an error check on the drive (for file system errors and bad sectors), but it usually finds nothing. There haven't been any of the usual symptoms of hard drive failure either.
Has anyone else had random files go missing on Windows, or has any advice?
Void · 2020-10-11 12:30
>>33954
post the smart attributes. I'd prefer it if you use smartctl not those gui garbage.
as for disappearing files, if you remember the location then you can look for it with file recovery tools.
sometimes the files are still fine, it's just that the new shingled magnetic recording technologies eventually overlap your files by accident either destroying it or just deleting it.
Yamaoto Toshi · 2020-10-11 12:44
>>33953
Self-destruct is a must.
I'll just list some more flaws or features.
>2FA
Don't use phone number as anyone with the right budget and tech can easily intercept sms or even duplicate sim cards directly from the service provider.
>dead man switch
This is when a journalist have not logged in for quite a while, this lets them release their content and notify other people. if they're good with computers, they could set this up on their own but it's a good measure to notify peers when dead man switch is triggered. resetting the dead man switch must require authentication too so that when the journalist is infiltrated by a cop and is "fake posting" over their dead body or at gunpoint, people would know at some point.
Yet Another Lainon · 2020-10-11 12:50
>>33955
Thanks for the reply. Smartctl seems to be a Unix program, but there's a version of it called smartmontools that's available on Windows. Would that work?
As for data recovery, there seem to be a lot of open-source options - PhotoRec, TestDisk, FreeRecover, etc. Would you recommend any?
Hacker · 2020-10-11 14:21
>>33956
>Self-destruct is a must.
Definitely. I've got it working two different ways:
- Manually, using a dedicated TOTP token that the user cannot change. Even if an adversary gets hold of the other two TOTP tokens (2FA login and password-reset) and takes control of the account, the account can still be killed at any time by the true user, using the unchangeable self-destruct TOTP token.
- Automatically on a timer. The user can set an optional countdown that'll kill the account after X hours between logins.
In both cases, the error message that appears after trying to login to a killed account is distinct from a generic failed username/password error, and specifies that the administrator killed the account and not the user. Hopefully this will help people in draconian police-states like the UK where it's illegal to refuse to give up login credentials, and possibly prevent accusations of obstruction. "I gave you my login information, officer, it's not my fault it didn't work. See how you get a different error when you use the wrong password? I couldn't have told the admin to lock the account, you took my phone and kept me in a jail cell all night. They must have decided on their own."
Of course I can't guarantee it'll work in every particular case that comes to police attention in every particular legal jurisdiction. But I'll do what I can on the technical side.
>>2FA
>Don't use phone number as anyone with the right budget and tech can easily intercept sms or even duplicate sim cards directly from the service provider.
Absolutely true. I'm operating on a "don't trust any third-party" principle. 2FA and password-resets are done solely with TOTP. I don't go anywhere near email or SMS for any functional purposes whatsoever. In my daily life I treat both technologies as open postcards, readable to absolutely anyone at any time.
Heck, I'm still suspicious of darling-of-the-tech-world Signal. Moxie Marlinspike is way too cozy with Google and way too hostile to the concept of warrant-canaries for my comfort. I consider any message I send via Signal as open as email or SMS, just with very slightly higher delivery reliability.
>dead man switch
>This is when a journalist have not logged in for quite a while, this lets them release their content and notify other people.
Already done with regards to account-killing, through the timed mechanism detailed above.
But you raise a great point about automatic information releases. Maybe I ought to implement an optional timed-info release; after X hours without a login, certain specified uploaded files are automatically distributed in various ways.
Anyway, the under-the-hood stuff is basically done at this point. Ironically the last thing yet to do is the actual forum/thread/post code. I wanted to put that last, and do the under-the-hood security stuff first. Gotta get the foundations right before you build the house on top of it.
John Doe · 2020-10-11 14:42
>>33957
testdisk and smartmontools were originally from linux distributions.
testdisk is kinda advanced so I don't suggest using it now as you could potentially destroy the partition table just by spamming right arrow keys and return keys.
priorities first, just do a smartmontool test and report the result.
It must look something like this:
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
1 Raw_Read_Error_Rate PO-R-- 100 100 050 - 0
2 Throughput_Performance P-S--- 100 100 050 - 0
3 Spin_Up_Time POS--K 100 100 001 - 1742
4 Start_Stop_Count -O--CK 100 100 000 - 94
5 Reallocated_Sector_Ct PO--CK 100 100 010 - 0
7 Seek_Error_Rate PO-R-- 100 100 050 - 0
Jean Dupont · 2020-10-11 15:11
>>33960
Thank you, here's what all the drives look like. They all "passed", but I think soykaf is looking pretty bad in that "ID" table...
Hopefully I've removed any identifiable information in the pic, I'm somewhat sure of it.
I followed this guide, but I havent run the tests listed at the end:
https://www.informaticapressapochista.com/windows/detect-hard-drive-failure-windows-using-s-m-r-t/
Ishikura "Tatsu" Tatsuhiko · 2020-10-11 16:08
>>33962
The WD one is pretty fast, the Samsung external shows it had been dropped or moved rapidly while on operation (g-sense) but that usually doesn't kill the drive overheat is much worse as they lose magnetism from it.
>seagate barracudas
If two of them were raid1 and another is normal, I don't understand how all of them got a value of zero spin-up time. Could be out of age or the classic story.
Normal values should be ~1500 and above, higher is healthier.
It means the drive is getting slower to accelerate spinning from 0rpm to operational.
If it's still possible to RMA the seagate barracudas, you can try it or sell them, or simply use them less.
I think it would've been better for you if you went for the 1TB CMR or 2TB CMR barracuda pros.
https://www.seagate.com/as/en/internal-hard-drives/cmr-smr-list/
SMR drives perform poorly with RAID+ setups, and are the root cause of a lot of head aches even when not on RAID.
They use special write cache areas which means your data is put in temporary special space before actually being put in the disk platter causing terrible real-world write performance while fooling most benchmarks, data loss upon power loss, and stuck/undetected drive when the special cache's clog up.
The other problem with it is they use less platters and shrink the recording to the point they overlap.
Never buy SMR.
If you want to recover stuff, I suggest to use Getdataback. The classic version is so much better. Picrel. Testdisk comes next, as long as you don't mess with "write to disk" you'll be okay.
Liet Kynes · 2020-10-11 16:29
>>33964
>If two of them were raid1 and another is normal, I don't understand how all of them got a value of zero spin-up time. Could be out of age or the classic story.
>Normal values should be ~1500 and above, higher is healthier. It means the drive is getting slower to accelerate spinning from 0rpm to operational.
Uh, well... I've kept my PC running for about a month (I vaguely recall reading somewhere that it's better to keep it on for longer, rather than shut it down often). Maybe they haven't spun up from 0rpm to operational in a while? And maybe forgot that speed. (I really don't know).
I'm not familiar with CMR/SMR so I'll look into it, thank you. I'm not a huge fan of RAID or anything, it just sounded like a good idea when setting things up. So I'll probably skip RAID and go with a CMR drive if they're better.
Thank you!
Ishikura "Tatsu" Tatsuhiko · 2020-10-11 19:07
Are there any transport protocols known not to have fingerprinting vulnerabilities? I'm working on an anonymous service and I need a way for users to upload and download files without fear of being fingerprinted. I'd rather avoid web since it's got other issues even with tor browser.
>>33931
My project's similar. I'm planning on releasing a whitepaper after I finish the reference implementation. As for your problem, it sounds like a job for group signatures - look into hierarchical, revocable and dynamic group signatures. The only issue is that these schemes usually require trusting a group manager with the power to de-anonymize. Perhaps some threshold scheme could sidestep that, but I haven't found any from a quick look around. Good luck, Lainon!
Emmanuel · 2020-10-12 18:28
Can I copy a CDMA SIM card? Is this legal?
Yuki Nagato · 2020-10-12 18:52
>>33965
No problem.
CMR or bust. Some of them may be old like 2016 drives but it's getting pretty completely rare. Most 2.5 WD/Toshiba drives manufactured today are SMR and I think they're not planning on making a CMR ones in future plus Taiwan is getting fuarrrked right now politically so that's another problem which may lead to another shortage of HDD/NAND manufacture which may also lead to more SMR drives.
>Maybe they haven't spun up from 0rpm to operational in a while?
The value should be higher than 1000 and it's not constant and changes every boot (like 1590 or 2520 ). It just tells you the reference point on what amount of RPM value it had upon reaching a certain millisecond (which may vary by manufacturer, they even keep it to themselves). Having a value of zero means there's something wrong with it, like say it takes too long to start up an engine that the sensor detects it didn't start yet.
> I've kept my PC running for about a month (I vaguely recall reading somewhere that it's better to keep it on for longer, rather than shut it down often)
That's for cooled servers that have solar power backup.
I don't know but having it online/operational for a longer time for a home system makes it a lot more susceptible to damage from power surges/thunder storms, ambulance sirens, chainsaws, earthquakes, or glitching programs at background.
Also, typical servers use stable OS, programs, and environment so most of those problem are inapplicable.
Judge Fang · 2020-10-12 20:10
>>34021
>Having a value of zero means there's something wrong with it, like say it takes too long to start up an engine that the sensor detects it didn't start yet.
fuarrrk man, I don't know. Based on this and the other info, I think that if soykaf's gotten that bad I'll probably buy some new drives ASAP.
>I don't know but having it online/operational for a longer time for a home system makes it a lot more susceptible to damage from power surges/thunder storms, ambulance sirens, chainsaws, earthquakes, or glitching programs at background.
Alright, thanks.
But wait, lawd jesus, what? Those BarraCuda Pro CMR drives are three times more expensive than the BarraCuda SMR ones. Good lord, I'll have to do some cost–benefit analysis and make sure they really are that much better, including in lifespan.
There seems to be a BarraCuda 1TB CMR that's cheaper though, so maybe that could be the most cost-effective?
Spooky · 2020-10-13 10:03
>>34034
Don't worry yet. The zero thing is only an indicator for replacement in server market but if you really lost files, I think it's safer to get new drives.
There's probably not that much gains with SMR RAID other than better read speeds. Since the write speed is already worse with SMR, RAID kinda doubles the slow effect.
So if I were you I'd probably stick with unreliable cold backups for SMR.
>1TB CMR
Yes, or go for the wd reds/b pros for 2TB. If you still had warranty, you probably could still return them to Seagate and claim you started losing some files.
tn13 · 2020-10-13 10:44
Hi Lainonz. tn13 here.
Im currently working in some streaming media website without having lot of experience in the field.
I will need to setup an rtmp server and cache the streaming in some kind of cdn or cloud service.
Which cdns or cloud service options you recomend me? or maybe i just better setup my own dedicated server and pay for the big connection service? my website kinda will have to stream live to 2000 3000 people and be able to replay the videos.
Than you lainons. Sorry for not being useful for the others here.
If someone has a question about native mobile development probable i can answer.
Love you all!
Nell · 2020-10-13 10:49
>>34091
>1TB CMR
Thanks. Though right now I'm looking at these BarraCuda 1TB drives online, and it's no mention of whether they use CMR or not (and they seem suspiciously cheap if CMR is indeed getting rare).
And it seems most of the BarraCuda Pros are sold out online, and there's no local sellers which offer them here. I've only bought hard drives from local sellers and had no problems, and right now I'm reading horror story reviews of delivery drivers playing frisbee with them.
>or go for the wd reds/blue pros for 2TB.
And seeing as how the Seagate situation is unclear, I was just about to ask about WD. It says the Reds (and the CMR Red Plus/Pros I'd be interested in) are "optimized for NAS".
So I'd probably want to go with the Blues or Blacks instead, right? Those are branded for desktop usage.
And again, thank you. It seems nobody talks about CMR/SMR, and researching this stuff online usually sends me on a wild goose chase - and the stakes are pretty high when it comes to years' worth of creative work. Nowadays everyone has their own personal library of Alexandria stored in these stupid spinny tinny things, and we each have to make sure sure they don't burn down before their time.
Guthrie · 2020-10-13 11:07
>>34095
Oh, and it seems WD's CMR might also be a better solution because a local seller whom I trust offers them, and I wouldn't need to deal with Amazon or whoever else's horseshit delivery.
Sweet, I'm actually getting somewhere with this.
Dujour · 2020-10-13 11:23
>>34098
I personally use and trust WD/Toshiba although Seagate models post 2017 may also be good https://www.anandtech.com/show/11037/seagate-to-shut-down-one-of-its-largest-hdd-assembly-plants - I guess they found out the culprit of hard drive failure rates.
It's better to buy them on local sellers as with online stores, it'll probably be cyberhumped on arrival.
>Amazon
Check reviews, most of them claim the ones they purchased did not have warranty.
藤原純一 · 2020-10-13 11:27
>>34098
>Sweet, I'm actually getting somewhere with this.
And it seems I've managed to find an answer so far:
https://www.youtube.com/watch?v=tCPt9gZWqoA
Apparently Reds are indeed meant for NAS/RAID, Blues are meant for Excel sheets and YouTube, and I'll actually need Blacks for my heavy creative work and better reliability.
>>34099
A final thank you!
Switch · 2020-10-13 11:44
>>34099
Oh and sorry, a final question. If I buy new drives, I'd like to keep my old drives connected for extra backups (just in case), but I'm running out of SATA ports. Would you recommend using a PCI-E to SATA card in order to add more SATA ports?
Tequila · 2020-10-13 20:16
>>34102
Your other options are to use existing eSATAp or a USB 3.0/3.2 ports.
Most people don't know they have eSATAp on their mobo, you may use them to hotplug (depends mobo) your old drives like an external drive but make sure the eSATAp is 12V. It's as good as SATAIII.
USB dock is next on my recommendation. 3.5 docks.
>PCI-E to SATA card
If you're planning to fit a lot of drives, you'd better upgrade the cooling system and keep it under 40C. I wouldn't cut the budget on this one, some shoddy no-brand card can fail and take with it the mobo.
As for the drives, since they're at a risk I wouldn't use a PCI-E - SATA connection as this would mean the drive would be running all the time when it must be derated. If you have a DVD drive, you can get a slim SATA to full SATA adaptor and use that one.
Koos van der Merwe · 2020-10-13 22:16
>>34119
>I wouldn't use a PCI-E - SATA connection as this would mean the drive would be running all the time
So you're saying that when a drive is connected with PCI-E - SATA it runs all the time, but when it's connected with SATA it switches off after a while?
But in any case you're right, thank you - keeping the risky drives running all (or most of) the time wouldn't be good. And keeping all those drives inside could get hot. So ideally, I'd be able to instead plug them in and out whenever necessary (apparently this is called hotswapping).
Sadly, my MOBO (MSI B350 Tomahawk) doesn't have any eSATAp ports, but it does have USB 3.1 ports.
In that case, an HDD dock seems like a perfect solution. I'd never even heard of these:
https://www.youtube.com/watch?v=4HfzSiwU0-g
These open up a lot of options, and it seems single bay ones are the most budget-friendly. Are there any types/models/brands I should avoid?
And I'd never heard of eSATAp or those slim SATA adapters either, and both could be very useful in the future, so thanks.
Acid Burn · 2020-10-13 22:48
>>33931
sounds almost like riseup to me
Spike Spiegel · 2020-10-14 10:28
>>34119
>I wouldn't use a PCI-E - SATA connection as this would mean the drive would be running all the time
This is absolute nonsense. PCIe adapters use the same AHCI register set with the same features as your onboard ports. There is a decent chance some or all of your motherboard ports are already using a PCIe-SATA bridge depending on whether the PCH has enough ports. The only real limitation is that the BIOS may not support booting from the addon ports.
>Most people don't know they have eSATAp on their mobo
I'm pretty sure most people don't have eSATAp on their mobo.
>>34132
Toasters are fine for backups (probably better than just adding more drives because a drive isn't going to get struck by lightning when it's unplugged) but I wouldn't recommend it for adding storage. It will be a real PITA digging through drives to find the one that has what you want like in the bad old days of CDs.
Batou · 2020-10-14 11:21
Apologies to everyone ITT for flooding the thread with my topic, but this is important for me and I'm learning some key info here. Should probably be done soon.
>>34164
>I wouldn't recommend it for adding storage. It will be a real PITA digging through drives to find the one that has what you want like in the bad old days of CDs.
If that's a concern, then it shouldn't be a problem if I only have 2 or 3 drives at most and label them well?
Any safety tips to know when using these? Apparently SMART values read through USB aren't the most reliable, but can I at least monitor the temperature?
Trinity · 2020-10-14 12:03
>>34167
>it shouldn't be a problem if I only have 2 or 3 drives at most and label them well?
Depends on your self control. Usually what happens is one fills up first so you start putting stuff that belongs on that one on a different one, and pretty soon you have 3 drives labeled "misc"
>Apparently SMART values read through USB aren't the most reliable, but can I at least monitor the temperature?
SMART is better than nothing, but half the time drives fail with no warning and for no apparent reason. It's not a substitute for backups. I wouldn't worry about temperature when it's out in the open air. That's more of a problem in enclosed spaces with other stuff that puts out heat.
>Any safety tips to know when using these?
Always unmount and eject first, and the ones I've used have a button that spins down and powers off the drive, so be sure to push that and wait for it to stop before yanking it out. Don't touch the PCB or connectors to avoid ESD damage, and don't pile your drives 5 high on IKEA shelves.
Cypher · 2020-10-14 13:13
Is it a bad idea to run a IRC bouncer and a IRC server on the same machine?
Apoc · 2020-10-14 13:14
>>34170
forgot to mention that it is on the same IP address like a VPS for example
Hououin Kyouma · 2020-10-14 15:21
>>34168
>Always unmount and eject first
Thank you, I'd seen ejecting mentioned but didn't know you might need to dismount them (like a virtual drive) as well.
>Don't touch the PCB or connectors to avoid ESD damage
Assuming it's the ones on the HDD - antistatic wrists/mats should help, right?
>the ones I've used have a button that spins down and powers off the drive, so be sure to push that and wait for it to stop before yanking it out
Is that a common feature? Might as well ask if you have any single bay docks you've used or recommend. There's not much consensus online, and reviews on certain models mention problems like intermittent disconnecting.
Masami Eiri · 2020-10-14 17:46
>>34167
>Apparently SMART values read through USB aren't the most reliable, but can I at least monitor the temperature?
Depends on the sata usb-bridge but most of the time smart values do get undetected or may require "-d" option on smartctl, some up-to-date proprietary smart monitoring tools may be able to read the smart values.
>>34164
>this would mean the drive would be running all the time
>This is absolute nonsense.
The risk is if that was a Chinese Seagate pre-2017 that may have been one of the unlucky batch.
I wouldn't recommend running them all the time, especially since it was an SMR Seagate, and started having corruption. It maybe an asymptomatic drive.
Case · 2020-10-15 06:30
Do we seriously not have an onion address?
Boris Grishenko · 2020-10-15 15:16
>>33926
Have you looked at this? https://github.com/ekisu/mpv-webm
Dozer · 2020-10-15 16:48
>>34177
>Depends on the sata usb-bridge but most of the time smart values do get undetected or may require "-d" option on smartctl
Thank you. Since the disks use SATA, I should use -d ata to detect them, correct?
https://www.smartmontools.org/browser/trunk/smartmontools/smartctl.8.in
Haruyoshi · 2020-10-16 00:03
>>34254
It'd wouldn't output if it's incorrect.
I usually use "-d sat" for anything.
Sabo Engle · 2020-10-16 09:47
>>34243
This is perfect ! Thanks a lot lainon.
Hiro Protagonist · 2020-10-16 11:46
>>34095
BaraCudas are SMR, BarraCuda Pros aren't SMR but they might be soon.
Same with WD.
That table is old and late 2019 - 2020 WD Blues are sadly now all just SMR. It seems WD Purple, Gold, Red Pros are CMR while some Reds are a mix.
Older drives are still good if your local seller offers them. Most drives made around 2016 were CMR, and every 2.5" drive made this year are all becoming SMR, I think 2.5" market is fuarrrked.
https:// nascompares.com/answer/list-of-wd-cmr-and-smr-hard-drives-hdd/
https:// hddscan.com/blog/2020/hdd-wd-smr.html
Meddler · 2020-10-16 13:34
>>34326
Just bought a 6TB WD Black. The sites you've linked don't list it, so hopefully it's CMR like on the old chart.
There's no way to easily make sure though, is there?
Yet Another Lainon · 2020-10-16 14:05
>>34326
>There's no way to easily make sure though, is there?
Just found you can use FIO or other utilities - seems reliable, however I haven't seen anyone mention this type of test, or a guide on using it with the other different utilities.
https://www.youtube.com/watch?v=8oF0vj5WBO0
Ender · 2020-10-17 15:13
How safe is it to purchase old Japanese electronics?
I'm saying electronics made pre-early 2011 meltdown. There were a handful of auctioned cars that tested positive with radioactivity.
Wouldn't laptops/pdas get fried from the meltdown or should I just purchase stuff that were made around 2012?
Nanashi No Gombe · 2020-10-18 04:53
What's a good aarch64 OS for the RPI4?
Tank · 2020-10-18 13:13
is there a proxy i can use to make websites easier to read on OLD machines?
it would do something like reformatting weird css elements so that it doesn't look weird
i have a very old pc, beeen web browsing on it i do a lot of scrolling because of not supporting css or js makes sites look weird
Turner · 2020-10-18 20:35
>>34511
use a headless browser to turn the page into a screenshot or pdf using its modern rendering engine then browse through the pdf or image in your preferred reader. a lot of work. might as well just use lynx
Meddler · 2020-10-19 00:29
>>34511
Consider https://www.brow.sh/
Unidentified · 2020-10-20 13:44
plan 9 question
can i open things like page or mothra inside acme? how?
Lady Jessica · 2020-10-21 01:50
Asking for this
>>34721
Y.T · 2020-10-21 14:05
is there a way to verify the newpipe apk from github?
Elliot Alderson · 2020-10-21 21:53
Using ffmpeg, how could I "clean" a video file to remove any potential malware embedded in it?
Roger Pollack · 2020-10-22 05:33
>>29695
Has the echo command been updated? I can now type an ! inside double quotes and if I try to escape it, it literally prints \!, I couldn't seem to find any notes on this update.
Nemissa · 2020-10-23 20:19
>>34511
Opera and opera mini (assuming the servers are still alive). Back in 2009 it let phones browse sites with fancy css/js and you could even use the same opera servers on the 2009 PC version. If there's an option to change server on pc version, try server4.operamini.com
Chani · 2020-10-25 07:37
>>34796
I don't think malware is a common problem but the embedded metadata is. Maybe convert it to very lossy few times?
Considering how image files could exploit image magick inside servers back in the days, I don't disagree.
Technician · 2020-10-26 04:33
What's the best program to recover contents of exFAT SDXC cards?
I accidentally formatted one as FAT and it seems even that was way too fatal for the file system. I didn't even overwrite the new FS.
Debbie Charteris · 2020-10-26 16:58
How the fuarrrrrrrrk do i alter scroll amount in XFCE?
Been batting my head against this for about three years
Unsigned · 2020-10-26 19:33
The charger plug on my laptop got bent, and can't keep contact anymore, I'm not sure if it's visible on picrel
Does anyone know how I would go about fixing it, any tutorials I try searching for are either totally unrelated stuff, or poorly done and incomprehensible, the fact that I don't know jack (lol) about electronics or soldering doesn't help, but I'm willing (and would want) to buy any equipment needed to make a proper fix of it. Does anyone have any good instructions or tutorials?
Ishikura "Tatsu" Tatsuhiko · 2020-10-26 20:29
>>35091
The problem is almost certainly the socket, not the plug. To fix the socket, you'll have to disassemble the laptop and at least reflow the solder. You may also have to replace the socket. This is simple if you know what you're doing and you have a powerful enough iron. Also, depending on the model of laptop, the power socket may be a discrete component that can be replaced with just a screwdriver.
If you actually need a new plug, just buy a used power supply on ebay.
Naomi Nascimento · 2020-10-26 21:00
>>35093
How could I test if the plug itself is working, I'd want to make sure before I go tearing into my laptop.
Jane Doe · 2020-10-26 21:15
>>35094
You can buy a spare charger priced at around $10 at max, either it's chink or original but used. If that's a Hipro charger, there's also a chance to find aftermarket one out there.
I prefer using a universal charger (Taiwan preferrably) instead of Chinese knockoffs (like a fake HP charger).
Check the voltage of your current charger labeled on the brick's sticker, and make sure voltages match the universal charger you're purchasing. Amps and Wattage don't matter as long as what you're buying is not less than what you formerly use.
If it's not a powerbrick's problem, you'll at least have a universal charger that is useful, and proceed to fixing your laptop's power socket. Are you sure it's the charger or the laptop just has failing caps?
Technician · 2020-10-26 21:32
>>35073
Everything's fine now
Had to install a windows system quickly just for this task and also to properly format back to exfat since linux exfat can't even label the partition.
I used the level 4 option which took about 2+ hours and everything was recovered.
Gyula Kovacs · 2020-10-26 21:36
>>35087
Was it the mouse scroll or a touchpad scroll? KDE still has touchpad lines per scroll but I think the mouse lines per scroll got removed 3 years ago on both KDE and XFCE.
Dr. X · 2020-10-27 01:19
can someone post the arguments for working audio in qemu
Ardin · 2020-10-27 16:21
Whenn i went to reset an os on my chromebook and put the usb containg the os in, after it came back on i hit ctrl alt c(during the reset), after it went to a black screen with a grey rectangle, typical terminal setup, i could type and stuff but couldn't get it to respond, does anybody know what that is?
Case · 2020-10-29 17:13
>>35134
Press return key to boot into the USB?
Either that or you found some secret BIOS combination keys.
John Rain · 2020-10-30 17:11
How can I get a 100% libre laptop? everything from bios to all the drivers.
The cost and the amount of hacking doesn't matter...
Gyula Kovacs · 2020-10-30 17:52
>>35335
https://www.fsf.org/resources/hw
Debbie Charteris · 2020-10-31 11:25
Anyone else seeing Russian-language results in DuckDuckGo?
Undisclosed · 2020-10-31 16:17
If I have a Scheme file open in Emacs, is there a command to run the script I'm currently editing in a new buffer? When I try looking it up I find a lot of results on how to open a Scheme interpreter within Emacs, but nothing on how to actually run the code.
I just started trying to learn Emacs yesterday, sorry if this is a stupid question
Tomohisa "Tom" Kanezaki · 2020-11-01 18:16
Should i learn how to use IPtables or just go straight to nftables?
Lord Nikon · 2020-11-01 18:20
>>35453
why would you need to ask that? how difficult is iptables? dead simple soykaf fam
Miho Iwakura · 2020-11-01 18:28
>>35454
IDK, it seems like nftables is supposed to replace IPtables? so i was wondering if it is still worth it to learn iptables
Zhora · 2020-11-02 17:59
Anyone running Mint? If so does the package manager have fzf? apt search fzf comes up with nothing but the GitHub README shows that it's present in APT.
Molly Millions · 2020-11-02 20:10
>>35503
E: Unable to locate package fzf
Nope, it doesn't
Rick Deckard · 2020-11-03 18:16
>>35094
You could always get a multimeter, they're real handy to have around for testing anything electrical. Lots of video tutorials out there to learn how to use them. It seems quite intimidating at first but it's pretty simple once you actually get into it.
Nameless · 2020-11-03 18:17
>>35373
This is probably due to your VPN or exit node if you're using Tor. They do geo-IP based results, so that could definitely affect what you're seeing.
Yuki Nagato · 2020-11-04 18:41
>>35555
thanks man, also nice digits
Pris · 2020-11-05 00:13
Why are POWER CPUs so expensive?
Paying 500$ for a 4 core processor sounds dumb.
Mentat · 2020-11-05 11:05
>>35605
This is just an example but since both of the modern x86-es are pwned by design due to the ring negatives (AMD PSP/Intel ME), I think POWER ones are more secure than the obviously backdoored x86. Who wants a backdoor that works pretty much like "Wake On LAN"?
>system receives the magic packet or a cell message via independent cell network embedded in the CPU (think of it as something like Apple anti-theft)
>either your system is exfiltrated from remote management/enforcement/hacker or disabled from anti-theft features
I wish someone just transmit the magic packet/message and pwn everyone as an example. Only then will people rethink how bad things are.
Koichiro · 2020-11-05 18:43
>>35625
a SDR would work to recieve but it's unlikely they would randomly transmit to your processor because of the risks of getting caught and ruining their reputation. Trying to send random stuff to your processor would be very difficult because of all the possible combinations.
>>35393
Open the interpreter with the script as a parameter?
>>35455
It would take less time for you to just learn iptables instead of talking about it!
Elliot Alderson · 2020-11-06 07:19
i just got a linux vps, im running a few htings on it
qemu, srcds, ssh, sshd and a web server
its on debian, and i want to route ALL logs to devnull, but i dont know what theyre all called
help?
Hiro Protagonist · 2020-11-06 08:40
help me out with browser security
i dont really feel like i can fuarrrking win
so chromium, supposedly the most securely sound browser
RCEs are found in at least once a year
firefox is worse, theyre found, theyre just not reported or fixed
i imagine that seamonkey, palemoon, etc being much older and out of date are vulnerable to whatever it is firefox is vulnerable to
so what can i do?
its not as if disabling js entirely is going to stop all attacks
is there some kind of proxy i can host, ior should i virtualize 9front and just use mothra
Eldon Tyrell · 2020-11-06 19:58
>>35664
>its not as if disabling js entirely is going to stop all attacks
Why not? How else would the attacks happen?
Nameless · 2020-11-07 23:37
Is there any benefit to tor users if your website has an alternate onion domain?
Crazy Jake · 2020-11-07 23:42
>>35760
It makes it harder for them to be deanonymised and means that if something happens to the DNS it can still be accessed. More onion sites is better for the network itself by increasing the amount of "noise" to help other onion services blend in and be normalised.
Six · 2020-11-08 02:44
>>29695
Is there anything I can do to stop my emails from being blocked from other email providers?
I pass DKIM, SPF, and DMARK checks.
My domain has been indexed by google, bing, and yahoo.
My servers IP isn't black listed according to mxtoolbox.com
The domain is about 8 months old
Technician · 2020-11-08 05:58
>>35679
literally any part of the browser can be vulnerable: HTML parser, CSS parser, images, fonts, etc.
Disabling JS greatly decreases the attack surface but it definitely doesn't prevent all theoretically possible attacks.
Arisu Mizuki · 2020-11-08 06:11
What are ways to automatically map URLs/domains like youtube.com/watch?v=ID->invidious.snopyta.org/watch?v=ID ?
Can this be done in Firefox?
Can this be done in the network settings of a normal PC (hosts file???)
Nobody special · 2020-11-08 09:33
>>35783
do you know about the addon 'privacy redirect' by simon brazell for FF? that does what youre describing for youtube, google maps, instagram and twitter.
what other websites would you make it for?
Lord Nikon · 2020-11-08 12:09
>>35664
>so what can i do?
Stop using the web? Like you say, the risk is pretty hard to avoid. Google keeps adding features because they can, not because they should, and everybody has to follow suit which results in a lot of poorly thought out security decisions.
Your best bet might be to have a couple of raspberry pi-like computers running to a KVM to contain each website to its own system. The challenge then is keeping the pis up to date and in sync, maybe using network booting to a ramfs or something like that. Probably a good idea to put a firewall between those pis and each other and the rest of the network.
Virtualization is probably better than nothing, and more convenient. I've been using firefox in x11docker for when I want a fully stock browser and that's even easier, but I don't know how well insulated it is from the rest of the system.
Eldon Tyrell · 2020-11-08 14:26
How do I prevent my wtmp file from getting regularly wiped every month or so? I have some programs that count on the current day's wtmp entries not being tampered with, is there a script or a cron on most linux distros that's the reason it keeps getting wiped?
Boris Grishenko · 2020-11-08 15:59
>>35783
You can probably do this with something like Greasemonkey/Tampermonkey. I personally use Invidition on Firefox to redirect youtube links to invidious and twitter to nitter.
BloodCat · 2020-11-08 17:34
Is there a programm that does what "streamlink --hls-live-restart" used to do, download entire youtube livestream recordings without needing to catch the very beginning of a livestream?
Lain Iwakura · 2020-11-08 20:17
>>35777
If you get the website with wget and don't try to parse it you can stop all attacks.
Dr. X · 2020-11-09 00:40
Can anyone tell me where to find an archive of all the threads from this board? Discovered lain pretty late, I didn’t know it was made in 2017. Would appreciate some help to be honest
Yamaoto Toshi · 2020-11-09 00:41
>>35888
its the first thread on the /q/ board
Donna Hawthorne · 2020-11-09 02:11
>>35889
Thank you
Erik Johansson · 2020-11-09 03:55
How do I connect to irc.lainchan.org on weechat? I added the server, but it says connection refused. Used 6697 as the port too.
Lady 3Jane.. · 2020-11-09 12:57
Is GNU Info EMACS? Code base-wise. Are the key bindings? When I press = it says 0 of 42 but if I page down it says 0 of 14 same file.
Hagbard Celine · 2020-11-10 17:12
Anyone here use/has used a Model M keyboard or one of the buckling spring keyboards sold by Unicomp? Considering buying the New Model M, is it overhyped or actually good?
Cowboy · 2020-11-10 17:31
>>35997
I love mine, though I have never used an original.
I think it's way better than any "modern" mechanical keyboard I've used.
I have heard that the build quality is not as good as the originals but I have no complaints. Due to the design of the keys they are not prone to getting gummed up from spilled soykaf.
Would definitely recommend. Feels like it will outlast any other keyboard I've used.
SHODAN · 2020-11-10 18:07
>>35999
thanks, IRL how loud is it? ive watched some vids of typing on it and it really varies since some microphones are quieter and farther away than others.
Morpheus · 2020-11-10 22:18
How install freenet on openbsd ?
Yu-ichi · 2020-11-10 22:29
>>36024
probably java -jar thething.jar
did you try that?
Meddler · 2020-11-11 02:03
Hello scripters,
I'd like some ideas on how to improve my solution to a problem I'm having. I use ledger to keep track of my finances and I want to print out the pending transaction blocks from the ledger journal. For those that don't know how ledger works, there is a plaintext file of transaction blocks that look like this:
2020/11/12 * McDonalds
Expenses:Food $5.00
Assets:BankAccount
2020/11/12 ! Subway
Expenses:Food $5.00
Assets:Reimbursements $3.00
Assets:Wallet
My journal has transaction blocks that are split by empty lines. An exclamation mark(!) indicates the transaction is "pending" in some way. I've currently written a POSIX shell script that prints out the pending transaction blocks. I'd like any ideas on how to improve it or speed it up. I'm hoping to switch over to dash instead of bash as my default shell soon so if there are any changes to the script keep them POSIX compliant. It's currently taking 8 seconds with bash and 5 seconds with dash to run. This feels like quite a long delay for a file that's only ~1800 lines long. I understand that piping into grep and tr means opening up new processes for every line so that's probably contributing to the slowness. Anyone have any improvements? Or is the answer just to rewrite it in C?
bash
#!/bin/sh
# Prints out pending transaction blocks (ones with !) from journal.dat
# Keeps track of if currently in a pending transaction block
pending=0
while read -r line; do
# Checking if the line contains ! which indicates it is the start of a pending transaction
if printf %s\\n "$line" | grep -q "\!"; then
printf %s\\n "$line"
pending=1
elif [ $pending -eq 1 ]; then
printf %s\\n "$line"
fi
# Checks for and marks the end (only whitespace characters) of a pending transaction block
if [ -z "$(printf %s\\n "$line" | tr -d "[:space:]")" ] && [ $pending -eq 1 ]; then
pending=0
fi
done < journal.dat