skysight-inc/HackerNews huggingface dataset:
I'm a bit unsure if you agree or disagree with me. :)

My house costs at least 5*X, where X is the bill of materials. I pay way more for the scarcity of location and human time than for the scarcity of materials.

Isn't that pretty similar to why some people ask to be paid for the software they produce?

Just to make sure, I don't think as a society we reached "IP zen" where we found the optimal way to incentivese innovative, just as we haven't found the optimal way to incentivese quality housing for everyone. But the concept of IP does not seem fundamentally wrong to me.
When X-Rays were used at the Shoe Store
I believe that Ada, or perhaps a specific subset with some extensions, achieves most of these goals. You can definitely restrict types to be a range or enumeration of e.g. ints, and they have some facility for contract based function interfaces.
If you want to upgrade you might as well just buy a regular RPi4 and plug in your own keyboard.
Isn't the point almost always "kudos to the developers?"
Just a heads up: we have just launched the 1000eyes project on https://1000ey.es that tries to give you ready-to-use Open Source and IPv6 enabled cameras without any configuration needed.
Interesting.

It is surprising to me (but probably it is some aeronautics specification/need) that its 2-stroke engine uses 95 octane+4% oil mix, it is years that using synthetic oil you can use 2% or even 1% oil.
And what have we learned from this?

Do not use everything from one source.
Do not become dependent on a supplier, especially if you do not have any contact possibilities.
Makes it more likely for you to share the article.
But even then you have to trust FastMail not to lock you out. Sure it's a paid service so less likely and I'm sure their customer service is better. But it doesn't fix the root issue of being dependent on one party.
if required then BYE!
Isn't the issue with that nuclear weapons? The USSR/US conflict would have turned hot if it were not for MAD. Conversely, if MAD had applied, maybe WW2 would never have happened?

Since both China and the US have the capacity to annihilate each other, they're unlikely to engage in direct conflicts. So their struggle will be more like the cold war (proxy conflicts, squabbling over allies and prestige etc) than WW2 (direct fighting to conquer land/people).

The most interesting thing about the US China relationship is that they're mutually reliant. Decoupling their economies is likely impossible and even if it weren't would take decades. That wasn't true of the USSR/US or Britian/Germany. So that adds another layer of anti-direct-conflict mechanics.

I'm hopeful that a new Cold War might see some social improvement (the cold War was a boon for social programs, science and technology funding, education and the arts). Though I think it's unlikely as China is much weaker than the post-ww2 USSR was...
Cloud is giving a service provider all of the benefits of a utility with none of the responsabilities. If Compute was really a utility, then like water, sewer, and internet, it'd be highly regulated.

BTW, Mailstore free can backup your google e-mails handidly and is the best such client for doing so.
More like IFF than TIFF, though nowadays it's just "legacy" anyway.
This is so good, I work from home and I've been eyeballing products like this for a while but until now its all been 3rd party. What would really take the cake for me is if they made a version of this but with a battery and wireless charging, then this really would be an exceptional portable desktop pc.
Yes the form factor reminds me of my first computer, a Commodore 64.
Looking at Silicon – Ken Shirriff
Stressed by the News? Take a Break with the Calm News Network
The bias against major player-hosted email was probably rooted in spam prevention, but there's little doubt in my mind that they (the few big players) recognize the value of attempting to force users to use their service, and then to trap them.
Is there anything new here ? I remember reading about the negative EROEI of ethanol back in school (~ 15y back) in 'Organic Chemistry by Morrison & Boyd'.
This sounds wildly impractical as it would be 100% useless outside the city and due to cost many commute from outside the city. Are you expecting people to drive an hour to the outskirts then commute by bus once in or own 2 cars per commuter?
How to Start a React App
That is a hassle indeed, you need to set up SPF, DMARC and DKIM to at least have a chance to reach the inbox on gmail or outlook.
Electric motors are better and it has been the case for more than a century.

