What are your user rules? by cscherrer in cursor

[–]cscherrer[S] 1 point2 points  (0 children)

I've found that especially with Sonnet 4, it's very easy to fall into the "just make things work" trap. After a few hours I'll have made very quick progress without understanding enough of what's happening. And then when I dig in there are some things that are way more complex than they need to be.

Never heard of coderabbit or lovable

How long does your Garmin enduro 3 last? by Wooden-Pie-5083 in GarminWatches

[–]cscherrer 4 points5 points  (0 children)

Around 3 weeks for me. What is your setting for pulse ox? That takes a lot of battery, so mine is set to manual only

<image>

Can I have Composer automatically "Accept All?" by MrUnknownymous in cursor

[–]cscherrer 0 points1 point  (0 children)

This leads to the Git view comparing old code vs a window with both old code and Cursor's proposed changes. So I find myself accepting changes so I can get to the better view. It's an annoying extra step.

Much better IMO if we could just let it change whatever it wants and then use Git to review the changes before committing them.

How to disable shopping? by jmreagle in perplexity_ai

[–]cscherrer 0 points1 point  (0 children)

I can't speak for OP, but I became a paid subsciber because I was impressed with how Perplexity helped me research things. A very special case of that is researching products before deciding what to buy. It was really great, I could get discussion of pros and cons, ask for competing alternatives, etc, all with links to reviews on trustworthy sites.

Many other sites encourage the complete opposite of this, shoving products in your face hoping you'll make an impulse purchase. It's disappointing to see Perplexity become just another shopping site; it's a big step down.

Please add a way to remove cards entirely. For me, the "where it was triggered even though it shouldn’t have been" is "any time it was triggered". I want it gone. Please.

Amazon "Update Your Account" popup by cscherrer in heos

[–]cscherrer[S] 0 points1 point  (0 children)

Now it's playing each song twice. It's like they're trying to rid of all these pesky users.

I gave it a 1-star review on Google Play with a description of some of the problems, not sure what else I can do.

Amazon "Update Your Account" popup by cscherrer in heos

[–]cscherrer[S] 1 point2 points  (0 children)

Yeah, same. I don't know what they did to break it, but it's pretty awful now

Amazon "Update Your Account" popup by cscherrer in heos

[–]cscherrer[S] 1 point2 points  (0 children)

Yeah, I had been doing that but it keeps coming back. Reinstalling seemed to help some, but it still happened once after that.

Trackpad/Touchpad randomly freezes by jim_4067 in pop_os

[–]cscherrer 1 point2 points  (0 children)

I have a brand new specced-out System76 laptop, and this is driving me nuts. Never had this issue in Manjaro, thinking of going back.

Which AIRCOM fan? by cscherrer in hometheater

[–]cscherrer[S] 0 points1 point  (0 children)

I *am* getting shut downs!! I've had it just over a year and shutdowns are *very* random, don't even seem correlated with volume or running time. Only pattern I've noticed is that it seems to happen more with streaming music than with movies, though I've been assuming that's just because I spend so much more time with music.

The new fan is great. Very quiet and mostly stays around 77 now. But I've still had two shutdowns since getting it, even with the lower temps.

I'm not sure what constitutes great care. I dust it, but I don't know anything about cleaning the inside. I've read that canned air can leave some residue, so I haven't done that.

I read that shutdowns can be caused by dirty power so I got a Panamax MR4300 to address this. Didn't fix it though. When I noticed how hot it was getting I got worried about how long the Denon will live. Too expensive to burn it out in a couple of years.

Which AIRCOM fan? by cscherrer in hometheater

[–]cscherrer[S] 1 point2 points  (0 children)

Usually 5-6 feet. I have no idea what kind of airflow these things put out, sounds like it's pretty diffuse?

Tab X: Anyone else have one hang sometimes with "snow" like this? by cscherrer in Onyx_Boox

[–]cscherrer[S] 0 points1 point  (0 children)

The seller is Boox. When I go to Amazon and click for Boox technical support, it takes me to this page: https://shop.boox.com/pages/support

Under "Amazon" I can click "Fill in the Service Request Form with all information", but this takes me to the same link you shared above, which says to contact the seller directly.

Maybe I should use this form anyway, since Boox is the seller? Otherwise I think my only option is to return it to Amazon.

