• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 09:45
CET 14:45
KST 22:45
  • 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 ZvT30Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8
Community News
2026 KongFu Cup Announcement3BGE Stara Zagora 2026 cancelled12Blizzard Classic Cup - Tastosis announced as captains15Weekly Cups (March 2-8): ByuN overcomes PvT block4GSL CK - New online series18
StarCraft 2
General
BGE Stara Zagora 2026 cancelled Blizzard Classic Cup - Tastosis announced as captains BGE Stara Zagora 2026 announced ByuL: The Forgotten Master of ZvT Terran AddOns placement
Tourneys
RSL Season 4 announced for March-April PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) Sparkling Tuna Cup - Weekly Open Tournament 2026 KongFu Cup Announcement [GSL CK] Team Maru vs. Team herO
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026] Map Editor closed ?
External Content
The PondCast: SC2 News & Results Mutation # 516 Specter of Death Mutation # 515 Together Forever Mutation # 514 Ulnar New Year
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ BSL 22 Map Contest — Submissions OPEN to March 10 ASL21 General Discussion Are you ready for ASL 21? Hype VIDEO Gypsy to Korea
Tourneys
[Megathread] Daily Proleagues [BSL22] Open Qualifiers & Ladder Tours IPSL Spring 2026 is here! ASL Season 21 Qualifiers March 7-8
Strategy
Simple Questions, Simple Answers Soma's 9 hatch build from ASL Game 2 Fighting Spirit mining rates Zealot bombing is no longer popular?
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread PC Games Sales Thread No Man's Sky (PS4 and PC)
Dota 2
Official 'what is Dota anymore' discussion The Story of Wings Gaming
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
Five o'clock TL Mafia Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Mexico's Drug War Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine NASA and the Private Sector
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! [Req][Books] Good Fantasy/SciFi books
Sports
Formula 1 Discussion 2024 - 2026 Football Thread General nutrition recommendations Cricket [SPORT] TL MMA Pick'em Pool 2013
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
Funny Nicknames
LUCKY_NOOB
Money Laundering In Video Ga…
TrAiDoS
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 3150 users

The Big Programming Thread - Page 1002

Forum Index > General Forum
Post a Reply
Prev 1 1000 1001 1002 1003 1004 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.
Thaniri
Profile Blog Joined March 2011
1264 Posts
March 02 2019 17:19 GMT
#20021
I guess the drunken version of me was more abrasive than he needed to be. My bad.

I was more viewing both sides of the coin. The thread really did look like one dude saying college is useless and one dude saying cs logic is essential.

I'll bow out because it's not a hill I am willing to die on. The smartest guy I ever worked with doesn't have a highschool diploma. However he is 1 guy and all of my other smart coworkers have degrees. Statistics would bear out that the degree is useful in most people's eyes in that regard.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
March 02 2019 18:02 GMT
#20022
Yep of course, a degree is not needed, especially in this age of the internet. Brilliant driven people can learn most anything on their own these days. But people like me do much better with some kind of external stimulus driving them. Plus degrees are a good way for an employer to filter out nonsense (assuming they are from a reputable school).
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
March 03 2019 18:05 GMT
#20023
Hey so I was looking at images of feedforward neural network and I see two different things come up:

#1:

http://web.utk.edu/~wfeng1/spark/_images/fnn.jpg


#2:

https://c7.uihere.com/files/261/538/457/artificial-neural-network-deep-learning-convolutional-neural-network-backpropagation-feedforward-neural-network-neural.jpg


In image 1, earlier outputs are feeding into the bias units of the later layers. In image 2, this is not the case.
I am guessing that image #2 is incorrect? Bias nodes are just a constant value for purposes of making linear algebra work, right?
SC-Shield
Profile Joined December 2018
Bulgaria837 Posts
Last Edited: 2019-03-05 22:32:41
March 05 2019 22:23 GMT
#20024
Wow, I didn't expect re-reading a book to be so productive. I guess I didn't pay enough attention the first time, so I missed syntax like:

C++11

<return type> FunctionName() &;
<return type> FunctionName() const&;
<return type> FunctionName() &&;


Also, a few other C++ details. I guess during first reading I was focused on learning new features, and now I can appreciate all the small details.

