skysight-inc/HackerNews huggingface dataset:
I've looked at Playwright and it seems to be very close to what I want, but it's on the E2E side. I'm looking more for a unit testing variant of that idea.
> CouchDB tried the whole DB-per-user thing and it didn't end super well.

Can anyone give further context here? Haven't looked at CouchDB for several years, remember it as being good for certain use cases (intermittently offline devices etc).
There is a (very stylized) cross mark on the top right corner which you can click to get rid of the signup screen and then hit the play button for music to start playing. Clearly the process needs a few more iterations of improvement. I get why prompting signups is important but without making it less intrusive a lot of potential users will simply walk away when they already have an existing solution of productivity tools + Youtube playlists.
They're marginally effective on Dutch roads, which were overhauled to be cyclist-safe decades ago, with new roads being safe by default. The Dutch approach unfortunately does not reflect even remotely on North American cities. You need a helmet, because stroads[1] guarantee accidents.

[1]: https://www.youtube.com/watch?v=ORzNZUeUHAM
Yeah it really is too bad, I'm excited for the potential of liquid democracy, but pretty sad that the most important tool for preventing vote buying is seriously limited in liquid democracy.
Norway is one of the most sparsely populated areas of Europe, still, land based windmills are extremely unpopular in rural areas.

And sea based ones in the Norwegian trench are not exactly cheap to build, due to rough seas and the depth of the water.
I appreciate this comment. I think the way that it’s written might drive off, say, a more traditional conservative — but I think if rephrased, they would agree.

“Spend time at your church, and spend money to invest in a local private school” would line up perfectly w/ 75% of Republicans that I know, (and, if I may assume your views, probably does not line up with them); and yet I think it is a very similar line of thinking.

I am trying to orientate the way that I spend my money and my time more towards my local community. It’s surprisingly difficult. Not everyone does it. And we would be better off if they did!
> Russia is struggling at the moment not because defenders are inherently advantaged but because they're relying on conscripts and relatively untrained soldiers.

Yes; this, and all of NATO is assisting Ukraine with G-2 (intelligence) and G-4 (logistics).
I think grandparent has a point - passive is a misnomer. Academic analyses of passive investing start right after the securities have been acquired and before they’re sold, which pretends that passive flows have no effect on the market (by definition - « always holding exactly 3% » implies no selling or buying, otherwise it is not possible)

« Passive » funds do buy & sell based on flows and tracking of the index, not to mention when companies IPO and/or drop in/out of things like the S&P 500. Market weighted fund might be a better overall name than passive.
MasterCard to launch biometric checkout tool for retailers
Thanks for sharing this: I'd never even heard of riving knives. Wild to think of how many technological improvements like that have made the world safer/better without schmucks like me having any idea.
Yeah, this was my problem (we have many Mac users so my liberal use of 'xdg-open' wasn't appreciated (I'm sure it was more than that I didn't have a Mac to test it against'.)

A move to devcontainers helped this but dictated some ide behaviours (majority of devs are tried and true jetbrains people) so changing they way they use their tools made this a 'no sale' so again like the wiki my scripts sit idle. But I dream for the day a `curl ${url} | bash` can solve these teething issues
Except that sometimes it’s hard to tell when the problem you’re working on is trivial. I saw this pattern used as a source of data for a drop down list of office locations. It should have been “select id, name from office_locations”. It really was that simple. But it was an “enterprise app”, so instead we had 5 classes and so much more.
Much of the rise in autism is likely a statistical mirage
> for the masses

> $40k MSRP

Good one
idk, the author themselves don't recommend it:

>If many threads and/or processes need to write the database at the same instant (and they cannot queue up and take turns) then it is best to select a database engine that supports that capability, which always means a client/server database engine.

https://www.sqlite.org/whentouse.html
Ublock origin should be able to hide it. That's what I do with all those stupid "intercom" fake chat popups that are all over the place
>> Even if you can reuse a part of your design multiple times (and even this is a nontrivial problem), you surely can't do that with different parameters!

