Glad to know that everyone has learned a new things. Carry on!
Today I learned
Today I learned During WWII, a U.S. naval destroyer won a battle against a Japanese submarine by throwing potatoes at them. The Japanese thought they were grenades.
cluelessPHP Today I learned During WWII, a U.S. naval destroyer won a battle against a Japanese submarine by throwing potatoes at them. The Japanese thought they were grenades.
[citation needed]
NogDog Looks like there was a bit more to it, still kind of funny
cluelessPHP today I learned how to make a vegetarian curry.
Ketty44 How was it?
- Edited
Not really a TIL, but some JavaScript I wrote to check that what I was understanding really was the case. Guess the output:
(function() {
var i = 42;
var f = function() {
i = 17;
if(false) {
var i = 'fnord';
}
};
f();
console.log(i);
})();
TIL that <datalist>
is a thing. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist
NogDog
TIL about <img loading="lazy">
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-loading
TIL The United Kingdom doesn't have a deputy Prime Minister.
Weedpacket Today I learnt the UK doesn't have a deputy Prime Minister...
TIL I learned Krakatoa is back at it again. https://twitter.com/shannonmstirone/status/1248811612284153859
TIL how to use PostgreSQL JSON aggregate functions.
http://johnatten.com/2015/04/22/use-postgres-json-type-and-aggregate-functions-to-map-relational-data-to-json/
(For me it was to pull many-to-one relationships into a single result row, formatted in JSON as a fortunate side effect.)
TIL you can target keywords and specific accounts using twitter ads, and that you can buy traffic for under a nickel a click.
Today I learned
input.addEventListener('input', grab_data);
and
document.addEventListener('DOMContentLoaded', grab_data);
aren't really the same thing, I'm sure there was a thread about saying doh somewhere
TIL the word "parodical" — if you're looking for an adjective to say that something is like a parody of something, you've just found it.
The word was used in this rant about UI design.
Today I learned I know nothing about seinfeld lol
cluelessPHP Today I learned I know nothing about seinfeld lol
I know the developer who built that site. I'm curious how you came across it?
sneakyimp I saw the link in your profile preview and clicked
cluelessPHP I saw the link in your profile preview and clicked
I should have known that was it.
TIL I learned that google offers no API for its search -- it only offers it for Custom Search.