skysight-inc/HackerNews huggingface dataset:
Python might be an especially loud case, but I've seen a fair amount of that in some other areas, for example:

- People getting angry at browser JS authors for coding in explicit support, or huge back-compat shims, for obsolete browsers and/or deprecated JS features.

- People getting angry at Perl authors for writing code that depends on a stable hash iteration order (changed in Perl 5.26 or something? I forget). There was an extremely vocal (tiny) minority of users raising a big stink about the change in that behavior and claiming that it would break the universe.

- C developers being criticized for coding to older (and often more verbose or tricky to use, but omnipresent) pure-POSIX macros and behavior rather than $latest_GNU_or_GCC_feature, which also had the pernicious effect of making things less portable, and damaging the culture of portability.

There are more examples, but you get the idea.
Spam Bots Bombards Victims with Star Wars Quotes and Links to Gambling Apps
I guess I'm nobody then, as are the 30 or so friends I have that send money to each other using Cash.
The expectation isn't that such regulation will prevent violations of the regulation from ever happening, but instead that there is a legal mechanism by which appropriate punishment can be administered. Laws and regulations don't in-and-of themselves prevent bad behavior from happening, they just grant entities permission to apply force as a response; the force can be jail time, fines, sanctions, etc, but it's granting an entity permission to apply force if the law or regulation isn't adhered to.

So yes, regulations are circumvented or ignored intentionally, but that doesn't mean that it's somehow a bad idea; the idea is to enforce positive behavior by attaching an undesirable response to not doing the positive behavior. It's meant to shape behavior in the long run, and it's why pulling funding and reach from regulatory agencies is usually shitty, as more than anything, it's meant to induce a scenario where one can say "look, we have these regulations, but X, Y, and Z continue to do the bad behavior! The regulation is senseless!"; in reality, X Y and Z have just run the costs and determined that it's cheaper to fight the regulation than to adhere to it.
Be that as it may, there are very few Da Vinci paintings in the world, even fewer for sale, and the man's cultural clout is still riding high a decade after Dan Brown's book. Once you're in the rarefied space of having "tres commas", you gotta set yourself apart somehow.
Robert is also the only pro-generics person in the team.
https://www.python.org/dev/peps/pep-0238/

{Describing the old python-2 behavior:}

-------- Quote: -------

The classic division operator makes it hard to write numerical expressions that are supposed to give correct results from arbitrary numerical inputs. For all other operators, one can write down a formula such as xy*2 + z, and the calculated result will be close to the mathematical result (within the limits of numerical accuracy, of course) for any numerical input type (int, long, float, or complex). But division poses a problem: if the expressions for both arguments happen to have an integral type, it implements floor division rather than true division.

-----------------------

To guarantee the correct mathematical behavior in python2, one would probably have to write:

def true_math_div(a,b) :
if type(a) is int or type(a) is long :
a = float(a)
if type(b) is int or type(b) is long :
b = float(b)
return a/b

as a and b could be int, float, complex, or some object defining the method __div__.
Was / is Forth good and useful? Bonus; is it fun?
I'm happy that NY Times bought Wirecutter -- two outfits with integrity.
There are never going to be any new old masters and because shit happens the supply is slowly shrinking over time as various works leave the market due to museum acquisition, accident, war, and theft. The demand side of the equation however is growing as various new money entrants to the art market compete for this diminishing supply. The demand side is also boosted by the fact that art like this has now become something of a financial tool for capital flight, corporations, investment funds and criminal interests.
> there is a difference between when a hacker crashes a computer and you lose your data and when a hacker hacks your car and then you lose your life.

Forget about hacking your car, what about the hacker that hacks a car fleet? What could a hacker do with a botnet of cars, each with cameras and maybe even face recognition. How about killing off people for the highest bidder at the push of a button.
Show HN: Highig – My first day as a freelancer
I actually think we've had really quality interviews everywhere I've been. That's the weird thing. It's not the interviews that are the problem. It's the pre and post filtering that just feels so arbitrary.
Yeah, why isn’t that part of the python ecosystem? Is the reason that unlike the browser, it is possible to upgrade the major version, so there wasn’t that driving force to support an ecosystem for transpiring?
Can someone explain to me why it is so difficult to produce hardware that is identical to current offerings but with software that is different? Is it driver conflicts and BIOS problems?
You can still install just python3 and call that as-is if you are not using any extra libraries.

