Searching txt.sour.is

Twts matching #children
Sort by: Newest, Oldest, Most Relevant

I have to say. I’m really very disappointed in Microsoft. Not only did they buy out Minecraft the game, but they basically ruined it for every privacy conscious family, parents and their kids, who can no longer play the game without giving away personal identifiable information (PII) on my children that Microsoft have zero rights to. 🤦‍♂️ – Honestly… Fuck you Microsoft.

⤋ Read More

Hurray, I can now press gg instead of g to go to the top in tt. Much better! :-) Other multi-key combinations are also easily possible now.

I should probably write a real article about this at some point, but here we go. The only downside with my new key binding system is that it breaks tview’s established pattern. You’ve got an InputHandler(), that is implemented using WrapInputHandler(…). It typically then directly implements the switching logic depending on the key press. Something like this:

func (w *Widget) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive)) {
    // WrapInputHandler allows for intercepting key events with SetInputCapture(…)
    // from the outside for customization. This handles the default key bindings.
    return t.WrapInputHandler(func(event *tcell.EventKey, setFocus func(p tview.Primitive)) {
        switch event.Key() {
        case tcell.KeyRune:
            if event.Modifiers() == tcell.ModNone {
                switch event.Rune() {
                case 'k':
                    w.scrollUp()
                    return // we already handled the event, stop processing

                case 'j':
                    w.scrollDown()
                    return
                }
            }
        }

        // We didn't handle the key event. Maybe the parent
        // widget knows what to do with it.
        if handler := w.parent.InputHandler(); handler != nil {
            handler(event, setFocus)
        }
    })
}

From the outside, you can intercept and either stop or continue the widget’s original key handling with a potentially rewritten key event using SetInputCapture(…):

