You mean the creators of such languages need to die a slow and painful death.
The language itself can't die fast enough...
575 posts • joined 13 Aug 2006
You mean the creators of such languages need to die a slow and painful death.
The language itself can't die fast enough...
Write it out in mnemonics, translate ,by hand,from memory to opcodes (hex notation) and send it directly into unalterable masked read only memory. Should work first time right.
Anything else is for wannabe's.
ps: use lots of absolute jumps (GOTO) and globals with hardcoded addresses just to piss off the modular/reusable crowd.(because such programs run much faster since they don't have waste cpu cycles pushing and popping stuff onto/off the stack and moving data)
That is a problem in the compare routine. If the length of the strings is different it should return a mismatch. Checking if two strings are identical means a byte for byte match. If one string is different in length from the other it is an immediate fail. You don't even need to waste compute cycles to start comparing the byte arrays.
Speed optimized code would first check that both character arrays are same length. and only then attempt to compare. on the first mismatch : exit with a fail.
we had to walk 2 miles through the snow to get to the internet ... and now , kids these days, one click and they are on it ...
i spent 23 years playing with silicon. and jumped ship just as the big consolidation wave hit in full force...
Here is my take on it: the semiconductor world is struggling. The 'good ole big boys' are having a hard time turning their expensive fabs into cash. Their fab technology has fallen behind what can be done by the fab-only houses like TSMC, Chartered and UMC. So they are stuck in a dilemma :
- do we design cutting edge that can only be run outside forget our own fabs ?
- do we restrict our designs to what can be handled in our own fabs.
We have evolved from a do-all to fabless design houses shopping around for the best fabs. Those guys are highly successful. The old boys that own their own fabs are stuck in a quandary...
When IBM wanted to get rid of their fabs they had to give 1.5 billion dollar in cash for Globalfoundries to TAKE them .... Yes, you read that right . IBM gave 1.5 billion to globalfoundries so they would take the fabs.... http://www.extremetech.com/computing/192430-ibm-dumps-chip-unit-pays-globalfoundries-1-5-billion-to-take-the-business-off-its-hands
That's how bad it is.. and IBM's fabs were cutting edge ...
Early 90's. Semiconductor factory. Industrial pc goes wonky. We are talking ISA cards here , and a motherboard that, itself, is a plug-in card made with a 386. Runs some weird OS. Nightshift. Production is down.... what to do ? The bosses desktop computer ( one of the few PC's in the company, the rest is VAX, Apollo workstations, and Macs ) has enough isa slots ... so we mcgyvered that machine on to it using , literally , a stepstool and ducttape.... transplanted the harddisk and got the thing up and running.... took 2 months to get the industrial computer replaced. Manufacturer claimed it was custom built and there was no was we could have used a generic machine to do the work.
Other instance : an ion implanter running iRMX on a 286 throws an error : bad memory at adress 0xsomething. machine keeps running fine. on next scheduled maintenance we pop the hood ... drams all in sockets... 4116's... hundreds of them ! This machine used an intel aboveboard as memory extender. we could not get a hold of one so we swapped banks of chips around until we found the address moved. turned out one chip had a bent pin... had worked all those years fine. straightened the pin. has worked for years afterwards.
prime example of bad code :
A filename parsing routine that, anno 2016, still looks at the last three characters of a file to figure out what type it is and then send the file off to a preview handler.
So if i send a file called document.doc it thinks 'word document' -> send ot handler
if i have a file called document.pcbdoc it also thinks 'word document' which irreparably corrupts this file as it is a CAD (pcb layout) file.
the correct way would be to reverse scan the string for the first occurence of the period (.) then scan forward and use that.
Who does that you ask ? Bloody damn google drive. Whenever i upload a .schdoc or .pcbdoc google drive thinks : this is a word document. Even worse : when downloading it changes the extension to .doc totally corrupting the project tree. Thanks for nothing google.
Years ago we had a CAD system driven by a semi-custom computer (if i recall it was either a Computervision or a Calma system used for IC design)
One day the machine developed a problem : we would come in and the machine unexpectedly had rebooted. This happened invariably every thursday and went on for months. Calls to the machine builder were met with puzzlement. This machine did not even have a clock ( as in date/time ) so it was not possible to schedule a task.
Eventually someone was tasked to baby-sit the machine and see when the boot would happen to find out what caused it. Sure enough. late wednesday evening the office cleaning crew comes in , empties the paper baskets in the computer room , and 'dusts' the machines. This particular machine had a small ledge on the front in which sat ... the reset button ... The cleaning person dutyfully wiped the dust using a cloth off the ledge thereby hitting the reset button. mystery solved. A small strip of plexiglass solved the problem.
Why has nobody written a windows clone yet (without all the bugs and holes ) ?
It would be really great to have an alternate OS that can run existing programs. I run plenty of professional software (Solidworks, Altium , Ilustrator, Indesign, Various embedded system development tools such as Keil .Software to control test equipment etc ..) for which there are NO linux distributions.
Switching to alternate tools is impractical. having a 1:1 replacement for windows that can run EXISTING windows programs would be the solution ( including all the hardware support and existing drivers)
Let's all bash windows cause linux is so secure cause we have the source.
Now if we only could be bothered to actually read and understand it.
How many more back-space-doors are there ?
coat please .
I use a regular 240 outlet at 40 amps (outlet for an electric tange) . That is 9.6 kilowatt per hour. the high power pack is 85 kilowatt. So it is full in slightly less than 10 hours.
On an average day i only consume 50 miles of the 260 miles. so in under two hours the battery is topped off. In essence, the car is always full. For long distance driving , simply pull in to a supercharger and blast the battery in 30 minutes, if fully empty. on average you pull out in 20 mins so : drive 3 hours, grab a cup of coffee and visit the restroom and the car is charged. Oh, and it doesn't cost a penny. Supercharging is free for the life of the car.
Sure, why don't we all wait until 'the others' try it and fix the bugs... kinda like what happened with OpenSSL.. heartbleed ring a bell ? Must have been the same 'others' that were supposedly looking at that code since they had the source to it.
"If you have done any work on very small platforms (~2K of RAM) then you might like C more."
try with 32 bytes of ram ... and 2k rom. c will puke all over itself. it can't create its stack.
The trouble with 'c' is that it was developed for a cpu architecture that does not exist anymore : PDP-11. The c runtime library recreates the missing functionality. C is heavily stack based and wants to push everything on a stack to call a function and then pop it off. Intel cpu architecture is substantially different that 'c' has always fit 'wrongly'. There is a language designed specifically for intel architecture: PL/M. CP/M was written in PL/M, so was the iRMX operating system. One of the most bulletproof operating systems out there. Even a catastrophical hardware failure like a broken ram chip is survivable without bringing iRMX down. The kernel traps a parity fault , marks the affected block as bad, figures out what was loaded there , reloads it from storage( rom or disk) , remaps it and continues.
C is syntactically not bad, but it should have a better compiler. there should be an option where you specify : if an array is created it must be zeroed before use. after release it must be zeroed as well ( overwritten ) that simple option would have prevented heartbleed. any released memory is erased so there is no snooping in remainders. any allocated memory is zeroed as well. buffer overruns would be a thing of the past as the overrun space would be empty.
someone needs to design a better (safer) memory handling library for c.
They always find their way home ...
esethay arentay otntay hetnay igeonpays ouyay reajay ookinglay orfay ...
These emulators are very small, those emulators are far away ... small ... far away ...
Must be the Spanish counterpart to Palo Alto ...
Nividia ( and broadcomm of you are ont he Pi bandwagon ) probably have invested bajillions of dollars in the technology underpinning the chipset. Most likely the driver contains part of the work. There is only so much the hardware does. It is a symbiotic relationship between the hardware and the driver. the driver dynamically decides whihc approach vector is better to to xyz and dynamically swaps things around. This is part of their success.
So , by opening the sourcecode of the driver you are throwing away the keys to the castle !
Now your competitors have it waay much easier to see how you go about doing certain things ( as opposed to having to reverse engineer them from assembly and a trace on the logic analyzer.. )
As a company you do not want that ! ther's others out there witing to eat your lunch ...
Then there is the other nasty thing. Linus DELIBERATLY breaks the API compatibility in an attempt to force nvidia to release the source. Guess what... nvidia puts up the finger as well...
As for the Pi, there is yet another thing at play. The processor has HDMI with encryption on board.... they do NOT want people to find out how to disable that and hack away at this. So they deliver a closed driver that seals the cryptoblock. It would open an attack vector to disable all hdmi encryption and then a whole other can of worms opens up...
And there's no doubt licencing problems as well. Some blocks in the broadcomm chip can only be used if someone coughs up some serious dough to some licencing companies like Mpgeg , ITU , Silicon Chip and others. By sealing these capabilities broadcomm protects their butt against lawsuits.
Yes, the chip is technically capable , but it is the implementer that needs to cough up the licence fee.... failing due-diligence on broadcoms part to make it not to easy to get around this opens them to lawsuits.
using 4 ouput pins out would play 4 voice music. computer history museum has it.
and that's an all transistor ( no chips here ) machine ...
After all that is also a display of pictures that, when pressed in a particular way, speaks sentences... And then there's the giraffe, and the ladybug , and Ben the dog and all those others...
Have you actually tested that thing ?
Hook it up through firewire and the high power port is just that : a high power charger. you lose ALL USB capability.
Hook it up using USB and you lose the high power charger port. it becomes a dumb usb hub. Firewire disables as well.
You cannot hook it up using both cables. It is or USb, or Firewire ... not BOTH. and you need to sacrifice the usb ports or the high power charger ...
on USB the drive als o has the annoyance that it keeps waking up the MAc from sleep mode.
THe LEd's in the front require installation of a special piece of software form iomega that is also buggy. ...
In other words : FAIL. And, yes , i do have one. Sandpaper exterior. Works fine as a drive .. but that's it. the additional stuff doesn't work right.
my old gmechanical typewriter already uses a pad for every key supported by its own single long lever.
Kryten can call the cybermen a bunch of Smeeeeee Heeeeeeee. 's. and Cat can have a go at the chewy bits inside the daleks while mocking their poor dressing skills. As for lister and rimmer... business as usual...
'it has angry birds pre-installed'...
beam me up scotty , there is no intelligent life on this planet
or GWAR for short.... heh-heh - huh-huh -hehehehe -huhuhuh . those guys are cool.
It just strikes me as 'strange' that someone states : i will only use tools that have a red handle. I don't want any tools with blue or green handles , even if they get the job done better , faster and or cheaper. Only red tools for me... it's just ... i don't know... hard to grasp (from a pure functional perspective).
I don't really care what my computer runs as OS. Most of the time i use a windows based machine because most of the software i use is only available for windows. Sometimes i use Linux hosted programs ( mostly on a redhat server through a VNC ) simply because those only run there ( Mentor , Cadence ). In the past i did the same with Sun / solaris or HPUX hosted software. An operating system is something that lets you manage your files and launch programs. Webbrowsers ? Opera , Chrome , Firefox all exist for any platform. Clock , notepad exist on any OS. GUI's are all very alike.
I have an Android Tablet , an iPhone , a HPUX based logic analyser , a couple of windows computers , an ubuntu webserver , a windows Homeserver , multiple NAS boxes running a flavor of linux and even some esoteric machines running VxWorks. The Os doesn't bother me at all. All these devices do exactly what i expect them to do. If tomorrow there is a specific program that is IoS only that does a particular job that i just have a need for i may buy a mac. ( i will first check if that particular software exists for a machine / os i already have. just for economical reasons )
I have written some books. My publisher requires images to be supplied in illustrator format. I tried inkscape.. works well 80% of the time. So why go through the hassle for the remining 20%. Illustrator options are iOS or Windos. I have a win box. Ok decision made -> Buy Illustrator on existing hardware -> move forward.
I need to run Modelsim . That is originally a native unix app . Current licences are upgrades. Crossing to windows ports would be more expensive : solution : maintain unix based installations. Red Hat is the offical supported distro. It can run on others but you are on your own. Solution : get a redhat based machine from Hp or Dell ( pre-installed build ) , plunk modelsim on it , vnc into it. Done. Problems ? call maker of modelsim. ( if you are not on Red Hat : you are on your own... )
I don't have time to mess around trying to hammer in a screw or make my own screwdriver. Find the best tool for the job , see what is the economical way to get it ( in terms of already available machines / os-es ) -> go on. If no match , get hardware / os -> move on.
Anyway. that's my point of view. Nothing wrong with having a different one.
want win8 logo on box : lock bios down.
But NOTHING prevents you from also selling an unlocked version WITHOUT win8 logo on the box . you could even pre-load android. Same identical hardware. Just a matter of a different flash image ( one flash image has uefi bios + win8 , other image has non uefi bios and android.
Electronically NOTHING changes. same board , same chips. just a matter of what is stored in the flash .
The problem is going to be the law of diminshing returns. Do we really wan to go through the effort of creating a different flash image , print an alternat box / manual and push it on the shelves.. where it most likely will be collecting dust. There are already so many tablets out there...
This is something i frequently read, here, and in other forums as well.
I 'use' windows. I 'use' linux'. i 'use' this..
No you don't. The APPLICATIONS you run use the operating system for device and file i/o, memory management and all the other 'twiddly bits' that are required to run a program.
The reason for installing operating system xyz is because application abc requires it to run...
Some applications exist for multiple operating systems because the makers went through the effort of cross compiling them. In the end nobody uses an operating system directly. So do you really care what is running ?
Most people are prefectly happy if they can run programs to get some things done.
Just like most people need a car to drive from a to b. I don't care whether the timing belt is user replacable... or if i can change the cylinder heads.
I care if it has a decent stereo and navigation and if it behaves in a similar way to other cars i have previously driven. ( and It's got to have the steering wheel on the same side as all the other cars in the country of intended use, simply becaue of practicality)
Microsoft says : We have windows 8 for ARM. If you as a device maker want to install it : here is our criteria : this amount of ram , this graphics , this type of boot ( locked down secure boot )
Sounds like a fair demand to me.
The hardware maker can sell the tablet with win8 preinstalled. You as a user may not be able to modify it.
At the same time nothing provents the same hardware maker of releasing the same hardware with the bios lock disabled and android or linux installed. Or even a blank device. Nothing prevents them doing that.
Microsoft could push it furthere and simply not publicly sell Windows8 installation medium. Just like apple is not selling install disks. You can only get OsX by buying approved hardware that comes with it preinstalled. Microsoft is demanding exactly the same thing with win8 on ARM. Approved hardware. in this case : lock in place.
That lock does NOT prevent you from installing some other system. Simply apply the signed key for your distro and off you go.
Part of the issue is that tablets are seen as 'appliances'. Just like a tv is an appliance. ( this, by the way, is how apple categorises their products too. They are appliances ) . You'd be amazed on how many TV's, laser printers, settopboxes these days actually run a linux kernel. Any TV that can play netflix or blockbuster streams actually has a linux kernel on board. You have ZERO chance of modifying that one. You can't even demand that they disclose the system. The documentation of the TV includes the usual GPL and LGPL statements and they tell you what linux build they use ( most of the time this is MontaVista ). And that is where it stops. The custom code that was built on top is NOT available). Besides the core used there is typically a MIPS in combination with a custom graphics engine. You want to code for those chips ? Here's a few NDA's to sign first... and some fees to pay to various groups like HDMI and MPEG and others. Even before we let you use the precompiled libraries or disclose the API to those.
So what is next ? you are going to demand that you can install android on your TV-set ? or Laserprinter ? Sorry, ain't gonna happen.
Just my 2 cents...
anyone for designing an open source cpu ? intel compatible ?
with the effort being put into linux , this should be piece of cake right ?
too much wodka.. the damn thing is flying backwards ! ( with its solar panels pointed away from the sun )
either that ore some coder didn't know what the sign bit was for ...
i thinking is unsigned ... ok youri , i will kode iit as unsigned.
Not that the americans do any better. Remember the mars lander that became the mars burier... Speed was specced in kilometer and hour and the propulsion guys thought it was miles per hour .... oops. we're traveling 50% too fast. brake .... brake ..brake .. BRAKE ! BRAAAAAAAA - splat -
Cheaper to file a lawsuit and pay some lawyers than to run world-wide media campaigns.
Media will gobble it up .
Workarounds cost extra money and meanwhile other businesses that might want to enter the playing field will delay their product launch to see the outcome of the lawsuit..
so its a win-win-win situation : free pub , force competiton to extra cost and delay ...
really paranoid people delve their own ore, smelt it , make resistors, capacitors and ic's out of it solder all of that together and then write the phone's firmware using two buttons that allow them to type 1's and 0's.
then, and only then can you be sure...
We should all go back to 40 column 25 line amber monitors that use 5x8 pixel fonts that sit in rom. Try and hack those ....
so because a very few need to edit text over a 4800 baud link the whole worlds needs to locked to stoneage technology ? not good....
If, in todays age, you still use a 4800 baud link over satphone : find a new employer that can afford better links. Modern satphones are way faster than that !
I daily use a hex editor to poke around in rommable code or disk sectors... should we resolve that all keyboards only have 0..9 and a to F and mandate people to access their harddisk file system on track/sector/head level ?
Point is : apple makes stuff for the masses. And apparently the masses like it. That is, until something easier to use / more attractive/ more features/ comes along.
crybabies ! Look, i don't like OS-X or ios either , and for the same reasons: it's closed and a guilded cage. You can't fidget with it. But face it : in terms of friendlyness and easy to use ... nothing comes close. So yeah i have an iphone too. My PC's are all self built and i dabble in linux a bit too. Crying that iphone and mac kill 'free stuff' is just bullshit. If people wanna buy that, let them.
Besides there is nothing that prevents the open source community or Stallman himself to come up with a more attractive and even easier to use platform, do some killer marketing , build some really slick hardware, put it in a nice box and sell bajillions of it. But that means getting up and DOING something. Trying to sell a polished version of emacs isn't going to work... that's not what the big mass of people want. Same for loopey looney or whatever latest ubuntu is called these days or 'ice cream sandwich' or whatver droid is called.
Yeah i have a droid tablet ( actually i got two : one with 2.whatever and one with 3.1) and they are mediocre user experiences at best... ( no i don't have an ipad.. can't comment on that )
The droids lock up , scrolling isn't smooth and battery life is total and utter crap. The damn thing doesn't even have something simple like a spell checker. come on people... it's 2011... where is all this killer 'make-your-life-easy' stuff that we have been promised since the 80's.
The main problem with linux / android is that it is waaaay to fragmented. There are so main builds and strains , almost none that are comaptible with each other, you have to fidget with it to get it working right.
If someone were to make 1 system with 1 hardware spec and really tune the hell out of it, preinstall it , polish the user interface and make some programs for it that are actually feature complete and work right, you could do the same as Apple. But right now : it is a hobbyist / tinkerer platform that is no where near ripe to unleash to the unwashed masses.
Don;t get me wrong , it is great to play and tinker with the system , but that is NOT what the big masses want. They want to snap a few pictures, effortless correct them and send them too fabesook or flitter or grandma. They don't need to grep -r ls -l tar or all that other stuff...
As for emacs .... meh .. it's 2011. wysiwyg with spell checker is what i want... preferrably with imbedding of images, tables and more. And if it's to write code : give me a full blown ide with built in debugging , autocomplete and realtime code checking a-la visual studio.
'Empty' flash memory is sert to all '1'.
Erasing a flash cell sets it to logic high...
So writing means only zeroes get written....
Thus : storing more books creates additional zeroes : tablet becomes lighter ...
a factory fresh device will be heavier than a used one.
Food for thought : deleting something only erases the index pointer... the data is still there until overwritten.
you have got to be kidding me...
even 10 years ago leaving a life critical system unencrypted is blatant stupidity...
It can be easily solved : only accept incoming transmissions provided a button is physically held down on the device. like enter a special menu. then select option 'enable receive' and keep holding the 'ok button. if you let go of the button the link is terminated.
hardware mechanisms require physical access to the device.
coat please ...
Xerox PARc is no longer around... Niether is Douglas Engelbart.
They may have spent all the pennies they had to destroy appel. After all, that windowing system and mouse point-n-click business was their idea with the NLS and xerox alto ...
is that in times of global economy struggles an OIL company is the most successfull ....
The economy is in shambles and big oil has us all by our private parts at 4$ a gallon...
Wanna boost the economy ? Force big oil to sell fuel back at 1$ a gallon... you'll see an instant economy boost ! . people will have more money in their pocket which they will spend...
They are raking in monstrous profits and pay less taxes than they give money to their CEO...
black helicopters because , well you know... big oil protects their interests...
The uefi simply want a signed loader.
if MS changes the loader they have to sign it and provide the key.
So, if you mod your loader you need to sign it. Why should linux user be treated differently than MS. The rules are clear : You want to boot ? give me the key .... The UEFI is neutral in this respect.
the bios adds a check before boot : give me your signature , and checks this against a stored list of 'known good' signatures. if the key does not match it refuses to boot.
Good ! this prevents malware.
Linux ? should'nt be a problem. just get a signed version and hand the key to the bios. done.
oh wait... ehm yes is think is see the problem... with so main strains, forks and custom builds of linux there is going to be a massive amount of keys .... and someone will have to fork over some dough to get all these trusted key ... wow. and ubuntu crancks out a new version almost every day... thats gonna be a problem.
you never hear the envionmentalist complain about all the smoke and poisonous gases ( gunsmoke , burnt powder , propellant , fuel) a typical war produces.....
Maybe we should start using envionmentally friendly and renewable weapons.
I'd love to see the day where two enemies would yell at each other , come here so i can smack you with this bunch of daisies.
in the 50's we saw the first computers. humongous beasts , vacuum tubes, few ten thousand calculations a second. engineers and scientists can create things faster.
in the 60's we transistorized them. clock goes up tenfold , we land people on the moon
in the 70 we integrate them. we get desktop calculators. now we are really cracking.
in the 80 we get personal computers. now everyone will be able to design complex things with the assitance of these wonderful machines.
que forward. 2011. The average cellphone has 1000 the computing power of the first vacuum tube machines, features haptoc feedback , 3d high resolution displays, all kinds of instant information access. And what does the human race do with them? THEY PLAY ANGRY BIRDS !
in other words, the technology has evolved to the point where the human race has devolved... we have fallen behind.
just offer a number of plans
- streaming only
- dvd only
- blueray only.
and then have the permutated bundles
stream + dvd
stream + dvd + bluray
dvd + bluray
stream + bluray
depending on what 'bits' are on you can browse a selection form the catalog.
no renaming needed, no splitting of the company , no splitting of the database.
it;s just option bits in the filter and the billing.
Brilliant no ?
So why didn't they do it ? i smell a rat.... like a shareholder rat.... netflix is the usps's largest customer. This shipping cost weighs on their net profit margin. By splitting off they can now claim 'netflix i xyz profitable' ,, quickster ' less'.. instant shareholder bonus .... and quickster will die in a few years as the entire media landscape is changing with the advent of web connected TV's and tablets with streaming capabilities..... the shine silver diks are going the way of vinyl... remeber the scen in BTTF2 where they had all the laserdiks wrapped up ready to throw in the mrFusion.... ( right about when marty gets his Nike shoes from the doc ... ) It ain't that far off you know.. 2015 ...
why can't we have a server side push to update a single element on a page.
it should be possible to create an updatable section of a page. Browser could respond to a change in a textbox or a pulldown list by sending a request to the source of the webpage. ( there would be no override )
let's say you have a page with a pulldownlist a textbox and a submit button served from www.myserver.com. The definition of this textbox,list and button sits between special html tags <section='reply'>
change the pulldownlist 'country'
browser sends : www.myserver.com/session=kdfjskdfhj:country='new zealand'
This tiggers that the temporary user 'kdfjskdfhj' just changed his pulldown list to something new.
The browser now pulls in www.myserver.com/session=kdfjskdfhj:section=reply?
where the server has posted the updated html code for that portion.
you would not need scripting. html would be extended with 'area's that can be updated by the server. this would avoid full page reloads. only the html code for that portion is updated. since the layout does not change the browser is speedy too : it only needs to repaint that section.
the mechanism woudl be made in such a way that there is no 'go-to' address avaialble. the browser can only send it back to the machine that served the page in the first place. so no spoofing there either.
that nWP pin is going to get a wire strap to ground...
(notWriteProtect : a pin on the bios chips that, if pulled low physically blocks the flash chip to be rewritten) Most motherboards these days use SPI flash chips like 25M90's and alike. These all have such a pin. Some motherboards already have a jumper to tie this pin down.
Also parallel flash has this.
when they get rid f the semicolons at the end of a line... any compiler that cannot use the standard ascii <CR> or <CR><LF> pair to find out where a line ends is a stinking dinosaur.
And don't start about splitting long instructions across mulitple lines. Just use a continuation character in that case. ( or make your code more simple. )
Biting the hand that feeds IT © 1998–2017