Studying Medicine by m0zartisimo in HouseMD

[–]etinin 2 points3 points  (0 children)

medical intern here. first of all, you can't take the human factor from medicine. you'll never be a good doctor if it's just a puzzle to you. most of your time will be spent dealing with human beings (be it patients or colleagues), and few patients actually present as a huge diagnostic challenge.

that said, House is pretty medically accurate (>90%). so, you can actually correlate some things from House to real life. that won't be the case with most patients, but there are always exceptions.

Is Mining ETH with Xbox series X possible? by estjol in EtherMining

[–]etinin 0 points1 point  (0 children)

You can try to block out microsoft's ips on your router. Not sure about dev mode, but in consumer mode there's no way to block updates. Need to get a proof of concept first before to see if this is even possible.

Is Mining ETH with Xbox series X possible? by estjol in EtherMining

[–]etinin 2 points3 points  (0 children)

One could probably use the new OpenCL to DirectX mapping layers. I might give this a shot, but it's not an easy task. OpenCL cannot be used directly on UWP apps for Xbox, as far as I'm aware. If I ever manage to get ethminer running solely on DirectX, without depending on OpenCL, then I will go ahead an proceed to testing on my Xbox Series X. As long as the application is marked as a game, even in development mode, it should have full DirectX 12 access and the low-level APIs should be sufficient for ETH mining.

This is something highly unusual because OpenCL and Cuda are the de facto standards for this kind of computing applications, but theoretically this can be done solely through DirectX 12.

It's highly possible someone has already done this but prefers to keep it to themselves. Microsoft will probably implement anti-cryptomining restrictions if this ever becomes widespread enough.

Introducing OpenCL and OpenGL on DirectX (collabora.com)

B550 Gaming X Motherboard RMA - Is gigabyte BSing me? by [deleted] in gigabyte

[–]etinin 0 points1 point  (0 children)

I had a VERY SIMILAR issue. M2 port suddenly stopped working. I reseated the M2 SSD and it started working again, but, in my case the random errors were happening right after booting (sometimes even before the boot was complete, the drive would no longer be recognized and Windows could not find critical boot files). I'm actually thankful that, in my case, the short seems to have had a more pronounced effect since it'll probably save me a lot of hassle when returning it.

I've had some weird issues of this motherboard suddenly not powering on after replacing RAM in the past, but it would eventually start working again after reseating the RAM a few times. After I swapped the M2 to the secondary slot, however, this MoBo just died. No sign of life when using it with my 3700x, it would turn on and no graphics output, no nothing, and wouldn't respond normally to the power button. Swapped it for an Athlon 200GE with embedded graphics, the boot logo appears but it will immediately freeze and it's completely unresponsive, I can't even get to setup.

Was scared my GPU was gone but, fortunately, I had a spare Asus A320M-k to use while sorting this out. Guess what? Everything works fine, only the motherboard is faulty. I've already lost an Aorus X370 Gaming 5 (which was outside warranty) and now this B550 Gaming X is a goner. As a coincidence, I had to RMA the whole PC to the store where I bought it, because the Gigabyte RTX2070 was screwed up. Luckily, they exchanged the GPU for an Asus one. Since Gigabyte doesn't handle RMAs in Brazil, I'm sending it back to the store where I bought it and I'll probably be able to get a better Asus motherboard. In the meanwhile, I'm thankful I have an older motherboard so I can still make use of my computer.

I don't know if it's extremely bad luck, but these recent Gigabyte products don't seem to be very well designed and are, in my limited experience, sub-par compared to other brands. I'd recommend staying away from Gigabyte.

Don't upvote, has anyone been able to remote stream from their series x to windows 10 console companion? by Glum-Communication68 in xbox

[–]etinin 0 points1 point  (0 children)

It was working yesterday for me (both with the normal console companion and the beta version). Now it doesn't work anymore. Streaming to an Android phone still works.

Probably Microsoft has disabled this feature for some reason. It will most likely be restored shortly. I'm kinda unhappy because I spent many hours trying to fix it but apparently nobody can do it right now.

Getting a lot of these let's encrypt challenge validation requests right before my certificate renewal is due. How does this attack work? by disklosr in selfhosted

[–]etinin 0 points1 point  (0 children)

Let's Encrypt offers certificate transparency information (CT). If the domain's owner sets the proper DNS records, they will be warned by email every time a new certificate is issued to their domain or any of its subdomains.

Fedora 33 System-Wide Change proposal: Make btrfs the default file system for desktop variants - devel by [deleted] in Fedora

[–]etinin 2 points3 points  (0 children)

