skysight-inc/HackerNews huggingface dataset:
You have an agenda and therefore make statements that pretend to be factual 'well we all know that, don't we?'. Plenty of other places to conduct that game.
This also pops up in modeling sets. You can define an immutable set by its explicit list of members (intrinsic) or by function that tests membership (extrinsic). If you want to have only one unified type Set that permits both methods of construction, it has to be invariant with respect to the type of its members. This is because the intrinsic approach is covariant (just as a list is) but the extrinsic approach is contravariant (just as a function is in its inputs).

I wish I had a really clear example of this, but it escapes me right now.
I think it is xenophobic in Japan, but the point they were trying to make is more that many of the jobs require licenses for anybody, and much of it very difficult for foreigners because it is so difficult to learn the language.

To give an example: a huge number of people from the Philippines, Malaysia, etc are recruited and trained as nurses and caregivers for the elderly - but after intense training, the majority are sent home only because they fail the language requirements.

You really can't be a nurse to an 80+ year old if you can't speak the language or read the medicine bottles, xenophobia or no xenophobia.

I don't think they are being clever enough in finding ways to get around that problem, but at the end of the day it is not that they are trying to keep foreigners out, just that the bar is very high.

This is a different issue from things like refusing to take in any refugees (something like 27 total in 2016) or offer permanent status & long-term to workers (much like the German "visitor workers"), which is driven entirely by xenophobia IMHO (and the open statements of many elderly).
> On the other hand, if you realise that a square is a rectangle with the same width and height, why should you bother at all with creating a new class? A new constructor (or an helper function) should be all you need

What if you have a function that only knows how to operate on squares? Forcing it to accept Rectangles will be unnatural. Of course we can use just a single type Rectangle with two constructors, but inherently that's throwing information away about certain conditions we know to be true.

Even in functional programs when we don't have inheritance, we still sometimes need conversion functions between related types and whether or not these use option types illustrates essentially the same idea:

data Rectangle = Rectangle Int Int

data Square = Square Int

recToSq :: Rectangle -> Maybe Square -- may not succeed; like downcasting

sqToRec :: Square -> Rectangle -- always succeeds; like upcasting

Indeed, this is exactly what the "coercion semantics" in subtyping means: whenever S is a subtype of T, we can generate a total function from S to T. I believe this is also called "inheritance as implicit coercion" in https://www.sciencedirect.com/science/article/pii/0890540191... Quoting from the abstract:

> We present a method for providing semantic interpretations for languages with a type system featuring inheritance polymorphism. […] Our goal is to interpret inheritances in Fun via coercion functions which are definable in the target of the translation.
During the Vietnam war that is what happened. Soldiers were treated like baby killers upon returning to the US.

There was a sort of rebranding of the American solider after that catastrophe. The American citizen is now supposed to see the American solider as a utilitarian third party cog in a system where soldiers don't make decisions they just execute them. So if you're unhappy with the war you take out your disapproval on the government not the lowly soldier who is "just doing their job/just following orders" etc.

Obviously this is very ethically questionable but I'd say it's the standard attitude towards the American soldier in my experience (in group social settings with ex-military people). The military is simply the hammer, the will of the people and politics. The hammer only acts when the hand picks it up hence we're supposed to hold the hand (government) accountable not the hammer (military).
Maybe 2009 should be added to the title.
No, because the scale is the same. You can't just move the goalposts, so to speak, of the scale is reference after the fact.
People think that this is a bug. But it’s not. The way it is rendered helps actually people to read the message faster. This was proven in studies.
Sumo tools are helping Websites grow fast – TOPITGUY
Me personally, I've had less issues with iOS 11 than with previous iterations and I'm happy overall with wit iOS 11.

Is the data (say, normalized number of issued bugs) really showing a decrease in reliability of iOS over time or rather the contrary?

Not an Apple evangelist here, but it would be good to be fair.

Let's please remember that often a few loud voices are just that, loud, but few.
I have no problems with criticizing US government agencies for shady or illegal things they did, but there are plenty of posts about those topics already. Doing so in a Chinese related thread comes across as whataboutism, especially because whatever good intention you may have, it is indistinguishable from those that attempt to direct the discussion away from China's issues.
You keep accusing me of logical fallacy but are using them yourself so I can't have a rational conversation with you. There is little CPU idle when you are doing TCP packet pacing, TLS in core, and edge compute. That's what I do on a 30Tbit/s CDN. I was just hoping you might reconsider the thread per connection but it appears not yet. Anyway congrats on the release and have a good day, sorry if the only takeaway you got from this is to be antagonized.
I think a big part of this is very much a psychological issue.

Because squatting isn't 'common' for many people, it is experienced as more uncomfortable than it really is (even when it's done right - where there's no permanent tension from balance on your toes, for example).

