If ever there was a reason to make #OpenHardware, #FOSS and #standards mandatory in certain cases:
> _“Earlier this year, many people with Argus optical implants – which allow blind people to see – lost their vision when the manufacturer, Second Sight, went bust. […] There's no ethical case for permanently attaching computers to people's nervous systems without giving them the absolute, irrevocable right to nominate who maintains those computers and how.”_
https://pluralistic.net/2022/12/12/unsafe-at-any-speed/#this-is-literally-your-brain-on-capitalism
Basic Autism description
I usually describe it as NT people have a brain that has many pathways already laid down : they can 'naturally' walk down a path without thinking, and just 'do stuff' easily.
My brain is like fighting through a jungle : the first time I have to force my way through a path with willpower, hacking my way through. This is very stressful and difficult, the second time still pretty tough, but it gets easier each time.
Many times it feels like I have to learn by trial and error, bumping into every single small obstacle along the way. I need clearer guidance and often ask 'stupid' questions, things that are obvious to NT I have to confirm.
This means small variations in what I do, coping with differences is much more effort - straying off the path is harder for me. I like doing things the same way each time.
:)
#ActuallyAutistic
What happens to your smartphone when it gets stolen?
I recently had my iPhone stolen while on a business trip in London and, through the wonders of Find My, have been able to track its journey in the past few weeks. I found it to be a fascinating insight to what appears to be a rather sophisticated phone theft operation and thought I'd share!
After playing with #ChatGPT for a bit, I'm still impressed by what it's *capable* of achieving (sometimes), but I can see that it still has an ELIZA side to it - a tendency to go on random tangents,
to repeat answers,
to ignore chunks of the question and make up its own unique interpretation of it.
ChatGPT stuff
Zooming out to generalize, it seems likely that this'll be a significant issue with ChatGPT/other LLM responses - mistakes like this are subtle and insidious, and could easily pass muster at a first glance. Especially if you don't know the answer already, which will be the case when people actually start using it beyond this trial.
Information about things that are already popular and has a lot of text on the Internet - pre-established languages, technologies, the currently dominant cultures, ideologies, etc. - will be well known to ChatGPT, and could be commingled in subtle ways with newer upcoming ones, and presented as part of that newer entity, perpetuating those old influences.
This type of misinformation will be insidious, and can easily fly under the radar in a lot of situations.
ChatGPT stuff
tl;dr: it seems likely ChatGPT took advice meant for Python or MATLAB, and substituted Julia's name in their place because it considers them "close enough".
1 isn't wrong, but makes no mention of type stability, which is at least as important as its (more generic, applicable many languages) suggestion.
2 is also generic advice that's good to have, but isn't #JuliaLang specific (but I consider this one a #ChatGPT success)
3 rates as kinda okayish advice. One could argue that for a beginner, the base functions offer a solid place to start, if we assume they're gonna write badly optimized code (but then teaching them how not to do that - as the prompt asked - is a better way to solve that). But since this is Julia, it's not uncommon that simple custom code you write beats the obvious ways using built-ins. So I'd consider this potentially misleading.
4 is likely the smoking gun here - the repeated mentions of vectorization and asking to use techniques to "vectorize your code" seems to suggest that this whole thing was taken from guides written for Python or MATLAB, which are at this point more numerous than those for Julia, and then the Language Model substituted Julia in the language name's place because it considers them similar. (A previous answer said "there are a number of programming languages that are commonly used for numerical and scientific computing, including Python, Julia, MATLAB, R, and others" - so it knows they're in the same category.)
ChatGPT stuff
[ChatGPT's full response below:]
There is no single secret to making Julia code fast, as the performance of Julia code can depend on a number of factors. However, there are a few general strategies that can help to optimize the performance of Julia code and make it run faster, such as:
* Choosing the right data types and structures: Julia is a dynamically-typed language, which means that the type of a variable can change at runtime. This can make it difficult to optimize the performance of your code, because the compiler cannot always determine the best way to represent and manipulate your data. To make your code run faster, you should choose the appropriate data types and structures for your data, based on the operations you want to perform and the performance characteristics of the different types.
* Avoiding unnecessary computations: Inefficient code often contains unnecessary computations, such as calculations that are performed multiple times or operations that do not affect the result of the program. To make your code run faster, you should avoid performing unnecessary computations, and try to structure your code in a way that minimizes the amount of work that the computer has to do.
* Using built-in functions and libraries: Julia has a rich set of built-in functions and libraries that can help you perform common tasks efficiently. Rather than implementing your own algorithms or functions, you should use the built-in functions and libraries whenever possible, as they are often highly optimized and can save you a lot of time and effort.
* Exploiting parallelism and vectorization: Julia is designed to support parallel computing and vectorization, which can help you to make your code run faster by utilizing multiple cores or processors. To make the most of these features, you should try to structure your code in a way that allows it to be executed in parallel or vectorized, and use the appropriate techniques and tools to parallelize or vectorize your code.
ChatGPT stuff
I asked #ChatGPT "What is the secret to make Julia code fast?" (just to see if it picks up anything from Jakob Nissen's excellent guide https://viralinstruction.com/posts/optimise/ or the many other #julialang optimization guides online).
The answer turned out to be good example of the model's ability to be subtly misleading while not being entirely wrong.
(Thread, with ChatGPT's reply as the next post.)
Todo.txt with the Vim plugin gives me most of these except for the first two.
+Projects don't really do the job for me with regard to subtasks, not nearly flexible enough.
Someone recommended TaskWarrior, but it looks like that doesn't have subtasks either?
Have been thinking about extending the Todo.txt format in some way to support subtasks, not sure yet what the best way to go about it is. Sometimes I also want the subtasks to be strictly ordered ("show me only the next available subtask in order, not all of them"), sometimes they're fine unordered. Hmmm...
Thinking out loud:
### What I want from a todo system are
* ability to break down a task at any point into subtasks (and automatically track completion)
* dependence between tasks i.e. ability to say Task X depends on Task N which depends on Tasks C and D
* easy keyboard manipulation, no mouse dependence
* plaintext or near-plaintext storage
* priorities
* contexts
* being FOSS and local
* (nice to haves:) tags, recurring tasks
What I like the most about the #fediverse is the randomness in the
social interactions among the people from different instances and the diverse niche content you find.
#mastodon #qoto #UFoI
So I'm watching the 1976 "the boy in the plastic bubble" and it got me thinking.. there is a scene where he says hje doesnt take showers and doesnt smell because there are no germs...
So if people who are in sterile tooms all their life are truely germ free... that must mean all sorts of things... no BO, you never smell, do you even need to brush your teeth, you wouldnt get plaque or anything if there are no germs to consume the food on your teeth... Does it also mean they have no gut bacteria..
and aside from all those dise effects, which im curious about... how do you even steralize a human in the first place, even if they are born that way and go in from birth, surely your born with bacteria on you.. how do you steralize a human and if you cant how do they not die from this...
Revised document attached. Removed Metatext and replaced it with Mastoot per someone's suggestion. :-)
Me in class: “Looks like no one managed to finish the reading, that’s on me, clearly I assigned too much today. Let’s discuss [X] instead.”
Students: 😮🤯🥹
It’s really powerful for students when the role model at the front of the classroom takes responsibility & shows imperfection. The more I #Teach the more I realize showing weakness teaches humaneness & combats impostor syndrome, & is one of the things my students most often say they loved when a course is over. #teaching #academidon #histadon
Is there any #OpenSource #desktop application to manage equipments/parts catalog?
I want to find any equipment/parts fast enough. Please boost so that I can get more suggestions.
Teacher, trainer, developer.
Interested in books, tech, pets, being less wrong, and having my mind blown every now and then.
I'm also @Sundar where I'll be posting Julia tips, resources, etc.
#programming #education #training #learning #julialang #julia
#science
#webfiction
#meditation
#fedi22