When I am in the sea, I'm always falsy

When you add it, you can finally see me!

When you take a drink with me, people say I'm a fool - but I always drop the l.

hint:

BTW, someone told me I'm french!

hint 2:

The title of the puzzle is the 3rd hint

last hint:

The solution is in front of you !

• Is that an L or an i or a 1? – Redwolf Programs Apr 23 '18 at 14:29
• It was to make it a bit harder, but it is a L :D – toto Apr 23 '18 at 14:33
• Could you add another hint? – Redwolf Programs Apr 23 '18 at 14:48
• In hint 2: 2nd hint instead of 3rd? – Ahmed Ashour Apr 23 '18 at 15:39
• Well, depends how you count – toto Apr 23 '18 at 15:42

I guess the "sea" refers in fact to C language
"when you add it", probably ++
"people say i'm a fool but I drop the l" => foo is a "dummy word" (together with bar which fits the "When you take a drink with me") for naming variable, people say you are "french", your name in puzzling is toto, the french equivalent to foo and bar... guess i'm close to find
It should be somthing that exists in C++ but not in C, related to foobar

• You found it ! I'll write the detailed answer :) Maybe you can update your answer too – toto Apr 24 '18 at 9:54
• I was quite far though ^^, didn't thought about la tête à toto, just found some parts of the riddle – Flying_whale Apr 24 '18 at 10:40
• Since you found it using at least 2 hints, I think you deserve the answer – toto Apr 24 '18 at 11:30

I don't know enough to take a stab at the final answer yet, I'm pretty sure this riddle's talking about

Computer science

When I am in the sea, I'm always falsy

falsy is a computer science term for somethings evaluates to false (like 0). I'm pretty sure this means in C the answer resolves to false.

When you add it, you can finally see me!

But in C++ (when you add it), it resolves to some value instead.

When you take a drink with me, people say I'm a fool - but I always drop the l.

foo (people say I'm a fool - but I always drop the l) is a universal placeholder for variable/method names in computer science.

The trouble is....

I don't know C++!

• Yes ! You are on the good route, well done. #1 has part of the solution in it, #3 is correct ! – toto Apr 23 '18 at 16:07

Some things no one else seems to have found so far:

"take a drink" seems to be a reference to Java,

and

French uses guillemets for quotation marks, which look like the << and >> operators.

Overall, it sounds like

<< and >> probably have something to do with the answer. << is used for printing in C++, matching the second hint. The Java reference sounds like it may have something to do with generics, where >> frequently shows up (but not <<); generics involve type parameters, which could match the metasyntactic variable part implied by "foo".

Still,

some of these connections are pretty tenuous, and I feel like while the hints all share a theme, they don't seem to fit together to all refer to the same thing within that theme.

You are

Salt

When I am in the sea, I am always falsy

You cannot see the salt in the sea

When you add it, you can finally see me

You can see salt in it's culinary form

When you take a drink with me, people say I'm foolish, but I always drop the L

Could refer to how you put salt around the edges of an alcholic drink

Hint

Fools Salt (Or Sel Fou) is common in France: Fou is like fool without the L

• Okay good, you used L not I – Redwolf Programs Apr 23 '18 at 14:37
• Nice try ! What about the hint tho? – toto Apr 23 '18 at 14:39
• this is the most logical answer i can think of – TinyTRex72 Apr 23 '18 at 14:39
• "When you add it, you can finally see me" => I see it as if you add enough salt, you reach saturation point and can see the salt – Kepotx Apr 23 '18 at 14:40
• Matches pretty well, but that's not the answer :D – toto Apr 23 '18 at 14:45

Cout

When I am in the sea, I'm always falsy

In C programming language, this has no meaning and would cause an error or return false.

When you add it, you can finally see me!

But in C++, it prints to the console, so you can "see" it.

When you take a drink with me, people say I'm a fool - but I always drop the l.

Foo is a generic placeholder for methods, signalling that we want a method in C++

Hint 1.

Cout also means cost in French

Hint 2 maybe

Not as sure on this one, but maybe because cout is used to print, and thus also common in debugging and locating errors

• You wrote "I'm always daisy" instead of "falsy". Is there a particular reason? Also, you say "Cout also means cut in French". Don't you mean "cost" instead of "cut"? – actaram Apr 23 '18 at 18:22
• @TheWanderingMind I would assume both errors are a result of autocorrect. – ale10ander Apr 23 '18 at 20:59
• @TheWanderingMind Yep, my bad, wrote the original on my phone. – Cain Apr 24 '18 at 2:36

I cannot find a strong connection with some of the hints, but I think it's something along the lines of:

Null

When I am in the sea, I'm always falsy

In C, NULL is the same as 0, which is the same as false

When you add it, you can finally see me!

NULL doesn't correspond to an ASCII character, but some larger numbers do

When you take a drink with me, people say I'm a fool - but I always drop the l.

'Fool minus the l is 'foo' a common placeholder variable usually initialized to 0 or NULL. Thanks to Lord Farquaad for this insight

Hint 1

Nul is French for zero/null, which might have something to do with 'dropping the l'

But I can't figure out

How this connects to the title

• Welcome to Puzzling SE! Nice first answer! – NL628 Apr 23 '18 at 21:36

nil, which is falsy in C languages. I thiiink (although I am rusty on this) if you add a number to it, at least in objective-c, it will be cast to an integer, hence "when you add it you can finally see it".

I also believe it comes from french

nul, which means zero.

The hint about finding myself refers to what I described above. But,

There might also be something around various nil variations in other languages: nil, nul, null, null pointer (perhaps the pointer refers to "help me find myself"). Also the drink seems to be the reference to Java, another programming language where null is used. Maybe "people say I'm fool, because I always drop the 'l' and use 'nul' version instead?

So I think this might be pretty close but can't quite make sense of the details.

• Worth noting that my answer is also heavily influenced by @Lord Farquaad – ivanibash Apr 23 '18 at 19:12

mirage

When I am in the sea, I'm always falsy

It is just a refraction of light

When you add it, you can finally see me !

When you take a drink with me, people say I'm a fool - but I always drop the l.

hint 1:

Its origin is French.

hint 2:

It is not something which really exists, and can not be found

• Nice try, not the correct answer tho ! :D – toto Apr 23 '18 at 15:37

0

"When I am in the sea, I'm always falsy":

0 is a 'falsy' value in C++, as in it evaluates to false

"When you add it, you can finally see me!":

When you add '0' to a number in C++, you get that numbers character value. This allows you to print the number and "finally see" it.

"When you take a drink with me, people say I'm a fool - but I always drop the l."

foo is a placeholder variable, and if that variable is an int more often than not it will initially be set to 0.

Tête à Toto

When I am in the sea, I'm always falsy

In the programming language C, 0 is used as False (or falsy if you speak the lingo)

When you add it, you can finally see me!

When you actually write out "0 + 0", the face of Toto begins to appear.

When you take a drink with me, people say I'm a fool - but I always drop the l.

"Fool" - "L" = "Foo", and you'd probably be drinking at a bar, and in the french programming community "toto" is often used as their equivalent to "foobar"

foobar.

.

When you take a drink with me, people say I'm a fool - but I always drop the l.

.

You have drinks at a bar. Take fool-l = foo, and add bar.

• That's the correct answer for #3 ! You need to take in account all hints to find the global answer :D – toto Apr 24 '18 at 7:26

IT

When you add it, you can finally see me!

In the context of this riddle it is me, hence IT (The solution is in front of you!)

All other hints previously covered in good detail

• Welcome to Puzzling.SE! You should try and explain how your answer fits the entire riddle and not just one line - as it stands, and compared to the other answers, I really don't think this is correct. – F1Krazy Apr 24 '18 at 8:54

My guess is

Love (a score of zero in tennis)

because

in C, 0 evaluates to false.
in C++, when you add 0 to something you can see it.
in Java (when you take a drink), 0 is commonly an initial value for a placeholder variable foo.
Hint #1 : Love comes from the French l'oeuf, which means egg; as zero has the shape and appearance of an egg.
Hint #2 seems to suggest the title, 'Please help me find myself' is important. Help me find love maybe?
Hint #3, The solution is right in front of you: nothing is right in front of you, it's a red herring?

Admittedly the last couple of clues are a bit sketchy but this follows on from the answers already given which are on the right track.

• I think the title and the hints mostly refer to the fact that toto is usually used in french as a generic name (similarly to the foo/bar mentioned in some answers) – Nank Apr 24 '18 at 9:31