metaphyze
metaphyze on Hacker News
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?
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".
Posted by
metaphyze on Thursday July 01, 2021 @09:54AM
from the self-post dept.
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.
This sounds like a great way to get everybody in India to watch it.
Posted by
metaphyze on Saturday February 15, 2020 @10:04AM
from the show-hn dept.
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.
Posted by
metaphyze on Saturday January 11, 2020 @10:02AM
from the show-hn dept.
Posted by
metaphyze on Sunday December 29, 2019 @10:06PM
from the show-hn dept.
Posted by
metaphyze on Friday December 27, 2019 @04:08PM
from the self-post dept.
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.
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
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.
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).
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.
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.
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.
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;
}
}