• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 01:15
CET 07:15
KST 15:15
  • 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
ByuL: The Forgotten Master of ZvT28Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8
Community News
Weekly Cups (Feb 16-22): MaxPax doubles0Weekly Cups (Feb 9-15): herO doubles up2ACS replaced by "ASL Season Open" - Starts 21/0258LiuLi Cup: 2025 Grand Finals (Feb 10-16)46Weekly Cups (Feb 2-8): Classic, Solar, MaxPax win2
StarCraft 2
General
Terran AddOns placement 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 ByuL: The Forgotten Master of ZvT Oliveira Would Have Returned If EWC Continued
Tourneys
PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) SEL Doubles (SC Evo Bimonthly) WardiTV Team League Season 10 RSL Season 4 announced for March-April The Dave Testa Open #11
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026] Map Editor closed ?
External Content
Mutation # 514 Ulnar New Year The PondCast: SC2 News & Results Mutation # 513 Attrition Warfare Mutation # 512 Overclocked
Brood War
General
TvZ is the most complete match up BGH Auto Balance -> http://bghmmr.eu/ Soma Explains: JD's Unrelenting Aggro vs FlaSh ACS replaced by "ASL Season Open" - Starts 21/02 BW General Discussion
Tourneys
[Megathread] Daily Proleagues [LIVE] [S:21] ASL Season Open Day 1 ASL Season 21 Qualifiers March 7-8 Small VOD Thread 2.0
Strategy
Soma's 9 hatch build from ASL Game 2 Fighting Spirit mining rates Simple Questions, Simple Answers Zealot bombing is no longer popular?
Other Games
General Games
Nintendo Switch Thread Battle Aces/David Kim RTS Megathread Path of Exile Beyond All Reason New broswer game : STG-World
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine UK Politics Mega-thread YouTube Thread Mexico's Drug War
Fan Clubs
The IdrA Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece [Req][Books] Good Fantasy/SciFi books Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TL MMA Pick'em Pool 2013
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
YOUTUBE VIDEO
XenOsky
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Inside the Communication of …
TrAiDoS
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2682 users

The Big Programming Thread - Page 702

Forum Index > General Forum
Post a Reply
Prev 1 700 701 702 703 704 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.
Manit0u
Profile Blog Joined August 2004
Poland17677 Posts
January 20 2016 07:08 GMT
#14021
Working 11 days a week is no fun Perma-tired... Hate fixing shitty projects that are beyond hope.
Time is precious. Waste it wisely.
Wrath
Profile Blog Joined July 2014
3174 Posts
January 20 2016 08:53 GMT
#14022
On January 20 2016 16:08 Manit0u wrote:
Working 11 days a week is no fun Perma-tired... Hate fixing shitty projects that are beyond hope.


Are weeks more than 7 days or you work more than 88 hours a week?
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
Last Edited: 2016-01-20 12:21:02
January 20 2016 12:20 GMT
#14023
--- Nuked ---
Manit0u
Profile Blog Joined August 2004
Poland17677 Posts
Last Edited: 2016-01-20 16:36:48
January 20 2016 12:49 GMT
#14024
On January 20 2016 17:53 WrathSCII wrote:
Show nested quote +
On January 20 2016 16:08 Manit0u wrote:
Working 11 days a week is no fun Perma-tired... Hate fixing shitty projects that are beyond hope.


Are weeks more than 7 days or you work more than 88 hours a week?


The latter

Edit:
Today was a great success. First I've improved app response times by a factor of 6 and then I added 30% boost on top of that. Encouraged by this I might feel bold enough tomorrow to add a reverse proxy and redis cache to boost it even further, but I guess I won't have the time for that.
Time is precious. Waste it wisely.
aXa
Profile Blog Joined July 2010
France748 Posts
Last Edited: 2016-01-20 20:43:46
January 20 2016 19:24 GMT
#14025
[image loading]

I'm programming a Go game using OpenGL as a project for school, and I'm having a great time. I love OpenGL, I was wondering if any of you guys would recommend me a book on shaders ? I'd like to improve my skills so one day I can make my own game with beautiful graphics
Djagulingu
Profile Blog Joined December 2010
Germany3605 Posts
Last Edited: 2016-01-20 20:56:12
January 20 2016 20:55 GMT
#14026
Nvm.
"windows bash is a steaming heap of shit" tofucake
Wrath
Profile Blog Joined July 2014
3174 Posts
January 20 2016 21:27 GMT
#14027
On January 21 2016 04:24 aXa wrote:
I'm programming a Go game using OpenGL as a project for school, and I'm having a great time. I love OpenGL, I was wondering if any of you guys would recommend me a book on shaders ? I'd like to improve my skills so one day I can make my own game with beautiful graphics


