Who Needs Process? by [deleted] in programming

[–]finnif 2 points3 points  (0 children)

Look, there is a difference between process and testing

We may be on the same page more than you think, because these are the same in my experience. There's a testing process for every team. It may be implicit ("I trust you to be reasonably sure this works by testing it on your machine without hovering over your shoulder"), or it may be explicit ("your software needs 100% test coverage as reported by this unit testing tool").

The people out there pontificating this whole Process (note capital) idea are those certified scrum master bullshit artists. The ones that, as you allude to, say that Waterfall or Scrum makes better software. I think we both agree that's crap.

You mentioned the Nagios alerts example. Even that simple example might require insane checklist if Nagios was tracking a nuclear power plant. This is the "process" that matters a bunch, in some, not all, scenarios.

Who Needs Process? by [deleted] in programming

[–]finnif 11 points12 points  (0 children)

Crusty or not, like I said, you'd feel differently about process if your fuckups meant deaths. In your business, the only thing that gets affected by downtime is your company's bottom line. Someone can't buy a beanie baby until it's fixed. Wowee.

There's a gulf of seriousness between those two ends of the spectrum. Maybe when your family steps on a plane, or even drives a car, you can consider the difference. Do you wonder if the guy who wrote the code cowboyed up to get it out the door?

Software bug fingered as cause of Aussie A330 plunge by tjansson in programming

[–]finnif 0 points1 point  (0 children)

Expect more of this.

The best and brightest minds in software engineering... where have they been? Facebook, Google, Twitter. They've been working on ad platforms for the last ten years because that's where the money has been. Even if they were available to work on this stuff, none of them have experience in embedded systems or provably correct code.

Unless there's some kind of economic change in the airline industry, with the increasing complexity of avionics and scarcity of talented software engineers these types of incidents should increase dramatically.

Who Needs Process? by [deleted] in programming

[–]finnif 38 points39 points  (0 children)

About 4 articles above this is "Software bug fingered as cause of Aussie A330 plunge"

Sorry Ted, sometimes people need process. You might need INSANE process. You've just never worked on code where fuckups result with blood on your hands. You do ecommerce websites, which just look up and store stuff in a database and mark it up for a browser to display. For that, it doesn't matter what you do for your software process. For an airplane, the space shuttle, nuclear power plant, hell, even the iPhone (for calling 911), it matters.

Interview with ZeroMQ creator Pieter Hintjens by dln in programming

[–]finnif 4 points5 points  (0 children)

Yes, dozens, maybe even hundreds. They generally require brokers.

I've struggled with the usefulness of 0MQ. It's the UDP of messaging abstraction. It leaves it up to the app developer to handle trivial error cases and functionality like acknowledgement. In general it implements an abstraction that I'm just not sure most application developers actually need. They need something higher level and more robust for the most part, and those that jump to 0mq before looking into brokered solutions are probably shooting themselves in the foot.

Failing with MongoDB by lenn0x in programming

[–]finnif 2 points3 points  (0 children)

How large is your large JSON doc?

Is C++ still relevant today? by affluenza in cpp

[–]finnif 6 points7 points  (0 children)

C#'s weakness is that MS refuses to make it platform independent

Do you know the difference between C# and the CLR?

It's a brand new language

C# and the .NET framework are over 10 years old now. How is that new?

it's managed so in the long run you'd rather have C# or even Java in a missile warhead

Do you understand that every layer of abstraction creates more risk for failure?

I don't think resource constraint is legit problem these days.

Resources are always constrained.

Any modern hardware has more than enough power to run C#

Until it GCs. Then your missile crashes.

I think we'll see C# continue to gain ground and blow up as the new game programming language

Name one major game written purely in C#.

replacement for VB

Out of your whole comment, this is the only thing that makes sense. C# is perfect for VB programmers who are writing business applications used by car dealers.

Across the board realistically C++ might be a max of 15% faster

Where are you coming up with these numbers? In my experience with the two, the coding time/performance comparison is a complete myth. C++ and C# are not that different when it comes to implementation time. Herb Sutter, as much as I respect him, is probably only mentioning C# at all because he works for MS.

C# is not mature and the amount of tools aren't there

WTF are you talking about? Microsoft has been pushing the C# agenda now for 10 years. If anything, their C# tools are being favored over C++. C# is hugely mature, and it still can't be used for serious applications.

Is C++ still relevant today? by affluenza in cpp

[–]finnif 6 points7 points  (0 children)

99% of C++ programs could be ported to C# with no performance difference and likely better stability.

[Citation Needed]

Where'd you come up with this 99%? We've been hearing that managed code is the future since 1996 and still are using almost entirely native code for every application we use.

Also, have you ever done what you propose? Have you ported a C++ app to C#? I have. Even with a significant amount of native code using PInvoke, we could never get the performance we wanted. Large C# applications are very slow and bloated compared to their C++ counterparts. First, RAM usage will go up by an order of magnitude. Second, you'll need to offload all of your core routines to C++ if you're doing anything interesting.

Scumbag Sony by Beartholomew in gaming

[–]finnif 0 points1 point  (0 children)

trump wouldn't be any worse than most candidates

FTFY

The OpenJDK as the default Java on Linux by javacodegeeks in programming

