Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment Re:Yeah, I know... (Score 5, Interesting) 371

Ah, I had more fond memory of doing optimization. I'll chip in my story.

I just graduated in the early 90s, and started working the next day after my last exam, at a small telecom equipments company. The system was running on QNX 2, with every software components developed in house, except the OS and some of the drivers.

The company was built by hardware engineers, and I was the first guy from a CS background. There were 6 people in the engineering group. The "database system" was actually a small engine of simple linked list, and must load all data into memory to do anything. Insertion, modification, deletion, etc, were slow, database-related work is so slow, but everyone was used to it. Especially on a 386SX with 1MB of memory, and QNX had no virtual memory, the physical memory was precious.

After I started working, I saw this and said: "What the fuck?" Being good at data structure and algorithms, I decided to do something. Not to interfere with my day job, I spent a couple of evenings and one weekend, writing a memory-mapped B-tree engine, with some quite primitive transaction and rollback features, while trying to keep the same API as the original linked list engine. The memory-map part was so that I wouldn't have to load all data into memory to do the work.

After testing for 5 or 6 hours on the Sunday afternoon and evening, I plugged it in, replacing the old engine. I "checked in" the code. We didn't even have CVS, we just mount to the manager's machine, and put the codes there (basically, replacing what was there). I made the mistake of not informing the manager.

I went home the evening, it was raining hard, got wet, and had a fever. The next day, I called in sick.

At noon, the manager did a new build for testing. People where shocked that database-related operations just returned back right away. This normally would be an error situation. A few panicked, as there was no CVS to track who checked in what, and the db engine was there for almost 2 years already, and considered the most stable component. So no one looked there. But everything seemed to work just fine.

While I was sick, I also wrote a design document about the new engine, how to call the API, etc. On the 3rd day, I came in. After my first cup of coffee, I heard the news from my neighboring coworker. So I went to see the manager, told him about what I did, and handed him the design document. This was the first "real" design document, BTW.

The manager was relieved and excited, and finally, called in the CEO of the company too, and said: "Dude, you scared the shit out of me, but this is great work. Next time, tell me first before putting in the code, ok? I'm too old for that. BTW, do you see other areas that we can improve?" The CEO said: "I'd like to hear that too." With that kind of encouragement, I gave a list of areas that should be reworked, but with very low risk, and some areas that might need extra works.

The CEO said: "I want you to work on those items".

So, for the next 6 months, I was working more or less on every component of the system, including the UI framework that we developed (no, QNX Photon was still many years away), to do optimization and in quite a few cases, re-code them.

And I also downloaded CVS at home with my oh-so-slow modem (the company has no internet connection yet, only the CEO and VP had dialup), brought the floppy to the company, compiled the CVS source on QNX, asked and got a new machine to build a CVS server, so that we can track the codes better.

At the end of the year, I got a big bonus, with 2 extra days off for the Christmas holiday. It was fun.

Comment Re:News. (Score 5, Insightful) 207

Ok, since you are asking, I'll give you my side of the story.

We are a consulting, IT services and software development company. Not a big name, and we are very small. I'm the founder of the company. We have 30 something people. The economic problems affect us too. Projects in the pipeline dried up, as customers cancel or postpone indefinitely. Quite a bit of receivables suddenly become bad debts.

We could have slashed half of the workforce, but I'm putting in my life savings, and borrow money to pay for the monthly expenses and salary, trying to ride the storm. We don't even cut any benefits, we even gave everyone a small bonus at the end of year (yeah, in cash, not a Gphone like Google did), and also paid for the annual health checkup (as we have done every year), when every other company has cut all these.

Now, can I get the good publicity now? Can we be called a good corporate? Can we get more clients (eventually) because we are good to our employees? In fact, I'm not even sure that, once the economic slump is over, our employees would even be grateful and stay a bit longer with us.

When the economy is good, we see employees jump ship for a 100$ raise all the time, and being so cynical at the same time. During a bad economy, when a company is trying to be nice, no one notice. As a matter of fact, a lot of people called us stupid too, because employees are ungrateful by nature. Sometimes, I just think being nice does not pay. But I'm just trying to do what I think is the right thing, and hopefully, more people or more employees recognize that, and have the solidarity that would allow us to get past this time. But telling the truth, I don't have high expectation for this, as I think it would be same old, same old, as the last recesssion in the early decade. We did the same thing at that time too, but that didn't prevent employees to be so cynical. Go figure. Some day, I'll have to learn to be "evil" too.

Comment Re:Oh hey, look, in the distance, that ship... (Score 1, Informative) 437

And I sure hope that someone, Noam Chomsky or someone else, will write a book that explains to the public what the two Bushes have done during all these years, as eloquently as in The Culture of Terrorism.

Now, if you are going to try Bush and company, then I'd say that almost every single American president of the 20th century must be dragged into court as well, except the newly elected Obama (but we'll see).

Disclosure: I was the survivor of a country that was devastated as a result of the terrorist foreign policies of the USA. Our extended, very well-off family of 60 persons were reduced to less than 7 after four years of war, famine, epidemic outbreak, torture, mass killing, ... Talking about silkworm in an earlier article, you'd be lucky if you had that to eat. I have eaten all those things that would make the majority of ./ers scream of horror by just mentioning them.

Government

Submission + - What would you propose as policies if you can?

2Bits writes: I got a chance to write a policies proposal to the government of a large city, to be presented during a large conference. The city is very large, with a population of 18 millions. It is in rapid development, but the government wants to plan for the next 20 years. The proposal should have a few goals:
  1. How to foster an innovative environment that can nurture entrepreneurs and startups, especially startups in high-tech with big potential of value add?
  2. How to create a city where the best talents in the world want to live in?
  3. How to build a business environment where everyone can participate, in order to avoid (or enlarge) the gap between the haves and have-nots?
  4. How to build a green and clean city?

I am as geek as most Slashdotters, with a libertarian incline. While I believe that everyone should take care of him/herself, but as someone coming from a poor family, social justice and balance are also important, and I believe that everyone should be given a chance.

The proposal might never get implemented, but if you get a chance, what would you propose? What kind of city would like to live in, if you can take part in designing it?

Comment Question: Can I regrow custom-designed teeth? (Score 3, Interesting) 289

The question is, can I regrow custom-designed teeth? What if I don't like my teeth in the first place? I don't want to regrow the same set of teeth again.

I was born with a severe lack of calcium. By the age of 3, I still didn't have any tooth. Not that it didn't grow, but the teeth were just like powder. When I ate, the teeth that just appeared in the morning were smashed by any food and swallowed along.

After taking a lot of calcium supplement (still do on a daily basis), eventually, they grew. the shape are fine, but they are grey. They are weak, cavities and rotten root canal are nasty problems. And that causes all kinds of gum problems, even with daily Listerine or salty water mouth wash.

Since high school, I always have to work extra to make that extra 5000 to 6000 more than others, every year, to take care of the teeth. Not to mention that it had been an obstacle to self-confidence for so many years.

Now, if can regrow my teeth, I certainly don't want to regrow the same set. Can I custom-design mine?

Slashdot Top Deals

No directory.

Working...