skysight-inc/HackerNews huggingface dataset:
> the "function parameter" approach you're describing is just not how Redux works

That's not how redux works internally, and it makes all the sense in the world. My wish is to keep these details buried and not leak into the coding style used by the app. The logic in my function wants two arguments, the fact that those two arguments have been packed into an action (and into a field named 'payload') to work with the redux flow of dispatching & etc is not something that anything in the logic or body of my function needs to know. It is necessary because of how redux works, but everything in the kit is about adding glue between app code and redux, reducing the verbosity and presence of redux internals in app code, so this sounds like a natural way to continue that trend.

If I was working with React these days I'd surely set out some time to try and extend the kit in those directions. A few years ago (shortly after redux was first released) I gave it a shot, but there were too many pieces to build. The kit does a great job lifting a lot of newly developed packages like immer.
So my day job is working with Clojure/Script that defaults to immutability, and my team builds fairly large apps, here's a talk describing one of them https://www.youtube.com/watch?v=aXBe6hoi-Mw

In almost a decade of using Clojure, I've never seen persistent data structures become the bottleneck. The difference in cost is O(1) for in place mutation vs O(log 32 n) for revisioning. Note that the large exponent means the tree ends up being very flat, so updates end up being quite cheap in practice. Most times when I do something to a persistent data structure, I only change a small portion of the overall data structure. In fact, I think it's quite rare that you'd end up cloning the whole thing.

Personally, I view mutability as an optimization, and I think it should be used in cases where you actually need the performance beyond what persistent data structures can offer. My experience is that such cases are far and few between.
The Ninety Second Railway
I'd also point out pulumi. It is a service, but it solves a lot of trouble when dealing with k8s configuration, and you have a real language to to create your definitions...
Researchers FoundAn Area of the Dog Brain Dedicated to Processing Human Faces
Great video! But what sick and twisted mind would think of doing this? https://youtu.be/tsG95Y-C14k?t=277
Pheasant Island
Sam Harris in-depth talk about Information Warfare and IRA tactics
I don't think there is a "right" answer. Defaulting to bignum makes no more sense than defaulting to float for inputs "1" and "3" if the operation to be performed on the next line is division. Symbolic doesn't make sense all of the time either, what if it's a calculator app and the user enters "2*π", they probably don't want "2π" to be the result.

If we're going to try to find a "right" answer from a language view without knowing the exact program and use cases then the most reasonable compromise is likely "error" because types weren't specified on the constants or parsing functions.
I lost a few kilos by eating a packed lunch at my desk instead of going out for lunch.

(With a packed lunch I decide on what to eat before I'm hungry, which tends to be way more reasonable. When I'm hungry all I want is a big burger with fries! By deciding ahead of time I avoid eating that.)
>> the city loved that team and the stadium construction was a huge deal and a big political victory

Can you quantify "the city loved"?

I'm sure the construction was "a huge deal", large construction projects almost always are.

Something professional politicians choose to support != something that a majority of voters would choose to support, given the chance.
NAT has many severe limitations.

When I was on an ISP with CGNAT I regularly saturated the connection tracking tables which resulted in all new connections failing until some some slots were freed up.

NAT also makes it difficult to run any kind of server at home (PCP support varies) or use any kind of p2p protocol.
NAT traversal techniques don't work all the time and even when they work they may only help for coordinated connections but not for unsolicited contacts.
I find it interesting the process that seems to have taken place here. There is quite clearly no monopoly on payment systems on the internet. There's bank transfer, visa, western union, paypal, a million different bitcoin exchanges.

So for Gab to not have access to funds either one of two things can be true. 1: There is a large conspiracy of banking organisations to stifle Gab for reasons we can speculate about. 2: Each of these organisations have seen Gab and made individual decisions about whether they want to associate themselves with Gab.

What boggles my mind is how many people think that it must be 1.
Despite being geometrically opposite, a down-vote is not the opposite of an up-vote. An upvote is for agreement or whatever else you choose it to mean.

Read the comments section of the guidelines[0]. Which says that disagreement should be commented on in a clear, direct, polite manner.

A down-vote is for flagging an improper comment. Regardless of how much you disagree, if the comment could have merit from another viewpoint it doesn't warrent a downvote.

[0] https://news.ycombinator.com/newsguidelines.html
Hi! Thanks for checking in on HN. I'm very interested in k8s productivity but had some trouble understanding what Tilt is actually doing--is it a replacement for minikube, hosted kubernetes, etc.?

Is there an architecture diagram that shows what runs where?
Art Modell, the owner of the Cleveland Browns, moved the team to Baltimore right after the taxpayers built them a new stadium. Even though these events happened in the mid-90's and Modell died in 2012, his name is still considered a curse word in Cleveland.
But there should be no discrimination at all.
If there is a court case and gab is found guilty of something, or a court orders something, fair enough. That isn't the case here.
Here's the main study cited in the article: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3301009

"We find that the same minority applicants who faced lower approval rates on auto loans do not face lower approval rates on credit cards, even during the same year. This finding suggests that the human element of auto lending, rather than differences in hard information, leads to the lower approval rates for minorities."
> “whiny article”

“I thought repeating a grade was my fault, but later I realized it was the teacher’s fault”. Really? Look, not to step on any toes here but... how many other kids in your “village” had to repeat grades? Didn’t they have the same teachers?
Your logic is bad or it’s your math. Suppose I pay an extra $1,000 in income taxes via a donation. This amount will not help anyone or improve the fiscal situation of the United States government. However, several million people paying another thousand dollars in taxes can/will.

Replace the word other in your comment with everyong in the tax bracket I’m in and you’ll see that your conclusion is wrong. Consider this analogy. Me pooping in the local lake isn’t going to adversely affect the lake’s ecology. A million people doing so will.
Floppy disks are typically measured in inches, common sizes being 8", 5.25", 3.5" and 3". Like any distance, these may also be measured in metric units. However, for whatever reason, when it comes to disks, they pretty much never are.
Suckless is at best satire and if we're being honest just plain idiotic.

Without fail every suckless person I've talked to either has no idea what they're talking about, or in the off chance they do they're incredibly shitty far right wing types who gripe on about women/minorities/CoCs ruining tech.
The average Radiologist does not only interpret a single modality or the same body part day in and day out (Radiograph, CT, MR, ultrasound, nuclear scintigraphy, PET, or mammography). We are prepared by our extensive residency to competently read any and all of these upon graduation. We do not interpret these in isolation; we are constantly comparing to prior studies across modalities, often across overlapping body regions. I completely disagree that barely trained hyperspecialists would be sufficient.

While specialization is coming to all of Medicine, we tend to cluster by body region/disease state, rather than by modality. This is because all of the modalities provide complementary information and you must be able to cross reference across the various manifestations of disease.

All of medical knowledge is iterative. Unlike programming, you can’t just abstract the low-level programming. The premedical curriculum provides the baseline knowledge to understand pharmacology, which is essential when trying to understand our interventions in physiology and pathophysiology. We need to know both physiology and pathophys when interpreting imaging to know how disease manifests and what is abnormal versus post therapy related change.

We have to know how referring clinicians will treat disease, and know the major complications to look out for on imaging. We discuss their treatment plans during tumor boards and need to speak the language of the treating teams so we can tailor our interpretations to be useful.

There are no easy shortcuts here. NPs and PAs are a living experiment at a shortcut, but what I see day in and day out is that the people they consult (radiology and pathology) need to know even more clinical medicine to help the inexperienced NP or PA in knowing what to do when something happens that deviates from the protocol. Many many many times I will call with a semi-urgent unexpected finding, and just get silence on the other end of the phone. They don’t know what to do, whereas on weekends or nights when I get residents or attendings, I don’t hear this complete absence of understanding.
2019: The year face recognition goes big and voice ads stall
If you try to do this at scale you'll find you won't get transit anywhere. Any AS will drop routes from you when Google looks their way. If you think you can ignore them, they'll just threaten upstream. You'll be cut off in hours.

It works the same way on v4 and v6.
Doesnt stop them giving land for free and supporting infrastructure though. Which can be a huge part of the cost. Aalianz Arena (munich) is a good example
Didn't MS VC++ 4 to 6 ship with an example which emulated this effect as well via a custom control?

There were different tabs for things like "wood", "gas", "cryptonite" which changed the overall colour of the effect.
Does anyone know why a halo orbit was chosen for the relay sat instead of a regular, lunar orbit?† I know that due to the moon's lumpy gravitational field, there are only a few stable orbits available, but anything orbiting a Lagrangian point is going to require stationkeeping adjustments regardless, right?

†I understand that that would put the lander out of contact during that part of the relay-sat orbit, but it would also completely rule out a major source of potential radio interference during observational periods, which strikes me as an even more important consideration. Data can be stored and batched, after all.
That's a neat analogy.

That said, even in 'private' Chinese have all sorts of highly relevant information filtered.

Such as the activities, possibly illegal, of their leaders.
>they are so disgusting (they stink, they make your fingers stink, if you wrap it in some paper or plastic and put it in your pocket your pants will stink) that you just want to get rid of it.

This is very true and highlights how addictive nicotine is. We’re willing to light these things on fire and breathe it into our lungs but are disgusted by the remnants and feel a compulsion to immediately discard it.
This article seems like a really long-winded way of stating "people need to take control of their lives more".

It's alluded to in the article but not really explored well enough - basically the idea that you don't need to be always busy, you need to pick your battles, recognise when you're in a rut, and get out of it.

Looking at generalities like "the average X does X" is just not interesting. It's not a goal to aim for. The average person has never had a good life, and probably never will unless we have a massive reduction in population or something.
> society does in fact value professional athletes on an individual basis more than doctors as they are paid far more

Yes, we value professional athletes more as people. However, we value the work of doctors more. In fact, the doctors themselves value the work more. That's why—like firefighters, or rescue workers, or police, or soldiers—they're willing to "burn their lives" (or risk their lives) to get the job done.

Micro-econ 101 isn't enough to explain this effect. You need an understanding of the desirability of jobs (and preference-functions that go into making jobs desirable), and how people are willing to trade off capturing less value as pay, for satisfying more of their other preferences.

You're right that professional athletes are paid employees of high-revenue corporations. Which is to say: they're paid a lot because 1. the corporation is getting a lot of benefit from their work, but 2. the athlete themselves is not getting much terminal-preference-satisfaction from the job itself, and so the athlete demands high monetary compensation for the work. (Compare: coal miners, oil-rig workers, etc. These people have risky jobs that they don't have any intrinsic desire to do; they're highly paid jobs because nobody would do the job if they weren't.) In the case of professional athletes, it's not quite that nobody would do the job, but rather that nobody with as much skill would do the job—the talent pool as a whole is large, but the top of the talent pool (the people everyone wants to see, and so the only valuable people from advertisers' perspectives) is small enough to create a seller's market for that talent.

Doctors, meanwhile, want the job (saving lives) to get done more than anyone else. That's often a large part of why they became doctors—because their preference-function ranks "saving lives" quite highly, so they will enjoy a little "saving lives" more than a large amount of something else. Thus, even though we as a society also value saving lives, we don't have to compensate doctors as much as professional athletes for doing it.
It would be really cool if you could paste the url to an image, have a generator overlay the fire effect on top, and you can save that as a gif.
Hi. I appreciate your candor, although I'm not sure what I've done to inspire such contempt. You're correct that the entire point of the post was to deep dive into a rabbit hole. I acknowledged that and also acknowledged that the standardese is unnecessary most of the time, to avoid any miscommunication in my intent. I did this point out how large the language is and, more to the point, to point out how potentially complex it can be, compared to C. If you've ever had to spend entire weekends running through students' broken C code at scale, and see all the interesting ways one can complicate seemingly simple things, then I think you'd agree that giving them more ways to confuse themselves in a fast-paced academic environment is not the way forward. If you have had that experience and didn't have any problems, then you are fortunate to work with such fast learners! (Not to imply the students I've had are dumb in anyway, many are very bright!)
Yes, that's exactly what the original article called "gross" because it's casting a shadow behind, as real physics would do (because the translucent object is brighter and reflecting light back).

The author wants to have a shadow around the edges but somehow not a shadow behind the object itself, which is what doesn't make sense.
PyDERASN: strict and fast ASN.1 DER/BER Python library
Really cool ideas for automatic cache invalidation and leveraging rust's ownership to guarantee safety with concurrent reads and writes.
Wow, either I'm reading the stats wrong, or someone has 84.6 TiB in Syncthing. That's impressive.
I never truly delved into low level networking, but I generally got a grasp for IPv4, I can setup simple networks and I think that I understand what's going on on every level. Now despite the fact that I tried to understand IPv6 multiple times, I failed miserably all the time. I tried to setup IPv6-over-IPv4 OpenVPN, it did not work despite all efforts. IPv6 is just too complex. At this point I wish that IPv6 would be just IPv4 with 16-byte address (or better 8-byte, because that's really enough for everyone and another 8 bytes I have no idea who really need that, and our computers work natively with 8 bytes), keeping all concepts the same. Now I'm aggressively against any IPv6 and I'll do only the minimal amount of work to support IPv6 clients for my services while using IPv4 for my own infrastructure everywhere.
How to Know When You Might Actually Be Wrong
Again, the government has more than enough money to invest in infrastructure. How much money does the federal government spend on the military that doesn’t go into helping the people who actually serve/have served and lines the pocket of the private military industrial complex? How much is it spending on being “tough on crime” and the “war on drugs”?

Why shouldn’t we make it easier for private industry to compete -for instance by not making the US the only industrialized country where your insurance is tied to your company?

Why not increase the earned income tax credit and make it easier to be distributed during the year. That would encourage work and it was something that was historically supported by both Republican and Democratic administrations.

The way things are going lately, I have a lot more trust in private industry than the federal government.
What you want is a monad.

Instead of loading up every language with stupid keywords that are meant to simplify monadic code (but only for one domain), language designers should really take a page out of Haskell or Scala's book and think seriously about unifying on a do notation/for comprehension type construct.

That way regardless of if you're working with promises or not, you don't have to worry about hacking it with && or nesting 10 layers deep with if/else.
Yeah, I have nav labels hanging over and obscuring the text. (FF on Ubuntu)
> with Postgres we also had to deal with schemas and migrations.

JIC, this is exactly what I meant with "paying that debt upfront". If your model does turn out to be relational and you don't have this, you are going to get burnt, badly.
Huh, are you implying that with IPv6, the ISP can place multiple unrelated people in the same subnet but not coordinate with them regarding what address from the subnet they use? How does this work from a routing perspective? What if two people pick the same address?

On the other hand, if the ISP ultimately does hand out the address in the subnet (and the end user can merely ask it for a new one), the ISP can retain a record of this, which together with the server-side data can be used to unambiguously deduce who accessed what, whereas the equivalent information in v4+NAT is insufficient without also logging everyone's connection metadata. It would therefore be more appropriate to say the privacy, tracking and banning implications are the same as dynamic IPv4 without NAT, where you can likewise request a new address from your provider at any time.
The average person has never had a good life, compared to the right hand side of the average, not would they with less or more people. But it doesn't mean the overall standard of living for the 'average' cannot go up.
The Pittsburgh shooter posted there, that's what brought it to a head, plenty of other things though.

https://en.m.wikipedia.org/wiki/Gab_(social_network)
I'm a techie too but I think:

- If you go around memorising addresses then you are doing IT wrong in general. So many things depend on DNS (not just A records) that punching in IPs by default is a bad habit. Browsers will keep on enforcing SSL/TLS more and more until the point where typing in an IP address into the URL bar will be as painful as using the web GUI for say an elderly HP switch is right now.

- In general latency is not affected by header lengths these days. In some cases, networks are prioritising IPv6 for the opposite affect. In other cases ISPs have dropped their entire IPv6 support without noticing for quite some time. sigh

- The addressing scheme in use should have nothing to do with your privacy. Yes NAT does accidentally hide you a little bit. However I can fingerprint your browser instead, for example. I'll trade easy SIP n RTP over NAT any day.

Now, for my gripes:

- Try doing multi WAN effectively over IPv6 without PI and a routing algorithm, or NAT
- Try changing ISP (new addressing everywhere)

The second gripe I currently work around with RFC 4193 - Unique Local IPv6 Unicast Addresses, the first one I whine about and will probably use NPT (wholesale NAT for IPv6)
Perhaps report your findings to the developers, to potentially have them fixed?
Arlington, TX subsidized the Cowboys stadium and however that plan was structured they were set to pay off those bonds 14 years early (2020 instead of 2034). Instead they refinanced the bonds to help pay for the new Texas Rangers ballpark.[1]

The increased tax revenue really surprised them despite the projections being made before the recession. (A 25 year bond only taking 11 years to pay off.)

[1]https://www.dallasnews.com/business/real-estate/2017/09/13/6...
Many All-you-can-eat (AYCE) sushi restaurants in Canada have iPad ordering systems. AYCE sushi places tend to have complex menus, so ordering with iPads helps reduce errors as well as table turnover time (an important KPI to optimize for sit-down restaurants).

I bet they recoup their investments pretty quickly. Waitstaff isn't reduced though -- they still need lots of people to bring out the food, but the operation itself is fairly efficient.
> 4) I suspect depression is seriously underdiagnosed in med students and MORE students should be taking antidepressants than those currently on them.

Antidepressants are a terrible solution to depression and should only be used in rare cases. They blunt your feelings so that you can keep on with your depressing life choices with out making the changes you need to be really happy. Depression is an indication that you need to make major life changes. It's not a chemical imbalance.
Btw, I'm also using FF on Ubuntu.
> Take for example, `auto`, added in C++11. If you don't have to support C++98 or C++03, the use of `auto` significantly simplifies many workflows and is often strictly better with less mental overhead.

When writing code, yes, but in my experience, it can also make interpreting what code that overuses auto is doing (especially what variables are and what functions return) an awful lot harder in many situations, and you end up jumping all over the place to work out that "auto result = ..." is actually "uint32_t result = ..."

That's one of my personal pet peeves about more modern C++ (and other languages to some extent like Rust): they seem to be more optimised for writing code quickly (which generally only happens once), not understanding it later (i.e. you didn't write the code someone else did) and maintaining / altering it in the future, which generally happens a lot more over code's lifetime.
Again with the relativism!

Kent state and Tiannamen are hardly comparable.

Tiannamen could have ballooned into a full on revolution, there were many killed, imprisoned indefinitely with arbitrary trials, hurt, families threatened, careers stomped out etc..

To add:

Kent State was a spontaneous situation, violence broke out at a student sit in, with thousands of students potentially overwhelming a small number of state troopers, some of whom foolishly shot into the crowd.

Fundamentally not comparable.