I was going to ask the same thing...

I never took a computer graphics course so I don't have any info about it is being processed within the computer and within the GPU-CPU stuff. Tried to OpenGL, but without theory understanding it seems hard... Can anyone point me to a good startup place to understand graphics processing?
aXa
Profile Blog Joined July 2010
France748 Posts
January 20 2016 21:36 GMT
#14028
On January 21 2016 06:27 WrathSCII wrote:
Show nested quote +
On January 21 2016 04:24 aXa wrote:
I'm programming a Go game using OpenGL as a project for school, and I'm having a great time. I love OpenGL, I was wondering if any of you guys would recommend me a book on shaders ? I'd like to improve my skills so one day I can make my own game with beautiful graphics


I was going to ask the same thing...

I never took a computer graphics course so I don't have any info about it is being processed within the computer and within the GPU-CPU stuff. Tried to OpenGL, but without theory understanding it seems hard... Can anyone point me to a good startup place to understand graphics processing?


Mh, your question makes me feel like my question was not clear. I'm looking for a book to go more in-depth on shaders, I already understand the basics.
Wrath
Profile Blog Joined July 2014
3174 Posts
January 21 2016 06:58 GMT
#14029
On January 21 2016 06:36 aXa wrote:
Show nested quote +
On January 21 2016 06:27 WrathSCII wrote:
On January 21 2016 04:24 aXa wrote:
I'm programming a Go game using OpenGL as a project for school, and I'm having a great time. I love OpenGL, I was wondering if any of you guys would recommend me a book on shaders ? I'd like to improve my skills so one day I can make my own game with beautiful graphics


I was going to ask the same thing...

I never took a computer graphics course so I don't have any info about it is being processed within the computer and within the GPU-CPU stuff. Tried to OpenGL, but without theory understanding it seems hard... Can anyone point me to a good startup place to understand graphics processing?


Mh, your question makes me feel like my question was not clear. I'm looking for a book to go more in-depth on shaders, I already understand the basics.


Ah... Well, can you help to get started with the basics?
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
Last Edited: 2016-01-21 07:22:29
January 21 2016 07:21 GMT
#14030
--- Nuked ---
aXa
Profile Blog Joined July 2010
France748 Posts
January 21 2016 08:21 GMT
#14031
On January 21 2016 15:58 WrathSCII wrote:
Show nested quote +
On January 21 2016 06:36 aXa wrote:
On January 21 2016 06:27 WrathSCII wrote:
On January 21 2016 04:24 aXa wrote:
I'm programming a Go game using OpenGL as a project for school, and I'm having a great time. I love OpenGL, I was wondering if any of you guys would recommend me a book on shaders ? I'd like to improve my skills so one day I can make my own game with beautiful graphics


I was going to ask the same thing...

I never took a computer graphics course so I don't have any info about it is being processed within the computer and within the GPU-CPU stuff. Tried to OpenGL, but without theory understanding it seems hard... Can anyone point me to a good startup place to understand graphics processing?


Mh, your question makes me feel like my question was not clear. I'm looking for a book to go more in-depth on shaders, I already understand the basics.


Ah... Well, can you help to get started with the basics?


