Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!



HTTP/2 - the IETF Is Phoning It In

hab136 Re:Shrug (161 comments)

You forgot DHCPv6 being rejected because stateless autoconfig/RAs would be enough - except you couldn't get DNS or PXE boot info that way because it's not part of routing, so couldn't be included in router advertisements (politics, not technical). So, DHCPv6 was bolted on after.

about two weeks ago

Russia May Be Planning National Space Station To Replace ISS

hab136 Re:What's it good for? (236 comments)

>So, what exactly is the point of manned space stations?

For one thing, testing various methods for keeping humans alive, healthy, and sane in space.

We need to expand beyond Earth. To do that, we'll need space stations as jump-off points, and we'll need to know how to survive extended periods in space (months and years). To do that, we need somewhere to test survival, like the ISS.

> Or would the money, time and effort be better invested in some other types of space activity - automated experimental stations, or - let's dream - building a "real" base in space?

The ISS cost $150 billion over 20 years, or about $7.5 billion a year to construct and maintain. The US currently spends about $3 billion a year to keep it going - or about $8 per person. It's not a lot of money. Think about that - watching a movie about space costs more than actually maintaining a real life space station.

We have to start somewhere. All the work put into building and maintaining ISS was necessary experience before would could build a "real" base. We can design all we want but there are a lot of lessons to learn when you try to put theory into practice.

Yes, for each individual experiment, automated experiments are cheaper and easier. They're still done: http://www.space.com/27003-rus...

We don't have to do ISS *or* automated experiments - we do both.

Space is the future and it takes big investments right now. They do pay off now, and they'll pay off even more in the future.

about 2 months ago

Bug In Fire TV Screensaver Tears Through 250 GB Data Cap

hab136 Re:Why can't (349 comments)

Bandwidth isn't like water or electricity. You either use it in the moment or don't. You can't save it for later.

Not using bandwidth at 3am doesn't help the traffic jam at peak time (6pm). ISPs have to build enough infrastructure to handle peak times - they have to have larger pipes - but it doesn't actually matter how much bandwidth you use except for peak times. There's no good reason to meter traffic during non-peak times.

I'm not saying metering is a good idea - as I understand it, simply increasing bandwidth is often a cheaper option and better for users - but metering during non-peak times is just greed.

about 7 months ago

Windows 9 To Win Over Windows 7 Users, Disables Start Screen For Desktop

hab136 Re:Umm, ctrl+c/ctrl+v? (681 comments)

> I get to do 2 clicks if I use a mouse or windows key + start typing

You can do the same thing in Windows 7 (Windows key + start typing, or click on "Start" button and start typing), plus you have the organization of nested menus.

For items you use often, you can pin them to the menu instead of digging through "All Programs".

The start screen isn't an improvement in any way for desktop users. It is better for touch screens since the icons are larger and easier to click.

>especially ability to pin apps to a monitor.

Pinning apps to a monitor has nothing to do with start screen vs start menu. There's no reason that functionality couldn't be added to normal desktop windows ("always start this app on monitor x, fullscreen/windowed"), and in fact by default Windows 7 will remember where you last had an app and restore it to that monitor (not always correctly, but it tries).

The Metro interface is not only less functional for keyboard and mouse users, but confusing as well. There's no obvious way to close a Metro app, and swiping from the top is hard to do with a mouse. Alt-F4 works, but non-techie users don't know that. There's also no obvious way to shut down the computer! Swiping from the right is non-obvious and again, hard to do with a mouse. Remembering a keyboard shortcut (Win+C) is difficult for "normal" people. Yes, they could press the power button (on supported hardware), but decades of telling people to always shut down via software have made them nervous about that.

I've had a Windows 8 laptop at home for about 1.5 years now. Once I learned Win+C and Win+X, and customized the start menu a bit, it was fine. But I'm a computer person; all the "normal" people I know hate it and just want XP back (or something that looks like XP).

about 7 months ago

iPad Fever Is Officially Cooling

hab136 Re:No need to buy every year... (386 comments)

>I have a 1st Gen iPad and see no reason to replace it with a 2, 3, or 4.

