HN user

cgufus

97 karma
Posts0
Comments41
View on HN
No posts found.

Cool. Input to developer: offer gear numbers that are co-prime (or absolute primes) to each other. Results in maximum number of circles until you return to the original point.

[dead] 4 years ago

… and should be written in R due to conservation laws. :-)

Many many years ago I played a browser-based online game and I used curl and php for scripting the game. I eventually programmed an alert feature that woke me up (OS X: ‘say “Warning you are under attack”’) during the night when I was being attacked.

good old times :)

10.4 brought Spotlight 10.5 introduced Time Machine 10.6 cleaned everything up and added some stuff like Exchange Support. IMO the peak of Mac OS X. From then on, Focus was put on Social Media integration and data collecting services. Seems I‘m getting old an nostalgic.

Even worse: Sierra. Ouch. 10 years ago I used to go for every upgrade immediately (even .0’s). IMO new versions since maybe 10.8 added mostly data collecting bloat. macOS moved far away from the OS I once loved (peaked at Snow Leopard IMO). Funnily, macOS became “free” after Snow Leopard, so you’ve probably paid with your data ever since.

hehe, did the same, although not with +, but using a catch-all feature of the provider. I still get a lot of spam and phishing attempts on my „dropbox@<mydomain>“ address. I faintly remember they (dropbox) had a breach some time in the past.

BBEdit 14 5 years ago

I‘m reluctant to change over from TextWrangler to BBedit due to fear of loosing those unsaved „Untitled text 461“ documents.

Does anyone now if BBedit restores TextWrangler‘s untitled docs?

Interesting article and discussion.

I always wondered how the focusing actually works. It happens „automatically“, but what is involved? Are all cone types used for the focusing, or mostly the green-type ones? Or are there even special, dedicated cells for the focusing only? Does the control ober the muscle controlling the lens shape goes via the brain, or is there a more direct mechanism?

Is there an expert around to explain or give some links to explanations?

(as a side comment: as a teenager I learned to control the focus point to a certain degree. There were these pattern-3D images, „Magic Eye“, and since the perceived depth does not correspond to the actual distance of the image, they eye needs to correct. I guess the same applies to 3D cinema, and may well cause the eye strain reported by many)

When looking at the clustering, I'm asking myself if a density -based clustering algorithm (looking at you DB-Scan) would be also interesting. While loosing the "center color" information, the clusters could be used to replace the color with whatever color one wanted.

I can't find any information on the following questions:

Are all past versions of OS X / Apple Mail affected? For what OS X Version does Apple provide a security update regarding this issue? Has anyone found a fix that prevents auto-uncompression (such as a "defaults write com.apple.mail xyz False" command)?

Due to several reasons, I am also on an older Version of OS X and this issue makes me a bit nervous.

I'm not sure I understand the principle.

A heat pump achieves a COP (coefficient of performance) of approx. 3-4 (e.g. by investing 1 kWh of electricity, a heat pump generates 3-4 kWh of heat by extracting from the surroundings, air or sole, 2-3 kWh). In this example, by pre-heating the air, you supply the heat pump with ~0.9 kWh of thermal energy (the miner will convert 900 watt directly to heat I would assume). So instead of 1 kWh of electricity consumption from the heatpump, you have 1 kWh of electricity for the heat pump, plus 0.9 kWh for the mining, and you end up with a bit more than 3-4 kWh (since the COP of a heat pump increases if the source temperature is higher).

So in a nuthsell: before: in 1 kWh, out 3-4 kWh after: in 1.9 kWh, out 3.5 - 4.5 kWh

so you lose 0.4 kWh?

One dark pattern I especially hate is the "cookie consent dark pattern" that shows up nearly everywhere since GDPR. Usually the option to accept all cookies is highlighted in a nice color, with large and appealing font. The option to only accept the very necessary cookies is often greyed out an almost unreadable, to trick visitors into thinking this option is disabled.

As as an add-on: On many sites, the grey option is to edit cookie preferences, leading you to an overcomplicated site where you can set all possible details - tricking the user to accept again all cookies in order to save time.

Eehm. What is the actual difference between the MBA M1 and the MBP 13 M1? (except the latter is thicker?) Checked the compareison and didn‘t find anything substantial...

I fear that by dropping high frequency components, the result becomes visually unappealing (such as lines being parallel in the original becoming extremely wiggly and non-parallel).

Maybe OP can make an example with high frequencies removed?

As I understand a "time series" is created for both x und y coordinates, then these are fourier transformed for the spectral components. Then when redrawing, only the real parts are used.

Is it necessary to do it for x and y separated? Couldn't you just take x for the real part and y for the imaginary part of the time series and do the Fourier transform on that?

edit: monday morning typos.

Regarding indentation versus braces: In the beginning, I always thought python's only weakness is that it relies on indentation for code structure and I feared that some day my code will be messed up because of that. However that fear quickly disappeared as soon as I got my editors set up correctly... and the mess up never happened.

Still love pythons syntax in general.

... and definitely read objective-see's blog post from time to time if you are into security topics. The malware take-apart documentation is extremely enlightening.

(Intereseting fact: A lot of malware quits immediately if Little Snitch is installed. So running Little Snitch alone prevents some malware from infecting your system)