skysight-inc/HackerNews huggingface dataset:
Chalk one up for time wasted not addressing what people really need...

I truly love Swift, like god-damn is it my cup of tea, but I can't really bring myself to write it anymore. I've written over 10,000+ lines , shipped and maintained a few different production apps, but anymore I just have no urge to write it.

And the biggest reason why? I think it being open source is a joke until Apple, and I mean Apple themselves, implements some sort of cross-platform UI framework with it. Like, most of what is written in Swift is fucking UI code that's totally useless on other platforms.

I think it's pretty laughable I can run Swift on AWS but I can't do a simple GUI app on Linux or Windows using the OOB Swift SDK. Apple, you're a fucking trillion dollar organization, for fucks sake stop being so damn stingy with portability.

When I can write cross-platform GUI apps with Swift, maybe I'll give a fuck 'bout running it on a server. Just my two very bitter, hurt, and sad two cents...
> That isn't how the word is defined. Google the definition of rationing :-)

I did as you suggested and got this:

> allow someone to have only (a fixed amount of a certain commodity).

So the definition does not specify the function by which resources are distributed. The "fixed amount" can be a schedule based on income and not violate the definition.
they are already cashing in. look at jr's book deal. look at ivanka's trademarks in china. look at funneling money into their properties. there's myriad graft in that family.
i meant the walsh transform, but that's also neat
Seems lambdas are coming in 4.0.

https://github.com/godotengine/godot/issues/2684#issuecommen...
Well that's the ridiculous part of all this. Anyone with $20 and a half hour to spare can whip up their own blog on their own domain and post anything they want. As far as accessibility goes, that website will be 100% equal to Twitter.

These private platforms are only being conflated with public infrastructure because people have such a narrow view of what constitutes "the internet." It's ridiculous for a politician's primary means of communication to be over a private platform to begin with. Could you imagine if Clinton only talked to the press via AOL chatroom? The fact that we're debating it as though Trump is being censored by CSPAN just shows how much the abnormal has become normal.
Pretty sure that 0.4% is "among people who develop symptoms" and 35% of infections are asymptomatic. So 0.4% of 65% of infections, or ~0.26% of infections.

[0]: https://www.cdc.gov/coronavirus/2019-ncov/hcp/planning-scena...
Cool. Couple questions:

1. How do you handle / plan to handle multi-currency accounts? (normalize to single currency vs. Selinger's approach https://www.mscs.dal.ca/~selinger/accounting/tutorial.html)
2. What tech did you use to build all this? db/languages etc.
Before K8S, to run a service you need:

- Setup VM: and their dependencies, tool chain. If you use thing like package that has native component such as image processing you event need to setup some compiler on the VM
- Deployment process
- Load balancer
- Systemd unit to auto restart it. Set memory limit etc.

All of that is done in K8S. As long as you ship a Dockerfile, you're done.
> my small Javalin app uses four times the RAM at rest as my Express app did

Are you looking at used heap space or just the amount of memory used by the Java process? I have a few small Java services using vert.x and they hover around 7-15 MB of used heap space. For small services I usually just restrict the maximum heap space size because the default is unnecessarily large.
commercial air travel.

Private planes and industrial planes still have an awful safety record.

Most stats also exclude 'unrelated' deaths which happen during a flight (even though there is a good chance the changes in air pressure, stress, lack of medical care, and cramped conditions at least contributed to the death).

Stats also often exclude terrorist or war shootdowns of commercial planes, which are starting to become significant.
I think the best solution is not algorithmic enforcement, but algorithmic augmentation of group ban-lists.

So like having hashtags in your profile, you could include ban-lists there, and your preferences would be calculated (and people could see what your filters were).

Yes, this wouldn't solve the issue of filter bubbles but the Twitter's algorithms could augment how to weight people's ban-lists with actual mentions/RTs - so I would see someone on only one of my ban-lists but got a lot of RTs/mentions I'd see it. If I find I'm not seeing stuff I should, I could alter my lists
Love to see SpaceX experimenting like this. What's so cool is they've specifically increased the rate of prototype construction (now reported at around one every two weeks) to allow them to increase the aggressiveness of their testing:

https://twitter.com/SciGuySpace/status/1266446536772407296

More prototypes -> More OK to blow them up -> More audacious testing -> Faster learning and faster progress.

Experimentation is good. Fast experimentation is better! So many people talk about "moving fast", we need to celebrate SpaceX for actually embodying this idea.

Bravo!
I don't think you appreciate the magnitude of what is happening in the US at the moment.

The federal government is being stripped for parts, as we speak. Entire agencies have been gutted. Industrial conglomerates can literally regulate their own industries - for a price. Foreign leaders can influence foreign policy - for a price. Federally endicted criminals can get out of jail as if nothing had happened - for a price.

The level of grift and corruption is unlike anything the US has ever known. If Trump remains in power - which he is absolutely planning to do at all cost - it will only get worse. The end game for him is to create a new dynasty of oligarchs - at the same level of the Saudi royal family or Putin. Compared to that, the book deals and talk shows are nothing - crumbs. He wants to join the club. And that requires staying in power so that he can 1) continue stealing billions from the US public, and 2) continue corrupting the federal government to stay out of jail.
If me, and 3 buddies - all white took a white man behind a car, kneeled on him until dead while on-lookers video-taped it. How long before the cops show up?

