Skip Navigation
Limericks
  • 3 × sqrt(4), or 6 like we call it the hood.

  • Solve a puzzle for me
  • Normal people using AI: look how stupid this shit is!!

    Terence Tao using AI: As an experiment, I asked #ChatGPT to write #Python code to compute, for each 𝑛, the length 𝑀(𝑛) of the longest subsequence of (1,\dots,n) on which the Euler totient function ϕ is non-decreasing. For instance, 𝑀(6)=5, because ϕ is non-decreasing on 1,2,3,4,5 (or 1,2,3,4,6) but not 1,2,3,4,5,6. Interestingly, it was able to produce an extremely clever routine to compute the totient function (that I had to stare at for a few minutes to see why it actually worked), but the code to compute (M(n)) was slightly off: it only considered subsequences of consecutive integers, rather than arbitrary subsequences. Nevertheless it was close enough that I was able to manually produce the code I wanted using the initial GPT-produced code as a starting point, probably saving me about half an hour of work. (and I now have the first 10,000 values of (M)). The results were good enough that I would likely turn to GPT again to provide initial code for similar calculations in the future. https://chat.openai.com/share/a022e1d6-dddc-4817-8bbd-944a3e742d9f​

  • Manipulation
  • When my cat is laid down, and I call him, his ear move on my direction for a second and them come back. Consecutive calls don't even gain an ear movement.

  • I have to teach my daughter different things than my son
  • I don't like them neither but have never found them so bad they deserve a downvote.

  • rule
  • OP reposts this meme without adding anything. Smh

  • best rule according to AI
  • ::: 333 :::

  • Existential trolley problem
  • Dosen't matters what you choose, given that for sisyphus to reach his destination first he have to reach half, then half of it, then half again and again making movement impossible.

  • Still fighting the good fight
  • Support the troops

    🫡🐋

  • Largest Fraud in American History, but run by a Clown!
  • All his Anita Sarkisian videos are still up, so until he deletes them and do a video apologizing and accepting that he used to be a piece of shit, he's still a piece of shit imo.

  • Beautiful
  • Can confirm 👍

  • Largest Fraud in American History, but run by a Clown!
  • Thunderfoot is a misogynistic loser and I would downvote him everytime.

  • 13 May 2024
  • Im an actuarie in an insurance company, and I share the table with the lawyers, everytime they ask me for help on something excel/math related I joke with them about how that's the kind of thing that give flavor to life, seeing lawyers that tough math was useless and never had to used it, came to the realization that mathematics are everywhere and they can't scape of it.

  • That's rich rule
  • Venezuela fue siempre pobre, solo mejoro durante el gobierno de Chaves por que el petróleo estava a 100 dólares el barril, pero antes y después de eso no había tanta diferencia. Por lo menos esa fue siempre la visión que tuve desde Colombia. Y Colombia tampoco es que sea mejor, y siempre tuvo gobiernos de derecha y ultra derecha y es pobre y corrupto. Entonces decir derecha bien izquierda mal no tiene mucho sentido viéndolo así no más.

  • Certified in AI
  • The company I work for blocked ChatGPT and Co-pilot company wide, because they found underwriters using ChatGPT for subscription analysis.

  • Gotta use all those brain cells
  • The most creative artistic minds of today, are probably working on advertisement.

  • Gotta use all those brain cells
  • This is me, writing jiras for myself.

  • Gotta use all those brain cells
  • I feel it bloated with a lot of add ons that are not used, or not implemented.

  • Man who received first pig kidney transplant dies aged 62
  • Can you rule out the relationship?

  • how to send the icecream output to a log file? [solved]

    Hi, I'm currently using this to log my python process

    logging.basicConfig(filename='filename.log', level=logging.DEBUG)

    logger = logging.getLogger()

    sys.stderr.write = logger.error

    sys.stdout.write = logger.info

    And then using print(f'{datetime.now()} log message') where I want to log.

    It's working OK, buy I would like to live it to ic, but can't find any info on how to send the ic output to the logger.

    Thanks for any help.

    7
    alguem mais está com problemas pra postar em outras instâncias?

    Acabei de ver que meus comentários não estão sendo postados em threads que ficam em outros servidores.

    Sou eu só o a gente está com problemas de federação?

    Edit: estive stalkeando outros membros de lemmy.eco.br e nenhum do nossos mensagens está sendo postado nas outras comunidades mas a gente se consegue ver eles.

    6
    how to optimize this kind of process

    Hi, When im working with some big dataframes and I need to create some columns based on functions. So i have some code like this

    Def function(row): function

    And then I run the function on the df as

    df['new column'] = df.apply(function, axis=1)

    But I do this with 10 or more columns/functions at time. I don't think this is efficient because each time a column is created it had to parce the entire data frame. There's a way to create all the columns at the same time while parsing the rows only once?

    Thanks for any help.

    5
    Onde comprar roupas para usar no escritório?

    Estou precisando comprar umas roupas pra o trabalho, é um trabalho de escritório mas não precisa ser termo e gravata. Algum shopping que não seja muito caro e possa chegar no metro. Obrigado.

    0
    Clicking a comment should not collapse it.

    You are trying to click a link in a comment but the comment keep collapsing, also, pressing for a second should select the comment text to copy or other actions instead of hiding the upvotes section.

    Thank you.

    32
    Exposição de miniaturas e brinquedos japoneses na Japan House

    Não sei até quando vai, mas na Japan House (avn. Paulista 52) tem uma exposição de miniaturas e brinquedos japoneses gratuita e muito boa.

    0
    how to find good tickets to recurring flights?

    I just got a new job in a different city, São Paulo, but my wife is staying for the time being in Rio de Janeiro. I'm planning to travel home at least one weekend each month and would like to find deals for them. I tried Google flights alerts, but it just gives me deals for random week long flights.

    Thanks.

    0
    driving_crooner driving_crooner @lemmy.eco.br
    Posts 27
    Comments 1.6K
    Moderates