Trash can

Like the recycle bin, but trashier.
Feb 4, 2023 15:43
I'm sure the folks here wouldn't like that question anymore than what's on the frontpage these days.
Feb 4, 2023 15:43
I guess because my question is already something unhandle able, I'll directly put it into the trash can:

What is the code in the whatsapp servers that compresses video files from watchable HD to unwatchable SD?
Dec 5, 2021 16:32
So, I'm doing:
`app.get('/', function(req, res) {
res.sendFile('./index.html', { root: __dirname });
})`
and in my html file, there's a `<img src="./img.jpg">` that's not loading.
Can you tell me why?
 

friendly bin

To all loving Room Owners If you want to remove message and don'...
Feb 4, 2023 15:27
What are the most common programs found in a lab cycle?
Feb 3, 2023 02:14
What are the most common programs written on Windows?
 

C#

General discussions about the c# language, Squirrels | gist.gi...
Feb 3, 2023 02:18
Can you get me C# compiler without installing bulky laggy unappealing Visual Studio 2019? Is it available in MinGW?
 

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Dec 10, 2022 02:18
document.append("zuck@meta says an offtopic channel for each room is the IRC standard that stackers missed doing")
Dec 10, 2022 02:11
@1.21gigawatts Elfo, wake up. We have work to do. It's almost Christmas and Tiabeanie is still missing in the depths of hell.
Dec 10, 2022 02:09
alert("This page is to discuss javascript, not to select an IDE for old n00bies")
Dec 10, 2022 02:08
document.write("hey there, chat. The chat has been inactive for some time.")
Dec 10, 2022 02:07
console.log("hello chat")
Dec 10, 2022 02:07
Hi There, what caused room death?
Dec 10, 2022 01:44
@JBis @ThiefMaster What should I use?
Dec 10, 2022 01:40
I also like the editor on codecademy and the editor on repl.it and the editor on the google coding interview (with the rabbit story) as they all look very stylish like a terminal. I'm interested in Stack's inhouse solution and also what stack recommends for version control process. I am tired of git commands and not enough resource with mercurial.
Dec 10, 2022 01:35
I like KhanAcademy's side by side editor where code is one side and the output is on the other side.
Dec 10, 2022 01:34
Hi, I got a broad general quest with me. Which editor should we use in 2022 that is designed against lag and unresponsiveness. In my experience, both Atom and Brackets have lag. Sublime Text 2 not so much, Sublime Text 3 a little. I have a brand new laptop, I'm currently only using notepad, not even vim or nano. I just got an ad for Atom: https://www.youtube.com/watch?v=Y7aEiVwBAdk
I'm stuck on what to select. Is there an inhouse editor from the Atwood's StackOverflow team?
Sep 7, 2022 06:11
Finally, we've settled to the point I can ask the questions on my children's minds.

Ok, Can JS (ie, Javascript as defined in ECMA6) turn a switched off computer back on?
Sep 6, 2022 14:15
@SuperUberDuper doesn't that depend on which method is faster.
Sep 6, 2022 14:15
@VLAZ You see, had we pretended to be doctors and this a chat like a helpdesk or clinic, we could have timings on our profile cards. You need a promotion, or hat. Like a doctor sthethascope around your icon of "It'z magick" dialogue.
Sep 5, 2022 03:27
what hubris, here I will cure you of this.
"May I please ask a question fellow JS people?"
"Yes, you may"
"Ok, well my question is so and so"
"The answer to that is so"