Another example would be sitting cross-legged (or whatever that one leg over the other thing is called) as a man. I find that I and many guys I know naturally feel comfortable doing this, but we're taught from a young age that it's 'gay', so we learn not to do it.

I've noticed that people with autism spectrum disorder often have really odd ways of standing or sitting, and one particular thing I've noticed is that this often includes squatting, sitting cross-legged / yoga-style, or sitting on the couch with your legs folded up close to your body. In my case, these are things I often consciously avoid doing when other people are around, because it's perceived as odd or childish (or at least I think it is).

It would make sense that people with asd might just not care about or know these things, and do what's naturally comfortable/efficient.
C.S. Peirce, in "The Fixation of Belief", argued that people progress through a series of "methods" of deciding what to believe.

First was the "method of tenacity", which simply consisted of someone believing whatever they had always believed. But this has difficulty as soon as someone runs into a person who believes something different. Who is right?

Next came the "method of authority", deferring to some trusted third party. But again a problem: what happens when that person's social group encounters a different group who follow a different authority?

Next is the "method of a priori", or "method of philosophy", which attempts to deduce the truth from self-evidently true first principles. But of course people may disagree even there.

Finally comes the "method of science", which constantly criticizes and tests itself, knowing and accepting that it is fallible and in need of continuous effort to avoid falling into false conclusions.

Peirce expressed confidence that there is objective truth, but skepticism that any method of human investigation can ever definitively arrive at it. Yet he used this as a definition; truth, he said, is "the opinion which is fated to be ultimately agreed to by all who investigate".
I've been developping ios apps since ios 3, and i can't tell you how glad i am to see this apple media bashing trend. They build the most expensive products, lock you in using their tools and their hardware, take a 30% cut on all income, rejects apps for very very various reasons, some of them borderline illegal (like the competing with apple apps clause), and they're the most profitable company in the world.

AND, their software quality has been declining for the last 4 years without any sign of them taking notes. So, yeah, please more shitstorm, someone needs to shake something inside, because a whole ecosystem of businesses (like mine) has been built relying on their product being flawless.
Humans being abysmal PIN and password generators, a decent fraction of phones can probably be unlocked within 5 attempts by just trying 123456, 123123, 111111, 654321, 000000. Unless/until the phone forces the user to learn rather than select a PIN that's probably going to remain the biggest vuln.
For example: once you see what the compiler does, you can write readable code without sacrificing efficiency.

When you don't really know what's going on under the hood, consciously or unconsciously you write code based on assumptions, which a lot of the time are wrong. It's very hard to exemplify because the mental model programmers have about programming can be very different, and therefore the benefits of a better understanding provided by learning about compilers can have different effects on different people. And still, everyone who has tried recommends learning about compilers.

Programming languages are our most fundamental tool as programmers, and yet it's pretty much impossible to make a fair assessment of why they are designed the way they are, why they work the way they do, why they provide the abstractions and structures they provide, until you try for yourself. Understand programming languages better => use them more naturally.
> But taking a position where you say it's never the right tool or, conversely, always the right tool makes you sound ignorant and inexperienced.

Neither of those positions is advocated by the article, so who exactly are you talking about?

In fact, you seem to have assumed that "make sense" in the title referred to the issue of whether or not to use inheritance, whereas in fact the article is concerned with the customary conceptual understanding of inheritance within software engineering, and whether this understanding "makes sense".

This is an easy enough mistake to make simply from reading the title, but one that should have been cleared up in a matter of seconds once you started reading the article body, which I presume you did, rather than immediately rushing to the comment section?
For sure. And since all functions can throw exceptions, a partial function is just a function that just happens to throw a lot of them :)
I think maybe that is beside the point.

If new money is created, and the new money is not distributed evenly among all citizens, all those citizens who receive less than an equal share are harmed while those who receive more than an equal share benfit.

It seems like the central bank, in this way, harms most people on a regular basis.

I am not prepared, however, to argue that Bitcoin is any better in this respect.
Everyone i know who's an iOS developper noticed the same thing about iOS11. But you're right in the sense that every new release (at least since iOS 7) brings its share of bugs and slowdowns. Which isn't a reason not to be angry..
"Also, if we biked the same way we drove cars, that is, in the middle of a full lane, then we wouldn't be at risk of being doored either."

That's exactly how I ride, it's called the primary position and in the uk it's what the government recommend.
The calendar for productive teams
Why would they think that? It won't say "forked from foobar/foobar.com" and it won't be under the footer org.

That's like me make a random repo and adding a readme that says "official public windows 10 source repo"
For those in the thread looking for advice, I recommend performing overhead squats. Just use a broom handle with a wide grip. It's almost impossible to squat incorrectly when doing overhead squats and imo this makes it an excellent intro. Additionally, it feels amazing once you get stretched and comfy.