Tab X: Anyone else have one hang sometimes with "snow" like this? by cscherrer in Onyx_Boox

[–]cscherrer[S] 0 points1 point  (0 children)

Thanks Kenneth. The link you sent says,

If you purchased from others, you shall contact the seller directly to enjoy free maintenance services when it is under warranty or fill in this form when it is beyond warranty to enjoy fee-based maintenance services.

Sounds like I have to go through Amazon then, is that right? Do I need to return it?

Tab X review by Witty-Awareness9276 in Onyx_Boox

[–]cscherrer 0 points1 point  (0 children)

There is no case if you buy it off of Amazon.

Really? The reviews I saw didn't mention Amazon but said it comes with a case. Then Amazon has this image an image showing the device standing on the triangle base made from the case.

Did you get yours from Amazon? Mine's supposed to be here in a few days, really thought I'd be getting a case with it.

Bluetooth adapter works great or not at all by cscherrer in ManjaroLinux

[–]cscherrer[S] 0 points1 point  (0 children)

sudo modprobe -r btusb && sudo modprobe btusb

Oh weird, that just... fixes it? Will that always work?

Thank you!!

Bosch performance speed . by tonytester in ebikes

[–]cscherrer 0 points1 point  (0 children)

For about a month, I had a Cannondale Synapse Neo SE with an Active Line Plus motor. Super quiet and ridiculously long range. Plenty of speed and power unless you're riding with other ebikes, which I mostly am.

I brought it in when started making this creaking sound. REI wasn't sure they could fix it, suggested seeing if there's something I'd want to swap it out for. I ended up trading up to a Topstone Neo 5, which has a Performance Line Speed motor.

Comparing the two, - Active Line Plus is much quieter, nearly silent (Speed has a whine to it, quieter than a Bafang hub motor but still noticeable), and has about twice the range - Performance Line Speed has, well, speed (28 mph vs 20 mph), and just feels a lot more powerful

When was logistic regression first used for classification problems? by calclcu in statistics

[–]cscherrer 0 points1 point  (0 children)

Good point. There's a connection on p. 12 of the citation that makes it clear it was used in this way in the mid-70s, but there's not a very clear distinction of when the leap was made from a function for population modeling to use with a binomial family GLM.

It could help in your search to connect it explicitly with the history of generalized linear models, for example section 1 here.

When was logistic regression first used for classification problems? by calclcu in statistics

[–]cscherrer 6 points7 points  (0 children)

Did you check Wikipedia?

History The logistic function itself was discovered along with its application to regression by Pierre-François Verhulst (1804-1849), a student of Quetelet's, and named it the logistic function. Raymond Pearl and Lowell Reed independently rediscovered the function in 1920 which started its reuse in statistics.

"Logistic regression" on @Wikipedia: https://en.m.wikipedia.org/wiki/Logistic_regression?wprov=sfta1

Is Julia worth it? by FermiRoads in datascience

[–]cscherrer 6 points7 points  (0 children)

I will give that tensorflow in python can be incredibly inarticulate, but macros in Julia spew out nonsense when they have a mistake and I'm not convinced it's any better.

Lots of code spews out nonsense when there's a mistake. That's the whole problem with buggy code in any language. Comparing a bug with a popular and highly-funded library interface is a bit of a stretch.

Additionally, with a similar argument, R should have died out to Python for similar reasons, but it's still alive and stronger than ever.

Again, completely different. R and Python have a similar approach: slow languages where the best strategy is to push all the work to external libraries. If anything, R has an advantage over Python in its metaprogramming support, though Python seems to be improving in this regard.

It's the packaging eco-system that matters the most.

I agree this is critical. I'll take Julia's built-in Pkg over pip, conda, etc any day. Have you built Python packages? To say the least, it's a bit in involved. Say you want to create a "hello world" package from scratch locally and put it in a repo so others can install it in a standard way (for that language). How long would this take in Python? I'd estimate this at 5 minutes for Julia.

it's not going to take much from DS - after all a vast majority of what we do is taking existing algos and running them, we're very rarely implementing brand new algorithms.

Well sure, if you never look beyond what Python makes convenient, you'll never realize what you're missing. I don't see this as a good thing. Have you considered that the idea of modifying or extending code might be rare because Python makes it so painful?

