HNHacker News
TopNewBestAskShowJobs

personZ

2,015 karma · joined April 2, 2014

submissionscomments
personZ··on XSLT is a failure wrapped in pain
If we eliminated everything where implementations have had obscure bugs or security vulnerabilities, there would literally be nothing left.

XML's complexity does not give you any additional benefit over YAML or JSON.

This is so incredibly wrong, on every level, that it belies belief and reads like something you would come across on a "beginning programmers" forum. As others have said, JSON/YAML thus far have seen limited usage (no, that configuration file on your app is not a complex example). But as it grows people are starting to ask questions like "Gosh, wouldn't it be nice if my perimeter or the source system via a metadata file could validate the JSON passed to us". "Wouldn't it be nice to be able to convert from one JSON form to another."

And the exact same complexity is arising...poorly, and with the same hiccups that the XML system went through.

I mean some of the comments are incredible. Like "JSON is simple enough that errors aren't big" -> Hey, sorry that those bank transfer got lost, but it turns out that we mistyped the account number field name and the destination system just ate it. Json.

¯\(°_o)/¯

Sorry that the dates are completely wrong, but all of those years of discovery about time zones and regional settings...just make it some sort of string and they'll figure it out.

¯\(°_o)/¯

personZ··on The SSD Endurance Experiment: Two petabytes
Note that they seem to be running a sample size of one. To add an anecdote, my own 840 Pro, after relatively little use, died completely and without warning one random day.
personZ··on Show HN: My wife's email was hacked, I created an app to protect online accounts
There is also a reason why shysters and charlatans can't disclose their methods and mechanisms as well. This isn't to say that such is your tactic, but to be honest when I've heard your type of pitch before it has generally been because someone knows that one day they'll figure out how to make sense of the data, but for now they can just see potential so it's all kind of fuzzy.

We aren't an ignorant crowd. There is limited information that you can monitor.

Password reset emails. Sure. Access suddenly being revoked. Right. Weird posts at odd times of night. I guess.

Outside of that, there is little belief that you're circumventing any sort of mechanisms at any of these providers.

personZ··on Show HN: My wife's email was hacked, I created an app to protect online accounts
Obviously I can't go into too much detail

That isn't obvious at all. Quite contrary, I'd say a refusal to go into detail puts the whole thing under a pretty dark cloud, making the entire thing sound entirely scammy.

Even if we assume that you have all of the data you need (as an external service, with the limited information the various services provide) to create such a usage profile, there is no credible reason why you can't detail the mechanisms.

personZ··on Nobody expects CDATA sections in XML
There is nothing complex about xml schema. It is so profoundly simple, the tools so well worn and proven, that anyone who pronounces difficulty with it is probably in the wrong field.

And the notion that I must be unaware of protocol buffers (which has utterly nothing to do with the JSON vs xml conversation, but I suppose is the bigger brother) is laughable nonsense. Yes, protocol buffers have some advantages (and some significant disadvantages), but that is an entirely different discussion, and the attempt to try to pull it in, simplifying it as if it is some sort of solid point (protip: it isn't even close to a trump card. It has advantages, but it certainly doesn't invalidate xml), is transparent nonsense.

Whatever your personal hangups with xml, your scattered and somewhat desperate attempts to try to denigrate anyone who doesn't denounce it is grossly out of place on any place where professionals converse.

personZ··on Nobody expects CDATA sections in XML
XML schema sucks, really sucks, when you use XML correctly and ignore node order.

How is ignoring node order "correct" (and on the flip side, how is demanding an order using it "wrongly")? In many XML parser implementations, node order is reflected in the resulting DOM. Yes, a schema lets you demand that nodes come in a specific order, and this is a complete non-problem, generally -- the whole point of schemas is that they very tightly define the format, and source systems abide by it, even if that means they have to alter the generating order to be compliant.

personZ··on Nobody expects CDATA sections in XML
The single and only interpretation that goes from that to "designed for editing text documents" is the fact that the authors called them "XML Documents". But XML Documents != "text documents". XML Documents are big property bags of data, and have no correlation with "editing text documents". The primary use of XML was, and remains, data exchange, where system A generates data that is consumed by system B.
personZ··on Nobody expects CDATA sections in XML
designed for editing text documents

