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


Forgot your password?

Comment: Tetris to an Oracle product (Score 1) 290

by juancn (#49407363) Attached to: Is This the Death of the Easter Egg?
I once added a Tetris clone to what would end up being an Oracle product after acquisition. It replaced the editor in an IDE if you changed the description of a document to match the address of the office we used to work. It survived at least three major releases. The code may still be there for all I know, probably unreachable.

That product had a few Easter eggs, a picture of the dev team in a dinner party that could be access by typing a correct sequence in the about box, also in a couple of releases, on Christmas a Santa's hat would appear on one of the icons (we had to remove that one, since it was perceived politically incorrect). Even one version that never got released, had a simulation function for a business process where work items moving through the process diagram would be rendered as Lemmings, with music and everything.

Comment: Re:Science... Yah! (Score 1) 958

by juancn (#48982437) Attached to: Science's Biggest Failure: Everything About Diet and Fitness

Utter bullshit. The easiest way to control weight is to exactly follow the scientific advice. I lost a lot of weight (about 25 kg over 6 months) by a simple system: (Change in Weight (kg))/7700 = Calories I ate - Calories I used

Could you elaborate? The units don't make sense. If I'm reading your comment right, you're saying that 1kg of body fat holds 7700kCal/kg, so shouldn't the equation be:

(7700 kCal/kg) * (Change in weight(kg)) = Calories I ate - Calories I used

Comment: Re:Hitting 36 years old (Score 4, Informative) 552

by juancn (#48677817) Attached to: Paul Graham: Let the Other 95% of Great Programmers In
That's a lie for good programmers, for mediocre ones, it might be true. I'm 38 and I've never before had more offers. I work with 60 something programmer (not manager, just a coder) he's one of the best developers I've ever met. He's still in demand. Only crappy consulting jobs care that much about per-hour cost. Most high-end product development typically care a lot more about quality of the code produced and productivity than the per-capita cost of an engineer. They usually can afford to pay well and provide a decent technical challenge.

Comment: Re:Haleluja ... (Score 2) 669

by juancn (#48262125) Attached to: Pope Francis Declares Evolution and Big Bang Theory Are Right

And if you want to enlighten people about their misunderstandings of your religion, it's probably wise to know the difference between a "statement" and a "question," and, at a bare minimum, decency requires not conflating ignorance of internal concepts like "ex cathedra" to stupidity.

Otherwise, you come across as just another thumpin' asshole.

It's complicated. Many old religions have two components: the popular beliefs and the philosophical part of them. This is true of Catholicism (do not confuse with Christianism), Buddhism, etc.

The philosophical part is complicated. It's not something that you just explain in a couple of sentences on Slashdot, it will take some studying to get the meaning right of many concepts, such as "ex cathedra" or "metaphysical causality".

Going back on the topic of the article, you could read a great comment at the bottom of this story: http://arstechnica.com/science... that gives (IMHO) a great summary of on what the Catholic Church believes regarding evolution and big bang.

Comment: Re: There we go again (Score 1) 383

by juancn (#47651175) Attached to: DARPA Wants To Kill the Password

Only if you're dumb enough to let authentication program be suspceptible to such an attack. Dictionary attacks can be trivially defeated by rating limiting tries and after, say, 5 tries not allowing any more attempts for some cooldown period. No attacker is going to bother if they can only have 5 tries every 15 to 20 minutes.

Please, if you ever have to implement one of this cool down periods, don't be an asshole and allow just 5 attempts (or 3 or something equally idiotic).

There's no good reason why not allow, let's say a 100 attempts, and even really short cool down period should be enough, for example 500ms. Time for some quick & dirty math, assuming 36 possible characters and an 8 character password, a 500ms cool down would add: 36^8*.5/60/60/24/365 ~= 48000 years to brute force all combinations.

Comment: Re: I looked up where this dude works (Score 1) 312

by juancn (#46247763) Attached to: Good Engineering Managers Just "Don't Exist"
I should not feed the trolls, but anyway, I'll bite.

I disagree on both counts, Medallia has been profitable for quite some time and it's growing really fast, so hardly a waste of VC capital.

On the engineering side, we do build new things, some are really challenging. For example we have a very cool real-time OLAP engine (we can render reports with a median time of 183ms, on datasets with a hundred million records and thousands of columns), our text analytics team does build it's own models (we have researchers on payroll), our sentiment analysis models for some industries are better than anything else out there, the testing infrastructure is wonderful, and there are things I cannot discuss :)

Working here I've met some of the brightest people in the world (I stand by that). In all, it's a great place to work as an engineer.

Comment: Naming difficulty is a symptom (Score 1) 473

by juancn (#45167879) Attached to: Ask Slashdot: What Are the Hardest Things Programmers Have To Do?
Naming things is hard, because to give something a good, meaningful name, you must understand the thing you're naming deeply.

Maybe that's where the notion of a true name comes from.

Whenever I find myself having trouble naming a class or a method/function, it's typically a sign that something in my understanding of the problem (or the framing of the solution) is wrong. And I need to revisit the thought process that took me there. Usually, once I do so, names fall in place without much friction.

Comment: Re:obviously a lie then (Score 1) 344

by juancn (#43561111) Attached to: New Study Suggests No Shortage of American STEM Graduates
For many companies, hiring is a matter of finding the best people they can (for whatever definition of best they have). Even if you have enough people graduating, the distribution is always the same, 50% are still below average. If you aim for top 5-10% (based on whatever criteria) then the market is a bitch. Even if you pay above average, it's still hard to get good people.

It's not just the technical qualifications, you have to also find a cultural match.

In my experience, most software companies hiring H1-B do so because by hiring abroad you have a larger pool of candidates to choose from, if you search several job markets at the same time you increase your chances of finding the profile you want. I'm sure there are many cases where this is not the case (incompetence, malice or whatever). But I cannot believe that price is the only driving factor.

Comment: Re:Hate to defend M$ in any way, but (Score 4, Insightful) 137

by juancn (#43226833) Attached to: Microsoft, Partners Probed Over Bribery Claims
It is pervasive in many places. Since the US frowns upon US companies bribing foreign officials, there are many consulting firms local to the country in question that take care of the bribes. These are never mentioned explicitly, so the US company doesn't actually pay the bribes, it just pays the consulting firm. And the consulting firm takes care of the bribes. That way you have deniability.

Since the consulting firm is out of reach from the SEC et.al. discovery is a bitch and the cases cannot normally be pursued (unless you get one of the officials to testify, which is at least difficult).

Comment: Re:bike to work (you gotta get there somehow) (Score 1) 635

by juancn (#43174181) Attached to: Ask Slashdot: How Do You Stay Fit At Work?
+1 for crossfit.

I just started doing Cross-Fit, the great thing about it is that every training session is different (I get bored easily) and you get results pretty fast. I also bike to work often, and I used to run a little.

Going back to the poster's question, the thing is, when you get older you have to do something or your body will not be kind to you. What has worked for me is to try something, do it for a while, and if I start to get bored, try something else. The secret to success is to keep trying. You'll start something, maybe you'll drop it (and that's fine), but when you do that, instead of giving up, just find something else to do.

If you are really that strapped for time, try running 20 minutes three times a week. At first, if you're out of shape, you'll walk most of the 20 minutes, but you'll get better pretty soon. One bonus of running is that it doesn't take much time (changing your clothes and maybe a shower), and you can do it pretty much anywhere.

Comment: This is pure hype (Score 2) 338

by juancn (#42328855) Attached to: The World's Fastest-Growing Cause of Death Is Pollution From Car Exhaust
From the actual paper linked in the article:

In 2010, the three leading risk factors for global disease burden were high blood pressure (70% [95% uncertainty interval 62—77] of global DALYs), tobacco smoking including second-hand smoke (63% [55—70]), and alcohol use (55% [50—59]). In 1990, the leading risks were childhood underweight (79% [68—94]), household air pollution from solid fuels (HAP; 70% [56—83]), and tobacco smoking including second-hand smoke (61% [54—68]). Dietary risk factors and physical inactivity collectively accounted for 100% (95% UI 92—108) of global DALYs in 2010, with the most prominent dietary risks being diets low in fruits and those high in sodium. Several risks that primarily affect childhood communicable diseases, including unimproved water and sanitation and childhood micronutrient deficiencies, fell in rank between 1990 and 2010, with unimproved water and sanitation accounting for 09% (04—16) of global DALYs in 2010. However, in most of sub-Saharan Africa childhood underweight, HAP, and non-exclusive and discontinued breastfeeding were the leading risks in 2010, while HAP was the leading risk in south Asia. The leading risk factor in Eastern Europe, most of Latin America, and southern sub-Saharan Africa in 2010 was alcohol use; in most of Asia, North Africa and Middle East, and central Europe it was high blood pressure. Despite declines, tobacco smoking including second-hand smoke remained the leading risk in high-income north America and western Europe. High body-mass index has increased globally and it is the leading risk in Australasia and southern Latin America, and also ranks high in other high-income regions, North Africa and Middle East, and Oceania.

The news here is that the risk factors have shifted in the last 20 years, not that "OMG cars are baaaaad", still, salty foods are a lot more likely too kill you than a car exhaust.

Elegance and truth are inversely related. -- Becker's Razor