skysight-inc/HackerNews huggingface dataset:
You have to look beyond the front door in LA. Even though the place might not look like its so great, get inside and see the menu for yourself. There are plenty of places that make great sandwiches - you just have to find them. LA is one of those places where you have to get out and explore a lot more than the East Coast, where things are bound tighter (and thus more accessible).

Last time I was in LA I had great sandwich food at places like Fred62's in Hollywood, Philippe The Original downtown, Jay's Burgers (RIP), and so on. You've just got to find these places.
To what end though? It's a small thing sure but it's busywork. Why am I being asked to do busywork?
So far I've focused on making new projects both Python 2 and 3 compatible, but "new stuff" in Python 3 is not always available when:

- Laptop running Ubuntu Trusty: Python 3.4

- Production servers with Debian Wheezy: Python 3.2

- Laptop running Fedora 20: 3.3.2

You don't usually install Python in Linux using upstream, you install the version provided by your distribution and unfortunately Python 3 has differences between these versions (eg, "yield from" was introduced in 3.3, IIRC), whilst 2.7.x it's been without changes for a long time.

Even Apple includes 2.7 now (handy when I distribute a game made with Pyglet); so I'm excited too, but Python 2 still makes my life easier.
I've been fascinated with the idea of applying PageRank to things. This is much deeper than I would venture, very thought provoking!

It breaks down for me however. Cooperation with others is by no means a dynamic concept of morality. PageRank is also more dynamic than he lends to in this article.

Take Socrates, he cooperated with his death sentence. Laid upon him by a majority for what? Devotion to truth?

Thought experiment: Morality Engine Optimization. Games over. It breaks down.
In theory passing args in registers is faster because you avoid one copy in simple/small routines (the ones that perform a very simple op on the reg arguments and return). In practice there are way more complex routines than simple routines and the arg from register is copied back on the stack in the local variables area of the routine because it needs that register to perform some op or simply because it needs that reg to pass an argument to a subroutine. So in practice, the arg copy is only shifted from the caller to the callee.
More foot traffic on the East Coast. In LA you've got to drive around to find the great places to eat.
As it stands, there's a simple answer: The brain. The person is defined by having a specific brain; you can swap out literally everything else and the person will still be the same person.

This will be more relevant when pieces of the brain are being swapped out.
You seem to know a lot about this, so all I can do is reiterate that when we take our electronics to florida to be tested, our QA guys make it clear that no company's electronics are designed to survive a lightning strike - including ours. (Though we are designed to resist a 22 calibre bullet). We install a lot of lightning arrestors, mandatory in Florida, São Paulo, Singapore -- and we seem to do fine in those areas (knock on wood) - but I've been told that's to prevent a nearby lightning strike from running down the antenna line into our electronics. If our RF gear (which is mounted outdoors in weather rated containers) gets hit with a direct strike - 100% guaranteed destruction.
Patient Zero of the selfie age: Why JenniCam abandoned her digital life
The first time I went into Subway in America and asked for a cheese & tomato sandwich, I discovered that there was a big difference between what people in the US think of as a sandwich and a British sarnie. And just don't try for a cheese and pickle sandwich...
The place called New York Pizza near LA Community College is pretty decent.

But I will never be impressed with American pizza again .. not after a few weeks in Rome. Best pizza in the world, period.
Why is this such a big thing? There are still bugs being fixed to this day as Rust is still in beta.
Relevant John Oliver segment: https://www.youtube.com/watch?v=3kEpZWGgJks
FYI, greenlet already includes stack switching code, so it would make more sense to use that.

https://github.com/python-greenlet/greenlet/tree/master/plat...
I think Python is in great shape. On Unix it is the dominant scripting language.

https://www.google.com/trends/explore#q=Python%20programming...
I too fit that description for some time. Vim is what I would use when starting an editor to do something to a file, and emacs when wanting to live in the editor and reach out to external tools like a repl for some extended time.

