HNHacker News
TopNewBestAskShowJobs

crpatino

1,478 karma · joined October 30, 2008

submissionscomments
crpatino··on LHC Micro Models: Build Your Own Particle Detector
You are missing the DoItYourself part. I am aware consumer electronics have lots of interesting sensors. The issue is, can a reasonably intelligent person with hand tools and standard parts from the hardware store build one?
crpatino··on LHC Micro Models: Build Your Own Particle Detector
Right, I was about to make the exact same comment (in much less charitable terms).

I do not think we are anywhere close to a DIY subatomic particle detector, but a kit that would allow you to, let's say... test for common minerals in tap water, would be a cool gift for a STEM inclined teenager.

crpatino··on Americans Are Skeptical That Hard Work Will Pay Off
This is correct if you live in the US, where interest rates are artificially low.

If you try to live like that in a country with double digit mortage rates, and credit card rates in the ballpark of 30% for people with an established good record, then you are setting yourself for debt servitude regardless of your eventual income.

crpatino··on Americans Are Skeptical That Hard Work Will Pay Off
Agreed. The issue we seem to forget when discussing these issues is that there will always be a bottom income quintile, and that it will always be populated by a full fifth of the population (not the few deviant outlayers they make it out to be).

If just 20% of those at the bottom were already there, it means 80% fell there somehow. Imagine the economic stagnation and nasty social dynamics that would happen if (the perception of) a single mistake or transgression would ruin your life!

crpatino··on The ‘Terminator’ of startups says he’s seeing two to four wind-downs a week
A broken clock says the right time twice a day. The whole point is when.
crpatino··on VMware joins Linux Foundation: what about the GPL?
Could you elaborate? What specific concerns you disagree with? What are the importation issues that, in your opinion, FOSS advocates fail to take into account?
crpatino··on Writing good code: how to reduce the cognitive load of your code
The argument applies just as well to each member of society. Imagine the savings in law enforcement if every one of us just followed the rules all the time!!!
crpatino··on Writing good code: how to reduce the cognitive load of your code
> If you can train yourself to put the constant first, you can train yourself to use the right operator.

Right... that's assuming you work solo. In that case, you might as well be using some higher level language and sidestep the whole issue.

Most C programmers out there work in teams, in long lived projects... that means teams with rotation of personnel. This is a fuckup waiting to happen.

I get you guys do not like axes, and it is really Ok. But forgive me if I am skeptical of your axe redesigns until the day you actually go out and do a full hour of wood chopping with that fancy bastard sword of yours.

crpatino··on Writing good code: how to reduce the cognitive load of your code
Ok, this explains a lot.

What you are seeing is people taking specific C codying styles into other languages. This is a cargo-cult style and probably in detriment of your code base.

On the other hand, it makes perfect sense in a C code base. The purpose of this is to transform a semantic error into a syntactic error. In C, both this expressions are legal but semantics is different:

if (A == B) //Compare B to A, decide on boolean result

if (A = B) //Assign B to A, then cast B's type //into a boolean value (non-zero true, //zero false) and decide on that.

In theory, it should be possible to identify every instance of A=B, but then it is hard to tell if it is a typo or the actual intention of the original programmer. If you compound this with the tendency to write complicated code, you find monstrousities like this one:

if (!A & B = C == D || E == F = G)

I am sure there's a language lawyer that can tell you for sure that the above means. I, on the other hand, can only be sure that this will compile as long as B and F are L-values.

crpatino··on Why Facts Don't Change Our Minds
I would upvote you twice if I could. The anti-science crowd and not idiots, but rather moderately intelligent individuals that go bersek after catching the Science spokeperson's oversimplifications and/or white lies.

Fool me once and it's your fault, fool me twice and it is mine.

crpatino··on World War Meme
Of course I do not have inside information, but if I had to guess...

Trump basically stumbled on this untapped political bounty more or less by chance, but he has smart enough to recognize its value and design a political persona that would speak directly and effectively to that group[1] The fact that there was otherwise no obvious leader around whom the Republican party could gather gave us Trump-the-candidate.

Trump-the-president was a slightly more complex matter. There was another candidate that was able and willing to tap into this new constitutency of the politically ignored: Bernie Sanders. Unlike the Republicans, there was also one obvious Democratic leader around whom the preexisting constitutencies of that party could gather. The problem with Hillary Clinton is that she is the very incarnation of political status quo; instead of picking Bernie as her vicepresident she doubled down on keep ignoring the chronically ignored. She went as far as to antagonize them, mistaking the whole of the group for a very vocal minority of them, - the racist misogynist know-nothings.

