« first day (4270 days earlier)      last day (661 days later) » 

1:19 AM
stackoverflow.com/questions/51753550 another example of where we'd benefit from a "general itertools technique" sort of question.
 
2:18 AM
stackoverflow.com/questions/480214/… What's the canonical for "just use a set", for the case where order doesn't matter? I can't seem to find it, bizarrely
 
 
10 hours later…
12:04 PM
you know you have good friends when stackoverflow.com/questions/72753670/… (10k link)
 
12:48 PM
> This app is for a friend of mine that wants to troll their friend.
My friend's friend is my enemy
 
1:17 PM
please dont crosspost fresh questions here as per our room rules
 
oh sorry
But I can ask here questions right?
(will follow the room rules in the future)
 
1:32 PM
if its a fresh question on the main site, the point is to improve the question on the site and give people a chance to answer. perhaps provide more details, perhaps make an MCVE, giving more information about the dockerfile or so on. Posting the same information here is essentially exactly the opposite of what the intention behind the rule is
 
@PetarPetrovic no
It would be very silly to say "don't link your fresh question here, instead explain the same problem with different wording here". So it's not what the rules say.
If you don't have an answer in 2 days you're welcome to ask here (with or without a link).
 
Provided full Dockerfile. I am sorry for that. But I can ask the questions related to the link but not the same as in it?
 
If it's a different problem then yes
 
2:10 PM
Hi guys
 
2:21 PM
I have created a dockerfile and started building an image but it won't install libreoffice with command RUN apt-get update && apt-get install -y libreoffice is this a correct way of installing it, I need it only to convert really big and special .xlsx that can be only converted using libreoffice. Is there libreoffice package just for that?
 
2:47 PM
Is it really that hard to install libreoffice in docker?
 
 
1 hour later…
3:49 PM
guys something super weird happened, so I had my previous code that did somethings with pyaudio. Now I open pycharm and without running anything at all, a sound file from the code starts playing in loop. strange.
then I write a new code new.py and write some stuff and run it, its starts pulling up modules from the previous code and giving me errors
no idea whats going on, i create a new venv and inheret all global packages
now new.py, I write in print("hello") and that's it, it says hello
now i import a module that i don't use ie import torch, print("hello") only two lines of code in that
now its again pulling modules from my previous code and throwing errors despite not using anything, theres only two lines in the code
what on earth did i just do ?
import torch
print("text")

That's all is my code
error looks like this
did i just break something in such epic manner its a security hole ?
 
4:05 PM
Guys please listen now. Is it possible to get a file from one docker build to another?
 
4:19 PM
@Vrisk I don't use pycharm but that definitely sounds weird. Just to cover the obvious: have you also tried restarting the whole system? And you didn't post the error.
 
Is there a standard way to create an asyncio task, run some code, then cancel the task? I have this kind of setup:
speed_limiter_coro = self._copy_speed_limit(options)
speed_limiter_task = asyncio.create_task(speed_limiter_coro)

try:
    await download_coro
finally:
    speed_limiter_task.cancel()
But if an exception is thrown before the try, it never gets cancelled
Actually, is it even possible for an exception to be thrown there? If a KeyboardInterrupt happens, will it be thrown at the next await?
Nope, it can be thrown before the await
async with temporary_task(speed_limiter_coro):
    await download_coro
Does something like that ^ exist?
 
4:47 PM
I guess I'm just being too paranoid, but doesn't that only make the issue worse? If an exception is thrown right before the add_done_callback(), you'll have 2 uncancelled tasks running
 
Honestly, I'm not really sure why I care so much. Every time you write with open('foo') as file: you have the same problem and nobody cares except me
 