This is on the radar for Solvespace but it's going to be fairly major rework to get it right. I'm still learning how all the pieces of the code fit together. The group structure in Solvespace is kinda crap - groups are "solver groups" meaning each group is costraint-solved independently with parameters in other groups held constant. Named parameters will help and there is a branch, but we need to work out scoping rules and some other stuff.

What I'd really like is the ability to make assemblies with multiple parts linked in the same group. And ultimately to have free parameters in those linked parts, but that's really challenging. Expert coders welcome to have a look.
“And other artificial flavors”
Added, sorry and thanks :)
That's similar in concept to the old style film badge dosimeters used to measure radiation exposure.

Unlike a film badge, a calibrated dye could be visually interpreted against a colour scale by the user. Neat idea if it works!
> we need to increase the amount of watts we consume per chip.

Not sure we need that, except in niches. At scale you often want at least some efficiency, which is certainly not max TDP per core (because the best efficiency point is with lower frequencies and higher width, not the max freq you can achieve). So remains the question of large number of cores, but at some point the area of silicon also goes stupid high. And you can put multiple packages, without sacrificing overall system density too much, and without departing from simpler, and probably lower TCO pollution.

For small systems it depends, but you actually often have even more limited thermal budget, except again in niches if you are ready to tolerate the drawbacks (stupid power req it even becomes hard to have just a few machines on a basic electrical network in standard homes or offices, high noise under load, obviously high TDP so heating up a lot). But you have less space constraints so if you really want absurd systems you already can.

So do we really need to e.g. double or triple the (electrical/thermal) power density at scale? Do we need 2 kW chips? Do we need to sacrifice the efficiency now, and increase the nominal consumption now, instead of waiting just a few years for node improvements? (And I could even ask: do we really need that much increase of processing power, shouldn't we start to optimise for the total ecological cost instead? and I've not tried to do some prospective in that area but maybe this would mean slowing down the processing power growth...)
Amen. I made this point over and over. Sql is fairly annoying to deal with, linq is very close to me being perfect, prql is close

https://github.com/prql/prql
CouchDB doesn't support document ACLs so inevitably you will have to use a DB per user and map reduce in order to implement anything that has more than one user.
I think the complexity we handle has stayed the same. It is just for the same amount of complexity and mental energy we get more functionality these days than decades ago. Text is a good example - the same complexity and the same amount of code handles these days a huge number of languages whereis decades ago that complexity would give you only one.
Right? Why are we worried about the computer scientist who answered the question, instead of the guy that asked a stupid question to begin with?

"How would you put a microcontroller in this?" is a stupid question without knowing why you'd want it there in the first place. It's an answer in search of a question.

Dump the king in the moat and they'd all live happily ever after, too.
Hm.. one one hand I can believe this.
On the other hand, I believe it is well known that sun-screen is necessary in order to prevent one's skin from aging.

What should I do?
Woah this is exactly what I'm looking for! Thanks
Well, if 90 out of 100 users think it's ugly, that would better be resolved to have more users use your library, even if you are in the 10% as the developer.
Agree, this is why I like microservices, because they enable exactly this, and make it easy.

Sort out your abstractions at a high level (auth, storage, routing, messaging, etc) and then write small programs to implement the logic. If one of them is wrong - redeploy.
> Sunburn was probably a rarity until modern times, when we began spending most of our time indoors. Suddenly, pasty office workers were hitting the beach in summer and getting zapped. That’s a recipe for melanoma.

This speculation on the author's part, at least, makes no sense.

People have been getting sunburns for a long time[1]. The word "sunburn" in English dates to 1650, but treatments for sunburn are at least as old as the ancient Egyptians, who wrote down numerous treatments for it, including breast milk.

I'm picturing all those Bedouin office workers wearing their keffiyehs and robes in the desert. Looks cool, sure, but might it also serve another purpose?

