skysight-inc/HackerNews huggingface dataset:
OS X is UNIX 03 certified. That's a formalism.

1) That's a nearly 15-year-old standard (03 == 2003). Windows was certified to the predecessor POSIX standard.

2) While certified, it's compliance in actuality is poor. macOS's certified status says more about flaws in the certification test suite and administrative process, and the OpenGroup's need for income, than it does about macOS. The manual page for pselect, for example, even admits that it's not compliant!

FreeBSD, Linux, NetBSD, OpenBSD and probably DragonflyBSD are all more compliant in a practical sense than macOS, and much more compliant to the latest specification as they implement all or most of the newly defined interfaces, while macOS implements very few.

That said, yeah, macOS is compliant enough as a practical matter, especially compared to Windows. Porting stuff to macOS is about as painful as porting to Solaris or AIX, which is to say not very painful.

The biggest headaches with macOS are the bugs. For example, last week I was adding support for sendmsg/recvmsg and IP_PKTINFO in my Lua unix module and was able to reliably crash the kernel with a single line of unprivileged code:

https://www.irif.fr/~boutier/mac-crash.html

I was really confused at first. I had to reboot multiple times before I figured out it was my test code and not my hardware dying. After some Googling I found the above link that verified what I was seeing. This bug was only fixed, AFAIK, in macOS 10.12. (I don't have a 10.11 machine to test.) I was testing the code on 10.10, and as of the latest update a couple of days ago 10.10 is still broken AFAIK.

The most famous problem was kqueue not supporting pipes, but that was fixed eons ago. There are alot of other problems with their neworking subsystem, though. For example, shutdown() fails if the associated stream has already entered the equivalent state, either because the sender sent RSET/FIN or shutdown was alreayd called; no other implementation does that. If you send a socket descriptor to another process with sendmsg and then immediately exit the process, the receiving process will receive an unuseable file descriptor. There are lots of stupid quirks like this that make writing reliable, high-availability software for macOS very difficult. Fortunately, few people use macOS for HA server stuff, but I like porting my software to other platforms because it helps catch bugs (bugs that, for w'eve reason, stay hidden when running on Linux), and macOS provides a poor signal/noise ratio in that regard.
Doesn't sound like it would work, because there are at least two problems with that.

The first problem would be a kind of rendez-vous game [0]. Given the available information, seller and buyers have to choose their location such that they maximize the likelihood of finding their couterpart. Whereas people might think "Oh! Don't mind if I do!" if they see an ice cream truck, that's much less likely with groceries. Generally, people walk into a supermarket with a general idea of what they're going to buy, if not with an outright list. If the seller has higher costs of moving around than his customers, he'll just pick a place as a fixed permanent position at or near his warehouse (a.k.a a "store") and make it known so that customers might come to him. An ice cream truck, on the other hand, will just move to where the crowds are.

The second problem is that grocers seem to compete on variety and price. While you could sell a large variety of products from a truck, you'd be able to get a higher return on your dollar if you increased scale (suppliers might give you discounts, for instance). So a fixed shop could offer as much variety as truck, but at a lower price.

[0]: https://en.wikipedia.org/wiki/Rendezvous_problem
Another navigation aid was birds. They knew the maximum flight time of certain types of bird, and therefore if you saw that species, you would know you were within a certain radius of land.
Floating points already have a distinct type. Many JSON parsers already convert number literals to floats in all cases. For ones that emit a mixture of integers and floats, converting to a float consistently is a simple transform.

Floats are not typically used in the intended contexts for TJSON (cryptographically authenticated data), and normalizing them is rather difficult: https://github.com/benlaurie/objecthash/blob/master/objectha...
LastPass free only shows ads FOR LastPass. They are served first party.
ditto! French CPGE for me though.
I am guessing here, but outside of "developer teams" how many businesses and people give a crap about 3rd party API integrations? They wouldn't really have a use for them unless someone happened to be a hobby programmer on the side or something. I guess MSFT could create a marketplace for said bots/integrations....
I'm just telling you how the military designates the branches.
Based on ubiquity do you disagree?
>A post from "the other side of the table" :)

You're describing what worked for you. You don't know what works for other companies that are hiring.

You don't know the percentage of companies that look for the same things you do, the percentage that use an automated resume filter that simply ignores cover letters, the percentage that do something entirely weird and unexpected, the percentage that believe the cover letter is much less relevant than an active Github profile - and so on.

I wish employers would stop making this basic mistake. If you want a cover email, ask for one. Don't assume that you have an industry-standard application process (you don't - no one does), that applicants who don't match your unspoken requirements are bad (they may or may not be - you have no more information than anyone else does), that your special hiring process quirk gives you a deeper insight into applicant quality than any of the tens of other possible hiring quirks (it doesn't), or that your company is special enough to ignore all of the above (it isn't.)

If you want to articulate that you're looking for personalities with enhanced conscientiousness as an explicit hiring goal, that's one thing, especially if you're willing to trade off other qualities in the Big Five.

But randomly picking an action and assuming it gives you hire/fire information with no further context doesn't seem usefully rigorous.
That is a bad pricing strategy. Shipping price doesn't need to be based on actual costs, it could be based on value. Or it could be averaged.

Whichever way it's calculated, it needs to be based on something the customer cares about.

What the customer cares about is shipping time, and maybe packaging / reputation of carrier.

What the customer ABSOLUTELY DOES NOT CARE ABOUT is where your warehouse is located.
Web developers inability to see the difference between a formatting directive and a two way network connection is why websockets aren't going to be well supported in the corporate world.
This doesn't seem so crazy. Google deletes emails after a few months for rank/file and 6 months for executives for the sake of avoiding lawsuits as well.
Meson – A fast and user friendly build system
Everyone at our company who isn't a developer is on a Mac...
Personally, I tend to have more anxiety over making changes that could potentially kill someone than about data security. :)

