User Name
Password
AppleNova Forums » Programmer's Nook »

Why is a " so hard?


Register Members List Calendar Search FAQ Posting Guidelines
Why is a " so hard?
Thread Tools
turtle
Lord of the Rant.
Formerly turtle2472
 
Join Date: Mar 2005
Location: Upstate South Carolina
 
2021-04-30, 14:47

I mean really. Why make it so it looks like what you want but if it is there your code won't work? It is like text editors are trying to torture me and make me hate coding even more.

I just found why a redirect I have wasn't working:
Code:
<meta http-equiv="refresh" content="0;url= https://forums.applenova.com” />
It is REALLY obvious in the forum here, but nowhere else was it obvious.

Louis L'Amour, “To make democracy work, we must be a notion of participants, not simply observers. One who does not vote has no right to complain.”
MineCraft? mc.applenova.com | Visit us! | Maybe someday I'll proof read, until then deal with it.
  quote
Kickaha
Likes his boobies blue.
 
Join Date: May 2004
Location: Hell
 
2021-04-30, 17:39

Pick a font for your text editor that distinguishes clearly. I like Anonymous Pro or Source Code Pro. Monospaced, clear character distinctions between the usual confusion points (1/l/i/I, O/0, etc) and designed for clear layout to reflect flow.

My other brain is hung like a horse too.
#IRC isn't old school.
Old school is being able to say 'finger me' with a straight face.
  quote
turtle
Lord of the Rant.
Formerly turtle2472
 
Join Date: Mar 2005
Location: Upstate South Carolina
 
2021-04-30, 17:59

I think what ends up biting me is when I use TextEditor for a "quick change" and it does that smart quote thing. On a PC I use Notepad++ and never have the issue. It was built for coding and such with syntax and all.

On the Mac I don't have a quick go to. I mean, I have Coda... but it isn't quick. I try to remember to set Text Editor to default to Plain Text but that clearly doesn't always work. It is just one thing about coding I hate, those stupid quotes.

Louis L'Amour, “To make democracy work, we must be a notion of participants, not simply observers. One who does not vote has no right to complain.”
MineCraft? mc.applenova.com | Visit us! | Maybe someday I'll proof read, until then deal with it.
  quote
drewprops
Bastard
 
Join Date: May 2004
Location: Atlanta
 
2021-05-01, 00:08

When I paste into Coda it automagically converts you straight quotes (I think??) and isn't it quick enough??

Seriously... I know that I'm facing a big software transition later this year when the new MBPs are released. My old original Coda will be going out the window

Hoping to remember that tip about fonts as well!

...
  quote
Kickaha
Likes his boobies blue.
 
Join Date: May 2004
Location: Hell
 
2021-05-01, 20:24

Do you mean TextEdit?

My go to is still TextMate2, but I will admit to being seduced by alternatives.
  quote
turtle
Lord of the Rant.
Formerly turtle2472
 
Join Date: Mar 2005
Location: Upstate South Carolina
 
2021-05-01, 20:53

Yeah. I did a horrible job convert thing. I was thinking "Mac's default Text Editor" and just forgot to fix it after posting.

Anyway, I'll check out TextMate2 and see how I like it. I used TextWrangler there for a while but I think it was abandoned and it wasn't "simple" for those basic changes.

Louis L'Amour, “To make democracy work, we must be a notion of participants, not simply observers. One who does not vote has no right to complain.”
MineCraft? mc.applenova.com | Visit us! | Maybe someday I'll proof read, until then deal with it.
  quote
chucker
 
Join Date: May 2004
Location: near Bremen, Germany
Send a message via ICQ to chucker Send a message via AIM to chucker Send a message via MSN to chucker Send a message via Yahoo to chucker Send a message via Skype™ to chucker 
2021-05-03, 03:34

* laughs in IDE *

Code:
Severity Code Description Project File Line Suppression State Warning HTML0005 If this attribute value is enclosed in quotation marks, the quotation marks must match. %temp%\~vs7366.html 6
(Also, the remainder of the code is syntax-highlighted differently than what you'd expect, making it more obvious.)
  quote
turtle
Lord of the Rant.
Formerly turtle2472
 
Join Date: Mar 2005
Location: Upstate South Carolina
 
2021-05-03, 08:20

I use IDE but only occasionally and that is for PS when working on scripts for my servers at work. I don't know that I've been that error before, but then again there I'm using Notepad++ and just don't end up with the messed up smart quote thing.

Louis L'Amour, “To make democracy work, we must be a notion of participants, not simply observers. One who does not vote has no right to complain.”
MineCraft? mc.applenova.com | Visit us! | Maybe someday I'll proof read, until then deal with it.
  quote
Posting Rules Navigation
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Post Reply

Forum Jump
Thread Tools
Similar Threads
Thread Thread Starter Forum Replies Last Post
How hard is it to "retrofit" CoreData into an app? Dave Programmer's Nook 0 2014-01-04 13:51
"Walk Hard: the Dewey Cox Story" movie review pscates2.0 AppleOutsider 10 2007-12-27 00:45
"Live Free or Die Hard" review... pscates2.0 AppleOutsider 15 2007-07-08 13:09
"update" process & hard drive ticking -- Calling *nix gurus! Brad Genius Bar 77 2006-05-19 19:50
MBP Hard Drive "moo" davidfalling Apple Products 31 2006-04-14 18:59


« Previous Thread | Next Thread »

All times are GMT -5. The time now is 00:11.


Powered by vBulletin®
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2021, AppleNova