skysight-inc/HackerNews huggingface dataset:
By community request [0] we made an simulation of a Tesla valve [1] that freely passes the liquid in one direction but creates resistance in the other.

0. https://news.ycombinator.com/item?id=26507935

1. https://en.wikipedia.org/wiki/Tesla_valve
The counter argument seems to be: "you're victimising a Great Man and that means you're against Free Software and a dirty SJW."
> that's cute, but do you think it would change anything if Myanmar's constitution had included such clause?

Perhaps not, but Myanmar isn't full of Germans.

> Laws, and constitutions, are useful, but in the end: politics is about power, not laws.

The power to make people behave in a certain manner. Laws are quite effective at that.
(Prior art from 2000+ years ago.)

The first 29 letters (out of 124) that Seneca wrote, to his friend Lucilius, end with a quotation—the "daily dole" referenced below—from writings that have impressed Seneca. He ends his letter 6 this way:

<quote>

Meanwhile, as I owe you the daily dole, I will tell you what pleased me today in the writings of Hecaton:

"Do you ask what progress I have made? I have begun to be a friend to myself."

Valuable progress indeed: he will never be alone. Believe me, such a person will be a friend to everyone.

Farewell.

</quote>
Yup.

My personal website was built using Go and Postgres. I did a lot of it from scratch using the standard library and very few dependencies.

I have my own deployment process using a makefile, git tags, and rsync. Migrations are just a set of sql files checked into the project.

This works pretty well for me since I'm the only developer on the project.

Here's my "tech" page with some information on the website: https://dwayne.xyz/tech

And the portfolio page for the website (on the website): https://dwayne.xyz/project/dwayne.xyz
Seriously! We were trying to build our video editor in the same style (eg like tinypng and GIF optimizers).

It's so cool to do it all in the browser!

I even built a simple landing page creator that let you change text and images, then created a zip file that you could extract to your web host - no backend needed!

I think for me, CORS is the biggest hindrance to some of my ideas, esp. around editing, creation, and working with the content.
That'd be a near-infinite ratio. The parent is discussing a site where the ratio is near 1 (i.e. roughly as many reads as writes).
In an ideal world, if you could get the same calibre of talent patrolling the Rust port of OpenSSL and everyone using it, of course you'd want the Rust version.

We live in a fallen world. For a lot of software, the Rust-Go/legacy-C decision is trivial; you'd always take the Rust or Go. But OpenSSL is a tricky case and you can see why in today's announcement: there's a crasher memory corruption problem (but you can crash Rust programs too! today's bug is like a bad "unwrap"). But the first bug is an X.509 logic problem and I don't believe any practical language forecloses on those.

Meanwhile: OpenSSL gets a lot of attention and has a lot of built-up institutional knowledge that other libraries don't. I probably trust it more than I trust any of the other C-language TLS libraries.
So, I like this, and enjoy neighborhoods (usually in old inner cities) which approach this, but one thing I don't see often acknowledged, is the difficulties of homelessness for this concept. People often don't like to say it out loud, but one of the principal drivers of the urge to retreat inside your car, is the fact that it puts a barrier between you and the crazy guy shouting on the streetcorner. We have not yet found a system that effectively removes the angry shouting, or urinating, or otherwise crazy-acting person from the sidewalk, or bus, or urban train, that is not uncomfortably close to a police state.

Not saying it cannot be done, I'm sure it can, but I haven't seen it. One of the principal obstacles to any pilot plan of this sort, is that it is a magnet to those people who don't get social interaction any other way (because few people wish to be around them), so it is at risk of being descended on. Plus, some people (the sort who otherwise are quite in favor of public transport in the abstract) don't want to be thick-skinned enough to deal with even one such person.