[1] https://pubmed.ncbi.nlm.nih.gov/23888738/
> caused by the politicians directly, and not by covid/war/whatever, and sadly, they're the first that will have to go, if we want to return to somewhat normal future.

> Not really... in the past, the politicians were "removed" one way or another many many times,... this current peaceful era is more of an anomaly.

I'm going to go out on a limb here and say this poster seems to essentially be dog whistling for assassinations.
Sadly the choice of sql tends to make underlying framework very complicated and sometimes incapable.

Some things got easier to express with SQL after Json_agg in postgres became a thing (now you can do multi-depth relations without blowing up the result table with Cartesian product) but it's still massive pain in the ass and Json agg has performance overhead too.
I don’t see it. I’m on an iPhone and I see the play controls at the bottom. When I press play I get prompted to select a scene. Oh well. Yes, I agree 100% about needing a few more iterations of improvement on the whole UX. All I could get out of this is a rain sound and a signup. That’s not a very enticing proposition.
Causing a rat problem seems very different to letting weeds grow on their lawn. The rats will migrate elsewhere, potentially toward you. The weeds are pretty harmless.
> Developers from certain languages [Java]...

I am mostly a C++ developer but I have been on some Java projects recently, and I am a bit shocked by the "what if it changes?" culture. Lots of abstraction, weak coupling, design patterns, etc... It looks like a cult to the gang of four.

Of course, it is not exclusive to Java, and these patterns are here for a reason, but I have a feeling that Java developers tend to overdo it.
I’m not tracking - what is the implication?

Anecdotally, was in Nashville for a work training event at a Fairfield near the new Grand Ol’ Opry.

Of the 2 dozen attendees, all with anything remotely “gun” suggestive had their trucks burglarized at the hotel. Several lost weapons during the burglaries.
>tech firms and businesses may be penalized up to $7.2 million USD if they don’t respond to the government's requests [1]

>The legislation ... creates a new framework for law enforcement agencies to request or compel technical assistance from tech companies, even to create new capabilities such as backdoors to get around the encryption in some of their products. [2]

They request a backdoor in the encryption and if the cooperator does not cooperate, then fine the company / Australian citizen and if they enter the country again, they can go to jail.

[1] https://fee.org/articles/australia-s-unprecedented-encryptio...

[2] https://www.theguardian.com/australia-news/2020/jul/09/austr...

Since googling a bit more, this is the best overview of the legislation: https://carnegieendowment.org/2021/03/31/encryption-debate-i...
Take a look at https://github.com/bcherny/json-schema-to-typescript, too. I used it successfully at a previous job. IIRC, I had to write some code to convert OpenAPI to JSON Schema but it wasn’t onerous
There were some randomized controlled trials in Australia where they instructed people to use sunscreen vs not and then followed them up over 10-15 years or so. They couldn't rigorously control use over the period of the study but found that people differed by condition, and the group instructed to use sunscreen had lower rates of melanoma and markers of skin aging.

I would post links but when I search for the studies I get a barrage of summaries without actually linking to the original study.

I think this study is part of it:

doi:10.1001/archderm.139.4.451

I think this summarizes another part of the study:

https://www.cancer.org.au/blog/world-leading-research-confir...
> This isn't the case for either old.reddit.com or the even lighter alternative i.reddit.com, for which reverts back to www keep occurring.

FWIW if you're logged in you can go to your profile and make it so www.reddit.com just shows old reddit
Also, state reciprocity for travel.
helmets? but then how will you see the rider's little hat?
Miners hold enormous political power in Bitcoin.

Users and developers are dependent on miners to create blocks. The negotiating power of miners is self-evident.
There are quick release water cooling designs for the data center. But water cooling has many issues: the loop needs to be perfectly sealed as water is conductive and will instantly destroy your very expensive servers in the case of a fault. Pumps are a moving part and are prone to failure. Everything needs to be manufactured to precise tolerances.

