News for hackers. Stuff that matters.

oxplot

A trend of comments I see whenever App Engine is mentioned is how limiting App Engine platform is and how it doesn't have MySQL, etc. No one seem to ever mention scalability? App Engine is built for just that! Datastore is infinitely salable so is the application and every other API on GAE. I can spend an hour writing an app from scratch that scales infinitely on GAE without a thought. I personally do not know of any other PaaS (e.g. Openshift, Heroku) that's capable of doing that unless you spend a month learning ins and outs of devops for that particular platform.

EDIT: Also the Datastore is replicated in multi data centers and again, you don't have to think about backups either.

Re:Experienced Programmers Use Google Frequently on Saturday April 30, 2016 @10:01PM (#11604539)
A good general resource is Advanced Power Searching course by Google [1].

[1]: http://www.powersearchingwithgoogle.com/course/aps

Re:Making 1M requests with Python-aiohttp on Sunday April 24, 2016 @07:47AM (#11559364)
Localhost goes from 127.0.0.1 through 127.255.255.254. By binding each connection to a random IP in that range [1], one could get a better mileage.

[1]: https://idea.popcount.org/2014-04-03-bind-before-connect/

Re:Clementine: modern music player and library organizer on Thursday April 21, 2016 @07:55AM (#11541318)
I've gone through every music program on linux (including Celementine) and found the only one possessing sanity across the board to be QuodLibet [1]. Everything is simple, customizable and no behavior is forced on the user. I used to use rhythmbox before it was dumbed down for Gnome 3's sake.

[1]: https://quodlibet.readthedocs.org/en/latest/

Re:FreeCAD 0.16 release notes on Wednesday April 20, 2016 @09:38AM (#11534249)
Unfortunately every time I installed FreeCAD, it crashed me consistently after 10 minutes of work.
Re:Instagram Is Ruining Vacation on Tuesday April 19, 2016 @08:58AM (#11526580)
Photographs are pretty much as detailed as a painting could be. Writing and poetry however is like a 5 minute sketch where you can fill in the details based on your current state.
Re:Instagram Is Ruining Vacation on Monday April 18, 2016 @09:32AM (#11519727)
One day mid last year I decided to delete all my 10000 photos spanning a decade. The reason built up gradually and it was the emotions these photos evoked that did nothing but get in my way of enjoying/experiencing the now.

Whatever's significant enough to be important, I remember. I feel a lot more free and happier by not hanging on details of the past.

In contrast, I think writings, like diary and poetry are much more useful to keep, because they can be interpreted differently over time which means they can be related to at the time of reading, years later.

> realize that if you are procrastinating it might be because part of your brain disagrees with a decision you have made

[1]: https://news.ycombinator.com/item?id=9285481

Re:Backing up 18 years in 8 hours on Sunday April 17, 2016 @07:11AM (#11514146)
Am I the only one blown away by Google Nearline?

From https://cloud.google.com/storage/docs/nearline:

> Data is available in seconds, not hours or days. With ~3 second response times and 1 cent per GB/month pricing

This is in contrast to 3 hours of Amazon Glacier [1].

[1]: https://aws.amazon.com/glacier/

Re:MATE Desktop Environment on Saturday April 16, 2016 @04:32AM (#11509830)
I use 0.9.12.2 and it's been rock solid for past 3 months and prior versions equally stable as well.
I agree. This is not vim, it's a hand dryer. User should be able to master it on the first use.

This can be fixed by measuring user's hand proximity to both sides and adjusting the air jet flow to keep their hand in the middle.

Yep, but I found over time that I tense my arm muscles before going in and now can keep them fairly steady in the middle without touching. Call it a learning curve I guess.
Re:MATE Desktop Environment on Friday April 15, 2016 @09:28PM (#11508830)
I can't use anything but MATE + Compiz and mostly because of Compiz'es fantastic functionality and customizability. I'm talking about color filters, grid plugin, and endless others that have no equivalent elsewhere.
Re:USB power supply puts 220 Mains power out on USB jack on Tuesday April 12, 2016 @07:37AM (#11478638)
Finally a possible explanation [1] as to why Apple chargers (USB and laptop) give you tingles when touching the metal casing of the device they're plugged into.

Would love to know if the mentioned capacitor is indeed the reason and whether it leads to enough efficiency to justify the scare it causes with first time customers.

[1]: https://youtu.be/3Hdn0MuCK_0?t=2m14s

Re:Hoverboard Teardown on Tuesday April 12, 2016 @07:28AM (#11478598)
When I see teardowns for most computers/gadgets, I'm always puzzled by the size of the battery. Somewhere someone decided that battery life barely long enough to sell the product, is good enough.

What I expect to see (and I do in Apple products for instance) is the battery dominating the volume of the product.

Re:GCE down in all regions on Tuesday April 12, 2016 @07:18AM (#11478557)
> even when hosting on a major cloud

Hosting on anything/anywhere really. Even if one builds clusters with true 100% reliability running on nuclear power buried 100 feet underground, you still have to talk to the rest of the world through a network which can fall apart for variety of reasons. If most of your users are on their mobile phones, they might not even notice outages.

At some point adding an extra 9 to the service availability can no longer be justified for the associated cost.

To extent of my knowledge, Prince only implements web standards set by w3. The reason browsers can't do what Prince does is because they lack support for those standards.

Wikipedia lists some of what Prince does that others don't:

https://en.wikipedia.org/wiki/Comparison_of_layout_engines_(...

Recently I've been playing with Prince [1] and I've found it to be very powerful with excellent support for paged media. Given that HTML, CSS, Javascript, SVG is used to build the document, it's also familiar to most people already. There doesn't seem to be any open source competitor to Prince though.

[1]: http://www.princexml.com/

Re:YouTube-dl: Open-source YouTube downloader on Friday April 08, 2016 @03:49AM (#11453205)
> Not only for Youtube videos, but also for a lot of other video hosters

Oh ye, the list's pretty comprehensive actually [1].

[1]: https://github.com/rg3/youtube-dl/tree/master/youtube_dl/ext...

Re:Being a “dumb” girl in Computer Science on Tuesday April 05, 2016 @12:52AM (#11427917)
I see the reason for having beginners in any fields at start of college a failure of the primary and secondary education, not that of the student. An effective education system (don't know if one exists) should expose kids to enough variation of what's out there, preferably with real world hands-on work so majority develop find their interest long before college, which is supposed to discipline young people in their existing area of interest.
Re:I Drove Chevrolet's Bolt on Monday April 04, 2016 @05:37AM (#11420468)
"The free supercharging stations I think is a gimmick."

"Free" seems mostly to be a matter of perception. Here is Australia, a lot of merchants, especially small grocery shops, charge you an extra 1.5% on purchases with credit card or have a minimum amount, say $10. As a customer, that bothers the living hell out of me. I am absolutely happy if they increase the prices of every item they have by 1.5% and don't bother me with credit card charges.

I personally prefer to deal with a business that deals with complexities of running their business themselves, instead of passing it onto me, the customer.

Re:The Tampon of the Future on Sunday April 03, 2016 @09:21AM (#11416002)
Not sure if it counts as disruptive but few years ago THINX underwear was on the news [1].

[1]: https://news.ycombinator.com/item?id=8021090

Re:Netdata – Linux performance monitoring, done right on Wednesday March 30, 2016 @08:53AM (#11388857)
Gave it a try. Definitely not useful for running the daemon and view the UI on the same machine. Chrome at least eats 50% of one of the cores to show the realtime data.

On my RPi B, the daemon eats 4% average on all four cores, with almost all the time spent in the kernel. I assume polling the various entries under /proc/ is costly.

Re:Ask HN: How do you debug your code? on Wednesday March 30, 2016 @12:11AM (#11386919)
I follow the data. If a network/USB/Bluetooth program, I fire up wireshark. Text/binary outputting programs, hexdump. Looking at a single piece of invalid output gives me a lot more insight into the problems a lot faster.
Hmm, here in Australia we've had this law for a long time.
Re:How to Get Out of Bed on Sunday March 27, 2016 @03:12AM (#11369210)
It was a contract and I didn't want to move so it was agreed that I work one week remotely and one week onsite every fortnight.
Re:How to Get Out of Bed on Sunday March 27, 2016 @03:09AM (#11369199)
Compression clothing, from socks to tops are magic. I can definitely confirm that the compression socks I have, despite being very thin, keep my feet warmer than 100% wool socks with added bonus of preventing swellings after long walks/sitting.
Re:How to Get Out of Bed on Sunday March 27, 2016 @12:34AM (#11368890)
I'd like to emphasize the first point. For about six months, I woke up at 4am Monday of every other week to catch a plane to another city to start work at 9am till 6pm. I would not only get everything ready to pack in the morning, but I'd leave notes throughout the apartment listing what I needed to do before leaving, things like "take this or that item", "turn the power off", etc. I'd put the notes on door handles, to the toilet, main entry door and the only way I could forget something was if I had a stroke and couldn't read.

So as parent said, it was "brainless peace and harmony" all the way to the airport.

Older »