22
submitted 11 months ago by [email protected] to c/[email protected]

Repost from BLF to share these future flashlight designs. There isn’t too much content like this out there that I’m aware of but it’s fascinating to me.

Bonus 90mm TIR:

[-] [email protected] 23 points 11 months ago

Time zones are an endless source of frustration, this one doesn’t sound too bad though:

Going forward, all timestamps in the API are switching from timestamps without time zone (2023-09-27T12:29:59.113132) to ISO8601 timestamps (e.g. 2023-10-29T15:10:51.557399+01:00 or Z suffix). In order to be compatible with both 0.18 and 0.19, parse the timestamp as ISO8601 and add a Z suffix if it fails (for older versions).

https://github.com/LemmyNet/lemmy/pull/3496

99
Lemmy 0.19 updates (programming.dev)
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/[email protected]

https://programming.dev/post/3666732

Change log for upcoming Lemmy version 0.19.0 I am just reposting this from the original post: https://lemmy.ml/post/5711722.

It’s interesting to see this for the software we’re all using and it makes me want to learn a bit more about the architecture. Quite a few user-facing features and some backend improvements. For example:

Outgoing Federation Queue The federation queue has been rewritten to be much more performant and reliable. This is irrelevant for client developers, but admins should look out for potential federation problems. If you run multiple Lemmy backends for horizontal scaling, be sure to read the updated documentation and set the new configuration parameters. The Troubleshooting section has information about how to find out the state of the federation queues.

https://github.com/LemmyNet/lemmy/pull/3605

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

Real RGB? Does this mean we can now control the color?

That’s right, check out https://lemmy.world/post/3287635 for some pics.

I was confused about the engraving but I like your idea to ask for “no engraving” as the option. Only the first 30 get a custom one so maybe everyone else will have the logo engraving.

19
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]

Who’s getting one?

27
Wurkkos TS25 prototypes (budgetlightforum.com)
submitted 1 year ago by [email protected] to c/[email protected]

Interesting post from the designer of the ts10 (I think) about potential new body styles of the next-generation ts25.

Bonus comment with good news

Wurkkos Terry: Got it my man. I can feel that the higher and higher voice of regulated driver. We are constantly increasing the regulated models.

4
submitted 1 year ago by [email protected] to c/[email protected]

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

What are your real-world applications of this versatile data structure?

They are useful for optimization in databases like sqlite and query engines like apache spark. Application developers can use them as concise representations of user data for filtering previously seen items.

The linked site gives a short introduction to bloom filters along with some links to further reading:

A Bloom filter is a data structure designed to tell you, rapidly and memory-efficiently, whether an element is present in a set. The price paid for this efficiency is that a Bloom filter is a probabilistic data structure: it tells us that the element either definitely is not in the set or may be in the set.

33
submitted 1 year ago by [email protected] to c/[email protected]

What are your real-world applications of this versatile data structure?

They are useful for optimization in databases like sqlite and query engines like apache spark. Application developers can use them as concise representations of user data for filtering previously seen items.

The linked site gives a short introduction to bloom filters along with some links to further reading:

A Bloom filter is a data structure designed to tell you, rapidly and memory-efficiently, whether an element is present in a set. The price paid for this efficiency is that a Bloom filter is a probabilistic data structure: it tells us that the element either definitely is not in the set or may be in the set.

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

I can see you like Anduril! Except for the wurkkos ts12.

How do you like the brass ts10? Seems like a great value and is on my list to potentially get.

Sticking with the 14500-theme, my first hank light might be a D2 if I can settle on an emitter combo.

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

Cool project and post! There’s also [email protected] if you’d like to cross post.

gets hot enough to burn you if you leave it on for too long

That Fenix looks like a reliable light and is designed with temperature regulation but the limit might be pretty high and of course it is being used in an enclosure.

14
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]

Updated link from https://zeroair.org/2023/08/28/convoy-m21h-flashlight-review/ to https://darrenyeo.com/convoy-m21h-xhp70-3-hi-flashlight-review-best-budget-pocket-rocket/ since the former had some pretty aggressive ads (the new link has some but they were only at the top).

19
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]

Convoy is a personal favorite brand for single-cell mechanical switch lights. I’ve been comparing an s2+ with 18350 vs T3 with 14500, and T3 is my preference as a daily light.

So why is the T3 so great? It’s large for a 14500 but also durable and it has an elongated shape (21mm x 97mm) more similar to larger lights than the short s2+ (24mm x 84mm). Just like the s2+, it’s semi-custom in that the customer can choose from a few LEDs and in the case of the popular 519a choose a color temp from 2700k-5700k. Plus Convoy now offers these lights with MAO or in copper (coated for the T3) or titanium (linked) for more consumer choice direct from the factory.

