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


Forgot your password?
User Journal

Journal Journal: Back to coding, doing something I haven't done before 6

Does anybody know of a good Javascript, .NET, or HTML5 (or combination of the three) library for doing a user-customizable widget grid?

I've seen it done enough that this *should* be a readily available control, but I don't seem to be able to find one with my first three rounds of google searching, I'm probably calling it the wrong thing.

What I want is to be able to configure a user's home page on the website with their choice & order of several widgets.

Anybody know of a great tool for doing this? Worst case scenario is I roll my own with a three column table built up from a sub table off of the users.

Oh yeah, and mandatory technology for this project is SQL Server Database, Visual Studio .NET Webforms (yeah, after doing MVC the last 4 projects I'm thinking Yuck too with these code-behinds), intended for HTML5 browsers.

User Journal

Journal Journal: When did I become an incompetent at TSQL? 32

What is wrong with this code? It's like I can have the inner loop execute, or the outer loop execute, but not both.

DECLARE @BatchMatch varchar(40)
Declare @mcount int
Declare @dcount int
Set @mcount=1
Set @dcount=1
While @mcount <13
        while @dcount<32
                Set @BatchMatch=Right('00'+Convert(varchar(2), @mcount),2) + Right('00' + Convert(varchar(2),@dcount),2)
                Print @BatchMatch
                Set @dcount=@dcount+1
        Set @mcount=@mcount +1

PS, no I don't care that all months don't have 31 days, but I must cover months that do.

Update- failed to reset the inner loop counter, that's what.

User Journal

Journal Journal: Clearly I suck 4

My linux skills have atrophied. I need to set up 10 workstations today. I have one done. What is the *easiest* way to clone a partition in ubuntu 14?
Update: Ghost 4 Linux and LinuxLive USB Creator to the rescue. I haven't had a usable copy of Ghost since floppies ruled the emergency boot sector, now, I'm going to buy a 32GB keychain drive off of Amazon and make sure I am NEVER without a copy of G4L. Drive imaging in an emergency is just way too useful of a skill to have.

User Journal

Journal Journal: Strange SQL Server 2014 behavior 7

I have a Select Statement that returns 4 rows. When used in a stored procedure as input to an Insert Into, though, it was returning five rows. I commented out SET NOCOUNT ON; which is added by the SQL 2014 template. It then returned 4 rows. To test that was what was really going on, I uncommented out SET NOCOUNT ON; and it is now returning 4 rows properly.

I made no other changes.

Anybody else ever run into anything like this??

User Journal

Journal Journal: When did Net Neutrality change? 26

As late as last year, I remember Net Neutrality being a libertarian free market concept- preventing a crony corporate takeover of the Internet. Now that it is being implemented by the FCC, it has suddenly become a crony corporate (Democrat Brand) takeover of the Internet, that all good libertarians should oppose.

I haven't had political whiplash like this since the Catholic Church went from those nice monks doing AIDS research and running hospice care centers to those bigots who want to keep THOSE people from marrying.

User Journal

Journal Journal: Found at a Catholic site 39

The legal impossibility of a Christian polity in America is formally declared in the First Amendment of the U.S. Constitution. The so-called 'free speech' and 'free exercise' clauses of the First Amendment are purely secular mandates. They are a rejection of the Catholic notion of the common good, mandating that there be no restraint whatsoever on things that damage souls and ultimately destroy the State itself. They grant as lawful precisely what many popes have called unlawful: unconditional freedom of thought, of speech, of writing, and of worship -- as if these were so many rights given by nature to man. The language of the First Amendment reflects the Protestant-borne, Enlightenment-bred faith of the deistic Framers in the ability of unaided human reason to define and sustain liberty apart from Trinitarian Truth; that is, without a cooperative effort by the Church and the State. Thus, all manner of violations of natural and divine law, including the "right" to murder children in the womb, and the coming "right" to "marry" someone of the same sex, are found lurking in the secular mandates of the First Amendment. The true Church foresees these errors. Oddly enough, the Secular State itself will not be able to endure its own mandates.

User Journal

Journal Journal: Final Thoughts at End of Contract

Things that were not explained adequately upon conversion from CW to ICE.

  1. Bonuses- it was thought by my management that QPB applied to all blue badge employees including ICE. If I had known I wasn't going to get bonuses, I would have asked for higher base pay.
  2. Vacation Time- MUST be taken while still an employee, and unlike what the recruiter who wrote my job offer told me, cannot be used to extend your final week. Any unused vacation time will be lost at end of contract, by policy. In addition, apparently you lose it at the end of the year, I really should have taken WW52 off, then the sting would not be so bad now.
  3. ICE as a stepping stone to full employment at Intel is a lie. I couldn't get anybody, despite spending many hours on networking, to give my resume a second look. I even learned a new tool in this contract that is internal and can only be used at Intel and is completely worthless outside of Intel. No matter, I've had many interviews outside of Intel, and will land well, but I'll keep this in mind the next time I am tempted to take a short term contract at Intel.
  4. Being a blue badge, if you are ICE, still means you're treated more like a resource than like a human by human resources. Many policies are used to reverse decisions that your manager, who is working more closely with you, has made.

Software Project Management At Intel in non-software divisions

  1. Brooks Law is almost unheard of at Intel. Hardware Managers think that all software projects can be completed in less than six months, and therefore throw contingent workers at the project. Since software estimates, in general, are 75% engineering and 25% new science, they are wildly inaccurate. When the project inevitably fails to be complete in the first six months, the temptation is to break Brook's Law by adding more contingent workers. The time to ramp up CWs on the project of course exceeds the time to complete the project if you kept software engineers working for more than 18 months at a time.
  2. Agile or Waterfall- Pick one and stick to it. This crazy combination used on software projects in hardware divisions is ridiculous, as is the general lack of written requirements.
  3. It's hard to hit a moving target- input data integrity must be respected. If you don't have input data integrity, then there will be bugs. Bugs add complexity. Bugs make software estimates inaccurate. Lather, rinse, repeat.

On the new diversity initiative

  1. There is no link between surface appearance and how a person thinks, or how capable they are. None at all. While this makes the apparent racism of the past a mistake, this also makes modern affirmative action programs equally racist and invalid.
  2. There is no link between religion, sexual orientation, or disability and how a person thinks, or how capable they are. Such factors should not enter into hiring or promotion decisions at all, and when they do, that is what Intel needs to eliminate from the system.
  3. There IS a link between certain forms of mental illness and the ability to innovate. Since mental illness affects the brain directly, having somebody with a well controlled mental illness on your team increases diversity of thought, which leads to innovation.
  4. I believe that the uncertainty surrounding the diversity initiative was a part of my failure to convert to FTE. Not necessarily outright discrimination against a white male, and due to my autism I fall into one of the protected groups anyway and HR is well aware of that. But I believe the way the diversity initiative was announced, and the weeks of confusion surrounding it before BK finally clarified his position, coming at the same time I was trying to convert to FTE, meant that I had a harder time of trying to get my resume noticed and find open, externally advertised jobs for my skillset.

Final Thought and contact info

While my search to convert to FTE at Intel has failed, my external search has succeeded. I have at least one, maybe two job offers in hand; I will likely be back to work sometime between March 25 to March 30. This posting will be crossposted to Inside Blue before I leave Intel. Comments section below is open.


User Journal

Journal Journal: I owe Bill Dog continuation, Prius Hack ideas 10

Bill's last set of answers, and my answers to his answers
>>1. The only reason to run the gas engine under 25 miles an hour [â Typical residential speed limit] should be for recharging and generating, period. EV mode only at low speed.

>And Toyota may have started out planning on along those lines, but may have gotten focus group research that indicated people preferred a little more acceleration.

Which is weird, because when you put the two electric motors working together, you have MORE acceleration than the gas engine alone. 104 HP vs 70 HP.

>>2. An expert mode should be available wherein "creep ahead at stop" is disabled

>Having switched to owning only manual transmission cars, I only miss that on a metered freeway onramp, that's uphill. I imagine it's added behavior when in electric-only mode, to simulate a slush box, so not sure how it could be universally defeatable. There's no "neutral" on those smug little cars?

There is, it just doesn't auto-engage. The default is creep ahead (and yes, it's electric- it is quite obvious that your gas engine has stopped and it's in stealth mode- which makes it even more dangerous for say, a pedestrian in the cross walk in front of you, no warning roar of the engine as the car speeds up to 8mph slowly).

>>3. Cruise control should also be able to be set by a numeric keypad, and should be able to handle values lower than 23.

>That's an awesome idea, rather than having to bring the car up to the desired speed manually. But I wouldn't be surprised if it's the government disallowing the latter.

It certainly gets them more speeding ticket revenue in 20mph and 15 mph zones. That, and thanks to the "delayed reaction" in the CAN of the prius, I can never seem to hit the correct speed. Always 1mph off, either above or below. And why does slowing down below 23 erase the register, forcing a manual reset, instead of disengaging alone?

>>4. Sport mode should be available that disengages the traction control and enables all three motors for acceleration (you can get the second half of this in a gen2 by angrily stomping on the accelerator, it takes a second to engage, but you suddenly go from 34 HP to 174 HP as the second electric and the gas motor kick in).

>Why would a Prius owner want this?

Ice, sand, and mud. Thanks to the traction control the way it is, and the standard modes, it is impossible to get more than 34hp to the wheels in the first second of travel; and in addition to that, if there is any wheelspin at all, that 34 goes to 0 hp real quick and a little light blinks on to tell you that your transmission is disengaged. A sport mode would enable both drag racing and off road abilities that the prius currently lacks.

>>5. Finer resolution than 5 minutes on the average MPG consumption graph.

>>6. Ability to download trip data onto an SD card.

>Likely never, directly. Companies want your personal info to go to "the cloud" first, so that they can mine it and monetize you further.

I'd even accept an upload to the cloud if I could get fine resolution consumption and the ability to diagnose my driving habits after the fact. The big change in driving a prius isn't so much the technology, it's the feedback given about your fuel consumption, and it occurs to me more feedback is better.

>>7. If gas tank 20% full and battery 20% full, hibernate mode on computer if accidentally left on and wheels are not moving. Right now if you tried to use a Gen2 prius as a backup house generator, you run the risk of bricking the system, unable to boot computer, unable to add more gas, must drag onto a flatbed and tow to Toyota to use their fancy charging system to bring the car back to life.

>I guess you're saying these cars have no under-hood starter battery like ICE vehicles, that's user-swappable with a replacement from any auto parts shop. And I guess neither can these cars be jump-started, simply by using another vehicle (with a battery of equal or greater cold cranking amps). Wow.

More of an in-the-trunk starter battery that is only good for booting the computer system. If you run out of gas *and* the high voltage battery goes totally flat the most you will be able to do is boot the computer, the high voltage battery is needed to spin M1 to be the starter motor (M1 does triple duty- it's a 34 HP electric motor that does the initial acceleration, serves as a generator, and also serves as the starter motor for the gas engine- and it runs off the high voltage battery; M2 is a 70 HP electric engine that can also double as a generator, and then E1 is the gas engine that can send power to the wheels, to M1, to M2, or to all three- quite a complex computerized transmission runs it all). So there would be good reason to provide a hibernate mode that would allow a Prius to be parked for more than three weeks.
I suspect that a plug-in conversion and/or a Gen4 plug in prius is the answer to that last problem- if you're feeding off the grid regularly, there's no need for the gas engine to generate power to begin with.

One of the chief duties of the mathematician in acting as an advisor... is to discourage... from expecting too much from mathematics. -- N. Wiener