Hacker Newsnew | comments | show | ask | jobs | submit | neurostimulant's commentslogin
neurostimulant 160 days ago | link | parent | on: Put.io

Many people use ISP-provided router that choked when there are a lot of open connections. A torrent client will usually try to open as many connections as possible, pushing the router to the limit. Under that condition, if another user join the network and tried to browse the internet, he'll encounter a lot of connection timeout error. The only way to avoid this issue is to configure the torrent client to play nice (limit the number of connections) or tweak the router QoS settings to lower priority for torrents traffic (not sure if it's possible with encrypted torrents).

source: my apartment shares a single dsl router to all its tenants

-----

IE5point5 160 days ago | link

Just set a number of connections in your client that the router can handle. Problem solved.

-----


Considering Apple allows developers from all countries supported by itunes to sell their apps in the App Store, I too keep wondering if Google is actually working to add more countries to their developer program.

There are many app developers from my country (Indonesia) that sell apps in Apple App Store, but none of them can sell their apps in Google Play store.

IOS marketshare in Indonesia is less than 3%, while Android's marketshare is more than 40% [source](http://www.ibtimes.com/android-vs-ios-whats-most-popular-mob...). Also, Indonesia has 285.0m mobile subscriptions (US 345.2m subscriptions). On the other hand, Brazil (268.4m subscriptions) is already in the list of supported nations for publishing paid app. [source](http://mobithinking.com/mobile-marketing-tools/latest-mobile...). Yes, Indonesia's GDP per capita is really low, but so is India. Yet, India is in the list too.

-----


Why not just recompile wrf from source? Dependency hell?

-----

aylons 174 days ago | link

Probably it wouldn't work so nice with other compiler. This level of optimization often requires compiler - specific syntax.

Not to say Intel optimization is really good.

-----

nanidin 174 days ago | link

I was in a parallel programming class where the fastest correct assignments got significant extra credit boosts. Compiling with the intel compiler with optimizations turned on (vs gcc) was often enough to make the difference in getting that extra credit by a significant margin.

-----

eridius 174 days ago | link

You were graded based on compiled binaries that you provided, and not based on the source? That sounds crazy to me.

-----

nanidin 174 days ago | link

We provided build scripts and source. The extra credit was for fastest execution time.

I assume you're payed based on final results, not based on source. Not so crazy of a concept - whoever delivered the best results got rewarded for it.

-----

eridius 174 days ago | link

Sure, but if merely switching compilers produced a faster binary, then I would expect all programs to be compiled with the better-optimizing compiler. After all, it doesn't take any particular expertise to adjust the value of CC.

-----

dpe82 174 days ago | link

There's more to optimization than setting -O3. Learning how various compilers behave and how their optimization features interact with your code are valuable skills and may well have been within the scope of the course. Certainly worthy of extra credit.

-----

scott_karana 174 days ago | link

Sure, but why not mandate that everyone tunes the same compiler?...

-----

mikeash 173 days ago | link

I'll flip the question around: why mandate it?

The class clearly has a performance component, and so students were expected to learn about optimization. Are they going to learn optimization better or worse if you mandate a single compiler? If merely switching compilers is the best path to performance, is that not a valuable lesson? If switching compilers and doing a bunch of extra work to make the code fast with the new compiler is the best path to performance, have they not learned a great deal?

-----

scott_karana 173 days ago | link

Some compilers aren't generally available. Hypothetically, what if ICC wasn't available freely to educational users, but some of the students had side-jobs where they used it?

You can always mandate a large set of compilers, make them all available, and leave it up to the students to determine which is fastest. I think that acheives both the competitive/educational goal and the level playing field goal.

-----

mikeash 173 days ago | link

I would definitely ban using any compiler that wasn't generally available to the class, or at least disqualify their output from winning the contest. I'd take a generic approach where it's worded just like that, rather than trying to come up with an official set of acceptable compilers, though.

-----

