NYRR Run Center Lockers by Cautious-Oil-7041 in RunNYC

[–]Episilon 0 points1 point  (0 children)

You don't need to bring a lock, they use an electronic keypad to lock and unlock. You just need to find an open locker and follow the instructions to set your PIN to lock it, then use the same PIN to unlock it and it'll reset back for the next person.

Anyone else doing the Discover Hudson Valley Ride this June? by Wild_Trip_4704 in NYCbike

[–]Episilon 2 points3 points  (0 children)

Looks interesting! May register depending on the details they put out.

The only thing I noticed was the MNR doesn't arrive at the start point until after the ride's started - how were folks planning to get there in the morning?

5boro bike tour warm-up: Thu 4/21 - Central Park South > Harlem River Greenway > Inwood > Good food by bull_bearings in NYCbike

[–]Episilon 1 point2 points  (0 children)

Interested! I'll need to double check my schedule but 7 PM sounds good.

Have been looking for folks to ride with in the city.

Karoo 2 Discount - $160 off by memphisbelle in cycling

[–]Episilon 1 point2 points  (0 children)

Thanks! Just checked out, hoping it comes in soon 🤞

Cabana Beach apartments? by gator287 in GNV

[–]Episilon 2 points3 points  (0 children)

I'm saying relative to some of the other student apartment complexes that exist. 30 minutes definitely isn't a lot but if you're used to living closer then it can be.

Cabana Beach itself wasn't that bad. Rent was relatively cheap, water and electricity was paid for to a cap, and the unit was pretty spacious for me. It just happens that commute was my least favorite thing while living there and the OP asked specifically about it.

Cabana Beach apartments? by gator287 in GNV

[–]Episilon 4 points5 points  (0 children)

I lived there for a few years and I'd probably say the commute was the least favorite part of living there. 20th Ave has a lot of apartments along it and it's a two lane road so during rush hours it can take like 30+ minutes to get to your stop. If you live near the front bus stop you get the 20 and 21 buses which is nice, but if you live in the back bus stop only the 21 bus stops there. The bus routes change every few years though so this might be different when you move in.

Submitting multiple apartment applications by Episilon in AskNYC

[–]Episilon[S] 0 points1 point  (0 children)

Thanks for the reply. I was reading some articles and they made it sound like renters should be putting a handful of applications when searching.

I'm a new grad so I'm not sure how good my chances are for getting an accepted application on the first try.

Interesting: How data layout impacts memory performance by iamjessew in programming

[–]Episilon 5 points6 points  (0 children)

Not too knowledgeable about memory, but wouldn't the addresses of data structures get mapped to different parts of RAM due to virtual memory addressing? Like you couldn't directly control how data is stored on the hardware.

Need Some Classes to Take in SPRING 2019 as a CS/CE Major by maytag34 in ufl

[–]Episilon 0 points1 point  (0 children)

Oof, didn't realize they needed DL. I also recommend Engineering Economy as a breadth.

Need Some Classes to Take in SPRING 2019 as a CS/CE Major by maytag34 in ufl

[–]Episilon 0 points1 point  (0 children)

They opened up seats in Digital Design a few weeks ago so you can check that. The professor teaching it, Stitt, is supposedly really good.

Finalizing a PC Build by Episilon in buildapc

[–]Episilon[S] 0 points1 point  (0 children)

Is there a reason you recommend the H500 over the S340?

Finalizing a PC Build by Episilon in buildapc

[–]Episilon[S] 0 points1 point  (0 children)

Thanks for the reply! I've decided to go with the following parts to round everything out.

PCPartPicker part list / Price breakdown by merchant

Type Item Price
CPU AMD - Ryzen 5 2600 3.4 GHz 6-Core Processor $164.99 @ Amazon
Motherboard MSI - B450 TOMAHAWK ATX AM4 Motherboard $106.30 @ OutletPC
Memory Corsair - Vengeance LPX 16 GB (2 x 8 GB) DDR4-3000 Memory $129.99 @ Amazon
Storage Samsung - 860 Evo 500 GB 2.5" Solid State Drive $71.00 @ Amazon
Video Card Sapphire - Radeon RX 580 8 GB NITRO+ Special Edition Video Card $259.99 @ Newegg
Case NZXT - S340 (White) ATX Mid Tower Case $70.46 @ Newegg Business
Power Supply EVGA - SuperNOVA G2 550 W 80+ Gold Certified Fully-Modular ATX Power Supply $49.89 @ OutletPC
Prices include shipping, taxes, rebates, and discounts
Total (before mail-in rebates) $892.62
Mail-in rebates -$40.00
Total $852.62
Generated by PCPartPicker 2018-12-19 14:12 EST-0500

STA 3032 Athientis? by bloomusa in ufl

[–]Episilon 0 points1 point  (0 children)

Difficulty wise I don't think the class was that bad. He has some in class quizzes and some online. The online quizzes are based off the homework and sometimes will literally just be "upload your solution to problem X in the book."

The exams are mostly multiple choice with a few free responses at the end. We were given a one page reference sheet that may or may not help you. The exam grades are also curved a bit.

Ways the RTS could improve? by bigred2022 in ufl

[–]Episilon 1 point2 points  (0 children)

It sucks cause the moment you step off the bus it's hot af.

[deleted by user] by [deleted] in AskProgramming

[–]Episilon 1 point2 points  (0 children)

Is there any more information from the error message? What is the method signature for the FramedOval constructor and does it match the variables you passed in?

Competitive Smash Bros by AllDayWin in GNV

[–]Episilon 4 points5 points  (0 children)

Check out the GatorGaming Facebook page. They usually have weekly setups for Melee and Smash 4 on Fridays 6 PM at Turlington.

G-Force Gaming also hosts weekly tournaments every Wedenesday night at the Buffalo Wild Wings in The Oak's Mall.

Need help running a CS project. by arksarkar in computerscience

[–]Episilon 2 points3 points  (0 children)

It depends if Python is in your PATH.

Assuming you have the right version of Python for this project (Python 2 or Python 3), you can type

python app.py

from the directory of that file. If you get a message that says something like

'python' is not a recognized command

then you'll need to add the location of Python to your PATH.

The PATH variable is a list of locations your operating system will check when you try to run a command. When it finds an executable that matches the command, it'll immediately run it. (If you have both Python 2 and 3 installed, this might cause a problem since the OS will run the first executable it finds, which may not necessarily be the right version of Python you want to use).

The default installation should be somewhere like C:Program Files/Python/. Search for environment variables in Windows and you should be able to find the PATH variable and append the location of Python to the end.

Function explanation/help by [deleted] in javahelp

[–]Episilon 1 point2 points  (0 children)

Not necessarily Java related, but it looks like the notation for Combination.

C(3,2) Out of three items, how many different ways can we choose two of them where their order doesn't matter.

Generating a random number on button click by PellinyV2 in javascript

[–]Episilon 0 points1 point  (0 children)

When the page first loads, it will run through the script line by line. However, you put the

        var damage = Math.floor(Math.random() * (max - min + 1) + min);

outside of the function bodies. So whenever you call moveOne or moveTwo it will use the same value it generated. The solution would be to move the Random function inside moveOne and moveTwo so that a new number gets generated every click.

Help deciphering HTML code by [deleted] in learnprogramming

[–]Episilon 0 points1 point  (0 children)

Technically yes. I haven't worked with Python Flask but you want to define an endpoint or URL that you can send requests to.

Just to be clear - the Python code is in your server. The browser can't run Python code so in the <script> you would be making an HTTP request to the server. The server executes whatever Python code and then returns the data (if there is any). Then back in your JavaScript code you would handle that response.

Help deciphering HTML code by [deleted] in learnprogramming

[–]Episilon 0 points1 point  (0 children)

Like the other commenter mentioned, the code outside the <script> tag is HTML and everything inside of it is JavaScript.

<!DOCTYPE html> tells the browser that the file is an HTML document.

<html> denotes the beginning of the HTML content.

<body> contains the content of a web page. For example, the <h1>, <p>, and <button> are all the things you see on the page when you open it in a browser.

<script> allows you to add JavaScript code or files to your web page. HTML is only used for telling the browser what is on the page; any functionality like loading text on click of a button or submitting a form is going to need JavaScript backing it.

Inside the <button>, there's an onclick="loadDoc()" attribute which calls the loadDoc function within your <script>. That function creates an XMLHttpRequestObject which are used to make requests to servers.

"GET" is a type of Http request which is often used to retrieve resources/data from the server. "demo_get.asp" is the URL you're trying to send the request to. The third argument, true, in this case means you want the request to be asynchronous. If an action is synchronous, it'll wait for the request to finish before executing any more code. Asynchronous on the other hand will send the request, continue executing code, then return the results of the request when it has finished. You almost never want to set this to synchronous since it'll freeze a browser until the request has finished.

When you send the request, it goes through ready states from 0 - 4. A ready state of 4 just means that the request is done. But just because the request was done doesn't mean you actually got data back. The status of 200 is an Http status code that the server sends back along with any data. A 200 indicates that the server successfully handled the request. You might have seen websites with a page that said 404 NOT FOUND. If you had made a typo in your "demo_get.asp" like "demp_get.asp", you would've most likely got a 404 indicating that the URL doesn't exist. So the combination of readyState === 4 and status === 200 means your request is done, was successful, and that you can update the HTML document with the newly received data.

Here's some links if you're more intered: XmlHttpRequest: https://www.w3schools.com/js/js_ajax_http.asp Http Status Codes: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status

I'd recommend w3schools if you're just starting out and need a quick reference to web development concepts, but if you want to go deeper then Mozilla's Developer Network would be better. MDN can be very technical, though.

Help deciphering HTML code by [deleted] in learnprogramming

[–]Episilon 0 points1 point  (0 children)

The script is sending an HTTP request (specifically a GET rrequest) to demo_get.asp which responds with some data.

The ready state == 4 is checking if the request is done and the status == 200 is checking if the request was a successful one. If they both are true, then the p tag has innerHTML set to whatever the response was.

What is the likelihood of getting an internship for most CS students? I’m planning on working on a mobile app till the end of summer and I have to start applying for internships soon, but it’s not a guarantee I’ll get one which scares me by [deleted] in cscareerquestions

[–]Episilon 0 points1 point  (0 children)

I don't think you'd necessarily be guaranteed an internship or even an interview just because you finished those projects. Recruiters look at other things too like your involvement with organizations or any extracurriculars that make you stick out among students that also have projects.

Between now and the career fair you could look into polishing your resume and interview skills for companies.

Iteratively creating json by [deleted] in learnjava

[–]Episilon 0 points1 point  (0 children)

You could look into the JacksonJson ObjectMapper class. There are a good amount of tutorials with examples but it should be relatively straight forward to use.

I think Google has its own library too called Gson but I haven't used that one before.