skysight-inc/HackerNews huggingface dataset:
The most interesting takeaway for me, was their opinion on Deno.

> Q: Most of the time, TypeScript is transpiled into JavaScript. With deno, It’s a first class language. What do you think about efforts like that? And do you think browsers will ever do TypeScript first?

> A: Deno is super cool. I love that someone’s built this tech and is seeing what would happen with it. I think the browser case is really interesting because it seems like it makes sense. Then, every time I walk five steps ahead in my head, it all breaks down for me.

> So for me, it’s like, OK, you’re going to serve TypeScript to the client. And then the clients can interpret the TypeScript. Well, if you’re if you don’t want type checking on that file that you sent down, then there’s really no point. Stripping off the type annotations is a very mechanical process and there’s not a lot of value there. You can send down source maps or whatever, but that’s more of a diagnostic debugger experience. So we get into this mode where we’re sending this down as TypeScript so it can be type checked by the client.

> My first question is, why is this the client’s job? Because you push this TypeScript code up to the server, and I hope that it type checks at the point that you did that. If it didn’t, it’d be weird to consider why you would have done that. And again, development scenarios are just totally a different beast here. I’d like to see more investment in the development space for questions like, would it make more sense to have that?

> But anyway, let’s say we keep going and type checking on the client. Well, you can’t really start this type checking process until you’ve pulled all your dependencies in. And then you’re gonna end up sending down .d.ts files that don’t really do anything. And how did the .d.ts file get on your server?

> I’m not going to say it’s never going to happen, but I think there’s a lot more room for technologies like what you see with `create-react-app`, where there’s a live web server for development purposes, checking the types in the background as it serves up the transpiled JavaScript on the fly. Like, that’s a fantastic model that renders all of my objections totally moot because the type checking is happening at a more logical time. Maybe there’s some space for a browser plug in. But that model’s a little confusing, too, because ultimately your `<scripts>` tag is going to pull in a .js file unless suddenly all browsers everywhere support TypeScript. That’s what you’ll have to do.

> It becomes a question of if you’re debugging or loading, say, production HTML that references the .js files. Where in the process do we actually get the .ts file instead? Never say never. But to me it’s kind of a not soon situation. Deno is completely its own thing because there it’s a new runtime. So that scenario makes a lot more sense to me, at least to be type checking during the first time you run a script and making sure that you’ve got some compatible environments.
I see your point (and don’t disagree that BLM isn’t the same as anti-lockdown protesting), but the article cites egregious examples on both sides. One example is rich folk flying around the world to second houses because they’re annoyed with their spouses. Another example involved people being banned from small religious ceremonies (like funerals, probably, though I only skimmed it), and then not being able to protest about losing their right to religious assembly.

Contrast this to Fox News, which hasn’t been deplatformed, but
falsified photographic evidence against the CHAZ BLM people, and then ran headline stories about events that didn’t happen.

Again, I’m not seeing why ZeroHedge got the ban hammer when most right wing sites are much, much worse.
Touching other lines that are not related to intended changes will only obscure the situation.
You get "karma" if you post an interesting article or comment and people upvote it.

Please read the Guidelines and FAQ (links at the bottom of the page) to see what's on-topic for this site and how the community works.
Since Google now so carefully curates its ad platform, it should now be liable for all ads it shows and all the sites it runs ads on. Get malware from a site that runs Google ads or from an ad, Google is liable. Get scammed from a Google ad, Google is liable.
In my exp, an average Indian person without a university education does not really speak or understand English.
Well if a functions first run is in production youve got other problems. The idiot ref would be right.
This may be a dumb question, but is there a field of study of unintended consequences?
I sadly can't view your statista link at all, it seems entirely behind a paywall.

> its audience tends to skew older just because older people tend to have more money.

Yeah, I didn't comment on the cause, but I expect that's a big reason for it.

In any case, it's still a far cry from near 90% iOS use in younger demographics. (I edited my other reply slightly - I didn't mean to imply that Android has a 90% marketshare in younger age groups, just that it's proportionally more popular than in older age groups.)
Shawn Henry said "We said that we had a high degree of confidence it was the Russian Government"

Sorry, but "high degree of confidence" is not proof, especially not from the organization that told us Iraq had WMDs with high degrees of confidence.

Additionally, at no point in time did they have access to the hardware.

Are you forgetting that this is the same collection of people responsible for being unable to secure their own hacking tools?
I manage almost 10 projects that use different frameworks and at this point, I'd like to just standardize on something like Bootstrap. So it's less about one vs the other, more what's your comfort level.

But even within that, a couple use BS 3, a couple using BS 4, and now invariably some will use BS 5.

