Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

×
User Journal

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

Journal by Marxist Hacker 42

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.

User Journal

Journal: Windows 7 laptop is toast -- hello, Debian 1

Journal by msobkow

My Windows 7 laptop was finally nuked. It was only a matter of time before something got to it -- Windows is a virus vector hell.

I'm downloading Debian for my Lenovo IdeaPad Z580 -- I hope it works. I've never tested the system for Debian compatability, though Lenovo has a good reputation for it.

Sadly, I'm pretty sure it's going to mean losing my glorious 192/24 audio playback, as I can only get 44.1/16 working on the desktop despite it having a HD soundchip. I'm going to miss that...

More to the point, I won't be able to do any further work with Oracle, Sybase ASE, or SQL Server for my pet project. Such is life. What's there at this point works; someone else will just have to pick up the ball for those databases.

User Journal

Journal: Question for any reading this 1

Journal by Marxist Hacker 42

My wife is looking for a Wifi network security camera for the daycare. Ideally, we want one that we can set up an account on a remote server with a username and password that we share with parents.

Anybody have any suggestions?

User Journal

Journal: 9.5 years later...

Journal by grahamlee

Well, that was interesting! Last time I wrote here I was just becoming a Mac programmer. Now I'm moving back towards GNOME and GNU. The sad thing is we've probably already gone past peak interesting desktop, and depending on your approach to life it was either Alto or NeXTSTEP. Not much new will be happening there now, even though it could and could be useful and exciting.

User Journal

Journal: The Leonine Contract 9

Journal by Marxist Hacker 42

It's a pretty standard trope, but one that libertarians do not seem to believe can possibly exist. And it is a blind spot in economic justice in the United States of America.
 
 

The Lion and his Fellow Hunters, By Aesop
Once, a lion, a fox, a jackal, and a wolf went hunting. They caught a stag and killed it, and quartered the meat. "This quarter," said the lion, "is for me, as I am the King of Beasts. And this quarter is mine as the arbiter of the spoils. The third quarter is mine because of my part in chasing down the stag. And as for the fourth â" well, I'd like to see any of you dare to put so much as a paw on it." The other three animals were bitterly disappointed, but they slunk away, unwilling or unable to fight for their share of the meat.

Just because you help a lion doesn't mean he'll share.

 
So remember boys and girls, just because you help a rich man to run his business, does not mean he'll share the profits with you. Which leads us right back to an entirely Different Leo and his successors.

User Journal

Journal: MSS Code Factory 1.11.12558 Service Pack 6: It is done!

Journal by msobkow

Service Pack 6 provides move up/down functionality for the Chains for all of the supported databases. Note that the RAM storage does not support Chains or complex object deletes at all -- it's intended for high volume read/update/delete data, such as the call record information for an Asterisk or FreeSwitch PBX system, or the internals of MSS Code Factory itself.

There are some critical bugs fixed with Service Pack 6, including cache integrity bugs that were discovered during testing of the move up/down functionality.

With this release, I think I'm pretty much done with MSS Code Factory 1.11. I can't think of any more functions I'd want to add that I have experience with. Sure I could implement proper login security with hashing algorithms, a JEE server to receive and respond to X(ml)Msg requests, and polish the prototype GUI some more, but that's really not my forte. I spent 30 years as a back end database programmer, tuning servers and wringing every last bit of performance out of database engines that I could.

MSS Code Factory 1.11 now incorporates everything I ever learned about making an RDBMS sing and dance. It provides all the functionality points that I was ever asked to deliver to a front end application programming team, and does it all automagically from a Business Application Model.

It's been 18 years of long hours working on this project to get to this point. The idea was around even longer (I came up with the concept way back in 1987, before I'd even had any experience with data modelling tools.)

Service Pack 6 is, in essence, my life's work. My magnum opus. I have climbed my mountain, and the view is great.

http://msscodefactory.sourceforge.net

User Journal

Journal: MSS Code Factory 1.11 Service Pack 1 released

Journal by msobkow

MSS Code Factory is a model-to-code development tool that provides Java 7 using JDBC and stored procedures for DB/2 LUW, Microsoft SQL Server, MySQL, Oracle, PostgreSQL, and Sybase ASE.

Service Pack 1 corrects defects in the manufactured database schema installation scripts, the core Java ORM objects, the stored procedures, and the JDBC layer. It also adds in the production of an XML messaging based communications framework for doing client-server or web development (you have to code the transport layer, but the message parsers and processing are provided.)

Service Pack 1 also provides a prototype Swing GUI that can be used as-is for performing demos and walkthroughs of a business application model for users, rather than counting on users to understand ERD or UML diagrams. The prototype is entirely factory and interface based, so it can form the basis of a custom user interface by either subclassing the manufactured GUI components produced, or by replacing them wholesale with JInternalFrame and JPanel instances as appropriate (the only requirement is that they implement the interfaces specified by the manufactured objects.)

