skysight-inc/HackerNews huggingface dataset:
Imo, the main point of a system like log4j or slf4j if the ability to have logging in your service up to the point of it being a massive performance impact - and keep it disabled.

For example, Hibernate has full query logging built in, but even if you filter locally with some logging demon, pushing 100 - 1k queries / second to stdout or a file is going to cripple performance.

With a logging framework like Log4J or SLF4J you can have this query logging, and you can enable it within 1 monitor run (usually 60s) at runtine and disable it 4-5 minutes later. This is very, very powerful in production.
I wouldnt hold out much hope of a flat earth tribe being able to deal with objective reality well enough to aid me.

I'm pretty sure there is selective pressure towards being rational, it's just really hard to select for and even then probably not the most important thing.

I remember when I met my first evangelical fundamentalist I couldn't for the life of me figure out why he earnestly believed this nonsense about the world being 7000 years or whatever. It was only when he said that he used to be a homeless drug addict and he was helped out of addiction by a Christian group that it twigged - they showed him kindness that the rest of the world had not.

I'm pretty sure being rescued not only rearranged his whole world view such that the world is 7000 years old. I'm pretty sure it also rearranged his world view to view facts as less important than kindness.
When I started working with Scala, it really surprised me how the JVM world deals with dependencies (include an upstream jar directly in the project, as opposed to the Linux distro model where you use your distributor packages so you have security and bug fixes).

I'm a big fan of Dependency Check[1].

There are hosted services that can give you security scans, but if you don't have access to that (some have a cost) or you are maintaining an open source project, Dependency Check is mostly great (there are some issues every now and then with false positives, but the maintainers are great and responsive and they deal with reports very quickly).

There are also plugins for several building tools (e.g. sbt for Scala projects).

1: https://owasp.org/www-project-dependency-check/

EDIT: this may help answering the question "do I use log4j?", because transitive dependencies can be complicated!
The Last King of America: The Misunderstood Reign of George III

Revisiting a major historical figure, whose reputation may be completely un warranted. Was he a Tyrant or a Patriot King? Did he suffer from a genetic in-breed disease or was he Bi-polar?

Hadn't spent much time learning about this part of history as an adult. Was somewhat surprised to learn that aside from the Pre-Amble, The Declaration of Independence was just a bunch of baseless ad=hominem attacks on the king and that "Common Sense" was a rabble rousing populist piece that blamed monarchy on the jews...
You can see my other comment in the thread for more, but all people in Ghana are “tribal”. Your tribal lineage is recorded in the national ID, needed to open a bank account, and the tribes are represented in the Federal government (I.e. like how the UK has a House of Lords).

All states are divided on tribal lines. Tribes have cities. Kumasi is the 3rd largest city in Ghana and the capital of the Ashanti.

Heck, even today there’s a movement for the Ewe to break off into their own nation[1]. (Funny what finding oil in your soil will do to you.)

[1] https://en.wikipedia.org/wiki/Western_Togoland
> trust-less commitments seem to be at the heart of what web3 really is and that feels much harder to dismiss than owning JPEGs or speculating on currencies

This is indeed the core feature of this whole genre but arguably makes it easier to dismiss in its entirety as concept and philosophy.

Technology should enable building trust. Simply enabling a trust-less society to limb along in a transactional way reveals the libertarian bitcoin roots of web3 that actually believes "there is no such a thing as society".

Designing institutions that are authoritative while democratically accountable is a continuous struggle against power grabbing insiders but it is not impossible.
No you are not selling your coins. You are depositing them with Celsius and then borrowing against them.
They're boiling the frog. It will get gradually more inconvenient, but still kind of viable, until the day they pull the plug entirely. The day that happens, Firefox is likely no longer a viable option and it is too late. If you care about the open Internet, the entire point of switching is to do it before it's too late. The writing has been on the wall for years now.
not really. i think out of all the schemes Guile might have the most developed condition system

