skysight-inc/HackerNews huggingface dataset:
Agree with the big-picture areas that you've highlighted, and it's not like there are not local issues that need addressing.

St. Petersburg shut down a sewage treatment plant last year, and in the same year spilled 200 million gallons of sewage into the bay. For that, the city faced an $820,000 fine, which seems incredibly light. Just Wednesday this week, the city spilled 50,000 gallons of 'mostly treated' sewage into the bay. I can't image that St. Petersburg is the only city with this type of problem; though, I hope I'm wrong.
Okay it is quite unlucky that you chose that particular segment. Becoming a vet is very expensive, the setups are very, very expensive and the margins are very tight. Most vets accumulate into vet practices and would be better off financially stacking shelves at Walmart so if I were looking for rich clients these aren't the clients you were looking for - you may well have lots of pictures of cats but maybe some other segment might be more open to you. Even a charity for cats might pay better than a vets. How about pivoting into pet boarding? Plenty of scope for fun there and quite lucrative?
I've had the same issue. I built a web based cash register / stock tracking app for a customer a few years ago with the belief that there were hundreds of business operating in her niche in a small, easily accessible area.

She loves it - but nobody else has the time of day for it. Learned a hard lesson about market validation there.
wondering what kind of performance overhead it is going to cause by letting the kernel to handle unaligned access vs. fixing the software to actually always use aligned access?
Show HN: A Bruteforcer in Go for WarpWallet's 10BTC Challenge
Rationalism vs. Empiricism
Thanks for all these good ideas.

> One thing you may not realize is that many small businesses -- vets included -- get spam (charitably called 'outreach') emails from agencies from all over the world on a nearly daily basis. Because of this, most cold calls and cold emails will be met with an even colder reception.

Indeed, multiple clinics told me they are getting up to 3 calls per week regarding such offers.

> 100 people is also a tiny list to cold call. I am not really sure that this was the right strategy for you to get clients.

Do you mean there would be a better strategy to approach clients when they are so few? Should we try approaching them in person (ie just show up at the clinic)?

> They would probably be better served by a Wix/Wordpress/Squarespace setup that has cheap customer service and would just need help for content, design, and some customization.

The big plus we can provide is that by having a vet onboard (my gf) we can write out the content for them. So they can tell us "we have a behaviorist and we provide this and that service" and from that we can explain and illustrate what this means, with no additional work on their side.

I fully agree about the mock portfolio and focusing on results, we'll definitely do that.
So does physical fiat currency, and physical fiat currency is virtually untraceable, unlike bitcoin, which has a public ledger for every transaction (although it is pseudo-anonymous).

You want to ban that so drug dealers have to find a more creative way to make money? (And they'll find a way. I'm still surprised they managed to find a way to use Tide detergent as currency to sell drugs).

http://nymag.com/news/features/tide-detergent-drugs-2013-1/

What point are you trying to make? Sounds an awful lot like the "Let's ban peer-to-peer filesharing, because it's used for copyright infringement" argument.
It's admirable you and the project edit yourself in this way. Although some will say they are only words, and only have the meaning we give them, the legacy of suffering the words bring to mind are nearly unbearable. Speaking for myself here obviously.

It's a choice whether or not to use these words, and any project can use them or not as they see fit. They are common in the field after all. I definitely think there's a high road here, and you've taken it, cheers!
0. Insure you have documented the steps/workflow to find the vulnerability and how it was exploited so tasked with fixing it can reproduce your results. This should be very detailed with pictures, tools used and results/expected results. If you can automate this then it is even better.

1. Check if the site has a bug bounty program, as results submitted there normally go directly to the security team or someone that can get the issue resolved.

2. If you are not able to find a bug bounty program, I would recommend contacting the site support or using the contact form on the site.

3. If that is unsuccessful, email/call the contact information on the website's WHOIS query page (whois domain.tld in terminal)

4. If that fails use twitter to send a DM to the sites social media contact.

5. If that fails make a public post to the twitter contact (e.g. @newcontact "Hi there, I found a pretty serious problem with your site contact me ASAP."
Wage stagnation began at the same time the number of women in the workplace started to grow ... The rate of the growing female workforce itself started to stagnant around the 90s and 2000s...

Have a look over here:

https://www.dol.gov/wb/stats/facts_over_time.htm

The US ratio of female/male employment experienced a strong long-term upward trend during and after WWII (1940s), and the absolute number of women working jobs in the US has climbed steadily right to the present day.

The modern era of wage stagnation relative to productivity started in the 1970s, somewhat before the strongest growth in the female/male employment ratio, and continuing even after that ratio flattened out.

http://www.epi.org/files/2013/ib388-figurea.jpg.538
http://www.epi.org/publication/charting-wage-stagnation/

...a corresponding increase in demand with the supply of workers would have kept incomes moving upward...

Or it could send jobs overseas to poor countries with low wages and little in the way of labor or environmental regulation.
How to Create a Data-Driven Social Media Strategy
The documentation is pretty sparse, and no links to a product page. What does this actually do?
Google taught an AI to edit photos like a pro and the results are glorious
Voight/Kampff - 0

Sapir/Whorf - 0

Deming/Kruger - 0

:(
> Most cloud providers have created different proprietary APIs to expose lightweight services to the cloud.

True. However, in the case of Google Cloud Platform, the Protocol Buffer definitions for their services have been open-sourced here: https://github.com/googleapis/googleapis

There are two immediate benefits/possibilities: you can generate your own gRPC client libraries for GCP services and you can re-implement GCP services using their open-sourced interface definition. One example would be the Google Cloud Functions Emulator [1], which implements the service defined in the Cloud Functions service' Protocol Buffer [2]. You could deploy that Emulator somewhere for a sort-of "dev" version of the production Cloud Functions service, and the Gcloud SDK could talk to it.

[1]: https://github.com/GoogleCloudPlatform/cloud-functions-emula...
[2]: https://github.com/googleapis/googleapis/blob/master/google/...
What level of wealth inequality is necessary for revolution? How has that changed over time?
Those polar scientists are quite resourceful. Nothing like those cartesian scientists.
Hat off. Nice piece of engineering thinking.
That was the goal, but the underlying library is general-purpose.

Writing a minimal uncompressed PNG writer from scratch is a fun exercise; the spec is pretty clear and the only tricky part, really, is getting the uncompressed zlib part right, especially since the block sizes are undocumentedly little-endian, while everything else is big-endian.

Self-contained code for image generation and consumption can be pretty useful. It's one of the reasons that I like farbfeld, suckless's incredible simple binary image format, because libraries for processing it are essentially unnecessary since the format itself is so straightforward.
If the argument was "millenials eat out too much", that they are spending $8/meal×3 meals/day×365 days/year = $8760/year eating out, it would be an interesting article.

But the article is entirely about "avocado toast", a meal that, while popular, is not eaten more than once per week even by any millenial I know. Saving $8/meal×1 meal/week×52 weeks/year = $416/year is so laughably far from helping save for the down payment of a home, especially in a market where avocado toast is popular, like Boston, where it would take 100 years.

The article is vapid. It could be summed up as "get off my lawn" but because the author of this content-free piece is somehow employed by the New Yorker, he found it necessary to wrap it in a dozen paragraphs of purple prose.
Love that logo. Did you create that yourself?

I've been keeping my bash scrips in github gists but I like this organization as well.
Wikipedia says:

> The first recorded use of the term in print was 1987, in PC Week 8 Sept. 107/2. "Everybody has only one killer application. The secretary has a word processor. The manager has a spreadsheet."
>Why do developing countries spend a lot more on development than developed countries do? That's almost a tautology.

I don't think it's as simple as "we're developed now".
Is there some arbitrary set point at which a country is completely "developed" and we should just stop doing things? Why is there such an aversion in this society to "spending money" as if it's something that we are losing rather than simply putting people to work and generating economic output. The complete gridlock which has gripped the US over the past 40 years has left vast amounts of the population sick and dying with no hope for anything.
That's a crucial point, though it doesn't affect how interesting the piece is. But since HN policy is to keep the original headline whatever it is I don't bother tweaking them anymore.
Give us feedback hackers, we want to beat Groupon with Raliz
As a corollary, based on population growth rates/disparities between birth rates, people are going to be very surprised how quickly Mormonism rises. They're basically the only chunk of native born Americans that have a birth rates above replacement, and it's a LOT above replacement.
But it's ok to assume a lack of offense on the part of every other person? I think we all get what the terms mean In This Context but there are other options available that don't require that kind of boxing and unboxing. Other projects have done this successfully[0] and the Redis maintainer is right here in the thread saying he understands the concern. The thing I never get with these objections is, what is the harm in raising the point/ making the change? Who loses?

[0] https://code.djangoproject.com/ticket/22667
Memory fragmentation is largely related to the allocator you're using (ie: glibc malloc, jemalloc, tcmalloc) and previously it was up to the OS to manage this (ie: freeing up unused memory).

Now with active memory defragmentation things are a bit more pleasant, specifically with high delete load actually freeing up unused memory in a timely manner without impacting performance too much.

Previously, to fully recover unused memory, you would have to restart the Redis server. Obviously this is not feasible but when Redis is using >50% more memory on a 120GB machine than it should then you will have to consider this an occasional housekeeping option -- now, as mentioned, this ridiculous task is no longer necessary.
Something can be a good idea and unworkable due to political and regulatory hurdles. Just look at broadband access. Or medical records. Two industries that would benefit greatly from some disruption, but we're not seeing much there because of how hard it is for other than market reasons.
On the front cover is a phone number, which when called would go to a voicemail.
> they hope to find someone at their $12 price point rather than just ponying up $14 (or whatever)

One of the issues is that it isn't just ponying up an extra $2/hr.

If a company already has, say, 10 employees at the $12/hr price point, they won't be too thrilled about a peer coming in at $14/hr. Most likely, in the short to medium term, they will have to be bumped to $14/hr, too.

So rather than being an extra $2/hr, it's actually an extra $2/hr + (10 * $2/hr) = $22/hr.
Singapore wants ethical hackers to get a license, or else
Making the choice between being indebted for your entire life and just dying is surprisingly hard for me.
When AI Takes Over, Will Mechanics and Millennials Lose Out?
As much as I hate the UK, this isn't on-topic
Have you ever checked out iubenda (http://www.iubenda.com)? That's pretty much what it does, with 600 modular clauses in 8 languages.
It is hard to classify Microsoft in the "#SubscriptionPsycho" category in regards to Office. They still offer perpetual licenses alongside the subscription model. However I do believe there is a huge marketing failure in making the distinction between the two product offerings.
Cool to see I got some comments! Thanks for the feedback everyone.

I'm an expat programmer living in Tokyo and Keiyaku Kekkon is a side project of mine. Got the idea from watching a Japanese drama actually. I'll probably do a "Show HN" eventually. It's still in alpha and kind of buggy. Making websites isn't really my specialty so this project was a cool learning experience.

It's like midnight here and I'm going to bed, but feel free to leave questions or contact me if you want to know more about anything. Peace!
NeXTSTEP was around in the late 80s, came out in 1988.
It's not like the predecessors of the modern state were strangers to genocide and mass enslavement.
Perhaps the phrase "six-figure salary" has caused wage stagnation.

Once a manager, for example, hits their personal goal of "six-figures", they feel they have hit an important milestone. So they are content year after year to privately make $100,001 but publicly/subconsciously use the misleading phrase of "six-figures". A manager's salary is implicitly the upper bound of their subordinates' pay so the whole work-force suffers.

If the goal is inspire a higher paid workforce, let's stop with the "six-figures" vagueness and use concrete income milestones (e.g., $250k a year, $10k a week, etc.) instead.
Cool. Nice, creative work. Indexed PNGs seem unfortunately under utilized.

I happen to have just opened a PR to support indexed PNGs in node-canvas (HTML Canvas impl for node) based roughly on the proposed pixelFormat API [1,2] for the same reason that the space savings can be immense.

It's also straightforward to change the palette of an indexed PNG after it's encoded because you don't need to re-compress the body. This lets you do cool tricks with recoloring images.

[1] https://github.com/Automattic/node-canvas/pull/935
[2] https://github.com/WICG/canvas-color-space/blob/master/Canva...
The whole point of an ideal type system is that if code compiles, it is provably correct and won’t have bugs.

Few typesystems come close to that (Coq is one of the few languages where the system might be advanced enough), but generally you want to completely remove entire classes of errors.
I was on an airline that could not find enough pilots at a low enough rate to fly the planes. That was Spirit Airlines, an ultra-low cost carrier. I don't mind small, hard seats and no snacks for a quick flight, so I thought I'd save the money. Well, it turns out that Spirit has one of the highest profit margins [0] of any domestic U.S. airline, yet they decided they'd rather cancel flights than pay pilots enough to show up [1] -- they'd even rather hand out $100 vouchers to all the affected passengers than pay the pilots more. On a flight of 50 people, that's at least $5000 they lost, not to mention the staffers they had to pay (baggage handlers, gate agents, etc) that didn't actually wind up being able to complete their jobs.

[0] https://www.dallasnews.com/business/airlines/2014/09/22/seve...
[1] http://money.cnn.com/2017/05/09/news/companies/spirit-airlin....
Simple perceptrons, yes. Feed forward, RNNs, CNNs, SVMs, gradient methods, and the rest? Not so sure about that. I know that genetic algorithms do sometimes get discussed today, but they are a small part of the community discussion, IMO. Not to mention that research in non-linear optimization and attendant numerical methods definitely made some breakthroughs in the 1990s.
A meteor big and fast enough to break up the planet?

It's very presumptumous to say if we can colonise, than we "obviously must have" a solution for this scenario.

Let's fully assume you are right, theory and practise are 2 different things.

Take the burning of the building in London. Convince me it burned down because we didn't have the tech.

The solution and even production for fire-resistant material was available decades ago was it not?

It was inability to come true in practise that made it fail and burned it down. The reason within this context is not relevant. over 100 people dieing was very real, and ctrl-z doesn't work in the real world.

After that accident, buildings all over Europe were revisted and where needed updated with new materials.

A full on destruction off earth most likely will not have this luxury off a revisit, and as such from a survival point of view, it's best to not wait, but just start experimenting with things like space travel and colonies before Hollywood becomes real and a meteor will hit us by the end off the week.
You certainly have every right to not personally be offended by something, but it's a valuable thing to have empathy toward those who are. You seem to lack the latter, and that may hold you back, and have the potential to hurt others as well. Something to think about, anyway.

(In this case I both have that empathy and also think it's a deeply unfortunate phrase that I wish we could leave behind, though I recognize the practical challenges of doing so.)
I agree completely. Rarely the hard problems in coding are thinking of a clever algorithm, or solving a particularly nasty scaling problem. Usually I've struggled the most with understanding and building what the customer needs. A spec can be interpreted many different ways and will always have to be polished after its completed. Someone who doesn't know what the customer expects will almost certainly create an implementation that has these micro problems that make the product miss it's mark.

It makes me think that we're training the wrong people in college by making CS a very difficult, math heavy field which often causes the more human skilled people to drop out. Programming doesn't have to be anymore math heavy than building a house yet we force undergrads to implement algorithms on paper? The amount of wasted potential talent due to college is staggering.
I don't really mind that we're metaphorically slaves to machines. People have been metaphorically slaves to all sorts of other things: dollars, diamonds, oil, sex, fame, influence, territory, you name it.

What I do mind is that the machines have their own masters, and that the masters are doing their best to hide the fact that they own and control the machines -- and by proxy, the rest of us. AI as it currently exists only helps to obfuscate the chain of responsibility that leads up to all these large corporations.

"Our autonomous car T-boned a truck in broad daylight? Too bad, it made its own decision. Don't hold us liable for its mistakes, but please do give us credit for building AI that makes fewer mistakes than the average driver." All those complicated algorithms help you launder responsibility just like bitcoin mixers help you launder money. The more you make your machine look like a truly autonomous being that can learn to do its own thing, the more you can distance yourself from your responsibility as its owner and creator.
> especially since the block sizes are undocumentedly little-endian, while everything else is big-endian.

Yes! That stumped me for a long time. Along the way to solving it I found this great Stack Overflow answer where the creator of ADLER32 popped in to give some advice:

https://stackoverflow.com/questions/32633486/why-are-png-def...

"Also just realized that you are that Mark Adler."
Yes, I'm the author of this. Thanks for these interesting questions! (Happy to answer other questions as well.)

1) Yes, I consulted with a lawyer for the version in one language which became the basis for this project. Though this has just been the basis, as I said, and things have changed already, and are expected to change in the future. Some kind of regular review of the current version with legal experts may be a good idea. Apart from that, please see the disclaimer that is included for obvious reasons.

2) None. It's as simple as that, sorry! The important use case has so far been using the output to display on websites. But it's obvious that, having all the input available in a structured and machine-readable form, it would be a good idea to also offer outputs in various machine-readable forms and formats. The vision was exactly that something like a "privacy-policy.json" besides your "sitemap.xml" or "robots.txt" could be helpful and an interesting first step towards a larger "ecosystem", which must necessarily exist.

3) No. I just didn't have the time for that, yet. I also don't know if that's really something that lawyers could use or would want to use. But this is definitely an interesting idea that might be worth exploring.

4) The “Terms of Service“ are a completely different beast, I would say. There's probably not much that could be re-used, and the challenges have only minor overlap, although the concept is quite similar in general.

5) You would probably declare one policy to be your canonical version that really counts, and any translations would be for information purposes and assistance only, without legal validity. Turning to the implementation in this project, translations could probably differ somewhat from each other and wouldn't need to be exact 1:1 translations, word-by-word. Languages such as "en" could also be split up into "en-US", "en-GB", etc. -- not just for the purpose of handling small language differences better, but also for the purpose of adjusting this to the jurisdiction.
This is some great information - however clicking Back after reading some info scrolls the homepage back to the top. The categorization into separate categories is probably not too useful at this point - it might make more sense to just have a single page with all the companies and their strategies listed.

Anyway, great idea for a site - maybe you could add a post to Twitter or Facebook button to help spread it around.
Homomorphic encryption: What truly safe cloud storage looks like
The Difference Between a Developer, a Programmer and a Computer Scientist (2010)
"Being able to program is not the problem. Understanding the problem is the problem" - one of my lecturers in University.
Reminds me of something similar I did with videos couple of years back - http://www.transcode.io/
Seems like the allure of cheap labor is fading
http://fortune.com/2016/12/22/us-china-manufacturing-costs-i...
What to know when your car is melted by 7,500 pounds of slime eels
I built this while learning Go to try and crack WarpWallet's brain wallet protocol that uses key stretching using pbkdf2 and scrypt: https://keybase.io/warp (see The WarpWallet Challenge 2 at the bottom)

It looks like this isn't currently feasible, but it was a nice learning experience and it's cheaper than playing the lottery! Any feedback is appreciated.