33
submitted 2 months ago by [email protected] to c/[email protected]

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.

[-] [email protected] 131 points 3 months ago

The main value of youtube for many of us is the enormous video collection, which is impractical for anyone else to duplicate. Need to fix an old washing machine (I did, recently)? Type in the make and model and there's an instructional vid. It's unfortunate that Google has exclusive control over such a resource, but here we are.

[-] [email protected] 178 points 3 months ago

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

80
submitted 3 months ago by [email protected] to c/[email protected]

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.
13
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]

It's almost the same as v1.0. Surprisingly complex circuit. 13 minute video.

119
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]

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.

21
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]

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.

6
submitted 5 months ago by [email protected] to c/[email protected]

Now I have a use for my Sofirn C01R and that H25LR headlamp with 670nm LED's. Cool. 3 minute exposure to 670nm light in the morning apparently improves color perception for the rest of the week. I'll read more closely to find the right intensity and so on.

20
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]

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!

4
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]

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".

12
submitted 6 months ago by [email protected] to c/[email protected]

They apparently do this every year. You have to make an account on their site which subscribes you to an email newsletter (you can unsubscribe) and deal with some popups and upsell attempts, but it's a decent basic 1AAA light from everything I've heard. 90 lumens, 1 level, 60mm long, maybe not great LED tint, i.e. sort of a less nice version of the Skilhunt E3A but still fine.

Users supposedly get free shipping on their first order and someone on reddit claims to have actually received this, but I didn't, and had to pay the $5.

It's 1 per person and there are apparently a lot of people trying to scam the site, so my payment got flagged as possible fraud (card declined). I called the card company and they fixed it, so my order went through.

I'm not a huge fan of Olight for various reasons, but hey, a free light, I'll take it.

40
submitted 6 months ago by [email protected] to c/[email protected]

It's an old "Soshine" branded NiMH AAA cell claiming 900mah. I'm not about to test it but I did use it for a while. I've standardized on Eneloops since then. Anyway this is FYI so you know that NiMH leaking is a thing.

31
submitted 7 months ago* (last edited 7 months ago) by [email protected] to c/[email protected]

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.

[-] [email protected] 133 points 7 months ago

We need browser extensions to kill those tags automatically.

15
submitted 7 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]

Rating: 4.5/5.

I needed another headlamp and was familiar with an earlier, micro-USB, white-led-only version of this light. Build quality of both is fine, I'd say not fantastic but perfectly usable for not too demanding purposes, and a terrific value for the price. Claimed water resistance level is IPX6. Headband is comfortable given that this is not a tiny light. I think it is still small enough to not need an over-the-head strap. Weight is about 108g including battery and strap.

Wurkkos and Sofirn both sell these lights and I think I heard somewhere that the actual manufacturer is Boruit. There are various models with different configurations. The H25LR has one white led, one 660nm (deep red) led, and USB-C charging.

Order date: Nov 22 2024. Got shipping notice on Nov 24. Package delivered December 5, so about 10 days transit from China to California, not bad. Cost was $19.99 including an 18650 battery. Shipping was free due to order being above $19. This is hard to beat.

The included battery is labelled with Wurkkos branding and says 3000 mah. It is an 18650 button top. I didn't test the capacity or charge current, but I measured the length at around 66.5mm not including the button, with the button adding another 2mm or so. So maybe it's a protected cell, I don't know. The springs in the light are pretty stiff. If you loosen the "tail" cap by 1/4 turn or so, the light breaks contact with the battery, giving you a lockout from accidental turn-on and also from parastic drain. I tried swapping in an unprotected flat top battery and that worked fine including the lockout.

The UI is fairly sane given that it's a 1-button light with multiple colors and levels that doesn't run Anduril. Short click to activate white led at the same level as last time, long click for red, also at same level as before. Once either led is on, hold down button to cycle through 4 levels. I didn't attempt brightness or runtime measurements.

My general comment about the beam is that it's more directional that I'd prefer, particularly for close-up usage. This is for both the white and red leds. It's not terrible, it's just that I like floody beams for reading and fixing stuff.

The lowest levels of both leds are ok, not super low. Some people appreciate ultra low levels and I can understand that. These are just regular low. I find that level 2 of the white led is about right for reading, walking indoors in the dark, etc. The higher levels are there when you need them.

The red led goes from low to quite powerful, like several watts. I don't quite understand the purpose of a powerful red led. Does anyone really want long distance outdoor illumunation in deep red? I would have been fine with just the low level, or a redesigned light with two full sized white leds, plus an auxiliary small red led. The red led for me is for minimal disturbance to your own night vision and that of others around you. So it should be just bright enough to maneuver in the dark or see an object (telescope, say) well enough to reach and turn a knob. I don't remember ever wanting a bright red light.

There is a handy featue of an RGB led under the on-off switch. When you first turn on the light, that led acts as a battery level indicator (green=charged, etc.) and it stays on for a few seconds. Also, when you plug in a USB charger, it lights red during charging and green afterwards.

The instruction pamphlet says charging takes 4-5 hours, suggesting a 500 ma charge rate similar to the micro-USB version. I.e. it's likely to be the same charging circuit except with a USB-C connector. That is ok with me. The instruction pamphlet also amusingly says that questions and problems should be emailed to [email protected], heh.

A slightly more "premium" approach would be to include faster charging (3 amps) and maybe powerbank output. I do like lights with built-in chargers, as opposed to the kind where you have to remove the battery and charge it outside the light. Sorry about that, Hank ;).

Wurkkos now has the interesting HD10 Mini which is a 14500 powered anglehead flashlight / headlamp with Anduril, sort of like the Emisar DW4 but smaller. I don't really care for the 14500 battery type but it would be nice to have a lightweight 18650/18350 version of this light (the DW4 is too heavy). Or it would be of more interest if it could run on 1.5 volt AA cells in addition to 14500. As it was, I went for the 18650 version instead. For a lightweight headlamp I have a Nitecore HA11 and might get or concoct something ultralight at some point.

Anyway that's my new light day for now and it has been a good one.

Addendum (December 26): I noticed something interesting about the front of the light, center, above and below the main leds (see circled green areas in the pic). There are two milled slots that look like they were designed to hold tritium markers. I guess I'm off to mixglo.com to get some. I'll have to measure the slots but basically 2x5mm or thereabouts.

Update: Mixglo situation is that 1.5x6mm vials are $6.50 so two vials plus a $6 tube of Norland adhesive (1 ml) would total $19. BUT, Mixglo offers untracked shipping for $6 only if the order value is $15 or less. Otherwise you need tracked shipping which costs $22. It's cheaper to make two separate orders. I think I'll order one vial plus the adhesive, try to install the vial, and then order a second vial if the first one goes in ok. I'll update if and when there's a new development. Fwiw, tritiumworkshop.com (in the UK) is another well regarded source of tritium but it ends up costing a little more, depending.

Update 2: more careful examination convinces me that those little holes weren't intended for tritium but were just part of the heat sink-like styling. But, it should still be possible to do something there or nearby between the "fins", possibly with a bit of Dremel-ing. I want to take some caliper measurements before ordering vials.

Addendum 2 (2025-01-12): I just checked and a protected Fenix flat top cell (67.8mm long) works fine in tihs light.

[-] [email protected] 134 points 7 months ago

Old joke: Conspiracy theorist Ted Tinfoil dies and goes to heaven and gets to meet God. God welcomes Ted to the afterlife and asks if he has any questions. Ted wants to know who killed JFK. God says "it was Lee Harvey Oswald, acting alone". Ted says "oh no, the cover-up goes all the way to the top!".

[-] [email protected] 159 points 8 months ago

Tldr: Verisign, the registrar of the .com tld. They have been jacking up domain prices.

[-] [email protected] 166 points 1 year ago* (last edited 1 year 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

[-] [email protected] 140 points 1 year ago* (last edited 1 year ago)

HN thread is here and it's on the front page 7 hours old: https://news.ycombinator.com/item?id=40481808

Many mentions made that a significant part of the issue seemed to be Cloudflare IP addresses getting banned in some countries. They wanted the customer to switch to a bring-your-own-IP plan.

Also, the discussion took place over 1 month, not 24 hours.

I think the HN thread is reasonably informative and nuanced. CF didn't do great but it was somewhat a fog of war situation.

[-] [email protected] 161 points 1 year ago

Just build phones with the understanding that batteries are consumables and make them easy to replace and standardized. Then swap in a new $5 battery when you need to so. Make the raw materials reclaimable too of course.

[-] [email protected] 139 points 2 years 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.

[-] [email protected] 125 points 2 years 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.

[-] [email protected] 130 points 2 years 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.

[-] [email protected] 394 points 2 years ago

Swappable batteries in mobile phones.

view more: next ›

solrize

0 post score
0 comment score
joined 2 years ago
MODERATOR OF