Wht embarrassment is there to this? @JamesBot @OlegValteriswithUkraine
May 18, 2022 17:28
@OlegValteriswithUkraine i came here today looking to ask "How do I trigger a function when document.getElementsByClassName('sendbtn')[0].disable changes from true to false" but upon seeing your message, I'd probably just read for a few hours on DOM Mutations and things like that, and if nothing works, change the approach.
May 8, 2022 16:18
How to implement <select> tag with fonts available on the system?
A method like [listFonts](https://www.mathworks.com/help/matlab/ref/listfonts.html) in JS would be nice.
May 3, 2022 03:14
^ That's a misplaced right bracket after the line of less, right? It looked strange to see a function comma separated from a method. Probably, a typo.
May 3, 2022 03:12
var less = require('less');
less.render('.class {height : 5}'), function(e, css) {
    console.log(css);
});
May 3, 2022 03:12
Learning again, just found this here:
Dec 5, 2021 17:29
Yup, adding app.use(express.static('.')) fixed it.
Dec 5, 2021 17:27
@VLAZ Yeah, I got a 404 Cannot GET /img.jpg ... I probably need to set up a public folder.
Dec 5, 2021 16:35
So, I'm doing: app.get('/', (req, res) => { res.sendFile('./index.html', { root: __dirname }) }) and in my html file, there's a <img src="./img.jpg"> that's not loading. Can you tell me why?
Nov 24, 2021 16:49
@KevinB It's because of the military alphabet, that whole foxtrot delta thing they use to spell out words and give signals. It could have been Zero or Zebra but their terms changed.
Nov 24, 2021 16:42
That's got to be unique, right. Never going to face the file already exists in path or anything like that, right.
Nov 24, 2021 16:41
I updated the line to var dt = new Date().toISOString().replace(/[-:.T]/g, "_").slice(0, -1); and now, I get names like a_2021_11_24_16_41_00_722_23348949545429676.txt
 

Java

Dedicated to the discussion of the Java programming language a...
Aug 24, 2022 20:27
This begins my foray into what one could deem rocket science.
Aug 24, 2022 20:26
float x,y;
void setup(){
x = width/2;
y = height/2;
}
void draw(){
background(#000000);
x = width/2 * (1+sin(frameCount/8)) - 30;
y = height/2 * (1+cos(frameCount/8)) - 30;
ellipse(x,y,30,30);
text(str(width)+'x'+str(height),width/2,height/2);
}
Aug 24, 2022 20:26
After 1000+ days of not messaging, I have finally returned with the cringiest of programs.
 

Python

Room rules: sopython.com/chatroom Code formatting guide: tinyu...
May 10, 2022 08:02
@Aran-Fey noted. Thank you plentifully and have a fair day.
May 10, 2022 01:56
Yet, two would have been nicer because I could reuse the tryAgain() in other cases.
May 10, 2022 01:55
def choose():
    try: pos = int(input('>>> pos: '))
    except ValueError:
        print("\nWrong input. Try again!")
        choose()
May 10, 2022 01:55
Making it one recursive function fixes the issue:
May 10, 2022 01:54
choose() and tryAgain() are separate function definitions, yes that is correct.
May 10, 2022 01:51
I believe it should be a function invocation of an undefined function, and not a subfunction.
May 10, 2022 01:47
    def choose():
        try: pos = int(input('>>> pos: '))
        except ValueError: tryAgain()

    def tryAgain():
        print("\nWrong input. Try again!")
        choose()
May 10, 2022 01:47
Hi, does the following make sense?
 

Android

Don't say hi. Don't ask questions. Don't have fun. Don't do an...
May 9, 2022 20:32
that's nice, what was your first app?
May 9, 2022 20:28
to imagine, years. wow.
May 9, 2022 20:28
aww, sounds like you have it way worse, man.
May 9, 2022 20:25
android studio hangs. i wanna just play.
 

Let me talk to myself

Just for me... Keeping track of PHP posts
Apr 21, 2022 06:57
don't go nuts in here.
 

HTML / CSS / WebDesign

This room is now defunct. RIP.
Dec 7, 2021 15:38
@TylerH still doesn't work
Dec 6, 2021 15:55
Hey I was wondering. I did <a href="file://C:/folder">folder</a> but chrome isn't opening the link. I can copy link address and paste it in another tab and it works. Why doesn't this link work?
Dec 5, 2021 17:32
Can I still use the <center> tag?