https://www.gnu.org/software/guile/manual/html_node/index.ht...
You might also like these cool tessellations: https://twitter.com/TilingBot
So, the only thing required is corrupting/intimidating a single party ? You're just straight up making things easier to be problematic.
This is true. Usually you have to convince your own colleagues, not management. (Obviously everywhere is different though.)

Your senior software engineering colleague who is a huge "Python is the second best at everything" fan will be more of a hindrance than your boss, typically. It's not wholly invalid, but it can easily become a social/political issue rather than a technical one. If someone else is proposing a popular approach (like building a backend in Python), and you're proposing an oddball one (like using Lisp), be prepared for their solution to start off with 50 points of consensus and yours zero.
Relevant: https://mywiki.wooledge.org/Arguments

See also: https://mywiki.wooledge.org/BashFAQ and https://mywiki.wooledge.org/BashPitfalls
What happens after lockup expires?
I've seem root terminals a lot in CI pipelines in the wild.

Also one common way to install "DevOps" stuff piping scripts from curl (and them being asked for root)
This is why it's generally a bad idea to allow non-quoted values if the quoting is not necessary. It sounds great - people will have to type less! - but in practice it just means they don't know exactly when they have to quote and they make mistakes.

Thankfully most languages didn't make this mistake but some did: CMake, YAML, Bash, TCL. All notoriously awful.
This is the guy who ditched light table. Personally, I can't think of someone I despise more. I thought light table was the most innovative and slick products I'd ever seen on a computer.
Some of them look like semi permanent exhibits in a large space, surely those ones must be glued? The wind from people walking around would blow them over otherwise, no?
This is just armchair design criticism. If you have ever bought a new iPhone you probably remember the experience of unpacking it.

The packaging is very carefully designed both to protect the contents and to provide for that experience. Obviously there is much more to removing the shrink wrap than just no longer including it. You can trust them that if the packaging worked equally as well without replacing the plastic with something else they would have never included it in the first time.

Remember how Apple caught all the flak when they stopped including adapters because everyone has more than enough already? And then all the other manufacturers quietly stopped including them as well.
The all-in-one platform for creating and selling your programming courses online
I can’t tell if you want an actual answer or an ELI5.

Actual: various detection tasks, as compared to other image networks.

Simple version: Many nn tasks work by feeding a lot of data into a network, then “refining” it with a task you want it to actually do.

So let’s say I want to detect corgis.

I take a network that can detect all kinds of shit, and feed it a bunch of images of dogs and tell it, no, only these ones please.

Why?

…because you don’t have 10TB of dog images, you have 10TB of pictures of random crap, and 1GB of corgi images.

…and fair intuitively, this works. If something knows how to tell dogs from cats from cars, it’s not a big stretch to become more specific and only detect corgis.

Now, this paper is showing that instead of feeding the initial network labelled images of cats, dogs, etc … you just feed it with procedural noise, it still works.

That’s a) surprising (wtf, why does telling the difference between a squiggly and another squiggly help you tel corgis from cats?) …

And b) really important, because it means you don’t need to spend hundreds (thousands) of hours or $$$ collecting the initial datasets.

Practically, what does that mean?

Well, here’s some food for thought: Google / Amazon etc are considered to have a fairly defensible moat for their voice recognition tech, because they are the only ones with enough data to train good models.

…but that moat vanishes in a blinding flash of steam if you can get comparable results from just feeding enough generated noise into a network.

So this is pretty interesting stuff.
Governments constantly break the contracts they sign.

Take a look at the Maastricht Treaty and what it says about government debt in the European union. The government broke this treaty that was the basis for the union in the first place.

You say "Your recourse when somebody runs afoul of these rules is the courts". For an individual this is not a practical approach. An individual has no way to get back financial stability and to undo the excessive government debt and inflation.

