Did really nobody think of
[code]
i=100; while(i) {log(i--)};
[/code]
resp.
[code]
for (i=100;i;) log(i--);
[/code]
Did really nobody think of
[code]
i=100; while(i) {log(i--)};
[/code]
resp.
[code]
for (i=100;i;) log(i--);
[/code]
@fbmac said in Windows 10 search ignores exe files:
the best windows ever made (3.11) didn't have search
It didn't NEED search, there was always the MS-DOS shell at your fingertips - like dir /s filenamepattern
Which happens to be the way I use most often for searching files / folders under Windows 7 ff.
I'd suspect nice try to get you to fix a bug on their system.
WTF? Several is not the same as one, but a subset. Has always been so in mathematics.
@accalia said:There are patterns in primes, far more than we would expect in a truly random set.Ah, the No True Random defense. Your still wrong. That the human brain, pattern detector par excellence, can detect patterns in randomness does not show that said randomness isn't random.
Time to drink another Ouisghian Zodah do trown oru dispare wee carn'd proofe de pattrons we regnize.
Has anyone showed any larger than atomic scale observations of quantum randomness? What's the largest apparent random effect?
Interesting thought from a physics book: How long would it take a pencil with a sharp tip to tip over if it was positioned exactly balanced on its tip? (According to quantum mechanic, there's an uncertainty in the angular momentum around an axis, in this case, we take one of the horzontal ones.)
1764839266 is actually not a prime number.
Did you try all possible bases?
[spoiler]It's always even, no matter the base (as long it's greater than 9) reason: [spoiler]even number of odd figures[/spoiler][/spoiler]
[spoiler] tags don't nest very well...
Would there be any choice of language that would NOT be raisinable?
Nope. How is it different from climbing Mount Everest with bad equipment in the 60s? Or Wingsuit base jumps?
Good point.
Or, like the people that tried to sail around the Earth.
After all, playing, even with our lives, is inherent in our genes. And of tremendous advantage to the adaptation of our species.
Anyway, the people climbing the Mount Everest in those times got the best equipment that was available and they could afford.
The linked-to article doesn't state whether those tourists knew that the guide was unauthorised, or at least were in a position where a sane person had enough evidences to have deliberately shut their eyes to not estimate that very probable.
If an average sane person wouln't suspect the guide unauthorised, it would be a sad accident, if the guide was e. g. much cheaper than the official ones, those tourist would IMNSHO very well qualify for a Darwin Award.
@PWolff said:tragedy is the right wordYes. Young an beautiful and full of life, and of course dumb.
I keep forgetting that the word "tragic" is demoted to the meaning of "sad".
In the original sense, it related to the Ram (Greek tragos) Festivals, then to the classical theatre where a human challenges the deities or Fate and gets put down in turn.
If this was a classic tragedy, the guide would become an atoner for the rest of his lifetime.
Just some other Darwin Award candidates, so what.
I wonder if tragedy is the right word. Maybe, because they challenged the powers above them and duly failed.
I've looked up that brand of sugar.
The stupid thing is the "carbonfree" label.
What they mean is that it has a zero environmental carbon dioxide footprint, so it actually does make
sense.
That post is already 2 (disco)hours old and still nobody said it is obviously the discosame picture? Maybe a bit disco(co)mpressed.
According to Marx ("opium of the people"), the other way round.
@Luhmann said:Time to embrace the madness!
Hint: To find out whether you haven't done exactly that long ago remember what forum you're on.
There's a difference between refusing networks altogether and having fallbacks whereever possible.
When it works, it's great. When it doesn't…
That.
My boss is one of the rare voices in the wilderness that preach that a network, any network, is to be treated as unreliable, and a wide area network the more so.
Cue an excavator having a meeting with a glass fiber line, and an entire industrial quarter without Internet access. And thousands of employees unable to do their work.
the Android SDK contains an XML 'parser' written in awk. It changes the record seperator to >, then much fun is had.
Can you give a source, please?
Somebody must've written that as some sort of joke.
Or really serious. Maybe an ex-discodev that was sacked for being too sane?
I have no fucking clue who the hell thought this was a good idea.
The only sane man that knew that you can't trust third-party XML parsers. And the XML specs limit the total number of tags to 999.
Ah! but that title contained both'
and"
... so what's a good dev to do?! Either delimiter you use will be wrong!
A good dev would write some JavaScript that makes clever™ guesses which '
s and "
s are part of a value and replace them with a similar characters like ‘
and “
. And/or replaces all "
s by double ''s.
I think that list is very useful for handling the most urgent stuff with highest priority:
ignore everything marked "Critical" (for that's mostly "That button is the worst wrong shade of pink it could be!"
work on everything else, items marked "Low" first, because that's the ususal irony and the best way to make something stand out
Next, ignore "Trivial" because that's what the users think is trivial to fix
Next, go for Major, then Minor, then Medium, then High.
Have noticed that too, meanwhile.
Because c is the integer value of the ascii representation - i.e. it terminates the conversion on the first occurrence of a literal 0 in the string.
A literal '0' is 48, though.
I've tested it in Visual Studio's C++ - that bastard compiler converts '0' to false!
@NedFodder said:Search-and-replace every instance of the massivefscanf
and hope you don't miss one.
...."%s %d %d %d %d %x %x %d %d %d %d %d %s %d %d %d %d %d %d %d %d %x %d %x %x %x %d %d %d" ```</blockquote> At least it's an easy string to search for...</blockquote> If only the first 25 or so settings are needed, why parse the entire file?
fscanf (config, "%s %d %d %d %d %x %x %d %d %d %d %d %s %d %d %d %d %d %d %d %d %x %d %x %x",port,&baud,&footype,&ftype,&retrycount,&mask,&rfl,&xyzsize,xyztype,&passcount,&verbo,&portnum,station,&keyenab,&abc_delay,&footype2,&ftype2,&prdydelay,&ppagedelay,&rst_tim,&spdabc,&(unsigned short) lptport,&silence, &abc_read, &resetable);
is considerably shorter, after all. @Dragnslcr <a href="/t/via-quote/54562/6">said</a>:<blockquote>I've always thought it was kind of annoying that there are so many similar-but-slightly-different formats for configuration files.</blockquote> Right. Everything should be comma-separated XMSON.
@NedFodder said:&(unsigned short) lptportI'm struggling to figure out how this compiles.
Maybe it is just a clever way to extract the lower 16 bits of lptport?
Edit: I had to ponder a few seconds about whether it is more probable that the code is running on an architecture with little endian or big endian integer representation.
The variable go
is totally superfluous.
Why not ERR_DOING_IT_RIGHT
and use c
for this purpose too? After all, any proper C string is ended by a zero.
int val=0;
char c=0;
do
{
val=(val<<4)|c;
c=toupper(*string++);
c=((c>='0' && c<='9')||(c>='A' && c<='F'))?(c>='A')?(c-'A'+10):(c-'0'):0;
} while (c);
If people want to disable Javascript, that's their choice. Just don't then do the next thing that most noscripters move on to, which is moan about how some website doesn't work when they've turned off an integral part of what makes it work.To use a car analogy, if I take the battery out of my car because acid is dangerous, I have no right to complain that my headlights don't work and I have to bump start it every time I want to go anywhere.
I'd rather try to avoid renting a car (which is a better analogy to websites than owning one) that uses its battery to continuously play a radio station that doesn't share my taste of music, show off the flashy color-changing leg room illumination, automatically honk the horn for me whenever someone before me stands more than 2 secs in front of a green light, etc.
And if too many rented cars would have such "features", I'd disconnect (not take out) the battery and connect one load after the other until I've found a combination near the optimum according to my preferences.
@RaceProUK said:basic fucking usability...by people who have intentionally made their web experience less useable.
Should cars be usable by people without arms to cater to people who decide they want to drive in a straight jacket?
Why not?
(Pity that only the German version mentions that some of them actually were foot-steered.)
That's not the strangest game played in Computer Science.
I took whatever gave me. And modified it a bit with LibreOffice Draw.
I think 75% of us will say "stole it from the internet."
That low?
That high. And 24% of us will say "found it somewhere on the Intarwebz" (or similar).
Chinese 12-year-olds who will ultimately end up with cancer.
And that's the lucky ones.
Not since Vatican II, they aren't. They don't even use rulers anymore.
So they don't call the Pope a ruler anymore? Or do you mean they won't get anything straight anymore?
How do you even cook something like this
Note: according to the preview, oneboxing disregards anchors. If this is the case here too, please click on "Preparation" on that page's index, or use this link.
Edit: likewise in the cooked version.
(In Germany, they're called Windbeutel (windbags), btw.)
McDonald’s Customers Complaining Because Mozzarella Sticks Should Contain Cheese
(Why is it so important that there's no line break between "Contain" and "Cheese"?)
Some would say, I'd expect them to contain mozzarella, but where's cheese even mentioned?
Oh yes, I almost forgot computer keyboards need lubrication with edible fats.
Sounds like vapor powered bugfix freeze to me.
How do I recognize it: I open my development environment.
How do I prevent it: I make a list of all fixes and new features and apply them one after the other to each of the previous versions, trying to break as little as possiblefeasible within the available timewhatever.
How would I recover ifwhen I find myself in the middle of it: ERR_UNKNOWN_WORD: recover
https://en.wiktionary.org/wiki/rocket#Verb names five possible meanings of "to rocket":
Which of these does Trump do to science?
I did.
But let me see you search for such a thing on a 2 TB disk without remembering some unique keyword.
Then try to remember what you wanted to do in the first place.
That's why I always write down what I want to do. If only I could find my list where I put my notes...
What do they give you in Germany?
Odd looks that someone like you has the audacity to apply for open an account.
They're actually discussing a law here in Germany that will force banks to give everyone the opportunity to have a bank account.
HAHAHAHAH!
Translation: o12o12o12o12oNOT
Btw, weren't the version subnumbers ceiliing'd by 9999 somewhere sometime?
@antiquarian said:SO WHY IS LIBELOUSLY ACCUSING PEOPLE OF BEING RACIST OK?It's not libel if it's true.
Too true.
As a German, I'm racist until I can substantiate that I take several things as scientifically proven facts, like that Pygmys aren't vertically challenged and that skin tone is absolutely independent of the distance of the ancestors' habitual residence from Earth's equator and the diet (mainly grains or not).
apparently that's as designed because using the long name field for anything other than your name is
Obviously, having more than one person on this planet with the name Peter Miller is in the first place. As is using part of one's Real Name as one#s username.
We should have either stayed on our trees, or switched to use UUIDs as Real Names a century ago.
but if you do can you take a picture of the magistrate';s face when he reads that bit of paperwork?
should be priceless!makes a note of that
By all means, make a note of posting it here too!
I thought it was left out by My bda.
All slugs look the same to me. Does that make me racist?
No.
Only if you said they wouldn't.
I'm even worse: I once saw a black slug eating an orange slug.
They both go to /t/53967.
Putting the ID into the URL would be too logical?
I think this is the most objectionable thing I've ever seen you post.
AFAIK, that isn't treyf per se.
Firefox is using more memory than Visual Studio?
Well, after a few hours on what.thedailywtf.com, I restart my browser because it ceilings cpu and memory usage.
(Mostly by killall
because that's the fastest way.)
@boomzilla said:You should have used numbers69!
I thought he meant things that effect a state
OTOH, there might be overlaps
My wife got this as a New Year's Greeting:
http://www.ohmymag.de/hund/ein-pitbull-kuemmert-sich-um-eine-katze_art1745.html
(Translation: A Pitbull Caring For A Kitten)
Maybe they should build a wall around Bavaria to keep the modern world from getting in.
That sums up the gist of Bavarian's policy of the last decades quite well.They just can't decide whether to build a solid wall or a barbed wire fence, and whom to robtax to pay it. Well, and how to let the tourists' money in while keeping their modernist ideas out.