Edit: It's funny how the C++ committee forgot to add std::cbegin(), std::cend(), std::crbegin() and std::crend() in C++11.
berated-
Profile Blog Joined February 2007
United States1134 Posts
March 06 2019 03:23 GMT
#20025
On March 02 2019 14:14 Thaniri wrote:
What forums/blogs/websites/books do you guys read for system design topics?

I just realized that when I have a random question on how best to design a system, I don't actually have a place to post and discuss or search for an answer.

For example, the one that just came to mind:

How do people loadbalance web application front ends in the cloud? Traditionally, we put a webserver in front of of a bunch of webapps and just scale the number of webapps as required. However, with the magic of auto scaling groups, in order to do that, you need to make a config change to your balancer manager every time a new web app server gets brought up or deleted.

So due to the magic of the cloud we can do things like ALBs in AWS. But does that mean we no longer use nginx/apache? All the configs like reverse proxy rules, ip blocking configs, and SSL certs can't be expressed in AWS ELB rules. And doing something like a letsencrypt cert renewal would be hard for an ELB. You'd need to somehow do the renewal on a client, run a terraform/cloudformation template that takes the new cert from the client and put it on the server.

The most idiot proof thing I can think of is to put a webserver onto every server with a webapp running. Put that server type into an autoscaling group, and delegate ALL loadbalancing to the ELB. That way any complex webserver configs are retained. The obvious issue with this is that you will end up with a silly number of webservers in a given deployment.

Also a valid answer to this would be "go learn kubernetes for amazing autoscaling and self healing you caveman" but I'm a luddite who still uses bare metal. And not enough bare metal to make a borg cluster


When you find an answer of where to go, please let everyone know, including me. Some people pay big $$$ for that information.

Your proposal is pretty much what we are doing. We run apache servers on every node of our webapps to retain the things like you are talking about. We run java webapps, and the apache along side of it. The overhead is basically negligible, so yeah.. you have an extra process on all your nodes, but you were going to have that number of nodes anyways. Load balancing and TLS termination is done at the LB level. I'm more on the dev side, but, on prem cert management is a pain in the ass. I've heard doing so in amazon is super simple. Even if you had let's encrypt going, managing certs on a top level LB is easier than doing so on each apache.

That being said... if what you are doing is currently not working - then imho, yes, kubernetes is the future. The learning curve is massive, building it yourself is frowned upon (by some) ...but the abstractions and abilities are incredible. If you're already in the cloud, then using someone to manage the cluster for you is ideal.
sabas123
Profile Blog Joined December 2010
Netherlands3122 Posts
March 07 2019 10:47 GMT
#20026
Hey travis, how did your quest for solving that NP problem go?
The harder it becomes, the more you should focus on the basics.
Neneu
Profile Joined September 2010
Norway492 Posts
Last Edited: 2019-03-07 11:49:13
March 07 2019 11:28 GMT
#20027
On March 04 2019 03:05 travis wrote:
Hey so I was looking at images of feedforward neural network and I see two different things come up:

#1:

http://web.utk.edu/~wfeng1/spark/_images/fnn.jpg


#2:

https://c7.uihere.com/files/261/538/457/artificial-neural-network-deep-learning-convolutional-neural-network-backpropagation-feedforward-neural-network-neural.jpg


In image 1, earlier outputs are feeding into the bias units of the later layers. In image 2, this is not the case.
I am guessing that image #2 is incorrect? Bias nodes are just a constant value for purposes of making linear algebra work, right?


Slightly depends on the problem you are supposed to solve, but the general idea is that the main function of a bias is to provide every node with a constant value which can be trained. This can be achieved by a single bias node with connections to N nodes or with N bias nodes each with a single connection, the result should generally be the same. So even if in image two they only have one bias node (i = 0) per layer, it should work as well as in image one. But yeah, not a big fan of how they did the diagram.
ZenithM
Profile Joined February 2011
France15952 Posts
March 07 2019 12:18 GMT
#20028
On March 07 2019 19:47 sabas123 wrote:
Hey travis, how did your quest for solving that NP problem go?

That's the topic that makes me single-handedly stop checking on this thread for 3 months.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
March 07 2019 12:52 GMT
#20029
zenith that doesn't even make any sense. why don't you just go away forever instead of only 3 months