That said, that's another area where the industry is in pretty bad shape, but that's a far longer rant.
Read up on the pros and cons of infantry rifles chambered for a full power or intermediate rifle cartridge. The gist of it is that in any given contact a very, very very small minority of shots hit their target therefore infantry should be equipped with something that fires the smallest, lightest cartridge that does the job so that they can carry more of them.

Magazine capacity reductions are easy to circumvent (a $30 stamp set can put a "pre-ban" date on your magazines) and most of the people doing mag dumps are either not subject to those laws (cops) or have no intention of following them in the first place (criminals).
Isn't (3) what they've been trying to accomplish for years? I believe what you see now in LinkedIn is their best effort at tackling that problem (and I'm not impressed).
I have worked with C-level executives at several very large companies. Due to the nature of regulation at companies of this size, many of these individuals are under subpoena almost continuously. As a result of the record keeping requirements of a person under subpoena, their life is much simpler if they conduct all business in person and keep no files. They use e-mail exclusively for interactions that are intended to be public. Any business communication to them is usually scheduled through a secretary and done in in-person meetings with projected slides.

It's not that they have anything to hide -- but at the same time, corporate espionage is a real thing and you have to protect trade secrets and you know the government receives a copy of every e-mail and document that you do.
I'm genuinely interested in this topic. I'm not saying that vegan diet is the best diet out there, but what I've read so far it really seems to be a much healthier alternative than the "western default".

Some interesting studies about vegan diet and it's impact on health:

http://ajcn.nutrition.org/content/89/5/1627S.full
http://onlinelibrary.wiley.com/doi/10.1038/oby.2007.270/full
http://www.bmj.com/content/293/6560/1468
http://onlinelibrary.wiley.com/doi/10.1002/1097-0142(1989080...

All these studies contain findings that support the idea of vegan diet being one of the healthiest option: vegans tend to have lower BMI, blood pressure and reduced (prostate) cancer rate.
You're definitely right about the feature bloat in Unity. We are probably only using 10% of the features, but like you said, we're still stuck with all that code. It must be a hard enough problem to solve that they didn't want to try and go down that route. Unity isn't dumb, I feel like they would go down that path if they felt it would be successful and was worth it.

> You can still use something smaller/purpose built

One of the advantages of using Unity though is that you don't have to write your game multiple times. Large studios can afford to do that, and they do. But for small studios, the ROI on porting your game to the web is not even close to positive, so hardly anyone does it.
> You honestly believe that a first-hire, in addition to receiving a competitive salary + benefits, is also owed >5% equity?

Competitive salary for top devs at big companies is reaching $250-350k/year.

If your startup is paying that well then sure it doesn't need to offer a lot of equity.

Most of the startups ive interviewed at over the last year don't even come close so they damn well should be offering a lot more equity to make up for it.
If country R hacking other countries is an accepted fact, why all the whining about it being covered in media? It is a big deal.
How is it ok for huge companies like Microsoft to blatantly copy smaller companies like Slack?
That may be your "takeaway", but it's wrong on several fronts:

1. There's nothing "fraudulent" about providing a service explicitly permitted by our Terms of Service[0]. See S7.4: "Other changes to increase performance or security of your website."

2. Continuing on #1, the BRs[1] provide explicitly for an agent to apply for certificates on behalf of another person. Look for the defined term, "Applicant Representative" and see 3.2.2.4.7 for DNS changes as permitted for DV validation.

[0] https://www.cloudflare.com/terms/
[1] https://github.com/cabforum/documents/blob/master/docs/BR.md
Apple's official note says "You should not connect any power supply that exceeds 100W, as it might damage your Mac." [1]

This is the maximum wattage allowed under the USB Power Delivery spec [2], so any USB-C power supply should work. Maximum voltage/current is negotiated between the supply, cable, and computer, which should select the highest amount supported by all parts of the system.

If you're using a cheap 3rd-party charger that doesn't follow the spec and decides it's going to tell the computer "I support 100W, let's do that!" and then jacks up the voltage beyond the USB power delivery limits, then yeah, expect to have problems.

The problem that I actually imagine happening is people getting a 20W rated cable with their cell phone, trying to power their computer through it, and wondering why the battery continues to drain.

[1] https://support.apple.com/en-us/HT207256

[2] http://www.usb.org/developers/powerdelivery/
Gawker Reaches Settlement with Hulk Hogan for $31M
Again, it's not quite that simple though, is it? If you're working class, or even "lower middle class" (man, but I hate this kind of terminology) and live in the south, especially if you weren't lucky enough to be the right age in the 90s to buy a house, then it's pretty damn hard to make ends meet.

Even more annoying, whilst I grew up working class, I'd now consider myself middle class and in a decent earning position, and yet I still cannot afford to move back to Dorset where I grew up.
At dotGo 2016, Paris, a GopherJS contributor said in his talk that WebAssembly is probably not a goal of GopherJS.

"Targetting WebAssembly (wasm) is the next step, but not yet ready. It won't be GopherJS"

https://dmitri.shuralyov.com/talks/2016/Go-in-the-browser/Go...
Why I moved from NFS to vSAN… and why it went wrong
Review: The MacBook Pro is an expensive MacBook Air on the inside
Getting Started with Vapor: A Swift Web Framework
Yep, not to mention entire cities and state governments. Also, the entire Military and Military Industrial Complex...
Another similar project was Magenta OS: http://crna.cc/cat/open-source

>Magenta was my attempt at implementing a mach compatibility layer on top of the Linux kernel.

The 2012 archive.org cache of this page has some details: https://web.archive.org/web/20120619162157/http://crna.cc/ma...
NYT == Paywall == they don't want me to read the story.

I'll gladly enjoy the comments, but this is my protest at allowing sources that are paywalls (except, perhaps, if a given story is in a fully public section).
Did you even read the post? First paragraph:

"Its primary intended use is in cryptographic authentication contexts, particularly ones where JSON is used as a human-friendly alternative representation of data in a system which otherwise works natively in a binary format."

See also the "Content-Aware Hashing" section: The goal of this format is to enable content-aware hashing which produces the same digest for data encoded either as TJSON or a binary format such as Protobufs.

I am using it in conjunction with Protobufs.
So, they have something to hide.
> Lest you think you can get away with putting in a random number if you want to visit the Salary pages but don’t want to give up your information (or pay up for Premium membership), think again. Shapero said that there are machine learning tools in place to detect when you’ve put in an “off” figure.

This seems pretty flawed. You can still put in a random number in some band, skewing the data (probably) upwards.
Am I truly the only person who thinks Wikileaks is a government run honey pot?

Of course I don't have any substantial evidence but just looking at it, it seems like a contrived apparatus with a James Bond like villain at the top, branding that looks like it came out of a B rated movie and 'leaks' that seem serious enough to get the media up in a frenzy and attract anyone with any real leaks.

I wouldn't be surprised to read about its conception by some mid-level CIA agent in 30-40 years.
Well put. If the house, 'valued' by the government at 300k, is actually a '90k' house that will in fact sell for 50k, perhaps it's time to get real, save time and call it a EUR 50k property from the start. Everything sells for the right price.

As for the issue of finding a buyer, I am hearing rumours that many Greeks have built up sizeable assets, from not paying very much tax in the last few decades. Many areas in Greece are also popular with European buyers.
Replacing an expired lookup service SSL certificate on a vSphere PSC
I've been a happy paying user of focus@will [0] for a few years now. Works very well for me.

[0] https://www.focusatwill.com
LastPass is now free on all platforms
True if validation is on there. I just put it in to show you could have other easily added validations aside from type (TJSON is locked to just type as it is concat/mashed in one value colon separated). If you just take the "val" and "type" it is really no extra bytes or very minimal but cleaner.

{
"val":"Hello World",
"type":"string"
}

OR

{
"s:string":"s:Hello, world!"
}

Pretty much the same. I guess my personal preference is I don't like to mash values and parse values out of key/value values.

In the end all validation is done on the server anyways so types/schemas for JSON are really just a nice to have and should not be relied on unless you control both ends of the pipe.
The whole "mouse over a video and see 5 stills taken from the video" is a crazy good innovation first seen on pornsites (AFAIK) and it always blows me away.
You do when that 'store' is an art gallery or something similar and the purpose there is to view the wares.
That's fine. In fact you want that. Encryption would still stop outside hackers, which is the preferred outcome.
oh how I hate this :)

