• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 03:02
CET 08:02
KST 16:02
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL22] Finals Preview: Sweet Victory!12[ASL22] Ro4 Preview: Mirror Mirror6[ASL22] Ro8 Preview: Within Reach5[ASL22] Ro8 Preview: In A Tizzy11[ASL22] Ro16 Preview: Holy Diver5
Community News
Weekly Cups (October 19-25): Clem triples first in 5.0.171Evil Geniuses - shutting down16ISSL (IntoTheTV x SOOP SC2 League): Premier5Weekly Cups (October 12-18): 5.0.17 era begins1[$1250] International ShieldBattery League86
StarCraft 2
General
Weekly Cups (October 19-25): Clem triples first in 5.0.17 REPORT: StarCraft 2: Remastered In Development Evil Geniuses - shutting down How do you feel about the mass reverts in the 5.0.17 PTR? Team Liquid Map Contest #22: Results and Winners
Tourneys
RSL goes to London! 2026 Offline Finals Nov 21-22 ScienceCraft (October 24-25) - Live Event Sparkling Tuna Cup - Weekly Open Tournament ISSL (IntoTheTV x SOOP SC2 League): Premier WORTEX Challenger Series — Open SC2 LAN in Budapes
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
[G] How to playtest arcade maps [A] Nemrods 1/4 players [M] (2) Sweltering Sands
External Content
Mutation # 549 Endless Sparkles The PondCast: SC2 News & Results Mutation # 548 Shining Bright Mutation # 547 Temple Of Terror
Brood War
General
[BW] Looking for Clan Thread! [ASL22] Finals Preview: Sweet Victory! Recent recommended BW games [Megathread] Daily Funny Videos Hands of Pluto
Tourneys
[$1250] International ShieldBattery League [Megathread] Daily Proleagues [ASL22] Grand Finals [BSL23] RO24 Group C
Strategy
50,000-Word Terran Builds Memo 2026-10-22 Cliff Jump Revisited (1 in a 1000 strategy) Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Mobile Legends: Bang Bang Armies of Exigo - YesYes? General RTS Discussion Thread
Dota 2
Dota 2 Champions League Season 3 Begins April 25!
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread European Politico-economics QA Mega-thread US Politics Mega-thread Russo-Ukrainian War Thread
Fan Clubs
Reynor Fan Club The Flash Fan Club Serral Fan Club
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts
Blogs
Innovate or Game Over?
TrAiDoS
ShieldBattery on Mac
Kraekkling
[ASL22] Ro4 Day1 Ticket Giv…
bITt.mAN
Can Bots Beat Pros?? Starcr…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 9215 users

The Big Programming Thread - Page 830

Forum Index > General Forum
Post a Reply
Prev 1 828 829 830 831 832 1032 Next
Thread Rules
1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution.
2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20)
3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible.
4. Use [code] tags to format code blocks.
Ilikestarcraft
Profile Blog Joined November 2004
Korea (South)17743 Posts
January 25 2017 13:05 GMT
#16581
On January 25 2017 21:47 Manit0u wrote:
How can people work with white background in their IDE is beyond me...

I think that too but with black backgrounds
ils
"Nana is a goddess. Or at very least, Nana is my goddess." - KazeHydra
Acrofales
Profile Joined August 2010
Spain18485 Posts
January 25 2017 13:11 GMT
#16582
On January 25 2017 21:47 Manit0u wrote:
How can people work with white background in their IDE is beyond me...

I much prefer white background. I find it's easier to read, and my eyes don't have a problem with getting tired.
Manit0u
Profile Blog Joined August 2004
Poland17865 Posts
Last Edited: 2017-01-25 15:26:17
January 25 2017 15:13 GMT
#16583
On January 25 2017 22:11 Acrofales wrote:
Show nested quote +
On January 25 2017 21:47 Manit0u wrote:
How can people work with white background in their IDE is beyond me...

I much prefer white background. I find it's easier to read, and my eyes don't have a problem with getting tired.


Hmm... All the programmers who use NetBeans or Eclipse that I know of wear glasses. I don't need glasses (perfect vision in both eyes at age of 35 with long hours spent in front of computer since the early nineties), I was always wondering if it's the fact that I've always preferred dark backgrounds (with non-bright text on it).

Unrelated:

$('.timeline-control.next').addClass('disabled') unless somePointsAreVisible()


Man, CoffeeScript can be so nice... It makes me almost not hate JS
Time is precious. Waste it wisely.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
Last Edited: 2017-01-26 00:05:43
January 26 2017 00:04 GMT
#16584
On January 26 2017 00:13 Manit0u wrote:
Show nested quote +
On January 25 2017 22:11 Acrofales wrote:
On January 25 2017 21:47 Manit0u wrote:
How can people work with white background in their IDE is beyond me...

I much prefer white background. I find it's easier to read, and my eyes don't have a problem with getting tired.


Hmm... All the programmers who use NetBeans or Eclipse that I know of wear glasses. I don't need glasses (perfect vision in both eyes at age of 35 with long hours spent in front of computer since the early nineties), I was always wondering if it's the fact that I've always preferred dark backgrounds (with non-bright text on it).


From what I know, there's no real consensus.

Your eyes generally finish their development by ages 25-30. Before then it's really random, probably genetic, as to which part of your eye starts degrading and how much.

What is agreed upon is that focusing your eyes is the problem. When something is far away, say 20ft, you generally don't have to focus your eyes. This is where the 20/20 vision comes from. When you bring that something closer, say your phone or your computer screen, you have to work to focus your eyes a bit more, especially the closer it is. This is a specific quality of looking at nearby objects, not specifically of computers. It happens if you read too much as well.

This is why I am skeptical of black versus white screen theory because unless you use OLED screens blacks are still lighted.

re:
https://www.scientificamerican.com/article/why-does-eyesight-deterio/
https://www.scientificamerican.com/article/earth-talk-tv-eyesight/
There is no one like you in the universe.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
January 26 2017 02:06 GMT
#16585
im gonna need to learn a linux editor for my C class.

so here we go: vim or emacs?
Manit0u
Profile Blog Joined August 2004
Poland17865 Posts
January 26 2017 02:40 GMT
#16586
On January 26 2017 11:06 travis wrote:
im gonna need to learn a linux editor for my C class.

so here we go: vim or emacs?


Hahaha. The age old question

I used to be big on emacs back in the day but vim is just much better as the editor in the end. The input/commands switching seems really odd in the beginning, but after a while you begin to wonder why doesn't every editor have this feature. I really like the minimalistic approach to it and it's good to know because vi is bound to be installed on every single Linux box you'll come across so you can always have something familiar to work with.

If you want I can post my .vimrc file here. It has some very basic things set up to make life easier, nothing fancy (syntax highlighting, line number display, spaces instead of tabs etc.).
Time is precious. Waste it wisely.
TheEmulator
Profile Blog Joined July 2010
28104 Posts
Last Edited: 2017-01-26 05:54:19
January 26 2017 03:31 GMT
#16587
I like Vim although you can't really go wrong with either. I'm not some die hard user that's going to go around saying Emacs sucks because it doesn't. Just do heavy research on what both offer and make a choice.

If you go with Vim just practice doing vimtutor every day for a couple of weeks and you will be really comfortable with the basics. Also I think vimtutor makes you install a starter .vimrc at the end which will give your vim some minor functionality.

Whichever you go with try to learn the basic commands and get comfortable with using the program first before you start venturing into the deep and dark hole of learning elisp/vimscript to customize the shit out of your editor

If you've got some time these two videos show off some cool stuff both editors can do.
+ Show Spoiler +




