Hacker Newsnew | past | comments | ask | show | jobs | submit | mani04's commentslogin

For old macbook users (with magsafe connectors), covering the middle pin in connector stops charging the battery while running the laptop on main power supply.

Details: https://apple.stackexchange.com/a/132332/87309


That's excellent - thank you! I use my macbook at my desk quite a lot, and so usually it's plugged in and sat at 100% charge for hours (days?) at a time. So the ability to hold it at around a 40%-70% SOC is really useful


Sorry, why would I want that? Didn't they have smart overcharge protection yet?


Yes, they have over-charge protection. But apple laptops still go all the way to 100% whenever you plug in.

It is not a good idea to charge a lithium battery to 100% all the time. The source article also specifically mentions it, giving reference to Battery University.


People blame crop burning as the reason. Probably the farmers are polluting this place for 15 days, but the same farmers are absorbing our emissions with their farm plants for the remaining 350 days in the year. Nobody seems to mention it ever. The farmers also give us food to eat.

The farmers only need about 2000 dollars for a machine called "happy seeder" to stop burning. It is not a lot of money but the political class will only "subsidize" it, as long as the illiterate farmer fills out a big application form, takes a crowded train to the far-away capital city and submits to the right official along with some bribe.

Given those conditions, I really cannot blame the farmer, I only feel sorry for them.

By the way, I live in Delhi. I am suffering because of this pollution but I will not blame the farmers like media and other people of Delhi. Farmers are nice and simple people, they give us food to eat. Their farms absorb the emissions from my petrol car till I can afford to go electric.


I had always assumed that CSS is faster, till I read your question. A quick search gave me this interesting link - https://css-tricks.com/myth-busting-css-animations-vs-javasc... - check it out!


Thanks for the link, a very informative read... and I've been looking for an answer on this topic for quite a while.


Quoted from article: "The question is, however, how long this will last..."

I hope people do not link this to promotion of piracy straightaway. I hope there are also enough legal torrent websites that come up, so that the government does not see torrents as illegal and start acting against it.

It is only the content that makes a torrent legal or illegal. The concept of torrent is fantastic.


What piracy? I'm not a pirate. I'm just downloading multiple terabytes of Linux ISO's each month.


Ofcourse you are not a pirate :)

But the article ends with a note on piracy, which is irrelevant in this context. Also most people think that torrent means piracy, which is wrong.


I find myself doing exactly this myself, if only to anger my ISP (Shaw Communications), who likes to throttle bittorrent connections. I also force my apt-get dist-upgrade and emerge -eaUDv world downloads exclusively over Tor and I2P throughout my enterprise for the same reason. I'm positive I set off red flags and waste precious resources to monitor my download habits, hopefully diverting attention from others that need that anonymity and privacy more than I do.


I used to be a fan of JSONView or one of those chrome plugins / extensions. Then I realized that I can simply use the network tab to view the JSON data as it gets loaded.

Here is how it works - keep the network tab ready. When you see the JSON data request, click on the request and hit the "Preview" tab. It gives you data in a collapse / expand format.

Advantages: 1. There is one less plugin that scans all your browsing activity, 2. Slightly extra battery life when just browsing and not developing stuff.

Disadvantage: You need to keep the network tab ready, otherwise you will have to reload the entire page with the network tab open.

EDIT:

My apologies if it wasn't clear. I was talking about the "Developer Tools" option in Chrome, in which there is a "Network" tab. It is available in "Chrome Menu" > "More Tools" > "Developer Tools". Alternatively you can hit Command + Option + I in mac, or some equivalent in Linux / Windows to get there.


Usually F12 opens these tools in most browsers (IE, Chrome, Firefox at least) on Linux and Windows, but I do not have a Mac to test Os X. Your tip also applies to Firefox, but I don't know about IE or Edge. :)

I've never really had to handle really large JSON files, as I'm not a big fan of those but for smaller files I tend to be lazy and paste it in jsonlint.com. It's usually just for reference or debugging purposes (like finding the name of a property or some strange value).


I really don't think it is a good point of discussion in this context. The scientists who are working on these rocket launch missions are not in charge of administration of the towns and villages where the toilets need to be built.


Of course they are not. But the merits of India's space program are a debate worth having in my opinion. All the other space programs (except for NK) were started when their nations were doing okay socially at least. Sure, the profits may be redirected to fixing those social issues but lives are being lost the longer they delay that.


Indians spend several times more money on Bollywood and Cricket than the space programs. Space programs are not what needs to be targeted for budgets.


I'm not sure you can compare cricket with government spending, unless the government massively donates to sport and movies?


The Indian Goverment has a budget of Rs. 1541 Crores (£155,000,000~) for the Sports Department

http://www.hindustantimes.com/union-budget/sports-ministry-g...

And the space program has a budget of Rs. 7,927 crore (£799,871,700) according to wikipedia.

So to address your point, yeah India spends quite a bit on Sports, but no way near as much as their Space Program.


And the Government would spend Rs 221,246 crore on roads and railways alone.