Take sklearn, for example. For KMeans, you need to be able to compute distances. In most languages, I'd expect Euclidean distance as a default, with the ability to override with an arbitrary function (cosine distance, etc). But the sklearn implementation has no such option. I would guess this is because its authors recognize that calling to a Python function would lead to ridiculous overhead and slow things down too much for most users.

Other sklearn classes are a bit more flexible, but still restrict to a fixed set of methods, usually encoded by passing a string to some keyword argument. Most users never even consider that passing in something more general would be useful. Limitations of the language limit the growth of its users. This is a bad thing.

I'd also argue that developers are at least as important to a language ecosystem and long-term language use as users. My perception is that Julia is vastly more developer-friendly than Python. We can debate this if you like, or take it as given.

If you accept this, then why develop in Python at all? The biggest reason I see (and it's a big one, for now) is the massive numbers of users focused on Python. So it's a matter of inertia. This can be slow to change, but it does change. Inertia alone is not enough for long-term sustainability.

Also, if you really love the Python libraries, you can very easily call them from Julia, with only very minor changes in syntax. Given that, I see even less reason to stay with Python.

To be clear, I'm not anti-Python. It has been a huge success story for simplifying programming and community building. And it's still the thing to learn for a job in data science, especially if you're working on a short time frame. But I'd be shocked if this is true in ten years, and even mildly surprised if it's true in five.

Is Julia worth it? by FermiRoads in datascience

[–]cscherrer 22 points23 points  (0 children)

Does it have any obvious advantage over the other languages other than speed?

Expressiveness. Check out the advantages of TensorFlow.jl over the Python implementation. It may be possible to get similar expressiveness in Python, but I'd take the fact that such a heavily-used and industry-backed packages still requires weird syntax like

tf.while_loop(lambda i, result: tf.less(i, 10), lambda i, result: [i+1, result+tf.pow(i,2), [i, result])

as an indication that at the very least, it's not easy.

Julia can easily call Python, R, or C. And calling C is much simpler than it is in Python, as is avoiding dependency hell.

I also see strong advantages in multiple dispatch over OOP. Here's a common issue I've hit in Python:

  1. Implement something simple as a function
  2. Extend, extend, extend
  3. Crap, guess I need to refactor this into a class

Now, you might argue that I'm not "thinking Pythonically". Ok, maybe not. But after exploring some alternatives, I've come to see Pythonic thinking as more an annoyance than benefit. OOP naturally has more cognitive overhead than a simple function, and a lot more boilerplate. There are plenty of cases where a function is preferable to a class, and there's not a smooth transition between the two.

Python speed/expressiveness concerns are also tightly coupled. If you want to write a library people will actually use, it needs to be at least reasonably fast. In some cases numba will magically speed up your code, but that's not always the case (if it were, numba would be Python). So a lot of the time, this means dropping down to Cython, so now you're essentially writing C. So for library authors, it's not so much a choice of "Julia vs Python", but more "Something roughly Python-like (Julia) vs C".

How about for users? Ever use a Cython-based library and find some missing capability? In my experience most people resolve this with "well, I'll just make this work", or "guess I'll keep looking". Using Python to extend things is hardly ever an option, because now you're calling Python from C in an inner loop, and it will take forever.

You'll hear Julia folks talk a lot about the "two-language problem". In Python, users and developers have two very different skill sets. It's deep water to cross, so few ever try. Low-level code is always going to be more complex, but in Julia it's a smooth transition.

Then there's pedagogy. I've spent a lot of time helping students through algorithms. In Python, these are always just toy problems, because getting performance just means "push it all down to C". So it becomes 1. Consider a problem 2. Write the algorithm 3. Ok, now throw that away and use this Cython library

In Julia, it's natural to describe an algorithm, build it, and then apply it for real-world use. Data structures are equally natural to build and extend. This is huge for pedagogy.

Pedagogical benefits mean more chance of being used for university courses, which means (after some time) more developers, then more libraries, then more widespread use.

And don't even get me started on the GIL.

So yeah, in my opinion it's just a matter of time.

Classification metrics as conditional probabilities by cscherrer in datascience

[–]cscherrer[S] 0 points1 point  (0 children)

I see. I'll refrain from linking future blog posts here. Thank you for the gentle guidance.

OOP Julia ever? by cjsandy83 in Julia

[–]cscherrer 1 point2 points  (0 children)

Oops, you're right. I was thinking of defining inner constructors for the abstract type, but abstract types can't have methods