Me, I'm kind of a jerk, so I don't mind; it's all part of the human experience. I have the ability to tell such a person that I'm not talking to them today (unless I am), without being wracked with guilt for the rest of the week. But a lot of people (who otherwise would be in favor of this idea) just cannot (or do not wish to) be thick-skinned enough to cope with this.
We are going to have to agree to disagree then. Both Node and frontend js share the same package management system (npm). Everything is modular because it has to be. When you work fullstack JS and use one package manager for everything, it makes all the sense in the world why things are done the way they are. The same code has to work in Node, Blink, Webkit, Electron, etc.
> allowed debugging tools to notice memory corruption issues

You mean like the bug debian introduced here[1]?

[1] https://www.debian.org/security/2008/dsa-1571
Besides KDE and GNOME (and some GNOME forks like Cinnamon), none of the other choices are particularly close to a decent full desktop experience. They are generally either limited in nature or require you to be one of those people that likes to dig around for hours cobbling together scripts and adjusting the minutiae of scattered, poorly documented config files exactly to their specification. I have certainly done all those things, but of all the people I know nobody else actually wants to basically fight with their machine like that. They would rather want a useful suite of easily discoverable applications that they can use right now, and a couple ways to personalize their machine in a cosmetic manner.
I know Vercel uses AWS Lambda's behind the scenes to process web requests at least. I'd assume caching is also handled through Cloudfront by default. The place I currently work uses Fastly for caching and Vercel for hosting and it's definitely caused some issues(and much finger pointing on both of their sides) when one of those services makes a breaking change.
There is a beautiful book in the same line of thought, but from 1902 and by a classic anarchist, Kropotkin [1] and also a comment about it by Stephen Jay Gould [2]:

[1] https://en.wikipedia.org/wiki/Mutual_Aid:_A_Factor_of_Evolut...

[2] https://www.marxists.org/subject/science/essays/kropotkin.ht...
One could implement a write queue and caching for the front end. That might sound like a lot of work to go through to avoid moving to a proper multi-user database. But given that writes are probably done through a handful of API endpoints, it's probably not really that much work to implement.
Exactly. Which is a more competitive market?

One with a diversity of participants, informally colliding?

Or one with a few participants (because everyone else went out of business), informally colluding?

Ensuring profitable rates doesn't seem like a terrible use of collusion.
The main advantage that AWS will have for us over anything else is that, since AWS already manages our DNS, we are going to be able to offer our visitors the best performance by using geo-specific IP addresses.

The static site in question for us lives at the apex record (mywebsite.com), so it's generally not possible for other providers to do this without having them manage our entire DNS infrastructure, which we aren't willing to do.

In fact I think this is part of why we've had so many issues with Netlify. It's clear their preferred way to host apex domain sites is to manage the DNS completely.
Yes: https://doc.rust-lang.org/stable/std/primitive.slice.html#me...
"Go away"

"Fight to return to normal"

How many realize COVID-19 is endemic, will continue to mutate and will be with us for the foreseeable future?

Those among us, who remain vulnerable either matter, or they do not, which is it?

"We" is who exactly?

Does the "we" body of people include people living (very carefully) with immunodeficiency, those without access to doctors, no insurance, elderly, survivors of the dead?

How many are aware pandemics and the medicine, science, various other impacts play out on multi year timelines?

When is the last time nature abided by human preferences?

Please, no response is needed to the above, just rhetorical questions as food for thought.

Frankly, politicizing COVID-19, as well as denying the reality of it did us and the world a lot of harm.

I do not disagree with you on the basic idea of politicians leveraging any shiny thing to avoid hard legislation long overdue. I do not find conflating that with COVID-19 realities all that useful.

COVID-19 is still novel. There is a ton we do not know and we have yet to get the data we need to proceed in a more definitive way, and for sure lack what is needed to basically ignore it per normal.

We are going to get some of that data the hard way as some parts of the world, and the US are choosing to behave as if it has "gone away."

Finally, "we" absolutely did not do what was needed and a lot of people died, who did not have to die.

The numbers, variant strains and their potential impacts remain with us and are at levels well above those that triggered (our poor) actions in the first place. The only real difference I can see is more nebulous publishing of that information coupled with more aggressive signaling it is all OK now.