I trained in Olympic weightlifting for a bit (non-competitively) and this is how they started inflexible people and noobs in general, and as someone who's taught many to squat, I've never seen it done as smoothly and have adopted this method of teaching.
But actually aside from the example in the article being rather silly I believe that something we could learn from this as developers is that in some situations it might be valuable for us to record our monitor with a high speed camera and look at it slowed down.

This mainly has value for game development I think, but other programs that feature a lot of animation could benefit from it as well.

When I say “high-speed camera” you might think of cameras that cost in the range of hundreds of thousands to millions of dollars but actually from what I’ve seen on YouTube even a camera that would capture some hundred FPS could provide interesting insight. Preferably at a not too low resolution though. Some cameras like that exist for the price around some hundreds to under a couple of thousand dollars. It might be worth looking into. And let me know if you find one that seems especially good and with not too big of a price tag because I am looking too and haven’t found quite the perfect one yet.

Btw it probably helps if you have some other intended use for the camera as well like for example to take photos and pictures of things in the nature.
It seems like they don't have the exponential delays, but they do have delays. Why else would it take 3 days to unlock the phone if it has a 6-digit passcode?

Apple's security paper says it would take more than 50 years to brute-force an alphanumeric 6-digit passcode at 80ms per iteration. I suspect that's still correct here (if “3 days or more” is for 6 numeric digits).
When I was blundering about in Amsterdam I was very pleased to note that all the cyclists had bells on their bikes which they would ring when pedestrians were around, or clackers on the spokes so I could hear them coming. The sound of a bike bell became very recognisable very fast.

I can hear cars coming because they make a lot of road noise, bikes are ghostly quiet.

Yes pedestrians should be more vigilant.
I don't understand why some functional programmers have so much difficulty with the concept of inheritance. Discriminated Unions and pattern matching is just inheritance and virtual dispatch turned inside out. Yet no one is naval gazing about whether their algebraic datatypes are 'ontological' or not.

I also really wish people wouldn't try and dismiss concepts they're ignorant of:

because multiple inheritance is incompatible with the goal of implementation inheritance due to the diamond problem

I have no idea what that sentence is supposed to mean. It doesn't make sense even given their own definition of implementation inheritance.
my texts in gitlab trying various org modes and tasks and mindmaps + browser bookmark extension with tags and commenting + copy of medias in seafile or syncthing

and what ever project enforces, isolating by folders or virtual machines
Requiring payment in advance solves most of that. The rest isn't solved by any current or proposed idea; some people will just be sneaky.
Sumo is not doing a normal squat their feet are spread much farther apart. This allows for all that belly fat, but significantly changes the stance.
I don't get it, from what I can tell Varnish uses worker threads exactly as you're describing. What's the difference you're talking about?

Regarding thousands of connections, people on the web report Varnish handling 10k connections[1] just fine after a few tweaks, and this was ten years ago. How can it suddenly be a problem?

[1] https://varnish-cache.org/lists/pipermail/varnish-misc/2008-...
ESCORTS MARILIN – ESCORTS – ESCORT ATHENS – ESCORTS ATHENS
We played Sequence all the time.

Tallil, Iraq, 2008
First data breach publicised under Australian notice scheme
I'd be inclined to agree if it weren't showing dark colored text on a dark colored background.
This is cool.

Is there a way to trick Spotify into streaming AAC like on the Chromecast?

Sad to say it, but Spotify's AAC streams sound much more atmospheric than their Vorbis. Could be different low pass filters.
I don't know. I'm not an american. World is a mess though, and if people try to make sense of it by the use of some very large highlevel abstractions like left/right/democracy/islamism/etc. they're likely to fail.

I'm sure if someone tried, they can find good sounding justification for a lot of things within any of these highlevel thought systems. For example my mind boggles at the fact, that part of american left is pro-Assad (which is basically a horryfying middle-eastern dictator). If what he does would be happening in America, they'd be horrified. Currently there's some pushback against a new proposed CIA chiefess, because of overseeing torture. Yet Assad is acceptable despite running horrendous prisons like Adra, Sednaya, etc. (read some HRW reports, see "Caesar" photos).

To me it's more interesting to look at behavior/stated motivations of individual people, which leads to a more realistic view of the world. Yet it will cover very little, almost nothing, because it's hard to generalize from that.
> and you can't just will it to have a different width and height and expect it to obey you through some force of nature

I think you have let functional programming and immutable data-structures bias your world view.

The real world is mutable and the wonder of the digital mutable world is that it is pretty much just will-alone that can set attributes as you describe. It is immutability that is a trendy but artificial layer on top of this reality.
Yes it's true that discriminated unions and pattern matching is just inheritance and virtual dispatch turned inside out. But discriminated unions and pattern matching are easier to use, easier to understand than inheritance and virtual dispatch.

And you don't need to struggle with principles like "is-a relationship" which can be confusing.
I'll leave this old comment of mine here, since it's relevant:

https://news.ycombinator.com/item?id=10070140
Facebook without PII is worthless. All that security is irrelevant when you can just bypass it all through the analogue hole. Chrome Headless just makes it easier.
[1] Campaign finance law, from the FEC:

> Using campaign funds for personal use is prohibited.

> Commission regulations provide a test, called the “irrespective test,” to differentiate legitimate campaign and officeholder expenses from personal expenses. Under the “irrespective test,” personal use is any use of funds in a campaign account of a candidate (or former candidate) to fulfill a commitment, obligation or expense of any person that would exist irrespective of the candidate’s campaign or responsibilities as a federal officeholder.

> More simply, if the expense would exist even in the absence of the candidacy or even if the officeholder were not in office, then the personal use ban applies.

[1] https://www.fec.gov/help-candidates-and-committees/making-di...
The balloon probably isn’t specified to clip the text because normally it is big enough anyway.
Zuck could hire Jesse Einsenberg for the ads.
Technically, this does not absolutely have to be a SEP vuln. It's possible that the PIN is being stored (not properly zero'd-after-use) somewhere outside the SEP, i.e. a pinpad entry buffer or something. Often criminals do not think of, or are unable to, turn off their phone when being arrested. Furthermore the iPhone battery is not removable and some portions of its DRAM - in theory anyway - could persist even when the phone is "off". Apple has (or at least - prior to public outrage - had) a fairly loose definition of "off" for other aspects of the system, such as bluetooth.
> def tail_factorial(n, accumulator=1):

> if n == 0: return 1

> else: return tail_factorial(n-1, accumulator * n)

The second line should be "if n == 0: return accumulator"
My friend participated in local war in 00s. They did not see much, generally sitting in trenches, but heard stories from spetsnaz guys. How anyone, including women and children could (and did) shoot at them or throw grenades after trading, smiling and handwaving. I’m not justifying orders they got there, but that definitely ruined their belief in humanity and peace, if any pre-existed. All these civilians were perceived as a real potential threat to their lives, not to some high political forces – that’s where violence grows from.

This is not a single story of war: my granddad took part in famous caribbean crisis (he cold-opposed to reds for a whole life). While cuban people were mostly on ‘our’ side, he told that leaving their dislocation at night or unarmed was strictly prohibited, since chances of returning in a box were too high. When people have no power, they figure out own ways to fight and these ways can do horrific things to their and your minds.

“But - make no mistake - many (most?) males are capable of such acts.”
This thing is not their natural trait, it is an adaptation to not lose their minds in a new reality that they don’t actually support or understand. I blame those who throw them at it sitting in their soft chairs. It is their psychological problem, they are real psychopats.
I’ll have to write that down so I don’t forget it.
The general solution to that is to have a debug compiler setting to turn off TCO when debugging.

Of course this leads to its own problem if your now unoptimised recursive blows the stack...
I normally write my CSS transitions [1] at 3-5x the time they will be in the final version. So if I intend for `transition: all .3s ease`, then I'll write `transition: all 1s ease` and test it like that. I actually try different speeds, first a decent one (2-3x) not to be slowed down and then a slower one (~5x) to make sure it is works as intended. I've found this much easier to debug and find issues.

The only problem with this approach is that, since you are making things in slow motion, it's easy to over-animate things and make it look messy on normal speed. So just compensate for that and everything is fine.

[1] example: https://picnicss.com/
Note that there is a compiler plugin for mutual recursion in Scala. https://github.com/wheaties/TwoTails/blob/master/README.md
The thing is, rectangles are a kind of square, and squares are a kind of rectangle, from different perspectives.
> A common example that is used is when you have a Rectangle.setSize(int width, int height) method.

Isn't the fact that we defined a method that changes both sizes at the same time the problem in this case? I mean, if we had two independent methods like `setBase(int)` and `setHeight(int)` this wouldn't be a problem at all (with the assumption, of course, that you accept the fact that the base changes when you change the height).

Am I creating a different class of problems this way?

Also, this seem rather specific to rectangles and squares. Do real-world objects (think `List` in Java) have this kind of problems at all?
You would be surprised. Some of the most terrible people in the Nazi concentration camps were fellow prisoners tasked with being Kapos (prisoner overseers). The Kapos were spared some of the worst labor but in exchange had to show extreme brutality to the prisoners they oversaw so the Nazis wouldn't question their effectiveness.

This isn't the only example: Stanford prison experiment and the Milgram experiment. I'm sure there are others. When you value being alive many people will do anything to survive.
It's a pity that the article didn't have pictures of more recent pieces.
Is there support for effects or is there something like a concurrency monad ?