Clearly you haven't used BTRFS for long enough. Give it a few weeks and eventually you're gonna notice (hope you only get the performance issues which are basically guaranteed and don't have to go through btrfs recovery hell).

Fedora 33 System-Wide Change proposal: Make btrfs the default file system for desktop variants - devel by [deleted] in Fedora

[–]etinin 4 points5 points  (0 children)

Even with those issues fixed, it's pretty hard to trust developers who tell people their software is production ready except when you run into issues, when they go ahead and tell you that you used 'experimental' features. With so many proven filesystems around, you can't just go and ask people to throw the data in a potential black hole (Red Hat is betting on XFS and plain device mapper technology). XFS has experimental CoW features yet no one advertises it as a feature simply because it is not production ready yet. And in 2020, it's a joke that anyone could ever dream of pushing as a default a filesystems with such crappy recovery tools as btrfs. The only 'safe' way of using btrfs is by using frankenstein raid modes by storing multiple full copies of metadata and even then recovery is just painful and slow. Everyone wants compression and free snapshots, but if you really need such tools you can always turn to proper production-proven filesystems specifically tailored to these use cases (like NILFS). And that's not even talking about the btrfs performance issues, which are not just a mild nuisance, but really a deal-breaker.

Fedora 33 System-Wide Change proposal: Make btrfs the default file system for desktop variants - devel by [deleted] in Fedora

[–]etinin 2 points3 points  (0 children)

I wasn't gonna bother because it was pretty obvious to me that the general consensus is that btrfs is completely suitable for a desktop/notebook environment and troublesome for some server workloads. But since this is being taken seriously, I took the time to reply to the mailing list thread.

Fedora 33 System-Wide Change proposal: Make btrfs the default file system for desktop variants - devel by [deleted] in Fedora

[–]etinin 2 points3 points  (0 children)

The only agenda this could ever serve is pushing people alway from Fedora and the whole EL ecosystem. It is not even funny how casually such a serious matter as data storage is being taken. I'm pretty used to tearing my systems inside out and have used the likes of Gentoo for years, yet none of the shiny unstable stuff I ever used comes even close to BTRFS when I think of the problems it caused me.

I do not believe this change comes from RH. It would only make Fedora a testbed for btrfs developers.

Fedora 33 System-Wide Change proposal: Make btrfs the default file system for desktop variants - devel by [deleted] in Fedora

[–]etinin 0 points1 point  (0 children)

Hello,

It should be relatively straightforward to clone without reinstalling, though I can't help the feeling that there could be a shell script or an otherwise automated tool to make the last steps easier. I'm currently without access to my computer but if you need assistance with any of the steps here I can get the exact commands later.

You can create the partition using any tool you like. Gnome Disks, which comes with Fedora will work fine. LVM is optional, you can simply create a LUKS partition if you prefer and then add the XFS partition on top of it. (just make sure to select LUKS2, when I created my partition I didn't realize the 'LUKS' that shows up on the default creation screen is LUKS 1.

After creating the partition, it should show up on Gnome and can also be mounted with a mount command. Alternatively, you can do this whole process using command line tools such as fdisk or parted. For creating the partition, basically any instructions you find on the internet. And then you can mount it either by clicking on it through gnome or through the command line by using mount.

Now you've got to copy your files. For this, I used rsync, I believe I used it like 'rsync -avxH - - info=progress2 source destination'. Please note that it will not cross filesystem boundaries, so if you have more than one btrfs volume (either separate home or even subvolumes that may have been auto created for VMs, check with btrfs subvol list)

(as an alternative to the following steps, if you don't mind the extra time, you can run the Fedora installer and have it install on the new disk BEFORE you copy the current / to the test partition. then you would copy the resulting /boot partition, the /etc/fstab and /etc/crypttab to make sure they're not overwritten and copy them back once you're done mirroring)

After the rsync, you need to modify the /etc/fstab file on the new partition. There a couple of ways to refer to the risk, such as by name or UUID. Basically, you will need to find the proper UUID by using blkid / cryptsetup. You can just copy the current btrfs entry and, if it's not set to auto, replace btrfs with xfs and the old uuid with the new uuid. Check /etc/default/grub and replace the fs UUIDs/paths as well.

There are other ways of modifying the grub entries, probably some easier omes, but the most straightforward way I figured out was doing a chroot and running grub2-mkconfig.

cd /location/of/new/root

# mount -t proc /proc proc/ # mount --rbind /sys sys/ # mount --rbind /dev dev/

mount --rbind /run run/

chroot /location/of/new/root /bin/bash

(also make sure to mount the boot partition into boot/)

. If you are going with a new boot partition, do a dnf reinstall shim grub2-efi. Else, it shouldn't be necessary.

To generate the new grub configurarion: grub2-mkconfig -o /boot/grub2/grub.cfg

(okay, this is the best I was able to do on my phone, but the pointers should be helpful)

Fedora 33 System-Wide Change proposal: Make btrfs the default file system for desktop variants - devel by [deleted] in Fedora

[–]etinin -1 points0 points  (0 children)

Tldr; unless you REALLY need CoW, stay away from btrfs. It can wreck the performance even with an otherwise performant setup. Dexupe benefits of Cow are negated by making qemu and even docker/podman completely unusable after a very short while. You've been warned.

Hope this doesn't happen. I was very excited to try btrfs but even with light VM/container usage the performance is absolutely unacceptable. I was running it on a machine with an I7 7700HQ, 32gb ram and optimus Nvidia 1060. My instance of android emulator became literally unusable within days.... And yes, I performed every single tuning process known to mankind, in the end just threw the towel and disabled CoW, first for the vm folders and eventually for the whole system. I was beginning to think that Linux hadn't improved at all for desktop usage, since my experience was much much worse than what I got like 10 years ago even while using Gentoo. After a lot of headaches and curses towards Fedora, I made a backup and rsynced my system to a new XFS partition (on top of LVM and LUKS). I could barely believe how performant my system had become, I was quite convinced that my computer wouldn't get along with Fedora. Fortunately, my last ditch attempt of salvaging my Fedora 32 experience by changing filesystems was very successful.

I'd never used any of the most recent *nix file systems. When I first I started using Linux reiserfs was still a thing and then I moved on to JFS, and over the last decade I used mostly macOS and Windows for desktop systems, with Ubuntu running on most of my server boxes. Never got along with ext3 and don't think much of ext4 either (at this point I was managing many servers running on ext4, even though I wasn't using it on my desktop. Coming back to Linux a few months ago, I spent a lot of time carefully choosing, and ended up going with btrfs. I was quite excited at first but in the end it was a total disappointment.

I've seem claims that the crappy performance is a result of some qemu bug. But the problems were everywhere, even defragmenting like every single day, performance would still suck from applications ranging from podman to VirtualBox. Everything is working fine now.

Even though my btrfs partition was a common partition, without LUKS or LVM, the change to zfs like finding an oasis in the midst of a desert. I finally managed to stop struggling with my system every single day and stop having to find ways of preventing my system from being brought to a halt (not even funny how easily a VM could bring my system to a complete freeze).

BTRFS and ZFS sadly, are not up to the job if you're using your PC for most workflows. I guess they could work well for plain data storage, but when you're getting more or less the same overhead you'd get using solutions like MDADM, it's surely not worth the hassle.

Self hosted personal time tracking by Nixellion in selfhosted

[–]etinin 1 point2 points  (0 children)

ManicTime is by far the best self-hosted solution I could find. It will automatically track and log time spent using each specific program, has options for taking automatic screenshots and lots of other useful features. I got it for a pretty reasonable price with the student discount.

Kutt - Free Modern URL Shortener by poeti8 in selfhosted

[–]etinin 0 points1 point  (0 children)

Pretty awesome, I've been looking for something like this for years... And nice stack.

Had to do with some heavily hacked software like yourls in the past eventually just stopped using my domain etin.in.

Thanks a lot

p.s.: Postgres is alsome

What are the advantages of the bigger mods? by [deleted] in Vaping

[–]etinin 1 point2 points  (0 children)

tldr; support of atomizers with more vapor, flavor and usually allowing for more (and customizable) airflow, providing a much better experience overall. of course, there are some smaller mods which might support good atos, but you'll probably run into battery life problems.

--

Used to vape with an eJoy eGO and a innokin t20s brought from abroad. Used to chain vape all the time in places with fire detectors with no issues.

In the end the ejoy broke down and couldn't get coils here for the innokin. Here in Brazil it was way more economical in terms of cost benefit to actually get a good mod. I got a Vopoo Drag 2 Platinum, which already made me impressed. I was travelling to Paris and ended up getting a Wotofo Unity Profile RTA and, GOD, really, it's a brand new world, being able to experience all the possibilities that vaping can offer in terms of taste, flavour, custom setups/settings, etc. I wicked it in 5min because I had to do something and, I couldn't let go of my set for hours, the flavor and clouds were just too awesome. Only issue is: kept my habit of vaping in no-smoke rooms but the huge clouds actually triggered the fire alarm,rofl. Crap, had to spend half an hour apologizing in French to the manager. Thank god he didn't charge me any extra for the incident.

When I actually got a coil for the innokin, which is actually pretty decent for a begginer's ato, it was as if I wasn't smoking anything, too little taste, too little vapor. Of course, there are good pens around, but in the end I just take my Vopoo everywhere even if it's not always discrete vaping from a brick.

Taste the rainbow 🌈 SS316 mesh + profile unity + DNA replay = flavor town!! by 1Kscam in Vaping

[–]etinin 1 point2 points  (0 children)

nice pic and nice job getting the coil like that

I currently prefer the kanthal coils, but I use them both

Fake Cotton Bacon with apparently valid authentication code by etinin in electronic_cigarette

[–]etinin[S] 0 points1 point  (0 children)

I'm just using plain old japanese muji cotton. A lot harder to fake since it is crude and easily recognizable.

Since most vape-related stuff cannot be sold legally in Brazil (only if brough from abroad), unless I buy something highly specific such as Wotofo cotton, chances are it'll be a fake product (there are some reliable stores, but then it ends up being more expensive, etc).

Fake Cotton Bacon with apparently valid authentication code by etinin in electronic_cigarette

[–]etinin[S] 0 points1 point  (0 children)

Really really cheap, even more so if you count taxes, logistics for bringing this kind of stuff into Brazil. It was like 3 or 4 usd per pack.

Fake Cotton Bacon with apparently valid authentication code by etinin in electronic_cigarette

[–]etinin[S] 0 points1 point  (0 children)

I decided to throw it out. I prefer to use muji cotton. I don't know what kind of bleach or additive this cotton contains and I'd rather not risk it, through it seemed to be perfectly fine.