HNHacker News
TopNewBestAskShowJobs

mf2hd

62 karma · joined July 11, 2015

submissionscomments
mf2hd··on Ask HN: What made programming finally click for you?
Exactly this. I remember the first time I saw a computer, just pressed a button and the letter appeared on the screen. It was magical. There was another “aha” moment later when I understood that it’s doing what I tell it to do but nothing else, so I have to be very specific.
mf2hd··on “No convincing evidence” that depression is caused by low serotonin levels
Focus.
mf2hd··on I Created a $60K/Month App That Collects In-Person Payments Through Stripe
12+ month subscription, paypal support.
mf2hd··on A Landmark Rat Study on the Origins of Alcoholism
Interestingly you can get drunk on alcohol free beer. The human mind is amazing.
mf2hd··on UK ISPs have to stop lying about broadband speeds
I'm in zone 2, I have 76 Mbit vdsl, in reality it's 40-50 Mbit on good days. Virgin is not available in the building.
mf2hd··on Intel brings a six-core i9 CPU to laptops
Buy a 2 x Xeon workstation with 768GB ram?
mf2hd··on BMW says electric car mass production not viable until 2020
I think it's quite the opposite, battery production is the key.

The problem is that no one can mass produce batteries for cars at this scale. As of now the projected capacity of the Gigafactory is enough batteries for 500k cars / year. By 2020 it will be 1.5M cars / year. This is more batteries than the whole world produced in 2013.

By 2020 Tesla is gonna have a lot of experience how to do this efficiently so the cost will be much lower. They are gonna have a new gigafactory in the EU. Lithium mines can't produce enough lithium at this scale so Tesla already makes deals with them to ramp up the production.

BMW makes 2.5 million cars a year. So what's the plan exactly? Just buy the batteries? From whom? When every other large car manufacturer wants to buy batteries and there is not enough on the market the price will go up.

Every time I read something like Volkswagen|Mercedes|Audi|whatever plans to sell x ev cars by 2020 I never see any mention about who is going to make the batteries.

I think the large car manufacturers are already behind, they should start working on their battery factories right now.

mf2hd··on Slack to make it easier for bosses to download your private chats
The company I'm working for is using google's gsuite. The employees are using their company email address to log into slack so whenever the bosses wants to read their private chat they just login with the employee's email account.
mf2hd··on User-defined Order in SQL
I have the same problem right now.

I use an unsigned int "pos" column in the db.

For a new list the "pos" starts with 1..n

When the user changes the order I find the largest "pos" in the list and with a for I set largest + n "pos" for every item.

There will be about 20 items in a list but let's just assume it's a 1000, so with this I'm good if the user edits the list less than 4 294 967 295 / 1000 times.

And if the largest + count(list) < lowest I can set the largest to zero and start over the pos with 1.

mf2hd··on Unexpected challenges of making money on the internet
Exactly this. I just don't want to get up, find my wallet, enter the card number, choose the expiration date from a select, enter the CVV, hit submit, and after all this there is a chance it's not going to work, who knows why, I don't even care. I don't like paypal, but it's really convenient.
mf2hd··on Ask HN: What's the worst-designed, slowest app that still makes a lot of money?
Except gov.uk, that site is amazing.
mf2hd··on Strava heatmap can be used to locate military bases
"What's the big deal? It's just metadata."
mf2hd··on iMac Pro Available Now
Finally we can build a proper compile/render farm! Oh wait.
mf2hd··on iMac Pro Available Now
You can always buy two :)
mf2hd··on Firefox Is as Fast as Chrome Now, and No One Cares
No one promised anything.
mf2hd··on Customer's 20-year-old email account shut down over unusual address
https://protonmail.com/
mf2hd··on 21% of Windows users plan to switch to Mac, says survey, vs. 2% Mac to Windows
Why don't you buy a used mid 2012 MBP instead? For 5-600 pound you can get one with a still good quad core i7 cpu and you can upgrade/replace everything, removing the ODD gives you extra space for additional HDD/SSD, can handle 16GB ram, easy to replace the battery (I just did, it was about 30 quid from amazon), it's perfect. I'm still using mine and not planning to replace it until it dies.
mf2hd··on Coconut oil isn't healthy and it's never been healthy
I don't think he was fat. Anyway, obviously it doesn't mean that you can eat as much as you want, it's never healthy.

I can only speak for myself, my calorie intake is restricted by about 20%. Most of it has to come from fat, not protein and your biggest problem is how can you eat that much fat. So lean meat is fine, but bacon, pork, steak is better :) And whole eggs, butter, cheese, avocados, carb free peanut butter, mayo. I measure everything, and it's still a lot of food. Since your blood sugar is basically constant during the day you don't feel hunger.