This sort of argument has never held water, and it constantly perplexes me that it gets a pass in tech discussions. Even if we accept the dubious assertion that it was "designed" for editing text documents, the origins of some invention say literally nothing about its utility for a purpose.

Further, as complex as XML may be, comparing the robust, rich, diverse ecosystem of XML support with the amateur hour, barely credible JSON world is quite a contrast. JSON doesn't even have a date type (and everyone seems to roll their own). It lacks any sort of robust validation or transformation system: XML schemas are really one of XML's greatest features, and the nascent, mostly broken similes in JSON world don't compare.

JSON versus XML is a lot like NoSQL versus RDBMS -- the former is easier to pitch because its complete absence of a wide set of functionality seems like it makes implementations easier, when really it just pushes the complexity down the road.

personZ··on Mean People Fail
I was once talking to a psychologist I know about corporate CEOs

You've spun a pretty broad claim out of a conversation you had. Yet you can find countless studies on the personality traits of leadership. This isn't just people projecting their inadequacies, but instead is educated people trying to figure out what makes the social hierarchy of our society work.

Knowing how people rise in the ranks, and how cult of personality figures gain their powers, is of obvious importance. And a pretty consistent finding is that negative personality traits -- primarily the willingness to use and discard others -- is highly advantageous in such situations.

And it's obvious certain personality traits benefit both the striving for leadership, and entrepreneurial efforts. For instance a pretty common startup thing is claiming broad innovations when there is, really, none -- when you shamelessly claim wizardry, it gets you press and mentions and from that success, even if the root of your accomplishment is absolutely banal. Most of us have an internal voice that says "eh...sure most people will fall for it, but other people might look down on us" and will add disclaimers on our claims. No one wants to talk about that.

personZ··on Mean People Fail
Personally, I don't believe that it's a useful distinction to classify a person as "mean" or "nice".

For sure, few in history have ever deserved such a binary distinction: Everyone mortal has made mistakes in their life, carried regrets, and so on.

However that itself puts into scrutiny what the point of Paul's piece even really is -- if that piece were randomly posted by some nobody, I would honestly have assumed that it was a passive-aggressive retort to someone who they felt wronged by. But instead it's actually a genuine claim that so-called mean people don't succeed. That is absurd. Again, there is a strong, demonstrated, studied correlation between success/entrepreneurial efforts and sociopathic, and even psychopathic, tendencies. To just outright claim that no, only good people succeed, is simply outrageous.

personZ··on Mean People Fail
So you have truth or evidence otherwise, or are you just waving your hands and implying that you do? I mean if we really want to talk about truth or evidence, the correlation between sociopathic behaviors and business success is very well studied and documented, and lies in absolute contrast with this rather odd essay by PG.
personZ··on A Eulogy for RadioShack
They transitioned through many variations of the "lots of inventory of small things" markets: Batteries, media, cables, connectors, converters, etc.

Ebay and Amazon, both launched in 1995, spelled doom for a store that relied on selling you the overpriced battery, CD-R, or $90 HDMI cable.

personZ··on A Eulogy for RadioShack
Quite a few comments about how Radio Shack lost their way and squandered their opportunity, but really their business model was dead. Nothing they could have done would have changed what happened.

It was a store with a very large number of SKUs that they could only sustain through very high profit margins. Sure that works great when it's Sunday and you need that resistor now, but the vast majority of times people would just order online.

personZ··on Bringing Sous Vide to the Home Cook
http://www.fooducation.org/2011/02/6x-c-egg-or-opposite-boil...

Regarding the steak, the comparison made for steaks are often medium heat, pan cooked steaks. In that case the heat differential is high enough that it doesn't have time to somewhat equalize through the meat, but it is also low enough that it takes so long that you do end up with those really large layers. By quick searing at a high heat, and then cooking at a low heat, this layer is much smaller. Although personally I greatly prefer to have some of this layer (the disparity of textures is a big feature of it). Some people suggest doing the high heat searing on a frozen steak, of all things, and then moving to the over, but that's just unnecessary extra work in my opinion.

I appreciate where people want to pursue the science of food, but honestly it does very much seem like the nosql thing all over again -- skipping knowledge one doesn't have to do something perceived to be better.

personZ··on Bringing Sous Vide to the Home Cook
Boiling water is 100 degrees Celsius and egg-white denatures at what, 40-45C? So your eggs will overcook, the sous-vide ones won't.

