skysight-inc/HackerNews huggingface dataset:
Well yes, that pretty much my point. The original interface as you defined it is either unreliable if you interpret it literally (and allow fixed-aspect-ratio or even fixed-size rectangles) or completely pointless if you interpret it "smartly" (since it pretty much mandates one specific implementation).

Are you somehow under the impression that I am advocating the example I gave as something to emulate? Your argument seems to be that the example of bad design I gave, is bad design. I'm aware of that, thank you. I'm trying to illustrate why it's bad design. It turns out that this particular bad design is common enough that it has been studied, and it has a name (well not quite, but the principle you have to follow to avoid, it has a name).

You may think that my example is contrived, but exchange Rectangle for Window and FixedAspectWindow for Square, and you have something which looks reasonable to most OOP novices. The reason the problem arises is that in classical OOP we are taught that subclasses should be specializations of the parent class. It seems reasonable therefore to make Square a subclass of Rectangle (or FixedAspectWindow a subclass of Window).
>The "ize" suffix generally means "make something more X." Americanize, tenderize, civilize, legalize, etc.

No it doesn't, the sense of increasing a preexisting quality is not what -ize does. It just makes verbs.

To fossilize isn't to make more like a fossil; dinosaurs were alive in the beginning.

To agonize is to experience and exhibit agony.

To hospitalize isn't to make someone more so in a hospital, but to put them there in the first place.

"burgle" isn't the normal verb, both "burgle" and "burglarize" emerged at about the same point. Two different ways of turning an old noun "burglar" into a verb.
Part of the issue with adults getting treatment could be down to a combination of a belief that folks grow out of it and insurance - unless that has changed. My brother was diagnosed with ADHD as a child. The medication that worked for him wouldn't have been covered by insurance after he was 18, from what I understood. I don't know exactly why this was (I'm 11 years older, so missed some of the discussion), but if similar things are true there might be folks that simply cannot get their meds, if they know about them.
Why Do We Judge Parents for Putting Kids at Perceived But Unreal Risk?
Yeah, that wording is odd.

Storing your secrets in plain sight*

* as long as plain sight includes a remote service call at some point
320,000 not 32,000?
I'm not really commenting on the relative merits of the technology or who should use what. It's about the lack of admission that there is other stuff and other requirements
Why Unilever Really Bought Dollar Shave Club

http://www.bloomberg.com/news/articles/2016-07-20/why-unilev...
How does it compare performance-wise?
More to the point: Climate is global, Weather is local.

Even if your summer was cold, it was extra hot elsewhere and more than cancelled out the difference. Next year it could be reversed.

In fact the reversal did happen. The US had an unusually cool and wet summer last year and an unusually hot one this year.
We're using grpc-java in production for some of our based backend system, slowly replacing our old netty/jackson based system using JSON over HTTP/1.1.

The performance is good, and it's nice to have proto files with messages and services, which acts both as documentation and a way to generate client and server code. Protobuf is much faster, produces less garbage and is easier to work with than JSON/jackson. The generated stubs are very good and it's easy to switch between blocking and asynchronous requests, which still only require a single tcp/ip connection.

We've had two performance problems with it:

1. Connections can die in a somewhat unexpected way. This turned out to be caused by HTTP/2.0 which only allows 1 billion streams over a single connection. Maybe not a common issue, but it hurt us because we had a few processes reaching this limit at the same time, breaking our redundancy. It's easy work around it, and I believe the grpc-java team has plan for a fix that would make this invisible to a single channel.

2. Mixing small/low-latency requests with large/slow requests caused very unstable latency for the low-latency requests. Our current work-around is to start two grpc servers (still within the same java process and sharing the same resources). The difference is huge with 99p going from 22ms to 2.4ms just by using two different ports. Our old code with JSON over HTTP/1.1 implemented using jackson and netty didn't suffer this unstability in latency, so I suspect grpc is doing too much work inside a netty worker or something. I haven't yet tested with grpc-java 1.0, which I see has gotten a few optimization.

Still, these have been minor issues, and we're happy so far. The grpc-java team is doing a good job taking care of things, both with code and communication.
Android Nougat's single most confounding feature
Stop the inner struggle over whether your thoughts and feelings are “right”
Right right.

Well, then, I suppose what I'm saying is: in an information-age society, it's the child exploitation/molestation that's properly a crime; capturing the same as a piece of media is no modifier.
This is a Pigovian[0] tax so the tax by itself makes the world more efficient. Also since most governments can borrow lots of money, tax revenue is fairly decoupled from government spending.

And if people are concerned about an increase in tax revenue being spent on Social Security or Medicare they could just use the money to write everyone a lump sum tax refund.(or reduce the income tax etc...)

[0] https://en.wikipedia.org/wiki/Pigovian_tax
Oh, I totally get that society has benefited from our 150 years focus on using the concentrated energy found in the ground.

The hell of it is that we've only had a reasonable understanding of the dangers associated with using this energy for a few decades. I find no fundamental fault associated with their decisions back in the day.
I've been seeing more and more 'compensated' reviews on Amazon, or even worse, lots of suspiciously short 5 star reviews. Some product groups are worse than others but it only seems to be getting worse.
I'm glad amphetamine treatment is effective for you. I hope you can recognize that your situation (an adult, in full control of your own care, with informed consent at all stages) is very very very very very different than putting 6 year olds on ritalin because they're fidgetting at their desk in class. This is really done in America.
> It's a perfectly fine analogy. They're both problems which are problems because of our society.

One is a disease caused by conforming with our sedentary society. The other is what we label those who refuse to go along with our expectations for school, work and conformity. Really, they are more like opposites of one another.

> You're suggesting physical illness is more "real" than mental illness.

That's right. It's pretty hard to rigorously define a mental illness outside of the context of a given society. Mental illnesses are not real in the same sense that, say, a broken leg is real. They are socially determined. Other societies outside the West don't have the same kind of mental illnesses we do.

> ADHD affects many aspects of a person's life—and adults too. Living independently with unmedicated ADHD can be incredibly difficult. Everything from social life, working, to driving, is harder/riskier.

Being ugly makes life hard, too. Does that mean being ugly is a disease? Should all of us ugly people get plastic surgery to treat our disease, as a matter of course?

Ultimately, none of this shows ADHD is an objective disease. In the anthropological view of mental illness, it is a disease - because our society claims that it is, and for no other reason. Psychiatrists are not that much different from witch doctors. (https://news.google.com/newspapers?nid=1755&dat=19710325&id=...)
Beyond Code
>we have no idea what the long-term consequences of that would be

Perhaps you have no idea, but we actually have a pretty good idea from 80 years of stimulant medication usage.

Do you have data suggesting negative consequences of decades of stimulant usage?

No? Then it's surely the best decision to ignore this FUD and continue treating people of all ages with stimulants which have been shown to be safe in such low doses.

Particularly when we have evidence suggesting not medicating is dangerous, as I mentioned in my other comments.
It would be nice if there were build warnings npm acceptance would give you so you had the chance to clean up things, such as build tests etc and also a recommended standard way to build them. Then if npm developers were lazy in that sense and letting the warnings pass regardless, when you install an npm, it would give you a warning, "this asshole put in a shitty module" or something more PC.
Show HN: HzQL – Data Fetching for React Using Horizon 2
I was a bit too broad--by "Europe" I meant France, as when French courts tried to apply the Right to be Forgotten principle to information about French citizens that was stored outside of Europe.
*PowerPack (100kWh vs 7 kWh)
So gRPC evolved out of Stubby. An excellent show of force would be to announce that Stubby has been internally replaced by gRPC, so that the "gRPC is internet scale" assertion can be more than just a gimmick. Knowing nothing of the first one and very little of the second I imagine it would be some important task, so I have to ask: do you plan to internally run with the stuff you open-sourced ? What is missing ?
1% of Chrome users using Chrome packaged apps is an extraordinary large number! This is an absolutely stupid decision. Chrome apps gave a clean convenient way of packaging offline apps without bundling a huge runtime like the electron framework.
would love community contributions :-). I see some efforts in community but nothing very concrete yet. You can suggest project in gRPC Ecosystem. https://github.com/grpc-ecosystem
> Just keep in mind that there is a huge variation, not every AD(H)D-er is the same.

I covered this later on. The whole "sometimes medication is necessary" bit.

> Then you should possibly contact your doctor, it shouldn't be that way as long as you follow the recommandations, but sometimes even minor changes can make major differences, even changes in dosage or even type based on the same active ingredient.

It's less the effects of the medication and more the way that medication impacts your life as an adult. You're often accused of not actually having ADHD and faking it for "legal meth". Some people actually struggle with the temptation to use recreationally.

> This isn't R, is it?

Relevant? Yes. It is. If you can't make it through a workday without your medication, you can barely handle your social life. ADHD trying to be social is always late, always harried, always forgets to bring the thing it promised to bring, and much more. Trust me, I can't tell you what my plans are for this weekend without checking my calendar and every appointment on that calendar has a checklist of things to bring if any.

The problem is, when you go off meds, it's ten times worse than if you never took medication. Alongside that, there are the usual stimulant withdrawal symptoms, though to a lesser degree if you're not taking above as prescribed.

The reason people do this is because if you find something that works for you and you take it daily, you'll be well past the maximum dosage in a few years. Then you'll have to change medications and that medication may not work as well or the same way. You also may end up with withdrawals.

Furthermore, you really do need a reserve of pills. The only way to get that is to skip doses. The legal structure around Schedule II drugs is fuzzy. Most pharmacists will only allow you to refill your medication 30 days from the fill date of a 30 day prescription to avoid liability. If you try to fill it and something goes wrong, you could be up the creek on a Sunday with a week of work ahead of you. Insurance, pharmacists refusing to fill a prescription because they suspect you're abusing (which is literally as little as, "I thought they looked strung out"), family emergencies, and everything else under the sun can cause this.

Also see the bit about pharmacists refusing to fill prescriptions. This does actually happen, a lot.

Being prescribed a Schedule II substance is bad enough, but pharmacists and pharmacies tend to take adults and ADHD medications to the furthest limits legally possible to make your life a living hell. Imagine if schizophrenia medication was that difficult and strict to keep a steady supply of. They have trouble getting a refill and it's completely within the realm of possibility they could lose their job (or worse).

Same thing with people with serious, debilitating ADHD.
> After so many years of debate and study, the question of moving remained an emotional topic

And it will always be an emotional topic. It's tough to let go in these situations.
The green seems a bit harsh, yes.

But all in all it is a good page for people with poor vision.

No low-contrast and no white background, which are both considered bad on screens.
Book Launch of M.J. Dougherty’s ‘Life Lessons from a Total Failure’
Those models don't take industrial development into account.

If you assume comparative advantage is static and a 3rd world country will always be a 3rd world country, removing trade barriers appears to be more efficient.

In the 1840s it was used to justify exporting food from Ireland while the Irish died in a famine: http://www.historyireland.com/18th-19th-century-history/food...

So it's not like this is news.
No. Modern understanding is that it is hereditary and only can be amplified by environment, but it is either you have it, or you don't.
Performance and versioning are two large benefits.

Performance benefit comes from the fact that schema is defined on each side (generally server / server) so you only send the information bytes. With a good RPC system you can also access specific fields of your structure without unpacking (or very fast unpacking, depends on what RPC system you're using).

gRPC uses Google's protocol buffers.
https://developers.google.com/protocol-buffers

Comparable systems use other IDLs, e.g Facebook uses Apache Thrift.

Versioning is easier because your fields are defined explicitly, so you can ignore clients sending an old field to no ill effect (again, you can access individual fields without unpacking). Whereas with json you need to deserialize first. Also if your schema changes when using json without protobufs, you may experience either the client or the server making the wrong assumptions about input data. Whereas there is no ambiguity with protobufs; future changes to proto messages add fields and old fields can just be marked deprecated.

RPC is preferable to JSON for server-to-server communication, but client-server still often uses json just because it's often easier for your client app to interpret json. Systems like gRPC allow servers to emit json as well: https://developers.google.com/protocol-buffers/docs/proto3#j...

I've heard of performance-oriented web apps using protobufs on both client and server.
There are also great children's authors in English - A.A. Milne, Oscar Wilde's stories, Mark Twain, Kipling, Baum (Wizard of Oz). All of these could be accessible at various stages within grades 2-5.
True story.

I don't know how long it will take us till we finally stop with the white backgrounds...
Yes, some people wondered if PyPy is "the future of Python" - but it didn't take over the Python ecosystem. If the initiatives mentioned in the article will yield a 100%-CPython-compatible implementation that is always faster and doesn't have big warmup slowdown, it could be "future of Python".
I see DSC every on this thread, looks like the acquisition of Dollar Shave Club is going to do to the Consumer packaged goods (CPG) the same Netscape IPO did to internet companies.
Utilities have to have excess capacity available to spin up instantly to meet demand. So you have to compare the cost and maintenance with a natural gas peaker plant. I think there is a place for Tesla's PowerPack to replace the least used peaker plants.
"internet scale" is something of a term of art at Google. It's generally used to mean "scales to build systems that do things like 'search the entire contents of the Internet'"
Could you expound upon the problem of keeping your protocol definitions in sync? In my experience this is the strength of protocol buffers: if you follow a few rules, your systems can successfully be decoupled. Some of the rules are never re-using a tag number and never changing a type in an incompatible way (e.g. string->bytes might be ok, but int32->bytes is not).
Hi Darío,

When compared to Tripwire, AIDE, Graylog or other conventional SEM solutions, Trailbot offers a much more extensible and powerful policies engine that allows anyone to write, fork, customize and share their own smart policies written in javascript or coffeescript.

Other big point in favor of Trailbot is that we are strong believers and supporters of the technological sovereignty movement, so we open sourced all the components in Trailbot's stack so that you can self-host the whole thing in case you don't want to trust any third party.

In addition, all traffic going between Trailbot Watcher and Trailbot Client is encrypted end-to-end using asymmetric cryptography (PGP with 4096 bits keys).

Thanks a lot for your interest, we hope you find Trailbot useful :)
>Psychiatrists are not that much different from witch doctors

I wish you had said this several comments ago.

We have nothing to discuss here.
This is sort of a classic example (with the behavioral expectations of the interface that you have stated in the text, which are not expressable as a constraint in Go code -- or in most languages where the LSP is a concern -- but which often would be documented as an expectation of the parent class in a class-based inheritance system, and would usually be expected from the naming of the class/interface) of why mutability is problematic in terms of the LSP, as its not problematic at all if the signature is:

type Rectangle interface {
SetHeight(int) Rectangle
SetWidth(int) Rectangle
GetHeight() int
GetWidth() int
}

Though, perhaps more than the LSP, this should be a textbook illustration of why representations of mutable objects in a program should not be named after entities in the domain whose essential identity is associated with one or more attributes that are mutable in the representation.
I had a new AirBnB account (0 reviews) and booked 3 places in advance and had 0 issues. Hosts are just glad to take someone's money most of the time, and aren't very picky.

I don't think they'll need to game the system with fake reviews for a long time.
Negligible senescence
>Fools are very clever.

this is like gospel.
Pokemon Go Is Already in Decline
I'm not sure I buy the reciprocal-altruism argument, but the article's thesis seems ineluctably true, however unsavory.
If you're on macOS / iOS, you can use the reading list. When you add items to your reading list from Safari, they get synced to your iOS device so you can read them offline from any of your devices.

It does require iCloud but nothing beyond that.
> The amount of knowledge to be good at all of this far surpasses the "oh, they only know javascript" naivety that I hear from other developers.

No, that's not it at all. I am friends with front end guys and I'm aware at how much work it takes to just keep up with and be good at the framework du jour, Backbone or Angular or React (then Flux, then Redux) and whatever's next from there.

Being good at markup and layout, and being good at a front-end framework, are not skills that are direct analogues to systems-level issues that plague Node.

For example, Node LTS's Buffer() uses UInt8Array on the browser, but a malloc() on the server side that may return insecure memory with leaked information from other parts of the process. libuv's event system is written in C. Socket programming on -nix is nothing like using a WebSocket library in Chrome, and the front-end has no concept of filesystems outside of localStorage or limited WebSQL use. When was the last time a browser had you deal with malloc()?

How many front-end developers understand the performance of writing files to disk with different filesystems, master-slave or master-master replication of databases, building solid server-side deployment workflows, securing their code and their servers from all the things that can go wrong? This skillset generally doesn't exist; it's abstracted away by the Chromium sandbox, or the interpreter. Front-end generally does not require knowledge of the principles of the underlying operating system and architecture to get the job done.

On the backend, all of these problems become apparent. It takes a different way of thinking, and a different understanding of a computer system. My original comment to rdtsc is just that -- a "JavaScript" developer that works on front-end tech only doesn't have an adequate idea of how these things work to build good server-side architectures, and Node.js is not the tool to use for those types of things.

Frankly, if they only know JS, they haven't touched these things at all. Outside of Node and Electron, virtually nothing on a system outside of a browser is written in JS, so you wouldn't have picked up these systems skills in JavaScript.
> It’s unlikely Google is deploying these funds to dig back into social media or generate massive returns. Instead, these deals seem mostly about Google’s ongoing attempt to keep familiar engineers close to the company fold.

It kind of looks like an expensive way to keep the expertise of these employees available and friendly to Google.
Of course this was a single example.

The main point is that the big O notation ignores the cache misses.

For example:

- try writing a quicksort as a template to avoid the comparison function calls

- in the sorting loop, switch to an insertion sort when buckets have <= 32 elements

You will see speed improvements of 2 to 3 times faster than a vanilla implementation of quicksort.

Although this approach is slightly more complex on the abstract level, it's faster because it reduces lots cache misses.
Pinterest acquires Instapaper
I think human systems are complex enough that the butterfly effect leads to inherit unpredictability that cannot be foretold by any model.
> Wouldn’t it be great if you could just walk up to any cafe, the monitor senses you and knows exactly what you want, and you just push one button and wait for your coffee?

No.
Spin-ins can be a great idea, and have proved to be very successful for Cisco. However it appears that the article explicitly states:

> the search giant does not have special rights in the terms, like first dibs on an acquisition

Which to me makes it a very different arrangement.
The article does raise an interesting point in that most people don't necessarily see food as an inalienable right that people shouldn't need to pay for.

But to counter that point our government has set up a system of farm subsidies and management to ensure affordable food is available to pretty much anyone... and even those who don't have the money get food stamps.

Seems like the government tries to do the same thing with the health sector, yet it still costs more than most people can reasonably afford. It seems like there are clear market pressures and competition in food production that drives the price down to a minimum. That does not seem to be the case with health care.