• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 09:31
CEST 15:31
KST 22:31
  • 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
Serral wins HomeStory Cup 2914Serral wins Maestros of the Game 243ByuL, and the Limitations of Standard Play3Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12
Community News
ZeroSpace Early Access is Now Live!20Weekly Cups (July 13-19): Terran & Protoss rise; Zerg falters2Balance hotfix patch 5.0.16b (July 16)88Reynor: GSL Loss Wasn't About Preparation Format17[IPSL] Spring 2026 Grand Finals - This Weekend!18
StarCraft 2
General
Reynor: GSL Loss Wasn't About Preparation Format Balance hotfix patch 5.0.16b (July 16) How would you feel about frequent/monthly balance patches for SC2? Clem: "I don't have that much hope in Blizzard" Weekly Cups (July 13-19): Terran & Protoss rise; Zerg falters
Tourneys
IntoTheTV X SOOP SC2 League : Weekly & Monthly INu's Battles#18 - Cure, herO, Rogue & ByuN RSL Revival: Season 6 - Qualifiers and Main Event Master Swan Open (Global Bronze-Master 2) WardiTV Summer Cup 2026
Strategy
[G] Having the right mentality to improve
Custom Maps
[M] (2) Industrial Park New Map Maker - Looking for Advice - Love or Hate
External Content
Mutation # 535 Assembly of Vengeance The PondCast: SC2 News & Results Mutation # 534 Burning Evacuation Mutation # 533 Die Together
Brood War
General
BW General Discussion Animated Gateway BGH Auto Balance -> http://bghmmr.eu/ HORROR STARCRAFT MOVIE How Famous was FlaSh before his Debut?
Tourneys
Escore Tournament - Season 3 [Megathread] Daily Proleagues [IPSL] Spring 2026 Grand Finals - This Weekend! Small VOD Thread 2.0
Strategy
Simple Questions, Simple Answers PvT advise for noobs Fighting Spirit mining rates Creating a full chart of Zerg builds
Other Games
General Games
ZeroSpace Early Access is Now Live! Path of Exile Nintendo Switch Thread General RTS Discussion Thread Diablo IV
Dota 2
Looking for a Dota Mentor Official 'what is Dota anymore' discussion
League of Legends
TSM pausing esports and CLG Dead
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Power Rank NeO.D_StephenKing vs This Guy From 1 Million Dance TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Artificial Intelligence Thread US Politics Mega-thread Russo-Ukrainian War Thread How to buy a book - shipping from Korea to Europe The Games Industry And ATVI
Fan Clubs
The IdrA Fan Club The HerO Fan Club!
Media & Entertainment
Anime Discussion Thread Series you have seen recently... Movie Discussion! [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion MLB/Baseball 2023 McBoner: A hockey love story
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Simple Questions Simple Answers FPS when play League Of Legend on laptop
TL Community
Northern Ireland Global Starcraft The Automated Ban List
Blogs
How Games can Help with Majo…
TrAiDoS
Hello guys!
LIN1s
ASL S22 English Commentary…
namkraft
Poker (part 2)
Nebuchad
An Exploration of th…
waywardstrategy
Customize Sidebar...

Website Feedback

Closed Threads



Active: 3412 users

The Big Programming Thread - Page 530

Forum Index > General Forum
Post a Reply
Prev 1 528 529 530 531 532 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.
Cyx.
Profile Joined November 2010
Canada806 Posts
October 13 2014 23:23 GMT
#10581
On October 14 2014 07:26 Spazer wrote:
It's a common story. Almost happened to me too. It's just so damn easy to have too big of a scope.

I wish just once I could start a project that took me as long as I thought it was going to...

Maybe some day. It's a nice dream.
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
October 14 2014 00:36 GMT
#10582
--- Nuked ---
tofucake
Profile Blog Joined October 2009
Hyrule19229 Posts
October 14 2014 02:19 GMT
#10583
a proper estimate is "between now and the heat death of the universe"
Liquipediaasante sana squash banana
phar
Profile Joined August 2011
United States1080 Posts
October 14 2014 02:58 GMT
#10584
On October 14 2014 04:23 FFGenerations wrote:
er.... guys did you know gmail just started blocking 7zip (zip) files that contain vbs files?
i saved all my work by emailing myself vbs inside 7zip and now all my archived files are deleted by gmail?????????

could have lost a weeks worth of work due to formatting and thinking my files were not going to be randomly fucking DELETED by my email service

If you still need to find a vbs file from gmail, you may be able to recover it:

https://productforums.google.com/forum/#!topic/gmail/F509J1du_eU

If that doesn't work and you still need it back send me a PM.


Also separately, consider starting to save your code via some form of vcs. Maybe github.
Who after all is today speaking about the destruction of the Armenians?
FFGenerations
Profile Blog Joined April 2011
7088 Posts
Last Edited: 2014-10-15 19:17:54
October 15 2014 19:16 GMT
#10585
Yo, re Gmail being able to detect that my password-protected (and name-hidden) 7zip file contains a .vbs file that contains text, I found this post about a sort of related issue which might explain how it happens.......

"Self-respecting anti-virus researchers do NOT send malware by e-mail in ZIP archives. Not even password-protected ZIP archives. Not only is the encryption used by ZIP archives insecure and easily broken - one does not even need to break it, in order to detect that the archive contains some kinds of malware.

A ZIP archive (as well as most other kinds of archives) contains, among other things, the CRC-32 of each uncompressed (and unencrypted) file. If the file contains static malware (i.e., not a program infected by a parasitic virus or a self-modifying Trojan horse), its CRC will be the same, no matter what password is used to encrypt it. An external program can detect it in the archive without even having to bother with the encryption.

In addition, as far as I know, McAfee's scanner automatically tries the password "infected" when scanning password-protected ZIP archives; probably other scanners can do it too. The reason for this is not anything nefarious - it is because the developers of the scanner use their own product as a tool when examining incoming virus samples and these are often contained in ZIP archives protected with the password "infected". There are simply way too many people who ignorant about cryptography and don't take sufficient precautions when sending malware by e-mail, alas.

That's why professional anti-virus researchers always use PGP when sending mailware to others. It is way more secure and responsible. It also ensures that only the intended recipient can decrypt the sample - not just about anyone who knows (or can guess) the password. Sure, this method is not suitable for samples that are made publicly available (e.g., on a web or ftp site) - but responsible anti-virus researchers don't do that."

http://www.ghettoforensics.com/2014/02/google-actively-scanning-malware-emails.html


IDK why an encrypted file format would publicly display a hash of its contents though.............seems a bit retarded?
Cool BW Music Vid - youtube.com/watch?v=W54nlqJ-Nx8 ~~~~~ ᕤ OYSTERS ᕤ CLAMS ᕤ AND ᕤ CUCKOLDS ᕤ ~~~~~~ ༼ ᕤ◕◡◕ ༽ᕤ PUNCH HIM ༼ ᕤ◕◡◕ ༽ᕤ
FFGenerations
Profile Blog Joined April 2011
7088 Posts
Last Edited: 2014-10-15 19:25:01
October 15 2014 19:23 GMT
#10586
On October 14 2014 11:58 phar wrote:
Show nested quote +
On October 14 2014 04:23 FFGenerations wrote:
er.... guys did you know gmail just started blocking 7zip (zip) files that contain vbs files?
i saved all my work by emailing myself vbs inside 7zip and now all my archived files are deleted by gmail?????????

could have lost a weeks worth of work due to formatting and thinking my files were not going to be randomly fucking DELETED by my email service

If you still need to find a vbs file from gmail, you may be able to recover it:

https://productforums.google.com/forum/#!topic/gmail/F509J1du_eU

If that doesn't work and you still need it back send me a PM.


Also separately, consider starting to save your code via some form of vcs. Maybe github.


Oh thanks dude. I'm sorted now thankyou. Yeah I was using email for this out of habit/convenience but will start using github now, cheers
Cool BW Music Vid - youtube.com/watch?v=W54nlqJ-Nx8 ~~~~~ ᕤ OYSTERS ᕤ CLAMS ᕤ AND ᕤ CUCKOLDS ᕤ ~~~~~~ ༼ ᕤ◕◡◕ ༽ᕤ PUNCH HIM ༼ ᕤ◕◡◕ ༽ᕤ
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
Last Edited: 2014-10-15 22:29:12
October 15 2014 22:27 GMT
#10587
Zip is an archive format that happens to support encryption through extra bits. If it was meant to be a good encrypted archive format, the standard Zip encryption scheme has been known to be easily cracked, because Zip was never a secure way of encrypting your documents after its default encryption was cracked.

If you're using 7-Zip the default encryption scheme for the Zip format, ZipCrypto, is weaker than AES-256 (it's been cracked). 7-Zip also doesn't specify "Encrypt file names" for Zip files because it doesn't work and never worked (as I mentioned before). You're misunderstanding what's going on.


