Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:XML? that's so 1990 (Score 1) 51

Notepad, which is so often used by the technically non-clueful. Of which, I seem to work with a few.

Of course, you should use a real editor. This somehow doesn't prevent people from using notepad b/c they don't know better, or using vim but not knowing HOW to use vim and still we lose all indenting.

and I never said you needed a special editor for XML. Not even that you need one for JSON or YAML.

Pretty printing isn't MANDATORY for XML... which is really the point. With it NOT necessary, means you can fuck up the whitespace and NOT break the data. That's what I need.

Comment Re:XML? that's so 1990 (Score 1) 51

I use JSON (and occasionally YAML), but only for data interchange formats where I don't expect a human to need to modify it.

Yes, I am aware that JSON and YAML are largely related. And I a few times tried to write up files in JSON, just as a mockup of my intended data structure. Yes, I used a real editor with proper tab indenting. It still got to be pretty unreadable. I use Data::Dumper whenever I want the data format to be as explict as possible, but only for debugging.

But it's so much worse than that. XML doesn't NEED the indenting, so if some tard uses wordpad or notepad or something equally stupid to modify the file, he CANNOT mess it up.

Yes, you want to assume that only Real Programmers will be modifying your data. I had to unlearn that theory, and I'm working for a very well known internet company (I'd rather not say, albeit I may have left clues [or even spilt the beans] in other comments).

In particular, I had used XML for a human writable/readable data file (the same project I had tried to use JSON for), and was told a month ago that I had to write a GUI editor for it, or it just wouldn't get used. That and I've watched a few QA contractors and simply how little actual programming they know.

XML also gets a lot of flack b/c it is typically 'too hard to parse' whereas YAML and JSON are intended to be trivially parsed into a natural tree format... On the other hand, I found a perl module (XML::TreePP) that makes XML just as simple to manipulate.

Comment Re:XML? that's so 1990 (Score 0) 51

Great for human readability. Terrible (due to some python-like indent rules) for humans to add content to.

Meanwhile, XML might not be quite as nice as YAML for reading, but it is easier to figure out where you made a mistake, assuming you're pretty printing it (but the best thing is that pretty printing it is unnecessary).

Comment Re:why? (Score 4, Insightful) 424

Don't ask a cop. Then again, don't ask a lawyer either. Both will give you overly conservative anwers.

Very often a cop is not required to know whether certain 2A activities are legal, and will arrest you anyway. Sure, the charges might not stick... But this IS California that the article is about.

And yes, I live in NorCal.

Comment Re:That's a good thing. (Score 4, Interesting) 273

You're not trying. Where I work there is NO guest-wifi (the wifi that exists requires you to VPN from the wifi to the actual network and the VPN requires an RSA SecurID).

I listen to Pandora when at work, in order to drown out the conversations all around me + the noisy (she has to be the noisiest [sober] drinker I've ever heard) Russian woman who sits behind me.

I hit 2GB easily... I had ~3900MB last month. And the 5260MB the month before. 2000 MB in september. 1200 in August. Ever since I started working here.

Comment Re:So... (Score 2, Interesting) 266

First, .net had a very particular meaning once upon a time. It meant you were an ISP or other network service provider (Google might even qualify). This is to be separate from IBM which sells stuff, but does not provide network services (that I can think of. and if you want to be a PITA, try Pepsi or Coca-Cola).

Meanwhile, I think that perhaps we should have per-country DNS search paths, such that if you try to do www.google.com, and you're in the UK, you go to www.google.com.uk. (this would break with .co, due to Colombia).

Comment Re:Good lord man, take responsibility for yourself (Score 1) 330

What about people who rent? They don't have the option of installing solar on the roof.

Geothermal isn't practical (or legal) in all places. Water pollution laws or lack of sufficient groundwater. Clay or other non-sand soils.

Wind has restrictions, in particular from HOAs and other zoning restrictions.

Comment Re:So? (Score 2, Informative) 306

Just this [calendar] month, my flatmate and I have the following stats:

    - Roku: # me, Netflix & Amazon VoD
                    in: 46.67GB 46667040679
                    out: 373.73MB 373734958
    - skuld: # flatmate. anime, Netflix & iTunes
                    in: 43.16GB 43164082021
                    out: 1.61GB 1613538080
    - mimir: # both, mostly me this month. Linux ISOs & anime
                    in: 29.17GB 29172312574
                    out: 549.06MB 549057857
    - total: # other stuff is included in this, I wanted to only highlight the biggest numbers.
            in: 131.38GB 131377255738
            out: 10.67GB 10672545785

And we've done more, mostly a lot more Netflix. the Roku can only download legal content, and 100GB isn't _hard_. I could put on another 30G this weekend (3 day weekend).

Comment Re:What fidelity (Score 1) 178

I'm calling bullshit on your calling bullshit.

Davenport University, 2005 (spring session), English. Online course, prof uses MS Word on Mac, I use OpenOffice.org (1.x, on WinXP).

Things showed up different on his screen vs mine, and thus I got marked down.

Same problem now with submitting my CV to various companies that refuse to accept it in PDF.

Comment Re:What a whiny load of crap. (Score 2, Informative) 552

Oh, Lord. A tax attorney would laugh himself into a seizure over this. Write off going to theme parks because reviewing them is your business? Not unless you can show the taxman you made a profit at it in the recent past or have a reasonable expectation of doing so in the future. Incorporate yourself to allow you to calculate taxes on that basis? Yep, and be sued by the IRS for maintaining a phony corporation as a tax dodge, particularly if you have only one client, in which case they will claim you are an employee and must be taxed like one (they've done it before).

Slashdot Top Deals

Pound for pound, the amoeba is the most vicious animal on earth.

Working...