We lack the data needed to make that assessment.

We also lack the data to fully understand what "normal" will end up looking like too. It won't look like it did before. It could look similar, depending on how nature plays out and how good both our understanding and response to said understanding actually is.

The US track record is poor so far.
Hey thanks for the feedback! RoadPony would be step 3.5 in this sequence. I'll try to explain how it's intended to help.

It isn't meant to solve all logistical hurdles when it comes to touring but rather give agencies/artists more accurate insight into where they can be most successful as far as revenue and draw.

You'd be able to see what fans (and where they are) are willing to pay for a tickets to the show (because they already have via the bid on their city) in select areas. The performer can then look at this data and see, for example, "it looks like we have a strong fan base on the east coast due to the requests/bids we've received on these east coast cities"

Now the band knows that if they book on the east coast in those cities, they're at the very least going to collect the money that was generated via the bids from RoadPony. These fans are already invested so they're more likely going to show up to the show as well.

It's gives you the opportunity to validate markets in cities before you even book them. You'll still have to book the show in those cities, but you'll now know that your efforts are much more validated if you used the data provided by RoadPony.

Hope this clears things up. Let me know if you have any suggestions!
At what point does it not make sense anymore to perform all steps of an operation on a single partition of data together?
Is there a point of diminishing returns?

I've seen some stream processing systems follow the partition data and apply all transformations at once (e.g. Kafka Streams) while others parallelize the transformations (e.g. Apache Storm IIRC).

Also isn't there a tradeoff that in a depth-first (for lack of better term) processing paradigm error-recovery becomes more costly?
It's not bad, and it's what I'd put my grandma on. It really falls down on the job as an enterprise client, shipping old buggy software like bad insecure versions of openconnect VPN and such.

If you want to set up a browsing/email machine for something it's a great choice.

This is actually where I think ubuntu should focus, the server offering is kinda meh. The upstart and unity shit was a waste of time. Instead, they should focus all that energy on being a client OS. One that can run on grandmas old machine and one that can run in the enterprise.

It's just a little half done for my taste
I understand the sentiment - but this may not be the case.

A lot of software was written a long time ago with as-of-yet-unestablished good practices.

Almost no concern for security or anything else.

I wonder if they actually took really good best practices both for security and just software in general, used something like Rust, used a very open dev process with a lot of eyes on it - and somehow avoided the feature creep / political feature orientation trap ... if it could not only be re-written, but made more simple.

Maybe it would take 5 years (1 design 1 develop 3 deploy and test) but it would still be worth it.

I believe that security is a much worse problem than it needs to be, because everything we depend on today was designed without much security in mind.
I just looked, and the entire database for my webapp (which typically serves around ~50 people) is 139k. As you say, you can do a data dump quickly and safely; at that size, you could afford to just dump the entire DB every hour and keep the last year's worth of snapshots if you wanted.
You may be interested in the context, which is excerpted in Wiki: http://wiki.c2.com/?LazinessImpatienceHubris=

Laziness

The quality that makes you go to great effort to reduce overall energy expenditure. It makes you write labor-saving programs that other people will find useful, and document what you wrote so you don't have to answer so many questions about it. Hence, the first great virtue of a programmer. Also hence, this book. See also impatience and hubris. (p.609)

Impatience

The anger you feel when the computer is being lazy. This makes you write programs that don't just react to your needs, but actually anticipate them. Or at least pretend to. Hence, the second great virtue of a programmer. See also laziness and hubris. (p.608)

Hubris

Excessive pride, the sort of thing Zeus zaps you for. Also the quality that makes you write (and maintain) programs that other people won't want to say bad things about. Hence, the third great virtue of a programmer. See also laziness and impatience. (p.607)

⁂