sabas:

I ended up learning a lot, particularly about hamiltonian cycles. Made some interesting heuristics that work some of the time even for decently large n. I want to keep investigating but I have to do school stuff and it's just so time consuming.... like incredibly time consuming to do any detailed exploration of the behavior of these graphs and how they evolve with more nodes or edges added.
Manit0u
Profile Blog Joined August 2004
Poland17693 Posts
March 07 2019 13:08 GMT
#20030
@travis: have you ever tried stuff like that?

https://github.com/koudelka/visualixir
Time is precious. Waste it wisely.
ZenithM
Profile Joined February 2011
France15952 Posts
Last Edited: 2019-03-07 13:43:33
March 07 2019 13:41 GMT
#20031
Come on Trav, you post like 10 times a day on this thread (again, on subjects ranging from high school trigonometry to millennium prize problems), you can handle one contrarian comment about your P=NP solution once in a while.
Granted this time it wasn't your fault, you were prompted to give us an update.
WarSame
Profile Blog Joined February 2010
Canada1950 Posts
March 08 2019 04:53 GMT
#20032
As long as he doesn't dominate the thread with his P=NP talk(which he doesn't) then acting so negatively about someone's passion is being a dick.
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
ZenithM
Profile Joined February 2011
France15952 Posts
March 08 2019 14:32 GMT
#20033
I agree that I'm unfairly being a dick to him (I apologized 3 months ago but I couldn't resist doing it again), but I felt, perhaps wrongly, that there needed somewhere in the sea of positiveness and support to be some kind of devil's advocate voice for how ridiculously pointless it is to work on P vs NP. I remember everyone was being supportive of him at the time, and I don't think it helps travis in his progression as a computer scientist (myself I told him back then that it would be more fruitful for him to focus on more productive endeavors, which he seems to be doing now).
Any CS professor would have told him to focus on something else than P=NP (especially this particular side of the P vs NP question...).

It's really a testament to this thread's welcoming atmosphere that there is only one guy making fun of another for working on P vs NP. It's impressive and I'm a bit ashamed to be that guy now but I also don't dominate the thread with snarky posts either. Anyway, I won't post again on that topic if it comes up, even if it's 3 months from now . Consider me self-banned from doing that.
solidbebe
Profile Blog Joined November 2010
Netherlands4921 Posts
March 08 2019 16:02 GMT
#20034
Everyone was being supportive? Don't know which thread you've been reading.
That's the 2nd time in a week I've seen someone sig a quote from this GD and I have never witnessed a sig quote happen in my TL history ever before. -Najda
enigmaticcam
Profile Blog Joined October 2010
United States280 Posts
March 10 2019 02:44 GMT
#20035
What’s wrong with someone doing what they want in their own free time?
Excludos
Profile Blog Joined April 2010
Norway8242 Posts
March 10 2019 03:10 GMT
#20036
You guys have spare time..? As programmers?! Unheard of!
Chocolate
Profile Blog Joined December 2010
United States2350 Posts
March 10 2019 06:43 GMT
#20037
On March 04 2019 03:05 travis wrote:
Hey so I was looking at images of feedforward neural network and I see two different things come up:

#1:

http://web.utk.edu/~wfeng1/spark/_images/fnn.jpg


#2:

https://c7.uihere.com/files/261/538/457/artificial-neural-network-deep-learning-convolutional-neural-network-backpropagation-feedforward-neural-network-neural.jpg


In image 1, earlier outputs are feeding into the bias units of the later layers. In image 2, this is not the case.
I am guessing that image #2 is incorrect? Bias nodes are just a constant value for purposes of making linear algebra work, right?

I prefer not to think of a FFNN with "bias units". FFNN are essentially multilayer multi-perception networks. In the perceptron model each component of a layer is a perceptron consisting of a weight for each input and a bias.

