skysight-inc/HackerNews huggingface dataset:
Current circuit layouts are wasteful, you have to run enormous amounts of wire between the outlets and the switches, just to be able to control the lights. Much better to just run power directly to the outlets.

The control logic should ideally go into the socket, but with 50k hour lifetimes of LED bulbs, the lost efficiently of putting it in one over the other place is trivial. Also remember that putting the controls on the bulb makes it a trivially user-serviceable part, where putting it in the socket technically requires a electrician to install it (you and I are probably comfortable servicing domestic electrical installations, the average consumer isn't, and shouldn't be) - especially in these early days, when neither standards, features or protocols are anywhere near finalised, investing a couple of hundred dollars in bulbs is much better than investing thousands in electricians fees.
Fewer* drinkers. Perhaps you could spend more time understanding the English language rather than offering baseless implications that suggest people who drink are a problem for society.

Drinking is a great social lubricant if you are introverted. Without it, many of the social groups in security and programming that I have participated in would have ceased to exist. Bonding over laughs while having a pint is not something to pretend is irrelevant.
Culturally Diverse Workforce a Boon to Business
They look good, but the amount of code is staggering!
An aspect of the syntax is confusing me here. I would have assumed that the expression 'x+?' would be parsed as '((x)+)?', ie. 'x*'. However, it seems the parser special-cases this as (x)(+?) instead, and interprets that as a non-greedy operator. Isn't this horribly inconsistent?
Look, we're fighting about terminology not meaning. I have carefully defined my terms and made statements which live entirely within that world. I have also described terms of a larger world, noted that these two formal systems are distinct and also how they fit together.

If you want to talk about that which I called "tags" I'm fine with that. I'm even fine with calling them "types" if you insist---so long as it's also made clear that these "types" have nothing at all to with "static types" as they are different beasts that are essentially non-comparable. That is all fine.

I take argument to trying to smooth out the distinction, though. That is essentially wrong and unworkable.

Static type safety is far from meaningless or weak, but it is absolutely different from your definition of "type safety" as used here. I argue that static types have a precise and meaningful formal definition which extends far beyond what your attempt to define "dynamic type safety" encompasses. What you offer isn't meaningless or invalid---it's just vague and changes depending upon the language you're considering.
Isn't there some C11 version of the language that would add those kinds of features ? I guess they might break earlier C code though, but I'm not sure.
Indeed it does.

"error handling without throwing up your lunch"
You'll never know all of the data either. You don't need confidence/credible intervals if you can sample the entire population.

Maybe one is more intuitive than the other, but I'm unswayed by the "one is fixed in real life" argument.
News the Best Way to Build One’s Credit Rating
Are there any neat things I can do with the web site functionality? Or is it static HTML only?
>I want to see a demo of a room alarm clock: with rising light (in brightness and temperature), birds chirping, room getting warmer, music/radio a while later.. and the same for going to bed.

There's one of those in the latest Black Mirror. I won't tell you the stomach-knotting twist in the tale ;)
I'm using ESLint for all my projects for the last year.
I find it much easier to customize ( you can write your own rules )
And because it uses the Esprima parser, it's easier to integrate other things like JSX or ES6.

Check out an older intro by Zakas http://www.nczonline.net/blog/2013/07/16/introducing-eslint/

( Also I think it's a bit faster than JSHint/JSLint ).
I think this happens with a lot of kickstarter projects but the project owners are less well know and more likely to be able to just dissappear than someone like Molyneux.

Although Molyneux's history of over-promising and under-delivering should probably have been taken into account by backers. I don't think he was being dishonest I just think he is passionate, optimistic and idealistic and doesn't reign that in for pitches.
I don't know if the double meaning was intended, but it works in either case. :)
Wow ! I Like the GL macro. I think that would be very helpfull to debug some problems that I have on OSX related to core profile
It depends on why you want to go to a foreign country. Practically anywhere has something to offer someone. The question which something do you want.
If you are interested in fine art and history then almost anywhere in Europe puts you less than a two hour flight away from every European country. Of course for another type of fine art and history it's hard to beat China but you won't see much of it if you get stuck in Shanghai or Beijing, you need to get out into the countryside, take trains, buses, local taxis, etc.
But if all you want is a job in marketing or sales then it will probably be tough to break in because you will lack the connections and social knowledge specific to the place. If you are only intending it to be for a year then you should probably aim low on the job front and look for something with more flexibility rather than money so that you can get time to explore.
On the question best pay and hiring most: these can be in conflict. My country of residence (Norway) pays American expats on average 20% more than its own citizens and long term residents like me (I'm English) but they are relatively few and mostly highly skilled and very experienced people in the oil sector so mostly not new graduates.
While you will hear many negatives here I believe there are few positive outcomes.

The needs of HFT are such that technology barriers are pushed to the limits. Some of the technologies developed in the process make it back to the general public.
That depends on situation, it might be not that trivial. For example, in my university past exam papers (physical ones) were kept locked in an archive in different part of a city.
Ask HN: Do you hate iTunes?
Hey guys,

Since iTunes is the only option Apple gives us for loading media onto our iPhone, iPad or iPod touch from our Macs, and it limits the audio and video file formats we can upload – I can honestly say that I hate iTunes.

If only Apple made it a bit smoother, and not as big. Right not it's super uncomfortable having a Music store, a music player and iOS device manager all in one app.

Now, I was always wondering if this was just me or do many others hate it as well?
Yes, it is worth it. Initially we will provide tax rebates to driverless cars to encourage people to transition, then we add a "you are an anti-social luddite" tax to manual drive cars, then we make the latter illegal on public roads.

If you want to drive you old reliable fold escort you are free to do so on your own property, this has the added bonus that you can drive it as fast and as dangerously as you want (barring negligence regarding passengers or bystanders.) Once you enter the public thoroughfare we fine you and if the offense is egregious or leads to injury to others we put you in jail. Same response we give to someone who wants to drive 200kph.
Well Phillips pushing the Hue is pretty far from daft in their perspective. Get people to shell out hundreds to replace bulbs instead of a 1/10th of that.

Remember, Phillips is the reason incandescent bulbs had their lifespans intentionally cut in half for planned obsolescence.[1]

1.http://spectrum.ieee.org/geek-life/history/the-great-lightbu...
These really aren't the features you'd add in a language version though honestly. Maybe the standard library, but even then these are so simple that IMO it's not worth adding them. For a lot of these, a big reason they're not in the language is because they work if you understand what they're doing, but they don't work in every context and you get strange errors in those cases.

Ex. ARRAY_SIZE works by simply using 'sizeof' to find the size of the array. This only works if the array was defined earlier in the same section of code though, it doesn't work on say, arrays passed to functions. So the name 'ARRAY_SIZE' for this macro is misleading because it only works on some arrays in some instances. Anybody who's programmed in C would know this, but they could probably write their own macro to do this anyway. It's beginners who wouldn't know how to write this macro, and would also be confused by how it works.

The thing you might consider standardizing is the GNU extensions that they used in this article, naming ({ }) and typeof. Both can be handy honestly, but C11 doesn't standardize either IIRC.
Yes, there is a C11 standard. See for instance http://en.wikipedia.org/wiki/C11_%28C_standard_revision%29 for a list of new features in C11. But no, it doesn't implement these things.

Here's a handy table showing GCC's support: https://gcc.gnu.org/wiki/C11Status.

I'm pretty sure Clang supports C11 well too, didn't find a corresponding table though. It says "By default, Clang builds C code in GNU C11 mode [...]" on this page: http://clang.llvm.org/compatibility.html.
Auto Loans after Bankruptcy
So we need fewer drinkers at the high risk end (more than 50 units per week) and fewer drinkers at the increased risk end (less than 50 but more than about 21 units per week).

Neither of these are light to moderate, which is what the title is talking about. You said that we need fewer moderate deinkers. So, why do we need fewer moderate drinkers?
Well, this discovery was made while 'hacking' around with iTunes database. So it kind really means that itunes was hacked.
In the GNU narrative, you are the bad guy.

You are depriving your users of freedom by releasing closed-source software.

I have heard Stallman literally say that stealing food is bad, but working on proprietary software is worse.
And some of the first computer peripherals were printers and we still haven't gotten those to work reliably.
Will we see it for other browsers?
Soon?
>"I don't see why should I lose my right to do something just because I'm doing it as part of a group" (maxharris) //

Just taking this and doing an analysis ...

A) The initial premise is that: one should make reasonable allowances, eg of low cost, to accommodate those who might otherwise be excluded from society in some way due to accident, genetics, medical conditions and such.

B) The subsidiary premise is that: this allowance should be provided as a legal right to those who would otherwise be disproportionately excluded from society.