w := NewWidget()
// customized or additional key bindings
w.SetInputCapture(func(event *tcell.EventKey) *tcell.EventKey {
    switch event.Key() {
    case tcell.KeyUp:
        // Rewrite the event, so the "cursor up" key is an alias
        // for the vim key binding "k", that is handled by the
        // wrapped input handler above. (I know, I know, this is a
        // completely unrealistic example, why would anyone use
        // cursor keys when there are vim key bindings available?!)
        return tcell.NewEventKey(tcell.KeyRune, 'k', tcell.ModNone)

    case tcell.KeyRune:
        if event.Modifiers() == tcell.ModNone {
            switch event.Rune() {
                case 'q':
                    app.Stop()
                    // we already handled the event, do not pass it
                    // to the wrapped input handler above
                    return nil

                case 'r':
                    toggleMessageReadStatus()
                    return nil
            }
        }
    }

    // we didn't handle the event, pass it to the wrapped
    // input handler above
    return event
}

Since they all expect a single key, I’ve noticed that using multiple dedicated KeyBindings of mine on these different levels kinda breaks multi-key handling with common prefixes. The outer-most KeyBinding captures the prefix, but it can’t transfer it to the inner one if not handled by the outer one. At least not without some more (potentially ugly) changes. So, I now have to work with just a single KeyBindings object for the entire widget chain (if it consists of multiple other widgets or the regular input handler and input capture are in the game). The outside needs to register all its key bind customizations or extensions at the same level that the original widget handles its default ones. Doable by exposing the widget’s KeyBindings instance, but not pretty. You always have to keep this in mind.

With the KeyBindings, it will look like that:

type Widget struct {
    parent tview.Primitive

    // make it available to children or the outside either by
    // direct field access or by providing a getter method
    KeyBindings *bind.KeyBindings
}

func NewWidget() *Widget {
    w := &Widget{KeyBindings: &bind.KeyBindings{}}
    w.KeyBindings. // default key bindings
        Bind0(bind.KeySequence('k', w.scrollUp).
        Bind0(bind.KeySequence('j', w.scrollDown)
    return w
}

func (w *Widget) InputHandler() InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive)) {
    return t.WrapInputHandler(func(event *tcell.EventKey, setFocus func(p tview.Primitive)) {
        // also note the missing support for focus transfer at the moment
        event = w.KeyBindings.Capture(event)
        if event == nil {
            return
        }

        if handler := w.parent.InputHandler(); handler != nil {
            handler(event, setFocus)
        }
    }
}

And then from the outside, or in a child widget:

w := NewWidget()
w.KeyBindings. // additional or customized key bindings
    Bind1(bind.KeySequence(tcell.KeyUp), func(*tcell.EventKey) *tcell.EventKey {
        return tcell.NewEventKey(tcell.KeyRune, 'k', tcell.ModNone)
    }).
    Bind0(bind.KeySequence('q'), app.Stop).
    Bind0(bind.KeySequence('r'), toggleMessageReadStatus)

When directly working with tview primitives that are not part of custom widget implementations, the following works well so far:

textView := tview.NewTextView().
    SetWordWrap(true).
    SetText("…")
    SetScrollable(true)
textView.SetInputCapture((&bind.KeyBindings{}).
    Bind0(bind.KeySequence('q'), app.Stop).
    Bind1(bind.KeySequence('g', 'g'), func(*tcell.EventKey) *tcell.EventKey {
        return tcell.NewEventKey(tcell.KeyHome, 0, tcell.ModNone)
    }).
    Capture)

I need to sleep on this some more.

Also, writing very long messages like this one is really not all that fun in tt’s editor. I should absolutely provide a way to shell out to vim.

(Took me about one and a half hours to compose, holy crap. But not only because of not using vim. Although, that might have saved me a quarter hour or so for sure. Proof-reading this message also uncovered quite a few bugs in my real documentation. So, that’s a big win!) Good night!

⤋ Read More
In-reply-to » Friday, my love, we meet again. I am going to take you to lunch, and pamper you. I will led you to believe you are the only one in my life, but then, as the working day sunsets, I shall leave you at the door, like a stood up girl by her prom date.

@bender@twtxt.net Immediately reminded me of the German children’s song “Laurentia, liebe Laurentia mein”: https://www.youtube.com/watch?v=3Q0aky9FvLc

Have a nice weekend!

⤋ Read More

Ebola Comes for Congo’s Most Vulnerable Children
The arrival of a sick newborn at Saint Nicholas Orphanage in eastern Democratic Republic of Congo set off an Ebola outbreak that quickly spread among the country’s most vulnerable. Local health authorities are now monitoring the children’s home, but at least two babies have already died. ⌘ Read more

⤋ Read More
In-reply-to » I went to check on the fireflies this season. But I didn't see any. Instead lots of moths. At first, I thought it might have been still too light, but it was already dark enough for me to miss and destroy a snail shell. Bummer. Maybe it was too wet tonight. Although, it's probably just another or two weeks until my glowing friends will finally show up.

@lyse@lyse.isobeef.org having seeing, and played with fireflies as a child I envy you. We have none around here. Children have no idea what a firefly is. I mean, they do, but vague, and based on videos and telly.

⤋ Read More

Tribunal finds Perth nurse was caught stealing from disabled patients, selling items on eBay
A tribunal ruled the woman was “not currently a fit and proper person” to hold a nursing registration after she allegedly stole clothing, shoes, toiletries and food from a couple whose disabled children she cared for. ⌘ Read more

⤋ Read More

One of Australia’s worst paedophiles loses sentence appeal bid
One of Australia’s worst paedophiles, former childcare worker Ashley Paul Griffith, has failed in his bid to reduce the life sentence he received for hundreds of sex offences against young children. ⌘ Read more

⤋ Read More

All three and four-year-olds to be screened for autism under Victoria’s NDIS alternative
The state government has unveiled its Thriving Kids model, for children with autism and developmental delays who are no longer supported by the NDIS. ⌘ Read more

⤋ Read More

Selfish, spoiled, lonely … these only children have heard it all. But are the stereotypes true?
As Australia’s fertility rate falls, single-child families are on the rise. Most only children see no issue with that – but not all. ⌘ Read more

⤋ Read More

Is paying parents to stay home with their kids the answer to declining birth rates?
With the cost associated with having children a deterrent to prospective parents, is paying them to stay home and raise a family the antidote to a slowing of the birth rate. ⌘ Read more

⤋ Read More

What it’s really like to have a big family today
Stares at the supermarket. 3am starts. Batch cooking champions. As Australia’s fertility rate falls to a record low, families with four or more children are becoming a rare species. ⌘ Read more

⤋ Read More

‘ISIS bride’ accused of trying to indoctrinate children into terrorism before return to Australia
Rayann El Houli insists she has since renounced violent extremism, but hasn’t completed an anti-terror program because it was “a bit much” for her. ⌘ Read more

⤋ Read More

Children’s disability workers to be axed as NDIS changes loom
The Brotherhood of St Laurence is set to axe up to 45 of its early childhood coordinator roles, currently funded under a contract with the National Disability Insurance Scheme, as it transitions to a greater focus on adult disability services. ⌘ Read more

⤋ Read More
In-reply-to » @prologic don’t get mad at me, but the long block of text didn’t address any of my questions. 😜😅

@bender@twtxt.net Fine, Let me answer properly and concretely 😅

Would you want your children not to learn anything, because “they have AI”?

No, children still need to learn. That will never change. What they learn however will over time.

Are you OK with your children using the AI for all of their homework?

Yes, frankly I am. Why? Because much of what we teach them in school is utterly pointless.
For example, learning to read Shakespear never taught me anything useful in my life. I regret much of my school years to be honest.
I leanred to read and write, sure. But I learned Math, Science, Computing and how things work on my own by being very curious.

What sense will it make?

That assumes I answered “no”, which I did not. So it all makes perfect sense :D

What kind of future would that bring for them?

This assumes I said “Yes”, which I did :D It will be an itneresting future that’s for sure. I don’t think we can just bury our heads in teh sand and pretend it’s all going to go away, It will not. It will make things very interesting for sure, as we’re already starting to see what’s possible and what’s changeing. For example; ordinary people are using these LLM(s) to write their legal suit and defense in courts with varying levels of success.

Even if AI were to become omniscient, what will it be of the human race then?

I’m not convinced it ever will. In fact, I am not convinced we know how to create true intellience at all.

What would we do?

What would be so different from say an Alien invasion from far superious beings?
What would we do that? Band together and defend humanity?

Serve the AI? Maintain the AI?

That assumes that “AI” will become intelligent and omniscient, which I don’t believe it ever will.

Would we have found the true meaning of life then?

If the meaning of life is to create our own sub-species liken to ourselves, sure, maybe. But is that even a reality? not sure, I doubt it. We barely understand ourselves at the best of times, let alone how our minds works.

To care for AI, Is that it?

How would this be different to caring for a friend, a family member If we could ever truly reate an actual sentient being with real feelings and intelligenace, is there any reason to worry? Could we not be freinds and have mutual goals and form relationships?

⤋ Read More

Location of child sex offender on Daniel’s Law register not known
A known Queensland child sex offender is missing in the community, after police discovered he had not made required reports about his whereabouts and contact with children. ⌘ Read more

⤋ Read More

Location of child sex offender on Daniel’s Law register not known
A known Queensland child sex offender is missing in the community, after police discovered he had not made required reports about his whereabouts and contact with children. ⌘ Read more

⤋ Read More
In-reply-to » @lyse Thanks! There are a few points in there that I’ll add to my list.

@prologic@twtxt.net let me ask you this. Would you want your children not to learn anything, because “they have AI”? Are you OK with your children using the AI for all of their homework? What sense will it make? What kind of future would that bring for them? We need to analyse the repercussions from all angles, even if AI were to provide absolutely flawless answers every single time. Even if AI were to become omniscient. What will it be of the human race then? What would we do? Serve the AI? Maintain the AI? Would we have found the true meaning of life then? To care for AI. Is that it?

⤋ Read More

Location of child sex offender on Daniel’s Law register not known
A known Queensland child sex offender is missing in the community, after police discovered he had not made required reports about his whereabouts and contact with children. ⌘ Read more

⤋ Read More

A Kid With a Fake Mustache Tricked an Online Age-Verification Tool
To stop children from bypassing its age checks, Meta is revamping its age-verification tools with an AI system that analyzes images and videos for “visual cues,” such as height and bone structure. ⌘ Read more

⤋ Read More

This Indigenous Language Survived Russian Occupation. Can It Survive YouTube?
YouTube’s search and recommendation algorithms are driving children to Russian-language content even when they seek out videos in Kyrgyz, creating a cultural shift that concerns some parents. ⌘ Read more

⤋ Read More

Everything changes, right? I know we sound like curmudgeons, and perhaps AI is the next step. We are living its early infancy, the struggles and dislikes, the errors and flaws, and generations after us will simply benefit from it, and see it as natural as my children see the Internet today (it isn’t natural to me, I was born way before it).

Or maybe AI isn’t the next step. Either way, whether we like it or not, there is truly absolutely nothing (or close to) we can do. Well, complain we can, of course. :-P

⤋ Read More

All hail SA’s new Cherry King as first box goes for $65k
The first box of cherries this season went under the hammer at the SA Wholesale Produce Market in Pooraka, raising money for Variety - the Children’s Charity, assisting sick & disadvantaged kids. ⌘ Read more

⤋ Read More

I keep getting this email occadionally:

Your iCloud storage is almost full

Now for various reasons, I don’t want my children to be using iCloud to store data, files, photos or any of the sort. They’re free to use iMessages, and other Apple services like the App Store, etc, but not storage.

So I’ve set about blocking iCloud Storage API(s) via AdGuard Home tonight as well as ensuring that my local network (client users) cannot bypass DNS policies and get out other sneaky ways, because some applications will just use other DNS servers, or DOH or DOT.

⤋ Read More

Toxoplasmosis: How the pathogen exploits its own cell envelope
According to estimates, about a third of the world’s population is infected with the single-celled parasite Toxoplasma gondii, the pathogen of toxoplasmosis. Although harmless for most people, the infection can be dangerous for unborn children and people with weakened immune systems. In these cases, the pathogen can propagate rapidly and destroy infected tissue. It obtains the energy it needs for propagation by tapping the ho … ⌘ Read more

⤋ Read More

Why outback life is the best thing for these kids with cystic fibrosis
Two mums in rural Queensland have spoken about why they choose to live more than 1,000 kilometres from the Queensland Children’s Hospital. ⌘ Read more

⤋ Read More

SA childcare centre ‘unsuitable to open’ amid supervision concerns
The Education Standards Board has closed Edge Early Learning Centre at Plympton for 90 days following an investigation into reports of “inadequate supervision” of children. ⌘ Read more

⤋ Read More

New program allows parents of kids with complex needs to take a break
An Australian-first pilot program gets underway in WA in the hope of not only giving the parents of children with complex needs a break, but helping them navigate the maze of different support systems. ⌘ Read more

⤋ Read More

Boy’s ‘haunting’ expression in watch house drives home concerns for commissioner
Queensland’s outgoing human rights commissioner says he has lost sleep worrying about some juveniles “spending weeks and weeks” in the state’s watch houses. ⌘ Read more

⤋ Read More

Even short school breaks can affect student learning unevenly across socioeconomic backgrounds
The COVID-19 pandemic affected people worldwide disproportionately, with economically disadvantaged households facing a heavier burden. Children were also affected since schools and classes were closed to contain the virus. ⌘ Read more

⤋ Read More

Its like TV. Very few good channels and many bad channels. Or like books. Very few good books and many bad books. Look for spezialized channels and educate your children. Read the bible.com . But only Jesus is reliable. Forget Moses and the punishing God.

⤋ Read More

“Later in the evening, posting on X, #Macron said: “I’m banning #socialmedia for #children under 15. Platforms have the ability to verify age. Let’s do it.”

French authorities are already progressing with efforts to force certain social media sites — including X, Reddit, Bluesky and #Mastodon — to introduce age verification, by classifying them as pornographic websites.

French measures forcing porn sites to verify their users’ ages came into effect on June 7, prompting the world’s largest porn website, Pornhub, to stop operating in France. Demand for virtual private network services, which allow users to trick websites into thinking they are in a different location, immediately surged.”

https://www.politico.eu/article/emmanuel-macron-social-media-ban-minors-france/

⤋ Read More

‘Hermit’ with sexual interest in children had eisteddfod times on fridge
A man who had been accessing child exploitation material since before the birth of the internet had a spreadsheet on his fridge detailing children’s events, a court has heard. ⌘ Read more

⤋ Read More

SA Police has welfare concerns for three children missing for weeks
South Australian police are calling for information about three children under the age of three who were last seen more than two weeks ago. They are believed to be with a woman known to them. ⌘ Read more

⤋ Read More

Ahmad relies on a soup kitchen for food and goes to school in a tent
With many of Gaza’s schools damaged, destroyed or turned into shelters, makeshift classrooms have been set up in tents for the few children who can continue their education amidst the ongoing war. ⌘ Read more

⤋ Read More

Breaking: Adelaide man faces court over multiple child sex abuse offences
A man who worked closely with South Australia’s Department for Child Protection to house First Nations children has pleaded not guilty to more than 40 charges of sexual offending against minors. ⌘ Read more

⤋ Read More

New child protection laws with a focus on safety, set to pass SA parliament
The South Australian government has secured enough support from the state’s crossbench to pass its proposed new child protection laws, despite warnings from advocates that the reforms risk “sidelining” children. ⌘ Read more

⤋ Read More

Tom Homan is costing American taxpayers $1 million a month: reporter
Sarah K. Burris,  Senior Digital Editor  -  Raw Story

_Stephan: Did you know that you and I are spending one million dollars a month protecting the thug Tom Homan, whom aspiring dictator Trump has appointed “Border Czar”?  No, neither did I, but we are. As I read this report, all I could think about was how many children would get school lunches for $1,000,000 a month if Trump and the MAGAt … ⌘ Read more

⤋ Read More

Trump’s cultural overhaul throttles local arts, humanities programs nationwide
Piper Hudspeth Blackburn and Sunlen Serfaty,  Reporters  -  CNN

_Stephan: Aspiring dictator Trump, like his father before him, has always been a White supremacist racist. He and his father were both penalized decades ago for using racism in the renting of the apartments they owned. Trump and his MAGAt followers don’t want children to be taught the true history of America … ⌘ Read more

⤋ Read More

Oklahoma will teach high school students debunked 2020 election-fraud theories as fact
Grace Deng,  Staff Writer  -  Snopes

_Stephan: If you live in a Red State, Oklahoma being the example I have chosen, I hope you realize that your children are not being educated with fact-based information. They are being indoctrinated into fascist ideology, as part of the MAGAt Party plan to stay in power by training the next generation of Americans in … ⌘ Read more

⤋ Read More

In ‘Highly Unusual’ Move, Trump DOJ Sues to Block States From Holding Fossil Fuel Companies Accountable for Climate Crisis
: Cristen Hemingway Jaynes,  Contributing Writer  -  EcoWatch

_Stephan: The Trumpian fascist coup shows you almost every day that it cares nothing about your wellbeing, and it seeks to suppress any preparation to ameliorate the devastation of your life, and the lives of your children a … ⌘ Read more

⤋ Read More

Trump administration to cancel $1bn in Biden-era school mental health grants
,    -  Associated Press | The Guardian (U.K.)

_Stephan: The Trump fascist coup administration is making it clear they care nothing about the wellbeing of actual Americans, particularly children. As I am writing this I am thinking particularly about the Oklahoma mother and his young daughters, all American citizens, who were awakened at 0600 by armed men who would not ide … ⌘ Read more

⤋ Read More

Republican posts video defending law that declared slaves ‘three-fifths’ of a person
Sarah K. Burris,  Senior Editor  -  Raw Story

_Stephan: I think it is very important to recognize that Donny “2 doll”, as Lawrence O’Donnell called him on his program tonight, when Trump said basically that American children have too many toys, is just the leader of a racist fascist coup, but far from the only person perpetrating this destruction of the feder … ⌘ Read more

⤋ Read More