The real problem is powering them. Batteries have a terrible energy density compared to hydrocarbon fuels and charge slowly, fuel cells don't seem to take off, and using an internal combustion engine to power an electric engine doesn't really solve anything. In fact, the simple fact that powering an electric engine with an ICE may be a good idea speak volume about both the superiority of electric engines and the difficulty of powering them.

So yes, the electric motor's dominance is inevitable, but we are not there yet. Battery technology is just starting to become viable, but electric cars are still heavy and expensive, have limited range and we don't really have a good, universal charging infrastructure yet. It is not because of "the best efforts of politicians", it is because it is technology that is just starting to become viable.
That's an interesting bug. Thanks for linking it here!

Many flavours of UNIX have bugs in the area of file descriptor passing. The most recent one I spotted was that FreeBSD would leak file descriptors on the receiving side if the cmsg space was too small to hold all incoming file descriptors numbers.

Another interesting one is that garbage collection of in-flight file descriptors is sometimes implemented by effectively calling close() recursively. This means that you can cause kernel panics due to kernel stack overflows by closing a socket pair that contains in-flight file descriptors of socket pairs that contain in-flight file descriptors of socket pairs that contain in-flight file descriptors of [...]
Lithuania is indeed quite flat, but perhaps not as flat as Netherlands. There are quite hilly areas in the country too. The more important aspect, though, is that the highest car concentration is in the cities and they, in general, tend to be flat(ish).
Yeah I'm always worried about this.

I have a paid Microsoft office 365 account with all my email and a lot of data on it. I backup my OneDrive regularly using an rsync-style tool. But the email is more difficult now that it's all in exchange format. I could use IMAP die the backup but Microsoft is going to block basic authentication soon.
It’s not. Move the pointer outside of the window and the bottom bar should hide.
I wonder how long this will last until Google finds a way to prevent the migration out...
Just wondering if there are any trade-offs to consider if I were to use Google Workspace (G Suite) instead of a provider like ProtonMail.

Using a custom domain with Google's paid service seems like the least drastic change and you get to keep using all their services. Maybe the support won't be as good, but the products and integrations are probably better than any other provider.

And as long as you do regular backups of your Google data, I think this seems like a good solution.
GitHub Warns Users Reposting YouTube-DL They Could Be Banned
Sure if you encrypt with an application-level key it makes it harder for any adversary to use your data, as he/she will need to not only get access to your data but also obtain the encryption key to do anything with it.

Encrypting data like this is easy and can drastically reduce your attack surface.
I do not see the problem with newtype, but rather with fromOneToFive and toList. As soon as you use them, you are left with an Int and a List. So why complain safety is lost when it has been intentionally lost?

If the compiler does not provide safe ways of working of newtype's, the programmer indeed has to provide them in the form of methods, basically just as shown in the article.
Why was this marked dupe? It's a lot more interesting and informative than the OG announcement.
I've been using GitLab CI and Travis CI interchangeably. But the recent cut to 400 pipeline minutes on GitLab CI might make it less attractive than Travis CI, even after the current change.

EDIT: Travis seems to take 10 credits per minute, with 1000 free credits per month. So it seems to be the least generous tool with 100 minutes per month vs 400 (GitLab CI) and 2000 (GitHub Actions).
Interesting! Interactive Fiction is not always text-only, adding images is a popular enhancement. Extending that to 3D seems a logical consequence to me.

Is this more like a proof-of-concept, or do you plan to enhance and develop it more?

There are a few things I could think of. For example, more IF-related features (concept of passages/knots, tracking which got visited, etc. Think twine, ink and alike). Or a way of handle the transition between user-handled camera and a scripted zoom/movement taking over. Just what I got in mind trying out the demo :)
3- Work e-mail is usually created by IT and users have no influence over it.
RISCOS boots really fast.
> And an unhandled exception crashes the program, which is often worse than an invalid value.