If you want to hide the public name of your compressed files and still want to use Zip, put them inside a second Zip file.
There is no one like you in the universe.
FFGenerations
Profile Blog Joined April 2011
7088 Posts
October 16 2014 05:17 GMT
#10588
+ Show Spoiler +
[image loading]


this is ss of current 7zip fyi
Cool BW Music Vid - youtube.com/watch?v=W54nlqJ-Nx8 ~~~~~ ᕤ OYSTERS ᕤ CLAMS ᕤ AND ᕤ CUCKOLDS ᕤ ~~~~~~ ༼ ᕤ◕◡◕ ༽ᕤ PUNCH HIM ༼ ᕤ◕◡◕ ༽ᕤ
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
Last Edited: 2014-10-16 06:54:11
October 16 2014 06:51 GMT
#10589
that's not a zip file. if you're going to change it then refer to it properly in the first place. it's a 7z archive file.
There is no one like you in the universe.
Ninoah
Profile Joined August 2014
7 Posts
October 17 2014 00:24 GMT
#10590
Was working on Project Euler problems, read up on example primality test of a number function:

[image loading]

Can someone explain to be the else part of the function? The way I write this function is to test obviously from 3 -> root n, increment by 2 to avoid evens. But they went even further here.

I don't really get the second if condition to leave the function..."if n mod (f + 2" or why they increase f by 6 each time.
ZenithM
Profile Joined February 2011
France15952 Posts
Last Edited: 2014-10-17 10:12:24
October 17 2014 00:43 GMT
#10591
It's tied to the "All primes greater than 3 can be written in the form 6k+/-1."
Essentially, what the algorithm is doing here is start from 5 = 6*1 - 1, and test each step if (6k - 1) divides n (that's "if n mod f = 0") then if (6k - 1) + 2 (which is 6k + 1) divides n (that's "if n mod (f+2) = 0").