The biggest downside of the T3 and the reason I keep trying to like short s2+ is the T3 driver. With a limit of 1.5 amps with a 14500, this is only 30% as powerful as the standard s2+ 5 amp driver. That’s still very useable with a 519a, but if it were bumped up to about 2.5 amps I think it would be even better. The driver itself has great reviews and regulates the output such that brightness does not immediately decrease with voltage. And for the DIY-capable, the driver is the same size as s2+’s so it has the potential to be just as powerful.

So far I have aluminum T3s in sst-20 deep red and 519a 3000k plus a broken 219b 3500k. Did I mention these start at $15??

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

I am learning Python, R, and SQL

SQL is an excellent skill to invest in. Even though your current role doesn’t allow you to use it, there’s no substitute when pulling data from a relational db.

It sounds like you’re currently focused on data quality. Automatic data quality checks are common features of (good) data workflows so this could be spun as relevant experience if you end up seeking a role writing data transformation code.

2
submitted 1 year ago by [email protected] to c/[email protected]

Anyone else using Hollow (written by Netflix) in production?

Hollow is a java library and toolset for disseminating in-memory datasets from a single producer to many consumers for high performance read-only access.

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

candle mode

This might be the problem, candle mode has no thermal regulation if I remember correctly.

Glad you weren’t hurt and hopefully the cell can be rewrapped.

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

Ready Player One has the worldwide virtual reality system owned by a single corporation with one shareholder, and

spoilerchange of ownership determined by being the best at video games and trivia


Mark Zuckerburg: “people will love it!”

3
submitted 1 year ago by [email protected] to c/[email protected]

This novella fits well under the larger umbrella of speculative fiction I think. It feels like magical realism with a touch of science fiction and having fairy tale elements.

I also enjoyed Noor and I plan to check out the author’s Binti trilogy.

Would recommend checking one of these out for something a little bit different!

19
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]

Edited: previously linked to https://www.sofirnlight.com/products/sofirn-if30-edc-powerful-flashlight?spm=..collection_eea4d417-4338-4a86-ba3e-1a41b66cb32b.collection_detail_1.1, replaced with an image for better Lemmy preview.

Something new from Sofirn. These larger cells (than 26800) seem to be popping up in flashlights more often now. This one lists 6500 mAh which isn't a much bigger capacity but presumably the maximum discharge must be pretty high to support 12000 lumens.

Sft-40 in the center surrounded by flood emitters. This isn’t one I’ll be picking up, maybe I’ll hold out for a 461000 cell!

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

Easy one: The Moon Is A Harsh Mistress by Robert A. Heinlein is an early example of this theme.

The Expanse book series also mentions this possibility.

4
submitted 1 year ago by [email protected] to c/[email protected]

Throwing Rocks: Without spoiling the plot, what are some good books that involve the threat of weaponizing a planet’s gravity well against its population?

Please if possible don’t specify whether the event actually happens in the book to keep it a mystery.

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

Feels odd for admins be able to prevent users from seeing content

My understanding is those admins aren't just allowing users to view it but also allowing copies of the federated data to be stored on the server those admins are responsible for, so for certain types of content it seems really important to be implemented in this way.

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

Yeah, revolutions don’t always turn out well 😃

Meme Monday

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

Focusing on code coverage (which doesn't distinguish between more and less important parts of the code) seems like the opposite of your very good (IMO) recommendation in another comment to focus on specific high-value use-cases.

From my experience it’s far easier to sell the need for specific tests if they are framed as “we need assurances that this component does not fail under conceivable usecases” and specially as “we were screwed by this bug and we need to be absolutely sure we don’t experience it ever again.”

Code coverage is an OK metric and I agree with tracking it, but I wouldn’t recommend making it a target. It might force developers to write tests, but it probably won’t convince them. And as a developer I hate feeling “forced” and prefer if at all possible to use consensus to decide on team practices.

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

We can’t test yet, we’re going to make changes soon

This could be a good opportunity to introduce the concept of test-driven development (TDD) without the necessity to “write tests first”. But I think it can help illustrate why having tests is better when you are expecting to make changes because of the safety they provide.

“When we make those changes, wouldn’t it be great to have more confidence that the business logic didn’t break when adding a new technical capability?”

You shouldn’t have to refactor to test something

This seems like a reasonable statement and I sort of agree, in the sense that for existing production code, making a code change which only adds new tests yet also requires refactoring of existing functionality might feel a bit risky. As other commenters mentioned, starting with writing tests for new features or fixes might help prevent folks feeling like they are refactoring to test. Instead they’re refactoring and developing for the feature and the tests feel like they contribute to that feature as well.

view more: next ›

Reader9

joined 1 year ago