skysight-inc/HackerNews huggingface dataset:
There are more than a few popular js libs that are pretty trash IMO. Though I would not count lodash among them. Battle tested can often just mean teams use them for better or worse, and I can often see in the code how bad frameworks cause juniors to contort their solutions in all the wrong ways to make them adhere to a framework instead of untie the knot and do it the right way. Sometimes it is the framework being used incorrectly. The devs should invest time to learn the API better. But often it's better to just learn how to do the solution sans framework rather than add to the stack of bespoke APIs to learn. And junior devs can become dependent on frameworks for every little thing to the point where they will always reach for one even if the choices are poor
Caddy has ALWAYS had the Apache 2.0 license. For a time we did additionally offer officially licensed binaries for companies, but Caddy has never deviated from Apache 2.

Caddy's ease of use is one feature, but there are many more - like the ability to massively scale your TLS to thousands of sites reliably. And to use the on-line configuration API to make changes to your server. There's a ton to discover with Caddy, it's not just a tool for beginners. ;)
Throughout the article I read about the pain caused by static electricity. Yet no efforts to address that directly:

1) There exists spray to make floors / carpet less prone to static buildup.

2) Air humidity! 30% or 70% makes a lot of difference in how easy static dissipates.

3) Don't touch wiring unless absolutely necessary (grab cables by their isolation, use isolated tools to strip wires & screw in terminals, etc). And: wire up all non-ESD sensitive parts before connecting to gpio (vs. connect to gpio & then futz with wiring, hook up leds, buttons, etc).

4) Touch a grounding point before doing these things.

Even if the floor covering works against you, working ESD safe isn't difficult or expensive. It just requires understanding of the problem.
This is questionable advice. In header files 'using namespace' should never be used, in implementation files it opens up some weird edge cases. Instead, do

using fmt = std::format

and then use fmt(...) as the function call.

... at least that the current advice AIUI.
I don't think Golang devs are waiting to switch to Java if only making a lot of threads was easier.

Honestly, its way too early. Virtual Threads will need a a "killer app" (in this case a killer framework) to pull in devs.
"After the defeat of Japan in World War II, the United States led the Allies in the occupation and rehabilitation of the Japanese state. Between 1945 and 1952, the U.S. occupying forces, led by General Douglas A. MacArthur, enacted widespread military, political, economic, and social reforms." [1]

[1] https://history.state.gov/milestones/1945-1952/japan-reconst...

[2] https://www.amazon.com/Resurrecting-Nagasaki-Reconstruction-...
Plain corrugated sheets are actually cheaper per square foot installed than shingles. I personally would prefer to feel like I live in a barn lol
Personally as an open source maintainer I like the typo/wording fixes/automated refactor PRs the most. There's almost no effort needed from my side to review them, so I almost always merge those very quickly. It's the PRs that implement huge are the ones that you take the most time reviewing/discussing, and thus those are the ones I put off looking closely at.
So basically executor.submit(). And you still have a language that is significantly less verbose than go, objectively.
I wonder if for some very popular open source libraries, charging a small fee to report an issue might be some kind of viable business model, or at least a way to prevent too many issues. You might say this will result in people not reporting legitimate issues, but as we can see in this case it’s not the end of the world.
On Mac, the defaults aren't privileged. (Not sure why. That's just how it is.)

The --browse flag is optional and unrelated to ports/privileges. Otherwise, that sounds about right. Caddy defaults to port 80 unless you give it a domain name, then it defaults to port 443 and redirects HTTP on port 80 to HTTPS.
I work in one of the last remaining large industrial manufacturing labs in the US. Some of my colleagues worked at Bell before that was shuttered.

My sense from talking to the previous generation is that financialization of the US has started (finally) failing the American people.

The previous generation cashed in on major profits by off shoring (Kodak), but we overdid it.