It's a way to skip some of the non-prime potential dividers. A non-prime integer p is to be skipped, because p's own dividers have already been checked against n before in the algorithm. If p was a divider, its own dividers would have consequently been dividers of n, so you would have stopped already.
Edit: Hmm, I guess you understood that already. It's like skipping even numbers, but better ;D

Edit4: Wait no I was right actually. Whelp, removed it now.
Zocat
Profile Joined April 2010
Germany2229 Posts
October 17 2014 02:03 GMT
#10592
"All primes greater than 3 can be written in the form 6k+/-1."

Rewritten:
Possible candidates are 6*k-1 and 6*k+1. Let's define f as 6*k-1.
Then the possible candidates are f and f+2

The +6 is just increases the value of k by 1. (So f is 5, 11, 17,...)

If you want to know why all primes have the form I'd say look at this: http://mathblag.wordpress.com/2013/08/30/primes-of-the-form-6k1/
Ninoah
Profile Joined August 2014
7 Posts
October 17 2014 02:52 GMT
#10593
Thanks. I understand the 6k +/- 1 and reasoning behind f + 2 now. Just gonna go do some more follow up reading on why "All primes greater than 3 can be written in the form 6k+/-1."is true.
Blitzkrieg0
Profile Blog Joined August 2010
United States13132 Posts
October 17 2014 03:16 GMT
#10594
On October 17 2014 11:52 Ninoah wrote:
Thanks. I understand the 6k +/- 1 and reasoning behind f + 2 now. Just gonna go do some more follow up reading on why "All primes greater than 3 can be written in the form 6k+/-1."is true.