If you are using any extra libraries, you should not be installing that system-wide, and should use an environment anyway.

You literally can still use python3 for simple scripting tasks on your Mac, hell I do everyday. One just has to install python3, a trivial task on a Mac.
Moreover there were some packages even last year that were simply broken with Python 3.x. What am I supposed to do if I have to deliver something to a client and the Python 3 version of my stack is broken? I do not necessarily have the time to debug the issue and fix it and it is much easier to switch to 2.7 and just continue working on the business problem. Software guys (especially guys working on programming languages and environments, tools) have to understand that providing a broken alternative is not an real option at all.

Anyways, I haven't been running into issues with Python 3 recently and I use it as much as I can.
Not a great analogy: Programs designed for Windows XP, or even as far back as Windows 95, still run on current versions of Windows. Support for 16-bit programs (from the era of Windows 3.0, released in 1990) started to be dropped in Windows 7 64-bit, and even that included "Windows XP Mode" so they could still be run.
WoW! That good idea!
Matlab has changed far more over the years than Python (e.g. case sensitivity).

Switching from Python 2 to 3 is not a rewrite in the slightest - very little needs to change. Python 3 has many additional features which don't affect existing code (e.g. a matrix multiplication operator, type annotations, underscores as separators in numeric literals, etc.).

No language can improve without changing, and programs can't take advantage of improvements without changing. You are free to use old versions of Python and Numpy forever: languages with perfect backwards compatibility only have it because they're no longer improving.
Weather Station That Needs Almost No Batteries
3 word addresses for everywhere
>because some problems are incredibly hard to solve and need a lot of resources to even start to solve.

But there's not a whole lot of evidence that solving one problem truly lends itself to solving any other of any actual utility.

EDIT:

Downvotes are cool and all, but actual examples?

Offhand, Musk is probably an example. Gates has done good things, as well.

Meanwhile we also have people like Peter Thiel attacking freedom of speech. Or Larry Ellison. Or the Kochs. Or the Murdochs. Or the Waltons.

Not convincing to me if we're talking single digit percentages. I'm swayable, but it's going to require proof.
so will things like SQL Server output logs in UTF-8 instead of UTF-16 and UTF-16LE?
They already indoctrinate children with a belief system through public schools. Liberal types are going crazy over charter schools where children get a better education but less indoctrination (both of my children have gone to public schools and charter schools). Another 70 billion to do more of this? I don't think so.
His words haven't matched his actions for quite some time now, with the common theme being whatever is good for Mr. P. Thiel is what he's up to, prior pontifications be damned.

Free speech --> Sue a magazine

Capitalism rules --> Sue because a company is too powerful

For a self proclaimed libertarian, his actions are about as libertarian as a baked potato.
I wonder why Google in particular and not the others like Facebook, Microsoft, Amazon etc. who enjoy similar market power?
What rewrite? Switching to python3 is a quick (almost entirely automated) process. It's really not a big problem.
I like the minimal design of the website. Quick feedback

- Add portfolio

- Add tech stack

One thing that I think is most important and missing here is the portfolio. As it will provide context and proof of your skills and capabilities from past projects. Also if you can get testimonials from people you've worked with in the past that's great too. The tech stack thing is a mixed bag since it can "disqualify" you from gigs you might be able to handle, but most people seeking freelancers will be looking for a specific stack/set of skills and if you can immediately show them that you "fit" it will help.

You've got a ton of followers/traction on github so at a minimum i'd say highlight those things you've had success with?
Yet I'm still not able to save a file when it's on a network drive: https://github.com/atom/atom/issues/11911
I thought that partner incompatibility was extremely common?
That's easy - presumably none. At least if you take secure as an absolute value.
GetSet connects students to classmates who faced similar obstacles–and succeeded
I would suspect because Peter Thiel is a conservative, and none of those others are bankrolling the Democratic Party nearly as heavily.
Regarding linear algebra, I highly recommend Klein's Coding the Matrix which uses Python to teach linear algebra.