http://www.livemint.com/Politics/zdmiM68OZXnq2Kg5sMJESI/Budg...


I tested on mobile as you suggested, and noticed an unwanted horizontal scrolling of about 20 pixels. I assume this is probably a bug to be fixed later.


Here:

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

I tried to replicate your and other commenters experience. I found issues on Android's default browser that didn't exist on my first, Chrome test. Did you use default browser or what browser you on?


My apologies, I didn't see your message on time. I used the default Chrome browser on my OnePlus One running CyanogenOS 13 (Android 6.0). I should have posted this in my first comment itself.

Interestingly, I did not see any horizontal scrolling when I tried in Chrome browser (Mac OSX 10.11.4) in regular user mode. But on toggling device mode (in dev tools), and selecting one of the mobiles - Galaxy S5 or Nexus 6P, the horizontal scrolling started to appear, and it is a lot worse than on my actual android phone.

I haven't yet been able to identify the element that overflows, but the <html> and <body> seems to take default 100% width and are expected to be contained within the browser frame. There is some other rogue element, somewhere nested inside, which is causing this unwanted horizontal scrolling.


I think the horizontal scrolling is happening only in that github.io web page, and probably not a fault with the CSS framework itself. The framework looks nice and small, and a good alternative to the mainstream alternatives.


Probably. See how useful it is? Also, did it load and scroll really fast otherwise?


Yes, it definitely felt faster. The network tab in google chrome indicates a 9.8KB of CSS file, unminified, which is possibly the reason.

Thanks for pointing out this mobile testing methodology. It really helps to evaluate new CSS frameworks, which we see often nowadays.


You're welcome and that's relatively tiny. :) It's actually a variant of an old-school approach of developing on underpowered, older systems to maximize responsiveness. Apps, web sites, databases, whatever. I mean, there's features in modern CPU's that almost everyone has that you can optimize for. Do that for sure but make your baseline efficient even on lowest, common denominator.

Means it will run like a McLaren F1 on the modern stuff with almost no resource requirements. Ironically, it didn't matter all that much on desktops and servers. The new trends of mobile browsers and pay-per-CPU-or-whatever clouds mean it brings more benefit than ever. Especially at scale.


How about Google App Engine for startups? They give a free tier, which I presume is free for life as long as the web application stays within quota.

Ofcourse there is lock-in, there is no free lunch anywhere! But it should be ok for startups with no capital, who just want to figure out their business model. Once the idea is validated, they can always learn from the experience, and rewrite the application if platform absolutely needs to be changed.

Disclaimer: I don't get paid by Google for writing this, though I am trying to do something with google app engine (python) and that may lead to some bias on my side :-)


I don't think it's the same. BizSpark is the equivalent of Google given you free access to their entire Cloud Platform, e.g. Compute Engine, App Engine, Cloud SQL, free upgrades of OS X and free copies of of IntelliJ IDEA... for three years.


Agreed. It is not a fair comparison, BizSpark probably provides a lot more.

But for a startup with only developers and zero capital, App Engine still provides a great platform to get started. And also, there is no need to apply and get accepted, everyone gets the free quota.

Let me change my initial comment - for those who didn't get into BizSpark and who have run out of their free AWS quota can consider Google App Engine for their experiments :-)


One thing that Azure and EC2 gives that Google App Engine does not is root access to VMs. Modifying my models with respect to the App Engine doesn't really seem like a good idea. Maybe I am too lazy to do that, but I just don't want to leave something that gives me a whole new machine on the cloud!


While you can't get root on App Engine, you can get root on a Google Compute Engine instance, and you can use Cloud SQL for a standard data backend. You don't have to use a keystore deal like the old days anymore (pre-2011).

Disclaimer: I'm a dev on Cloud SQL.


From that NASA website on mission logs - anybody else noticed that the success rates have dramatically increased after 2000?

I am wondering if this has got anything to do with significantly enhanced computing power we have nowadays.


I prefer to think that this has to do with the fact that NASA got rid of Dan Goldin and his "faster, better, cheaper" approach to project management.

In space you can't afford to cut corners. You need three people to tighten a screw: one to set the torque wrench, one to tighten the screw, and one to write the protocol, saying that the screw has been tightened. NASA found out in the 1950s, they forgot and learned it again, and Elon Musk will take note eventually.


Interesting perspective. Is there any analysis written about Goldin's era? I studied AI and robotics in late 90s / early 00s and Rodney Brooks' Behavior-based robotics and NASA's approach were in vogue and were given as examples how to do things (and I believed them too). There is some parallels to MVP thinking in tech community.

What I find interesting is that compared to Brooks it was actually Sebastian Thrun that managed to lead teams to build something remarkable (self-driving cars). IMO, his approach was never based on any single philosophical idea or AI technique, but instead his teams build robotic systems that combined many approaches, and the target was always to build something that worked in a real-world situations, like his museum robot.


I was reading the comments under original article, and came across this book - "Venture Deals".

With a bootstrapping mindset, I probably may not need it. But posting the info here for anyone who might be interested in VCs... Search for it in amazon or your favorite bookstore.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: