Questions tagged [codio]

Codio is a cloud-based visual front-end IDE.

Codio is a cloud-based visual front-end IDE that covers the complete web development cycle, from prototype to deployment.

52 questions
0
votes
0 answers

JAVA: I am trying to make a project that calculates the IQ loss on a given night depending on how many hours of sleep was lost

My goal is to Write a utility class called Sleep, containing a static method called iqLoss. The iqLoss method should take a single parameter: an integer number representing the number of sleep hours missed on a given night. Then return an integer…
0
votes
2 answers

Error: Main method not found in class in codio

Hi im still a student learning Java. Im supposed to make this calculator but im having an error and I don't know how to fix it. here are my codes: **import java.awt.GridLayout; import java.awt.event.ActionEvent; import…
0
votes
3 answers

Flutter Web Development using an Online IDE

I am doing my development using a Chromebook and wondered if it is possible to develop SPAs using Flutter using an online IDE such as Cloud9 or Codio? I have managed to install flutter and run it to install dart but am getting stuck as it can't find…
Mark Tyers
  • 2,961
  • 4
  • 29
  • 52
0
votes
1 answer

Can't Create/write to file

I'm new to coding and I am having trouble I think granting permission. I am trying to write an SQL statement to list the contents of the orders table and send the output to a file that has a .csv extension. But I keep getting this error:
0
votes
1 answer

JavaScript href/routing issue

I am trying to make a live site but I have run into this issue. I have a page called 'info' which has been made in the route folder called 'theatre' so that I could href the info page to be opened from the home page. Therefore, the URL includes…
amzy2489
  • 1
  • 1
0
votes
1 answer

Codio is not connecting to vs code

I am trying to connect Codio to vs code and this is what I am getting, I am not sure why or what I can do. enter image description here
0
votes
3 answers

So close yet I can't figure out whats wrong

I am taking a course through school and have this challenge on Codio: For your final challenge in this unit, you will load two files: The first file F1 will have information about some accounts. It will be pipe-delimited and have one record per…
0
votes
1 answer

Stuck on variable length records in codio

My instructions are: Load the pipe-delimited file 'P'. It is organized with 3 fields on each line: firstname|lastname|birthday. Search for the firstname 'F' and lastname 'L', replacing the birthday with 'B'. Write the file back out in the same…
orangie
  • 1
  • 2
0
votes
2 answers

how to use the curl POST function in Linux terminal to create a document in python

Am trying to add a new record into a python document and I think am stuck with an issue caused by the curl post function. I have attached the python file and the error received when posting to my url. Could anyone kindly point me towards the right…
0
votes
0 answers

Writing a Linux script using the vi editor and whenever I run it in my Codio workspace, it gives an error?

I'm working on a Milestone for my IT class and I've written a Linux script using the vi editor that should perform the necessary tasks. The instructions direct me to create a script within the vi editor that creates a text file into which the…
Sarah
  • 55
  • 1
  • 5
0
votes
3 answers

find the largest number in that list and output its index, not the actual value

This is the assignment on Codio. I am new to programming and don't know what to do here. We will pass in a list of numbers. Your job is to find the largest number in that list and output its index, not the actual value. Tip: you will need to use a…
0
votes
1 answer

How do I use nohup command in ubuntu box to get my ruby server to run in the background

My make serve command runs my jupyter-book fine with make serve codio@anita-doctor:~/workspace/Introduction-to-Data-Science/IntroBook$ make serve bundle exec guard Configuration file: _config.yml 15:21:53 - INFO - Jekyll building... 15:21:54 - INFO…
0
votes
3 answers

Can anyone tell me what's wrong with my code here?

I have some code written here for a Codio challenge that I can't seem to figure out how to correctly write. I'm fairly new to Python and for some reason this times table loop challenge is killing me. The code is as follows: # Get N from the command…
0
votes
1 answer

Why does my Query return "Empty set (0.00 sec)"?

SOLVED-run UPDATE building SET building_name = "Main Street Building" WHERE building_id = 2; From there, the task 3 query will return proper results. Task One: Query: SELECT first_name, last_name, building_name, room.room_id,…
0
votes
1 answer

When I use '%.2f' I get a "a float is required" error, why?

I am doing a project for school and at the end I am to summarize the customer(user) bill. If I remove the '%.2f' then I do not receive an error, but the number displayed goes on and on and on. How do I display only the last 2 decimal places? Code…
Brandon Weeks
  • 69
  • 1
  • 2
  • 11