Every second audio software has turn knobs you have to turn with your mouse. The "best" ones let you drag in a straight line (up or right = more), but even than it's a UI misery.

What you actually want: a slider where click holds the value and up and down than adds or subtracts. If the control is small, slow the movement while dragging (so you allways have to travel X pixels from min to max, no matter how small the control. beware of screen edges). Also please no jumping when hitting besides the handle.
And now the most important question: if you have to pick a password manager today, which one you'd pick, and why?

For me, being free doesn't necessarily mean being the best.
> GTK uses CSS for themes.

GTK3 yes, and it been constantly changing between minor versions so that most of the people that liked doing GTK2 themes abandoned doing GTK3 themes.

As for /r/linux, i get the impression that their permanent residents are a mix of gamers and "devops" these days.
Node.js v7 – URLs, deprecation warnings and a better developer experience
>How do you middle-click-paste if you are on a trackpad with only two buttons, for example?

Tap twice and drag on the second tap to select.

Tap with three fingers to paste.

Don't use the buttons.
Well, even adding a touch screen still requires a redesign of applications. Buttons need to be larger, interfaces need to be designed for touch screen. macOS isn't targeted towards that (yet, I feel Apple's anti-PC touchscreen statements are too strong as it's an inevitable development). Consequently, the interface would be, alien. I've used Windows tablets (Windows 7), with a pen input device. It works, but it's awkward. Even if they'd had an iPad-quality capacitive input for fingers, with non-touch screen apps it would still be awkward. That's the same experience I'd anticipate using a touch screen with today's macOS and apps.