Same scenario w/ a black guy. how long?

Same scenario w/ 3 Cops and a white guy?

Same scenario w/ 3 cops and a black guy?

I'm betting if you could do a study on all these scenarios of 'time to act/prosecute'... you'd find some major biases.

Would they need to do an autopsy or tox screen when there's video evidence from multiple viewpoints and the entire nation has seen the evidence and cops from other cities are calling for arrests? SEriously, this is clear cut. There is no ifs/buts.

3rd degree murder is also a joke, this is 1st degree, you don't kneel on someone's neck while paramedics and a doctor plead w/ you to stop because you're killing him without wanting to kill him, and not w/ someone you've known for 17 years.
> without an election the Presidency automatically transfers.

Says who? You've never had a President try to suspend or tamper with an election.
> It makes selfish greedy people beneficial to society. It doesn't matter what this guy's intent was. The end result would have been to move a scarce resource from the shelves of some stores in Tennessee to where it was desperately needed.

You didn’t respond to anything I wrote. Why should I continue this discussion? It wasn’t a supply chain inefficiency issue. Period.

Nationwide chains are perfectly capable of recalling stock from stores that aren’t selling much of something, and moving it to stores that are running low on those supplies.

Local chains are capable of selling those products online, but there’s no need for them to massively mark up the prices to be incentivized to do so. Unless the product is intended to be a loss leader, they already have a profit margin factored in.

Hoarders create an artificial shortage, often in hopes of jacking up the price.
From my experience as running my own SaaSes, I'd rather have a library over an ORM, or a self-hosted service. Having yet another cost to manage, another API to monitor, and an unreliable interface (HTTP over internet), just isn't worth the cost.
This is my point about attacking composition with what we have for classes - because reuse and composition are problems not limited to UI widgets.

Your query example is easily handled by a mixin:

// Queryable provides this.data and this.loading and
// hooks into the lifecycle
class MyComponent extends Queryable(Component) {
query = 'some query';

render() {
// ...
}
}

You can also use helper objects:

class MyComponent extends Component {
query = new Query(this, 'some query');

render() {
// ...
}

connectedCallback() {
this.query.connect();
}
}

I understand that you have to wire up the lifecycle methods this way, but it's at least low-magic and easily understandable. I don't mind it.

And even though decorators aren't standard yet, they can be used for composition too.

My point is that these problems aren't unique to React and deserve patters and solutions for all JavaScript programming. React is statefull and object-based under the hood, but just trying to hide it.
That’s awfully ungenerous to your fellow HNer. Maybe it would be better to wait for his response to your question (“Why is that?”) rather than answering it yourself.
I'm also interested in these systems as opposed to implementing accounting systems internally myself. How do all of these compare to https://hledger.org/1.2/hledger-api.html?
Not necessarily. You can have all of above with Terraform, Ansible, Puppet, Chef... etc.
Was just about to post this! It's a shockingly educational show, and it's really fun to see hard science get the hyper-romanticized "anime treatment"
"Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize."

The larger point is the dystopian dynamic of developing a store that is poised against its customers, especially as a testing ground. Technologically defended islands of wealth in the middle of seas of poverty. And the blame isn't even on Target specifically, but the system as a whole that is creating so much suffering in the first place.
https://warwick.ac.uk/newsandevents/pressreleases/previously...
Or perhaps we should take a step back and design a new set of rules that can allow Twitter and other companies to moderate without having to be responsible for the content. I feel like there’s a false dichotomy being portrayed here that’s unnecessary.
The trouble with this approach is that the thermoelectric modules are expensive and don't generate much power compared to solar. Also, whilst the fact that they can theoretically generate power regardless of the time of day or the weather is nice, you're probably not going to want to run your stove all day and produce twenty times as much heat as electricity in the middle of a baking hot summer.
I actually went back and forth with these exact same options recently. To the extent any of this is helpful:

* Agreed with the problem, although I've found io-ts to be great. For incoming client requests: GraphQL is helpful if you're using that, but it's also relatively trivial to create an io-ts middleware for express that will get you similar guarantees. For database interaction, assuming you're talking about relational data stores, this is a challenge. Personally, I'm using Mikro ORM and it has been great so far. The one blessing here is that you're probably not dealing with unknown data types when talking to a data store, so it hasn't felt like as much of a concerning surface area for me personally. HTTP is valid, but I actually like io-ts as an approach here possibly more than using Jackson with static types due to its failure model - but again I acknowledge this is a personal choice.

* I guess it depends on your needs here, but base express can be great for simple apps, and NestJS is fantastic for more complex ones. You're 100% on point with ORMs, though, where I've been incredibly dissatisfied generally. As mentioned above, I've recently stumbled on Mikro ORM which takes a unit of work pattern similar to Hibernate, without the painful startup time. You can tell it's not perfect, and certainly not as feature rich as Hibernate, but also feels safe enough. I imagine if you tried to do everything through the ORM it could get painful, but most of my apps are structured as multiple modules where each module only controls the entities within that module. It keeps the reach of the ORM limited and abstracted behind "services" (in the modular monolith sense, not remote services).

* Yeah I see both ends of this one. Historically been a JVM user and have a ton of appreciation for it, but also like TS's approach more than Kotlin in several ways. You're right about collections though, ES6 is a joke there.
That would (kind of) be the Kolmogorov complexity[1] (only kind of - the Kolmogorov complexity is actually the shortest program that produces a single output, rather than the shortest program that implements an algorithm). In any case the search space is still vast: making some assumptions about the number of bits in a character of C source code, you'd be searching something like 2^(6*60) bits, a number with about 108 decimal digits. We're in "longer than the lifetime of the universe" territory here. It might be better to search C ASTs instead, although the numbers are still going to be huge.

The general field of endeavour for searching binary programs is called superoptimization[2] and people really do it for very small program fragments.

[1] https://en.wikipedia.org/wiki/Kolmogorov_complexity

[2] https://en.wikipedia.org/wiki/Superoptimization
Not that great since it lacks Latex support.
Multiple times the gmail unsubscribe button has removed me as moderator from mailing lists I moderate!

I tend to use the checkboxes to mark groups of emails as spam, then also chosen "unsubscribe me" without checking where they came from (since I don't want to open them).

When it happens to be spam sent to a mailing list, this feature unsubscribes you from the mailing list. When it's a Google group you moderate, good bye moderator status! Oops! (Filed a bug internally about this, no status updates so far.)
This is unfair because Mosquitos don't kill anyone. They are a vector for pathogens that kill.

Humans are also vectors for pathogens, we just don't count them as such.
> Are you against the police shooting someone that threatens the life of an innocent?

To be honest, how you make the jump from looting and destroying property to someone's life being threatened is beyond me.

If the looters are about to harm someone, and there was no other non-lethal way to stop that then fine. This is certainly NOT what people are objecting to.

I'm not sure how to make it more clear. Looting for the most part destroys property. Destroying or stealing property doesn't justify killing. Having your property taken away doesn't imply a threat to you. I mean c'mon, if that's the standard then we should just execute every petty thief and vandal.
I'm not a game developer but it seems like syncing with a standard git repo would be ideal. Is that possible with games or do the assets prevent it?
Probably because US border patrol has aerial surveillance vehicles and lots of experience in their use, and the national guard likely does not
I accounted for him, with the part about “other rich businessmen in Hong Kong.”

But, even his wealth, pales in comparison to what the British and Americans made from Hong Kong and China, in their illegal and immoral opium trade.

Realize that Franklin Delano Roosevelt, the American president, who never held a job in his entire life, and became the president, was the offspring of wealthy opium smugglers.

Harvard and Yale, built their endowment money from the opium trade.

Forbes, and all the other big American businessmen, yup, all drug money from opium.

An uncomfortable fact, is that a lot of American riches, are built on the blood of a lot of dead Chinese drug addicts. Unsurprisingly, this fact is never discussed in American history textbooks. It is far easier to just brush this under the rug, and ignore it, and let history forget about it.
The BBC's approach to this has so far worked out as the best here and continues to provide its the correct approach.

I think there's always been a lot to be said for good, static sites, and there still is.
UN says a new simulation tool could boost global development
Most modern systems aim to move all 'hard' bits to software.

Theres no surprise that's where most of the failures occur.
So then why don't we just have the police shoot on sight for any suspected crime? Police get called to store theft, just shoot the suspect. Police get called to vandalism, shoot first.
>To say that respect for human dignity has increased over time is very subjective.

No. No it isn't. That's patently ridiculous. Almost every decade of the past couple hundred years has consistently seen better human rights (in the Western World at least).

We're talking about: the elimination of slavery, establishment of women's rights, childrens' rights, elimination of colonialism, elimination of authoritarian rule by non-elected persons, elimination of torture, the right to freedom of speech, the right to a fair trial, single digit illiteracy, near zero deaths due to hunger, reduced systemic oppression against minority groups, reduced systemic oppression against non-traditional sexual orientations, universal access to free basic healthcare (caveat: every western country except the US), universal access to free basic education, and, in my lifetime alone we've added access to affordable and near-instant worldwide communication with the right to use it anyway we see fit (within reason). [0]

Now, how (besides the environment) have things gotten worse from a human dignity standpoint in the west?

The one example you gave was indeed a decent one. I know there are other good ones but there's absolutely no way they will add up enough to tip the scales so that you can argue human rights and dignity have gotten worse overall.

-----
[0]: The list provided contains generalizations about "Western Countries". The list is incomplete/imperfect in that there will be some exceptions/caveats. In other words, yes I'm sure someone could find something there to nitpick but it's generally true in the big picture.
> There is insufficient evidence attempting to comply with GDPR is worth the cost.

The number of people working at the respective national privacy regulators is appalling. All of them have an extremely scarce amount of privacy auditors that are qualified to extensively investigate privacy breaches. Even Ireland, which has a huge tech hub with the social media companies especially, has a scarce amount of them.

The Financial Times wrote an article about this awhile back, which tends to have good reporting on tech and privacy issues.
They don't care about counterfeiting and they don't care about product swapping, to give you two.
Got it, to be clear - do you still use the Airflow for storing connections, or no? If no, how do you store your credentials? We've only done a POC and we've discovered a higher than expected learning curve.
Great, how long before I can try it out?
Doesn't kubernetes also have autoscaling capabilities?

https://kubernetes.io/blog/2016/07/autoscaling-in-kubernetes...
You are right, the volume is in millions, as I heard in the podcast from the Twitter executive. Corrected.
Yes, TS and typecasting can live well together. However, once you combine sensible naming by type and typecasting together, the benefits of TS fade. Then one has to ask: are the remaining benefits worth the expense of running a full TS transpiling infrastructure? In my case, the answer is a definitive 'no'. Typecasting along with Webstorm introspection virtually eliminate may of the issues that TS was designed to solve.
I thought it was just me that had a bizarre experience trying to 'break-up' with the gym membership.
You don't think crime is more exciting than a desk job?
Yes, I am. Both parties have assholes and both parties have great people in roughly equal proportions. The exact shape of the insults the shitty people throw at each other does not matter .
What does this analogy gain when you replace it with school or church? People didn't attack schools or churches, and schools and churches didn't employ the murderer in question.
I just don’t think that’s where Apple’s priorities are for swift. They want a modern language for their platform first and foremost, and then secondly if they developers can write server components for their apps in Swift, then that’s good as well.
Wow, that is straight up fraud. "Paid for by All In, All Together" otherwise known as the UK govenrment.
It's useful to point out communist rhetoric where it exists because they typically get to employ all sorts of useful tricks to shutdown discussion, like you just did with calling me "tone deaf" for not excusing rampant looting and destruction. It's effective to say things like this because it triggers a guilt response in people, and they usually back down.

If you want some facts, here's a list of all of the buildings damaged or destroyed by people "expressing their frustration". Notice that some are government buildings that provide services to the poor, who are obviously more affected by the ongoing pandemic. You can continue defending them, if you like.

>Dissent is the most American value. The country was founded on it.

This statement is thrown around all the time, but it's really an attempt at gaslighting people into thinking that chaos and calamity was what the people who started the American Revolution were fine with. Of course, the opposite is true, and the chaos and calamity of a weak and ineffective English Imperial Regime was what they were rebelling against and the final form of the revolution was an institution of essentially the same style of English Common Law but with distinctly American characteristics.

https://www.startribune.com/these-minneapolis-st-paul-buildi...
Martial law doesn't allow summary execution either.
Subcaption works perfectly for that. You can skip the subfigure caption - "The gull" etc in this picture

https://commons.wikimedia.org/wiki/File:Latex_example_subfig...

You can reference either the whole figure by using the label inside the figure environment, or you can reference the subfigures using labels inside the subfigure environments.
While that's true on the managing instances side, you also need to actually deploy the infrastructure to manage them (If you're not using some PaaS offering). You don't need to do this for other IaaS.

Honestly the last time I looked at k8s was like 5 years ago, but back then it looked like a pretty big pita to admin.
My guess is that the drone is owned by the border patrol but currently used/controlled by a different agency. Like the national guard or police. I.e. border patrol lend it to them.

But this still shows how broken this is because now you have a drone survilence by some agency but people don't know which one and maybe a violation of responsibilities if it's actually operated by the border protection...
A million people killed by cars prevents five million from dying how?
If I were a well-intentioned AI
Well, obviously that's not a reasonable first reaction, but if all the reasonable avenues of getting people's grievances addressed have not succeeded, then it's kind of inevitable that it will escalate to unreasonable responses.
StoneCutter: A Very High Level Instruction Set Design Language