|
Physicists shot a laser pulse sequence mimicking the Fibonacci sequence at a quantum computer and ended up creating a new phase of matter in the process, according to a study published in Nature earlier this year. Did it make them actually work?
|
|
|
|
|
Much of that article reads like voodoo to me. Two directions of time? Quasi-periodic sequence? The edge stays quantum-mechanically coherent?
|
|
|
|
|
As soon as I saw "Futurism" as the source I skipped it. As far as I can tell "Futurism" is written by wanna-be science fiction writers who know zero about science.
|
|
|
|
|
Analyst IDC has forecast worldwide spending on IT and business services will grow through to the end of 2023, even as a global recession looks set to take hold. "It's good to be king"
|
|
|
|
|
Kent Sharkey wrote: "It's good to be king" The ones in game of thrones may differ
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.
|
|
|
|
|
Microsoft's 'Project Volterra' $599 device for developing, testing and running Windows-on-Arm apps is shipping in eight countries, starting today. ARM yourself
|
|
|
|
|
A massive, malicious campaign is underway using over 200 typosquatting domains that impersonate twenty-seven brands to trick visitors into downloading various Windows and Android malware. Is that why no one answers my posts on c0dproject.com?
|
|
|
|
|
A new method uses optics to accelerate machine-learning computations on smart speakers and other low-power connected devices. I'm so bright, my mother called me sonny
|
|
|
|
|
So as I'm reading this ...
... requires a fiber connection to the data center where the compute is being done ...
... so not just fiber to the home - already a stretch outside of major urban areas, but also internal fiber networking to connect to IOT devices that are probably wireless today, can it get any stupider ...
... this could also be used on cars ...
... and I need to find time to draw a 🤦🏽♂️ using s
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
|
|
|
|
|
If you have fond memories of the early days of Microsoft Windows and want a quick nostalgia fix, instead of pulling that 1995 laptop out of the attic, just download Windows 95.exe. No standing in line for the midnight launch required
|
|
|
|
|
Can we get it on 13 floppy disks, for a deeper hit of nostalgia?
|
|
|
|
|
Do you still have a machine that can read them?
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.
|
|
|
|
|
When I got my first PC without a floppy unit, I bought an external USB one. It was surprisingly cheap, somewhere around USD 10. It has come to use a few times, but last time is so long ago that I cannot date it.
It has one disadvantage, though: In the DOS age, lots of 'preformatted' floppies were sold, but they hadn't the format code (360kb, 720kb, 1.44Mb, ...) written into the boot sector. It really was redundant, as DOS tried to read the floppy in one format after another until it found one that worked.
At some stage of development - I think it was when going from 16-bit Win98 to 32-bit WinXP, but correct me if I am wrong - MS said: This is silliness; the boot sector shall have the format code! The standard alway said so! So we will no longer do any lengthy, repetitive trial-and-error procedure!
The result is that lots of pre-formatted floppies from before this time is no longer readable. If you formatted the floppy yourself, whether running under DOS or Windows, the format code was all right; there is a problem only with floppies bought pre-formatted. For several years, most of them were, and a great part of them without the proper format code.
The main reason why I kept a Win95 machine (with no internal floppy unit, but using my USB one) running for many years was to read old floppies that WinXP would not accept, due to a missing format code in the boot sector.
|
|
|
|
|
It’s hard to learn, but your code will produce fewer nasty surprises Won't you take me to func-y town?
|
|
|
|
|
Quote: Back then, this was a radical idea, and many programmers resisted the loss of a statement that they had grown to rely on. The debate went on for more than a decade, but in the end, the GOTO went extinct, and no one today would argue for its return. That's debatable. Here's some code from my Wordle solver that loops through the letters of a word, and if one of those letters matches a list of letters at that position which have been eliminated from the running it skips to the next word using a goto . I'm certain it could be done with another construct, but the time to figure out that other construct is a waste when this approach is so simple and directly mirrors the problem's solution:
foreach (string str in currentPossibilities) {
isPossibility = true;
for (int i=0; i<p1NonChar.Length; ++i) {
if (p1NonChar[i] == str[0]) {
isPossibility = false;
goto breakout3;
}
}
for (int i=0; i<p2NonChar.Length; ++i) {
if (p2NonChar[i] == str[1]) {
isPossibility = false;
goto breakout3;
}
}
for (int i=0; i<p3NonChar.Length; ++i) {
if (p3NonChar[i] == str[2]) {
isPossibility = false;
goto breakout3;
}
}
for (int i=0; i<p4NonChar.Length; ++i) {
if (p4NonChar[i] == str[3]) {
isPossibility = false;
goto breakout3;
}
}
for (int i=0; i<p5NonChar.Length; ++i) {
if (p5NonChar[i] == str[4]) {
isPossibility = false;
goto breakout3;
}
}
breakout3:
if (isPossibility) reducedPossibilities.Add(str);
}
Of course I would never go back to the spaghetti-code goto use, and don't use it often. But when it comes to mind first, and is simple, use it and get on to the next problem.
|
|
|
|
|
I really can't stand the nay-sayer, consequently I have been very vocal about my, errmm... 3? goto statements in the last 20 years, haha!
Not that I care much... I am just annoyed by the anti goto bigotry!
A few cool use for goto I can think of right away, one that doesn't break logical flow or understanding, is escaping multiple nested loops, ... also maybe goto in switch statement too? although that one might be confusing...
|
|
|
|
|
|
Depending on the types, why not simply:
foreach (string str in currentPossibilities) {
isPossibility = !p1NonChar.Contains(str[0])
&& !p2NonChar.Contains(str[1])
&& !p3NonChar.Contains(str[2])
&& !p4NonChar.Contains(str[3])
&& !p5NonChar.Contains(str[4]);
if (isPossibility) reducedPossibilities.Add(str);
} If the non-char values are strings, and you're using .NET Framework which doesn't have the Contains(char) overload[^], you can use IndexOf instead:
foreach (string str in currentPossibilities) {
isPossibility = p1NonChar.IndexOf(str[0]) == -1
&& p2NonChar.IndexOf(str[1]) == -1
&& p3NonChar.IndexOf(str[2]) == -1
&& p4NonChar.IndexOf(str[3]) == -1
&& p5NonChar.IndexOf(str[4]) == -1;
if (isPossibility) reducedPossibilities.Add(str);
} The && operator is short-circuiting, so it will stop testing when it reaches the first non-char.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Richard Deeming wrote: why not simply: ... Did not know about those functions. If they are inline, great! And they can eliminate the boolean 'isPossibility' variable! Thanks for sharing!
|
|
|
|
|
I attempted to read this article. Talk about hogwash interspersed with issues relating to the misuse of language features. As far as I could tell the bottom line of this article was a sales attempt for a new "functional" language.
|
|
|
|
|
Study suggests quantum processes are part of cognitive and conscious brain functions. That explains why I can only rub two or three thoughts together some days
|
|
|
|
|
My newest scientific excuse for anything that goes wrong: "I'm sorry. I've became entangled with the dummy that lives down the street."
|
|
|
|
|
As I responded, why not? We already know that chlorophyll uses quantum effects to convert photon energy into chemical energy. Our brains are a lot more complex so it stands to reason that if a relatively simple biological system uses quantum effects a far more complex system would also use them.
|
|
|
|
|
Elon Musk’s plan to purchase Twitter would bring with it massive cuts to the social media company’s workforce, according to a report Thursday by The Washington Post. Why not go for the full 100% and save us all?
Because nothing says "friendly acquisition" or "I really want you to succeed" like, "you're almost all fired"
|
|
|
|
|
Just some more blatant stock manipulation for the SEC not to take any action on...
God, this is getting old.
|
|
|
|