scott_karana 173 days ago | link

Sounds fair enough. I suppose we're really on the same page after all. :)

-----

mikeash 173 days ago | link

Sounds good! Just remember, if the Internet Police show up, this never happened.

-----

samspot 174 days ago | link

Sure, but in most programming classes they want the source so they can compare to others to see who cheated. It's unusual to be graded on the binary.

-----

gcb0 174 days ago | link

luckily for you your professor did not have an AMD cpu...

-----

nanidin 174 days ago | link

Indeed - we were developing on & evaluated on a homogeneous cluster :)

-----

greatzebu 174 days ago | link

I was trying to build WRF from source a few years ago for a project in grad school, and the bulk of the program was one giant file that crashed gfortran when you tried to compile it. So compiling with a non-Intel compiler can present some problems.

-----

dchichkov 174 days ago | link

Er, I was building it from source... Don't remember exactly was blocking me from using GCC, vaguely remember something about OpenMP support... The config in question was MPI+OpenMP, where OpenMP was used to parallelize withing a node of a cluster and MPI for the cluster itself.

-----


I wish I knew this sooner! The online console is really cool too: http://try-hy.appspot.com/

-----


The blog is down at the moment (returning http 503).

Here is the cached version: http://webcache.googleusercontent.com/search?q=cache:https:/...

-----


> What's odd is that if you look at your submission history, you can up vote your own submissions.

It doesn't seem to do anything though.

-----


> When loading the page, physical memory consumption would still jump to almost 3 GB, because the images are still decoded. But it would soon drop down to a few hundred MB, as the decoded data for non-visible images was discarded, and stay there (with some minor variations) while scrolling around the page.

This is a great news. The application that uses the most memory on my machine is the web browser.

I wonder if this fix would make scrolling the page less smooth.

-----

nnethercote 285 days ago | link

> I wonder if this fix would make scrolling the page less smooth.

It shouldn't. But why don't you try it?

-----


The thing is, if you're not a programmer, you'll have a hard time judging the quality of a programmer and may end up hiring incompetent one. Even a newbie freelancer like me have seen it happen quite frequently. I often hired to clean up the mess left by those bad hires (almost all of them was hired by non-programmer).

You should try posting the job on curated/specialised marketplace such as http://getlambda.com/ and http://gun.io/ . Your chance of hiring great programmer will be higher there.

-----

31reasons 295 days ago | link

I was just checking project estimates on gun.io, they don't seem to be any higher than freelancer or odesk (e.g $1000 for an iphone app) especially if they are looking for "expert hackers"

-----


> I'd planned to hand in my notice tomorrow. I've been fortunate and careful, and can afford to live off of savings for 2 or 3 months and still have left overs.

Hmmm, Isn't 2-3 months worth of saving too low? For comparison, freelancers I know would feel nervous if they don't have cash that can cover living expense for at least 6 months.

I think you should take long vacation and think it over before quitting.

Or, try to secure some freelancing contracts on your area of interests before quitting your old job.

-----

indecisivecoder 298 days ago | link

Thanks for your reply!

To be honest, by my calculations I'd have roughly 10 months's worth of cash to live off, but I don't want to use it all. I want some of it eventually to go toward a big investment, and some to keep for when I end up in hot water not by my own choosing :)

As for a long vacation... I could possibly take a sabbatical, but I know that I wouldn't want to come back. I can't take any more days off as I've already used most of them, so it'd have to be a sabbatical.

The freelancing idea though, that's a goodun. I dunno where to start, to be honest, but it would be an interesting new experience.

-----


> And I say this as a Tor user who has not only donated to the project but also runs a relay.

Just curious, where do you run your relay? Is it under your home internet connection? Does it ever give you any trouble (authorities come knocking the door, etc)?

-----

More

Guidelines | FAQ | Lists | Bookmarklet | DMCA | News News | Bugs and Feature Requests | Y Combinator | Apply | Library | Contact

Search: