skysight-inc/HackerNews huggingface dataset:
Ask HN: Top Payroll SaaS with API?
My company is a service company, but we've built a fairly robust job management system to manage all of our work, including tracking pay for employees and subcontractors. Right now, our payroll provider works fine, but I would like to look into finding one that offers an API to manage payroll. All of our pay data is already located in our own job management application. Ideally, I would like to be able to click a button that says "Run payroll for XX week", and our app send all of the pay data to the payroll provider auto-magically. Even just manually copying data for 100 employees every two weeks is quite time consuming. I did a little searching, only to come up with Gusto/ZenPayroll, but they appear to right now be limiting their API to large partners that will expand the Gusto audience. Are there other options on the market I'm not finding?
Unfortunately, there are real world systems with C compilers that do not have 8 bit bytes. It's easy to forget the embedded world.

C is one of the very, very few languages that you can reasonably expect to run on your weird embedded microprocessor, microcontroller, DSP, or whatever.

Bit, however, means "binary digit". That's the literal definition of the word. Historical usage of the word "byte" has varied.
Would you have something lined up before giving _any_ notice? Even though this means going behind the backs of everyone that trusts you? I agree it's the safest approach, but doesn't feel good.
If you are leaving for more money then maybe the CEO will be willing to pay you to stay.

If you're not willing to approach your manager to ask for a raise then I would argue that's enough of a reason to leave even if they're willing to offer you more cash.
Well there goes my subscription.
Richard from Privacy International pointed me at these: http://www.amazon.co.uk/dp/B00RRL4XLW
It's a faraday cage for you phone. Pop it in and you disappear instantly.
I pay 15 Euro for 100Mbit with no data caps. Torrenting takes minutes, elementary QoS gets the job done for ensuring browsing is ok and 1080p H.264 is hard to beat.
>Then why was it impossible to do on iOS (iPhones and iPads) since 2007?

Just because nobody had baked the feature in.

It was also impossible to have a screensaver on iOS, but this doesn't mean screensavers are a new thing.
The Growth of Growth Hacking?
Heartbleed wasn't an out-of-bounds read.
I for one sure hope that Wikipedia never falls so low as to have to run ads. :)

Which doesn't mean that there aren't any alternative revenue streams for the Wikimedia Foundation. But it's a very touchy topic here. Ideas I've heard is finding/accepting more large grants (rather rare now, since it affects the independence of the organization), collaborating with companies wishing to crawl the content (like search engines; nothing that isn't public, just easier access) or hosting MediaWiki wiki instances (many people want to run "their own Wikipedia" and there aren't very many good providers now).

Not that anyone is planning to switch to one of these models, as far as I know. But it's an alternative in case people stop donating.
Netflix came to Kazakhstan few days ago. So far I used torrents, because there were no legal services with good enough offerings for me. I'm using Netherlands VPN almost always, because Kazakhstan bans many sites. So I subscribed to Netflix and I liked that service, I would definitely continue that subscription. But I switched off my VPN once and suddenly everything I watched just disappeared. It's blocked for me. So probably back to torrents for now. I really liked Netflix interface, it's the best experience I've ever seen. But interface doesn't worth a penny without content.
Well, you can take it to ridiculous levels calling everything "just a feature".

But that doesn't change the fact that some things, like word count or auto-adjusting color temperature, are at the end of the feature-product spectrum, and are better off as "just features".

That doesn't mean someone can't try to sell a dedicated program based on just those things.

But nobody should be surprised if other programs or OSes incorporate the same stuff as merely a feature they offer.
I think it will be interesting for the SEO team at StackOverflow to see if getting a bunch of links from Github, BitBucket, and other code hosting services, impacts positively their SEO or not.
I eat animals and wear their skin. Get over it you pretentious cunt.
UK subscriber here.

When using a proxy to access US content I get about double the content. If I can't do this anymore, it's not worth the price and I will be gone.
If you checkout https://flixsearch.io/ you can see the number of shows by country. Germany has 1808 and USA has 5750 shows available. I'm in Australia and there's the extremely ridiculous situation where a Netflix created show "Better Call Saul" isn't available to Australian Netflix users because Netflix sold the show's rights to a local competitor before they had a presence in Australia.
That's exactly what it is. His previous ESP8266 related posts didn't get any love, and presumably because of all the recent Hue chatter decided to take advantage of the name by hinting of a cool new accessory joining the Hue lineup. I must admit it caught my attention but I knew something was off immediate after seeing ESP8266 and Hue in the same title.
I really mean both of those.

Regarding the second point, the good practice here is starting the quote with a single > or if you quote more than one paragraph, simply inserting the whole quote inside of the " " signs. The spaces in front of the lines are supposed to allow code in the comments, and they introduce scrollable boxes in the text and the text is effectively unreadable on smaller screens as it can't be reformatted to the display cell width.
Pick the integer type that is best suited for your use, given your circumstances.

I can't make it any simpler. There is no one true magical perfect solution for all circumstances in all places at all times. This is why I employ competent programmers; to make these choices.

A competent adult would never use a chainsaw or a scalpel except for tasks where nothing else would work.

Of course they would. I do, frequently; not chainsaws and scalpels, but there are dangerous tools that I am really good with that I can produce really good work with, quickly and efficiently, and there are safe tools that would mean I take longer and can't do exactly what I want to do and produce a less satisfactory result. I don't pick the safe tool; I pick the right tool for the job, given the circumstances and the requirements.

Are there people who deliberately pick the tool that will give a worse outcome? If one of the tools available is something that the person using it isn't competent to use, that doesn't mean the problem is with the tool.

I freely accept that a good C programmer needs knowledge and experience beyond that of many programmers. This is not somehow a bad thing.
Compilers. Compilers for everything.

You can hype your favorite systems language all you want, but if there is no compiler, it wont compile.

>OS and hardware vendors decided to only support C compilers.

If you want your favorite language X to work everywhere C does. Just make X-to-C compiler.
Twitter Sued for Enabling “Explosive Growth of ISIS”
Hi. your junior colleague might be interested in the security answer here https://jitpack.io/docs/FAQ/. It's an important matter so will be happy to answer any more questions via email/gitter.

You can also run JitPack on-premises and have full control over build artifacts.
Does the content you get from the American version while in the Netherlands come with Dutch subtitles just as if it were the Dutch version (I mean in the cases where some content is available in both versions)? I'm asking because some memebers of my family need the subtitles, so I keep using the local version instead of the American one.
But that's the most important thing, isn't it? Being able to compile and run your code? I mean, the English language sure isn't popular for its intrinsic merits either, but here we are.
I'd have thought simply switching the phone off would be easier? Much better on your battery life too, if the phone turns the transmit power up to try and reach a base station.
If going by the numbers of titles over at flixsearch.io, UK has 2983 titles whereas US has 5750 titles in its Netflix library. Which is roughly double. But I'm not sure how correct those numbers are.

South Korea apparently only has 672 titles.
That was amazing!
A byte is the smallest addressable unit. An octet is a unit of 8 bits, which is a common size for a byte.
The idea isn’t that money came before barter - barter has always been around on the fringes of things. It’s that credit came before money & that credit tokens backed by a credible issuer turned out to be extremely useful as tokens of exchange & units of account. Hence it’s credit that evolves into money, not the things you might have bartered occasionally. Barter was for exchange with people you didn’t trust & didn’t have any kind of on-going relationship with & was therefore rare & fairly irrelevant economically. Anyone worth doing business with had some kind of credit relationship with your state anyway.
Maybe they should try fixing the video glitches one frequently gets whenever f.lux is enabled on OS X first?
From a technical standpoint, how can they actually enforce this?

I can see how they can do this for publically advertised proxies used by many people, but what about individuals with their own cloud servers hosting their own proxy or VPN? (i.e. me!)
InvoicePlane wiki is now open source
NGINX Amplify – Announcing monitoring and configuration assistance platform
X-to-C compiler isn't as nice as it could be, because you're writing code for some weird chip and need to twiddle some bits for IO using a macro defined in a header somewhere, and that doesn't play nicely with your pet X-to-C compiler.

Not an ideal situation, for sure, but a real one.
I can see a lot of people I know cancelling their subs. Also I wonder if this will result in a resurgence of torrents as people find other ways to watch their shows.
Can't they just discriminate based on your billing address?
I wouldn't feel safe until the battery is removed (which unfortunately isn't possible on most phones anymore)

The baseband still has access to your battery when your phone is off.
1. Check where your billing info is located
2. Block VPS providers
Of course not: that's the very definition of ‘rich’ — having greater spending power than others.
Current discussion: https://news.ycombinator.com/item?id=10905118 (674 points, 13 hours ago, 316 comments)
You haven't "lived" (period) until you're dead, and it's settled.

You might have e.g. "lived in London" (if you don't know, so it's a settled thing and a specific period of your life). Or "I've lived in poverty", etc.

But "I've lived", period, without such a qualifier is not that common or useful when one is still alive.
A byte is the smallest individually-addressable unit.
Important best practices of Angular 1.x
Acoording to Wikipedia, Better Call Saul is produced by Sony for AMC, not Netflix:

https://en.wikipedia.org/wiki/Better_Call_Saul#Development_h...

> Netflix was one of many interested distributors, but ultimately a deal was made between AMC and Breaking Bad production company Sony Pictures Television.
This makes no sense and I believe you are incorrect. When Analog Devices churned out the TigerSHARC processor, they did not decide to write a C compiler for it because of unix path dependencies.
> Converting to uintprt_t will give you some result -- but that result won't be useful. Unless you're writing low-level system code, don't do any pointer comparison or arithmetic unless both pointers point into or just past the end of the same object.

I disagree. There are situations where you need an ordering between unrelated objects, but the precise order doesn't matter, only that it's consistent.

An example is when you have a complex data structure with one lock per node, and you need to lock more than one node at a time for some algorithm.

To prevent a deadlock, you must always take the locks in the same order. Comparing the address of the locks gives you a total order over all the locks, which is enough.
Ask HN: Methane to electricity generator for drones
Are there any small methane to electricity generators which I can install into quadcopters?

I am annoyed with small battery life of quadcopters, want to make quadcopter which can lift ~10-15kgs and want to get power from methane.

Any ideas or suggestions related to making battery life of quadcopter/drones live longer?
But if sizeof returns size_t, then your can't have indexes larger than that. Otherwise you could point beyond the largest in-memory object possible. (Using smallest (byte) indexing)

But yes, he may be arguing the definition rather than meaning.
What I don't understand is why hard fork is bad or why people oppose it? Isn't competition a good thing?
It is my understanding that vacancy rates have plunged and that a given property is never on the market for very long before a sale is achieved. This makes it unusually liquid for a real estate market.
"Claims!" hahahahaha, at least we know who owns NPR.
In my previous job we had metal chairs and synthethic carpet that charged you with even a few moves. Every single time I stood up and wanted to move my chair out of the way - I was electrocuted.

I worked there for 10 months, yet few years later I'm still subconsciously avoiding touching metal parts of my chair when I'm standing up to go to toilet or make a tea.

I''m thinking it could be made into an app (with some usb device to punish you) :)
> What's missing is a solid technological implementation of a distributed, peer-to-peer, trust-less marketplace. It's possible to do it, it's just not that easy.

https://voluntary.net/bitmarkets/

Peer to peer, anonymous, two parties only, game theory and one established fact about human psychology.