I believe it was developed for Brown's linear algebra course for CS undergrads.
I think we've seen Thiel do this before, indirectly fund opposition to organizations he doesn't like when he can't attack them directly. He's also funded lots of politicians that work quite hard to restrict rights at every level of government, including, frankly, that are rather adamantly against equal rights for gay people. He's a great representation that some people will align themselves with anyone to further their own personal agenda, without respect for how it might affect others. He's personally been outspoken about the "dangers" of multiculturalism, gender and ethnic diversity, although I will give him credit for apologizing about his rape comments.

I'm not saying this because I disagree with him politically, I just think he's not a great example of what kind of leaders we want moving forward, and given his behavior in the past, I wouldn't put this past him.
5 Tested Ways to Avoid Startup Burnout
He’s proving as a libertarian how regulatory capture works by trying to engage in it. Perhaps while he’s at it the AG can look into Palintir’s spook contracts and police state contracts.
Edit: Nevermind! I was looking at a broken psql shim.
I like to think that there is a tidally locked planet somewhere out there whose inhabitants like to argue about whether life could ever evolve on a rotating planet.

"I mean, it would be so unstable! Even with a thick atmosphere, temperatures at one point would fluctuate by tens of degrees, hundreds of times a year! Plants would be unable to photosynthesise for half the time! Animals would be blinded!"
The Zombie Fungus Takes Over Ants’ Bodies to Control Their Minds
These are ASCII-sortable:

0001_Introduction.ipynb

0010_Chapter-1.ipynb

ISO8601 w/ UTC is also ASCII sortable.

# Jupyter notebooks as lab notebooks

## Disadvantages

### Mutability

With a lab notebook, you can cross things out but they're still there.

- [ ] ENH: Copy cell and mark as don't execute (or wrap with ```language\n``` and change the cell type to markdown)

- [ ] ENH: add a 'Save and {git,} Commit' shortcut

CoCalc (was: SageMathCloud) has (somewhat?) complete notebook replay with a time slider; and multi-user collaborative editing. ("Time-travel is a detailed history of all your edits and everything is backed up in consistent snapshots.")

### Timestamps

You must add timestamps by hand; i.e. as #comments or markdown cells.

- [ ] ENH: add a markdown cell with a timestamp (from a configurable template) (with a keyboard shortcut)

### Project files

You must manage the non-.ipynb sources separately. (You can create a new file or folder. You can just drag and drop to upload. You can open a shell tab to `git status diff commit` and `git push`, if the Jupyter/JupyterHub/CoCalc instance has network access to e.g. GitLab or GitHub)

## Advantages

### Reproducibility
Executable I/O cells

The version_information and/or watermark extensions will inline the software versions that were installed when the notebook was last run

Dockerfile for OS config

Conda environment.yml (and/or pip requirements.txt and/or pipenv Pipfile) for further software dependencies

BinderHub can rebuild a docker image on receipt of a webhook from a got repo, push the built image to a docker image repository, and then host prepared Jupyter instances (with Kubernetes) which contain (and reproducibly archive) all of the preinstalled prerequisites.

Diff: `git diff`, `nbdime`

### Publishing

You can generate static HTML, HTML slides with RevealJS, interactive HTML slides with RISE, executable source with comments (e.g. a .py file), LaTeX, and PDF with 'Save as' or `jupyter-convert --to`. You can also create slides with nbpresent.

MyBinder.org and Azure Notebooks have badges for e.g. a README.md or README.rst which launch a project executably in a docker instance hosted in a cloud. CoCalc and Anaconda Cloud also provide hosted Jupyter Notebook projects.

You can template a gradable notebook with nbgrader.

GitHub renders .ipynb notebooks as HTML. Nbviewer renders .ipynb notebooks as HTML.