So, if that describes you, you should be very proud indeed.
I wouldn't call (1) efficient, especially for std::string which itself might omit a dynamic allocation due to small string optimization.
Let us also remember Inbox, haven’t been able to manage day through my calendar, tasks and email in one place as seamlessly since that one was sunset.
Powering the Data Loop
Geographically speaking, these styles are almost perfect antipodes.
Welcome to killedbygoogle.com
Just because you and a friend don't agree on what a cloud looks like doesn't mean it has no shape.

We may believe some rights that are unalienable aren't, and we may believe some that aren't are, but in either case it is we who are wrong. By definition, they are not granted nor revokeable by society. If society does not recognize an unalienable right as such, it violates it.
This is precisely what I'm trying to illustrate. No, Excel does not have the same accessibility as a calculator UI. Excel is somewhere in between a calculator UI and bc in terms of how discoverable and usable it is.

Engineers fall into this trap a lot - projecting our own preferences onto what we think other people should find accessible. Most people require training before they can use Excel. The training required to use a calculator is so minimal, they teach it in elementary school. And a REPL is gibberish to the vast majority of people, even if you dress it up with nice colors and friendly messages (which to be fair help a lot).
"Should array indexes begin at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration"

-- Stan Kelly-Bootle
Like the wooden balls in Minority Report
Is there anything integrating rss + the fediverse in the same way for curation?
Smooth Scaling and Uninterrupted Processing with Apache Kafka
> you want people to buy stuff from each other, don't discourage this!

Yes, you do, but the goal of politicians is to convince the populace that their proposed larger collective reinvestments will be more valuable to taxpayers than the taxpayer's individual conspicuous consumption.

You want both consumption by individuals and investment by (1) companies, (2) the government and (3) individuals.

Investment in the future always comes from foregoing consumption in the present.

When you tax private investment to make a public investment, you're not getting more investment, you're actually getting less investment since the amount you collect to reinvest is diminished by the cost of the bureaucracy used to collect that tax money and divert those tax dollars to other investments. It wasteful massively wasteful to tax investments to make investments.
---Was talking about a previous company who made steps to shift from it for pricing reasons. Seems they where misinformed.
SQLite is a database that is intended to be embedded in applications rather than run as a separate server. You could make an Access-like application from it, but it cannot replace Access on its own.

It's commonly used in applications that use it as a convenient container to store data (the "file format" scenario) or as a domain specific database. One of the better examples of the latter is Calibre, an e-book library manager, since it exposes some of the database functionality to the end user. For example: the end user can add columns to store custom data for each book.
I was first dissapointed when they close. Then I started using Feedly. It turns out quite well: I they are as powerfull, but I have one less entangelment with google ecosystem.
Create sustainable jobs people love to do.
I guess to some extent it's a matter of taste how you score these things, but I don't see much to gain from a view that holds that belief exist in a real sense without the external actions.

That is to say that our understanding of the rules of the game, our norms, are not created at birth but rather accumulated as we experience the external world. So the acts of the lawyer and the judge matters not just for the parties involved in the case, but also to all that might hear of it. Therefore their impact on the whole of society is not to be measured merely by the number of legal entities they adjudicate between, but rather by the size of the total audience.

