• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 08:10
CEST 14:10
KST 21:10
  • 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
[ASL22] Ro16 Preview: Rough Waters10[ASL22] Ro24 Preview: Siren's Call8[ASL22] Ro24 Preview: Summer's End9Serral wins HomeStory Cup 2915Serral wins Maestros of the Game 244
Community News
Weekly Cups (Aug 30-Sep 7): herO thrives amid growing schism10Official StarCraft website teases new content ahead of BlizzCon?131Stellar Fest TWO the Moon (Dec 16-20)9Weekly Cups (August 24-30): Patches' balance mod takes over3New 3v3 BGH Ladder (and more) on ShieldBattery!46
StarCraft 2
General
Balance hotfix patch 5.0.16b (July 16) Team Liquid Map Contest #22: Results and Winners Weekly Cups (Aug 30-Sep 7): herO thrives amid growing schism SC4ALL: II Winner will earn a spot at HSC 30! SC4ALL II: StarCraft 2 Player Announcement 7/8
Tourneys
RSL goes to London! 2026 Offline Finals Nov 21-22 KSL Week #92 IntoTheTV X SOOP SC2 League : Weekly & Monthly 2026 GSTL Announcement Sparkling Tuna Cup - Weekly Open Tournament
Strategy
[G] Having the right mentality to improve
Custom Maps
Nexus Wars 2021 GUIDE [M] (2) Industrial Park
External Content
Mutation # 542 The Ascended Mutation # 541 Binary Choice The PondCast: SC2 News & Results Mutation # 540 Dodge This
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Practice Partners (Official) Broodwar Prediction Market Official StarCraft website teases new content ahead of BlizzCon? [D] Brainstorming a balance patch for Brood war
Tourneys
[ASL22] Ro16 Group A [ASL22] Ro16 Group B Escore Tournament - Season 3 Small VOD Thread 2.0
Strategy
Replay Review Process - What do you do? Simple Questions, Simple Answers Odyssey Mineral Stack Saturation Game Theory for Starcraft
Other Games
General Games
Nintendo Switch Thread EVE Corporation Diablo IV [Maplestory Hardcore] Let's Play~!! General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish TSM pausing esports and CLG Dead
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread European Politico-economics QA Mega-thread Trading/Investing Thread
Fan Clubs
MarineLorD Fan Club The Creator Fan Club The ShoWTimE Fan Club
Media & Entertainment
Movie Discussion!
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Northern Ireland Global Starcraft
Blogs
Virtual Romance, Real-Life C…
TrAiDoS
Regacy Esports:Our Goa…
regacyesports
Dreaming of BW patches (mod…
c3rberUs
LOCKPICKING NOOB
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 6096 users

The Big Programming Thread - Page 574

Forum Index > General Forum
Post a Reply
Prev 1 572 573 574 575 576 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.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
January 29 2015 23:25 GMT
#11461
@nesserev, don't have time, sorry D;
There is no one like you in the universe.
Ben...
Profile Joined January 2011
Canada3485 Posts
January 29 2015 23:37 GMT
#11462
On January 30 2015 02:25 Arnstein wrote:
Yesterday I implemented UDP in Ada in a stupid way(by using streams). What would be the best way to do this?

Can you elaborate at all? Are you restricted in what languages/tools you can use? Does it have to be Ada? How close to the "definition" of UDP do you need to go? Are you required to be able to send datagrams without connections (which is why streams are usually a no-no)?

I can see using streams being pretty easy to kinda, sorta implement UDP because you'd essentially just send a structure of some type as your representation of a datagram. But again, that violates the idea that UDP doesn't require a continuous connection.

Implementing UDP would certainly be an interesting thing to do. I've used the standard UDP stuff in a few programs (chat clients and the like), but never actually thought about implementing it.
"Cliiiiiiiiiiiiiiiiide" -Tastosis
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
January 30 2015 06:25 GMT
#11463
--- Nuked ---
Arnstein
Profile Blog Joined May 2010
Norway3381 Posts
Last Edited: 2015-01-30 08:21:21
January 30 2015 08:17 GMT
#11464
On January 30 2015 08:37 Ben... wrote:
Show nested quote +
On January 30 2015 02:25 Arnstein wrote:
Yesterday I implemented UDP in Ada in a stupid way(by using streams). What would be the best way to do this?

Can you elaborate at all? Are you restricted in what languages/tools you can use? Does it have to be Ada? How close to the "definition" of UDP do you need to go? Are you required to be able to send datagrams without connections (which is why streams are usually a no-no)?

I can see using streams being pretty easy to kinda, sorta implement UDP because you'd essentially just send a structure of some type as your representation of a datagram. But again, that violates the idea that UDP doesn't require a continuous connection.

Implementing UDP would certainly be an interesting thing to do. I've used the standard UDP stuff in a few programs (chat clients and the like), but never actually thought about implementing it.


No, I did it because I'm crazy, not because I had to The main problem I had was with buffer size, as it just received until the buffer was full. What tools in Ada would be better to use than streams?
rsol in response to the dragoon voice being heard in SCII: dragoon ai reaches new lows: wanders into wrong game
icystorage
Profile Blog Joined November 2008
Jollibee19350 Posts
January 30 2015 08:47 GMT
#11465
What technology do you suggest I use if I want a copy paste html code to a customer's website to integrate for him to use?

iframes + javascript?
LiquidDota StaffAre you ready for a Miracle-? We are! The International 2017 Champions!
Manit0u
Profile Blog Joined August 2004
Poland17843 Posts
Last Edited: 2015-01-30 10:07:22
January 30 2015 10:05 GMT
#11466
On January 30 2015 17:47 icystorage wrote:
What technology do you suggest I use if I want a copy paste html code to a customer's website to integrate for him to use?

iframes + javascript?


Could you be a bit more specific? You want to copy-paste pure html? What for? Creating content? You have wysiwyg editors that turn everything into html code if that's what you want. Something like http://ckeditor.com/

Or do you simply want the clipboard?
http://zeroclipboard.org/
Time is precious. Waste it wisely.
bangsholt
Profile Joined June 2011
Denmark138 Posts
January 30 2015 16:43 GMT
#11467
Voted a maybe on the book club. Sounds potentially interesting. Sound potentially boring... Lets see what you come up with ^_^
Manit0u
Profile Blog Joined August 2004
Poland17843 Posts
January 30 2015 19:44 GMT
#11468
"Learn a language" each month sounds like something great for students or young people with time on their hands. If you have a job, wife and kids it doesn't really sound feasible.
Time is precious. Waste it wisely.
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
Last Edited: 2015-01-31 04:44:17
January 31 2015 04:40 GMT
#11469
--- Nuked ---
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
January 31 2015 04:40 GMT
#11470
--- Nuked ---
ZenithM
Profile Joined February 2011
France15952 Posts
Last Edited: 2015-01-31 04:44:59
January 31 2015 04:44 GMT
#11471
On January 31 2015 04:44 Manit0u wrote:
"Learn a language" each month sounds like something great for students or young people with time on their hands. If you have a job, wife and kids it doesn't really sound feasible.

That, and there comes a point where you really don't need to learn other languages, when you know already like 10 or 15 :D

As for me, I don't really have time either, sorry :/
Ilikestarcraft
Profile Blog Joined November 2004
Korea (South)17743 Posts
January 31 2015 05:52 GMT
#11472
Surprised no one mentioned Sicp.
ils
"Nana is a goddess. Or at very least, Nana is my goddess." - KazeHydra
Manit0u
Profile Blog Joined August 2004
Poland17843 Posts
Last Edited: 2015-01-31 16:38:50
January 31 2015 16:32 GMT
#11473
Since I've already read the Code Complete, I'll instead read Design Patterns by Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides. Been lying on my shelf for a while now and I never really mustered enough incentive to read it. Might as well do it now thanks to your initiative

Or maybe add it to the list? Seems like a decent book at a quick glance and weighs in under 400p so not that huge. What's nice about it is that it shows you the actual implementations of the patterns as well as benefits and downsides of each of them.
Time is precious. Waste it wisely.
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
Last Edited: 2015-01-31 18:29:22
January 31 2015 18:28 GMT
#11474
On February 01 2015 01:32 Manit0u wrote:
Since I've already read the Code Complete, I'll instead read Design Patterns by Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides. Been lying on my shelf for a while now and I never really mustered enough incentive to read it. Might as well do it now thanks to your initiative

Or maybe add it to the list? Seems like a decent book at a quick glance and weighs in under 400p so not that huge. What's nice about it is that it shows you the actual implementations of the patterns as well as benefits and downsides of each of them.


Be careful when reading Design Patterns (also called the "Gang of four book"). It's not a bad book, but it includes some patterns that should be avoided (e.g. Singletons) without really explaining the drawbacks of such patterns well enough. It's also more a book for beginners than for experienced programmers since most the patterns aren't really that advanced.

I see that book mostly as a thesaurus that allows me to say "This code is using pattern X" and everyone roughly knows what I mean.
Manit0u
Profile Blog Joined August 2004
Poland17843 Posts
Last Edited: 2015-01-31 18:56:38
January 31 2015 18:53 GMT
#11475
On February 01 2015 03:28 Morfildur wrote:
Show nested quote +
On February 01 2015 01:32 Manit0u wrote:
Since I've already read the Code Complete, I'll instead read Design Patterns by Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides. Been lying on my shelf for a while now and I never really mustered enough incentive to read it. Might as well do it now thanks to your initiative

Or maybe add it to the list? Seems like a decent book at a quick glance and weighs in under 400p so not that huge. What's nice about it is that it shows you the actual implementations of the patterns as well as benefits and downsides of each of them.


Be careful when reading Design Patterns (also called the "Gang of four book"). It's not a bad book, but it includes some patterns that should be avoided (e.g. Singletons) without really explaining the drawbacks of such patterns well enough. It's also more a book for beginners than for experienced programmers since most the patterns aren't really that advanced.

I see that book mostly as a thesaurus that allows me to say "This code is using pattern X" and everyone roughly knows what I mean.


Well, I'm not the most experienced programmer, especially in the OOP department since most of my experience is with structural programming (funnily enough though, all programming I've been paid for is OOP - C# and PHP). My knowledge of DP is seriously lacking (I mean, I'm probably using plenty of DPs in my work, but I'm not aware which exactly as I can't recognize them since I don't know them by heart). Seems like the right book for me as I really need to develop this "thesaurus" how you call it.

P. S.
And I already know that singletons are bad
Time is precious. Waste it wisely.
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
January 31 2015 18:58 GMT
#11476
Just remember that it's an old book, written in a time OOP was relatively young and part of the content isn't all that advisable anymore. It's still pretty good as a reference on what a certain pattern is, not so much on which pattern to use.
If you have a good reason to disagree with the above, please tell me. Thank you.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
Last Edited: 2015-01-31 21:20:54
January 31 2015 20:56 GMT
#11477
Have to read a COM Programming book for work ;~; I'll just read that instead.
There is no one like you in the universe.
Manit0u
Profile Blog Joined August 2004
Poland17843 Posts
January 31 2015 21:21 GMT
#11478
On February 01 2015 03:58 spinesheath wrote:
Just remember that it's an old book, written in a time OOP was relatively young and part of the content isn't all that advisable anymore. It's still pretty good as a reference on what a certain pattern is, not so much on which pattern to use.


That's exactly what I need. Especially that I often need to work on legacy stuff that's been discontinued for years. If it'll help me better understand what's exactly going on in there it's worth it in my opinion.
Time is precious. Waste it wisely.
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
January 31 2015 21:32 GMT
#11479
On February 01 2015 06:21 Manit0u wrote:
Show nested quote +
On February 01 2015 03:58 spinesheath wrote:
Just remember that it's an old book, written in a time OOP was relatively young and part of the content isn't all that advisable anymore. It's still pretty good as a reference on what a certain pattern is, not so much on which pattern to use.


That's exactly what I need. Especially that I often need to work on legacy stuff that's been discontinued for years. If it'll help me better understand what's exactly going on in there it's worth it in my opinion.

Also keep in mind that legacy code often doesn't communicate (in class/variable names and comments) the design patterns it uses well - or not at all, and sometimes even communicates something entirely different.

It's definitely worth reading. It's rather nice to read, too.
If you have a good reason to disagree with the above, please tell me. Thank you.
LaNague
Profile Blog Joined April 2010
Germany9118 Posts
Last Edited: 2015-01-31 22:15:10
January 31 2015 22:13 GMT
#11480
someone asked me if i want to take cisco certificates for free.

I personally find them completely useless as dont do anything with networking, i design and program for PC and integrated systems, but the fact that they have been offered to me makes me suspicious.
Even IF i would have something to do with networking, why would i need to be certified in cisco protocols and maintenance, this seems very low level to me.


Do these certs have some kind of special meaning in the IT world?
Would you take them?
Prev 1 572 573 574 575 576 1032 Next
Please log in or register to reply.
Live Events Refresh
WardiTV Invitational
11:00
Pre Blizzcon Cup
Cure vs Zoun
SHIN vs TBD
ByuN vs MaxPax
Percival vs YoungYakovLIVE!
IntoTheiNu 883
WardiTV821
Rex110
Liquipedia
CranKy Ducklings
10:00
Sea Duckling Open #149
CranKy Ducklings114
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Lowko345
Rex 110
BRAT_OK 62
SHIN 28
Railgan 26
MindelVK 17
StarCraft: Brood War
Britney 39120
Calm 9718
Leta 861
Pusan 484
Soma 281
Mini 209
EffOrt 176
Stork 175
Last 143
sorry 121
[ Show more ]
Barracks 103
Rush 96
Killer 72
910 72
Yoon 57
Mong 54
ZerO 51
Free 24
soO 23
Hm[arnc] 23
SilentControl 14
yabsab 11
scan(afreeca) 9
JulyZerg 7
Noble 6
Dota 2
Dendi1389
XcaliburYe589
ODPixel358
canceldota170
Other Games
singsing1829
Pyrionflax394
crisheroes308
Hui .172
KnowMe105
DeMusliM54
mouzStarbuck25
ZerO(Twitch)13
Organizations
StarCraft: Brood War
UltimateBattle 17
lovetv 8
[ Show 13 non-featured ]
StarCraft 2
• CranKy Ducklings SOOP9
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• FirePhoenix9
• Michael_bg 5
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 768
League of Legends
• Jankos1747
Upcoming Events
AI Arena Tournament
4h 50m
OSC
8h 20m
Sparkling Tuna Cup
21h 50m
WardiTV Invitational
22h 50m
Shopify Rebellion Sundays
1d 2h
Spirit vs Mixu
Clem vs TBD
RSL Revival
1d 3h
Serral vs Rogue
BlizzCon
1d 6h
IdrA vs MC
Replay Cast
1d 11h
Afreeca Starleague
1d 21h
Light vs JyJ
Soulkey vs hero
WardiTV Weekly
1d 22h
[ Show More ]
Monday Night Weeklies
2 days
Afreeca Starleague
2 days
Snow vs Shinee
Shine vs EffOrt
GSL
2 days
PiGosaur Cup
3 days
The PondCast
3 days
Kung Fu Cup
3 days
Replay Cast
4 days
KCM Race Survival
4 days
IntoTheTV X SOOP
4 days
Replay Cast
5 days
IntoTheTV X SOOP
5 days
Replay Cast
6 days
GSL
6 days
Liquipedia Results

Completed

Acropolis #5 - TRS
PiG Sty Festival 8.0
Big Dog Cup 2026 Div 1

Ongoing

KCM Race Survival 2026 Season 3
K-JUNGMAN
ASL Season 22
Super Anchor Qualifying S3
CSL 2026 AUTUMN (S22)
Acropolis #5
RSL Revival: Season 6
Calamity Invitational
FISSURE Playground #3
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026

Upcoming

Blizzard Classic Cup 2026
Acropolis #5 - GSA
Acropolis #5 - GSB
Acropolis #5 - GSC
SC4ALL II: Brood War
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
Blizzard Classic Cup 2026
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 2026
Stake Ranked Episode 5
PGL Masters Bucharest 2026
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 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.