Meanwhile immersion cooling is the opposite - Just build a tank and drop your stuff in it. Modern immersion cooling fluids aren't like mineral oil so you don't end up with components permanently coated in oil.
I read your comment too. My non-English speaking daughter went from zero english reading to above grade level after 2-3 months with the book during the pandemic.

It wasn't even necessary to do all the lessons. I was impressed and highly recommend it.
Shameless plug for a clone of this I did with FizzBuzz, except submitting a solution requires submitting a Dockerfile so that we can actually run it: https://github.com/jdan/fizzbuzz-polyglot
With today's battery prices, I would expect nuclear to be cheaper if x is high enough.

Maybe in 10 years, batteries will be cheap enough for renewables to be competitive without relying on fossil fuels or hydro plants during cloudy days with no wind.
> I believe that it's immoral (and potentially illegal) for me to be able to invest in the stocks when it launches

Great marketing here, the tool is so good that it would be "immoral/illegal" for the creator to use it.
You don’t disagree, you just don’t understand basic financial terminology
That's great!

Thanks!
Hubris is a hell of a drug.
And here I am mostly doing t-tests...
I've seen municipalities prohibit keeping chickens, but not gardens.
It would be easier if people were encouraged to find the simplest solutions in their education, rather than being indoctrinated with somebody's long list of Patterns that will somehow make your code Good if you do them enough.
But in the absence of evidence that corroborates the claim of racism, it's mere speculation.

Particularly here, where the alternative action (not recommending sunscreen for dark-skinned people) could also be seen as racist, it seems unfair to claim one way or the other.
There's an interesting question that arises when you says "when you alphabetize them place related variables next to each other".

Let's say you have some non-trivial class that includes, among others, some 2d rectangular data: An x, y, width, and height. They're all related, but they don't naturallly occur near each other without a little massaging:

coordX, coordY, sizeWidth, sizeHeight?

xMin, xMax, yMin, yMax?

coordXMin, coordXMax, coordYMin, coordYMax?

I generally agree with your sentiment, but there's a reason "naming things" is one of the hardest problems in computer science :)
On the other hand, Java projects are better tested and more portable in my experience.
That ID list change never made it in and AFAICT it isn't known to be complete. The performance gain was huge though. We have made a lot of progress on performance over the last couple years and it's way better than the old 2.3 version. Version 3.1 incorporates Eigen for matrix operations in the solver - another old contribution by Alexey Egorov that we finally merged.

I don't think the problem is really the ID list implementation, but algorithms with O(n*2) time complexity. Evey time we improve the ID list by a decent amount someone just adds a few more components or whatever and it slows down again.
I use the TP-Link TL-WR902AC for this, it's cheap and has a MAC cloning feature that makes it pretty easy. Unfortunately the firmware isn't updated anymore and it's missing a VPN client, but apart from that it gets the job done.
Oh wow. That's so much nicer looking than a typical suburban front lawn. What a shame.

Though I can see how the same thing without constant upkeep would go to hell in a hurry.
Are there really questions about using SQLite?

> Another wrinkle is that it’s not exactly open source. The original developer of SQLite, Dwane Richard Hipp, placed it in the public domain. Generally, this means that there are no legal restrictions on using the code at all, although there are some questions whether every country recognizes this view.

A bigger issue than the license is that it’s not open for contributions. They don’t accept pull requests and the extensive test suite is proprietary.
That does nothing to prevent my events from being reported to others. All I want to see when I login is my profile or my repos. The github dashboard is less useful to me than what it is trying to be.
You can get around a lot of this by writing or buying infrastructure. What if it changes is most applicable to business logic, and your business logic should be something you can throw away and rebuild without a care in the world.
Throw SOLID out the window. Hard-coded everything. Then we can bake our business logic into FPGAs and get all the performance!
> The NVMe off that second slot in particular is what's going to be painful for that market segment.

