Jump to content

piemadd

Member
  • Posts

    1,466
  • Joined

  • Last visited

Everything posted by piemadd

  1. Aw fuck it happened again
    image.thumb.png.d3ce45790645eda22bd5478e1cdf3905.png

    (if you would like to see this page go to music.replit.sh NOT to music.replit.sh/player. it needs to detect your framerate first and then itll automatically redirect you)

    1.   Show previous replies  1 more
    2. sub68

      sub68

      holy crap it responds to bass pretty well

    3. piemadd

      piemadd

      @sub68What song did you use? I'm trying to find ones which work well with it

    4. sub68

      sub68

      the beginning is super bassy

      (Thanks @Moonzy)

  2. piemadd

    how my adhd works: "oh hey i should make this c…

    side note you can see easter egg at https://music.replit.sh/
  3. how my adhd works:
    "oh hey i should make this code rendering api"
    "ooh hey it works"
    "since im not serving anything to / i might as well add an easter egg"
    "ooh a music visualizer would be cool"
    "oh hey it works...and its 2am :|"

  4. It is possible to do, you'll need to get something like this for a few bucks: https://www.ebay.com/itm/143731103450. You can find one by searching "LGA 771 to 775 Adapter" on pretty much any online retailer. Additionally, you'll need to cut some pieces of plastic off of your cpu socket. Delidded.com has a nice guide on how to do everything, which can be viewed here: https://www.delidded.com/lga-771-to-775-adapter/
  5. The girl who won the ROG rig reboot is streaming her and her friend making a cake:
     

     

  6. 5800x arrives today and if i get off of my butt ill also finish my custom rgb controller

     

  7. I don't like PopOS. It is too locked down for me. I've used Zorin Lite before so here I go installing Zorin Ultimate.

  8. Am i doing this right? (yes im on wifi)

    Screenshot from 2021-02-08 23-52-18.png

  9. what do you mean portal 2 turns 10 this year?

    no, i refuse to accept my childhood is no more

  10. We accidentally created a chat app: (expand to read paste from blog)

     

    Spoiler
    Yesterday, I accidentally built a chat app. Surprisingly, it wasn't the first time it happened.
     
    colors.jpeg
     
    Before I tell you how Hackernews turned (this blog's) HTTP logs into chat, let me tell you about how a 12-year old user hacked the first chat app and community space on Replit right into a Python REPL.
     
    In 2018 we didn't know we had such a strong community of tinkerers. We knew people make games with Replit and share it with other people. But we didn't realize we'd already been a Schelling point for young hackers.
     
    One day, @pyelias created a post on our support forum saying he built a Chatroom and linked to a repl. I thought it would be a simple chatbot or something similar because I hadn't seen internet-based apps on the platform until that point. We had just opened up internet access to everyone, but we didn't support web hosting or any advanced features Replit has today. It was a very constrained environment.
     
    When I opened up Pyelias' Chatroom, I saw a vibrant community. It was mindblowing. It was like suddenly discovering the chair you'd been sitting on was made of gold. The community was not only fun, but it was also helpful, wholesome, and inviting.
     chatroom.png
    The way the Chatroom worked: the repl acted as a terminal client. When you run the code, it connected to a remote database and pulled for the latest messages. The entire application logic was on the client. Over the next few days, I saw rapid iteration. It went from a simple Chatroom to something like IRC. It had rooms, private messages, colors, muting, and because it's on top of the Python repl, it also had support for inline code evaluation.
     
    As the room grew, it naturally had problems with spam and bad actors. So it grew moderation features, filters, etc. Other users started contributing ideas and ways to improve it. It was magnificent and a model for making Replit a magical place for serendipitous computer explorations.
     
    From there, we grew our community features, and today we have a fantastic forum where people share apps and find other people to work with. In a future post, I'll tell how they built a fully programmable "Stonk" market.
     
    ## Hackernews chats in http logs
     
    In our blog's repl (where the app is hosted), I was writing something when I saw the HTTP logs in the console accelerate. For some reason, I knew it was hackernews, so I went there and saw the post on the front page. I commented on it, saying that people can see the log stream by going to https://blog.repl.it/__logs
     
    andrewxhonson on Hackernews visited the logs and saw an opportunity to chat. Because the blog was logging all the GET requests, you can effectively send "messages" to the logs by going to a path on the website (even if it doesn't exist). So for example, https://blog.repl.it/hi my name is fred resulted in a GET hello my name is fred log message. Now you have a streaming website that anyone can drop messages into -- i.e., a chat room!
     
     
    I tweeted about it, and someone posted it on HN as a separate post, so it started growing. At first, people couldn't tell that Replit logs is a terminal complete with support for ANSI escape codes. I dropped that hint on HN comment, and they were off to the races.
     
    colors.jpeg
     
    However, if you don't send an ANSI reset after your message, you're styling all the subsequent messages in the stream. I fixed that by adding a reset before each log message. I was coding live, so when I restarted the app, it broke and logged the syntax error to the console, which is actually the chatroom, and my users saw it. Not only do I have users on my accidental chatroom, they're also watching me work live and seeing my embarrassingly sloppy code (incidentally, that's why I love repl-driven coding you see the mistakes you make live and fix them quickly).
     
    chat_style.png
     
    Yesterday, I had many meetings (I don't code full-time anymore, sadly) so I had to fix the Chatroom (I mean blog logs lol) incrementally between calls. Naturally, with growth came the bad actors. Someone started posting 10s of thousands of messages and spamming the chat. My first reaction was: "wow it's amazing how resilient this webserver hosted on a single container!" Then I thought about implementing rate-limiting and profanity filters. However, I had a meeting in the next 5 minutes. Instead, I put Cloudflare in front of the blog, and with a couple of firewall rules, the blocking started!
     
    blocking.png
     
    Finally, before the day was over, I noticed that a handful of clients for the chat has emerged, and things thing has a life of their own.
     
    client.png
     
    Even as I'm writing this post in the repl, I can see the chat continue. There are now JSON messages and some weird protocol that's going on. Are people building apps on it? I'm sure that will happen before the end of the week. After all, it's a full terminal, and you can make entire UIs on it.
     
    more.jpeg
     
    I'm writing this story because we want to show the world that computers & the internet are still fun. Hacking, tinkering, and weird experiments continue to happen on platforms like Replit. Because every repl on Replit is a full computer that comes with access to the network, a database, storage, and access to its code, user profiles, and other primitives, it makes it inherently amenable to serendipity and accidental software interactions.

    TLDR: People used the public logs of our blog (https://blog.repl.it/__logs) to create a chatroom of sorts. Is bussin

  11. piemadd

    A new pet peeve of mine: websites that seemingl…

    Well, literally amazon. Amazon has turned into a dropshipping hellhole. Ebay is kinda the same but not bad since they allow you to sort by proximity. Also 100% the stores you're buying from are using shopify which supports every payment method out there.
  12. piemadd

    soda companies are just quirky ig ✌️🤪

    Btw this is true lol: https://www.telesurenglish.net/news/Colombia-Coca-Cola-Accused-of-Funding-Terrorist-Paramilitaries-20160901-0005.html#:~:text=Coca-Cola was accused of hiring hitmen from the AUC,kidnapping and human rights abuses.
  13. If you want to see if this is a hardware issue or a software issue, I would try getting a sample blender scene (this is a nice and complex one from the blender website), make sure you have optix enabled in your blender properties (how to change it) and in your render properties make sure to use cycles and use gpu compute (how to). Then, change the preview mode to full render (how to) and duplicate items (left click to select and shift+d to duplicate) until you are satisfied with how much vram is being used. To truly answer your question, it is actually quite rare for video games to fill up their VRAM, and features such as the improved speed of GDDR6X and soon cpus having direct access to GPU memory really help optimize this.
  14. Anybody have tips on not overthinking things?

    One of my best friend coworkers, to the surprise of both a mutual friend and myself, unadded me on snapchat (not even blocked or anything, just unadded). Been thinking about what I could have done wrong and its bringing me down a lot since she was one of my closest friends. idk what to do or where to go from here

    1. Sauron

      Sauron

      if you're worried call them. the best way to avoid overthinking is to just ask 😛

    2. Tog Driver

      Tog Driver

      52 minutes ago, pierom_qwerty said:

      Anybody have tips on not overthinking things?

      One of my best friend coworkers, to the surprise of both a mutual friend and myself, unadded me on snapchat (not even blocked or anything, just unadded). Been thinking about what I could have done wrong and its bringing me down a lot since she was one of my closest friends. idk what to do or where to go from here

      I have neither friends nor snapchat, so I can't speak from experience on this. but, have you talked to them recently? if not they may have just grown distant and thought it was time to move on? did you have a disagreement? did you insult their choice of vehicle?

  15. piemadd

    why havnt I followed you yet I thought I did oh…

    i see you followed me
  16. piemadd

    why havnt I followed you yet I thought I did oh…

    oh my me too lmao
  17. piemadd

    UPS lost my package

    vertical gpu riser.
  18. I have the funny

     

     

     

     

     

  19. UPS lost my package

     

    tenor.gif?itemid=11227855

    1. WhitetailAni

      WhitetailAni

      RIP.

      What was it?

    2. piemadd

      piemadd

      vertical gpu riser.

    3. WhitetailAni

      WhitetailAni

      It'll turn up eventually.

      USPS lost my Wii Balance Board, Wii Fit Plus, and Dance Dance Revolution Hottest Party (was after first two, third just came with the listing) for 2 weeks.

      It then came a week later perfectly fine.

×