|
While I'm normally upbeat about Python (the only duck-typed scripting language I've ever said anything positive about) at the moment, I'm annoyed at it. Was dealing with Python 2 to Python 3 breaking changes (everything from long no longer being supported to how dictionary keys work differently in P3) with regards to an OS library I was fussing with. I think Python is one of those languages which defines "geek" - people who have no problem with time wasting breaking changes and love fixing those things.
And of course, you don't figure out the crashes in the code until you run it, because there's no types!
Somewhat late in the game, I discovered that there was a Python 3 branch of the repo. Saved some additional time, particularly since several important bug fixes were made in the P3 branch but not the P2 master, which I guess is technically deprecated, but honestly, it should have just been archived as the P2 buggy branch and the P3 branch should be the master.
|
|
|
|
|
I applaud Fossbytes ability to take original content[^] and regurgitate it with zero value added.
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
|
|
|
|
|
Our generation has learned from its mistakes and created structure oriented, high level, strongly typed languages, avoiding common pitfalls we discovered on the way. Now let the scripting/holy patterns/10.000 frameworks kids do exactly the same.
|
|
|
|
|
Discards are local variables which you can assign a value to them and that value cannot be read (discarded). Because just ignoring the variables is too hard?
|
|
|
|
|
A great new invention for showing that code flow relies on side effects only (why else would you ignore the return / out value?). That's interesting news for the real world clean coder.
Oh sanctissimi Wilhelmus, Theodorus, et Fredericus!
|
|
|
|
|
Bernhard Hiller wrote: A great new invention for showing that code flow relies on side effects only (why else would you ignore the return / out value?). So, using bool.TryParse(out bool) would be "relying on a side-effect"?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Bernhard Hiller wrote: A great new invention for showing that code flow relies on side effects only (why else would you ignore the return / out value?). That's interesting news for the real world clean coder.
... or just questionably designed APIs you can't get rid of.
public void AttemptToFrobinateData(MyDataType theSourceData, out string resultMessage, out bool succeeded, out MyDateType theOutputData, out string theOutputAsJson, out string theOutputAsXml)
Yeah I packed multiple WTFs into this on purpose, but having one of them is hardly uncommon. `resultMessage` is utterly useless as anything but a not even half-elephanted attempt to be lazy about generating a display message to the user and is redundant with `succeeded` in any event. Having a single publicly facing method return the data in multiple formats is also facepalmy in most circumstances. At most you might want a pair of overloads that return the serialized data instead of the raw object. Either `succeeded` or the desired flavor of result data should be a return value instead of an out parameter.
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
|
|
|
|
|
Dan Neely wrote: or just questionably designed APIs you can't get rid of. Yeah, great! Some more people can now simply add more useless out parameters to their functions.
Oh sanctissimi Wilhelmus, Theodorus, et Fredericus!
|
|
|
|
|
Bernhard Hiller wrote: Yeah, great! Some more people can now simply add more useless out parameters to their functions.
As if the people who think a zillion optional parameters is best since it avoids function overloads aren't already doing just that. This just would make it easier for those of us who can't LART them into submission to avoid extra lines of code in dealing with their garbage.
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
|
|
|
|
|
I find myself, at this point, thinking "meh".
This space for rent
|
|
|
|
|
So it might be called "worn" (write only read never).
|
|
|
|
|
That vulnerability, according to a report on the data breach by William Baird & Co., was in a popular open-source software package called Apache Struts, which is a programming framework for building web applications in Java. Given enough eyeballs, all bugs are hackable.
|
|
|
|
|
Under Oracle's revamped release plan for standard Java, the Java Development Kit 9 will not be designated for long-term support Why not? It was under long-term development
|
|
|
|
|
As much as we love to snark about oracle and java; considering the extent of the major changes they made in Java 9; not doing a long term baseline immediately is a reasonable move IMO since it gives them time to deal with the inevitable edge cases that only widespread production use will identify before having to lock down behaviors for an extended period of time.
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 group of scientists from Queen's University Belfast and the Max Planck Institute for Solar System Research in Germany have turned exoplanet-hunting on its head, in a study that instead looks at how an alien observer might be able to detect Earth using our own methods. "Across the gulf of space, minds that are to our minds as ours are to those of the beasts that perish, intellects vast and cool and unsympathetic, regarded this earth with envious eyes, and slowly and surely drew their plans against us."
You knew I would use at least part of that quote, didn't you clever person?
|
|
|
|
|
We are launching Try Azure Cosmos DB for free, an experience that allows anyone to play with Azure Cosmos DB, with no Azure sign up required and at no charge for a limited time. First hit, etc.
|
|
|
|
|
Bug affects all Windows versions released in the past 17 years. I'm sure Defender is immune, right?
|
|
|
|
|
imho, a remarkable, satisfyingly deep, journalistic essay anchored by the technical biography of polymath Mark Sagar.
"Mark Sagar Made a Baby in His Lab. Now It Plays the Piano" [^].Quote: BabyX isn’t just an intimate picture; she’s more like a live circuit board. Virtual hits of serotonin, oxytocin, and other chemicals can be pumped into the simulation, activating virtual neuroreceptors. You can watch in real time as BabyX’s virtual brain releases virtual dopamine, lighting up certain regions and producing a smile on her facial layer. All the parts work together through an operating system called Brain Language, which Sagar and his team invented.
Quote: With a click of his mouse, Sagar stripped away BabyX’s skin, leaving a floating pair of eyes—bloody veins and all—attached to a finely detailed brain with a brain stem running down the back. This version of BabyX could still see out into the world and interact with us. When we showed her words, the part of the brain that deals with language glowed purple. When we praised her, the pleasure center lit up yellow. “Researchers have built lots of computational models of cognition and pieces of this, but no one has stuck them together,” he said. “This is what we’re trying to do: wire them together and put them in an animated body. We are trying to make a central nervous system for human computing.”
«While I complain of being able to see only a shadow of the past, I may be insensitive to reality as it is now, since I'm not at a stage of development where I'm capable of seeing it. A few hundred years later another traveler despairing as myself, may mourn the disappearance of what I may have seen, but failed to see.» Claude Levi-Strauss (Tristes Tropiques, 1955)
|
|
|
|
|
If you are a WinForms developer and use Visual Studio on a high DPI system, you will be surprised how Visual Studio messes up all your WinForms in the designer. Bonus item so Chris can find the fix next time he needs it
|
|
|
|
|
Also see this Sept. 3rd. post: [^]
«While I complain of being able to see only a shadow of the past, I may be insensitive to reality as it is now, since I'm not at a stage of development where I'm capable of seeing it. A few hundred years later another traveler despairing as myself, may mourn the disappearance of what I may have seen, but failed to see.» Claude Levi-Strauss (Tristes Tropiques, 1955)
|
|
|
|
|
Yeah, Chris couldn't find that one.
TTFN - Kent
|
|
|
|
|
Quote: you will be surprised how Visual Studio messes up all your WinForms in the designer.
no, such a thing would never surprise me.
they haven't had a good designer since VC6
|
|
|
|
|
Security firm Symantec has warned that hackers, and state-sponsored at that, have managed to penetrate multiple operational networks of both US and EU energy companies. "Blackness, blackness draggin' me down"
Your choice of version, but I do think Nazareth nailed it.
|
|
|
|
|
I’m pleased to report that the last major ballot was completed: A few hours ago, the C++17 DIS (Draft International Standard) ballot came back with 100% approval, 23 editorial comments, and no technical comments. Insert your choice of "Why isn't my feature in there?" or "Why doesn't my compiler support it yet?" here.
Or even both, if you're cranky.
|
|
|
|
|
Still no concepts or modules yet, and Visual C++ still lags in support.
Does that fit the bill?
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|