• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 12:14
CEST 18:14
KST 01:14
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL22] Ro24 Preview: Siren's Call8[ASL22] Ro24 Preview: Summer's End9Serral wins HomeStory Cup 2915Serral wins Maestros of the Game 244ByuL, and the Limitations of Standard Play3
Community News
Official StarCraft website teases new content ahead of BlizzCon?77Stellar Fest TWO the Moon (Dec 16-20)9Weekly Cups (August 24-30): Patches' balance mod takes over3New 3v3 BGH Ladder (and more) on ShieldBattery!40Weekly Cups (August 17-23): Zerg dominate the week6
StarCraft 2
General
Nexon wins bid to develop StarCraft IP content, distribute Overwatch mobile game SC4ALL: II Winner Will Earn a Spot at HSC 30! Weekly Cups (August 24-30): Patches' balance mod takes over Balance hotfix patch 5.0.16b (July 16) September World Ranking: herO leads, Serral climbs
Tourneys
Stellar Fest TWO the Moon (Dec 16-20) IntoTheTV X SOOP SC2 League : Weekly & Monthly SC2 INu's Battles#20 [BO.9] 2026 GSTL Announcement PIG STY FESTIVAL 8.0! (13 - 23 August)
Strategy
[G] Having the right mentality to improve
Custom Maps
Nexus Wars 2021 GUIDE [M] (2) Industrial Park
External Content
Mutation # 541 Binary Choice The PondCast: SC2 News & Results Mutation # 540 Dodge This Mutation # 539 Thunder Dome
Brood War
General
Official StarCraft website teases new content ahead of BlizzCon? ASL22 General Discussion Gypsy to Korea [Personal Project Share] Terran Defense v0.60 BW General Discussion
Tourneys
Brood War in Budapest ! WORTEX 2026 BW Finals KCM Race Survival 2026 Season 3 [Megathread] Daily Proleagues BSL LAN Party - Kraków 29-30 August - OPEN SIGNUPS
Strategy
Odyssey Mineral Stack Saturation Replay Review Process - What do you do? Game Theory for Starcraft Fighting Spirit mining rates
Other Games
General Games
Nintendo Switch Thread Diablo IV EVE Corporation [Maplestory Hardcore] Let's Play~!! General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish TSM pausing esports and CLG Dead
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Power Rank TL Mafia Community Thread NeO.D_StephenKing vs This Guy From 1 Million Dance
Community
General
US Politics Mega-thread Artificial Intelligence Thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread UK Politics Mega-thread
Fan Clubs
MarineLorD Fan Club The Creator Fan Club The ShoWTimE Fan Club
Media & Entertainment
Movie Discussion! Anime Discussion Thread
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023 NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Northern Ireland Global Starcraft
Blogs
Dreaming of BW patches (mod…
c3rberUs
Regacy Esports: The Bh…
regacyesports
Violent Games and Crime Rate…
TrAiDoS
LOCKPICKING NOOB
LUCKY_NOOB
Cathedral Of CS And NY pizza a…
FuDDx
Customize Sidebar...

Website Feedback

Closed Threads



Active: 8651 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
Next event in 17h 46m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SHIN 274
StarCraft: Brood War
Britney 34097
Shuttle 2039
Horang2 624
Mini 559
Hyuk 324
firebathero 205
hero 144
Hyun 84
910 66
Sexy 51
[ Show more ]
Liquid`Ret 37
Dewaltoss 36
LancerX 35
Aegong 30
Free 20
SilentControl 19
Rock 17
HiyA 17
Sharp 16
scan(afreeca) 9
Terrorterran 9
Dota 2
Gorgc4690
qojqva2491
420jenkins366
Counter-Strike
fl0m6960
dupreeh136
Heroes of the Storm
Khaldor276
Liquid`Hasu275
MindelVK7
Other Games
singsing1585
B2W.Neo788
Beastyqt621
byalli449
Mlord319
RotterdaM188
KnowMe172
XaKoH 110
Mew2King94
QueenE42
Organizations
Other Games
EGCTV802
StarCraft: Brood War
lovetv 11
[ Show 17 non-featured ]
StarCraft 2
• mYiSmile138
• Reevou 3
• Adnapsc2 3
• intothetv
• AfreecaTV YouTube
• Migwel
• Kozan
• IndyKCrew
StarCraft: Brood War
• Michael_bg 8
• Azhi_Dahaki7
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 1819
• WagamamaTV614
League of Legends
• Jankos1588
Other Games
• Shiphtur199
Upcoming Events
Sparkling Tuna Cup
17h 46m
OSC
19h 46m
Shopify Rebellion Sundays
22h 46m
Mixu vs TBD
Spirit vs TBD
Clem vs TBD
Patches Events
23h 46m
OSC
1d 7h
Afreeca Starleague
1d 17h
Soma vs Shuttle
BeSt vs Rush
WardiTV Weekly
1d 18h
Monday Night Weeklies
1d 23h
Afreeca Starleague
2 days
Leta vs ggaemo
Jaedong vs Queen
GSL
2 days
[ Show More ]
PiGosaur Cup
3 days
Kung Fu Cup
3 days
Replay Cast
4 days
The PondCast
4 days
KCM Race Survival
4 days
Escore
5 days
IntoTheTV X SOOP
5 days
CranKy Ducklings
6 days
Liquipedia Results

Completed

Proleague 2026-09-02
PiG Sty Festival 8.0
Light Tournament 2026

Ongoing

KCM Race Survival 2026 Season 3
K-JUNGMAN
ASL Season 22
Super Anchor Qualifying S3
CSL 2026 AUTUMN (S22)
Acropolis #5
Acropolis #5 - TRS
RSL Revival: Season 6
Calamity Invitational
Big Dog Cup 2026 Div 1
BLAST Open Fall 2026
Esports World Cup 2026
Esports World Cup 2026: LCQ
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026

Upcoming

Escore Tournament S3: King of Kings
Blizzard Classic Cup 2026
Acropolis #5 - GSA
Acropolis #5 - GSB
Acropolis #5 - GSC
SC4ALL II: Brood War
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
BLAST Rivals Fall 2026
IEM Beijing 2026
Stake Ranked Episode 5
PGL Masters Bucharest 2026
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
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.