@KingmaYpe@mastodon.green
@KingmaYpe@mastodon.green avatar

KingmaYpe

@KingmaYpe@mastodon.green

#ICT Requirements for #Renewable #Energy. Numbers please. Born at 318 CO2 ppm. Based in NL.

Slowly working on full #privacy for real time aggregation of #smart #meter values. The open source program code is here: https://gitlab.com/privacysamen/enmprv/
Writing mostly in #rustlang 🦀

Sailor, energy coach. Flies only electric. Avoids the tobacco industry.

On LinkedIn:
https://www.linkedin.com/in/ype-kingma-893071155

Speelt Wordfeud als ype_60

This profile is from a federated server and may be incomplete. Browse more on the original instance.

realsimon, to random German
@realsimon@mastodon.green avatar

I was today years old when I realised the musical notes are simply named from A to G in the correct order?!?! 🤯 I never saw that because I always considered C the base. My whole world is shattering.

KingmaYpe,
@KingmaYpe@mastodon.green avatar

@realsimon

Just find a keyboard and play a scale down from A, on white keys only. That's a minor scale so it will sound a bit sad, but at least it's not world shattering.

CelloMomOnCars, to Scotland
@CelloMomOnCars@mastodon.social avatar

"‘The fear has properly set in’: how it feels to watch my home town disappear into the sea

#Inverbervie, on the north-east coast of #Scotland, faces an existential threat, with storms carving away metres of #shoreline. "

https://www.theguardian.com/environment/article/2024/may/21/the-fear-has-properly-set-in-how-it-feels-to-watch-my-home-town-disappear-into-the-sea

KingmaYpe,
@KingmaYpe@mastodon.green avatar

@CelloMomOnCars

The Gerrit storm that is mentioned is named after @GerritHiemstra

pervognsen, (edited ) to random
@pervognsen@mastodon.social avatar

I assume this isn't a problem for EEs but for CS types who are taught logic gates, etc, in their curriculum I wonder if timing should be included in a first course. I'm still trying to help the person I mentioned earlier in a private chat and it sounds like that's the source of almost all their confusion. They think logic gates are instant and one of the "counterexamples" they came up for why delays seem logically inconsistent is y = xor(x, not(x)). Which is a standard edge detector.

KingmaYpe,
@KingmaYpe@mastodon.green avatar

@pervognsen

(EE here)

Gate delay is one factor, another factor is signal transport delay over a distance. The minimum delay is normally the speed of light over the distance.

alper, to rust
@alper@rls.social avatar

Trying to get my head around how to organise a #Rust project where you have to deal with "crates", "packages", "modules" and "libraries" each of which means something slightly different.

I guess the reason why so many Rust source files are 1000+ LoC is because figuring out how to split them up is too much of a pain.

KingmaYpe,
@KingmaYpe@mastodon.green avatar

@alper

Chances are you're going to use a workspace:

https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html

In my case, a workspace contains three programs and a library for the things shared between at least two of these programs.

janriemer, to rust

When you read a toot about #Rust:

"Have a compiling topic to share...?",

but it actually says

"Have a compelling topic to share...?",

you know that you have fully oxidized at this point. :ferris:

#RustLang

KingmaYpe,
@KingmaYpe@mastodon.green avatar
Di4na, to random
@Di4na@hachyderm.io avatar

The White House declared we have to be Memory Safe now!

So great! None of us had any idea!

Wait, but why is there no analysis of how we are still memory unsafe decades after the start of these yelling about it?

Let's me re share my answer to that crowd from a few months ago. I am definitely not bitter. Defo.

https://www.softwaremaxims.com/blog/memory-safety-end-history

KingmaYpe,
@KingmaYpe@mastodon.green avatar

@Di4na

"Why do engineers keep using “curl | sh” despite everyone knowing it is highly dangerous?"

Last time I tried, that was the way to install Rust.

bodomenke, to homeassistant
@bodomenke@hessen.social avatar

Ok, 30 days data retention for 20+ power, temperature, and environmental sensors with a resolution of approx. one datapoint per second was most likely not that good idea. 😂
Seven days should be more than enough.😊👍

#HomeAssistant #InfluxDB

KingmaYpe,
@KingmaYpe@mastodon.green avatar

@bodomenke

In a database one can add an attribute to each measurement that indicates the closest time interval border, for example: second, ten second, minute, quarter, hour, day, month, year.

