skysight-inc/HackerNews huggingface dataset:
For languages that support monkey patching you don't dependency injection.

A lot of the design patterns I used to adore and look at as if they were rare gems in a sea of bad code. Over time my opinions have changed. Many patterns are good, but I don't really like to think of those as patterns.

A pattern implies repetition. Something that you can used each time you have a situation that warrents it. In my opinion, this openly contradicts "Don't repeat yourself".

So I think we should start trading design patterns for simple and well designed languages. No code always beats good code.
Same here. I could understand some downtime if GPDR was suddenly sprung on them but everyone had time to prepare. I could also understand them not caring about me as a single user (not deluded here), but since I pay for the service I'm sadly all fresh out of understanding. Instapaper has been great but Pocket doesn't seem to be lacking much as far as what I need.
I totally sympathise with those that are suspicious of the modern web. But Browsh is fundamentally not for them. It is for all those that don't have the luxury of cheap and fast internet, I want them to access the same information everyone else does.

OK well I'm glad that the scrutiny upon me is the same as every other newcomer.
Police forces are ideologically selected to protect the 1%. In extreme cases what you say is possible, but I wouldn't hold my breath.
Not necessarily, several of my co-workers are big into Overwatch so when the Overwatch League started up in January I started watching matches with them. After a few weeks of asking questions as we went, I felt like I had a pretty handle on it and could start to contribute to the discussion.

You are absolutely correct though. Those first few weeks I had no idea what was happening aside from the occasional head-shot.
No one said the lesser was a good.
Assuage your guilt?
Our culture ties self-worth to work. From CEOs to social workers, people get fulfillment and create their sense of self by seeing the impact they have while at their jobs, and we judge others based by the same metrics.

UBI can help people pay their bills, but poverty is a lot more than a financial problem. The communities where work is drying up are the communities most heavily affected by opioid addiction at the moment. Drugs are expensive--people don't get addicted because they lack money, they get addicted because they feel hopeless or lack a sense of purpose. Maybe government assistance can help hopelessness, but it sure as hell won't give people a sense of purpose.

It going to take a big shift in culture before UBI can really work out.
One of many of the comments on the article itself absolutely nails it:

"The real failure of adblock shaming is that, on the occasions where I've complied, I then rediscover why I use adblock -- and turn it back on immediately."
Deleted, was overly negative.
I don't mean to sound trite or dismissive, but the blame should be directed at EU legislators.

If I create another software product I will explicitly and permanently make it unavailable to EU residents.
>Soccer, with the many factors that affect game outcomes — players’ injuries and intra-team conflicts, the refereeing, the weather, coaches’ errors and moments of inspiration — remains only a tightly-regulated game involving a few dozen people. The behavior and performance of big corporations, entire industries and nations is arguably even more difficult to model based on data about the past.

Author misses the way models work entirely, the larger the entity, the more statistics and averages kick in, and as a result, better model can be built.
Why? Government is one of the least effective vehicles for charity.
I suspect Amazon gets around that by typically having most items "on sale". If an item's MSRP is $100, maybe Amazon normally sells it for $50 and shows it as being "50% off", despite that being the normal price. Then it goes "on sale" on Prime Day for $40, they change that to "60% off". Realistically it's 20% off, not 60% off, but I suspect they'd be clear of regulation against raising the price prior to a sale.
It's crazy to think they don't have measures in place to vet digital content. I doubt people could do the same thing with Disney movies.
The Biggest Companies Are Hogging All the Gains
It must've been on sale. The list price is actually 119.99, they just seem to like to discount it to $99.99 quite often and $89.99 occasionally.

https://camelcamelcamel.com/Amazon-Kindle-Paperwhite-6-Inch-...
I don't know his marketing plan by any means, and I certainly can not claim he botted views, am I actually fairly certain his views are mostly authentic but that is just me going off of what I know of his moral judgement.

I do know he was extremely outgoing, almost weirdly so. I don't know the full extent of his 'hustle' but it wasn't just booting up amnesia every week.
Soon all he'll have left to do is make a 1 click checkout for buying palaces. Oops, never mind, it's hard to counterfeit those
Congrats to all the maintainers and contributors!

I was unaware that the Mojave headers package is not officially supported, according to this comment from an apparent Apple employee: https://github.com/Homebrew/brew/pull/4334#issuecomment-4029... . I'm sure it'll be fine and there will be growing pains as with all OS updates, but hopefully it will be resolved soon!

I'm also excited at how well Linuxbrew is progressing. Recently superenv (Homebrew's build system, which isolates builds from configuration quirks) was upstreamed into the main Homebrew/brew repository. With a bit more work it should be easy to install a common build environment on both Linux and macOS machines from a single codebase. For me personally, I develop on a Mac but run compute jobs on Linux, so having this level of convergence is super useful.
One of those variables is likely tax rates.

Back then, federal income tax was way way lower than what it is today. At some point the highest income tax bracket was 7% but today it's 37%.

I'm not a history buff but Google says social security taxes first started in 1937. That could be potentially another 13% less taxes paid back then.

Also Google says corporate tax was hovering around 12% during the 1920s but it's upper 30%s now.

Imagine how fast you could gain wealth if the govt. only took 20% of your income instead of 50%.
This article like many others is full of fallacies.

Image formats are not used wisely: [1] is PNG not JPEG and [2] is JPEG not PNG.

> I found that setting quality (mozjpeg) to 70 produces good enough images for the most part, but your mileage may vary.

You can get away with this setting for hidpi sizes but 1x will look horrible [1]. If you care about quality, the mileage is actually 75-95.

> (Pngquant) quality level of 65-80 to provide a good compromise between file size and image quality

Again, it may only be applied to hidpi sizes, and it will easily ruin any gradients or previously quantized images.

Pngquant is a great color quantization tool but it does not actually perform any lossless PNG optimizations, which can save you at least 5% more, and up to 90% in some cases.

