Malus
Malus on Hacker News
This doesn't work well for those who are wheelchair-bound or in crutches.
IceWeasel was created to work around trademark restrictions; Mozilla Corporation would not allow to Debian to use the trademarked names as long as Debian was distributing the software with unapproved patches. So, Debian created their own branding in order to comply. See
http://en.wikipedia.org/wiki/Mozilla_Corporation_software_re... for more details.
If you live in the city and use the subway often, it is easier to get a 30-day unlimited ride pass. Lots of employers will even provide monthly unlimited ride passes as a pre-tax benefit via TransitChek.
When I was in high school and college, they typically only banned calculators that had full keyboards (e.g. TI-92). I believe I was allowed to use a TI-89 on both the SATs and the GREs.
Garbage Collection: Algorithms for Automatic Dynamic Memory Management is the original book, whereas The Garbage Collection Handbook: The Art of Automatic Memory Management is the new and updated version. I have the original, but it would be nice to know everything the new book adds.
Maven can generate one for you:
mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
Which is not trivial I suppose, but it is pretty easy to do.
It now reports overflow instead of crashing, but the first case is still incorrect:
$ which expr
/bin/expr
$ expr \( -9223372036854775808 \) \* -1
-9223372036854775808
$ expr \( -9223372036854775808 \) / -1
expr: overflow
Looking at the source code:
void
assert_times(intmax_t a, intmax_t b, intmax_t r)
{
/*
* if first operand is 0, no overflow is possible,
* else result of division test must match second operand
*/
if (a != 0 && r / a != b)
errx(ERR_EXIT, "overflow");
}
struct val *
op_times(struct val *a, struct val *b)
{
struct val *r;
assert_to_integer(a);
assert_to_integer(b);
r = make_integer(a->u.i * b->u.i);
assert_times(a->u.i, b->u.i, r->u.i);
free_value(a);
free_value(b);
return (r);
}
void
assert_div(intmax_t a, intmax_t b)
{
if (b == 0)
errx(ERR_EXIT, "division by zero");
/* only INTMAX_MIN / -1 causes overflow */
if (a == INTMAX_MIN && b == -1)
errx(ERR_EXIT, "overflow");
}
struct val *
op_div(struct val *a, struct val *b)
{
struct val *r;
assert_to_integer(a);
assert_to_integer(b);
/* assert based on operands only, not on result */
assert_div(a->u.i, b->u.i);
r = make_integer(a->u.i / b->u.i);
free_value(a);
free_value(b);
return (r);
}
Looks like the check for overflow in the multiplication case is broken since the check itself does not account for overflow. I'll try to remember to submit a patch when I get home.
Looks like it is fixed now:
$ expr \( -2147483648 \) \* -1
2147483648
$ expr \( -2147483648 \) / -1
2147483648
$ uname -srm
FreeBSD 10.0-RELEASE amd64
Or maybe it doesn't work on i386?
Look at the date of the RFC; I am pretty sure that this document was not meant to be taken seriously whatsoever.
That is because the tab on line 4 was converted to 4 spaces. A simple find + replace fixes the problem.
From what I understand, Rick Rubin wanted it mastered that way so it sounded "louder" (yet another casualty of the loudness wars) and the band just went with it. Unfortunately, the average consumer (or band member apparently) couldn't care less about audio quality, so it is no surprise that Lars has no qualms about it.
I cannot find a working link for the original interview, but BlabberMouth has the quote you are referring to: http://www.blabbermouth.net/news/metallica-s-lars-ulrich-bre...
Lars may be an asshole, but it is unfair to say that he made less of a contribution to the writing that Cliff did. Lars has writing credits on 8 tracks of
Kill'Em All [0], 8 tracks of
Ride the Lightning [1], 8 tracks of
Master of Puppets [2], and 9 tracks of
...And Justice for All [3], whereas Cliff only has 1, 6, 3, and 1 tracks on said albums respectively. Furthermore, James wrote nearly all of the lyrics himself, so I really don't see how Cliff can be considered the driving force behind the writing of Metallica's early music.
[0] http://en.wikipedia.org/wiki/Kill_%27Em_All#Track_listing
[1] http://en.wikipedia.org/wiki/Ride_the_Lightning#Track_listin...
[2] http://en.wikipedia.org/wiki/Master_of_Puppets#Track_listing
[3] http://en.wikipedia.org/wiki/...And_Justice_for_All_%28album...
Two regular expressions are sitting at a bar and having a drink. A big, context-sensitive string walks over and steals the drink from the first regex. The second says to the first "Are you going to let him bully you like that?" The first replies "Yeah, I'm no match for him."
The point of the benchmarks is to compare compilers on the Windows platform, so there is no reason to bench other operating systems.
I have Verizon FiOS as well. As luck would have it, you are not required to use the router as your router (though I agree that the router is serviceable). I have an ethernet cable coming directly out of the FiOS ONT to my FreeBSD-based router. I use the Verizon router on my LAN as a MoCA bridge for my TV's set top box. Seems to work perfectly fine, though Verizon claims that their router is required for optimal QoS (I use ALTQ instead).
My '09 Toyota Corolla has hooks that keep the floor mats in place. The only way to jam the mat underneath the brake pedal would be to do it deliberately.
It is not too difficult to generate small binaries from C++ code; modern C++ toolchains have link-time optimization (
http://en.wikipedia.org/wiki/Link-time_optimization) and can optimize for size (-Os). Code size is rarely an issue in the C++ projects I work on (numerical and discrete event simulations).
I doubt it considering that it is now owned by IBM and that it is still ridiculously faster than the competition.
mini[~ 111] uname -a
Darwin mini.local 10.3.0 Darwin Kernel Version 10.3.0: Fri Feb 26 11:58:09 PST 2010; root:xnu-1504.3.12~1/RELEASE_I386 i386
mini[~ 112] which fetch
fetch: Command not found.
Unfortunately, it does not. I use fetch all of the time on FreeBSD, so it is a little obnoxious to have to go and install wget from MacPorts.
The not-so-modern language that IE is written in (C++) has a similar construct (std::vector) in its standard library. It is possible that code was originally written prior to the widespread adoption of the STL and was never updated to use it.
The update to 2.0.1 on the Droid fixed a lot of the lag problems (well, at least for me anyway).
You could use find, but it is easier to use the built in facilities to search for ports. If you are in the ports directory you can:
make search name=name_of_port
to search for a port by name and:
make search key=key_to_search_for
to search by key. You can also use quicksearch instead of search to reduce the verbosity of the results. If you read the ports man page, you will find a bunch of other nifty things you can do with the ports system.
FreeBSD does allow for the inclusion of other licenses. The GPL 2 and CDDL are two prominent examples (though they are actively trying to remove as much GPL code from the tree as possible). Users who are unhappy with CDDL licensed code still have the option of disabling it in FreeBSD's build.
It is probably only good for communications. A spinner with poor attitude control (you do not really have a lot of room for good mechanical or optical rate gyros, not to mention the lack of any means to perform orbital maneuvers) and small payloads will probably not work well for imaging or radar.
However, there are a lot of companies and universities looking into small satellites, since it is much, much cheaper than launching larger satellites with expensive payloads. There is a lot of research in the area and a lot of small sat conferences as well (e.g. http://www.smallsat.org/). If this pans out, it could be the end of the US government's large satellite oligopoly, which currently consists of only a few large companies like Lockheed Martin (disclaimer: that is where I work) and Boeing.
Last time I checked, Firefox and Safari have built-in spell checkers too (and both browsers probably had the feature before IE did). The only reason not to use Firefox is because it would cost too much to make all of the IE-only sites work in it.