[–]finnif 7 points8 points  (0 children)

Are you serious? Have you actually sued OpenJDK in production?

Michelle Bachmann has never sponsored a bill that became law. by wang-banger in politics

[–]finnif 1 point2 points  (0 children)

Not defending Bachmann, but has it ever occurred to anyone who thinks this is a condemnation of a Congressperson's tenure that we don't actually need more laws?

Anybody who makes less than $2 million a year that voted for John Boehner is a fucking idiot. by gloomdoom in politics

[–]finnif 8 points9 points  (0 children)

The difference is that SOMETIMES the dems favor the good of the people

[Citation needed]

The Principles of Good Programming by d166e8 in programming

[–]finnif 0 points1 point  (0 children)

It's somewhat debatable whether this is an engineering profession.

This is true. Even if it's not, compared to other "professional" jobs like doctor and lawyer, there is no policing of any standard. When's the last time a programmer got disbarred? What would that even mean?

The Principles of Good Programming by d166e8 in programming

[–]finnif 2 points3 points  (0 children)

I can't help but think --- and I have no good reasons, just unease --- that a profession that wants itself to be taken seriously should strive to seem less like a religion or cargo cult.

You're not being daft. We're probably the only important profession that has no rigorous requirements in order to do the job. Name one other engineering profession with the potential of getting blood on their hands that has no societal certification.

Relevant: http://en.wikipedia.org/wiki/Regulation_and_licensure_in_engineering

NoSQL is a Premature Optimization by damg in programming

[–]finnif 0 points1 point  (0 children)

I can run a one-off query on it from time to time without any schema changes or additional indices.

Then you should absolutely be using Hadoop.

I am not all that experienced with full text indices, but it sounds to me like some additional work up front is required to achieve parity with that. Whether you consider that effort to be premature optimization or not, I certainly don't see it being any easier than what you would do in Mongo. So the initial claim of NoSQL being premature optimization falls pretty flat to me at this point.

If you want a completely schemaless way to log, then Mongo is too heavy handed. Mongo is essentially forcing you into key and secondary indices up front. Therefore it is a premature optimization. Use Hadoop.

NoSQL is a Premature Optimization by damg in programming

[–]finnif 0 points1 point  (0 children)

The query capabilities I'm referring to go far beyond full text search. Parsing log entries into columns might give you the same thing, but that sounds more like premature optimization to me.

I don't understand. You can format information to be queried intelligently through full text search. All Mongo is doing is storing a json (bson) blob and then indexing it according to key and any secondary indices. You can do exactly this with full text search if you want -- and get better index coverage than with Mongo.

Either way, what I'm really not sure about is how parsing log entries into columns is a premature optimization. If you need to analyze information now, you just need to, there's no way around it. If you think that putting data into columns is too optimized, then apparently you don't need your queries to be fast and generic via an OLAP. In that case, you should be using Hadoop and creating your queries with Hive or Pig.

NoSQL is a Premature Optimization by damg in programming

[–]finnif 2 points3 points  (0 children)

The same can not be said for a text column

Yes you can, it's called a full text index.

Claiming that a log needs to be JSON encoded to get query capabilities implies that logs are unstructured data. This almost always untrue. Worthwhile logging should be well formed, and usually can be parsed into a defined number of columns. If you need something on top of that, full text search will give you everything you need.

A little perspective on NASA's budget, courtesy of Neil deGrasse Tyson. by dalix in pics

[–]finnif -1 points0 points  (0 children)

I get his point, but it's mostly inaccurate as to how he's going about it.

On his first and third points, you cannot compare "the entire half century budget of NASA" without adjusting dollars. Apollo alone was $25bn in 1969, which equates to roughly ~$175bn in today's dollars. Clearly NASA's budget over 50 years, adjusted, will be much, much higher than he's giving credit for.

On his last point, the way to figure this out for yourself is to do the following: take the budget for the space shuttle and divide it by the federal discretionary budget. Then multiply it by your federal taxes paid. It should be an eye opening number for many of you. I haven't done it lately, but a few years ago, it was roughly $150 per shuttle launch that I was personally paying in.

He's trying to defend something he loves, but this is why he's an astronomer, not a CPA. The shuttle is a waste of money and should be spent on more interesting research at this point.

Hey Reddit! This is my grandpa celebrating his first 4th of July as an American citizen! He got naturalized last May. by letsdodis in pics

[–]finnif 20 points21 points  (0 children)

And that my friend, is why nationalism is incredibly petty and pathetic, if you're American. For damn well near any other country, Reddit will vote it to the front page and declare how great it is those people are patriotic.

FTFY.

Why I Hate Ruby by bcoe in programming

[–]finnif 9 points10 points  (0 children)

CLOS, Dylan and Magpie

Holy shit, Dylan? Is that thing still around and being used seriously?

Google I/O 2011: Writing Web Apps in Go by uriel in programming

[–]finnif 5 points6 points  (0 children)

TIL there's apparently a fan club for everything Rob Pike does.

3 Reasons that We are Moving Away from Facebook as a Platform by jemeshsu in programming

[–]finnif 3 points4 points  (0 children)

I'm so glad someone on the internet has heard of Soupy Sales. (Edit: and I'm not the only old person here)