while (true) {

fitten

Ars Legatus Legionis
55,639
Subscriptor++
We ran into a problem (with PHP) a while back with dereferencing or something... when debugging and probing data, it would show a value but the runtime equivalent would fail. Also, we found some strange situation where if the data file it was reading was locked, it would fail silently making the rest of the code assume the file was empty (when it was not... it was locked). Our PHP guys frequently remark how painful dealing with PHP is when you've gotten used to something like VS.
 

Malyk

Ars Tribunus Angusticlavius
8,558
Subscriptor
DrPizza":1v28hxbv said:
but when today's startups are tomorrow's established players
But 99% of them won't be.

And of the 1% that manage to stay in business, how many will turn out to be the next Twitter, that ditched the trendy Rails in favour of, er, Java (albeit with some things written in Scala rather than Java-the-language).

Twitters front end is still rails. It's their infrastructure that they are/have shifted to java/scala/etc.

The thing is Ruby/Rails is an awesome stack for quickly building a product. When/as you grow you have to re-evaluate your tech for your circumstances. Sometimes that means ditching your initial tech and investing in something with different features.

Basically, starting up you probably don't need to put scalability as your number one design priority. But if you are successful, then you have to revisit that decisions. Twitter did that with rails and none of the people there will tell you it was a mistake to use ruby/rails.

Mike
 

pyu

Ars Praefectus
5,108
Subscriptor
AFAIK, Twitter shifted to the JVM. Not really Java since apparently alot of the stuff they have is in Scala. The JVM is a piece of infrastructure which alot of smart people have invested alot of engineering hours into it - definitely nothing to smirk at though the mainstream implementations has its caveats [so what's this stop-the-world garbage collection doing spiking my CPU every 4-5 hours?] but its far along enough for the tech giants to keep on it.

And Java isn't dying. I do more Erlang and C nowdays but I see Java used in many places I thought they were still using big iron mainframes and some obscure dialect of APL in.
 

hanser

Ars Legatus Legionis
43,855
Subscriptor++
Oops:

* ext/openssl/ossl_pkey_rsa.c (rsa_generate): [SECURITY] Set RSA
exponent value correctly. Awful bug. This bug caused exponent of
generated key to be always '1'. By default, and regardless of e
given as a parameter.

!!! Keys generated by this code (trunk after 2011-09-01) must be
re-generated !!! (ruby_1_9_3 is safe)

* test/openssl/test_pkey_rsa.rb: Add tests for default exponent and
specifying exponent by a parameter.
 

Malyk

Ars Tribunus Angusticlavius
8,558
Subscriptor
hanser":2dz3kuey said:
Oops:

* ext/openssl/ossl_pkey_rsa.c (rsa_generate): [SECURITY] Set RSA
exponent value correctly. Awful bug. This bug caused exponent of
generated key to be always '1'. By default, and regardless of e
given as a parameter.

!!! Keys generated by this code (trunk after 2011-09-01) must be
re-generated !!! (ruby_1_9_3 is safe)

* test/openssl/test_pkey_rsa.rb: Add tests for default exponent and
specifying exponent by a parameter.

Hehe, yep. That's a tough one.

How many people are building and using trunk ruby and how many of those people generated keys in the last 2 months? Probably a few, but I can't imaging it being that many.

The bleeding edge is a tough place to be!

Mike
 
Paul Hill":15g62z4q said:
vherrera0079":15g62z4q said:
For all it's shortcomings, PHP is hugely popular in the startup world because it has no licensing costs, and you can go from fresh install to writing working code in less than 5 minutes.

http://www.microsoft.com/visualstudio/e ... ns/express

And Edit+Continue will make sparks come out of your arse.

By licensing costs, I don't mean only the language and the IDE.
 

Blacken00100

Ars Legatus Legionis
10,130
Subscriptor
vherrera0079":ui4ltev9 said:
Paul Hill":ui4ltev9 said:
vherrera0079":ui4ltev9 said:
For all it's shortcomings, PHP is hugely popular in the startup world because it has no licensing costs, and you can go from fresh install to writing working code in less than 5 minutes.

http://www.microsoft.com/visualstudio/e ... ns/express

And Edit+Continue will make sparks come out of your arse.

By licensing costs, I don't mean only the language and the IDE.
++

For a startup dev (one who doesn't yet meet the BizSpark requirements especially), Windows is just way too expensive for web development and you don't really get anything for it. (Edit+Continue is hilariously overrated, especially at the scale we're talking about. These are pages where you can just F5...)
 

zeotherm

Ars Legatus Legionis
10,960
Moderator
I am sick and tired of learning that a 12 (?) year old tool is superior to the currently available one :mad:. We (the royal we, I've only been doing this for about a year) used Compaq Fortran 6.6 for years and years because it WORKED! Some point after Intel acquired it, it just seemed to stop working. However, as time moved on Compaq 6.6 became rustier and rustier, but for debugging, it worked perfectly... step into a function, sure! break on change in value (this was the big one for us), no problem! Dereference many levels of pointers and indirection, ok!

Once it became Intel, things that were no problem before suddenly became "I can't do that Dave" No break on change in value, can't dereference beyond a few indirections, can't highlight a slice of an array in the debugger interface and view just that slice, and so on. I convinced people to try again with Intel 12 and VS2k10, they agreed if I could show certain things worked (break on change in value was the real deal breaker for us).

In the past three weeks since I have been really putting this through its paces I have found that: debugging 64-bit code can be impossible because somewhere along the line the addresses go through a 32-bit process so anything above 0x7FFFFFFF gets returned as 0x7FFFFFFF; that stepping into certain functions in certain ways (still haven't fully fleshed this one out yet) will cause Visual Studio to crash completely; and that updating to the latest version 7 from version 4 will mean that you get exceptions in Visual Studio somewhat randomly when you open a Fortran solution file (in the process of seeing if a complete uninstall/reinstall will fix this one).

I wouldn't be as upset if these were the only things I was seeing with a *new* compiler/debugger. But the fact is the OLD Compaq 6 compiler/debugger worked BETTER! Of course the downside to it was that you were stuck with Visual Studio 6 as well, but for pure Fortran 90 development, it worked very nicely. I am thoroughly confused as to why things had to go backwards before they could go forwards. And I am annoyed at how much time I have wasted fighting with the environment, time that could be much better used actually addressing my development tasks. :frustrated:
 

zeotherm

Ars Legatus Legionis
10,960
Moderator
zeotherm":1o4uw5q6 said:
Once it became Intel, things that were no problem before suddenly became "I can't do that Dave" No break on change in value, can't dereference beyond a few indirections, can't highlight a slice of an array in the debugger interface and view just that slice, and so on. I convinced people to try again with Intel 12 and VS2k10, they agreed if I could show certain things worked (break on change in value was the real deal breaker for us).

I publicly retract this part of my mini-screed. Seems the newest 12.X version CAN do these things, which is going to make my life and the engineers' lives here much, much easier! :D
 

Blacken00100

Ars Legatus Legionis
10,130
Subscriptor
Let us all take a moment to pity Fortran Boy. ;)




So I've been interviewing around for a potential new job; I'm feeling like I could be doing much more and being paid much more as well. Found a company that's pretty interesting--they build interactive catalog web/mobile apps that have been shown to double conversion rates for clients. Good folks, better work, 25% pay bump, a location where I could move to Cambridge (and a pay bump to make doing so financially reasonable), and a senior title.

I decided I really want this job. So I decided to indulge in a little showmanship: I'm reimplementing their web app (in a mocked form, with all its internal logic but mock objects providing the data--Scala/Jetty backend, HTML/LESS/JS frontend) in the two days between interview and final interview. I really want to walk in with my iPad and just hand it to 'em.

I have a flair for showmanship. :D
 

zeotherm

Ars Legatus Legionis
10,960
Moderator
Blacken00100":ac1xgvg3 said:
Let us all take a moment to pity Fortran Boy. ;)
Boy!?! I've probably been programming in Fortran as long as you've been using a computer! /me shakes cane :p ;) Also, get off my lawn.

According to the old guys here, the reason we use Fortran is because the group couldn't afford a C-compiler back in the day when they started this product! They happened to have a Fortran compiler so the decision as to what to develop in was made for them...

Good luck on the interview. Just remember, if you move to Cambridge you'll have to put up with Boston drivers. :scared: Tell them you'll need a 30% bump to consider that and to pay for the inevitable times you will be rear ended at stop signs, stop lights, traffic, etc...
 
fitten":1pkew94o said:
If you go up north some, I think it's better. I've spent a ton of time up around Burlington, Billerica, Bedford, and Nashua, NH and it wasn't so bad. I wouldn't mind living in Nashua at all.
Driving into the city from the north is insanity. 93 and 95 are parking lots at rush hour and you sure as hell don't want to drive through downtown Cambridge, Somerville, etc. I don't know how the commuter rail is but I'd imagine it's a good deal easier than driving.
 

hanser

Ars Legatus Legionis
43,855
Subscriptor++
newwb":3j3krl6y said:
fitten":3j3krl6y said:
If you go up north some, I think it's better. I've spent a ton of time up around Burlington, Billerica, Bedford, and Nashua, NH and it wasn't so bad. I wouldn't mind living in Nashua at all.
Driving into the city from the north is insanity. 93 and 95 are parking lots at rush hour and you sure as hell don't want to drive through downtown Cambridge, Somerville, etc. I don't know how the commuter rail is but I'd imagine it's a good deal easier than driving.
I travel both of those every day. x_X
 

fitten

Ars Legatus Legionis
55,639
Subscriptor++
newwb":op0unhpe said:
fitten":op0unhpe said:
If you go up north some, I think it's better. I've spent a ton of time up around Burlington, Billerica, Bedford, and Nashua, NH and it wasn't so bad. I wouldn't mind living in Nashua at all.
Driving into the city from the north is insanity. 93 and 95 are parking lots at rush hour and you sure as hell don't want to drive through downtown Cambridge, Somerville, etc. I don't know how the commuter rail is but I'd imagine it's a good deal easier than driving.

Yeah, we usually tried to go the opposite direction (get a hotel in the other direction from rush hour flow). But also, we tended to not drive on the main routes if we could (3-A, for example) but that wasn't always possible or it wouldn't have helped.
 

zeotherm

Ars Legatus Legionis
10,960
Moderator
fitten":3bltz0tk said:
If you go up north some, I think it's better. I've spent a ton of time up around Burlington, Billerica, Bedford, and Nashua, NH and it wasn't so bad. I wouldn't mind living in Nashua at all.
I lived in Burlington for a year and a half after school, I took it up the ass (automotively speaking) twice while at complete stops. One time smashed up the bumper on our older truck, the other pushed the rear bumper in the the trunk and the truck partial into the back seat of my brand new BMW. I have no love for Boston (or Boston suburb) drivers. :p

Although, I do like Nashua and the Southern NH area. Very nice, but I would never want that commute. My boss did that everyday, I took the Burlington -> Lexington route and made my driving life easy (except for the other cars on the road).

vherrera0079":3bltz0tk said:
My first job was writing Fortran for an astronomer. On Ultrix.

And I'm only 33.
Awesome! :D My first programming "job" was Fortran, as was my second, and my third. And now part of my 5th :p Large pockets of scientific programming are a bit behind the language times. When I got to grad school in 2000, my then boss handed me some Fortran 66 code to get me started. I was the crazy forward thinker who introduced F90!

In all those, still (one of) the best development environments I worked in was writing Fortran code on a SGI Irix platform. Everything just worked together so nicely and easily.
 

ShuggyCoUk

Ars Legatus Legionis
10,388
Subscriptor++
I could just be an indecisive fuckoff looking for reasons not to leave a job where I don't really do any work, though.

Shirley not!

If you're bored at your current job move. Even if not to where you got the offer. If you went through a recruitment agent they will be pretty pissed though. On the flip side they know you're capable of landing a job so you will get at least one more chance with them pushing you heavily.