skysight-inc/HackerNews huggingface dataset:
In your example of Maryland and Virginia and universal healthcare, Maryland will continually need to ensure they're collecting enough money (i.e., through taxes of some sort) to pay for universal healthcare. If an influx of unhealthy people enter the state, they'll have to increase taxes to pay for the higher healthcare bills, which will in turn make them less competitive with other states, and cause people to leave. There's no way Maryland adds universal healthcare and remains equal in all other categories.

In your example of child labor, it's arguably better for everyone if Virginia can produce cheaper goods. (Please don't think I'm in any way arguing for child labor.) Maryland benefits from the cheaper goods as well, and is able to free resources for other pursuits that are economically advantageous for them. We already see this to a degree in places that have an abundance of a natural resource – it's cheaper and more efficient for them to export the resource than it is for other places that don't have the resource.
The harvesting might be sustainable, but the production dumps a lot of methanol and other stuff into the air. If you've ever driven through a paper mill town you probably know the smell. According to [1], pulp and paper is the third largest industrial polluter to air, water, and land in the United States.

Additionally, since my company hangs onto every piece of paper printed for about 2-10 years, the storage issue is non-trivial as well. I'm sure there are other corporations with similar outdated policies.

[1] https://environmentallaw.uslegal.com/specific-issues/paper/
They ran on an unapologetically left wing platform and saw the largest increase in vote share since 1945, denying the ruling party a majority in the process.

You think the ruling party isn't going to react to that by moderating its position?
Trees fall. When you can't cut down trees that grow on cities or near rural houses, trees fall on people.
I am very curious how you teach coding on a mobile platform. I mean there is so much typing in coding, and then you need to track a bunch of variables, see the output, and see the code, so that is a lot of screen real estate you need.
I did something similar to this for redacting HTML pages a while back, although I never fully polished it: https://github.com/alexbecker/redact-js

It's not something I'd use for serious security applications, but fun for interactive fiction.
For "Automated time tracking from Google Apps/Slack":

