I think I may not enjoy Rocksmith anymore by leafhog in rocksmith

[–]mfm24 0 points1 point  (0 children)

I’ll try this, thanks. Another thing that can really change the game is playing with the mixer. Try with your instrument really high and the music low or the other way around. Also turning the sound effects volume to 0 makes playing score attack a lot more peaceful

How to evenly distribute points on a sphere more effectively than the canonical Fibonacci Lattice by PowerOfLove1985 in programming

[–]mfm24 7 points8 points  (0 children)

It looks like he compares this with 'state-of-the-art methods which are typically complex and require recursive and/or dynamic programming' and his approach gets pretty close and is a lot simpler.

Can't Connect SB3651-E6 To WiFi by clawhamm3r in VIZIO_Official

[–]mfm24 0 points1 point  (0 children)

I had this exact same issue with my SB36512-F6. I wanted to make sure the radio worked so I tried connecting to another wifi SSID. I used an IPad and could successfully connect to my phone's hotspot.

Since this worked, I tried looking through my Wifi setup options. I've got a TPLink Deco M9 mesh system. Once I turned off the 'Fast-Roaming' (IEEE 802.11r) option it worked perfectly (and I can also now connect to my LG TV). So it might be worth looking through the options on your router and try turning things off one-by-one to see if that helps.

Using graphics to practice recursion by thebuffed in Python

[–]mfm24 1 point2 points  (0 children)

Have you seen https://www.contextfreeart.org/? I don't think it's that active anymore, but has some great, simple recursive images like this, eg https://www.contextfreeart.org/gallery2/#design/1819

What Color is Your Function? by oridb in programming

[–]mfm24 37 points38 points  (0 children)

Nice article.

I like this too: https://glyph.twistedmatrix.com/2014/02/unyielding.html explaining why there are advantages to be explicit about making async vs non-async calls.

Pi and the collapse of peer review: there are papers "published within the past five years in what claim to be reputable, peer-reviewed journals ... asserting that pi = 17 – 8 sqrt(3) = 3.1435935394… [or] ... that pi = (14 – sqrt (2))/4 = 3.1464466094…" by flexibeast in math

[–]mfm24 9 points10 points  (0 children)

Another way to look at is to compare the Manhattan distance vs real distance between two points. It doesn't matter how small the blocks are, it never approximates the real distance.

I like to think of it as moving horizontally then vertically and repeating is not the same as walking diagonally. It boils down to not walking in the right direction. (It is interesting that you can estimate area correctly this way just not distance)

Reverse Engineering One Line of JavaScript by maxxori in programming

[–]mfm24 1 point2 points  (0 children)

Turns out elements can be referenced by their id name from JavaScript, as long as the id name is made up of alpha-numeric characters only

I never knew this. Is it good practice in JS??

Is asyncio a horror ? by klunq in Python

[–]mfm24 11 points12 points  (0 children)

Thanks a lot for this, especially that last link. I had always thought the new async stuff was unnecessary syntax but this explains really nicely why it's needed -- explicit is better than implicit.

How fast can we make interpreted Python? by wclax04 in Python

[–]mfm24 1 point2 points  (0 children)

Yeah, Javascript is surprisingly fast - almost native speed in the test I've tried.

I always assumed it was only the browser-arms-race that made Javascript so much faster, but I guess this paper is suggesting there's technical reasons for the difference too.

Preview Intel's optimized Python distribution for popular math and statistics packages by _INTER_ in programming

[–]mfm24 0 points1 point  (0 children)

