#currentvalue
Symptom: veteran save files have quietly inflated stats and nobody can say when it started.

Cause: the save system persisted CurrentValue, so every buff active at save time was baked in.

Fix: save BaseValue, reapply persistent effects on load. Then audit your old saves.
September 21, 2026 at 3:58 AM
Original post on mastodon.social
mastodon.social
August 28, 2026 at 2:02 PM
BaseValue is the character underneath the buffs.

CurrentValue is the character right now.

You serialize the Base Value.

You display the Current.

Confusing them can create really difficult to solve bugs.
July 14, 2026 at 3:57 AM
Okay this is fun. I have nt checked all parameters of the effect, but at least for some the value is not stored under CurrentValue like one might expect. No, it is stored in StartKeyframe (the '134.'). This is slightly confusing as the effect I used for the preset does not have any keyframes.
March 15, 2026 at 3:10 PM

🇺🇦 #NowPlaying on #KEXP's #Expansions

Current Value:
🎵 Protocol

#CurrentValue

▶️ 🪄 Automagic 🔊 show 📻 playlist on Spotify

▶️ Song/Cover on #Bandcamp:
Protocol E.P., by Current Value
4 track album
cause4concern.bandcamp.com
December 22, 2025 at 6:53 AM
Tiktok guy on the street: Excuse me miss can I ask what you're listening to?
Me, the coolest and most beautiful woman in the world:
CurrentValue /// Black Noire Mix /// /// Audio Communications Two
YouTube video by /// MachineCode /// MCR /// MCRD /// DC
youtu.be
December 15, 2025 at 9:09 PM

🇺🇦 #NowPlaying on #KEXP's #Expansions

Current Value:
🎵 Protocol

#CurrentValue

▶️ 🪄 Automagic 🔊 show 📻 playlist on Spotify

▶️ Song/Cover on #Bandcamp:
Protocol E.P., by Current Value
4 track album
cause4concern.bandcamp.com
November 17, 2025 at 7:19 AM
November 7, 2025 at 4:05 PM

🇺🇦 #NowPlaying on #KEXP's #Expansions

Current Value:
🎵 Protocol

#CurrentValue

▶️ 🪄 Automagic 🔊 show 📻 playlist on Spotify

▶️ Song/Cover on #Bandcamp:
Protocol E.P., by Current Value
4 track album
cause4concern.bandcamp.com
October 20, 2025 at 6:01 AM

🇺🇦 #NowPlaying on #KEXP's #Expansions

Current Value:
🎵 Protocol

#CurrentValue

▶️ 🪄 Automagic 🔊 show 📻 playlist on Spotify

▶️ Song/Cover on #Bandcamp:
Protocol E.P., by Current Value
4 track album
cause4concern.bandcamp.com
September 22, 2025 at 5:30 AM
June 16, 2025 at 7:23 AM
A little more wordy than I would have liked, but it's waaaay past my bedtime. (Sorry C, my up-in-the-middle-of-the-night-with-an-infant are three decades behind me. But do have fun with yours!)

github.com/trinkel/0-in...
June 3, 2025 at 4:02 AM
🧠A question was just asked about @angular.dev signal and computed property bindings. Awaken that computed with a signal in it!

currentValue = signal('Hello');
textBoxValue = computed(() => `Value: ${this.currentValue()}`);

here's @stackblitz quick reference 👇🧵
May 2, 2025 at 9:39 PM
From Beginner to Pro: The Ultimate Guide to map(), filter(), reduce(), and forEach()
`map()`, `filter()`, `reduce()` and `forEach()` are the most commonly used Array methods in JavaScript. Let’s dive deeper and learn about these methods. ### 1. `map()` Method: Transforming Arrays `map()` is a higher-order function used to iterate over each element in the array and return a new array of the same length, with each element transformed by the provided callback. Syntax: * `callback` is the function to be executed on each element of the array. * `currentValue` - The current element being processed in the array. * `index` - index of the current element. (optional) * `array` - The original array on which `map()` was called. The index of the current element being processed in the array. (optional) * `thisArg` is an optional parameter, which allows you to specify the value of `this` inside the callback function. Let see a simple example how `map()` will work with each params Basic Example: Multiply each element by 2 * `index`: The index of the current element in the array * `array`: The original array on which map() is called * `thisArg`: A value to use as this when executing the callback function ### 2. `filter()` Method: Selecting Elements Based on a Condition The `filter()` method allows you to create a new array containing only those elements that pass a certain test. Unlike `map()`, which transforms each element, `filter()` filters out elements that don't meet the criteria. Syntax: * `callback`- The function to test each element. * `currentValue` - The current element being processed in the array. * `index` - index of the current element. (optional) * `array` - The original array on which `map()` was called. The index of the current element being processed in the array. (optional) * `thisArg` is an optional parameter, which allows you to specify the value of `this` inside the callback function. Basic Example: Filtering Even Numbers * Using the `index` and `array` Parameters * Using `thisArg` for Contextual Filtering ### 3. `reduce()` Method: Accumulating Values The `reduce()` method allows you to accumulate a single result from all elements of an array by applying a function that you provide. It's typically used for summing values, but you can also use it for other purposes like flattening an array, combining objects, etc. Syntax: * `callback(accumulator, currentValue, index, array)`: The callback function is executed on each element of the array. It takes four parameters: * `accumulator`: The value that keeps track of the result as we go through each item in the array. It gets updated during each iteration based on the operation you want to perform. * `currentValue`: The current element being processed in the array. * `index`: The index of the current element (optional). * `array`: The original array that reduce() was called on (optional). * `initialValue`: The initial value to start accumulating (optional). If omitted, the first element of the array is used, and the iteration starts from the second element. Basic Example: Summing Numbers Basic Example: Flattening an Array * Using the `index` and `array` Parameters ### 4. `forEach()` Method: Iterating Over Arrays The `forEach()` method is used to execute a provided function on every element in the array. It’s the most basic way to loop through arrays in JavaScript but differs from `map()` and `filter()` in that it doesn’t return a new array. Instead, it simply performs the operation for each item without accumulating or transforming the array. Syntax: * `callback` - The function to execute on each element in the array. * `currentValue` - The current element being processed in the array. * `index` - The index of the current element being processed in the array. * `array` - The original array on which `forEach()` was called. * `thisArg` - An optional argument that specifies the value of this inside the callback function. Basic example * Using the `index` and `array` Parameters * Using `thisArg` **Bonus Tip** : Using Normal Functions and Calling External Functions Although we've used arrow functions extensively, you can also use normal functions and call external functions inside methods like `map()`, `filter()`, `reduce()`, and `forEach()` * Using a Normal Function Inside `map()` * Calling an External Function Inside `map()` These techniques are not limited to map(); they can be applied similarly to `filter()`, `reduce()`, and `forEach()`. Using normal functions and external functions can make your code more modular and easier to read, especially when dealing with complex operations or reusable logic. **Conclusion:** In this article, we've explored four of the most commonly used array methods in JavaScript: `map()`, `filter()`, `reduce()`, and `forEach()`. These methods allow for clean, functional-style iterations over arrays, making your code more readable and expressive. * `map()` allows you to transform each element in an array and return a new array with the same length but modified values. * `filter()` helps you select elements from an array based on a condition, creating a new array of only the matching elements. * `reduce()` gives you the ability to accumulate values across the array, making it perfect for summing, averaging, or combining data in more complex ways. * `forEach()` simply iterates over an array and executes a function for each element, with optional access to the index and the entire array. By understanding and effectively using these methods, you'll be able to handle array manipulations more efficiently and write more declarative and concise code. While these methods are powerful individually, they can also be combined to achieve more sophisticated operations on arrays. So next time you're faced with an array operation, consider using one of these methods. With practice, you'll find that your JavaScript code becomes cleaner, more readable, and easier to maintain. _This is my first blog, and I appreciate your understanding. Feel free to share any feedback or suggestions—I’m always eager to learn and improve!_
forem.com
March 29, 2025 at 6:37 PM
From Beginner to Pro: The Ultimate Guide to map(), filter(), reduce(), and forEach()
`map()`, `filter()`, `reduce()` and `forEach()` are the most commonly used Array methods in JavaScript. Let’s dive deeper and learn about these methods. ### 1. `map()` Method: Transforming Arrays `map()` is a higher-order function used to iterate over each element in the array and return a new array of the same length, with each element transformed by the provided callback. Syntax: * `callback` is the function to be executed on each element of the array. * `currentValue` - The current element being processed in the array. * `index` - index of the current element. (optional) * `array` - The original array on which `map()` was called. The index of the current element being processed in the array. (optional) * `thisArg` is an optional parameter, which allows you to specify the value of `this` inside the callback function. Let see a simple example how `map()` will work with each params Basic Example: Multiply each element by 2 * `index`: The index of the current element in the array * `array`: The original array on which map() is called * `thisArg`: A value to use as this when executing the callback function ### 2. `filter()` Method: Selecting Elements Based on a Condition The `filter()` method allows you to create a new array containing only those elements that pass a certain test. Unlike `map()`, which transforms each element, `filter()` filters out elements that don't meet the criteria. Syntax: * `callback`- The function to test each element. * `currentValue` - The current element being processed in the array. * `index` - index of the current element. (optional) * `array` - The original array on which `map()` was called. The index of the current element being processed in the array. (optional) * `thisArg` is an optional parameter, which allows you to specify the value of `this` inside the callback function. Basic Example: Filtering Even Numbers * Using the `index` and `array` Parameters * Using `thisArg` for Contextual Filtering ### 3. `reduce()` Method: Accumulating Values The `reduce()` method allows you to accumulate a single result from all elements of an array by applying a function that you provide. It's typically used for summing values, but you can also use it for other purposes like flattening an array, combining objects, etc. Syntax: * `callback(accumulator, currentValue, index, array)`: The callback function is executed on each element of the array. It takes four parameters: * `accumulator`: The value that keeps track of the result as we go through each item in the array. It gets updated during each iteration based on the operation you want to perform. * `currentValue`: The current element being processed in the array. * `index`: The index of the current element (optional). * `array`: The original array that reduce() was called on (optional). * `initialValue`: The initial value to start accumulating (optional). If omitted, the first element of the array is used, and the iteration starts from the second element. Basic Example: Summing Numbers Basic Example: Flattening an Array * Using the `index` and `array` Parameters ### 4. `forEach()` Method: Iterating Over Arrays The `forEach()` method is used to execute a provided function on every element in the array. It’s the most basic way to loop through arrays in JavaScript but differs from `map()` and `filter()` in that it doesn’t return a new array. Instead, it simply performs the operation for each item without accumulating or transforming the array. Syntax: * `callback` - The function to execute on each element in the array. * `currentValue` - The current element being processed in the array. * `index` - The index of the current element being processed in the array. * `array` - The original array on which `forEach()` was called. * `thisArg` - An optional argument that specifies the value of this inside the callback function. Basic example * Using the `index` and `array` Parameters * Using `thisArg` **Bonus Tip** : Using Normal Functions and Calling External Functions Although we've used arrow functions extensively, you can also use normal functions and call external functions inside methods like `map()`, `filter()`, `reduce()`, and `forEach()` * Using a Normal Function Inside `map()` * Calling an External Function Inside `map()` These techniques are not limited to map(); they can be applied similarly to `filter()`, `reduce()`, and `forEach()`. Using normal functions and external functions can make your code more modular and easier to read, especially when dealing with complex operations or reusable logic. **Conclusion:** In this article, we've explored four of the most commonly used array methods in JavaScript: `map()`, `filter()`, `reduce()`, and `forEach()`. These methods allow for clean, functional-style iterations over arrays, making your code more readable and expressive. * `map()` allows you to transform each element in an array and return a new array with the same length but modified values. * `filter()` helps you select elements from an array based on a condition, creating a new array of only the matching elements. * `reduce()` gives you the ability to accumulate values across the array, making it perfect for summing, averaging, or combining data in more complex ways. * `forEach()` simply iterates over an array and executes a function for each element, with optional access to the index and the entire array. By understanding and effectively using these methods, you'll be able to handle array manipulations more efficiently and write more declarative and concise code. While these methods are powerful individually, they can also be combined to achieve more sophisticated operations on arrays. So next time you're faced with an array operation, consider using one of these methods. With practice, you'll find that your JavaScript code becomes cleaner, more readable, and easier to maintain. _This is my first blog, and I appreciate your understanding. Feel free to share any feedback or suggestions—I’m always eager to learn and improve!_
dev.to
March 29, 2025 at 6:33 PM
Hey @mattiem -- any pointers in how to handle undomanager in the world of #swift 6 concurrency? This is no longer valid:

func update(someItem, newValue) {
let currentValue = someItem.value
undoManager.registerUndo(withTarget: self) { target in
target.update(someItem, currentValue)
}
someItem […]
Original post on sfba.social
sfba.social
March 18, 2025 at 4:48 PM
- It simplifies the process of traversing/iterating over arrays.
- forEach() executes a provided function once for each array element:
-> currentValue: The current element being processed.
-> index (optional): The index of the current element
-> array (optional): The array forEach was called upon.
February 23, 2025 at 5:43 AM
But seriously, any chance we can get a currentValue keyword or even better a prop() function that returns the property instead of the attribute value? It would be convenient for things like reading input values or text content, instead of having to repeat code or programmatically updating things.
January 23, 2025 at 4:17 PM
Hello. Check my #musicvideo for my latest #neurofunk #dnb #tune Video was inspired by #filmnoir. Music inspired by #currentvalue and all great #electronicmusic and #drumandbass Big ups to all the #junglists Peace and love
youtu.be/655mQlwn8_A?...
"Gate Stomp" Music Video
YouTube video by Spy Audio
youtu.be
December 26, 2024 at 12:10 PM
I had to work with the currentValue parameter within the Reduce method in a different way than I'm used to since I had to deal with a nested Array.
tinyurl.com/y4men9rh
#100Devs #javascript
October 30, 2024 at 1:36 PM
Fun fact, for the majority of this, I had help from chatgpt. With this latest addition, I wanted it to display CurrentValue (+Gained/-Lost), it worked but not correctly, so I just used previous code/copy pasted and changed the values myself.
October 25, 2024 at 8:14 AM