Do you understand why you could skip by say 2s starting with an odd number greater than 1 to find primes? Going up by sixes is same principle except you're accounting for factors 2 and 3.

We take our number and do mod six. If this equals zero, two, or four then the number is even and has a factor of 2. if it equals three then the number has a factor of three. The other two cases align with 6k +- 1 and may or may not be prime. 6k + 1 is mod six equal to one and 6k -1 is mod six equal to five.
I'll always be your shadow and veil your eyes from states of ain soph aur.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
Last Edited: 2014-10-17 06:18:19
October 17 2014 06:17 GMT
#10595
it's black magic i tell ye @: maths


looks like office is trying to not obfuscate their x documents now?

https://github.com/OfficeDev/Open-XML-SDK
There is no one like you in the universe.
bangsholt
Profile Joined June 2011
Denmark138 Posts
October 17 2014 15:59 GMT
#10596
On October 17 2014 15:17 Blisse wrote:
it's black magic i tell ye @: maths


looks like office is trying to not obfuscate their x documents now?

https://github.com/OfficeDev/Open-XML-SDK


Now? It's been an open standard since it was started (I think it was in 2006, but not sure) and it became standard in Office 2007.

The fact that there's still no editor that correctly implements the spec... That's a different story ;o)
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
October 17 2014 18:47 GMT
#10597
Wait if it's been an open standard for 7 years why do people still complain about them messing around with the formats to screw up libreoffice and openoffice?
There is no one like you in the universe.
bangsholt
Profile Joined June 2011
Denmark138 Posts
October 17 2014 19:47 GMT
#10598
Because while it's a standard, Office itself is not as compliant as you would wish... But also because it's a *massive* spec - the 4 parts of the spec is around 7000 pages.

To compare, the Open Document Format spec is around 1000 pages.

Both are similar in the structure, but one is made to be read and understood by humans
FFGenerations
Profile Blog Joined April 2011
7088 Posts
Last Edited: 2014-10-17 20:02:46
October 17 2014 19:49 GMT
#10599
any of you guys use a saddle style chair?

this looks like the affordable UK website (150-165)

what the fuck is up with this website design tho? who makes a website like this??
http://www.beautelle.co.uk/company/

direct link http://www.beautelle.co.uk/water/ergonomic posture saddle stools.htm

maybe this one is better
http://www.tronus.eu/en/saddlestool-standard.html?id=8538440
Cool BW Music Vid - youtube.com/watch?v=W54nlqJ-Nx8 ~~~~~ ᕤ OYSTERS ᕤ CLAMS ᕤ AND ᕤ CUCKOLDS ᕤ ~~~~~~ ༼ ᕤ◕◡◕ ༽ᕤ PUNCH HIM ༼ ᕤ◕◡◕ ༽ᕤ
ibutoss
Profile Blog Joined June 2005
Australia341 Posts
October 17 2014 22:56 GMT
#10600
On October 14 2014 04:15 FFGenerations wrote:
taken your comments on board, i am instead going to look into cloud computing.

"My next idea was to have a look at Cloud Computing as I was advised that many interesting technical challenges exist here. I saw a company hosting online MMO games which conventionally have a download size of 20 gigs that puts a lot of 1st-time users off from bothering to trial them. The cloud hosting of the company allows users to instantly jump into the game without having to download, patch and install it whatsoever. This seems pretty intriguing. "

i'll see what my tutor has to say about it tomorrow. the problem here is that i was supposed to give in a Product Initiation Document last friday which specifies what my project is going to be about, but obviously i have no fucking clue about Cloud Computing so can't specify much!!

i just made a draft title of "An exploration of the benefits and risks of cloud computing with regards to the hosting of large-scale applications" and hope tutor isn't upset at my progress... :/

any comments on this subject? ill make a post maybe later in the week probably after doing some basic research./..

ideally i want to prototype something rather than do 100% research