Though I will grant that the lion share of the moral choices we make have pretty straightforward answers (should I shove this dude onto the tracks for talking loudly about bitcoins while we wait for the subway? No, I'll just rant on twitter), and our norm setting systems rarely have to get involved for us to make those choices in line with the rest of society.
Feedly has a free tier that's more than sufficient for such light use.
Endless Operating System
Yes, but note that if you do that the parameter has to be constant, you can't do foo.windows::<runtime_expr>()
I recently started to consume content via RSS again.
It turns out, most of the blogs I care about have a working RSS feed.

I'm using newsblur (no affiliation) and it's working quite well, I no longer need to poll the websites, or wait for posts to appear here or on Twitter.

The nicest side effect is that checking newsblur before HN/Twitter limited my mindless scrolling, although this comment proves it didn't eliminate it.
Because Google Reader was the social network for people who don't like talking about themselves but about things on the web that they find interesting, and nothing since has ever come close to it.
What is the case for it not being endemic now?
A bit offtopic but I recently saw a surprisingly interesting talk about the Apollo board computer[0], and it's incredible how carefully they engineered the whole thing. Software hardcoded in the wiring, error correction for every memory access, ability to restart the whole system in any situation without losing state...this thing might have been rudimentary in today's standards, but the quality of the software was a different beast.

[0] https://youtube.com/watch?v=B1J2RMorJXM
there are also eg privacy advocates who may now be able to wear masks without too much hassle for the foreseeable future to defeat mass surveillance.

for example, pre pandemic, police in Berlin would absolutely stop and harass anyone wearing a mask in a U station/train; that'd be extremely awkward going forward, at least for a little bit.
Excellent advice. I'd add one more thought for the reviewers side of the equation (peer review specifically). Your objective as a reviewer is to help the authors present their case. Keeping that in mind helps to separate what additional work is essential vs. Nice to have if given unlimited time and resources. Beginning reviewers tend to lean toward the latter.

It takes training and practice to write useful reviews / critiques. Mentors should take the time to do this for their trainees.
Spacemacs uses “Evil mode”[1], which is available just as a regular (MELPA) package. I started with Vim and so I’ve always used evil. “Vanilla” emacs, spacemacs, now doom.

[1] https://github.com/emacs-evil/evil
The Lost Language of Easter Island
https://news.ycombinator.com/item?id=26574000
There is a bigger differential in skills at lower levels, leading to concussions. There is an order of magnitude more players each step down. There is less professionalism, lower quality gear, no union, and much less supervision each step down.

The simple answer is there just isn't the money to chase compared to the NFL. The concussions are happening in both high school and college and are much less likely to get reported.
AMP doesn't cause any issues for RSS readers. People are still using Inoreader, Feedly, etc just fine today.

> Now that AMP is gone

Why do you say that?
UPDATE is also a write, and references crossing files sounds like a nightmare.

If your deployment environment has serious constraints, I'm sure you could make it work. The product you deliver would be SQLite + custom DBI layer to hide SQLite's limitations.

It would be a lot more work, and not be as robust or scalable, compared to a more traditional selection. But I can imagine cases where it would be appropriate.
I've kept my Google Reader bookmark next to my Gmail bookmark as a reminder to not get overly invested in their products.
How does this disprove that masks are not effective? There was almost zero influenza this year as well: https://www.cdc.gov/flu/weekly/index.htm How do you have any idea what the numbers would have been without masks or the measures that were taken? I can tell you about a year ago to the day there were ambulances outside my house every 3 minutes or so, just outside Manhattan.

He was 100% fine before covid, then all of a sudden has chronic leg pains directly after which seem very consistent with blood clotting and nerve issues that covid causes?

The excess deaths from all causes was up sharply in 2020, and correlates exactly with the start of the pandemic in 2020. https://ourworldindata.org/grapher/excess-mortality-p-scores (remove the default countries, and just add the US- you will see an exact overlay with covid cases and deaths). How do you justify your claim?

You are being willfully ignorant, though I am glad you clearly haven't had this affect you in any way. I have two close friends that have lost parents to Covid.
maybe i misread this, but milestone "1.6 blockers" still has 3 open with "1.6 now considered feature-complete. This milestone tracks release-blocking issues." - so how can 1.6 be ready?
Maybe I missed it - but I don't think there is a link from the article/site to https://git.sr.ht/~martijnbraam/megapixels/ ?

It's a bit odd considering phrases like:

> It's basically my first C project, first v4l2 project and first GTK3 project but I started it because nobody who actually knows any of these things want to, and so far nobody who knows these things has stepped in to do better (...)

(I probably do not know any of these things better - but if I did, and wanted to help, I'd probably click on the link to the github profile, not find megapixels source... And move on?)
Show HN: Laravel Artisan Cheatsheet