skysight-inc/HackerNews huggingface dataset:
Indeed. Basic web technologies - client-side HTML, CSS and JavaScript (and I mean writing them directly, not via absurdly wasteful layers of JS frameworks) - are a great tools for adding UIs to connected devices. You don't need that much resources for a HTTP server if you already have TCP/IP connectivity, and you also don't need much resources to output some rudimentary HTML or to process POST requests.

It's also a pretty cool tool for adding UIs to software you code locally. Embedding a HTTP server is simple in most languages, and for some cases, a web interface will be much simpler than building an equivalent from "native" UI components.

--

Incidentally, one of the best demonstrations I saw of that was in the book Land of Lisp. The book teaches you Common Lisp by guiding you through writing a few games. At some point, you end up embedding in your game a very simple HTTP server - and suddenly, you get to have interactive graphics (via SVG) without the author having to teach you lots of stuff about some random UI library.
That's not intuitive for me. I personally think my threshold would rather be "comfortable and independent without having to work".

Not that I don't want to work anymore, but being able to leave my programming job and becoming a dog breeder would make a lot of difference. And take month longs vacations to travel whenever I wanted.
And the mortality of women in childbirth.

But you are right, if you lived to 12 you'd likely live a pretty long life - the average was lower though.
"For there to be complete integration in the United States, more than half of black Americans would need to move."

...or, you know, half the white people. Or a mix of both, and maybe throw in other groups besides black and white.
I'm always interested in trying to figure out how to explain these things better, if you ever want to vent some frustrations at someone :)

> bury Rust's borrow checker for those parts of an application

The problem with that is, if you did, you're back to

> I spent a huge amount of my time inside the debugger trying
> to figure out why a pointer wasn't ... pointing.

What I can say is that after you get over the hump, the borrow checker isn't really a big deal. Or rather, it _is_ a big deal, but when it errors, I know it's caught a bug for me, and I can just fix it without much effort. Small comfort for those before that point thought :/
software spyware and hardware spyware champs team up!
Cool hack website
Agreed. I don't even consider using my mobile bandwidth for video but that sort of network fuckery is appalling to me.
Upvoted for the Mean Girls reference. Oculus Rift is going to be a real thing, though, whether we like it or not.
Does try out mean actually pay money for though?
How in the world did Go drop out of the top 50 based on everything in the news this past year.
Sure. But that's effectively the exact same thing as net-metering, only with a lot more fixed costs. And batteries wear out as well. The grid is a lot better for this, unfortunately that requires cooperation of the grid operators and owners.

There is an alternative to this, the equivalent of a credit union but for power where a number of people band together to do their own little grid, but the complexities and dangers involved make this a very difficult thing, especially once you factor in insurance and approval.
In Brazil, These Books Double as Subway Tickets
I'd agree, there was a great book called Deep C Secrets by Peter van der Linden. The book itself is not without errors but still provided some useful insights to things I didn't realize I was doing wrong back when I coded in C.
Just keeping the grid connection is a major cost.
I've never seen any artifacts in the ~50hrs on content I've watched in 4K across Netflix and Amazon.

The biggest picture quality issue is possibly the cameras themselves: a lot of TV looks uncomfortably real - like it was shot on a security camera. Though I did get the same impression from Breaking Bad in 4K, even though it was shot on 35mm.
You want to create a right to not lose business because of government action? Are you sure about that?

You just entirely destroyed the EPA.
This is only true of C.

Algol, PL/I, Mesa, Cedar, Modula-2 and many other languages of similar age or older than C, do offer both higher and lower level mechanisms.
Usually I find something very objectionable in these C guides, but I like this one, and it's hit some of my favourite/most hated bugbears. In recent years it's nearly driven me mad seeing people use the old types either directly or re-implementing their own equivalent of stdint.h, complete with all sorts of platform switching and other nonsense.

