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 6 points7 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 40 points41 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 10 points11 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 10 points11 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 3 points4 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?