The individual who held Euros throughout this process now holds way less buying power than someone who kept their assets out of the reach of governments.
There is only one real solution in the paper quality crisis. High quality journals need not only to peer review papers but also do the independent replication or verification before publication. This is expensive and time consuming, but better and cheaper than the current house of cards that is science.
I have this shortcut for such cases. An important difference from your command is that I'm still using glob, not regex. You can use `-regex` if needed.

fs() { find -iname '*'"$1"'*' ; }
Ask HN: What do you think of this paid content creation platform?
I'm building a paid content creation platform where creators can publish articles, videos, or images to groups. Readers/viewers can pay a monthly fee to subscribe to these groups and get access to the content shared by all the creators of that group (creators can also create their own groups).

You can think of it like Medium + SubStack but not only for writers.
I'm still in the validation process so whether you like it or not, your feedback is valuable to me. So what do you think? I also have a Waiting List if you're interested (https://mailchi.mp/1ebc50b72540/lettrify).
> Not so logical is that trumpet players call a Bb a C.

But this has nothing to do with the instrument itself, it's just a stupid quirk in the notation. I hate the concept of "transposing instrument", as if it was a property of the instrument. People who play these instruments by ear will never find any difference with "non-transposing" instruments.
I don't agree with him, but that's a biiit smug..
Not that it's corrupt, but incentive structure is suboptimal to say the least, especially for government-funded work.

There was a recent blog post / HN thread [1] about groups never admitting failure, it's very relevant here. The funding agency has to have a process for vetting applications, and what's more reasonable than the ability to manage their own work, i.e. propose a plan and successfully execute on it? Combine it with slow cadence of funding and you have a list of promised results for next 3+ years which you must achieve somehow or you'll never see a grant from that agency again. And they give out a lot of grants, so reviewing reports in detail to be able to distinguish "this result we promised was not achieved because we are incompetent" from "this result is negative, and we need to change direction based on new research" is just infeasible.

In commercial research the situation is much better in my experience, probably because your "funding agency" is more narrowly focused and is typically interested in getting useful results.

[1] https://news.ycombinator.com/item?id=29488641
You're into gaming, GALA nodes are a great example.
NaOH is merely "ordinarily dangerous", i.e. safe enough to be sold to households with a warning sticker on. As long as you don't get it on your skin in large quantities you're fine. You can fairly easily dilute it into harmlessness, although you then have to be careful not to kill a river. If you leave it for long enough it will slowly react with CO2 out of the air via carbonic acid, precipitating out as harmless sodium carbonate.

It doesn't have any enduring toxicity. It won't get into your bones or your genetics. It's not bioaccumulative.
Ah, the solution to all of mankind's problems is so simple, really. (Where have we heard that one before?) Technology can solve all problems in human society, just be optimistic! Also, you'll get rich quick.
The only extensin I use (and a lot of people i know) is uBlockOrigin.

After manifest v3 it will be worse off.

Ublock origin provides a lot of privacy benefits, so people like me are 100% worse off.

Well I switched to Firefox, only really use chrome for testing nowdays.
"Reason cannot defeat emotion, an emotion can only be displaced by a stronger emotion" --Baruch Spinoza (b. 1632)
"Turn your MacBook into a Touchscreen with our $150 accessory available on Amazon"
The system is optimized for security, preventing fraud is more important than throughput in this case. Registering something in the Grundbuch is fast enough for property transactions.

Transaction fees are high by design. They are a form of tax on property transactions that discourages short term investments.

The system works very well and I just don't think it needs fixing.
Ask HN: How to Scale Mac Apps?
Is it possible?
One of my collaborators recently wrote a paper about why beer coasters make bad frisbees.

https://arxiv.org/abs/2106.08238
I wonder what the monetization plan was, with no ads, no upsell, no spying.
They also accept private donations: https://vivaldi.com/contribute/

Not affiliated in any way, just thought if someone wanted to, they might donate.
How many terabytes of content do you need not to get bored? My guess is that with some adjustments, it's gonna be just fine. We somehow dealt without and endless box of content at our disposal for centuries, and some of us were even happy.
It also assumes that neutral third party (should we call them judges, or jurors?) would act in good faith. What's stopping them from rolling with the majority? And how exactly is the problem of trust solved by trusting a third party? It would be laughable if it wasn't a straight faced affirmation. The "radically new" proposal is basically to recreate the old structures, just with new web3 labels. Is there a reason this would work better, only because it's proposed by software folk instead of politician folk? Or is it better only because it's proposed by "my gang"?
There are a couple of others who own wires but really only in London (colt, forget the other one)

BT retail (the arm that sells to clients) has strict rules that forbid it from sharing with BT wholesale (the arm that sells to the other ISPs) so BT retail really can’t crush the competitors.. I don’t know the exact arrangement but they’re treated like any other ISP customer I believe
> ITCSS (Inverted triangle CSS) works with the cascade and results in clean, minimalistic CSS files.

The real Tailwind lightbulb for me was understanding that the cascade and actual CSS files don't matter anymore - you don't need them. No more inheritance, no more naming, no context switching.

I'm a big fan of ITCSS and was using Harry's methods before he coined the name but we don't need to fight the cascade any longer.

> I do not build SPAs though and do get that quick styling works really well for that scenario.

Admittedly, if you're not breaking down your UI into small components then Tailwind will get real messy, real fast.
Yep true, generally baking caches into build images is a bit fragile tho, the more caches and different types of jobs you have the larger the set of combinations of images you need to cover it. Often ends up easier to decouple build image from caches, and ideally calculate a cache key based on a yarn.lock or similar (not supported by gitlab).

Also image pull performance is generally pretty poor from most registries, you will get much higher speeds out of a straight s3 download then pulling an image via docker or containerd, even tho ecr for ex is backed by s3 .

I haven’t actually used ootb gitlab caching in quite a long time because of these limitations, but would be nice for it to work great ootb!
Upon further reflection this is a wonderful idea!

A mirror on the webcam reflecting the screen light back, and AI/ML watching the screen's reflection of the finger to see when it touches, can clearly see a touch event.

This idea was also re-invented by Carmen Castrejón, as a teaching aid during Zoom classes.

https://www.boredpanda.com/teacher-shares-screen-hack-zoom-c...

She uses a CD as a mirror to point at a pen and paper, with maths homework.

Likewise, we can use scrap CDs on the corners of the office, to help people see motion and not collide (bus contention) when turning sharp 90º angles walking out of the washrooms or kitchenette or lab, back into the grid squares of open-plan desks.
Here is the jira ticket that introduced the behaviour (jndi lookup) : https://issues.apache.org/jira/browse/LOG4J2-313
Four more UK energy suppliers go bust amid high gas prices
Would you trust them if programmers you did trust trusted them? A developer web of trust? An example of this would be followers/stars/forks on GitHub.

Maybe there is room for a distributed service which specifically enables this trust you're looking for?
I was excited when I saw the features like retry and timestamps in log.

Then I saw it was written in C. I actually thought it would be Rust or Go. I don't think you should use C for a "next generation" thing.
If you have an ideal Carnot heat pump, it is fully reversible.

For example, I can use 10 watts of electricity to remove 10 watts of heat from a cold place and add 20 watts of heat to a hot place.

Later, I can apply the same in reverse. I can move 20 watts of heat from the same hot place, heating the cold place by 10 watts, while generating 10 watts of electricity.

The use of the phrase "efficiency" while discussing ideal heat pumps is misleading - no energy is ever wasted or lost, the law merely limits the ratio of electrical Vs heat energy you get in/out.
Asking how many is like asking somebody to precisely define which numbers are small and which are large. These concepts are vague, there are logic systems which analyse vague phenomena known as ‘fuzzy’ logic systems. But based on the ending of your comment, I can’t tell if you’re serious about any of it.
Steve Jobs said the iPad is the product he’s most proud of and it seems like Apple shares that sentiment internally. I use both the Mac and iPad and iPadOS is Apple’s best software.

The downside is that it’s not as feature packed because they’re literally reinventing a new computer UI from the ground up. The iPad really is a paradigm shift. MacOS has been around for 40 years. IPadOS only 10. It takes time.
It's worth noting that although Dutch infrastructure puts a lot of effort into different modes of transport, especially bikes, it's also excellent for cars. Dutch car drivers often complain about poor road quality in neighbouring countries like Germany and Belgium. There's also a lot of innovation here on smoothing traffic flow, removing traffic lights where possible, and many other things that I'm sure car drivers love.

And if you care about well-maintained roads, it helps if your roads are actually maintainable, and for that, it helps if they're efficient and well-designed. I've read a lot about the poor state of infrastructure in the US, and agree with calls to invest more in infrastructure, but it's been Strong Towns, NJB and similar channels that made me realise why US infrastructure is struggling: it's inefficiently designed, making it way too expensive to maintain. The entire past 70 years of US suburban development is apparently build on massive amounts of debt, which has sent several cities into bankruptcy. If you don't want your cities to go bankrupt, you need more efficient infrastructure. And stroads are clearly not that.
Exactly. Not to defend companies putting everything on AWS themselves, but they really stress multi region support in their docs and courses.
>Do you just not care about anybody else in the world

Sure I do, however I also get to choose who I care about, and it definitely doesn't include people who make policies which are extraterritorially enforced on me.

>If you are not part of a western democracy, of course you do not have to care

What do you do when a "Western" "democracy" enforces their laws on you and all remaining solutions point you to services that are beholden to a "Western" "democracy".
> In my previous company we used Scala + Spark and I hated it initially. I had no idea how syntax worked, no clue about functional programming or the ecosystem.

It's funny that if you tell Cat-purist that Spark is functional-style, they would laugh at your face :)
Unfortunately, Mozilla does not have a track record of listening to their user base too and afaik they never had any monopoly.
They just pushed their Track/Ad-Features out of desperation(?), which leads to the root of the problem: commodification of common goods like privacy and its resulting degradation.
Ask HN: General Purpose Diagram Tool
What is a good general purpose diagramming tool?
I have used Yed, Dia and Inkscape.
I use Linux.
Ideally it would have some support for electronic circuits and 3D printing as well as traditional flow diagrams.
I realise it is unlikely to have everything but maybe there is something I missed.
There's some videos on this on the site, where he also blows the structures apart with a wind machine at the end of an exhibition, and topples the towers he built by running into them.
I use GitLab's private registry + scheduled pipelines to prebuild our base images, but that's definitely some extra spice. Thanks for sharing!
I think it's very easy for people to categorize you as "hater" because it makes their argument much easier, no need to argue with "haters" and just easily build a strawman to fight.
What are we talking about exactly, what and what about it specifically needs to scale in what way?

Does it need to process more things per time?

Does it need to run on more machines?

Is it time critical / is responsiveness critical?

What are it's bottlenecks? Is it mem-bound? CPU-bound? IO-bound?

What is "it"?

Is "it" connecting to something else, and what does "something" run on?
“Just Switch to Linux” Is the Loser's Game (2019)
I just created web5, which is web4 but written in Rust.
That's not totally crazy, it's just the decentralization is at a different layer. Like Solid pods provide decentralized ownership over personal data but it's probably easier for people to use a provider for them than host their own server.
Two all-purpose pieces of advice: small groups and mentors
The Future of the Accelerated Landing of AI Can Be Expected
> scale indefinitely with liquid tank size...that the plate surface area also matters?)

For flow batteries, the plate area controls the charge/discharge rate and the tank size controls the capacity. In theory you can scale the capacity as far as you can build tanks; I don't know whether there are practical considerations of "self-discharge" or electrolyte degradation.
Every virusscanner does that, the smart solution would be to automatically run this while you’re not using the computer.
Fans spend millions on football club crypto tokens