• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 04:14
CEST 10:14
KST 17:14
  • 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 - RO8 Preview4[ASL21] Ro8 Preview Pt2: Progenitors8Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun13[ASL21] Ro8 Preview Pt1: Inheritors16[ASL21] Ro16 Preview Pt2: All Star10
Community News
Maestros of The Game 2 announcement and schedule !7Weekly Cups (April 27-May 4): Clem takes triple0RSL Revival: Season 5 - Qualifiers and Main Event12Code S Season 1 (2026) - RO12 Results12026 GSL Season 1 Qualifiers25
StarCraft 2
General
How Proper Notes Improve CA Inter Preparation Code S Season 1 - RO8 Preview Behind the Blue - Team Liquid History Book Weekly Cups (April 27-May 4): Clem takes triple Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool
Tourneys
Maestros of The Game 2 announcement and schedule ! GSL Code S Season 1 (2026) Sea Duckling Open (Global, Bronze-Diamond) RSL Revival: Season 5 - Qualifiers and Main Event Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players
External Content
Mutation # 524 Death and Taxes The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base
Brood War
General
Quality of life changes in BW that you will like ? RepMastered™: replay sharing and analyzer site Tulbo's ASL S21 Ro8 Post-Review Why there arent any 256x256 pro maps? Do we have a pimpest plays list?
Tourneys
Escore Tournament StarCraft Season 2 [ASL21] Ro8 Day 4 [Megathread] Daily Proleagues Small VOD Thread 2.0
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates 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 Path of Exile Nintendo Switch Thread OutLive 25 (RTS Game)
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
The Letting Off Steam Thread US Politics Mega-thread European Politico-economics QA Mega-thread UK Politics Mega-thread Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Formula 1 Discussion
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
How EEG Data Can Predict Gam…
TrAiDoS
ramps on octagon
StaticNine
Funny Nicknames
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1257 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
Poland17743 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
Hyrule19210 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
Next event in 1h 46m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Calm 7282
Zeus 197
ToSsGirL 170
Backho 89
actioN 87
PianO 78
910 58
Shinee 54
JulyZerg 38
Mong 23
[ Show more ]
yabsab 21
Shine 18
Mind 17
GoRush 15
Sacsri 11
ZergMaN 8
SilentControl 5
Dota 2
NeuroSwarm202
League of Legends
JimRising 582
Counter-Strike
Stewie2K842
Super Smash Bros
hungrybox679
Other Games
summit1g7040
C9.Mang0327
monkeys_forever293
KnowMe50
Organizations
Counter-Strike
PGL15681
Other Games
gamesdonequick2327
StarCraft: Brood War
lovetv 12
StarCraft 2
ComeBackTV 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 15 non-featured ]
StarCraft 2
• Sammyuel 54
• LUISG 21
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo900
• Jankos717
• Stunt648
Upcoming Events
CranKy Ducklings
1h 46m
RSL Revival
1h 46m
SHIN vs Bunny
ByuN vs Shameless
WardiTV Invitational
2h 46m
Krystianer vs TriGGeR
Cure vs Rogue
SC Evo League
4h 46m
uThermal 2v2 Circuit
6h 46m
BSL
10h 46m
Artosis vs TerrOr
spx vs StRyKeR
Replay Cast
15h 46m
Sparkling Tuna Cup
1d 1h
RSL Revival
1d 1h
Cure vs Zoun
Clem vs Lambo
WardiTV Invitational
1d 2h
[ Show More ]
BSL
1d 10h
Dewalt vs DragOn
Aether vs Jimin
GSL
1d 23h
Afreeca Starleague
2 days
Soma vs Leta
Wardi Open
2 days
Monday Night Weeklies
2 days
OSC
2 days
CranKy Ducklings
3 days
Afreeca Starleague
3 days
Light vs Flash
Replay Cast
4 days
Replay Cast
4 days
The PondCast
5 days
Replay Cast
5 days
RSL Revival
6 days
Korean StarCraft League
6 days
Liquipedia Results

Completed

Escore Tournament S2: W6
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
Acropolis #4
KK 2v2 League Season 1
SCTL 2026 Spring
RSL Revival: Season 5
2026 GSL S1
PGL Astana 2026
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

Upcoming

BSL 22 Non-Korean Championship
YSL S3
Escore Tournament S2: W7
Escore Tournament S2: W8
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
BLAST Bounty Summer 2026: Closed Qualifier
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 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.