Then selecting data for plots and deletions becomes easy and performant.

KingmaYpe,
@KingmaYpe@mastodon.green avatar

@bodomenke

With an interval attribute, one can configure the keep time per interval. Then after a year the amount of storage needed is at its maximum, and there is no need to interfere manually.

KingmaYpe,
@KingmaYpe@mastodon.green avatar

@bodomenke

I built this with postgres on a raspberry pi for smart meter measurements.

It does take some care to add the interval attribute when inserting the measurements.
As far as I know there is no direct support for this in any database.
Postgres does this nicely, and I would expect any popular database to easily handle this.

It is not yet connected to #HomeAssistant, I am mostly interested in real time aggregation of values from multiple meters with full privacy.

Sustainable2050, to random
@Sustainable2050@mastodon.energy avatar

Bloomberg NEF: World to add almost 5 TW of solar PV capacity in 7 years!
That's 5,000,000,000,000 Watts, or 3 kW per household!

Via @coalfreedave

KingmaYpe,
@KingmaYpe@mastodon.green avatar

@Sustainable2050 @coalfreedave

The buffer/unknown is about 1.5 GW of these 5 GW.

What does that mean?

cjk, to rust German
@cjk@chaos.social avatar

deleted_by_author

  • Loading...
  • KingmaYpe,
    @KingmaYpe@mastodon.green avatar

    @cjk

    On using a reference to a parent (root), have a look here:

    https://doc.rust-lang.org/book/ch15-06-reference-cycles.html?highlight=Weak

    johncarlosbaez, (edited ) to random
    @johncarlosbaez@mathstodon.xyz avatar

    Last night Lisa and I went to a Chinese restaurant with the computer scientist Mike Fourman, his partner Jeanne, and her son and his wife. The bill was £98. To add a tip and make the bill divisible by 3, Mike rounded it up to £108. I instantly recognized that this number is divisible by 3, since the digits add up to 9. But to my annoyance I didn't instantly remember what 108 divided by 3 is. That is, I didn't remember thinking about this question before.

    Later, in the middle of the night, I realized I had run into this question!

    Do you see what I mean?

    If not, read on....

    (1/2)

    KingmaYpe,
    @KingmaYpe@mastodon.green avatar

    @johncarlosbaez

    I see what you mean. But I happen to know the factorisation of 111 by heart, and that was an easier way to the solution here.

    helma, to ai Dutch
    @helma@mastodon.social avatar

    deleted_by_author

  • Loading...
  • KingmaYpe, (edited )
    @KingmaYpe@mastodon.green avatar

    @helma @SURF

    En ik onthield de ChatGPT afkorting tot nu met #kletsguppy als ezelsbruggetje :)

    Gaat iemand zich nog met dit oude aspect bezighouden? :

    "ELIZA's creator, Weizenbaum, intended the program as a method to explore communication between humans and machines. He was surprised and shocked that individuals, ... attributed human-like feelings to the computer program."

    (Zie de wikipedia pagina over de Eliza chatbot.)

    KingmaYpe,
    @KingmaYpe@mastodon.green avatar

    @helma
    Ik bedoelde onderzoek naar de psychologische kant van het toekennen van menselijke gevoelens aan een apparaat/model.

    helma, to random Dutch
    @helma@mastodon.social avatar

    Storm in the Netherlands.

    KingmaYpe,
    @KingmaYpe@mastodon.green avatar

    @helma
    And there is most likely no damage in that picture.

    foone, to random
    @foone@digipres.club avatar

    It turns out this modern WIFI chip is using SDIO to talk to the microcontroller, and SDIO builds on the PCMCIA standard, so it uses Card Information Structures to define the metadata for what it can do.

    As a trans developer, I resent being asked to work with CIS technology

    KingmaYpe,
    @KingmaYpe@mastodon.green avatar

    @foone

    Fortunately development can be done in #rust

    happyborg, to rust
    @happyborg@fosstodon.org avatar

    Ok, I'll try another...

    Lifetimes are to #Rust as the CLI is to #git.

    Nowww am I done?

    KingmaYpe,
    @KingmaYpe@mastodon.green avatar

    @happyborg
    Am i missing something?
    Rust does not come without lifetimes,
    and git without CLI is (barely) doable.

    pludikovsky, to rust
    @pludikovsky@chaos.social avatar

    Does anyone have a recommendation for resources to learn #Rust? I've tried it with the official book [1] but I've got the same issue with it like with many other coding books: loads of theoretical stuff that you /might/ need but without any really good examples. I'd prefer some course that uses a project that gets expanded as new concepts are introduced so that one can follow how this interacts with everything else.

    [1] https://doc.rust-lang.org/book/

    KingmaYpe,
    @KingmaYpe@mastodon.green avatar

    @pludikovsky

    A few rustlings got me going:
    https://github.com/rust-lang/rustlings

    Another way is to start something small, and get familiar with the full output of cargo check and clippy, and with the book on ownership.
    Only then switch to rust analyzer.

    janriemer, to random

    We need to reverse !

    KingmaYpe,
    @KingmaYpe@mastodon.green avatar

    @janriemer

    Reversing entropy seems to be easier than explaining thermodynamics.

    ekuber, to rust
    @ekuber@hachyderm.io avatar

    If there were an opt-in lint you could run on #Rust code to assert a function you've written will never panic, how would you want (the default) to be when handling method calls on trait objects where some impls might panic? Error given that it could panic or downgrade to warning given that we don't know for sure?

    KingmaYpe,
    @KingmaYpe@mastodon.green avatar

    @ekuber stunter?

    renchap, to mastodon
    @renchap@oisaur.com avatar

    Full text search has been merged in main branch, and will be in the next (and final?) 4.2.0 beta 🎉

    It is opt-in, so it will take some time to be filled with people content as they enable their profile to be indexed, but this was one of the most wanted Mastodon features for some time.

    We plan to deploy it to mastodon.social and mastodon.online in the coming days to have a bit more feedback on it and see how it behaves in the wild.

    KingmaYpe,
    @KingmaYpe@mastodon.green avatar

    @renchap

    I considered adding full text search to a client to look for posts that I have seen. The index would be local and only for personal use. Would there still be interest in that?

    ekuber, to rust
    @ekuber@hachyderm.io avatar

    I have some thoughts on the subject of Telemetry and Metrics in the context of the tooling. I want to hear your feedback on the matter.

    "No telemetry in the Rust compiler: metrics without betraying user privacy":
    https://estebank.github.io/rustc-metrics.html

    KingmaYpe,
    @KingmaYpe@mastodon.green avatar

    @ekuber

    When users are willing to trust a third party, their metrics can be aggregated with full privacy for the metrics.
    In order words tele-aggregation can be implemented with privacy.

    So in case your interest is mostly in aggregated metrics this could be a good direction.

    Right now I'm developing this for energy meters, with close to real time aggregation. The aggregation method can be the same, it's just numbers.

    MichaelEMann, to random

    "Some national TV news outlets elevate climate coverage amid unprecedented extreme weather" by Evlondo Cooper for #MediaMatters: https://www.mediamatters.org/broadcast-networks/some-national-tv-news-outlets-elevate-climate-coverage-amid-unprecedented

    KingmaYpe,
    @KingmaYpe@mastodon.green avatar

    @MichaelEMann I suppose national means local to "the country"?

    ekuber, to photography
    @ekuber@hachyderm.io avatar

    Bad self portrait
    #photography

    KingmaYpe,
    @KingmaYpe@mastodon.green avatar

    @alightgoesout @ekuber Indeed, there's no need for an error message.

    whynothugo, to random
    @whynothugo@fosstodon.org avatar

    I keep all my #notes in text files in a single directory (and use ag, grep and fd to search through them). I edit them with vim.

    It’s not a GREAT experience, but all the note taking apps are terrible. Seeing how Evernote is deciding to destroy itself today makes me think that my approach to note-taking maybe isn’t that terrible.

    KingmaYpe,
    @KingmaYpe@mastodon.green avatar

    @whynothugo In my case the directory with all my notes is in a private git repo, to avoid panic when losing a computer.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • InstantRegret
  • mdbf
  • ethstaker
  • magazineikmin
  • cubers
  • rosin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • provamag3
  • Durango
  • everett
  • tacticalgear
  • modclub
  • anitta
  • cisconetworking
  • tester
  • ngwrru68w68
  • GTA5RPClips
  • normalnudes
  • megavids
  • Leos
  • lostlight
  • All magazines