I do not need to tell you that was a huge mistake. The way the American politics work, you win by winning most battles, not by winning the biggest battles. Even if the majority of individual votes went to her, she still lost; and she lost because she decided to abandon a number of critical camps. Or rather, because by failing to notice this new political constitutency, she lost electoral votes that historically should have been Republican. She did not notice the balance of power shifting under her feet. Again, having Bernie on her team would have helped her to put a fight in most of the battlefields that Trump winned just by being the only one to show up there.

[1] I am using the term "group" loosely here. The way I see it, it is more a coallision of different disempowered groups that had little in common beyond feeling cheated by the status quo. By example, I've heard a number of women that voted for Trump were mothers and wives of the millitary, who saw Clinton's warmongering as an existential threat to their families and voted accordingly. Trump's friendly overtures towards Putin make much more sense if you frame them as subtle signaling to that particular subgroup.

crpatino··on The Collapse of the Unix Philosophy
pretty much, yes.

i'm still to see any complainer grown an adecuate amount of facial hair, though. (incompetently) reinventing some bad idea from before you were born does not cut it, you know?

crpatino··on Life may be getting better at evolving
Probably not, but don't worry. Our ability to destroy the world is greatly exagerated.

I don't think we will even manage to get ourselves extinct, though a great deal of needless suffering is pretty much innevitable at this point.

crpatino··on Massive permafrost thaw documented in Canada, portending huge carbon release
As already noted in other sibling comments, the Netherlands is famous for having lots of territory under current sea level. According to Wikipedia, roughly half of its territory is 1 meter above sea level or lower. Two more facts from the same source: it is one of the more densely populated countries in the world, and the second exporter of agricultural products (only behing USA).

On the positive side, they have 500 years of experience building dykes and defending their coast line. Their experience will be invaluable to fight off raise of sea level during the current century, inland and around the world.

On the negative, they have huge liabilities that can be triggered even by temporary floods. Refugee crisises during storms, lost of high value agricultural land due to increased salinity of soil, etc. All this will cut down on their budget to support their current dyke infrastructure, precisely at a time when they should be extending and enhancing it agressively.

Rinse and repeat for 50 years, and you are bonded to see an ever growing number of marginal areas that are deemed not worth salvaging and left to be turned in unproductive swamps. I do not see the impoverished and overpopulated remanant of Netherlands surviving for long afterwards.

Best case scenario I imagine is they will be absorbed by Germany, who may at that time have the economic power to keep the dykes in running order. Or they may try to stick to their own guns, in which case it is hard to tell how much land they will be able to hold dry.

crpatino··on Massive permafrost thaw documented in Canada, portending huge carbon release
I don't know if you are trolling, but I will bite.

You know the Netherlands will be literally underwater within this century, don't you?

crpatino··on We should kill the 40-hour work week
You are right, but that should be taken with a grain of salt.

Most preindustrial work was agricultural, and therefore heavily tied to the seasonal cycles of the year. While your comment is factually correct, it conveys the wrong image to the listener. The first thing modern people with white collar lifestyles will think when they hear "average 6 hrs per day" is some sort of utopia where they go to their jobs one hour later and leave one hour earlier.

The experience of those preindustrial laborers would have been closer to being employed in a sweatshop, working 70+hrs per week for 5 months; then being unemployed for the rest of the year. During those lean times, they would split their time between small DIY home improvement projects, unpaid civic duty activities, maybe working small one-off jigs for wealthier neighbours, drinking cheap ale, and in general worring about running out of food before the sweatshops open up again next year.

crpatino··on How to Self-Publish a Novel in 2017
Not sure what you meant, but I think an appropriate answer would be: for fun and profit.

It is a bit like saying, why go climbing the mount Everest if lots of people have already done so. Indeed, why trying to do stuff nobody else have done before, exclusively? If billions of people have already existed before yourselves, all the good stuff worth doing will have been done over and over again, and the only original stuff left will be JackAss(TM) material.

crpatino··on How to Self-Publish a Novel in 2017
Because I would not be writing a new story about Tinkerbell, I would be trying to convey the idea that Hydrogen is "tiny and hot tempered", just like Tinkerbell, while Helium is "quite small, but not as tiny as Hydrogen, and very peaceful and self reliant"... just like Master Yoda.

Of course I could use GenericFairy#274, or MidgetZenMaster (my appologies to any Little People reading this, but I am not going to risk to use the word Dwarf and jump from Disney's frying pan into Tolkien's firestove), but that kind of defies to purpose of using visual imagery the kids already are familiar with.

Call me a sore looser, but I am not particularly happy with Disney having called dibs on the human herritage of the last 3,000 years and claim it was their own purpose. The only original work from old Walt was their horrible looking antropomorphic animals, everything else was taken from the public domain, repackaged, and ear marked as their own.

crpatino··on How to Self-Publish a Novel in 2017
More or less off-topic question. How to not get sued by overzealous copyrights holders?

I have an idea for an informal Chemistry 101 notebook. I might end up making comparissons between cartoon characters and periodic table elements: Hydrogen ~= Tinkerbell, Hellium ~= Master Yoda, Lithium ~= Philoctetes (from Hercules movie), etc.

It is not reassuring that most references in that list are owned by Disney Co.

crpatino··on How a French scholar was treated at US airport
It is more complex than that.

It is obvious to you that apples cannot bring any pests. Last time I checked you were an IT professional, not an epidemiologist; so please forgive me if I am skeptical of you abilities to judge whether the assertation up there is true or not. Actually, I am skeptical of the abilities of the average tourist to judge whether the thing they are already biased to do for their own comfort is against the public good or not.

But anyways... we were talking apples, what about oranges? What about pets? Do we really need to go through the list of all possible things that all possible travelers might think they are entitled to carry on their person? Wouldn't you agree that a rule that is not simple enough to be executed by your random clerk is, for all practical purposes, unenforceable?

So, even if apples are sort of OK to bring in, they still should be banned until it is throughly demonstrated that they are OK to bring in. And the resources needed for that through demonstration can only happen if enough people want to bring those apples (and maybe pay a customs fare for it).

crpatino··on How a French scholar was treated at US airport
It is not silly. People carry necesities of life while traveling, but there have been deadly plages since there has been long distance traveling too.

It is imposible to know in advance everything any traveler might have on their person at the time of crossing the border, so everything that is not explicitly whitelisted should not be forbidden by default; and it is travelers duty to know the list of permitted things well in advance. It this is not the case right now, it means airlines and travel agencies are externalizing the cost of educating their customers, and this is reflected in the form of needless risks to public health.

I don't know you, but I would hate to be a farmer that looses the family's apple orchard to a foreign parasite that got introduced by some dumb tourist, just because the fat-cat air industy need to sale cheap tickets to anyone with a pulse and cannot afford to send a damned brochure to the buyers' address.

crpatino··on An epidemic of unnecessary and unhelpful medical treatments
You make it sound like the entrails of the fish do not have anything to tell you...
crpatino··on France’s military is training eagles to attack drones
With stakes that high, you can always put an explosive payload on the eagle.
crpatino··on France’s military is training eagles to attack drones
The more I think about it, the more I think this is a bluf to push drone designers to overengineer their devices.

Eagles are not scalable, but it is way simpler to train a handful of them as a proof of concept than to eagle-proof existing designs of drones. And given physical and engineering limits, every countermeasure implemented in a drone will cut into the effective payload that is available for the drone to carry on its actual function.

The eagles were never meant to defeat the drones, but to force their designers to handicap those.

crpatino··on Google and Mozilla's message to AV and security firms: Stop trashing HTTPS
> Telling people that they cannot 1) have their records management system and 2) have internet access on their computer is simply unrealistic.

I bet 100 years ago it was considered unrealistic to tell white collar employees that they could not bring booze to the office. Today it is a firing offense in most jurisdictions.

After all, people are already aware there is a distinction between their professional personna and their private self. They know there are things you do under one identity but not under the other, and viceversa. Merely adding one tiny thing to the list will do little.

Sure, executives will push back. I bet they pushed back even harder when accountants told them that "No, you cannot put your stripclub bill into the corporate credit card; and I don't care if it was a business expense, either."

That's the meaning of being a professional: telling the higher-ups that there are hard rules (natural or otherwise) that don't give a flying-fuck about their social status. Doctors know it, lawyers know it, accountants know it, but for some reason IT people does not seem able to figure that out. Compensation aside, the social prestige that comes with each of those professions is directly proportional to their ability (and duty) to enforce those standards regardless of what their rich and powerful bosses think about it.

crpatino··on What could happen if you refuse to unlock your phone at the US border?
It is probably a bad idea to try to fool a federal agent with "false home screens"... but I upvoted nonetheless because of the "No Facebook" part.

A feature I really would want to see from social media is read-only, time limited passwords. You provide this to a 3rd party and they can see everything you do, but change nothing. Upon first activation, you grant 72hrs access and don't have to remember to change the password again. If this activation does not happen within 15 days of first activation, the password is invalidated.

Acknowledging that this is a valid use case has many benefits. Social media provider can check if the password is used from government or corporate IP addresses and block non legitimate access (like, a rouge CBP employee stealing credentials and stalking individuals from his home computer). It would also be possible to keep logs of which information was accessed/consulted by each one time password, which can be used during investigations if some form or another of abuse is reported, etc.

crpatino··on What could happen if you refuse to unlock your phone at the US border?
The people that voted for Trump get to gain a bunch of thankless, low-pay jobs that will no longer be allocated to illegal aliens. There might be bigger fishes to fry, but given that they never get invited when salmon is on the menu, they are happy to see the sardine cans comming in.

And if they cannot or will not take the nanny jobs for themselves, at least they get to mock the uppity mothers that voted for Hillary and now are forced to dump their careers to take care of their own children.

crpatino··on Brilliant Jerks Cost More Than They Are Worth
In my current job, I have to deal with once certain 10x programmer with... how to put it charitably... some distinct lack of social graces. He's better than everybody else but not 10x better, also, he does not make everyone 10x dumber, thought there's some rework that everyone has to do to accomodate his demands.

I have come to believe that about half of his enhanced productivity is simply that he's a rock star and management tolerates him (but not everyone else) cut the red tape. In general, every commit has to bee peer reviewed, but he just jumps and ninja edits the code base at leisure. Everybody is supposed to run regressions before commiting, but from time to time, things will stop working and it will be some of his transactions behind it (which is discovered after multiple people could not do any productive work for half a day, trying to figure out what when wrong with their own work instead). If some tool or another is suboptimal, he will just roll out his own and be done with it (leaving the rest of the team to learn how to work with his prefered tools, instead).

Fortunatelly, we have other very strong developers that act as counterweight to him. Unfortunatelly, they also come with their own quirks of character and you are bonded to run into one of their pet issues from time to time.

crpatino··on Brilliant Jerks Cost More Than They Are Worth
There's room for exactly one hyper inflated ego in the Linux kernel development team. If you are not Linus, you are 25 years late.
crpatino··on Brilliant Jerks Cost More Than They Are Worth
If your head count is 5 or less, one brillian jerk (BJ) can carry the team on his shoulders. If BJ's a 10x programmer, and the other option is to hire a brillian and nice (BN) who's merelly an 8x programmer, you are better off with the BJ as tech lead. Assume your core team was 5x, 4x and 2x before the hiring of the tech lead. The 4x and 2x guys will probably slow down BN to 6x, so you end up with 17x of team throughput. BJ, on the other hand will make 2x quit out of frustration, and 4x will be demoted to 2x because he will struggle to cope. 5x, on the other hand, is pushed beyond his zone of comfort and raises to 6x. Now you have a team throughput of 18x, but you will be paying one less (junior) salary.

That extra throughput is also better spent because instead of 4 people discussing how to do things, there's 1 jerk bossing around 2 non-jerks. Cancel all team meetings!!!

Now, make the team size 15. Most of those will be 3x and 2x programmers as well. Seeded with a 5x, two 4x and the village idiot (VI, whom we will peg at 0.5x, just for the Lulz). So, the BJ has the VI kicked out, starts making much neglected changes, and everything seems to be going in the right direction. But then, your rank and file get demoted -1x because they also cannot cope with BJ's rapid changes. BJ might be seen as keeping the boat afloat, but in reality his productivity is neglected by everybody else's fuckups (which are BJ fault, because he cannot be bothered to let the team know what he's doing). 5x and one of the 4xs quit in disgust of the general chaos, and 6 months later, they are back with a competing product and poaching the big team clients.

So, it does not sound as if BJ "delivers" as much as you thought, does it?

← PreviousPage 3 of 34Next →