skysight-inc/HackerNews huggingface dataset:
I actually found this.. disturbing.

I get that sometimes you have to fire people because you are running out of money. What I can't agree with is that you can just fire people and it's fine because people's careers are long and this is just another spot in their "journey". Sure, maybe a person will work at many companies over their life.

On the other hand, people work to make a living, sometimes for an entire family, and suddenly not having work can affect someone's livelihood very negatively for obvious reasons. Don't get me wrong, I understand that sometimes as a boss/manager you have to make difficult decisions for the sake of the company. But, you're just lying to yourself if you think it's not a big deal to fire someone.
> Can we use dlang to build IOS/Android apps?

It's a work in progress, but simple things are possible.

https://github.com/smolt/ldc-iphone-dev
http://wiki.dlang.org/GDC/Installation/Android

FWIW, I installed Debian on my Android phone, on which I installed GDC. Building and running D programs just worked.
I thought it was bizarre how one of the hosts of the show just kept defending their behavior and kept making excuses for them. It's like they tried to spin it in a positive light even when the female host remarked and how cruel their practices are.

Just my opinion of course, but I found it a bit strange.
It's safe to be nice if your start-up has an exponential growth rate. How many start-ups have an exponential growth rate?

Considering that most start-ups are actually not successful, based on his logic it's better to not be nice.
That's very cool. Do you have a link with more information? I couldn't find anything when searching for "rust affine types".
The Taft–Hartley Act prohibits unions from carrying out 'jurisdictional strikes, wildcat strikes, solidarity or political strikes, secondary boycotts, secondary and mass picketing, closed shops, and monetary donations by unions to federal political campaigns' (quoting Wikipedia). This is a form of market distortion which takes money from one special interest group (labor) and moving it to another special interest group (employers).

If you do not like market distorting laws then you should not like the Taft-Hartley Act, which weakens the power of the unions to maximize the market for the labor they represent. Yet somehow I think you believe that distorting the market in this fashion is correct.

Regarding 'negotiate contracts as individuals', do you disagree with the concept of inequality of bargaining power? Quoting from the National Labor Relations Act, which is the relevant US law:

> "The inequality of bargaining power between employees who do not possess full freedom of association or actual liberty of contract and employers who are organized in the corporate or other forms of ownership association substantially burdens and affects the flow of commerce, and tends to aggravate recurrent business depressions, by depressing wage rates and the purchasing power of wage earners in industry and by preventing the stabilization of competitive wage rates and working conditions within and between industries."

If workers negotiate contracts as individuals, then they are at a disadvantage to employers who, quoting now from Adam Smith's "Wealth of Nations":

> ".... being fewer in number, can combine much more easily; and the law, besides, authorizes, or at least does not prohibit their combinations, while it prohibits those of the workmen. We have no acts of parliament against combining to lower the price of work; but many against combining to raise it. In all such disputes the masters can hold out much longer.

Finally, a massive government subsidy distorts the market in order that give some special interest groups (employers) free training for their workers. It's curious that you want market distortions that favor employers, but not those which favor labor.
I thought mainline Android had x86 support? What am I missing?
We are and have been.
This is for really small wins, but we have a #celebration channel in slack. It actually works surprisingly well.
Can a single modified home router actually cause disturbance to a RADAR?

