• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 12:51
CET 17:51
KST 01:51
  • 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
[ASL22] Finals Preview: Sweet Victory!12[ASL22] Ro4 Preview: Mirror Mirror6[ASL22] Ro8 Preview: Within Reach5[ASL22] Ro8 Preview: In A Tizzy11[ASL22] Ro16 Preview: Holy Diver5
Community News
Weekly Cups (October 19-25): Clem triples first in 5.0.175Evil Geniuses - shutting down20ISSL (IntoTheTV x SOOP SC2 League): Premier6Weekly Cups (October 12-18): 5.0.17 era begins1[$1250] International ShieldBattery League93
StarCraft 2
General
Behind the Blue - Team Liquid History Book No more SC2 streamers on team liquid? SC2 Power Rank: epic29 Weekly Cups (October 19-25): Clem triples first in 5.0.17 How do you feel about the mass reverts in the 5.0.17 PTR?
Tourneys
Stellar Fest TWO the Moon (Dec 16-20) Sparkling Tuna Cup - Weekly Open Tournament RSL goes to London! 2026 Offline Finals Nov 21-22 ISSL (IntoTheTV x SOOP SC2 League): Premier RSL 2026 Offline Finals LCQ Sign-Ups
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
[D] the control group Simple Questions/Answers [G] How to playtest arcade maps [A] Nemrods 1/4 players
External Content
Mutation # 549 Endless Sparkles The PondCast: SC2 News & Results Mutation # 548 Shining Bright Mutation # 547 Temple Of Terror
Brood War
General
SCHNAIL now supports Remastered BW General Discussion Ziemie's Starcraft 1 Prequel Campaign Bot on ladder Rollback Netcode in Brood War
Tourneys
[Megathread] Daily Proleagues [IPSL] IPSL Winter 26-27 Ro24 is HERE! [$1250] International ShieldBattery League [Women's StarCraft] MonstarZ vs BA 2026-10-30
Strategy
50,000-Word Terran Builds Memo 2026-10-22 Cliff Jump Revisited (1 in a 1000 strategy) Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Mobile Legends: Bang Bang Armies of Exigo - YesYes? General RTS Discussion Thread
Dota 2
Dota 2 Champions League Season 3 Begins April 25!
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine European Politico-economics QA Mega-thread Trading/Investing Thread
Fan Clubs
Reynor Fan Club The Flash Fan Club Serral Fan Club
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece
Sports
TeamLiquid Health and Fitness Initiative For 2023 Football (Soccer) Thread MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts
Blogs
Why I built Repalyzer (1.1.…
BlueStar
Innovate or Game Over?
TrAiDoS
ShieldBattery on Mac
Kraekkling
[ASL22] Ro4 Day1 Ticket Giv…
bITt.mAN
Can Bots Beat Pros?? Starcr…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 9186 users

The Big Programming Thread - Page 453

Forum Index > General Forum
Post a Reply
Prev 1 451 452 453 454 455 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.
obesechicken13
Profile Blog Joined July 2008
United States10467 Posts
Last Edited: 2014-03-09 10:15:46
March 09 2014 09:30 GMT
#9041
On March 09 2014 18:13 bo1b wrote:
Show nested quote +
On March 09 2014 16:38 obesechicken13 wrote:
ruby on rails is so complicated... how do I even run a stupid script? Controllers and views and shit...

There's such a huge learning curve and this tutorial just throws you into the water http://guides.rubyonrails.org/getting_started.html and tells you to flap your arms.

I'm trying to convert a json to an xml using ruby.
http://stackoverflow.com/questions/4272410/how-can-i-convert-json-to-xml-in-ruby

require 'active_support' #for to_xml() 'gem install activesupport' use the 2.3 branch
require 'json' #part of ruby 1.9 but otherwise 'gem install json'

my_json = "{\"test\":\"b\"}"
my_xml = JSON.parse(my_json).to_xml(:root => :my_root)


Where do I define my json variable that's being received?
What does :root => :my_root mean?
What does \"test\":\"b\" mean?
Can I run this code standalone without a rails server?
I keep getting an error undefined method "to_xml" how do I resolve? Is there something I need to install?

Is ":root" a symbol? Where do you define the :my_root symbol? What would an example be?

There's just so many questions and no one to hold my hand and walk me through it D:<

It could be an idea to learn a bit of ruby, if you can stand a text format then I found this guys tutorials to be pretty decent:

http://ruby.learncodethehardway.org/book/

Thanks, I figured it out in the end.

I've gone through a few ruby tutorials, part of the codeacademy one. But it hasn't been too helpful.

Now I'm trying to figure out how to make a connection from the client to server side through ruby on rails.

+ Show Spoiler [fixed code] +
#require 'active_support' #for to_xml() 'gem install activesupport' use the 2.3 branch
require "active_support/core_ext/hash/conversions"
{}.to_xml#activesupport no longer loads everything
require 'json' #part of ruby 1.9 but otherwise 'gem install json'

#preparsing of json, you must escape single quotes with two backslashes
content = '{"catalog":{"book":[{"author":"Gambardella, Matthew","title":"XML Developer\'s Guide","genre":"Computer","price":"44.95","publish_date":"2000-10-01","description":"An in-depth look at creating applications \n with XML.","id":"bk101"}]}}'
json_content = content
#json object
my_json = json_content
my_xml = JSON.parse(my_json).to_xml(:root => :my_root)
print(my_xml)


edit: Stuck again now with making connections and 422 errors.
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.
Arnstein
Profile Blog Joined May 2010
Norway3381 Posts
March 09 2014 10:55 GMT
#9042
Starting to get a bit more hang on the 32-bit AVR now, but I'm not really impressed by the documentation of the ASF.
rsol in response to the dragoon voice being heard in SCII: dragoon ai reaches new lows: wanders into wrong game
Vorenius
Profile Blog Joined December 2010
Denmark1979 Posts
March 09 2014 21:07 GMT
#9043
I have a design problem that I haven't been able to find a good solution to.

So far I have a thermometer (or a simulater of one) that sends its temperature every second over TCP to a server that calculates an average of the temperatures. Now I'm building an RMI-application where a client connects to the RMI-server and then reads the temperature.
In the long run it's gonna be a control system for an "intelligent house", where you can check the temp in each room, change aircon, etc. from you mobile device.

How should I share the information between the different parts of the program? Save it in a file, Make some PublicStatic var or am I missing a clever solution?

This is probably pretty basic stuff, but after wrestling the rmi-stuff and finally getting it to work after hours I can't figure out an elegant solution.
Fawkes
Profile Blog Joined May 2010
Canada1935 Posts
Last Edited: 2014-03-10 01:45:26
March 09 2014 22:49 GMT
#9044
+ Show Spoiler +
Need another nudge in the right direction concerning PHP/HTML.

I have a simple form which pretty much does:

if (isset($_POST['submit'])) {
} elseif (isset($_POST['confirm'])) {
} else {
}


It is pretty much a form with a submit, then confirmation screen (with a modify button which goes back to previous screen). To implement the modify button, I used a input type submit button. On form submits, the form would just go back to itself. Since it was not a name = "submit" or "confirm", it would go into the else and I used $_POST array to fill in the form with what data it had before by doing something like:


if (isset($_POST['event_name'])) {
$event_name = $_POST['event_name'];
}
else {
$event_name = "";
}


And then the different form fields would use $event_name or its respective var to fill in the default value.

But by doing this, I broke my form's reset button (input type = "reset") which would have cleared all the fields in the form, which it does not do so after Modify is pressed. Anyone know of a better way I can fix this? I currently just have my reset button refresh the page right now, which isn't so ideal.

tldr: my fields use $vars as the value, initially they are set to nothing so that's why my reset works by clearing the fields, because it is just setting them to "". However after using the Modify button, the $vars are no longer "", so reset changes the values to them every time. Kinda just decided to live with it.

More concerned about these corrupted characters that appear after I click on Modify. Not sure where they came from.
[image loading]
Seems like it is an encoding thing..

BOM thing. Not fun. First time encountering it.
Taeyeon ~ Jennie ~ Seulgi ~ Irene @Fawkes711
Epishade
Profile Blog Joined November 2011
United States2267 Posts
March 10 2014 04:17 GMT
#9045
Hello peoples. Programming noob here taking his first class of C++ with no prior experience beforehand. Was hoping you guys could help me with some questions I have on a particular assignment. If asking about programming homework isn't allowed, please forgive me and ignore I guess.

So on one of the programs we were asked to write, we have to use functions.
Instead of entering in the values of 2 variables I need (sales and advance) in main, the instructions are telling me to "write one function that reads the input using alias parameters."

I'm not sure if these instructions are ambiguous or not, but I interpreted it as "call a function, read in the values into that function, and return those values to main by way of alias parameters."

To attempt this, I made 2 variables in main, "sales" and "advance" with the value 0 in both of them, because I intended to change those values using the aliases in the function. So I call the function after that, but nothing shows up and I'm unable to enter in data into my function.

Here's the code I have right now.
+ Show Spoiler +

#include <iostream>
using namespace std;

void inputValues(float, float);

void inputValues (float & val1, float & val2)
{
float sales;
float advance;
cout << "amount of sales?";
cin >> sales;
cout << " amount of advance taken?";
cin >> advance;

sales = val1;
advance = val2;
return;
}


int main()
{
float sales = 0;
float advance = 0;
void inputValues(float & sales, float & advance);
return 0;
}


I've spent hours googling for an answer to my problem with no success. After trying a bunch of things, my thoughts are that you can't enter in data into a function. A function only takes in data and does stuff with that data. Am I correct in this? - that you can't enter information directly into a function, it has to be taken from main?

Thanks.
Pinhead Larry in the streets, Dirty Dan in the sheets.
Birdie
Profile Blog Joined August 2007
New Zealand4438 Posts
Last Edited: 2014-03-10 04:52:41
March 10 2014 04:42 GMT
#9046
You are calling a function using a function definition
void inputValues(float & sales, float & advance);


Instead, you should be using:
inputValues(sales, advance);


As for the method using the ampersands, it's known as "call by reference". When you make a function prototype (e.g. void inputValues(float sales, float advance), the variables within the parentheses are only created in memory when the function is called:
inputValues(1.0, 2.0);

Then, within memory, two boxes are created called sales, and advance, only accessible within that function "instance", with the contents which were copied to the function. In this case, sales = 1.0, and advance = 2.0.

When you define a variable with an ampersand, you're actually not assigning new memory. Instead, you're creating a second variable name (basically) which points to some existing memory. E.g:

int main()
{
int x = 10;
int & xReference = x;
cout << x << endl; //Prints 10
xReference++;
cout << x << endl; //Prints 11
}


So, when you call a function which defines reference variables, you don't set aside any memory. What is being modified, then? The original box of memory. In your case, the original variables of float sales; and float advance; are being modified, via the reference variables (which only exist inside that "instance" of the function inputValues).
Red classic | A butterfly dreamed he was Zhuangzi | 4.5k, heading to 5k as support!
Mstring
Profile Joined September 2011
Australia510 Posts
Last Edited: 2014-03-10 05:19:07
March 10 2014 05:12 GMT
#9047
On March 10 2014 13:17 Epishade wrote:
Hello peoples. Programming noob here taking his first class of C++ with no prior experience beforehand. Was hoping you guys could help me with some questions I have on a particular assignment. If asking about programming homework isn't allowed, please forgive me and ignore I guess.

So on one of the programs we were asked to write, we have to use functions.
Instead of entering in the values of 2 variables I need (sales and advance) in main, the instructions are telling me to "write one function that reads the input using alias parameters."

I'm not sure if these instructions are ambiguous or not, but I interpreted it as "call a function, read in the values into that function, and return those values to main by way of alias parameters."

To attempt this, I made 2 variables in main, "sales" and "advance" with the value 0 in both of them, because I intended to change those values using the aliases in the function. So I call the function after that, but nothing shows up and I'm unable to enter in data into my function.

Here's the code I have right now.
+ Show Spoiler +

#include <iostream>
using namespace std;

void inputValues(float, float);

void inputValues (float & val1, float & val2)
{
float sales;
float advance;
cout << "amount of sales?";
cin >> sales;
cout << " amount of advance taken?";
cin >> advance;

sales = val1;
advance = val2;
return;
}


int main()
{
float sales = 0;
float advance = 0;
void inputValues(float & sales, float & advance);
return 0;
}


I've spent hours googling for an answer to my problem with no success. After trying a bunch of things, my thoughts are that you can't enter in data into a function. A function only takes in data and does stuff with that data. Am I correct in this? - that you can't enter information directly into a function, it has to be taken from main?

Thanks.

One sure problem in your function is that you're overwriting what you've just inputted into the local variables rather than returning something new through the references. (see comments)

void inputValues (float & val1, float & val2)
{
float sales;
float advance;
cout << "amount of sales?";
cin >> sales;
cout << " amount of advance taken?";
cin >> advance;

sales = val1; // perhaps this should be: val1 = sales ?
advance = val2; // as above

return;
}
Epishade
Profile Blog Joined November 2011
United States2267 Posts
Last Edited: 2014-03-10 05:27:56
March 10 2014 05:19 GMT
#9048
Hell yeah, thanks for the help. I couldn't figure out for the life of me why it kept skipping the couts I had in my original function - then it turns out I just had something silly like calling the function wrong.

Fixed that, and changed the function code to look like this:
+ Show Spoiler +
void inputValues (float & val1, float & val2)
{
float & sales = val1;
float & advance = val2;
cout << "amount of sales?";
cin >> sales;
cout << " amount of advance taken?";
cin >> advance;

return;
}

So I figured, based on your example, that I wouldn't need to reassign the variables to read sales = val1; advance = val2. So I got rid of those from before and added the ampersands to change the original values in main. It worked and I was able to print out those values in main to confirm. Yay. Thanks again!

On March 10 2014 14:12 Mstring wrote:
Show nested quote +
On March 10 2014 13:17 Epishade wrote:
Hello peoples. Programming noob here taking his first class of C++ with no prior experience beforehand. Was hoping you guys could help me with some questions I have on a particular assignment. If asking about programming homework isn't allowed, please forgive me and ignore I guess.

So on one of the programs we were asked to write, we have to use functions.
Instead of entering in the values of 2 variables I need (sales and advance) in main, the instructions are telling me to "write one function that reads the input using alias parameters."

I'm not sure if these instructions are ambiguous or not, but I interpreted it as "call a function, read in the values into that function, and return those values to main by way of alias parameters."

To attempt this, I made 2 variables in main, "sales" and "advance" with the value 0 in both of them, because I intended to change those values using the aliases in the function. So I call the function after that, but nothing shows up and I'm unable to enter in data into my function.

Here's the code I have right now.
+ Show Spoiler +

#include <iostream>
using namespace std;

void inputValues(float, float);

void inputValues (float & val1, float & val2)
{
float sales;
float advance;
cout << "amount of sales?";
cin >> sales;
cout << " amount of advance taken?";
cin >> advance;

sales = val1;
advance = val2;
return;
}


int main()
{
float sales = 0;
float advance = 0;
void inputValues(float & sales, float & advance);
return 0;
}


I've spent hours googling for an answer to my problem with no success. After trying a bunch of things, my thoughts are that you can't enter in data into a function. A function only takes in data and does stuff with that data. Am I correct in this? - that you can't enter information directly into a function, it has to be taken from main?

Thanks.

One sure problem in your function is that you're overwriting what you've just inputted into the local variables rather than returning something new through the references. (see comments)

void inputValues (float & val1, float & val2)
{
float sales;
float advance;
cout << "amount of sales?";
cin >> sales;
cout << " amount of advance taken?";
cin >> advance;

sales = val1; // perhaps this should be: val1 = sales ?
advance = val2; // as above

return;
}


Though I didn't see your post before I posted, thanks for trying to help too. I tested it and your solution works too. I couldn't debug it before because I kept calling the function wrong, so I wasn't quite sure what to fix without being able to access it. But you're right, that would have overwritten the variables I was trying to send back ^^.
Pinhead Larry in the streets, Dirty Dan in the sheets.
Mstring
Profile Joined September 2011
Australia510 Posts
Last Edited: 2014-03-10 05:24:50
March 10 2014 05:22 GMT
#9049
On March 10 2014 14:19 Epishade wrote:
Hell yeah, thanks for the help. I couldn't figure out for the life of me why it kept skipping the couts I had in my original function - then it turns out I just had something silly like calling the function wrong.

Fixed that, and changed the function code to look like this:
+ Show Spoiler +
void inputValues (float & val1, float & val2)
{
float & sales = val1;
float & advance = val2;
cout << "amount of sales?";
cin >> sales;
cout << " amount of advance taken?";
cin >> advance;

return;
}

So I figured, based on your example, that I wouldn't need to reassign the variables to read sales = val1; advance = val2. So I got rid of those from before and added the ampersands to change the original values in main. It worked and I was able to print out those values in main to confirm. Yay. Thanks again!

You don't even need the local variables:

void inputValues (float & sales, float & advance)
{
cout << "amount of sales?";
cin >> sales;
cout << " amount of advance taken?";
cin >> advance;
}

Will do the exact same thing.
Epishade
Profile Blog Joined November 2011
United States2267 Posts
March 10 2014 05:32 GMT
#9050
On March 10 2014 14:22 Mstring wrote:
Show nested quote +
On March 10 2014 14:19 Epishade wrote:
Hell yeah, thanks for the help. I couldn't figure out for the life of me why it kept skipping the couts I had in my original function - then it turns out I just had something silly like calling the function wrong.

Fixed that, and changed the function code to look like this:
+ Show Spoiler +
void inputValues (float & val1, float & val2)
{
float & sales = val1;
float & advance = val2;
cout << "amount of sales?";
cin >> sales;
cout << " amount of advance taken?";
cin >> advance;

return;
}

So I figured, based on your example, that I wouldn't need to reassign the variables to read sales = val1; advance = val2. So I got rid of those from before and added the ampersands to change the original values in main. It worked and I was able to print out those values in main to confirm. Yay. Thanks again!

You don't even need the local variables:

void inputValues (float & sales, float & advance)
{
cout << "amount of sales?";
cin >> sales;
cout << " amount of advance taken?";
cin >> advance;
}

Will do the exact same thing.


Hmm, I tested this version but it wouldn't compile. I needed to keep the local variables for it to compile (though then there's a logic error if I don't add the val1=sales and val2=advance because it doesn't send back the variables I want it to). Your original solution worked though.
Pinhead Larry in the streets, Dirty Dan in the sheets.
Mstring
Profile Joined September 2011
Australia510 Posts
Last Edited: 2014-03-10 05:37:53
March 10 2014 05:34 GMT
#9051
On March 10 2014 14:32 Epishade wrote:
Show nested quote +
On March 10 2014 14:22 Mstring wrote:
On March 10 2014 14:19 Epishade wrote:
Hell yeah, thanks for the help. I couldn't figure out for the life of me why it kept skipping the couts I had in my original function - then it turns out I just had something silly like calling the function wrong.

Fixed that, and changed the function code to look like this:
+ Show Spoiler +
void inputValues (float & val1, float & val2)
{
float & sales = val1;
float & advance = val2;
cout << "amount of sales?";
cin >> sales;
cout << " amount of advance taken?";
cin >> advance;

return;
}

So I figured, based on your example, that I wouldn't need to reassign the variables to read sales = val1; advance = val2. So I got rid of those from before and added the ampersands to change the original values in main. It worked and I was able to print out those values in main to confirm. Yay. Thanks again!

You don't even need the local variables:

void inputValues (float & sales, float & advance)
{
cout << "amount of sales?";
cin >> sales;
cout << " amount of advance taken?";
cin >> advance;
}

Will do the exact same thing.


Hmm, I tested this version but it wouldn't compile. I needed to keep the local variables for it to compile (though then there's a logic error if I don't add the val1=sales and val2=advance because it doesn't send back the variables I want it to). Your original solution worked though.