Yeah, you need fiber, but not a ton, just a teaspoon of psyllium husk powder daily, I mix it with my protein shake. Works.

Go to reddit /r/keto, there is a faq there.

mf2hd··on Coconut oil isn't healthy and it's never been healthy
Bullshit, the problem is not fat, it's the carbs. Watch this video:

https://www.youtube.com/watch?v=3vr-c8GeT34 David Diamond, Ph.D., of the University of South Florida College of Arts and Sciences shares his personal story about his battle with obesity. Diamond shows how he lost weight and reduced his triglycerides by eating red meat, eggs and butter.

This one is not heart problem related, but still interesting:

https://www.youtube.com/watch?v=da1vvigy5tQ Can a person be "cured" of Type 2 Diabetes? Dr. Sarah Hallberg provides compelling evidence that it can, and the solution is simpler than you might think.

So after learning a lot about it I just started ketogenic diet a couple of weeks ago (very low carb, high fat, moderate protein). Everything I read about it says MCT is good, so coconut oil is good. Pure MCT is much better but it's £18 half litre so I'm not going to cook with that.

KCKO :)

mf2hd··on Microsoft: more people are switching from Macs to Surface than ever before
I moved to OSX a couple of years ago. I was really surprised that the extra buttons on my Logitech mouse doesn't work at all, ok, I bought SteerMouse, now it works.

I use every app in full size window, sometimes two apps side-by-side. On windows it was really easy, on Mac it's painful. So I bought an app for that, Cinch.

I want a tiny calendar in the corner with the weeknumber in it, I had to download Itsycal (which is at least free).

The bar can be a real mess so I bought Bartender, worked fine, I could even hide the spotlight icon. Then I upgraded to El Capitan, and guess what, you can't hide the spotlight anymore, so I had to buy Bartender 2 because they claimed you can hide icons without disabling SIP (https://www.macbartender.com/system-item-setup/). But it turned out it's not working for spotlight... Thanks Bartender!

Ah, the mess when you plugin an external display, how fckd up is that! My carefully fullsized windows are all resized and moved around to some random position. No worries, there is an app for that! It's called Stay, it can save the position of the windows, but you have to do it for every possible screen combination. If you have one external display, you have to save the window positions three times: internal display only, external only, both. If you happen to using the same MacBook with two external displays (at work and at home), now you have to do this a total 6 times. And it stores the window position on per app basis, so usually I open everything and save them all. On Windows this whole problem just doesn't exists.

I can't turn off the internal display, there is no way to just do a windows+p and chose external display only like on windows. I have to close the lid (so now I can't use the keyboard) and wake it up because now it's sleeping. Great.

I always turn off every animation, doing this on windows is easy, but it's really painful on OSX, and every time you upgrade you have to do it again, and sometimes the same terminal commands just doesn't work, thanks Apple. And you can't turn off everything, basically this is why I don't use the fullscreen functionality and multiple desktops.

Every time I use my desktop pc, I feel like when I was a kid and we upgraded our old 300 mhz computer to a 1 ghz one with a 3d card.

After mountain lion I regret every single upgrade. So for me El Capitan is the last, my next computer will be an Alienware 13 with 32 GB ram and GTX 1060 and an OLED screen and it will be still cheaper than a MacBook Pro.

mf2hd··on Ask HN: What was your best passive income in 2016?
It's too risky, not worth it :)
mf2hd··on Ask HN: Are you more likely to apply for a job that discloses salary upfront?
Yes.
mf2hd··on Ask HN: Why is Notepad++ not ported to mac yet?
It's even faster (a lot faster) than sublime if the text file is really big.
mf2hd··on Show HN: Commits.io - Create a poster from your code and logo
It is, just the white pixels on the image are black text on the poster, and the same with black pixels, so Gopher's eyes (and the other black parts) disappear.

There is a Light Text option, with that white pixels are grey so you can see the eyes :)

https://s18.postimg.org/4jg01zwux/gopherposter.jpg

mf2hd··on Show HN: Commits.io - Create a poster from your code and logo
I think it's simple, every character is a pixel, you just have to change the color of the characters to match the same pixel on the uploaded image.

It's a great idea btw.

mf2hd··on Paradoxical Crystal Baffles Physicists
Related video, Feynman can't explain magnets: https://www.youtube.com/watch?v=MO0r930Sn_8
mf2hd··on How it feels to learn JavaScript in 2016
Thanks for the link, great story.
mf2hd··on Infographic: How Elon Musk Rose
argues with cto over which operating system to use (pc or linux)
← PreviousPage 2 of 2