This, along with the comments about cooking a steak (where you are simply wrong), seem to assume that when you put a cooler item in a hotter substance, boom, it's the temperature of the hotter substance. It turns out that reality doesn't quite work this way.

An egg, for instance, happens to not only have an insulative shell, it's a liquid with a very high level of heat conductivity. When you put an egg in boiling water, the inside heats at a relatively uniform rate, which is exactly how we have concepts like the 6 minute egg. It incidentally turns out that the yolk sets at a higher temperature than the whites, which is how people who want firm whites and a liquidy yolk can achieve their goals, traditionally by timing (boiling water at a given altitude is fairly consistent).

The similar concept applies to the steak. A quick sear at high heat (500F+) does almost nothing to cook the inside of the steak -- the heat differential is far too high for it to migrate far through the thick protein layers, but when put in the 200F oven the differential is so low that in that case it does have time to essentially "even out" slowly. You sear first primarily because a room temperature, salted steak sears far better and more quickly than a heated, steaming piece of meat.

No, you don't wait until the item is 200F. That is absurdity. Personally I use a remote meat thermometer but other people simply go by wisdom and time. Any notion that I have to have the external temperature match what I want the internal temperature to be is...well...it's just scientifically ignorant.

Exactly as you said, it is all science and chemistry. And you seem to be coming at this as if the steak is a piece of copper. Indeed, I think this whole "cooking better" infatuation of the tech community is an attempt to (much like with NoSQL and a desire not to bother with that old DB knowledge) essentially try to skip the whole learning the basics thing, and then to paradoxically try to pretend that one's knowledge is a step above. I've seen several comically wrong comments along this line now.

personZ··on Bringing Sous Vide to the Home Cook
Recall that you were the one who first said that I am an "enemy of quality". Somehow on HN your smiley-disclaimed trolls -- posts that are almost always the "enemy of quality" -- get a pass. So yes, accept it as some aggression: When you dare pass judgment on my opinions in such a vapid, haughty way, expect a negative response.
personZ··on MongoDB CTO: How our new storage engine will earn its stripes
Most real world data is some mix of relational and unique / big bag of properties. The best solution is often somewhere in between (which is, for me, probably pgsql and its support of JSON, though I've achieved the same versatility with xml data types).
personZ··on Bringing Sous Vide to the Home Cook
A "six minute egg" has been a benchmark for literally centuries. Apologies if there is confusion, but when I say "hard boiled", I mean all doneness levels of boiled eggs.
personZ··on Bringing Sous Vide to the Home Cook
As I addressed in the other comment, yes, indeed, this is a technique built for traffic spikes. It is not a technique made for cooking breakfast.

As to steak, just to be clear (since there seems to be a lot of misinformation in here), the best New York City steakhouses grill steaks in a 1800 degree broiler. This is a heat that is difficult to obtain at home, so the sear+oven actually yields a wonderful, very uniform doneness. I suspect you've never tried it, have zero experience with it, but nonetheless pass judgment on it? Why is that?

As someone who has eaten the most expensive steaks, at the most expensive steak houses in the world, I think it's quite fantastic. I guess I defer to your judgment though?

personZ··on Bringing Sous Vide to the Home Cook
this is about precise cooking, which yields very specific results

This is exactly what I'm talking about when I mention people intentionally making simple things difficult. Do you think someone, somewhere was sitting eating a hard (or soft, or variations thereof. Apologies if there was confusion on this) boiled egg and thought "Boy, this really is terrible. I sure wish it was..."? Do you think that was what yielded the invention of sous vide cooking? Are hard boiled eggs a current culinary problem?

No, they aren't. The argument borders on comical. Adding a "Duh!" to denigrate the notion that this is ridiculous easy doesn't prove your point. Further the steaks look absolutely vile (they look like texture monotony, which generally isn't a good result).

Sous vide came about in high volume kitchens. It wasn't because it yielded better results, but because it allowed for in-advance preparation, allowing the kitchen to toss little salmon meal baggies in hot water on spikes in orders, versus preparing it from scratch. It was a "traffic smoothing" technique, not an exercise for better results. In the classic "copy the chef" exercise, people emulated something for all the wrong reasons.

personZ··on Bringing Sous Vide to the Home Cook
For the maillard reaction, obviously. I assume you were hoping I say something asinine like "sealing in the juices", to which you could tut tut, but sorry, searing has a very important culinary taste purpose.
personZ··on Bringing Sous Vide to the Home Cook
It is somewhat fascinating how much the tech community seems to strive to try to solve non-problems. In this case, poaching or hard boiling an egg is so utterly simple, done in mere minutes, that it is simply impossible that this device could make it easier. And the grotesque proposed waste of energy borders on the absurd.

And then, after you've had your perfectly cooked eggs that you presumably had to hop out of bed and rush to retrieve before they overcooked, in your busy morning you're going to vacuum pack a steak? Seriously?

Or you can turn your oven to 200F. Toss a cast iron pan on your grilltop and sear at high heat, then move the whole thing to the oven. You'll quickly have a perfect steak without blowtorches or extended water bath time.

As with the soylent thing, it's like basic skills are now lacking so people looking for a lot of menial work to replace trivial undertakings.

personZ··on Node.js in Flame Graphs
Netflix seems to operate like a tech start-up that is trying to glue together a ragtag collections of often unsuitable solutions because of limited funding. It is a deeply perplexing company.

Similar is LinkedIn, as an aside -- despite being fairly formidable now, I regularly have entire feeds disappear, their caching is abhorrent, they can't markup text properly, and so on. It seems very amateur hour, yet they regularly publish "how it's done" documents that see wide applause despite often completely contradicting their prior missives.

personZ··on Gmail trick: multiplying your address
Humorous related story -- I was a customer of GM's OnStar service, and had a login on their web portal that I used for account maintenance and to check on vehicle stuff. Sometime later, the GM team rolled out a new version that blocked periods, but my account name had a period. It would happily send me an account recovery email with my now invalid username that I couldn't use. Nor could I configure a new account as it would happily point me to my old, now invalid account. The version without the period did not work.

This was a pretty fringe service of negligible value to me, so when my CC changed I sent them an email telling them of this problem, and my inability to change my account. No response.

So I let the account expire. Still couldn't believe that a team could make a new presentation that blocked already in place usernames, nor would they do anything about it.

personZ··on Nokia N1 Android tablet released
Dell Venue Android tablets are also Intel powered. To the user it is completely transparent, through Dalvik/ART, cross-platform native code, and transcoding. Intel is very well supported by Android.
personZ··on Uber Executive Suggests Digging Up Dirt on Journalists
he's also discussing sexual assault in such a trivializing way

While I hardly want to be in a camp that defends him in any way, he was specifically addressed her claims. How is it misogynist for him to argue that the risk of sexual assault are lower in an Uber vehicle, or vice versa?

personZ··on Some REST best practices
Most of the stuff in this article is superficial stuff that I don't think matters.

What the article seems to describe are practices that generate consistent, predictable RESTful APIs, which is exactly how you yield easy to use APIs. This saves both the creator and consumer's time, as debate and decisions over deviations are avoided.

I'm not quite sure why so many comments have gone so negative -- this is hardly a revolutionary piece, yet many of us are creating or dealing with APIs that could do well to take some advice.

personZ··on Microsoft takes .NET open source and cross-platform
The culture changes because new people coming in have different ideas and upbringing.

Market forces and realities impact Microsoft's decisions far more than culture does. The reality of the Microsoft stack right now is that very few people are choosing it as a greenfield option, and those already invested in it are looking at alternatives.

Just a few weeks ago I wrote about a new project I was initiating, choosing Java as the platform. Understand that I've been a Microsoft stack developer for many years, but a variety of inertia, platform support, ease of getting setup with the development tools, and trust in the platform reasons made Java the better choice.

But this announcement changes the equation to some degree, as have Microsoft's various other opening up directives. Microsoft no longer sets the technology agenda, so choices like this are simply a reaction to that new reality. That isn't being cynical, and the changes are very welcome, but Microsoft didn't just punt the old timers and now they see the light.

personZ··on How tcmalloc Works
Given how it is mentioned at the outset and conclusion, I almost have to think it's stated ironically or something.
personZ··on OVH servers exploited through shellshock
Default means "the default when you install Ubuntu", not the unconfigured state of that process. For kernel and in-use things it would still require a restart, however maybe at some point DO forced a restart, even if unrelated.
← PreviousPage 3 of 18Next →