Idea is following - if any of parties can't possibly gain anything from fraud in the long run, there will be no fraud. To achieve that, buyer freezes two prices of the item, seller freezes one price of the item. Money is frozen atomically, and is defrosted atomically. Money is freed only if both parties are happy. Some studies indicate that people have very strong feelings about justice IF they are dealing with strangers. This should cause strong revulsion of any unjust solution (e.g. buyer caving in just to unfreeze some of frozen money). To prevent such blackmail and other forms of psychological manipulation, both parties are anonymous by default and can't communicate using this software.

Published on MIT license.
> C is one of the very, very few languages that you can reasonably expect to run on your weird embedded microprocessor, microcontroller, DSP, or whatever.

I'm not an expert on DSP processing in any way, but I'd argue that if the environment is so peculiar that it doesn't have 8-bit bytes, you won't be able to use so many of the (formally optional) parts of C that you might as well call your code "weirdC" and do without char. It's not like you're going to use normal C libraries, and you are most probably relying on a specific compiler implementation and a lot of platform specific weirdnesses.
No, it's not - it's already out as of yesterday.
https://news.ycombinator.com/item?id=10901566 , https://news.ycombinator.com/item?id=10901575

Here's what it is:
http://lists.mindrot.org/pipermail/openssh-unix-dev/2016-Jan...
Torvalds Announces Plans to Change Linux Line Endings to Letter Z
If your phone doesn't have a removable battery, how do you know if it's really off?
>Pick the integer type that is best suited for your use, given your circumstances.

>Pick the fission reactor type that is best suited for your use, given your circumstances.
I find myself to disagreement with almost ALL the points this "critique" makes.

They are either minor pedantic corrections, "it's how it's always been done" things, or "you might have your reasons for doing it in a bizarro way" affairs.

Sorry, but for 90% of use cases, the original article has better advice.
My dad was heavily invested in NASDAQ-listed stocks and lost half his 401k in the 2000 crash. Who on Sand Hill Road should be in prison right now?
Quite amusingly the Weimar Republic quelled hyperinflation by rebasing the deflated currency on a limited asset... land. The new mark stabilised (until the Wall Street Crash, at least).
> int in particular is going to be the most "natural" integer type for the current platform. If you want signed integers that are reasonably fast and are at least 16 bits, there's nothing wrong with using int

The slight performance gain on a few systems that you get from using int rather than int16_t is very rarely worth the hugely increased risk of introducing platform-specific undefined behaviour, IMO.

> float and double are very commonly IEEE 32-bit and 64-bit floating-point types, particularly on modern systems, but there's no guarantee of that in the language.

True. Is there an alternative? Something like float32_t?

> But more often all you need is a particular range of values. For that, you can use either the [u]int_leastN_t or [u]int_leastN_t types, or one of the predefined types.

Sure - but again, how much performance do you gain from using a _leastN type, and how much reliability do you lose?

> It's capable of holding the size of the largest object your implementation supports. (There's an argument that that's not necessarily guaranteed, but for practical purposes you can rely on it.) It can hold the largest memory offset if all offsets are within a single object.

But you just said in the previous section that it only makes sense to perform pointer arithmetic within a single object anyway.

> There is a widespread convention, particularly in Unix-like systems, for functions to return 0 for success and some non-zero value (often -1) for failure. In many cases different non-zero results denote different kinds of failure. It's important to follow this convention when adding new functions to such an interface. (0 is used for success because typicallyi there's only one way for a function to succeed, and multiple ways for it to fail.)

The convention is not as widely accepted as this section implies. When adding to an existing system one should follow that system's conventions. When writing for Unix one should follow the Unix conventions. But there are other conventions (e.g. the VMS one) that also see use in C.

> I don't often use automatic formatting tools myself. Perhaps I should.

Yes, you should.

> Zeroing memory often means that buggy code will have consistent behavior; by definition it will not have correct behavior. And consistently incorrect behavior can be more difficult to track down.

Disagree strongly. Consistently incorrect behaviour is much easier to track down than inconsistently incorrect behaviour.