Administrator
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
January 26 2017 07:08 GMT
#16588
--- Nuked ---
Djagulingu
Profile Blog Joined December 2010
Germany3605 Posts
Last Edited: 2017-01-26 07:56:32
January 26 2017 07:55 GMT
#16589
On January 26 2017 16:08 Nesserev wrote:
What do I need to expect when a job post lists something like "IBM iSeries" or any mainframe computers?

Computer illiterate bosses.
"windows bash is a steaming heap of shit" tofucake
-Zoda-
Profile Blog Joined April 2011
France3578 Posts
January 26 2017 10:40 GMT
#16590
On January 26 2017 11:06 travis wrote:
im gonna need to learn a linux editor for my C class.

so here we go: vim or emacs?

Coming back in this thread right on time...
My answer: both! Go Spacemacs! :D
♪ 最初はi つなぐdo それ つまりlife 常に移動 ♪ - IGN: Uhryks
Acrofales
Profile Joined August 2010
Spain18485 Posts
January 26 2017 10:48 GMT
#16591
Nano. Fuck all your fancy editing options!
Silvanel
Profile Blog Joined March 2003
Poland4769 Posts
Last Edited: 2017-01-26 12:02:45
January 26 2017 11:58 GMT
#16592
So i have a C question. What exactly is difference between:

a = a + 1 and a = a++
+ Show Spoiler +

??
more specifically why:


#include <stdio.h>

int main () {
int a = 10;
do {
printf("Value of a: %d\n", a);
a = a + 1 ;

} while ( a <20 );

return 0;
}

and

#include <stdio.h>

int main () {
int a = 10;
do {
printf("Value of a: %d\n", a);
a = a++ ;

} while ( a <20 );

return 0;
}

give different results? (The latter creates an endless loop)


Edit:Nevermind got an answer myself, spoilered so evidence of my stupidity is not forgoten.
Pathetic Greta hater.
teamamerica
Profile Blog Joined July 2010
United States958 Posts
January 26 2017 12:26 GMT
#16593
On January 26 2017 00:13 Manit0u wrote:
Show nested quote +
On January 25 2017 22:11 Acrofales wrote:
On January 25 2017 21:47 Manit0u wrote:
How can people work with white background in their IDE is beyond me...

I much prefer white background. I find it's easier to read, and my eyes don't have a problem with getting tired.


Hmm... All the programmers who use NetBeans or Eclipse that I know of wear glasses. I don't need glasses (perfect vision in both eyes at age of 35 with long hours spent in front of computer since the early nineties), I was always wondering if it's the fact that I've always preferred dark backgrounds (with non-bright text on it).

Unrelated:

$('.timeline-control.next').addClass('disabled') unless somePointsAreVisible()


Man, CoffeeScript can be so nice... It makes me almost not hate JS


I'm working in a codebase that's 10k+ lines of coffeescript. It's awful, and it's cause a lot of subtle bugs we're only noticing moving to another language (typescript, gradually). It has some nice things around iteration or comprehensions maybe, but it's weird rules around whitespace (more so then other languages, for example we have orders of magnitude more python) have caused us much headache. You can argue we all suck at coffeescript.

My 2cents on the matter. If I had to work in JS from greenfield I'd definitely lean toward either typescript or just ES6 by itself. Or maybe one of the new things e.g. flow, closurescript, scala.js. Really anything but coffeescript again.
RIP GOMTV. RIP PROLEAGUE.
Manit0u
Profile Blog Joined August 2004
Poland17865 Posts
January 26 2017 15:31 GMT
#16594
On January 26 2017 21:26 teamamerica wrote:
Show nested quote +
On January 26 2017 00:13 Manit0u wrote:
On January 25 2017 22:11 Acrofales wrote:
On January 25 2017 21:47 Manit0u wrote:
How can people work with white background in their IDE is beyond me...

I much prefer white background. I find it's easier to read, and my eyes don't have a problem with getting tired.