In a round about way our company is run by pension funds, and I work on projects that would get 8-9 figure investments if we were doing this in APEC, but we would rather have stock buybacks, so we end up getting 6 figures and puttering along.

Meanwhile the higher ups wonder ‘what happened to R&D?!’
This problem is partly a type system limitation however.

In a more flexible type system with union types and other magical features, your example problem would be less of an issue.

However Java has an extremely limited type system so there is no middle ground between composition and inheritance. Once you choose one way, there is no “middle step” to migrate over.
Albeit not a movie specifically, I feel like Halt and Catch Fire did the dotcom thing well.
This seems like a repeat of everything I've seen about the effects of radio on mass music.
> Golang

golang is probably a good contender for business logic code where Java is widely used, but I feel ecosystem (libs, integrations) is not comparable to Java, so you take some risks while choosing golang.
I've seen this link pop up in various places now, but it seems like it's still mostly not being developed? Is there a reason it was posted today? Some new development in it?
Your business requirements:

> build a website for them plus a bit of marketing stuff, and maybe a remote desktop and a platform for invoicing for their personnel.

This is a shoe-in for Django, especially the invoicing part.

Wordpress is a blog engine. It's great for letting a bunch of people log in and submit news but every feature you implement beyond that is going to be through plugins, and those are routinely compromised. All sites I've deployed that used only the major plugins (Yoast, Jetpack, WooCommerce, etc.) are still running. All third-party ones have since been compromised, which is embarrassing for me. I wouldn't deploy Wordpress for a business again unless the alternative was Magento.

Django isn't bulletproof, but it will stop you from making amateur mistakes as you build it out. There is no convenient plugin architecture with a friendly UI, which makes it harder for yourself (and the client) to change themes/plugins every week and introduce code that can be exploited.
Wrap it in class Go { static void go(…) } and it will look better with “import static”
TypeScript vs. Python: A Performance Exploration in Bun and Traditional Runtimes
How typescript with bun compares to python
>had a very influential section called Favor composition over inheritance

The GoF book (Design Patterns) had the same, somewhere early, like in the Introduction, in 1994:

https://en.m.wikipedia.org/wiki/Design_Patterns
It is for sure the wagoneer when it comes to getting things done in the enterprise, if it was 2005.

It’s not a sports car, it’s not a dune buggy, it’s not even pretty in its wood paneling and drab paint scheme. But it got your family to Wisconsin for the holidays.

In 2023, we have better options.
I'm unconvinced that local deployment will be the preferred way to run generative models anytime soon.

They seem like pretty much the perfect fit for cloud - burst compute which would result in very low hardware utilisation if ran locally.

Why would it be better to have a $1,500 GPU that is weak and used infrequently, when you could share a big cluster of better GPUs shared between a big group of people, and have it more heavily utilised?

There is a philosophical argument about owning your own hardware etc, however I think the economics and performance will eventually push this to the cloud for most use-cases (most people will just get better bang-for-buck in the cloud).
> I‘m only buying quality stuff and stick to it as long a possible. Most of my cloth are years old.

> I’m buying a new iPhone if the one i have doesn’t get any updates anymore

There have been many cases of Apple deploying planned obsolescence - intentionally crippling devices to get people to buy new models. So I wouldn't call Apple products that 'quality stuff'.

I base decisions on quality products based on how good they function, how long they last, and how easy and straightforward they are to repair yourself. Apple checks absolutely none of those boxes.
> Django's features that make CRUD easier, will just get in your way.

No? You can import whatever you want into the view and do whatever logic you need to. The Django stuff doesn't get in the way at all.
To clarify, you do need to use --templates to enable template evaluation on the static files.

But for the `caddy respond` command, minimal templates are available by default; see the docs here: https://caddyserver.com/docs/command-line#examples
Big Bang Theory is one of those scapegoat shows that smart people have a stock "it sucks" opinion about. It's a very good light sitcom as far as light sitcoms go and easily holds its own with shows like How I Met Your Mother.
You can write software that is pay per use, and you can do the same with local models.
> No one really enjoys debugging your call stacks

