Hi @pacmaninbw! Thanks for contributing. Indeed, there are cases where iterative implementation works better than recursion. I remember that factorials are a good example even though there are not a data structure, wish I had an example with data structures now. BTW I tried to read your code review question but I didn't understand it, so I'll keep going working on my skills to be able to read code like that — Juan Jáuregui12 secs ago
The complete script works as expected. I am able to download and verify the files. If the file is all ready present verification is retested and downloads if necessary.
I'm in the process of teaching myself bash/sh scripting. Is there a cleaner way I can implement the following section of sh scri...
I am working in GEE and I am trying to extract areas of clusters for some specific coordinates.
I have a clustered map of the area and a list of coordinates. I am trying to extract values of those clusters whose coordinates are available.
I have tried this approach but it isn't giving me the area...
Is this more a question for Stack Code Review rather then overflow? Here we tackle problems, where in review they can help you with something like this a little better without people getting a little (lot) narky — Simon Price15 secs ago
someone can help me with this code? I'm trying to compute the average speed every 100 m, starting from a list of spans that contains [distance, time, avg speed].
This is what I've tried to do, and seems to work pretty well (can you confirm?). The problem is that the code is a little bit bulky, an...
@SimonPrice This question would be closed on Code Review as being too hypothetical. It is not real code from a real working project based on the type names. — pacmaninbw23 secs ago
...if what you want is just general-purpose code review, instead of a solution to a narrow, specific technical problem, we have a separate site for that: Code Review. — Charles Duffyjust now
I am new here as well as new to python and I was looking for a little help with this animation. Currently, my code outputs 10 graphs instead of an html5 video with 10 frames. Ultimately, I would like to be able to specify the number of frames and watch this julia map evolve over that time period....
@SimonForsberg You'll be fine. There's a lot of rule lawyering afoot, but that shouldn't concern the average upstanding citizen.
For the bigger sites, there were some concerns about suspensions being handed out for no obvious reason (there were still good reasons, they simply weren't obvious for some people) and situations that technically weren't against the CoC yet that should've been.
Considering we've always used the unofficial rule that at some point, you're not breaking a rule but the community, this wasn't a problem for smaller sites yet.
SE is adamant that some things should be more strictly codified.
Which is a bit of a hassle for moderators, but on average shouldn't impact the users much.
However, there's also a strike incoming.
Not necessarily about this, but more about the recent upheaval about how the CEO and Team talk about AI participation.
With all the significant changes in the industry, one thing has remained the same: companies are committed to driving productivity and efficiency throughout their organizations, and we continue to help our customers and community deliver both.
Once you filter out the buzzwords, there's nothing of value left.
@RMunroe Earthlike stars and exoplanets in our solar system? Yea, that would be weird...
The ironic part is that since it was trained on data from the internet, the types of content it's really good at generating is the type of content they don't want it to generate.
Meanwhile the industry is split between making models to make believable answers, and making other models to distinguish fake answers from real ones.
The language processing part of your brain is only one piece of the puzzle :3
I mean, current AI models are layered. They have no state (minimal state, reset after every run).
The brain is just a mess of neurons connected to each other, with some general guidelines for connections across different sections to allow communication.
The goal was to identify trees in segmented text conforming to a context-free grammar (CFG) using the python package nltk.
The CFG has rules like "DosageP -> substance num amount_unit", and "text1_tokenized" has sublists like ['substance', 'num', 'amount_unit'], which correspond to sublists in “c...
This is my first go project. I've written a cli app to provision a database cluster on docker containers. Below are the flags currently used (to give an idea of its capabilities):
version := flag.StringP("version", "v", "", "CBS version")
noinit := flag.Bool("noinit", false, "Do not initialize...
This was simply practice to touch on somethings I have learned. I have also tried to take into account Pep 8 formatting practices to my best ability and applicable advice from my previous posts. It was difficult to keep the indents to 2 levels in. Constructive criticism much appreciated.
main.py
...
Your second question is off-topic here. Questions asking for peer review to improve working code belong on Code Review, which was created specifically for that purpose. — Ken White27 secs ago