All of these tools will also blindly strip metadata (but it's not guaranteed!) along with color profiles and Exif Orientation resulting in color shifts and image transformations respectively.

Most importantly, none of them are good enough for automatic lossy compression. Guetzli is the closest but it still has some severe issues [3]. I'm also trying to build a real thing, and it is hard.

> there’s value in using WebP formats where possible

WebP lossless and WebP lossy are quite different formats. WebP lossy being always 4:2:0 is not a good replacement for JPEG [4] especially at higher quality. On the contrary WebP lossless has evolved into a decent alternative for PNG including lossy [5].

Proper responsive images would give you considerably smaller page weight and improve performance on mobile devices. BTW Google treats oversized images as unoptimized [6].

[1] https://freshman.tech/assets/dist/images/http-status-codes/e...

[2] https://freshman.tech/assets/dist/images/articles/freshman-1...

[3] https://github.com/google/guetzli/issues

[4] https://research.mozilla.org/2014/07/15/mozilla-advances-jpe...

[5] https://twitter.com/jyzg/status/958629795692150790

[6] https://developers.google.com/speed/pagespeed/insights/?url=...
This wasn't much of an answer to "how", just restating that "we have a way to do it, we promise!". Could you give some explanation as to why it would be close to impossible to create enough reports to have them actioned? What markers do false reports have? It seems you only collect some free form text, and I can't imagine any way you could tell a good fake from a real report. So to a business, driving out a competitor out may very well be worth the cost of a few unscrupulous internet warriors.
> the great failure of the internet is that it is lacks of standard mechanisms that exist in polite society to exclude the assholes.

American society no longer has those mechanisms either. They were dismantled in the 50s and 60s under the opinion that they were too restrictive and stifling.
I consider it a feature to not be able to 'access the modern web' when the 'modern web' requires tens of MB of JS crap trying to track me. Very, very few sites I use are completely broken with JS disabled, so the default policy is to disable it. Having a cli browser that doesn't support it doesn't seem like a bad thing. If a new site doesn't load, tough luck for them.
Ripple is decentralized, in the technical sense.

If you are a programmer you will appreciate this. It explains the consensus protocol in detail. I found it fascinating:
https://www.youtube.com/watch?v=w4jq4frE5v4
Until HN adds first-class support for blockquotes, there is no "right way to do it".
Building with HashGraph
> They are not directly placing anyone's lives at risk by publishing.

Yes, yes they are. That is the entire point.
> It will get there, I remember a collegue saying about 10 years ago "software encoding SD in realtime is fine, but you won't be able to do it reliably in HD"

As an aside, you could already do realtime H.264 HD encoding 10 years ago without a ton of hardware, with x264; Avail Media, at least, was doing this in 2008 (probably earlier).
I think the research branches of a university are much less ambiguously positive than the teaching branches. One of the things people consistently fail to grok is that community colleges of the sort that are generally fairly cheap, are cheap in large part because their mission is to make higher education accessible. Universities do not (and probably shouldn't) have that mission. Their mission is to fund original research that would otherwise go undone and record it.
Digital ads are starting to feel psychic
Ah, to clarify I meant lying about you accessing any unmetered sites/IPs, not that any existed.
I remember this

There were also great studies as a result from his case, e.g. what is the optimal "discount" off a list pricet

If I recall correctly 30% discount was the entry point and anything else was bonus on top
Every single risk asset. Bonds (lowest yields in recorded history including negative sovereigns in europe), stocks (price-to-sales, price-to-ebidta, & countless other measures), art, housing prices back at nominal pre bubble highs, leverage in margin accounts, public debt, central bank balance sheets, etc. That was just from the back of my mouth. Not only is it a bubble but it's quite possibly the largest & most systemic one ever since so much risk has been shifted to the sovereign & central banking balance sheets.
As a person living in (or rather very near) Helsinki, I can tell you already that in many cases public transport is just better than having a car. I can take the train from my home to work in 20 minutes, whereas it would take at least 30 minutes (with the additional bonus of stress) with car.

The only reason I can imagine needing a car would be if I had children.
While it's technically true, it's worth noting that part of the weight & thickness savings in the 2016+ MBPr was from simply reducing the battery from 99.5 Wh to 76Wh. I strongly dislike this change.
correct me if i'm wrong, but its not the advertisers paying the mechanical turk?
That's misleading though, because he's had great risk of ruin and lots of smart people have tried (Jet, Azure, etc.) to compete with him but have fallen short.

Compare Amazon to something done by government like the highways. When I order something on Amazon it nearly always arrives exactly on time as expected. Highways are always in a state of disrepair and congestion, and get worse every day.

This is not an example of why Bezos wealth should be used to build highways. Every penny of his wealth was earned by offering services in a competitive market better than the alternatives. With government infrastructure there typically are no alternatives and so nobody cares or expects much.

Bezos is not an enemy of the little guy, he's someone who has made it so much cheaper to build a startup. Remeber the days when the first $200K of fundraising would go straight to Dell for a bunch of bare metal hardware? Contrast that to AWS. He's done the same in many areas of the economy.
I know of one company which explicitly has this approach: http://tiny.website/

> We won't try to flip your business in 3-5 years. We won't mess with your team and culture. We won't lock you into golden handcuffs or push complex deal terms. We won't ruin your life with months of unnecessary due diligence. We won't renegotiate and grind you on terms.

> …

> We started Tiny to create the buyer we wish we could have sold to.

Background: https://medium.com/@awilkinson/the-berkshire-hathaway-of-the...

To my knowledge, no one else makes similar commitments to both keep good things as-is and also to buy and hold indefinitely. At least from the outside, Tiny's model is unique.
Wow, I knew connectomics was starting from behind, but I didn't realize the state-of-the-art was so bad they can't even reliably find neurons in pictures of neurons.
They could use old P2P copyright cases against torrent trackers to get the FBI to seize Amazon's domain addresses.
I think it's only with lossless compression that it's better.
They might just be missing basic features and blocking access was easier than adding those features. If the product isn't working out inside Pinterest then they don't have much motivation in fixing those issues, even if they lose users.
A useful trick for reducing the chance of food poisoning with take out is to re-heat the food in a microwave.

You do have to get the internal temp of the food pretty high to do a good job, like 165+, but for many foods it works great.

Won't eliminate the risk from all pathogens but it's not a bad precautionary measure.

I like the idea of Dinesafe. There's not nearly enough effort on enforcing health codes.
A New Cost at College: Digital Access Codes (2016)
It's always worth noting the disclaimer that Bloomberg has on their tracker:

> Given the exponential trajectory of a production ramp up, there may be sudden increases in output that this model is slow to catch.

When you're looking at Tesla's numbers, the tracker becomes more reflective of progress several weeks after a production peak. Given that the 5,000 peak was hit relatively recently, this means that we should expect the tracker to reflect this substantially later.
A comment on my own show HN got flagged, which is kind of funny.
Not OP, but that opens a whole different can of worms. “Confidence” has a specific meaning in the context of statistical theory, and specifically in a particular flavor of statistics called “frequentism”. I won’t get into what is involved in frequentism, and how it differentiates itself from the alternative, Bayesianism, but essentially “confidence” refers to a measure that really says more about the statistical methodology used to arrive at the estimated value (in this case, that Hillary had a 95% chance of winning) than the value itself. This makes is a bit esoteric and something that people misinterpret all the time.

Basically, confidence refers to a hypothetical scenario in which a the data gathering process were to be repeated and the same analysis done, X% of the confidence intervals (essentially, the +/- bounds around your estimate) will contain the true value for what you are trying to estimate.

So in this hypothetical scenario, we say we have the power to go back in time and recollect the polling data in 2016 and run the same analysis used to arrive at that 95% number. And let’s say we use this power over and over again, a very large number of times. Then 95% of the error bounds we construct should contain the true value of the probability Hillary wins, whatever that is.

The thing is that those error bounds can be huge. You can have 95% confidence that the probability that Hillary wins is between 3% and 98%, for example. You can also have 10% confidence that the probability of a Hillary win is between 94% and 96%. Without the confidence intervals, a “confidence level” doesn’t say much. It’s also predicated on the assumption you haven’t screwed up your data collection process or analysis methodology. And if you are predicting something will occur with a probability of 95%, and it doesn’t, that doesn’t automatically mean you are wrong, but the likelihood of you having screwed something up is definitely higher.
Well you got a point.
Lots of karma to be had there as well :-)
Adobe Photoshop CC 2018 Full Version with Crack [32bit and 64bit]
What taxes does he owe that he hasn't paid? I'm pretty sure the answer is "none".
This is, pretty fucked up online content.
"No" reason for splitting; you know other than the fact that nearly 40 million people spread out over 150k square miles are represented in government by only 2 senators.

If you can't think of a single reason why California might want to split for better representation I wonder why you think we should have states at all (which is a perfectly fine stance, just be consistent with it).
“The hope is to see it flying by 2035.” Sigh.
Which part of GDPR is confusing to you? They did their research and turned out that in terms of profits the market is unstable if you want to open yourself up to potential GDPR litigations you are riskin more than its worth it.

Don’t wait anymore. They probably not coming ever again unless GDPR is voided.
Do I have specific terminal for this, or default Mac terminal is enough? (Asking because I've some weird bugs here.)
Has Browsh's terminal approach been compared to traditional data proxy methods in units of quality or usability per byte?
Given that automotive control software is apparently a huge mess right now, and a rapidly growing attack surface, a more disciplined rewrite in Rust might actually be enough for an insurance company to consider...
> If it's not in archive, you will NOT find the old HTML at all, whereas old PDFs are usually easy to find because someone will have it.

I don’t understand this argument at all. The exact same thing can be said for HTML pages.

> In addition saving web pages is a huge pain with all the scripts and CSS to save as well, so then you need to compress that.

That’s what the webarchive format is for.
At this point in America, pretty much everyone who has weapons and authority to use force is pretty ideologically aligned with the 1%. There is a pretty strong narrative in that group that all of these problems that many would ascribe to poor income equality are actually caused by immigrants, welfare recipients, and government.

I think the chance of the police or military siding against the 1% is incredibly small.
The main point here is that they're doing the tracking with a typical user mode application without access to anything that a user would know is giving away their location.

Tracking location with other sensors requires more permissions.
It makes no sense for Amazon to turn a profit. They invest everything back into growth. This way the stock keeps going up, Bezos and co sell their stock and pay long term capital gains tax instead of income tax. This way Bezos can get a better tax rate than his secretary.
$150B is a pauper compared to $300B?

Two paupers = a king?
I've moved many of my tech investments into Amazon b/c of the steady track record and stable trajectory of good decision making and execution.

If the economy tanks, it makes Amazon's review data and free shipping even more valuable. If I'm strapped for cash I'm less likely to walk into a retailer and pay top dollar for something with no reviews.
Seedbank – Collection of Interactive Machine Learning Examples by Google
This is great! I might end up doing something like `alias todo=vim -o ~/{todo,progress,done}`

edit: I was curious so pulled up the man page: changing -o to -O opens the windows horizontally stacked.
Nabla containers: a new approach to container isolation
Yes, this is an important advance in the field. Google's been working on this for the past few years after convincing Viren Jain (https://www.janelia.org/our-research/former-labs/jain-lab) to leave Janelia and perfect this technology. Very cool stuff! Even as early as two years ago, it generally took a grad student months to years of work to manually reconstruct 50-100 neurons (see https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4844839/); now this same process can be done in virtually no time at all. Expect to see several more papers in the future involving reconstructions of thousands to tens of thousands of neurons, instead of the hundreds we've been seeing. Exciting times!
Amazon Prime Day 2018: the best deals
There is more money in circulation and it needs somewhere to go. Investors put it in stocks. This is part of the reason the entire market has risen, amzn is just at the front of it.
The fiduciary thing to do if you're in this spot is simply to issue equity like it's going out of style: If the market wants to pay you way more than you're worth, take them up on it and stockpile cash for the lean years that are coming. That said, depending on the time horizon of your existing investors, this may not be popular and you may find yourself out of a job.
So it's similar to the $CURRENT_FAD coin valuations in that if Bezos were to try to liquidate all of his position it certainly wouldn't net him that publicised amount because there's not that much liquidity.
OT: I've always wondered, if some multi-billionaire became personally offended by some lesser multi-billionaire and decided to destroy them, what could they do? Assume that they don't want to do anything illegal enough to get themselves into serious trouble.

For example, suppose Bezos decided he really hated Rupert Murdoch ($15B). If Bezos decided he could happily live on a mere $100B, that would leave him $50B for the "Destroy Murdoch" project. Might not be able to actually destroy Murdoch for that, but could probably make his life very annoying.
Isn't that exactly what you said a couple months ago?

At this point it's pretty concerning that you still have nothing to say publicly except "we're working on it", no detail, no schedule, no nothing.
> Except nowadays even small local police departments have tanks and swat teams.

Successful uprisings by the masses against the elites almost always involve substantial fractions of the military, police, and other security services defecting, either abandoning their gear or taking it with them and turning it against the elites.

Until we get robots replacing guys with guns, that's going to be a recurring failure mode for narrow elite rule.
Would it not be simpler to issue an SSL certificate for the IP address for the outer connection (kind of like how EAP works with inner and outer identities) instead of relying on a DNS RR?
An overthrow would look entirely different today. The masses wouldn't carry pitchforks, they'd use computers. (I don't know how, but assuming people today wouldn't use computers is definitely wrong)
i've read about this phenomenon before. speculation was that many/most prices are set automatically, and that these absurd prices were somehow attempts to manipulate other prices.

money laundering also seems like a good explanation.