Or are we talking about a widespread use of such devices?
He gave it again yesterday here in Olten.
My wish is not that the Snowden scandals cause European companies to make shallow clones of American cloud platforms but that libre / free software software and open hardware emerge. I feel this is the path to real privacy and freedom.
Reciprocal tweet-sharing platform – SharersNetwork.com
Working remotely might've been a factor in your Amazon experience.
60 Stunning Portfolio Website Design for Your Inspiration
This is the AOSP version for x86, there are commercial builds for x86 like there are builds for any other platform but if you want to have your own android is you gotta build it from the AOSP source which might lack quite a few things such as drivers for example.
uBlock Origin is also available on Firefox (https://addons.mozilla.org/en-US/firefox/addon/ublock-origin...), as is Privacy Badger.
I'd agree if we weren't talking about a company renowned for having among the highest base salaries in the business. Engineers who go to Netflix have a lot of other options and should know what culture they're joining.
Ask HN: Which push notification service do you use?
Which push notification service do you use and are you happy with it?
One approach is to free memory, retry, and hope for the best.

e.g. https://github.com/git/git/blob/master/wrapper.c#L63
Sounds like this karma thing.
we meet a lot of users during the week (and also sometimes have other meetings) so weekends are a really great time to focus on the product and build slightly larger changes to test during the week. fewer distractions and emails on the weekend
Isn't it funny Google even states "About 650.000.000 results" in that page!?
Show HN: Search Twitch – Search Live Twitch Streams
>Send a car full of shit to your ex.

That's an example of a task that a horse drawn carriage could perform better than a driverless car.
Hey guys! I'd love some feedback on this.

1) It needs some serious design work as it stands right now.

2) I'll probably open source it in the future.

3) I'm planning on making the UI more intuitive, and more clear as to what everything does.

4) I'd love to hear what you guys think :)
Similar phenomena happens when children encounter mobile robots - although less about ignoring, and more simply aggressive: http://www.sciencespacerobots.com/japanese-study-finds-child...

Its going to be interesting to see this aspect of our psychology play itself out as more and more becomes robotized.
In America, automatic cars need automatic weapons to threaten tailgaters, just like normal cars with human drivers have.
Interestingly, this exists: https://en.wikipedia.org/wiki/Shabbat_elevator
One thing where the Netflix system breaks down is for some reason managers are never found to be useless or relevant. It becomes a small number of individual contributors trying to support a larger and larger management base. The real reason is political. The people at the top fear people rising through the ranks so they execute people like a dictatorship. At my previous job everyone with more than 15 years of experience was pushed out and people with no experience at all were brought in. Now, no one can make the case that people with no experience were not useless. They had no skills. If it were a pro sports team, it would be like bringing in little league players. The idea is the little league-ers are so excited about being in the big leagues they don't complain about the inept coaches.

It makes perfect political sense to have high turnover. What managers will typically do is turn over the workforce, but also scale down the thing they are trying to accomplish to meet the capabilities of their little league-ers. All they want is to be able to claim a 'success' so they can get promoted. They cut the workforce down, cut the work down, but when they build the n-millionth + 1 music service or chat app they claim it is a revolution. Executive management says, "wow you created a music service, here have $500k" and the process starts again. No one has the cojones to point out that the company has inadvertently started to play little league because the executives are trying to ride successes as well.
I knew that Netflix paid well, but I didn't know that they operated like this. After hearing the story about laying off the tech team to move to AWS...well, let's just say that the salaries I've heard wouldn't be enough. They recruit engineers like crazy, but they still couldn't find a use for their existing, high-performing team? That seems insane.

The whole time I was listening to this, I was thinking: if a company is going to treat me like a de facto contractor, shouldn't I just ask for the (much higher) hourly risk-adjusted rate I'd demand as a contractor? Why bother with the charade of full-time employment at all?
When you work for a company with an HR attitude like Netflix, you don't go in expecting to stay there for the next 15 years. It gives you as an employee the chance to make a pretty good living and more importantly sharpen your skills so that when you're finished there it's easy to move on. And if then you want to have a nice stable job which you can expect to stay in for the next decade, you can.

Investment banking and high-end consulting have worked on a simpler principle for a long time. When you're young you work crazy hours and get really at your job. Once you're no longer able to do that, you leave for a calmer environment.
The only SOHO router I have seen whose vendor-supplied firmware did not totally suck is the Fritz!Box, and they are fairly expensive for what they do. But people seem to be willing to pay the price if that means they at least get a device that just works (tm), at least most of the time.

At work, we recently got a couple of wifi routers and installed DD-WRT on them to finally get a decent wireless network that spans the entire building, plus a guest network that is isolated from the company network. The freedom and flexibility DD-WRT offers made this both easy and - relatively - enjoyable.

(I do not own a Fritz!Box, and I never have. The last piece of equipment made by AVM I owned was a Fritz!Card ISDN card which sat in an ISA slot, so you can roughly figure out how long ago that must have been...)
For the health of your Puppy
Here is where you do that: https://www.federalregister.gov/articles/2015/08/06/2015-184...
The you consider the car hacks, like the recent Jeep one and the bugs like the Toyota ECU issues with unintended acceleration. I don't think that the state of software engineering is sufficiently robust to allow it to drive cars.
Uber gave a month of free rides (~$25 limit I believe) when they came in my market a few years ago. Lyft had gotten their the month before and only offered like 3 free rides. They were crushed.
Show HN: ApiModel, Interact with API's in Swift Using Realm.io and REST
Just in case anyone else finds this fascinating: Correct, sizeof(char) is always 1 byte. A byte contains CHAR_BIT bits (page 37). The implementation-defined value of CHAR_BIT is at least 8 (page 21). There are some implementations [1] that chose other values like 16 or 32. So while sizeof(char) is always 1 byte it's not necessarily always 1 octet.

[1] http://bytes.com/topic/c/answers/223565-implementations-char...
Homosexual Consultants Hired by Republicans
> It's a felony to tweak your Wifi beyond specs, it causes issues and regulatory bodies react, OpenWRT and DD-WRT could've saved them selves the trouble by developing a mechanism to respect local regulation own their own.

The Linux kernel has such mechanisms and they're not trivial to bypass. You'd as a user have to go out of your way to do so, and the devs are not in favour of users doing this. (source: I had to do so to workaround a card that was configured for completely the wrong regulatory domain).
It's true that the oldest verified person lived to 122 years - many of those years lived before antibiotics, before smoking was widely known to be unhealthy, before organ transplants, before widespread use of vaccines. The people on the lists of 'oldest living people' grew up in a significantly tougher world and thus many of their peers probably died young from entirely preventable or curable diseases.

If those people had lived with today's medical technology and knowledge available to them for their whole lives, that list of people living to 110 would be much longer and undoubtedly you'd see an increase in the number of people giving to 120 and probably to 130.
This almost makes it sound like you wouldn't mind users who have an account creating a new account each time instead of logging in, because that would increase the number of sign ups.

I don't think you actually mean that, but the idea came to mind, after a more vague feeling did.

To say that sign ups are more important than ability to log in, to me, feels like the quality of the product has lower priority than sign up metrics.

Like, if you care more about how many people sign up, than about how many people actually use it (even once), then it seems like the product isn't being made to be used, but rather for some other purpose.
SQL vs. NoSQL KO. Postgres vs. Mongo
Number Munchers ( for young desperadoes)
> even with the best modern (as in today) medicine you have no chance of 130.

We don't know that. Nobody has lived an entire life with modern medicine. So many things such as organ transplants, vaccines, antibiotics, discouragement of smoking, awareness of carcinogens, etc, have been developed since many of the people aged 100 or above were born, or in many cases, were middle aged.

> The question then becomes, if you manipulate your DNA, are you human, or a human subspecies?

That's mostly irrelevant - there is plenty of longevity-related DNA variance within Homo sapiens as it is.
In order to show that women are having a hard time finding men, the number of women on dating apps doesn't have to be larger than the number of men. It just has to be larger than it would otherwise be. But that raises an interesting point. It would be useful to know the gender ration for Tinder users in the Valley compared to e.g. the gender ratio in NY. Anyway, thanks for the thoughtful chat.
Amen! A couple of years back, I worked at a company where I helped maintain and improve a couple of programs written in C, and words cannot express how much I wished for a compiler switch to get bounds-checking, even if it was just for testing and debugging... Garbage collection/memory management was never much of a problem, but those nasty little off-by-one errors causing the program to corrupt the heap (which of course did not make it crash until a while later, so the location of the crash was usually totally unrelated to where the actual bug was located... sigh) drove me nuts!
"But don't you think his clients know that?"

