• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 23:09
CEST 05:09
KST 12:09
  • 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
[ASL21] Ro24 Preview Pt2: News Flash10[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy18ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book20
Community News
[BSL22] RO32 Group Stage1Weekly Cups (March 23-29): herO takes triple6Aligulac acquired by REPLAYMAN.com/Stego Research8Weekly Cups (March 16-22): herO doubles, Cure surprises3Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool51
StarCraft 2
General
Rongyi Cup S3 - Preview & Info Team Liquid Map Contest #22 - Presented by Monster Energy Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool What mix of new & old maps do you want in the next ladder pool? (SC2) Aligulac acquired by REPLAYMAN.com/Stego Research
Tourneys
RSL Season 4 announced for March-April Sparkling Tuna Cup - Weekly Open Tournament StarCraft Evolution League (SC Evo Biweekly) WardiTV Mondays World University TeamLeague (500$+) | Signups Open
Strategy
Custom Maps
[M] (2) Frigid Storage Publishing has been re-enabled! [Feb 24th 2026]
External Content
The PondCast: SC2 News & Results Mutation # 520 Moving Fees Mutation # 519 Inner Power Mutation # 518 Radiation Zone
Brood War
General
ASL21 General Discussion [BSL22] RO32 Group Stage so ive been playing broodwar for a week straight. Gypsy to Korea Pros React To: JaeDong vs Queen
Tourneys
[ASL21] Ro24 Group F Escore Tournament StarCraft Season 2 [Megathread] Daily Proleagues [ASL21] Ro24 Group E
Strategy
What's the deal with APM & what's its true value Fighting Spirit mining rates Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Starcraft Tabletop Miniature Game Nintendo Switch Thread General RTS Discussion Thread Darkest Dungeon
Dota 2
The Story of Wings Gaming Official 'what is Dota anymore' discussion
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
Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread The Chess Thread Russo-Ukrainian War Thread NASA and the Private Sector Things Aren’t Peaceful in Palestine
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion Cricket [SPORT] Tokyo Olympics 2021 Thread General nutrition recommendations
World Cup 2022
Tech Support
[G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Broowar part 2
qwaykee
China Uses Video Games to Sh…
TrAiDoS
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
ASL S21 English Commentary…
namkraft
Electronics
mantequilla
Customize Sidebar...

Website Feedback

Closed Threads



Active: 11335 users

The Big Programming Thread - Page 348

Forum Index > General Forum
Post a Reply
Prev 1 346 347 348 349 350 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.
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
August 26 2013 19:08 GMT
#6941
It's the same thing really. Both let you put the name of the setting and the value in the same line, and if you write your set accessors manually you can do the same stuff you can do with a method. Weird that this never occured to me so far though; I've been using both.

Initialization lists seem a little more awkward with the mentioned closely related values though. Turns out I intuitively used .Setting() only in situations where I had that kind of values.
If you have a good reason to disagree with the above, please tell me. Thank you.
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
August 26 2013 20:33 GMT
#6942
On August 27 2013 02:28 tapuchi wrote:
Hello , i'm currently re-writing an image processing program i created using vc++ and matlab in c# and trying to implement the object-oriented paradigms correctly . My previous implementation was my first real and big programming experience and after spending the summer reading Design Patterns , Code Complete and Object Roles and Responsibilites i realized how bad my code structure/design/implementation was and decided to go at it again whilst using what i hopefully learnt.

The thing is i just cant decide how to do things properly even after spending alot of time at stack overflow or just googling stuff.
For example , i got some algorithms doing the same work on the images and thought of implementing the strategy pattern but then again i figured why complicate it and not just make a static class with each algorithm as a different method ( System.Math style ) .

Another problem is how to pass each algorithms settings to it while at the same time avoiding a huge parameter list . A Parameter Object just moves the parameter list from the algorithm to the structure constructor , a builder pattern seems abit too much for it because the object needs to be bound to a control that changes the settings values .

How does a novice actually make these decisions ? Even the simple creation of the settings control is driving me mad , do i give the settings object a .ToControl() method ( is it its Responsibility to make a view of itself or not? ) or do i pass the object
as an argument to the SettingsControl constructor ( does the control need to know about the settings object implementation ? ).All in all i think i just mashed up all that knowledge without really understanding it im afraid . Thanks for any help/opinion/advice beforehand .


I have written an example for a structure that i would consider decent.
There are ways to optimize it with reflection, automatically generated settings dialogs and all that stuff but i kept it simple and maintainable.

Basically it consists of the filters, the settings dialogs that create the filters and the main form that uses the settings dialogs.

BlurFilter and ResizeFilter are two examples for filters that basically just do something to the image. They could as well be "ComplexImageFilterThatDoesADozenThings" classes but i kept it simple for the example. The ApplyTo method defined in the IFilter interface that each filter implements is where the image processing magic happens. The filters don't know about the settings controls and are completely independent of the rest of the program (apart from the IFilter interface).

BlurFilterSettingsControl and ResizeFilterSettingsControl both define how the settings dialogs look. Simply going through all properties and generating a control just creates a messy UI, so defining custom UserControls allows you to make it pretty. Both controls inherit ISettingsControl which defines an event each SettingsControl raises when the "apply filter" button is clicked and that returns an IFilter. Each SettingsControl is basically a factory for an IFilter.

The MainForm is simply a drop down of all the SettingsControls and selecting one puts it into a container where you can then modify the settings and click the "Apply filter" button. MainForm also connects to the "ApplyFilterClicked" event and simply calls IFilter.ApplyTo() on whatever that event passes to it and doesn't care what the filter exactly does.

It's a very simplified example but it should give you a good base on how to proceed.
tapuchi
Profile Joined November 2010
Greece7 Posts
August 27 2013 10:10 GMT
#6943
Thank you both for your answers , you gave me alot to think about.The strategy pattern for the algorithm and the builder for creating the settings seemed like a good fit from the start although i couldnt think of a satisfactory design for the settings control but Morfildur's example was perfect ^^ , thanks alot.
taguchi?
Rollin
Profile Joined March 2011
Australia1552 Posts
August 27 2013 14:07 GMT
#6944
On August 27 2013 05:33 Morfildur wrote:
Show nested quote +
On August 27 2013 02:28 tapuchi wrote:
Hello , i'm currently re-writing an image processing program i created using vc++ and matlab in c# and trying to implement the object-oriented paradigms correctly . My previous implementation was my first real and big programming experience and after spending the summer reading Design Patterns , Code Complete and Object Roles and Responsibilites i realized how bad my code structure/design/implementation was and decided to go at it again whilst using what i hopefully learnt.

The thing is i just cant decide how to do things properly even after spending alot of time at stack overflow or just googling stuff.
For example , i got some algorithms doing the same work on the images and thought of implementing the strategy pattern but then again i figured why complicate it and not just make a static class with each algorithm as a different method ( System.Math style ) .

Another problem is how to pass each algorithms settings to it while at the same time avoiding a huge parameter list . A Parameter Object just moves the parameter list from the algorithm to the structure constructor , a builder pattern seems abit too much for it because the object needs to be bound to a control that changes the settings values .

How does a novice actually make these decisions ? Even the simple creation of the settings control is driving me mad , do i give the settings object a .ToControl() method ( is it its Responsibility to make a view of itself or not? ) or do i pass the object
as an argument to the SettingsControl constructor ( does the control need to know about the settings object implementation ? ).All in all i think i just mashed up all that knowledge without really understanding it im afraid . Thanks for any help/opinion/advice beforehand .


I have written an example for a structure that i would consider decent.
There are ways to optimize it with reflection, automatically generated settings dialogs and all that stuff but i kept it simple and maintainable.

Basically it consists of the filters, the settings dialogs that create the filters and the main form that uses the settings dialogs.

BlurFilter and ResizeFilter are two examples for filters that basically just do something to the image. They could as well be "ComplexImageFilterThatDoesADozenThings" classes but i kept it simple for the example. The ApplyTo method defined in the IFilter interface that each filter implements is where the image processing magic happens. The filters don't know about the settings controls and are completely independent of the rest of the program (apart from the IFilter interface).

BlurFilterSettingsControl and ResizeFilterSettingsControl both define how the settings dialogs look. Simply going through all properties and generating a control just creates a messy UI, so defining custom UserControls allows you to make it pretty. Both controls inherit ISettingsControl which defines an event each SettingsControl raises when the "apply filter" button is clicked and that returns an IFilter. Each SettingsControl is basically a factory for an IFilter.

The MainForm is simply a drop down of all the SettingsControls and selecting one puts it into a container where you can then modify the settings and click the "Apply filter" button. MainForm also connects to the "ApplyFilterClicked" event and simply calls IFilter.ApplyTo() on whatever that event passes to it and doesn't care what the filter exactly does.

It's a very simplified example but it should give you a good base on how to proceed.

I'm curious, how long did that take you to make?
Throw off those chains of reason, and your prison disappears. | Check your posting frequency timeline: http://www.teamliquid.net/mytlnet/post_activity_img.php
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
Last Edited: 2013-08-27 14:18:06
August 27 2013 14:17 GMT
#6945
On August 27 2013 23:07 Rollin wrote:
Show nested quote +
On August 27 2013 05:33 Morfildur wrote:
On August 27 2013 02:28 tapuchi wrote:
Hello , i'm currently re-writing an image processing program i created using vc++ and matlab in c# and trying to implement the object-oriented paradigms correctly . My previous implementation was my first real and big programming experience and after spending the summer reading Design Patterns , Code Complete and Object Roles and Responsibilites i realized how bad my code structure/design/implementation was and decided to go at it again whilst using what i hopefully learnt.

The thing is i just cant decide how to do things properly even after spending alot of time at stack overflow or just googling stuff.
For example , i got some algorithms doing the same work on the images and thought of implementing the strategy pattern but then again i figured why complicate it and not just make a static class with each algorithm as a different method ( System.Math style ) .

Another problem is how to pass each algorithms settings to it while at the same time avoiding a huge parameter list . A Parameter Object just moves the parameter list from the algorithm to the structure constructor , a builder pattern seems abit too much for it because the object needs to be bound to a control that changes the settings values .

How does a novice actually make these decisions ? Even the simple creation of the settings control is driving me mad , do i give the settings object a .ToControl() method ( is it its Responsibility to make a view of itself or not? ) or do i pass the object
as an argument to the SettingsControl constructor ( does the control need to know about the settings object implementation ? ).All in all i think i just mashed up all that knowledge without really understanding it im afraid . Thanks for any help/opinion/advice beforehand .


I have written an example for a structure that i would consider decent.
There are ways to optimize it with reflection, automatically generated settings dialogs and all that stuff but i kept it simple and maintainable.

Basically it consists of the filters, the settings dialogs that create the filters and the main form that uses the settings dialogs.

BlurFilter and ResizeFilter are two examples for filters that basically just do something to the image. They could as well be "ComplexImageFilterThatDoesADozenThings" classes but i kept it simple for the example. The ApplyTo method defined in the IFilter interface that each filter implements is where the image processing magic happens. The filters don't know about the settings controls and are completely independent of the rest of the program (apart from the IFilter interface).

BlurFilterSettingsControl and ResizeFilterSettingsControl both define how the settings dialogs look. Simply going through all properties and generating a control just creates a messy UI, so defining custom UserControls allows you to make it pretty. Both controls inherit ISettingsControl which defines an event each SettingsControl raises when the "apply filter" button is clicked and that returns an IFilter. Each SettingsControl is basically a factory for an IFilter.

The MainForm is simply a drop down of all the SettingsControls and selecting one puts it into a container where you can then modify the settings and click the "Apply filter" button. MainForm also connects to the "ApplyFilterClicked" event and simply calls IFilter.ApplyTo() on whatever that event passes to it and doesn't care what the filter exactly does.

It's a very simplified example but it should give you a good base on how to proceed.

I'm curious, how long did that take you to make?


About 15 minutes pure programming time, mostly because i followed a different, more complex approach first but then decided to scrap it and go a simple route. The total time was maybe 30 minutes because i was watching some youtube videos on the second screen and was eating dinner while writing it.

C#, .NET and Visual Studio really make development fast.
sob3k
Profile Blog Joined August 2009
United States7572 Posts
August 27 2013 23:07 GMT
#6946
CSS/HTML Problem

Making very basic Div site frame. All it is is two centered containers, then a heading, a left navbar, and now a black box. I'd like the black box to go in the blue heading.

HTML:

+ Show Spoiler +
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Site Name</title>
<link type="text/css" rel="stylesheet" href="css/reset.css"/>
<link type="text/css" rel="stylesheet" href="css/mainstylesheet.css"/>
<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>
</head>

<body>
<div id= "redcontainer">
<div id= "pinkinnercontainer">

<div id= "blueheader"></div>
<div id= "greenmenu"></div>
<div id= "blacksquare"><div>


</div>
</div>
</body>

</html>


CSS:
+ Show Spoiler +

#redcontainer {
background-color: red;
width: 1100px;
min-height: 800px;
margin:auto;
}

#blueheader {
background-color: blue;
width: 900px;
height: 120px;

}

#pinkinnercontainer {
background-color: pink;
width: 900px;
height: 780px;
margin:auto;
}

#greenmenu {
background-color: green;
width: 160px;
height: 600px;
}

#blacksquare {
background-color: black;
height: 100px;
width:100px;
}

h1 {
font-family: 'Lobster', Helvetica, sans-serif;
font-size: 50px;
padding-top: 50px;
padding-left: 17px;
}



Super simple. When I display it it look just like I would expect:

[image loading]

However, If I try to move the black div inside the blue div, this happens.

[image loading]

Why is the green moving like that?

even if I just move the black div in between the blue and the green:
[image loading]
The result is this:
[image loading]
Why isn't it appearing between them? Whats going on here?
In Hungry Hungry Hippos there are no such constraints—one can constantly attempt to collect marbles with one’s hippo, limited only by one’s hippo-levering capabilities.
nunez
Profile Blog Joined February 2011
Norway4003 Posts
August 27 2013 23:13 GMT
#6947
that's one badass website.
conspired against by a confederacy of dunces.
Yoshi-
Profile Joined October 2008
Germany10227 Posts
August 27 2013 23:15 GMT
#6948
<div id= "blacksquare"><div>

You don't close the <div> Tag, but open another one
sob3k
Profile Blog Joined August 2009
United States7572 Posts
August 28 2013 01:15 GMT
#6949
On August 28 2013 08:15 Yoshi- wrote:
<div id= "blacksquare"><div>

