Hacker Newsnew | past | comments | ask | show | jobs | submit | realreality's commentslogin

I use a slow cellular connection and noticed some apple service (I could never figure out which one, even after installing an outgoing firewall) was aggressively uploading some large blob every time the mac woke from sleep, which made the whole connection useless for up to half an hour.

At some point, apple must've fixed this "bug", but the experience -- and apple's increasingly obtrusive software -- convinced me to switch to linux.


My Macbook used to grind CPU for 10-20 minutes after every power on. That happened with literally fresh install and it does it every time. I don't know why does it do that. May be some indexing? This lack of transparency was one of the reasons for me switching to Linux too. I don't want my OS to do anything at all in background, that I didn't explicitly configured to. I want to be in full control of my software. Linux is far from perfect, but much better.


Huh, which process was doing this grinding on your MacBook?


In my experience this is usually Spotlight indexing files/checking previous indexes etc. If you have any backup software running that will do it too.


Generally it's mds_stores, but sometimes there are other ones which I don't remember atm. But mds_stores is the biggest offender.


Lack of transparency is almost a feature for these systems, and definitely something that serves the vendor, not the user. My daily driver is a Linux for the same reason - there is just so much less bullshit going on, and if I want to find something out, I can.


Plumbers make excellent money because regulations require licensed plumbers to do the work, and plumbing unions have a financial interest in limiting the number of plumbers.

But anybody can do plumbing. It’s not rocket science.


You can hire a non-union plumber. There isn’t usually much of a price difference. Where I live, you can easily find a non-licenced plumber (called “moonlighting”, usually done by apprentices of licenced plumbers). A lot of people prefer not to since you’re on your own if something goes wrong.

Plumbing requires skill, particularly for difficult jobs, and also requires advanced equipment to do such a job in a reasonable amount of time, such as special cameras to inspect a septic tank or drain line without having to actually cut into it.


Where I live, permits are only given to licensed plumbers, and all work on plumbing requires a permit (though I’m sure many people ignore the rule).


> regulations require licensed plumbers to do the work

Regulations come about because of repeated failures that end up harming the public. Regulations aren’t a dirty word, and aren’t obstacles to be “disrupted” in most cases.

> plumbing unions have a financial interest in limiting the number of plumbers

Golly gee, it’s almost as if - because we live in a society where everyone must work in order to survive - that skilled professionals have a vested interest in ensuring only qualified candidates may join their ranks, to make it harder to depress wages below subsistence levels (the default behavior of unregulated capital).

> But anybody can do plumbing. It’s not rocket science.

Oh wow, I had no idea I was qualified to design sewage infrastructure for my township just because I plumbed my Amazon bidet into the cold water line! Sure glad there’s no regulations stopping me from becoming a licensed plumber since apparently that’s all it takes to succeed!

Sarcasm aside, your argument holds about as much substance as artificial sweetener: it sounds informed and wise, but anyone with substantial experience in reality and collaborating with other people knows that all you’re spewing is ignorance of the larger systems at work and their interplay.


> Regulations come about because of repeated failures that end up harming the public.

Sometimes, but see also the concepts of “iron triangles” and “regulatory capture”.


You’re not wrong (examples include the US FCC, ZA’s Telekom, ye olde Standard Oil, vertical integrations…the list goes on, and even includes modern cloud services and AI tools, since the regulations they champion are often intended to block competitors with onerous compliance requirements), but in the context of the person I was replying to, they used “regulation” very much in the same context Uber/AirBnB and the SV Libertarian ilk decry “regulations”.

Regulations aren’t a binary (exclusively good or exclusively bad), yet so many of the HN cohort have drank the “exclusively bad and everyone can be trusted to make good decisions forever” koolaid that seeks to dismantle regulations wholesale.


You’re wasting your time fighting a straw man. I never said all regulations are bad.

The question was why plumbers are expensive. I assert that it’s not because plumbing is especially difficult.


> You’re wasting your time fighting a straw man.

Smartest thing you’ve said all day. Thanks for reminding me that trying to convince someone of something when they cannot be bothered to do research beyond first order impacts is a waste of my time.


Designing sewage infrastructure isn’t rocket science, either. If citizens in your town needed to do it, they could figure it out, regardless of their credentials.

Sometimes regulations come about to protect the public. Often, they’re enacted to protect the profits of insurance companies, banks, and other influential industries. Don’t be naive about “the systems at work and their interplay”.


Use `concurrent.futures.ThreadPoolExecutor` to submit jobs, and `Future.add_done_callback` to flip the transcription field when the job completes.


Although keep in mind that the callback will be "called in a thread belonging to the process" (say the docs), presumably some thread that is not the UI thread. So the callback needs to post an event to the UI thread's event queue, where it can be picked up by the UI thread's event loop and only then perform the UI updates.

I don't know how that's done in Pyside, though. I couldn't find a clear example. You might have to use a QThread instead to handle it.


Thank you. Perhaps I should trigger the transcription thread from the UI thread, then? It is a UI button that initiates it after all.


The tricky part is coming back onto the UI thread when the background work finishes. Your transcription thread has to somehow trigger the UI work to be done on the UI thread.

It seems the way to do it in Qt is with signals and slots, emitting a signal from your QThread and binding it to a slot in the UI thread, making sure to specify a "queued connection" [1]. There's also a lower-level postEvent method [2] but people disagree [3] on whether that's OK to call from a regular Python thread or has to be called from a QThread.

So I would try doing it with Qt's thread classes, not with concurrent.futures.

[1] https://doc.qt.io/qt-5/threads-synchronizing.html#high-level...

[2] https://doc.qt.io/qt-6/qcoreapplication.html#postEvent

[3] https://www.mail-archive.com/pyqt@riverbankcomputing.com/msg...


Terrific, thank you. You've put me on the right track.


Thank you.


In 10 years, resource, energy limits, and wealth inequality will become increasingly clear to everyone, while the climate continues to warm at an accelerated rate. Social instability might preclude the existence of software engineering, aside from a tiny minority supporting the lavish lifestyles of the ultra-wealthy.


The system was already authoritarian, if less blatant to most people. Any meaningful resistance to the power structure gets crushed, and everyone tacitly accepts that arrangement.


Indeed, just look at the perp walk of Luigi Mangione. I've never seen so many feds in one place for one guy. I guess the rulers didn't like that one bit.


Are you referring to the climate and ecological crisis, or the many cascading problems resulting from overextraction of limited resources?

There won't be any tech on a dead planet.


Yes, it would be wonderful to be able to tune out the wretched poor people. Maybe a future headset will include a forcefield to actively repel potential muggers or oncoming vehicles.


This is an astoundingly uncharitable attempt to make my otherwise personal assertion classist. Am I to meet my overstimulating environment head on, further exasperating my anxiety and mental exhaustion simply to please others who think my condition is actually a signal of wealth? I am not able to do so, and I am not apologetic about it.


The top photo has a blue-green cast, whereas the bottom photo has a magenta cast.

Maybe the bottom one is a more realistic reproduction of the scene, but I also prefer the top one, which is more saturated and closer to what I associate as a film image.

Each kind of film has its own character and color variations; it’s silly to try to neutralize everything.


This can’t be all of the rules. Where are the instructions about avoiding controversial topics?


those are baked into model, as we see with llama3 refusing to answer certain questions without any system/useer prompt.


Here's another exponential trend. It's showing no sign of slowing down, despite the exponential increase in solar power. (Gosh, I wonder why)

https://scripps.ucsd.edu/bluemoon/co2_400/co2_2k_ce.png


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: