skysight-inc/HackerNews huggingface dataset:
The class example is misleading in terms of the line of code. The first example would have the componentDidMount and componentDidUpdate to call the same function

componentDidMount() {
const newData = getDataWithinRange(this.props.dateRange)
this.setState({data: newData})
}
componentDidUpdate(prevProps) {
if (prevProps.dateRange != this.props.dateRange) {
const newData = getDataWithinRange(this.props.dateRange)
this.setState({data: newData})
}
}

Could be:

componentDidMount() {
get(this.props.dateRange);
}
componentDidUpdate(prevProps) {
if (prevProps.dateRange != this.props.dateRange) {
get(this.props.dateRange);
}
}

get(dateRange){
const newData = getDataWithinRange(dateRange)
this.setState({data: newData})
}

It removes the duplication.
> flock of crows

This is called a murder of crows. I've always found that term odd, and it seems derogatory. I don't know the origin.
What if they talk with someone while walking through a forest? Should that also be forbidden, because it's difficult to spy on?
"We were amazed when the next cosmonauts returned to Earth and told us they had finished the cognac! How? They had devised a method – one cosmonaut floated to the ceiling and grasped the flask with his teeth and the second hit him on the head. The first descended and the liquid by nature of inertia spilled into his mouth. Then they changed places."

The more you know.
And in the very next paragraph, the author of the paper agrees with the opinion.

"While not everyone in the field agrees, and no figurative cave art in Africa has been dated older than the Indonesian works, Brumm says he has the same gut feeling."
Predictions about 2020 made in 2010
Agreed! Another advantage: existing infrastructure.
I think it depends on one's personality. I worked for some years using that hybrid model and really didn't like it. Now I work 99.9% from home and vastly prefer it.

My only real gripe is that teleconferencing for meetings just doesn't work that well, because I find it hard to hear people that are not very close to the microphone, and background noise from the open-plan office in which the non-remote team works is very disruptive at times.

Well, and that sometimes remote workers are sort-of-not-quite second-class citizens, probably because we aren't in the office for people to see every day.
Man killed by car being remotely started
LinkedIn trusts their address book to deliver my account notifications?
you’re the hero we (commuters) need.

We certainly don’t deserve you though, you’ve seen how we drive
Because it lives outside of Facebook and can offer its services to other online communities. It's a smart play if your goal is to own governing worldwide speech.
It's time for a careful analysis by a qualified cryptographer of how key escrow weakens the protections encryption is supposed to afford.

Schneier does conclude his post with a general "weakening encryption does more harm than good", but the title still uses the term backdoor. No one who's learned a bit about crypto (omitting Lindsey Graham here https://www.politico.com/news/2019/12/10/tech-companies-bipa...) is advocating for a "master key," short key lengths or backdoors that use obscurity to keep bad actors from exploiting them.

Key escrow is real & already deployed in things like FileVault's Institutional Recovery Key https://support.apple.com/en-us/HT202385

All institutions don't use the same key and the vendor doesn't have to have a copy.

[Microsoft offers companies a recovery mechanism too https://docs.microsoft.com/en-us/windows/security/informatio...]

My guess to how key escrow weakens protections is through implementation mistakes. Are there also mathematical weaknesses that effectively shorten the key length making brute force more feasible??? Why is the discourse on the anti-lawful-intercept side so imprecise?
> I suspect a plane puts out less CO2 per person than a car going to and from the same place.

Err... yeah... except I don't drive from the UK to San Francisco.

The relevant comparison is a twenty minute drive a day, vs flying inter-continental a few times a year.
At a certain point, it is incumbent on the buyer to do some research and understand something about what they're buying. The availability of these systems is not a secret.

We just put up a Ring doorbell on our house. I know that making the (surveillance!?!) video available to my phone requires something be stored somewhere and transmitted over some network. Storage and transmittal mean other people will have it at some point. Should I be surprised or offended about that at some point in the future? Or offended that after some trial period I may have to pay somebody for that service?
Seeburg 1000 - http://74.82.59.197:8351/stream

Super useful as background music.
Offices have to be heated and cooled too.
Ooo, Dangerous Dave is on there. Playing that game and watching stick man animated comics at the local library as a kid is a large part of why I ended up becoming a developer. These games sparked the love of technology in millions of people. It's good to see them being archived like this
Biden engaged in blatant corruption. Investigating him is not "cheating".
I paid for my EC2 instance and Amazon has access to petabytes of RAM at no extra cost, why can't they give me another GB for free?

He paid for a car, he didn't pay for the GPS tracking. Simple as that.
Very sorry! As I was the only "CEO" in here which product got criticized I thought it must have been me ;-)

Yes would actually be perfect for it, but never had the time to set something like that up. Maybe someday in the future. For now, I only have a simple Google Alert set and regularly check HN and Google Analytics which is a good indicator when it got mentioned somewhere.
It's frog in boiling water situation. For a long time the government was content with the money it could get from oil and mining, and many businesses were relatively safe. After the drop in oil prices and economic sanctions they started to get more creative, and the situation kept slowly worsening, until during this year there were multiple high profile cases like this.
"Supreme Court"..this sounds nothing like the Supreme Court.
Replying to myself: Did you know that the website hosting this blog entry is using nginx as their server:

https://www.joelonsoftware.com/2016/12/09/developers-side-pr...

There is something very ironic about a blog posting claiming that a company owns all of the software a developer makes in their free time, running on an open source server initially developed in Igor Sysoev’s free time while he was working for Rambler.
I'm OK with that, as long as we realize that in the short term "kinda remote" might actually be worse than status quo due to long-distance-travel requirements. We're discussing the numbers in another sub-thread to see how much.
Nothing except moving the cargo at 50 or 100mph. A shipping container moving 300mph at ground level is going to encounter some insane wind resistance even if you do attach fairings.
It isn't a requirement for a map to capture all characteristics of an area to be considered a map.
Maybe that's the lesson AMD learned?
To a point. While any given speaker should always endeavor to deliver their point for maximum effectiveness, by the same token, discounting or outright ignoring feedback simply because it's worded poorly or timed poorly is like rejecting your paycheck because it's printed on green paper instead of white. The money is still there, and it's still usable, and you're only hurting yourself because it didn't come how you thought it should.

Frankly, as someone who leads a team myself, yeah I've had to take colleagues aside and say "this isn't how we do things" but I certainly wouldn't just bin their entire point without consideration to save "face."
Transparency Intl. ranks Singapore the 3rd least corrupt country [1] globally. BTW, this thread was about a possible link between political dynasties and corruption, and I was providing a counterexample.

[1] https://www.straitstimes.com/politics/singapore-rises-to-thi...
Smarking (YC W15) is hiring Tech Lead Back end to scale terabytes mobility infra
Denman Glacier: Deepest Point on Land Found in Antarctica
they probably pay comparably to Bay Area jobs but are in Texas, ergo you can buy a house in 2 years
That's exactly what this is. They're trying to avoid regulation of any kind, and "third party audits" are historically a good way to keep the federal government out of your hair for at least a measurable period of time. The financial industry learned this quickly.
The case for MGS2 being avant-garde:

Metal Gear Solid 2 was the sequel to Metal Gear Solid, one of the most celebrated action games of all time. In MGS you play as Solid Snake, a badass special forces operator. It would have been very easy for Kojima to make "Metal Gear Solid" again. In the sequel, it seems to be going that way, since you start out playing as Solid Snake again, but relatively early in the game you switch to playing as Raiden, a dude who kinda sucks compared to Solid Snake (he's a rookie, he's not cool, he whines, he loses his clothes, etc). Raiden represents you, the gamer, the person sitting in front of a screen play-acting at being a badass special forces operator. Raiden gets orders from the colonel and follows them unconditionally, without realizing it's a simulation; but that's exactly what you, the gamer, are doing. So in a way I think MGS2 is Kojima taking a jab at his own fans, the ones who didn't appreciate the anti-war message of MGS. I think there was an interesting meta-narrative that hadn't been done before in games, as far as I know. I know meta-narratives had already existed for a long time in literature, but the active user involvement in gaming adds another layer of meaning.

I would also say that the game had a pretty prescient understanding of memes and fake news, considering it came out in 2001.
It can also work the other way- if you need budget noise isolation- get foam earplugs, and over ear headphones, turn the music up while simultaneously not hearing anything but it. Saved my hearing while riding motorcycles. Cheap helmet speakers sound pretty good with the volume cranked up and ear protection in- while it blocks out the dangerous wind noise.
$12k/month SaaS scraping social networks’ data
What are the implications of this? It’s a US based company, does Rambler Group really have control over all of nginx now?
I can't for the life of me understand why they don't explain what Batchelor's result actually is in these press releases.

So here goes: in turbulence, scaling laws are a big thing. Specifically, it's extremely useful to know how the power density in a turbulent flow is distributed between small and large whirls.

For the distribution of energy, we have the well-known Kolmogorov scaling law, that the power density scales with wavenumber to the power of -5/3. This holds approximately for all except the very largest whorls, down to the scale where viscosity begins to dominate, where there are no smaller whorls. This is known as the Kolmogorov scale. Due to a phenomenon called intermittency, we have strong reason to believe it is not exactly -5/3.

These papers are concerned with the power spectrum of scalar mixing. Imagine dropping ink into a turbulent water flow, how does it distribute between small and large whorls?

Batchelor [1] arrived at the result in 1958 that the power spectrum scales with wavenumber to the power of -1. This result has always been thought to be much more robust than the Kolmogorov scaling, since different approaches have given exactly the same answer.

The papers linked here give a proof that this relationship is exact. From a quick skim, they are extremely technical in the mathematical sense, invoking measure theory and Sobolev spaces and Itô calculus.

Certainly these results are very interesting. In some sense the big question is whether their approaches can transfer to solving outstanding questions about other phenomena in turbulence.

[1] https://www.cambridge.org/core/journals/journal-of-fluid-mec...
It was implied by the linked Attorney statement, not OP's speculation.
Experiments in Constraint-Based Graphic Design
>I don't think that logic follows? That statistic could just mean that they're actually doing most things legally and properly, which is the outcome you'd want, right? I'd be worried if a significant percentage of their requests were turned down.

I think you're correct that the logic employed doesn't follow. It is useless to look at the statistics alone and conclude one way or the other that FISA is or is not a rubber stamp. However, I think you are doing a category error: Criminal court proceedings are adversarial, FISA court is not.

Because there is no defense, public oversight, or judicial review. FISA cases are sealed, and secret. There is no risk of jury nullification or new caselaw because these cases are not argued by an adversary. Outside entities subpoenad in this fashion are barred from speaking of it (Under 99% conviction federal criminal statutes) Nobody is risking re-election here and the judges are appointed. The adversary is a strawman in FISA. The public is functionally shut out as well. It was designed for this purpose, the lack of accountability is a critical feature.

In order to employ the statistics properly you require context. In my high school sociology class the instructor posed this statistical fallacy: Drownings and grass growth rates are positively correlated. A naive observer born and living on Mars might ban grass to prevent drownings. This missing the mark because correlation != causation, and the true correlation is more people swim in the summer when grass grows faster. There is not swimming on mars.

>Also, as a comparison point: apparently several federal judicial districts have a 100% conviction rate [...] Do you see these statistics as implying the whole thing is just a rubber-stamp process altogether?

Comparing to high criminal conviction rates (often in the high 90%), the prosecutors and attornies general use the conviction statistics for their re-election campaigns. Cases which would result in "Jury Nullification" or some other modification of caselaw or jurisprudence are abandoned, keeping the rates artificially high. Refer to "Stingray" caselaw. This effect is partially caused by the adversarial court system being helmed by elected officials.