Sounds like Eve online using amazon web services AppStream. Pretty much just sophisticated streaming from cloud servers to your mobile/computer.

http://aws.amazon.com/blogs/aws/amazon-appstream-can-improve-the-new-user-experience-for-eve-online/
Nada got Yooned
Prev 1 528 529 530 531 532 1032 Next
Please log in or register to reply.
Live Events Refresh
WardiTV Summer Champion…
12:00
Summer Cup Group C
WardiTV691
IndyStarCraft 122
Rex111
TKL 37
LiquipediaDiscussion
CrankTV Team League
11:00
Crank Gathers S4: Playoffs
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Lowko503
IndyStarCraft 122
Rex 111
TKL 37
StarCraft: Brood War
Rain 6283
Calm 5245
Bisu 1594
BeSt 1019
Zeus 666
Horang2 644
firebathero 608
EffOrt 382
Mini 380
Light 331
[ Show more ]
Shuttle 303
Larva 223
Stork 211
Soulkey 181
Last 159
Snow 139
Rush 128
actioN 125
Hyun 109
Dewaltoss 106
ggaemo 90
Mong 87
Pusan 84
Sea.KH 59
Mind 55
hero 51
ToSsGirL 50
Movie 47
[sc1f]eonzerg 38
sorry 32
Shine 31
Barracks 30
JYJ 26
Sacsri 22
Sharp 21
NaDa 20
Sexy 19
Bale 18
yabsab 18
Yoon 16
JulyZerg 15
IntoTheRainbow 14
HiyA 14
zelot 14
ajuk12(nOOB) 12
Noble 9
Icarus 9
Dota 2
Dendi912
XcaliburYe221
Counter-Strike
fl0m2402
shoxiejesuss1057
markeloff226
byalli103
edward67
Other Games
FrodaN2586
singsing2201
hiko697
B2W.Neo690
crisheroes362
RotterdaM319
uThermal254
Mlord230
OGKoka 201
Sick170
Liquid`LucifroN124
DeMusliM120
Liquid`VortiX94
ArmadaUGS74
CosmosSc2 20
Trikslyr11
Organizations
StarCraft: Brood War
UltimateBattle 27
StarCraft 2
angryscii 18
StarCraft: Brood War
lovetv 12
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 14 non-featured ]
StarCraft 2
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2490
• WagamamaTV431
League of Legends
• Jankos1921
• TFBlade778
Upcoming Events
Replay Cast
10h 30m
Escore
20h 30m
CrankTV Team League
21h 30m
Big Brain Bouts
1d 2h
Soulspirit vs goblin
TriGGeR vs Bunny
OSC
1d 8h
Korean StarCraft League
1d 13h
Afreeca Starleague
1d 14h
RSL Revival
1d 19h
Serral vs SHIN
herO vs Solar
Online Event
2 days
Replay Cast
2 days
[ Show More ]
RSL Revival
2 days
Clem vs ByuN
Rogue vs Lambo
OSC
2 days
WardiTV Weekly
3 days
Sparkling Tuna Cup
4 days
INu's Battles
4 days
Cure vs herO
ByuN vs Rogue
PiGosaur Cup
5 days
The PondCast
5 days
Kung Fu Cup
5 days
Patches Events
6 days
Replay Cast
6 days
CrankTV Team League
6 days
Liquipedia Results

Completed

Proleague 2026-07-22
HSC XXIX
Eternal Conflict S2 E3

Ongoing

CSL 2026 Summer (S21)
KCM Race Survival 2026 Season 3
RSL Revival: Season 6
CranK Gathers Season 4: BW vs SC2 Team League
SCTL 2026 Spring
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026

Upcoming

Escore Tournament S3: W4
ASL S22 SEASON OPEN Day 2
Escore Tournament S3: W5
ASL Season 22: Qualifier #1
ASL Season 22: Qualifier #2
CSLAN 4
ASL Season 22
HSC XXX
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
Light Tournament 2026
Eternal Conflict S2 Finale
ESL Pro League Season 24
Stake Ranked Episode 4
Logitech G Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #5
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 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...

Disclosure: This page contains affiliate marketing links that support TLnet.

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.