Of all the things to criticize about Java, this IMO is not one! A Java call stack is a joy compared to just about anything but Python.
I’ll not pay for it, I’ve tried the tool in beta and it’s nothing to write home about. And if they decide to get cute about other creative pricing of existing features - I hope people will move on.
Is saving the planet bad?
Yeah, I do like my IDE doing the tedious work for me. It's also really nice to unzip any JAR I need to troubleshoot and know exactly where to navigate to find exactly the file with the code I need.

I like Golang a lot but the standardisation and verbosity in Java-land has some benefits after you get used to it enough to learn to ignore the boilerplate, it's pretty good to have some kind of consistency enforced by the VM when working in large codebases.
Isn't the default config correct for pretty much all workloads, unless you have very special requirements? Like, at most one should just change the target max pause time in case of G1, depending on whether they prefer better throughput at the price of worse latency, or the reverse.
I love the sound of rain on a metal roof. I would sleep like a baby if I lived in one during a rainstorm.

A single sheet of metal painted white should insulate pretty good in the summer, where your goal is to prevent conduction of heat from the ambient air outside and radiative heating, but not in the winter, where the heat you need would rise and conduct out the roof. So it really depends on your climate, if you live in a warm place it's not so bad, a cold place and you're going to hate it.

If you insulate it though it's not a problem, and they're more durable.
Absolutely! Thanks for the feedback, Simon!
It's not so bad. I might be an old masochist with Stockholm syndrome, but every language has its own special flavor of barely tolerable bullshit.
I am wondering if Oracle is really playing significant role in Java evolution, they have some open process with many other companies contributing.
8 to 17 for us
I've never been a big fan of dependency injection. It solves a problem with unit testing in Java, sure, but the reality is that Java could have done some nifty things to help alleviate that as well.
This can never be as effective as changing the default reference type to be not nullable, which would break backwards compatibility, so you can never really relax.

I know Kotlin is basically supposed to be that, it has a lot of other stuff though, and I haven't used it much.
With compositions A uses B but B can never use A.
With inheritance Child can use the Parent, but Parent will also call the Child
(virtual methods) which in turn can call the Parent again etc.., so the code can become difficult to follow. It can become very complicated with multiple inheritance and multiple levels.
If they ask for shit like that, they’re not good people. Get. Out.
Rust isn’t thread safe either. It’s borrow checker will attempt to correct you but you can still run Rust unsafely.
Let's not forget that the JVM still does not have reasonable generics & value types. The .NET CLR introduced this in 2005, bettering the JVM. Java was in a sleepy slow release mode back then. We've been waiting 18 years for value types and proper generics - Valhalla has been just about ready for a very long time. Some of us moved on a long time ago.

Agree that Kotlin is a bright spot in terms JVM languages. For my taste has adopted some of the best concept of Scala, but without the burgeoning complexity.
Yes, but they deprecate old checkpoints very fast.

You also can’t ever use the original version that wasn’t aligned to Sam Altman’s preferred vision.

By all accounts there is an “alignment tax” that reduces the capability of these systems.

For industrial or large scale public use I would also argue for the well-behaved models to be the only ones used.

For personal experimentation I prefer a sassy AI that tells me I’m wrong. Sam insists I’m too immature and I can’t be entrusted with making that choice for myself.
I doubt those SEO plugins make any difference at all.
If you want to advance your career, learn the business first. Read books related to the business domain in which you work. That’s far more important than another book on programming. Join toastmasters and refine your public speaking. And if you don’t write well, learn. Then worry about the next technical book.
Shitty code is shit in any language. What's your point?
Caddy 1 was created because I needed a quick and easy web server for a lot of my projects.

Caddy 2 was created when I got serious about it, and we had governments and enterprises starting to rely on the project.