You don't close the <div> Tag, but open another one


rofllol, whoops

haha I patched over the whole issue with relative positioning, now it implodes when I close that div. Guess i'll just start over :D
In Hungry Hungry Hippos there are no such constraints—one can constantly attempt to collect marbles with one’s hippo, limited only by one’s hippo-levering capabilities.
3FFA
Profile Blog Joined February 2010
United States3931 Posts
August 28 2013 01:20 GMT
#6950
On August 28 2013 10:15 sob3k wrote:
Show nested quote +
On August 28 2013 08:15 Yoshi- wrote:
<div id= "blacksquare"><div>

You don't close the <div> Tag, but open another one


rofllol, whoops

haha I patched over the whole issue with relative positioning, now it implodes when I close that div. Guess i'll just start over :D

Hehe. It comes with the learning and experimenting part of any language.

Thanks for the laugh though.
"As long as it comes from a pure place and from a honest place, you know, you can write whatever you want."
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
August 28 2013 06:23 GMT
#6951
Can't you check syntactical correctness of html on W3C? Or where was it?
If you have a good reason to disagree with the above, please tell me. Thank you.
Samsa
Profile Joined April 2009
Germany72 Posts
August 28 2013 06:53 GMT
#6952
On August 28 2013 15:23 spinesheath wrote:
Can't you check syntactical correctness of html on W3C? Or where was it?