The source code for the project is hosted at github, but the main project is on SourceForge at http://msscodefactory.sourceforge.net.

The project has been under research and development since Java 1.1 was released in 1997, with the past two years focusing on the 1.11 release.

User Journal

Journal: Give me Catholic Heaven, Islamic Paradise is too hard 10

Journal by Marxist Hacker 42

this guy is clearly NOT a mathematician, but if he was:
 
You have 4 wives on earth. Each one of those wives has 70 black eyed virgins for you in paradise. Each one of those black eyed virgins has 70 servant girls. That is 19,884 women for you to have sex with in paradise.
 
But it gets worse. Each one of those women has been given YOU by Allah for a term of 70 years. That means you will be having sex, nonstop, from the time you die for the first 1,391,880 years you are in paradise. You're going to need eternity from then on just to rest up from that.

User Journal

Journal: And now for something completely different 3

Journal by Marxist Hacker 42

The Catholic Church considers the Copenhagen Interpretation of Quantum Mechanics to fit with our theology. But it also occurs to me that it fits with the problems I've run into converting analog to digital measurement. And THAT points to the theological idea that many people worship not the Creator of the Universe, but an image of God that is a model of the actual God.

User Journal

Journal: 24/192 Audio Redux

Journal by msobkow

A while back I put my laptop into forced 24bit/192kHz output mode in order to be able to play some Grateful Dead tracks that were recorded in that format. I've left it at that setting on the Windows 7 laptop because it plays back lower resolution audio just fine.

In fact, it seems to upsample lower resolution audio rather nicely. So while CDs and MP3s still are far from as clean sounding as the Grateful Dead tracks, the upsampling prevents "digital fatigue" and sounds more "musical" than 44.1 Hz output does on my Linux box. So I find myself spending more and more time listening to my music under headphones plugged into the laptop (a rather nice set of Sony noise cancelling full-cup headphones that cost nearly $300 15 years ago -- a gift from good friends.)

For the life of me, I do not understand people who claim they can't hear the difference between 44.1 audio and higher resolutions. They must be deaf. The difference is obvious as night and day, if you know what to listen for.

User Journal

Journal: Fun with SQL Server 2012 11

Journal by Marxist Hacker 42

I have a Table Valued Function that returns a simple parameterized view. I want to turn that view into a string.

Can anybody tell me why the first query works and the second one doesn't?

DECLARE @JobID INT
DECLARE @strOut VARCHAR(MAX)

SET @JobID=2861

SELECT @strOut =Coalesce(@strOut +',','')+ ISNULL('[' +
MP.ModelPointName + '] int', 'ErrorInFactoryModel int')
FROM (SELECT TOP 800 ModelPointName, Sequence
      FROM dbo.GetReferencedModelPointsByJobID(@JobID)
      ORDER BY Sequence) MP
WHERE NOT (MP.ModelPointName LIKE '%Ship%'
        OR MP.ModelPointName LIKE '%Scrap%')

PRINT @strOut

SET @strOut=NULL

SELECT @strOut =Coalesce(@strOut +',','')+ ISNULL('[' +
MP.ModelPointName + '] int', 'ErrorInFactoryModel int')
FROM dbo.GetReferencedModelPointsByJobID(@JobID) MP
WHERE NOT (MP.ModelPointName LIKE '%Ship%'
        OR MP.ModelPointName LIKE '%Scrap%')
      ORDER BY Sequence

PRINT @strOut

The 2nd one returns a single field name, the first, returns all the field names.

User Journal

Journal: Trying to remember a conspiracy theory 7

Journal by Marxist Hacker 42

Back in the early 1990s, when CD Roms were first invented, on major use of them was for the conspiracy dial up bulletin board system. With a CD Rom online on your bulletin board, you could "host" a CD full of downloadable text files on everything from government cover-ups to UFOs.

I was into such things at the time, and read many of these files.

Fast forward to today- and Pope Francis gives us a conspiracy theory: that rich first world nations are promoting war in the third world as a prop to economics. All over the first world Catholic blogosphere, there is outrage- how dare the Pope tell us capitalism is supported by warfare?

Of course, Dwight Eisenhower, upon leaving the U.S. Presidency said the same thing,- warned us about the military industrial complex.

But I seem to remember a "secret" document passed around those old BBSs from the Vietnam Era that basically said the same thing, only actually recommending it as a policy. Does anybody else remember this document? Can you remember something I can google on? I'm coming up empty.

Committees have become so important nowadays that subcommittees have to be appointed to do the work.

Working...