skysight-inc/HackerNews huggingface dataset:
> So... Type signature `Int -> Int -> Bool` can be used for a function that does any of the following things: manipulates strings, decodes JSON, or queries a database? How does that make it easier to deduce what a function does by "looking only at type signature"?

From this quote, it's easy to see you've not spent any time actually using Haskell (others have explained what is actually going on), so why do you dislike it? I cannot fathom having an opinion either way on a language I don't know.
For that to happen, you actually need working autonomous trucks.

Sadly, press releases, PowerPoint decks, heavily edited videos on YouTube, and even artificial demos in tightly controlled environments are not enough.
I wonder if they would respond better or worse than a human. Do tires blow often on large trucks? If not a trained system could have more fed data on what to do in that situation than a human who has never or rarely experienced it.
Former bike dealer here (I've written about it briefly for anyone who might by be interested: http://www.sciencerocketry.com/blog/great-work-and-new-begin...). You are correct that dealers have been unable to capitalize on the boom to realize big profits. There's plenty of service business but the labor part isn't really profitable (in my experience). The ability to sell parts with service can be profitable, but the distributors and manufacturers don't have any parts to sell.

One positive is that those dealers drowning in older, unsold stock have been able to turn a lot of that into cash. That's allowed a few of them to restore some financial health to their business and get out from under some of their debt to vendors and other creditors.

But even so, the bike business is so commoditized and the supply chain is so lose that bike shops (and manufacturers as well) have a pretty low ceiling of profitability. Even in the midst of a boom, the economics of the bike business restrict it to a lifestyle business at best. For some shops, this (likely temporary) boom probably presents the best window of opportunity to close their doors.
I can't read the article, but I think evidence like this is important when it comes to the whole idea of government subsidises impacting on free markets. The free market has become a bit of a religion for some (you can see in the comments here), and there's this staunch divide between those that believe the free market will always come up with a humanitarian solution, to those that believe the government need to push things for it to happen.

My FIL was head of a large coal plant in the UK, and is very critical of renewable energies, their cost, the impact on the fossil fuel industry etc... It simply isn't possible to have a conversation with him about global warming - he will simultaneously argue it isn't happening and it's natural and not caused by us. He might be an extreme example, but there is general scepticism of government subsidies here.

I'd love to see a study where researchers take things that are seen as good/important/essential to modern life and measure the amount of public/government sponsorship that helped bring it about.
Solar is not controllable. A nuclear power plants scales up or down in less than an hour and works whether it's sunny, rainy, snowing, windy or dry. If you build five times more solar panels, you have five time more panels not running when it's not sunny. We can't store it either, because we would then need to build such large battery farms that it would be both dangerous and impractical. Not to mention that our current batteries have absolutely dreadful efficiencies and lifetimes.

Additionally, the current CO2 emissions over the lifetime of a solar panel are absolutely horrendous if you do not live in a place that is sunny most of the time.
What are 3.5 million people going to do if they're suddenly out of a job and have to change career completely?

There's a precedent for this. Back in the early part of the 20th century the number of people working in the horse trade fell dramatically as horses were replaced with automobiles. Society survived.
Why does this comment (the one to which I am replying) have a score of "0" instead of "-1"?

Is this a glitch in the matrix? A bug in the code?
Decide for yourself: https://archive.is/0BTU1
Can you explain why? Neither needs dancing robots, and both seem capable of building things themselves if they need it?
Hmm, what do you mean? Haskell is generally considered nominally typed (or rather types introduced by its newtype and data declarations are ...). "Structural typing" typically refers to things like polymorphic row types and polymorphic variants.
No one prepares for what motivated attackers think of.

These trucks will be robbed. I look forward to LIDAR invisible, reflective cars in the next fast and furious installment.
Presumably the same thing human trucks do and keep driving. 7/8 is within the safety margin and 2 blowouts on the same trip is extremely rare.

That’s the reason for a dual tire setup as it’s designed for this kind of redundancy.
I see, and for my due diligence, do you plan on stealing from your investors?
Parker CEO responds to app removal
You're off by probably an order of magnitude. You can absolutely scale this organization to 100+ engineers. I've worked at a company with ~30 Haskell developers and I was involved in hiring most of them without lowering our hiring bar. If we really needed more it would have been quite easy to lower the bar a little and increase the numbers significantly. Here's another example of a company that has a large Haskell team:

https://iohk.io/en/team/#team=development

Now if you needed to hire 1000 developers, then you'd have more of a problem, and perhaps Haskell wouldn't be the right approach. But in my experience, Haskell engineers get a multiplier effect over the average non-Haskell engineer because the code is more concise and the average engineer skill is higher. I don't know what the multiplier is, but it's definitely non-zero and positive. This not only pays the obvious direct benefits, but also reduces the communication overhead of your team and the number of managers you need to hire.
You think that, democratically speaking, the majority of Americans are in favor of Parler conducting business? You think there should have been a vote or something?

Amazon, Apple, etc don't work democratically though so it doesn't matter.
Maybe the solution is to start leaking them (anonymously of course) and then when the damages add up say "I was going to disclose this but you don't pay". A few incidents and maybe they'll start paying?
Blastar: Game created by Elon Musk at the age of 12
How did you remove Chrome?
Rust metadata (not just types) have an habit of getting in your way.

It is all for good reason, you can't ditch the GC and have control over the memory structure without the compiler complaining about details here and there. But fixing those strings versus slices and iterator type mistakes is really annoying.
There's plenty to audit. Does the number of votes match the number of voters? Are there chain of custody records. Are there envelopes for the mailed ballots? Are all the mailed ballots actually registered voters, and were they actually mailed? Furthermore, what mechanism was used to ensure that voters did not double vote by voting both in person and via absentee?

There's been reports of thousands of votes not being counted or added to the transmitted counts in various jurisdictions. That means at least part of the system broke down.
Solar power, Tesla, SpaceX it's amazing what big government taxing individuals in mixed market society can achieve.
You’ve clearly seen too much
I don't agree. I think that the harm caused by these loud demagogues (is that redundant?) is massively overblown.

The US president, perhaps the one with the most platform and audience and reach, couldn't even summon a properly armed militia, it was only a small group of mostly unarmed rioters. Their best efforts achieved precisely nothing: they did not seize any power, they did not hold any territory. It wasn't even a battle. Far from an insurrection, it was just some
smashed windows and an instagram moment and now they're all in jail. Calling what happened an armed insurrection is factually inaccurate, even if a few of the rioters brought weapons.

If platform
and reach are proportional to messaging effectiveness (the presumption that this sort of censorship makes) then everyone else's efforts along these lines (who isn't the president of the United States) will be substantially less effective than even this massively ineffective display in DC.