You can, with the W3C Validator: http://validator.w3.org/
Always check your site after you are finished, non clean code is a sin (Also, search engines like google downrate non validated pages in their ranking!)
obesechicken13
Profile Blog Joined July 2008
United States10467 Posts
Last Edited: 2013-08-28 20:26:54
August 28 2013 20:19 GMT
#6953
Question: When you guys make a personal website, do you include demos of all the things you've learned in the past?

Eg. This guy made one:
http://www.mattdempsey.com/
There are a few more links on this site:http://www.lessannoyingsoftware.com/resources/Programmer_Portfolio

Considering making one, but it'd take like 2 hours+ to make an ugly one.
That's like 2 LoL games. On the other hand, I think when an interviewer looks at a resume they just think that they can't trust a resume unless they can see the work.
I think in our modern age technology has evolved to become more addictive. The things that don't give us pleasure aren't used as much. Work was never meant to be fun, but doing it makes us happier in the long run.
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
August 28 2013 20:51 GMT
#6954
On August 29 2013 05:19 obesechicken13 wrote:
Question: When you guys make a personal website, do you include demos of all the things you've learned in the past?

Eg. This guy made one:
http://www.mattdempsey.com/
There are a few more links on this site:http://www.lessannoyingsoftware.com/resources/Programmer_Portfolio

