|
Damn, another political click-bait comment and our self-annointed moderators are again nowhere to be found. Let me open my book of spells so that I can chant the magical words that will bring them forth from their closets....
|
|
|
|
|
What about my post is political click bait. It's just three separate stories that aren't much on their own but when you put them together it leads to some interesting ideas and conclusions. To me, it's more about the science than the political ramifications.
if (Object.DividedByZero == true) { Universe.Implode(); }
Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016
|
|
|
|
|
Hi Foothill,
You just answered your own question.
Don't get me wrong, I have no objection to posting comments and questions here that some deem to be inappropriate for a programmers site. Personally, I prefer reading comments such as your instead of frivolous and lame jokes about gardens and bones. But this is a programmers site after all and rule #4 states, "No politics (including enviro-politics[^]), no sex, no religion"
Cheers,
Ian
|
|
|
|
|
Ian, I can see your point where a debate over the moral and ethical implications of the topic would be Soapbox worthy. I may approach the issue from a scientific point of view while others may not.
if (Object.DividedByZero == true) { Universe.Implode(); }
Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016
|
|
|
|
|
I posted a question a while back as to whether or not Amazon is censuring books for political reasons. It was a only intended as a frivolous question in that I did not really believe this occurs in North America.
After doing a bit of research, I subsequently sent Amazon an email asking if it was indeed censuring books and I received an email from Amazon confirming that this is true. Amazon's response was yes, it had 'banned' certain books. It was very clear this was due to political pressure from a special interest group. I immediately cancelled my Amazon account as I consider this policy to be completely unacceptable.
The nature of the subject matter distracted my readers and they made it clear that politics, at least regarding the secondary subject matter, was off-limits.
I've noted that comments, such as yours, that are arguably of a political nature, have not raised a single eyebrow (other than by yours truly, being the 'zealot' that I am). If you re-read my OP to you then you will see it was not targeting you at all.
I tend to think the Soapbox needs, every now and then, something to spice it up - you know, to take away the drudgery of its every day 'soap opera' nature. I welcome comments such as yours. But that is just my opinion.
Cheers,
Ian
modified 25-Apr-17 17:27pm.
|
|
|
|
|
Some film titles are coming up when reading your message...
Gatacca, the island of Dr. Moureau, Jurasic Parc, Resident Evil... and more.
I don't remember whose quote it is but... "Mankind is increasing knowledge before gaining wisdom and ethic. What a dangerous situation" (sorry if not accurate, just translating on my own because a quick search of the correct quote brought me nowhere)
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
So at some point I might actually get to consume a brontosaurus burger? Sweet!
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
I, for one, welcome our new designer mutant overlords!
First we design / re-design animals to solve some food problems.
Second, we tweak the human genome to eliminate the nasty genetic diseases.
Third, a few unscrupulous types design the perfect man or woman - maybe add something crazy like a 3rd eye or gills.
Soon enough we'll be able to design quasi-humans fit for life on the moon or Mars or the moons of Saturn.
If mankind doesn't evolve (naturally or otherwise) and keep pushing outward we're going to ultimately become extinct on a lonely little planet in the corner of a nondescript galaxy.
In this present crisis, government is not the solution to our problem; government is the problem. ~ Ronald Reagan
|
|
|
|
|
And I'm currently rereading John Ringo's Council Wars novels. Appropriate.
|
|
|
|
|
Yesterday I posted a link to a site that tells you the famous (relatively so) people born on the same month and day as you.
Well, here's a Python script to scrape just the "Person of Interest" (great series, BTW) from the website:
import requests
from lxml import html
from lxml.cssselect import CSSSelector
from lxml import etree
page = requests.get("<a href="http:
tree = html.fromstring(page.content)
sel = CSSSelector('.section--person-of-interest')
pois = sel(tree)
for poi in pois:
poi.xpath("div/div/div[1]/p")[0].text_content()
You may need:
pip install lxml
pip install cssselect
pip install requests
And an example result:
'1871 Orville Wright, aviator (Wright Brothers), born in Dayton, Ohio (d. 1912)'
'1878 Manuel Luis Quezon y Molina, Second President of the Philippines (1935-42), born in Baler, Aurora, Philippines (d. 1944)'
'1919 Malcolm Forbes, American publisher of Forbes Magazine, born in Brooklyn, New York (d. 1990)'
'1946 Bill Clinton [William Jefferson], 42nd US President (Democrat, 1993-2001), born in Hope, Arkansas'
'1967 Satya Nadella, Indian-American businessman (CEO of Microsoft), born in Hyderabad'
[edit]The CP editor mangled the URL a bit[/edit]
Marc
Latest Article - Merkle Trees
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
almost no one on my birthday!
|
|
|
|
|
Which reminds me of the age-old question: How many great men were born in Illinois?
|
|
|
|
|
This Description
"The Function.prototype property represents the Function prototype object."
Huh?
Gotta love some of the docs companies put out
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
When the thing being documented is Javascript, you're lucky if the author didn't just write "I am a fish!" 400 times, do a funny little dance, and faint.
Perhaps this[^] might thin the mud a little?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I've got about 5 minutes of JavaScript experience, so I'm happy if I understand any of it at all
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
That's more than most web developers in QA!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I think that's actually succinctly accurate. In other words, Function.prototype is a property that is equivalent to the object that represents the prototype definition from which every object, including functions, is derived from.
Or something like that. My Javascript foo is still in the junior programming cave.
Marc
Latest Article - Merkle Trees
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
An alternative would be to write it in English, in a way that people can instantly understand the meaning, but it's been a long day, and I can't be @rsed to look into the code to see what it actually does (as opposed to what the addled-brain developer believes it does).
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I highly recommend the guides on that same site. Specifically Inheritance and the prototype chain - JavaScript | MDN[^]. That definition is actually very accurate if you understand the lingo related to prototype-based inheritance. I wouldn't call myself a JS expert but I've built my share of stuff with it if you have any questions
|
|
|
|
|
Thanks, I appreciate all the help I can get.
I just posted 2 JS questions in the web forum, if you wouldn't mind looking.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
I was digging in the garden, and found a human arm bone – strangely, I found this humerus.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
You mud be crazy.
... such stuff as dreams are made on
|
|
|
|
|
Only post-humus-ly.
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|