skysight-inc/HackerNews huggingface dataset:
Btw, thanks for FreeBSD compat work for running on AWS/Xen, even if it might've been mostly to host Tarsnap on it. ;)

It's possible to run a NetBSD Xen dom0 (host system) on bare metal, under VMware or Xen HVM: it takes a few patches, building a kernel and config tweaks to get going but it works stably. [0] (There's no XAPI (the Xen remote management API) support however, so XenServer tools and other 3rd-party XAPI integrations probably won't work. FYI: XAPI server-side is coded in OCaml; don't ask how I know that. ;) [1])

For most people w/ baremetal or rented colo that just want a turn-key supportable hypervisor, I would advise using Citrix XenServer (commercial official Xen, free download, it seems be more stable than XCP and includes XAPI) or VMware ESXi (free download, very stable, $$$ quickly). After that, you can run whatever OS/es you like. (IIRC a ton of AWS boxes run heavily-modified Xen open-source 3.3.x.)

For desktop/laptop dev: VirtualBox, VMware Fusion/Workstation or qemu.

References:

0. https://wiki.netbsd.org/ports/xen/howto/

1. https://github.com/xapi-project/xen-api

EDIT: pronouns
I'd be fine with that, too, as long as Google Maps started to get the routing tools which Waze has.

Basically, I want a mapping app which looks at a long trip and suggests alternate routes based on traffic, accident reports, etc. and is smart enough to weight routes based on historical trends. Waze has much of that but could use the kind of tuning which Google should be really good at and the much larger dataset it'd get if e.g. all Google Maps users were contributing data points.

The only other complaint I have with Waze is the clumsy UI for searching & adding stops (not to mention the 1 waypoint limit), the former being an area where Google should be able to deliver huge quality improvements almost effortlessly.
I think you need to be pretty careful about this. If you're saying making shoes is too physically intensive for any pregnant women, that's a pretty blanket statement. Some women are active until quite late into their pregnancy, and the idea that they might not be capable of making a shoe could seem quite insulting.

Also, presumably part of the appeal of this product is that your workers will receive better conditions than in horrible sweatshops. If you're saying that pregnant women are often exploited, but you won't let them work for you (and I may have misunderstood this) then aren't you dooming them to the conditions they already suffer, and denying them the chance to work for a better employer - you, in this case?
Did anyone else rub their hands with glee?
CAN is a bus over a wire with no concept of source (or destination).
Best I've ever felt (and clearest I've ever thought) was on a paleo diet. So how much is a personal anecdote worth against a third-party anecdote?
CAN isn't really designed for security. The nodes don't even have addresses. They communicate using message IDs without regard to who the sender or responder is. The error detection requires a party line so that any node can flag a corrupt message and the data rate is too slow to make tunneling a secure stream practical.
> I read a bunch of articles from John Douillard

> John Douillard DC is an Ayurvedic Practitioner

Maybe I'm weird, but I like my authoritative positions on human evolution to come from evolutionary biologists, not woo-peddlers.

At any rate, humans can eat a very diverse range of foods. Inuits eat a primarily animal-derived diet, supplemented with a meager amount of gathered plants during a small portion of the year. Then the spectrum moves all the way over to peoples that eat mostly plant-matter with few animal products. Humans adapt wonderfully, that's why we're so prolific. There is no magic diet that happens to be "right."
I'm using the non-renewing subscription, which I don't think is really as narrow as some of that guidance seems to suggest. I've seen them used in lots of different apps, in addition to the auto-renewing subscriptions I mention above.

Perhaps if Apple just actually changed those guidelines and made it explicit that this is ok more it would be a path to sustainability for more apps.

I feel like if more apps adopted this users might also become more comfortable with it.
And I believe the opposite. Remember power generation also has to be delivered, so solar farms will want to be near cities. There's not a lot of room, it will take more land that the freeway system! And that took decades to seize the land through eminent domain.
I think using Haskell's type syntax is misleading in this context (and doesn't really imply the required associativity (much less commutativity if you wanted to consider Abelian monoids)).

The operation of a monoid maps from pairs of things to things. So in terms of types:

<a,a> -> a

Or for some `twin` type constructor:

twin a -> a

This is a bit more suggestive also in terms of F-algebras, where the operation has the following signature (f is a functor, or mappable container):

f a -> a
The (Real) Problem with Docker
The best part is that if you read it on iPhone, every two minutes it switches tasks to the App Store trying to get you to download the app. Not once, not twice, repeatedly.
Has Octopart given interviews regarding their technical infrastructure? Everything on their site is very fast and performant. The autocomplete on the homepage is excellent. And the filtering done via the sidebar post-search handles a high-level of complexity quite well.
That doesn't sound right. Your body burns carbos, then fats, then muscle and organs if you entirely run out. Its designed to be efficient; lets not add scare tactics to the discussion.
A+++ for the second link. Would read again.
I was wondering why the approved correspondence couldn't be sent by a third party controlled by the court (paid for by the plaintiff). That way they don't have to release the information directly to the plaintiff.
Hey! You've just described the money-sucking machine that is Silicon Valley.
Reminds me: I have to give tarsnap a shot
I mean, they replace the middleman, right? They don't take them out?
I wish there was an option to just buy the ebook for $10 or something. I would very likely have bought it instantly if it was an option. As a college student $39 is a bit steep, especially when I can't find any external reviews.
My thought would be to set up an account on something like Digital Ocean. I think it would be pretty hard for the machine to take over the managing account. Even if it did, well, all that's lost is a Digital Ocean account.
The code isn't incorrect, it is nonportable.

If portability isn't a requirement, then it has no bearing on correctness (except that violations of other requirements that do apply to the program may also happen to be nonportable).

There is such a thing as nonportable and correct. A program is correct if it implements its specification, and if the specification says "it only has to run on glibc/Linux systems" then passing null pointers to %s is irrelevant.

The behavior in this case is undefined, but that only means "not defined by the ISO C standard". In context, it is the opposite to standard-defined, not the opposite to defined.

In fact, the given C library has defined the behavior; for the users of that library, it is well-defined: "glibc-defined", if you will.

I happen to believe that glibc's definition of behavior is arbitrary and inconsistent, but that's a whole different point from the idea that there should be no defined behavior, or that it should be defined to abort. The %s conversion specifier in glibc chooses a printed representation for the object "null pointer of type char ", the printed representation "(null)" that is not shared by other library functions.

For instance, consistency says that we should see the same result if we do strcpy(big_buffer, NULL) and sprintf(big_buffer, "%s", NULL). We do not. One will crash and the other gives us "(null)". Extending behavior in inconsistent ways that breaks basic equivalences and identities is pointless.

Moreover, programmers who want (char ) 0 to be "(null)" can do so easily, for instance with an inline function like this:

static inline maybenull(const char *s)
{
returns s ? s : "(null)";
}

printf("%s\n", maybenull(str));

The utility of this is low. All it does is waste cycles checking for null, which is of no benefit to a program which never passes null.
Just the last couple days I tried to get the parse "embedded c" SDK working (on a non-embedded platform and mixing in with existing c++ code), I found the "embedded c" docs to be not at all helpful and had to fall back to libcurl and fumbling out how things worked from the general-purpose API docs.
I am essentially using:

*Development*:
URxvt-unicode
vim on Linux
Sublime Text 3 on Windows
Python (and a lot of libs, mainly, requests, Flask, AutobahnPython, Twisted)
Rust (my new shiny tool)
C/C++ (sometimes, but I try to avoid it)
Frontend JavaScript (It has been a long time since I've written some ES5, I write only ES6 thanks to Babel)
Node.js
Webpack
React.js
Crossbar.io
Git + GitHub
Zsh (prezto framework)
Fish (on servers sometimes)
tmux (a.k.a the productivity booster)
virtualenvwrapper (must-have for Python & virtualenv)
nvm (must-have for Node.js & NPM)
rvm (must-have for Ruby)
fasd (when cd isn't enough, j somewhere)

*Fonts*:
Monoid whenever I can.
Source Code Pro.
Else, whatever can do the job.

*OSes*:
Debian on Server
Archlinux, Debian, Windows 7 on laptop (1st, fallback on others...)
I try to use the most appropriated OS for containers (Docker)

*Services*:
PostgreSQL OR RethinkDB whenever I can. SQLite when I can't.
Redis
Docker (+ dockercli)
Docker-Compose
nginx

*SaaS*:
Slack
Inbox
TweetDeck
Asana
Hacker News (the worst one :c)
50-60% of the absorbed your protein intake is metabolized into glucose.

Not to mention that people don't tend to eat the leanest cut available so all of those T-Bones and Rib-Eye's add a huge chunk of saturated fat into the mix and that's without all the addons like that nice sour cream and peppercorn sauce with those nice roasted potatos....

Consuming large portions of meat will increase your BG level's they won't spike as fast as if you would chuck down a bowl of ice cream but they'll rise quite well and crash just as quickly later...
Chrysler worked with the guys that discovered the vulnerability and no doubt simply patched the current known bug allowing exploit from the cellular uplink. The system could be vulnerable again if a new exploit is discovered. I updated my Jeep a week or so ago and haven't had any issues -- yet.

Edit: After reading the paper it looks like the update from Chrysler blocks inbound tcp/ip now, and Sprint is also filtering traffic more aggressively.
Their founder, Chris, is actually a former McKinsey guy. The thought was exactly that - to align 'McKinsey pitch deck thinking' with professional design.

I've used their service and was pretty happy with it. A large share of YC companies use them too.
Takes the middle man out of designer shoe business and into the template shoe business.

I'm curious what the insert says the craftsman was paid net for the $300 shoes. $100?
https://github.com/botwillacceptanything/botwillacceptanythi...

https://github.com/robashton/crowdsourcedhomepage
Wait, that sounds like early Linux. Late on drivers; late on support for office apps; hardware support always a generation behind. Yet it thrived. Its easy to blame folks for being late, back when there was little money in something, thus little investment. Everything starts slow.
If there weren't, we wouldn't need a library clause in the ISO C standard to know what is portable among them. That doesn't add up to an argument that libraries shouldn't have documented extensions in areas left undefined by the standard.
> Did Scala just start winning before Kotlin was around?

Scala has about 2% mind share on the JVM after ten years in existence, I would say that not only is it not winning but its time has passed.

Ceylon is one year old, Kotlin is not even out yet, there is plenty of time for either of these two to gain some solid mind share.

Or maybe not. Maybe Java is going to reign supreme for quite a while. Whatever the replacement of Java will eventually be, I'm pretty sure it won't be Scala.
There are other reasons to keep code proprietary than fearing a security failure in the event the code leaks.
>I believe the massive number of vets returning from places like Afghanistan and Iraq has had quite a bit to do with the increased tensions between civilians and police as well, and has also contributed to the militarization of police across the country (at least in attitude, if not in equipment).

Seems unlikely to me. Police departments always had vets. When we went to war in Kuwait in 1991, guys right around retirement age had been in Vietnam. Back when they joined the veteran cops were military veterans from WW II and Korea. Police departments have always preferred to hire combat veterans, because you don't know who's going to crack the first time they take incoming fire. So you hire someone who's already been shot at.

Anyway, the time frame is off. The first gulf war wasn't until 1991, but police departments had already traded in their .38 Specials for high capacity automatics and started dressing like ninjas by the mid '80s.

From what I can tell police forces in the US stopped acting like police and more like an invading army as a response to well armed drug dealers and a few well-publicized shootouts in which the home team didn't do well, most notably this one:

https://en.wikipedia.org/wiki/1986_FBI_Miami_shootout

Which might be the most studied shootout in US history. The FBI changed its contact policies as a result, and police departments normally pay close attention to FBI recommendations.

It's a kind of positive feedback loop, where fearful cops subject people to humiliating procedures in an effort to keep themselves safe, and people responding like people always respond to humiliation.

A colleague of mine spent fifteen minutes spread-eagled face down on a hot street because he kind of looked like someone who committed a nonviolent crime. Do that to a thousand people and one of them is going to start shooting the next time he's pulled over.
Actually we don't adapt so wonderfully. And historical times is not enough time to properly adapt evolutionary-wise.

http://ajcn.nutrition.org/content/81/2/341.full
Fascinating, especially following the recent article [0] and discussion [1] of:

Rwasa – A high-performance web server in x86_64 assembly

[0] https://2ton.com.au/rwasa/

[1] https://news.ycombinator.com/item?id=9948749
Well, because meat provides other calories than sugar the crash is 'buffered', right?
I got my shoes hand delivered to my house in SF, that was quite the surprise. The craftsmanship is excellent
Kodak did have a near monopoly in consumer cameras though, and they could have had a monopoly in sensors too - what they could have done by leading it rather than playing catchup is changing how adoption worked.

Had Kodak led it, we for example might print a ton more digital photography than we do now, because the charge was instead lead by Sony (in my opinion) and their early mavica - and for a long time you couldn't print digital photos onto real photo paper using a lasting process - because kodak controlled something like 70% of the processing market, they could have led the ability to print in store.

As it was, high quality printing from digital didn't come until much later.
See if you can find some job listings. I think they had a few and you can glean the stack from the languages they are looking for. ;)
Tech hub launches new Aussie tech accelerator
Here's an iPad app that does Markdown + LaTeX: http://eqeditor.com/writer/ and then outputs HTML, ePub, etc. Not sure if it's exactly what you need but there you go.
I met Sidra and Waqas at a YC Dinner recently. A fantastic team and fantastic and sustainable shoes!
It's 100% excellent. Highly, highly recommended.
Living the Stallman lifestyle is fantastic if you embrace minimalism. It's definitely doable with ARM and MIPS chips, along with (actually secure) cloud storage and encryption.

Should you feel the need to use evil apps like Facebook or Google+, make sure the 3 or 4 account names are random (but pass their filters), and that you make sure LOTS of people use those same accounts. Just understand that social media is a drug, and you are a drug addict.
> Well, yeah, but if you want to iterate over integer ranges, don't you use the for ;; {} form? (If not why is that form even there?)

for range does iterate over integer arrays / slices. The reason the C-style for loop exists is because sometimes you don't want to iterate the entire stack. eg

// iterate half the stack:
for i := 0; i < len(slice) / 2; i++ {}

// iterate with a stepping:
for i := 0; i < len(slice); i+=2 {}

// iterate from a different starting position:
for i := 5; i < len(slice); i++ {}

// reverse iteration:
for i := len(slice)-1; i>=0; i-- {}
It would be nice to see a summary of the projects and their effects after finishing the quiz. By that time, I had already forgotten about some and wondered what the answers were.
Quick reminder (not that you necessarily need it, but lots of people do forget this): It's usually a good idea to run

freebsd-update fetch

and install any updates (rebooting if necessary) before you try to upgrade to a new release. On occasion there have been problems in freebsd-update which need to be fixed.

EDIT: Don't run 'freebsd-update fetch install && freebsd-update ... upgrade', since if the first command installs kernel updates you might need to reboot before downloading upgrades. (Ok, it's very unlikely. But it's theoretically possible that a kernel update would affect the upgrade-downloading process.)
In the environment under question, you do not need an assert. You just have to dereference the pointer. Unless the pointer is displaced past the unmapped page zero (i.e you're accessing str[4096] and above, and not touching str[0] through str[4095] on a system with 4K pages) you will get a fault resulting in a fatal signal: SIGSEGV. Whereas an assertion will get you a SIGABRT, but the result is the same. The assertion will be earlier, that's all, before you try to dereference the pointer. Probably not much earlier.

Environments that do not have the hardware-assisted detection for null dereferences can still be targetted by a compiler which generates code which does the check on pointer dereference. That can be included in your debug builds, or even left in production builds if the performance impact is acceptable. I seem remember that some compilers for the Intel 8088 MS-DOS environment had a code generation option for trapping nulls.
I am a convert. Having a library that's always with me in my pocket is awesome.
What’s new for developers in Windows 10
Thanks for the feedback, I'll see if we can change that!
Agency or Porn
This is not to protect you, it's to protect the website.

>The service provider can still decode the info by MitM'ing.

Yes, but as I explicitly mentioned, only if you visit the website. If NSA goes to the website and demands the data, they can't do anything with it until I visit, whereas if it was decrypted, they could. This is a non-trivial difference.

>If you are using Google Fiber, for example, your service provider can do whatever they want anyway – they control your browser, they are a CA and they are your ISP.

Google is not going to risk their entire reputation by abusing their CA. Notice how CNNIC was removed from trusted stores and basically lost their business. Mitm by compromising a CA is far from trivial. Also, certificate pinning can mitigate the CA risk almost completely.
FreeBSD compat work on AWS/Xen

I did no such thing. My work was all to add AWS/Xen compatibility to FreeBSD. :-)

In all serious though, while wanting to host Tarsnap on an OS I knew and trusted was my justification for spending so much time on FreeBSD/EC2, my actual reason had more to do with wanting to make sure that FreeBSD didn't fall behind.
I feel guilty as I haven't even upgraded to go 1.5 yet.
They already have some information, so you might as well give them more information?

Substitute money for information, and I would love to do business with you.

"You are already paying me $20, so you might as well give me $100."
When Cops Break Bad: Inside a Police Force Gone Wild
The fact that you run Windows as the OS on your computer means you are not very interested in anonymity or security. Other things are more important. like playing Fallout 4.

Those people make Tor worse for everyone.
People can be told that the authentication method listens to their ambient sounds through their phone and PC at the same time to determine that those two pieces of equipment are in the same location, and that although their privacy is safe-guarded, they shouldn't say anything confidential during this time.
Technically, I agree...however, you are trusting your backups to a one man operation.
Ah thanks. It happens this box was updated from 10.1 -p16 to -p17 recently. Generally, on most OSes/apps, smaller upgrade deltas = less breakage.

Afterwards, folks may want to rebuild outdated ports to avoid stale shared libs from the previous release using something like:

(cd /usr/ports && make update && portmaster -a)
# or: -aBg saves new packages for re/installation on other boxes

Finally, check ports for any unpatched security issues (should be 0):

pkg audit -F

EDIT: only rebuild outdated ports
I think he meant _NSAKEY [0].

0. https://en.wikipedia.org/wiki/NSAKEY
I look like an engineer
I have to ask, are you guys collecting data and then selling it?
Except that it lets you export to TXT if you want. And open it from almost any device. And is much less likely to get your computer infected with something nasty
An entire generation sacrificed. And Google gets its new CEO
Most of paleo is just understanding the science of how our food affects us at a level beyond the nutrition label. It evolves as new evidence comes in, so this can't be a slap against paleo any more than measuring the gravitational constant can be a slap against physics. If you've got the idea that it's about trying to emulate cavemen -- well, there are a couple loudmouths who add the historical reenactment angle, but that's not how most paleo people think.

We've known for a long time that potato consumption is ancient. The things that actually matter, and that the paleo-sphere actually talks about, are things like how harmful the glycoalkoids in the skin are.

Here's an article discussing the actual Paleo opinion on potatoes: http://www.marksdailyapple.com/potatoes-healthy/#axzz3ikd0kh... . In short: they're okay for some people, but avoid the skins.
How RED Cameras Changed the Game
i will wait 1.6 too.
You shouldn't. 1.5 stable hasn't been released yet.
Okay and what does this actually have to do with hacking?
What would be awesome is if the pdf standard was updated to include multiple page sizes within the same document. What would be even better is if it supported marking soft vs. hard returns, so that automatic reflow would work properly.
Thanks, those are really good points and we'll take some time to think about how to communicate this better.

I mentioned pregnant women because the ones I've seen doing this work stand out vividly in my memory as examples of people who are currently working under abusive conditions and deserve much better. That's one of the reasons why we started Markhor to begin with and have been very careful. And of course they'll be welcome to make shoes for us if they want to, since the conditions of such work will be much better.

Appreciate your suggestion.
Goldman to Buy GE Online Bank with $16B of Deposits
Not a one-man operation any more! Admittedly still a bus-factor-one operation though, since man #2 doesn't know how to keep everything running yet.
No. Unfortunately it's not relative to anything. Nasim Haramein, the guy behind that animation/idea, is a known physics quack. In the future I would suggest being skeptical of anything coming from his "institute": The Resonance Academy (http://resonance.is/)
Hasn't happened to me yet (on Safari)