Notice in my version there is no such thing as val1 or val2: I changed the name of the parameters to sales and advance. Cin then acts directly rather than going through the middle man of the local variable.
Epishade
Profile Blog Joined November 2011
United States2267 Posts
Last Edited: 2014-03-10 05:49:37
March 10 2014 05:42 GMT
#9052
Ohhh, that was dumb of me not to notice. I didn't copy the header, just the code beneath it.

I guess that kinda makes a difference haha. But yeah, that looks a lot cleaner than my code. It works too, but I'd feel morally wrong taking it from someone else for this assignment. I feel obligated to stick with my uglier unsightly code haha.

Thanks.

Edit: Actually, looking at it again, it is kinda useless to have those extra variables. I think I'll take your suggestion.
Pinhead Larry in the streets, Dirty Dan in the sheets.
Mstring
Profile Joined September 2011
Australia510 Posts
March 10 2014 05:49 GMT
#9053
On March 10 2014 14:42 Epishade wrote:
Edit: Actually, looking at it again, it is kinda useless to have those extra variables. I think I'll take your suggestion.

I knew you'd come around XD
ParasitJonte
Profile Joined September 2004
Sweden1768 Posts
March 10 2014 15:13 GMT
#9054
Escaping from code and software for a while:

What sites/blogs/magazines/other do you browse to keep up with latest trends in hardware and computer architecture?