Let them squawk. Misinformation and lies simply aren't that dangerous, otherwise we would have had to ban the church centuries ago.

Americans are inundated constantly with bullshit messaging from large, powerful organizations. They aren't nearly as malleable as the pro-censorship people seem to think they are.
And most outdoors is navigable by means other than legs
>How do you grant a company access to your data but prevent them from storing it?

Outlaw it.

>And how does it apply to data a company generates about me?

You store it on a server you control, then provide access to 3rd parties. This is how https://urbit.org/understanding-urbit/ is setup to work.
Non-Obvious Lessons from 100+ Angel Investments
I care. Always preferred well established acronyms that everyone is familiar with.
Mac is great, I would use it full time if Jobs and Apple hadn't decided gaming is for kids. It's my hobby, especially now that I'm locked home, and being unable to play the latest PC game is an unacceptable compromise for me. No, a console is not what I'm looking for.

So in that case, Windows is the best compromise. And while I'm still in the proprietary world, I'm outside the walled garden.

In any case, I haven't hit any WSL2 bug or corruption in these 6 months (nor blue screen), so fingers crossed.
„ A network-wide reset has just happened. You may need to take action. Please visit urbit.org/breach for more information.“
Pin Code vs. Password: Which Is More Secure?
False dichotomy. There are plenty of solutions for going over horrendous terrain that don’t involve legs
For this kind of specialism, I'd expect a company to pay an internal employee that much ($5000) per week of work - and contractors should be charging double.

