Day 10/60: String operations in JS

Today's note was about making string operations in js work with JavaScript strings, indexing, and character handling without losing correctness. I kept coming back to the same checks: decide early whether indexing, slices, or character arrays are the right representation in JavaScript, keep the transformation or scan state explicit instead of mixing index tricks together, and use string and array helpers deliberately so character handling does not become accidental.

The failure mode worth watching is mixing index assumptions and character handling without checking what the string API actually returns. If that happens, the implementation usually looks busy while the invariant is already gone.

#JavaScript #DSA #Algorithms

Day 10/60: String handling in Rust

Today's note was about making string handling in rust work with Rust slices, strings, and indices without losing correctness. I kept coming back to the same checks: decide early whether bytes, chars, or slices are the right representation in Rust, keep the transformation or scan state explicit instead of mixing index tricks together, and use iterators and owned buffers deliberately so UTF-8 handling does not become accidental.

The failure mode worth watching is mixing byte indexing and character assumptions in UTF-8 text. If that happens, the implementation usually looks busy while the invariant is already gone.

#RustLang #DSA #Algorithms

Day 10/75: Sliding window - variable size

Today's note was about using a stable invariant so sliding window - variable size feels like a process instead of a trick. I kept coming back to the same checks: name the exact window, prefix, or pointer region each variable owns, reuse prior work instead of recomputing the same range each iteration, and test boundary sizes first because they expose weak invariants quickly.

The failure mode worth watching is moving boundaries before stating what region they actually represent. If that happens, the implementation usually looks busy while the invariant is already gone.

#GoLang #DSA #Algorithms

Day 10/75: Sliding window - variable size

Today's note was about using a stable invariant so sliding window - variable size feels like a process instead of a trick. I kept coming back to the same checks: name the exact window, prefix, or pointer region each variable owns, reuse prior work instead of recomputing the same range each iteration, and test boundary sizes first because they expose weak invariants quickly.

The failure mode worth watching is moving boundaries before stating what region they actually represent. If that happens, the implementation usually looks busy while the invariant is already gone.

#CPP #DSA #Algorithms

Day 10/75: Sliding window - variable size

Today's note was about using a stable invariant so sliding window - variable size feels like a process instead of a trick. I kept coming back to the same checks: name the exact window, prefix, or pointer region each variable owns, reuse prior work instead of recomputing the same range each iteration, and test boundary sizes first because they expose weak invariants quickly.

The failure mode worth watching is moving boundaries before stating what region they actually represent. If that happens, the implementation usually looks busy while the invariant is already gone.

#Python #DSA #Algorithms

Dobrindt: „Abschrecken, abwehren und abschalten“ in Kürze

Innenminister Alexander Dobrindt kündigt gesetzliche Befugnisse für das BKA an, um die Infrastruktur von Cyberkriminellen aktiv stören und abschalten zu können.

heise online

AOC Surges to Lead in 2028 Primary for First Time—Most Accurate Pollster

https://www.newsweek.com/aoc-surges-lead-2028-primary-first-time-poll-11941529

> Ocasio-Cortez edged out other Democrats like Kamala Harris and Gavin Newsom in a new AtlasIntel poll of the 2028 primary field.

#USA #uspol #aoc #aocForPresident #DSA

AOC Surges to Lead in 2028 Primary for First Time—Most Accurate Pollster

Ocasio-Cortez edged out other Democrats like Kamala Harris and Gavin Newsom in a new AtlasIntel poll of the 2028 primary field.

Newsweek

Ireland’s Coimisiún na Meán (CnaM) is investigating Meta for using “dark patterns” that may block users from choosing non-profiling feeds under the DSA. ⚖️
The probe follows a Dutch court ruling and could enforce EU-wide compliance for Facebook and Instagram, affecting millions of users. 🔍

🔗 https://edri.org/our-work/ireland-investigates-meta-for-breaching-the-dsa-a-year-on-from-our-complaint/

#TechNews #Meta #Facebook #Instagram #DigitalServicesAct #DSA #Privacy #FOSS #UserControl #Transparency #DigitalRights #EU #Europe #Ireland #Irish #Profiling #Dutch #NL #Netherlands

Ireland investigates Meta for breaching the DSA - European Digital Rights (EDRi)

We need a fast resolution from the CnaM in order to protect the digital rights of people across Europe and to show where the EU stands.

European Digital Rights (EDRi)

92% Evropejcev meni, da bi morala biti zaščita otrok na spletu naša 🔝prioriteta.

Zgraditi moramo digitalni svet, v katerem se bodo otroci lahko varno učili, igrali in družili.

Svet, v katerem bodo varni in svobodni.

To je naš cilj. To je cilj #DSA 👉https://digital-strategy.ec.europa.eu/sl/factpages/childrens-protection-online-high-priority-92-europeans
---
https://nitter.net/EKvSloveniji/status/2054205120733225033#m

Zaščita otrok na spletu je pomembna prednostna naloga za 92 % Evropejcev in Evropejk | Shaping Europe’s digital future

Po vsej Evropi se je pojavil močan stalni trend: 92 % Evropejcev meni, da je potreba po nadaljnji krepitvi zaščite otrok in mladih na spletu glavna prednostna naloga politike.