skysight-inc/HackerNews huggingface dataset:
Unfortunately not a solution for federation with other servers, but you can disable presence on Matrix servers you control.

For this playbook, use these variables:

matrix_synapse_use_presence: false
matrix_client_element_enable_presence_by_hs_url: {"https://matrix.yourserver.com": false}
How would we know, we haven't seen the actual contract.
> This is a strange concern to try to address with code-review. I don't think most folks actually expect to catch a lot of bugs by staring at diffs. Testing is the right tool for that job.

Correct. I expect those tests to be developed alongside the code. Part of my 'definition of done' is you have passing tests to prove the implementation is complete.

> Style concerns definitely shouldn't be the primary focus of a code review. Ensuring some stylistic consistency through the code base is a benefit they can provide, but certainly not the the most major.

Agreed. However, I've seen too many toxic scenarios where this is what actually happens.

> How do you know if the tests are complete on someone's work before they merge it?

Everything at the branch point can be tested. Also, since we have tests, we have the ability to regression test and ensure everything is still working properly after the merge.

> Isn't it better to catch code structure issues when they are fresh in everyone's mind rather than taking on technical debt and addressing it down the road when it will require more effort?

Yes. My counterargument though is having a complete set of tests that all pass is far more important than concerning yourself with the structure of the code. I understand that's a radical departure from the state of the art but it stems from years and years and years, nay decades, of enduring counterproductive code reviews. I've sat in on several sessions where there have been long, drawn-out discussions on flexibility and extensibility when 9 times out of 10 it simply didn't matter. I've seen so much time wasted on stuff that ultimately didn't matter.

My take away: make sure your tests are reasonably complete and they pass. If so then you're good. Maybe take a quick look at the code, especially if being submitted by a junior, to make sure nothing outrageous is present, otherwise don't worry too much about it.
I think you've got it. Tailscale is installing WireGuard. You have to have privileges to install Tailscale. They can tell the OS to route packets through their virtual interface.

We could too! This is all in `wireguard-go`. But we'd have to prompt users to escalate privileges every time they tried to SSH somewhere (or, worse, install a long-term resident thingy, just to SSH to things). We don't want to own your VPN connections!

This is an end-run around all of that; we just take responsibility for all of TCP/IP, in our dumb little command line program.
There was an interesting thread about e-sports in the Olympics eight months ago: https://news.ycombinator.com/item?id=23726597

IMO Olympic sports should have rules that everyone is allowed to use, study, modify, and share variants of, in other words they should give players the Free Software movement’s Four Freedoms¹. This way the rules are accessible and adaptable. Good candidates might be Quake or a freed NES Tetris or Super Smash Bros. Melee. The latter two have benefited from being reverse-engineered enough to be modified by their communities for better training and competitive play.

1: https://www.gnu.org/philosophy/free-sw.html
For sure. If someone can come up with a way to prove anything to be definitively true, most of these arguments would be over.

It is this flaw in science that is the origin of all these controversial debates that surround science, religion, global warming and other controversial topics.

Nothing can be proven and therefore reality will always be open to interpretation.
Commercial spaces aren't rent controlled here, and many of them are empty. Many apartments are rent controlled, and I've never heard of them being empty for any appreciable amount of time.
This is where it's good that the article did such a solid job of explaining the difference between a token and a ledger.

Any ledger which represents value in a purely abstract sense has to start at zero value— and any ledger which represents ownership of some concrete asset has to be kept aligned with reality, which makes it a nonstarter for a trustless, distributed system.

As an aside, the value of "one Bitcoin" is a bit of a distraction: market cap is the relevant measure, as long as we're using an existing currency as the unit of account, and the only market cap at which a distributed ledger could be relatively stable is many trillions of dollars.

So, for a trustless and decentralized ledger to become the next monetary framework through voluntary action, it has to start cheap, and persist for long enough to become expensive. There's simply no other way of doing it.

As for why Bitcoin, and not some other cybercoin: well, jury is out, isn't it? But money exhibits very strong network effects, and Bitcoin's first-mover advantage is considerable. A global marketplace doesn't have any reliable way to communicate other than price signals, and either BTC forms a Schelling point as the new baseline store of value, or it doesn't.

It hasn't yet, but it remains the most credible candidate. If you were a small central bank, nervous about the effect of 2020 USD and EUR printing on the buying power of your foreign exchange reserves, and you wanted to buy a little chunk of some distributed ledger "just in case", which one would you pick? Probably the first one you heard of, and the one with the largest market cap: Bitcoin and BTC, respectively.
> Yet at the same time, markets, supply and demand are real, and we need to bring them back into balance by at the very least not artificially constraining housing supply in so many places.

