• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 22:38
CET 04:38
KST 12:38
  • 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
Behind the Blue - Team Liquid History Book15Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8herO wins SC2 All-Star Invitational14
Community News
ACS replaced by "ASL Season Open" - Starts 21/0220LiuLi Cup: 2025 Grand Finals (Feb 10-16)26Weekly Cups (Feb 2-8): Classic, Solar, MaxPax win2Nexon's StarCraft game could be FPS, led by UMS maker10PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar)14
StarCraft 2
General
How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? Nexon's StarCraft game could be FPS, led by UMS maker Terran Scanner Sweep Behind the Blue - Team Liquid History Book Weekly Cups (Jan 12-18): herO, MaxPax, Solar win
Tourneys
PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) LiuLi Cup: 2025 Grand Finals (Feb 10-16) RSL Season 4 announced for March-April RSL Revival: Season 4 Korea Qualifier (Feb 14) Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
Map Editor closed ? [A] Starcraft Sound Mod
External Content
The PondCast: SC2 News & Results Mutation # 512 Overclocked Mutation # 511 Temple of Rebirth Mutation # 510 Safety Violation
Brood War
General
Which units you wish saw more use in the game? ACS replaced by "ASL Season Open" - Starts 21/02 StarCraft player reflex TE scores [ASL21] Potential Map Candidates Gypsy to Korea
Tourneys
[Megathread] Daily Proleagues Escore Tournament StarCraft Season 1 Small VOD Thread 2.0 KCM Race Survival 2026 Season 1
Strategy
Fighting Spirit mining rates Zealot bombing is no longer popular? Simple Questions, Simple Answers Current Meta
Other Games
General Games
Path of Exile Nintendo Switch Thread Diablo 2 thread Battle Aces/David Kim RTS Megathread ZeroSpace Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
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
TL Mafia Community Thread Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia
Community
General
US Politics Mega-thread Ask and answer stupid questions here! European Politico-economics QA Mega-thread The Games Industry And ATVI Russo-Ukrainian War Thread
Fan Clubs
The IdrA Fan Club The herO Fan Club!
Media & Entertainment
[Req][Books] Good Fantasy/SciFi books [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
ADHD And Gaming Addiction…
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2209 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)17733 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
"Nana is a goddess. Or at very least, Nana is my goddess." - KazeHydra
Acrofales
Profile Joined August 2010
Spain18215 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
Poland17661 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
Poland17661 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
28097 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
Spain18215 Posts
January 26 2017 10:48 GMT
#16591
Nano. Fuck all your fancy editing options!
Silvanel
Profile Blog Joined March 2003
Poland4742 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
Poland17661 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
Poland4742 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
Spain18215 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
Replay Cast
00:00
HomeStory Cup 28 - Group C
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RuFF_SC2 241
NeuroSwarm 202
StarCraft: Brood War
JulyZerg 57
910 29
Leta 17
Icarus 5
Dota 2
monkeys_forever599
LuMiX2
League of Legends
JimRising 880
Super Smash Bros
C9.Mang01316
Mew2King72
Other Games
summit1g14113
tarik_tv5678
ToD123
Moletrap8
Organizations
Other Games
gamesdonequick1192
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• davetesta48
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt362
Upcoming Events
Sparkling Tuna Cup
6h 22m
LiuLi Cup
7h 22m
Maru vs Reynor
Serral vs Rogue
Ladder Legends
14h 22m
Replay Cast
20h 22m
Replay Cast
1d 5h
Wardi Open
1d 8h
Monday Night Weeklies
1d 13h
OSC
1d 20h
WardiTV Winter Champion…
2 days
Replay Cast
3 days
[ Show More ]
WardiTV Winter Champion…
3 days
Replay Cast
3 days
PiG Sty Festival
4 days
The PondCast
4 days
KCM Race Survival
4 days
WardiTV Winter Champion…
4 days
Replay Cast
4 days
PiG Sty Festival
5 days
Epic.LAN
5 days
Replay Cast
5 days
PiG Sty Festival
6 days
CranKy Ducklings
6 days
Epic.LAN
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2026-02-14
Rongyi Cup S3
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
LiuLi Cup: 2025 Grand Finals
Nations Cup 2026
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025

Upcoming

Escore Tournament S1: King of Kings
[S:21] ASL SEASON OPEN 1st Round
[S:21] ASL SEASON OPEN 1st Round Qualifier
[S:21] ASL SEASON OPEN 2nd Round
[S:21] ASL SEASON OPEN 2nd Round Qualifier
Acropolis #4
IPSL Spring 2026
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
WardiTV Winter 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
FISSURE Playground #3
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
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.