I don't think that argument holds water against this initial premise. A group has more resources. Making multimedia content accessible isn't required of individuals because it's proportionally excessive. In the same way a small store might not be expected to fit a wheelchair ramp but a supermarket would be expected to (indeed floor level access would probably be stipulated at the planning stage if it weren't already by the supermarket corp).

To put it a different way: if one child comes up to you and asks for food out of a genuine need, you've got a truck full of food. You're probably going to feel morally obligated to feed them. Now suppose a whole country comes to you and says they need food. With that same amount of food you're not going to feel morally obligated.

So, it seems there is some cut off at which the available resources compared to the size of the problem make a difference. I think that is enshrined in the ADA in USA and certainly is in the DDA in UK law.

The final element then in the OP is that (C) Harvard and MIT have the resources and so should also carry the obligation.

I think this is actually where I don't agree. That whilst as a whole they have the resources, for this project they do not. The allocated resources for this project mean that if the obligation were applied to make release of videos require captions and braille transcripts and such that the means available would not be sufficient to continue the project.

An analogue question might be: Does a chain of tiny convenience stores have an obligation to put in wheelchair ramps in some stores even though for the specific store it would be an excessive cost relative to their income.

tl;dr I think it comes down to compartmentalisation of the institutions.

[Perhaps maxharris you're right but just need to present your argument differently?]
Putting Amazon Lambda to Work with Kinesis
You bring up a very interesting point here. The "unityped" argument is a trivializing one, invented to try to draw bright lines between the worlds of static and dynamic typing.

But it's ultimately a minimal argument instead of an interesting one.

A dynamically typed fragment of code can be interpreted as a program in a statically typed world. From here we can attempt to use inference to partially recover real static information and use it during compilation. This is as old as dynamic languages---typed specialization! It's also a genuinely sophisticated static type system imposed on a genuinely dynamic language.

That's an interesting POV from the compiler's perspective, and it should not be ignored.

The other interesting perspective, though, and the one of more modern excitement, is that it's less about whether or not a program technically has a particular type but whether or not failure to be expressible at "good" types should be brought to the programmers attention immediately!

You can see a statically typed language as a gradually typed language which refuses to compile whenever `any` gets inferred, for instance.
Will there be any way to integrate it with Octave?
> Remember, Phillips is the reason incandescent bulbs had their lifespans intentionally cut in half for planned obsolescence.

Because all companies have the same management and culture as they did 90 years ago.
About £7000 depending on model.
Link to the course mentioned at the bottom https://www.youtube.com/watch?v=-sEdiFMntMA&list=PLFDnELG9dp...

http://courses.csail.mit.edu/6.851/spring14/lectures/
http://courses.csail.mit.edu/6.851/spring12/

Any Demaine specific lecture is worth watching.
Only talking about java when the code seems to be Scala is kind of confusing
I have 2x of the filco majestouch tenkeyless ninja keyboards with brown keys. For me its perfect, its hard to suggest a generically 'perfect keyboard' as everyone is different. They are not cheap.
Yes. Not sure why the original commenter is being down voted, it's an accessibility nightmare as far as sufficient contrast goes. Another "Works fine for me!" from a bunch of young eyed, able bodied 30 somethings ...
t.i.l looking around is now hacking.
This isn't as much of a problem if you use Chromecast with a tablet. Also, you can actually connect multiple devices with a Chromecast.

I think it's better to think of Chromecast as a wireless display device for your {smartphone,tablet,browser} than a displayless smart-TV. It's just a tool to turn your TV into a dumb client for your smart device of choice.

If you want something that extends your TV rather than something that lets you use your TV to extend other devices, you're better off with an Amazon Fire box or equivalent.
not a pure line count. a program that counts lines of actual code. excludes comments, tracks lines of code that span multiple lines in the text editor, ignores whitespace lines.

damn, the assumptions people make
Not saying netstat isn't slow, but:

# time sh -c 'netstat -tn | wc -l'
486206

real	0m13.538s
user	0m1.698s
sys	0m10.380s

It still works with a whole lost of connections. (in fairness, only about 130k were connected)
>(A `wc` replacement? really?)

you made a poor assumption about what a line of code counter is.

a line in an editor is not necessarily a line of code...
They didn't make any steps to reverse that decision in those 90 years, so it's safe to assume they're at least indifferent to it.
great post not worthless at all.
This is terrible. What about lawyer costs for the defendants? This is exactly what old-school corporate world does (e.g. IBM): abusing the legal system for a shake-down.
Out of curiosity:

Who has written C99 in the last 24h within a larger project and if yes what kind of project?
> If you sit on an FDA panel you need to declare all conflicts of interest. Panel members usually recuse themselves under those circumstances.

I don't care if you work for the pharma, but please don't keep posting demonstrably false comments shilling for the industry:

"Since the lion's share [of FDA user fees] can only go to expedite approvals, that area of the agency has grown while staffing and resources in other parts of the FDA have been relatively starved. As drugs enter the market faster, it becomes increasingly difficult for the FDA to perform its other functions -- including monitoring drug safety, ensuring manufacturing standards, and regulating marketing. [...]

Furthermore, the FDA is subject to industry pressures through its eighteen standing advisory committes, which consist of outside experts in various specialties, are charged with reviewing new drug applications and making recommendations to the agency about approval. The FDA almost always takes their advice. Many members of these committees have financial connections to interested companies. Although there are conflict of interest rules that prohibit participation in such cases, the agency regularly waives them on the unlikely grounds that someone's advice is indispensable. USA Today examined FDA hearing records in 2000 and found that 'at 92 percent of the meetings at least one member had a financial conflict of interest,' and 'at 55 percent of meetings, half or more of the FDA advisers had conflicts of interest.'

Members of FDA advisory committees are said to command unusually high consulting fees from drug companies. They are certainly in a position to do so. They probably don't even have to say, 'Pay me if you want your drugs approved.' According to the Washington Times reporter August Gribbin, 'One drug company executive who asked not to be identified referred to the advisory committee members' approaches for obtaining [consulting] work as 'shakedowns' because a company that refused to yield to such requests could doom products that cost tens of millions of dollars to develop.'" Source: The Truth About Drug Companies, p. 209
Sounds like my experience with Nest last summer. Got the thermostat, can't get it connected to my wireless. Support basically tells me to get bent until I go into full IT guy mode and prove its an issue with the unit. Replacement unit comes, doesn't work at all (first one was at least a nice looking thermostat with no connected features). Third unit comes and it's been fine ever since.

For some reason I thought it would be a good idea to get their smoke detector. One day it randomly detects smoke and will not shut the hell up about it even after resetting, replacing batteries, etc. Nest offered to replace it - I just put my old "dumb" detector back up.

I will say it's pretty damn embarrassing to buy this stuff and have it fail so spectacularly, at least my roommate wasn't here to see me seriously losing my mind trying to shut up the Protect.
> Drinking is a great social lubricant if you are introverted.

I used to drink a bit and this was a common refrain in groups of drinkers, especially heavy drinkers. The reality is a bit more depressing - this justifies drinking that is covering up real problems.

Now I stopped drinking and, after an adjustment period, I have a much better and more satisfying social life. A social life that revolves around doing positive things - fitness, creativity, learning.

One difference I notice is the sense of humour - we laugh, but not at people and we don't exclude people from our groups. And we speak more freely without having to worry that someone will suddenly react badly and start throwing around insults to defend themselves... about grammar, say.
For years we've known that people who drink no alcohol at all have worse outcomes than people who drink some alcohol. We also thought that drinking a very small amount of alcohol - a glass or two of wine per week - was protective but we didn't think more alcohol than that was protective.

Recently a study was released and heavily reported.

One reason we thought that tee-totalers had worse health outcomes was the number of people with alcoholism in that group or people with other severe health problems. This new study claimed to have corrected for that and only included healthy people in the teetotal group. The study then said that drinking no alcohol was associated with dying sooner than drinkin alcohol. The curve they released showed most benefit to people drinking one drink a day, but showed benefits over not drinking at upto about 5 drinks a day.

That was different to what we thought before.

It turns out this new study has a bunch of flaws. There are some interesting effects. Older women who drink do see some protective benefits. But the health benefits of moderate drinking for most people are not at all clear.

It's pretty important to publicise the corrections because of the heavy reporting of that flawed research, and because of the misunderstanding (that you repeat) that moderate drinking provides health benefits.
Sheryl Sandberg and Adam Grant on Women Doing ‘Office Housework’
The biggest problem Google has, in my opinion, is it's identity crisis. It's becoming a stranger.

Googles popularity came from it's simplicity. The services Google started buying (looking at YouTube here) were gaining traction because they were the simple equivalent to their competitors.

Today? Not so much. YouTube has gradually become more alienated since 2009. Yesterday I was watching a video, and not a single video listed in the sidebar (once called "Related Videos") was actually related to the video I was watching. The uploader was a popular YouTuber with easily over a hundred videos (No idea how much exactly because I couldn't find that number) yet all the suggestions were music videos from my usual browsing.

Context switching is no more, because everything is being overengineered to keep you in your own content bubble. Yet, that stupid auto generated playlist in the sidebar that I've never clicked, keeps lurking there on every video, for days at a time, before changing into another playlist that is no more appealing to me than the previous one.

If all the effort of that huge datapool we are selling our souls to is to make advertisers happy, and the users don't get anything out of that effort but more abstraction and more generalized data science slapped onto a new UI every couple years, it's not a fair trade. And people won't put up with that forever.

Google is still going strong. The foundation that put it in its place, is crumbling. A big chunk of their business still relies on that, though, so I think these articles have a fair point.
> Fewer* drinkers

I hate this. Less now means fewer whether you like it or not. Language changes and no amount of pedantry will stop it
I sure have.

I work on embedded software for industrial assembly tools.
My office is lab IT/ bioinformatics staff not researchers.

I think most people at this point type better than they write, also I think they compose while they write, making edits etc. Plus errors in transcriptions. I haven't seen anyone doing much formatting/ typesetting of the text, which you are right, could be done by anyone.
Yes, but they accept federal and state money, just like when the UC's accepted federal money and decided to submit on the issue of military recruiters on campus, because getting federal funds is voluntary and to the nearly arbitrary discretion of the executive branch.

However, I do think that there should be more mechanism than the purse to persuade institutions to make material accessible to disabled populations -- but for major institutions only, since I'm not sure smaller organizations can cope with the burden. Perhaps organizations above some revenue?