Or we could just go ahead and find local governments to directly build houses like we used to (at least here in the UK). If you know what the desired result is then why not enact it directly rather than incentivising it. Markets are most useful when you don't what you (we) want.
Software that I can't put data into or take data out of isn't very useful. You can mitigate the splash damage something could do and reduce the attack surface, but at some point I'm probably going to be feeding that process some files or data stream and I'm going to have it write out some files or data stream. Those data entry and exit points are still exploitable, or acting on the data stream could be harmful. Sandboxing is good to do, but ultimately isn't the solution to the problem of malicious code. Otherwise its pretty much just a space heater.
Yes, this cogent analysis describes why communist nations are known for food security whereas those capitalist nations are known for starvation.
New neuralink update will fix these intrusive thoughts.
The app would include a database (perhaps sqlite), so that shouldn't be an issue unless I'm misunderstanding you. you can host it for free on replit already (albeit with sleeping/cold starts)
Honest question: Why use academic design principles instead of SaaS design principles?
That would be very confusing for unsuspecting reader. Please use something different, I would suggest `qs` for `querySelector` and `qsa` for `querySelectorAll`.
Somebody already referenced F# elsewhere in the thread: https://docs.microsoft.com/en-us/dotnet/fsharp/language-refe.... It will apply unit of measure checks as part of their static type checking.
Could you clarify what you mean by "more reliable"? What problems were you having with Storybook?
DBeaver 21.0
Sir, get with the times: https://www.workinghorsetack.com/catch-it-manure-bag-horse-d...

You can use horse manure to grow the food for the horses. It's a total ecosystem. What can you do with the pollution cars create?? can you capture it in a bag?? THINK for a second!
Its called accountability
Am somewhat incredulous that the original announcement letter for the infamous Type 1 cable is online: https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?appname=s...
I don't know how Costco does it, but if you use tap to pay or insert your card into the chip reader while the cashier is scanning your items, at the end when the cashier presses the button to indicate they are finished scanning, it instantly says "approved" and prints a receipt.

Costco is the only place where I've seen this. I don't understand how it gets an authorization for any amount that fast, since it can't know the total while the cashier is still scanning items, and it's Costco, so it could be anywhere from $50 to $5,000 so surely it's getting the authorization after the transaction finishes? The flow is almost perfect. I have them scan my Costco membership, I use tap to pay on the card reader, then I or 2nd cashier move to organizing the items into the cart, and then the cashier hands me a receipt with basically zero wasted time.
W... what?

Could you find someone to pay you more than $150 an hour to flash a rom?

Do you have to sit there the entire time you're setting up a phone with a new rom?

The comment you replied to is making a great point, generally people running custom roms without Google's services do so because they are enthusiasts.

An Android device without Google is going to require avoiding very common apps and using workarounds that are already going to be time consuming whether you flash the device or not.

Meanwhile people who aren't enthusiasts probably don't care about Google's hooks into Android via GPS.

-

People who apparently think... their hourly rate... is too high to flash a rom (something mostly automated anyways...) but also want to flash a rom and deal with a phone that is missing the core services that normally define an Android device on an outdated device and want to pay a 2x premium for a privilege may just be a sample size of you lol
So the propaganda machine is now trying to smear Bitcoin because of energy, ridiculous! I guess that the smearing it by associating it with criminlals didnt worked well enough.

T
I like you can type check stuff like this:

type State = { id: "initial" } | { id: "running", speed: number }

const f = (s: State) => {
switch (s.id) {
case "initial": // s.id available
break;
case "running": // s.id and s.speed available
break;
}
}

The problem with Typescript shows up when people with background in Java or C# starts taking oo design patterns into js-land where they don't really belong (patterns like dependency injection, factories, singletons etc.).
It's not "minor" though, `-u` just means "update it". If that happens to be v1.1.0 to v200.3.4, it'll just make that change.

The reason it's often claimed to be minor is: modules at v2 or beyond should have a different import path than v1, so they're actually a 100% different library with no implied relation to the v1 version (there may be one, but none is implied). So v2.x -> v3 will never auto-update - that'd be crazy, they're different libraries. You can even have them both installed at the same time, at different versions, node_modules-like, just like any other two different libraries.

I say "should" because it's not enforced - if you ignore this and just tag a v200.3.4 with no v2...v200 folders or other providing modules, it'll be marked as v200.3.4+incompatible, and -u will plow through every other major semver version blindly. Because it doesn't understand semver, it just has imports and can sort strings.
> I’ve written a bunch about private networking at Fly. Long story short: it’s like a simpler, IPv6 version of GCP or AWS “Virtual Private Clouds”; we call it “6PN”. When an app instance (a Firecracker micro-VM) is started at Fly, we assign it a special IPv6 prefix; the prefix encodes the app’s ID, the ID of its organization, and an identifier for the Fly hardware it’s running on. We use a tiny bit of eBPF code to statically route those IPv6 packets along our internal WireGuard mesh, and to make sure that customers can’t hop into different organizations.