Well, I learned myself by googling everything to death, so it's kind of difficult to remember where I picked up useful informations.What I can tell you, is that your first exercice should be this:
Find a .obj file of the famous teapot (http://inst.eecs.berkeley.edu/~cs184/sp09/assignments/teapot.obj), use GLFW, glew and GLM to try to draw the scene with said teapot. Hardest part will be understand how shaders work.
iaretehnoob
Profile Joined June 2004
Sweden741 Posts
January 21 2016 12:54 GMT
#14032
http://learnopengl.com/ looks like a good starting point for OpenGL. Appears to be quite comprehensive and non-terrible at a first glance. For more theory and a focus on ray tracing I like http://scratchapixel.com/ , lots of good information there.

I'm not sure what you are looking for with regards to shaders. The basics of how shaders work and how they interact with each other and your main program? Different techniques and lighting models? Or something else?
Wrath
Profile Blog Joined July 2014
3174 Posts
Last Edited: 2016-01-21 15:00:18
January 21 2016 14:57 GMT
#14033
I think I was not clear with the basics...

I have no idea what "rendering" or "shaders" are or even how the data are being processed in the GPU. I have taken computer architecture courses so I have an idea how things go between memory - cpu stuff. But I have no idea how GPU process data and the other terms related to graphics libraries or API are.

I'm not sure how I am supposed to work with OpenGL and try stuff without understanding those stuff first.

Thank you very much Nesserev!

This is like a good start except I want an already made classes that I can view on YouTube or something. No time to enroll on any classes

I'll begin searching on what you gave me, hopefully I can find some useful stuff.
Khalum
Profile Joined September 2010
Austria831 Posts
January 21 2016 16:16 GMT
#14034
sdafjiasdfljasdfjhsadfüjasdäjgdlmmöx#üßwerßjmlög

The OpenCV SURF implementation uses OpenCL per default since version 3.0 and that beautiful thing just crashes on some laptops. And I wasted 5 hours trying to figure out where the f... my code had a bug....

I need beer now. Lots of.



Zocat
Profile Joined April 2010
Germany2229 Posts
January 21 2016 16:53 GMT
#14035
If you're completely new this is a decent tutorial: https://bitbucket.org/alfonse/gltut/downloads (it's the former arcsynthesis.org tutorial, for people that know about that one).

In general I think the book Real-Time Rendering (Moller, ...) is a great resource, but it's not specific to a language. I'd say it's more theory based for understanding, not for doing (getting results fast).

The "red book" is an intro to OpenGL.

There is also an "orange" book which focuses on Shaders. aXa that might be an option for you.
I have also heard ShaderX (old, outdated?, 1st one free here) and GPU Pro books mentioned.



Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
January 21 2016 17:10 GMT
#14036
Are video players optimised further or do they use ffmpeg straight out of the box? Does anyone have an idea? I've seen some ffmpeg decode examples, but vlc often performs better.
Manit0u
Profile Blog Joined August 2004
Poland17677 Posts
January 22 2016 01:04 GMT
#14037
[image loading]
Time is precious. Waste it wisely.
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
Last Edited: 2016-01-22 07:22:23
January 22 2016 07:22 GMT
#14038
On January 22 2016 10:04 Manit0u wrote:
+ Show Spoiler +
[image loading]


I'm sad that the first real progamming language I learned - Perl - isn't on that list

http://www.cpan.org/misc/japh
Manit0u
Profile Blog Joined August 2004
Poland17677 Posts
January 22 2016 11:05 GMT
#14039
On January 22 2016 16:22 Morfildur wrote:
Show nested quote +
On January 22 2016 10:04 Manit0u wrote:
+ Show Spoiler +
[image loading]


I'm sad that the first real progamming language I learned - Perl - isn't on that list

http://www.cpan.org/misc/japh


This reminds me of this beauty (flight simulator):


