• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 22:40
CET 04:40
KST 12:40
  • 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
Behind the Blue - Team Liquid History Book15Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8herO wins SC2 All-Star Invitational14
Community News
ACS replaced by "ASL Season Open" - Starts 21/0220LiuLi Cup: 2025 Grand Finals (Feb 10-16)26Weekly Cups (Feb 2-8): Classic, Solar, MaxPax win2Nexon's StarCraft game could be FPS, led by UMS maker10PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar)14
StarCraft 2
General
How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? Nexon's StarCraft game could be FPS, led by UMS maker Terran Scanner Sweep Behind the Blue - Team Liquid History Book Weekly Cups (Jan 12-18): herO, MaxPax, Solar win
Tourneys
PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) LiuLi Cup: 2025 Grand Finals (Feb 10-16) RSL Season 4 announced for March-April RSL Revival: Season 4 Korea Qualifier (Feb 14) Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
Map Editor closed ? [A] Starcraft Sound Mod
External Content
The PondCast: SC2 News & Results Mutation # 512 Overclocked Mutation # 511 Temple of Rebirth Mutation # 510 Safety Violation
Brood War
General
Which units you wish saw more use in the game? ACS replaced by "ASL Season Open" - Starts 21/02 StarCraft player reflex TE scores [ASL21] Potential Map Candidates Gypsy to Korea
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
Path of Exile Nintendo Switch Thread Diablo 2 thread Battle Aces/David Kim RTS Megathread ZeroSpace 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 Ask and answer stupid questions here! European Politico-economics QA Mega-thread The Games Industry And ATVI Russo-Ukrainian War 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
ADHD And Gaming Addiction…
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: 2196 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
Zurich15361 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
Spain18215 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
Poland17661 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
Replay Cast
00:00
HomeStory Cup 28 - Group C
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RuFF_SC2 241
NeuroSwarm 202
StarCraft: Brood War
JulyZerg 57
910 29
Leta 17
Icarus 5
Dota 2
monkeys_forever599
LuMiX2
League of Legends
JimRising 880
Super Smash Bros
C9.Mang01316
Mew2King72
Other Games
summit1g14113
tarik_tv5678
ToD123
Moletrap8
Organizations
Other Games
gamesdonequick1192
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• davetesta48
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt362
Upcoming Events
Sparkling Tuna Cup
6h 20m
LiuLi Cup
7h 20m
Maru vs Reynor
Serral vs Rogue
Ladder Legends
14h 20m
Replay Cast
20h 20m
Replay Cast
1d 5h
Wardi Open
1d 8h
Monday Night Weeklies
1d 13h
OSC
1d 20h
WardiTV Winter Champion…
2 days
Replay Cast
3 days
[ Show More ]
WardiTV Winter Champion…
3 days
Replay Cast
3 days
PiG Sty Festival
4 days
The PondCast
4 days
KCM Race Survival
4 days
WardiTV Winter Champion…
4 days
Replay Cast
4 days
PiG Sty Festival
5 days
Epic.LAN
5 days
Replay Cast
5 days
PiG Sty Festival
6 days
CranKy Ducklings
6 days
Epic.LAN
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2026-02-14
Rongyi Cup S3
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
LiuLi Cup: 2025 Grand Finals
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
[S:21] ASL SEASON OPEN 2nd Round
[S:21] ASL SEASON OPEN 2nd Round Qualifier
Acropolis #4
IPSL Spring 2026
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.