Skip to content

u/MikeSeth

In this archive from Apr 2008 to Dec 2023

3
posts
649
comments
0
media
1.6k
score

Rails was an overhyped web 2.0 thing because a bunch of people ran startups and bragged about it. Turned out the insane magic of mixins (looking at you ActiveRecord), poor performance and questionable design choices combined with Ruby's relatively poor performance was not a good call, and the only thing that it really had an advantage in was low barrier of entry. However, when your startup hinges on overexcited cowboys, turns out the code they produce isnt great either.

Rails was crap. Live with it.

1 points

Your first friend is the duplication detector. It will help you reverse the smooth brained copy-paste that the degenerates in charge consider a legitimate development method. You can not do any meaningful refactoring until the duplication has been eliminated. This is because any change you introduce in a specific place needs to be propagated into every clone of the code (or templates), which means every instance of the clone needs to be retested and undone later, which is significantly more time consuming.

Once you have eliminated duplication (likely replaced by a spider web of include fragments) you can begin untangling the architecture and restructuring the code, to be followed by decent refactoring. At this stage your best friend is going to be a testing framework which helps you automate the verification that behavior is preserved.

It's not pretty but it's doable.

1 points

Are the fans new? You may consider replacing them if they look like they sat in a warehouse for a decade, or upgrade to quiet versions. Put the server in a colder environment and it'll make less noise.

I'd not trust the vendor with proxmox installation and install it on my own. Patch the proxmox nag screen and spawn an opnsense vm to serve as firewall, DHCP, CA etc for your lab.

2 points

I would not use letsencrypt certs for this purpose at all. You'd have to replace them every three months, and you'll leak your infra information.

Either set up your own proper CA (hide away the master key and use an intermediate on an airgapped machine to sign CSRs), easyrsa does this, or just use pfsenses internal CA management. Distribute CA certificates via GPO or Ansible.

-3 points

The demand for correction of flaws in your products, you mean, and it is the vendor's responsibility to customers and the general public to maintain hardware and software they designed so that it is not used in commission of crime that's made possible due to their mismanagement and incompetence. That everyone does it is, if anything, a testament to the skewed priorities of the vendors. But even then I am not talking about merely security updates but rather the bait and switch business model where part of the cost is fixed and part is recurring, and so your ownership of the product you already paid for is conditional on continuing to pay. Just because the vendors use their power over consumers to normalize doesn't make it not a scam.

1 points

Emacs is a highly customizable tool you will be using your entire life, and it will slowly consume all your computer affairs: coding, personal notes, scheduling, email, creative writing, if you can do it on a computer, you can probably do it in emacs. Is it worth the commitment? Yes, because it gives you the widest imaginable power over your digital life.

0 points

I don't know your layout or goals so I can't tell you what's best. My advice would be to stop dualbooting and virtualize one of the machines. If Windows will be your host then the built in hyperv would carry Linux just fine. Linux can also host a Windows VM opportunistically with e.g. VirtualBox.

My assessment of what happened to your partition is based on a guess and is not a 100% certainty.

1 points

On a detailed read it appears that there is no gap between the existing partitions. This probably means that the delete operation also resized one of the existing partitions and the filesystem on it, in which case you're a bit screwew

1 points

This is a gpt partition table. You want parted -l for a start. The sdaX labels are meaningless because they are assigned by the OS, you want to see the actual order of entries in the partition table. At a guess, the (wrong) partition entry has been deleted. If that is the case you should restore it from backup if your OS has it enabled, or manually add it otherwise.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.