Please elaborate. Why is working with garbage better than not working at all? Would it not also rather make it easier to find these out-of-range cases with fuzzing?
On this website, this only happens for actions that require entering your email address anyway.

> For every transactional email I need to send out - registration, account recovery, and email change verification - the user always initiates this by submitting their email, and it will at that time be available to the backend to perform the needed action.
In Sweden 0.06% of the population has died from COVID, and those that did have a median age of about 80.

Would you pay $25,000 in order to have a 1 in 1,666 chance of living an extra few months when you are 80 years old?

No one would take those odds - but it has been forced on the population.
I'm getting 1fps in Chrome vs 20 in Firefox on Intel integrated graphics, remarkable difference!
Old clunker needs to pass smog test to get the trade in $.
I depends, if you are commuting nothing happens, if you leave your escooter outside for long periods then the battery may suffer.
If you combine it with a paid domain, then you can transfer your email provider even when locked out. Of course you risk loosing your emails, but you can setup a desktop client to always download all your emails or do periodic backups.
Google is pretty unique here. You can have a dedicated support team at Google with a multimillion dollar account, and still be wack-a-moled by Google's automated systems.

The root issue is Google. This doesn't happen with most companies. This is specific to Google's culture, which treats customers as statistics. That comes out of how Google thought about search and ads, and doesn't work for anything else.

The secondary issue is being dependent on one party.
Doesn't that break account recovery requests?
I thought it was always very obvious why it's called a mouse - the cable is suggestive of a tail.
https://stackoverflow.com/questions/32870553/telling-a-story...
I am not sure if average is a good number to judge things by. I don't think many Calgarians could be convinced to buy a vehicle which makes a one-day distance to Vancouver into a two-day distance. I know this is counter to what any logistics expert would suggest, but people rarely buy based on average, they buy based on peak. So sure, if an average person in an average year makes 250 short trips (daily commute), 30 medium trips (weekends), and 10 long trips (visiting family in another province for Christmas and Thanksgiving, going on a vacation, long weekend trip, etc.), they will probably buy the vehicle that they can use for all of the above, not just the 250 short commutes. Case in point: sale of small cars and sedans in North America has been in decline compared with trucks and SUVs. People want an everything car, not a most-things car.

Also, wile a large percentage of the population of Canada lives in Toronto and Montreal regions, where cities are closer together, this does not mean that is 95% of the population. Calgary alone has a population of more than 1.3 million people. It is very common to need to make a short trip to Edmonton [0], which is considered close by Canadian standards. But even then, it is a 600 km round-trip in a road that tends to be snowy quite often. Population distribution in Western Canada is much more spread out than the East. And the cumulative population is way more than 5%.

[0] For example for concerts. Calgary and Edmonton are big enough to get good musical acts. But they are not big or far away enough for touring musicians to visit both cities. If You live in Calgary and your favourite musician is having their concert in Edmonton, that's a day trip you will most likely take.
You can get a far better used computer for that money.

It's a toy.
Question , could this e-bikes be equipped with breaks that will recharge the battery? would help with less flat terrain but I am not sure how expensive, efficient and space consuming such a system would be.
I've seen many people who like Python. I might say it's a nice language as well!
I think modern cars mostly heat up the battery, which comes with a hit to range. I don't think e-bikes do the same.

We have some company EV and in real cold weather with active AC and ventilation within cities, the range almost halves.

That said, combustion engines also need more fuel in these cases, which is bad because it also increases pollution as long as the vehicle is still cold. It just isn't as noticeable because waste heat is used for heating. It also means that it doesn't really work until you drive a bit.
> Earlier this year, when I went from having only Facebook-login [...] to allow registrations with email and password, one of my concerns was how to implement this is a way that protects the data and privacy of my users.

Any privacy effort is laudable. Then again, if you're serious about protecting your users' data and privacy, Facebook login is the elephant in the room.
Says who? Email addresses are case insensitive. If email software treats emails as case sensitive then it is broken. People have to write email addresses on paper forms, in all caps.
At least Microsoft has an infinitely better reputation for customer service and product retention. I mean , when was the last time they shut down a major product?
I am also self-hosting using the excellent yunohost.org it allows me to painlessly maintain my email and nextcloud instance.

To solve the issue you mentioned (disaster recovery), I am using rsync.net borg service.

Another 'trick' I do which considerably help is to use my gandi.net free email accounts as secondary MX and relay for my emails:
- I bought my domain through gandi, I get 5 free emails account
- I put gandi mail as secondary mx and I mirror the important email account as gandi mail accounts. For example, if my email is abc@example.com, I create a gandi mail account for this address
- I run fetchmail on my server to fetch mails from gandi
- I setup a specific email account for relay (eg. postmaster@example.com), and I configure my postfix to relay emails through gandi using this account

That way, if my server is unreachable, all emails are delivered to gandi and I can access them through gandi webmail. When everything works fine, most emails (99+% in my experience) go through the primary MX (my server). In case some are delivered to gandi or when my server is back up, fetchmail will just get them back locally.

This 'trick' helped me in numerous occasions, esp. when moving from a location to another, but it should also helped in case my house burns down.

The relay part alleviates most delivery issues: I used to have a lot of rejection (ISP MX rejecting residential IPs) or spam classification (gmail I hate you). I no longer does.
React Native Animation Using Hooks: Floating Heads
>You do arithmetic on them, get a value outside of the range, and then it throws an exception. And an unhandled exception crashes the program, which is often worse than an invalid value.

IMO an exception (failing fast) is always better than an invalid value.

Exceptions like these also excel at finding dangerous edge cases when paired with a decent test suite.
Edge on Linux: Thoughts from a Linux User
But they are a private company and can do whatever they want! This is always the reply when someone gets deplatformed for political reasons, why not when its for completely arbitray and unknown reasons too?
Medium is also terrible for SEO. Writing there is a waste of time and resources https://pawelurbanek.com/medium-blogging-platform-seo
The answers Satoshi gave were convincing, which is why the project was able to grow in the first place, and why so many of the people involved from the start wanted it to become a global payments solution.

Computers are fast, Bitcoin payments are simple, and we can get data on roughly how common payments are. Even with the hardware of 2011 it wasn't implausible to keep up with PayPal with optimised software, and with multiple-machine nodes you could even keep up with the bigger credit card processors. That was in 2011. Since then we have things like AMD Rome and 128 core machines, NVRAM that's only 10x slower than DRAM and so on. Satoshi bet on hardware improvements and his bets were solid.

Meanwhile, there is no requirement in the architecture to never truncate the on-disk copy of the block chain. Some people should keep it for historical reasons and to preserve the low-trust nature of the system, but there's no requirement for every full node to keep it, and no requirement that everyone use a full node.

Bitcoin and scaling is unfortunately a topic that became horribly corrupted around 2015 by ideology, full blown information warfare and an overtly political manipulation of the community. As a consequence there are a lot of people who think, incorrectly, that they understand the design of Bitcoin better than Satoshi did, and who think it needed to be completely replaced with the "Lightning network". The reason this accompanied massive levels of censorship, DDoS attacks, intimidation and outright extortion is because the arguments were bad and the proposed alternatives, even worse. The original Bitcoin design was fine for what it needed and represented some pragmatic engineering that balanced complexity against scaling and decentralization. What Blockstream forced on the community was in contrast, significantly worse.
I had a commercial GSuite for an organization I was running. A Google bug wiped my domain and all my data. Support was automated systems all the way down.

I think the downside of Google is this happens about 100x as often as other organizations.

