skysight-inc/HackerNews huggingface dataset:
I see many people like python docs, and I agree, but the article talks about the difficulty for __beginners__.

That being said, maybe the python docs need something equivalent of wikipedia's 'Simple English' definitions.

Maybe by adding a 'simple' prefix (ie: simple.docs.python.org/3.5/library/re.html) that takes us to the very simplified version of the current documentation. Links to the in-depth docs are obviously necessary as well.
Show HN: DidSayThat – What has politician X said about topic Y?
> When you starve, the system tries to save energy, and one of the things it can do to save energy is to recycle a lot of the immune cells that are not needed, especially those that may be damaged

That's remarkable news. I'm waiting to see the counter-arguments though. Fasting for 3 days seems like stretching the limits a bit. Also it seems to imply that these 3days periods are repeatable over the course of a few months.
If regular water has calories in it, then I would not be willing to drink it. ;)
I used an online platform to create a successfull android app and need your help
I have used an online platform that offers the ability to customize a predesigned apk and create your own app.

I have created around 10 apps that are getting some publicity and becoming successful. I started to receive a fair amount of money from ads as well.

Everyone that had an experience with those tools can tell that you get an OK app but you have some limitations on customization and adding new features. My question is, when will it be the right point to go find a proper developer to create a native app to replace the current apps?

Any input/experience will be highly appreciated.

Thanks
Apple isn't selling you an iPhone, they're selling you a dream. The idea is to make you want to be the person snapping all those great photos and most people want to be fit and active, even if we don't want to put in the effort. Apple is selling you the dream that if you just have an iPhone and Apple Watch you'll be motivated to get out, get fit, meet interesting people and sit around a fire at a beach on a summers night. That's why they are so focused on photo, and fitness.

There isn't really much innovation in the iPhone 7, it's just the next iteration of the models before it. It just doesn't sell that many phone telling people: Yeah it's a little fast, so if you feel that your phone fast enough, maybe don't buy it.
Timeto put minutes on my Boost Mobile phone http://boostmobile.reloadcodes.com:D
Python also uses autogeneration for most of the documentation, but the documentation itself is not fully autogenerated. You write your documentation and you say to Sphinx: put the generated documentation for this module here.

IMO, this is something positive. You can decide the structure of your documentation and include only the most relevant references.

For example, this part of the documentation for the re module is autogenerated from code: https://docs.python.org/2/library/re.html#module-contents
This applies mostly to applications, which often rely on specific library versions which may or may not be available on the target system.
pip's job isn't to specify dependencies, it's to resolve and install them. Specifying the dependencies is the job of setup.py, and that's not at all an unreasonable stance to take.
I think the fill handle is the only thing in Excel that doesn't have a keyboard shortcut.

At least, that was the case in 2000.
"To reassure anyone worried whether plague bacterium was released from the excavation work or scientific analysis, it doesn't survive in the ground."
If python documentation is bad then, god forbid, these poor users should try to use anything else such as node.

As far as technical documentation does, the python documentation is usually ranging from pretty good to very good.
> Can't charge while listening.

That didn't even occur to me! Holy crap, what a design flaw. I'm glad I'm not an iUser today
Right now I'm sure you are correct, I have a 6+ and it's performance is fine, but things change. OS and application demands are only going to increase, the new architecture may well provide higher power efficiency and thus better battery life. Finally we don't know what other hardware tricks the processor and it's supporting chipset implement. In the last few processor cycles Apple has been adding hardware functionality to support specific device features such as security, image processing audio signal processing and motion/position tracking so it's not all just about the raw performance.
Falsehoods programmers believe about prices: https://gist.github.com/rgs/6509585
Node.js vs. Vert.x – Which Scales High on Performance
Hi Chris, you've mentioned that you didn't like discussing design choices made or attempted to be made in Ruby in the past, preferring to focus on the technical side of implementing the language, so no worries if you don't want to weigh in on this, but how do you feel about this proposal in general, in terms of feasibility and upside/downside of the technique described?
If pip can't find python-devel or a c compiler or whatever else, when it obviously knows that it's trying to run it, state that to the user and don't fail with "error 1".

0.02$ from a noob.
Video PoC Exploit of CVE-2016-4264 Adobe ColdFusion XXE Vuln
How exactly is pillow supposed to specify in a standardized way that it depends upon libjpeg and that libjpeg-dev is supposed to be installed on debian based distros?
If there's so much courage, they should remove them jacks from their macbooks also ;)
Context Brokering Market
Much of this article should be taken with many, many large grains of salt.

I've never run into a package that I needed to install which both A) had mandatory dependencies and B) refused to specify them in a way automated tools would understand and resolve. I'm sure there are packages out there which have this problem, because a dependency list is not mandatory in setup.py, but I've not had the experience of encountering such a package and I've been using Python for a living for over a decade now.
Elizabeth Warren: What Apple Teaches Us About Taxes
Are there any stats on how many of these people are obese?
I'll go out on a limb and give general advice. I'm happy to receive constructive criticism in case I'm wrong.