Definitely not. Consumer Optane is dead, so the only devices that will get used in those slots have inherent latencies that are multiple orders of magnitude higher than those typical for a PCIe switch. The extra switch latency gets entirely lost in the noise, which I've observed on multiple occasions while reviewing "NVMe RAID" products.
Far, far too alluring is the draw to solve broader and deeper problems under the presumption that there will be a future requirement to match changes in customer demand. I take a hardline mantra that the best code is code that ships, ships quickly, and satisfies customer need. Only if, and less likely, when customer requirements shift in a way to demand an aggressive broad or deep change then is it appropriate to do so.
To be fair, the the Open-Closed principle is basically an article of faith in Java (along with the rest of SOLID).
And mandating that everyone have a manicured lawn doesn’t place an undue burden on those who like wildness and want to curate that or want to grow vegetables?
I am aware of the terminology subtleties:

> The terms passive investing and index investing are often intertwined, but they are not exactly the same thing. Today’s guest is Adriana Robertson, the Honourable Justice Frank Iacobucci Chair in Capital Markets Regulation and an associate professor of Law and Finance at the University of Toronto Faculty of Law and Rotman School of Management. Adriana is interested in index investing and, in this episode, we hear her views on whether or not index investing is passive. Hear facts from her paper on the S&P 500 Index fund specifically, and all of the reasons that it's not passive, as well as some of the issues that are potentially arising from the creation of so many indexes or so-called passive investments. A more recent paper by Adriana, published in The Journal of Finance, surveyed a representative sample of U.S. individual investors about how well leading academic theories describe their financial beliefs and decisions, and Adriana shares the differences in something like value growth from an academic perspective versus a real-world perspective. Find out how investors can go about evaluating the performance of their portfolios and what they should be looking for when deciding which index fund to invest in, as well as why index funds aren’t a meaningful category anyway, factors from Adriana’s surveys that might influence investor’s equity allocation, and the trend towards indexing and whether it will overtake active portfolios. Tune in today for all this and more!

* https://rationalreminder.ca/podcast/133
yes these are obviously special physics-defying bicycles where if you fall over you don't crack your skull open.
more portable.. to what ? are we talking of desktop applications here? I can't remember the last java program I used on the desktop.
> Technical Capability Notices (TCNs), which are compulsory notices for a designated communication provider to build a new capability, so that it can fulfil subsequent Technical Assistance Notices and Requests

>The current law prohibits the creation of a “systemic weakness” or “systemic vulnerability” in encryption and other systems of “electronic protection,” terms that have proved difficult to define.

They can be compelled to introduce decryption and interception capability. It's just sophistry for them to say that this can't introduce weakness or vulnerability in the underlying system.

[1] https://carnegieendowment.org/2021/03/31/encryption-debate-i...
Is that a Wizard of Oz reference I see? Well, that’s a horse of a different color.
Ah interesting. I've never dug in to the heapless implementation, but can imagine that getting it working right on a new platform might require a few changes.

It sounds the "orphan rules" that you're referring to; my understanding is that `impl SomeTrait for SomeStruct` needs to be in the same module as either `SomeTrait` or `SomeStruct`.

I bumped in to a similar situation with a project that involved a special buffer for handling digital audio. Initially, I made that buffer generic, and put it in its own module. The thing that used that buffer was in another module, and then everything was brought together in the main application. I wanted the ability to adjust parameters of the buffer from the project's top-level configuration, and can't remember the exact details, but basically with that structure main couldn't be the place that configured both the buffer and the module that dealt with the digital audio peripheral. The solution was pretty simple though: realise that the data structure is only ever used in conjunction with the peripheral, so instead of main including the buffer and peripheral (a dependency graph with edges main-buffer and main-peripheral), put the buffer in the module with the peripheral (edges main-(peripheral&buffer), or main-peripheral and peripheral-buffer, I can't remember which).

If you revisit that problem, it might be worth considering a declaration of a type for the connection IDs and with whatever impls are needed, in the module that wanted the >32 element array.