This is to say, that the regular criminal courts are an adversarial public system in which the accused get lawyers. Those lawyers sometimes win in court, other times the AG or prosecutor drops the charges when it looks like they will lose due to the legal arguments employed by the adversary. Dropped or unajudicated charges aren't counted in the statistics. Losing cases are not tried.

In order to maintain your claim here, there is some missing data:

1: Who is the adversary in FISA?

2: When does the public review the court proceedings?

Given the answers to 1 and 2 being "Nobody" and "Never", the statistics tell a much different tale than the criminal conviction statistics. Now the logic may follow.
Absolutely - clothes send a social signal that you're a part of the right group. In London you can not get hired in the City for wearing brown shoes. Not because black is the right colour, but because everyone from the social class that they want to hire from knows about the unwritten rule to only wear black shoes. The same goes in SV for Patagonia vests and Allbirds.
What's next? Moving away from silicon? I've always heard of Graphene as the next step but I know nothing about this stuff.
> "If I had to guess, we would see the a change in the focus of research on cruise missiles and precision-guided weapons to focus on making them cheap to create with what resources are available."

Were that possible, the permanently festering Middle East conflicts would already have produced them. It's not as if they don't have the intelligence and motivation; recent incidents of conversion of consumer drones into weapons being a prime example.
It's a Facebook approved app through and everything stays within Facebook's ecosystem. Check it out: https://blog.repixel.co/2019/07/01/facebook-and-gdpr-complia...
completely agree. Silence is the only way to code
I think you illustrate the point. Find out what works for a person in a given situation. It can take some trial and error, but it's really worth it when you find your happy routine.
Big lies seem self-reinforcing, particularly in public companies.

Or to put it another way, nobody is going to charge you with a crime for staying with the herd. That's a passive choice.

But when there's a dissenting voice, suddenly you have to make an active decision to ignore them. And that's when the lawsuits start producing emails about who knew what when.

End result: People intentionally (if they know better) or unintentionally (if people smarter than them are all saying the same thing) agree with the party line, even in the face of demonstrable facts otherwise.
Reminds me a lot of the water refill stations that the government has in desert areas of the United States (Kelso Junction, California leaps to mind). Except the government ones don't have advertising, and aren't connected to the internet.

I'm a little perplexed about why this needs to be internet connected. Hire someone to change the ads on the machines and you've made a small dent in unemployment, too.

And if an area doesn't have clean water, isn't it reasonable to believe it doesn't have internet connectivity, too?
> I would like something that works uniformly across Windows, Linux desktop (such as XFCE, GNOME, KDE), and macOS.

Löve [0] has a great approach to cross-platform deployment [1]. It's not exactly constrained when you compare it to QBasic, but of course using only a subset of its modules is no problem :)

Of course the closest equivalent is … DosBox! Runs on basically every system, does graphics and sound and not much else :) Btw., Watcom in Open Source now [2]. IIRC Retro City Rampage 486 was made with that.

[0] https://love2d.org/
[1] https://love2d.org/wiki/Game_Distribution
[2] https://github.com/open-watcom/open-watcom-v2
> "we only have 10 years left to advance our fabs"

Well, only 10 years left to advance with silicon wafers; once improvement truly becomes impossible there presumably we'll see even more resources go into trying to find practical replacements.
> use the fact that you called a lawyer first to convince a jury you're guilty

Would that even be admissible?
Have you considered generating integrations pragmatically using OpenAPI?
People who do a lot of personal projects also tend to be young with minimal outside responsibilities. It is no secret that they are appealing hires - someone who's willing to spend long hours on personal projects is probably also willing to spend long hours on work projects.
That's what makes it discrimination.
> you feel great wearing a good tailored suit,