The main reason I didn't buy the first gen and did buy the second was the camera. Videoconferencing with technically inept far-off relatives was too difficult with real computers, but an iPad+Skype worked great for them.

about 9 months ago

Will the Nissan Leaf Take On the Tesla Model S At Half the Price?

hab136 Re:Oh noes, I can't drive X miles (398 comments)

>Rain, snow, sleet, hail, rain, rain and more rain.

Umbrella, winter jacket, winter jacket+hat, winter jacket+helmet, umbrella, umbrella, and more umbrella

about 9 months ago

Administration Ordered To Divulge Legal Basis For Killing Americans With Drones

hab136 Re:No answer will be given (310 comments)

They have that - they're just called "high deductible" plans now. You have a $5000 yearly deductible, and after that, everything's covered. For minor stuff you'll pay cash, and for the triple-bypass the insurance will kick in.

about 9 months ago

60 Minutes Dubbed Engines Noise Over Tesla Model S

hab136 Re:Top Gear was worse. (544 comments)

1. Teslas don't need oil changes. You know what's better than a great dealer experience for required maintenance? Not needing maintenance in the first place!

2. Tesla doesn't have a dealer network, but they do have a service center network: http://www.teslamotors.com/ser...

3. You want a loaner? You'll get a loaner. From http://www.teslamotors.com/ser...:

Tesla Valet Service
Tesla is putting in place a valet service, so that your car is seamlessly picked up and replaced with a loaner and then returned as soon as we are done. There is no additional charge for this.

Tesla Rangers Come to You
Tesla Rangers are service technicians who make house calls. For an additional fee, they can come to your home or office to perform most maintenance and warranty repairs.

4. "air conditioned seats, rear DVD, 360 degree camera surround support, automatic parking, adaptive cruise control, automatic crash braking". Ok, Teslas don't have any of that.

about 10 months ago

Tesla Model S Gets Titanium Underbody Shield, Aluminum Deflector Plates

hab136 Re:Very amusing but... (314 comments)

>You have to manage an inventory of expensive $20k+ parts that could be stolen,

All inaccessible and underground. They're also fairly useless to thieves; who would they sell a stolen Tesla Model S battery pack to?

The battery packs are heavy, unwieldy, and can't be resold to anyone. If you're a thief, there are much better targets.

>you have multiple sizes and model of battery,

All the loaner packs can be the same size and model.

> and different wear states. The batteries lose power constantly.

Since they're at the charging station, they can keep the batteries topped off. As they wear out, they'll be replaced. Tesla owns the loaner packs. The battery swap is actually a loan, not a true swap like propane. You have to go back to that station and get your original pack back.

>You have to manage liability, if you install a defective battery and it catches fire who pays.

Tesla, since they're both the manufacturer and the battery swapper.

>You have complicated machinery that you need to have many of to handle rushes that go unused at other times

It takes 93 seconds to swap batteries. http://www.teslamotors.com/bat...
They really only need one swapping machine on site for the foreseeable future, and if they get to the point where they need more swapping machines, then they're doing very very well.

Especially since swapping isn't going to be used day-to-day; you'll charge at home or work. Swapping is really only for long-distance trips.

>And you still need to have the same order of magnitude of power available to charge up the swapped out batteries as you would to just charge them in the car.

Of course. The advantage of battery swap is that you can run out your current battery, swap at the station, drive wherever you're going, come back, swap back for your now-recharged pack, and go home. 186 seconds during the trip, versus having to stop and charge for a few hours.

about 10 months ago

How Do You Backup 20TB of Data?

hab136 Re:Good luck. (983 comments)

>A quick check at one service which lists such large amounts, you would be looking at almost $20k/year to keep a single offsite copy of tha

Amazon Glacier would be about $205/year to store 20 TB. A full restore would be like $2,000 though, unless you want to restore 1 GB/month. Still, that's a significant difference from $20k/year.

about 10 months ago

Nagios-Plugins Web Site Taken Over By Nagios

hab136 Re:Copyright violation. (119 comments)

