COVID disrupts Aluminum Capacitor supply in Southeast Asia
DIY Spotify Box features custom-designed Allwinner V3s SBC
https://www.cnx-software.com/2021/09/23/diy-spotify-box-features-custom-designed-allwinner-v3s-sbc/
@lupyuen I hadn't seen the original so i just went and looked it up. The original's pretty good but the remix is even better - it's spectacular! Thankyou for sharing
But to visualise historical Sensor Data from #TheThingsNetwork, we should store the data in Prometheus and push to #Grafana
We have just visualised #TheThingsNetwork Sensor Data in #Grafana with our custom data source
"Vaccinate Already? | 您打疫苗没? (Inquisitive Remix)"
Gitamini is a cute, compact, cargo-carrying robot that will follow you around like a dog ($1,850)
https://www.theverge.com/2021/9/22/22685649/gita-gitamini-cargo-carrying-robot-piaggio
"Cybersecurity of 5G mobile devices in Lithuania" (Huawei, Xiaomi, OnePlus)
https://www.nksc.lt/doc/en/analysis/2021-08-23_5G-CN-analysis_env3.pdf
Weekly #Linux Phone news / media roundup
https://linmob.net/linbits-63-weekly-linux-phone-news-week37-38/
CBOR Payloads now decoded OK ... By our #Grafana Data Source for #TheThingsNetwork yay! 🎉
"LGBTIQ Website Censorship in Six Countries"
https://citizenlab.ca/2021/08/no-access-lgbtiq-website-censorship-in-six-countries/
"The Analog Thing (THAT) is a high-quality, low-cost, open-source, and not-for-profit cutting-edge analog computer"
"The Unbelievable Grimness of HermanCainAward, the Subreddit That Catalogs Anti-Vaxxer COVID Deaths"
https://slate.com/technology/2021/09/hermancainaward-subreddit-antivaxxer-deaths-cataloged.html
"any foreigner who traveled to Thailand in the last decade might have had their information exposed in the incident"
https://www.comparitech.com/blog/information-security/thai-traveler-data-leak/
@velartrill
it's a type assertion, because the values of the map are interface{}. the empty interface is fulfilled by _any_ type. you usually need to do type asserts if you want to do _more_ than is defined in the interface. you need the concrete type for that.
if you don't want to have a panic if the type doesn't match, you use the form with two return values. usually if the input is controlled by yourself you want panics because a non matching type is clearly a bug then. for parsing things like irregular JSON it's handy to have the two valued form. an alternative, especially if you have a set of possible types are type switches: https://tour.golang.org/methods/16
Linux Foundation survey shows companies desperate to hire #OpenSource talent
How our #Grafana Data Source transforms #TheThingsNetwork MQTT Messages ... Into Grafana Data Frames
https://github.com/lupyuen/the-things-network-datasource/blob/main/pkg/plugin/message.go#L46-L129
@lupyuen you might want to use the
x, ok := y.(type)
if !ok {
return fmt.Errorf("type assertion failed for: %v", x)
}
style of type assertions. by using the form with two return values you can prevent panics and instead return an error if you have malformed input data.
IoT Techie and Educator / Apache NuttX PMC