• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 03:51
CEST 09:51
KST 16:51
  • 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
[ASL21] Ro16 Preview Pt2: All Star10Team Liquid Map Contest #22 - The Finalists16[ASL21] Ro16 Preview Pt1: Fresh Flow9[ASL21] Ro24 Preview Pt2: News Flash10[ASL21] Ro24 Preview Pt1: New Chaos0
Community News
2026 GSL Season 1 Qualifiers14Maestros of the Game 2 announced82026 GSL Tour plans announced14Weekly Cups (April 6-12): herO doubles, "Villains" prevail1MaNa leaves Team Liquid24
StarCraft 2
General
Maestros of the Game 2 announced Team Liquid Map Contest #22 - The Finalists MaNa leaves Team Liquid 2026 GSL Tour plans announced Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool
Tourneys
2026 GSL Season 1 Qualifiers Sparkling Tuna Cup - Weekly Open Tournament GSL CK: More events planned pending crowdfunding RSL Revival: Season 5 - Qualifiers and Main Event Master Swan Open (Global Bronze-Master 2)
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
Mutation # 522 Flip My Base The PondCast: SC2 News & Results Mutation # 521 Memorable Boss Mutation # 520 Moving Fees
Brood War
General
ASL21 General Discussion Pros React To: ASL S21, Ro.16 Group C BGH Auto Balance -> http://bghmmr.eu/ [TOOL] Starcraft Chat Translator Data needed
Tourneys
[ASL21] Ro16 Group C [ASL21] Ro16 Group D [Megathread] Daily Proleagues [ASL21] Ro16 Group B
Strategy
Simple Questions, Simple Answers What's the deal with APM & what's its true value Any training maps people recommend? Fighting Spirit mining rates
Other Games
General Games
Diablo IV Nintendo Switch Thread Dawn of War IV Starcraft Tabletop Miniature Game General RTS Discussion Thread
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread Russo-Ukrainian War Thread YouTube Thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Formula 1 Discussion Cricket [SPORT]
World Cup 2022
Tech Support
[G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Sexual Health Of Gamers
TrAiDoS
lurker extra damage testi…
StaticNine
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2328 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)17734 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
Spain18275 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
Poland17731 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
Poland17731 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
28100 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
Spain18275 Posts
January 26 2017 10:48 GMT
#16591
Nano. Fuck all your fancy editing options!
Silvanel
Profile Blog Joined March 2003
Poland4751 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
Poland17731 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
Poland4751 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
Spain18275 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
Next event in 2h 9m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
ToSsGirL 309
Pusan 295
Aegong 149
Backho 101
910 66
Dewaltoss 48
JulyZerg 39
soO 32
yabsab 27
SilentControl 21
[ Show more ]
Sharp 4
Dota 2
NeuroSwarm118
League of Legends
JimRising 613
Counter-Strike
shoxiejesuss818
Super Smash Bros
Mew2King182
Other Games
summit1g7487
singsing922
ceh9435
C9.Mang0418
WinterStarcraft359
Happy78
Trikslyr17
Organizations
Dota 2
PGL Dota 2 - Main Stream9760
Other Games
gamesdonequick734
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH272
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt817
• TFBlade764
• Jankos108
Upcoming Events
The PondCast
2h 9m
KCM Race Survival
2h 9m
WardiTV Map Contest Tou…
3h 9m
Gerald vs herO
Clem vs Cure
ByuN vs Solar
Rogue vs MaxPax
ShoWTimE vs TBD
OSC
7h 9m
CranKy Ducklings
16h 9m
Escore
1d 2h
RSL Revival
1d 9h
Replay Cast
1d 16h
WardiTV Map Contest Tou…
2 days
Universe Titan Cup
2 days
Rogue vs Percival
[ Show More ]
Ladder Legends
2 days
uThermal 2v2 Circuit
2 days
BSL
2 days
Sparkling Tuna Cup
3 days
WardiTV Map Contest Tou…
3 days
Ladder Legends
3 days
BSL
3 days
Replay Cast
3 days
Replay Cast
4 days
Wardi Open
4 days
Afreeca Starleague
4 days
Soma vs hero
Monday Night Weeklies
4 days
Replay Cast
4 days
Afreeca Starleague
5 days
Leta vs YSC
Replay Cast
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2026-04-22
RSL Revival: Season 4
NationLESS Cup

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
StarCraft2 Community Team League 2026 Spring
WardiTV TLMC #16
Nations Cup 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026

Upcoming

Escore Tournament S2: W4
Acropolis #4
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
RSL Revival: Season 5
2026 GSL S1
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 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.