Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Comment Re:Shorthand for Assembler (Score 1) 793

I agree with your comments. When I started with the Lifeboat compiler "back in the day" I could visualize the assembly that would be generated with the C code being written. Reading from K&R, it's clear that constructs such as switch(), prefix/postfix increments and the like, the register modifer, etc. were all there to make it easier to generate straight-line assembly in a friendlier syntax (I seem to recall that it would, in fact, generate an assembly source listing if requested.). Even the #asm shows the intimacy between the two. To your points, modern compilers "interpreting" C source into something that is much smaller/faster may get a Good Thing in the long run, but I miss the days when I could just code and know exactly what the compiler would produce. I also remember those times I had to write subroutines in assembler because the compiler refused to produce what I wanted. Sometimes the optimizer is wrong.
Security

Submission + - Hacker Group Demands 'Idiot Tax' From Payday Lender (infoworld.com)

snydeq writes: "Hacker group Rex Mundi has made good on its promise to publish thousands of loan-applicant records it swiped from AmeriCash Advance after the payday lender refused to fork over between $15,000 and $20,000 as an extortion fee — or, in Rex Mundi's terms, an "idiot tax." The group announced on June 15 that it was able to steal AmeriCash's customer data because the company had left a confidential page unsecured on one of its servers. "This page allows its affiliates to see how many loan applicants they recruited and how much money they made," according to the group's post on dpaste.com. "Not only was this page unsecured, it was actually referenced in their robots.txt file.""

Comment Amazing! (Score 1) 414

Yet another Microsoft product that is meticulously planned, engineered, and executed such that no one will want to pay for it. Except Mr. Bill, that is.

MS: "Here's our version of an established service, but ours has more restrictions and costs more!"
Mr. Bill: "Sign me up!"
Everyone else: "Pound sand!"
PHP

Journal Journal: Interesting PHP snippet

few simple lines of PHP (or equiv in any other language) can pull the real IP from a non-anonymising proxy:

<?php
User Journal

Journal Journal: Motorcycle Notes

2005.05.15 ==============
Oil and Filter Information

Oil Filter OEM: #16097-1054, #16097-1056

2005.04.13 ==============
Kawasaki Dealer 10 miles from work:

WILD WEST KAWASAKI
22515 KATY FWY
KATY, TX 77450-1535
(281) 392-8850 Phone
(281) 392-6162 Fax
(281) 392-8940 Service

2005.02.01 ==============
Ordered MOM from

Houston Kawasaki
(713) 783-3844
5802 Southwest Fwy
Houston, TX 77057

$16 or so. Charged to AMEX.

User Journal

Journal Journal: Time-Sliced Procedures in Javascript

/////////////////////////////////////////////////////////////////////////////////////////
//
// clsTimeSlice
//
// The atomic time slice object. Represents either a function call or a method call
// to an object. The evoked function/method must answer false to continue processing, or
// true to terminate it.
//
function clsTimeSlice( fnSlice, objObj, name, latency )
{
this.fnSlice = fnSlice;
this.obj
Programming

Journal Journal: Sleep functionality in Javascript

There really is a deep need for a sleep() function in javascript. That is, a function that suspends the current thread so that some other thread(s) can complete processing. Currently, however, Javascript does not have a sleep function, but one can be simulated using window.setTimeout, but its not as simple as an embedded sleep() call would be.

Slashdot Top Deals

"Probably the best operating system in the world is the [operating system] made for the PDP-11 by Bell Laboratories." - Ted Nelson, October 1977

Working...