Hedge funds, as a class, underperform the market; the "2 and 20" fee structure eats most of the gains. Yet many "qualified investors" buy into them.
Total Video Converter 3.71 Crack with Serial Key Download
Carl Sassenrath is another programming language designer who as long been a proponent for simplicity.

Some links:

* Definition of Simple (2011) - http://www.rebol.com/article/0509.html

* Fight Software Complexity Pollution (2010) - http://www.rebol.com/article/0497.html

* Contemplating Simplicity (2005) - http://www.rebol.com/article/0127.html
They might pay a lot but the apartments next to their HQ cost $3300 for a 1 bedroom apartment. That only works if they don't have a family. Housing near Netflix is going to be $5k per month. Employees also have to factor in the cost of unemployment and job search, self paid insurance and medical when between jobs, self paid retirement, relocation to and away from Netflix, etc. I would put the total extra cost for the opportunity of a 12 month stint at Netflix at $50k. Maybe they pay $200-220, but they don't give stock, don't give bonuses, and you won't be taking any vacation during those 12 months.
I had malloc fail recently, on a machine with low rlimits. Here's an example on FreeBSD 8.2:

#include <stdlib.h>
#include <stdio.h>
#include <sys/resource.h>

const int SIZE = 64*1024*1024;

int main() {
char *buffer = NULL;
struct rlimit r;

/* Limit all memory to 1024 bytes */
r.rlim_cur = 1024;
r.rlim_max = 1024;

if (setrlimit(RLIMIT_AS, &r) == -1 ) {
perror("setrlimit(RLIMIT_AS) error\n");
exit(EXIT_FAILURE);
}

if ( (buffer = malloc( sizeof(long) * SIZE) ) == NULL) {
perror("malloc() failed\n");
exit(EXIT_FAILURE);
}
free(buffer);
printf("Malloc worked\n");
return 0;
}

Here's the output:

%cc fail.c
%./a.out
malloc() failed
: Cannot allocate memory

If malloc failure testing is important to you, then you'll need some way to replace your use of the system malloc/free with special versions of your own. (Eg, through function pointers, or LD_PRELOAD.) Your own versions can be crafted to insert faults in just the right spots.

It's tedious work.
I am usually fairly skeptical of "X is Y done right", but in this case it seems to be true. C++ lovers might debate this, but D does take many lessons to heart that C++ programmers have learned the hard way.

I also suspect, that C++ is more of a result of design-by-commitee, whereas D is - to a substantial degree - the brain-child of a single person.
I think it is in an early stage. My test inside a VirtualBox was not really satisfying. Slow and not really smooth. maybe on dedicated hardware it might run better.
It's a lovely story, thanks for sharing it.

On the "support and enterprise" not being ready. The only comment I'd make is that what you tested was the community of users support e.g. on IRC.

In Open source there's fundamentally a trade-off between "money for time, or time for money". In a production enterprise environment where it's urgent to always be available getting professional support makes sense. Then, when you have an issue, rather than the uncertainty of a community channel you can get hold of professional support from the experts in the software.

That's true of any of the major distributions and a lot of other important OSS software used in production.

Note: I have a bias on this point since I set-up Canonical's professional support and consulting organisation.
City planners do not neccessarily know the best bus routes. They know which busses are used more frequently, and if they have unified fare systems using tap on/tap off cards, they know which trips are most often taken by bus.

What they do not know is where new bus services might be useful. If Uber was able to show that there is a demand for transport between X and Y not currently served by busses (e.g.: late night riders are there but the busses aren't, or there isn't even a bus that services route between A and B).

Services like taxis and Uber would be invaluable for planning mass transit systems.
I did a masters thesis in this field - they have done VERY well to use just the RGB camera to achieve these results.

Great results, but I would love to see what they do with non-opaque objects and shiny surfaces, especially the later. Specular reflections were the last great barrier to machine vision a few years ago when I was working in this area and I've not seen any new research showing progress in this area.
I've run it on an old Centrino laptop. It runs quite well, all things considered (wireless and so on and so forth.
DISCLAIMER: I'm not well-versed in type theory at all, so take my words with a grain of salt.

