• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 02:12
CET 08:12
KST 16:12
  • 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
$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)8Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns6[BSL21] Non-Korean Championship - Starts Jan 103SC2 All-Star Invitational: Jan 17-1822Weekly Cups (Dec 22-28): Classic & MaxPax win, Percival surprises3
StarCraft 2
General
Chinese SC2 server to reopen; live all-star event in Hangzhou Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns SC2 All-Star Invitational: Jan 17-18 Weekly Cups (Dec 22-28): Classic & MaxPax win, Percival surprises Starcraft 2 Zerg Coach
Tourneys
$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) WardiTV Winter Cup WardiTV Mondays SC2 AI Tournament 2026 OSC Season 13 World Championship
Strategy
Simple Questions Simple Answers
Custom Maps
Map Editor closed ?
External Content
Mutation # 507 Well Trained Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes Mutation # 504 Retribution
Brood War
General
Potential ASL qualifier breakthroughs? BGH Auto Balance -> http://bghmmr.eu/ I would like to say something about StarCraft BW General Discussion StarCraft & BroodWar Campaign Speedrun Quest
Tourneys
[Megathread] Daily Proleagues [BSL21] Grand Finals - Sunday 21:00 CET [BSL21] Non-Korean Championship - Starts Jan 10 SLON Grand Finals – Season 2
Strategy
Game Theory for Starcraft Simple Questions, Simple Answers Current Meta [G] How to get started on ladder as a new Z player
Other Games
General Games
Mechabellum Beyond All Reason Stormgate/Frost Giant Megathread Awesome Games Done Quick 2026! General RTS Discussion Thread
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
Community
General
US Politics Mega-thread European Politico-economics QA Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Trading/Investing Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread
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
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
Psychological Factors That D…
TrAiDoS
James Bond movies ranking - pa…
Topin
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1862 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
Spain18178 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
Poland17587 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
AI Arena Tournament
20:00
Swiss - Round 1
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft675
StarCraft: Brood War
Zeus 344
Larva 192
Shuttle 123
Sexy 42
Sacsri 24
Noble 23
Bale 17
Dota 2
NeuroSwarm436
League of Legends
JimRising 767
Counter-Strike
summit1g9071
m0e_tv586
Super Smash Bros
Mew2King94
Other Games
Sick131
RuFF_SC2101
minikerr85
ViBE13
Liquid`Ken6
Organizations
Other Games
gamesdonequick45929
StarCraft: Brood War
UltimateBattle 128
Other Games
BasetradeTV48
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Berry_CruncH146
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Doublelift6627
• Scarra1595
• Lourlo1165
• Stunt409
Upcoming Events
WardiTV Invitational
5h 48m
ByuN vs Percival
Percival vs Rogue
Percival vs Classic
ByuN vs Classic
ByuN vs Rogue
Classic vs Rogue
IPSL
12h 48m
DragOn vs Sziky
Replay Cast
1d 1h
Wardi Open
1d 4h
Monday Night Weeklies
1d 9h
WardiTV Invitational
2 days
WardiTV Invitational
3 days
The PondCast
4 days
All Star Teams
5 days
INnoVation vs soO
sOs vs Scarlett
uThermal 2v2 Circuit
6 days
[ Show More ]
All Star Teams
6 days
MMA vs DongRaeGu
Rogue vs Oliveira
Liquipedia Results

Completed

Proleague 2026-01-10
Big Gabe Cup #3
META Madness #9

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL 21 Non-Korean Championship
OSC Championship Season 13
Underdog Cup #3
NA Kuram Kup
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: W4
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Rongyi Cup S3
Thunderfire SC2 All-star 2025
Nations Cup 2026
BLAST Open Spring 2026
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.