News for hackers. Stuff that matters.

metaphyze

Re:What's the most profitable programming hobby? on Thursday July 01, 2021 @01:55PM (#27702166)
No, if it's a hobby, it's supposed to be enjoyable. I do enjoy programming. I could enjoy iOS development as much as Android development or server development so why not combine that with making money?
Re:What's the most profitable programming hobby? on Thursday July 01, 2021 @10:46AM (#27699541)
Was that an autocorrect error: "ramen profitable"? I like it, but I'm looking for more than ramen money. I'm guessing you meant "really profitable".

What's the most profitable programming hobby?

I enjoy Android development, but I've never really made much at as a hobby. I was thinking of starting iOS development or maybe Alexa Skills development. In your opinion, what's the most profitable programming hobby currently? Thanks in advance.

( Read More... | 47 comments | 37 points | on HN )
This sounds like a great way to get everybody in India to watch it.
If you love Java but hate JavaEE, check out Spark Java: http://sparkjava.com/
Why didn't they just ADVERTISE the tuition as $12,000 (or maybe $15,000) rather than $36,000 if they were discounting the tuition for 67% of the students anyway. A lot of people probably didn't even bother to apply because of sticker shock.
Thanks, everyone, for the suggestions. I think the "niche" suggestions were the most helpful. I haven't had much feedback from Show HN. Just FYI, the project is a mathematical oriented drawing app for Android. It's here: https://play.google.com/store/apps/details?id=com.doodleback...
Re:Bye Bye Microsoft Office, Hello LibreOffice on Monday November 25, 2019 @02:34PM (#21631874)
Yes. OnlyOffice. There's a community edition. https://www.onlyoffice.com/download.aspx
Both GM and Ford have been hiring a lot of software engineers in Detroit in the past few years. The problem is that they need NASA-style software engineers (crazy-anal nit-picky consider-every-possibility style engineers)--not engineers from the regular software industry. If your car crashes, you can't just reboot it.
I wonder if you could get the same benefits by just blowing up a balloon.
Sounds like someone has discovered cats.
Actually, this happened BEFORE the summit. Feb 22nd. The summit was Feb 27-28. https://en.wikipedia.org/wiki/2019_North_Korea%E2%80%93Unite...
Re:Give Me Back My Monolith on Wednesday March 13, 2019 @04:47PM (#19383574)
I'd like to point out that microservices are not always as cheap as you may think. In the AWS/Lambda case, what will probably bite you is the API Gateway costs. Sure they give you 1,000,000 calls for free, but it's $3.50 per million after that. That can get very expensive, very quickly. See this hacker news post from a couple years ago. The author's complaint is still valid: "The API gateway seems quite expensive to me. I guess it has its use cases and mine doesn't fit into it. I run a free API www.macvendors.com that handles around 225 million requests per month. It's super simple and has no authentiction or anything, but I'm also able to run it on a $20/m VPS. Looks like API gateway would be $750+data. Bummer because the ecosystem around it looks great. You certainly pay for it though!"

https://news.ycombinator.com/item?id=13418332

I think you must mean USB-C ports. There are no standard USB-A ports on the MacBook Pro any longer. https://www.apple.com/macbook-pro/specs/
How's the trackpad compared to the Mac's? I don't need force touch. Just smooth precise scrolling. The trackpad is actually one of my top considerations when buying a laptop because I rarely use a mouse any more.
Just FYI, Kahn Academy's Linear Algebra course is great. Very thorough and well-thought-out.
I think the only part of Android that's under GPL is the Linux kernel. The rest is under the Apache license.
Re:Amazon to Build Second HQ in North America on Thursday September 07, 2017 @12:24PM (#15193277)
I've been to Pittsburgh too, and I do think that a possibility. One advantage that Raleigh-Durham-Chapel Hill has over Pittsburgh is weather. Amazon is very fault-tolerant minded. There's not much chance they'd need to close the facility in Raleigh because of a blizzard (although it has happened a few rare times).
Re:Amazon to Build Second HQ in North America on Thursday September 07, 2017 @12:20PM (#15193225)
I agree. There's a huge tech workforce in RTP, very good universities, affordable costs of living (which I suppose translates to affordable business property). Another indication: Take a look at the size of the Triangle AWS Meetup group on Meetup.com. It has 879 members.
To everybody posting about not working on a side project because of children, I would ask you to reconsider that if you're truly passionate about something and want to develop it. I've been working on a side project for a few years now. I also have kids and spend a lot of time with them. I've discovered that it's actually very beneficial to spend an extended time working on a project, and by extended time, I don't mean hours every day. I mean stretching the project out over years. For one thing, it gives you the freedom to reconsider solutions and approaches. Work is usually focused on delivering as quickly as possible. It's very refreshing to have the time to consider a problem thoroughly and let it play in your subconscious freely. Also, your kids need time to themselves too so there's no need to feel guilty. But to answer the question, I spend probably 0-15 hours per week, usually working at night after the kids have gone to bed.
Re:Introducing Cloud Functions for Firebase on Thursday March 09, 2017 @02:34PM (#13832502)
Another disappointing limitation is being restricted to Node.js. AWS Lambda lets you write your code in Node.js, Python, Java, or C#. This is particularly useful for tuning your Lambdas based on their expected usage. If you have a Lambda that is being constantly invoked, it might be better to write it in Java. It has a longer start up time but has better performance after the initial startup. However, if your Lambda is invoked infrequently (and thus is frequently shutdown from inactivity), it would better to write it in Node.js or Python to take advantage of the snappier start up time.
Re:Ask HN: A random maths problem we started discussing at work on Thursday December 12, 2013 @05:04PM (#6897606)
I don't think this is exactly the same as the proposed problem. What it's giving you is the expected value. This includes in its calculation the lower probability cases and the higher probability cases. For instance, there's a slim change of this happening when the number of employees is 365. It's been a while since I took probability, but I think the expected value is going to be larger than the minimum value needed to achieve a .5 probability if the probability graph is skewed, which in this case it is.
Re:Ask HN: A random maths problem we started discussing at work on Thursday December 12, 2013 @03:25PM (#6896948)
Brute force gives me about 2287/2288. Trying each number 1,000,000 times (distribute X balls in 365 bins, count number times all bins are filled) so it seems reliable, but maybe I have bug somewhere:

import java.util.Random;

public class Birthday {

private static Random rand = new Random(System.currentTimeMillis());

public static void main(String... args) {

		final int n = 365;
		boolean[] bins = new boolean[n];

		final float maxNumberOfAttempts = 1000000;
		for (int numberOfBalls = 2285; numberOfBalls <= 2400; ++numberOfBalls) {

			int attempts = 0;
			int numberOfTimesAllBinsFilled = 0;

			while (attempts < maxNumberOfAttempts) {
				if (distribute_X_Balls_in_N_bins_randomly_and_return_the_number_of_filled_bins(
						numberOfBalls, bins) == n) {
					numberOfTimesAllBinsFilled++;
				}
				++attempts;
			}

			float prob = numberOfTimesAllBinsFilled / maxNumberOfAttempts;
			System.out.println((prob > .5 ? "PASSED:" : "FAILED:") + numberOfBalls + ":" + prob);

		}
	}

	public static int distribute_X_Balls_in_N_bins_randomly_and_return_the_number_of_filled_bins(
			int x, boolean[] bins) {
		for (int inx = 0; inx < bins.length; ++inx) {
			bins[inx] = false;
		}

		int whichBin = 0;
		int total = 0;

		while (--x >= 0) {
			whichBin = rand.nextInt(bins.length);

			if (!bins[whichBin]) {
				bins[whichBin] = true;
				++total;

                                if (total == bins.length) {
					return total;
				}
			}
		}

		return total;

	}

}