I ran into the documentation on Solo, the one element tuple, and was a bit confused about how it says it can prevent space leaks, which makes me suspect I'm not understanding something about how the Haskell memory model and/or garbage collector works.
To quote the docs, they say:
The most import...
My new monitor's been making really annoying noises when my desk shakes, which is every time I write anything, since it's on carpet
So I unmounted the monitor from the stand and shook it really hard, and no noise. I then shook the stand really hard, and no noise. But together, they made noise. I figured out that it was because the metal VESA mount didn't fit very well into the plastic housing that connected it to the stand, so it had like a mm of wiggle back and forth, which was the culprit. So I just cut up an index card and wedged some pieces of it in between the plastic and metal, and now it's silent
I guess I see why they built it that way, and it would probably be hard to fix (maybe thin strips of rubber between the two), but still kind of disappointing that I have to hack together something just to add some basic structural support to an $800 monitor
How can one prove that given integer N and property P there is no algorithm A which in no way uses N which can decide P? In fact answer this question for say the property
that N is odd, or answer this question for the property that N > 100.
I have an algorithm A which can decide if a certain inte...
"Prime" pyramid
code-golf sequence
The pyramid begins with the row 1 1. We'll call this row 1. For each subsequent row, start with the previous row and insert the current row number between every adjacent pair of numbers that sums to the current row number.
1 1 row 1 lengt...
The Global Positioning System (GPS), originally Navstar GPS, is a satellite-based radionavigation system owned by the United States government and operated by the United States Space Force. It is one of the global navigation satellite systems (GNSS) that provides geolocation and time information to a GPS receiver anywhere on or near the Earth where there is an unobstructed line of sight to four or more GPS satellites. It does not require the user to transmit any data, and operates independently of any telephonic or Internet reception, though these technologies can enhance the usefulness of the...
"Currently Python accepts numeric literals immediately followed by keywords, for example 0in x, 1or x, 0if 1else 2. It allows confusing and ambiguous expressions like [0x1for x in y] (which can be interpreted as [0x1 for x in y] or [0x1f or x in y]). A syntax warning is raised if the numeric literal is immediately followed by one of keywords and, else, for, if, in, is and or. In a future release it will be changed to a syntax error. (gh-87999)"
Looks like we're going to have to fix our answers if this does happen
> The US Government GPS Standard Positioning Service Performance Standard, appendix A, guarantees coverage up to an altitude of 3000km. Accuracy of a standard receiver would in no way be reduced at high altitude.
Ok I don't have a graph but back in college we had a disagreement about which branch was the "main" branch so we all made pull requests to different branches then randomly merged the main branches back and forth
Sorry if you heard me say this before but, I want to write a vocab testing app for latin for some kids and I don't have much time. What is the easiest way to do that? I will need to be to able to enter vocab myself into it
It gets really weird in array literals and stuff; it should just act as a way to separate expressions, which should be parsing-level rather than running-things-level
In computer security, a cold boot attack (or to a lesser extent, a platform reset attack) is a type of side channel attack in which an attacker with physical access to a computer performs a memory dump of a computer's random-access memory (RAM) by performing a hard reset of the target machine. Typically, cold boot attacks are used for retrieving encryption keys from a running operating system for malicious or criminal investigative reasons. The attack relies on the data remanence property of DRAM and SRAM to retrieve memory contents that remain readable in the seconds to minutes following a power...