Using emacs in daemon mode with launchctl on osx and then making a shell alias and an automator launcher for emacsclient that just connects makes starting the new client so fast that I can use emacs for the quick jobs, too. The only thing I have to do now is get used to the emacs command equivalents for the quick edit jobs. For example, in vim I can open a file to a specific line, delete that line and then the first 5 characters of the next 50 lines, and exit the editor in just a few keystrokes, while in emacs I'd still be playing with C-h a and googling. The things I've spent the most time in emacs doing, common lisp, clojure, latex, and so on, have a very different set of common operations than the common sysadmin tasks I used vim for.
Being Swedish, this one is really amusing.

It's like the Anglosaxon world starts with what we in Sweden would call a double sandwich (since it has two layers of bread) and declare that as the simplest form, thus considering our normal sandwiches to be "open".

Of course, in Swedish the word for an open face sandwich is simply "smörgås", which doesn't translate but does not at all have the layering (sandwiching) connotations. It means basically "buttered bread" ("smör" is literally "butter") although it's an old word.

Language. Such fun.
> the new body would come from a donor who is dead but otherwise healthy

Seems like a waste of a bunch of organs that could change many people's lives...
Not just from Kyle's point of view. It seems like the confrontational approach sometimes makes it difficult to appreciate the value of the ideas and people. It makes me wonder if there are a lot of people who would make good founders but struggle with pitching, and so room for a bit of moneyball.
"the district doesn't have the technical resources to conduct such a probe"

I love how they dont have resources for this, but if the plaintiff happens to speak some International language for which they dont have a translator, they fly one in from wherever they are available and pay them huge amounts of money for maybe 2 hours of work (I know its a but more complicated then that, but its still resources), but you cant dedicate a few thousands to verify the how the stuff got on to the hard drive.

[1] Corrected spelling etc: Need more coffee
> I'm sorry but if you can't handle an investor being short with you, how can you possibly handle building a business?

Aren't we talking about a counter example?
Though I find it hard to relate to, many people consider their bodies to be essential to their identity — they wouldn't be them without it. These people find our intuition about what is essential similarly foreign.
Why is that complaint valid? When this recipient dies, those organs can be used to change many people's lives.
Actually the threat was more about investing for the next datacenters outside of France. It's highly unlikely they'll relocate the current ones.
I've been following the debate in France, and the political response to concerns about the new surveillance law has been extraordinarily tone-deaf - the parliament has been very much in a "you're either with us or you're a terrorist" mode from the start. Hopefully, now that ovh and other French vendors have started to be vocal about it, some aspects of the law might be improved. I'm not holding my breath though.
If the procedure is 100% lethal in theory, it's doctor-assisted suicide, which is legal in some jurisdictions (in America) and illegal in others.

If the procedure is 100% lethal in practice, but survivable in theory, it's medical research, and if good, non-coerced informed consent is given, I have a very hard time seeing any prosecutor prosecuting the case as even manslaughter or similar.

After all, there are other procedures which are only performed when there's a small hope of success; CPR out in the field is one of them. (High-end survival estimate is less than 20%, more likely less than 10%.)

http://www.cnn.com/2013/07/10/health/cpr-lifesaving-stats/

http://apps.health.qld.gov.au/acp/Public_Section/Resuscitati...
How do you know that we can swap everything else and the person will still be the same person?
A lot of the problem is that PyPy isn't completely compatible with C extensions.
Put avocado in a grilled cheese sandwich some time. It is amazing!
A practical perspective depends very much on your specific use case. Server programming? Scripting? Scientific computing? Games? Tooling?
"Just make it faster and everybody will move" is demonstrably false. See PyPy.
Somewhat related to the "use an enum" approach: Value Objects.

Not quite an enum since it's not a design-time constraint, but they can let you "wrap" a scalar (or series of scalars) into something much more self-documenting, and prevent mismatches, like where someone substitutes length for mass.

For your example it'd be overkill since there are only four states, but if there was some additional related piece of information, like a number for tolerance, you could make an immutable object to group it all together.
Hopefully he's not just selling artifacts on the black market, which is the most common outcome for private findings.

But yeah, southern Italy is all like that. Loads of houses in major cities like Naples or Rome will have a hatch in the basement, leading to what are basically unprotected archeological sites. Local authorities often have to turn the other way, because the cost of properly handling all this stuff would be prohibitive. These are living and bustling cities, you can't just turn them into museums.
That would do it, yes.
It's a shame that there was never a good PC version. If I remember correctly, Wipeout 1 had proper timing, but it only offered software rendering. There was one version with hardware acceleration, but it used some crappy proprietary 3D API (ATI CIF).

Wipeout 2 used DirectX, but it used tick-based timing which was meant for 30 FPS. So, if you capped it at 60 FPS by using vsync and 60 Hz, it ran butter-smooth but twice as fast as intended.
That's exactly what I meant. Ideally, I first write classes public interface (it's especially easy in C/C++, it's just an almost complete header file), then write some code that uses it to ensure that it is easy and intuitive to use, then unit tests, and only after that get to implementation. It's not always possible to follow this flow all the time (I work in the game industry and unit testing is seldom used, unfortunately), but I always find that I write better code when I follow it.
Swift has legacy builtin. It is forced to use Objective-C's OO mechanisms.
Medical science has, however this Doctor is just making an outlandish claim. There have been no tests on animals that worked and he's just hoping his method of joining the spinal cords will work.

This isn't medicine, this is just someone with a superiority complex.
A lovely trick I found with libdispatch: when the async-nature is specified dynamically, invoke via a function pointer determined by the ternary operator:

(async ? dispatch_async : dispatch_sync)(queue, ^{
/* stuff */
});

The reader does a double-take, but it's so damn pretty!
Sure, either recycle my username or let me recover my account.
Of course, "no regressions" is another condition. With PyPy lots of C extensions break.
Because we've done it.

OK, that's a bit facetious. A combination of existing transplantation procedures (heart? check. liver? check. kidneys? check...) and the fact that sometimes people need things removed but not replaced (thyroid, for example) leaves nothing but the brain as the organ which can't be removed and/or replaced without changing who the person is.
Re: FCGI/WSGI with Apache, after a lot of frustrating trial & error I found https://code.google.com/p/modwsgi/ to work the best.

If you can dump Apache, uwsgi and nginx is (imho) a much nicer way to host python apps.
Subscribe to the Weekly Newsletter on Docker, CoreOS and Microservices
I live in France, where nuclear energy is dominant, and I can tell there are some serious issues with nuclear power.

First, nuclear can be extremely inefficient since it's heavily centralized : I have friends working for energy distributors telling me they can lose more than half the energy between the power plant and the client's house.

More importantly, nuclear waste disposal and power plant cleaning costs are heavily underestimated. I've worked for the CEA, the French nuclear agency where they invented the first French atomic bomb and reactor in the sixties, and some experiments aren't still cleaned up yet in 2010's (the current objective is to fully clean up the laboratory in 2025-2040). That is a massive cost which is not factored into the kW price.

I think decentralized technologies are the way to go regarding energy (using local loops and "smart grids") even if they aren't viable now (solar panels cost more in energy to produce than they give back during exploitation for example).
I agree. Introduce a JIT in CPython and optimize the hell out of it like Javascript does.
2097/XL had a PC version which is relatively good and I still play it from time to time.
Just entered to comment how much impact a spotlight from a single comedian could have. We should call it the cosby effect.
Magneto and OSCommerce are nowhere near competitors IMO, at least in terms of using them as a developer. I still get fever dreams about Magento...
Some people have body dysmorphia issues, and some people just really identify with looking a specific way. I understand that. However, some people really identify with living in a specific location, too, but we don't usually regard moving day as the death date of the person who moved.
It has TransmitFile and TransmitPackets: https://msdn.microsoft.com/en-us/library/windows/desktop/ms7...

