Spyke

Posts

programming·ProgrammingbyReader9

Lemmy 0.19 updates

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

View original on programming.dev
99
data_engineering·Data EngineeringbyReader9

Bloom filters: real-world applications

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.

https://llimllib.github.io/bloomfilter-tutorial/Open linkView original on programming.dev
4
programming·ProgrammingbyReader9

Bloom filters: real-world applications

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.

https://llimllib.github.io/bloomfilter-tutorial/Open linkView original on programming.dev
33

Convoy T3: Almost perfect semi-custom EDC flashlight

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??

View original on programming.dev
20

Sofirn IF30 with 32650 battery

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!

View original on programming.dev
19
printsf·PrintSFbyReader9

(Cross-post) The writing in The Three-Body Problem (Cixin Liu) feels tacky

cross-posted from: https://literature.cafe/post/270743 ![email protected]

I have been reading the English translations and the characters and especially their dialogues feel very fake. I do appreciate the hard science aspect of the books but the long monologues, kids speaking like middle-aged philosophers, and army personnel being one-dimensional macho men breaks the immersion for me. It has the depth of a 1980s low-budget thriller.

I don’t read a lot of hard science fiction or translations of Chinese books. I don’t know if this is genre-related.

View original on programming.dev
5
data_engineering·Data EngineeringbyReader9

(2017) Rise of the Data Engineer

This article helped defined the “data engineer” role so I’d say it belongs here!

Although some time has passed, I find it very relevant: SQL is used more than ever, graphical ETL tools that don’t output code are rare and vendors are still trying to convince executives to trust all their data to proprietary data warehouses.

The author Maxime Beauchemin also wrote Airflow and Superset so they have some experience worth listening to.

(2017) Rise of the Data Engineerhttps://medium.com/free-code-camp/the-rise-of-the-data-engineer-91be18f1e603Open linkView original on programming.dev
8

Recommendation request: What is a good minimalist soldering iron setup for flashlight mods? (ANSWERED: Pinecil v2)

There are some great posts by experienced modders here. I’m not one, but I want to start making simple modifications beyond swapping reflectors. For example, swapping out a 5a linear driver for a 5a buck in a Convoy S6.

For a simple job like unsoldering two wires then soldering them, is there a small usb or battery-powered iron that would do the job without spending too much on the initial investment?

Any input is appreciated!

View original on programming.dev
15

A few small lights

A few small lights I had around. The hs10 gets a lot of use as a night light and the ts10 is carried the most right now. Never really used the s21d in this form but it’s very compact!

Left-to-right:

Sofirn hs10 16340 2700k

Wurkkos ts10 14500 5700k

Sofirn sc21 16340 4000k

Acebeam Pokelit AA/14500 5000k

Sofirn sp10 pro AA/14500

Convoy s21d 18350 2700k (with Wurkkos 20350 tube and tail cap)

View original on programming.dev
16

Flashlight Resources

What other sites ought to be included (if any!)?

Tools

Parametrek Flashlight Search: A supercharged flashlight database. “Start with an expansive catalog and provide parameters that you are looking for (or are avoiding)”

LumiReviews.ca Flashlight Review Database

CamelCamelCamel Amazon price tracker

Andúril Diagrams

Buying Guides

Arbitrary List of Popular Lights

Grizzly’s Convoy Guide

Discussion

Budget Light Forum: Established English-language forum. “Where Frugal meets with Flashlight!”

View original on programming.dev
13

You reached the end