| Github | http://www.github.com/michaelruigrok |
| key | null |
| pronouns | they/them |
| Personal Website | https://content.rodeo |
| Github | http://www.github.com/michaelruigrok |
| key | null |
| pronouns | they/them |
| Personal Website | https://content.rodeo |
Not even a one-liner: the weekly challenge today is "Write a script to return the running sum of the given array. Input: @int = (1, 2, 3, 4, 5); Output: (1, 3, 6, 10, 15)"
There is a metaoperator in #RakuLang for that (YAY #BatteriesIncluded):
It's the `[\]` metaoperator, that applies to another operator and returns the running reduction to another operation. So, the answer to the challenge is ```sub runinng-sum(@_) { [\+] @_ }```
more examples (and one with * instead of)...
A great infographic by scientific American illustrating the variety of intersex traits people can have:
āCriminals have unregulated access to the technology, and they exploit it to cause harm to the community. It follows that law enforcement would need to adopt the same AI technology"
ā¦because we also want to cause harm to the community?
https://www.innovationaus.com/ai-privacy-fears-unsubstantiated-and-unwarranted-sa-police/
South Australiaās regulatory response to AI must not become the victim of āunsubstantiated and unwarrantedā privacy concerns that could hinder important public safety work, the stateās policing agency has warned. The South Australian Police Force (SAPOL) has also talked up the technologyās potential to protect civil liberties by avoiding ārandom, widespread stop and searchā activities during mass gathering or special events. Fronting a hearing of the ongoing parliamentary inquiry into AI on Thursday, Assistant Commissioner John Venditto said the proliferation of AI meant there was an increasing need for SAPOL to deploy capabilities of its own.