• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 13:57
CEST 19:57
KST 02:57
  • 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
[ASL20] Ro8 Preview Pt1: Mile High3Team TLMC #5 - Finalists & Open Tournaments2[ASL20] Ro16 Preview Pt2: Turbulence10Classic Games #3: Rogue vs Serral at BlizzCon10[ASL20] Ro16 Preview Pt1: Ascent10
Community News
StarCraft II 5.0.15 PTR Patch Notes186BSL 2025 Warsaw LAN + Legends Showmatch2Weekly Cups (Sept 8-14): herO & MaxPax split cups4WardiTV TL Team Map Contest #5 Tournaments1SC4ALL $6,000 Open LAN in Philadelphia8
StarCraft 2
General
StarCraft II 5.0.15 PTR Patch Notes Why Storm Should NOT Be Nerfed – A Core Part of Pr #1: Maru - Greatest Players of All Time SC4ALL: A North American StarCraft LAN Team TLMC #5 - Finalists & Open Tournaments
Tourneys
SC2's Safe House 2 - October 18 & 19 RSL: Revival, a new crowdfunded tournament series Stellar Fest KSL Week 80 StarCraft Evolution League (SC Evo Biweekly)
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
[ASL20] Ro8 Preview Pt1: Mile High BGH Auto Balance -> http://bghmmr.eu/ ASL ro8 Upper Bracket HYPE VIDEO BW General Discussion StarCraft Stellar Forces had bad maps
Tourneys
SC4ALL $1,500 Open Bracket LAN [ASL20] Ro16 Group D BSL 2025 Warsaw LAN + Legends Showmatch [ASL20] Ro16 Group C
Strategy
Simple Questions, Simple Answers Muta micro map competition
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile Borderlands 3 General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread The Big Programming Thread UK Politics Mega-thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
The Dark Side of South Kore…
Peanutsc
Too Many LANs? Tournament Ov…
TrAiDoS
I <=> 9
KrillinFromwales
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2261 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)17727 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
Spain18055 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
Poland17350 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
Poland17350 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
28091 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
Spain18055 Posts
January 26 2017 10:48 GMT
#16591
Nano. Fuck all your fancy editing options!
Silvanel
Profile Blog Joined March 2003
Poland4731 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
Poland17350 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
Turkey779 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
Poland4731 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
Spain18055 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
Online Event
16:00
PSC2L September 2025
CranKy Ducklings189
Liquipedia
BSL Open LAN 2025 - War…
08:00
Day 2 - Play Off & Finals Stage
ZZZero.O269
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 238
JuggernautJason182
StarCraft: Brood War
Sea 1361
Shuttle 1019
Larva 446
ZZZero.O 269
Mong 118
Movie 86
Dewaltoss 80
Backho 58
sorry 50
Aegong 42
[ Show more ]
Hyun 41
sas.Sziky 31
Free 28
IntoTheRainbow 12
Dota 2
Gorgc6755
qojqva4143
Dendi1582
XcaliburYe271
Counter-Strike
fl0m661
Stewie2K250
Heroes of the Storm
Khaldor269
Other Games
tarik_tv9577
FrodaN3883
Grubby1013
B2W.Neo586
KnowMe403
Mew2King101
NeuroSwarm56
QueenE47
MindelVK17
Organizations
Other Games
EGCTV1494
gamesdonequick545
StarCraft 2
angryscii 25
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• HerbMon 12
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2816
Other Games
• imaqtpie551
• Shiphtur253
• WagamamaTV237
Upcoming Events
Afreeca Starleague
16h 3m
Barracks vs Mini
Wardi Open
17h 3m
Monday Night Weeklies
22h 3m
Sparkling Tuna Cup
1d 16h
Afreeca Starleague
1d 16h
Snow vs EffOrt
LiuLi Cup
2 days
The PondCast
3 days
CranKy Ducklings
4 days
Maestros of the Game
5 days
Clem vs Reynor
[BSL 2025] Weekly
6 days
[ Show More ]
[BSL 2025] Weekly
6 days
Liquipedia Results

Completed

Proleague 2025-09-18
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
BSL World Championship of Poland 2025
RSL Revival: Season 2
Maestros of the Game
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1

Upcoming

IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
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 © 2025 TLnet. All Rights Reserved.