Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!



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 two weeks 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 three weeks 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 a month 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/

about 3 months ago

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.

about 3 months ago

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.

about 3 months ago

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.

about 4 months ago

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 4 months 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 4 months 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 5 months 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 5 months 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 5 months ago

The State of ReactOS's Crazy Open Source Windows Replacement

hab136 Re:Just ignore it. (208 comments)

> runs on almost no hardware

If it runs in a virtual machine, that would be enough to start. They can add device drivers later.

The other problems with the project are all too real though.

about 5 months ago

OCZ May Be On Its Last Legs

hab136 Re:Full of BS (292 comments)

>Fabricated and unsupported are VASTLY different things.

Without a citation, we can't tell the difference.

about 6 months ago

Ask Slashdot: When Is It OK To Not Give Notice?

hab136 Re: Burning bridges (892 comments)

The employee handbook sometimes is an implied contract. Here's one source.

Of course, most employee handbooks say that you can be fired for every offense, so.. no problem for the employer.

about 7 months ago

Why Your Sysadmin Hates You

hab136 Re:So... (572 comments)

>in my experience only about 75-50% of my tickets can be solved remotely.

So what you're saying is that the department can outsource 75-80% of its staff, while keeping a few people on site.

about 10 months ago

Slashdot Asks: How Will You Replace Google Reader?

hab136 Re:Why do I need an aggregator? (335 comments)

Using it with 40 different blogs that all post the same shit is silly. Don't do that. RSS is supposed to be used with irregularly and infrequently updated content.

For example, I use RSS to keep up with web comics. Now I don't have to remember that Comic A updates on Mondays, Wednesdays, and Fridays, and Comic B updates every 3rd Thursday, and Comic C was on hiatus for a summer but started up again. I just go to my "comics" folder on Google Reader and see what's new.

I also use RSS to keep up with a few low-volume blogs, that update whenever the author feels like it, but general 2-3 times a month.

There's no good replacement for RSS.

about 10 months ago

One Year After World IPv6 Launch — Are We There Yet?

hab136 Re:I suspect it'll take a while. (246 comments)

>How are you gonna config the thing? Are you gonna head over to 2000:FF01:B4F1:A020:0000:0000:0000:0001 ? Or are you gonna head over to

http://router.local/ which the router will answer the DNS for

Or what I've seen some routers do, intercept any and all web traffic and redirect it to the router config page until the router is configured.

about 10 months ago


hab136 hasn't submitted any stories.



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


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

and relevant audio section:



hab136 hab136 writes  |  more than 8 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 8 years ago begin 644 asound.state.gz


hab136 hab136 writes  |  more than 8 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 8 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 Account

Need an Account?

Forgot your password?

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>
Sign up for Slashdot Newsletters
Create a Slashdot Account