Considering making one, but it'd take like 2 hours+ to make an ugly one.
That's like 2 LoL games. On the other hand, I think when an interviewer looks at a resume they just think that they can't trust a resume unless they can see the work.


If you want to get employed, the more you can show, the better, and if it even looks pretty, even better. It just depends on what you want to do with your personal website.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
Last Edited: 2013-08-28 23:13:59
August 28 2013 23:12 GMT
#6955
If it's a personal website you intend to show your employers when you're applying for a position relevant to having a portfolio, it definitely is a huge plus if you can actually SHOW your employer that you have something concrete, because they can actually trust your words somewhat, and judge you a lot more accurately.

But your personal website can be absolutely whatever you want. You can just have a section off to the side saying, "Previous Projects" with a page that lists them, or with pictures, or an interactive portion.

But it's not a deal breaker if you can't show your work online. It's just a matter of, if a person with the exact same credentials as you applies and it's down between you two and the other guy shows his/her work, then he'll probably have an edge. But this never happens so don't fret about it. I would show my work for the fun of showing my work.



on a side note, i hate learning android development so much. why is it so complicated. ugh. having power sucks. :3
There is no one like you in the universe.
Manit0u
Profile Blog Joined August 2004
Poland17713 Posts
Last Edited: 2013-08-28 23:35:33
August 28 2013 23:15 GMT
#6956
On August 28 2013 08:07 sob3k wrote:
CSS/HTML Problem

Making very basic Div site frame. All it is is two centered containers, then a heading, a left navbar, and now a black box. I'd like the black box to go in the blue heading.

HTML:

+ Show Spoiler +
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Site Name</title>
<link type="text/css" rel="stylesheet" href="css/reset.css"/>
<link type="text/css" rel="stylesheet" href="css/mainstylesheet.css"/>
<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>
</head>

<body>
<div id= "redcontainer">
<div id= "pinkinnercontainer">

<div id= "blueheader"></div>
<div id= "greenmenu"></div>
<div id= "blacksquare"><div>


</div>
</div>
</body>

</html>


CSS:
+ Show Spoiler +

#redcontainer {
background-color: red;
width: 1100px;
min-height: 800px;
margin:auto;
}

#blueheader {
background-color: blue;
width: 900px;
height: 120px;

}

#pinkinnercontainer {
background-color: pink;
width: 900px;
height: 780px;
margin:auto;
}

#greenmenu {
background-color: green;
width: 160px;
height: 600px;
}

#blacksquare {
background-color: black;
height: 100px;
width:100px;
}

h1 {
font-family: 'Lobster', Helvetica, sans-serif;
font-size: 50px;
padding-top: 50px;
padding-left: 17px;
}



+ Show Spoiler +

Super simple. When I display it it look just like I would expect:

[image loading]

However, If I try to move the black div inside the blue div, this happens.

[image loading]

Why is the green moving like that?

even if I just move the black div in between the blue and the green:
[image loading]
The result is this:
[image loading]

Why isn't it appearing between them? Whats going on here?


Dude...

+ Show Spoiler [HTML] +


<!DOCTYPE html>
<html>
<head>
<title>The colourful boxes</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="site.css"/>
</head>
<body>
<div id="redcontainer">

<div class="blueheader">
<div class="blacksquare"></div>
</div><!-- .blueheader -->

<div class="pinkinnercontainer">
<div class="greenmenu"></div>
</div><!-- .pinkinnercontainer -->

</div><!-- #redcontainer -->
</body>
</html>



+ Show Spoiler [CSS] +


html, body {
width: 100%;
height: auto;
margin: 0;
padding: 0;
}

#redcontainer {
background-color: red;
width: 1100px;
min-height: 800px;
margin: 0 auto;
}

#redcontainer .blueheader {
background-color: blue;
width: 900px;
height: 120px;
margin: 0 auto;
display: block;
float: top;
position: relative;
}

#redcontainer .pinkinnercontainer {
background-color: pink;
width: 900px;
height: 780px;
margin: 0 auto;
display: block;
float: top;
position: relative;
}

#redcontainer .pinkinnercontainer .greenmenu {
background-color: green;
width: 160px;
height: 600px;
display: inline-block;
float: left;
position: relative;
}

#redcontainer .blueheader .blacksquare {
background-color: black;
height: 100px;
width: 100px;
display: inline-block;
float: left;
position: relative;
}



Result:
[image loading]

Is this what you wanted? It would appear so from your post.

It could probably be made a lot cleaner but I did it the dirty way that took just a couple of minutes of my precious time...

Edit: Just noticed you wanted blue header in the pink container. Here's a version doing just that:

+ Show Spoiler [HTML] +


<!DOCTYPE html>
<html>
<head>
<title>The colourful boxes</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="site.css"/>
</head>
<body>
<div id="redcontainer">

<div class="pinkinnercontainer">

<div class="blueheader">

<div class="blacksquare"></div>

</div><!-- .blueheader -->

<div class="greenmenu"></div>

</div><!-- .pinkinnercontainer -->

</div><!-- #redcontainer -->
</body>
</html>




+ Show Spoiler [CSS] +


html, body {
width: 100%;
height: auto;
margin: 0;
padding: 0;
}

#redcontainer {
background-color: red;
width: 1100px;
min-height: 800px;
margin: 0 auto;
}

#redcontainer .pinkinnercontainer {
background-color: pink;
width: 900px;
height: 780px;
margin: 0 auto;
display: block;
position: relative;
}

#redcontainer .pinkinnercontainer .blueheader {
background-color: blue;
width: 900px;
height: 120px;
margin: 0 auto;
display: block;
float: top;
position: relative;
}

#redcontainer .pinkinnercontainer .greenmenu {
background-color: green;
width: 160px;
height: 600px;
display: inline-block;
float: left;
position: relative;
}

#redcontainer .pinkinnercontainer .blueheader .blacksquare {
background-color: black;
height: 100px;
width: 100px;
display: inline-block;
position: relative;
}

Time is precious. Waste it wisely.
KurtistheTurtle
Profile Blog Joined December 2008
United States1966 Posts
Last Edited: 2013-08-29 01:17:32
August 29 2013 01:07 GMT
#6957
Any recommendations on a good coding laptop? Windows or Mac or what have you. I find the main prevention of me writing code is keeping my head stimulated, so being able to move to a variety of locations/code while standing/etc. I've got a big ol' desktop that can do the job after I lose the ability to have this laptop, but beforehand I'd physically fall asleep in my chair due to the crappy physical environment I have to code in when I use it