Unfortunately I haven't seen any comprehensive article that discusses affine types in terms of Rust. So I can't recommend a link to you, instead I'll try to explain them in my own words.

Affine types are those whose values can only be used at most once. They are implemented in Rust as ownership and borrowing. In my example above, `send_header` borrows the `conn` variable, whereas `send_body` takes the ownership of the `conn` variable. As you lost the ownership of `conn`, you cannot use it anymore, thus resulting in a compile error.

This is similar to C++'s move semantics, where you are not permitted to move the same value more than once. It is just that in C++ "move only once" is a convention, whereas in Rust it is enforced by the type system.

In Rust, if you pass an argument by value, you're automatically using affine types. You cannot use the passed variable anymore. To "borrow" instead, you need to opt-out using references. So, the hypothetical API I mentioned above would be written as:

fn send_header(&self, text: &str) { ... }
fn send_body(self, text: &str) { ... }

Note the difference of `&`.

Finally, all of these aren't just hypothetical. The exactly same design is used in Hyper[1], which is an HTTP library, and in nickel[2], which is a web framework in Rust. If you look at the API doc you will see there is no '&' in the self parameter. That means it's passed by value, using affine types, and the ownership is transferred, so you cannot use the original variable anymore.

I hope this helps.

[1] http://hyper.rs/hyper/hyper/client/struct.RequestBuilder.htm...

[2] http://docs.nickel.rs/nickel/struct.Response.html#method.sen...
Ask HN: How is the President protected from drones?
Bodyguards who are good at shouting clay pigeons?
That link shows that malloc failed, just not due to exceeding available RAM. At the end it says "malloc finally failed because of address space exhaustion."
On virtual memory systems, it is a safe bet that malloc will "never" fail to return a value. It is just good form to check the return value of system calls. If you program for embedded systems (e.g. Arduino) and bring over the bad habit of never checking malloc, you are going to be in for a surprise. I'm not sure, but I believe on iOS, malloc could fail on the device.
Rust iterators are a bit of a crutch IMO, until it's possible to return them unboxed; if you use them heavily you end up with types one paragraph long.
Perhaps Android in a VM will replace wine for running unported stuff on a Linux desktop.
Weekend inspiration
There were three really shocking things about this. Firstly, how little any of the politicians who voted for it understood what it was. Virtually none of them could even define what "meta data" meant, yet were casting judgement on the privacy implications of retaining it.

Secondly, how poorly drafted the actual legislation ended up being. Since nobody involved understood it, the law itself is a series of self contradictory statements that make very little sense. At some point they decided to exclude "web browsing history" but nobody obviously knew how on earth to write that in, so it became its own section that overrode the other sections to say that "nothing else in this bill requires retention of anything that could be interpreted to be web browsing history" - despite the fact that the rest of the bill very explicitly details retention of web browsing history. As it stands, the law is unimplementable, and thus what is now happening is that ISPs are going through a process of getting "guidance" which is a euphemism for "since we can't legally operate any more given this law is unimplementable, just tell us what you want and we will do it".

Finally, the fact that there was a sudden and inexplicable spike in terrorism raids in the weeks when the bills were debated. There have been almost no raids since, and there were almost no raids before. Yet in those critical weeks, law enforcement just happened to decide that it was timely to execute a bunch of "raids", which have had no material outcome. In other words, law enforcement appears to be transparently corrupt and willing to abuse its powers for political ends. Which means we are very much well on the way to being a police state.
Kickstarter Math is Weird
Another is to pre-allocate enough reserve memory to be able to save and exit cleanly. When malloc fails, switch to the reserve memory and either shut down nicely, or post a dire warning to the user that the end is neigh and to "SAVE AND EXIT IMMEDIATELY".
For something everyone is aiming at, sounds terrible. Do you at least get the girl or something in the end?