The OS package manager is for system programs to administer the system. So if you have an admin tool it should run with `#!/usr/local/bin/python -E` (or wherever Python is installed). Note: It uses a hard coded path for `python` and it uses `-E` to ignore PYTHONPATH. This is so no matter how trashed your environment becomes, you can still run administration tools written in Python. The OS package manager should be installing programs that adhere to this policy.

Your applications that you develop should be using `#!/usr/bin/env python -S` This uses `env` to determine the correct Python version that your script should use. It also uses `-S` so it doesn't accidentally pull in an OS installed library which may have conflicts with libraries that you want to use.
Remember that Python is several decades old, and version 2 is about 16 years old. Like UNIX man pages, the docs (as well as best practices, idioms, etc.) were influenced by programming methods of the day. There was much more time to read the docs, think, and experiment. There weren't many answers to be found.

The methods of the modern developer are much different: 1) run into problem, 2) look for library to solve problem, 3) install library from package manager, 4) look for examples of library that fit problem, 5) copy-paste-modify example, 6) commit.

I can see why the docs are insufficient for today's beginners.
> As a programmer I deeply appreciate the hate towards IT in companies and replacing Excel with complex internal apps

You have to know the right point at which to make the transition. We had an Excel spreadsheet used for managing 10-digit sums of investments, held together with sticky tape, integrating SQL queries, XLL C++ addins (plural), Corba, creative use of the Excel solver and pivot tables in addition to custom data overrides (being Excel, without version control or sane error handling).

That point where operational risk exceeds the benefits of flexibility is a sign that you want to get some programmers on it - and we did, even at a cost of 10 programmer person-years or more in replacing that spreadsheet, and a horrendously slow and cumbersome process to get even trivial bugfixes or features added.
A lot of people here complaining about the lack of a headphone jack. You have to try wireless headphones.
How are these statistics generated? Are they scraped from some Steam-wide data, or do you need to opt into their data collection?
sorry to be picky, but shouldn't that be $2m? not two millimeters of dollar
Really? Does it resolve and install libpq-dev or postgresql-libs when you try to install psycopg2? Or even tell you that you need to install them?

The problem isn't that this can't be solved in a consistent, clear way. The problem is that nobody views this as their problem to solve.
The War Against Journalists in Ukraine Is Getting Bloody
Inbox (for Gmail) is the best email client in my mind. Particularly combined with Googles auto-filtering/sorting of non-important messages and notifying on-screen only when I receive important emails
> The biggest feature of Excel is its flexibility

This is probably its biggest flaw also — chances are you don't need all that flexibility within a scope of particular spreadsheet; and sometime you may prefer a solution that was specifically targetting this exact usecase.
> Some really odd red-necky types showed up - and don't mean negative - just poor. They were welcome. Old guys in wheelchairs. Young partiers. It was an unbelievably mixed crowd.

And had a trans person showed up, how would that have gone? A Latinx person? A queer couple?

Had the opposite experience moving from a suburb to a major metropolitan area.

There's a level of community here (not all communities are communities that straight white tech workers are involved with or are welcome in) that is unparalleled.

It may cause the hyper privileged to become more individualistic but for everyone else we have thriving communities with true friendships and support networks.
GDS' top 12 mob programming tips and thoughts
I have three Raspberry Pi 1, model B and two Raspberry Pi Zeros.

Not a single one is in use.

And for running an emulator (SNES etc.) I will probably need another one with more power. Not sure what to do with the others right now.
Please explain where the calories in plain water come from.
This is great. I just made a little internal slideshow for everyone at our company to get them to watch this. Link:

https://docs.google.com/presentation/d/1d00Cetvp8_4fW7Y854tF...

Thanks, Joel!
The groups were popular--but critically excoriated.
Solipsism Online – Is this the real life? Is this just fantasy?
Doctor: A minimal CMS
I really like python, I use it all the time now and I don't start any new stuff in Ruby. But it was a struggle to get over the hump. I pretty much never use the Python docs, for the author's example, I would just google 'python array length stackoverflow'. I would only look at the official docs if something piqued my interest and I wanted to know more. Whereas with Ruby I go straight to chapter 4 of the pickaxe book and it answers the question 99 times out of 100. Also because its a PDF it works reliably on the train! I would dearly love to find a similarly written reference for python.
A few minutes. And that's for a pretty comprehensive HFT system, cleaned.

If you're taking hours there's just a lot of dependencies that could probably be refactored.
The Ultimate Guide to Extended Validation (EV) SSL Certificate
Ideally guilds could be equivalent to lightweight processes at application level (not OS), much like in Erlang. Then they could be scheduled to run concurrently using OS threads (multiple guilds per thread) and take advantage of multiple cores. That's part of BEAM, the Erlang VM. I think it's going to take a while.
> But, since most of us came from different places, took very different paths, there's huge cultural differences to overcome.

See, in any other time up until say 1.5-2.5 decades ago (depending on your world location), this very fact would have been a wellspring of stimulating entertaining mildly-illuminating conversations from day to day. The prerequisite being "people feeling fundamentally / by-default at ease in something as primitively simple as just one anothers' company". I don't know why societies lose this and when. I do know that while they have it, they don't realize or notice it as anything special, that by the time it's gone, most don't remember it, and that it's quickly exhausted in the span of a decade to a generation or so. Then most of the few who have a vague awareness of "something's wrong now" quickly attribute it to "the wrath of gods" either literally or to some belief placeholder such as, chemtrails, bad nutrition, the monetary system, the consumerist society, peak fossil fuel decadence, private TV stations, video games, smartphones, their own aging, useless millenials etc and go on a crusade. Not helping in a fundamental sense.
Chomsky isn't afraid to pick a fight.......whether it's with BF Skinner, or George Lakoff, he hasn't backed down.
Advanced GIT tips and tricks
1. There is no order, just use whatever the user entered. In general don't get smart with this data just treat it as a single blob of text.

2. Sort by the whole thing

3. No you can't guarantee identifying family members any more than with a first name last name system. If you need that it should be an additional part of the system. Presumably for the 90% of people who does have a typical first name, last name combo you can still identify family members in the same way.

4. Just introduce free text search for this field if you need to find people.
They have two classes of site that they don’t distinguish to be fair. One is the awful “You’ve forgotten your password. It’s: xxxx” where they’re just storing the password in plaintext in the database.

The other is still not great but it’s less bad: “Thankyou for registering. Your registered password is: xxxx”. In this case they’ve just passed the user details to an emailer before (potentially) encrypting and storing them.

Neither is good, but the first is awful.
The typical narrative of the mediocre duct tape engineer.

"I want to put something together fast by trial and error, without having to go through actual thinking or understanding. I don't care about details, just give me an example that I can copy, paste and duct-tape with another piece of code, so I can ship my product and charge some idiot a fortune for some spaghetti with meatballs code."

Documentation does not necessarily have to follow the format of a tutorial and can vary in levels of detail. Tutorials on this topic do exist. There, LMGTFY: https://docs.python.org/3/howto/regex.html

How did I find it? Google: regular expression site:python.org
The author also has experience teaching beginners (presumably), giving them a perspective that experienced programmers very easily forget and/or ignore.
Wow... the possibilities... what a great find! Thanks for this post, I'm buying two or three of those gadgets.
The Politics of Star Trek
Nicely written.

It is true for a long time now, that Apple sells a lifestyle. It really kicked off when they introduced the iPod and the new line of Mac's not to mention the debut of the iPhone.

I'm not denying the genius behind their marketing strategy, but I'm wondering when this cow will start giving less milk.As more and more people in the upcoming generations are tech literate, the harder it will get to impress them with a better camera and a shiny gloss finish.

I feel this road doesn't lead to more useful innovations. Maybe it will lead to a fitter, happier life with loads of pictures in it.
I don't think he's advocating for shortening the docs, if you look at the example he gave, his improved version was much longer: it explained each argument in detail as well as the return type, and gave an example.
GitHub to release a GraphQL API
You've studied various articles on this issue, so I'm wondering if you could educate me on the difference between directional and omnidirectional electromagnetic radiation? I wasn't aware there was a difference.
The original paper:
http://www.cell.com/cell-stem-cell/fulltext/S1934-5909%2814%...
Significantly slower on my machine. Didn't bother checking the output but it was really slow.
Darpa developing security tools for gene editing
I think the author meant packages output of pip, like this issue:

I want to install the pip package cryptography. I need to make sure Python.h is available. I need to make sure (on Debian) that lib-ffidev and lib-ssldev are available. This isn't said anywhere by pip (except Python.h, probably), and it's not the same on every system, let alone every Debian based system.
EU Courts; Playboy vs. GS Media: links to copyrighted work illegal if commercial
TLDR; Article 3(1) of Directive 2001/29/EC of the European Parliament and of the Council of 22 May 2001 on the harmonisation of certain aspects of copyright and related rights in the information society must be interpreted as meaning that, in order to establish whether the fact of posting, on a website, hyperlinks to protected works, which are freely available on another website without the consent of the copyright holder, constitutes a ‘communication to the public’ within the meaning of that provision, it is to be determined whether those links are provided without the pursuit of financial gain by a person who did not know or could not reasonably have known the illegal nature of the publication of those works on that other website or whether, on the contrary, those links are provided for such a purpose, a situation in which that knowledge must be presumed.
>Installing libraries

