• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 07:03
CET 13:03
KST 21:03
  • 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
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
[BSL21] Non-Korean Championship - Starts Jan 100SC2 All-Star Invitational: Jan 17-1819Weekly Cups (Dec 22-28): Classic & MaxPax win, Percival surprises2Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies3ComeBackTV's documentary on Byun's Career !11
StarCraft 2
General
SC2 All-Star Invitational: Jan 17-18 Weekly Cups (Dec 22-28): Classic & MaxPax win, Percival surprises Chinese SC2 server to reopen; live all-star event in Hangzhou Starcraft 2 Zerg Coach ComeBackTV's documentary on Byun's Career !
Tourneys
OSC Season 13 World Championship WardiTV Mondays $5,000+ WardiTV 2025 Championship $100 Prize Pool - Winter Warp Gate Masters Showdow Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes Mutation # 504 Retribution Mutation # 503 Fowl Play
Brood War
General
I would like to say something about StarCraft A cwal.gg Extension - Easily keep track of anyone BGH Auto Balance -> http://bghmmr.eu/ (UMS) SWITCHEROO *New* /Destination Edit/ What monitor do you use for playing Remastered?
Tourneys
SLON Grand Finals – Season 2 [BSL21] Non-Korean Championship - Starts Jan 10 [Megathread] Daily Proleagues [BSL21] Grand Finals - Sunday 21:00 CET
Strategy
Simple Questions, Simple Answers Current Meta [G] How to get started on ladder as a new Z player Fighting Spirit mining rates
Other Games
General Games
General RTS Discussion Thread Nintendo Switch Thread Awesome Games Done Quick 2026! Stormgate/Frost Giant Megathread Mechabellum
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 Survivor II: The Amazon Sengoku Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Canadian Politics Mega-thread The Games Industry And ATVI 12 Days of Starcraft
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List TL+ Announced
Blogs
National Diversity: A Challe…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1331 users

The Big Programming Thread - Page 751

Forum Index > General Forum
Post a Reply
Prev 1 749 750 751 752 753 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.
zatic
Profile Blog Joined September 2007
Zurich15358 Posts
August 08 2016 13:14 GMT
#15001
On August 08 2016 22:10 WhiteDog wrote:
Show nested quote +
On August 08 2016 21:46 tofucake wrote:
Nah, they usually delete the key after a couple days and it's gone forever

And without the key, uncrypting the files is impossible, even in two or three years ?

Pretty much impossible, yes. You basically would have to wait until quantum computers or something similarly silly are a common thing.

I am afraid you have the option between the 500 bucks and the whiskey.
ModeratorI know Teamliquid is known as a massive building
WhiteDog
Profile Blog Joined November 2010
France8650 Posts
August 08 2016 13:21 GMT
#15002
On August 08 2016 22:14 zatic wrote:
Show nested quote +
On August 08 2016 22:10 WhiteDog wrote:
On August 08 2016 21:46 tofucake wrote:
Nah, they usually delete the key after a couple days and it's gone forever

And without the key, uncrypting the files is impossible, even in two or three years ?

Pretty much impossible, yes. You basically would have to wait until quantum computers or something similarly silly are a common thing.

I am afraid you have the option between the 500 bucks and the whiskey.

I'll buy myself 30€ of marijuana and wash everything up.
"every time WhiteDog overuses the word "seriously" in a comment I can make an observation on his fragile emotional state." MoltkeWarding
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
Last Edited: 2016-08-08 13:47:42
August 08 2016 13:33 GMT
#15003
--- Nuked ---
WhiteDog
Profile Blog Joined November 2010
France8650 Posts
Last Edited: 2016-08-08 13:40:03
August 08 2016 13:38 GMT
#15004
On August 08 2016 22:33 Nesserev wrote:
No back-ups?

Rule 1: Always make back-ups.
Rule 2: Always make back-ups.
...

I have an external hard drive with everything copied on, and various back ups on USBs, but, coincidently, my external hard drive was plugged into my computer and got encrypted too.

My fault anyway, should never have downloaded this shit movie. I was not aware this kind of virus existed too...
"every time WhiteDog overuses the word "seriously" in a comment I can make an observation on his fragile emotional state." MoltkeWarding
Acrofales
Profile Joined August 2010
Spain18160 Posts
August 08 2016 14:34 GMT
#15005
On August 08 2016 21:44 WhiteDog wrote:
I want anybody's advice.

Basically, according to everything I've read, I can't get that data unless I pay the ransom, which is 500 USD (that I don't have). Anybody have some knowledge on the subject and give me his point of view ? It's dead ? Should I keep the datas somewhere ? Or should I format everything, drink some whisky, and accept my idiocy ?

Unfortunately, this is correct. Or you could keep it around and wait for quantum computing to catch up, at which point you can probably decrypt it before the heat death of the universe. But with current tech, that's not possible. Cerber seems to be a nasty piece of work without any obvious workarounds, so you are screwed
Djagulingu
Profile Blog Joined December 2010
Germany3605 Posts
August 08 2016 14:49 GMT
#15006
On August 08 2016 20:08 nnn_thekushmountains wrote:
Show nested quote +
On August 08 2016 17:09 Djagulingu wrote:
On August 08 2016 07:02 nnn_thekushmountains wrote:
I used express and mongodb to make a single page app.
When the page loads, a bunch of information comes from the database through the view (EJS) into static javascript, where it is used.
Google maps does some stuff with the information.
Every 10 seconds, I am POSTing new information back to the server side to be stored in the database.

Is this bad? From the users end, it looks like the page is constantly loading. Do I need to start using websockets (socket.io)?

If you post shit on the UI thread (which you do), user thinks that page is constantly loading.

Solution: Use background threads, in other words, workers.

https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers


This looks like a good solution. The only problem is that my digital ocean $5/month server only has one worker.

That has nothing to do with the amount of workers of the digital ocean $5/month droplets. Those worker threads work on the client side, not on your server. The only thing that your server will do is write the lat-long locations whenever it receives an update.

What will happen on your client is: Client will have seperate threads for UI rendering and updating the server and because of this fact, your browser won't think that you are rendering the UI whenever you update the server.
"windows bash is a steaming heap of shit" tofucake
WhiteDog
Profile Blog Joined November 2010
France8650 Posts
Last Edited: 2016-08-08 16:05:29
August 08 2016 15:55 GMT
#15007
On August 08 2016 23:34 Acrofales wrote:
Show nested quote +
On August 08 2016 21:44 WhiteDog wrote:
I want anybody's advice.

Basically, according to everything I've read, I can't get that data unless I pay the ransom, which is 500 USD (that I don't have). Anybody have some knowledge on the subject and give me his point of view ? It's dead ? Should I keep the datas somewhere ? Or should I format everything, drink some whisky, and accept my idiocy ?

Unfortunately, this is correct. Or you could keep it around and wait for quantum computing to catch up, at which point you can probably decrypt it before the heat death of the universe. But with current tech, that's not possible. Cerber seems to be a nasty piece of work without any obvious workarounds, so you are screwed

Yeah.

Tho I'm cracking up right now. I figured out most of my files where backed up in another old computer (it's a save from last year but it's pretty complete, I just miss my recent work). But I'm receiving mails from colleagues because cerber encrypted the dropbox.

Seriously I was pissed, now I'm just laughing.
"every time WhiteDog overuses the word "seriously" in a comment I can make an observation on his fragile emotional state." MoltkeWarding
emperorchampion
Profile Blog Joined December 2008
Canada9496 Posts
Last Edited: 2016-08-08 16:18:02
August 08 2016 16:15 GMT
#15008
On August 09 2016 00:55 WhiteDog wrote:
Show nested quote +
On August 08 2016 23:34 Acrofales wrote:
On August 08 2016 21:44 WhiteDog wrote:
I want anybody's advice.

Basically, according to everything I've read, I can't get that data unless I pay the ransom, which is 500 USD (that I don't have). Anybody have some knowledge on the subject and give me his point of view ? It's dead ? Should I keep the datas somewhere ? Or should I format everything, drink some whisky, and accept my idiocy ?

Unfortunately, this is correct. Or you could keep it around and wait for quantum computing to catch up, at which point you can probably decrypt it before the heat death of the universe. But with current tech, that's not possible. Cerber seems to be a nasty piece of work without any obvious workarounds, so you are screwed

Yeah.

Tho I'm cracking up right now. I figured out most of my files where backed up in another old computer (it's a save from last year but it's pretty complete, I just miss my recent work). But I'm receiving mails from colleagues because cerber encrypted the dropbox.

Seriously I was pissed, now I'm just laughing.


I think you can recover old file versions from dropbox, they shouldn't be encrypted as well

edit: not really sure how extensive the dropbox file history is, probably not on the level of git. You can try I guess, just go to the web version -> right click file -> previous versions
TRUEESPORTS || your days as a respected member of team liquid are over
WhiteDog
Profile Blog Joined November 2010
France8650 Posts
August 08 2016 16:29 GMT
#15009
On August 09 2016 01:15 emperorchampion wrote:
Show nested quote +
On August 09 2016 00:55 WhiteDog wrote:
On August 08 2016 23:34 Acrofales wrote:
On August 08 2016 21:44 WhiteDog wrote:
I want anybody's advice.

Basically, according to everything I've read, I can't get that data unless I pay the ransom, which is 500 USD (that I don't have). Anybody have some knowledge on the subject and give me his point of view ? It's dead ? Should I keep the datas somewhere ? Or should I format everything, drink some whisky, and accept my idiocy ?

Unfortunately, this is correct. Or you could keep it around and wait for quantum computing to catch up, at which point you can probably decrypt it before the heat death of the universe. But with current tech, that's not possible. Cerber seems to be a nasty piece of work without any obvious workarounds, so you are screwed

Yeah.

Tho I'm cracking up right now. I figured out most of my files where backed up in another old computer (it's a save from last year but it's pretty complete, I just miss my recent work). But I'm receiving mails from colleagues because cerber encrypted the dropbox.

Seriously I was pissed, now I'm just laughing.


I think you can recover old file versions from dropbox, they shouldn't be encrypted as well

edit: not really sure how extensive the dropbox file history is, probably not on the level of git. You can try I guess, just go to the web version -> right click file -> previous versions

It works ! There's tons of files (we're like 20 on this dropbox) to restore tho. Thanks buddy.
"every time WhiteDog overuses the word "seriously" in a comment I can make an observation on his fragile emotional state." MoltkeWarding
emperorchampion
Profile Blog Joined December 2008
Canada9496 Posts
August 08 2016 16:33 GMT
#15010
On August 09 2016 01:29 WhiteDog wrote:
Show nested quote +
On August 09 2016 01:15 emperorchampion wrote:
On August 09 2016 00:55 WhiteDog wrote:
On August 08 2016 23:34 Acrofales wrote:
On August 08 2016 21:44 WhiteDog wrote:
I want anybody's advice.

Basically, according to everything I've read, I can't get that data unless I pay the ransom, which is 500 USD (that I don't have). Anybody have some knowledge on the subject and give me his point of view ? It's dead ? Should I keep the datas somewhere ? Or should I format everything, drink some whisky, and accept my idiocy ?

Unfortunately, this is correct. Or you could keep it around and wait for quantum computing to catch up, at which point you can probably decrypt it before the heat death of the universe. But with current tech, that's not possible. Cerber seems to be a nasty piece of work without any obvious workarounds, so you are screwed

Yeah.

Tho I'm cracking up right now. I figured out most of my files where backed up in another old computer (it's a save from last year but it's pretty complete, I just miss my recent work). But I'm receiving mails from colleagues because cerber encrypted the dropbox.

Seriously I was pissed, now I'm just laughing.


I think you can recover old file versions from dropbox, they shouldn't be encrypted as well

edit: not really sure how extensive the dropbox file history is, probably not on the level of git. You can try I guess, just go to the web version -> right click file -> previous versions

It works ! There's tons of files (we're like 20 on this dropbox) to restore tho. Thanks buddy.


No problem I'm glad to hear it works, this is some scary stuff! Not sure if dropbox has some bulk previous restore function that could help. Make sure to quarantine the infected computer!
TRUEESPORTS || your days as a respected member of team liquid are over
emperorchampion
Profile Blog Joined December 2008
Canada9496 Posts
August 08 2016 16:39 GMT
#15011
Also if you were using OneDrive for your other files you can do similar stuff for recovering those as well.
TRUEESPORTS || your days as a respected member of team liquid are over
-Zoda-
Profile Blog Joined April 2011
France3578 Posts
August 08 2016 17:32 GMT
#15012
Not long ago I saw a guy on twitter who allegedly spoofed a ransomware, manually sending to the bad guy's server a request that said the bitcoins were cashed in, the encryption key came right back.
Maybe you can try something like that if you're good at wireshark. x)
♪ 最初はi つなぐdo それ つまりlife 常に移動 ♪ - IGN: Uhryks
WhiteDog
Profile Blog Joined November 2010
France8650 Posts
Last Edited: 2016-08-08 19:17:27
August 08 2016 18:22 GMT
#15013
I restored all the files in the dropbox ... three hours later ...
I told to the ransom support that I couldn't pay and they offered me a 20 % discount. So nice, such nice guys really. So now I only need to pay for 400 € approximatly. I answered that I was poor and shit, I had no tooth and all, and that I didn't have even one euro to spare. They will certainly listen their hearts and propose me a bigger discount ....
"every time WhiteDog overuses the word "seriously" in a comment I can make an observation on his fragile emotional state." MoltkeWarding
ShoCkeyy
Profile Blog Joined July 2008
7815 Posts
Last Edited: 2016-08-08 18:30:52
August 08 2016 18:29 GMT
#15014
Glad you got most of your stuff back, the rest of it will have to call it a day. Sad though, I hate when I lose files like that... Normally I see ransomware targeted towards companies, since it's $500 for each computer they infect... But Dropbox always saves the day, and I don't typically download movies/music anymore... Also having a Mac helps fight a lot of these viruses/malware off.
Life?
Manit0u
Profile Blog Joined August 2004
Poland17557 Posts
August 08 2016 20:13 GMT
#15015
On August 08 2016 22:33 Nesserev wrote:
No back-ups?

Rule 1: Always make back-ups.
Rule 2: Always make back-ups.


I guess you messed up the quote a bit. The original version is:


There are 2 types of sysadmin:
1. Those who make back-ups.
2. Those who will make back-ups.
Time is precious. Waste it wisely.
bangsholt
Profile Joined June 2011
Denmark138 Posts
August 08 2016 20:38 GMT
#15016
On August 09 2016 03:22 WhiteDog wrote:
I restored all the files in the dropbox ... three hours later ...
I told to the ransom support that I couldn't pay and they offered me a 20 % discount. So nice, such nice guys really. So now I only need to pay for 400 € approximatly. I answered that I was poor and shit, I had no tooth and all, and that I didn't have even one euro to spare. They will certainly listen their hearts and propose me a bigger discount ....


Have a look at this thread, maybe it will help.

https://www.quora.com/How-do-I-remove-cerber-ransomware-virus-and-restore-the-files
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
August 09 2016 00:06 GMT
#15017
--- Nuked ---
bardtown
Profile Joined June 2011
England2313 Posts
Last Edited: 2016-08-09 10:15:51
August 09 2016 10:15 GMT
#15018
I'll probably be here with a bunch of stupid questions over the coming days. Doing a simple voluntary project in Python and I am still, essentially, useless.

I am trying to read data from a .csv file. The example code creates a csv.reader and then uses the following to iterate over rows:

...     spamreader = csv.reader(csvfile, delimiter=' ', quotechar='|')
... for row in spamreader:
... print ', '.join(row)


How can I access rows directly? For example, I want to exclude the first row as it consists of column headers, not actual data. I also want to be able to access individual rows (row 44, for example). Do I need to use this loop to create some dictionary and index them myself, or is there a simpler way? spamreader.row[0] is apparently not a thing.
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
August 09 2016 10:44 GMT
#15019
--- Nuked ---
WhiteDog
Profile Blog Joined November 2010
France8650 Posts
Last Edited: 2016-08-09 12:54:51
August 09 2016 12:51 GMT
#15020
On August 09 2016 05:38 bangsholt wrote:
Show nested quote +
On August 09 2016 03:22 WhiteDog wrote:
I restored all the files in the dropbox ... three hours later ...
I told to the ransom support that I couldn't pay and they offered me a 20 % discount. So nice, such nice guys really. So now I only need to pay for 400 € approximatly. I answered that I was poor and shit, I had no tooth and all, and that I didn't have even one euro to spare. They will certainly listen their hearts and propose me a bigger discount ....


Have a look at this thread, maybe it will help.

https://www.quora.com/How-do-I-remove-cerber-ransomware-virus-and-restore-the-files

There is actually a decryptor made by Trend Micro that works partially for cerber v1 (which is what I have). I'm running it right now, but if anybody is as dumb as me, or know someone as dumb as me, then you'll know that there is a partial free solution at the moment.

https://success.trendmicro.com/portal_kb_articledetail?solutionid=1114221

Apparently the cerber encryption is flawed at some point, so you can decrypt the files if the program is able able to find the first file that was encrypted. The more microprocessor you have, the less the decryptor is efficient tho, so funnily enough it is easier to decrypt cerber on a shit PC than on a good one.

CERBER decryption must be executed on the infected machine itself (as opposed to another machine) since the tool needs to try and locate the first infected file for a critical decryption calculation.

Due to the method of decryption for CERBER, the tool may take several hours (average is 4) to complete decryption on a standard Intel i5 dual-core machine. In addition, the encryption logic for CERBER also is built in such a way that the more cores a CPU has, the lower percentage chance of success for the decryption because of its complexity.

Similar to some other types of ransomware encryption, some files may be only partially decrypted and may require a subsequent file repair.
"every time WhiteDog overuses the word "seriously" in a comment I can make an observation on his fragile emotional state." MoltkeWarding
Prev 1 749 750 751 752 753 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 57m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SortOf 234
StarCraft: Brood War
PianO 2003
Horang2 1517
Shuttle 1007
Jaedong 797
Larva 640
Stork 501
Soma 354
actioN 320
Light 320
Mini 276
[ Show more ]
EffOrt 250
Mong 233
ZerO 142
Hyuk 140
sorry 133
hero 130
Snow 101
ggaemo 99
Pusan 99
Sharp 92
Hyun 80
Killer 71
Rush 63
Barracks 62
JYJ 50
ToSsGirL 45
Sea.KH 31
Icarus 25
zelot 24
ajuk12(nOOB) 21
soO 19
yabsab 17
Noble 14
Terrorterran 14
HiyA 10
scan(afreeca) 10
Sacsri 9
GoRush 7
Shine 5
Dota 2
syndereN470
NeuroSwarm92
League of Legends
C9.Mang0493
Counter-Strike
x6flipin567
Other Games
B2W.Neo1576
singsing838
Fuzer 243
ZerO(Twitch)23
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• LUISG 23
• Adnapsc2 18
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos2683
• Stunt615
• Nemesis246
Upcoming Events
OSC
57m
Korean StarCraft League
14h 57m
OSC
23h 57m
IPSL
1d 1h
Dewalt vs Bonyth
OSC
1d 5h
OSC
1d 23h
uThermal 2v2 Circuit
2 days
Replay Cast
2 days
Patches Events
3 days
OSC
3 days
[ Show More ]
OSC
4 days
OSC
6 days
Liquipedia Results

Completed

C-Race Season 1
WardiTV 2025
META Madness #9

Ongoing

IPSL Winter 2025-26
BSL Season 21
Slon Tour Season 2
CSL Season 19: Qualifier 2
Escore Tournament S1: W2
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025

Upcoming

CSL 2025 WINTER (S19)
Escore Tournament S1: W3
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Thunderfire SC2 All-star 2025
Big Gabe Cup #3
OSC Championship Season 13
Nations Cup 2026
Underdog Cup #3
NA Kuram Kup
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
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.