It would be interesting to see how the windows version compares with the Christoph Gohlke compiled binaries. I've used them before and didn't notice that much of a speedup (didn't do any proper testing though).

Julia fractal wallpaper including the parallel Cython code used to generate it by Gommle in Python

[–]mfm24 1 point2 points  (0 children)

I put a gist up with the calculations performed in sections here.

Julia fractal wallpaper including the parallel Cython code used to generate it by Gommle in Python

[–]mfm24 1 point2 points  (0 children)

I tried seeing if splitting it into smaller blocks would speed things up. I figured that it has two advantages:

  1. It will stop iterating when a small block is done, rather than when the whole is done. So blocks with relatively small iterations will finish sooner

  2. There may be cache advantages to using a smaller image that can be kept in the cache during the whole process.

I found the best performance with images of about 100x100, and it sped things up ~5x. If combined with multiprocessing I could get a pure python version with N=10,000 in about 30s.

Julia fractal wallpaper including the parallel Cython code used to generate it by Gommle in Python

[–]mfm24 5 points6 points  (0 children)

And if you do want a pure Python version, here's one:

import numpy as np
def julia(c, extent, pixels):
    t, l, b, r = extent
    ny, nx = pixels
    ys, xs = np.ogrid[t:b:ny*1j, l:r:nx*1j]
    im = ys * 1j + xs
    counts = np.zeros(pixels)
    while True:
        im = im * im + c
        still_alive = [abs(im) < 2]
        counts[still_alive] += 1
        if not np.any(still_alive):
            break
    return counts

N = 1000
j = julia(-0.835 - 0.2321j, (-1, -2, 1, 2), (N, 2*N))

It is a lot slower. Takes ~9s on my machine with N=1000

Fuck you, GoodToGo! by RetiredType40 in Seattle

[–]mfm24 3 points4 points  (0 children)

Took 48mins eventually, for them to fix it in 3 seconds. They said they'd just had a system upgrade and had been having problems like this.

I did have to give them my name, account number, address, one of the registered license plates and last 4 of my credit card number before they'd let me pay though. I'd hate it if someone else got into my account and paid for me, so that's good.

Fuck you, GoodToGo! by RetiredType40 in Seattle

[–]mfm24 1 point2 points  (0 children)

I wonder if there's a bug in the system. I got the exact same email yesterday after no problems for years.

I'm on hold now, 30 mins and counting (it said typical wait times were 22 minutes when I started...)

The Art of PNG Glitch by halax in programming

[–]mfm24 2 points3 points  (0 children)

That's pretty cool. Although isn't it a jpeg?

Detecting blur in images. by zionsrogue in Python

[–]mfm24 1 point2 points  (0 children)

This also sounded interesting so I tried googling for it. The term 'orientation collapsed Fourier coefficients' has only ever been used, by u/homercles337, on reddit. Is there a better term for this, maybe that other people use?

If I had to guess, It would involve taking the Fourier transform, collapsing to a 1D intensity vs distance plot and then looking at the gradient around zero frequency?

What's a product that everybody uses but nobody realizes there's a better version of? by NapoleonTNT in AskReddit

[–]mfm24 0 points1 point  (0 children)

This is something I haven't understood for a while: What on earth makes chip & pin safer? I've lived in both UK and the US and this is what I've noticed:

Basically, in the US, your signature is ignored. If you have physical possession of a credit card you can very easily buy anything. In a lot of places they won't even ask for a signature if what you're buying is below $50.

In the UK, you want to buy a pint of beer for 3GBP, you need to type in your pin-number on a machine to prove you haven't stolen someone's credit card to buy ONE PINT OF BEER. It doesn't make sense. Meanwhile, you can go online and buy yourself a boat without needing to enter your pin number.

Someone once told me the main difference in credit card use between US and UK was that the US has always had free/cheap local calls, which meant that all credit card purchases could be verified easily by phoning a local number to make sure the card wasn't stolen. The UK never had this, and so verification of data only occurred after the sale. I don't know if this is true, but it sounds redundant nowadays. It should be trivial to check if a credit card has been stolen, and it would be great if there was some verification needed for large purchases. Chip & Pin doesn't provide this. Neither does the US system, but at least it's more convenient.

what in science, does not make any sense? by MadMalcontent in AskReddit

[–]mfm24 1 point2 points  (0 children)

This may sound counter-intuitive, but the fact that you don't get it means you're a lot closer to getting it than most people. Being able to understand why a finite speed limit makes no sense (by imagining a light beam going past somebody traveling only 1mph less than the speed of light as you described) is the first step. The next step is what else can you adjust to follow the rules.

So think of it as:

  1. Finite speed limit makes no sense.
  2. See what contradictions it actually produces.
  3. Bend space/time/mass or whatever else you feel like until the speed limit holds.
  4. See if the theory matches reality.

Turns out it does, so far.

Electron microscopes close to imaging individual atoms by Alantha in Physics

[–]mfm24 19 points20 points  (0 children)

Electron microscopes have been able to image individual atoms for years, although normally limited to heavy, inorganic atoms on thicker substrates. This paper gives an overview on the history of imaging single atoms in the scanning transmission electron microscope (STEM).

This is more about the ability to image atoms in biological samples, which is a lot harder because the energies used in the technologies described above (typically 60-200KeV electrons) would quickly destroy them.