I don't think there's any way around doing a lot of maintenance grunt work nowadays with all this churn and constant API breakage. And it's a tough sell for many customers.
While HN might be bullish on the article, I mostly agree with it, especially the quote given about the artists turning an industrial shop into something that is livable. It's an aesthetic of the poor in dire need of living and sleeping quarters, nothing more.

Consider this:

Everywhere you look, the rich don't have some yearning for minimalism. They have massive, lavish gates, gardens filled with sculptures and fountains, and if they are really going for it, interior cloisters with basketball courts and other amenities. High ceilings? Absolutely. Plenty of light? More than the building codes allow.

That cottage they constructed on their massively acred forest property that's featured in some minimalist architecture digest magazine? That's for fun. Look at how much they paid (if they disclose) the architect to just design the thing. Good luck affording that.

A bittersweet irony of life is minimalists eschewing anything to do with decorative veneer, while they jetset away to pose next to architecture from centuries past that screams opulence with the amount of detail and decorative elements that it has.

Taste cannot be bought, even if it's shaped like a rectangle, made out of exotic wood, called "minimalist", and priced way out of your budget range to make you feel like you're somehow buying a one-of-a-kind item that will last you forever, because hey, you want fewer, but "higher quality" items, right?
Paper: https://www.pnas.org/content/pnas/early/2020/06/08/200189311...
> Abusing monopolistic market power is.

Apple doesn't have a monopoly over its "market" any more than Nintendo has a monopoly over its. Because a marketplace is not a market.

Regardless, you need to be specific as to what "abusing" means. The FTC is pretty exacting about what unfair competition is via monopoly. What exactly is Apple doing with its (non-)monopoly that is illegal?
From the article:

The first 27 months of the programme will be dedicated to understanding the science behind ripples in both the ionosphere and the electrically neutral atmosphere below it, and then building computer simulations of what is going on. These will be tested to see if they can replicate accurately effects seen in the past.

Once the team have a better understanding of the basic science, they will proceed to the second stage: field trials. This will involve three tests at three-month intervals in which researchers attempt to locate pertinent events, such as storm cells, mining operations and earthquakes. If that works, the project will then move on to matters of military interest by spying on missile launches, tracking aircraft and even watching underground bunkers being dug. The result, if all goes well, may be the world’s first true panopticon.

Hopefully they spend more time on the atmospheric stuff than the military stuff. Exciting news, if the former.
I totally agree on all points! Sadly, in my area bookstores have more or less degenerated from their original format to gift and office supply shops selling sundry items, some of them perhaps being books. A good book shop would be precious.
> When are you creating functions take or return radically different types that need to be expressed this way

Let's say you're opening a file that you think is a CSV. There can be several outcomes:

- the file doesn't exist

- the file can't be read

- the file can be read but isn't a valid CSV

- the file can be read and is valid, and you get some data

All of these are different types of results. You can get away with treating the first 3 as the same, but not the last. Without a tagged union, you'll probably resort to one of a few tricks:

- You'll have some sort of type with an error code, and a nullable data field. In reality, this is a tagged union, it's just that your compiler doesn't know about it and can't catch your errors.

- you'll return an error value and have some sort of "out" value with the data: this is basically the same as the previous example.

- you'll throw exceptions, which usually ends up with people writing code that forgets about the exception because the compiler doesn't care about it, and the code works 99% of the time until it completely blows up.
For those interested, there's a whole literature on "verifiable secret sharing", and they generally require some substantial cryptographic heavy lifting and provide computational guarantees

https://en.wikipedia.org/wiki/Verifiable_secret_sharing
Post interesting/helpful comments/posts. Please read the rules to make sure you do it the propper way, for example, your post's title should have started with "Ask HN:"

Thank you for joining, I hope you learn and share interesting things!
I am happy with GitHub just being a repository for code. For cool project discovery I generally use HN or reddit. My stars mostly acts as bookmarks for projects I found interesting at some time in the past.

I want a reliable, boring GitHub. I will look somewhere else for fun.
It's just basic consumer laws like any others, no need to bring out the red scare.
You’re implying that people can’t come up with that conclusion on their own? Why does it have to be a central source, and not just people realizing it themselves?
Reading a lot of 10-Ks, you get the impression that many if not most biotech companies want to appeal to investors who find "pick and shovel" companies appealing. Even companies that are basically drug companies often try to portray themselves as having a revolutionary "platform".

I'm not saying your attitude is obviously wrong, but there must be a lot of people whose imagination is captured by making tools and the potential of that to change the world. The development of a tool like optogenetics, for instance, makes me feel like amazing things can be accomplished. It's leverage.
Nope, the law is. Siri wont protect you from being killed. Nor adjusting your behavior. Only the law can be used to overturn this program. But don't hold your breath. They are still killing 4 per day, without any oversight.

