skysight-inc/HackerNews huggingface dataset:
Not sure what OSes you are using... but in the past, running a windows VM would be the main power drain of any laptop I'm using.
Not related to the article, but a meta question about HN -- how has this stayed on the front page all day? It has 1 comment (before I posted this), and ~50 upvotes. I've seen much popular posts be buried much earlier.

Again, not disparaging the content, it's great, but this was peculiar.
I find practicing yoga to be surprisingly helpful in building grip strength. Many balancing postures are really good for this.
The overwhelming majority of the time, most users' CPUs are idle. Idle drain matters.
In my case, I lost the weight by eliminating a lot of carbohydrates from my diet. The only way I would bother touching a piece of bread would be if it was unusually delicious.
Because it is easy to use to separate UDP datagrams.
Chrome's Sandbox Feature Infringes on Three Patents So Google Must Now Pay $20M
Amazing, this thing has the capability to grow almost like Uber. This should definitely beat Mechanical Turk once it reaches scale.
When I run Windows in Parallels it DESTROYS battery life. I'm lucky to get 2 to 2 1/2 hours on my current MBP if I have my full toolchain and Windows running.
I'd trade in a few ounces to get back user serviceable memory and hd/ssd upgrades.
It replaces words, and some other cool functions.

"Trump" is replaced by "Mr President". "Stupid" is replaced by "Intelligent".

At some point it quotes the phonetic alphabet. I didn't look hard enough to work out what triggers it.
Can anyone else speak to Caddy? My interest is peaked. I run several hundred thousand HTTP requests in a load balanced web cluster hourly, I'll do some reading, but has anyone else used it for high traffic?
Bug bounty lightning talks
Valentine's+Day,Valentine+Week,Valentine+week+2017,Valentine's+Day+2017,+khabar
And it's not just XP, it's IE on XP, meaning IE 8 or older. SNI works on the most recent Firefox & Chrome for XP.
What? Battery life has decreased considerably. People and tests show exactly that. I don't think there's any testing that shows that battery life is the same as in the 2015 model.

Even this article:

> It’s also in line with people reporting that under high load the new MBP lasts a shorter amount of time than the earlier models.
My job title is currently "Data Engineer" I work in an industrial plant. Here's my two cents:

