• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 17:10
CET 23:10
KST 07:10
  • 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 announced14[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
Weekly Cups (Nov 24-30): MaxPax, Clem, herO win SC2 Proleague Discontinued; SKT, KT, SGK, CJ disband BGE Stara Zagora 2026 announced Information Request Regarding Chinese Ladder SC: Evo Complete - Ranked Ladder OPEN ALPHA
Tourneys
$5,000+ WardiTV 2025 Championship Constellation Cup - Main Event - Stellar Fest RSL Revival: Season 3 Tenacious Turtle Tussle [Alpha Pro Series] Nice vs Cure
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 [ASL20] Ask the mapmakers — Drop your questions Which season is the best in ASL? FlaSh's Valkyrie Copium BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[Megathread] Daily Proleagues [BSL21] RO16 Group B - Sunday 21:00 CET [BSL21] RO16 Group C - Saturday 21:00 CET Small VOD Thread 2.0
Strategy
Game Theory for Starcraft How to stay on top of macro? Current Meta PvZ map balance
Other Games
General Games
Stormgate/Frost Giant Megathread The Perfect Game Path of Exile Nintendo Switch Thread Should offensive tower rushing be viable in RTS games?
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 US Politics Mega-thread Russo-Ukrainian War 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: 1379 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
Poland17489 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
Next event in 2h 50m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft455
elazer 316
JuggernautJason109
SpeCial 55
DisKSc2 31
CosmosSc2 17
StarCraft: Brood War
Larva 457
ZZZero.O 134
Dota 2
capcasts149
Counter-Strike
Foxcn518
minikerr32
Heroes of the Storm
Liquid`Hasu487
Other Games
Grubby6568
tarik_tv3998
FrodaN3192
fl0m2055
ceh9500
shahzam495
Mew2King148
C9.Mang0141
ArmadaUGS130
NarutO 24
Organizations
Other Games
BasetradeTV65
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• musti20045 60
• davetesta20
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Doublelift2952
• TFBlade1182
Other Games
• imaqtpie1481
• Shiphtur187
Upcoming Events
PiGosaur Monday
2h 50m
Wardi Open
13h 50m
StarCraft2.fi
18h 50m
Replay Cast
1d 1h
The PondCast
1d 11h
OSC
1d 17h
Demi vs Mixu
Nicoract vs TBD
Babymarine vs MindelVK
ForJumy vs TBD
Shameless vs Percival
Replay Cast
2 days
Korean StarCraft League
3 days
CranKy Ducklings
3 days
SC Evo League
3 days
[ Show More ]
BSL 21
3 days
Sziky vs OyAji
Gypsy vs eOnzErG
OSC
3 days
Solar vs Creator
ByuN vs Gerald
Percival vs Babymarine
Moja vs Krystianer
EnDerr vs ForJumy
sebesdes vs Nicoract
Sparkling Tuna Cup
4 days
OSC
4 days
BSL 21
4 days
Bonyth vs StRyKeR
Tarson vs Dandy
Replay Cast
5 days
Wardi Open
5 days
StarCraft2.fi
5 days
Replay Cast
6 days
StarCraft2.fi
6 days
Liquipedia Results

Completed

Proleague 2025-11-28
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.