• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 10:29
CET 16:29
KST 00:29
  • 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
TL.net Map Contest #21: Winners11Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
[TLMC] Fall/Winter 2025 Ladder Map Rotation6Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA8StarCraft, SC2, HotS, WC3, Returning to Blizzcon!45$5,000+ WardiTV 2025 Championship7
StarCraft 2
General
[TLMC] Fall/Winter 2025 Ladder Map Rotation Mech is the composition that needs teleportation t Weekly Cups (Nov 3-9): Clem Conquers in Canada Craziest Micro Moments Of All Time? SC: Evo Complete - Ranked Ladder OPEN ALPHA
Tourneys
Constellation Cup - Main Event - Stellar Fest Tenacious Turtle Tussle Sparkling Tuna Cup - Weekly Open Tournament $5,000+ WardiTV 2025 Championship Merivale 8 Open - LAN - Stellar Fest
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection
Brood War
General
BW General Discussion FlaSh on: Biggest Problem With SnOw's Playstyle Terran 1:35 12 Gas Optimization BGH Auto Balance -> http://bghmmr.eu/ [ASL20] Ask the mapmakers — Drop your questions
Tourneys
[BSL21] RO32 Group D - Sunday 21:00 CET [BSL21] RO32 Group C - Saturday 21:00 CET [ASL20] Grand Finals [Megathread] Daily Proleagues
Strategy
Current Meta PvZ map balance How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
EVE Corporation Nintendo Switch Thread Stormgate/Frost Giant Megathread Should offensive tower rushing be viable in RTS games? Path of Exile
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 SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread The Games Industry And ATVI
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Dyadica Gospel – a Pulp No…
Hildegard
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1235 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)17731 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
Spain18114 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
Poland17429 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
Poland17429 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
28093 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
Spain18114 Posts
January 26 2017 10:48 GMT
#16591
Nano. Fuck all your fancy editing options!
Silvanel
Profile Blog Joined March 2003
Poland4733 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
Poland17429 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
Poland4733 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
Spain18114 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
OSC
11:30
Mid Season Playoffs
Krystianer vs PercivalLIVE!
WardiTV1063
TKL 199
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
TKL 199
SteadfastSC 109
Rex 91
StarCraft: Brood War
Calm 3367
Bisu 2918
Rain 2430
Hyuk 1473
Horang2 984
Flash 514
Soma 498
Stork 393
Rush 303
Soulkey 121
[ Show more ]
Backho 114
Barracks 58
sas.Sziky 46
hero 38
Aegong 27
zelot 22
sSak 21
Terrorterran 20
Rock 19
Killer 16
Dota 2
Gorgc3152
qojqva2018
Dendi1105
BananaSlamJamma123
XcaliburYe100
Other Games
hiko638
Sick526
DeMusliM442
Hui .346
Fuzer 199
Mew2King94
QueenE50
Organizations
StarCraft: Brood War
Kim Chul Min (afreeca) 9
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• poizon28 22
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• HerbMon 10
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 3021
• WagamamaTV453
League of Legends
• Nemesis4037
• TFBlade977
Upcoming Events
Tenacious Turtle Tussle
7h 31m
The PondCast
18h 31m
RSL Revival
18h 31m
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
20h 31m
WardiTV Korean Royale
20h 31m
PiGosaur Monday
1d 9h
RSL Revival
1d 18h
Classic vs Creator
Cure vs TriGGeR
Kung Fu Cup
1d 20h
CranKy Ducklings
2 days
RSL Revival
2 days
herO vs Gerald
ByuN vs SHIN
[ Show More ]
Kung Fu Cup
2 days
IPSL
3 days
ZZZero vs rasowy
Napoleon vs KameZerg
BSL 21
3 days
Tarson vs Julia
Doodle vs OldBoy
eOnzErG vs WolFix
StRyKeR vs Aeternum
Sparkling Tuna Cup
3 days
RSL Revival
3 days
Reynor vs sOs
Maru vs Ryung
Kung Fu Cup
3 days
WardiTV Korean Royale
3 days
BSL 21
4 days
JDConan vs Semih
Dragon vs Dienmax
Tech vs NewOcean
TerrOr vs Artosis
IPSL
4 days
Dewalt vs WolFix
eOnzErG vs Bonyth
Wardi Open
4 days
Monday Night Weeklies
5 days
WardiTV Korean Royale
5 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2025-11-07
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual

Upcoming

SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
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.