There are more than 90 Jupyter Kernels for languages other than Python.

https://github.com/quobit/awesome-python-in-education#jupyte...
That was an excellent article and dialogue. Thank you.
> In any other domain, I would agree with you, but charities are at least theoretically about maximizing total gain to society,

No, they aren't. That is government.

Charities are organized for a specific identified charitable purpose and are generally not, even in theory, any less narrowly focussed on that identified purpose than a for-profit firm is on serving the common, usually financial, interests of it's stockholders.

> This is why competent nonprofits are judged by metrics like administrative efficiency nowadays.

The administrative efficiency measures used by outlets like Charity Navigator are feel-good metrics that favor unevaluated, uncontrolled funnelling of money in the hope of achieving the notional objective. A real charity efficiency measure would measure its cost-effectiveness at achieving outcomes that are its charitable purpose, not administrative vs. program funding measures (and, as a consequence, would probably only be directly comparable within the same domain.) Administrative efficiency is used because it's cheap, easy, and portable across domains, not because it's even remotely meaningful.
The killer feature of Python3 is string representation. IO work in python2 (e.g. network programming) was made more complicated by the evolutionary mess of python2's string design.

If you want to get strong at network programming without spinning up on all the complex topics in async io (coroutines, futures, etc), you may like my networking system: github.com/solent/solent-eng

It is designed to allow the programmer to reason about exactly what the process is doing, rather than to hide things away.

The docs are not in great shape at the moment. Good starting points: the telnet client (in tools) and the snake game (demo package).

This was originally in python2. I moved because of subtle improvements in python3 packages over python2. But once I appreciated the string changes, I wished I had moved much earlier.
> But integer arithmetic is not necessarily faster than floating point arithmetic in general;

GPUs was the first place I feel like floats got a much better pathway than any other data type - graphical pixel manipulations also can get away with much higher arithmetic errors, because it's all going to get rounded down to a pixel eventually.

On the other hand, the only place where I've really worked heavily with fixed point was on a graphical interface toolkit (MIDP on ARM I was working with would've had to use softfp for floats, so fixed point was hugely superior).
hey, thanks for the reply!

petewarden (https://news.ycombinator.com/item?id=15596990) from Google is also working on this - so im really hopeful you guys will have something soon. This is a serious blocker for doing anything reasonable in TF.
This is empirically not true if you look at the usage of unsafe in pure Rust kernels. Yes, there is assembly needed, and some unsafe Rust code, but it's very possible to wrap up unsafe operations in safe APIs.

For example, the kernel repository for Redox (a written-in-Rust OS project) appears to have 242 usages of the unsafe keyword (including comments bc lazy), out of 18205 lines of Rust source.
I use it for some time. No need to challenge your eyes with long lines or json values anymore.
This kind of result presentation should be in each command line client. Very very useful.
What's more annoying is I can browse all the content on iTunes on the Mac but if I click on anything it takes me to a Safari page which says '.. only available on iPhone and iPad'. Why?

Some suggest that it will be back and right now they are decluttering iTunes and it'll be broken into multiple apps. I'm not too hopeful.
Ah, interesting question. This I do not know. Unlike my colleagues in biology, we are not actually required to keep lab notebooks or something equivalent. Perhaps someone more knowledgeble than I can answer...
Online Dating Tips for Younger Women Looking for Older Men
Money is a social construct. A person can only earn money because as a society we've decided to create the rules and institutions that allow that to happen. Our current free-market system that assumes money should be accumulated freely and its ownership preserved by default is based on ideology, not physics.

Given the current massive wealth inequality, one really simple, effective, and ethical way to help people who are poor and suffering is to redistribute wealth. We don't do that because our political and cultural systems disproportionately represent the interests of the rich.

It's reasonable to say that as long as there are poor and suffering people, as long as we don't all have access to health care and education, as long as there are causes for the common good, there may be an asymptotic upper limit to the amount of wealth a single person can ethically have, when that wealth could be going toward improving other people's lives instead.
Not necessarily, Google's approach has been to forbid kernel access (ChromeOS), to make a big pain to use native code only for specific use cases (Android) or to develop a new microkernel in a mix of C++/Rust/Go/Dart (Fuchsia).
That was just one example though. In my experience getting old C++ code to compile and run isn't so easy.
Plus some functional languages can combine those steps at compile, giving you the best of both worlds. Rust for example elides away many lambda's in map operations. I don't have the link handy, but a post a few months back showed Rust and Haskell functional patterns could almost match their hard coded imperative style implementations and C/C++ cousins.
Performance is always an issue.

That said, I fully grant it may be an issue that is worth solving later in the process.
Here it is: https://www.fpcomplete.com/blog/2017/07/iterators-streams-ru...
I'm sorry but this is really not science. This is the scientific equivalent of "and you'll never believe what happened next...".

Do a search for "Pediatric Myocarditis" and you'll see lots of results - it happens, unfortunately. I think it's far more likely that it's caused by a vaccination (http://www.vaxchoicevt.com/myocarditis-after-vaccination/)
or one of the other causes mentioned here:
https://emedicine.medscape.com/article/897591-overview
Now I'm just glad I never signed up for LinkedIn or any of these. Can't trust any data repository that's not my own.
Well, Peter Thiel is on the board of Facebook...
Because there are lots and lots of chipsets that work somewhere in the range of horribly to not-at-all in Linux (Realtek and Broadcom spring to mind for poor Linux support with their WiFi chipsets). And any driver that hasn't been upstreamed creates a boatload of work for the support engineers, since kernel updates tend to break out-of-tree drivers on a semi-regular basis.
I agree, not small (seems subjective), but still the smallest! The smallest leap is probably not very large :D
> Second, it is not on the people who have earned something to prove why they should be "permitted" to keep it; it's on the people who believe it should be taken away from them to justify that.

This is a great example of status quo bias.

You believe that the onus of arguing ethics is on the people who want to change the status quo when really, we should start by thinking about what society ought to look like from first principles. And then you absolutely do have to give arguments for why you want any inequality to exist in the first place, let alone billionaires.[0]

> It's not a shame that there exist billionaires. It's a shame that there exist people with nothing. The former doesn't need fixing; the latter absolutely does.

While I'd agree that the latter problem is more urgent, the former can't be dismissed so easily, either. For one, the existence of billionaires (and upper-range millionaires, really) is pretty antithetical to one of the foundational principles of democracy, which is "one person one vote". It gets even worse when you consider the possibility and practice of inheritance.

And besides, some people might argue that if we didn't have the former problem, it might be easier to tackle the latter -- because when there is less inequality, there tends to be less focus on wasteful jockeying for social status overall, and then people might be more inclined to help those that are below themselves on the social ladder.

[0] There are good arguments in favor of some inequality, but the degree of it is pretty important.
I have been hearing that since about 1990, never materializes, even on projects where Insure++ was being use.

Not even Frama-C can prevent all use cases, if developers don't care.
Not yet, but if something doesn't change dramatically in the EU the countries you mentioned are on their way extremism (AfD, LePen)
It appears to be perfect timing for trading in da Vinci, seeing that the biography by Walter Isaacson[0] is a bestseller and likely to be turned into a movie. You'd guess that market liquidity would be greatly increased by this, and liquidity (the ease with which one can find buyers and sellers -- buyers esp in this case) is likely to be a major issue in the art market. And a da Vinci might appeal to bidders who aren't normally involved in the art market.

Walter Isaacson talks about his book and the painting in question, "Salvator Mundi," "the one that's going to be going on sale," in a 50-minute interview with Charlie Rose.[1] The talk of this painting is at 31:45. That's pretty good marketing right there.

The painting itself is mesmerizing, gorgeous, awakening, tremendous.

[0] https://www.goodreads.com/book/show/34684622-leonardo-da-vin...

[1] https://charlierose.com/videos/31068 (31:45 for talk of "Salvator Mundi")
Now try to use that in the presence of commercial libraries.
Surface Book vs. Surface Book 2 – Detailed Comparison