136 karma · joined Aug 31, 2022 (4y ago) · 34 submissions
cd_1901 is my username
proton.me is the server
comment 3y ago · link · parent
``` pyarrow.csv.read_csv(input_file, read_options=None, parse_options=None, convert_options=None, MemoryPool memory_pool=None) ```
You can then pass a `ReadOptions`[1] object if needed.
For example:
``` read_options = csv.ReadOptions( column_names=["animals", "n_legs", "entry"], skip_rows=1) csv.read_csv(io.BytesIO(s.encode()), read_options=read_options) ```
You can see how ReadOptions is written on this link [2]. It's interesting they use a `cdef class` from `Cython` for this.
This doesn't solve all issues (the ReadOptions object and the others will inevitably have a bunch of default arguments) but I do think it's safer and it's easier to have a mental map of the things you need to decide and what's decided for you.
[0] https://arrow.apache.org/docs/python/generated/pyarrow.csv.r... [1] https://arrow.apache.org/docs/python/generated/pyarrow.csv.R... [2] https://github.com/apache/arrow/blob/master/python/pyarrow/_...
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
I don't see why this would be true. If you have evidence of some strong argument on why this would be true, I'd like to hear them.
As an anecdote, I work with young people (x<25) that don't seem to be worse at recalling facts than the older generation. The bright/geeky ones grew up reading up wikipedia and, in fact, have a wider grasp of facts/stories than the older generation (in my experience)
comment 3y ago · link · parent
Before spell checkers, having good spelling was relatively difficult and it allowed employers/teachers/etc to separate the "good" people from the "bad". After spell checkers became ubiquitous (unless you have to handwrite!), having good spelling became the norm and the floor becomes much higher. A document with bad spelling means the person doesn't know of spell checkers (a sign that the person isn't computer savvy enough?) Or doesn't care enough.
Did spell checkers reduce the language capacity of students? Maybe they did start putting less attention into spelling, but I would argue it's ok because now we have more assistance. If you really want to test their spelling, you can always do a handwritten, in class quiz.
ChatGPT and the like may be different because they are written the whole thing, right? Well, kind of. You still need to give the prompt to express what you want to say. You still need to correct stuff and exercise judgment to see if the style in this paragraph is ok, if the facts stated over in that other paragraphs are ok. Besides, you still need to learn how to write because of the in class quiz next week.
comment 3y ago · link · parent
comment 3y ago · link · parent
(Also, general intelligence is not usually synonymous with self awareness in the literature. You might want to argue that, but it's, I think, a minority opinion)
comment 3y ago · link · parent
The other issue is that the incentives aren't necessarily aligned. They don't get payed to share their code or to make their code reusable. The code is used to publish one or a couple of paper and then thrown away. Maybe someone else will reuse it in the future but the original author doesn't necessarily gain much from that
comment 3y ago · link · parent
I think it's related with the "substantive elaboration" test with regards to copyright (sorry I can't remember the proper term). If I just copy a scene from your movie, you can probably sue me. If I take some elements from it, but do my own thing so that it read more like a parody/comment / meta-comment, then it's ok.
Is AI just parroting back stuff or is it creating new things? A few years ago, I would have said it's just parroting. With the current models I think we are midway (it will depend on the propmt too!). In a couple of years my bet is that we'll be clearly on the "creating new thinfs territory".
comment 3y ago · link · parent
Also, non phonetic writing systems will push you towards not hearing while reading. For example, when I read chinese there are plenty of characters (hanzi) whose pronunciation I don't know (was it hai? Pai?), but I remember the meaning just fine.
Even with English (I'm not a native speaker) sometimes I won't remember how to pronounce a certain word, but I'll read it just fine.
comment 3y ago · link · parent
comment 3y ago · link · parent
This is why you're getting downvoted. You can come up with a reason why we're downvoting you, but maybe it's because you need to reflect a bit more on what you're saying and be more open with different opinions/facts?
The poster above you gave you a quote of an estimate. This can be challenged if you quote another estimate or you find some deep methodological flaws on the estimate. Your argument, as it stands, is nonsensical
comment 3y ago · link · parent
comment 4y ago · link · parent
Your part of Canada might truly be somewhere with no indigenous presence
comment 4y ago · link · parent
The countries that need a whitewash are the ones that have really bad human rights abuse (or, in this case, a country that let tens of thousands of people die building the very same stadiums that are being used). That's not related to being white in any systematic way
comment 4y ago · link · parent
>The UK Office for National Statistics has already succumbed to such ideas, proposing that respondents should be allowed to self-identify their sex in the 2021 census.
This is something we've been doing in my country for decades and I don't see a problem with it (the alternative is to ask the person that does the census to take a guess on the gender of the person...sometimes it's easy, sometimes not so much)
comment 4y ago · link · parent
This needs to be then implemented on a real flow where humans and prediction models interact (for example: approve these things automatically, send these other test for humans to revise)