I think pip and easy_install solves this problem. Or did I read the point incorrectly?

>docs are horrible

Also I never had seen the JS documentation of Mozilla, it is just beautiful. I have been using Python without any documentation related problems for that time, I actually am fond of Python documentation, for some reason it struck a chord with me.

The thing is, I learned Python by using the docs as the starting point, studied the tutorial and later the standard library, never really had a problem sorting through the docs ever. For everything there is a global module index, go to the a-z, click on a, go to the respective class/function and it has a good example, at least for the stdlib

I love Go language's docs more though.
Although I haven't attempted this myself, I have seen many people attempt to endure a 72 hours fast (as part of diagnosing a potential pheochromocytoma) and the majority experience this as extremely difficult.

I wonder if multiple shorter fasts — e.g., a 24 hours fast once a week — could be as beneficial.
Yeah, probably a significant percentage. They're cheap enough that buying one, trying it out a few times, and then leaving it in a drawer won't bother you too much.

I think I've five (of different revisions), only one is in permanent use. Another is installed in a robot, and the rest are all collecting dust in a drawer or in a half-baked project bin.
I agree with everything you are saying, but you ended your comment with "what should we call you in context X?". "What should we call you in context X" is, at least in the context of the current discussion, the same as a non-nullable string for the name field. Or am I misunderstanding your comment?

To add to my previous comment, what if two or more people from the same address are signed up for your service? How would you help them distinguish between the correspondence each one gets from your company?
Tim Ferriss has poked at the positive effects of intermittent fasting on cancer/health/longevity a bit. I found this interview with Dominic D'Agostino very informative: http://fourhourworkweek.com/2015/11/03/dominic-dagostino/

Also: http://fourhourworkweek.com/2008/03/02/postponing-death-calo...
Funnily was playing a "running game" https://itunes.apple.com/us/app/fun-run-2-multiplayer-runnin... with my colleagues for the first time a couple of days ago. The Genre is fun and works on mobile.

And now it's announced Super Mario Run will be a Nintendo game on IOS.
Music Industry Hits Pause on Exclusive Album-Release Deals
But if you're complaining primarily to further your personal brand (not because you genuinely want to see a problem addressed), why should your complaints even be taken with merit?
I think the docs are often too verbose. Many pages start with a long winded intro that misses the main point. Some pages never get to the point. Docstrings are sometimes several pages long.

Example of not getting to the point: Extending/Embedding.

There is no fundamental difference. In both cases you're just calling a bunch of functions from libpython.a.
I wonder how many of them are quietly doing a whole pile of work.

Even if only 10% of them is in use (which would be a very very low estimate) then this amounts to an incredible success because you can afford to buy one, try something and forget about it without breaking the bank.

The raspberry pi is a game-changer because it gives you a full fledged computer for a very low amount of money, so low you can actually afford to buy one and let it gather dust in a drawer.

By the same token: I wonder how many Intel cpu's and the motherboards going with them of those that were ever sold are productive today. If you look at things this way the glass will always be half-full and you're not going to see the impact of the devices other than from an angle of waste.

But the better angle is to see what is done with them.
As someone who is working to overcome a long-term fatigue/auto-immune illness and therefore has to be somewhat cautious about these things...

I often listen to audio on my iPhone through wired headphones as I'm going to sleep (either relaxing ambient sounds, or podcasts).

When I do this, I put the iPhone on Airplane Mode to disable all radio transmissions. I also keep any other radio transmitting devices well clear of the bed (this is commonly recommended for people who have impaired sleep, which I do).

On any occasion when I neglect to enable Airplane Mode before falling asleep, I awake feeling significantly less refreshed in the morning (or even awake in the early hours of the morning feeling terrible).

Given this, the prospect of having to switch to Bluetooth headphones while I sleep is at least somewhat unappealing. Bluetooth may not be as powerful and disruptive to brain waves as cellphone transmissions, but when sleep is already impaired, you want to avoid anything at all that will make it any harder than it already is.

So, I'll be sticking with wired headphones and keeping all transmissions turned off when I sleep.

I'm not aware of any mainstream studies that have shown adverse effects from exposure to 'normal' levels of radio waves of the type produced by consumer products. I am open to being proven wrong though!

Studies of these kinds of effects are notoriously hard to do accurately, as they usually study a random sample of "average" people, but don't/can't take into account increased sensitivities of people who fall outside the norm due to illness or other factors.

Anecdotal evidence is often sneered at by those who pride themselves on being only persuaded by "data" and "evidence". But those of us who fall outside the populations represented by the samples usually included in mainstream studies learn the hard way that anecdotal evidence is the only way for us to figure out what is good or bad for our day-to-day wellbeing.
Agreed, but my point is that argument and return types are badly documented, and in Python autogen doesn't help this.