> if you're trying to program defensively, you might consider initializing allocated memory to some value that's known to be invalid rather than one that might be valid.

Agreed - but how? One of the biggest problems with C is that it is extremely hard to mark a state as invalid (hence the whole integers for error codes discussion earlier, where really an error code should have a different type from a valid integer result).
Oh, and I think what you did is small (in terms of deployment), but tremendously important.

Current IoT implementations all rely on a corporate link to their servers, which I heartily disagree with. You can see a lot more of my acerbic complaints on my blog crankylinuxuser.net as well as reddit /u/crankylinuxuser :)

People like us add to a growing force that says "We will not accept non-standards." I don't care of BigCo makes IoT gear: Just use MQTT/CoAP/AMQP or make doing so trivial. Don't make me use your garbage API on your servers.
>The author has yet to see an example of an image which looked any different in the print depending on if it had been processed in a sRGB or Adobe RGB pipeline.

The author clearly has very limited experience of professional printing.

Images aren't just used by photographers. They're used by graphic designers, digital artists, and other people who need a consistent wide-gamut colour space.

sRGB is not that colour space.

Referring to a couple of ancient Ken Rockwell blog pages as "proof" is simply uninformed and amateurish.
> and that I couldn't address these problems while I was there really, deeply depresses me.

I think you should let it go, and be proud that your beta quality is another mans release quality.
heck, even in c# I use unsafe{} here and there ((
Indian engineers, scientists in U.S. nearing one million
The counterargument is actually relatively simple, because it's an argument over what the definition of size_t is, and you can simply go look to the C standard and find the definition there.
Well, that's actually a problem: if you are forced to use something like OsmocomBB, law enforcement will be more than glad to see they have a new reason to have you in jail.
Interestingly enough, during last trip to London, my phone (Nexus 5 running Cyanogenmod 12.1) was able to somehow detect something fishy and warned me several times "Network may be monitored by an unknown 3rd party". Among others, I've seen this warning two times out of two when passing by Cheapside/St Martin's corner - next to the St Paul's Cathedral.

At the time I just dismissed this as some tinfoil hat developer adding some nonsensical warnings to the firmware, but in retrospect, after reading this article - this matches perfectly, chances are - phone was indeed detecting Stingrays. Still no idea how it managed to do it.

EDIT: I had no data/IP connection of any kind at and around the time of seeing this, so this is clearly unrelated to TLS interception.
I joined as second employee after angel funding (seed stage) and a few months before the first VC funding and got about 0.5% equity. After a series C this went down to less than 0.3%... I didn't know anything about stock options before joining, don't you think I should have negotiated for more? This article says I should have got about 3% when I joined
Yeah, no , I won't ask anything too personal.

1. Why the high cost? Was this addressed?

2. Do you personally feel the cost was justified?

3. What benefits/improvements specifically did you notice afterwards.

4. And your friend? Did their life or attitude observably improve?

5. How much of what you learned is freely available on the net? In other words, is the course simply a curated set of information that is otherwise available elsewhere?

6. Do you still receive regular communications from CFAR, and if so, what do these communications consist of?

7.(last one!) Regarding the uncomfortable personal questions, was this information that CFAR recorded and archived?

Thanks!
I understand.

If I change the argument to: size_t is capable of holding the largest array index", then this must be correct, or is there still something I missed?
> Bytes and octets are the same today.

Not in DSPs. Today.
>"If you post code here it's public domain"

It would need to be "some other license". There are countries where you can't just hand stuff over as public domain. In these countries the author would retain all right.
Watched the documentary last night.

Given that these things are cheap, would any fellow Brits be interested in clubbing together and acquiring one and installing it in or around parliament? I'm sure there would be plenty of buyers for the call records of MPS.
I think you're underestimating the amount of legacy code that people have. We're not talking about "I have a new processor, let's write code for it." That's unrealistic. It's more like, "I have a new processor, let's get our existing code base working on it, because if we don't, we're going to lose millions of dollars."