Maybe if it's 50° F indoors. I agree that there shouldn't be a pointless stigma against some outfit, but there also shouldn't be a pointless requirement to adhere to useless standards.
So i think the summary is that the SS API needs to support alternative encodings (and thus signings) than JSON. Totally agreed; as you know we've already been experimenting with compact representations including CBOR (https://matrix.org/blog/2019/03/12/breaking-the-100-bps-barr... etc) which applied both to CS & SS API, which took the ratio down massively. However, we fudged it there by disabling the hashes entirely (given it was on a trusted private network). So from my pov Matrix is not remotely tied to the crappy HTTPS+JSON transport for S2S API in the long term, and it's only a matter of time before someone concretely proposes something better.
BBC Micro Live S01E03 (7th December 1984)
Why would learning BJJ help in sales?

It probably wouldn't. But that isn't the question here. Look at what the OP wrote:

I'm shy and I feel weird talking to people, looking into their eyes. Talking to a group of people will make my voice shaking and I feel inferior and less confident whenever I talk to people

That isn't a sales problem, that's a basic, fundamental issue of confidence, self-assurance, "frame of mind", or whatever you want to call it. If you can't even look at people and talk to them, you're not "doing sales" yet.

What weight-lifting and jiu-jitsu can help with, in my (admittedly anecdotal) experience, is that "confidence, self-assurance, etc." stuff. The stuff that's a prerequisite before even getting to the actual sales part.
Give it a couple years but making .NET Core cross-platform will eventually catch up with the industry at large and we'll start to see more early-stage companies embrace frameworks like ASP.NET Core and bridge the gap between old-school, big C# systems engineers and trendy startup ones.
Option 1: comply with LE+owner's request; they have a chance to recover vehicle; costs are low and bad PR is avoided.

Option 2: don't comply with LE+owner's request; deal with later warrant at higher cost (now you have compliance & legal involved); vehicle is not recovered, bad PR is obtained, and everyone loses.
> a mobile-platform-launched ICBM that you can climb into.

The Titan II GLV was a human-rated adaption of an ICBM. Conceivably you could even put people in a truck launch ICBM.
Yeah you'd be covered. This is another way of retargeting, and as far as I understand, you'd be opted out globally.
Investors believe that the company will be profitable. It doesn't really matter to them if a company has a habit of overpromising or underpromising.
>However, even the dimensions for finished lumber of a given nominal size have changed over time. In 1910, a typical finished 1-inch (25 mm) board was 13⁄16 in (21 mm). In 1928, that was reduced by 4%, and yet again by 4% in 1956. In 1961, at a meeting in Scottsdale, Arizona, the Committee on Grade Simplification and Standardization agreed to what is now the current U.S. standard: in part, the dressed size of a 1-inch (nominal) board was fixed at 3⁄4 inch; while the dressed size of 2 inch (nominal) lumber was reduced from 1 5⁄8 inch to the current 1 1⁄2 inch.[11]

https://en.wikipedia.org/wiki/Lumber#Dimensional_lumber
Hi HN! I've been frustrated with standard GUI-based design tools, because they don't match the way I think: like a programmer, in terms of relationships and abstractions. (Does this resonate with the community here?)

So I've been hacking on this new DSL for design that allows the designer to specify figures in terms of relationships, which are compiled down to constraints and solved using an SMT solver. This also leads to good support for abstraction, because constraints compose nicely.

The system is still a WIP, but it's usable enough that I made all the figures and diagrams in my latest paper and presentation with it, so I thought I'd write up a blog post about it and share some results.

This post is about how I think about design and how the programming language implements this philosophy. It also contains a number of case studies of designing real figures with the tool.

There are also some (probably useless?) but really amusing results, like what happens if you solve figures via gradient descent: https://www.anishathalye.com/#gradient-descent (the result is oddly satisfying).

I'd love to hear what you all think about the ideas in the post. Do you share any of my frustrations with existing design tools? How do you think when doing design -- does your model match mine, or is it something different? Do you currently use any design tools that you're really happy with, that I should know about?
I see where you're coming from but that doesn't really refute the idea for me... Some cultures didn't develop footbinding, but that doesn't disqualify footbinding as what it is.

And even if they arose purely for convenience, why did they stick around? If today's populations really developed the self-reflection to operate critical of importance of sex, why are "he/his" not as weird to say as "whitey/whitey's" would be as pronouns?