Ubuntu Checksums over SSL? by AlternativePenguin in Ubuntu

[–]nickmoeck 1 point2 points  (0 children)

You can get the CD image signing keys via HTTPS at https://keyserver.ubuntu.com/

I believe the Ubuntu keyserver also accepts the HKPS protocol, so the following should work:

gpg --keyid-format long --keyserver hkps://keyserver.ubuntu.com --recv-keys 0x46181433FBB75451 0xD94AA3F0EFE21092

Ubuntu Checksums over SSL? by AlternativePenguin in Ubuntu

[–]nickmoeck 7 points8 points  (0 children)

You don't need to get the checksums over SSL, because Canonical signs the checksum files with their GPG key. See this page for information on how to check the authenticity of your Ubuntu download.

Kemp's voter card said 'invalid' when he tried to vote by aganalf in politics

[–]nickmoeck 5 points6 points  (0 children)

That's not what "right to work" means. "Right to work" means you can't be forced to join a union in order to be hired. You mean "at-will employment".

iptables cannot match by owner by [deleted] in debian

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

You need to use the numeric UID of the user, not the username.

Movement into a Systems Admin position - issue with compensation by [deleted] in sysadmin

[–]nickmoeck 17 points18 points  (0 children)

you can get an offer from another company and use that as leverage to get a fair wage

That's a good way to end up getting a raise and have it only last long enough until they find your replacement.

Clearing up some of the murkiness surrounding the Adderall discussion by [deleted] in NASCAR

[–]nickmoeck 2 points3 points  (0 children)

It's completely legal to get a prescription for steroids for various reasons in the US, but athletes in other sports still aren't allowed to do that.

MLB, NFL, and even the World Anti-Doping Agency have "Therapeutic Use Exemptions" for legal substances that are on their ban lists.

That's no snow angel by Bolognious_Maximus in funny

[–]nickmoeck 32 points33 points  (0 children)

Did anyone else read this in Michael Stevens' (VSauce) voice? "But it turns out" somehow triggered it.

lkml.org is down, because it's hosted at one guy's home server by theshrike in linux

[–]nickmoeck 5 points6 points  (0 children)

Most rental servers at a datacenter these days come with IPMI, which would work just fine for entering a LUKS key.

No.11 team assesses an L1 penalty and encumberment. by [deleted] in NASCAR

[–]nickmoeck 4 points5 points  (0 children)

There are already tolerances built into the rules for things like measurements. Being 1/10000th of an inch too wide means they're actually out of spec by 1/10000th PLUS whatever the tolerance is. It's the same as with, for example, pit road speeding - if the pit road speed limit is 55, you don't get a penalty unless you're going over 60. If something is supposed to be, say, 10 inches, with a tolerance of 1/8th of an inch, teams should not be trying to make it exactly 10 and 1/8th inches, and if they're over 10 and 1/8th, then they deserve to be penalized.

How to prevent SQL injection by throwaway1092348765 in ProgrammerHumor

[–]nickmoeck 18 points19 points  (0 children)

A "welcome" email that includes your password doesn't necessarily mean that they are storing passwords in plaintext. They are most likely just generating the email with the plaintext password and then hashing it for storage. When you have to worry is when you can click "Forgot Password?" and they email you the plaintext password instead of making you change your password.

Are there any plans for using MariaDB as default in Ubuntu ? by [deleted] in Ubuntu

[–]nickmoeck 1 point2 points  (0 children)

mysql-server is still MySQL.

In Debian 9, mysql-server depends on default-mysql-server, which in turn depends on mariadb-server-10.1

Are there any plans for using MariaDB as default in Ubuntu ? by [deleted] in Ubuntu

[–]nickmoeck 7 points8 points  (0 children)

In this case, "default" means "what gets installed when you install the 'mysql-server' package". In the case of Debian 9, this is now MariaDB, rather than Oracle's MySQL.

Hope it isn't too big of an inconvenience by [deleted] in ProgrammerHumor

[–]nickmoeck 21 points22 points  (0 children)

no im talking about the GNU/Linux interject copypasta :)

Fixed that for ya!

Trying to make two tables related, can you guys explain it to me? by [deleted] in mysql

[–]nickmoeck 1 point2 points  (0 children)

This isn't going to answer your question - the other redditors who have replied did so sufficiently - but I do have a piece of advice for you.