I'll be pursuing a job, would an employer be likely to provide me with a laptop?

edit: fleshed out my question

- 13'' screen preferred
- matte + 1920 x 1080 screen if possible
- high powered dream machine

OR

-refurbished upgradable older macbook pro or something with a lot of punch would do
- cheaper "used civic" kind of laptop

main uses would be intelliJ idea for sure

possibly all the .net development stuff from dreamspark (if I look into it)

“Reject your sense of injury and the injury itself disappears."
phar
Profile Joined August 2011
United States1080 Posts
Last Edited: 2013-08-29 01:53:27
August 29 2013 01:52 GMT
#6958
local dev on this laptop, or just dumb remote connection to your desktop?

a lot of employers will provide you with laptops, but it does depend on the employer
Who after all is today speaking about the destruction of the Armenians?
Teim
Profile Joined October 2010
Australia373 Posts
August 29 2013 16:38 GMT
#6959
Does anyone know if OpenCL has some kind of frame limiter? I've run the same application on a few different graphic cards of varying quality (both AMD and NIVIDA) and they all max out at the same 10 milliseconds per update (100 frames per second) barrier. It's important for me to be able to measure differences in performance and when they all appear to be performing the same...

Anyway, thanks for your time.
A duck is a duck!
sob3k
Profile Blog Joined August 2009
United States7572 Posts
Last Edited: 2013-08-30 02:07:18
August 30 2013 02:06 GMT
#6960
CSS/HTML

I want a div to start somewhere midpage and go all the way to the edge of the page in one direction. Like the blue box in pic below:

[image loading]

How do I do this?
In Hungry Hungry Hippos there are no such constraints—one can constantly attempt to collect marbles with one’s hippo, limited only by one’s hippo-levering capabilities.
Prev 1 346 347 348 349 350 1032 Next
Please log in or register to reply.
Live Events Refresh
CranKy Ducklings
00:00
TLMC #22: Map Judging #1
CranKy Ducklings62
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RuFF_SC2 233
ROOTCatZ 78
StarCraft: Brood War
GuemChi 5876
Sea 38
Noble 27
Dota 2
monkeys_forever926
NeuroSwarm157
League of Legends
JimRising 734
Counter-Strike
taco 659
C9.Mang0325
Super Smash Bros
hungrybox505
Mew2King64
Heroes of the Storm
Khaldor64
Other Games
summit1g10651
tarik_tv5085
Organizations
Other Games
gamesdonequick1078
BasetradeTV122
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• CranKy Ducklings SOOP5
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo563
• Stunt103
Other Games
• Scarra761
Upcoming Events
Sparkling Tuna Cup
6h 51m
PiGosaur Cup
20h 51m
Replay Cast
1d 5h
Kung Fu Cup
1d 8h
Replay Cast
1d 20h
The PondCast
2 days
CranKy Ducklings
2 days
WardiTV Team League
3 days
Replay Cast
3 days
CranKy Ducklings
4 days
[ Show More ]
WardiTV Team League
4 days
uThermal 2v2 Circuit
4 days
BSL
4 days
Sparkling Tuna Cup
5 days
WardiTV Team League
5 days
BSL
5 days
Replay Cast
5 days
Replay Cast
6 days
Wardi Open
6 days
Liquipedia Results

Completed

CSL Elite League 2026
RSL Revival: Season 4
NationLESS Cup

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
StarCraft2 Community Team League 2026 Spring
Nations Cup 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
IEM Kraków 2026
BLAST Bounty Winter 2026

Upcoming

Escore Tournament S2: W2
IPSL Spring 2026
Escore Tournament S2: W3
Acropolis #4
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
uThermal 2v2 Last Chance Qualifiers 2026
RSL Revival: Season 5
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 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.