|
Tried threading. No joy.
|
|
|
|
|
I've got to say, "Thank the FSM!" Can you imagine what the JS would have ended up looking like? You might have opened a portal to a dark dimension.
Oh wait, that's how JS was created in the first place.
TTFN - Kent
|
|
|
|
|
I actually performed the ritual goat sacrifice, entered the threading code and awaited coming of the Cthulhu and... Object reference not set to an instance of an object.. My overlord won't be pleased.
|
|
|
|
|
Kent Sharkey wrote: JS was created By Gosling reconstituting his own diarhea.
Decrease the belief in God, and you increase the numbers of those who wish to play at being God by being “society’s supervisors,” who deny the existence of divine standards, but are very serious about imposing their own standards on society.-Neal A. Maxwell
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
I wonder if they ever heard of Script#...and if checked why that project wasn't a great success...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Looks like you have to learn their library and C#/JS mishmash to make it work.
Decrease the belief in God, and you increase the numbers of those who wish to play at being God by being “society’s supervisors,” who deny the existence of divine standards, but are very serious about imposing their own standards on society.-Neal A. Maxwell
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
“We can’t go on like this. We need to rewrite this thing from scratch.” Yet another view on the issue (that's pretty much the same as the other sane views)
|
|
|
|
|
|
Chalk one up for laziness. Yes!
My hero would be proud and it just so happens he is highlighted in today's news...err...Dilbert:
http://dilbert.com/strip/2015-10-19[^]
Edit:
Also, thanks for that link to the Spolsky article. That's a great read.
modified 19-Oct-15 21:24pm.
|
|
|
|
|
Hmmm... shortly after starting my career, I was involved in 3 software rewrites.
The first two were entire system rewrites moving from a PDP-11 to a MicroVAX and took the better part of a year for each one with dedicated teams. The first one was a ROUGH, very ROUGH implementation due to not being able to fully test everything in a 'production' environment.
The second one was in place for a week when management asked when it was going in - lessons learned from the first rewrite were successfully applied.
The third rewrite was a single graphical application that had two like parts that drifted apart over time. I convinced management to let me write the application is pseudo code and then rewrite it. That was another successful implementation.
Lessons learned: take the time to fully test and ensure all teams members are aware of the environment; don't assume they have seen it before.
|
|
|
|
|
In an effort to acquire more Google Apps for Work customers, Google just announced a new promotion that’s a huge shot across Microsoft’s bow. Free tools available for free. News as it comes in.
|
|
|
|
|
Security firm CrowdStrike says attackers try to breach tech, pharma companies. "Promises and pie crusts are made to be broken."
|
|
|
|
|
when are they going to be more relaxed than after such a deal?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Breaking the rules can bring a little thrill -- and produce better, more efficient code. Bonus #0: Listicles (OK, maybe that's just me)
|
|
|
|
|
"Too much code on a line" and "Short variable names" are something I like to do and it makes me feel good in a bad way!
I tend to leave HTML and ASP.Net web controls on the same line rather than putting them on separate lines because of the old Netscape 6.2/IE problems. Back then IE and Netscape displayed HTML so differently, I removed a lot excess white space to deter UI defects.
I try not to declare many variables in C# or JavaScript; so that is not a problem for me. But I do create a lot of classes and ids in CSS which get ugly; such as: .pr25{margin-right: 25px;} or .len10{width: 80px;}, or even .mb5{margin-bottom: 5px;}.
|
|
|
|
|
I used goto once in the application that generates keys for door locks. There are 7 rules to generate key codes and evaluation logic at each step to make sure code that is being generated does not violate rules like no three adjutant cut can be identical and need to have certain relationship to master key and grand master keys and such. At any point if condition fail it needs to reset all the digits from position where it failed the rule and start from rule 1 again. I saw goto as a perfect fit.
Zen and the art of software maintenance : rm -rf *
Maths is like love : a simple idea but it can get complicated.
|
|
|
|
|
1. I can't even remember when last time I did it
2. What 'documentation' is?
3. Never more than the screen wide...
4. How that can be a bad habit in languages with no types?
5. Yo-yo-yo-yo-yo-yo-yo
6. I use ONLY my own there...
7. "People with ropes around their necks don't always hang."
8. Bad?
9. I wondering what programming experience the author have...
Where all the 'eat/drink on top of the keyboard' things gone?
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Programming habit No. 7a: Not breaking out of loops in the middle
More code means more bugs. I recently refactored a big, ugly method into about 12 lines of code. It had two loops and I had a return on the first and a break on the second. Lead got upset and made me put in control variables. The method not only went up to about 20 lines of code, it became so convoluted that I disavowed all knowledge of it. But my lead was happy.
|
|
|
|
|
It's been more than two years since the general release of MySQL 5.6, and on Monday Oracle announced that its successor will soon arrive bearing a significant boost in performance along with improved security and scalability. Did they hard code the test data? (Or just incorporate the Maria updates?)
|
|
|
|
|
As much as we love to hate whOracle around here; a friend of mine is a MySql Admin and - despite being as untrusting as we were initially - has been singing their praises since a year or two after the buyout. At the time mysql scaled poorly across more than a few cores and had been a long standing sticking point with the platform (IIRC he said more than 4 was generally a waste); but that using knowledge gained from making their in house DB scale to godbox servers they quickly got it to scale well to 8 and 16 core boxes.
I'm provisionally willing to give them the benefit of the doubt here; it's not like my inner cynic isn't making snarky remarks about them having a huge amount of headroom to get catchup performance gains to work with. And while I regularly vilify them over business practices, Oracle's engineering staff are really good at what they do.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Thank you for this good news (much more valuable and more real world than my knee-jerk Oracle opinion)
TTFN - Kent
|
|
|
|
|
Having read the article, the Oracle spokes person says the 3x speedup makes mySql competitive with other major DBs on the market; so either they're still farming bottlenecks in the legacy code or everyone else has made major gains recently and this is just keeping up with the Jones. Since I don't recall any of Oracle/MS/IBM claiming their new DB crushed the competition I'll assume it's more of the former.
For all that distrust has pushed the FOSS world away from a MySql monoculture to supporting multiple DBs by default, Oracle has fixed many of the major problems with MySql that would've pushed users into having to defect to bigger and better products.
If I remember tonight, I'll ping my friend and ask if he's played with 5.7 and if he's seen major real world speedups or not. His employer does managed hosting/outsourced IT management, which might limit his ability to do any real world testing though. (Unless he's got a customer who wants to upgrade asap anyway.)
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Microsoft is a developer company, so there’s nothing we love more than connecting with developers to share our latest tools, technologies and plans for the future. I therefore invite you to set your calendar November 18-19 for Connect (); // 2015 – when Microsoft hosts its premier fall developer event, streamed live from New York City to developers around the world. Book your travel (or just streaming) time now
|
|
|
|
|
Dell, HP and Lenovo join Intel and Microsoft in push to shave replacement cycle Ad says what?
|
|
|
|
|
Yeah, I'm with you, Kent; they should keep their grubby little hands off my replacement cycle.
It looks like my primary system has an Intel Q8200 which was released Q3'08 and my secondary system has an Intel E6850 which was released Q3'07. Both still work just fine. I have no plans to buy newer stuff, and when I do it'll likely still be replacing the motherboard, processor, and RAM. I don't buy complete systems.
|
|
|
|