#include <math.h>
#include <sys/time.h>
#include <X11/Xlib.h>
#include <X11/keysym.h>
double L ,o ,P
,_=dt,T,Z,D=1,d,
s[999],E,h= 8,I,
J,K,w[999],M,m,O
,n[999],j=33e-3,i=
1E3,r,t, u,v ,W,S=
74.5,l=221,X=7.26,
a,B,A=32.2,c, F,H;
int N,q, C, y,p,U;
Window z; char f[52]
; GC k; main(){ Display*e=
XOpenDisplay( 0); z=RootWindow(e,0); for (XSetForeground(e,k=XCreateGC (e,z,0,0),BlackPixel(e,0))
; scanf("%lf%lf%lf",y +n,w+y, y+s)+1; y ++); XSelectInput(e,z= XCreateSimpleWindow(e,z,0,0,400,400,
0,0,WhitePixel(e,0) ),KeyPressMask); for(XMapWindow(e,z); ; T=sin(O)){ struct timeval G={ 0,dt*1e6}
; K= cos(j); N=1e4; M+= H*_; Z=D*K; F+=_*P; r=E*K; W=cos( O); m=K*W; H=K*T; O+=D*_*F/ K+d/K*E*_; B=
sin(j); a=B*T*D-E*W; XClearWindow(e,z); t=T*E+ D*B*W; j+=d*_*D-_*F*E; P=W*E*B-T*D; for (o+=(I=D*W+E
*T*B,E*d/K *B+v+B/K*F*D)*_; p<y; ){ T=p[s]+i; E=c-p[w]; D=n[p]-L; K=D*m-B*T-H*E; if(p [n]+w[ p]+p[s
]== 0|K <fabs(W=T*r-I*E +D*P) |fabs(D=t *D+Z *T-a *E)> K)N=1e4; else{ q=W/K *4E2+2e2; C= 2E2+4e2/ K
*D; N-1E4&& XDrawLine(e ,z,k,N ,U,q,C); N=q; U=C; } ++p; } L+=_* (X*t +P*M+m*l); T=X*X+ l*l+M *M;
XDrawString(e,z,k ,20,380,f,17); D=v/l*15; i+=(B *l-M*r -X*Z)*_; for(; XPending(e); u *=CS!=N){
XEvent z; XNextEvent(e ,&z);
++*((N=XLookupKeysym
(&z.xkey,0))-IT?
N-LT? UP-N?& E:&
J:& u: &h); --*(
DN -N? N-DT ?N==
RT?&u: & W:&h:&J
); } m=15*F/l;
c+=(I=M/ l,l*H
+I*M+a*X)*_; H
=A*r+v*X-F*l+(
E=.1+X*4.9/l,t
=T*m/32-I*T/24
)/S; K=F*M+(
h* 1e4/l-(T+
E*5*T*E)/3e2
)/S-X*d-B*A;
a=2.63 /l*d;
X+=( d*l-T/S
*(.19*E +a
*.64+J/1e3
)-M* v +A*
Z)*_; l +=
K *_; W=d;
sprintf(f,
"%5d %3d"
"%7d",p =l
/1.7,(C=9E3+
O*57.3)%0550,(int)i); d+=T*(.45-14/l*
X-a*130-J* .14)*_/125e2+F*_*v; P=(T*(47
*I-m* 52+E*94 *D-t*.38+u*.21*E) /1e2+W*
179*v)/2312; select(p=0,0,0,0,&G); v-=(
W*F-T*(.63*m-I*.086+m*E*19-D*25-.11*u
)/107e2)*_; D=cos(o); E=sin(o); } }


To run it on Linux:

cc banks.c -o banks -DIT=XK_Page_Up -DDT=XK_Page_Down \
-DUP=XK_Up -DDN=XK_Down -DLT=XK_Left -DRT=XK_Right \
-DCS=XK_Return -Ddt=0.02 -lm -lX11 -L/usr/X11R6/lib
Time is precious. Waste it wisely.
Khalum
Profile Joined September 2010
Austria831 Posts
January 22 2016 14:16 GMT
#14040
While we're at it..
http://motherboard.vice.com/read/donald-trump-in-a-programming-language
Prev 1 700 701 702 703 704 1032 Next
Please log in or register to reply.
Live Events Refresh
Replay Cast
00:00
LiuLi Cup Grand Finals Group B
LiquipediaDiscussion
AI Arena Tournament
20:00
RO8
DaveTesta Events
18:15
The Dave Testa Open #11
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft466
Ketroc 63
SortOf 26
StarCraft: Brood War
GuemChi 3877
ggaemo 303
ToSsGirL 26
NaDa 10
Dota 2
NeuroSwarm156
League of Legends
Reynor82
Counter-Strike
Stewie2K898
Super Smash Bros
Mew2King154
Other Games
summit1g8874
JimRising 594
Livibee43
Organizations
Other Games
gamesdonequick677
Counter-Strike
PGL269
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• practicex 47
• StrangeGG 36
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• HerbMon 25
• Diggity7
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo1457
• Rush1329
Upcoming Events
PiG Sty Festival
2h 45m
Clem vs Serral
Maru vs ShoWTimE
Sparkling Tuna Cup
3h 45m
uThermal 2v2 Circuit
8h 45m
Replay Cast
1d 2h
Wardi Open
1d 5h
Monday Night Weeklies
1d 10h
Replay Cast
1d 17h
Replay Cast
3 days
Replay Cast
3 days
The PondCast
4 days
[ Show More ]
KCM Race Survival
4 days
Replay Cast
4 days
Replay Cast
5 days
CranKy Ducklings
6 days
Replay Cast
6 days
Liquipedia Results

Completed

[S:21] ASL SEASON OPEN 2nd Round
LiuLi Cup: 2025 Grand Finals
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Acropolis #4 - TS5
Jeongseon Sooper Cup
Spring Cup 2026
WardiTV Winter 2026
PiG Sty Festival 7.0
Nations Cup 2026
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025

Upcoming

ASL Season 21: Qualifier #1
ASL Season 21: Qualifier #2
ASL Season 21
Acropolis #4 - TS6
Acropolis #4
IPSL Spring 2026
CSLAN 4
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
NationLESS Cup
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 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 S23 Finals
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.