Google security also cares about Google's security, not your security. Your odds of account compromise go way up dealing with Google.
Royal Concertgebouw Orchestra Celebrates Beethoven Festival Online
Your example is an extreme outlier (even if you have friends with similar usage), and is irrelevant to the general practicality of electric cars. And yet, it's still doable.

The vast majority of car users do not refuel a full tank daily, which is a good indicator of their driving habits being perfectly compatible with overnight slow-charging with plenty of capacity to spare. (If the user normally refueled a full tank daily, and got an electric car with a small battery, work-place slow-charging might be needed.)

The vast majority, should they go on a long car trip (note that this universally popular), will not be doing completely uninterrupted driving for 12 hours. They will need at least a few sizable breaks for food, toilet and leg stretching. If breaks are taken around a fast charger, a 20 minute break can give you 50% charge, 40 minutes giving 80% charge. If the drive is for vacationing, the stops will likely all be long enough for full charges as people see the sights.

Even with your driving, it seems reasonable to pull off with fast charging, assuming you have human physiological needs and assuming you drive safely and responsibly (i.e. break with rest every N hours to not lose attention and fall asleep, where N is usually ~4). Maybe your average speed would drop a bit, but that's not that important.
Free Course on how to make some money online
Free Course on how to make some money online - https://www.udemy.com/course/earn-online-various-tools-and-methods/
Early on, I remember there being concerns about forcing ethanol in gasoline used in maritime applications on the theory that the water soluble ethanol would draw water in at a higher rate osmotically and cause corrosion in fuel pumps. I don't know if there have been any long term studies on it, though.
I've had all RPi versions except RPi4, running at least 1 of them 24/7 since the first one was released, and by the first year I had a cron that dd'd the card every night, and I found myself dding the backup image at least 2-3 times per year.

RPi3+ has had no problem so far, and I'm not upgrading to RPi4 out of fear of it becoming an unstable mess again.
Yeah, I never thought I would see a pun thread at the top of a HN comment section. This deserves some sort of special award. :P
zathura with the mupdf engine, evince (if you can stomach poppler's speed), sumatrapdf inside wine.
Throughout my adult life I've always kept a notebook to write down everything that came to my mind. Random ideas for projects and articles, problems and solutions, schemas and drawings, lists and tasks. Whenever I get stuck with a project I will open my notebook and start writing everything down, breaking down the complexities of the task into smaller less terrifying chunks, pinpointing the most problematic parts. In most cases putting it all on paper gives me the clarity needed to jump the hurdle and move forward with the project. I think it often comes down to a problem being too complex to fully fit in my mind. By writing it down I make the notebook an extension of my limited short-term memory. It's a bit like swap memory when you run out of RAM – it's significantly slower, but can save you when the memory requirements of the task exceed what's immediately available.
A problem that I see with these approaches (e.g. 1..5) is that the possible values are often not set in stone. This means that by using range constraints or similar, there is often an overspecification that can hurt down the road.

Furthermore, the possible values differ from location to location as the values travel through the program. In that sense, the possible values are often underspecified / underconstrained, even though the specifications are already not simple.

This is why I prefer to go with rather little constraints - in a compiled language, you have to specify the physical layout (8/16/32/64 bits?), and I try to specify not more than that in most cases.

Then, so much safety can be achieved by placing asserts in strategic locations.
> what is missing is an analysis on

I highly doubt it that this is missing - it's just not mentioned in the article.

Also, this argument sounds a bit like sunk cost fallacy to me: the car already exists, so whatever embodied energy it has is irrelevant.

It is likely to stay on the road for decades if not encouraged to be removed. Meanwhile the embodied energy of an ebike or escooter is tiny by comparison, can in principle be powered by renewable energy, and the difference in energy footprint is so huge that I would be very surprised if it doesn't earn itself back long before the expected life-time of the car ends.

On top of that there's reduction of traffic congestion and air pollution, and less pressure to create infrastructure (like parking space) for cars. All of which is the kind of externalized cost that isn't actually externalized if you're a government.