They need to layout a roadmap for this development, rather than dropping the hardware in without the software to support it. Chicken and egg problem.
>xVideos has an improved timeline showing which parts of a video are buffered. If you're watching a video, and it buffers the first minute, then 0-1 minute will be highlighted in red on the timeline. If you then skip later in the video to the 3 minute mark and watch for another few seconds, it might buffer the 3-4 minute time period of the video. The timeline would then show 0-1 minute in red, and 3-4 minutes in red. You could then click anywhere in red on the timeline and the video would instantly start playing, since as the timeline shows, that part is buffered and ready to go. I've never seen the same feature anywhere else, YouTube and Vimeo would display the timeline as having 0-4 minutes buffered, which is incorrect, since they don't accurately display the gaps missing.

How is this useful to the end user? From a developers perspective I suppose it's satisfying, but from someone who want to see titties I don't care what's buffered or not. To paraphrase steve jobs, buffer management is stupid (for a user to be doing.) While he was wrong about tasks, I'm pretty sure I'm right about buffering. I have zero action I can take wrt buffering problems. So why do I need this information?
Yes. Ubiquity doesn't mean it is a fit for purpose. Especially for most things these extensions try to overcome.

In this case ubiquity is largely a product of the primary consumer of much JSON data is a web browser. Likely much of that data is simple enough that it does not require more than what JSON provides.
I admit I haven't tried it yet, I've only posted the above speculation based on the features list. So how are ads being displayed in the desktop/mobile apps ?
Hey, so according to the latest post on cpphints.com you "invite everybody to try it on the code" and there is a link to http://www.viva64.com/en/pvs-studio-download-linux/ . Also I read on your page that "PVS-Studio distribution kit can be downloaded on the download page. The demo version has restriction of the number of the click-jumps to the code fragments that contain bugs.".