https://www.cnn.com/2020/06/08/us/us-police-floyd-protests-c...
In many cases, that's economics.
Youtube does also demonitize videos based on comments, rather than just the video's content.
The US Federal Reserve is buying individual corporate bonds now (and has already put about $7 trillion [!!!] on its balance sheet). Bank of England is straight up printing pounds, directly financing the deficit, to pay for the U.K. economic support for the COVID response. Remember, fiat is an artificial construct, and we can change the rules and how monetary and fiscal policy works at any time. It’s just a complex spreadsheet and cell formulas with enormous impact.

When a government gives away money, it’s borrowed or taxpayer money. When a central bank does it, it devalues the currency (behold the value of a reserve currency!). Regardless of the hangover, you still do it if it’s necessary.

I digress; central banks can do whatever we need them to as a society. It’s their job to responsibly pull the macroeconomic levers to meet their mandates.
BeakerX [1] provides a kernel that does that.

[1] https://nbviewer.jupyter.org/github/twosigma/beakerx/blob/ma...
In this case, the mechanism holding the car to the road is not relevant. The important part of the visualization is the implication of all wheel rotating at the same speed on a curved surface. Any visualization on Earth would have this problem, because gravity effects the possible configurations you can think of.

If it makes you feel better, move the car and road into space and hold them together via magnatism.
> Experimenting with any non-monophasic sleep pattern sounds exhausting and I'm afraid could have serious health impacts

I assume you speak for yourself. Biphasic sleep is not an abnormal occurrence and actually quite embedded in some non-anglo cultures (e.g. late afternoon opening times). Even when occurring naturally, it isn't extravagant to be aware of provisions so that nap time doesn't cause a naturally avoidable interference.[1]

[1]: https://supermemo.guru/wiki/Best_time_for_napping
No shit. It also stops crime, a lot of early and unnecessary deaths.
Class reductionism is basically saying that disparities that appear to be due to race, gender, orientation, etc. are really just economic differences, so if you can "fix" the economic bit the rest just solves itself.

The term is, somewhat ironically, often applied in a reductionist manner.
I don't read Zerohedge often and never read the comments.

So I did just then, to check. For maximum controversy sake, I chose a Pat Buchanan article and looked at the comments sorted by 'worst' first.

There's nothing there that is too outlandish or objectionable that I could see. The top rated (worst) comment was from a leftish perspective.

Shrug.
Are 14 people looking at that product? Blatant lies found in source code
> If everybody chipped in, we'd be in a world of great sustainable software, with people able to make a living on developing solutions like this.

This is exactly the goal of Snowdrift.coop. (Disclaimer: I am a volunteer contributor and "replacement cofounder").

Unfortunately, not many people currently do donate. We posit that there's order(s) of magnitude more people who are willing to donate, but not willing to be the "sucker" who donates while others free-ride. (The game theory term for what they're after is mutual assurance). Fundamentally it's a coordination problem. To solve it, we need a mechanism that allows those folks to say, "I'm willing to do my bit, but only if others do theirs."

Snowdrift.coop is a crowdfunding platform (in development) that aims to provide such a mechanism. We call it crowdmatching. To support a project, patrons pledge to give a monthly donation of $1 per 1000 patrons of that same project. By pledging to match others, you invite them to join you, so we can reach that world of great sustainable software. And if they don't, you're left with a tiny bill, so it's safe to pledge to all the projects you'd like to support, without worrying that your lone $10/month is going to a project where it won't really move the needle.

There are two "safety measures" that are not part of crowdmatching, but I have to mention (opinions tend to be split on whether they are too obvious to be worth mentioning or too important not to say up front):

- You can set a monthly limit so you're not on the hook for more than you can afford.

- At low levels, donations are sometimes delayed and pooled (charged in arrears) to minimize processing fees.

I'll stop here to keep this a reasonable length, but will check back later and follow-up with replies. If you don't want to wait, I'd suggest reading down the list at https://wiki.snowdrift.coop until you get as far down the rabbit hole you want to go. Finally, we can use help getting all the way launched, especially if you're experienced with css or haskell (or, on the off chance, are a layer interested in doing pro bono work and/or serving on our board).
I came across a charity that gets a “double” or triple in a similar way. They build stoves for people who are currently cooking on open hearth. Those people then use less fuel, make less carbon dioxide, take less from the forest, and have vastly better respiratory health.

https://guatemalastoveproject.org/
What happens next should be a surprise to no one, and the lack of sympathy shown even less so.
From Peggy McIntosh's list:
"If my day, week or year is going badly, I need not ask of each negative episode or situation whether
it had racial overtones."
For what its worth, the datascience ecosystem is probably the worst place to get general idioms from. They tend to err towards their own domain language and build stuff for people who arent programmers. i.e. for caller flexibility instead of maintainability.

Besides that, i only said it was a code smell, i dont debate that its useful sometimes. Just that its a signal to be careful, check you really need itor there is t some other constraint you can break.

