|
Very timely, Raddevus, I just figured out today how to make my generic hierarchy utility library more orthogonal by having all methods return an IEnumerable<TNode> ... this allows the consumer to chain both "fetch" and "filter" generic methods in arbitrary order in a given query.
cheers, Bill
«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot
|
|
|
|
|
BillWoodruff wrote: figured out today how to make my generic hierarchy utility library more orthogonal by having all methods return an IEnumerable<TNode>
Very cool! We are all thinking on this same idea.
I guess this is an idea whose time has come.
|
|
|
|
|
"I guess this is an idea whose time has come."
It's time came with LISP in 1958, the rest of computing is nearly catching up.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
raddevus wrote: Anyways, the cool thing is that I thought it seemed most elegant to always return an array also.
Indeed!
Latest Article - Slack-Chatting with you rPi
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
|
|
|
|
|
Quote: It took thousands of years to accept the concept of zero, and even longer for the Vatican because of the moral implications of nothingness. Extremely misleading generalities. Marc Clifton wrote: In contrast, the idea of "nullable" arrived rather quickly after the invention of computers and I databases in particular (I haven't researched it, so I'm just guessing.) If you call 1960CE (when Tony Hoare used it in his QuickSort algorithm) "rather quickly after ...," okay.
If you broaden the specific concept of null in computation to include the concept of an empty something-or-other as well as "zero," there's a lot of ancient sources; for example, see the use of double-wedges in Babylonian cuneiform, and sifr in pre-Islamic Arabic which was a translation of the Sanskrit sunyam aka sunyata aka Buddhist anatta, a profoundly metaphysical concept.
For adoption of zero in India: [^].
In the Theravadan Buddhist tradition, originating from Sri Lanka (aka Ceylon) ... sometimes termed hinayana (lesser) as a put-down by those in the mahayana (greater) tradition ... emptiness is considered to be an inherent attribute of "objects." I don't think this means Sir Hoare was Buddhist
Good reading: [^]
«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot
modified 14-Feb-19 23:50pm.
|
|
|
|
|
BillWoodruff wrote: Extremely misleading generalities.
I probably should have mentioned that this was based on my weak and faulty memory of reading a few years ago exactly the book that you mentioned at the end of your post.
Latest Article - Slack-Chatting with you rPi
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
|
|
|
|
|
The idea that rarely your formidably agile, ever curious, intellect may shine less than brilliantly, gives hope to this glowworm cultivating his lesser light
Were Boole's algebra ... or Cantor's set theory ... historically unique, or do they reflect (in mathematical formalisms) aspects of cognitive analysis (numeracy, discrimination of like-unlike, rhetorical decomposition and analysis) universal to organized human civilisations ? Do the self-contradictory paradoxes posed by ancient Greek philosophs indicate an awareness analogous to set theory ?
cheers, Bill
«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot
|
|
|
|
|
A team of researchers at Avignon University has recently developed a system to automatically detect abuse in online communities. Touch the doll where the troll bothered you
Apologies if I crossed any lines with that one.
|
|
|
|
|
It is a very complicated topic and very thin ice, but it is something that actually happens and certain groups are specially exposed to such "cyber-mobbing" / abuse (specially teenagers). I hope they do it right.
A bit related note:
I have heard in Radio today that FB wants to use an algorithm to detect users with suicidal intentions / dangerous for themselves or others.
The idea itself is really good as well, but I really don't think FB is going to do this due to their altruist soul and because they care about.
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.
|
|
|
|
|
That might work on French users of a French MMORPG, but I don't see how the structure of a discussion can be used to identify fatboys outside of that context.
Someone got fifty messages from a bunch of people, all at once -- and it turns out that that same bunch of fifty people does this often, to other individuals?
They must be evil fatboys!
... Either that, or it happens when it's someone's birthday at the office.
The "real" world of communication isn't quite so restricted as that of a French MMORPG.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Can it recognize posts selling horoscopes and magic on CodeProject?
If not, I'm not impressed. Not one e1ephanting bit
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
public bool DoesCommunityHaveElephantingSunshines()
{
return true;
}
I'm not sure why this needs more research..
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
A security researcher has discovered a vulnerability in Canonical's snapd package which could be exploited to gain administrator privileges and root access to affected Linux systems. The security issue has been dubbed Dirty_Sock and assigned the code CVE-2019-7304. Linux really does want to be "The New Windows"
|
|
|
|
|
Snap, flatpack, etc. are disasters waiting to happen.
Yet another headlong rush into a "Great New Way of Doing Things" that can only end in tears.
I refer the learned gentlemen to my previous comment on a matter[^] that also applies here.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I think the answer to your comment there fits even better here
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.
|
|
|
|
|
Android Things, Google's stripped-down version of Android named for its focus on the "Internet of Things" (IoT), is now no longer focused on IoT. New name: "Android Somethings"
|
|
|
|
|
I ran the article through a BS translator, and it came up with this:
Google said: We are gonna get sooooo burned when all those IoT devices using 993 different versions of our unmanaged mini-android OSes start getting hacked by the millions! We'd better get out of that biz ASAP!
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Microsoft’s Chief Legal Officer and President Brad Smith met with the Catholic Pontiff today to discuss how AI can be used ethically and what can be done to help bridge the digital divide between rich and poor nations. They're really pushing their products hard, aren't they?
Personal visits for everyone!
|
|
|
|
|
Yes, because if you want a logical, rational talk about science, the first place to go is the Catholic church.
Just ask Galileo.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
A new study shows how easy it would be for price-setting algorithms to learn to collude with each other and keep prices at a disadvantage for customers. The robot apocalypse will begin with personal bankruptcies
|
|
|
|
|
Except "collusion" doesn't mean what the "researchers" think it means. Instead, the identical algorithms came to an identical optimal solution. Big surprise.
|
|
|
|
|
Exactly.
It's common knowledge that the most profit is made by collusion between companies, resulting in the illegal version of "price fixing" -- it is the single most effective way of swindling customers.
WTF did the AI trainers expect the AIs to learn?
It's bad enough that AIs can go off and work things out in wrong ways (which can go unnoticed for a long time, as long as the results are within parameters), but if we allow fidiots to feed the AIs, really bad things could result from it.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
At Build developer conference last year, Microsoft announced that they will be introducing a new Windows class that will allow developers to easily include multiple windows support in their UWP apps. After some delay, Microsoft has now finally released this support for developers. Progress is a heckofa drug
I can't wait for all the popups to start appearing (again).
modified 13-Feb-19 15:01pm.
|
|
|
|
|
One developer let out a loud cheer. The other two just yawned.
|
|
|
|
|
Golly Gosh!
Just think what a dream it would be if they ever came up with a way of working with everything in its own window, which can be moved around, minimised, and even maximised (that's maximised as in what their previous Great New Advancement, UWP, introduced).
Since they will obviously be really busy working on an icon for that great, new system, we should think of a name for it!
How about "XP"?
Or "'95"?
Or just "3", or "7"?
The future will be so Great, once they've figured out how to used windows!
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|