I tried to play with it but got to "Please request a trial license from our support at support@viva64.com.".

So, is there a free trial or not? Should I expect to get a free trial if I contact that address? (I have no intent to buy anything really)
Darling has been around for sometime. In my experience it's buggy and not nearly as far along as Wine.
There's no way to know for certain if an organization is abusive, until it is examined.
I found my job (InfluxData) through "Who's Hiring".
It's specialization at work really, restaurants really do scale better than at home cooking. At some point, it becomes cheaper to eat out than to maintain a stocked fridge and tooled kitchen.
What do you mean, not defensible? As in, it shouldn't exist, or there's no way it can be profitable long-term?

I think it's a great product experience, but as you say, without adding more value, it can be replicated by Zulip/Rocket.Chat/Mattermost/Cisco Spark/Microsoft Team/ you name it.
Karaoke in Japan is generally not public like it is in the West. Its done in small private rooms with 2-8 friends.

Also Japanese people have plenty of places to let their freak out.
What about https://amznlabs.github.io/ion-docs/ ?
Not good enough for the distraction levels of which I'm capable. I'd still hop through the playlist.

The best solution I've found is a trusted third party (read: co-worker) who's anal about picking their own music. I'm essentially delegating my procrastination to them!
Personally I would vote for revolution - national default, totally new political leadership - and start to rebuild the country from scratch. Anything is better than decades of externally enforced austerity crippling a country's spirit as reflected in everything I read these days about Greece.

Looking at the democratically elected politicians/governments in Greece in the last decades I don't know where a totally new political leadership [edit: which would be interested and capable of 'rebuilding the country'] should come from. It's not that the electorate didn't consistently vote for the political leaderships which are/were, at least partially, responsible for the situation Greece finds itself in right now.
> I basically argued that HTML+JS+CSS renderers are the new X and that HTTP(S) is the new X11 protocol-- or at least that these parts occupy an analogous position in the stack to what X originally was. (They are technically quite different of course.)

While i agree from a technical POV, i disagree that this can be seen as a good thing.
I take it you don't know who either of the two authors are?

- https://en.wikipedia.org/wiki/Ben_Laurie

- https://github.com/tarcieri

They know about protocol buffers.