skysight-inc/HackerNews huggingface dataset:
"DLL hell" doesn't have anything to do with the built-in GUI API calls. The part of the API that pertains to the GUI is built-in, standard, and has been since the 90's. I can take an application written today and run it on Windows XP-10 and it will work as long as I take care to not use any API calls that are specific to later versions of Windows (very few for most apps).

If you want to criticize the GUI aspect of Windows, you should target the lack of any standard modern GUI API calls that don't involve using Direct2D or GDI+ (by modern, I mean full support for transparency and anti-aliasing, among other things). The old API, plain GDI, was standard and well-understood, whereas the newer improvements are completely different types of layers built on top of GDI. That's the real mess.
I've got a wahoo tickr chest strap that will report something like half my real HR from time to time... all of these monitoring devices are intended to give some helpful information to go along with a workout, NOT to be a reliable medical device...

Hopefully there'll be some sanity with how this is handled...
> I hypothesize that this is because what "really" comes back from a malloc is basically too impossibly complicated to model by a human. Even calling it "random" isn't correct; it's not random, but what it is is very hard to characterize.

I think "uninitialized" is the word you are looking for :)
You're wrong about the arrays, the standard guarantees that zeroing the bytes of an object of integer type will give a 0 value to the integer. Pointers are a different matter though.
Because you have no idea who existencebox is, what his relationship with his fiancee is, and how well or not well they communicate. In fact, you've got evidence that they communicate well:

> I've had many and extensive (and quite good) conversations with my fiancee as to how she was brought up in a family that valued emotional reasoning over logical reasoning. Knowing the inputs and broad transactions to someone's mental processes (especially if they're very close to you) can help facilitate communication/understanding

And yet, your advice:

> I recommend breaking off the engagement while you still can, or else you're in for years of misery.

Your advice was certainly not to "have some really serious discussions." It was break off an engagement based on skimming a single comment.

Most people are capable of communicating just fine. Just because that wasn't the case with you and your ex doesn't mean your situation is the least bit relevant to existencebox's. That's why it was uncalled for.
A variety of solutions involving permitting extensive relicensing on some sort of exponential scale have been proposed, but it's all just pointless academic speculation as long as Disney can just keep buying extensions.

It does seem to me that we could possibly reach a compromise with Disney in that respect; to be honest, I don't really care whether Mickey falls into the public domain anytime soon anymore. But it's stupid to hold the entire culture hostage for the vanishingly small percentage of things from the early 20th century that are still ongoing commercial concerns.
Author here. I know - I did have a feeling of guilt applying a price to it but honestly, I've been putting a lot of work into it at the expense of other projects (I do free youtube tutorials too) and was hoping the price would help implicitly identify that.

Is there a specific reason you say it's a shame it has a price?
Who's the alligator here?
The Redmonk rankings are much better. As opposed to TIOBE, who look at counts of internet search results, Redmonk looks at code in Github and questions on Stack Overflow. There should be an update out in the next couple weeks; here is the latest from half a year ago : https://redmonk.com/sogrady/2015/07/01/language-rankings-6-1...
Unfortunately there's no easy answer to the correct solution. One method is to setup interrupt service routines and put the mcu to sleep the rest of the time. There are a couple libraries that provide convenient interfaces to AVR's sleep lib e.g http://playground.arduino.cc/Code/Enerlib

The basic idea is that it is possible to put the chip into lower-power mode... but you need a way to wake it up after that. That could be an interrupt, watchdog timer... etc

Another thing to note is that for most applications the mcu's power consumption will be negligible with respect to the peripherals', so the average person shouldn't care much.
Cool. I see people driving like maniacs. Why should I have the same high insurance premium that they do?
# cc test.c -o test -O3 -Os -Wall -pedantic -Werror -Wshadow -Wstrict-aliasing -Wstrict-overflow -std=c99

test.c:1:2: error: #import is a GCC extension
The great team keeps on surprising me in nice ways. If this js and java integration works as nice as demonstrated we could use a js frontend on our java backend without going via json objects over the wire but in one process.
Toward the end of that slide deck, in the "Slowing Brute Force" section, there the following slide:

> Argon2 ensures that both defenders and attackers hash passwords on the same platform (x86)

Do they simply mean that currently the most cost effective platform to deliver the necessary computation and memory is x86?

I'm having trouble believing that it is either achievable or desirable to design a password hash that's only efficient on one architecture.
Looks like some old dude that is disempowered at his day job and wanted to get a quick video out to the world before settling into his recliner for his 7-Eleven pizza and slurpee dinner.
I don't really understand the costs involved here. You can get a pretty powerful DigitalOcean droplet for $24 a month, which I personally run multiple side projects on with no issues. This could have stayed up indefinitely to tinker with, while you work on other stuff!
Why the assumption that this data tracking is somehow not an issue for driverless vehicles? Autodrives will still need insurance. They will still be tracked, by google/apple and any number of other "business partners" for a start. Those issuing insurance will still want to keep tabs on vehicle location/speed/movement should the inevitable insurable event occur. The privacy concerns will be the same regardless of who is behind the wheel.

Now the exception to above is perhaps a world where none of these autodrives are privately owned. One might think that in such situations a passenger's movements would be anonymous. They won't be. Even cabs/ubers today keep track of who goes where. Whenever a means of transport is not privately owned, payment will be an issue. And payment leads to individualized tracking.

The further exception to above would be autodrives owned by google and paid for with untraceable cryptocurrency (or cash) ... that's one too many layers of fantasy to debate.
I've been wearing a Pulse Ox for a few days, which uses a Optoelectronics sensor.

I've checked the reading three times by comparing with my radial pulse, counting against my wristwatch. Each time it was bang on, or within 2bpm.

That's when fairly inactive, though. Will have to check it's consistent at much higher pulse rates.
We need to start drinking recycled wastewater
Homosexuality was listed in ICD 9 and earlier. ICD 9 was created in about 1975 - 1978.

https://en.wikipedia.org/wiki/International_Statistical_Clas...

Homosexuality was removed from ICD 10. ICD 10 was created in about 1983 - 1990

https://en.wikipedia.org/wiki/International_Statistical_Clas...

Individual countries may be using their own definitions. EG US uses DSM.

DSM included homosexuality in the first version published in about 1952, but it was scrutinised early and homosexuality was removed from DSM in 1973.

https://en.wikipedia.org/wiki/Homosexuality#Psychology

Things like conversion therapy have been weirdly hard to stop, even with clear advice from professional bodies and regulators that it's probably harmful and has no evidence of efficacy or usefulness.

https://en.wikipedia.org/wiki/Conversion_therapy
5 Tips for a Great Marketing Presentation
I'm pretty sure net neutrality rules just don't apply to wireless.
"An ordinary unprivileged user with sufficient knowledge of the system needs only the ability to be able to modify machine-code in order to penetrate the system completely."

http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.162...

Security was hard then and continues to be hard now. It would also be nice to have a cost comparison between the various alternatives.
But why would golang developers concentrate in such touristy locations ?
Not but 150 years ago there were still hunter-gatherers who thrived in the form of native american tribes:

>Before our white brothers arrived to make us civilized men, we didn't have any kind of prison. Because of this, we didn't have any delinquents. Without a prison, there can't be no delinquents. We had no locks nor keys therefore among us there were no thieves. When someone was so poor that he couldn't afford a horse, a tent or a blanket, he would, in that case, receive it all as a gift. We were too uncivilized to give great importance to private property. We didn't know any kind of money and consequently, the value of a human being was not determined by his wealth. We had no written laws laid down, no lawyers, no politicians, therefore we were not able to cheat and swindle one another. We were really in bad shape before the white man arrived and I don't know how to explain how we were able to manage without these fundamental things that (so they tell us) are so necessary for a civilized society.

-Lame Deer
John Legere is a retard.
> "wallet vaporizes"

The SuperVessel lab's free, and there are several resources to rent time on a P8 VM if SuperVessel isn't appropriate.

Also, the video you found is the E8xx product line, which are at the high end of the enterprise / scale-up product line, and (incidentally) different from Mainframes.

Here's some links about the 2U / 2socket boxes if space of each node is important:

S822LC - https://www.youtube.com/watch?v=OdlLszagnos

S822L - https://www.youtube.com/watch?v=xF_fw_NJ5nI (not IBM's, but a reasonable unboxing video)

And if you're interested in videos, check out the IBM Power Systems youtube channel: https://www.youtube.com/user/ibmpowersystems/videos
See that's exactly what they want to achieve.

Yearly transport budget £15,714M (15.7B) Population 8.5M Cycling 5% of travel.
Total spend per head per year = £1,848
Of which, spend on cycling = £13
Modal spend should be = £92

Total spend per head over 10 years £130 not £920

Note the social ROI on cycling infra (health benefits and productivity increase) is between 3-35 times the cost of investment.
i have a 46" TV. I suspect the x.264 compression artifacts were becoming a limiting factor (and my eye sight)
How about NO and everybody go and use www.tessel.io
Yeah. Totally what I was thinking. Other than that though, solid theory.
I'm not arguing that they aren't useful---they are, and quite fascinating.

But they should always be opt-in.
Replacing Judgment with Algorithms
Are you also running standard definition content, thinking it's "HD"? (serious question)
Taxes are the highest cost for electricity (here in NL). Grid costs ~EUR190/year, taxes and govn't surcharges are ~EUR618/year.

I don't know if you still need to pay the taxes if you're not grid connected though?
Emails are regularly used for approving large transactions. You can have dedicated approval systems but they are often more of a problem than a solution. When the approver is away you have complex and slow delegation procedures when you are not completely stuck. When people are travelling they can't approve anything while they can on a blackberry. And you need to email people to chase them anyway. These systems are just adding to the corporate bureaucracy.

Common sense should be the first line of defense. Even by email, managers should not approve a transaction they know nothing about. And if one approves somethings after having only talked to complete strangers, it's hard to fight raw stupidity. The first think I would have done in this story is fire the accountant.
Isn't that just saying that calloc is compatible with lazy allocation?
Why not regulate their use of the data (as opposed to preventing collection of it)?

I'm pretty sure lots of people will be happy to exchange the tracking data for lower rates, so there needs to be some justification if you want to prevent them from making that choice.

So what are the risks introduced by allowing the companies to make some use of the data? If you ban sharing or sale of the data, you still have the risk of a leak, but the companies could be encouraged to do things like discard the detailed information and only store 'events' or whatever. So discard that you drove on a particular freeway and instead store that you safely passed a medium distance on a limited access road (or store that you swerved abruptly multiple times on that length of limited access road).
- Device drivers

- Exposing OS APIs to other languages

- Integration with an SDK that only provides C APIs

- Improving an algorithm until it runs at the desired speed
for the customer (no need to shave every last ms)

- Targeting embedded processors

Although, I personally would rather use either C++ or a safer systems programming language.
Your cameras record 4k in 4:2:0 and heavily compressed. If you resize them to 1080p, you'd get average quality FHD. Real 4k is barely on the market for prosumers that want 4:4:4 RAW (maybe only Blackmagic 4k cameras).
> But there's also a question of, how much of a lawyer's job involves being friendly with the judge?

> I'd expect a lawyer to know the true answer to that, independently of whether or not [she thinks] lawyers are a net good.

A lot depends on your relationship with that lawyer. If they're your brother or wife, or your long-time friend, then you'd probably get the true answer. If they're just a colleague, you'd probably get the official answer.
Wait, I thought Lenovo was automatically translated to 'Lizard People'?
> The rules are designed to be supported by an analysis tool. Violations of rules will be flagged with references (or links) to the relevant rule. We do not expect you to memorize all the rules before trying to write code.

But I agree, a short guide for C++ with the most important stuff in it would be nice.
I finished up the first round of my side project: PeerGym
http://www.peergym.com let's you search for quality gyms in your area by membership price and amenities - the kinds of things services like Google Maps and Yelp don't do. Most people do a particular kind of workout (running, weights), and need special equipment (treadmill, barbells), and you can't always guarantee you'll know what you're getting just by the name and a few pictures.

It was mostly an excuse for me to learn Elixir and Phoenix. I've tackled auth, uploads, geolocation/geospatial DBs, SSL and more, so it's been a lot of fun and hopefully I can turn this into some sort of tutorial series on building out a real-world app.

For the future I want to add reviews, community edits, and advanced filters to make them easier to search and populate. And hopefully, accept payments if people want to buy passes to their gyms online (or automatically renew their memberships.
...what? Uh, I don't know how memory allocation works in detail in OSX, so you could be right, but it'd surprise me. Can you show me your program?
The short video sounds like what you'd hear from any salesperson to me. A rough outline of the talking points, but no real understanding of how what they're selling works. Which is OK, it's not their job to be technical, but it does sound really crummy when you actually do understand what they're talking about. For example, "proprietary technology" sounds good to whoever this guy usually talks to. It sounds like nonsense to us.

The sales department. Am I right, engineers?
They're still trying to find a problem for FirefoxOS to solve.
Appreciate the honesty here! I'll make sure to shorten that down to 1-2 Qs.
Yes, that's the (formerly) government-owned corporation arrogance we got used to in Germany. As a former customer I hope they choke on it one day.
What kind of subsidies?
Here is the official report http://pucweb1.state.nv.us/PDF/AXImages/PRESS_RELEASES/300.p... It really leaves people hanging b/c they won't know the actual dollar amounts until 7 days before it becomes law.
No, and to claim as much is simple laziness. It is possible to write provably correct code. Even if you don't want to go full formally verified, you can eliminate large categories of possible errors with a relatively small amount of proof.

None of which removes the need to write simple, understandable code without undocumented magic. But we should not be throwing up our hands and treating invalid accesses, memory safety failures, buffer overflows, SQL injection, XSS, or a whole host of common failures as inevitable. It really is possible to do a lot better than most programs and a lot better than C.
I think that there's some good inspiration to be found in this article/the comments.

https://news.ycombinator.com/item?id=10324480
There are even languages without garbage collection that makes a lot of things easier than they are in C. See Ada, Rust, ~~Go~~ D and others.
The article says not to do this:

uint32_t numbers[64];
memset(numbers, 0, sizeof(numbers) * 64);

That is certainly true because that is a buffer overrun.
What cost? It sounds like the parent is possibly suggesting the opposite of a backup power solution: transfer switch where you're in solar mode 99% of the time, and if things break or you need to do work, you switch over to grid power.

I've never lived anywhere where I used zero kWh for the month, so I'm not sure... but I have to imagine the cost would be pretty slow... save for getting such a system setup (transfer switches are common enough with backup generator situations so I can't imagine that portion would be very expensive)
Never trust subsidies. Look at history and you will see again and again that government has often used them as a form of industrial sabotage.
If it's used by someone who doesn't know the child, isn't that pretty much harmless? The only possible harm I can imagine is that the child is somehow identified and discovers it later in life and gets embarrassed by it. Sure that's not nice but it's hardly the worst crime on the internet. And even then it's surely very hard to identify young children.
Exactly that's what I thought. I was assuming Go, Rust had lot of traction this year.
That still doesn't mean that `uint8_t` will be defined as `char`.
If you don't like it, don't get it. Why should government regulate it away so that people who do like it can't get a discount?
No, it's not. That deceives programmers into thinking "oh, it's just some random garbage", but it's not. It's not random, and it's not merely "garbage". It's an incredible interplay between the exact allocation patterns of your program and user input, and results in that glossy word "uninitialized" including things like "user passwords", "private keys", "shell code" (that is, attacker-supplied arbitrary assembly code), and arbitrary other non-garbage information that you may not appreciate having at at this point in the program that is completely oblivious about what is in that "uninitialized".

Uninitialized isn't "a mess that you really ought to clean up before using", it's radioactive waste.

If you want to tell me that you really do think of "uninitialized" that way every time you use it, I have no grounds to disagree with you personally... but based on the code in the wild, it does not seem that most C programmers do have a correct understanding of the issue.

(People who develop the proper level of concern about handling radioactive waste tend to find ways to stop programming in languages that don't default to handing back nuclear waste on every memory allocation. I suspect some form of evaporative cooling may be a problem here.)
Thrived sometimes, starved others, now and then died in violent conflict with other Native American tribes. Absolutely they got the short end of the stick from the US (and many other actors); but to pretend that the Americas were a peaceful utopia before the Europeans arrived is silly.
OMG. Turn off the page style if you want to see any of the content. (Not that you would want to see it.)
Forget Alexa: Josh Is Your New AI Butler
It has to do with net metering rates, that is how much indidivuals and small business get paid for putting electricity back into the grid for others to use. See http://www.utilitydive.com/news/nevada-regulators-approve-ne...

(disclaimer: I'm co-founder of the linked news site)
You'll probably learn more if you choose Rust, but from what I've seen, way more companies use Go at the moment (since you mentioned this was from a career perspective).
I think it only looks that way because people don't compare like with like. x lines of code C may well be simpler than x lines of a given alternative. But http://qdb.us/301922
The "Soap Opera Effect" Is usually more pronounced from running at a frame rate higher than 24fps.

For some reason we've become accustomed to 24FPS as realistic, and the smooth motion on a 120hz screen is jarring.
>> ... no provision to grandfather in existing customers.

I might not like the decision, but I am glad to see they aren't grandfathering in anyone. Grandfathering is a definitive unleveling of the field. People/businesses shouldn't be given special treatment just because they have been around longer than others. I feel for those who made investments and haven't seen them come to fruition, but that's politics. Deal with it at the ballot box.
Advice presented along the lines of "there are no reasons to do anything but that which I recommend" is usually somewhat flawed... just because there are so many reasons to do different things in different situations.

Regarding calloc (which indeed might be slower than malloc contrary to TFA) - a variable that should have been initialized to something but instead keeps zero bits written by calloc is not necessarily a great situation. If you use malloc, at least Valgrind will show you where you use the uninitialized variable. With calloc it won't, though it might still be a bug - a consistently behaving bug, but a bug nonetheless. Someone preferring consistently behaving bugs to inconsistently behaving bugs in production code might use a function my_malloc (not my_calloc...) which in a release build calls calloc, but in debug builds it calls malloc (and perhaps detects whether it runs under Valgrind and if not, initializes the buffer not with zeros, but with deterministic pseudo-random garbage.)
Yup. It's total crap. You're not going to push your heart rate so high you damage yourself, at least not a normal/sane person. If it was a serious risk, we'd all be wearing heart rate straps 24x7 with alarms sent to remind us to sit down when our HR gets into dangerous territory.

I have a Suunto Ambit (GPS, HR strap, altimeter, barometer, etc) and a Fitbit Surge HR I got for Christmas. Sometimes both work, sometimes neither works. You use it for what it is. Typically when they both get a good signal, they're reporting the same figures.

Let me guess, the claimant wasn't wearing the Fitbit the recommended 2-3" above her wrist bone at the time.
+1 for the redmonk.com link. This data looks more inline with what I see everyday.
Have you read the New York times? As someone who lives ~5 hours away from New York, it is still occasionally hyper-local to where I don't recognize the names of places it mentions.

I have no idea why an American newspaper, NYT or otherwise, would be writing for anything other than an American audience.