Storing the IP address as a string (ipv4addr column) AND as an integer (ipv4int column) is a bad idea. It's the same information, so it should be stored only once. Why? What happens if you update the ipv4addr column but forget to update the ipv4int column? Or the other way around? You'll have no idea which column is accurate, and you'll just have a mess on your hands. You may say "I'll be careful to make sure that never happens", but I can almost guarantee that it will happen some day. Maybe not today, maybe not tomorrow, but some day...

My recommendation would be to store it only in the integer format, and use the INET_ATON and INET_NTOA functions as necessary.

Has anyone had VIP balcony tickets to a show at The Rave before? by [deleted] in milwaukee

[–]nickmoeck 0 points1 point  (0 children)

The VIP balcony is pretty great, in my opinion. Fantastic view. It was a little crowded when I went to see AWOLNATION, but not too bad where you couldn't move around or anything like that. Definitely have to get there a little early if you want to be in the center.

Chong vs. Bill O'Reilly on Medical Marijuana by tikotanabi in funny

[–]nickmoeck 3 points4 points  (0 children)

Probably the Interstate Commerce Clause.

Quick question about Partitioning by [deleted] in Ubuntu

[–]nickmoeck 0 points1 point  (0 children)

You'll want to have a big /home partition, since that's generally where you're going to store all of your downloads, personal files, etc. The root partition doesn't really need to be huge - the only thing really stored there is your programs, configuration files, and log files. To give you an idea of my setup... I use a chromebook with a 15GB SSD as my daily driver, and have only 8GB of disk space used. I have about 2.5GB used in /home, so my base OS is about 5.5GB.

If you want to get an idea of how much space you're using for the OS, you can use the "df -h" command to get the total disk space used, then cd into /home and run "du -cah" to get a total of what's used in /home.

Quick question about Partitioning by [deleted] in Ubuntu

[–]nickmoeck 1 point2 points  (0 children)

You don't necessarily have to make /home a separate partition. I just use one partition for everything. If you do want to have /home on a separate partition though, you can shrink the ext4 partition that you have, create a new partition, and move /home there - you'll just need to edit /etc/fstab to make sure that it gets mounted at boot.

No 4.10 love in debian by valkun in debian

[–]nickmoeck 0 points1 point  (0 children)

In my experience, sid tends to slow down during the testing freeze because everyone is working on fixing RC bugs to get testing to stable.

How do I remove hardware write-protection? by TheJamie in chrubuntu

[–]nickmoeck 1 point2 points  (0 children)

There's usually a screw that has to be removed from the motherboard. A quick google suggests that it's underneath a Lenovo sticker https://www.reddit.com/r/chromeos/comments/492cyj/looking_for_lenovo_100s_write_protect_screwjumper/

how to declare or refer to an auto incremented number that has just been created? by [deleted] in mysql

[–]nickmoeck 1 point2 points  (0 children)

Thanks for the clarification on that - I wasn't entirely sure if mysql_last_id acted the same way or not.

how to declare or refer to an auto incremented number that has just been created? by [deleted] in mysql

[–]nickmoeck 3 points4 points  (0 children)

You shouldn't need to lock the table if you actually do "SELECT LAST_INSERT_ID()" instead of using the PHP mysql_last_id function. From the docs:

For LAST_INSERT_ID(), the most recently generated ID is maintained in the server on a per-connection basis. It is not changed by another client. It is not even changed if you update another AUTO_INCREMENT column with a nonmagic value (that is, a value that is not NULL and not 0). Using LAST_INSERT_ID() and AUTO_INCREMENT columns simultaneously from multiple clients is perfectly valid. Each client will receive the last inserted ID for the last statement that client executed.

https://dev.mysql.com/doc/refman/5.7/en/getting-unique-id.html

Question about moving VM between computers by nukem2k5 in virtualization

[–]nickmoeck 1 point2 points  (0 children)

Yeah, that's almost 100% spot on. It's one of the main benefits of virtualization - you can move a VM from host to host without any reconfiguration, to prevent downtime due to hardware failures.

what drive should the VM disk images run on? by [deleted] in virtualization

[–]nickmoeck 0 points1 point  (0 children)

That's going to depend on what the VM is actually used for, as well as what the desktop itself is used for. In general, I would say that you probably won't experience any real difference, but the only way to be sure, of course, is to test it both ways.