• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 08:43
CEST 14:43
KST 21:43
  • 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
Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun9[ASL21] Ro8 Preview Pt1: Inheritors16[ASL21] Ro16 Preview Pt2: All Star10Team Liquid Map Contest #22 - The Finalists20[ASL21] Ro16 Preview Pt1: Fresh Flow9
Community News
2026 GSL Season 1 Qualifiers25Maestros of the Game 2 announced92026 GSL Tour plans announced15Weekly Cups (April 6-12): herO doubles, "Villains" prevail1MaNa leaves Team Liquid25
StarCraft 2
General
Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun Team Liquid Map Contest #22 - The Finalists Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool MaNa leaves Team Liquid Maestros of the Game 2 announced
Tourneys
GSL Code S Season 1 (2026) WardiTV Spring Cup RSL Revival: Season 5 - Qualifiers and Main Event SEL Masters #6 - Solar vs Classic (SC: Evo) $5,000 WardiTV TLMC tournament - Presented by Monster Energy
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base Mutation # 521 Memorable Boss
Brood War
General
[TOOL] Starcraft Chat Translator ASL21 General Discussion JaeDong's ASL S21 Ro16 Post-Review Missed out on ASL tickets - what are my options? BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[Megathread] Daily Proleagues Korean KCM Race Survival 2026 Season 2 [ASL21] Ro8 Day 2 [ASL21] Ro8 Day 1
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers What's the deal with APM & what's its true value Any training maps people recommend?
Other Games
General Games
Stormgate/Frost Giant Megathread Daigo vs Menard Best of 10 Nintendo Switch Thread Dawn of War IV Diablo IV
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
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 TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread European Politico-economics QA Mega-thread Russo-Ukrainian War Thread 3D technology/software discussion Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Anime Discussion Thread [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion McBoner: A hockey love story
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Sexual Health Of Gamers
TrAiDoS
lurker extra damage testi…
StaticNine
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2558 users

The Big Programming Thread - Page 942

Forum Index > General Forum
Post a Reply
Prev 1 940 941 942 943 944 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.
Acrofales
Profile Joined August 2010
Spain18280 Posts
January 25 2018 17:37 GMT
#18821
On January 26 2018 02:26 emperorchampion wrote:
So I have a database that is currently an Excel file of about 150 entries (lines), each entry has about 100 or so properties (columns). I want to parse this and make a plain text file to make life easier in the future. The properties are a mix of floats and strings.

Are there any standard formats for storing such data, or should I just go for comma separated? Also for accessing, is looking in SQL overkill for this size of database (i.e., pretty small)?


If it's in excel, it's not a database, it's a spreadsheet. Different data structure.

Given the size, I'm not sure why you think plain text (csv) would be easier than excel to read or parse. The main question is what you want to do with the data. If you want to pull it apart into different entities and relations, then SQL is a good choice. If you want to keep it in a big 150x100 sheet, then a csv, or excel is fine. If your 150 rows are just a test, and you expect to have millions of rows when moving to a production environment, think of more performance oriented solutions such as NoSQL databases.
enigmaticcam
Profile Blog Joined October 2010
United States280 Posts
January 25 2018 18:25 GMT
#18822
Excel is great because it's unstructured. You're free to do whatever you want with the data very quickly with formulas and pivots. However, this is at the cost of control. You can build all kinds of cool stuff, but someone else who doesn't understand the rules of the spreadsheet can come in and mess everything up. So yeah, it depends on what you want to do with the data and how much control you want around it.
Excludos
Profile Blog Joined April 2010
Norway8254 Posts
Last Edited: 2018-01-25 19:01:17
January 25 2018 18:57 GMT
#18823
On January 26 2018 02:37 Acrofales wrote:
Show nested quote +
On January 26 2018 02:26 emperorchampion wrote:
So I have a database that is currently an Excel file of about 150 entries (lines), each entry has about 100 or so properties (columns). I want to parse this and make a plain text file to make life easier in the future. The properties are a mix of floats and strings.

Are there any standard formats for storing such data, or should I just go for comma separated? Also for accessing, is looking in SQL overkill for this size of database (i.e., pretty small)?


If it's in excel, it's not a database, it's a spreadsheet. Different data structure.

Given the size, I'm not sure why you think plain text (csv) would be easier than excel to read or parse. The main question is what you want to do with the data. If you want to pull it apart into different entities and relations, then SQL is a good choice. If you want to keep it in a big 150x100 sheet, then a csv, or excel is fine. If your 150 rows are just a test, and you expect to have millions of rows when moving to a production environment, think of more performance oriented solutions such as NoSQL databases.


Technically, any structured stored type of data can be considered a database, including an excel document. SQLite is literally just a file on the computer after all. Not saying treating an excel doc as a database is in any way reasonable tho But it's nowhere near me at my worst (Which was tens of thousands of lines of data stored in a single .txt file. Rows separated by \n and columns separated by semicolon. It worked but omg was it slow. I can get really stupidly lazy with my small side-projects..)
sc-darkness
Profile Joined August 2017
856 Posts
Last Edited: 2018-01-25 23:02:29
January 25 2018 23:00 GMT
#18824
On January 25 2018 07:53 WolfintheSheep wrote:
Show nested quote +
On January 25 2018 07:45 sc-darkness wrote:
Is anyone into Linux and networking? Could you suggest something to read over the weekend about this topic? Of course, I can google something but I was wondering if there any recommendations. I've just been advised to read about it but no specifics; I doubt TCP and UDP would be enough because they're cross-platform. Maybe something like multicast and IPC protocol?

Given the last assignment you brought up here, I think you need to start asking the right questions to whoever is assigning these tasks to you.

No one wants to feel stupid by having to ask their coworkers the simple questions, but I would much rather have someone ask me for details up front instead of spending a weekend shooting in the dark and hoping they hit the right mark. And, in general, it's a completely applicable skill in almost everything you're going to do. Plan properly first, and then work, don't work without planning.


I have another interview. One of interview's components would involve Linux & networking. That's all they said to me. I guess that would defeat the purpose of interview if they tell you everything they're going to ask you about. Either way, I can find my way on Linux, but it's the networking part which I find difficult to guess. I guess I just have to read a little bit of basic things and see how it goes.

Thanks for help everyone else.
Silvanel
Profile Blog Joined March 2003
Poland4751 Posts
Last Edited: 2018-01-26 11:45:43
January 26 2018 11:43 GMT
#18825
So i want to share story of frustartion and joy and also an advice.
Since few weeks i am automating tests of one of our modules. This has two main parts: the web part and hardware part. For web part i am using selenium and it was frustrating but managable. I pulled trough and made it work. Then i moved to hardware part. And oh boy that was HARD. First huge obstacle was finding proper CAN messages to send (in order to invoke desired functions on hardware). That was tiresome but i also managed. And then i hit a wall. I succesfuly injected messages on CAN, but there was no reaction. For last three days i tried mutiple different things and to no avail. I promised myself that if i dont manage to do it until end of week i will switch to difrent aproach --> circumvent CAN network entirely. And today i came to work broken and without hope. Made one last try and i noticed something about setting that made me wonder and also set me in right direction. Then i made some inquiries (not the first time but right now i knew where to look) and i found out the source of error. It was something absolutely basic. During the development they changed baud rate of one of CAN networks. And i didnt notice it is wrong because i used sample configuration for our project and in this configuration it is still the baud rate before changes, so not correct right now. Configuation wasnt updated (or perhaps it was but in the source from which i downloaded it wasnt). And until today i didnt question the configuration, it "should be ok" i assumed. Afterall it is official configuration.

Once i changed baudrate of injected messages it all works very smothly. I wasted three days and become so frustrated during the process....
But now i am SOOOO happy. IT WORKS!. I still have a lot of work ahead of me but overcoming major obstacle is always so rewarding,

So i have an advice. If it doesnt work and You ahve no idead why,m start with checking the vary basic things and move up. Not the other way around.
Pathetic Greta hater.
phar
Profile Joined August 2011
United States1080 Posts
Last Edited: 2018-01-27 05:21:25
January 27 2018 05:20 GMT
#18826
Ha thanks for that, I needed a reminder why I abandoned EE for greener pastures

I know what you mean once it finally works though.
Who after all is today speaking about the destruction of the Armenians?
sc-darkness
Profile Joined August 2017
856 Posts
January 29 2018 07:22 GMT
#18827
Woke up earlier for an interview. It turns out it was scheduled for tomorrow when I have another interview. I had to apologise and reschedule it for another day. :D

Conclusion: Add your events to calendar as soon as possible. Don't delay it for too long.
WarSame
Profile Blog Joined February 2010
Canada1950 Posts
January 30 2018 03:49 GMT
#18828
On January 25 2018 04:05 WarSame wrote:
Show nested quote +
On January 10 2018 01:00 Hanh wrote:
On January 09 2018 04:39 WarSame wrote:
On January 09 2018 03:29 Excludos wrote:
I'm more confused to what he's actually trying to do. Why would an app ever require access to a private wallet?

For the app's author to divert your money into his own wallet :-)


Every crypto wallet app has a private wallet unless they delegate to an external client. If done properly, offline signing is safer than trusting some service to manage your keys.

If it was my app, I would use web3j wallet management https://docs.web3j.io/transactions.html#creating-and-working-with-wallet-files
Your app has a receiving address and you can top it off by transferring from your bigger stash.

I don't see the point of the guys who are bashing the security of your app. It seems fine considering that it aims to protect a wallet held on a phone and what they say seems not applicable in this context. I'd look into the fingerprint api that links with the keystore.

How about
1. generate a long random string as the wallet password
2. generate a keypair in the keystore
3. encrypt (1) with (2)
4. store the result in a db
5. link (2) to finger print auth


Thanks for this post. I've been trying to implement wallets for my app, rather than ask for their private key, and this really is helping me clear up how my understanding of how to do that properly. Especially the idea of having a "proxy" account with my app that they just transfer some ETH to.

I've been following up on this and ran into some snags:

1, I don't have a fingerprint scanner
2. If you hide your long random string behind a KeyStore protection like fingerprints or a PIN, those keys get permanently deleted if you remove your protection. Since I am generating an Ethereum wallet file, losing the key would be very bad. Does anyone know a good way around that?
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
Hanh
Profile Joined June 2016
146 Posts
January 30 2018 04:43 GMT
#18829
Standard practice is to offer backup/restore of the key and remind the user until he does.
sc-darkness
Profile Joined August 2017
856 Posts
January 30 2018 22:49 GMT
#18830
Well, I've got an offer and I've accepted it. I'm so glad it's going to be C++ again, I'm looking forward to become even better at it. I don't mind other languages though.
phar
Profile Joined August 2011
United States1080 Posts
January 31 2018 16:30 GMT
#18831
Grats
Who after all is today speaking about the destruction of the Armenians?
Lmui
Profile Joined November 2010
Canada6223 Posts
January 31 2018 16:41 GMT
#18832
On January 31 2018 07:49 sc-darkness wrote:
Well, I've got an offer and I've accepted it. I'm so glad it's going to be C++ again, I'm looking forward to become even better at it. I don't mind other languages though.


Congrats.

The first few positions are the hardest, once you have a fair mastery level of one coding language, and one scripting language, a lot more opportunities open up.
WarSame
Profile Blog Joined February 2010
Canada1950 Posts
January 31 2018 17:11 GMT
#18833
On January 30 2018 13:43 Hanh wrote:
Standard practice is to offer backup/restore of the key and remind the user until he does.

Thank you, Mr. Hanh! I was hoping there was a more elegant solution, but thought this might be the way around it.
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
nunez
Profile Blog Joined February 2011
Norway4003 Posts
January 31 2018 18:35 GMT
#18834
gj darkness, c++ is a dream.
conspired against by a confederacy of dunces.
sc-darkness
Profile Joined August 2017
856 Posts
February 01 2018 00:03 GMT
#18835
Thanks guys. Yeah, C++ is such a nice language when you consider C++11 and 14. I probably have to start learning C++17 at some point.
nunez
Profile Blog Joined February 2011
Norway4003 Posts
February 01 2018 05:48 GMT
#18836
yes, automatic class template argument deduction! and c++20! concepts! hopefully! already been using it for a while with gcc, i love it.
conspired against by a confederacy of dunces.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
February 01 2018 06:33 GMT
#18837
honestly though sometimes I feel C++ 14 and beyond is completely incomprehensible colon colon life


grats darkness
There is no one like you in the universe.
Manit0u
Profile Blog Joined August 2004
Poland17740 Posts
February 01 2018 23:42 GMT
#18838
On February 01 2018 15:33 Blisse wrote:
honestly though sometimes I feel C++ 14 and beyond is completely incomprehensible colon colon life


grats darkness


There's too much meta-programming with templates and operator overloading everywhere in C++ nowadays. Makes reading the code super confusing and way too abstract if you haven't been following it for some time. At least in my opinion.
Time is precious. Waste it wisely.
ShoCkeyy
Profile Blog Joined July 2008
7815 Posts
Last Edited: 2018-02-02 04:56:29
February 02 2018 04:55 GMT
#18839
Ughh, I've been trying to open a VS project in VS Code OSX for the past few hours. It's been quite rough since the C# extension can't find Microsoft/VisualStudio/v10.0/WebApplications/Microsoft.WebApplication.targets - I can see it calling the wrong directory, and the funny thing is, this was suppose to be fixed as mentioned here:

https://github.com/OmniSharp/omnisharp-vscode/issues/1597

I'm assuming it has to do with my .NET CLI version. I'm running 1.1.7, while .NET 2 is out. This is the problem of running a hackintosh. Trying to update everything so I can run different frameworks lol.
Life?
Silvanel
Profile Blog Joined March 2003
Poland4751 Posts
February 02 2018 16:15 GMT
#18840
So i started learning C#. Not that i have other choice since company framework i need to use is exclusively written for C#. Any advices for beginner? (The only language i know already is Python).
Pathetic Greta hater.
Prev 1 940 941 942 943 944 1032 Next
Please log in or register to reply.
Live Events Refresh
Big Gabe
12:00
Big Gabe Open #1
mouzHeroMarine486
IndyStarCraft 103
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 433
Ryung 225
IndyStarCraft 103
herO (SOOP) 26
Rex 23
StarCraft: Brood War
Calm 4785
Sea 2446
Jaedong 1421
EffOrt 873
HiyA 836
Hyuk 487
Soma 437
Stork 368
Snow 331
Light 287
[ Show more ]
ggaemo 269
actioN 247
Zeus 185
Soulkey 174
Last 169
ToSsGirL 167
ZerO 162
Rush 158
firebathero 128
Larva 75
hero 72
Pusan 68
Sharp 63
sSak 57
Mini 57
Sea.KH 45
Barracks 34
yabsab 30
Backho 28
Terrorterran 27
Sacsri 26
Shine 25
Free 23
Bale 21
soO 20
Movie 17
sorry 17
Shinee 15
Noble 15
Sexy 14
IntoTheRainbow 14
GoRush 11
scan(afreeca) 10
Dota 2
XaKoH 462
ODPixel87
BananaSlamJamma78
Counter-Strike
olofmeister2996
zeus620
x6flipin605
markeloff156
edward77
Other Games
singsing1930
B2W.Neo1325
Lowko363
hiko360
DeMusliM290
crisheroes278
Livibee23
ZerO(Twitch)11
Organizations
StarCraft: Brood War
UltimateBattle 902
StarCraft 2
IntoTheiNu 154
Dota 2
PGL Dota 2 - Main Stream73
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 14 non-featured ]
StarCraft 2
• CranKy Ducklings SOOP33
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV349
League of Legends
• Jankos1301
• TFBlade1141
Upcoming Events
Replay Cast
20h 17m
Escore
21h 17m
OSC
1d
Replay Cast
1d 11h
Replay Cast
1d 20h
RSL Revival
1d 21h
Classic vs GgMaChine
Rogue vs Maru
WardiTV Invitational
1d 22h
IPSL
2 days
Ret vs Art_Of_Turtle
Radley vs TBD
BSL
2 days
Replay Cast
2 days
[ Show More ]
RSL Revival
2 days
herO vs TriGGeR
NightMare vs Solar
uThermal 2v2 Circuit
3 days
BSL
3 days
IPSL
3 days
eOnzErG vs TBD
G5 vs Nesh
Patches Events
3 days
Replay Cast
3 days
Wardi Open
3 days
Afreeca Starleague
3 days
Jaedong vs Light
Monday Night Weeklies
4 days
Replay Cast
4 days
Sparkling Tuna Cup
4 days
Afreeca Starleague
4 days
Snow vs Flash
WardiTV Invitational
4 days
GSL
5 days
Classic vs Cure
Maru vs Rogue
GSL
6 days
SHIN vs Zoun
ByuN vs herO
Liquipedia Results

Completed

Proleague 2026-04-28
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
StarCraft2 Community Team League 2026 Spring
2026 GSL S1
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026

Upcoming

Escore Tournament S2: W5
KK 2v2 League Season 1
Acropolis #4
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
RSL Revival: Season 5
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 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...

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.