The fact that a company has undervalued this work and failed to identify it as important, and someone external has identified it, makes it worth even more.

A ransom demand on YouTube might be unbounded in value, e.g.: https://www.lexology.com/library/detail.aspx?g=e4d1be15-18db...
Yes this is basic (and incredibly common) behavior. The alternative is often much worse (an embedded WebView in each app to do things like open TOS pages).
Your argument, perhaps taken to an extreme, is "The majority of Americans have 'voted' to let Twitter decide their votes, therefore the control Twitter has over our democracy is valid".

I don't accept that argument. I think most people who are active on social media are not aware of the effects it has on them. Social media is designed to sink its claws into your brain in an addictive way.

Allowing Twitter free reign crosses the line between Democracy and Mob Rule. To protect our democracy, we need to protect the ability of people to think for themselves.
35 is pretty close to 10 when you start at 1300 and prune obstructions.

Now address clouds, angles, dust, snow, opacity, malfunctions, storage inefficiencies, panel aging, and chronic optimism. 10W.
Nothing unusual about this, although it can be done wisely or foolishly.

https://www.theatlantic.com/ideas/archive/2019/11/ethanol-ha...

If we are to survive and thrive on this planet, it would be good to do it more wisely.

In general, the "free market" can be easily overstated, it has ever been this way.

https://en.wikipedia.org/wiki/Mercantilism

Not to mention colonialism as a driver of early capitalist economy.
I built Lttrs.co to make it easy to publish content to the web. From personal websites, to that pesky terms of service you need hosted for launching your iOS app. All your content is one-way synced from Google Docs so there's a clear source-of-truth (No more copy-pasting!). After you share your folder and hit publish, Lttrs builds an optimized, statically generated site (with a perfect 100 Lighthouse score for performance).

It's still early and I'd love to hear what you think!
Revolut Applies for U.K. Banking License
Ok, so it’s more of a legal framework than a technological one.
Depot to depot, you are going to have to block major highways to get them to divert anywhere near a quiet location.

And if it is even sort of a problem, companies shipping valuable stuff aren't just going to do nothing about it.
It runs in the browser, saves all it's data in the browser and works offline. It's simple, fast, and private.

I have it bookmarked to my home screen on my phone and it's helped me lose a little weight.

I made this a while ago, but I've never shared it with the Hacker News crowd. It could use a visual update but it's working for me.
Most of these apply to F#. The only difference that there are much more libraries available for that ecosystem than to Haskell’s.
Most of that is what the 4–5 useful hours per day figure is supposed to take care of (that’s a year-round thing, too, averaging summer, which may be as much as double that, and winter, which may be half).

Hmm… storage inefficiencies? Are you including battery storage and perhaps an inverter in your calculations? I guess that’d account for some loss.

I’m guessing also from “snow” that you may be in a place that gets comparatively little sunlight?
> To use Haskell correctly, like the classic xmonad and similar projects, requires discipline, knowledge and good taste for just right abstractions

Hum... Knowledge and an acquired taste, yes. You'll need those. Discipline not. Discipline is exactly what Haskell doesn't require.
You’re looking right past the likely cause and jumping straight to the reaction. Ignoring the context is not useful. Twitter, Facebook, AWS, and others didn’t act ex nihilo.

To flip it around, do you think Twitter, Facebook, and AWS would have taken these actions if protesters hadn't broken into the Capitol on January 6? I think it's unlikely.