Toggl is a great service, works in the web or as a desktop app, and has slack integration: https://toggl.com/slack-time-tracking
You can surround multiline code with triple backticks (`) to preserve formatting. Though for whole XML files I'd suggest just uploading it to the chat.
Well, wargames and RPGs are so complex enough already that surely mistaking the type of die is the least of a player's problems. And D6 used to require complex table lookups (which current tabletop game design seems to eschew), so not sure it was easier to begin with... just the most common shape of dice.

I share your love of D&D dice :)
It's a shame they only described Moskovitz's Good Ventures as 'a philanthropic firm with the mission "to help humanity thrive"'. Good Ventures funds the Open Philanthropy Project, arguably the most exciting philanthropic organization on the planet.

http://www.openphilanthropy.org/blog
Not an encryption expert, and would likely use it myself.

My guess is it's about as secure as putting an encrypted file on the internet. Except this has almost all the information you need to know how it was encrypted. Plus it has a useful guess-the-password form. There is no attempt-limiting or rate-limiting if you can download the file.
Looking at the prize awardees for criticism, the award is for art criticism. So it wouldn't apply to Fowler's writing.

https://en.wikipedia.org/wiki/Pulitzer_Prize_for_Criticism
I think revicon was getting at using a decentralized system to track magnet URIs.
My next startup will offer a carrier pigeon service.
The Chief Diversity Officer often operates in a silo and doesn't have the ability to impact things like hiring so yes, it can be a vanity/PR role if not implemented well.
I'm not sure when it will be launched. You'll have to authenticate your account against the service I imagine, very common for integrated DropBox products. The site itself will not have your password.
I can buy VHS tapes at Goodwill for $.49 a movie. Oddly enough, this price being essentially free, means that my time spent watching the movie is the real price. I wind up not watching them because they are not worth my time.
It's working really well when engineers hire engineers. I've no problem with that. They don't ask questions like "Why do you want to work for us" or "What are your strengths" or "Tell me about a situation where ...".
Not every company has a blog, open source projects and many of them have no public products and are privately held. So, I can see the job description and the website.
I don't know if you are an HR person or not. No offense. I'm not against them, but have very very very bad experience with them.
Overloading operators for cute purposes is usually a misfeature. There was a fad for this in the early C++ days. I once wrote a marshalling library which overloaded "||", so that you could write

p = stream || rec.a || rec.b || rec.c;

and get an object which, if written, marshalled the record, and if read, unmarshalled it. The marshalling order was only specified once. Cute, but in retrospect, bad.

Python's classic overload problem comes from using "+" for concatenate. For built-in vectors, "+" is concatenate, but for NumPy arrays, it's addition. You can use "+" between a NumPy array and a built-in vector. Does it add, or concatenate?

("|" is supposed to be the concatenate operator; it was added to ASCII to support PL/I. But decades of C have made it the bitwise OR operator to most programmers, so we're stuck. "_" is allowed within symbols, so that's taken. There's "⁀", character tie, but nobody can type it.)

It seems to be best to restrict the math operators to math.
was 4chan ever "liberal" in the sense that the term is used in American politics? that doesn't vibe with my impression of the community there. It's always had a lot of libertarian undercurrents but was really just disaffected and non-partisan until the Trump thing happened.
Funny, I had the exact same question since I meant to come back and read this post but couldn't find it thanks to the name change. I'd love to know the reasoning behind this edit.
Ask HN: Which books enriched your computer science knowledge?
I am bored reading books about learning a new technology, whether it's a new PL, DB, .. etc. I would like to make progress as a Software Engineer. What books do you feel made you a better computer scientist / software engineer?
Check out Smoothstreams
This is so awesome. I hope he posted the design to thingiverse so people can print their own spoonanis and enjoy waste-minimized yogurt consumption.
The Spy Who Funded Me: Revisiting the Congress for Cultural Freedom
Real quick: I wouldn't call those gov't agencies nor are they gov't-funded. The RNC and DNC are not gov't entities, they are "private" "non-profit"s. It's fair to believe that a ton of astro-turfing and false media are bankrolled by these agencies, but I don't think it's healthy to walk about life day-to-day imagining your tax dollars are used to actively battle back trolls on imageboards.
Thanks for the suggestion. I've briefly tried Anaconda before, unfortunately can't remember why I didn't continue with it.

I just tried again and saw an error similar to what I get when I try with pip+brew - ModuleNotFoundError: No module named 'PyQt4'.

Note, this is after spending quite a while installing/removing/upgrading various qt packages and dependencies to try to resolve this. The system might be in a weird state because of that - but I originally started from scratch and only followed the instructions I found on the matplotlib site...
Yes, my comment was addressed specifically to those who will be viewing the total eclipse, not the partial eclipse. That's why I emphasized total eclipse and totality.

But thank you for making it more clear that viewing any other kind of eclipse - partial or annular - requires proper eye protection!
Great question! The code is kept short, the output appears below the code, and we deal with typing by using a customized keyboard and letting you type in whole function names with a single tap. It's hard to explain without showing you the app :) Check it out.
An Interview with Robert Sekulic, Shoutem VP of Marketing
Introd to Observer and Observable class with the MVC architecture (1996)
One big thing that's missing from this list is the __traceback__ on exceptions, which pretty much does what you think it does. In Python 2, there's no way to access the traceback for an exception once you've left the `except:` block. This matters when you're using things like gevent; if one of your gevent greenlets throws an exception and you inspect the .exception attribute on it, you'll be able to get the exception message but won't know what line it came from.

N.B. This is absent from Python 2 due to concerns with creating self-referential loops. The garbage collector got better in the meantime and the feature was never backported to Python 2.
Yes: https://news.ycombinator.com/item?id=14555206
They were stored in BCD at the time:

https://en.wikipedia.org/wiki/Binary-coded_decimal

That was the right choice for the era. As mikeash points out, your approach takes more bits and more CPU cycles. But it also takes a computer to decode. Any programmer can look at a punch card, a hex dump, or even blinkenlights and read BCD. Decoding a 32-bit int for the date takes special code. Which you have to make sure to manually include in your program, the size of which you are already struggling to keep under machine limits.

We've come a long way.
My HP inkjet printer lits its display in the middle of the night with no computers awake. I'm paranoid about it. Why does hp printers wake up display malware? After reading the Tenable article I am even more security paranoid about it.
> Here's a typical example, in crate "url": [1] unsafe conversion of a slice from a UTF-8 string by calling "str::from_utf8_unchecked". Minor speedup, but if the slice calculation is off, unsafe, because advancing through a bad (or misaligned slice of a?) UTF-8 string may cause a subscript error.

Simon is a reasonable guy and is quite receptive to bug reports. If you think that that function should be made safe, feel free to file an issue on GitHub.

Note that URL parsing is quite performance-critical in browsers, especially where data: URLs are concerned. The code in question is used in Firefox.
I think for that example it doesn't matter, it is a poor illustration of yield from.

In general `yield from` makes delegation inside a generator cleaner.
Compare these instead:

for i in range(n): yield i

yield from range(n)
Not really. Bill Hicks implores people in marketing and advertising to go kill themselves because they're satan's little helpers, Carlin tries to string together a very long list of oversold words to get people to recognize when they're fed bullshit.

There's a little bit of a difference :)

Big fan of both by the way. If you have the time:

https://www.youtube.com/watch?v=ImG1z1vHh9M

Carlin's "Last Words". Quite a few of them, actually.
The title is talking about the fact that the diagrams themselves are beautiful, not the application itself.
Have you considered employing a cognitive dissonance learning model similar to the techniques that Derek Muller wrote about in his thesis 'Designing Effective Multimedia for Physics Education'? [0]

Lorena Barba of George Washington University also discusses techniques related to effectively teaching complex topics through exercise rather than passive learning that you may find interesting. [1]

[0] http://sydney.edu.au/science/physics/pdfs/research/super/PhD...

[1] https://www.class-central.com/report/why-my-mooc-is-not-buil...
You may wish to sign your installer binary.

Windows protected your PC

Windows Defender SmartScreen prevented an unrecognized app
from starting. Running this app might put your PC at risk.

App: vexlio-setup-1.0.0.exe
Publisher: Unknown publisher

[ Don't run ]
I'm afraid insults and mockery are all that are likely to come of a submission like this. It's well off topic for Hacker News:

> On-Topic: Anything that good hackers would find interesting. That includes more than hacking and startups. If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual curiosity.

https://news.ycombinator.com/newsguidelines.html
> And the discovery of this chemicals took 200 years longer because real doctors would not dare take the status hit to even consider the possibility that it might be something real behind the quack's claims.

And the alternative is what precisely? For doctors to not tell people when the "medicine" they're using is a worthless scam?
>but not one person who uses photoshop uses Linux

Not true: I use photoshop (albeit, not professionally) and have a subscription for it, but am writing this from linux. Dualboot exists, you know.
I like it and would use it today, although I prefer phone/accelerometer tracking over wearable tracking. It's more accurate, cheaper, and easier to use.

Also, I don't use Apple products and likely never will. It'd be nice if you started out with a cross-platform framework (React Native, Haxe, NativeScript, Appcelerator -- something has to appeal to you) to provide early support for both iOS and Android. As a developer, I'm less and less convinced that Android support is "too expensive" to deliver immediately or early.
Why Is Helix Such a Popular Shape? Perhaps They Are Nature's Space Savers (2005)
I don't see how that follows. The language can't possibly understand the intricacies of what the MMU is capable of (besides, every MMU is different), and as far as the language is concerned what is returned is simply a valid offset and a length to go with it to indicate where the allocated segment ends.
As someone who has come close to merging into a cyclist a few times - I'm sorry. I grew up in an area without bike lanes, and then moved to SF, so it wasn't a habit to check bike lanes before turning across them (mental process goes - I'm in the rightmost lane, I just need to look out for pedestrians and I can turn). On the upside - I got rid of my vehicle, so I'm no longer a terror to cyclists.
COBOL programmers are disappearing, but the software is still going strong
From the way we've seen most schools respond to these types of reports from students you have to wonder if you were lucky that you couldn't figure out how to report it!
In the OP, the author says there are "approximately 5,000 computers" in the bitcoin network. I'm curious if you believe this is right too? Those are some powerful computers... (yes, "duh" indeed, I'm still awed).
Is the answer "you don't need jQuery for this"? :)
Ok but listing 100 directories with 10,000 files each should take the same time than listing one directory with 1,000,000 files (what you are describing is a filesystem with more files vs less files, not with more subdirectories than less subdirectories).
Very nice; love the pricing. Reminds me of an older editor I used http://ipe.otfried.org/ that also allowed programmatic interaction (yours being much more polished, of course).
Two Girls. One Vegas
If the icons disappear as soon as I use my keyboard or tap, that wouldn't be too terrible.
Seriously? All that work just to save possibly 15%? And in reality the savings would be much less because someone has to pay to develop and support the app. You're going to have to come up with more realistic and compelling examples.

It also doesn't address compliance with laws on payments and money transfers. Regardless of what the anarchists might want, those rules aren't going away and will be enforced vigorously by many governments.
Fancy Trees with Botanist
Back in the day we used to use Apache basic authentication for this, that was before single page apps. Not you do have jwt that is explicitly designed to handle things like offline progressive web app logins.
If a journalist with no experience learned to code on the side and built something interesting we would applaud. We wouldn't make them an SRE at Google or Uber. Fowler did something great and it was powerful despite not being her life's focus. There are journalists who are as good as Fowler is at technology.
I dont think a Pulitzer is the venue to recognize Susan's work, nor do I think she would win. I do think we should recognize her writing, and believe she has already had a meaningful impact
That's exactly my point, these salary ranges are "normal" here. For the average developer with little responsibilities in life this may be more than enough. And so goes my theory, but please don't quote me on that: IT workers are undervalued because most of them only need a computer, internet access, a comfortable bed and fast food to live a happy life. And so they just accept whatever they are offered, because they don't need that much money. And why would you pay someone a lot of money to do something he/she loves doing anyway? We are being exploited in my opinion. CS is no simple stuff and not everyone is capable of working in that field.
I grew up in a place without bike lanes, it's really hard to remember. I understand I have fucked up that process before, and feel bad about it.
Can't the prohibitions be modularized?

Like, when you compile for x86 there are a bunch of rules that aren't generally safe, but on that platform they are.
How InVision Built a $135M Growth Team (From 16 Different Time Zones)
GitHub Enterprise Remote Code Execution $18K Bounty
A colleague watches everything with Thai subtitles. This works great as his girlfriend is Thai. By everything I mean everything. Pirate Bay is hard work by comparison, as is a real DVD. I think that the warez game has moved on for serious movie watchers.
Probably a moderator thought most HN readers wouldn't know what IISc is, but sure, you make a fair point. We'll revert the title.

Often we change a phrase like that to just "Scientists" for brevity, but there's probably no need to emphasize nation rather than institution. Though in Canada we tend to put "Canadian" in front of everything.
A few of these can be solved with a comment.

"Need to see revision history for View-Only Google Docs" - Don't use a shared Google Doc as the agent of record. Email it to each other as an agreed contract.

"Can't find good replacement for expensive accounting/bookkeeper service" Have you tried literally anything else? You're paying $500/month for this solution, have considered just getting an accountant and emailing him spreadsheets?

"Monthly subscription for science fiction and fantasy books"
"Subscribe to news without paying $30/month per website" - Existing solutions already exist and require a supply chain and distribution rights negotiation more than they do a developer to slap it into a webapp.
I find it a little funny how unrealistic people can be when evaluating the cost of their problem. Take this one for example: "We have hundreds of images uploaded to our app each day. The issue is some of these images have text that we want cropped out." -- willing to pay? $75/month. Baller!

Chances are this is a problem for a data-mining / ai-training platform that wants to create a better image set. They are charging clients tens of thousands of dollars, and yet willing to pay $100/month to improve the data. lol
Just finished the swift course and it leaves me wanting more. I mostly like that I can do a few excercises while waiting for the train to arrive and then just pick it up the next day for a few minutes. Feels a bit like duolingo for learning. Unnoticed some humanities subjects in the store screenshots? Would be cool to do the same treatment for history or more high level concepts in programming like algorithms. Kudos so far!
Textbook publishers (f*ck you, Pearson) also have the money for it, but they trend more towards single-use codes. Cuts down on resale and piracy in one stroke.
I'll never understand those who break the internet on purpose and then complain that nothing works, and that the people actually spending money and doing work should cater to their niche tastes.

Please stop. Thanks.
If they can compel your silence on the original matter, thus necessitating the warrant canary, why can't they compel your silence on being forced to update the warrant canary?

If warrant canaries were ever a real threat, what's to stop them from simply deciding that the only legal direct or indirect answer to "have you ever received a super duper secret subpoena" is "no comment".

The issue is not whether or not the concept of secret access to my data is just, it's whether or not you can actually play silly games with the party literally writing the rules to the game you're trying to play.
Wow, this looks great and the pricing is awesome. Any plans for a Linux version?
It's funny because it's true.
It doesn't scale. E.g. a common operation in a law firm is to send a draft of a Word document,[1] to several people for revisions and comments. You get back several redlines against a common version that some junior associate then has to integrate manually.

[1] It has to be a word document for integration with tooling that does stuff like generating tables of authorities and whatnot.
Great you love it! We're building more Swift content right now! Commutes are a perfect use case.

Right now we're focusing on our best programming courses. We're about to release courses like Data Science and Machine Learning. Apologies about the screenshot: it's out of date and Apple won't let us update it without submitting a new version.
Show HN: jsblock – executable JavaScript snippets in your browser
It should be in your Start menu still, with the rest of your apps/programs (they just call it "Store" there). If you type "store" into the search bar, that should work too.
> you'll never get 1000 people to pay $400 each for any OSS software, no matter the price of the competitor.

Yes and no. I'm doing that right now...

The key is that I don't charge for the software as such. I charge for services, etc. around the software.

People are happy to pay for value-add, even if the underlying software is free. You just need to show value-add...
Oof, mea culpa - let me be clear, I would not charge for a circumvention tool, on moral /and/ legal grounds. That sentence was intended to allude to the original post's entry calling for "a more cost effective way to never see a news paywall again."
I pay $10/mo and that includes Lightroom, which is impressing me more every time I use it. In fact I'd probably pay the $10/mo just for Lightroom, and then I could say that Photoshop is free. :-)
So basically just clone Etsy plus an escrow service. We already have those, so what. Where is the compelling customer benefit?
While not a failsafe method, lots of newer cryptocurrencies use proof-of-work that is "ASIC-proof." This means that CPU and GPU mining will remain profitable, theoretically preventing the degree of centralization seen in Bitcoin.

While this doesn't remove all risks (e.g. an incredibly large mining pool), it is certainly harder to disable thousands of independent miners than it is to do so to a single centralized operation.
Thanks for checking out the API.
I'm somewhat in the same boat in terms of not being a very sophisticated user, and thus being unaware of alot of features. (I recently started at a new company and am accustomed to IRC)

Over time though, you get used to it, and it is imho much less cumbersome to use than any alternatives (certainly IRC). Need to send a large XML file? Hit the plus button next to where you type messages. Want to just dump it to chat? Surround in triple backticks.
OpenGL Windows vs. Linux – it's tight
This link appears to be dead and redirects to https://arstechnica.com/tech-policy/2017/06. Can anyone suggest a replacement?
> "not calculated until you look".

It's unfortunate how much the jargon around quantum physics has been misconstrued by the general public.