>But you must keep in mind (as I mentioned above) that to get monetary renumeration--rather than an injunction--you must have registered your work with the Copyright Office before the violation. And it must be registered--before or after the violation--to be able to make a claim.

I thought you were wrong, so I started looked up references. As it turns out, you're right.

The law: http://www.copyright.gov/title17/92chap4.html#412

Slightly more readable: http://thompsonhall.com/why-you-must-register-a-copyright/

1 year,5 days

An Iowa ISP's Metered Pricing: What Will the Market Bear?

hab136 Re:What has this to do with net neutrality? (479 comments)

> More data does cost more, it's simple.

No. A 600 MB/s pipe costs the same to operate whether you send 30 GB or 300 GB down it over a month.

Metering by the bit (instead of by bandwidth) is pure profit-taking.

1 year,5 days

An Iowa ISP's Metered Pricing: What Will the Market Bear?

hab136 Re:no (479 comments)

>The idea of unmetered pricing is kind of insane.

Why? If an ISP's peak bandwidth is 600 MB/s, then they have to buy 600 MB/s of bandwidth. It doesn't matter how much you download during non-peak times; the pipe has to be sized for peak bandwidth.

Someone that uses 5 GB monthly, but expects 30 MB/s bandwidth during peak time, means the ISP needs 30 MB/s more peak bandwidth (so 630 MB/s total)
Someone that uses 300 GB monthly mostly during non-peak time, and only uses about 5 MB/s during peak time means the ISP only needs 5 MB/s more of bandwidth (so 605 MB/s total).

Metering by the bit is only vaguely related to costs. If you want to meter by bandwidth, that would make sense - but we already do that. You can have 10 MB/s for $x.xx, 20 MB/s for $y.yy, etc. Why should we *also* meter by the bit when we already meter by speed?

NZ's problem is likely that the trans-Pacific cables meter by the bit in order to increase their profit, and the local ISPs are just passing those costs on. In that case, the trans-Pacific cable operators shouldn't be metering by the bit, since it has no relation to their costs.

1 year,5 days

Surviving the Internet On Low Speed DSL

hab136 Re:KVM for maintenance (277 comments)

>RDP and VNC aren't much help if that server is waiting in the bios to tell you a SCSI disk is offline.

You can set up a gateway VM (or physical machine) on the same local network and RDP to that, then connect to your iLO/DRAC/IPMI/KVM. The bandwidth-intensive KVM will stay on the same network, and you can use a lower-bandwidth protocol like RDP to connect to the gateway machine.

Many places use this as a security measure - users from the VPN are only allowed to RDP/SSH to the gateway machine, then access internal systems from there. It makes it easy to firewall off systems from the outside.

1 year,26 days

UK Retailer Mistakenly Sends PS Vitas, Threatens Legal Action To Get Them Back

hab136 Re:Gray area? Not in the US (617 comments)

>What should I do

There's a big difference between what you *should* do, and what you are *legally obligated* to do.

It's not clear from the FTC's website whether you are legally obligated to return the mistake.

about a year ago

China Prefers Sticking With Dying Windows XP To Upgrading

hab136 Re:bad BIOS saga continues - 12/13 (333 comments)

>Yes it is, If you knew anything AT ALL about computers or electronics you would know that. Go look up how audio pathways work in a computer kid.

Two computers sitting in the same room, with both speakers and microphones, could easily communicate by emulating a 300 baud half-duplex modem, for example.

For even lower bit rates, use something like DTMF tones.

What is it that you find implausible about computers using sound to communicate, considering we've been doing it for decades?

about a year ago

Ask Slashdot: Are We Older Experts Being Retired Too Early?

hab136 Re:Lie a little (629 comments)

> I do not know if that would be faster/better to do 'join' statement over multiple huge data tables compared to nested queries.

Yes. Someone who is writing SQL queries for a living should already know that, so asking him to rewrite it using JOIN would be useless unless it's an entry-level job, because he isn't going to get hired.

You're right in that asking people "why did you do it that way?" is a good way to find out if they understand what they are doing, but it should be asked open-ended like that at first, so that the candidate can demonstrate their knowledge. If you don't get a good answer, then ask "why didn't you use JOIN?".