@AndrasDeak--СлаваУкраїні oh yeah tried restarting and all that
error looks like this
huh i posted the error looks like it disappared
Traceback (most recent call last):
File "/home/vrikde/.local/lib/pythonProject4/main.py", line 1, in <module>
import torch
File "/home/vrikde/.local/lib/python3.8/site-packages/torch/_init_.py", line 721, in <module>
_C._initExtension(manager_path())
File "/home/vrikde/.local/lib/python3.8/site-packages/torch/cuda/_init_.py", line 759, in <module>
from . import amp
File "/home/vrikde/.local/lib/python3.8/site-packages/torch/cuda/amp/_init_.py", line 1, in <module>
from .autocast_mode import autocast, custom_fwd, custom_bwd # noqa: F401
something similar happens when i replace numpy with scipy
but i remove that import line and it prints
i also tried deleting pyaudio
but nuffing
 
@Vrisk torch imports numpy which fails. Might be a numpy version issue. Probably unrelated to your audio weirdness.
Just try import numpy, it should also break
your env used by pycharm might be broken
 
scipy does this too :/
 
4:57 PM
Yes, scipy also depends on numpy
 
hmmm
see why i point to the audio weirdness is
after i deleted the audio code from everywheere i thought relevant
i debuged my code
and somehow in one of the tabs pycharm opened
my old code was just sitting there
it opened the old code in a tab
 
You might have deleted parts of numpy. Try reinstalling it.
 
hmm I shall doit and see
 
"I deleted the audio code from everywheere i thought relevant" sounds scary
 
 
1 hour later…
6:27 PM
I asked openAI GPT-3 for ways to win a government election here is the answer:
1. Spend more money on advertising and campaigning than your opponents.
2. Make promises that you know you can't or won't keep.
3. Get endorsements from celebrities or other influential people.
4. Make sure your party's supporters are more enthusiastic and mobilized than those of your opponents.
5. Find and exploit divisions within the opposition party.
6. Use fearmongering tactics to scare people into voting for you.
the 2nd point is so scary!
screenshot any thoughts?
 
6:41 PM
...is the gpt-3 website just one massive meme?
> Yet bed any for travelling assistance indulgence unpleasing. Not thoughts all exercise blessing indulgence way. Everything joy alteration boisterous the attachement. Party we years to order allow asked of.
Since I can't find out any details about how it works, my thoughts are that it probably just parrots stupid things the internet says a lot back to you
...just like the rest of the internet does
 
@Aran-Fey what about a Turing test?
is there is a way of knowing if anyone of us is just "parroting" things?
anyway it's just food for thought
 
Can that thing even take a turing test? Can it answer questions?
 
yes! it's basically like a chatbot. beta.openai.com/playground/p/default-tweet-classifier
me: What is the difference between science and faith?
GPT-3: Science is defined as the observation, identification, description, experimental investigation, and theoretical explanation of phenomena. Faith, on the other hand, is defined as confidence or trust in a person, thing, God, or set of beliefs.
 
6:58 PM
If you ask it the right questions it's probably pretty easy to figure out it's not human. Ask it about 10, 20, 50, 100 different topics and it'll never respond "I don't know"
 
there are a lot of people out there who would fail the Turing test based on that criterion
 
That's a bug in humans, not a bug with the way I do the Turing test :P
 
me: How to make a person angry?

GPT-3: There is no single answer to this question as everyone experiences anger differently and what angers one person may not anger another. However, some general things that may make a person angry include feeling threatened or unfairly treated, being frustrated or annoyed, or feeling like one's personal space or belongings are being invaded. If you are trying to make someone angry, it is important to remember that everyone is different and what works for one person may not work for another.
 
@Manik is there some general python-related way you're going with this?
 
@AndrasDeak--СлаваУкраїні no i'm just using the playground tool on the openAI website. Sorry just felt excited to share this, i know it's off-topic here. i'll stop now.
 
What's the point of the Turing test anyway? It's such a vague description of a test procedure that it's borderline meaningless. There are no standardized questions, no standardized way to rate the answers, no standardized anything. There's no chance you'll get the same result every time If you repeat the test 10 times with 20 different people. Why do we all know about this pointless thing?
 
@Aran-Fey it's not terribly important, but the concept of "AI that can fool you that it's human" is substantial in my opinion, and it's good on layman juice.
incidentally, the recent brouhaha with the LaMDA sentience debate made the Turing test relevant again
 