My background is in Engineering (I'm a materials engineer by qualification). What differentiates me from a statistician, analyst etc is my domain knowledge. I have almost 15 years experience working with industrial processes. I have the background knowledge of chemistry, thermodynamics, mechanics etc. Which someone with a stats background would be lacking. So when I am asked to optimize an industrial process I can utilize that expertise whilst developing models.

I would expect that a data scientist would know more about machine learning and would have a much stronger stats background than me. They'd also probably write much better code (I work in C/C++ and SAS, from what I have seen data scientists tend to be Python/R focused).
You love your new computer that has been in the shop for 13 days? May I ask, when did you buy it?
https://www.google.com/search?q=bangladesh+life+expectancy

http://data.worldbank.org/indicator/SP.DYN.LE00.IN?locations...
It's certainly not editorializing -- it clearly states at the top of the page that "100% goes to charity." The list of games is also far greater in size than any other Humble Bundle I've seen, so 'huge' is also accurate. As for the link-bait accusation, it seems to me that the original title was more descriptive than the one you insisted on.

A simple "please use the original title" would have sufficed.
I'm a fan of the underused dlib C++ library[0]. It has a lot of uses and work transfers cross platform no problem. I know I can do all the work on my Linux machine then when it comes time to export for Windows just open up a VM redownload the repo and compile with cmake and it just works

The thing I like about it the most though are the examples which there are for every feature. The person who wrote it actually understands what I want out of an example, I want code I can look at and immediately understand what is going on and why. I want examples I can refer to when mine does not work so I can compare and see what it is I did wrong. Take the GUI example[1] for instance, anything that happens that is specific to that example has a comment. It makes no assumptions about your prior knowledge other then you understand C++.

[0]http://dlib.net/
[1]http://dlib.net/gui_api_ex.cpp.html
> For instance you have your standard list, which IIRC is implemented as a dynamically allocated array of pointers to Python objects. This gives very fast append and pop operations on it's right side, making it a wonderful stack. However it's interface specifically lacks a dedicated prepend/appendleft operation, because appending to the left of the array involves shifting the entire structure over one place in memory. This is a very slow operation, because it must copy the entire structure to simply insert a single element. Python get's away with append on the right, by allocating a bit of extra "padding" memory on the right side, to avoid having to copy the structure.

Not quite sure I get this. What's this got to do with Python? Arrays, or more specifically resizing arrays, are supposed to work like what you just described. Appends are constant time and you almost always have extra memory because of the resizing nature. Is this different in other languages?
That is correct in this case, ignoring the other issues with buying an Apple device.
Look at the curvature of the surrounding skin. I bet even a CNN could learn it.
I think the choice is between using a solid platform like the App Store or something like it, or building your own using tools that won't go away either. Stripe, PayPal, things like that.

It takes a lot of effort to build out your own store and get it right, this is no small task, which is why the 30% fee charged by these stores is not necessarily the biggest obstacle.

These intermediaries add considerable risk.
Obviously, the most important skill for a programmer to learn is dogma. Dogma provides a perpetually frictionless path back to the primacy of your own ideas. Dogma obviates the need to become self aware, allowing you to pop out such gems as "So, stay out of this quasi-religious controversy", while portraying your own method as the One True Way.
Lots of upvotes, few or no flags, few comments (so it didn't set off the overheated discussion detector algorithm), all of this plus the relative rankings of everything else today.
Sid, Cofounder @ Playment here.

Algorithms are only as good as the data that trains them. Besides having basic product features such as building bounding boxes on the images, identifying objects from images, context based text classification etc, we could also support multi step complex workflow. For example, for self driving cars, from a given image we could first find out if there are pedestrians present or not, then # of such pedestrians, then build boxes around it and finally tag them as males and females. To make it even more simple for our customers, we take over the complete ownership of building such complex workflows and ensuring quality.
If you're interested, head over to /r/griptraining. One of the most frustrating things about grip, is how specific each kind of grip strength is. Pinch grip (tripod pinch) vs static holds vs ulnar grip, all require specific training.
WSJ doesn't let Google referrals view their content for free anymore :(
I've had the same intermittent key issue on my keyboard since I got it. Opened a support ticket with Apple days after I received it but still haven't send it in. Joel Spolsky had the same issue[1], TWICE [2]. If there's anything wrong with these machines, it's the keyboard, not the things everyone who doesn't even own one thinks it is.

[1]: https://twitter.com/spolsky/status/815245283818733569
[2]: https://twitter.com/spolsky/status/815245490010787840
> effectively added a second screen

Powering a main screen versus a screen 1/15th of the size hardly qualifies as "effectively... a second screen"

> improved overall performance

Is it possible newer components are more optimized to draw less power for the same or more performance?
> Reducing mA (power draw) rather than increasing mAh (power storage) is the most effective way to increase battery life, which would go a long way to explain manufacturers’ obsession with thinness (which, in electrical terms often directly translates efficiency (i.e., smallness)) in their devices rather than just giving us something that endures.

I think it goes the other way; the manufacturers' obsession with thinness (for mostly aesthetic reasons) goes a long way to explain why they're focusing on reducing power draw.

It's great that they are reducing power draw, but by making everything thinner (usually translating into decreased power storage), those gains in efficiency are largely cancelled out when it comes to battery life in real-world usage.

When creating these things, the designers, engineers, and marketing people obviously have some kind of target battery life in mind, and it seems as though the target is always "about the same battery life as the last generation," whereas there's no end to the number of compromises and engineering efforts that go toward cutting 1 mm off one dimension.

And of course, the tech bloggers all go nuts about how thin the newest generation is compared to the last, and people buy computers based on their recommendations.

Aren't these things thin enough already, at least for professionals? Why not go for some truly earth-shattering battery life on one of these laptops? Do people really care more about that 1 mm than they do about potentially hours of additional battery life?
This is very useful information. Thank You for answering.
In what way? Are you relying on CBC padding to determine packet size?
Yes.

There is nothing particularly dangerous about accepting claims from strangers on the internet at face value. I don't use their service, so I'm not going to be harmed by anything he says if he is lying or if he is telling the truth. If I decide later to use their service or if he says something that seems false or misleading when taken at face value, I can adjust my level of skepticism accordingly.
Have you ever considered carrying a battery? You have the classic use-case for having one.
That's bad. I am nowhere near an Apple Store and needed a repair on my 2014 rMPB. Apple overnighted me a box. I packed it and it was picked up that evening around 8pm on a Wednesday. They got the computer fixed and back to me by Friday morning. I would be very unhappy to wait 13 days.
WSJ no longer allows Google referrals to view articles for free, but you can still view the full article by posting it to Facebook. Set the visibility of your post to "only me," post it, and click on the article in your own post's link.
Are you guys fixed on some specific usecases or trying to take care of almost all kinds of workflows?
Python can be used to make games as well. As well as any other language.

https://github.com/libgdx/libgdx/wiki/Using-libgdx-with-Pyth...

Here's a screenshot of something I prototyped.
http://pasteboard.co/y6bxRPA3e.png
In terms of news, I use Haystack (http://www.haystack.tv). It aggregates YouTube videos from various media sources daily, much of it American (then again, that might be intentional). You can also pick and choose specific sources and topics you want to follow, even cast to Chromecast. The developer(s) are pretty responsive too and the app is free.

My only frustration is that it only aggregates videos on YouTube. If you want to get video news segments from media companies that publish their videos to a proprietary CDN or hosting service, you can't use it with Haystack.
>Wafting some pure CO2 over a glass of water would not make it fizzy or change its PH

Yes, it would change the pH [0]. CO2 dissolves in water to form carbonic acid [1].

[0]https://en.wikipedia.org/wiki/Henry%27s_law

[1]https://en.wikipedia.org/wiki/Carbonic_acid
Some Ashkenazim trace ancestry to Lucca (according to various accounts, they were invited to what's today Germany by Charlemagne). However, there are ancient Jewish tombstones discovered in Cologne for instance, which predate that by hundreds of years. Either way, Sephardim had a separate migration path.
In reality, that's why I think that neither Go nor Rust will ever replace C (Maybe C++, Java or Python), because nothing can replace C.

C worked in the 70s, when a naive compiler + asm would work perfectly.
Which postures increase grip strength? Binds? What form of yoga do you practice?
Ask HN: Did you find it hard to date if you immigrated to US?
I am an immigrant. I came to US on h1b visa and work for a top company.
Only caveat is - I find east and west coast are extremely hard to date women, especially if you are dark skin color.

Once I get started, I am pretty funny guy. I guess in US looks matter a lot when everyone around you is 10x handsome.

I am in shape and very hygienic kind of guy. But,still its hard to get a match.

What are your experiences if you have immigranted to US.
The difference is more nuanced. The media in reality has never been un-biased. See Herman & Chomsky's Manufactured Consent work (sorry, I've been mentioning it very often). They did a great job proving how mass media has always been subservient to large corporation and governments. The mechanism of how it works is different for each case.

> North Korea's news is an extreme example of being laser-focused on inane activities of the leader and routine diplomacy, to the complete exclusion of anything about the daily life of civilians.

North Korean model is a more distilled and purified version, obviously to a ridiculous level.

But you brought a good point that in some domains like entertainment, weather, non-political stuff, the news are still there. There is no payoff or threat, it does get through.

Another thing I noticed that foreign news cover stuff better if they don't have a stake in it - like say Al Jazeera talking about South America for example.
Then, irony of ironies, people put their ultra-thin devices in cases to protect them, carry multiple batteries for them, or external charging bricks, and my favorite... the oversized extended battery.

Throws hands up in air
I suspect that 'BatteryTimeRemaining.c' is used in both iOS and OSX builds. It seems unlikely that a MacBook would have an extra battery pack.
It came in early December, and I dropped it off Feb 2nd. So just a few days outside the 40 day RMA window, though had it failed earlier I'd probably still have opted for them to repair it.
I was trying to be conservative. But yeah. Take the six or so coastal airports times a couple of billion each for expansion. And add that Bakersfield and Fresno are undeserved. That adds up to a big chunk of the money needed to build the Bay Area to LA Basin part of the project.
> Not necessarily. There are extensions to set up, proxies to set up if you're behind a firewall, etc.

Default, basic workflow is the same though. For email, this doesn't map well, since everyone has a different workflow; there's not really a "default". And most if not all web-based contribution workflows don't force you to switch browsers (sometimes you may have a couple improvement features on other browsers, but that's not prohibitive), so this discussion is moot anyway.

Proxies are much easier to set up for browsers as I mentioned earlier.

> When you delete a message, it's marked with the expunge flag, IIRC and will be deleted when you end the IMAP session.

Right, but I also don't want to store all my emails locally, just the recent ones, and it's unclear how to do that without getting them deleted. Thunderbird in particular gets very confusing about this (the OSX Mail app is clearer). The first time I set up Thunderbird it synced everything. I didn't want that (I realized that it was going to download my gigabytes of email after it started syncing); but was too afraid to delete the older messages. I eventually went with deleting the profile dir and starting over. This is not just me, multiple people I know have been through similar confusions when setting up.

And, again, none of this is obvious.

"I've never had that problem" misses the point; the point is not that it works a certain way, it's that it's confusing and nonobvious and very easily can turn people off contributing that way.

> I think there's just a fundamental difference in opinion here. Many people, including myself, learned a lot of what they know by experimenting, reading documentation/articles, asking around, etc. They didn't need to have somoene guide them step-by-step in order to complete a task. They would read guides and then expand their knowledge based on what they read.

This is how I learn as well. I too am self-taught. But there are many people who do not have the time to learn things by blundering along. Reducing friction wherever possible is something I care about deeply. Not everyone does, but I do try to convince others to strive for the same.

> Ports for secure transports (SMTP, IMAP, etc.) aren't typically blocked by residential ISPs.

Yes, but people live in universities, or other large shared NAT networks, which often blanket port block. I'm not saying that these policies are reasonable, I'm just pointing out the reality of the situation.

And SMTP is what you need to use git send-email, which is what the original discussion was about.
Or you could read it as just another object lesson that making ironic statements about politically or emotionally charged topics on the web is a fools game because your content will be shared beyond those who know you intimately and the irony will be lost making you look like the thing you hate. There is no excuse for a professional viral media star like PewDiePie to not know this.
When Valentines Day is coming
Precisely this. If the 2016 MacBook Pro I bought had been a tad thicker I would not have noticed. But I returned because of the dismal battery life under moderate load. Much worse than the previous generation. Did they even test this machine in the wild?
Intel Shows 2.5D FPGA at ISSCC
Does WhatsApp have reproducible builds yet? Do we know that the app isn't storing the keys somewhere else?
Curious if anyone else had constant sleep/wake failures?

I otherwise love the computer, but when I sleep it overnight it inevitably shuts down and has to restart in the morning. I'm sending in the crash report daily just in case they actually use them and maybe it'll get fixed.

Not a huge deal since computers boot so fast and I always save things, but it's still annoying.
Spotify for Short Stories: Pre-Launch
> The union ensures that the compiler doesn't move "u.lld = 0" above the first print statement, but usually writing from one type and reading from another is undefined behavior no matter how you accomplish it.

I know, but the only reason aliasing becomes an issue is because someone is trying to cast between unrelated pointer types to perform cheap type conversions. Yes, even with the union the behavior is undefined, but if you know the platform you're targeting the program may be well-behaved.

As for your snippets, yes, casting pointers across function boundaries will work. The problem is when you don't want to introduce a call, which is where unions come in.
> If you're excited about desktop 3D video games, pick up C++ and, say, the Unreal Engine.

Or get Unity and learn their built-in scripting language. No need to spend years learning C++, OpenGL, etc. if you're not planning on being the next Carmack.
Amazon rainforest was transformed over 2,000 years ago by mysterious earthworks
Learn C++.

If you learn C++ you will understand the collection of tradeoffs that go into making Python surface-level pretty and below-surface as ugly as anything else.

If you learn Python you will be wildly productive until you paint yourself into a corner.
Valentine’s Headless Girlfriend – Creepy way to crack adult streaming service
Learn golang.

Great article on why
https://hackernoon.com/why-go-ef8850dc5f3c#.gqw0x9wft

Inspirational video on the guy who created golang.
https://youtu.be/IjvjqAVkvYo

https://changelog.com/gotime - podcast on go

https://gobyexample.com - let's you run examples

Wiki
https://en.m.wikipedia.org/wiki/Go_(programming_language)

https://www.jetbrains.com/go/ - ide for go

Davy is great.
https://dave.cheney.net/resources-for-new-go-programmers

Todd is awesome too.
https://youtu.be/c7XMV2HM6IQ

https://mobile.twitter.com/todd_mcleod?lang=en

Newstack is great
http://thenewstack.io/make-a-restful-json-api-go/

Books on it.
https://github.com/dariubs/GoBooks

Nice resource on structs and interfaces
https://www.golang-book.com/books/intro/9

Just golang news
https://golangnews.com
Check Out 18 Kindle Fire Issues That Most People Are Facing
What's the point of this though? Why are you letting programmers write non-functional code? When does the loop exactly terminate? I'm guessing the standard discusses this but at this point idk if I care about memorizing more C trivia.
> If you're excited about web servers, pick up Ruby/Rails

Yes. After much reflection, I decided that I'm at the "fuck it, I'll use Rails" point for new projects. It's easy, batteries-included, and (mostly) fun.
They're essentially using your cooling in the summer unless it does air intake from the outside too.
I was expecting a few okay games, not a pretty solid list.
To take an example, Java can be used for a great many things. It's nowhere near as specialized as a tack hammer. So this isn't as easy a decision as you are making out.
All the arm-balance poses and handstanding are dependent on grip strength, at least to do properly. Maybe I'm conflating finger/forearm/wrist strength with "grip", but they sure feel related. The crow pose and handstanding seem to help my DL, and visa versa.
> In fact, the whole concept that the compiler can make any transformation it wants in the presence of UB is wacky.

That's the way it's often explained but it's not really what happens--the compiler doesn't scan for undefined behavior and then replace it with random operations. Instead, it's applying a series of transformations that preserve the program's semantics if the program stays "in bounds", avoiding invoking undefined behaviors.

I agree that equating "if the programmer dereferenced the pointer" and "the pointer must not be NULL" betrays a....touching naivety about the quality of a lot of code, but if you start from the premise that the programmer shouldn't be doing that, the results aren't totally insane.
I want email to stay at least for work related. Imagine your employer shifts to WhatsApp or signal. Asks you to code shady stuff. Even if you resign, there is no proof your manager knew it if your official mobile phone was wiped. Think about harassment from senior managers. All these go undocumented. This is why I prefer my email from and to every one in office to be plain text. No PGP. I am German; do not care Hillary or Trump - but if Hillary had used signal. May be things would be different!
> once that little script grows into a massive beast you will be glad you can rely on the compiler doing a basic unit test of your program.

Not if I bother to write a few suitable unit tests, which I should really be doing anyway. Typechecking is absurdly far from substituting for checks that my code actually does what I intended it to do.
Actually I have been looking to buy one for extra on the road capacity. Really I'm just trying to decide what my work machine(s) will be moving forward. I think I'm going to limp by with my current MBPro and Dell Precision combo until the next MBPro refresh is out.