My only advice is that narrowing your parameter types at the earliest opportunity is a good practice and results in much easier to understand code.
A man with 1000 Klein bottles under his house (Cliff Stoll)
>When intelligence agencies share clear evidence a dictator gassed his own civilian population

Funnily enough, there's no clear evidence of this. According to OPCW leaked documents there's a higher probability the gas was manually placed at the site. [1] Which of course, calls into question the Syrian government's involvement, especially given earlier intelligence showing ISIS had possession of such chemical weapons.

[1] https://www.independent.co.uk/voices/douma-syria-opcw-chemic...
Sounds large enough that they could manage and sell their own ads, cutting Google out of the loop, while ending up with advertisers more in line with their content. Handling one's own ads is a significant burden for smaller sites so paying the Google tax is worthwhile but larger sites like ZeroHedge likely can do better than with Google if they put in the effort. In many ways Google is coasting on inertia and relying on most sites not bothering with building and managing their own ad content.
I don't think I've ever used the trending page in my 12 years of using GitHub.
Fear, Fury, and Forgetting
Depends on the market you're shopping in. Every remodel I see, I swear, has the same stupid orbital rings or embedded box chandelier. Minimist down to basic geometry. Sterile, ugly, and gray.

I was thinking of remodeling our kitchen, and the thought of what that would look like was... light gray.
“You know, I have often thought that at the end of the day, we would have saved more wildlife if we had spent all WWF's money on buying condoms.”

- Sir Peter Scott, Founder, WWF (1909-1989)
Nice work!

I gave in to the digital world, trying out a Scarlett Solo (audio interface) with Neural DSP plugins at the moment.
I’ve had apps get rejected because 4 levels deep inside the app, in the support section, it launched an external browser to a support page that incidentally had the generic website nav on it with a link to a pricing page.

Apple claimed that IaP was being circumvented.

This is just absurd. No serious SaaS company is going to run their users through some crazy 12-tap flow that sends people through their support pages to “cheat” Apple and signup for a paid plan. What would the conversion rate be for a flow like that? 0.00000000002%?

If a developer flagrantly violates the policy by implementing their own signup and payment collection on the first screens, we could all empathize a bit more with Apple’s position. Instead Apple chooses to throw the book at people for immaterial “violations”, without any regard to developers who are trying to participate in good faith.

On top of that, it seems to happen at random because years of App Store reviews could go by before a reviewer stumbles into the support link that’s been buried deep in the app for 3 years. Boom, there’s your conversion event that gets you to 0.00000000002%.

Basically Apple is enforcing the letter of the law, not the spirit of the law.
Landlord here. Someone else said it best. We have mortgages to pay too. The province also shut down the possibility to evict in order to pay it (for now). CERB nullifies what would have been an explosive, shitty situation for everyone.
What marginal benefit does a person with Merit aid going to Dartmouth or Carnegie Mellon over Binghamton or Pitt have to me? Hell, I’d even say giving them government backed loans or other aid doesn’t benefit me.

We need a radical reallocation of capital away from the folks that are already doing the best at the expense of the rest of us and towards people and institutions that foster social and economic mobility. Ending government backed loans to all non-community colleges or in state public programs would be a start.
Cron is a scheduler that executes shell commands. Lambda represents the shell command itself right? What are you using to specify when something should run?
> the go-to move is to "All-Lives-Matter" it

No the "go-to move" is to refuse to realize that we as a society have been trying to "fix" racism for decades now (arguably centuries), and it's not helping. The very people all the landmark civil rights laws and court decisions were supposed to help are worse off now than they were in the 1960s when those laws were passed.

So instead of continuing to do this not-working thing, maybe we should ask whether the root problem is something else, and work on fixing that instead.
Closest I can think of is failure mode analysis.
This is incredible!

I noticed that if I try to change stations in Seoul (track forward or track backwards) that part of the interface freezes with a "loading..." message.

Tiny bug, probably easy fix.

Such a great experience overall. If you plan to keep building it up, would love even more cities, even "boring" ones, if adding them could be pretty well automated. Synching the time of the video to the time in that place would be an amazing feature, but would probably involve a lot of tagging, and not sure if there's that much content out there. Keyboard shortcuts, including one to hop to a new random city would be nice. (I guess ctrl+r technically does that already...).

EDIT: There's a whole genre of 4k city flyover videos with drones on YouTube too. I know it's off concept, but that might be worth remixing in a similar way (assuming you could give credit and get traffic back to the original producers).

Great stuff.
It was.. the dev that came up with them stated as such already.

https://mobile.twitter.com/xpasky/status/1272280760280637441
Plus keep in mind this site is manually moderated and only by two people, so posting in breach of the guidelines is not only a waste of your own time but that of others.
At least on Windows, Audacity only supports an ancient version of ffmpeg. I don't know why.