I never stated that regular expressions were limited to matching strings with limited length; instead, I said that strings of limited length could be matched by regular expressions. A rudimentary familiarity with logic may be useful to you.
Strictly speaking, it does, but it might be large. As a quick and dirty test, here's the result of evaluating (regexp-opt (loop for x from 0 to 700 collect (format "%d" x )) nil) in Emacs:
What regular expressions can't do is match strings that aren't described by a regular language. Roughly speaking, if what you're trying to match has a maximum length, you can match it with a regular expression. (For a more formal description, see the Pumping Lemma.)
This is the kind of crap that results from a casual disregard for plagiarism in schools. It's awful here in the states, and I imagine just as bad in Canada. Copying that freshman assignment leads to copying conference reports later on in life. Any form of plagiarism is corrosive to real progress.
Not anywhere near quickly enough, considering that the vast majority of polycarbonates still contain BPA. As long as the cost saving of BPA exceeds the sales lost, companies won't move a bit. Parents with young children tend to be hyper-vigilant, so sure, companies will remove BPA from baby bottles. But people don't pay as much attention to other products.
This industry has no sense of its own history. Instead of benefiting from the innumerable hours past programmers spent solving universal problems, we ignore and reject their work, and with only a few exceptions, we spend countless hours solving solved problems.
By the time we work through the mess, another generation of programmers will have rejected our work, and will be well on the way to repeating the cycle. It's depressing as hell.
(Come to think of it, I don't think I've ever written a post that offended so many software developers simultaneously.)
* RDBMs systems didn't come first; people started using them over navigational databases for good reasons that still apply today.
Or are people not suppose to vote for the guy who they feel is the most qualified? When did casting a ballot equate to throwing away your vote if your guy doesn't get elected?
Yes. That's our system. It's not the one we should have, but it's the one we do have. To cause change, we either need to work within the system or start a revolution, and me, I'd much prefer the former, thanks.
Craigslist makes money and regardless of my feelings on free speech, it shouldn't be profiting from illegal activity.
Are you implying that your opposition to illegal activity is stronger than your commitment to free speech? That's the sentiment evil men use to create nightmare police states.
Sufficient demand for a service will create a market. Maybe, instead of trying to plug the extraordinarily leaky dike holding back vice, we should embrace, tax, and regulate it. Craigslist prostitution ads aren't a problem per se: they merely constitute another signal telling us it's time to re-examine some of our old prejudices.
The gist of it that the Java Calendar code temporarily elevates its privileges in order to deserialize a ZoneInfo object. If you substitute your own object's serialization for the ZoneInfo, you can get the Java runtime to create any object you want. Some questions:
Didn't anyone realize how dangerous arbitrary privilege elevation is?
Didn't anyone think that it might be overkill to elevate privileges in order to read a timezone?
How many other similar vulnerabilities are lurking in the standard library?
I know you're kidding, but holy crap are hybrids ever fools' gold. The nerd in me thinks that regenerative braking is too cool of a technology to just ignore, but we need to figure out a do this without causing more NET carbon output, and without the terrible battery-chemical-mining pollution to boot.
When will you people stop touting this ridiculous myth? It's been thoroughly debunked.
Science "proves" nothing. It merely provides supporting evidence. You should be automatically skeptical of anyone who uses the phrase "scientifically proven" --- either he's lying to you, or he doesn't know the caveats that go along with the scientific method.
That's an excellent idea, actually: a (non-refundable) tax credit for gym memberships, exercise equipment, and so on. Write your congresscritter and propose it. (Or write your state legislator, who might be more responsible.)
select and poll are perfectly fine for small network daemons. Sometimes the reduction in code complexity is worth a negligible performance hit. Not every program needs to wait on 10,000 sockets all at once.
Indeed. Transporters are too powerful and require too many plot contortions. Every Trek series has had to deal with these devices by finding ways to temporarily disable them and move the plot forward. If transporters would stop working and if time travel were to become impossible, the Trek universe would be better off for it.
You probably want the US Metro Area Rankings instead, actually. Unfortunately, a lot of economic activity occurs outside of cities. (tl;dr: sprawl.)
I never stated that regular expressions were limited to matching strings with limited length; instead, I said that strings of limited length could be matched by regular expressions. A rudimentary familiarity with logic may be useful to you.
Right. A finite length is a sufficient, but not necessary condition.
Strictly speaking, it does, but it might be large. As a quick and dirty test, here's the result of evaluating (regexp-opt (loop for x from 0 to 700 collect (format "%d" x )) nil) in Emacs:
"1\\(?:0[0-9]\\|1[0-9]\\|2[0-9]\\|3[0-9]\\|4[0-9]\\|5[0-9]\\|6[0-9]\\|7[0-9]\\|8[0-9]\\|9[0-9]\\|[0-9]\\)\\|2\\(?:0[0-9]\\|1[0-9]\\|2[0-9]\\|3[0-9]\\|4[0-9]\\|5[0-9]\\|6[0-9]\\|7[0-9]\\|8[0-9]\\|9[0-9]\\|[0-9]\\)\\|3\\(?:0[0-9]\\|1[0-9]\\|2[0-9]\\|3[0-9]\\|4[0-9]\\|5[0-9]\\|6[0-9]\\|7[0-9]\\|8[0-9]\\|9[0-9]\\|[0-9]\\)\\|4\\(?:0[0-9]\\|1[0-9]\\|2[0-9]\\|3[0-9]\\|4[0-9]\\|5[0-9]\\|6[0-9]\\|7[0-9]\\|8[0-9]\\|9[0-9]\\|[0-9]\\)\\|5\\(?:0[0-9]\\|1[0-9]\\|2[0-9]\\|3[0-9]\\|4[0-9]\\|5[0-9]\\|6[0-9]\\|7[0-9]\\|8[0-9]\\|9[0-9]\\|[0-9]\\)\\|6\\(?:0[0-9]\\|1[0-9]\\|2[0-9]\\|3[0-9]\\|4[0-9]\\|5[0-9]\\|6[0-9]\\|7[0-9]\\|8[0-9]\\|9[0-9]\\|[0-9]\\)\\|7\\(?:00\\|[0-9]\\)\\|8[0-9]\\|9[0-9]\\|[0-9]"
What regular expressions can't do is match strings that aren't described by a regular language. Roughly speaking, if what you're trying to match has a maximum length, you can match it with a regular expression. (For a more formal description, see the Pumping Lemma.)
This is the kind of crap that results from a casual disregard for plagiarism in schools. It's awful here in the states, and I imagine just as bad in Canada. Copying that freshman assignment leads to copying conference reports later on in life. Any form of plagiarism is corrosive to real progress.
Not anywhere near quickly enough, considering that the vast majority of polycarbonates still contain BPA. As long as the cost saving of BPA exceeds the sales lost, companies won't move a bit. Parents with young children tend to be hyper-vigilant, so sure, companies will remove BPA from baby bottles. But people don't pay as much attention to other products.
Can the US government finally get on the fucking ball and ban BPA? I'm sick of catering to business interests.
Thanks.
We repeat the same lessons every generation, don't we?
We have our own terrible business languages, our own non-relational databases*, our own stupid development fads, our own overwrought RPC protocol, our own profoundly ignorant ways to "disable" things for the user, our own wasteful incompatibilities, our own locked-down propretiary platforms, and the same casual disregard for proper security.
This industry has no sense of its own history. Instead of benefiting from the innumerable hours past programmers spent solving universal problems, we ignore and reject their work, and with only a few exceptions, we spend countless hours solving solved problems.
By the time we work through the mess, another generation of programmers will have rejected our work, and will be well on the way to repeating the cycle. It's depressing as hell.
(Come to think of it, I don't think I've ever written a post that offended so many software developers simultaneously.)
* RDBMs systems didn't come first; people started using them over navigational databases for good reasons that still apply today.
Let's call this process the Virtualization Treadmill, like the better-known Euphemism Treadmill.
Yes. That's our system. It's not the one we should have, but it's the one we do have. To cause change, we either need to work within the system or start a revolution, and me, I'd much prefer the former, thanks.
My Prius already *has* a perfectly good touchscreen. There's no reason it couldn't also display diagnostic information.
Are you implying that your opposition to illegal activity is stronger than your commitment to free speech? That's the sentiment evil men use to create nightmare police states.
Sufficient demand for a service will create a market. Maybe, instead of trying to plug the extraordinarily leaky dike holding back vice, we should embrace, tax, and regulate it. Craigslist prostitution ads aren't a problem per se: they merely constitute another signal telling us it's time to re-examine some of our old prejudices.
technical details here.
The gist of it that the Java Calendar code temporarily elevates its privileges in order to deserialize a ZoneInfo object. If you substitute your own object's serialization for the ZoneInfo, you can get the Java runtime to create any object you want. Some questions:
When will you people stop touting this ridiculous myth? It's been thoroughly debunked.
Science "proves" nothing. It merely provides supporting evidence. You should be automatically skeptical of anyone who uses the phrase "scientifically proven" --- either he's lying to you, or he doesn't know the caveats that go along with the scientific method.
pv < /dev/zero > /dev/device is pretty nifty too.
That's an excellent idea, actually: a (non-refundable) tax credit for gym memberships, exercise equipment, and so on. Write your congresscritter and propose it. (Or write your state legislator, who might be more responsible.)
There was a kernel bug, and most likely also a bug in the OP's program. No program, no matter how badly written, should cause a kernel panic.
select and poll are perfectly fine for small network daemons. Sometimes the reduction in code complexity is worth a negligible performance hit. Not every program needs to wait on 10,000 sockets all at once.
So use a wrapper, like sctp_send from libsctp. There's no reason the kernel proper has to export these interfaces.
Iowa's a mighty progressive place these days, actually. I'm from New York, and even I have to admit that Iowa City isn't half bad.
There is no such limit.
Indeed. Transporters are too powerful and require too many plot contortions. Every Trek series has had to deal with these devices by finding ways to temporarily disable them and move the plot forward. If transporters would stop working and if time travel were to become impossible, the Trek universe would be better off for it.