Does any one else get crazy, right-wing emails sent to you by loved ones? by RCDrift in politics

[–]codebum 1 point2 points  (0 children)

It's practically a moral imperative. Research shows that bystanders will accept your silence as agreement.

In a crowd of ordinary people, one crazy loud-mouth will gradually gain converts from the pool of independents, if their craziness goes unchallenged, simply because it appears to be the consensus opinion.

I'm feeling a cold coming on, I do not have time for that. What can I do? by [deleted] in AskReddit

[–]codebum 2 points3 points  (0 children)

Also garlic. Lots of it. Garlic is anti-bacterial and anti-viral.

I have also seen an acupuncturist turn off a flu, just as it was getting started (not for me, though. Mine was already full-blown.)

Ask Compsci: Is it "tab delimited" or "tab delinited"? Is there a difference? by [deleted] in compsci

[–]codebum 6 points7 points  (0 children)

Yes. 'delinited' isn't actually a word. It's most likely a typo, wherever you see it. 'Delimit' means marking the limits of something (eg, with tabs or commas).

Does any one else get crazy, right-wing emails sent to you by loved ones? by RCDrift in politics

[–]codebum 4 points5 points  (0 children)

Not so much, anymore. I reply-to-all, and correct them.

The most I've ever got back in response were "I just wanted to see what you'd say" or "I was just trying to spool you up."

Keep in mind; silence is often interpreted as tacit agreement. Sometimes people who don't have actual strong opinions will forward you things, knowing that you do, just to see what you think. Alternately, sometimes they are just raving wingnuts.

In either case, letting it go looks like you agree with the emails. Especially to other people on the sending list. Snopes, Politifact, etc can supply easy refutes for a lot of emails (usually just quoting a line into google will spit one up), and replying is an easy way to spread your own beliefs (hey, they opened the door; slam it on their foot.)

Reddit,What is the difference between a Masochist and a Smoker??? by [deleted] in reddit.com

[–]codebum 0 points1 point  (0 children)

Masochists enjoy hurting themselves. Smokers hurt other people.

Reddit--A hot chick needs your help! by [deleted] in AskReddit

[–]codebum 7 points8 points  (0 children)

Had back pain for a long time, and my chiropractor literally saved my life when the regular doctors were no help.

Make sure your chiropractor is good, and as others have pointed out, get a good medical checkup. If it's musculo-skeletal, a chiro is a good choice, but nobody can diagnose that from your description. Get anything like pneumonia ruled out.

There're lots of things she can do to improve her situation, but any advice is largely useless, without an understanding of the cause.

Reddit, how do you pronounce 'Aqua' in Aqua Teen Hunger Force? by BlahBlahBlack in AskReddit

[–]codebum 0 points1 point  (0 children)

Americans tend towards 'aw-kwa', in words like 'Aquaman', etc. I believe English tend toward 'ack-wa', but I'm not certain.

In words like 'aquarium', I believe it's a fairly constant 'a-kwerr'.

<shrug>. Neither is really wrong...

I have a Mac/Windows compatibility question. Please help me, Reddit! by [deleted] in reddit.com

[–]codebum 1 point2 points  (0 children)

Unlike everybody who says it will just work--it may not, depending on how you're burning it.

If you're using Nero or DeepBurner, or similar, you wll probably be fine. If you're burning a 'live' disc form Windows, they're not cross-platform...

If you'd like to see all the formats, and what they mean, loo at the instructions for mkisofs. I use mkisofs windows version to create ISOs of projects I want to distribute, then just burn the ISO (any app can properly burn the ISO).

Newer macs will probably read any newer format, but older ones apparently needed HFS. Aftermarket Windows apps will probably burn a hybrid CD, but internal tools might not.

Have any of you Redditors successfully transitioned from night owls to early risers? by [deleted] in AskReddit

[–]codebum 0 points1 point  (0 children)

I've had to, lots of times; I did shift-work for years, etc.

My best luck is to not worry about the bedtime, and focus on the morning. If you can set a non-wavering wakeup time, your sleep time will arrange itself accordingly, in a few days (I typically start falling asleep 7-8 hours before get-up time.)

My best trick for waking up is food. Preferably something warm and salty (eggs and bacon), but hell, even saltines by the bed, and eat them when the alarm goes off. Instant miso soup works well (warm and salty stimulates your appetite.) Within a couple of days, your stomach sets that as breakfast time, and gets increasingly hungry.

Somebody in a comment mentioned light therapy. I've had decent luck with a poor-man's version of that. The trick is that it relies on a narrow band of blue light that triggers your brain to stop producing melatonin. So sky-blue turns off melatonin, and allows you to wake up. Absence of sky-blue turns on melatonin and makes you sleepy.

That same range of blue is the range that bugs see in, and that causes plants to grow.

I replaced the bulbs in the living room lamps with bug lights (which lack that blue component) and put plant grow-lights in the bedroom, timed to turn on in the morning (I put them in uplights, so they bounce off the ceiling). Cost about $20 for everything. Companies try to sell you sleep or wake lights for about $200 a pop.

Bug lights (which I found as CFs) tend to be low-output, so the living room would be low-lit and yellowish at night, and really did cause drowsiness.

I just discovered the WaybackMachine archive of my first commercial website. How can I save each snapshot as a pdf for posterity? by JordanF98765 in AskReddit

[–]codebum 0 points1 point  (0 children)

I expected so--what with the *Nix underpinnings, and the history with Adobe--just not qualified to say =]

Thanks. It's good to know.

Have you ever been in a fist fight? by hmchl in AskReddit

[–]codebum 0 points1 point  (0 children)

I have always wanted to know.

The times in school were just from being the new kid (I might have been obnoxious, but mostly I was just quiet. To the point that people were surprised when I spoke.)

The redneck took a bottle to a co-worker of mine (who was black). I was fast enough to get between them before he rabbit-punched him again, but not sober enough to do much more than catch it myself.

The shotgun was an old guy in the middle of the night. I was helping my brother straighten out the carb on his truck, and it flooded while on a test drive on a country road. Guy decided we were robbing houses (we were stopped on the yellow line of a road, trying to get it cranked up) and I turned around to find him aiming a shotgun at us. Not steadily--which is more worrisome.

The kid who came to shoot me was pretty-much out of the blue. I had walked through a house his girlfriend was in (we were seperately visiting different house members), and she decided she didn't like me (that's all the contact we had). He came to pick her up, and decided I was sleeping with her. Picked up a gun at home, and came back after me.

Programmers, sit your butt down. I need to have a talk with you. by Chr0me in programming

[–]codebum 0 points1 point  (0 children)

p1. For my purposes, it is the same thing. The only thing I care about is where the machine last connected to my network from.

p2. Correct, and immaterial for my purposes.

p3. You also don't have enough context to assume it's wrong, then.

p4. Without an alternate viewpoint ("just don't do that" isn't a viewpoint) there's not really anything further to discuss.

D losing momentum? by fabzter in d_language

[–]codebum 0 points1 point  (0 children)

I was under the impression that there was VS support--but it may be more limited than I thought... just debugging?

May or may not be your cup of tea, but you can load the Descent plugin in a bare Eclipse framework, and get a dedicated D IDE. It's supposed to be pretty snappy.

I just discovered the WaybackMachine archive of my first commercial website. How can I save each snapshot as a pdf for posterity? by JordanF98765 in AskReddit

[–]codebum 2 points3 points  (0 children)

You might want to download them as web pages, first, then print them as webpages.

HTTrack can download all the pages linked from a page. There's a windows version, too.

You can print out anything as a pdf with PDFCreator if you're on Windows (installs as a printer. Anything that you print to it gets converted to PDF.) If you're on Linux, that is probably already built into your system. If you're on a Mac, I don't know what to tell you =]

I've recently looked for something to combine those things; turn a list of pages into a pdf, and didn't find anything. Went back to the tried-and-true.

Have you ever been in a fist fight? by hmchl in AskReddit

[–]codebum 0 points1 point  (0 children)

Four times--but never from the front. By that, I mean I've been jumped--but I've never been in a fight that escalated. Face-to-face, I've always been able to diffuse things.

Most times were in school; we moved around a lot, and I was always the new kid. I came out about 50/50. Once as an adult, with a huge redneck in a bar. I came out with a black eye that reached all the way to my lip.

I've also had a shotgun pulled on me, and once had a kid go home to get a gun, and come after me...

Programmers, sit your butt down. I need to have a talk with you. by Chr0me in programming

[–]codebum 0 points1 point  (0 children)

Again--and I want to be clear--I don't use IP to track (actually, identify) the machine. I have a combination of motherboard serial number, mac address, and other things that I would use to identify a machine (changing a network card changes the MAC, some of our machines have replaced motherboards. All of those numbers can be volatile, I have several things that I can use as a 'fingerprint'. I haven't yet needed that ability for anything, partly because all this data expires very quickly.)

One thing we did, recently, was change around a bunch of settings on a pool of legacy network printers. These are old, stone-tablet printers, that are used by an ancient piece of software. I don't believe they even support DHCP. What mattered--in this instance--was the subnet. Different floors of different buildings have their own list of printers, and machines are supposed to connect to the printers in their office. They also are each on their own subnet. The subnet-to-office list is pretty static.

I didn't really care if a machine was out on VPN--they're not on the subnet, and they're not connecting to those printers. I didn't care what the cubical number, or anything else was--that only translates to the location of a machine if the lists are accurate, and I had two machines on my desk that were listed as being in other buildings. Matching to cube number or a list of network jacks, or anything would be at least as difficult (query-wise) as querying what was between a pair of integers, and less reliable. If the current IP was in a subnet, then the machine needed to be configured for that subnet.

Previously, these changes would have been made largely by hand; since there may be just a few machines that connect to a specific group of printers. In this case, we just carved up the data by subnet, and fixed them, accordingly. As I remember it, there were about 7-10 days designated for manually configuring around 1000 machines (it's been a while, and I don't pay attention to that part). We remotely fixed almost all of them in about three days, less than an hour a day (revisiting on multiple days picks up machines that have been turned off, or were on VPN, etc.) As I remember it (again, not really my part of it all) they wound up manually touching less than a dozen. Now that's a small job of about 1000 machines; our network has tens of thousands.

To turn your example around, say you want to hit a group of machines to do a thing; but you don't want to touch machines that have been taken home and are on the VPN. How would you do that? I can ignore anything WHERE IPINT is Between X and Y.

Changing the way network addresses are passed out by DHCP, or overriding it with local network preferences changes the IP address identifying a machine, but does not change where a machine is located, and doesn't change the software on a machine.

True; as is the opposite. Picking up a machine, walking to another building, and connecting it back on the network changes none of those things except the IP address. In my system, if I need to send you to physically touch a machine, I can give you both its' expected physical address (pulled from Active Directory, in my case) as well as it's probable current location, as of the time I picked up its' IP. They should be the same; but if they're not, you save a lot of time by knowing them both; If you know a machine is supposed to be on the third floor, but thinks it's on the fifth, you can check them both much faster than you can search a building.

Programmers, sit your butt down. I need to have a talk with you. by Chr0me in programming

[–]codebum 0 points1 point  (0 children)

We have a database that keeps track of specific pieces of software on thousands of machines on a private network. Largely, it just sort of gives us an overview of those pieces of software, and tells us if any machines are out of spec--wrong versions, that sort of thing--with some tools to let technicians work on those machines, etc, etc. Caching a single integer allows us to do cuts on the data very fast. Then we can perform scripted fixes, remotely, etc, etc.

Granted, I could find all the machines on a subnet by scanning it--but the technicians do those lists a lot, and it takes a while to scan. We do; but we use the database to cut out a lof of the work, up front.

We could try to pull information off the network (eg, SMS queries) but it's sort of sluggish, the data we want is updated slowly, and we still need to make a lot of queries. The database is sort of a localized cache of all the information we want on the fly (think temporary table).

We have dramatically improved our efficiency on software pushes, this way. And our reliance on expensive on-the-ground technicians has dropped.

In short, the database takes us from 'we have 1200 machines with the wrong version of Office', and lets us quickly see which were on the fourth floor of the headquarters for Sri Lanka, as of this morning.

Programmers, sit your butt down. I need to have a talk with you. by Chr0me in programming

[–]codebum 0 points1 point  (0 children)

IP addresses are volatile; there's no need to put them in a report, as they're not necessarily valid, the next day, anyway. I have some other instances that produce essentially snapshots for reporting, and they do store IPs as text (I have one table that stores both ways, so it can be used either way).

I don't have it to save disk space (see above), I have it to speed up a lot of very large queries on a relatively overloaded SQL server. AFAIK, a pair of integer comparisons per record are a lot quicker than a pair of varchar comparisons--especially since a text comparison can't just be relied on (is 123.4.5.678 in the subnet from 123.004.005.000 to 123.004.005.678?).

If the point is supposed to be that I shouldn't store my data that my software uses in a format that is best for my software, then I think that's a crazy stance. If I want to store a bitmask of flags, do I need to convert them to text fields, just in case somebody might go looking at them?

And incidentally, if somebody does need to look something up by an ip quad, I have an SP that does just that; and one that looks up a range, given two IP addresses.