Like most programmers (?) I am more interested in software than hardware but obviously it's important to understand what you are programming against. Especially if you work in a niche environment such as high performance computing.

So any tips on sources one might use to stay up to date?
Hello=)
nunez
Profile Blog Joined February 2011
Norway4003 Posts
March 10 2014 16:05 GMT
#9055
never heard the term alias parameter before... what's it supposed to mean? reference?
conspired against by a confederacy of dunces.
Epishade
Profile Blog Joined November 2011
United States2267 Posts
March 10 2014 18:11 GMT
#9056
Apparently so. My teacher told us the terms were interchangeable, but apparently not a lot of people call it alias so much as reference. I think my teacher was just giving it a different term to make it easier to memorize for us though, as not very many results have come up when I type in alias compared to reference.
Pinhead Larry in the streets, Dirty Dan in the sheets.
wozzot
Profile Joined July 2012
United States1227 Posts
March 10 2014 18:15 GMT
#9057
Decided to write a set of hash table functions as a learning exercise. Took a few hours and it's working fine, except that I forgot that hash tables are supposed to map keys to distinct values. So now I have a bunch of hash functions that store the keys themselves as values, and I have to go rewrite them all.

I hate it when I make dumb mistakes like this while programming. FML
(ノ´∀`*)ノ ♪ ♫ ヽ(´ー`)ノ ♪ ♫ (✌゚∀゚)☞ ♪ ♫ ヽ(´ー`)ノ ♫ ♫ (ノ´_ゝ`)ノ彡 ┻━┻
nunez
Profile Blog Joined February 2011
Norway4003 Posts
March 10 2014 18:17 GMT
#9058
kk, noted.
conspired against by a confederacy of dunces.
RoyGBiv_13
Profile Blog Joined August 2010
United States1275 Posts
March 10 2014 19:14 GMT
#9059
On March 11 2014 00:13 ParasitJonte wrote:
Escaping from code and software for a while:

What sites/blogs/magazines/other do you browse to keep up with latest trends in hardware and computer architecture?

Like most programmers (?) I am more interested in software than hardware but obviously it's important to understand what you are programming against. Especially if you work in a niche environment such as high performance computing.

So any tips on sources one might use to stay up to date?


Hacker News is a pretty popular news aggregator. /r/programming would be another. I'd suggest glancing at them occasionally until you find specific blogs that interest you. Don't get too sucked into meta-programming discussions that thrive on aggregator sites.
Any sufficiently advanced technology is indistinguishable from magic
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
Last Edited: 2014-03-10 20:35:02
March 10 2014 19:21 GMT
#9060
--- Nuked ---
Prev 1 451 452 453 454 455 1032 Next
Please log in or register to reply.
Live Events Refresh
IPSL
01:00
Ro24 Group A
eOnzErG vs McRibbed
LancerX vs StRyKeR
Liquipedia
Epic.LAN
22:00
Epic.LAN 49 Playoffs Stage
epiclan79
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Serral 2299
Hui .222
BRAT_OK 83
MindelVK 11
StarCraft: Brood War
Calm 3952
Shuttle 770
Soulkey 111
Mind 105
Bonyth 93
Dewaltoss 87
scan(afreeca) 70
Zeus 53
Classic 32
910 26
[ Show more ]
soO 21
Rock 20
ajuk12(nOOB) 18
PianO 17
Hm[arnc] 11
Movie 11
Sacsri 9
Shine 8
Dota 2
Gorgc12343
monkeys_forever375
LuMiX1
Counter-Strike
pashabiceps1580
Heroes of the Storm
Khaldor225
Other Games
B2W.Neo970
Beastyqt410
mouzStarbuck218
KnowMe185
ToD168
ArmadaUGS106
QueenE94
Trikslyr33
Chillindude18
Organizations
Other Games
ComeBackTV 327
[ Show 18 non-featured ]
StarCraft 2
• 3DClanTV 39
• poizon28 33
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• Airneanach48
• ChaeLyn 6
• Michael_bg 3
• FirePhoenix2
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2110
League of Legends
• Nemesis2508
• Jankos1370
Other Games
• Shiphtur370
Upcoming Events
AI Arena Tournament
9m
OSC
21h 9m
Yamato Cup
22h 9m
IPSL
1d
Artosis vs RiceHat
Kyrie vs Sony
Map Test Tournament
1d 6h
WardiTV Weekly
1d 19h
Ultimate Battle
1d 19h
Rush vs BeSt
Replay Cast
2 days
Rogue vs Classic
Patches Events
2 days
PiGosaur Cup
3 days
[ Show More ]
Kung Fu Cup
3 days
The PondCast
4 days
KCM Race Survival
4 days
IntoTheTV X SOOP
6 days
WardiTV Invitational
6 days
Liquipedia Results

Completed

Proleague 2026-10-30
Blizzard Classic Cup 2026
HCC Season 3

Ongoing

Acropolis #5
KCM Race Survival 2026 Season 4
International ShieldBattery League
BSL Season 23
IPSL Winter 2026-27
PGL Masters Bucharest 2026
Stake Ranked Episode 5
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026
Esports World Cup 2026

Upcoming

1xBet Invitational
SC4ALL II: Brood War
BSL 23: Non-Korean Championship
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
BLAST Bounty Winter 2027
eXTREMESLAND 2026
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 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.