>Also, why would GET & POST requests be involved in security?

GET parameters go in the URL and may be logged inadvertently or captured via Javascript. Search engines and browser pre-caching may trigger GET requests accidentally, so having a 'delete' action be a GET request, for example, would be bad.

More to the point, anyone in an internet security job should know this, because it's a building block to understanding more complex things. The candidate should understand the HTTP protocol thoroughly. If they don't know GET vs POST, they certainly don't know any advanced concepts that the job requires.

about a year ago

Electric Cars: Drivers Love 'Em, So Why Are Sales Still Low?

hab136 Re:money? (810 comments)

IRS mileage rate for 2013 is 56.5 cents per mile, so 500 miles would be $282.50.

Subtract the cost of gas (US new car average of 24.9 mpg, so 20.08 gallons @ $3.269 US average = $65.64) and you're left with $216.86 as the cost of operating a car for a 500 mile trip.

The IRS rates are high, you say. This calculator says between $0.15 - $0.30 per mile for wear and tear. Let's use the low figure, $0.15, which gives us 500 x $0.15 = $75.

Note that "wear and tear" includes depreciation, because the more miles you drive, the lower the car is worth. A 2002 car with 20,000 miles is worth more than the same car with 200,000 miles. It also includes tires, brakes, oil, timing belts, etc because the more you drive, the more often you have to change these things.

Many people don't count those as per-mile costs, and instead act like a new clutch or timing belt is a total surprise, instead of an expected result after so many miles of driving. However, they are valid per-mile costs, and if you budget appropriately, you likely won't ever have $1,000 surprise repairs - you'll just have expected repairs.

So if it costs the rental car company $75 and they charge you $50, how do they make money? Well, it doesn't cost *them* $75.. they have their own mechanics to do oil changes, brakes, tires, etc, and they get bulk rates on parts and fluids.

about a year ago

Review: Puppet Vs. Chef Vs. Ansible Vs. Salt

hab136 Re:Oh really? (141 comments)


In Slavic languages other than Slavonic, multiple negatives are grammatically correct ways to express negation, and a single negative is often incorrect [...] For example, in Serbian, Niko nikada nigde nita nije uradio ("Nobody never did not do nothing nowhere") means "Nobody has ever done anything, anywhere", and Nisam tamo nikad ila ("Never I did not go there") means "I have never been there".

about a year ago


hab136 hasn't submitted any stories.



hab136 hab136 writes  |  more than 9 years ago # cat .xine/config |grep -v ^# | grep -v ^$
audio.output.speaker_arrangement:Pass Through


hab136 hab136 writes  |  more than 9 years ago begin 644 oglerc.gz

and relevant audio section:



hab136 hab136 writes  |  more than 9 years ago

I have a Chaintech AV710

It's currently $24.50 at Newegg

It's about the cheapest card I could find at the time that had an optical out, and it's supported by Linux.

It uses the ENVY-24-HTS chipset, which in the Linux kernel is:

Device Drivers
---PCI Devices
----ICE/VT1724/1720 (Envy24HT/PT)

The config files I have are listed as other journal entries.

Some big problems I had:
1. Unmuting the darn thing. Hence I have included my asound.state after I mucked with amixer for forever.
2. Xine and Ogle both need config changes to output to the correct ALSA device. See config files for both.
3. (Once they produce sound) xine and ogle (both excellent players) will automatically use the 5.1 track (or you can select it through the DVD menu). With mplayer it's harder..

For mplayer, as far as I can tell:
# midentify VTS_02_1.VOB

All we care about are the ID_AUDIO_IDs. Notice they start at 129.

Now look at lsdvd -a:
# lsdvd -a .
Disc Title: unknown
Title: 01, Length: 02:19:02 Chapters: 37, Cells: 59, Audio streams: 07, Subpictures: 02
                Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined
                Audio: 2, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined
                Audio: 3, Language: fr - Francais, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined
                Audio: 4, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined
                Audio: 5, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined
                Audio: 6, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined
                Audio: 7, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined

Title: 02, Length: 00:00:00 Chapters: 18, Cells: 01, Audio streams: 01, Subpictures: 01
                Audio: 1, Language: xx - Unknown, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined

Title: 03, Length: 00:00:00 Chapters: 17, Cells: 01, Audio streams: 01, Subpictures: 01
                Audio: 1, Language: xx - Unknown, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined

Title: 04, Length: 00:00:07 Chapters: 02, Cells: 01, Audio streams: 00, Subpictures: 00

Title: 05, Length: 00:00:00 Chapters: 01, Cells: 01, Audio streams: 00, Subpictures: 00

Title: 06, Length: 00:00:17 Chapters: 02, Cells: 01, Audio streams: 01, Subpictures: 00
                Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined

Longest track: 1


Title 01 is obviously the main movie. Audio track 1 (129) is 2 channel. Audio track 2 (130) is 6 channel (actually 5.1). That's the one we want.
So, to specify the audio stream:

mplayer -aid 130

From `man mplayer`:
-aid (also see -alang)
  Select audio channel (MPEG: 0-31, AVI/OGM: 1-99, ASF/RM: 0-127, VOB(AC3): 128-159, VOB(LPCM): 160-191,
  MPEG-TS 17-8190). MPlayer prints the available IDs when run in verbose (-v) mode. When playing an MPEG-
  TS stream, MPlayer/MEncoder will use the first program (if present) with the chosen audio stream.

-alang (also see -aid)
  Play the audio stream whose language matches the given code. Different container formats employ differ-
  ent language codes. DVDs use ISO 639-1 two letter language codes, Matroska and NUT use ISO 639-2 three
  letter language codes while OGM uses a free-form identifier. MPlayer prints a list of available lan-
  guages when run in verbose (-v) mode.


Seriously, don't use mplayer for DVDs. Use ogle or xine, and you get DVD menus to boot. For full-screen, no gui mode:

ogle -u cli ${DVDDIR}

xine dvd:/${DVDDIR} --fullscreen --hide-gui --no-logo


hab136 hab136 writes  |  more than 9 years ago begin 644 asound.state.gz


hab136 hab136 writes  |  more than 9 years ago

# lspci -v
0000:02:01.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)
                Subsystem: VIA Technologies Inc. AMP Ltd AUDIO2000
                Flags: bus master, medium devsel, latency 64, IRQ 22
                I/O ports at dea0
                I/O ports at df00 [size=128]
                Capabilities: [80] Power Management version 1

# lsmod |grep snd
snd_pcm_oss 49572 0
snd_mixer_oss 18176 1 snd_pcm_oss
snd_seq_oss 33024 0
snd_seq_midi_event 6528 1 snd_seq_oss
snd_seq 51344 4 snd_seq_oss,snd_seq_midi_event
snd_ice1724 52388 2
snd_ice17xx_ak4xxx 3456 1 snd_ice1724
snd_ac97_codec 73952 1 snd_ice1724
snd_pcm 86148 4 snd_pcm_oss,snd_ice1724,snd_ac97_codec
snd_timer 21764 2 snd_seq,snd_pcm
snd_page_alloc 7940 1 snd_pcm
snd_ak4xxx_adda 5888 2 snd_ice1724,snd_ice17xx_ak4xxx
snd_mpu401_uart 6656 1 snd_ice1724
snd_rawmidi 20512 1 snd_mpu401_uart
snd_seq_device 7180 3 snd_seq_oss,snd_seq,snd_rawmidi
snd 48484 15 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_ice1724,snd_ac97_codec,snd_pcm,snd_timer,snd_ak4xxx_adda,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 7904 1 snd


hab136 hab136 writes  |  more than 9 years ago

pcm.!default {
        type plug
        slave.pcm "cards.pcm.iec958"

pcm.!spdif {
        type plug
        slave.pcm "cards.pcm.iec958"

pcm.!iec958 {
                type plug
                slave {
                                pcm "hw:0,1"
                                format S32_LE

Slashdot Login

Need an Account?

Forgot your password?