• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 22:16
CET 04:16
KST 12:16
  • 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 Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15[BSL21] Ro.16 Group Stage (C->B->A->D)4Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win3RSL Season 3: RO16 results & RO8 bracket13
StarCraft 2
General
Chinese SC2 server to reopen; live all-star event in Hangzhou Maestros of the Game: Live Finals Preview (RO4) BGE Stara Zagora 2026 announced Weekly Cups (Nov 24-30): MaxPax, Clem, herO win SC2 Proleague Discontinued; SKT, KT, SGK, CJ disband
Tourneys
StarCraft Evolution League (SC Evo Biweekly) RSL Offline Finals Info - Dec 13 and 14! RSL Offline FInals Sea Duckling Open (Global, Bronze-Diamond) $5,000+ WardiTV 2025 Championship
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation
Brood War
General
BW General Discussion Which season is the best in ASL? Data analysis on 70 million replays BGH Auto Balance -> http://bghmmr.eu/ [ASL20] Ask the mapmakers — Drop your questions
Tourneys
[BSL21] RO16 Group D - Sunday 21:00 CET [BSL21] RO16 Group A - Saturday 21:00 CET [Megathread] Daily Proleagues [BSL21] RO16 Group B - Sunday 21:00 CET
Strategy
Current Meta Game Theory for Starcraft How to stay on top of macro? PvZ map balance
Other Games
General Games
ZeroSpace Megathread Stormgate/Frost Giant Megathread Nintendo Switch Thread The Perfect Game Path of Exile
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
Mafia Game Mode Feedback/Ideas TL Mafia Community Thread
Community
General
Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread US Politics Mega-thread The Big Programming Thread Artificial Intelligence Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Where to ask questions and add stream? The Automated Ban List
Blogs
James Bond movies ranking - pa…
Topin
Esports Earnings: Bigger Pri…
TrAiDoS
Thanks for the RSL
Hildegard
Saturation point
Uldridge
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1908 users

The Big Programming Thread - Page 493

Forum Index > General Forum
Post a Reply
Prev 1 491 492 493 494 495 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.
Manit0u
Profile Blog Joined August 2004
Poland17496 Posts
June 24 2014 22:47 GMT
#9841
On June 24 2014 12:11 Nesserev wrote:
Show nested quote +
On June 24 2014 10:56 billy5000 wrote:
Got a question about eclipse. We have a workspace that consists of many projects, and there's a bit of a delay. Ideally, I would like to load a single project on eclipse rather than loading all of them. So instead of the root being the workspace, it would be the project. Is there a way to do this?

Well, I don't think that you can adjust your workspace directory to your project directory, that wouldn't make any sense...
I personally have used two ways to get around your problem:

You can make multiple workspaces, which hold one project respectively, and you can easily switch between workspaces via 'File > Switch Workspace'. You could use an empty directory as the default workspace at start-up. (I'd recommend doing it this way)

Or, you could have a separate folder where you store all of the projects, and then you can just import/export projects via eclipse to your current workspace, which is really easy, but can be intensive (as all files are copied, iirc). Also, there's always the risk that you forget to do something or do something stupid, like forgetting to update the project that is in your directory with projects, or deleting the project that you were sure of that you had already exported it.


That's why you have Git...
Time is precious. Waste it wisely.
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
June 24 2014 23:18 GMT
#9842
--- Nuked ---
CatNzHat
Profile Blog Joined February 2011
United States1599 Posts
June 24 2014 23:40 GMT
#9843
On June 25 2014 08:18 Nesserev wrote:
Show nested quote +
On June 25 2014 07:47 Manit0u wrote:
That's why you have Git...

Yes, but what if you forget to commit

then you deserve to lose all the things.
icystorage
Profile Blog Joined November 2008
Jollibee19350 Posts
June 25 2014 01:23 GMT
#9844
we have a client who wants face comparison on mobile.
it goes on like this,
you take a picture of your id
take a picture of your self (selfie)

then compares it. it's like facial recognition.
my question is if it is feasible in mobile, doesnt facial recognition require some processing power?
LiquidDota StaffAre you ready for a Miracle-? We are! The International 2017 Champions!
tofucake
Profile Blog Joined October 2009
Hyrule19173 Posts
June 25 2014 01:52 GMT
#9845
typically, yes. However, you can maybe kludge it by uploading the pictures from mobile to a server which does the processing and then returns a result.
Liquipediaasante sana squash banana
icystorage
Profile Blog Joined November 2008
Jollibee19350 Posts
June 25 2014 01:54 GMT
#9846
yeah, that's what i'm suggesting right now thanks for the confirmation
LiquidDota StaffAre you ready for a Miracle-? We are! The International 2017 Champions!
aksfjh
Profile Joined November 2010
United States4853 Posts
June 25 2014 01:54 GMT
#9847
On June 25 2014 10:23 icystorage wrote:
we have a client who wants face comparison on mobile.
it goes on like this,
you take a picture of your id
take a picture of your self (selfie)

then compares it. it's like facial recognition.
my question is if it is feasible in mobile, doesnt facial recognition require some processing power?

You have all the processing power you need. The only issue is how long it takes (but honestly, most smart phones are fine doing it).
phar
Profile Joined August 2011
United States1080 Posts
June 25 2014 01:58 GMT
#9848
Are you required to not contact out to a server which can do more of the heavy lifting?
Who after all is today speaking about the destruction of the Armenians?
icystorage
Profile Blog Joined November 2008
Jollibee19350 Posts
June 25 2014 02:00 GMT
#9849
not really, mobile-only was preferred but can do it server-side if needed
LiquidDota StaffAre you ready for a Miracle-? We are! The International 2017 Champions!
rebdomine
Profile Blog Joined October 2010
6040 Posts
June 25 2014 02:58 GMT
#9850
The newer smartphones probably have enough processing power that you won't need to do the recognition processing server-side.

Maybe you can leave it as an option for folks with older phones?
"Just because you are correct doesn't mean you are right!"
billy5000
Profile Blog Joined December 2010
United States865 Posts
June 25 2014 03:45 GMT
#9851
On June 25 2014 11:58 rebdomine wrote:
The newer smartphones probably have enough processing power that you won't need to do the recognition processing server-side.

Maybe you can leave it as an option for folks with older phones?


I'd still opt for a backend since mobile os's aren't so friendly toward resource-hogging apps.
Tiger got to hunt, bird got to fly; Man got to sit and wonder, 'Why, why, why?' Tiger got to sleep, bird got to land; Man got to tell himself he understand. Vonnegut
urboss
Profile Joined September 2013
Austria1223 Posts
June 25 2014 04:02 GMT
#9852
On June 25 2014 10:23 icystorage wrote:
we have a client who wants face comparison on mobile.
it goes on like this,
you take a picture of your id
take a picture of your self (selfie)

then compares it. it's like facial recognition.
my question is if it is feasible in mobile, doesnt facial recognition require some processing power?

That was basically Google Goggles, lol
I'm pretty sure that all their image recognition was done on the server.
Then again, if you don't need to compare to a database of images it's probably faster on the client.

I'm also sure that you can make the algorithm faster if you just need a yes/no answer.
Also mind that there are lots of APIs out there that do the face recognition part for you.
Abominous
Profile Joined March 2013
Croatia1625 Posts
June 25 2014 12:00 GMT
#9853
C# question

I have an MDI Paint app, I've been painting in graphics, copying it to picturebox/bitmap in the ChildForm to save blabla. I have a picturebox spread across my ChildForm.

Question, why doesn't this resizing work?

private void ChildForm_Resize(object sender, EventArgs e)
{
pictureBox1.Width = this.Width;
pictureBox1.Height = this.Height;
}

I'm pretty bad at C#, as you can see.

http://msdn.microsoft.com/en-us/library/system.windows.forms.control.resize(v=vs.110).aspx

I've tried this way as well, does not work.
Abominous
Profile Joined March 2013
Croatia1625 Posts
Last Edited: 2014-06-25 13:21:32
June 25 2014 12:21 GMT
#9854
On June 25 2014 13:02 urboss wrote:
Show nested quote +
On June 25 2014 10:23 icystorage wrote:
we have a client who wants face comparison on mobile.
it goes on like this,
you take a picture of your id
take a picture of your self (selfie)

then compares it. it's like facial recognition.
my question is if it is feasible in mobile, doesnt facial recognition require some processing power?

That was basically Google Goggles, lol
I'm pretty sure that all their image recognition was done on the server.
Then again, if you don't need to compare to a database of images it's probably faster on the client.

I'm also sure that you can make the algorithm faster if you just need a yes/no answer.
Also mind that there are lots of APIs out there that do the face recognition part for you.

I'm not sure about this but the yes/no answer - classification, shouldn't make it any faster, since you still need to compute the resemblance and based on the decided treshold determine the classification.
urboss
Profile Joined September 2013
Austria1223 Posts
Last Edited: 2014-06-25 12:53:47
June 25 2014 12:49 GMT
#9855
yeah you are probably right.
I thought that one could start with the assumption that both images are the same person and then stop the algorithm as soon as it becomes clear that the images are not the same person.
That would save some time for the negatives, but since it is only one image the speed gain is probably only marginal.
supereddie
Profile Joined March 2011
Netherlands151 Posts
June 25 2014 15:36 GMT
#9856
On June 25 2014 21:00 Abominous wrote:
C# question

I have an MDI Paint app, I've been painting in graphics, copying it to picturebox/bitmap in the ChildForm to save blabla. I have a picturebox spread across my ChildForm.

Question, why doesn't this resizing work?

private void ChildForm_Resize(object sender, EventArgs e)
{
pictureBox1.Width = this.Width;
pictureBox1.Height = this.Height;
}

I'm pretty bad at C#, as you can see.

http://msdn.microsoft.com/en-us/library/system.windows.forms.control.resize(v=vs.110).aspx

I've tried this way as well, does not work.

Play around with the SizeMode property of the PictureBox.
"Do not try to make difficult things possible, but make simple things simple." - David Platt on Software Design
MelChizm
Profile Joined November 2010
Netherlands15 Posts
June 25 2014 17:42 GMT
#9857
Dear TL, I have some issues with programming in R, I used my normal sources for help online but I still have a problem, if there is anyone in this thread that is familiar with R, could you please let me know?
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
June 25 2014 17:46 GMT
#9858
On June 26 2014 02:42 MelChizm wrote:
Dear TL, I have some issues with programming in R, I used my normal sources for help online but I still have a problem, if there is anyone in this thread that is familiar with R, could you please let me know?


I think the trend is to ask questions right away. If anyone knows, then they may respond. Otherwise, visit stackoverflow.
MelChizm
Profile Joined November 2010
Netherlands15 Posts
June 25 2014 18:02 GMT
#9859
On June 26 2014 02:46 darkness wrote:
Show nested quote +
On June 26 2014 02:42 MelChizm wrote:
Dear TL, I have some issues with programming in R, I used my normal sources for help online but I still have a problem, if there is anyone in this thread that is familiar with R, could you please let me know?


I think the trend is to ask questions right away. If anyone knows, then they may respond. Otherwise, visit stackoverflow.


ok, my bad.
ComaDose
Profile Blog Joined December 2009
Canada10357 Posts
June 25 2014 21:25 GMT
#9860
lol are you not going to say what your issue is?
BW pros training sc2 is like kiss making a dub step album.
Prev 1 491 492 493 494 495 1032 Next
Please log in or register to reply.
Live Events Refresh
Replay Cast
00:00
WardiTV Mondays #62
CranKy Ducklings161
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nathanias 179
RuFF_SC2 62
StarCraft: Brood War
Artosis 729
Bale 93
Tasteless 88
Shine 43
Icarus 5
Dota 2
monkeys_forever905
NeuroSwarm145
League of Legends
JimRising 583
C9.Mang0318
Counter-Strike
Coldzera 578
Fnx 193
Other Games
summit1g14178
tarik_tv5272
shahzam583
Mew2King98
ViBE87
CosmosSc2 29
ToD22
Organizations
Other Games
gamesdonequick1132
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• Hupsaiya 97
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• RayReign 23
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Doublelift4200
Upcoming Events
The PondCast
6h 44m
OSC
12h 44m
Demi vs Mixu
Nicoract vs TBD
Babymarine vs MindelVK
ForJumy vs TBD
Shameless vs Percival
Replay Cast
20h 44m
Korean StarCraft League
1d 23h
CranKy Ducklings
2 days
WardiTV 2025
2 days
SC Evo League
2 days
BSL 21
2 days
Sziky vs OyAji
Gypsy vs eOnzErG
OSC
2 days
Solar vs Creator
ByuN vs Gerald
Percival vs Babymarine
Moja vs Krystianer
EnDerr vs ForJumy
sebesdes vs Nicoract
Sparkling Tuna Cup
3 days
[ Show More ]
WardiTV 2025
3 days
OSC
3 days
BSL 21
3 days
Bonyth vs StRyKeR
Tarson vs Dandy
Replay Cast
4 days
Wardi Open
4 days
StarCraft2.fi
4 days
Monday Night Weeklies
4 days
Replay Cast
4 days
WardiTV 2025
5 days
StarCraft2.fi
5 days
PiGosaur Monday
5 days
StarCraft2.fi
6 days
Tenacious Turtle Tussle
6 days
Liquipedia Results

Completed

Proleague 2025-11-30
RSL Revival: Season 3
Light HT

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
CSCL: Masked Kings S3
Slon Tour Season 2
Acropolis #4 - TS3
META Madness #9
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
Kuram Kup
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
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 © 2025 TLnet. All Rights Reserved.