They were in use (at least TransmitFile was) by IIS long before http.sys was conceived.
I disagree. I think LightTable was a great success. Personally, the product we made with LightTable positively affects thousands of people here in Scandinavia. What were your expectations from Light Table?
Takeaways after a 10-day Vipassana retreat
That's quite nice, although I imagine extracting the graphics is less demanding work than redoing the physics and stuff, heh.
Only within certain ethical constraints. Otherwise you're giving the nod to things like eugenics, which is demonstrably a bad idea.
So who is covering the cost of transmitting to power from the wind farm to your city and the cost of distributing it all the way to your home?
That's how every language works. Every language borrows and repurposes words.
The quote from Jobs gets thrown around pretty heavily, but I also think it is interpreted very narrow sometimes.
For me, "(...) how it works" isn't just about functionality, but about "how it works on the user". Yeah, aluminium plus glass may be a brittle combination, but if people like it, it just works. And this isn't on the same level as the "how it looks", because that can be quite different. Facebook Paper for example. It looks good, it "works" well (in functionality and purpose of the app), but it just doesn't work well on the user, because the concept is all wrong.
No it is not entirely accurate, but the Linux situation is very frustrating, with some functions not being supported in different architectures, random different header differences (ugh, mips) etc.
RAD.JS Rapid Application Development (PhoneGap Optimized JavaScript Framework)
> City officials, sensing a major find, brought in an archaeologist, even as the Faggianos were left to do the excavation work and bear the costs.

Whelp, I think I found yer problem right here...
> A corollary is that if you are writing code with minimum repetition, you are effectively a compression algorithm, not a programmer.

I do not understand why that follows. Can you elaborate, please ?
Ask HN: Facebook killed our events for Canada-wide C51 protests. Need help
Hello HN,

I am part of a group organizing Canada wide protests against Bill C51, which is yet another piece of anti-terror legislation that trades rights and freedoms for "security", scare quotes due to legal experts saying this will actually make us less safe

One of our lead organizers was banned from Facebook, where we have been doing the majority of our outreach (yes, the irony is realized). We suspect she tripped an automated spam filter due to our heavy activity in recent weeks

She is the host of 3 event pages with hundreds of participants, and those pages are now disabled as well!

The event is this Saturday and this is an incredibly inconvenient time for this to happen.

We are following normal channels but are worried that will take far too long. We need to fast track a fix.

If anyone works for Facebook or has suggestions for who to contact, please reply or you can also email me @ robertfrederickwarner@gmail.com

Thank you HN!
On Wikipedia i find 'It is argued that several up to now hopeless medical conditions might benefit from such procedure.[9][15]'.

Many people's initial reaction is disgust. Which i don't blame them for. But what if we can move past this? It might be a great medical advancement.
One thing brought up in the article is that currently French surveillance services are basically working carte blanche, with absolutely no legal checks.

Le Monde had a set of articles about some of this surveillance framework brought to light by the Snowden leaks, but of course the French press didn't talk about it, since the NSA stories were somehow "more relevant to the public".

For all the fingerpointing at the US for the Patriot act and the NSA, France's surveillance state is pretty ominous and there are basically no rules.
meh once the storage problem is for some value of solved it all becomes a mere optimisation problem.
I love Light Table too. The inst repl is a killer feature!
It's not to late for French citizens to call their representatives.

Find who to call here :
http://www.assemblee-nationale.fr/14/qui/circonscriptions/?h...

And point them to there :
https://sous-surveillance.fr/#/

and there :
https://wiki.laquadrature.net/Amender_le_PJL_Renseignement

Talk about it online and IRL, and once the law inevitably pass, install Enigmail and TrueCrypt on your relative's computers.
Seems like it has already been done:

In 2002, other head transplants were also conducted in Japan in rats. Unlike the head transplants performed by Dr. White, however, these head transplants involved grafting one rat's head onto the body of another rat that kept its head. Thus, the rat ended up with two heads.[10]
If you're starting now, there's really no reason not to begin with version 3.
Self-host a scientific journal with eLife Lens
For every package, you link statically, you as the parent package owner become responsible for all security flaws of all the packages you link statically