Now we exist because we advocate for (and deliver!) HTTPS on every site, memory safety, dynamic configuration, extensibility, and many more features valuable in a modern web server.

Hope that helps :)
«I spoke with an extremely limited group of people who I considered being poor to prove that fiction and satire are, in fact, fiction and satire”.
Do they do this for gas terminals? One got hit by a car near where I work a few weeks back. I doubt the government is paying to replace it; the gas station is. Why aren't ev owners paying for these?
I will _not_ listen to music made for people with a short attention span.
Well if a state couldn't conceal origin they aren't very good, but there are always markers..
Your CPU is effectively a virtual machine with stuff like branch prediction, speculative execution w/rollback, pipelining, implicit parallelism, etc. etc.

Of course, it isn't able to do quite as much as a VM running in software (because fixed buffers for everything, etc.), but even so...
Therefor, labor law needs to change, no?
It is trained on Adobe Stock and supplemented with openly licensed and public domain content.

https://blog.adobe.com/en/publish/2023/03/21/responsible-inn...
Prefer composition over inheritance has been a common mantra for at least a decade, if not more. Maybe you should undergo the last decade of development and training.

There will always be shitty devs, and since java is one of the biggest languages, it definitely has more than some ultra niche academic language no one uses. I don't think it is the fault of the language though, or if that somehow were a reason to choose a different language. Should a decent BMW driver sell their car, because plenty assholes buy that car also?
> Image generation parameter count is hitting diminishing returns, going by what we've seen with SD/SDXL.

For image quality, sure - language understanding is still an issue. SDXL can generate a beautiful image, but if it doesn’t show exactly what you asked for in the prompt, on the first try, there is still room for improvement. The gap between LLMs and image generators in this regard is huge.
Nothing really but besides it not working with typings too well it’s just quite uncommon. I love it personally but strictly use it on personal projects, this is really not something one should introduce to a project that multiple people are working on.
The Hyades star cluster is 153 light years away[0]. A supernova 30 - 1000 light years distant is expected to have an effect on the Earth's biosphere[1]. If one of the black holes goes active, and if the jet is pointed at us, what might be the effect?

[0] https://en.wikipedia.org/wiki/Hyades_(star_cluster)

[1] https://en.wikipedia.org/wiki/Near-Earth_supernova
Yes, definitely a case of Goodhearting. One way of further breaking this down is the idea of “slicing the bologna” where if you have an idea, you slice it as thin as you can into as many papers as possible. This you can cite your own previous papers, get more totoal citations & papers, and generally game the impact factor.

Additionally the “publish or perish” regime encourages small incremental research projects, rather than large expensive risky ones that might not produce a paper for many years.

All this against the backdrop that it is getting increasingly harder to find new discoveries since the low-hanging fruit is mostly harvested.
I just finished doing this. I built an Excel formula parser and interpreter, and then a transpiler into Python. I even had the experience of having the values off by "just a little" and there's so many things that can cause it, it's just whack-a-mole honestly.

Makes me wonder how many times this has been done haha.
You obviously have not looked at old houses in detail. They are far worse quality than today. Sure they may have used old growth lumber which was slightly stronger, but they had no concept of what was quality. I've seen 2x4 used for floor joists, no insulation in walls, and many other engineering failures. And of course there is survivorship bias, the worst examples are torn down already.

Sure the old houses looked stronger, and and often were in places where strength is not needed. However they often are lacking in critical areas.
Basically my question is how we’re measuring anxiety to determine correlation.

The OP mentions “unconscious anxiety” which is confusing me, wondering if they are using a questionnaire or something else neat.

If “unconscious anxiety” is being diagnosed based solely on HRV that‘s not how correlation works.
Platforms and rightsholders know what they're sitting on now, and I worry that the datasets required to train sufficient models in the future will also be hoarded as IP.

It's one thing to train on Common Crawl in 2023, but what about when you have to shell out millions of dollars just for access to data sets to train on in the future? Same thing with human reinforcement. The customers for both are willing to pay much more than a crowdfunding campaign would.