Hmm... All the programmers who use NetBeans or Eclipse that I know of wear glasses. I don't need glasses (perfect vision in both eyes at age of 35 with long hours spent in front of computer since the early nineties), I was always wondering if it's the fact that I've always preferred dark backgrounds (with non-bright text on it).

Unrelated:

$('.timeline-control.next').addClass('disabled') unless somePointsAreVisible()


Man, CoffeeScript can be so nice... It makes me almost not hate JS


I'm working in a codebase that's 10k+ lines of coffeescript. It's awful, and it's cause a lot of subtle bugs we're only noticing moving to another language (typescript, gradually). It has some nice things around iteration or comprehensions maybe, but it's weird rules around whitespace (more so then other languages, for example we have orders of magnitude more python) have caused us much headache. You can argue we all suck at coffeescript.

My 2cents on the matter. If I had to work in JS from greenfield I'd definitely lean toward either typescript or just ES6 by itself. Or maybe one of the new things e.g. flow, closurescript, scala.js. Really anything but coffeescript again.


Well, if you have 10k+ lines of script it sure can get burdensome. I'm practically done with the app I've been making and I've only needed < 300 lines of CoffeeScript in total for it. It's really good for some small stuff.
Time is precious. Waste it wisely.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
Last Edited: 2017-01-27 15:03:55
January 27 2017 15:03 GMT
#16595
Is it ok if I come to this thread with questions related to my "discrete structures" course? It isn't programming, but it is computer science.

It goes over topics like

+ Show Spoiler +

(taken directly from it's website, he said that we really just go over whatever but this gives a good idea of what the course is about.

Combinatorics / Probability
Structural Induction
Mathematical Induction
Countability
Functions
Set Theory Fundamentals
Formal Proof Methodology
Number Theory Fundamentals
Predicate Logic
Combinational Circuits
Propositional Logic


and it looks like it's going to be pretty serious business.

I figure as long as it is cool to post questions about this stuff here, a lot of you will probably actually enjoy going over them.

also I decided to go with vim by the way.
it's funny because they kind of push emacs at us and then a student asks the professor what he uses and he's like "vim"
mantequilla
Profile Blog Joined June 2012
Turkey781 Posts
January 27 2017 15:23 GMT
#16596
Why do you need them (vim emacs) when nearly everything has a good IDE that's tailored specifically to whatever you do?

never used/installed them just asking.
Age of Mythology forever!
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
Last Edited: 2017-01-27 16:07:08
January 27 2017 16:02 GMT
#16597
I suspect someone else has better answers, but it's my understanding that people may use them because:

1.) you may be working on a system where you don't have access to an IDE(in my case, I will sometimes need to develop over an SSH connection where I don't have access to an IDE).
2.) they have capabilities to navigate through text and files faster than with an ide (once you learn how to use them)
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
January 27 2017 17:02 GMT
#16598
On January 28 2017 01:02 travis wrote:
I suspect someone else has better answers, but it's my understanding that people may use them because:

1.) you may be working on a system where you don't have access to an IDE(in my case, I will sometimes need to develop over an SSH connection where I don't have access to an IDE).
2.) they have capabilities to navigate through text and files faster than with an ide (once you learn how to use them)


I used to do development purely in VIM for pretty much a decade, because all the IDEs I tried sucked.

Then eventually I got into C# and Visual Studio and I learned that a good IDE is actually worth it's (virtual) weight in gold. Good IDEs are just very rare. Many of the common ones, e.g. Eclipse, are flat out terrible. I've made excellent experience with the jetbrains IDEs, at least for Java and PHP. Those don't get in your way like too many other IDEs.

I still miss some VIM shortcuts, but I'm now faster with those IDEs than I've ever been with VIM - and I was pretty darn fast with VIM.
Silvanel
Profile Blog Joined March 2003
Poland4769 Posts
January 27 2017 17:52 GMT
#16599
Well the obvious answer is that a text editor can be used for many things besides developing. Many devices run Linux/QNX with basic text editors so if You are in need of editing some config file quickly its very handy.

