• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 01:38
CET 07:38
KST 15:38
  • 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 ZvT0Behind the Blue - Team Liquid History Book16Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8
Community News
Weekly Cups (Feb 9-15): herO doubles up0ACS replaced by "ASL Season Open" - Starts 21/0224LiuLi Cup: 2025 Grand Finals (Feb 10-16)43Weekly Cups (Feb 2-8): Classic, Solar, MaxPax win2Nexon's StarCraft game could be FPS, led by UMS maker14
StarCraft 2
General
Nexon's StarCraft game could be FPS, led by UMS maker ByuL: The Forgotten Master of ZvT Weekly Cups (Feb 9-15): herO doubles up How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? StarCraft 1 & 2 Added to Xbox Game Pass
Tourneys
LiuLi Cup: 2025 Grand Finals (Feb 10-16) WardiTV Team League Season 10 PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) $5,000 WardiTV Winter Championship 2026 StarCraft Evolution League (SC Evo Biweekly)
Strategy
Custom Maps
Map Editor closed ? [A] Starcraft Sound Mod
External Content
Mutation # 513 Attrition Warfare The PondCast: SC2 News & Results Mutation # 512 Overclocked Mutation # 511 Temple of Rebirth
Brood War
General
TvZ is the most complete match up Gypsy to Korea Which units you wish saw more use in the game? Ladder maps - how we can make blizz update them? BW General Discussion
Tourneys
[Megathread] Daily Proleagues Escore Tournament StarCraft Season 1 Small VOD Thread 2.0 KCM Race Survival 2026 Season 1
Strategy
Fighting Spirit mining rates Zealot bombing is no longer popular? Simple Questions, Simple Answers Current Meta
Other Games
General Games
Nintendo Switch Thread ZeroSpace Megathread Diablo 2 thread Path of Exile Battle Aces/David Kim RTS Megathread
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 Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Ask and answer stupid questions here! Things Aren’t Peaceful in Palestine European Politico-economics QA Mega-thread
Fan Clubs
The IdrA Fan Club The herO Fan Club!
Media & Entertainment
[Req][Books] Good Fantasy/SciFi books [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
The Search For Meaning in Vi…
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2403 users

The Big Programming Thread - Page 861

Forum Index > General Forum
Post a Reply
Prev 1 859 860 861 862 863 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.
Hanh
Profile Joined June 2016
146 Posts
Last Edited: 2017-03-15 11:45:00
March 15 2017 11:25 GMT
#17201
In the same style,

Prove that for any prime number p >= 5, there is an integer n such as

p*p - 24n - 1 = 0

This does not require any math beyond high school level.
meatpudding
Profile Joined March 2011
Australia520 Posts
March 15 2017 12:06 GMT
#17202
I'm going through my master's in maths and I wouldn't mind having a Big Maths Thread. Anyway, here's my attempt at showing the proof:
+ Show Spoiler +
By eliminating p divisible by 2 or 3 then we can say for some integer a > 0 that p = 6a + 1 or p = 6a + 5. Then show that 24 | (p.p - 1).
1st case:
(6a + 1)(6a + 1) - 1
36a.a + 12a + 1 - 1
12a(3a + 1)

If a is even then 24 | 12a
If a is odd then 3a + 1 is even and 24 | 12(3a + 1)

2nd case:

(6a + 5)(6a + 5) - 1
36a.a + 60a + 25 - 1
12a(3a + 5) + 24

Same argument as above.

For p = 5 (not covered in these examples) observe that with n = 1 gives p.p - 24 - 1 = 0.
Be excellent to each other.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
Last Edited: 2017-03-15 13:02:15
March 15 2017 13:00 GMT
#17203
lol ive spent an hour on it i cant figure it out and i refuse to look at meatpudding's solution

edit: i lie. i looked now. his solution makes sense :/ damn
mantequilla
Profile Blog Joined June 2012
Turkey781 Posts
March 16 2017 09:43 GMT
#17204
I hate proofs. Lucky that I didn't have to deal them much. Proving something that looks uncertain is cool but proving something that we know it's true for years is a weird mental process. Imo they should teach it by proving things which really need proving, like things not obvious to be true or false at the first look.
Age of Mythology forever!
Askelad
Profile Joined October 2016
France20 Posts
March 16 2017 10:04 GMT
#17205
On March 16 2017 18:43 mantequilla wrote:
I hate proofs. Lucky that I didn't have to deal them much. Proving something that looks uncertain is cool but proving something that we know it's true for years is a weird mental process. Imo they should teach it by proving things which really need proving, like things not obvious to be true or false at the first look.


I fail to understand the problem. Just like you learn coding by programming easy stuff which has already been done thousands of times and probably already exists as a function/library, you learn to do proofs by proving easy stuff. If you're having a hard time writing down a proof for some easy stuff you're probably not ready to prove hard stuff?
Manit0u
Profile Blog Joined August 2004
Poland17663 Posts
March 16 2017 12:08 GMT
#17206
[image loading]
Time is precious. Waste it wisely.
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
Last Edited: 2017-03-16 12:10:49
March 16 2017 12:09 GMT
#17207
--- Nuked ---
Acrofales
Profile Joined August 2010
Spain18216 Posts
March 16 2017 14:49 GMT
#17208
history|grep... bunch of filistines.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
March 16 2017 15:50 GMT
#17209
lol I haven't quite reached the level in that comic yet

... and I hope I never will
Prillan
Profile Joined August 2011
Sweden350 Posts
Last Edited: 2017-03-16 16:56:11
March 16 2017 16:50 GMT
#17210
Pro-tip: use Ctrl+R to search backwards in your history.

https://asciinema.org/a/4imqasv42pqalf641v8zg66do

Edit: Almost forgot, press Ctrl+R again to jump to the next match.
TheBB's sidekick, aligulac.com | "Reality is frequently inaccurate." - Douglas Adams
tofucake
Profile Blog Joined October 2009
Hyrule19192 Posts
March 16 2017 16:51 GMT
#17211
I install this everywhere I can: https://github.com/nvbn/thefuck

[image loading]
Liquipediaasante sana squash banana
Acrofales
Profile Joined August 2010
Spain18216 Posts
March 16 2017 17:28 GMT
#17212
I'm just imagining tofucake on a new system:

aptget install thefuck
fuck
fuck
fuck
FUUUUUUCK

emperorchampion
Profile Blog Joined December 2008
Canada9496 Posts
March 16 2017 19:06 GMT
#17213
funny stuff :p
TRUEESPORTS || your days as a respected member of team liquid are over
Thaniri
Profile Blog Joined March 2011
1264 Posts
March 16 2017 19:08 GMT
#17214
Whoever decided to rename Angular2 to just Angular is an evil bastard. It's impossible to google anything because search indexes aren't distinguishing between Angular and AngularJS........
Manit0u
Profile Blog Joined August 2004
Poland17663 Posts
Last Edited: 2017-03-17 02:51:23
March 16 2017 23:01 GMT
#17215
On March 17 2017 04:08 Thaniri wrote:
Whoever decided to rename Angular2 to just Angular is an evil bastard. It's impossible to google anything because search indexes aren't distinguishing between Angular and AngularJS........


But Angular2 is sooo 2016

[image loading]
Time is precious. Waste it wisely.
Manit0u
Profile Blog Joined August 2004
Poland17663 Posts
March 17 2017 02:16 GMT
#17216
[image loading]

This site is magnificent.
Time is precious. Waste it wisely.
ShoCkeyy
Profile Blog Joined July 2008
7815 Posts
March 17 2017 13:47 GMT
#17217
Yea, finding help on google for angular2 is terrible. When you need a manager, to manage a manager, you know something is wrong and page speed will be affected. I usually use freenode to get any help.
Life?
Thaniri
Profile Blog Joined March 2011
1264 Posts
Last Edited: 2017-03-17 22:44:43
March 17 2017 22:39 GMT
#17218
I don't even like Angular but all the fresh memes these days are built with Angular or React.

I'm building a static page that takes 4.5 seconds to load. All it does is show some text and images and utilize the Angular router. ~25kb of images but vendor.bundle.js is a whopping 2.7mb. I remember when I was learning web development my teacher told me that if a page is > 1mb and it isn't a web application you're doing something wrong.

Angular really bothers me on a deep level but I don't feel like I'm a good enough programmer to articulate why its bad.

edit: I swear that as soon as I post something somewhere online I find the solution to my problem immediately. Here I am bitching about wasted kilobytes and I'm sending packets to a starcraft forum for no reason. https://angular.io/docs/ts/latest/guide/router.html they renamed it from hashbang to hashlocation..................
WarSame
Profile Blog Joined February 2010
Canada1950 Posts
March 17 2017 23:26 GMT
#17219
Does anyone know where to find longer video footage of autonomous cars in service? I can only find promotional videos so far. I'm looking for an hour+ of straight driving to see what it is like. On a related note, where is the state of the tech at right now? Last I checked the consensus was that driving itself had been mostly figured out, but it still had problem with poor weather conditions, such as the Lidar not working. Is this still the case?
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
tofucake
Profile Blog Joined October 2009
Hyrule19192 Posts
March 18 2017 02:03 GMT
#17220
Google's car has issues with some things still (cyclists doing track stands is a big one)
Liquipediaasante sana squash banana
Prev 1 859 860 861 862 863 1032 Next
Please log in or register to reply.
Live Events Refresh
OSC
00:00
OSC Elite Rising Star #17.5
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
yabsab 217
ToSsGirL 42
NaDa 20
Icarus 10
Dota 2
NeuroSwarm173
febbydoto21
League of Legends
JimRising 785
Other Games
summit1g10314
C9.Mang0653
WinterStarcraft523
m0e_tv279
Trikslyr26
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 11 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo1162
Upcoming Events
WardiTV Winter Champion…
5h 22m
PiGosaur Cup
18h 22m
Replay Cast
1d 2h
WardiTV Winter Champion…
1d 5h
Replay Cast
1d 17h
PiG Sty Festival
2 days
Maru vs Bunny
Classic vs SHIN
The PondCast
2 days
KCM Race Survival
2 days
WardiTV Winter Champion…
2 days
OSC
2 days
[ Show More ]
Replay Cast
2 days
PiG Sty Festival
3 days
Clem vs Percival
Zoun vs Solar
Epic.LAN
3 days
Replay Cast
3 days
PiG Sty Festival
4 days
herO vs NightMare
Reynor vs Cure
CranKy Ducklings
4 days
Epic.LAN
4 days
Replay Cast
4 days
PiG Sty Festival
5 days
Serral vs YoungYakov
ByuN vs ShoWTimE
Sparkling Tuna Cup
5 days
Replay Cast
5 days
Replay Cast
6 days
Wardi Open
6 days
Replay Cast
6 days
Liquipedia Results

Completed

C-League Week 31
LiuLi Cup: 2025 Grand Finals
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Nations Cup 2026
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025

Upcoming

Escore Tournament S1: King of Kings
[S:21] ASL SEASON OPEN 1st Round
[S:21] ASL SEASON OPEN 1st Round Qualifier
Spring Cup 2026: China & Korea Invitational
[S:21] ASL SEASON OPEN 2nd Round
[S:21] ASL SEASON OPEN 2nd Round Qualifier
Acropolis #4
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
WardiTV Winter 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 Season 23
ESL Pro League Season 23
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.