carsten

yarn.zn80.net

Thoughts of a nerd and software engineer -- 🇩🇪🇳🇱👫🍎🐧☕🐟🦐 -- Carsten Brueggenolte (operator of yarn.zn80.net, a 🧶Yarn.social pod)

Recent twts from carsten
In-reply-to » hi guys. I am trying to solve the following problem in Go: I have a go template that just uses {{.Body}} or {{printed "%s" .Body}} for output. on the go side I am using templates.ExecuteTemplate(w,"view.html",data) as input. the data.Body is a []byte which contains valid HTML. The problem is, in the browser, or the templates.Execute only send escaped text to the browser. But it should not so I can create html on the server side

@prologic@twtxt.net mmh OK. so inside the struct instead of []byte I use template.HTML let me try

⤋ Read More

hi guys. I am trying to solve the following problem in Go: I have a go template that just uses {{.Body}} or {{printed “%s” .Body}} for output. on the go side I am using templates.ExecuteTemplate(w,“view.html”,data) as input. the data.Body is a []byte which contains valid HTML. The problem is, in the browser, or the templates.Execute only send escaped text to the browser. But it should not so I can create html on the server side

any ideas on how to solve this?

⤋ Read More
In-reply-to » The EU Has Introduced a New 'Digital' ID. Here's What It Means for You. [politico.eu]
The EU's "digital" ID (an app to prove identity online) plan raises privacy concerns: "[it] could allow the private sector to better access people's government-certified information, actually strengthening the likes of Facebook and Google and the targeted advertising industry. https://www.politico.eu/article/eu-europe-digital-id/

@movq@www.uninformativ.de I do not know that. It is going on since 2020 https://ec.europa.eu/info/strategy/priorities-2019-2024/europe-fit-digital-age/european-digital-identity_en and this one is a GREAT title https://www1.cbn.com/cbnnews/world/2022/may/is-the-eu-undergoing-a-chinafication-brussels-will-be-rolling-out-a-new-digital-identity-nbsp - creepy though

⤋ Read More
In-reply-to » Intel Just Asked the EU For $624 Million To Pay It Back For Overturned Anti-AMD Fine Intel is seeking to be paid interest of $624 million on the overturned $1.1 billion fine it received from the European Commission back in 2009. From a report: The antitrust ruling was overturned at the beginning of the year, and so Intel has gone to EU General Court seeking compensation and interest on the fine. I ... ⌘ Read more

@prologic@twtxt.net They should just get their money back and that’s it. It is not likely tat Intel would have invested any of that money anywhere.

⤋ Read More

Sooo finished for today.

  • got my subscription for the NYTimes working again
  • got all my stuff at work checked in and handed over to colleagues
  • one last day at work will hopefully just a relaxing and smooth one with saying goodbye before leave starts!
  • really happy how the first half of the year went by
  • looking forward to the long leave period. oh boy you have no idea how much I am looking forward to this

⤋ Read More
In-reply-to » Media View from up the ladder, it's quite a way down (5 metres to be exact). You can see the cable clearly.

I see more a problem when the net is set up that it will pull the poles to the middle and then all if it just might crash?!?! The poles should be secured with 45° angled ropes to the outside.

⤋ Read More
In-reply-to » Alexa Will Soon Be Able To Read Stories As Your Dead Grandma An anonymous reader quotes a report from TechCrunch: At its annual re:Mars conference today in Las Vegas, Amazon's Senior Vice President and Head Scientist for Alexa, Rohit Prasad, announced a spate of new and upcoming features for the company's smart assistant. The most head turning of the bunch was a potential new feature that can synthesize short audio cli ... ⌘ Read more

Parents will have to parent less and less of their kids. Just throw them at an Alexa device.

⤋ Read More

Google Is Sharing Our Data at a Startling Scale [bloomberg.com]
Google transmits the location and browsing data of Americans and Europeans more than 70 billion times a day, according to a recent report. Why does it matter? “The data collected by those devices can be exploited in ways we don’t know.” Parmy Olson reports https://www.bloomberg.com/opinion/articles/2022-05-16/privacy-google-transmits-our-personal-data-70-billion-times-a-day

⤋ Read More

The EU Has Introduced a New ‘Digital’ ID. Here’s What It Means for You. [politico.eu]
The EU’s “digital” ID (an app to prove identity online) plan raises privacy concerns: “[it] could allow the private sector to better access people’s government-certified information, actually strengthening the likes of Facebook and Google and the targeted advertising industry. https://www.politico.eu/article/eu-europe-digital-id/

WHY? Oh menno

⤋ Read More
In-reply-to » Reaching 700M Active Users, Telegram Announces 'Premium' Tier "Telegram became one of the top-5 downloaded apps worldwide in 2022 and now has over 700 million monthly active users," they announced this weekend. "This growth is solely from personal recommendations — Telegram has never paid to advertise its apps."

@prologic@twtxt.net This is what I face every day when people ask me why I do not have WhatsApp anymore. I tell them then: please send email! Or Signal, Threema, Element(matrix), IRC. So strange. And I feel old and sad the Email got degraded to a “retrieve password” service.

⤋ Read More

#golang - I tried something with Mithril.js and Golang, but I do not know how to read the JSON send via PUT to the server. It is driving my crazy. All I get is a bunch of weird “true false true false 0 0” values in the request.Body.

⤋ Read More

It will be hot at the weekend - Summer is back - and how: The German Weather Service expects temperatures to exceed 30 degrees this weekend. In France it is supposed to get even warmer, while Spain is already suffering from a heat wave.

⤋ Read More
In-reply-to » @prologic and others may I ask you to review some code? https://git.envs.net/cblte/golang-webapp/releases/tag/0.7 It is not finished yet, but I think I am on a good way. Still needs some polishing. WebDev is actually new to me with all the status codes and stateless things and everything. So feedback would be appreciated. Using Redis because it was easy to setup and to implement. Actually want to use SQLite or something else, but Redis seems to do the job for now.

@prologic@twtxt.net Thanks. This embed package is something I was looking for. Have it on my list, but did not get that far

⤋ Read More

@prologic@twtxt.net and others may I ask you to review some code? https://git.envs.net/cblte/golang-webapp/releases/tag/0.7 It is not finished yet, but I think I am on a good way. Still needs some polishing. WebDev is actually new to me with all the status codes and stateless things and everything. So feedback would be appreciated. Using Redis because it was easy to setup and to implement. Actually want to use SQLite or something else, but Redis seems to do the job for now.

⤋ Read More
In-reply-to » Survey: iPhone owners spend more, have higher incomes than Android users CommentsRead more

IPhone owners are generally happier than Android users, the survey found, and have greater spending power. lol

I switch from an iPhone 7 to an 11. And now I switch to an 13 Pro because of my wife. Still using my MacBook Air Mid 2013….

⤋ Read More

@movq@www.uninformativ.de Ich mag deine Webseite. Sehr strukturiert und einfach gehalten. Fuer das ganze gopher Zeug habe ich https://gopher.floodgap.com/gopher/gw? genommen. Muss aber auch ehrlich zugeben, dass ich echt verwoehnt bin von dem “Mach mal alles im Browser”. Dabei finde ich Terminal Sachen gar nicht so schlecht. Aber wie so haeufig, gibt es viele Dinge die man machen will und einfach viel zu wenig Zeit sie alle umzusetzen.

⤋ Read More