Ruby :: Sometimes on Rails

The humane programming language. Be nice. Have fun. Lurkers...
Feb 16, 2022 05:18
This chat is dead :'(
Feb 16, 2022 05:18
Hello!
 

Lounge<C++>

Today we're daydreaming about C++26 reflection
Jul 13, 2021 23:16
@nwp i 100% agree with you. I muted every server actually. The white dot really go annoying to me.
Sep 11, 2020 22:03
Am I missing something?? Apparently you can call a private method in another class using composition?
Jun 17, 2020 18:32
Between you and me, something smells.
Jun 17, 2020 18:32
Hey what did the left eye say to the right eye?
 

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
May 27, 2020 17:28
Hey all, anyone familiar with apache in here?
 

PHP

Support group for those afflicted with PHP. Don't ask to ask, ...
May 27, 2020 17:06
That's okay
May 27, 2020 17:05
could this be a problem?
May 27, 2020 17:04
but I only see <Directory "/var/www/html/cgi-bin">
May 27, 2020 17:04
So my project is located in /var/www/html @DaveRandom
May 27, 2020 17:01
Someone else is telling me to put a no override?
May 27, 2020 16:59
Okay. Here's my apache configuration: codeshare.io/5QEeQQ
May 27, 2020 16:54
What could be the reason?
May 27, 2020 16:52
Would there be any reason that my login fails on apache?
 

C++ Questions and Answers

Solve problems and approach solutions. Just ask and lurkers wi...
May 27, 2020 17:00
Ah okay
May 27, 2020 16:57
Hmph okay
May 27, 2020 16:57
Oh whitelisted?
May 27, 2020 16:53
I'm not really sure
May 27, 2020 16:53
Yes
May 27, 2020 16:53
The ajax and php (off topic for this room, sorry) have worked for years. It's simply my machine
May 27, 2020 16:52
Like?
May 27, 2020 16:52
Would there be any reason that my login fails on apache?
May 26, 2020 22:26
Any reason that an AJAX call would fail with apache?
May 26, 2020 18:48
Okay. I tried changing it to 8070 but it cannot load the page
May 26, 2020 18:46
But I' not sure if it is necessary
May 26, 2020 18:46
which that path is missing /html
May 26, 2020 18:46
There is this too:
#
# Relax access to content within /var/www.
#
<Directory "/var/www">
AllowOverride None
# Allow open access:
Require all granted
</Directory>
May 26, 2020 18:45
There is this:
Listen 80
May 26, 2020 18:44
Should I change the serverRoot?
ServerRoot "/etc/httpd"
May 26, 2020 18:41
This follows it: #
# Relax access to content within /var/www.
#
<Directory "/var/www">
AllowOverride None
# Allow open access:
Require all granted
</Directory>
May 26, 2020 18:40
Okay, so this is what I have for DocumentRoot in httpd.conf:

DocumentRoot "/var/www/html"
May 26, 2020 18:40
I'm not really sure. I inherited this project.
May 26, 2020 18:39
In httpd.conf ? I'm not sure. Let me check
May 26, 2020 18:38
I've ran into this problem before I believe but that was last summer and I can't remember what I did to fix it.
May 26, 2020 18:38
I think so.
May 26, 2020 18:37
No. I was given this web interface to add onto and I"m just trying to login to it
May 26, 2020 18:37
Now the actual file path for login-user.php is:
/var/www/html/user/server-scripts/login-user.php
May 26, 2020 18:36
So I'm able to access the login page just fine. But when I try to login, I get this error: "Failed to connect to server. Check your network connection and try again. url: /user/server-scripts/login-user.php data: [object Object]"
May 26, 2020 18:36
I'm having a problem with a file path
May 26, 2020 18:36
I know
May 26, 2020 18:24
Anyone here familiar with apache?
May 21, 2020 18:38
If anyone has a better approach, I would be more than happy to see it as hard-coding is something I try to stay away from
May 21, 2020 18:37
Hence why my first code attempt that I posted above is so hacky to do the rounding
May 21, 2020 18:37
Complete with rounding
May 21, 2020 18:37
No it's okay. What I hard-coded ended up passing the edabit tests. Of course, I spent a lot of time trying to not do that and to actually compute the value of pi to the nth decimal place.
May 21, 2020 18:26
Don't really like that approach for obvious reasons but it passed the edabit challenge tests
May 21, 2020 18:26
Ended up just hardcoding each case.
May 21, 2020 18:13
I want to remove the 7 and round it
May 21, 2020 18:13
How do I round this?
3.1415926535897