Training is expensive now, but data sets can be expensive in the future.
> ethical perspective

If a photographer licenses a photo to Adobe Stock, they get paid every time someone pays to use the photo, right?

But if Adobe trained their AI on photos you had licensed to Adobe Stock. Do you get compensated at all?

If not, it’s not really different from what everyone else was doing in terms of ethics.
Well when Sun imploded and Oracle stepped in, Java stopped getting regular releases for 10 years. Java versions literally came out every 2 years before Oracle happened.

So that’s why they’re 10 years behind. But now they come out like 2+ times a year so they’re on track making major progress.

Also the null thing hasn’t been an issue for over 10 years. Just use null annotations and both your static checker and your IDE will catch every NPE.
I have seen this in Germany/Austria too, maybe it's EU wide.
I've been trying to figure out how projects like this, semantic kernel (also msft), and langchain add value. Is the paradigm sort of like a web framework? It reduces the boilerplate you need to write so you can focus on the business problem?

Is that needed in the LLM space yet? I'm just not convinced the abstraction pays for itself in reduced cognitive load, or at least not yet, but very happy to be convinced otherwise.
I strongly disagree.

The public (let's take the 75% of the educational attainment level folks, excluding PhDs, so non-academic people who are educated enough) knows nothing about research, how research is conducted, what a paper is, how a paper is published. Zero clues. You can imagine what the bottom 75% think.
Researchers are considered by the public to be little to no more than glorified teachers.
It is like saying that bigger and better weapons are invented and built to justify the Defense budget to the public, where for the public a bomb is a bomb is a bomb.

How do I know?

(1) I was an academic and I often had low-level conversations about my research, in my home country, in the U.S., in Europe, South America, everywhere. Not a single interlocutor outside of academia knew what is the typical process to follow to have some research results published in a scientific journal, or whether a publication in a certain journal can be indicative of more or less cited/quality research.

(2) I read comments here and there on newspapers, forums, social media, etc. Letters to the editor of your local newspaper are considered to be equivalent to a publication in Cell.

(3) Ask, for fun, like I used to do, your regular guy if (a) an electron is bigger than an atom, (b) how many people live on earth.

Re: research is useless. Most academic science is useless, and the uselessness of 95 percent of research is somehow considered inevitable by the "scientific community." But in that 95 percent there is a portion of research that is speculative and ultimately turns out to be useless, which is a good thing to have, and a portion of research (the majority) that serves only to pay the salaries of the researchers involved, is clear to everyone and their cousin that it will go nowhere, and is published in journals that no one, and rightly so, will ever read.
Specifically I don’t know, though I do know what currying is. This auto-currying thing sounds like a reaction against some parts of JavaScript where you can get burned by default arguments.

A curried function is like a partial application for each argument. If mul:=(a,b)=>a*b then currying would be being able to say double:=mul(2). Currying everything and requiring all function calls to have one parameter per call — six:=mul(2)(3) — might have some benefit in avoiding bugs.

Generally speaking though my hunch is that the lodash author grew tired of the project’s focus on meta programming: noodling around with JavaScript using programming paradigms that hinder rather than help its users. Dropping the noodling and focusing on features is a “back to basics” moment, if you will.
One thing I was curious about but couldn’t work out from reading online is whether hardware-assisted tracing is supported. (see https://www.linaro.org/blog/coresight-perf-and-the-opencsd-l... or https://www.youtube.com/watch?v=Gm2ZXIB18PQ for descriptions. This uses the ARM CoreSight/Embedded Trace Macrocells feature. The Intel equivalent is something called Intel Processor Trace. MacOS doesn’t seem to expose this tracing functionality in the way that perf on linux may, and the publically released Darwin source code seems to barely mention it). Has anyone here installed Linux on an M1/2 computer and checked if the hwtracing support works?