Well, speaking as an administrator rather than a developer: a developer shouldn't be making that kind of policy decision (time of symbol resolution) to begin with barring a strong technical need (plug-in based architecture, etc.).

I mean, 90% of packages don't care whether their libraries are dynamic or static, but the ones that do can still be annoying. (Coreutils, of all things, requires dynamic linkage for stdbuf, though that seems to be considered a bug by the maintainer; on the other end of the spectrum, getting Perl to even build statically is like pulling teeth, and that was a design decision.)

Do you trust the chain of dependencies all the way down to also be willing to do the same?

The only time that is a problem is those cases where the package developer literally plunks down a bunch of code from his upstream into his own tree (think the embedded glib inside pkg-config, or the hideous monstrosity that is gnulib). I think all sane people agree this is bad -- if you aren't significantly altering the code (at which point it's "yours") there's no sense in doing that and risking a sync problem. But that's not even static linkage; that's just literal code-sharing.
Popquiz: where could OVH move to that wouldn't be subject to heinous government surveillance? There aren't many safe havens left in the world, beyond the 5-eyes/Euro-clan reach ..
DevDojo Learning Website
"Correlation is not causation", while true, is becoming a very tired response to pretty much any suggested phenomenon here on HN. And it shuts down often worthwhile "what if...?" conversations.

This is especially well put:

"We cannot rely on correlation alone, then. But insisting on absolute proof of causation is too exacting a standard (arguably, an impossible one). Between those two extremes, where does the right balance lie between trusting correlations and looking for evidence of causation?"
Because the instruction raises a software exception if the test fails. This is a rather heavy-handed reaction, although I guess it kind of makes sense from the instruction's point of view I guess.

Of course a language runtime based on using this instruction needs to capture the exception and handle it, core-dumping need not be the only option at that point.
Welcome to Europe. Dig up a car park, find a king ;)
Neither am I. On the other hand, what does difference will it make in practice? As far as I understand, the law is in a large part about making legal all the currently unlawful telecommunication interception done by the intelligence services, and making sure that nobody is accountable for anything. So in this regard, it does not change the statu quo - intelligence services will more bound by the law than they were before, and there is zero political will to introduce even something as ineffective as the FISA secret courts.
As a customer, THANK YOU!
For hosted online stores: BigCommerce, Volusion, Jumpseller, Bigcartel to name a few.
Prestashop SEO Urls: Remove Prestashop Url Ids
Precisely. The US has rules which do not work, and France is a free-for-all (I suspect with an added emphasis on "economic intelligence").
Posts without URLs get penalized. You'd be better off posting this with a link to the page, then including your text as a first comment in the thread.
I strongly disagree, in regards to Unicode. Unicode in Python 3 alone makes it worth switching from Python 2.
Oral History of Bjarne Stroustrup
https://news.ycombinator.com/item?id=8683498
Digital Ocean: Introducing Our New European Region: Frankfurt
my go to one is http://refiddle.com/
I don't understand this argument. If something illegal is going on anyway, how is making it legal the right answer ?

Surveillance being illegal protects us from it being used against us in legal proceedings. Even if we can't prevent spies from spying, at least we don't have to worry about the evidence they collect being used in court.
Usually this is good advice. But there are exceptions:

enableOutput(bool)

is pretty easy to understand. If the function name explains the parameter then its ok.
I am quite amazed that so many people think that Light Table failed. Far from it, Light Table changed a whole industry:

1) Chris Lattner, the creator of Swift publicy acknowledged that Swift, used to develop all future IOS and Apple Watch apps is inspired by Light Table:

http://nondot.org/sabre/

2) It inspired a whole generation of people and tools to move away from heavily typed and compiled languages like Scala to dynamic and repl based languages
That means Bell Labs is now (or at least as of 2016) part of Nokia.