My first thought was "Wow, can we make this _more_ complicated please?", and then I read the rest of the post.

I hate technology.
Kant's second imperative is great!

However, people wanting feedback beyond mere downvotes is legitimate and downvoting without comment is the actual wrong here IMO.

IMO the best scheme here is that you _must_ provide a reason to downvote. People who vote for your reason [ie they agree with you about downvoting the parent] should be the actual downvotes.

This way instead of apparently arbitrary downvotes one gets a list of reasons with scores (HNs score hiding aside, though they'd still be ordered) indicating their relative worth as reasons for downvoting.

That is actionable. Under K2I that would allow everyone to tailor their contents to the audience if they wished, or at least understand the audience's approbation.

tl;dr I downvoted you ;o) ... except I didn't because your comment has value even if I disagree !
I think it’s like Lisp, or rather the reaction to Lisp.

In a world without jQuery every site / devshop uses their own little set of conventions and polyfills (analogous to macros) to add useful abstractions.

In isolation, these are neat. En masse though it means that each site has their own meta language (conventions) which have to be memorized before you can contribute to the code base. Languages like Ruby and Lisp suffer from this too: there are so many minute variants across code based that it becomes hard to truly view them as the same language. jQuery, in the context of JavaScript, is a standardisation track for all those little language additions.

Personally, I just use the native APIs. I don’t work with enough people across enough sites to benefit from standardisation. You will probably find a big overlap between proponents of jQuery and professionals — especially contractors — who work with many other people on many different codebases.
Yes. Orgmode mostly scratches this itch for me and has graph-of-notes rather than tree-of-notes already, and is reasonably futureproof.
Trade routes with the Eastern Mediterranean were still active in this time period; it's not surprising to find Eastern Roman items in England. The level of trade had dropped to a trickle compared to levels seen before the Fall of the Western Empire, but luxury items could still be had.
jQuery has the kindest, most warm hearted, whimsical release notes.

During the pandemic last year:

> We hope you’re staying healthy and safe while so many of us are stuck at home. With a virus ravaging the planet, we realize that jQuery may not be a high priority for you or the sites you manage. When you do have a moment, we recommend that you review this new version and upgrade.

Some fun:

> I’ve never gotten to say this on a jQuery release, but May the 4th be with you! A short time ago in a galaxy exactly like this one, we released jQuery 3.5.0.

Release notes are also very well thought out and their philosophy is to "move slowly and not break things". I admire that. They go to great extent to provide help about how to deal with breaking changes. Ends with a section thanking the contributors.