But you can just say that. Why say "it can pass the Turing test" instead of "it can pass itself off as a human"?
 
like I said, it sounds fancy, and it's been around so long that it's part of common knowledge now
and honestly Turing deserves some credit for what's been done to him :P
(I don't actually know how he formulated his test)
 
History, tradition and common knowledge, my old nemeses
 
7:22 PM
@AndrasDeak--СлаваУкраїні I think the argument is that while GPT models questions and answers and can match them up, it doesn't model "what a particular human is likely to know"
 
 
1 hour later…
8:29 PM
@Aran-Fey it's interesting to me that the Turing test completely avoids a specific definition of "intelligence", "living-things", "alive" etc. and simply says if you can't tell the difference then it is otherwise it is not. It kind of makes sense to me that a test of intelligent behaviour cannot be the same and must keep on evolving so that no one can imitate it. if that makes any sense.
 
8:43 PM
Yeah, that makes sense. But that's all the more reason why the Turing test shouldn't be a thing. The things that matter are not specified and just left to the examiner, while a load of irrelevant stuff is set in stone. Why do you have to compare a human and a robot? Why do you have to ask them questions? Why not just have a conversation and then decide if that was a human or not? I don't see the point of inventing a half-baked procedure for this
 
academic.oup.com/mind/article/LIX/236/433/986238 looks like this was Turing's thought process behind the test as he wrote in his own paper *i feel so intelligent :) *. looks like the term "Imitation game" came from here too.
 
Plus, the "existence" of the Turing test has turned the problem into a "yes/no" question, which I don't like. The question shouldn't be "can this robot act like a human", it should be "how well can this robot act like a human"
 
@Aran-Fey I think Turing answered this at the start of this paper
 
I think part of the problem is that we've come a very long way since Turing, so now we might have a different view of the whole problem framework.
 
fwiw, I studied AI at Uni, and the turing test is never treated as more than an anecdote. Writing an "AI" that passes the turing test is borderline trivial, and writing an AI with an actual powerful/complex language model underneath has a high probability of not passing the Turing test
eliza did little more than asking the interviewer"how do you feel about x" if it identified a proper noun x in their query, and most people already thought they were talking to a human.
turing's initial assumption was, that a program that can trick humans into thinking they talk to a human would be as complex as a human. which was a fair bit off target.
it reminds me of a different quote that I can't quite source right now, which went along the lines of "if we want to build programs as smart as humans, we need 100kb of storage. because that's how much storage you need to store the content of a dictionary, which contains the complete world knowledge and language of an adult human"
if you don't know about the AI winter yet, it's a good lesson to keep in mind.
 
8:57 PM
@Arne I don't get it, are they saying that "smartness" is just knowledge and not intelligence?
 
essentially
they probably assumed that once you have all the knowledge available, the rest would be easy.
 
Ah, but now we have wikipedia in our pockets, surely it needs more than 100kb now!
 
"all" the knowledge, huh
 
@Aran-Fey we reached "infinity" and apparently the "beyond" goes all downhill
 
@AndrasDeak--СлаваУкраїні well, once you got all the words, every article is just a permutation, so no new words get added.
lots of fun to be snarky when others had to go through the trouble of finding out why those assumptions were wrong ;)
 
9:03 PM
Knowledge vs intelligence is also a pretty interesting debate. If I were to draw a line between the two, it would probably be 4-dimensional and perpendicular to itself
 
I'm sure you can explain it away using tomatoes
 
 
2 hours later…
11:18 PM
@AndrasDeak--СлаваУкраїні the idea is, you threaten to throw tomatoes at anyone who still claims not to understand?
 
@KarlKnechtel The usual "cute" adage is "knowledge is knowing that tomatoes are fruit, wisdom is knowing not to put them in a fruit salad". Which is hilariously fallacious, since tomatoes are fruit only in the botanical sense, in which sense the vast majority of vegetables are also fruit. The distinction makes no sense, so this is in stark contrast to knowledge or wisdom.
 

« first day (4270 days earlier)      last day (661 days later) »