Twitter and Facebook have taken little action in the past four years even when there were many calls to do so, and Twitter had already come out and said that they'd subject Trump's account to normal TOS review after he leaves office. So something happened that caused them to change their decision. In this case it's not hard to see that the proximal and stated cause is sufficient to explain their actions.
I think the video is too dismissive of the HP200LX. I still have one of these and it was a truly amazing thing to use.

It was powered by a clockless 80C86 processor and lasted for 40 hours on just 2 AA batteries.

Most of the in-built applications (e.g. Quicken and Lotus 1-2-3) ran directly from ROM rather than being copied into RAM and then executed. That meant when you pressed the button to switch to that program it was available instantly.

Quite frankly, compared to the HP 200LX our replacement handheld device (mobile phone) is actually a backward step.
Is 73% of the population surfers? Or are 73% of Americans alcoholics? This is a very large percentage of the population that will increasingly encounter health issues within a healthcare system with an artificially capped number of physicians.
If it was indeed a backdoor, sure, but that's a judgment call, not something anyone knows. As others have noted, e2e was a novelty at the time, not a norm, and the platform itself was extremely new (less than a year old), and their stated reason for this was to protect against weak client RNG, which in retrospect sounds like a weak reason, but looking back at the news of 2013, this was right around the time the Snowden leaks caused everyone to believe RDRAND could indeed be compromised, so "client having state-compromised RNG" was indeed something on everyone's mind.

Further, the fact that this was caught so quickly is in some sense a vindication of Telegram's model - even in its infancy when it had orders of magnitude fewer users, the fact that the client was open source allowed someone to quickly spot a vulnerability.

The verdict? IMO Telegram secret chats are probably secure (90% certain), but if I were plotting a murder or something, I wouldn't do it over a smartphone app anyway. There's just too many leaky, complex layers in the stack, some of which aren't even open, and quite dubiously so. If security is a life-or-death situation for you, you'd be a fool to use any smartphone app.
Bitcoin: Be prepared to lose all your money, FCA warns consumers
Seems like yet another press release from an autonomous driving company that promises to test without humans soon and has vague ambitions of level 4 autonomy in the 3-5 year horizon.

Add it to the pile! http://rodneybrooks.com/wp-content/uploads/2020/12/SelfDrivi...