So both these pictures are just different ways of representing bias. I actually think the first picture is the worse because it separates out the bias from the nodes. The second picture more clearly conveys that each node has a bias value.
Chocolate
Profile Blog Joined December 2010
United States2350 Posts
March 10 2019 07:01 GMT
#20038
Does anybody here do distributed computing? I work on it in my day job and want to know what the next new hot thing to study is - like Spark before it was Spark. My manager seems to think it's Presto but Presto honestly seems kind of shitty in terms of performance. Dask is a little old but looks like adoption is growing rapidly and it seems to be popular in quant firms.
Neshapotamus
Profile Blog Joined May 2006
United States163 Posts
Last Edited: 2019-03-14 04:20:43
March 13 2019 05:21 GMT
#20039
On March 04 2019 03:05 travis wrote:
Hey so I was looking at images of feedforward neural network and I see two different things come up:

#1:

http://web.utk.edu/~wfeng1/spark/_images/fnn.jpg


#2:

https://c7.uihere.com/files/261/538/457/artificial-neural-network-deep-learning-convolutional-neural-network-backpropagation-feedforward-neural-network-neural.jpg


In image 1, earlier outputs are feeding into the bias units of the later layers. In image 2, this is not the case.
I am guessing that image #2 is incorrect? Bias nodes are just a constant value for purposes of making linear algebra work, right?


The geometric interpretation of the bias is the constant value that lets you shift your graph vertically. Technically, this shouldn't be multiplied by any value in the previous layers unless you want to have the property that the function goes through the origin.

ex: y=w1*z1+w2*z2+..w_n*z_n+b
SC-Shield
Profile Joined December 2018
Bulgaria837 Posts
Last Edited: 2019-03-13 18:34:45
March 13 2019 18:34 GMT
#20040
Could you please recommend a few nice books about Machine Learning? If they're about Reinforcement Learning, then it will be even better.
Prev 1 1000 1001 1002 1003 1004 1032 Next
Please log in or register to reply.
Live Events Refresh
WardiTV Team League
12:00
Group B
WardiTV574
IntoTheiNu 13
Liquipedia
Sparkling Tuna Cup
10:00
Weekly #123
Classic vs CreatorLIVE!
CranKy Ducklings107
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Tasteless 869
Rex 110
StarCraft: Brood War
Sea 53633
Calm 14712
firebathero 6185
Horang2 2371
GuemChi 2159
Jaedong 1565
BeSt 624
EffOrt 512
Mini 467
Stork 356
[ Show more ]
Soma 284
Rush 225
actioN 162
Dewaltoss 116
Last 113
Mind 94
ToSsGirL 77
Sea.KH 55
Backho 51
Barracks 40
JulyZerg 38
Hm[arnc] 35
IntoTheRainbow 28
sorry 27
Nal_rA 25
GoRush 20
ivOry 9
SilentControl 9
Icarus 8
Terrorterran 6
Dota 2
Gorgc7540
XaKoH 227
BananaSlamJamma113
canceldota100
Counter-Strike
byalli675
x6flipin344
kRYSTAL_40
Super Smash Bros
Mew2King90
Heroes of the Storm
Khaldor320
Other Games
B2W.Neo2092
Liquid`RaSZi919
Fuzer 186
Hui .61
Organizations
Dota 2
PGL Dota 2 - Main Stream28968
Other Games
gamesdonequick870
ComeBackTV 264
StarCraft: Brood War
lovetv 16
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• musti20045 28
• Adnapsc2 8
• CranKy Ducklings SOOP7
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• blackmanpl 28
• iopq 1
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 1728
Upcoming Events
Patches Events
3h 15m
BSL
6h 15m
GSL
18h 15m
Wardi Open
22h 15m
Monday Night Weeklies
1d 3h
WardiTV Team League
1d 22h
PiGosaur Cup
2 days
Kung Fu Cup
2 days
OSC
3 days
The PondCast
3 days
[ Show More ]
KCM Race Survival
3 days
WardiTV Team League
3 days
Replay Cast
4 days
KCM Race Survival
4 days
WardiTV Team League
4 days
Korean StarCraft League
5 days
uThermal 2v2 Circuit
6 days
BSL
6 days
Liquipedia Results

Completed

Proleague 2026-03-13
WardiTV Winter 2026
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Jeongseon Sooper Cup
BSL Season 22
RSL Revival: Season 4
Nations Cup 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual

Upcoming

CSL Elite League 2026
ASL Season 21
Acropolis #4 - TS6
2026 Changsha Offline CUP
Acropolis #4
IPSL Spring 2026
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
NationLESS Cup
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open 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.