32
submitted 1 month ago by solrize@lemmy.world to c/linux@lemmy.ml

Basically want something with decent performance and durability. Cost matters, but I'm not trying to hit rock bottom. I'm particularly wondering, is an HMB-type PCIe SSD ok combined with a SATA adapter? I think HMB is supported if your machine can use a PCIe or NVMe disk directly, but I'd be using an older Thinkpad with a 2.5" SATA slot at least for now. So I'm wondering if I'd lose a lot of performance if the SSD combo doesn't have its own RAM buffer.

I see good deals by today's standards for PCIe SSD's at of all places, Office Depot.

Thanks.

[-] solrize@lemmy.world 112 points 1 month ago

Article is from 2018. Someone must have pasted the url from hacker news where the same story was dug up recently.

4
submitted 2 months ago by solrize@lemmy.world to c/android@lemmy.world

cross-posted from: https://programming.dev/post/28431012

  • Google is set to cut hundreds of new jobs in its device and platforms divisions soon.
  • The company has continued to cut its Google Pixel teams, doing so earlier this year as well.
  • Rival Microsoft is considering a new round of layoffs next month, per reports.
9
submitted 2 months ago* (last edited 2 months ago) by solrize@lemmy.world to c/android@lemmy.world

Apparently Android apps (even in current Android versions) can check for the presence of other Android apps by listing the apps they want to check for in their manifest file. Nothing stops them from listing dozens or hundreds of other apps, and some do exactly that. Up til Android 11 they didn't even have to list the other apps in the manifest. Then Google "tightened" things to be almost as bad. Dumb move, Android.

19
submitted 3 months ago* (last edited 3 months ago) by solrize@lemmy.world to c/rust@programming.dev

Question is how to do these in Rust. An example might be a browser DOM: each node has a parent pointer, a list of child pointers, left and right sibling pointers, maybe a CSS node pointer, etc. Inserting or deleting nodes has to repair the pointers to and from the neighboring nodes as needed.

I know this is doable since obviously Servo (Rust's initial driving application) has to do it. I hope the answer doesn't involve the word "unsafe". But I am quite unclear about how to create such a structure under Rust's rules of pointer ownership, and also how to reliably reclaim storage when nodes and trees/subtrees are deleted. Plus there will be thread safety rules that should be statically enforced if possible.

I've heard that doubly linked lists in Rust are handled by an unsafe library, yet this seems even worse. Thanks.

3
submitted 4 months ago* (last edited 4 months ago) by solrize@lemmy.world to c/android@lemmy.world

A while back, people here kindly explained how typical commercial Android apps get push notifications. Quick version: notifiications are sent through Firebase Cloud Messaging (FCM), which communicates with Google Message Services (GMS), an always-on Android client app preinstalled on most Android phones. There's a FOSS alternative to GMS called MicroG but it's still an FCM client, and FCM is an evil Google service that client apps that use it have to enroll with even if you escape GMS on the client side.

Right now I'm interested in sending myself push notifications from a self-hosted service that I run on a VPS. Of course I don't want to deal with FCM. I also prefer to not have to develop an Android app as opposed to running something like an XMPP client.

It looks like there are some alternatives like Iris and Unified Push (unifiedpush.org). It looks to me that UP becoming the preferred solution, is that right? UP has its own always-on client that can receive messages from a UP server that you can self-host. This sounds ok to me in principle.

My main question is whether UP is somehow worse than GMS, in terms of being a background app that keeps a network connection open. Is GMS anything special in that regard, besides being preinstalled by Google? Would GMS use less battery power or anything like that?

I may also have to look into how XMPP works, if my server program is going to send messages through it. I actually have an unrelated reason to be interested in XMPP. But does that approach sound reasonable? Are there XMPP clients that are non-bloaty, don't eat battery energy in the background, etc.? I'd like a loud audio alert if I get one of these notifications from my server. Can I usually easily set up XMPP clients to allow that only from my own service, while not making sounds for anything else? I'm luddite enough that I still use IRC for online chat, but maybe I have to catch up with the ~~20th~~ 21st century about this. Is there a good community to discuss XMPP development and self-hosting? I.e. I'd want to self-host the XMPP server and use it to send messages to my phone from my own (also self-hosted) server app.

The simplest alternative I can think of is for my server program to just sometimes send me SMS messages through Twilio or similar. The alerts will be infrequent enough that I don't mind going this route. Does that sound easier? It's less in the self-hosted spirit but it gets rid of a lot of software on both the server and the phone, I guess.

Thanks!

3
submitted 4 months ago* (last edited 4 months ago) by solrize@lemmy.world to c/chess@lemmy.ml

8 games, 60 minutes + 30 second increment for Benjamin, i.e. classical TC though a bit quicker than some. Benjamin gets N odds in all games. Leela will play at bullet speed. The hardware is not specified in the thread I linked. Leela will apparently be running a network specially trained to play with knight odds. Match will be livestreamed on Youtube with GM Matthew Sadler commentating. It will take place over 3 days, January 25 through 27th.

For those not familiar, Leela is a neural net chess engine inspired by Alpha Chess Zero. GM Sadler is a co-author of "Game Changer", a book analyzing a bunch of games of Alpha Chess Zero, so he's just about an ideal commentator for this event. It should be interesting.

Added: official page about match: https://lczero.org/blog/2025/01/leela-vs-gm-joel-benjamin/

Results of first 5 rounds: 0-1, 0-1, .5-.5, .5-.5, 1-0. Leela has white in all games so this means Benjamin won the first two, drew the next two, then lost one (game 6 now in progress). Maybe he is getting tired. He said after the first day that he was "knackered".

-1
submitted 5 months ago* (last edited 5 months ago) by solrize@lemmy.world to c/android@lemmy.world

Basically I've acquired a burner Android 8 phone and am running the target.com app which is the only way they let you get parking lot delivery at the store. I assume the Target app is spyware. I keep the phone powered off almost all the time which should limit the spying. The thing is, if I power up the phone and order something, then close the app, I still get an alert when the status of the order changes (e.g. it's ready for pickup). So the app is still listening for network traffic from Target.

Can anyone explain what is happening in Android and whether there is a way to make an app really stop? Does the app stay in a running state even after I've closed the UI part of it? Is there somethng like an inetd in Android that listens for network alerts and re-launches the destination app? Are there Android app permissions associated with this, that I can revoke?

I don't want to run this type of app on my main phone, but I had at first liked the idea of using a burner for such things. Now, though, I wonder if I need a separate burner for each suspicious app. Thanks.

6
44
submitted 7 months ago by solrize@lemmy.world to c/android@lemmy.world

People keep mentioning GraphineOS as a reason to buy a Pixel, but in other regards the Pixel hardware doesn't seem so great. If you get a different phone that can run Lineage, is Graphene really better? Thanks.

[-] solrize@lemmy.world 98 points 7 months ago

Those sorts of jobs are filled from low-wage countries.

115
submitted 7 months ago by solrize@lemmy.world to c/news@lemmy.world
124
submitted 7 months ago* (last edited 7 months ago) by solrize@lemmy.world to c/android@lemmy.world

Samsung Galaxy XCover Pro 4G. From 2022 but there are newer models. So stop saying HUR HUR WATER RESISTANCE when people ask for phones with swappable batteries. This shows it can be done.

Edit: was $120, now sold out.

275
submitted 8 months ago by solrize@lemmy.world to c/science@lemmy.world

Many voters are willing to accept misinformation from political leaders – even when they know it’s factually inaccurate. According to our research, voters often recognize when their parties’ claims are not based on objective evidence. Yet they still respond positively, if they believe these inaccurate statements evoke a deeper, more important “truth.”

[-] solrize@lemmy.world 166 points 11 months ago* (last edited 11 months ago)

Worst possible experience, not hardly. He mailed the thing and tried to track it, and it didn't work. When I saw "worst possible experience" I expected a swat raid or something. This is 2024, and if all that goes wrong with a new tech gadget is that it doesn't work, that's literally a nothingburger. At least give us some battery explosions or something.

Obligatory: https://biggaybunny.tumblr.com/post/166787080920/tech-enthusiasts-everything-in-my-house-is-wired

[-] solrize@lemmy.world 101 points 1 year ago* (last edited 1 year ago)

I tried Kagi (free 100 query plan) and got about the same results as google/DDG. It's kind of nice but I couldn't see subscribing. I hate subscriptions. If they sold access for a flat fee per query (let's say $5 for 200 queries) I'd buy that, and use a dozen or so queries a month. The rest of the time I'd keep using DDG or occasionally resorting to Google.

[-] solrize@lemmy.world 139 points 1 year ago

TFA: Greta Thunberg and four co-defendants have been found not guilty of breaking the law when they refused to follow police instructions to move on during a climate protest.

District Judge John Laws threw out a public order charge due to "no evidence" and added police attempted to impose "unlawful" conditions during a protest.

[-] solrize@lemmy.world 126 points 1 year ago

Ambiguous title. The pastor didn't ask for money from the freezing people. He took them in for free. The city then criminally charged him for violating zoning rules:

Chris Avell, pastor of Dad's Place in Bryan, Ohio, was arraigned in court last Thursday because he kept his church open 24/7 to provide warmth to the unhoused.

Ohio law prohibits residential use in first-floor buildings in a business district. Since the church is zoned as a Central Business, the building is restricted from allowing people to eat or sleep on the property.

[-] solrize@lemmy.world 97 points 1 year ago

Spoiler: Apple.

[-] solrize@lemmy.world 117 points 1 year ago* (last edited 1 year ago)

Lol, twitter was brilliant when it was 144 character text messages. Then it got ruined by adding photos. Now it is going the rest of the way down the tubes by becoming becoming video first. Ugh.

[-] solrize@lemmy.world 97 points 1 year ago

I had thought that since the 2001 hijackings it has been basically impossible to open the cockpit doors during flight, except from the inside. On El Al planes I'd heard it was impossible period, so hijackers couldn't threaten their way in, but US carriers didn't want to do that because it means the cockpit needs its own lavatory, displacing a few passenger seats.

[-] solrize@lemmy.world 99 points 1 year ago

I read about 1 page of that guy's book years ago, pegged him as a scammer, and put the book back on the shelf. Looks like I got it right.

[-] solrize@lemmy.world 130 points 1 year ago

I don't post on reddit any more but I still look there now and then. I don't notice much change. From everything I've heard, the protest failed. A few snowflakes like me quit posting and/or moved to Lemmy, but mostly things at reddit were back to normal within a few weeks after the blackout.

[-] solrize@lemmy.world 384 points 1 year ago

Swappable batteries in mobile phones.

view more: next ›

solrize

joined 2 years ago