brownplt / pyret-lang

The Pyret language.
Other
1.07k stars 110 forks source link

Publishing code #1279

Closed Jasleen1 closed 4 years ago

Jasleen1 commented 6 years ago

Hi!

I seem to be having trouble accessing published code. For example, if I use the link from pressing publish and paste it to an in cognito window, it just keeps loading.

Thanks!

sorawee commented 6 years ago

Can you give more details? E.g., what link is it? What's your browser / OS?

Jasleen1 commented 6 years ago

Here's a link: [REMOVED]

The browser is Safari on a Mac, in cognito. I just tried it in Firefox and it worked.

On Thu, Nov 30, 2017 at 1:45 PM, sorawee notifications@github.com wrote:

Can you give more details? E.g., what link is it? What's your browser / OS?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/brownplt/pyret-lang/issues/1279#issuecomment-348282403, or mute the thread https://github.com/notifications/unsubscribe-auth/AGXjtjDNb9MEsTfFk0QeuocdABiz87Srks5s7vfSgaJpZM4QxA7R .

sorawee commented 6 years ago

Whoops. I thought it's a random program. Please don't publish an assignment solution publicly!

When you run it in Safari and it keeps loading, there should be an error appearing in the JavaScript console. Can you follow the instruction in https://www.wickedlysmart.com/hfjsconsole/ to open the console and report what you see?

Jasleen1 commented 6 years ago

I'll get back to you on the technical part but it's not publically -- I'm interviewing with a company that does functional programming and wanted to talk about a code sample during the interview. Is that ok?

On Nov 30, 2017, at 1:59 PM, sorawee notifications@github.com wrote:

Whoops. I thought it's a random program. Please don't publish an assignment solution publicly!

When you run it in Safari and it keeps loading, there should be an error appearing in the JavaScript console. Can you follow the instruction in https://www.wickedlysmart.com/hfjsconsole/ to open the console and report what you see?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

jpolitz commented 6 years ago

FYI, when you make a publish link, anyone with the link can view the code. Github issues are public, so putting a publish link on Github puts it in a public place. It's good to be careful and double-check any time you're submitting an issue whether it's being done publicly or privately – it's really easy to accidentally share something you didn't intend.

Cool that you're using Pyret code for a job interview!

I copied the link before @sorawee removed it, and I'm having trouble reproducing it (works in Chrome & Safari private & regular windows for me). Is it still consistently failing on Safari?

schanzer commented 4 years ago

@jpolitz do we want to leave this open? It's 3 years old and we were never able to reproduce it...

schanzer commented 4 years ago

@jpolitz I'm going to close this, but feel free to re-open if you feel strongly.