Close

What is Stack Exchange?

Stack Exchange is a fast-growing network of 79 question and answer sites on diverse topics from software programming to cooking to photography and gaming. Learn more »

112 hotness

Memory leak C++

I just wrote a code in C++ which does some string manipulation, but when I ran valgrind over, it shows some possible memory leaks. Debugging the code to granular level I wrote a simple C++ program ...

c++ c memory-leaks valgrind asked 6 hours ago
88 hotness

Is it illegal to refuse US currency for a purchase?

I hear this claim every now and then. That US currency is legal tender and that it is illegal to not accept it. The most recent example of this was on an old episode of 30 Rock: The head and the ...

united-states law currency asked 6 hours ago
86 hotness

chance of meeting in a Bar

Two people have to spend exactly 15 consecutive minutes in a Bar on a given day between 12:00 and 13:00. Assuming uniform arrival times what s the probability they will meet ? I am mainly interested …

73 hotness

How to remove duplicate lines inside a text file?

A huge (up to 2 GiB) text file of mine contains about 100 exact duplicates of every line in it (useless in my case, as the file is a CSV-like data table). What I need is to remove all the repetitions …

60 hotness

What should I do when my boss asks me to fabricate audit log data?

My boss just asked me to create a fictitious log entry to say that a user's account was updated before it was, to win a dispute. I feel this is not right because I am trying to start a career in ...

ethics asked 2 days ago
58 hotness

What is the meaning of a two part poison?

In Season three: What is the meaning of such a poison? Since the first is totally ineffective without the second half, why is poisoning someone in advance with the first half meaningful? The ...

babylon-5 asked 3 hours ago
58 hotness

Meaning of 'up/down' after a verb

There are lots of instances of using 'up' or 'down' after verbs. Instances: eat up, drink up, meet up, finish up, start up, fill up, clean up, wipe up, tie up, etc. What do they add as meaning to a …

meaning verbs prepositions asked 6 hours ago
55 hotness

What is the ⎋ symbol and where do I find it on my keyboard?

What is this squiggly symbol—that has an arrow pointing out to top-left from a circle—called and where do I find it on my keyboard?

keyboard shortcuts asked 4 hours ago
47 hotness

100 Soldiers riddle

One of my friends found this riddle. There are 100 soldiers. 85 lose a left leg, 80 lose a right leg, 75 lose a left arm, 70 lose a right arm. What is the minimum number of soldiers losing all …

42 hotness

What can one do when “lead by example” doesn't work?

I have been working for a big company (8000+ developers) for almost 2 years now, and was hired just after I finished my study course. Everyone here has to deal daily with legacy code which is often …

34 hotness

How Can I Connect Two Sets of Computers Within My Home Office So There's No Cables On the Floor?

I have a group of five computers at one end of my home office and another group of four computers across the same room. All are hardwired on the same internal network. These cannot be consolidate or …

34 hotness

C# || operator not working with nullable booleans

I have the following piece of code in my LINQ: where (tf.Shipped || tf.Ordered || tf.Processed) Note that Shipped, Ordered and Processed are all nullable Boolean fields I am getting the ...

c# linq asked 2 hours ago
33 hotness

Could the One Ring be destroyed in any manner besides Mount Doom?

Was there something more mystical about Mount Doom that meant another volcano wouldn't work and no matter how much energy was put into it, it would not be destroyed? A comment mentioned that not even …

lord-of-the-rings asked 8 hours ago
33 hotness

Hab und Gut: What is the difference between “Hab” and “Gut”?

In the phrase "All sein Hab und Gut", what exactly is "Hab" and what is "Gut"? I realise that both refer to private property of some kind, but are the two distinct concepts? Is "Gut" real property …

meaning asked 5 hours ago
30 hotness

How do I plant my Cocoa beans in Minecraft

I've got 2 cocoa beans and would love to plant them, but I can't seem to figure out how. Does anyone have an idea ?

minecraft asked 2 hours ago
30 hotness

Binary arithmetic

Is there a package to perform binary arithmetic like addition, subtraction, and so on? Ex: 1101 + 0001 = 1110. BUT not as text, like I've typed in here! Also, is there any other packager rather than …

mathmode asked 49 mins ago
28 hotness

verb meaning “to suggest that something is false”

I cannot find an antonym for to suggest with the force of to suggest that p is false if to suggest is used with the force of to suggest that p is true. The context is a sentence that looks ...

word-choice asked 4 hours ago
27 hotness

The adjective colère with en

I am studying adjectives now. I am puzzled by the adjective colère (angry) because I see it used with the preposition en. Which of these is the correct way to translate, an angry woman? une femme …

adjectifs asked 5 hours ago
26 hotness

Series expansion of an inverse

I have to find the series expansion of the inverse function of : $\arctan\left(\frac{\ln(1+x)}{1+x}\right)$ How do I find out the series expansion of any inverse ? Note: The inverse of a function …

reciprocal series-expansion asked 1 hour ago
26 hotness

SQL Server - Multiple running totals

I've got a base table with transactions and I need to create a table with running totals. I need them to be per account and and also have a few running totals for each account (depending on the ...

25 hotness

Trouble with C pointers

Here's the deal. I have a large character array and am trying to manipulate it. Here's some code I was using to test the idea: #include <stdio.h> char r[65536],*e=r; main() { e+=8; …

c pointers asked 5 hours ago
24 hotness

What can I do if I already killed a dragon for a Blades quest?

I have just initiated three members into the blades and Esbern gave me my first quest with them to go and 'Kill the Dragon in Skyborn Altar' but I have already killed that dragon and so when we show …

skyrim asked 1 hour ago
24 hotness

What is this symbol called: “¶”

I'm trying to find out what this symbol means and if it has a name: ¶ I've seen it being used in word processors.

symbols asked 11 hours ago
24 hotness

Is there a first-order-logic for calculus?

I just finished a course in mathematical logic where the main theme was first-order-logic and little bit of second-order-logic. Now my question is, if we define calculus as the theory of the field of …

calculus logic model-theory asked 5 hours ago
24 hotness

How to take a screenshot of Window's secure desktop?

By default, Windows Vista/7/8's UAC prompt is shown on a secure desktop. Unfortunately the Print Screen key doesn't seem to have any effect when viewing the secure desktop. I can see the reasoning ...

windows uac secure-desktop asked 19 hours ago
23 hotness

Fixing formatting errors created by long eqnarrays

I'm writing a paper in which I have long eqnarrays, many of them 10 lines or longer. Since TeX seems to not want to page-break these equations, this results in weird formatting, eg pages that have ...

equations page-breaking asked 1 hour ago
22 hotness

How did Kirk get the whales out?

In Star Trek IV The Voyage Home Kirk and crew time travel to the 1980s and bring in to the 23rd century some humpback whales. Upon their return to Earth the alien probe promptly drains the power from …

star-trek asked 5 hours ago
22 hotness

Drupal database innodb or MyISAM?

I have a drupal install and am suffering performance issues. I found a couple threads indicating performance may improve by switching: How do I convert a database from MyISAM to InnoDB? . How can i …

performance mysql asked 2 hours ago
22 hotness

Why believe in an oral law?

I was reading about Karaite Judaism and it lists a number of reasons, some which I thought were compelling, for rejecting the Oral Law. For example, Joshua 8, 34–8, 35 states: After that, he …

21 hotness

How to stop the development spec from changing in mid development?

Problem: It seems with almost every development effort I'm involved in, no matter how much time is spent planning prior to starting development, there is always a large amount of changes required ...

15 30 50 per page
1 2 3 4