Super nice people.
I've only owned one Huawei phone, but it definitely had Google's software installed. (and after running some network analysis, I noticed it also phoned home to China)
If RAD750 came out in 2001 that means it was only ~5 years behind. Which raises the question of why isn't there a RAD-A72 now.
The issue is that supply fell, so while there was a windfall for existing renters, anyone trying to join the renter class (by moving into the city, growing up and moving out of their parent's place, etc) is unable to find an apartment.

If you project this trend forward 10 or 20 years, you end up with a situation where most affordable rentals are being used by an aging population and the young have nowhere to live.

This also explains why these policies become entrenched: before, the world was divided into rich vs poor; now it's divided into (rich + old and poor) vs young and poor.
Which in a lot of cases will be brought by speculators see London sf and Vancouver
You might start by listing some of the reasons it's different from the numerous existing content-drive knowledge sharing social platforms.
Haha, you made my day.
Huawei is likely worse than Google in tracking.
Unless your reason is to avoid Google specifically.
Not doing runtime checks is a deliberate decision: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Desi...

So Zod it is. I like it.
There are FBA coins out there so people who want can trow money at something an maybe make profit if they gain value. But its not new so who knows how early people who join now really are.
Can't compare it with buying bitcoin at a few bucks that's for sure.
I think the fact that your very simple example (which is already longer and more complicated in your version) doesn't work shows the advantage of jQuery
Berlin is a small city on the global scale. It doesn't need to grow forever, it needs to grow to meet its local demand, which is apparently larger than the existing housing stock.
Does ClickHouse or anything else out there that even remotely compete with Splunk for adhoc troubleshooting/forensics/threat hunting type work?

I started off with Splunk and every time I try Elasticsearch I feel like I'm stuck in a cage. Probably why they can charge so much for it.
In its present state the patent/license system does more to gum up innovation than it does to help inventors. This is due to the extreme asymmetry between individual inventors (who have almost no power to enforce IP against big companies) and big companies (who have a virtually unlimited war chest of liberally granted patents that are mainly used to squash competition from smaller businesses.)

The options for fixing it are A. Reform the entire judicial system so that one guy can take on a foreign multinational and win if he's right, and also get the patent office to stop granting trivial or overly broad patents to protect small businesses from abusers, or B. Weaken IP law so that we get fewer of the abuses, under the theory that we aren't getting the benefits now anyways. (If a system promises benefits but delivers abuses, it can be advantageous and much more practical to get rid of the system, even if reforming it would be better.)
> The app would include a database (perhaps sqlite)

Meaning an sqlite database hosted with the app's code? How will "host it for free" scale when your app goes viral and you have a million plus (or a billion plus) users?
The demand is coming from renters though. People are moving to Berlin. They need to build more houses or prices will go. Markets dont solve everything but they do here. Just ask tokyo how they got out of their housing crisis. Build More.
> Then your dplyr example above doesn't work, because active_users doesn't exist.

You can assume that it would contain the same data that would be in the CTE in the SQL query above. There's no such table in the database, it's a subquery.

If your argument is that chaining multiple SQL queries on data frames is needed, then we're both saying the same thing. SQL doesn't compose well, hence the need for multiple queries. At that point it's not just SQL though, it's querying of dataframes using SQL and composing the dataframes together using non-SQL code.

Luckily, dplyr will actually compose properly, and you can get the actual SQL statement that is equivalent to the dplyr expression, which would be rather annoying to obtain programmatically.
I would prefer this as well, as the books could then serve as an educational tool. But at least it doesn't seem like Seuss enterprises is doing this to necessarily bury / hide these depictions. Here's an excerpt from the Seuss website:

"While the vast majority of the works he produced are positive and inspiring, Ted Geisel also drew a handful of early images, which are disturbing. These racially stereotypical drawings were hurtful then and are still hurtful today. However, Ted’s cartoons and books also reflect his evolution. Later works, such as The Sneetches or Horton Hears a Who!, emphasize inclusion and acceptance. Ted would later edit some of his inappropriate images, depicting his characters in a more respectful manner."

https://www.drseussart.com/dr-seuss-use-of-racist-images
Jquery has been around for 14 years. That framework..16 months.

You want to be as confident as possible you can bump to a new version on your old site in 4 years if you have to? Use Jquery.
NBA Top Shot Bans the Use of Bots
I don't like "gotcha" style discussions, but I admit I could have worded that more precisely.

What I meant is: There was no reduction in overall toilet paper production, and people didn't suddenly start to shit more. The shortage was mostly a distribution/packaging issue in the form of "not available in packaging X at location Y". Markets tend to solve that kind of problem incredibly quickly.
Because people like Apple software. Unlike MS Teams which I hate with passion.
OK interesting, yeah with #!/bin/sh it points out that 'local' is not POSIX.

But every shell I know of supports 'local'. It's not a "bash-ism' because it's universally supported.

I consider it essential; otherwise you might as well not use functions in shell.

This is a long argument (and is addressed in the same FAQ), but as someone who's written hundreds of thousands of lines of Python, I think shell is still better for a large set of tasks. A typical small project I write might have 300 lines of shell and 1000 lines of Python, rather than 5000 lines of Python.

But of course there are problems with using shell; if there weren't then Oil wouldn't exist :)
Which is why sites like the wirecutter, consumer reports, etc are / were very useful.

As for this case, I think it's an issue of a large amount of people not being the purchasing deciders vs. the ultimate end user of said stuff. Even if your a homeowner to be, your not going to do a complete reno usually and just leave the house as is for the most part. It's rare to buy something new. It's the enterprise software problem, applied to housing.
15% of the units in my building are subleased by tenants who may well lease additional rent-controlled flats in the same city.
It appears that in Norway they are already concerned, no need to turn attention any more :)

https://ccsnorway.com/

https://www.regjeringen.no/contentassets/943cb244091d4b2fb37...

A solution for full-scale CCS has now matured that facilitates the further development of CCS in both Norway and Europe. The project has encompassed carbon capture from Norcem’s cement factory in Brevik and carbon capture from Fortum Oslo Varme’s waste incineration facility at Klemetsrud, Oslo. Northern Lights, which is a collaboration between Equinor, Shell and Total, has been responsible for the CO2 transport and storage part of the project. This part of the project comprises ships for transport of liquid CO2, a reception terminal in Øygarden municipality, and pipeline to a well where CO2 will be injected into a storage formation beneath the seabed

edit: formatting
> jQuery gets out of the way, the class gets syntax-highlighted, and .focus() can’t create an NPE.

So if your selector is wrong, you won’t actually know, because your code will pretend to run along just fine.

I personally consider that a con, not a pro, and one of my (many) reasons not to use jQuery.
> The single transit file won't scale however, so we've started working on a transaction log just as you said.

Would it be possible to deploy a web-based instance with the server handling storage and collaboration? If so, I might try my hand at packaging it for Sandstorm once that's available. Would make self-hosting Athens super easy for Sandstorm users.