(from recent HN post https://news.ycombinator.com/item?id=25706436)
Mental models: a reflection on AWS outage
So it has 70 years of seasoning! I bet it works great. The whole point of the article is to take a newer pan and make it perform like yours, without needing 70 years of use.
Yes it is doable. I made a mistake in how I dealt with inflammatory comments, in responding in kind instead of reporting it. I wrongly assumed moderation was more lax, and the forum was more of a free-for-all, than they are.
The Engineering Manager's Booklist
To take it away from this political moment for a second, do you believe it's acceptable to allow someone to yell, "Fire!" in a crowded theater, or do you think these people aren't actually yelling, "Fire!", and when we determine someone is yelling, "Fire!", those private institutions should still stop them?
Show HN: Free, zero configuration hosting for data and models using Git and DVC
Hey HN! I'm Guy, one of the creators of DAGsHub. We help data scientists track experiments and version their code, data & models using Git. We're committed to building on open source protocols and improving the user experience on top of them - in this case, DVC. We've built capabilities on top of it like visually interacting with your pipeline, creating data pull requests, browsing data files etc.

One thing we kept running into is users being challenged by setting up the cloud environment necessary, to push their data to AWS S3, GCS (which we support), and other DVC remotes. Since our focus is on community projects, it was clear that this is a lot of friction that we don't want, as it gets in the way of users actually working on data science.

To fix this, we built DAGsHub Storage. It's the easiest DVC remote you can set up, and we made the process of setting it up as close as possible to the process of setting up a Git remote. That means that you don't need a credit card, define storage access permissions, IAM, etc. Just type in `dvc remote add origin [https://dagshub.com/<user>/<project>.dvc](https://dagshub.com/<user>/<project>.dvc)`.

Since our goal is to spur community projects and collaboration, DAGsHub storage is free for open source projects, and we also gave some free storage to private projects, because, heck, why not.

After you push your data to DAGsHub Storage, you'll be able to view it, compare versions and share it with collaborators easily, as well as control team access. This means that you can contribute data to projects, not just code. I hope this makes ML work better and promote Open Source Data Science.

Unlike GitLFS, we're offering significantly more storage, basing it on the much more data science oriented DVC, and actually letting you browse, compare and share the data files and artifacts via the UI.

As usual, I'd love to hear your feedback!

https://dagshub.com/blog/dagshub-storage-zero-configuration-dataset-model-hosting
xkcd.com/1357/
"Unlike past breaches, this one comes with a tool to export and reimport all of your data so that you don't lose anything;"
Expect delays in Somerset due to a multiple lorry pileup.

The leading lorry shut down when recent earthworks caused an unexpected input.

https://www.bbc.com/news/uk-england-somerset-55571080
Nice overview.

"Freemium is a harder model to implement in open source, since the source is, well, open, but we do see this in things like WordPress...."

=> Just to add another flavor: The Freemium model is working well for us even so we are not SaaS.

In our case, the main part of the RPA software is open-source (GPL) and free. All Internet access is only done within the open-source core.

The features of this core app can be extended by local native apps for Mac, Linux and Windows. These are proprietary/closed source.
Brrrrr goes the printing press
Just accept collective punishment bro.
It took a while for some of them. I actually just got one reply yesterday and this all happened before Xmas.
>This article has before and after pictures from the same angle: https://www.somersetcountygazette.co.uk/farmer/18996741.catt...

which one is the before and which one's the after? Usually it should be before first and after second, but in this case the first picture looks smoother than the second picture?
For really busy posts, I would guess that approximately nobody even gets past the first root level comment.
I think that sudden engaging the brakes is what caused the accidents.
I remember back in 1989 or so(!), my mom used to work at our summer cabin which had no electricity using a ~1m^2 solar panel, hooked up directly to a car battery, which was hooked up to a small laptop (a Compaq, I think).

I have no idea if such a setup would be remotely feasible today.
Someone might find it hilarious to put that sign in their front yard to mess with passers by
If fully autonomous long haul trucking was buyable today, then it'd still take 10+ years for it to be phased in. And even then, your 3.5M people number likely includes both long haul and short haul trucking. Short haul is entirely different ballgame. So, a more likely scenario than 3.5M people losing their jobs suddenly is that the trucking industry stops hiring, and mix of short/long haul jobs shifts from its current mix to entirely short haul.

I'd also be interested in what the median age range is for truckers. If adoption is sufficiently long term (20 years wouldn't surprise me), the economic pain might be surprisingly minimal due to people aging out of the workforce.
Library for working with regex groups in Golang
I noticed that there is no easy way dealing with regex groups and regex named group in golang, which I find pretty useful in some cases :)
So I write a simple library to match regex expression named groups into go struct using struct tags and automatic parsing.
NYTimes uses the paywall to keep control of their data ;)
I believe all advertising to be unethical, so there's that.
> We call an event like this a 'breach' since we breach the continuity of Urbit's network protocol. This isn't a security incident.

Ummm....

edit: judging by the number of replies like this one, clearly has a high CTR. Might not be as bad a choice as I thought.
That link explains that this is just a protocol update not a security thing. (confusing word choice imo)
I think I'd rather pay the money to get a nicer form factor for the computer, and the increased performance for on-die RAM.
Totally agree. I just placed an order for an eFatbike last week. I've spent the last 9 months hiking every possible hiking trail within an hour or so of me. Now it's time to explore all the MTB trails and fire roads. Getting outside on weekends is the only thing that has kept me sane since the pandemic started. I haven't been to my company office, client sites, gym, restaurant, etc. since mid March. Other than to go grocery shopping every other week and hiking on weekends, I rarely leave the house at all.