I will give You an example:
I am working with embedded device that is running QNX. I need to change some paramteres inside config file on device. Now i can change conifguration of my ethernet card, remount the devices file system then copy the config file to shared folder edit it on my comp and copy edited file back. Takes about 2 minutes.
Or i can open this file in vi (which is part of QNX devices build) and edit it on device itself. Takes about 20 seconds.

I mean You dont need tu use Vi/Vim or whatever as Your IDE but knowing it just helps (sometimes).
Pathetic Greta hater.
Acrofales
Profile Joined August 2010
Spain18485 Posts
Last Edited: 2017-01-27 18:09:24
January 27 2017 18:04 GMT
#16600
On January 28 2017 02:52 Silvanel wrote:
Well the obvious answer is that a text editor can be used for many things besides developing. Many devices run Linux/QNX with basic text editors so if You are in need of editing some config file quickly its very handy.

I will give You an example:
I am working with embedded device that is running QNX. I need to change some paramteres inside config file on device. Now i can change conifguration of my ethernet card, remount the devices file system then copy the config file to shared folder edit it on my comp and copy edited file back. Takes about 2 minutes.
Or i can open this file in vi (which is part of QNX devices build) and edit it on device itself. Takes about 20 seconds.

I mean You dont need tu use Vi/Vim or whatever as Your IDE but knowing it just helps (sometimes).

Or you can open it in nano/pico/whatever, and not have to know that you first have to hit "a" (or "i") to be able to type at all, then esc to get back to normal mode, and then :wq to save and quit. And one of those is equally or more likely to be installed on a bare linux system than vi (let alone vim or emacs).

vim/emacs is useful for editing code, because you actually have to switch files and do complicated edit operations. not because you have to edit some random file in your /etc directory.

I don't know anything about QNX, so I assume you actually need vi for that. But that seems overly specific for a university course
Prev 1 828 829 830 831 832 1032 Next
Please log in or register to reply.
Live Events Refresh
IntoTheTV X SOOP
11:00
Replaycast Group C
PiGosaur Cup
09:30
#105
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SortOf 106
StarCraft: Brood War
Rain 3382
Leta 562
GuemChi 548
Mong 258
Shine 137
Dewaltoss 65
ZergMaN 63
Hyuk 43
910 33
NotJumperer 12
[ Show more ]
Icarus 8
Other Games
summit1g9393
WinterStarcraft468
Happy275
Livibee155
Sick71
Organizations
Other Games
gamesdonequick875
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• Azhi_Dahaki56
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota2344
League of Legends
• Rush1290
• Stunt617
Other Games
• Shiphtur535
Upcoming Events
The PondCast
2h 58m
Kung Fu Cup
3h 58m
IntoTheTV X SOOP
1d 3h
SHIN vs GuMiho
Clem vs Classic
OSC
1d 14h
WardiTV Invitational
2 days
GSL
2 days
Epic.LAN
2 days
Replay Cast
2 days
Sparkling Tuna Cup
3 days
Epic.LAN
3 days
[ Show More ]
AI Arena Tournament
3 days
Yamato Cup
4 days
Map Test Tournament
4 days
WardiTV Weekly
5 days
Replay Cast
5 days
Rogue vs Classic
Patches Events
6 days
PiGosaur Cup
6 days
Liquipedia Results

Completed

Proleague 2026-10-27
Blizzard Classic Cup 2026
HCC Season 3

Ongoing

Acropolis #5
KCM Race Survival 2026 Season 4
International ShieldBattery League
BSL Season 23
PGL Masters Bucharest 2026
Stake Ranked Episode 5
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026
Esports World Cup 2026

Upcoming

IPSL Winter 2026-27
SC4ALL II: Brood War
BSL 23: Non-Korean Championship
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
eXTREMESLAND 2026
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.