We've got these facilities, they're not exactly bleeding edge (the clue's in the name C99), let's use them!
Sounds like a big NO from the privacy perspective. I hope this gets regulated to the point where these companies cannot offer a discount based on such intrusive tracking.

If you enable a random insurance company to have all data about where exactly you have been every moment of the day, you are giving up a lot of your privacy. And I bet the terms of service will be the standard "Oh, by the way, we are going to share this with all our partners" kind.
I don't think that kind of question will ever show up even if you work for a billion years. I just posted it so that people can know about the interview process.
When I read Assembly Language at 9 I also know I have no clue.
It will be over compressed, current Blu-ray discs offer a maximum bitrate of 40Mb/s for the video component, though I think it's more typical for it to be around 25Mb/s.

Netflix is currently using 15.6Mb/s for 4k streams, and I believe that's still using H264 rather than H265.
Thanks for that, that's pretty interesting to read about. Admittedly, I'm not sure I've ever actually used a int_fastN_t type in my code - I just kinda assumed they served their purpose. Reading that log I can see the obvious problems with those types which I never realized since I never really looked into them that much. int_least16_t seems like a perfectly fine substitute though, I don't really know why int_leastN_t and int_fastN_t would be different in the first place.

That said, there's really no way to correctly pick the "perfect" integer size for every platform - There's just too many variables. IMO I much prefer to just use 'int' when I know the values are going to be small - smaller then a 16-bit value - and I don't care about the actual width. But obviously it's a hot topic for some - As long as you follow the standard in regards to it's size then it doesn't really matter what integer value you choose to use. I prefer saving the fixed-width integer types for situations when I know I need such a size.
I agree poverty is a big factor, but to what extent is Qatar truly capitalist? What proportion of it's businesses, by value, are owned privately by people not members of the ruling family? What proportion of it's residents are employed by private businesses? The country's economy only has a private sector at all at the discretion and whim of it's rulers. It is ever thus. Even North Korea has small private businesses and a black market, but does that make it's economic system capitalist?

If capitalism is to mean anything, I think it must be that the primary method of gaining wealth is through investing private capital and that there is equal access to opportunities to invest. Otherwise I'm not sure what it means.
Agreed. I like reading these. Kinda disappointed to see the project abandoned though. Seemed like you were really on to something and like others are saying, you probably could have found cheaper hosting to keep it going. Also would +1 seeing the project open sourced if it's not continued.
Also, the very first advice applies to suprisingly many languages and frameworks, not just C:

> The first rule of C is don't write C if you can avoid it.
My 55" 4k TV has pixels visible pretty much from distances under 1m. I use it for showcasing my photography portfolio, looks much better than on 1080p, as well as to review my hyperlapse movies and that's about it. 8k on a smartphone will be different though, but why? 720p on 5" is close to "good enough" for median vision of population.

8k is supposed to be the "final resolution" of TV as it should bring retina-style to people with perfect vision (not to eagles though).
The problem I find with this is that it doesn't track everything that defines safe driving, and could incorrectly identify what is safe.

For example, is driving more aggressively more dangerous than texting (or simply not being attentive to the road)? Because only the former is tracked.
The Motorola smartphone era is officially dead
Aren't there transfer limits requiring physical sign off by the CEO to prevent these kind of things?
An insurance company started with this shit in Spain (about 3 years ago), and expanded later to France and Germany.

In case of an accident an offline dashcam (think Russia, China) is the best solution (also for privacy (offline)).
Pirates are finding it harder to crack new PC games
Shouldn't companies have controls in set when large amount of money is being requested for transfer? Controls that does not involve using email as final approval.
This is a good example of the micro-optimization driven of many C developers.

Yes, calloc() is a few ms slower than malloc(), but does it really matter in 99% of the use cases vs being on the safe side of clean data?
ESports in 2015 by the numbers: Attendance figures, investments and prize money
The "--device" flag allows you to map devices through to a Docker container. It runs in 'privileged' mode though, so isn't suitable for a shared host.

Nvidia make it pretty straight-forward now but we had to branch from that approach a bit for the CoreOS deployment.

https://github.com/NVIDIA/nvidia-docker (Nice pictures)

https://docs.docker.com/engine/reference/run/ (Docker documentation, search for 'privileged')

The approach is a bit different depending on your host operating system. You'll also find there are constraints when you introduce a virtualisation layer, like virtualbox or parallels on your desktop - GPUs can be mapped through, but it's painful(ish).
I just grabbed the 4k stream from this video https://www.youtube.com/watch?v=6pxRHBw-k8M

The stream bitrate appeared to be around 10-15 Mbps. I believe most 1080p bluray content starts at 25 Mbps.
> there's not much production use yet

I can't wait for a few weeks, when Dropbox should hopefully be giving a status report on how their new production deployment is going.
I had this exact same discussion with my insurance agent yesterday. I opted out but the agent had trouble understanding (or more likely I had trouble communicating the idea) that once everyone else takes the discount that I will no longer be paying "the normal price" but instead I will be paying a defacto penalty because I don't want to be tracked. "No, it will only ever be a discount!"
Still of relevance: the "when will 4k matter to you?" chart.

http://s3.carltonbale.com/resolution_chart.html

Short version: you might get some benefit from an 8k tv (and associated 8k media if/when it arrives) if you're routinely sitting closer than 5' from your 80" television. Otherwise, not so much.

I generally try to avoid dissing new technology/software/ideas, but really, 8k TVs appear on the face of it to be pretty pointless. You literally won't be able to tell the difference between a 4k and an 8k film if you're sitting at a reasonable distance from a normal-sized TV.

(I'm defining "normal-sized" as "55 inches or smaller" here. If in actual fact lots of people are buying 90" TVs that changes things.)

For reference, I've been a video professional for 20 years, I have a reasonably large television in a not-massive living room, and in my living room I can just about tell the difference between 720p and 1080p content playing on it, if the source is high-quality and I'm concentrating. The resolution has to drop down to 480p or less before I find it starts actively interfering with my enjoyment of whatever I'm watching.
There's also a blog entry about accessing GPU from Docker at http://marconijr.com/posts/docker-exposing-gpu/ .
Basically the same result. NDK uses a customized cross-compiler built on the arm-eabi-gcc compiler.
I solved the question in 40 minutes though, taking another 10 minutes after the interview ended. I felt I should complete it. Then I checked email and saw that I didn't make it and that I could try again in 3 months. Why 3 months and Why would I try again in 3 months? Don't feel Toptal is worth it. I am not going to get paid $1000/hour for going through all this anyway.
I love this "proprietary technology" schtick, as if selective throttling isn't something that any carrier could implement. The hardest part of developing this technology was likely the legal analysis as to why it doesn't violate FCC net neutrality rules. My conspiracy theory is that TMO implemented a system which does not violate the rules, but is designed to get customers used to the concept of throttling. Then after some lobbying or political changes, the rules may change, and TMO will have both the infrastructure as well as complacent customers ready to pay extra (perhaps indirectly) for streaming content on mobile data plans.
Silver is dead.
> It was the only way good open source software could "breach" how microsoft was doing business and putting barriers to the internet.

Maybe I'm missing out on a big chapter of the history of computing, but I don't recall Open Source done via webapps until very recently. Most of the things browsers did were things that mattered only to businesses - like easier software updates, and much more control over the customers and their data. And the latter reasons are why web technologies are popular today.
It's a presentation.
SuperVessel's free! http://www.zdnet.com/article/ibm-launches-supervessel-a-free...
Really? I've got a 50" FullHD TV and I could definitely use an upgrade to 4K. Sitting 3-4 meters away from it some content is definitely not as sharp as it could be.
New White Hat Hacking Book of Examples
trackers on our phone. trackers in our cars. trackers in our web browsers. and all non-government, non-big brother. this is the definition of soft power and the panopticon, and yet, this comment will likely only annoy most folks...
Unfortunate injury of the decade
Mundoperiodico
In fact, brk and mmap aren't even really guaranteed to return zero filled memory. It just happens that kernels often zero everything to avoid the headache of tracking which pages contain data you aren't supposed to see.

I guess one can rely on such behavior when writing a platform-specific libc. But in portable code? Yuck.
Programming in general honestly. Don't write code if you can avoid it, which loosely translates to "Don't solve problems that don't need solving".
I agree, and I come from an old-school C and embedded background. If you do it in C, you have the opposite problem: interacting with the hardware is easy, speaking to a web API becomes a huge pain.

There's an "impedance mismatch", which has to be overcome somewhere. And computing power is getting cheaper and cheaper. We're at the point where if you have a little board in a case with some I/O connectors, the CPU will be the least expensive part. Casework and connectors will make up a surprisingly large part of the cost, often costing whole dollars!

Edit: also, debugging your C microcontroller program can be quite a pain, even once you have a correctly configured in-circuit debugger.
Facebook Tests Travel-Specific Newsfeed in Digital Travel Marketing This Week
The two I've heard are di-TROIT and DEE-troit. The emphasis is the most important, but "di" also typically doesn't have the long e sound (although it can).
I've actually got a phone that can record in 4K(Xperia Z5) and a GoPro Hero 4 Black which can also record in 4K, yet no screen to view it on. A 4K TV is definitely on my purchase list in the next couple years.
From what I searched, it's dependant on your microcontroller, so there is no generic way to do this (since different Arduinos have different microcontrollers).

For a very low power project I had, I basically found a lib that did deep sleep correctly for my microcontroller (an ATTiny), then you sleep for a significative period of time each time (for example, 500ms), and check if the event happened when sleep ends. That results in a consumption under 10uA.

It is obviously very dependant of what you want to do, some applications can't afford to check only every X ms.

And be careful too, you need to put everything possible behind your microcontroller, to be able to disable things during sleep (otherwise, you are just powering the rest of your circuit for nothing).
Is this the right link?
Questions:

What do you like about the job?

What are you learning?

Who are you meeting?

Who are you working with?

Free advice:

1. "Long term" in terms of a new graduates career is pretty long. Some day, odds are, you'll be sixty three.

Lots of small workplaces have structured hours and limited freedom and in exchange for a big hierarchy, the boss can start to take ten minutes late to your desk and long lunches personally even if you stay late every day...which is to say that big organizations are more likely to have experienced professional managers than a place where the boss has their child's college tuition on the line.

I'm not saying that working for a big consulting firm is the right decision. I'm suggesting that it isn't likely a bad place to gain experience in the world of work while figuring out a better answer to "why did you leave your last job" than what sounds like, "I don't really like going to work".

That better answer is probably in terms of a specific opportunity. Historically, working for consultants is a great way to widen the opportunity surface.

Good luck.
It is trivially easy to game too in some cases. My insurer wants to use your smart phone to do the tracking over a period of 6 months after which you no longer have to be tracked. Want to do some street racing every weekend? Just leave your phone at home and go wild. Drive gently on your commute every day until the 6 month period is up and then resume driving like a maniac.
> Yes, calloc() is a few ms slower than malloc(), but does it really matter

Why would you even be using C if it didn't?
KATIA Just Got Your Back on Cake Decoration, 3D Printing, to Laser
Great read on some of the history and current efforts in particle physics by a leader of the field (Frank Wilczek).

I was surprised to read such a well written article on quanta magazine (I've often been disappointed there) but it made sense when I saw who the author was. It read more like what might be published in a general audience Nature or Science article.
World's Smallest MIDI Synthesizer
It's a shame that it is paying.
The New York Times is still, despite its reach, a newspaper for New York, New York, US.

http://www.nytimes.com/2016/01/08/nyregion/new-york-today-in...
Love Nepal. Running my startup out of Kathmandu....although we face 14 hours of power shortages, a crazy political blockade, shortages in every item imaginable including medicine, silly government taxes and restrictions...the Nepalese people are some of the best I have ever met. To sum up, come and visit, you won't regret it...
No, I didn't. I meant topaste one specific paragraph.
Bullshit, on x64 all 32 or 64 bit base arithmetic operations have the exact same cost, except the 64 bit version is one byte longer because of a REX prefix. This is why 32 bits is the natural int size for x64.
I'm betting this is going to make people drive worse. Or exacerbate the existing bad drivers into driving worse while the already-good drivers just get the benefits. Sort of like the idea behind red light cameras.

But I'm sure law enforcement will appreciate another massive database.
I was looking for the opposition view point, to see if there is something I missed. Here is one of the better articles:

http://www.technologyreview.com/news/545146/battles-over-net...

I still have the impression that the incumbent monopolists (power companies) are protecting their interests at the expense of the public, not unlike taxi drivers blocking uber operations within a city.

I hope we get to a non monopolist system asap.

http://www.technologyreview.com/news/544471/renewable-energy...
> Need? I guess not. But I think the point is that those things manifest themselves in a healthy market/economy/society, a healthy innovative market. If you're not advancing technologically, then you have no hope for your future. And that's what companies like Samsung, Toshiba, and Sony all do (in the electronics industry). They innovate. That innovation breeds more innovation and lays the groundwork/framework for future innovation.

China has been quite innovative in the manufacturing arena. You know all those neat laser drills and 6 axis CNCs that mass-produce all the tech products we have? They were probably designed in the US; but the Chinese are the ones who know how to organize them to churn out 100 million iPhones.

> They should be trouncing everyone. But they aren't.

Look at your history; China was reeling from the collapse of its imperial government (largely as a result of the meddling of European powers) in the early 20th century. They were then invaded by Japan (which has always been a military-focused country, and thus had a very strong military when Western powers came calling and was able to resist colonialization). After its infrastructure was pillaged by a 15-year Japanese occupation, there was a power vacuum and a decade-long civil war.

China was kept in the stone age until basically 1954 by the meddling of outsiders. For all the awful, misguided things Mao did, he and the subsequent leaders of China set the country on a path for rapid modernization - modernization at all costs.

> Their "corruption clean-up" has been just lip service.

I don't know about that. The Chinese government is acutely aware that they need foreign investment in China, and that becomes very difficult to do when there are "hidden taxes" in the form of corruption.

> Unfortunately, China's a long way from awakening.

If that's true, then that's pretty scary given where they are now vs. 20 years ago.
To me it sounds like he really doesn't know what EFF is.
Not sure about Paleolithic, but this source claims average lifespan for hunter gatherers at 70 years. Not bad considering one gets to hang with their friends and family, have low stress, work less.

http://www.anth.ucsb.edu/faculty/gurven/papers/GurvenKaplan2...
I think it's mostly that C's lack of language features removes distractions. You have only a couple abstractions to work with if you're writing idiomatic C code, and so you can focus on the task at hand more easily.

The tradeoff is that the task at hand tends to have more implementation details in it than in higher level languages, but as you said, this isn't always bad.
Or they could just create shell companies to own the copyrights, allowing them to have an indefinite number of copyrights for forever!
Errors are human. It's easier and more dangerous to screw up in C than in other languages. Don't use it unless there's a good reason to.
I'm sure a large portion of companies do have these controls. But it's just a numbers game. Honestly, I'm tempted to say a decently thought out attempt on my own employer would likely be successful if the amount was reasonable for our average purchase price.
It doesn't seem to be about subsidies per se, it appears to be about net metering, and whether new customers are allowed to use it?
It already exists: investor state dispute settlement.
I would think a lot of inattentive driving would actually show up on the tracker (abrupt stops, swerves).

I guess inattentive driving would also result in higher accident rates than attentive driving (which they obviously track).

This is certainly another reason to motivate people to think about what sorts of rules and regulations they want in place regarding data collection and retention.
Nvidia GPU and CoreOS and Docker and TensorFlow = Fast and Flexible Deep Learning