Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment Re:let me know when i can control my dreams (Score 3, Informative) 47

That's why you learn from either a print book, or the simplest online guide out there, and ignore the discussion community entirely...

I know it is real because I have accidentally done it a few times, I just really don't care enough to improve the odds by doing all the mental exercises out there.

An easy example: A sign that you are dreaming is inconsistent numbers, and simply being aware of this fact will help trigger lucid dreams if you encounter numbers in a dream. To improve the chances of this occurring, you can make a habit of checking your watch / clocks / other things with numbers twice while awake, and verify that the numbers remain consistent. This isn't as easy as it sounds, which is why I gave up...

Comment Re:iFixit (Score 2, Interesting) 312

Thanks for that! I found two amusing bits of information in there:
-The screen replacement is far superior in the iPhone 5 than the Galaxy S3 (I looked at their piece on the S3 afterward).
-I was most amused at finding out the iPhone 5 battery and camera are made by Sony... hopefully this silences some of those people who feel the need to post about having not bought a Sony product since **insert ancient history here**.

Comment Re:While I like the idea (Score 1) 180

Seriously tell me hailing a cab is easy after you've tried to do it while standing in the snow an hour after bars close and you don't want to take three more God-forsaken hours to get home to an outer borough shithole apartment that costs $waytoofuckinmuch... Not that I'm bitter. :)

Most intelligent city residents bother to keep the number of a good car service... I can remember "four ones" from growing up there, I'm sure similar companies exist nowadays.

And in pretty much any other city, the *only* way you're getting a cab when you need one is by calling the cab company, or walking to a bus terminal/train station/airport.

Comment Re:High Skilled Professions put in more hours (Score 1) 454

I'll raise you that, and working over 40 hours (which 90% of the time is voluntary) is paid at time and a half.

Honestly if overtime exemptions were eliminated, we would simultaneously solve the "overworked intern" issue and employment issues (after all if 80 hours of work regularly needs to get done every week, it would suddenly become cheaper to hire a second shift).

Comment Re:soda ban science misinterpreted (Score 2) 642

*Mod parent up!*

Good points from the article for the lazy:
-People who feel like they've been "good" for one meal will simply compensate by eating worse for the rest of the day
-A construction worker who buys one large drink and nurses it all day would be impacted. (I would include tourists and shoppers in this as well).

And the best one:
-If this fails, no one will try anything like it anywhere in the US for a *very long time*, preventing any actual worthwhile legislation from being passed.

Comment Re:That is seriously an unhealthy amount (Score 2) 642

You can still purchase as much soda as you like, you just can't purchase it in large containers. Sounds like a balance between public health and freedom to choose.

As someone who likes to buy a large (32oz) beverage at fast food places with lunch and sip at it my leisure for the rest of the day whenever I'm in NYC: fuck you. Even if the price is the same, I will be stuck having to carry two containers, and make damn sure to chuck the extra one in the middle of the street, hopefully to get lodged in a storm drain and cause some flooding.

But hey, it's better than letting people control their own portioning, right?

Comment Re:bääääh (Score 1) 642

I always thought there was a law against charging for tap water at eateries, but looking around it appears there isn't - it's just supposed to be bad business.

I usually raise holy hell a place tries to charge for tap water... I'm ok with a 25 cent charge for the cup / labor but no more.

Comment Re:The future of operating systems (Score 1) 255

That is what it *said* created the file. Dhclient is still changing it and I really couldn't be bothered to figure out where to tell it not to.

In any case the "proper" method doesn't scale well. Editing /etc/network/interfaces works for Debian based systems (coincidentally what I use personally) but for RedHat based it's /etc/sysconfig/network-scripts/[interface] (which is what I often deal with). That's already two different places. The target files also happen to have contents customized to the machine's hardware layout, not an easy situation to script.

So I can either manually edit one or the other config file every time a new system comes my way, or spend hours making a script to read and properly alter the appropriate files, or just run this:

echo "search example.com" > /etc/resolv.conf
echo "nameserver 10.0.0.99" >> /etc/resolv.conf
chattr +i /etc/resolv.conf

And to undo:
chattr -i /etc/resolv.conf

Throw in a "service network restart" or "dhclient" afterward and your resolv.conf is right back to normal.
Simple and clean. No dialog boxes, no editing text files, just clobbering one that gets recreated automatically anyway.

As far as:

Preventing the DHCP client from doing what it is intended to do is breaking DHCP.

Really? The important parts of DHCP (contact DHCP server, configure IP, routing, etc) is working just fine. How is hardcoding a nameserver breaking DHCP?

My procedure has the benefit of working on almost any Linux system with any network configuration. Other than a few wasted processor cycles when dhclient or what have you tries and fails to write resolv.conf, I can't see any benefit the so-called "right" way has.

Comment Re:The future of operating systems (Score 1) 255

Really? The first line of the file says "# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)". And if you just read the man page, you are told which files to edit to make changes to the resolver config.

Really? Mine just says " Generated by NetworkManager". Different distros like to clobber resolv.conf in different ways, my method gets the intended result 100% of the time on the first try.

The reason turning off write doesn't work is because resolvconf runs as root, of course. And it's not a good idea anyway unless you like breaking DHCP.

1. A proper program running as root (ie: try editing a file with vim) will ask if you want to override read-only protection (and as a daemon, will simply choose to respect it). Just because it *can* ignore the permission doesn't mean it should. Samba for example will not write its LDB files if it does not have write permission, even though it runs as root.

2. How is preventing DHCP from writing resolv.conf "breaking DHCP"? I have my own DNS server that I would rather use than my ISP's which hijacks DNS errors.

Slashdot Top Deals

Kleeneness is next to Godelness.

Working...